.shell-onboarding{width:100%;padding:var(--sp-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-sm)}.shell-onboarding__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);margin-bottom:var(--sp-3)}.shell-onboarding__title-row{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap}.shell-onboarding__title-row h2{color:var(--ink-900);font-size:var(--text-md);font-weight:650}.shell-onboarding__head p{margin-top:2px;color:var(--ink-500);font-size:var(--text-xs)}.shell-onboarding__steps{display:flex;flex-direction:column;gap:2px;margin-top:var(--sp-3);list-style:none}.shell-onboarding__steps button{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;align-items:center;gap:var(--sp-2);width:100%;min-height:48px;padding:6px var(--sp-2);border-radius:var(--r-md);text-align:left;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.shell-onboarding__steps button:hover{background:var(--surface-sunken)}.shell-onboarding__status,.shell-onboarding__steps button>.lucide{display:flex;align-items:center;justify-content:center;color:var(--ink-400)}.shell-onboarding__status .lucide,.shell-onboarding__steps button>.lucide{width:16px;height:16px}.shell-onboarding__copy{display:flex;min-width:0;flex-direction:column;gap:1px}.shell-onboarding__label{color:var(--ink-700);font-size:var(--text-sm);font-weight:600;overflow-wrap:anywhere}.shell-onboarding__description{color:var(--ink-500);font-size:var(--text-xs);line-height:1.4;overflow-wrap:anywhere}.shell-onboarding__step--done .shell-onboarding__status{color:var(--success-strong)}.shell-onboarding__step--done .shell-onboarding__label{color:var(--ink-500)}.shell-onboarding-reopen{display:flex;justify-content:flex-end;margin-bottom:var(--sp-2)}.shell-onboarding__help summary,.shell__advanced summary{cursor:pointer;color:var(--ink-500);font-size:var(--text-sm);padding:var(--sp-2)}.au-screen{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:var(--sp-8) var(--sp-4);background:var(--paper)}.au-panel{width:100%;max-width:420px;display:flex;flex-direction:column;gap:var(--sp-6);animation:au-rise var(--dur-slow) var(--ease)}@keyframes au-rise{0%{opacity:0;transform:translateY(10px)}}.au-brand{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2);text-align:left}.au-brand__mark{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:var(--sp-2);border-radius:var(--r-lg);background:var(--btn-primary-bg);color:var(--accent-contrast);box-shadow:none}.au-brand__mark .lucide{width:22px;height:22px}.au-brand__name{font-size:var(--text-xl);font-weight:650;letter-spacing:.02em;color:var(--ink-900);line-height:1.3}.au-brand__sub{font-size:var(--text-xs);letter-spacing:.08em;color:var(--ink-500)}.au-card{display:flex;flex-direction:column;gap:var(--sp-4);padding:var(--sp-6);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:none}.au-brand__name>span{color:var(--ink-500);font-size:16px;font-weight:400}.au-card__title{margin-top:2px;font-size:var(--text-xl);font-weight:650;letter-spacing:-.01em;color:var(--ink-900)}.au-card__copy{font-size:var(--text-sm);line-height:1.65;color:var(--ink-500)}.au-card__form{display:flex;flex-direction:column;gap:var(--sp-4)}.au-card__actions{display:flex;flex-direction:column;gap:var(--sp-2);margin-top:var(--sp-1)}.au-gate{display:flex;flex-direction:column;align-items:center;gap:var(--sp-3);text-align:center}.au-gate__spinner{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:var(--sp-1);border-radius:var(--r-pill);background:var(--accent-soft);color:var(--accent-600);font-size:20px}.au-gate__copy{font-size:var(--text-sm);line-height:1.65;color:var(--ink-500);max-width:300px}.au-gate .ui-alert{width:100%;text-align:left}.au-foot{text-align:center;font-size:var(--text-xs);color:var(--ink-400);line-height:1.6}.tl-view{display:flex;flex-direction:column;gap:var(--sp-4)}.tl-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--sp-3)}.tl-error-action{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);width:100%}.tl-search{flex:0 1 340px;min-width:240px;display:flex;flex-direction:column;gap:var(--sp-1)}.tl-search__note{margin:0;font-size:var(--text-xs);color:var(--ink-500)}.tl-filters{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:var(--sp-2)}.tl-filters .ui-select{min-width:180px}.tl-mobile-list{display:none}.tl-table tbody td{vertical-align:top}.tl-nowrap{white-space:nowrap}.tl-task{display:flex;flex-direction:column;gap:2px;max-width:320px;min-width:0}.tl-task__name{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:0;font:inherit;font-weight:600;text-align:left;color:var(--ink-900);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--r-sm)}.tl-task__name:hover{color:var(--accent-600)}.tl-task__name:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.tl-task__project{font-size:var(--text-xs);color:var(--ink-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tl-status{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-1)}.tl-status__next{font-size:var(--text-xs);color:var(--accent-600);max-width:220px;line-height:1.45}.tl-status__next--muted{color:var(--ink-500)}.tl-status__meta{max-width:220px;font-size:var(--text-xs);line-height:1.45;color:var(--ink-500)}.tl-status__meta--delayed,.tl-mobile-card__stage--delayed{color:var(--warning-strong);font-weight:600}.tl-cost{display:flex;flex-direction:column;gap:2px;min-width:200px}.tl-cost__line{font-size:var(--text-sm);color:var(--ink-700)}.tl-cost__sub{font-size:var(--text-xs);color:var(--ink-500)}.tl-skel-sub{margin-top:var(--sp-2)}@media(max-width:720px){.tl-toolbar{align-items:stretch}.tl-search,.tl-filters{width:100%;min-width:0;flex-basis:100%;grid-template-columns:1fr}.tl-filters .ui-select{width:100%;min-width:0}.tl-view .ui-table-wrap{display:none}.tl-mobile-list{display:flex;flex-direction:column;gap:var(--sp-2);padding:var(--sp-3)}.tl-mobile-card{display:flex;flex-direction:column;gap:var(--sp-2);width:100%;min-width:0;padding:var(--sp-3);text-align:left;color:var(--ink-700);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.tl-mobile-card:hover{border-color:var(--ink-300);box-shadow:var(--shadow-raise);transform:translateY(-1px)}.tl-mobile-card__head,.tl-mobile-card__badges{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2)}.tl-mobile-card__head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-md);color:var(--ink-900)}.tl-mobile-card__meta,.tl-mobile-card__time{font-size:var(--text-xs);color:var(--ink-500)}.tl-mobile-card__progress{font-size:var(--text-xs);color:var(--accent-600)}.tl-mobile-card__stage{font-size:var(--text-xs);color:var(--ink-500)}}.creation-home{display:flex;flex-direction:column;gap:var(--sp-5);padding-bottom:var(--sp-3)}.creation-home__hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:286px;gap:var(--sp-8);align-items:stretch}.creation-home__intro{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:var(--sp-4) 0}.creation-home__eyebrow{display:flex;align-items:center;gap:var(--sp-2);margin:0 0 var(--sp-3);color:var(--accent);font-size:var(--text-sm);font-weight:600}.creation-home h1{margin:0;font-size:clamp(30px,3.4vw,44px);line-height:1.22;font-weight:650;letter-spacing:-.04em;color:var(--ink-900)}.creation-home__description{margin:var(--sp-4) 0 var(--sp-5);color:var(--ink-600);line-height:1.85;font-size:var(--text-md)}.creation-home__actions{display:flex;align-items:center;gap:var(--sp-3);flex-wrap:wrap}.creation-home__actions .ui-btn{min-height:44px;padding-inline:var(--sp-5)}.creation-home__steps{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center;padding:0;margin:var(--sp-5) 0 0;list-style:none;font-size:var(--text-xs);color:var(--ink-600)}.creation-home__steps li{display:flex;align-items:center;gap:6px}.creation-home__steps li:not(:last-child):after{content:"›";margin-left:4px;color:var(--ink-400)}.creation-home__steps li span{font-size:11px;color:var(--ink-400);font-variant-numeric:tabular-nums}.creation-home__draft{margin:var(--sp-4) 0 0;max-width:100%;font-size:var(--text-xs);color:var(--ink-500);overflow-wrap:anywhere}.creation-home__draft>span{color:var(--ink-700)}.creation-home__visual{position:relative;min-height:286px;overflow:hidden;border-radius:var(--r-xl);border:1px solid var(--line);padding:0;text-align:left;background:var(--surface-sunken);isolation:isolate;box-shadow:var(--shadow-sm)}.creation-home__visual:after{content:"";position:absolute;z-index:-1;top:35%;right:0;bottom:0;left:0;background:linear-gradient(transparent,var(--media-surface));opacity:.83;pointer-events:none}.creation-home__visual>img{position:absolute;z-index:-2;width:100%;height:100%;top:0;right:0;bottom:0;left:0;object-fit:cover;object-position:50% 50%;transition:transform .35s var(--ease);animation:ui-fade-in var(--dur-slow) var(--ease)}.creation-home__visual:hover>img{transform:scale(1.025)}.creation-home__visual-label{position:absolute;left:var(--sp-4);top:var(--sp-4);display:flex;align-items:center;gap:6px;color:var(--ink-700);background:var(--surface);border-radius:var(--r-sm);padding:5px 9px;font-size:var(--text-xs)}.creation-home__visual-copy{position:absolute;left:var(--sp-6);right:var(--sp-6);bottom:var(--sp-6);display:flex;flex-direction:column;gap:5px;color:var(--accent-contrast)}.creation-home__visual-copy>span:first-child{font-size:var(--text-xs);opacity:.88}.creation-home__visual-copy strong{font-size:clamp(19px,2vw,25px);font-weight:500;text-wrap:balance}.creation-home__visual-link{display:flex;align-items:center;gap:7px;margin-top:var(--sp-2);font-size:var(--text-sm)}.creation-home__examples-heading{display:flex;justify-content:space-between;gap:var(--sp-4);align-items:center;margin-top:var(--sp-1)}.creation-home__examples-heading h2{font-size:var(--text-lg);font-weight:600;margin:0;color:var(--ink-900)}.creation-home__examples-heading p{margin:5px 0 0;font-size:var(--text-sm);color:var(--ink-500)}.creation-home__toggle{display:inline-flex;align-items:center;gap:4px;padding:8px 0 8px 8px;flex-shrink:0;background:transparent;border:0;color:var(--ink-600);font-size:var(--text-xs)}.creation-home__toggle svg{transition:transform var(--dur) var(--ease)}.creation-home__toggle[aria-expanded=true] svg{transform:rotate(90deg)}.creation-home__examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-3);animation:ui-fade-in var(--dur-slow) var(--ease)}.creation-example{display:flex;align-items:center;gap:var(--sp-3);min-width:0;text-align:left;border:1px solid var(--line);border-radius:var(--r-lg);padding:7px;background:var(--surface);color:var(--ink-700);transition:transform var(--dur-slow) var(--ease),border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.creation-example:hover{transform:translateY(-3px);border-color:var(--accent-200);box-shadow:var(--shadow-raise)}.creation-example:active{transform:translateY(0)}.creation-example>img{width:64px;height:80px;flex:0 0 64px;object-fit:cover;border-radius:var(--r-sm)}.creation-example__copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.creation-example__copy small{font-size:11px;color:var(--ink-400)}.creation-example__copy strong{font-size:var(--text-md);color:var(--ink-900);font-weight:600}.creation-example__copy>span{color:var(--ink-600);font-size:var(--text-xs)}.creation-example>svg{flex-shrink:0;margin-right:6px;color:var(--ink-400)}.creation-example-detail{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:var(--sp-6)}.creation-example-detail figure{margin:0;position:relative;min-height:340px;border-radius:var(--r-lg);overflow:hidden;background:var(--surface-sunken)}.creation-example-detail figure img{display:block;width:100%;height:100%;position:absolute;object-fit:cover}.creation-example-detail figcaption{position:absolute;bottom:var(--sp-3);left:var(--sp-3);right:var(--sp-3);border-radius:var(--r-sm);padding:8px 10px;background:var(--surface);color:var(--ink-600);font-size:var(--text-xs)}.creation-example-detail__copy{display:flex;flex-direction:column;justify-content:center;min-width:0}.creation-example-detail__copy h3{font-size:var(--text-2xl);line-height:1.45;text-wrap:balance;margin:0}.creation-example-detail__copy>p:not(.creation-home__eyebrow){color:var(--ink-600);font-size:var(--text-sm);line-height:1.8}.creation-example-detail__script{padding:var(--sp-4) 0;margin:var(--sp-3) 0;border-block:1px solid var(--line)}.creation-example-detail__script>span{font-size:var(--text-xs);color:var(--ink-500)}.creation-example-detail__script p{margin:var(--sp-2) 0 0;font-size:var(--text-md);line-height:1.9;color:var(--ink-700)}.creation-example-detail__actions{display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-2)}.creation-example-detail__note{display:flex;align-items:flex-start;gap:5px;margin-bottom:0}.creation-example-detail__note svg{flex-shrink:0;margin-top:4px;color:var(--success)}.creation-home-guide{border-top:1px solid var(--line);padding-top:var(--sp-3)}.creation-home-guide>summary{width:fit-content;cursor:pointer;color:var(--ink-600);font-size:var(--text-sm);padding-block:5px}.creation-home-guide[open]>summary{margin-bottom:var(--sp-3)}.creation-tasks-heading{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-3);padding-top:var(--sp-4);border-top:1px solid var(--line)}.creation-tasks-heading h2{margin:0;font-size:var(--text-lg);font-weight:600}.creation-tasks-heading p{margin:4px 0 0;color:var(--ink-500);font-size:var(--text-xs)}.creation-return{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);flex:0 0 auto;padding:var(--sp-2) var(--sp-4);color:var(--ink-700);background:var(--accent-soft);border:1px solid var(--accent-100);border-radius:var(--r-md);font-size:var(--text-sm)}@media(max-width:1180px)and (min-width:961px){.creation-example{gap:8px}.creation-example>img{width:48px;flex-basis:48px}.creation-example>svg{display:none}.creation-home__hero{gap:var(--sp-5)}}@media(max-width:680px){.creation-home{gap:var(--sp-4)}.creation-home__hero{grid-template-columns:1fr;gap:var(--sp-4)}.creation-home__intro{padding:var(--sp-2) 0 0}.creation-home h1{font-size:34px}.creation-home__description{margin:var(--sp-3) 0 var(--sp-4)}.creation-home__desktop-break{display:none}.creation-home__steps{margin-top:var(--sp-4)}.creation-home__visual{min-height:208px}.creation-home__visual-copy{bottom:var(--sp-4);left:var(--sp-4)}.creation-home__examples{gap:8px}.creation-example{flex-direction:column;align-items:stretch;gap:8px;padding:6px}.creation-example>img{width:100%;height:76px;flex:none}.creation-example>svg,.creation-example__copy small{display:none}.creation-example__copy{padding:0 2px 3px}.creation-example__copy strong{font-size:var(--text-sm)}.creation-example__copy>span{font-size:11px}.creation-home__examples-heading p{max-width:245px;font-size:var(--text-xs)}.creation-example-detail{grid-template-columns:1fr;gap:var(--sp-4)}.creation-example-detail figure{min-height:180px}.creation-example-detail figure img{object-position:center 55%}}@media(pointer:coarse){.creation-home__toggle,.creation-home-guide>summary{min-height:44px}}.creation-portrait-stage{position:relative;display:grid;grid-template-columns:.85fr 1fr .85fr;align-items:center;gap:12px;padding:16px 10px 34px;min-height:320px}.creation-portrait{position:relative;padding:0;overflow:hidden;border:5px solid var(--surface);border-radius:18px;box-shadow:var(--shadow-md);background:var(--surface-sunken);aspect-ratio:9 / 16;cursor:pointer;transform:rotate(-5deg);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}.creation-portrait:nth-child(2){z-index:1;transform:translateY(-8px)}.creation-portrait:nth-child(3){transform:rotate(5deg)}.creation-portrait:hover{z-index:2;transform:translateY(-10px) rotate(0);box-shadow:var(--shadow-raise)}.creation-portrait img{width:100%;height:100%;object-fit:cover;display:block}.creation-portrait>span{position:absolute;inset:auto 0 0;padding:24px 10px 10px;display:grid;grid-template-columns:1fr auto;gap:3px;text-align:left;color:#fff;background:linear-gradient(transparent,#14181bbf)}.creation-portrait small{grid-column:1/-1;font-size:10px;opacity:.9}.creation-portrait strong{font-size:16px;font-weight:500}.creation-portrait-stage__note{position:absolute;bottom:1px;width:100%;text-align:center;font-size:var(--text-xs);color:var(--ink-500);letter-spacing:.16em}.creation-example>img{object-position:center 24%}.creation-example-detail figure img{position:static;height:auto;object-fit:contain}.creation-example-detail figure{min-height:0;align-self:start}@media(max-width:680px){.creation-portrait-stage{min-height:0;gap:7px;padding-inline:4px}.creation-portrait{border-width:3px;border-radius:12px}}@media(prefers-reduced-motion:reduce){.creation-portrait,.creation-example{transition:none}}.creation-home .creation-home__hero{display:block;padding:var(--sp-5) 0;min-height:0;background:transparent;border:0;box-shadow:none}.creation-home .creation-home__intro{max-width:none;padding:0}.creation-home #creation-title{font-size:var(--text-2xl);line-height:1.4;margin:0 0 var(--sp-2)}.creation-home .creation-home__description{margin:0;font-size:var(--text-md)}.creation-home .creation-home__actions{margin-top:var(--sp-4)}.creation-home .creation-home__examples-heading{margin:var(--sp-2) 0}.creation-home .creation-home__examples-heading h2{font-size:var(--text-sm);font-weight:500}@media(min-width:900px){.shell__page:has(>.creation-home){gap:12px}.creation-home{gap:8px;padding-bottom:4px}.creation-home .creation-home__hero{padding:8px 0}.creation-home .creation-home__intro{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}.creation-home #creation-title,.creation-home .creation-home__description{grid-column:1}.creation-home .creation-home__actions{grid-column:2;grid-row:1 / 3;margin:0;justify-content:flex-end}.creation-home .creation-home__draft{grid-column:1 / -1;margin-top:8px}.creation-home .creation-home__examples-heading{margin:0}}.creation-tasks-heading .creation-home-guide{border:0;padding:0}.creation-tasks-heading{flex-wrap:wrap}.ui-page-toolbar{display:flex;align-items:center;gap:var(--sp-4);padding:var(--sp-4) var(--page-gutter);flex:none;min-width:0;border-bottom:1px solid var(--line)}.ui-page-toolbar__title{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-lg);font-weight:600;letter-spacing:0}.ui-page-toolbar__status{color:var(--ink-500);font-size:var(--text-xs)}.ui-page-toolbar__actions,.ui-action-bar__actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2)}.ui-content-section{display:flex;flex-direction:column;gap:var(--sp-4);min-width:0}.ui-content-section__head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--sp-3)}.ui-content-section__head h2{font-size:var(--text-md);font-weight:500}.ui-action-bar{display:flex;justify-content:space-between;align-items:center;flex:none;gap:var(--sp-4);padding:var(--sp-4) var(--page-gutter);border-top:1px solid var(--line);background:var(--paper)}.ui-action-bar__context{min-width:0;color:var(--ink-500);font-size:var(--text-sm)}.ui-action-bar__actions{margin-left:auto;justify-content:flex-end}.studio-library-toolbar__tools>.ui-search{width:min(100%,380px)}.ui-library-dialog.ui-dialog-backdrop{align-items:center;overflow:hidden;padding:24px}.ui-library-dialog .ui-dialog{max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden}.ui-library-dialog .studio-dialog-frame__head,.ui-library-dialog .studio-dialog-frame__foot{flex:none}.ui-library-dialog .ui-dialog__body{min-height:0;overflow-y:auto;overscroll-behavior:contain}@media(max-width:680px){.studio-library-toolbar__row{align-items:stretch}.studio-library-toolbar__tools{flex-basis:100%}.studio-library-toolbar__tools>.ui-search{width:100%}.studio-library-toolbar__actions{margin-left:auto}.ui-library-dialog.ui-dialog-backdrop{padding:12px}.ui-library-dialog .ui-dialog{max-height:calc(100dvh - 24px)}}@media(max-width:600px){.ui-page-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--sp-2)}.ui-page-toolbar__title{font-size:var(--text-md)}.ui-page-toolbar__title:first-child{grid-column:1 / -1}.ui-page-toolbar__status{grid-row:2;grid-column:1}.ui-page-toolbar__actions{grid-row:2;grid-column:2;justify-content:flex-end}.ui-action-bar{flex-wrap:wrap;gap:var(--sp-2)}.ui-action-bar__context{flex-basis:100%}.ui-action-bar__actions{width:100%}}.pf-list{display:flex;flex-direction:column;gap:8px}.pf-item{display:flex;align-items:flex-start;gap:9px;font-size:var(--text-sm)}.pf-item>.lucide{width:16px;height:16px;margin-top:2px;flex-shrink:0}.pf-item--pass>.lucide{color:var(--success)}.pf-item--warning>.lucide{color:var(--warning)}.pf-item--blocked>.lucide{color:var(--danger)}.pf-item__text{display:flex;flex-direction:column;gap:1px;min-width:0}.pf-item__label{font-weight:500;color:var(--ink-700)}.pf-item__detail{font-size:var(--text-xs);color:var(--ink-500);word-break:break-word}.jd-section{display:flex;flex-direction:column;gap:var(--sp-3)}.jd-summary{width:100%}.jd-detail-nav{position:sticky;top:calc(var(--sp-5) * -1);z-index:2;margin:0 calc(var(--sp-5) * -1);padding:var(--sp-3) var(--sp-5);border-bottom:1px solid var(--line);background:var(--surface)}.jd-detail-nav .studio-tabs{width:100%}.jd-detail-nav .studio-tabs>button{flex:1;justify-content:center}.jd-tab-panel{display:flex;flex-direction:column;gap:var(--sp-5);min-width:0}.jd-tab-panel[hidden]{display:none}.jd-heading{display:flex;align-items:center;gap:6px;margin:0;font-size:var(--text-sm);font-weight:600;color:var(--ink-600)}.jd-heading>.lucide{width:15px;height:15px;color:var(--ink-400)}.jd-section__note{margin:0;color:var(--ink-500);font-size:var(--text-xs);line-height:1.5}.jd-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}.jd-pipeline{display:flex;align-items:stretch;gap:var(--sp-2);margin:0;padding:0;list-style:none}.jd-pipeline__step{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:var(--sp-3);border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-sunken)}.jd-pipeline__icon{display:inline-flex;color:var(--ink-400)}.jd-pipeline__icon>.lucide{width:16px;height:16px}.jd-pipeline__label{font-size:var(--text-sm);font-weight:500;color:var(--ink-700)}.jd-pipeline__meta{font-size:var(--text-xs);color:var(--ink-500);font-variant-numeric:tabular-nums}.jd-pipeline__step--done{border-color:var(--success);background:var(--success-soft)}.jd-pipeline__step--done .jd-pipeline__icon{color:var(--success)}.jd-pipeline__step--active{border-color:var(--accent-500);background:var(--accent-soft)}.jd-pipeline__step--active .jd-pipeline__icon{color:var(--accent-600)}.jd-pipeline__step--active .jd-pipeline__label{color:var(--accent-700)}.jd-stage-copy{margin:var(--sp-2) 0 0;font-size:var(--text-xs);line-height:1.5;color:var(--ink-500)}.jd-pipeline__step--failed{border-color:var(--danger);background:var(--danger-soft)}.jd-pipeline__step--failed .jd-pipeline__icon,.jd-pipeline__step--failed .jd-pipeline__label{color:var(--danger)}@media(max-width:560px){.jd-pipeline{flex-direction:column}}.jd-timeline{display:grid;gap:0;margin:0;padding:0;list-style:none}.jd-timeline__item{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:var(--sp-2);min-height:50px}.jd-timeline__item:not(:last-child):after{content:"";position:absolute;top:22px;bottom:0;left:11px;width:1px;background:var(--line)}.jd-timeline__marker{z-index:1;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--success);background:var(--surface)}.jd-timeline__marker>.lucide{width:15px;height:15px}.jd-timeline__item--latest .jd-timeline__marker{color:var(--accent-600)}.jd-timeline__content{display:flex;flex-direction:column;gap:2px;min-width:0;padding-bottom:var(--sp-3)}.jd-timeline__content strong{color:var(--ink-700);font-size:var(--text-sm);line-height:1.45}.jd-timeline__content span{color:var(--ink-500);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.ui-media.jd-media__player{width:100%;min-width:0;overflow:visible;border:0;border-radius:0;background:transparent}.ui-media.jd-media__player audio{min-height:54px;border-radius:var(--r-lg)}.jd-deliverables{border-top:1px solid var(--line)}.jd-deliverable{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:start;gap:var(--sp-3);padding:var(--sp-3) 0;border-bottom:1px solid var(--line)}.jd-deliverable__icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--ink-400)}.jd-deliverable__icon>.lucide{width:18px;height:18px}.jd-deliverable--available .jd-deliverable__icon{color:var(--success)}.jd-deliverable--processing .jd-deliverable__icon{color:var(--accent-600)}.jd-deliverable--processing .jd-deliverable__icon>.lucide{animation:jd-spin 1s linear infinite}.jd-deliverable--missing .jd-deliverable__icon,.jd-deliverable--failed .jd-deliverable__icon{color:var(--danger)}.jd-deliverable__body{display:flex;flex-direction:column;gap:3px;min-width:0}.jd-deliverable__body>strong{color:var(--ink-900);font-size:var(--text-sm);line-height:1.45}.jd-deliverable__meta,.jd-deliverable__reason,.jd-deliverables__empty{color:var(--ink-500);font-size:var(--text-xs);line-height:1.45}.jd-more-actions{position:relative}.jd-more-actions__menu{position:absolute;right:0;bottom:calc(100% + var(--sp-2));z-index:var(--z-sticky);display:grid;min-width:210px;padding:var(--sp-1);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-lg)}.jd-more-actions__menu button{display:flex;align-items:center;gap:var(--sp-2);width:100%;min-height:36px;padding:var(--sp-2) var(--sp-3);color:var(--ink-700);text-align:left;background:transparent;border:0;border-radius:var(--r-sm);cursor:pointer}.jd-more-actions__menu button:hover,.jd-more-actions__menu button:focus-visible{color:var(--ink-900);background:var(--surface-sunken)}.jd-more-actions__menu svg{width:16px;height:16px}.jd-deliverable__reason{color:var(--danger-strong)}.jd-deliverable__preview{width:min(100%,560px);margin-top:var(--sp-2)}.jd-deliverable__preview video{width:100%;max-height:300px;object-fit:contain;background:var(--ink-900)}.jd-deliverables__empty{padding:var(--sp-4) 0}@keyframes jd-spin{to{transform:rotate(360deg)}}@media(max-width:560px){.jd-deliverable{grid-template-columns:24px minmax(0,1fr)}.jd-deliverable>.ui-btn{grid-column:2;justify-self:start}}.jd-paid{display:flex;flex-direction:column;gap:var(--sp-2)}.jd-failure{display:flex;flex-direction:column;gap:var(--sp-3)}.jd-failure__advice,.jd-failure__charge{margin:0}.jd-failure__charge{margin-top:var(--sp-2);font-weight:600}.jd-failure__technical{display:flex;flex-direction:column;gap:var(--sp-2);padding:var(--sp-3);border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-sunken)}.jd-paid-script{display:grid;gap:var(--sp-2)}.jd-paid-script>strong{color:var(--ink-600);font-size:var(--text-xs)}.jd-handoff{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2);margin-top:var(--sp-3)}.jd-handoff label,.jd-handoff textarea{width:100%}.jd-handoff textarea{border:1px solid var(--line);padding:var(--sp-2);border-radius:var(--r-md)}.jd-page{height:100%;min-height:0;display:flex;flex-direction:column;background:var(--paper)}.jd-page__body{flex:1;min-height:0;overflow-y:auto;padding:var(--sp-5) var(--page-gutter)}.jd-page__body>*{max-width:1120px;margin-inline:auto}.wz-pronunciation__form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:var(--sp-3);align-items:end}.wz-pronunciation__add{margin-bottom:1px}.wz-pronunciation__items{display:flex;flex-direction:column;margin-top:var(--sp-4);list-style:none;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}.wz-pronunciation__item{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 30px;align-items:center;gap:var(--sp-2);min-height:42px;padding:5px var(--sp-2) 5px var(--sp-3);font-size:var(--text-sm)}.wz-pronunciation__item+.wz-pronunciation__item{border-top:1px solid var(--line)}.wz-pronunciation__item>.lucide{width:15px;height:15px;color:var(--ink-400)}.wz-pronunciation__term,.wz-pronunciation__reading{min-width:0;overflow-wrap:anywhere}.wz-pronunciation__term{color:var(--ink-700)}.wz-pronunciation__reading{color:var(--ink-900);font-weight:600}.wz-pronunciation__empty{margin-top:var(--sp-4);padding:var(--sp-3);color:var(--ink-500);background:var(--surface-sunken);border:1px dashed var(--line-strong);border-radius:var(--r-md);font-size:var(--text-sm);text-align:center}.wz-pronunciation__preview{margin-top:var(--sp-4);padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.wz-pronunciation__preview-title{display:flex;align-items:center;gap:6px;margin-bottom:var(--sp-2);color:var(--ink-600);font-size:var(--text-xs);font-weight:600}.wz-pronunciation__preview-title .lucide{width:15px;height:15px}.wz-pronunciation__preview output{display:block;color:var(--ink-900);font-size:var(--text-sm);line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.wz-pronunciation__checks{display:flex;flex-direction:column;gap:var(--sp-2);margin-top:var(--sp-3);list-style:none}.wz-pronunciation__check,.wz-pronunciation__checked{display:flex;align-items:flex-start;gap:var(--sp-2);color:var(--ink-600);font-size:var(--text-xs);line-height:1.5}.wz-pronunciation__check .lucide,.wz-pronunciation__checked .lucide{width:15px;height:15px;margin-top:1px;flex-shrink:0}.wz-pronunciation__check--pass .lucide{color:var(--success-strong)}.wz-pronunciation__check--warning .lucide{color:var(--warning-strong)}.wz-pronunciation__check--blocked .lucide{color:var(--danger-strong)}.wz-pronunciation__checked{margin-top:var(--sp-3);color:var(--ink-500)}@media(max-width:640px){.wz-pronunciation__form{grid-template-columns:1fr}.wz-pronunciation__add{justify-self:start}}.tp-view{display:flex;flex-direction:column;gap:var(--sp-4)}.tp-retry{margin-top:var(--sp-2)}.tp-create{display:flex;flex-direction:column;gap:var(--sp-4);min-height:0;overflow:hidden}.tp-create__body{display:flex;flex-direction:column;gap:var(--sp-4);min-height:0;overflow-y:auto;overscroll-behavior:contain}.tp-create__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-4)}.tp-create__foot{display:flex;flex:none;justify-content:flex-end;padding-top:12px;border-top:1px solid var(--line)}.tp-card-wrap{position:relative;min-width:0}.tp-card{display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-2);padding:var(--sp-4);font:inherit;color:inherit;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);cursor:pointer;transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.tp-card:hover{border-color:var(--accent-200);box-shadow:var(--shadow-raise);transform:translateY(-1px)}.tp-card:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.tp-card--skeleton{cursor:default}.tp-card--skeleton:hover{border-color:var(--line);box-shadow:none;transform:none}.tp-card__head{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center}.tp-card__icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;color:var(--accent-600);background:var(--accent-soft);border-radius:var(--r-md);flex:none}.tp-card__name{font-size:var(--text-md);color:var(--ink-900);overflow-wrap:anywhere}.tp-card__content{font-size:var(--text-sm)}.tp-card__vars{display:flex;flex-wrap:wrap;gap:var(--sp-1) var(--sp-2)}.tp-var{display:inline-flex;align-items:center;padding:1px var(--sp-2);font-family:var(--font-mono);font-size:var(--text-xs);color:var(--accent-700);background:var(--accent-soft);border:1px solid var(--accent-200);border-radius:var(--r-pill)}.tp-var--empty{font-family:var(--font-sans);color:var(--ink-400);background:var(--surface-sunken);border-color:var(--line)}.tp-card__meta{margin-top:auto;font-size:var(--text-xs);color:var(--ink-400)}.tp-card__actions{display:flex;justify-content:flex-end;margin-top:var(--sp-2)}.tp-manage,.tp-apply{display:flex;flex-direction:column;gap:var(--sp-4)}.tp-apply__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--sp-3) var(--sp-4)}.tp-apply__empty{margin:0;font-size:var(--text-sm);color:var(--ink-500)}.tp-apply__preview{display:flex;flex-direction:column;gap:var(--sp-2)}.tp-apply__label{font-size:var(--text-sm);font-weight:500;color:var(--ink-700)}.script-library-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:var(--sp-6);padding:30px 34px;background:linear-gradient(115deg,var(--surface),var(--surface-sunken));border:1px solid var(--line);border-radius:var(--r-xl);overflow:hidden}.script-library-hero__eyebrow{display:flex;align-items:center;gap:var(--sp-2);color:var(--accent-600);font-size:var(--text-xs);letter-spacing:.08em}.script-library-hero h2{margin:12px 0 14px;color:var(--ink-900);font-size:clamp(25px,2.8vw,38px);line-height:1.35;letter-spacing:-.035em;font-weight:650}.script-library-hero p:not(.script-library-hero__eyebrow){margin:0;font-size:var(--text-md);line-height:1.85;color:var(--ink-600)}.script-library-hero__art{width:min(100%,325px);justify-self:end;display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:20px 25px;border:1px solid var(--accent-200);border-left:5px solid var(--accent-500);border-radius:2px var(--r-lg) var(--r-lg) 2px;color:var(--accent-700);background:linear-gradient(125deg,var(--accent-50),var(--surface));box-shadow:7px 7px 0 var(--line);transform:rotate(2deg)}.script-library-hero__art>span{font-size:var(--text-xs);letter-spacing:.12em}.script-library-hero__art strong{display:block;font-family:Songti SC,SimSun,serif;font-size:24px;line-height:1.6;font-weight:500;letter-spacing:.07em}.script-library-hero__art em{font-style:normal;text-decoration:underline;text-decoration-color:var(--accent-200);text-underline-offset:7px}.script-library-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:6px;border-bottom:1px solid var(--line)}.script-library-nav>.ui-btn{margin-bottom:9px}.script-library-tabs{min-width:0;padding-bottom:8px}.script-picker{display:flex;flex-direction:column;gap:18px}.script-picker__accounts{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.script-account{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:92px;padding:13px 5px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);color:var(--ink-600);font:inherit;font-size:var(--text-xs);cursor:pointer;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease),transform var(--dur) var(--ease)}.script-account__mark,.script-account>svg{display:grid;place-items:center;width:30px;height:30px;color:var(--accent-600)}.script-account__mark{font-family:Songti SC,SimSun,serif;font-size:22px;background:var(--accent-50);border-radius:8px}.script-account[data-account=lifestyle] .script-account__mark,.script-account[data-account=family] .script-account__mark{color:var(--success-strong);background:var(--success-soft)}.script-account[data-account=local] .script-account__mark,.script-account[data-account=culture] .script-account__mark{color:var(--warning-strong);background:var(--warning-soft)}.script-account:hover{border-color:var(--accent-200);transform:translateY(-2px)}.script-account[aria-pressed=true]{color:var(--accent-700);border-color:var(--accent-400);background:var(--accent-50);box-shadow:inset 0 0 0 1px var(--accent-200)}.script-picker__toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.script-picker__lengths{display:flex;flex:none;padding:4px;background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-lg)}.script-picker__lengths button{display:flex;flex-direction:column;gap:4px;min-width:90px;padding:9px 12px;border:0;border-radius:var(--r-md);background:transparent;color:var(--ink-600);font:inherit;font-size:var(--text-sm);font-weight:600;cursor:pointer;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.script-picker__lengths button span{font-size:var(--text-xs);font-weight:400}.script-picker__lengths button[aria-pressed=true]{background:var(--surface);color:var(--accent-700);box-shadow:var(--shadow-sm)}.script-picker__search{flex:1;min-width:180px;min-height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);color:var(--ink-400)}.script-picker__search:focus-within{outline:2px solid var(--accent-400);outline-offset:2px}.script-picker__search input{width:100%;min-width:0;background:none;border:0;outline:none;color:var(--ink-900);font:inherit;font-size:var(--text-sm)}.script-picker__search button{display:grid;place-items:center;background:none;border:0;color:var(--ink-500);cursor:pointer;min-width:28px;min-height:32px}.script-picker__toolbar>select{width:auto;min-width:128px;max-width:180px;min-height:42px}.script-picker__result-note{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;color:var(--ink-500);font-size:var(--text-xs)}.script-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.script-example-card{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:258px;padding:23px;border:1px solid var(--line);border-radius:var(--r-lg);color:var(--ink-700);background:var(--surface);text-align:left;font:inherit;cursor:pointer;transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.script-example-card:hover{border-color:var(--accent-200);box-shadow:var(--shadow-raise);transform:translateY(-3px)}.script-example-card__top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink-500);font-size:var(--text-xs)}.script-example-card__top>span:first-child{color:var(--accent-700);background:var(--accent-50);padding:4px 7px;border-radius:var(--r-sm)}.script-example-card[data-account=lifestyle] .script-example-card__top>span:first-child,.script-example-card[data-account=family] .script-example-card__top>span:first-child{color:var(--success-strong);background:var(--success-soft)}.script-example-card[data-account=local] .script-example-card__top>span:first-child,.script-example-card[data-account=culture] .script-example-card__top>span:first-child{color:var(--warning-strong);background:var(--warning-soft)}.script-example-card>strong{font-size:18px;line-height:1.6;color:var(--ink-900);font-weight:600}.script-example-card__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-size:var(--text-sm);line-height:1.9;color:var(--ink-600)}.script-example-card__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px;font-size:var(--text-xs);color:var(--ink-500)}.script-example-card__bottom svg{flex:none;color:var(--accent-600);transition:transform var(--dur) var(--ease)}.script-example-card:hover .script-example-card__bottom svg{transform:translate(3px)}.script-account:focus-visible,.script-example-card:focus-visible,.script-picker__lengths button:focus-visible,.script-library-tabs button:focus-visible{outline:2px solid var(--accent-500);outline-offset:3px}.script-preview{display:flex;flex-direction:column;gap:17px}.script-preview__meta{display:flex;flex-wrap:wrap;gap:16px;color:var(--ink-500);font-size:var(--text-xs)}.script-preview__meta>span{display:inline-flex;gap:5px;align-items:center}.script-preview textarea,.tp-apply textarea{font-size:15px;line-height:2;padding:18px}.script-preview>p{margin:0;color:var(--ink-500);font-size:var(--text-xs);line-height:1.7}.tp-mine{display:flex;flex-direction:column;gap:20px}.tp-mine__heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.tp-mine__heading h3{margin:0 0 6px;font-size:17px;font-weight:600}.tp-mine__heading p{margin:0;color:var(--ink-500);font-size:var(--text-sm);line-height:1.7}.tp-card-wrap{display:flex;flex-direction:column}.tp-card-wrap .tp-card{width:100%;flex:1;gap:18px;padding:23px;min-height:240px}.tp-card__name{font-size:17px;line-height:1.6}.tp-quick-fill{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-sunken)}.tp-quick-fill summary{padding:13px;color:var(--ink-600);font-size:var(--text-sm);cursor:pointer}.tp-quick-fill .tp-apply__grid,.tp-quick-fill__manual{padding:4px 14px 14px}.tp-quick-fill__manual p{font-size:var(--text-sm);color:var(--ink-500);line-height:1.7}.script-picker--compact .script-picker__accounts{grid-template-columns:repeat(5,minmax(0,1fr))}.script-picker--compact .script-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.script-picker--compact .script-account{min-height:70px;gap:5px}.script-picker--compact .script-picker__search{min-width:150px}@media(max-width:1250px){.script-picker__accounts{grid-template-columns:repeat(5,minmax(0,1fr))}.script-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.script-library-hero{padding:26px}}@media(max-width:680px){.script-library-hero{grid-template-columns:1fr;padding:23px}.script-library-hero__art{display:none}.script-library-hero h2{font-size:29px}.script-library-tabs{gap:16px}.script-library-nav{gap:8px}.script-library-nav>.ui-btn{font-size:var(--text-xs);padding-inline:10px}.script-picker__accounts,.script-picker--compact .script-picker__accounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.script-account,.script-picker--compact .script-account{flex-direction:row;min-height:49px;padding:8px 5px;gap:7px}.script-account__mark,.script-account>svg{width:23px;height:23px;font-size:17px}.script-picker__lengths{width:100%}.script-picker__lengths button{flex:1;min-width:0}.script-picker__toolbar{gap:10px}.script-picker__toolbar>select{min-width:108px;max-width:120px}.script-picker__search,.script-picker--compact .script-picker__search{min-width:0}.script-example-grid,.script-picker--compact .script-example-grid{grid-template-columns:1fr}.script-example-card{min-height:230px;padding:20px}.tp-mine__heading{flex-direction:column;align-items:stretch}.tp-create__grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.script-account,.script-example-card,.script-example-card__bottom svg{transition:none}.script-account:hover,.script-example-card:hover,.script-example-card:hover .script-example-card__bottom svg{transform:none}}.tp-view{gap:18px}.tp-view .script-library-nav{padding-top:0}.script-picker__accounts,.script-picker--compact .script-picker__accounts{display:flex;flex-wrap:wrap;gap:8px}.script-account,.script-picker--compact .script-account{flex-direction:row;gap:7px;min-height:38px;padding:7px 12px;border-radius:var(--r-pill);background:transparent;border-color:transparent;font-size:13px}.script-account__mark,.script-account>svg{width:18px;height:18px;font-size:14px;border-radius:5px}.script-account:hover{transform:none;background:var(--surface)}.script-account[aria-pressed=true]{background:var(--surface);border-color:var(--accent-200);box-shadow:var(--shadow-sm)}.script-picker__toolbar{gap:12px}.script-picker__lengths{border:0;padding:3px;border-radius:var(--r-pill);background:var(--workspace-stage)}.script-picker__lengths button{min-width:0;padding:8px 12px;border-radius:var(--r-pill);font-size:12px;font-weight:500}.script-picker__lengths button[aria-pressed=true]{color:var(--ink-900)}.script-picker__search{border-radius:var(--r-pill);min-height:40px}.script-example-grid{gap:18px}.script-example-card,.tp-card-wrap .tp-card{border-radius:18px;border-color:var(--workspace-line);min-height:250px;padding:24px}.script-example-card>strong,.tp-card__name{font-size:20px;line-height:1.6;letter-spacing:-.02em}.script-example-card__top>span:first-child{background:transparent;padding:0}.script-example-card__excerpt{-webkit-line-clamp:3}.script-example-card:hover{transform:none;box-shadow:var(--shadow-sm)}.script-example-card__bottom{border-top:1px solid var(--workspace-line);padding-top:13px}.script-topics{display:flex;flex-wrap:wrap;gap:10px}.script-topics button{font:inherit;border:1px solid var(--workspace-line);border-radius:var(--r-pill);padding:8px 14px;background:var(--surface);color:var(--ink-600);cursor:pointer}.script-topics button[aria-pressed=true]{color:var(--accent-700);border-color:var(--accent-400);background:var(--accent-50)}.script-topics button:focus-visible{outline:2px solid var(--accent-500);outline-offset:3px}.ui-library-dialog .script-preview textarea{height:min(400px,45dvh);min-height:150px;resize:none}.tp-mine__heading>p{margin:0;font-size:13px;color:var(--ink-500)}@media(min-width:761px){.tp-view,.script-picker{gap:12px}.script-example-card,.tp-card-wrap .tp-card{min-height:210px;padding:18px;gap:12px;border-radius:14px}.script-example-card>strong,.tp-card__name{font-size:17px;line-height:1.5}.script-example-card__bottom{padding-top:10px}}.tp-edit-mode{display:flex;gap:8px}.tp-edit-mode .ui-btn[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-700)}.tp-edit-panel{min-height:min(320px,42dvh)}.tp-edit-panel textarea{height:min(320px,42dvh);min-height:160px;resize:none}@media(min-width:761px)and (max-height:700px){.tp-create,.tp-create__body{gap:10px}.tp-create textarea{height:min(180px,30dvh);min-height:100px}.tp-view,.script-picker{gap:8px}.tp-view>.ui-library-toolbar:not(:has(.ui-library-toolbar__row)){display:none}.tp-view .ui-library-toolbar__description{display:none}.script-library-tabs button{padding-block:10px}.script-picker__accounts,.script-picker--compact .script-picker__accounts{gap:4px 6px}.script-account,.script-picker--compact .script-account{min-height:34px;padding:5px 10px}.script-example-card,.tp-card-wrap .tp-card{min-height:178px;padding:14px;gap:8px}.script-example-card__excerpt{-webkit-line-clamp:2}.script-example-card__bottom{padding-top:8px}}@media(max-width:680px){.script-picker__accounts,.script-picker--compact .script-picker__accounts{gap:6px}.script-account,.script-picker--compact .script-account{min-height:36px;padding:7px 9px;font-size:12px}.script-picker__lengths{width:100%}.script-picker__lengths button{flex:1;padding-inline:8px}.script-example-card{min-height:230px;padding:21px}.script-picker__result-note>span:last-child{display:none}}.sp-discovery-note{display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);margin-bottom:var(--sp-5);background:var(--surface-sunken);border-radius:var(--r-md);color:var(--ink-600)}.sp-discovery-note svg{flex:none;color:var(--accent-600)}.sp-discovery-note p{margin:0;font-size:var(--text-sm);line-height:1.6}.sp-filter-line{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2);margin:var(--sp-3) 0}.sp-filter-label{color:var(--ink-500);font-size:var(--text-sm);width:38px;flex:none}.sp-filter-chip{border:1px solid transparent;background:transparent;color:var(--ink-600);border-radius:var(--r-pill);padding:7px 12px;min-height:36px;font:inherit;font-size:var(--text-sm);cursor:pointer;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.sp-filter-chip:hover{background:var(--surface-sunken)}.sp-filter-chip[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-700);border-color:var(--accent-200)}.sp-extra-filters{display:flex;flex-wrap:wrap;gap:var(--sp-4);align-items:end;padding:var(--sp-3) var(--sp-4);margin-top:var(--sp-3);border:1px solid var(--line);border-radius:var(--r-md)}.sp-extra-filters label{display:grid;gap:var(--sp-2);color:var(--ink-600);font-size:var(--text-sm)}.sp-extra-filters .ui-select{min-width:160px}.sp-results-summary{min-height:44px;margin:var(--sp-3) 0;display:flex;justify-content:space-between;gap:var(--sp-3);align-items:center;font-size:var(--text-xs);color:var(--ink-500)}.sp-empty>div:last-child{display:flex;justify-content:center;gap:var(--sp-3);margin-bottom:var(--sp-5)}.sp-create-disclosure{margin-bottom:var(--sp-4);border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}.sp-create-disclosure>summary{padding:var(--sp-3) var(--sp-4);cursor:pointer;color:var(--ink-600);font-size:var(--text-sm)}.sp-create-disclosure[open]>summary{border-bottom:1px solid var(--line)}.sp-create-disclosure>.ui-card{margin:0;border:0;box-shadow:none}.sp-sample{display:flex;flex:0 0 156px;width:156px;min-height:40px;gap:8px;align-items:center;justify-content:flex-end}.sp-sample>audio[hidden]{display:none}.sp-sample--active>.sp-sample__toggle{flex:0 0 32px;width:32px;min-width:32px;height:32px;padding:0;border-radius:var(--r-pill)}.sp-sample__progress{flex:1;min-width:0;display:grid;gap:2px}.sp-sample__time{color:var(--ink-600);font-size:11px;font-variant-numeric:tabular-nums;line-height:16px}.sp-sample__progress input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;min-width:0;height:18px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;accent-color:var(--accent-700)}.sp-sample__progress input::-webkit-slider-runnable-track{height:4px;border-radius:var(--r-pill);background:linear-gradient(to right,var(--accent-700) var(--sample-progress),var(--line-strong) var(--sample-progress))}.sp-sample__progress input::-moz-range-track{height:4px;border-radius:var(--r-pill);background:var(--line-strong)}.sp-sample__progress input::-moz-range-progress{height:4px;border-radius:var(--r-pill);background:var(--accent-700)}.sp-sample__progress input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;margin-top:-4px;border:2px solid var(--surface);border-radius:50%;background:var(--accent-700);box-shadow:0 0 0 1px var(--accent-700)}.sp-sample__progress input::-moz-range-thumb{width:8px;height:8px;border:2px solid var(--surface);border-radius:50%;background:var(--accent-700);box-shadow:0 0 0 1px var(--accent-700)}.sp-sample__progress input:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.sp-sample__progress input:disabled{opacity:.45;cursor:wait}.sp-sample__missing{font-size:var(--text-xs);color:var(--ink-500)}.sp-sample__error{min-width:0;color:var(--danger-strong);font-size:11px;line-height:1.5}.sp-filter-chip:focus-visible,.sp-create-disclosure>summary:focus-visible{outline:2px solid var(--accent-500);outline-offset:3px}.sp-toolbar{display:flex;flex-wrap:wrap;gap:var(--sp-3);align-items:center;margin-bottom:var(--sp-4)}.sp-toolbar .ui-search{flex:1 1 260px;max-width:640px}.sp-toolbar .studio-segmented:first-child{flex:1 1 100%;width:fit-content}.sp-toolbar .ui-select{min-width:118px}.sp-row__actions>.ui-icon-btn:first-child{color:var(--warning)}.sp-retry{margin-top:var(--sp-2)}.sp-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:var(--sp-4)}.sp-row{display:flex;flex-direction:column;gap:var(--sp-4);min-width:0;padding:var(--sp-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.sp-row:hover{border-color:var(--accent-200);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.sp-row--playing{border-color:var(--accent-400);background:linear-gradient(145deg,var(--accent-soft),var(--surface) 60%)}.sp-row--skeleton{grid-template-columns:minmax(0,1fr);gap:var(--sp-2)}.sp-row__main{display:flex;flex-direction:column;gap:var(--sp-2);min-width:0}.sp-row__title{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center}.sp-row__icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:36px;color:var(--accent-600);background:transparent;border-radius:var(--r-md);flex:none;gap:3px}.sp-row__icon i{width:3px;height:9px;border-radius:var(--r-pill);background:currentColor}.sp-row__icon i:nth-child(2),.sp-row__icon i:nth-child(4){height:18px}.sp-row__icon i:nth-child(3){height:28px}.sp-row--playing .sp-row__icon i{animation:sp-wave .85s ease-in-out infinite alternate}.sp-row--playing .sp-row__icon i:nth-child(2n){animation-delay:-.4s}@keyframes sp-wave{0%{transform:scaleY(.5)}to{transform:scaleY(1)}}.sp-row__name{font-size:var(--text-md);color:var(--ink-900);overflow-wrap:anywhere}.sp-row__desc{margin:0;font-size:var(--text-sm);color:var(--ink-500);overflow-wrap:anywhere;line-height:1.6;min-height:3.2em}.sp-chips{display:flex;flex-wrap:wrap;gap:var(--sp-1) var(--sp-2);align-items:center}.sp-chip{display:inline-flex;align-items:center;gap:var(--sp-1);padding:2px var(--sp-2);font-size:var(--text-xs);color:var(--ink-600);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill)}.sp-chip--price{color:var(--accent-700);border-color:var(--accent-200)}.sp-chip--user{padding-right:2px}.sp-row__audio{width:100%;max-width:420px;height:36px}.sp-row__actions{display:flex;gap:var(--sp-2);align-items:center;flex:none;flex-wrap:wrap;width:100%;margin-top:auto;padding-top:var(--sp-3);border-top:1px solid var(--line)}.sp-row__actions>.ui-btn:last-child{margin-left:auto}.sp-chevron{transition:transform var(--dur) var(--ease)}.sp-chevron--open{transform:rotate(180deg)}.sp-admin{grid-column:1 / -1;display:flex;flex-direction:column;gap:var(--sp-3);padding:var(--sp-3);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md)}.sp-assign{display:flex;flex-direction:column;gap:var(--sp-3)}.sp-assign__assigned{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:var(--sp-2)}.sp-assign__assigned-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);min-width:0;padding:var(--sp-2) var(--sp-3);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.sp-assign__revoke-actions{display:flex;align-items:center}.sp-assign__users{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:var(--sp-2) var(--sp-4)}.sp-assign__empty{margin:0;font-size:var(--text-sm);color:var(--ink-500)}.sp-create{display:flex;flex-direction:column;gap:var(--sp-4)}.sp-create__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-4)}.sp-create__foot{display:flex;flex-wrap:wrap;gap:var(--sp-3);align-items:center;justify-content:space-between}@media(max-width:640px){.sp-list{grid-template-columns:minmax(0,1fr)}.sp-filter-line{gap:var(--sp-1)}.sp-toolbar{align-items:stretch}.sp-toolbar .ui-search{flex-basis:100%}.sp-row{grid-template-columns:minmax(0,1fr)}.sp-row__actions{justify-content:flex-end}}@media(prefers-reduced-motion:reduce){.sp-row,.sp-filter-chip{transition:none}.sp-row:hover{transform:none}.sp-row--playing .sp-row__icon i{animation:none}}.sp-view{display:flex;flex-direction:column;gap:18px}.sp-view .ui-library-toolbar__description{display:flex;align-items:center;gap:8px}.sp-view .sp-collections{margin:0}.sp-view .sp-results-summary{margin:0;min-height:24px}.sp-quick-filters{display:flex;flex-wrap:wrap;align-items:center;gap:20px}.sp-quick-filters .sp-filter-line{margin:0}.sp-quick-filters>.ui-btn{margin-left:auto}.sp-filter-section+.sp-filter-section{margin-top:24px}.sp-filter-section h3{font-size:14px;margin:0 0 12px}.sp-view .sp-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sp-view .sp-row{position:relative;padding:23px;border-color:var(--workspace-line);border-radius:20px;gap:18px;box-shadow:0 3px 10px #23213e03}.sp-view .sp-row:hover{transform:none;box-shadow:var(--shadow-sm)}.sp-view .sp-row__title{min-height:44px}.sp-view .sp-row__icon{width:46px;height:46px;border-radius:14px;margin-right:4px;background:var(--accent-soft)}.sp-view .sp-row__name{font-size:19px}.sp-view .sp-row__desc{min-height:2.8em;font-size:13px;line-height:1.7}.sp-view .sp-chip{padding:0;background:none;border:0;color:var(--ink-500)}.sp-view .sp-chip+.sp-chip:before{content:"·";margin-right:6px}.sp-view .sp-sample--compact{min-height:40px}.sp-view .sp-sample--compact>.ui-btn{min-height:40px;min-width:105px;border-radius:var(--r-pill);border-color:var(--accent-200);color:var(--accent-700);background:var(--accent-50)}.sp-view .sp-row__actions{padding-top:13px;gap:7px}.sp-view .sp-row__actions>.ui-btn{border-radius:var(--r-pill)}@media(max-width:1250px){.sp-view .sp-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.sp-view .sp-list{grid-template-columns:minmax(0,1fr)}.sp-view .sp-row{padding:20px}.sp-quick-filters{gap:12px}.sp-view .ui-library-toolbar__description{align-items:flex-start}.sp-view .ui-library-toolbar__description svg{flex:none;margin-top:4px}}.sp-view .sp-row{padding:20px;gap:16px}.sp-view .sp-row__desc{min-height:2.8em}.sp-view .sp-row__actions>.ui-icon-btn{color:var(--warning)}@media(min-width:761px){.sp-view{gap:12px}.sp-view .sp-row{padding:16px;gap:10px;border-radius:14px}.sp-view .sp-row__name{font-size:16px}.sp-view .sp-row__icon{width:36px;height:36px;border-radius:10px}.sp-view .sp-row__actions{padding-top:10px}}@media(min-width:761px)and (max-height:700px){.sp-view,.sp-view .ui-library-toolbar{gap:8px}.sp-view .ui-library-toolbar__description{display:none}.sp-view .sp-row{padding:14px}.sp-view .sp-row__title{min-height:36px}}.wz-dialog-backdrop{z-index:var(--z-dialog);display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden}.wz-dialog-window{display:flex;width:min(1120px,100%);height:min(800px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);min-height:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-lg)}.wz-dialog-window .wz-root{width:100%;height:100%;max-height:inherit;min-height:0;gap:0}.wz-dialog-window .wz-head{flex:none;padding:16px 24px;background:var(--surface);border-bottom:1px solid var(--line)}.wz-draft-error{flex:none;padding:12px 20px 0}.wz-dialog-window .wz-layout{flex:1 1 auto;min-height:0;padding:18px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.wz-dialog-window .wz-side{top:0}.wz-dialog-window .wz-actions{position:static;flex:none;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;padding:14px 24px}.wz-root{display:flex;flex-direction:column;gap:var(--sp-4)}.wz-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4)}.wz-title{margin:0;font-size:var(--text-xl);letter-spacing:-.025em}.wz-head>.ui-steps{flex:1;max-width:520px;margin:0 var(--sp-5)}.wz-head>.ui-icon-btn{flex:none}.wz-intro{margin:0;color:var(--ink-500);font-size:var(--text-md);line-height:1.7}.wz-step-panel{animation:wz-enter var(--dur-slow) var(--ease) both}@keyframes wz-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.wz-layout{display:flex;align-items:flex-start;gap:var(--sp-5)}.wz-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:var(--sp-4)}.wz-side{flex:0 0 240px;width:240px;position:sticky;top:var(--sp-5);display:flex;flex-direction:column;gap:var(--sp-4)}.wz-stack{display:flex;flex-direction:column;gap:var(--sp-4)}.wz-section{display:flex;flex-direction:column;gap:var(--sp-3)}.wz-section-label{font-size:var(--text-sm);font-weight:600;color:var(--ink-700)}.wz-section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3)}.wz-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-4)}.wz-check{position:absolute;top:var(--sp-2);right:var(--sp-2);width:18px;height:18px;color:var(--accent-600);background:var(--surface);border-radius:50%}.wz-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-3)}.wz-route-card{position:relative;display:flex;align-items:flex-start;gap:var(--sp-3);padding:var(--sp-3);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color var(--dur) var(--ease),background-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.wz-route-card:hover{border-color:var(--line-strong)}.wz-route-card--selected{background:var(--accent-soft);border-color:var(--accent-600);box-shadow:none}.wz-route-card__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;color:var(--accent-600);background:var(--accent-soft);border-radius:var(--r-md)}.wz-route-card--selected .wz-route-card__icon{background:var(--surface)}.wz-route-card__icon .lucide{width:19px;height:19px}.wz-route-card__text{display:flex;flex-direction:column;gap:2px;min-width:0;padding-right:var(--sp-5)}.wz-route-card__text strong{font-size:var(--text-sm);color:var(--ink-900)}.wz-route-card__text small{font-size:var(--text-xs);color:var(--ink-500);line-height:1.6}.wz-source-picker{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--sp-4);align-items:start}.wz-source-picker__profiles,.wz-source-picker__assets{min-width:0}.wz-source-picker__assets{display:grid;grid-template-columns:176px minmax(0,1fr);gap:32px;align-items:center;padding:12px 24px;border-radius:var(--radius-lg);background:var(--surface-sunken)}.wz-chosen-person{display:flex;flex-direction:column;align-items:flex-start;gap:14px;animation:wz-person-slide .48s cubic-bezier(.2,.8,.2,1) both}.wz-chosen-person h3{margin:4px 0 6px;font-size:22px}.wz-chosen-person>.ui-btn{margin-top:4px}.wz-chosen-person__avatar{width:156px;height:200px;overflow:hidden;border-radius:14px;background:var(--accent-soft);display:grid;place-items:center;box-shadow:0 8px 20px #25213b14;transform:rotate(-4deg);border:5px solid var(--surface)}.wz-chosen-person__avatar img{width:100%;height:100%;object-fit:cover;object-position:center 22%}.wz-source-picker__assets>.wz-section{min-width:0}.wz-source-picker__assets .wz-section,.wz-source-picker__assets .wz-asset-stack{gap:8px}@keyframes wz-person-slide{0%{opacity:0;transform:translate(90px)}to{opacity:1;transform:translate(0)}}.wz-preview-appearance{margin:-6px 0 12px;color:var(--ink-500);font-size:var(--text-sm);overflow-wrap:anywhere}.wz-section-hint{display:block;margin-top:calc(-1 * var(--sp-2));font-size:var(--text-sm);color:var(--ink-500);line-height:1.6}.wz-profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:var(--sp-4)}.wz-profile-tools{display:flex;align-items:center;gap:var(--sp-3);flex-wrap:wrap}.wz-profile-tools>.ui-search{flex:1 1 180px}.wz-profile-tools>.studio-segmented{flex:0 1 auto}.wz-result-count{margin-left:var(--sp-2);color:var(--ink-400);font-size:var(--text-xs);font-weight:400}.wz-character-panel{min-width:0}.wz-pagination{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);color:var(--ink-500);font-size:var(--text-xs)}.wz-pagination>div{display:flex;gap:var(--sp-2)}.wz-profile-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-2);padding:8px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color var(--dur) var(--ease),background-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.wz-profile-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border:1px solid var(--line);border-radius:inherit;background:var(--surface);transform:rotate(-3deg) translate(-3px,2px)}.wz-profile-card{isolation:isolate}.wz-profile-card:hover:not(:disabled){transform:translateY(-4px);border-color:var(--accent-300);box-shadow:var(--shadow-sm)}.wz-profile-card--selected{background:var(--accent-soft);border-color:var(--accent-600);box-shadow:0 0 0 1px var(--accent-600)}.wz-profile-card:disabled{cursor:not-allowed;opacity:.55;background:var(--surface-sunken)}.wz-profile-card__thumb{display:inline-flex;align-items:center;justify-content:center;width:100%;height:clamp(180px,30dvh,280px);aspect-ratio:4 / 5;flex:none;overflow:hidden;color:var(--ink-400);background:var(--surface-sunken);border-radius:var(--r-md)}.wz-profile-card__thumb img{width:100%;height:100%;object-fit:cover;object-position:center 26%}.wz-profile-card__thumb .lucide{width:24px;height:24px}.wz-profile-card__text{display:flex;flex-direction:column;gap:1px;min-width:0;padding:0}.wz-profile-card__flags{display:flex;flex-wrap:wrap;gap:var(--sp-1);margin-top:var(--sp-1)}.wz-profile-card__flags .ui-badge svg{width:12px;height:12px}.wz-asset-stack{display:flex;flex-direction:column;gap:var(--sp-3);min-width:0}.wz-quality-hint{margin:0;font-size:var(--text-xs);color:var(--ink-500)}.wz-profile-card__text strong{font-size:var(--text-sm);color:var(--ink-900);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wz-profile-card__text small{font-size:var(--text-xs);color:var(--ink-500)}.wz-deck{min-width:0;--deck-card-height: clamp(220px, 34dvh, 310px);--deck-card-width: calc(var(--deck-card-height) * .7);--deck-spread: 100px}.wz-deck-toolbar{display:flex;justify-content:flex-end;margin-bottom:4px}.wz-deck--expanded .wz-deck-toolbar{flex:none}.wz-deck-stage{position:relative;height:calc(var(--deck-card-height) + 42px);overflow:hidden;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:grab}html.wz-deck-dialing,html.wz-deck-dialing *{cursor:none!important}.wz-deck-card{--card-slot: 0;--card-distance: 0;--card-scale: 1;--card-opacity: 1;--card-saturation: 1;--card-focus: 1;position:absolute;top:12px;left:50%;width:var(--deck-card-width);height:var(--deck-card-height);display:flex;flex-direction:column;padding:0;border:0;border-radius:16px;background:var(--ink-900);text-align:left;overflow:hidden;cursor:pointer;transform-origin:50% 95%;transform:translate(calc(-50% + var(--card-slot) * var(--deck-spread))) translateY(calc(var(--card-distance) * 18px)) rotate(calc(var(--card-slot) * 8deg)) scale(var(--card-scale));opacity:var(--card-opacity);filter:saturate(var(--card-saturation));box-shadow:0 calc(12px + var(--card-focus) * 4px) calc(22px + var(--card-focus) * 8px) rgb(41 33 53 / calc(.07 + var(--card-focus) * .17));transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .28s ease,filter .28s ease,box-shadow .28s ease;animation:wz-deal-in .52s cubic-bezier(.2,.8,.2,1) both}.wz-deck-card--selected{cursor:zoom-in}.wz-deck-card:focus-visible{outline:3px solid var(--accent-600);outline-offset:3px}.wz-deck-stage--dialing .wz-deck-card{transition:none}.wz-deck-card__media{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;overflow:hidden;background:var(--surface-sunken);border-radius:inherit}.wz-deck-card__media img,.wz-deck-card__media video{width:100%;height:100%;object-fit:cover;object-position:center 25%;pointer-events:none}.wz-deck-card__media>.lucide{width:40px;height:40px;color:var(--ink-400)}.wz-deck-card__text{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:4px;padding:40px 14px 14px;background:linear-gradient(transparent,#16121cba);color:#fff}.wz-deck-card__text strong{color:#fff;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 3px #0005}.wz-deck-card__text small{color:#ffffffc9;font-size:11px}.wz-deck-selected{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent-600);color:#fff;box-shadow:0 2px 6px #0002}.wz-deck-controls{display:flex;align-items:center;justify-content:center;gap:18px}.wz-deck-controls>.ui-icon-btn{width:36px;height:36px;border:1px solid var(--line);background:var(--surface);border-radius:50%}.wz-deck-position{color:var(--ink-400);font-size:12px;font-variant-numeric:tabular-nums}.wz-deck-position strong{color:var(--ink-900);font-size:16px;margin-right:6px}.wz-deck-hint{text-align:center;margin:10px 0 0;color:var(--ink-500);font-size:11px}.wz-deck-zoom{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#29253588;color:#fff;pointer-events:none}.wz-deck-stage--expanded{--deck-columns: 2;--deck-rows: 1;--deck-grid-gap: 12px;display:grid;grid-template-columns:repeat(var(--deck-columns),minmax(0,1fr));grid-template-rows:repeat(var(--deck-rows),minmax(0,1fr));place-items:center;align-content:center;gap:var(--deck-grid-gap);min-height:0;overflow:hidden;cursor:default}.wz-deck-stage--expanded .wz-deck-card{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:7 / 10;transform:none;opacity:1;filter:none;animation:none;box-shadow:0 5px 14px #2921351f}.wz-deck-stage--expanded .wz-deck-card--selected{box-shadow:0 9px 24px #29213540}.ui-dialog-backdrop.wz-appearance-preview{align-items:center;padding:32px;overflow:hidden}.wz-appearance-preview .ui-dialog{display:flex;flex-direction:column;width:640px;max-width:100%;max-height:min(80dvh,720px);overflow:hidden}.wz-appearance-preview .studio-dialog-frame__head{flex:none;padding:16px 20px 0}.wz-appearance-preview .studio-dialog-frame__head>div{min-width:0}.wz-appearance-preview .ui-kicker{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wz-appearance-preview .ui-dialog__body{min-height:0;padding:16px;overflow:hidden}.wz-appearance-preview__media{display:grid;place-items:center;min-height:0;height:min(58dvh,560px);overflow:hidden;border-radius:12px;background:var(--surface-sunken)}.wz-appearance-preview__media img,.wz-appearance-preview__media video{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.ui-dialog-backdrop.wz-content-dialog{align-items:center;padding:32px;overflow:hidden}.wz-content-dialog .ui-dialog{display:flex;flex-direction:column;height:min(720px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);overflow:hidden}.wz-content-dialog .studio-dialog-frame__head,.wz-content-dialog .studio-dialog-frame__foot{flex:none}.wz-content-dialog .ui-dialog__body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.wz-content-dialog .ui-dialog__body:has(>.script-preview){display:flex;overflow:hidden}.wz-content-dialog .script-preview{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0}.wz-content-dialog .script-preview .ui-textarea{flex:1;min-height:0;resize:none}.wz-content-dialog--confirm .ui-dialog{height:min(480px,calc(100dvh - 64px))}.wz-content-dialog .wz-template-preview{max-height:none;overflow:visible}@keyframes wz-deal-in{0%{opacity:0;translate:-100px 0}to{translate:0 0}}@media(min-width:641px)and (max-height:800px){.wz-source-picker__assets{padding-block:12px}.wz-chosen-person__avatar{width:132px;height:170px}}@media(min-width:641px){.wz-chosen-person{align-self:start;position:sticky;top:12px}}.wz-dialog-window .wz-layout:has(.wz-source-picker__assets){overflow:hidden;align-items:stretch}.wz-dialog-window:has(.wz-source-picker__assets) .wz-main,.wz-dialog-window:has(.wz-source-picker__assets) .wz-character-panel,.wz-dialog-window:has(.wz-source-picker__assets) .wz-character-panel>.wz-stack{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.wz-dialog-window:has(.wz-source-picker__assets) .wz-character-panel>.wz-stack>:not(.wz-source-picker){flex:none}.wz-dialog-window:has(.wz-source-picker__assets) .wz-source-picker{flex:1 1 0;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch}.wz-dialog-window:has(.wz-source-picker__assets) .wz-source-picker__assets{min-height:0;align-items:stretch}.wz-dialog-window:has(.wz-source-picker__assets) .wz-chosen-person{position:static;align-self:start;gap:10px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-asset-stack,.wz-dialog-window:has(.wz-source-picker__assets) .wz-source-picker__assets>.wz-section,.wz-dialog-window:has(.wz-source-picker__assets) .wz-asset-stack>.wz-section{min-height:0;display:flex;flex-direction:column}.wz-dialog-window:has(.wz-source-picker__assets) .wz-asset-stack>.wz-section{flex:1 1 0}.wz-dialog-window:has(.wz-source-picker__assets) .wz-section>:not(.wz-deck),.wz-dialog-window:has(.wz-source-picker__assets) .wz-asset-stack>:not(.wz-section){flex:none}.wz-dialog-window .wz-deck{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.wz-dialog-window .wz-deck-toolbar,.wz-dialog-window .wz-deck-controls,.wz-dialog-window .wz-deck-pages{flex:none}.wz-dialog-window .wz-deck-stage{container-type:size;flex:1 1 0;height:auto;min-height:0;overflow:hidden;--deck-spread: min(100px, 15cqw)}.wz-dialog-window .wz-deck-stage:not(.wz-deck-stage--expanded){--deck-fitted-height: min(var(--deck-card-height), max(0px, calc((100cqh - 44px) / 1.08)));--deck-spread: min(100px, max(0px, calc((100cqw - var(--deck-fitted-height) * .94 - 16px) / 4)))}.wz-dialog-window .wz-deck-stage:not(.wz-deck-stage--expanded) .wz-deck-card{height:var(--deck-fitted-height);width:auto;aspect-ratio:7 / 10;transform:translate(calc(-50% + var(--card-slot) * var(--deck-spread))) translateY(calc(var(--card-distance) * 12px)) rotate(calc(var(--card-slot) * 8deg)) scale(var(--card-scale))}.wz-dialog-window .wz-deck-stage--expanded{padding:8px 10px 12px}.wz-dialog-window .wz-deck-stage--expanded .wz-deck-card{--deck-cell-width: calc((100cqw - (var(--deck-columns) - 1) * var(--deck-grid-gap)) / var(--deck-columns));--deck-cell-height: calc((100cqh - (var(--deck-rows) - 1) * var(--deck-grid-gap)) / var(--deck-rows));height:min(var(--deck-cell-height),calc(var(--deck-cell-width) / .7));width:auto;max-width:100%;max-height:100%}.wz-dialog-window .wz-deck-hint{flex:none;margin-top:8px}.wz-deck-pages{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:8px;color:var(--ink-500);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.wz-deck-pages>.ui-btn{padding-inline:12px}@media(max-width:480px){.wz-dialog-window:has(.wz-source-picker__assets) .wz-source-picker__assets{grid-template-rows:auto minmax(0,1fr);gap:12px;padding-block:8px}}@media(max-height:600px){.wz-dialog-window:has(.wz-source-picker__assets) .wz-head{padding:8px 12px;gap:8px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-layout{padding:8px 12px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-actions{padding:8px 12px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-character-panel>.wz-stack{gap:8px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-source-picker__assets{padding-block:8px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-chosen-person{gap:6px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-chosen-person__avatar{width:52px;height:66px;border-width:2px}.wz-dialog-window:has(.wz-source-picker__assets) .wz-chosen-person h3{font-size:16px;margin:0}.wz-dialog-window:has(.wz-source-picker__assets) .wz-chosen-person>div .wz-hint:last-child,.wz-dialog-window:has(.wz-source-picker__assets) .wz-section-head .wz-hint,.wz-dialog-window:has(.wz-source-picker__assets) .wz-section-hint,.wz-dialog-window:has(.wz-source-picker__assets) .wz-quality-hint,.wz-dialog-window .wz-deck-hint{display:none}.wz-dialog-window .wz-deck-stage--expanded{--deck-grid-gap: 8px}.wz-dialog-window .wz-deck-stage .wz-deck-card__text{padding:20px 8px 8px}.wz-dialog-window .wz-deck-stage .wz-deck-card__text small{display:none}}.wz-script-metrics{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-4);margin-top:var(--sp-2);font-size:var(--text-sm);color:var(--ink-500)}.wz-script-metrics strong{font-weight:600;color:var(--ink-900);font-variant-numeric:tabular-nums}.wz-script-metrics--danger,.wz-script-metrics--danger strong{color:var(--danger)}.wz-speaker-tools{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-3)}.wz-speaker-tools .ui-search{flex:1 1 240px}.wz-speaker-tools .studio-segmented:first-child{flex:1 1 100%;width:fit-content}.wz-selected-speaker{display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-3);background:var(--accent-soft);border:1px solid var(--accent-600);border-radius:var(--r-lg)}.wz-speaker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2)}.wz-empty-actions{display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-2)}.wz-existing-group{display:flex;align-items:center;gap:12px;color:var(--ink-500);font-size:var(--text-xs)}.wz-existing-group>span{min-width:0;overflow-wrap:anywhere}.wz-template-feedback{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-2) var(--sp-3);background:var(--success-soft);border-radius:var(--r-md);color:var(--success-strong);font-size:var(--text-sm)}.wz-template-feedback>span{display:flex;align-items:center;gap:var(--sp-2)}.wz-template-feedback svg{width:16px;height:16px;flex:none}.wz-template-preview{margin-top:var(--sp-4);padding:var(--sp-4);max-height:280px;overflow:auto;background:var(--surface-sunken);border-radius:var(--r-lg)}.wz-preview-card{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-sm)}.wz-preview-card__media{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(180px,30vh,280px);background:var(--surface-sunken);overflow:hidden}.wz-preview-card__media>img{width:100%;height:100%;object-fit:contain;animation:wz-enter var(--dur-slow) var(--ease) both}.wz-preview-card__media>.ui-badge{position:absolute;bottom:var(--sp-3);left:var(--sp-3);background:var(--glass)}.wz-preview-card__media--empty{background:radial-gradient(ellipse at 50% 30%,var(--accent-soft),var(--surface-sunken) 75%)}.wz-preview-placeholder{display:flex;flex-direction:column;align-items:center;gap:var(--sp-3);padding:var(--sp-5);text-align:center}.wz-preview-placeholder>svg{width:52px;height:52px;color:var(--accent-300);stroke-width:1}.wz-preview-placeholder strong{font-size:var(--text-md);color:var(--ink-700)}.wz-preview-placeholder span{font-size:var(--text-xs);color:var(--ink-500)}.wz-preview-card__body{padding:var(--sp-4)}.wz-preview-eyebrow{color:var(--ink-500);font-size:var(--text-xs)}.wz-preview-card__body h3{margin:var(--sp-1) 0 var(--sp-3);font-size:var(--text-lg)}.wz-preview-facts{display:flex;flex-direction:column;gap:var(--sp-2);color:var(--ink-600);font-size:var(--text-sm)}.wz-preview-facts>span{display:flex;gap:var(--sp-2);align-items:center}.wz-preview-facts svg{width:16px;height:16px;flex:none;color:var(--ink-400)}.wz-cost-card .ui-card__head{padding-bottom:0;border-bottom:0}.wz-cost-details{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}.wz-cost-details>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-4);cursor:pointer;list-style:none;font-size:var(--text-sm);font-weight:600}.wz-cost-details>summary::-webkit-details-marker{display:none}.wz-cost-details>summary>span:last-child{display:flex;align-items:center;gap:var(--sp-2);font-size:var(--text-xs);color:var(--ink-500);font-weight:400}.wz-cost-details summary svg{width:14px;height:14px}.wz-cost-details[open] summary svg{transform:rotate(90deg)}.wz-cost-details .wz-cost-card{border:0;box-shadow:none}.wz-cost-details .ui-card__body{padding:0 var(--sp-4) var(--sp-4)}.wz-cost-note{margin:var(--sp-3) 0 0;padding-top:var(--sp-3);border-top:1px solid var(--line);font-size:var(--text-xs);color:var(--ink-500);line-height:1.6}.wz-speaker-option{position:relative;display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-3);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color var(--dur) var(--ease),background-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.wz-speaker-option:hover:not(:disabled){border-color:var(--line-strong)}.wz-speaker-option--selected{background:var(--accent-soft);border-color:var(--accent-600);box-shadow:0 0 0 1px var(--accent-600)}.wz-speaker-option:disabled{cursor:not-allowed;opacity:.55;background:var(--surface-sunken)}.wz-speaker-option__icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;color:var(--accent-600);background:var(--accent-soft);border-radius:var(--r-md)}.wz-speaker-option--selected .wz-speaker-option__icon{background:var(--surface)}.wz-speaker-option__icon .lucide{width:17px;height:17px}.wz-speaker-option__text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto;padding-right:var(--sp-4)}.wz-speaker-option__text strong{font-size:var(--text-sm);color:var(--ink-900);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wz-speaker-option__text small{font-size:var(--text-xs);color:var(--ink-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wz-hint{margin:0;font-size:var(--text-xs);color:var(--ink-500)}.wz-motion{display:flex;flex-direction:column;gap:var(--sp-4);padding:var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-lg)}.wz-actions{position:sticky;bottom:0;z-index:var(--z-sticky);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}.wz-actions__meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-3);min-width:0}.wz-actions__buttons{display:flex;align-items:center;gap:var(--sp-2);margin-left:auto}.wz-step-error{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:var(--text-sm);color:var(--danger)}.wz-step-error .lucide{width:14px;height:14px;flex:none}.wz-step-error--guidance{color:var(--ink-500)}.wz-step-feedback{flex:none;padding:8px 24px;background:var(--surface);border-top:1px solid var(--line)}@media(max-width:1023px){.wz-layout{flex-direction:column}.wz-side{position:static;width:100%;flex:none}.wz-main{width:100%}.wz-preview-card{display:grid;grid-template-columns:180px minmax(0,1fr)}.wz-preview-card__media{height:180px}.wz-preview-card__body{align-self:center}.wz-head>.ui-steps{margin:0}}@media(max-width:640px){.wz-dialog-backdrop{padding:12px}.wz-dialog-window{width:100%;height:min(800px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}.wz-dialog-window .wz-head{padding:12px 16px}.wz-dialog-window .wz-layout{padding:12px}.wz-dialog-window .wz-actions{padding:12px 16px}.wz-grid-2,.wz-source-picker{grid-template-columns:minmax(0,1fr)}.wz-route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wz-route-card{padding:12px 8px}.wz-route-card__icon,.wz-route-card__text small,.wz-route-card__text .ui-badge{display:none}.wz-route-card__text strong{font-size:12px}.wz-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wz-profile-card{flex-direction:column;align-items:stretch}.wz-profile-card__thumb{width:100%;height:140px}.wz-profile-card__thumb img{object-position:center 15%}.wz-profile-card__text{padding:0 2px}.wz-source-picker__assets{grid-template-columns:minmax(0,1fr);gap:20px;padding:14px 0}.wz-chosen-person{flex-direction:row;align-items:center;gap:12px;padding:0 12px}.wz-chosen-person__avatar{width:50px;height:64px;border-width:2px;flex:none}.wz-chosen-person h3{font-size:17px;margin:2px 0}.wz-chosen-person>div .wz-hint:last-child{display:none}.wz-chosen-person>.ui-btn{margin:0 0 0 auto;padding-inline:8px}.wz-asset-stack>.wz-section>.wz-section-head,.wz-source-picker__assets>.wz-section>.wz-section-label,.wz-source-picker__assets>.wz-section>.wz-section-hint,.wz-asset-stack>.wz-quality-hint{padding-inline:12px}.wz-deck{--deck-card-width: 174px;--deck-card-height: 260px;--deck-spread: 65px}.wz-deck-stage--expanded,.wz-deck-hint{padding-inline:8px}.wz-head{flex-wrap:wrap}.wz-head>.ui-steps{order:3;flex:1 1 100%;max-width:none}.wz-head>.ui-icon-btn{margin-left:auto}.wz-profile-tools>.ui-search{flex-basis:100%}.wz-profile-tools>.studio-segmented{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.wz-profile-tools .studio-segmented>button{padding-inline:3px;font-size:var(--text-xs)}.wz-speaker-list{grid-template-columns:minmax(0,1fr)}.wz-actions{gap:var(--sp-2)}.wz-actions__meta{flex:1}.wz-step-error{font-size:var(--text-xs)}.wz-step-feedback{padding:8px 16px}.wz-pagination{flex-wrap:wrap}.wz-actions__buttons{margin-left:0}.wz-preview-card{grid-template-columns:112px minmax(0,1fr)}.wz-preview-card__media{aspect-ratio:auto;min-height:168px}.wz-preview-card__media>.ui-badge{font-size:10px;bottom:var(--sp-2);left:var(--sp-2)}.wz-preview-placeholder strong,.wz-preview-placeholder span{display:none}.wz-preview-card__body{padding:var(--sp-3)}.wz-preview-card__body h3{margin-bottom:var(--sp-3)}.wz-preview-facts{gap:var(--sp-2)}.wz-template-feedback{align-items:flex-start;flex-direction:column}}@media(min-width:481px)and (max-width:640px){.wz-source-picker__assets{grid-template-columns:96px minmax(0,1fr);gap:8px;padding:14px 8px}.wz-chosen-person{flex-direction:column;align-items:flex-start;padding:0}.wz-chosen-person__avatar{width:80px;height:110px;border-width:3px}.wz-chosen-person>.ui-btn{margin:0}.wz-chosen-person>div .wz-hint:last-child{display:block;font-size:11px}}@media(prefers-reduced-motion:reduce){.wz-step-panel,.wz-preview-card__media>img,.wz-chosen-person,.wz-deck-card{animation:none}.wz-deck-card,.wz-profile-card{transition:none}}.wz-speaker-preview{display:flex;flex-direction:column;gap:var(--sp-2);max-width:100%}.wz-speaker-preview audio{width:240px;max-width:100%;height:36px}.wz-selected-speaker{flex-wrap:wrap}.wz-speaker-select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;border:0;background:transparent;text-align:left;color:inherit;padding:0}.wz-speaker-option{flex-wrap:wrap}.wz-speaker-option .wz-check{position:static;flex:none}.wz-speaker-option .sp-sample{margin-left:auto}.wz-quality-hint{display:flex;align-items:center;gap:6px;margin:0;color:var(--ink-500);font-size:var(--text-xs)}.wz-quality-hint svg{color:var(--success)}.wz-inspiration-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:var(--accent-soft);border-radius:var(--r-lg)}.wz-inspiration-entry>div{display:flex;flex-direction:column;gap:4px}.wz-inspiration-entry strong{font-size:var(--text-sm)}.wz-inspiration-entry span{color:var(--ink-600);font-size:var(--text-xs)}@media(max-width:640px){.wz-inspiration-entry{align-items:flex-start;flex-direction:column}.wz-speaker-select .wz-profile-card__flags{display:none}}.wz-pronunciation-options{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}.wz-pronunciation-options>summary{padding:15px 20px;cursor:pointer;font-size:var(--text-sm);color:var(--ink-700)}.wz-pronunciation-options>summary>span{margin-left:8px;color:var(--ink-400);font-size:var(--text-xs)}.wz-pronunciation-options>.ui-card{border:0;box-shadow:none}.wz-root{--paper: var(--workspace-canvas);height:100%;min-height:0;gap:0;background:var(--workspace-canvas)}.wz-root>.ui-page-toolbar{width:min(100%,calc(var(--workspace-width) + 80px));margin:0 auto;min-height:76px;padding:16px 40px;gap:24px;border-bottom:1px solid var(--workspace-line)}.wz-root>.ui-page-toolbar>.ui-btn{padding-left:0;color:var(--ink-500)}.wz-root .ui-page-toolbar__title{max-width:600px;margin-right:auto}.wz-document-name{display:flex;align-items:center;gap:8px}.wz-document-name .ui-input{width:100%;min-width:0;height:40px;padding:5px 0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:18px;font-weight:600;text-overflow:ellipsis}.wz-document-name .ui-input::placeholder{color:var(--ink-900);opacity:1}.wz-document-name>svg{width:13px;height:13px;flex:none;color:var(--ink-400)}.wz-root>.wz-layout{flex:1;min-height:0;width:min(100%,calc(var(--workspace-width) + 80px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:stretch;padding:24px 40px;overflow-y:auto;overscroll-behavior:contain}.wz-root .wz-main{display:flex;flex-direction:column;min-width:0;min-height:460px;gap:18px}.wz-manuscript{flex:1;min-height:340px;gap:0;overflow:hidden;border:1px solid var(--workspace-line);border-radius:var(--workspace-radius);background:var(--surface);box-shadow:var(--workspace-shadow)}.wz-manuscript>.ui-content-section__head{flex:none;padding:22px 26px 12px;gap:8px}.wz-manuscript>.ui-content-section__head h2{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--ink-700)}.wz-manuscript>.ui-content-section__head h2 svg{width:16px;height:16px;color:var(--ink-400);stroke-width:1.7}.wz-script-sources{display:flex;gap:4px}.wz-script-sources .ui-btn{color:var(--accent)}.wz-script-area{flex:1;min-height:0;display:flex;flex-direction:column;padding:0 30px}.wz-script-area>.ui-field{flex:1;display:flex;flex-direction:column;min-height:0;gap:0}.wz-script-area .ui-textarea{flex:1;min-height:160px;width:100%;padding:20px 0 16px;resize:none;font-size:clamp(18px,1.4vw,21px);line-height:1.95;letter-spacing:.015em;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--ink-900)}.wz-script-area .ui-textarea::placeholder{color:var(--ink-400);opacity:.88}.wz-script-area .ui-textarea:focus{box-shadow:none;outline:none}.wz-manuscript:focus-within{border-color:var(--accent-200)}.wz-root .wz-script-metrics{flex:none;margin:0;padding:18px 0;gap:8px 16px;color:var(--ink-400);font-size:12px}.wz-root .wz-script-metrics strong{font-weight:500;color:var(--ink-500)}.wz-root .wz-script-metrics--danger,.wz-root .wz-script-metrics--danger strong{color:var(--danger)}.wz-writing-tools{display:flex;flex-wrap:wrap;gap:8px;flex:none;padding:13px 22px;border-top:1px solid var(--workspace-line);background:var(--surface-sunken)}.wz-writing-tools .ui-btn{font-size:12px;color:var(--ink-500)}.wz-root .wz-template-feedback{margin:0 22px 14px}.wz-root .wz-selected-speaker,.wz-voice-empty{display:flex;align-items:center;flex:none;min-height:82px;gap:14px;padding:16px 18px;border:1px solid var(--workspace-line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.wz-root .wz-selected-speaker .wz-speaker-option__text{flex:1}.wz-root .wz-selected-speaker .wz-speaker-option__text small{font-size:11px;color:var(--ink-500);margin-bottom:3px}.wz-root .wz-selected-speaker .wz-speaker-option__text strong{font-size:15px;font-weight:600}.wz-root .wz-selected-speaker>.ui-badge{display:none}.wz-voice-emblem{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:13px;background:var(--accent-soft);color:var(--accent)}.wz-voice-emblem svg{width:24px;height:24px;stroke-width:1.5}.wz-root .wz-selected-speaker .ui-btn{border-radius:var(--r-md);box-shadow:none}.wz-root .wz-selected-speaker .wz-speaker-toggle{background:transparent;border-color:transparent;color:var(--ink-500)}.wz-voice-empty{cursor:pointer;text-align:left;width:100%;font:inherit}.wz-voice-empty>svg:first-child{color:var(--accent)}.wz-voice-empty>span{display:grid;flex:1;gap:5px}.wz-voice-empty small{color:var(--ink-500)}.wz-voice-empty>svg:last-child{color:var(--ink-400);width:16px}.wz-root .wz-side{display:flex;flex-direction:column;width:auto;min-width:0;min-height:0;position:static;gap:0}.wz-stage{flex:1;min-height:400px;position:relative;display:flex;flex-direction:column;border-radius:var(--workspace-radius);padding:26px 30px;overflow:hidden;background:var(--workspace-stage);border:1px solid var(--workspace-line)}.wz-stage-heading{flex:none;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;color:var(--ink-500)}.wz-stage-heading>span:first-child{display:flex;gap:7px;align-items:center;color:var(--ink-700);font-weight:500}.wz-stage-heading>span:first-child>span{width:6px;height:6px;border:1px solid var(--ink-400);border-radius:50%}.wz-casting{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px 0 10px}.wz-casting-faces{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:clamp(200px,31vh,320px);margin:0 0 30px}.wz-casting-faces>button{width:34%;max-width:180px;height:85%;position:relative;padding:0;overflow:hidden;border:4px solid var(--surface);border-radius:18px;background:var(--surface);box-shadow:var(--portrait-shadow);cursor:pointer;transition:transform .22s var(--ease),box-shadow .22s var(--ease)}.wz-casting-faces>button:first-child{transform:rotate(-11deg) translate(16px,8px)}.wz-casting-faces>button:nth-child(2){z-index:2;height:100%;transform:translateY(-6px)}.wz-casting-faces>button:nth-child(3){transform:rotate(11deg) translate(-16px,8px)}.wz-casting-faces>button:hover,.wz-casting-faces>button:focus-visible{z-index:3;transform:translateY(-14px);box-shadow:var(--shadow-lg);outline:3px solid var(--accent-300);outline-offset:3px}.wz-casting-faces img{width:100%;height:100%;object-fit:cover;object-position:50% 24%}.wz-casting-faces button>span{position:absolute;bottom:10px;left:50%;transform:translate(-50%);padding:5px 13px;border-radius:var(--r-pill);background:var(--glass);color:var(--ink-900);font-size:12px;white-space:nowrap}.wz-casting-empty{width:150px;height:180px;display:grid;place-items:center;border:1px dashed var(--ink-300);border-radius:75px 75px 18px 18px;background:var(--surface)}.wz-casting-empty svg{color:var(--accent-300);width:50px;height:50px;stroke-width:1}.wz-casting h2{margin:0;font-size:clamp(22px,2vw,28px);font-weight:600;letter-spacing:-.035em}.wz-casting p{font-size:13px;color:var(--ink-500);margin:10px 0 22px}.wz-casting>.ui-btn{height:44px;padding:0 20px;gap:10px;border:0;border-radius:var(--r-md);background:var(--ink-900);color:var(--surface);box-shadow:none}.wz-casting>.ui-btn:hover{background:var(--ink-700)}.wz-stage-portrait{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:22px 0}.wz-stage-portrait img{display:block;height:100%;max-height:510px;max-width:100%;min-height:0;aspect-ratio:9 / 16;object-fit:contain;border-radius:18px;filter:drop-shadow(0 14px 20px var(--ink-hover))}.wz-stage-portrait>svg{width:100px;height:100px;color:var(--ink-400)}.wz-stage-person{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:10px}.wz-stage-person h2{font-size:22px;letter-spacing:-.03em;margin:0 0 4px}.wz-stage-person p{margin:0;font-size:12px;color:var(--ink-500)}.wz-stage-person .ui-btn{background:var(--surface);border-color:var(--line);border-radius:var(--r-md);padding:9px 15px;height:auto;box-shadow:none}.wz-stage-estimate{padding:0 6px}.wz-cost-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 4px 0;border:0;background:transparent;color:var(--ink-500);font:inherit;font-size:12px;text-align:left;cursor:pointer}.wz-cost-trigger>span:last-child{display:flex;align-items:center;gap:8px}.wz-cost-trigger svg{width:14px;height:14px}.wz-root .wz-cost-card{border:0;background:transparent;box-shadow:none}.wz-root>.ui-action-bar{flex:none;width:min(100%,calc(var(--workspace-width) + 80px));margin:0 auto;padding:18px 40px 22px;background:transparent;border-top:1px solid var(--workspace-line);gap:18px}.wz-submit-context{display:flex;align-items:center;gap:12px}.wz-submit-symbol{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--workspace-line);background:var(--surface);border-radius:50%;color:var(--accent)}.wz-submit-symbol svg{width:18px;height:18px}.wz-submit-context>span:last-child{display:flex;flex-direction:column;gap:5px}.wz-submit-context strong{font-size:13px;font-weight:500;color:var(--ink-700)}.wz-submit-context small{font-size:11px;color:var(--ink-500)}.wz-root>.ui-action-bar .ui-btn--primary{min-height:44px;min-width:200px;padding:0 23px;border-radius:var(--r-md);gap:12px;font-size:14px;box-shadow:none}.wz-root>.ui-action-bar .ui-btn--primary:disabled{opacity:.55;box-shadow:none}.wz-appearance-dialog .ui-dialog{width:1000px;max-width:100%;height:min(880px,calc(100dvh - 48px))}.wz-appearance-dialog .ui-dialog__body{flex:1;overflow:hidden}.wz-appearance-dialog .wz-character-panel,.wz-appearance-dialog .wz-stack{display:flex;flex-direction:column;flex:1;min-height:0}.wz-appearance-dialog .wz-source-picker{display:flex;flex:1;min-height:0;align-items:stretch}.wz-appearance-dialog .wz-source-picker__profiles{flex:1}.wz-appearance-dialog .wz-source-picker__assets{width:100%;min-height:0;overflow:auto}.wz-profile-toolbar{display:grid;gap:10px}.wz-appearance-dialog .wz-route-card{padding:8px 12px}.wz-appearance-dialog .wz-profile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:4px}.wz-appearance-dialog .wz-profile-card__thumb{height:clamp(88px,16dvh,132px)}.wz-appearance-dialog .wz-profile-card:before{content:none}@media(max-width:760px){.wz-appearance-dialog .wz-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.wz-appearance-dialog .wz-character-panel{animation:none}.wz-voice-dialog{display:flex;flex-direction:column;gap:20px;min-height:0}.wz-voice-dialog .wz-speaker-list{gap:10px}.wz-voice-dialog .wz-speaker-option{border-radius:14px;padding:8px;min-height:90px}.wz-voice-dialog .wz-speaker-option__text strong{font-size:15px}.wz-voice-dialog .wz-speaker-option__text small{white-space:normal;font-size:12px;line-height:1.6}.wz-voice-dialog .wz-speaker-select{min-width:0}.wz-saved-templates{display:grid;gap:12px}.wz-saved-templates>button{position:relative;text-align:left;padding:18px 40px 18px 18px;border:1px solid var(--workspace-line);background:var(--surface);border-radius:12px;cursor:pointer;font:inherit}.wz-saved-templates>button:hover{border-color:var(--accent-300);background:var(--accent-soft)}.wz-saved-templates strong{font-size:15px}.wz-saved-templates p{color:var(--ink-500);line-height:1.7;font-size:13px;margin:8px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.wz-saved-templates svg{width:16px;position:absolute;right:16px;top:20px}@media(min-width:1600px){.wz-root>.wz-layout{padding-top:28px;padding-bottom:36px}.wz-manuscript>.ui-content-section__head{padding:28px 30px 16px}.wz-script-area{padding:0 36px}}@media(max-width:1000px){.wz-root>.ui-page-toolbar{padding-inline:24px;gap:14px}.wz-root>.wz-layout{padding-inline:24px;gap:22px;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}.wz-root>.ui-action-bar{padding-inline:24px}.wz-stage{padding:22px}.wz-script-area{padding-inline:22px}.wz-manuscript>.ui-content-section__head{padding-inline:18px}.wz-casting h2{font-size:21px}.wz-casting p{max-width:220px;line-height:1.7}.wz-root .wz-selected-speaker{gap:8px;padding:12px}}@media(max-width:760px){.wz-root .wz-selected-speaker .ui-btn,.wz-stage-person .ui-btn,.wz-casting>.ui-btn{min-height:44px}.wz-root .sp-sample__toggle{min-width:44px}.wz-root>.ui-page-toolbar{min-height:64px;padding:10px 18px;gap:10px}.wz-root>.wz-layout{display:flex;flex-direction:column;padding:10px 16px 18px;gap:16px}.wz-root .wz-main{flex:none;min-height:0;gap:12px}.wz-manuscript{flex:none;min-height:340px;border-radius:var(--r-lg)}.wz-script-area .ui-textarea{min-height:185px;font-size:17px;line-height:1.8}.wz-manuscript>.ui-content-section__head{padding:15px 16px 6px}.wz-script-area{padding:0 20px}.wz-root .wz-script-metrics{gap:5px 12px;padding:12px 0;font-size:11px}.wz-writing-tools{padding:9px 10px;gap:0}.wz-script-sources .ui-btn{padding-inline:7px}.wz-script-sources .ui-btn svg{display:none}.wz-root .wz-side{flex:none;width:100%}.wz-stage{min-height:0;border-radius:var(--r-lg);padding:18px 20px}.wz-stage-heading>span:last-child{display:none}.wz-casting{display:grid;grid-template-columns:125px 1fr;column-gap:18px;text-align:left;padding:16px 0 0;align-items:center}.wz-casting-faces{grid-column:1;grid-row:1 / 4;height:132px;margin:0}.wz-casting-faces>button{width:48%;flex-shrink:0;border-width:2px;border-radius:8px}.wz-casting-faces>button:first-child{transform:rotate(-10deg) translate(24px)}.wz-casting-faces>button:nth-child(3){transform:rotate(10deg) translate(-24px)}.wz-casting-faces button>span{display:none}.wz-casting h2{grid-column:2;font-size:19px;line-height:1.5}.wz-casting p{grid-column:2;font-size:11px;margin:5px 0 12px}.wz-casting>.ui-btn{grid-column:2;height:38px;padding:0 12px;font-size:11px;gap:4px}.wz-casting>.ui-btn>svg:first-child{display:none}.wz-side.has-person .wz-stage{display:grid;grid-template-columns:78px 1fr;gap:0 18px}.wz-side.has-person .wz-stage-heading{grid-column:2;padding-bottom:7px}.wz-stage-portrait{grid-column:1;grid-row:1 / 3;height:124px;padding:0}.wz-stage-portrait img{width:100%;height:100%;border-radius:10px;object-fit:cover}.wz-stage-person{grid-column:2;display:block;padding:0}.wz-stage-person h2{font-size:18px}.wz-stage-person p{font-size:11px}.wz-stage-person .ui-btn{margin-top:10px;font-size:11px;padding:7px 12px}.wz-root>.ui-action-bar{padding:13px 18px;gap:12px;flex-wrap:nowrap;align-items:center}.wz-root>.ui-action-bar .ui-action-bar__context{flex:1}.wz-root>.ui-action-bar .ui-action-bar__actions{width:auto}.wz-submit-symbol{display:none}.wz-submit-context strong{font-size:12px}.wz-submit-context small{font-size:10px;max-width:170px;line-height:1.5}.wz-root>.ui-action-bar .ui-btn--primary{min-width:0;min-height:44px;padding:0 16px;font-size:12px;gap:7px}.wz-root>.ui-action-bar .ui-btn--primary>svg:first-child{display:none}.wz-document-name .ui-input{font-size:15px;height:32px}.wz-root .ui-page-toolbar__status{font-size:10px}.wz-voice-dialog .wz-speaker-list{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.wz-casting-faces>button{transition:none}}@media(min-width:761px)and (max-height:800px){.wz-root>.ui-page-toolbar{min-height:60px;padding-block:8px}.wz-root>.wz-layout{padding-block:6px 14px}.wz-root .wz-main{min-height:0;gap:12px}.wz-manuscript{min-height:0}.wz-manuscript>.ui-content-section__head{padding-block:12px 6px}.wz-script-area .ui-textarea{min-height:100px;padding-block:10px}.wz-root .wz-script-metrics{padding-block:10px}.wz-writing-tools{padding-block:7px}.wz-root .wz-selected-speaker,.wz-voice-empty{min-height:64px;padding-block:10px}.wz-stage{min-height:0;padding-block:18px}.wz-stage-portrait{padding-block:12px}.wz-stage-portrait img{position:absolute;top:12px;right:0;bottom:12px;left:0;margin:auto;height:calc(100% - 24px);width:100%}.wz-stage-person h2{font-size:19px}.wz-casting{min-height:0;padding-block:12px 0}.wz-casting-faces{flex:1;min-height:80px;max-height:180px;margin-bottom:12px}.wz-casting h2{font-size:21px}.wz-casting p{margin-block:6px 12px}.wz-casting>.ui-btn{flex:none;height:38px}.wz-root>.ui-action-bar{padding-block:12px}}.ui-dialog-backdrop.wz-voice-picker{align-items:center;padding:24px;overflow:hidden;overscroll-behavior:contain}.wz-voice-picker .ui-dialog{display:flex;flex-direction:column;width:840px;max-width:100%;height:min(640px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border-radius:var(--r-lg);overflow:hidden}.wz-voice-picker .studio-dialog-frame__head{flex:none;padding:25px 28px 0;align-items:center}.wz-voice-picker .studio-dialog-frame__head h2{font-size:21px;letter-spacing:-.02em}.wz-voice-picker .ui-dialog__body{flex:1;min-height:0;overflow:hidden;padding:20px 28px 24px}.wz-voice-dialog{flex:1;height:100%;gap:18px}.wz-voice-dialog .wz-speaker-list{align-content:start;padding:2px}.wz-voice-dialog .wz-speaker-option{padding:14px 12px;min-height:92px}.wz-voice-dialog .wz-speaker-option__text{padding-right:0}.wz-voice-dialog .wz-speaker-option__text small{margin-top:4px}.wz-voice-dialog .wz-speaker-option__icon{border-radius:50%;width:36px;height:36px}.wz-voice-dialog .wz-profile-card__flags:empty{display:none}.wz-root input,.wz-root textarea,.wz-root button,.wz-voice-dialog button{font-family:var(--font-sans)}@media(max-width:760px){.ui-dialog-backdrop.wz-voice-picker{padding:12px}.wz-voice-picker .ui-dialog{height:min(650px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:var(--r-lg)}.wz-voice-picker .studio-dialog-frame__head{padding:20px 20px 0}.wz-voice-picker .ui-dialog__body{padding:16px 18px 20px}.wz-voice-picker .studio-dialog-frame__head h2{font-size:19px}.wz-voice-dialog .wz-speaker-option{min-height:88px}}@media(min-width:761px)and (max-height:620px){.wz-appearance-dialog .wz-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wz-appearance-dialog .wz-profile-card{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:12px}.wz-appearance-dialog .wz-profile-card__thumb{height:108px}}.dr-stack{display:flex;flex-direction:column;gap:var(--sp-4)}.dr-list{display:flex;flex-direction:column;gap:var(--sp-3)}.dr-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:var(--sp-3) var(--sp-4);align-items:start;padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-lg)}.dr-row__icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:var(--accent-600);background:var(--accent-soft);border-radius:var(--r-md);flex:none}.dr-row__main{display:flex;flex-direction:column;gap:var(--sp-2);min-width:0}.dr-row__title{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center;color:var(--ink-900);overflow-wrap:anywhere}.dr-row__summary{margin:0;font-size:var(--text-sm);color:var(--ink-500);overflow-wrap:anywhere;white-space:pre-wrap}.dr-row__meta{font-size:var(--text-xs);color:var(--ink-400)}.dr-row__actions{display:flex;gap:var(--sp-2);align-items:center;flex:none}.dr-alert__actions{margin-top:var(--sp-2)}@media(max-width:640px){.dr-row{grid-template-columns:minmax(0,1fr)}.dr-row__icon{display:none}.dr-row__actions{justify-content:flex-end}}.dr-library{display:flex;flex-direction:column;gap:28px}.dr-resume{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:26px;padding:28px 32px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--workspace-stage)}.dr-resume__paper{width:75px;height:98px;background:#fff;border-radius:8px;padding:16px 12px;transform:rotate(-6deg);box-shadow:4px 8px 20px #37325212;color:var(--accent-500)}.dr-resume__paper i{display:block;height:3px;border-radius:2px;background:var(--workspace-line);margin-top:10px}.dr-resume__paper i:last-child{width:60%}.dr-source{display:flex;align-items:center;gap:7px;color:var(--ink-500);font-size:var(--text-xs)}.dr-resume h2{margin:10px 0;font-size:23px;font-weight:600}.dr-resume__copy{min-width:0}.dr-resume__copy>p{margin:0 0 12px;color:var(--ink-600);font-size:15px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.dr-resume__note{color:var(--ink-500);font-size:var(--text-xs)}.dr-resume__actions{display:flex;flex-direction:column;gap:10px}.dr-resume__actions .ui-btn{border-radius:var(--r-md)}.dr-library__heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}.dr-library__heading h2{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;margin:0}.dr-library__heading h2 span{font-size:12px;font-weight:400;color:var(--ink-500)}.dr-library__heading p{font-size:12px;color:var(--ink-500);margin:0}.dr-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dr-document{display:flex;flex-direction:column;gap:17px;padding:24px;min-height:230px;min-width:0;text-align:left;font:inherit;background:var(--surface);border:1px solid var(--workspace-line);border-radius:var(--r-lg);color:var(--ink-700);cursor:pointer;transition:border-color var(--dur),box-shadow var(--dur)}.dr-document:hover{border-color:var(--accent-200);box-shadow:var(--shadow-sm)}.dr-document:focus-visible{outline:2px solid var(--accent-500);outline-offset:3px}.dr-document:disabled{opacity:.6;cursor:wait}.dr-document__top{display:flex;align-items:center;gap:8px;color:var(--ink-500);font-size:12px}.dr-document>strong{font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.dr-document__excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:var(--ink-500);font-size:14px;line-height:1.9}.dr-document__foot{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:14px;margin-top:auto;border-top:1px solid var(--workspace-line);font-size:12px;color:var(--ink-500)}.dr-document__foot>span:last-child{display:flex;gap:5px;align-items:center;color:var(--accent-600);white-space:nowrap}@media(max-width:1250px){.dr-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.dr-resume{grid-template-columns:minmax(0,1fr) auto}.dr-resume__paper{display:none}}@media(max-width:680px){.dr-gallery{grid-template-columns:minmax(0,1fr)}.dr-resume{grid-template-columns:minmax(0,1fr);padding:22px;gap:18px}.dr-resume__actions{flex-direction:row;flex-wrap:wrap}.dr-resume h2{font-size:20px}}@media(min-width:761px){.dr-library{gap:16px}.dr-resume{padding:16px 20px;gap:20px}.dr-resume h2{margin:6px 0;font-size:18px}.dr-resume__copy>p{-webkit-line-clamp:1;margin-bottom:6px;font-size:14px}.dr-library__heading{margin-bottom:12px}.dr-document{min-height:185px;padding:16px;gap:10px;border-radius:14px}.dr-document>strong{font-size:16px}.dr-document__excerpt{-webkit-line-clamp:2}}.av-view{display:flex;flex-direction:column;gap:var(--sp-6);min-width:0}.av-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:250px;padding:var(--sp-8);overflow:hidden;border:1px solid var(--line);border-radius:var(--r-xl);background:linear-gradient(110deg,var(--surface-sunken),var(--paper) 62%,var(--accent-50))}.av-intro__copy{position:relative;z-index:1;align-self:center;max-width:550px}.av-intro__eyebrow{display:block;margin-bottom:var(--sp-3);color:var(--accent-700);font-size:var(--text-xs);font-weight:600;letter-spacing:.1em}.av-intro h2{margin:0;color:var(--ink-900);font-size:clamp(24px,2.4vw,32px);font-weight:600;line-height:1.45;text-wrap:balance}.av-intro p{max-width:440px;margin:var(--sp-3) 0 0;color:var(--ink-600);font-size:var(--text-md);line-height:1.8}.av-intro__actions{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin-top:var(--sp-5)}.av-intro__actions .ui-btn{min-height:42px;padding-inline:var(--sp-5)}.av-intro__note{display:block;margin-top:var(--sp-3);color:var(--ink-500);font-size:var(--text-xs);line-height:1.7}.av-intro__visual{position:relative;min-height:200px;align-self:stretch}.av-intro__scene{position:absolute;margin:0;width:160px;height:188px;padding:6px;overflow:hidden;border:1px solid var(--line-strong);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-md)}.av-intro__scene img{display:block;width:100%;height:142px;border-radius:var(--r-sm);object-fit:cover}.av-intro__scene figcaption{padding:8px 4px;color:var(--ink-600);font-size:var(--text-xs)}.av-intro__scene--back{top:4px;right:8px;transform:rotate(8deg)}.av-intro__scene--front{top:12px;right:142px;transform:rotate(-7deg)}.av-intro__visual-note{position:absolute;right:22px;bottom:-15px;color:var(--ink-500);font-size:var(--text-xs)}.av-toolbar{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap}.av-toolbar__heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--sp-3);margin-right:auto}.av-toolbar__heading h3{margin:0;color:var(--ink-900);font-size:var(--text-lg);font-weight:600}.av-toolbar__heading span{color:var(--ink-500);font-size:var(--text-xs)}.av-toolbar .ui-search{flex:0 1 300px}.av-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-5)}.av-card{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);overflow:hidden;cursor:pointer;transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease)}.av-card__favorite{position:absolute;top:var(--sp-3);right:var(--sp-3);z-index:1;color:var(--warning);background:var(--glass);border:1px solid var(--glass-line);border-radius:var(--r-pill);box-shadow:var(--shadow-sm)}.av-card__description{margin:8px 0 0;color:var(--ink-500);font-size:var(--text-sm);line-height:1.7}.av-intro__scene img{object-position:center 25%}.av-toolbar .studio-segmented{width:auto}.av-intro{min-height:220px;padding:var(--sp-6)}.av-card__favorite .ui-icon-btn,.av-card__recommend .ui-icon-btn{width:36px;height:36px;border-radius:var(--r-pill)}.av-card:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.av-card--merged,.av-card--skeleton{cursor:default}.av-card--merged:hover,.av-card--skeleton:hover{border-color:var(--line);box-shadow:none;transform:none}.av-card--merged .av-card__thumb,.av-card--disabled .av-card__thumb{opacity:.55}.av-card__thumb{position:relative;aspect-ratio:4 / 5;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,var(--surface),var(--paper));border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink-300)}.av-card__thumb .lucide{width:34px;height:34px}.av-card__thumb img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:contain}.av-card__placeholder{display:grid;justify-items:center;gap:var(--sp-3);color:var(--ink-400);font-size:var(--text-xs)}.av-card__body{display:flex;flex-direction:column;gap:var(--sp-2);padding:var(--sp-4) var(--sp-4) var(--sp-3)}.av-card__title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.av-card__name{font-size:var(--text-lg);font-weight:600;color:var(--ink-900);word-break:break-word}.av-card__sub{margin:0;font-size:var(--text-xs);color:var(--ink-500);word-break:break-word}.av-card__meta{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap;color:var(--ink-500);font-size:var(--text-xs)}.av-card__visibility{padding-left:var(--sp-2);border-left:1px solid var(--line-strong)}.av-card__count{font-size:var(--text-xs);color:var(--ink-500)}.av-card__foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--sp-2);margin-top:auto;padding:var(--sp-3) var(--sp-4);border-top:1px solid var(--line)}.av-card__cta{display:inline-flex;align-items:center;gap:2px;font-size:var(--text-sm);font-weight:500;color:var(--accent-600)}.av-card__cta .lucide{width:15px;height:15px;transition:transform var(--dur) var(--ease)}.av-empty-note{display:flex;align-items:center;gap:var(--sp-3);padding:0 var(--sp-3);color:var(--ink-500);font-size:var(--text-sm);line-height:1.7}.av-empty-note>svg{width:18px;height:18px;flex-shrink:0}.av-empty-note>span{flex:1}@media(hover:hover)and (pointer:fine){.av-card:hover{border-color:var(--ink-300);box-shadow:var(--shadow-raise);transform:translateY(-3px)}.av-card:hover .av-card__cta .lucide{transform:translate(3px)}.av-card--merged:hover,.av-card--skeleton:hover{border-color:var(--line);box-shadow:none;transform:none}}@media(max-width:1100px){.av-intro{grid-template-columns:minmax(0,1fr) 265px;padding:var(--sp-6)}.av-intro__scene{width:142px;height:170px}.av-intro__scene img{height:124px}.av-intro__scene--front{right:105px;top:25px}.av-intro__scene--back{top:13px}.av-intro__visual-note{right:8px;bottom:-5px}.av-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.av-view{gap:var(--sp-5)}.av-intro{grid-template-columns:1fr;gap:var(--sp-5);padding:var(--sp-5)}.av-intro__visual{width:265px;min-height:206px;justify-self:center}.av-intro:not(.av-intro--empty) .av-intro__visual{display:none}.av-intro__actions .ui-btn{flex:1}.av-toolbar__heading{flex:1 0 calc(100% - 150px)}.av-toolbar .ui-search{order:2;flex:1 0 100%}.av-grid{gap:var(--sp-3)}.av-card__body,.av-card__foot{padding:var(--sp-3)}.av-card__favorite{top:var(--sp-2);right:var(--sp-2)}.av-card__name{font-size:var(--text-md)}.av-card__count{line-height:1.65}}@media(max-width:400px){.av-grid{grid-template-columns:1fr}.av-card__thumb{aspect-ratio:4 / 5}}@media(pointer:coarse){.av-card__favorite .ui-icon-btn,.av-card__recommend .ui-icon-btn{width:42px;height:42px}}@media(prefers-reduced-motion:reduce){.av-card,.av-card__cta .lucide{transition:none}.av-card:hover,.av-card:hover .av-card__cta .lucide{transform:none}}.av-file{font-size:var(--text-sm);color:var(--ink-700)}.av-preview{position:relative;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:var(--surface-sunken)}.av-preview img{display:block;width:100%;max-height:220px;object-fit:contain}.av-add-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap}.av-preview-grid{flex:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:var(--sp-2);max-height:min(240px,32dvh);overflow:auto}.av-preview-grid .av-preview img{aspect-ratio:1;height:auto}.av-preview-grid .av-preview>button{position:absolute;top:5px;right:5px;margin:0;min-height:28px;padding-inline:8px;background:var(--color-surface);box-shadow:0 2px 8px #00000014}.av-portrait-upload .ui-dialog__body{gap:10px;padding-block:16px}.av-portrait-upload .studio-file-picker[data-filled=true]{padding:4px}.av-upload-reselect{width:100%;min-height:34px;border:0;border-radius:var(--r-md);background:transparent;color:var(--ink-700);font:inherit;cursor:pointer}.av-upload-reselect:focus-visible{outline:2px solid var(--color-focus);outline-offset:1px}@media(max-height:720px){.av-portrait-upload .av-preview-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));max-height:112px}.av-portrait-upload .av-preview img{height:80px}}.av-preview figcaption{padding:6px var(--sp-2);overflow:hidden;color:var(--ink-600);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.av-card__recommend{position:absolute;top:var(--sp-3);right:62px;z-index:2;color:var(--accent-600);background:var(--glass);border:1px solid var(--glass-line);border-radius:var(--r-pill);box-shadow:var(--shadow-sm)}.av-card__favorite .ui-icon-btn:after,.av-card__recommend .ui-icon-btn:after{top:calc(100% + 6px);bottom:auto}@media(max-width:700px){.av-card__recommend{top:var(--sp-2)}}.av-view{gap:14px}.av-view>.av-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 16px}.av-view>.av-grid .av-card{background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none}.av-view>.av-grid .av-card:hover{transform:none}.av-view>.av-grid .av-card__thumb{height:clamp(140px,21dvh,210px);aspect-ratio:auto;border-radius:12px;overflow:hidden;background:var(--workspace-stage)}.av-view>.av-grid .av-card__thumb img{object-fit:contain;transition:transform .18s ease}.av-view>.av-grid .av-card:hover .av-card__thumb img{transform:scale(1.025)}.av-view>.av-grid .av-card__body{padding:10px 2px 6px;gap:4px}.av-view>.av-grid .av-card__name{font-size:15px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.av-view>.av-grid .av-card__meta{margin-top:0;font-size:12px}.av-view>.av-grid .av-card__description{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0 0;font-size:13px}.av-view>.av-grid .av-card__foot{padding:4px 2px;border:0;background:transparent;flex-wrap:wrap;gap:8px}.av-view>.av-grid .av-card__count{font-size:12px}.av-view>.av-grid .av-card__visibility{display:none}.av-toolbar .ui-search{flex:1 1 250px;max-width:400px}.av-toolbar__count{margin-right:auto;color:var(--ink-500);font-size:12px}.av-view .av-toolbar .ui-search{order:-1}@media(max-width:1250px){.av-view>.av-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}@media(max-width:760px){.av-view>.av-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.av-view>.av-grid .av-card__thumb{border-radius:16px}.av-view>.av-grid .av-card__description{display:none}.av-view>.av-grid .av-card__name{font-size:17px}.av-toolbar .ui-search{max-width:none}}@media(prefers-reduced-motion:reduce){.av-view>.av-grid .av-card__thumb img{transition:none;transform:none!important}}._modal_1ygfa_1{top:0;right:0;bottom:0;left:0;width:100dvw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:transparent}._modal_1ygfa_1[open]{display:block;animation:_viewerEnter_1ygfa_1 var(--motion-normal, .2s) var(--motion-ease, ease-out) both}._modal_1ygfa_1[open][data-exiting=true]{animation:_viewerExit_1ygfa_1 var(--motion-fast, .14s) var(--motion-ease, ease-in) both}._modal_1ygfa_1::backdrop{background:#080a07e0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}._stage_1ygfa_47{position:relative;display:grid;width:100%;height:100%;min-width:0;min-height:0;grid-template-areas:"header" "media" "strip" "controls";grid-template-rows:auto minmax(0,1fr) auto auto;overflow:hidden;background:#121411;color:#fff}._topbar_1ygfa_83{z-index:3;display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px 10px 20px;border-bottom:1px solid rgb(255 255 255 / 9%);background:#171916;grid-area:header}._titleBlock_1ygfa_109{min-width:0}._topbar_1ygfa_83 h2{max-width:min(720px,68vw);margin:2px 0 0;overflow:hidden;font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}._topbar_1ygfa_83 .eyebrow{color:#aeb4a8}._iconButton_1ygfa_145{display:inline-grid;width:38px;height:38px;flex:none;place-items:center;padding:0;border:1px solid rgb(255 255 255 / 14%);border-radius:999px;background:#ffffff12;color:#fff;cursor:pointer}._iconButton_1ygfa_145:hover{background:#ffffff29}._iconButton_1ygfa_145:focus-visible,._edgeNav_1ygfa_183:focus-visible,._filmstrip_1ygfa_185 button:focus-visible,._scaleReadout_1ygfa_187:focus-visible,._segmented_1ygfa_189 button:focus-visible{outline:2px solid #d9ef77;outline-offset:2px}._iconButton_1ygfa_145:disabled{cursor:not-allowed;opacity:.35}._viewport_1ygfa_209{position:relative;min-width:0;min-height:0;overflow:auto;background:radial-gradient(circle at 50% 42%,rgb(255 255 255 / 5%),transparent 42%),#0e100e;grid-area:media;overscroll-behavior:contain}._viewport_1ygfa_209[data-pannable=true]{cursor:grab;touch-action:none}._viewport_1ygfa_209[data-pannable=true]:active{cursor:grabbing}._imageStage_1ygfa_251{position:relative;display:grid;min-width:100%;min-height:100%;box-sizing:border-box;padding:clamp(18px,3vw,34px) clamp(62px,6vw,88px);place-items:center}._imageStage_1ygfa_251[data-mode=fit]{position:absolute;inset:clamp(18px,3vw,34px) clamp(62px,6vw,88px);width:auto;height:auto;min-width:0;min-height:0;padding:0}._imageStage_1ygfa_251[data-mode=scaled]{width:max-content;height:max-content}._imageStage_1ygfa_251 img{display:block;flex:none;border-radius:4px;background:#20231f;box-shadow:0 14px 44px #00000047;opacity:1;transition:opacity .12s ease;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}._imageStage_1ygfa_251 img[data-ready=false]{opacity:0}._imageStage_1ygfa_251[data-mode=fit] img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain}._imageStage_1ygfa_251[data-mode=scaled] img{max-width:none;max-height:none;object-fit:fill}._imageStatus_1ygfa_365{--color-text: var(--viewer-ink);--color-text-muted: var(--viewer-muted);--color-border: var(--viewer-line);--color-danger: var(--viewer-ink);position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;justify-items:center;gap:10px;color:#cbd0c5;font-size:13px;pointer-events:none}._loadingMark_1ygfa_399{width:24px;height:24px;border:2px solid rgb(255 255 255 / 16%);border-top-color:#d9ef77;border-radius:999px;animation:_viewer-spin_1ygfa_1 .7s linear infinite}@keyframes _viewer-spin_1ygfa_1{to{transform:rotate(360deg)}}._errorCard_1ygfa_425{display:grid;max-width:min(360px,calc(100% - 40px));justify-items:center;gap:7px;padding:20px;border:1px solid rgb(255 255 255 / 12%);border-radius:14px;background:#1a1d19;box-shadow:0 18px 50px #00000047;color:#fff;text-align:center;pointer-events:auto}._errorCard_1ygfa_425 span{color:#aeb4a8;font-size:12px}._errorCard_1ygfa_425 button{min-height:36px;margin-top:5px;padding:0 14px;border:1px solid rgb(255 255 255 / 18%);border-radius:999px;background:#fff;color:#171915;cursor:pointer;font:inherit;font-size:12px;font-weight:700}._edgeNav_1ygfa_183{position:absolute;z-index:4;top:50%;display:grid;width:44px;height:44px;place-items:center;padding:0;transform:translateY(-50%);border:1px solid rgb(255 255 255 / 14%);border-radius:999px;background:#171916c2;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}._edgeNav_1ygfa_183:hover{background:#171916f5}._edgePrev_1ygfa_537{left:16px}._edgeNext_1ygfa_545{right:16px}._filmstrip_1ygfa_185{display:flex;min-width:0;justify-content:center;gap:8px;padding:8px 16px;overflow-x:auto;border-top:1px solid rgb(255 255 255 / 9%);background:#151714;grid-area:strip;scrollbar-width:thin}._filmstrip_1ygfa_185 button{position:relative;display:grid;width:58px;height:50px;flex:0 0 58px;padding:3px;overflow:hidden;border:1px solid rgb(255 255 255 / 13%);border-radius:8px;background:#232620;cursor:pointer;place-items:center}._filmstrip_1ygfa_185 button[aria-pressed=true]{border-color:#d9ef77;box-shadow:0 0 0 1px #d9ef77 inset}._filmstrip_1ygfa_185 img{width:100%;height:100%;border-radius:5px;object-fit:cover}._filmstrip_1ygfa_185 span{position:absolute;right:3px;bottom:3px;display:grid;min-width:18px;height:18px;padding:0 3px;border-radius:999px;background:#0a0c09c2;color:#fff;font-size:var(--text-xs, 12px);place-items:center}._controlbar_1ygfa_663{z-index:3;display:flex;min-width:0;align-items:center;justify-content:center;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgb(255 255 255 / 9%);background:#171916;grid-area:controls}._zoomTools_1ygfa_689{display:flex;min-width:0;align-items:center;gap:5px}._scaleReadout_1ygfa_187{min-width:58px;min-height:34px;padding:0 6px;border:0;border-radius:8px;background:transparent;color:#e6e9e0;cursor:pointer;font:inherit;font-size:var(--text-xs, 12px);font-variant-numeric:tabular-nums;text-align:center}._scaleReadout_1ygfa_187:disabled{color:#aeb4a8;cursor:default}._segmented_1ygfa_189{display:flex;margin-left:4px;padding:2px;border-radius:999px;background:#ffffff12}._segmented_1ygfa_189 button{min-height:30px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:#c9cec3;cursor:pointer;font:inherit;font-size:var(--text-xs, 12px);font-weight:600}._segmented_1ygfa_189 button[aria-pressed=true]{background:#fff;color:#171915}._segmented_1ygfa_189 button:disabled{cursor:not-allowed;opacity:.4}._actions_1ygfa_805{display:flex;min-width:0;align-items:center;gap:6px;padding-left:12px;border-left:1px solid rgb(255 255 255 / 12%)}._actions_1ygfa_805 button,._actions_1ygfa_805 a{min-height:34px;padding:0 12px;border:1px solid rgb(255 255 255 / 16%);border-radius:999px;background:#ffffff14;color:#fff;cursor:pointer;font:inherit;font-size:var(--text-xs, 12px)}._actions_1ygfa_805 button:hover,._actions_1ygfa_805 a:hover{background:#ffffff2e}._actions_1ygfa_805 button:disabled{cursor:not-allowed;opacity:.45}@media(max-width:640px){._topbar_1ygfa_83{min-height:56px;padding-inline:12px}._topbar_1ygfa_83 h2{max-width:72vw}._imageStage_1ygfa_251{padding:14px 48px}._imageStage_1ygfa_251[data-mode=fit]{top:14px;right:48px;bottom:14px;left:48px;padding:0}._edgeNav_1ygfa_183{width:38px;height:38px}._edgePrev_1ygfa_537{left:6px}._edgeNext_1ygfa_545{right:6px}._filmstrip_1ygfa_185{justify-content:flex-start}._controlbar_1ygfa_663{flex-wrap:wrap;gap:8px;padding-inline:10px}._actions_1ygfa_805{width:100%;justify-content:center;padding-top:8px;padding-left:0;border-top:1px solid rgb(255 255 255 / 12%);border-left:0}}@media(prefers-reduced-motion:reduce){._loadingMark_1ygfa_399{animation-duration:1.4s}}._stage_1ygfa_47{--viewer-bg: #eceee9;--viewer-panel: #fff;--viewer-ink: #343a2d;--viewer-muted: #727b64;--viewer-line: #dde2d5;--viewer-hover: #e5eadb;--viewer-active: #626f45;background:var(--viewer-bg);color:var(--viewer-ink)}._stage_1ygfa_47[data-tone=dark]{--viewer-bg: #191c18;--viewer-panel: #292e25;--viewer-ink: #eef1e8;--viewer-muted: #bbc4ad;--viewer-line: #424a38;--viewer-hover: #38402e;--viewer-active: #c3d39c}._modal_1ygfa_1::backdrop{background:#1b211bd9;-webkit-backdrop-filter:none;backdrop-filter:none}._topbar_1ygfa_83{min-height:52px;padding:10px 18px;border:0;background:none}._titleBlock_1ygfa_109{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}._topbar_1ygfa_83 h2{margin:0;font-size:14px;font-weight:550}._topbar_1ygfa_83 .eyebrow{color:var(--viewer-muted);font-size:12px}._topbarActions_1ygfa_993{display:flex;align-items:center;gap:8px}._toneButton_1ygfa_993{min-height:34px;padding:6px 10px;border:0;border-radius:8px;background:var(--viewer-panel);color:var(--viewer-muted);cursor:pointer;font:inherit;font-size:12px}._iconButton_1ygfa_145{width:34px;height:34px;border:0;border-radius:8px;background:var(--viewer-panel);color:var(--viewer-ink)}._iconButton_1ygfa_145:hover,._toneButton_1ygfa_993:hover{background:var(--viewer-hover)}._viewport_1ygfa_209{background:none}._imageStage_1ygfa_251{padding:12px 64px}._imageStage_1ygfa_251[data-mode=fit]{top:12px;right:64px;bottom:12px;left:64px}._imageStage_1ygfa_251 img{border-radius:0;background:transparent;box-shadow:none}._edgeNav_1ygfa_183{width:38px;height:44px;border:0;border-radius:9px;background:var(--viewer-panel);color:var(--viewer-ink);-webkit-backdrop-filter:none;backdrop-filter:none}._edgeNav_1ygfa_183:hover{background:var(--viewer-hover)}._filmstrip_1ygfa_185{gap:7px;padding:5px 16px;border:0;background:none}._filmstrip_1ygfa_185 button{width:48px;height:48px;flex-basis:48px;padding:3px;border:1px solid var(--viewer-line);border-radius:7px;background:var(--viewer-panel)}._filmstrip_1ygfa_185 button[aria-pressed=true]{border-color:var(--viewer-active);box-shadow:0 0 0 1px var(--viewer-active) inset}._filmstrip_1ygfa_185 img{object-fit:contain;border-radius:2px}._controlbar_1ygfa_663{padding:8px 16px 14px;border:0;background:none}._zoomTools_1ygfa_689{gap:3px;padding:4px;border:1px solid var(--viewer-line);border-radius:10px;background:var(--viewer-panel)}._zoomTools_1ygfa_689 ._iconButton_1ygfa_145{width:29px;height:29px}._scaleReadout_1ygfa_187{min-width:48px;color:var(--viewer-muted)}._scaleReadout_1ygfa_187[hidden]{display:none}._segmented_1ygfa_189{padding:0;border-radius:6px;background:none}._segmented_1ygfa_189 button{min-height:29px;padding:0 10px;color:var(--viewer-muted);font-weight:500}._segmented_1ygfa_189 button[aria-pressed=true]{border-radius:5px;background:var(--viewer-hover);color:var(--viewer-ink)}._actions_1ygfa_805{gap:8px;padding:0;border:0}._actions_1ygfa_805 button,._actions_1ygfa_805 a{padding:9px 14px;border:1px solid var(--viewer-line);border-radius:8px;background:var(--viewer-panel);color:var(--viewer-ink)}._actions_1ygfa_805 button:hover,._actions_1ygfa_805 a:hover{background:var(--viewer-hover)}._imageStatus_1ygfa_365{color:var(--viewer-muted)}._errorCard_1ygfa_425{border-color:var(--viewer-line);background:var(--viewer-panel);color:var(--viewer-ink);box-shadow:0 15px 45px #00000015}._errorCard_1ygfa_425 span{color:var(--viewer-muted)}._errorCard_1ygfa_425 button{border-color:var(--viewer-line);background:var(--viewer-hover);color:var(--viewer-ink)}._loadingMark_1ygfa_399{border-color:var(--viewer-line);border-top-color:var(--viewer-active)}._toneButton_1ygfa_993:focus-visible,._iconButton_1ygfa_145:focus-visible,._edgeNav_1ygfa_183:focus-visible,._filmstrip_1ygfa_185 button:focus-visible,._scaleReadout_1ygfa_187:focus-visible,._segmented_1ygfa_189 button:focus-visible{outline-color:var(--viewer-active)}._filmstrip_1ygfa_185{justify-content:safe center}._iconButton_1ygfa_145,._toneButton_1ygfa_993,._edgeNav_1ygfa_183,._filmstrip_1ygfa_185 button,._segmented_1ygfa_189 button{transition:background-color var(--motion-fast, .14s) var(--motion-ease, ease-out),border-color var(--motion-fast, .14s) var(--motion-ease, ease-out),color var(--motion-fast, .14s) var(--motion-ease, ease-out)}._stage_1ygfa_47{transition:background-color var(--motion-normal, .2s) var(--motion-ease, ease-out),color var(--motion-normal, .2s) var(--motion-ease, ease-out)}@keyframes _viewerEnter_1ygfa_1{0%{opacity:0}to{opacity:1}}@keyframes _viewerExit_1ygfa_1{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){._modal_1ygfa_1[open],._modal_1ygfa_1[open][data-exiting=true]{animation:none}._stage_1ygfa_47,._imageStage_1ygfa_251 img,._iconButton_1ygfa_145,._toneButton_1ygfa_993,._edgeNav_1ygfa_183,._filmstrip_1ygfa_185 button,._segmented_1ygfa_189 button{transition:none}}._viewport_1ygfa_209{overflow:hidden}._imageStage_1ygfa_251,._imageStage_1ygfa_251[data-mode=fit],._imageStage_1ygfa_251[data-mode=scaled]{position:relative;inset:auto;width:max-content;height:max-content;min-width:100%;min-height:100%;padding:12px 64px}._imageStage_1ygfa_251 img,._imageStage_1ygfa_251[data-mode=fit] img,._imageStage_1ygfa_251[data-mode=scaled] img{position:static;inset:auto;width:auto;height:auto;max-width:none;max-height:none;object-fit:contain}._stage_1ygfa_47{--viewer-bg: #f0f0ec;--viewer-ink: #292d25;--viewer-muted: #74786e;--viewer-line: #dedfd8}._topbar_1ygfa_83{min-height:64px;padding:10px 24px}._titleBlock_1ygfa_109{display:grid;gap:3px}._topbar_1ygfa_83 h2{font-weight:600}._topbar_1ygfa_83 .eyebrow{font-size:11px}._toneButton_1ygfa_993{background:transparent}._filmstrip_1ygfa_185{position:relative;padding:7px 20px}._filmstrip_1ygfa_185 button{width:52px;height:52px;flex-basis:52px}._filmstrip_1ygfa_185 span{min-width:16px;height:16px;border-radius:4px;font-size:10px}._controlbar_1ygfa_663{display:grid;grid-template-columns:1fr auto 1fr;min-height:68px;gap:16px;padding:10px 24px calc(14px + env(safe-area-inset-bottom))}._zoomTools_1ygfa_689{grid-column:2}._scaleReadout_1ygfa_187{width:54px;min-width:54px}._scaleReadout_1ygfa_187:disabled{color:var(--viewer-muted)}._segmented_1ygfa_189{gap:2px;margin-left:5px;padding-left:7px;border-left:1px solid var(--viewer-line);border-radius:0}._segmented_1ygfa_189 button{white-space:nowrap}._actions_1ygfa_805{grid-column:3;justify-self:end}._actions_1ygfa_805 button,._actions_1ygfa_805 a{min-height:40px;padding-inline:16px;font-size:13px;white-space:nowrap}._actions_1ygfa_805>button{border-color:var(--viewer-ink);background:var(--viewer-ink);color:var(--viewer-panel)}._actions_1ygfa_805>button:hover{background:var(--viewer-ink);opacity:.85}._actions_1ygfa_805 button:focus-visible{outline:2px solid var(--viewer-active);outline-offset:3px}@media(max-width:760px){._topbar_1ygfa_83{min-height:60px;padding-inline:12px;gap:12px}._imageStage_1ygfa_251,._imageStage_1ygfa_251[data-mode=fit],._imageStage_1ygfa_251[data-mode=scaled]{padding:10px 48px}._controlbar_1ygfa_663{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding-inline:10px}._actions_1ygfa_805{width:auto;justify-content:center;padding:0;border:0}._segmented_1ygfa_189 button{padding-inline:8px}}@media(prefers-reduced-motion:reduce){._loadingMark_1ygfa_399{animation:none}}.image-canvas{width:100%;height:100%;min-width:0;min-height:0;display:flex;flex-direction:column}.image-canvas__images{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;height:auto;gap:1px;background:var(--surface-sunken)}.image-canvas__images--multiple{grid-template-columns:repeat(2,minmax(0,1fr))}.image-canvas__pane{position:relative;display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--surface-sunken);overflow:hidden}.image-canvas__label{position:absolute;left:13px;top:12px;z-index:1;max-width:calc(100% - 26px);padding:4px 8px;border-radius:5px;background:var(--glass);color:var(--ink-500);box-shadow:var(--shadow-sm);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.image-canvas__viewport{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;position:relative;overflow:hidden;cursor:zoom-in;touch-action:pan-y}.image-canvas__viewport.is-zoomed{cursor:grab;touch-action:none}.image-canvas__viewport.is-moving{cursor:grabbing}.image-canvas__viewport img{display:block;flex:0 0 auto;max-width:none;max-height:none;transform-origin:center;-webkit-user-select:none;user-select:none;pointer-events:none}.image-canvas__loading{position:absolute;color:var(--ink-500);font-size:12px}.image-canvas__tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 11px;min-height:42px;background:var(--surface-sunken);border-top:1px solid var(--line)}.image-canvas__hint{color:var(--ink-500);font-size:12px}.image-canvas__tools>div{display:flex;align-items:center;gap:3px}.image-canvas__tools .ui-icon-btn{width:27px;height:27px}.image-canvas__tools output{min-width:41px;text-align:center;color:var(--ink-500);font-size:11px;font-variant-numeric:tabular-nums}.image-canvas__tools svg{width:15px;height:15px}.image-canvas__candidate{display:flex;flex-direction:column;justify-content:center;position:relative;align-items:center;border:none;padding:14px;background:var(--surface-sunken);min-width:0;min-height:0;cursor:zoom-in}.image-canvas__candidate img{width:100%;height:100%;object-fit:contain;min-height:0}.image-canvas__candidate span{position:absolute;bottom:12px;padding:4px 9px;background:var(--surface);border-radius:4px;font-size:11px;color:var(--ink-500)}.ui-dialog-backdrop.image-studio-fullscreen{padding:18px}.image-studio-fullscreen .ui-dialog{display:flex;flex-direction:column;width:100%;max-width:none;max-height:calc(100dvh - 36px);height:calc(100dvh - 36px);background:var(--surface-sunken)}.image-studio-fullscreen .ui-dialog__body{padding:0;overflow:hidden;flex:1;min-height:0;display:flex}.image-studio-fullscreen .image-canvas{display:flex;flex-direction:column;flex:1}.image-studio-fullscreen .image-canvas__images{height:auto;flex:1;min-height:0}.image-studio-fullscreen .studio-dialog-frame__head{padding:12px 18px}.image-studio-fullscreen .studio-dialog-frame__head h2{font-size:14px}.image-studio{--studio-line: var(--line);display:flex;flex-direction:column;position:relative;gap:12px;height:100%;min-height:0;overflow:hidden;padding:8px 12px 12px;color:var(--ink-900)}.image-studio button,.image-studio select{font:inherit}.image-studio button:not(:disabled){cursor:pointer}.image-studio button:disabled{cursor:not-allowed;opacity:.55}.image-studio button:focus-visible,.image-studio select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.image-studio h2{margin:0;font-size:14px;font-weight:650}.image-studio h2 span{margin-left:6px;color:var(--ink-500);font-size:12px;font-weight:400}.image-studio__heading{display:flex;align-items:center;gap:16px;flex:0 0 44px;padding-bottom:10px;border-bottom:1px solid var(--line)}.image-studio__heading>span{color:var(--ink-500);font-size:13px}.image-studio__back,.image-studio__text-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:3px 0;background:none;border:none;color:var(--ink-500);font-size:12px!important;white-space:nowrap}.image-studio__back{color:var(--ink-500);font-size:13px!important}.image-studio__back svg,.image-studio__text-action svg{width:15px;height:15px}.image-studio__all-history{margin-left:auto}.image-studio__mobile-tabs{display:none}.image-studio__notice{display:flex;gap:9px;align-items:center;padding:9px 12px;margin-bottom:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface-sunken);color:var(--ink-700);font-size:13px;overflow-wrap:anywhere}.image-studio__notice>svg{width:17px;flex-shrink:0}.image-studio__notice.is-error{color:var(--danger-700, #a12a2a);background:var(--danger-50, #fff4f3);border-color:var(--danger-200, #efc5c1)}.image-studio__notice .ui-icon-btn{flex-shrink:0}.image-studio__layout{flex:1;min-height:0;display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px}.image-studio__editor{display:flex;flex-direction:column;gap:16px;min-height:0;padding:17px;border:1px solid var(--studio-line);border-radius:var(--r-lg);background:var(--surface);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.image-studio__editor.is-dragging{border-color:var(--line-strong);background:var(--surface-sunken)}.image-studio__section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.image-studio__person{flex:0 0 auto;min-height:0}.image-studio__dropzone{width:100%;height:clamp(120px,19dvh,190px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 8px;border:1px dashed var(--line-strong);border-radius:11px;background:var(--surface-sunken);color:var(--ink-500)}.image-studio__dropzone:hover{background:var(--surface-sunken);border-color:var(--line-strong)}.image-studio__dropzone>svg{width:25px;height:25px;margin-bottom:2px;stroke-width:1.4}.image-studio__dropzone strong{font-size:14px;font-weight:550}.image-studio__dropzone span,.image-studio__dropzone small{font-size:12px;color:var(--ink-500)}.image-studio__reference{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden}.image-studio__reference.is-selected{border-color:var(--line-strong);box-shadow:0 0 0 1px var(--accent)}.image-studio__ref-preview{position:relative;flex:1;display:block;width:100%;min-height:0;border:none;padding:0;background:var(--surface-sunken);overflow:hidden}.image-studio__ref-preview img{width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none}.image-studio__reference[draggable=true] .image-studio__ref-preview{cursor:grab}.image-studio .image-studio__remove-ref{position:absolute;top:4px;right:4px;width:24px;height:24px;background:var(--glass);box-shadow:var(--shadow-sm);color:var(--ink-500)}.image-studio__ref-controls{flex:0 0 auto;padding:5px 7px;background:var(--surface-sunken);min-width:0}.image-studio__ref-controls>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.image-studio__ref-controls select{min-width:0;width:76px;border:0;background:transparent;color:var(--ink-500);font-size:11px}.image-studio__reference--primary{height:clamp(120px,19dvh,190px);display:grid;grid-template-columns:45% minmax(0,1fr)}.image-studio__reference--primary .image-studio__ref-controls{padding:25px 10px 12px;display:flex;flex-direction:column;justify-content:center;gap:7px}.image-studio__ref-controls strong{font-size:13px;font-weight:500}.image-studio__ref-controls p{font-size:12px;color:var(--ink-500);line-height:1.7;margin:0}.image-studio__upload-state{display:flex;align-items:center;justify-content:center;gap:4px;position:absolute;bottom:0;left:0;right:0;padding:4px;background:var(--glass);color:var(--ink-500);font-size:11px}.image-studio__upload-state svg{width:12px;height:12px}.image-studio__upload-state.is-error{color:var(--ink-500)}.image-studio__spin{animation:image-studio-spin 1.2s linear infinite}@keyframes image-studio-spin{to{transform:rotate(360deg)}}.image-studio__auxiliary{flex:1 0 auto;min-height:0;display:flex;flex-direction:column}.image-studio__material-tabs{display:flex;align-items:stretch;border-bottom:1px solid var(--line);flex:0 0 35px;gap:8px}.image-studio__material-tabs button{position:relative;flex:1;white-space:nowrap;padding:0 1px 9px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ink-500);font-size:12px}.image-studio__material-tabs button[aria-selected=true]{color:var(--ink-500);border-color:var(--line-strong)}.image-studio__material-tabs i{width:4px;height:4px;display:inline-block;border-radius:50%;margin:0 0 3px 2px;background:var(--surface-sunken)}.image-studio__category{display:flex;flex-direction:column;gap:9px;flex:1;min-height:0;padding-top:10px}.image-studio__reference-help{margin:0;color:var(--ink-500);font-size:12px;line-height:1.6}.image-studio__scene-mode{display:flex;gap:4px}.image-studio__scene-mode button{flex:1;border:1px solid transparent;background:var(--surface-sunken);border-radius:5px;color:var(--ink-500);font-size:11px;padding:5px 3px}.image-studio__scene-mode button[aria-pressed=true]{background:var(--surface-sunken);color:var(--ink-500)}.image-studio__scene-presets{flex:0 0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.image-studio__scene-presets button{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:142px;padding:0;border:none;background:transparent;text-align:center;color:var(--ink-500);font-size:12px}.image-studio__scene-presets img{flex:0 0 auto;width:100%;height:auto;min-height:112px;aspect-ratio:1;object-fit:cover;border-radius:9px;border:1px solid var(--line);transition:border-color .16s,box-shadow .16s,transform .16s}.image-studio__scene-presets button:hover img{border-color:var(--line-strong)}.image-studio__scene-presets button[aria-pressed=true] img{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-100)}.image-studio__references{flex:1;min-height:144px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(110px,1fr));gap:9px;padding:2px}.image-studio__references:has(>:only-child){grid-template-columns:1fr;grid-template-rows:1fr}.image-studio__references:has(>:nth-child(2):last-child){grid-template-rows:1fr}.image-studio__add-reference{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:0;min-width:0;border:1px dashed var(--line-strong);border-radius:9px;background:var(--surface-sunken);color:var(--ink-500);padding:8px;font-size:12px!important}.image-studio__add-reference>svg{width:22px;height:22px}.image-studio__add-reference small{font-size:11px}.image-studio__reference-footer{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 24px;color:var(--ink-500);font-size:11px}.image-studio__reference-footer>span:first-child{margin-right:auto}.image-studio__material-note{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px;color:var(--ink-500);font-size:12px;flex:0 0 auto}.image-studio__workspace{min-width:0;min-height:0;display:flex;flex-direction:column}.image-studio__canvas-heading{display:flex;align-items:center;justify-content:space-between;flex:0 0 34px;gap:8px;margin-bottom:7px}.image-studio__canvas-heading>div:first-child{display:flex;align-items:baseline;gap:10px;min-width:0}.image-studio__canvas-heading span{color:var(--ink-500);font-size:11px}.image-studio__view-modes{display:flex;gap:6px;align-items:center}.image-studio__view-modes button{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;background:transparent;border-radius:6px;padding:5px 7px;color:var(--ink-500);font-size:12px}.image-studio__view-modes button[aria-pressed=true]{background:var(--surface-sunken);color:var(--ink-500);border-color:var(--line-strong)}.image-studio__view-modes svg{width:14px;height:14px}.image-studio__compare-picker{flex:0 0 27px;display:flex;align-items:center;gap:8px;color:var(--ink-500);font-size:12px;padding-bottom:5px}.image-studio__compare-picker select{max-width:75%;min-width:0;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--surface);font-size:12px}.image-studio__canvas-wrap{flex:1;min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface-sunken)}.image-studio__canvas-empty{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px;background:radial-gradient(ellipse at 50% 40%,var(--surface),var(--paper))}.image-studio__canvas-empty>svg{width:28px;height:28px;color:var(--ink-500)}.image-studio__canvas-empty h3{font-size:18px;font-weight:500;margin:17px 0 10px;color:var(--ink-500)}.image-studio__canvas-empty p{max-width:430px;color:var(--ink-500);font-size:13px;line-height:1.8;margin:0 0 9px}.image-studio__canvas-empty small{color:var(--ink-500);font-size:11px}.image-studio__inspiration{position:relative;isolation:isolate;height:100%;min-height:0;overflow:auto;display:flex;flex-direction:column;background:var(--paper)}.image-studio__inspiration-image{position:absolute;inset:0 0 0 auto;height:100%;width:58%;object-fit:cover;object-position:center;z-index:-2;animation:image-studio-reveal .24s var(--ease)}.image-studio__inspiration:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(90deg,var(--paper) 26%,color-mix(in srgb,var(--paper) 94%,transparent) 42%,color-mix(in srgb,var(--paper) 15%,transparent) 72%)}.image-studio__inspiration-copy{flex:1 0 auto;padding:clamp(20px,3vw,42px);padding-bottom:18px;width:min(70%,460px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.image-studio__eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:12px;letter-spacing:.08em}.image-studio__eyebrow svg{width:15px;height:15px}.image-studio__inspiration-copy h3{margin:14px 0 12px;font-size:clamp(23px,2.2vw,34px);line-height:1.45;font-weight:600;letter-spacing:-.04em;color:var(--ink-900);text-wrap:balance}.image-studio__inspiration-copy p{margin:0;max-width:290px;font-size:13px;line-height:1.8;color:var(--ink-600)}.image-studio__inspiration-tags{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0 20px}.image-studio__inspiration-tags span{padding:4px 8px;border:1px solid var(--line-strong);border-radius:var(--r-pill);font-size:11px;color:var(--ink-600);background:var(--glass)}.image-studio__inspiration-copy small{margin-top:9px;font-size:11px;color:var(--ink-500)}.image-studio__inspiration-presets{position:relative;flex:0 0 auto;margin:0 24px 20px;display:flex;gap:8px}.image-studio__inspiration-presets button{display:flex;align-items:center;gap:8px;min-width:0;padding:5px 10px 5px 5px;border:1px solid var(--glass-line);border-radius:10px;background:var(--glass);color:var(--ink-600);font-size:12px;transition:background .16s,border-color .16s,transform .16s;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.image-studio__inspiration-presets button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);color:var(--accent);box-shadow:var(--shadow-sm)}.image-studio__inspiration-presets img{width:34px;height:38px;object-fit:cover;border-radius:6px}.image-studio__inspiration-presets svg{width:14px;height:14px}.image-studio__preset-preview{width:100%;height:180px;object-fit:cover;object-position:center 42%;border-radius:10px}@keyframes image-studio-reveal{0%{opacity:.4;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}.image-studio__selection-actions{flex:0 0 46px;min-width:0;display:flex;align-items:center;gap:7px}.image-studio__selection-actions .ui-btn{box-shadow:none;white-space:nowrap}.image-studio__retouch{display:flex;align-items:center;gap:12px}.image-studio__retouch>span{color:var(--ink-500);font-size:11px}.image-studio__spacer{flex:1}.image-studio__download{display:grid;place-items:center;width:30px;height:30px;color:var(--ink-500);border-radius:6px}.image-studio__download svg{width:16px;height:16px}.image-studio__history{flex:0 0 115px;border-top:1px solid var(--line);padding-top:5px;min-height:0}.image-studio__history.image-studio__history--empty{flex:0 0 36px}.image-studio__history-heading{display:flex;align-items:center;gap:8px;height:29px}.image-studio__history-heading h2{font-size:12px;font-weight:500}.image-studio__history-heading>span{color:var(--ink-500);font-size:11px}.image-studio__history-heading>button:last-child{margin-left:auto}.image-studio__filmstrip{display:flex;align-items:center;gap:6px;height:77px}.image-studio__filmstrip>.ui-icon-btn{flex-shrink:0;width:23px}.image-studio__filmstrip-images{flex:1;min-width:0;height:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:2px}.image-studio__history-image{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:6px;background:var(--surface-sunken);padding:0;min-width:0;overflow:hidden;cursor:grab!important;max-width:106px}.image-studio__history-image img{flex:1;min-height:0;width:100%;object-fit:contain}.image-studio__history-image>span{width:100%;font-size:11px;line-height:16px;white-space:nowrap;color:var(--ink-500);background:var(--surface-sunken);text-align:center}.image-studio__history-image.is-selected{border-color:var(--line-strong);box-shadow:0 0 0 1px var(--accent)}.image-studio__history-empty{grid-column:1 / -1;align-self:center;margin:0;color:var(--ink-500);font-size:12px}.image-studio__composer{flex:0 0 auto;min-width:0;border:1px solid var(--studio-line);border-radius:12px;background:var(--surface);padding:10px 14px}.image-studio__prompt-row{display:flex;align-items:center;gap:12px}.image-studio__prompt-row>label{flex:0 0 auto;color:var(--ink-500);font-size:13px}.image-studio__prompt-row .ui-textarea{flex:1;min-width:0;min-height:44px;height:44px;max-height:44px;resize:none;border:0;border-radius:0;box-shadow:none;padding:3px 0;line-height:1.65;font-size:13px}.image-studio__prompt-row .ui-textarea::placeholder{color:var(--ink-500)}.image-studio__composer-bottom{display:flex;align-items:flex-end;gap:16px;border-top:1px solid var(--line);margin-top:6px;padding-top:8px}.image-studio__inline-settings{flex:1;min-width:0}.image-studio__settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.image-studio__settings .ui-field{min-width:0;gap:7px}.image-studio__settings .studio-segmented{display:flex;flex-wrap:wrap}.image-studio__settings .studio-segmented button{flex:1;min-height:38px}.image-studio__settings .ui-label{font-size:12px;color:var(--ink-500)}.image-studio__settings .ui-select{font-size:12px;min-height:32px;height:32px;padding:4px 23px 4px 9px;border-color:var(--line-strong);background-color:var(--surface-sunken)}.image-studio__generate{display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:215px}.image-studio__generate .ui-btn{border-radius:8px;min-height:38px;box-shadow:none;font-size:13px}.image-studio__generate .ui-btn span{font-size:12px;font-weight:400;opacity:.9}.image-studio__generate .ui-btn>svg:last-child{width:15px;margin-left:6px}.image-studio__generate>small{color:var(--ink-500);text-align:center;font-size:12px;min-height:15px}.image-studio__generate>small button{padding:0;font-size:12px!important}.image-studio__compact-settings{display:none}.image-studio__summary{padding:12px 14px;margin:12px 0;list-style:none;background:var(--surface-sunken);border-radius:8px;display:grid;gap:8px;color:var(--ink-500);font-size:13px}.image-studio__confirmation-prompt{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;background:var(--surface-sunken);padding:12px;border-radius:8px;font-size:13px}.image-studio__save-form{display:grid;gap:16px}.image-studio__library{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px}.image-studio__library button{padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:10px;cursor:pointer;text-align:left}.image-studio__library img{width:100%;height:155px;object-fit:contain}.image-studio__library span{display:block;margin-top:6px;font-size:12px}.image-studio__history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:16px}.image-studio__history-grid article{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;padding:9px}.image-studio__history-grid article>small{color:var(--ink-500);font-size:12px;display:block;margin-top:8px}.image-studio__history-grid article p{height:38px;line-height:19px;overflow:hidden;margin:8px 0;font-size:12px;color:var(--ink-500)}.image-studio__history-grid article>div:last-child{display:flex;justify-content:space-between;gap:6px}.image-studio__history-preview{width:100%;height:170px;border:0;padding:0;background:var(--surface-sunken);border-radius:5px;cursor:pointer}.image-studio__history-preview img{width:100%;height:100%;object-fit:contain}.image-studio__history-status{height:170px;background:var(--surface-sunken);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--ink-500);font-size:13px}.image-studio__text-action,.image-studio__material-tabs button[aria-selected=true]{color:var(--accent)}.image-studio__reference.is-selected,.image-studio__history-image.is-selected,.image-studio__editor.is-dragging,.image-studio__material-tabs button[aria-selected=true],.image-studio__scene-presets button:hover img{border-color:var(--accent)}.image-studio__material-tabs i{background:var(--accent)}.image-studio__scene-mode button[aria-pressed=true],.image-studio__view-modes button[aria-pressed=true],.image-studio__notice,.image-studio__summary{color:var(--accent-700);background:var(--accent-soft);border-color:var(--accent-200)}.image-studio__dropzone:hover,.image-studio__editor.is-dragging{background:var(--accent-soft);border-color:var(--accent-200)}.image-studio__notice.is-error{color:var(--danger-strong);background:var(--danger-soft);border-color:var(--danger-line)}.image-studio__upload-state.is-error{color:var(--danger)}.image-studio__scene-mode button,.image-studio__material-tabs button,.image-studio__dropzone,.image-studio__view-modes button,.image-studio__text-action{transition:color .16s,background .16s,border-color .16s}@media(hover:hover){.image-studio__inspiration-presets button:hover{transform:translateY(-2px);border-color:var(--accent-300)}.image-studio__scene-presets button:not(:disabled):hover img{transform:translateY(-2px);box-shadow:var(--shadow-sm)}}@media(max-width:1300px){.image-studio__layout{grid-template-columns:285px minmax(0,1fr);gap:14px}.image-studio__editor{padding:13px;gap:12px}.image-studio__retouch{gap:9px}.image-studio__retouch>span{display:none}.image-studio__settings{gap:6px}.image-studio__generate{min-width:195px}.image-studio__composer-bottom{gap:12px}.image-canvas__hint{display:none}.image-canvas__tools{justify-content:flex-end}}@media(max-height:800px){.image-studio{gap:8px;padding-top:3px;padding-bottom:4px}.image-studio__editor{gap:10px;padding:12px}.image-studio__section-title{margin-bottom:8px}.image-studio__dropzone,.image-studio__reference--primary{height:88px}.image-studio__dropzone{display:grid;grid-template-columns:34px auto;align-content:center;gap:5px 10px;padding:10px 12px;text-align:left}.image-studio__dropzone>svg{grid-row:1 / 3;align-self:center}.image-studio__dropzone strong,.image-studio__dropzone span{justify-self:start}.image-studio__dropzone small{display:none}.image-studio__reference--primary .image-studio__ref-controls{padding:8px}.image-studio__material-note{padding-top:5px}.image-studio__category{gap:7px;padding-top:7px}.image-studio__history{flex-basis:90px}.image-studio__filmstrip{height:56px}.image-studio__inspiration-copy{padding:18px 22px 12px}.image-studio__inspiration-copy h3{margin:8px 0;font-size:25px}.image-studio__inspiration-tags{display:none}.image-studio__inspiration-copy .ui-btn{margin-top:12px}.image-studio__inspiration-presets{margin:0 22px 14px}.image-studio__composer{padding:7px 12px}}@media(max-width:1100px){.image-studio__inline-settings{display:none}.image-studio__compact-settings{display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:var(--surface-sunken);color:var(--ink-500);padding:9px;font-size:12px}.image-studio__compact-settings svg{width:16px;height:16px}.image-studio__composer-bottom{justify-content:space-between}}@media(max-width:900px){.image-studio{padding:3px 4px 6px;overflow-y:auto}.image-studio__layout{flex:1 0 auto}.image-studio__canvas-wrap{flex:1 0 300px;min-height:300px}.image-studio__canvas-wrap:has(>.image-studio__inspiration){flex-basis:auto}.image-studio__editor{overflow:visible}.image-studio__inspiration{height:auto;min-height:300px;overflow:visible}.image-studio__heading>span{display:none}.image-studio__mobile-tabs{display:flex;border:1px solid var(--line);border-radius:7px;padding:2px;background:var(--surface-sunken);margin-left:auto}.image-studio__mobile-tabs button{padding:4px 15px;border:0;border-radius:5px;background:transparent;font-size:13px;color:var(--ink-500)}.image-studio__mobile-tabs button[aria-selected=true]{background:var(--surface);color:var(--accent);box-shadow:var(--shadow-sm)}.image-studio__all-history{margin-left:0}.image-studio__layout{grid-template-columns:minmax(0,1fr)}.image-studio--materials .image-studio__workspace,.image-studio--preview .image-studio__editor{display:none}.image-studio__editor{display:grid;grid-template-columns:40% minmax(0,1fr);grid-template-rows:minmax(340px,1fr) auto;gap:14px}.image-studio__person{display:flex;flex-direction:column}.image-studio__dropzone,.image-studio__reference--primary{flex:1;height:auto;max-height:none}.image-studio__reference--primary{display:flex}.image-studio__reference--primary .image-studio__ref-controls{flex:0 0 auto;padding:8px 10px}.image-studio__reference--primary .image-studio__ref-controls p{display:none}.image-studio__material-note{grid-column:1 / -1}.image-studio__canvas-heading span{display:none}.image-studio__mobile-tabs button,.image-studio__scene-mode button,.image-studio__material-tabs button,.image-studio__text-action,.image-studio__back,.image-studio__view-modes button,.image-studio .ui-btn,.image-studio .image-studio__compact-settings{min-height:44px}.image-studio .ui-icon-btn,.image-studio .image-studio__remove-ref,.image-studio__download,.image-canvas__tools .ui-icon-btn{width:44px;height:44px;flex-shrink:0}.image-studio__ref-controls select,.image-studio__settings .ui-select,.image-studio__settings .studio-segmented button,.image-studio-dialog .ui-btn{min-height:44px;height:auto}.image-studio-dialog .ui-icon-btn{width:44px;height:44px}.image-studio-dialog .ui-input,.image-studio-dialog .ui-select,.image-studio-dialog .ui-checkbox{min-height:44px}.image-studio__material-tabs,.image-studio__reference-footer,.image-studio__history-heading,.image-studio__history.image-studio__history--empty{flex-basis:auto;min-height:44px;height:auto}.image-studio__selection-actions{flex:0 0 auto;min-height:44px}.image-studio__history{flex:0 0 auto}.image-studio__filmstrip{height:84px}.image-studio__filmstrip-images{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:64px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity}.image-studio__history-image{min-width:44px;scroll-snap-align:start}}@media(max-width:520px){.image-studio__settings{grid-template-columns:minmax(0,1fr);gap:16px}.image-studio__settings .studio-segmented button{min-height:44px}.image-studio__editor{display:flex;gap:10px;padding:12px}.image-studio__person{flex:0 0 auto}.image-studio__dropzone,.image-studio__reference--primary{flex:none;height:96px}.image-studio__dropzone{display:grid;grid-template-columns:34px auto;align-content:center;gap:5px 10px;padding:10px 12px;text-align:left}.image-studio__dropzone>svg{grid-row:1 / 3;align-self:center}.image-studio__dropzone small{display:none}.image-studio__reference--primary{display:grid}.image-studio__reference--primary .image-studio__ref-controls p{display:block}.image-studio__section-title{margin-bottom:8px}.image-studio__category{gap:7px;padding-top:7px}.image-studio__material-note{display:none}.image-studio__composer{padding:7px 10px}.image-studio__prompt-row{gap:5px}.image-studio__prompt-row>label{display:none}.image-studio__prompt-row .ui-textarea{font-size:13px}.image-studio__composer-bottom{gap:7px}.image-studio__compact-settings{max-width:44%;display:block;text-align:left;padding:5px;font-size:11px;line-height:1.6}.image-studio__compact-settings svg{vertical-align:middle;margin-right:4px}.image-studio__generate{min-width:0}.image-studio__generate .ui-btn{padding:8px 10px}.image-studio__generate .ui-btn>svg{display:none}.image-studio__selection-actions{flex-basis:auto;min-height:44px;flex-wrap:wrap;align-content:center;gap:5px}.image-studio__retouch{width:100%;gap:15px}.image-studio__history-image>span{display:none}.image-studio__history-heading{gap:5px}.image-studio__history-heading>span{font-size:11px}.image-studio__history.image-studio__history--empty{flex-basis:42px}.image-studio__inspiration-copy{width:100%;padding:18px 18px 12px}.image-studio__inspiration-image{width:100%}.image-studio__inspiration:before{background:linear-gradient(90deg,color-mix(in srgb,var(--paper) 97%,transparent),color-mix(in srgb,var(--paper) 75%,transparent))}.image-studio__inspiration-copy h3{max-width:245px;font-size:25px}.image-studio__inspiration-copy p{max-width:270px}.image-studio__inspiration-tags{display:none}.image-studio__inspiration-copy .ui-btn{margin-top:14px}.image-studio__inspiration-presets{margin:0 12px 14px;gap:5px}.image-studio__inspiration-presets button{flex:1;justify-content:center;gap:4px;padding:5px;min-height:44px}.image-studio__inspiration-presets img{width:23px;height:30px}.image-studio__inspiration-presets svg{display:none}.image-studio__history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-studio__history-preview,.image-studio__history-status{height:130px}.ui-dialog-backdrop.image-studio-fullscreen{padding:0}.image-studio-fullscreen .ui-dialog{height:100dvh;max-height:100dvh;border-radius:0}}.image-studio .ui-page-toolbar{padding:var(--sp-2) 0;flex-basis:auto}.image-studio .ui-page-toolbar__actions{margin-left:auto}.image-studio__editor{border:0;border-radius:0;background:transparent}.image-studio__composer{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.image-studio__composer-bottom{justify-content:space-between}.image-studio .image-studio__inline-settings{display:none}.image-studio .image-studio__compact-settings{display:inline-flex;align-items:center;gap:var(--sp-2);border:0;border-radius:var(--r-sm);background:var(--surface-sunken);color:var(--ink-500);padding:var(--sp-2);font-size:var(--text-sm)}.image-studio .image-studio__compact-settings svg{width:16px;height:16px}@media(max-width:600px){.image-studio .ui-page-toolbar{display:grid}.image-studio .ui-page-toolbar__actions{grid-column:1 / -1;margin-left:0;justify-content:space-between}.image-studio .image-studio__mobile-tabs{margin-left:0}}@media(min-width:901px)and (max-height:620px){.image-studio{overflow-y:auto}.image-studio__layout{flex:1 0 auto}.image-studio__workspace{min-height:min-content}.image-studio__canvas-wrap{flex:1 0 240px;min-height:240px}.image-studio__history{flex:0 0 auto}}.ad-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--z-dialog);display:flex;align-items:flex-start;justify-content:center;padding:min(8vh,64px) var(--sp-4) var(--sp-4);overflow-y:auto;background:color-mix(in srgb,var(--ink-900) 42%,transparent);animation:ui-fade-in var(--dur) var(--ease)}.ad-panel{width:100%;background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--shadow-lg);animation:ui-rise var(--dur-slow) var(--ease)}.ad-panel--lg{max-width:880px}.ad-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-5) var(--sp-6) 0}.ad-panel__title{margin:2px 0 0;font-size:var(--text-lg);font-weight:600;color:var(--ink-900)}.ad-panel__body{display:flex;flex-direction:column;gap:var(--sp-4);padding:var(--sp-4) var(--sp-6) var(--sp-6);font-size:var(--text-sm);color:var(--ink-700)}.ad-detail-head{min-width:0}.ad-detail-head__title{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}.ad-detail-head__meta{margin:var(--sp-1) 0 0;font-size:var(--text-sm);color:var(--ink-500)}.ad-detail-tabs{margin-top:var(--sp-3);padding:0 var(--sp-6)}.ad-tabpanel{display:flex;flex-direction:column;gap:var(--sp-4)}.ad-tabpanel__actions{display:flex;justify-content:flex-end}.ad-overview{display:grid;grid-template-columns:132px minmax(0,1fr);gap:var(--sp-5);align-items:start}.ad-overview__portrait{display:flex;align-items:center;justify-content:center;aspect-ratio:3 / 4;overflow:hidden;color:var(--ink-300);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-lg)}.ad-overview__portrait .lucide{width:44px;height:44px}.ad-overview__portrait img{display:block;width:100%;height:100%;object-fit:contain}.ad-notes{padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.ad-notes span{font-size:var(--text-xs);color:var(--ink-500)}.ad-notes p{margin:var(--sp-1) 0 0;color:var(--ink-700);white-space:pre-wrap;overflow-wrap:anywhere}.ad-section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3)}.ad-section-head small{display:block;margin-top:2px;color:var(--ink-500)}.ad-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:var(--sp-4)}.ad-media-card{display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}.ad-media-card--disabled{background:var(--surface-sunken);opacity:.66}.ad-media-card__preview{display:flex;align-items:center;justify-content:center;aspect-ratio:4 / 3;overflow:hidden;color:var(--ink-300);background:var(--surface-sunken);border-bottom:1px solid var(--line)}.ad-media-card__open{width:100%;padding:0;cursor:zoom-in}.ad-media-card__retry{width:100%;flex-direction:column;gap:8px;padding:20px;color:var(--ink-500);cursor:pointer}.ad-media-card__retry strong{color:var(--ink-900);font-size:var(--text-sm)}.ad-media-card__open:focus-visible{outline:2px solid var(--color-focus);outline-offset:-3px}.ad-media-card__preview .lucide{width:38px;height:38px}.ad-media-card__preview img{display:block;width:100%;height:100%;object-fit:contain}.ad-media-card__preview--video{aspect-ratio:16 / 9;background:var(--ink-900)}.ad-media-card__preview--video video{display:block;width:100%;height:100%;object-fit:contain}.ad-media-card__body{display:flex;flex-direction:column;gap:var(--sp-1);padding:var(--sp-3)}.ad-media-card__title{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}.ad-media-card__title strong{color:var(--ink-900);overflow-wrap:anywhere}.ad-media-card__body>small{color:var(--ink-500)}.ad-media-card__meta{display:flex;align-items:center;gap:var(--sp-2)}.ad-media-card__meta small{color:var(--ink-500)}.ad-media-card__actions{display:flex;align-items:center;gap:var(--sp-1);margin-top:auto;padding:0 var(--sp-3) var(--sp-3)}.ad-media-card__manage{display:flex;flex-wrap:wrap;gap:2px}.ad-media-card .ad-icon-danger{color:var(--danger)}.ad-spacer{flex:1}.ad-scopes{display:flex;flex-direction:column;gap:var(--sp-3)}.ad-scope{display:flex;flex-direction:column;gap:var(--sp-2);padding:var(--sp-3) var(--sp-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}.ad-scope__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3)}.ad-scope__title{display:flex;flex-direction:column;gap:2px;min-width:0}.ad-scope__title strong{color:var(--ink-900);overflow-wrap:anywhere}.ad-scope__title small{color:var(--ink-500)}.ad-scope__chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}.ad-scope__none{color:var(--ink-400)}.ad-scope__editor{padding-top:var(--sp-3);border-top:1px dashed var(--line)}.ad-chip{display:inline-flex;align-items:center;gap:var(--sp-1);padding:2px 6px 2px var(--sp-2);font-size:var(--text-xs);color:var(--ink-600);cursor:pointer;background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-pill);transition:color var(--dur) var(--ease),border-color var(--dur) var(--ease)}.ad-chip:hover{color:var(--ink-900);border-color:var(--accent-200)}.ad-editor{display:flex;flex-direction:column;gap:var(--sp-3)}.ad-editor__users{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:var(--sp-2) var(--sp-4)}.ad-editor__empty{margin:0;font-size:var(--text-sm);color:var(--ink-500)}.ad-perm-list{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:var(--r-lg)}.ad-perm-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4)}.ad-perm-row+.ad-perm-row{border-top:1px solid var(--line)}.ad-perm-row__text{display:flex;flex-direction:column;gap:2px;min-width:0}.ad-perm-row__text strong{color:var(--ink-900)}.ad-perm-row__text small{color:var(--ink-500)}.ad-visibility{display:inline-flex;align-items:center;gap:var(--sp-3)}.ad-visibility-status{font-size:var(--text-sm);color:var(--ink-700)}.ad-action-summary{display:flex;flex-direction:column;gap:2px;padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.ad-action-summary span{font-size:var(--text-xs);color:var(--ink-500)}.ad-action-summary strong{color:var(--ink-900);overflow-wrap:anywhere}.ad-action-summary small{color:var(--ink-500)}.ad-move-target{display:flex;align-items:center;gap:var(--sp-2);color:var(--accent-600)}.ad-move-target small,.ad-move-target strong{display:block}.ad-move-target small{font-size:var(--text-xs);color:var(--ink-500)}.ad-move-target strong{color:var(--ink-900)}.ad-merge-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);color:var(--accent-600);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-lg)}.ad-merge-route small,.ad-merge-route strong{display:block}.ad-merge-route small{font-size:var(--text-xs);color:var(--ink-500)}.ad-merge-route strong{color:var(--ink-900);overflow-wrap:anywhere}.ad-merge-preview{display:flex;flex-direction:column;gap:var(--sp-3)}.ad-merge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--sp-3)}.ad-merge-grid>div{display:flex;flex-direction:column;gap:2px;padding:var(--sp-3);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.ad-merge-grid span{font-size:var(--text-xs);color:var(--ink-500)}.ad-merge-grid strong{font-size:var(--text-xl);color:var(--ink-900)}@media(max-width:640px){.ad-overview{grid-template-columns:minmax(0,1fr)}.ad-overview__portrait{max-width:180px}.ad-merge-grid{grid-template-columns:repeat(2,1fr)}.ad-media-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.ad-panel__head,.ad-panel__body{padding-left:var(--sp-4);padding-right:var(--sp-4)}.ad-detail-tabs{padding:0 var(--sp-4)}}.ad-backdrop{align-items:center;overflow:hidden;padding:24px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.ad-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);overflow:hidden;border-radius:24px}.ad-panel__head,.ad-detail-tabs{flex:none}.ad-panel__head{padding-top:24px}.ad-panel__title{font-size:24px}.ad-panel__body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.ad-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-media-card{border-color:var(--workspace-line);border-radius:18px}.ad-media-card__preview{max-height:280px}.ad-media-grid:has(>.ad-media-card:only-child){grid-template-columns:minmax(0,1fr)}.ad-media-grid>.ad-media-card:only-child{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,1fr)}.ad-media-grid>.ad-media-card:only-child .ad-media-card__preview{grid-row:1 / 3;aspect-ratio:3 / 4;max-height:min(420px,48dvh);border:0}.ad-media-grid>.ad-media-card:only-child .ad-media-card__body{padding:28px 22px}.ad-media-grid>.ad-media-card:only-child .ad-media-card__title strong{font-size:19px}.ad-media-grid>.ad-media-card:only-child .ad-media-card__actions{padding:22px;flex-wrap:wrap;align-self:end}.ad-media-card__actions .ui-btn{border-radius:var(--r-pill)}@media(max-width:680px){.ad-backdrop{padding:12px}.ad-panel{max-height:calc(100dvh - 24px)}.ad-panel__head{padding:20px 20px 0}.ad-detail-tabs{padding-inline:20px}.ad-panel__body{padding:16px 20px 20px}.ad-media-grid{grid-template-columns:minmax(0,1fr)}.ad-media-grid>.ad-media-card:only-child{display:flex}.ad-media-grid>.ad-media-card:only-child .ad-media-card__preview{max-height:30dvh;width:100%}.ad-media-grid>.ad-media-card:only-child .ad-media-card__body,.ad-media-grid>.ad-media-card:only-child .ad-media-card__actions{padding:14px}}.tp-pronunciation__create{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,1.2fr) minmax(160px,1fr) auto;gap:var(--sp-3);align-items:end}.tp-pronunciation__list{display:grid;gap:var(--sp-2);margin-top:var(--sp-4);list-style:none}.tp-pronunciation__row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,1.2fr) minmax(160px,1fr) auto auto;gap:var(--sp-2);align-items:center;padding:var(--sp-2);border:1px solid var(--line);border-radius:var(--r-md)}.tp-pronunciation__actions{display:flex;gap:var(--sp-1)}@media(max-width:900px){.tp-pronunciation__create,.tp-pronunciation__row{grid-template-columns:1fr}.tp-pronunciation__actions{justify-content:flex-end}}.tp-stack{display:grid;gap:var(--sp-4)}.in-stack{display:flex;flex-direction:column;gap:var(--sp-5)}.in-card .ui-card__body{display:flex;flex-direction:column;gap:var(--sp-4)}.in-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--sp-4)}.in-chart{display:flex;align-items:stretch;gap:var(--sp-2);height:220px}.in-chart__col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:var(--sp-1)}.in-chart__value{font-size:var(--text-xs);color:var(--ink-500);font-variant-numeric:tabular-nums}.in-chart__track{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center}.in-chart__bar{display:block;width:72%;max-width:32px;background:var(--ink-300);border-radius:3px 3px 0 0;transition:background var(--dur) var(--ease)}.in-chart__bar:hover{background:var(--ink-400)}.in-chart__bar.in-chart__bar--current{background:var(--accent-500)}.in-chart__bar.in-chart__bar--current:hover{background:var(--accent-600)}.in-chart__label{font-size:var(--text-xs);color:var(--ink-400);white-space:nowrap}.in-budget-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--sp-4)}.in-budget{display:flex;flex-direction:column;gap:var(--sp-2);padding:var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.in-budget__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);margin-bottom:var(--sp-1)}.in-budget__head strong{font-size:var(--text-sm);color:var(--ink-900);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.in-budget__line{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-2);font-size:var(--text-xs);color:var(--ink-500)}.in-budget__line strong{font-size:var(--text-sm);color:var(--ink-700);font-variant-numeric:tabular-nums;text-align:right}.in-budget__foot{margin:var(--sp-1) 0 0;font-size:var(--text-xs);color:var(--ink-400)}.in-budget-form{display:flex;flex-direction:column;gap:var(--sp-4)}.in-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--sp-4)}.in-form-actions{display:flex;justify-content:flex-end}.in-usage-filters{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:var(--sp-3);align-items:end}.in-usage-filters__action{display:flex;justify-content:flex-end}.in-usage-summary{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-5);padding:var(--sp-3) var(--sp-4);border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-sunken);color:var(--ink-500);font-size:var(--text-sm)}.in-usage-summary strong{color:var(--ink-900);font-variant-numeric:tabular-nums}.in-usage-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-md)}.in-usage-table{min-width:720px}.in-popular-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-4)}.in-popular-list{display:grid;gap:var(--sp-2);margin:0;padding:0;list-style:none}.in-popular-list li{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3);border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-sunken)}.in-popular-list span{overflow:hidden;color:var(--ink-700);text-overflow:ellipsis;white-space:nowrap}.in-popular-list strong{flex:0 0 auto;color:var(--ink-900)}.in-popular-empty{margin:0;color:var(--ink-400);font-size:var(--text-sm)}@media(max-width:1100px){.in-usage-filters{grid-template-columns:repeat(3,minmax(160px,1fr))}}@media(max-width:700px){.in-popular-grid,.in-usage-filters{grid-template-columns:1fr}.in-usage-filters__action .ui-btn{width:100%}}.pj-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:var(--sp-5);align-items:start}.pj-summary-card{grid-column:1 / -1}.pj-summary-metrics,.pj-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-3)}.pj-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pj-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,max-content);gap:var(--sp-2);align-items:center}@media(max-width:960px){.pj-layout{grid-template-columns:1fr}}.pj-list-card .ui-card__body,.pj-defaults-card .ui-card__body{display:flex;flex-direction:column;gap:var(--sp-4)}.pj-create{display:flex;flex-direction:column;gap:var(--sp-3);padding:var(--sp-3);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.pj-create__row{display:flex;gap:var(--sp-2);align-items:center}.pj-create__row .ui-input{flex:1;min-width:0}.pj-projects{display:flex;flex-direction:column;gap:var(--sp-2)}.pj-project{display:flex;align-items:center;gap:var(--sp-3);width:100%;padding:var(--sp-3);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);color:var(--ink-700);transition:border-color var(--dur) var(--ease),background var(--dur) var(--ease)}.pj-project:hover{border-color:var(--line-strong);background:var(--accent-50)}.pj-project__select:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.pj-project__select{display:flex;flex:1;min-width:0;padding:0;text-align:left;color:inherit;background:transparent;border:0;cursor:pointer}.pj-project--active{border-color:var(--accent-500);background:var(--accent-50)}.pj-project__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.pj-project__main strong{font-size:var(--text-sm);color:var(--ink-900);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pj-project__main small{font-size:var(--text-xs);color:var(--ink-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pj-project svg{color:var(--ink-400);flex-shrink:0}.pj-actions{display:flex;flex-direction:column;gap:var(--sp-2);margin-top:var(--sp-2)}.pj-metadata{display:flex;flex-direction:column;gap:var(--sp-3);padding-bottom:var(--sp-4);border-bottom:1px solid var(--line)}@media(min-width:961px){#project-settings{position:sticky;top:var(--sp-4)}}@media(max-width:960px){.pj-toolbar{grid-template-columns:1fr 1fr}.pj-toolbar .ui-search{grid-column:1 / -1}}@media(max-width:600px){.pj-create__row,.pj-toolbar{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.pj-toolbar .ui-search{grid-column:auto}.pj-summary-metrics,.pj-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pj-project{gap:var(--sp-2)}.pj-project>.ui-badge:nth-of-type(1){display:none}}.us-stack{display:flex;flex-direction:column;gap:var(--sp-4)}.us-alert-action{margin-top:var(--sp-2)}.us-create-disclosure{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}.us-create-disclosure>summary{padding:14px 20px;color:var(--ink-700);font-size:var(--text-sm);font-weight:500;cursor:pointer}.us-create-disclosure[open]>summary{border-bottom:1px solid var(--line)}.us-create-disclosure>.ui-card{border:0;box-shadow:none}.us-create-disclosure>.ui-card>.ui-card__head{display:none}.us-create-disclosure:has(:focus-visible){border-color:var(--accent-500)}.us-form{display:flex;flex-direction:column;gap:var(--sp-4)}.us-create__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--sp-4);align-items:start}.us-create__foot{display:flex;justify-content:flex-end}.us-toolbar{padding:var(--sp-4) var(--sp-5);border-bottom:1px solid var(--line)}.us-toolbar .ui-search{max-width:420px}.us-skeleton{padding:var(--sp-5)}.us-table-wrap{overflow-x:auto}.us-table td{vertical-align:top;overflow-wrap:anywhere;word-break:break-word}.us-table th:first-child,.us-table td:first-child{padding-left:var(--sp-5)}.us-table th:last-child,.us-table td:last-child{padding-right:var(--sp-5)}.us-table .ui-select{min-width:120px}.us-user,.us-cell{display:flex;flex-direction:column;gap:2px;min-width:0}.us-user strong{color:var(--ink-900)}.us-user__sub,.us-cell__sub{font-size:var(--text-xs);color:var(--ink-500)}.us-mono{font-family:var(--font-mono);font-size:var(--text-xs);word-break:break-all}.us-status{display:flex;flex-wrap:wrap;gap:var(--sp-1);align-items:center}.us-actions{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center}.us-nowrap{white-space:nowrap}.us-cell--detail{min-width:240px}@media(max-width:760px){.us-users-table,.us-users-table tbody{display:block;width:100%}.us-users-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.us-users-table tbody{display:grid;gap:var(--sp-4);padding:var(--sp-4)}.us-users-table tr{display:grid;gap:var(--sp-3);padding-bottom:var(--sp-4);border-bottom:1px solid var(--line)}.us-users-table tr:last-child{padding-bottom:0;border-bottom:0}.us-users-table td,.us-users-table td:first-child,.us-users-table td:last-child{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:var(--sp-3);padding:0;border:0;white-space:normal}.us-users-table td:before{content:attr(data-label);color:var(--ink-500);font-size:var(--text-xs);padding-top:5px}.us-users-table td>*{min-width:0}.us-users-table .ui-select{min-width:0;width:100%}.us-users-table .us-actions{gap:var(--sp-2)}}.op-stack{display:flex;flex-direction:column;gap:var(--sp-5)}.op-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap}.op-title{margin-top:2px;font-size:var(--text-xl);font-weight:650;color:var(--ink-900)}.op-sub{margin-top:2px;font-size:var(--text-sm);color:var(--ink-500)}.op-alert-action{margin-top:var(--sp-2)}.op-skeleton{padding:var(--sp-5)}.op-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--sp-4);padding:var(--sp-5);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}.op-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:var(--sp-5);align-items:start}.op-rows{list-style:none;display:flex;flex-direction:column}.op-row{display:flex;align-items:flex-start;gap:var(--sp-3);padding:var(--sp-4) var(--sp-5)}.op-row+.op-row{border-top:1px solid var(--line)}.op-row__icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:var(--r-md);background:var(--surface-sunken);border:1px solid var(--line);color:var(--ink-400);flex-shrink:0}.op-row__icon .lucide{width:16px;height:16px}.op-row__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.op-row__title{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap;font-size:var(--text-sm);color:var(--ink-900)}.op-row__reason{font-size:var(--text-sm);color:var(--ink-600);line-height:1.5}.op-row__meta{font-size:var(--text-xs);color:var(--ink-500);line-height:1.5}.op-row__path{font-size:var(--text-xs);color:var(--ink-700);word-break:break-all}.op-row__actions{display:flex;align-items:center;gap:var(--sp-2);flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}.op-mono{font-family:var(--font-mono);font-size:var(--text-xs);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm);padding:1px 6px;word-break:break-all}.op-form{display:flex;flex-direction:column;gap:var(--sp-4)}.op-form__foot{display:flex;flex-direction:column;gap:var(--sp-2);align-items:flex-start}.op-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--sp-2) var(--sp-4)}.op-hint{display:flex;align-items:flex-start;gap:6px;font-size:var(--text-xs);color:var(--ink-500);line-height:1.6}.op-hint .lucide{width:13px;height:13px;margin-top:2px;flex-shrink:0}.op-chips{display:flex;flex-wrap:wrap;gap:6px}.op-api-status{display:flex;align-items:flex-start;gap:var(--sp-3);font-size:var(--text-sm);color:var(--ink-900);margin-bottom:var(--sp-4)}.op-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:var(--ink-300);flex-shrink:0}.op-dot--on{background:var(--success);box-shadow:0 0 0 3px var(--success-soft)}.op-footnote{display:flex;align-items:flex-start;gap:6px;font-size:var(--text-xs);color:var(--ink-400);line-height:1.6}.op-footnote .lucide{width:13px;height:13px;margin-top:2px;flex-shrink:0}.op-stability__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-3)}.op-stability__metric{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px var(--sp-2);min-width:0;padding:var(--sp-3);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md)}.op-stability__metric-icon{grid-row:1 / 3;display:flex;align-items:flex-start;justify-content:center;padding-top:2px;color:var(--ink-400)}.op-stability__metric-icon .lucide{width:18px;height:18px}.op-stability__metric dt{color:var(--ink-500);font-size:var(--text-xs)}.op-stability__metric dd{color:var(--ink-900);font-size:var(--text-xl);font-weight:650;font-variant-numeric:tabular-nums;line-height:1.2;overflow-wrap:anywhere}.op-stability__failures{margin-top:var(--sp-4);padding-top:var(--sp-4);border-top:1px solid var(--line)}.op-stability__failures h4{margin-bottom:var(--sp-2);color:var(--ink-700);font-size:var(--text-sm);font-weight:650}.op-stability__failures ul{display:flex;flex-direction:column;list-style:none}.op-stability__failures li{display:grid;grid-template-columns:minmax(120px,auto) minmax(0,1fr) auto;align-items:center;gap:var(--sp-3);min-height:38px;padding:6px 0;color:var(--ink-600);font-size:var(--text-xs)}.op-stability__failures li+li{border-top:1px solid var(--line)}.op-stability__failures code{color:var(--ink-700);font-family:var(--font-mono);overflow-wrap:anywhere}.op-stability__failures strong{color:var(--ink-700);font-variant-numeric:tabular-nums;white-space:nowrap}.op-stability__empty{color:var(--ink-500);font-size:var(--text-sm)}.op-stability__note{display:flex;align-items:flex-start;gap:var(--sp-2);margin-top:var(--sp-4);padding:var(--sp-3);color:var(--ink-500);background:var(--surface-sunken);border-radius:var(--r-md);font-size:var(--text-xs);line-height:1.6}.op-stability__note .lucide{width:15px;height:15px;margin-top:2px;flex-shrink:0}@media(max-width:760px){.op-stability__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.op-stability__failures li{grid-template-columns:minmax(0,1fr) auto}.op-stability__failures li span{grid-column:1 / -1;grid-row:2}}.ed-shortcuts{display:flex;flex-direction:column;gap:var(--sp-4)}.ed-shortcuts>p,.ed-shortcuts>small{margin:0;color:var(--ink-500);font-size:var(--text-xs);line-height:1.55}.ed-shortcuts__group{display:flex;flex-direction:column;gap:var(--sp-2)}.ed-shortcuts__group h3{margin:0;color:var(--ink-700);font-size:var(--text-xs);font-weight:650}.ed-shortcuts__group dl{display:flex;flex-direction:column;margin:0;border-top:1px solid var(--line)}.ed-shortcuts__row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);min-height:36px;border-bottom:1px solid var(--line)}.ed-shortcuts__row dt{color:var(--ink-700);font-size:var(--text-sm)}.ed-shortcuts__row dd,.ed-shortcuts__keys{display:flex;align-items:center;gap:4px;margin:0}.ed-shortcuts__row kbd{min-width:26px;padding:3px 6px;color:var(--ink-700);font-family:inherit;font-size:11px;line-height:1;text-align:center;background:var(--surface-sunken);border:1px solid var(--line-strong);border-bottom-width:2px;border-radius:var(--r-sm)}.ed-shortcuts__or{color:var(--ink-400);font-size:11px}.ed-version-list{display:flex;flex-direction:column;gap:var(--sp-3)}.ed-version{display:flex;flex-direction:column;gap:var(--sp-3);min-width:0;padding:var(--sp-4);background:var(--surface);border:1px solid var(--line);border-left-width:3px;border-radius:var(--r-sm)}.ed-version--pending{border-left-color:var(--ink-300)}.ed-version--rendering{border-left-color:var(--accent-500)}.ed-version--completed{border-left-color:var(--success-strong)}.ed-version--failed{border-left-color:var(--danger)}.ed-version__head{display:flex;align-items:center;gap:var(--sp-3);min-width:0}.ed-version__icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;color:var(--accent-600);background:var(--accent-50);border-radius:var(--r-sm)}.ed-version__icon svg{width:17px;height:17px}.ed-version__heading{flex:1;min-width:0}.ed-version__heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2)}.ed-version__heading strong{min-width:0;overflow:hidden;color:var(--ink-900);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap}.ed-version__heading>span{display:block;margin-top:2px;color:var(--ink-500);font-size:var(--text-xs)}.ed-version__attempt{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;padding-left:var(--sp-3);border-left:1px solid var(--line)}.ed-version__attempt span{color:var(--ink-500);font-size:11px}.ed-version__attempt strong{color:var(--ink-900);font-size:var(--text-md)}.ed-version>.ui-progress{width:100%}.ed-version__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:var(--sp-3) 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.ed-version__facts>div{min-width:0;padding:0 var(--sp-3);border-left:1px solid var(--line)}.ed-version__facts>div:first-child{padding-left:0;border-left:0}.ed-version__facts>div:last-child{padding-right:0}.ed-version__facts dt{margin-bottom:2px;color:var(--ink-500);font-size:11px}.ed-version__facts dd{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--ink-900);font-size:var(--text-xs);font-weight:600}.ed-version__captions{display:flex;align-items:center;gap:var(--sp-2);min-width:0}.ed-version__captions>svg{width:17px;height:17px;flex-shrink:0;color:var(--ink-500)}.ed-version__captions>div{display:flex;flex:1;flex-direction:column;min-width:0}.ed-version__captions strong,.ed-version__captions span{overflow-wrap:anywhere}.ed-version__captions strong{color:var(--ink-900);font-size:var(--text-xs)}.ed-version__captions span{color:var(--ink-500);font-size:11px}.ed-version__technical{color:var(--ink-600);font-size:var(--text-xs)}.ed-version__technical summary{width:fit-content;color:var(--ink-700);cursor:pointer}.ed-version__technical-meta{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin-top:var(--sp-2)}.ed-version__technical-meta code{overflow-wrap:anywhere}.ed-version__diagnostic{margin-top:var(--sp-2)}.ed-version__diagnostic pre{max-height:120px;margin:var(--sp-1) 0 0;padding:var(--sp-2);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-version__actions{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);min-width:0}.ed-version__artifacts{display:flex;align-items:center;flex:1;flex-wrap:wrap;gap:var(--sp-2);min-width:0}.ed-version__artifacts .ui-btn span{color:var(--ink-500);font-size:11px}.ed-version__artifacts-empty{color:var(--ink-500);font-size:var(--text-xs)}.ed-view{min-width:0;min-height:0;height:100%}.ed-desktop-only{display:flex;flex-direction:column;gap:var(--sp-2);min-height:0;height:100%}.ed-mobile{display:none}.ed-toolbar{display:flex;align-items:center;gap:var(--sp-3);min-height:54px;padding:var(--sp-2) var(--sp-3);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-toolbar__project{display:flex;align-items:center;gap:var(--sp-2);min-width:0}.ed-toolbar__project>svg{width:19px;height:19px;flex-shrink:0;color:var(--accent-600)}.ed-toolbar__project>div{min-width:0}.ed-toolbar__project h2{overflow:hidden;color:var(--ink-900);font-size:var(--text-md);text-overflow:ellipsis;white-space:nowrap}.ed-toolbar__project span,.ed-toolbar__status time{display:block;color:var(--ink-500);font-size:var(--text-xs);white-space:nowrap}.ed-toolbar__status .studio-save-status{--color-text-muted: var(--ink-600);--color-text: var(--ink-900);--color-danger: var(--danger);--color-success: var(--success)}.ed-toolbar__status{display:flex;align-items:center;gap:var(--sp-2);margin-left:auto}.ed-toolbar__actions{display:flex;align-items:center;gap:var(--sp-2)}.ed-workspace{display:grid;flex:1;grid-template-columns:minmax(180px,.72fr) minmax(260px,1.55fr) minmax(200px,.82fr);gap:var(--sp-2);min-height:0}.ed-panel{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-panel__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);min-height:52px;padding:var(--sp-2) var(--sp-3);border-bottom:1px solid var(--line)}.ed-panel__head>div:first-child{min-width:0}.ed-panel__head h3{color:var(--ink-900);font-size:var(--text-sm)}.ed-panel__head span{display:block;overflow:hidden;color:var(--ink-500);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.ed-panel__head>svg{width:17px;height:17px;flex-shrink:0;color:var(--ink-400)}.ed-captions,.ed-inspector{display:flex;flex-direction:column;min-height:0;height:100%}.ed-captions__list,.ed-inspector__body{flex:1;min-height:0;overflow-y:auto;padding:var(--sp-2)}.ed-captions__list{display:flex;flex-direction:column;gap:var(--sp-2)}.ed-caption-row{content-visibility:auto;contain-intrinsic-size:auto 66px;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);transition:border-color var(--dur) var(--ease),background var(--dur) var(--ease)}.ed-caption-row:hover{border-color:var(--line-strong)}.ed-caption-row--selected{background:var(--accent-50);border-color:var(--accent-500)}.ed-caption-row__head{display:grid;gap:3px;width:100%;min-height:64px;padding:var(--sp-2);color:var(--ink-600);font-size:var(--text-xs);text-align:left}.ed-caption-row__meta{display:flex;align-items:center;gap:var(--sp-1);min-width:0}.ed-caption-row__meta strong{margin-right:auto;color:var(--ink-900);font-size:var(--text-xs)}.ed-caption-row__preview{display:-webkit-box;overflow:hidden;color:var(--ink-700);font-size:var(--text-xs);line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ed-caption-row__head time{color:var(--ink-500);font-size:11px}.ed-stage{display:flex;flex-direction:column;align-items:center;justify-content:stretch;gap:var(--sp-2);min-width:0;min-height:0;padding:var(--sp-2);overflow:hidden;background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-canvas-viewport{display:grid;flex:1;width:100%;min-height:0;place-items:center;overflow:hidden}.ed-canvas{position:relative;width:auto;height:100%;max-width:100%;max-height:100%;overflow:hidden;background:var(--media-surface);border-radius:var(--r-sm);box-shadow:var(--shadow-md);touch-action:none}.ed-canvas>video{width:100%;height:100%;object-fit:contain;pointer-events:none}.ed-preview-state{position:absolute;top:0;right:0;bottom:0;left:0;z-index:calc(var(--z-sticky) + 2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp-3);padding:var(--sp-4);color:var(--accent-contrast);background:#0b0d12b8;font-size:var(--text-sm);text-align:center}.ed-preview-state--loading{pointer-events:none}.ed-preview-state--error{pointer-events:auto}.ed-canvas-layer{position:absolute;display:flex;align-items:stretch;justify-content:stretch;min-width:12px;min-height:12px;border:1px solid transparent;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.ed-canvas-layer:hover,.ed-canvas-layer--selected{border-color:var(--accent-200);box-shadow:0 0 0 1px var(--accent-600)}.ed-canvas-layer--locked{cursor:default}.ed-canvas-layer>img{width:100%;height:100%;object-fit:contain;pointer-events:none}.ed-canvas-text{display:flex;align-items:center;width:100%;overflow:hidden;font-weight:650;line-height:1.15;overflow-wrap:anywhere;white-space:pre-wrap;pointer-events:none}.ed-canvas-text--light{color:var(--accent-contrast);text-shadow:var(--control-shadow)}.ed-canvas-text--dark{color:var(--ink-900);background:var(--surface)}.ed-canvas-text--accent{color:var(--accent-contrast);background:var(--accent-600)}.ed-canvas-layer__resize{position:absolute;right:-9px;bottom:-9px;width:18px;height:18px;background:var(--surface);border:2px solid var(--accent-600);border-radius:50%;cursor:nwse-resize;touch-action:none}.ed-canvas-caption{position:absolute;z-index:var(--z-sticky);left:10%;width:80%;padding:0;display:block;color:var(--accent-contrast);font-weight:500;line-height:1.2;text-align:center;-webkit-text-stroke-width:var(--ed-caption-outline-width, 0px);-webkit-text-stroke-color:var(--ed-caption-outline-color, transparent);paint-order:stroke fill;text-shadow:none;white-space:pre;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;border:0;background:transparent}.ed-canvas-caption__text{padding:var(--ed-caption-box-padding, 0);background:var(--ed-caption-box-background, transparent);box-decoration-break:clone;-webkit-box-decoration-break:clone}button.ed-canvas-caption:hover,button.ed-canvas-caption:focus-visible{outline:1px dashed color-mix(in srgb,var(--accent-contrast) 78%,transparent);outline-offset:6px}.ed-canvas-caption--editing{box-sizing:border-box;min-height:1.5em;overflow:hidden;padding:var(--ed-caption-box-padding, 0);resize:none;color:inherit;background:var(--ed-caption-box-background, transparent);caret-color:var(--accent-contrast);cursor:text;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-user-select:text;user-select:text;outline:2px solid var(--accent-500);outline-offset:5px}.ed-canvas-caption--editing::placeholder{color:color-mix(in srgb,var(--accent-contrast) 72%,transparent);-webkit-text-stroke-width:0}.ed-canvas-caption--invalid{outline-color:var(--danger)}.ed-canvas-caption__error{position:absolute;z-index:calc(var(--z-sticky) + 3);left:50%;bottom:calc(100% + 10px);min-width:max-content;padding:3px 7px;color:var(--accent-contrast);background:var(--danger-strong);border-radius:var(--r-sm);font-size:var(--text-xs);transform:translate(-50%);-webkit-text-stroke-width:0}.ed-canvas-caption--bottom{bottom:8%}.ed-canvas-caption--top{top:8%}.ed-canvas-caption--middle{top:50%;transform:translateY(-50%)}.ed-canvas-caption--font-source-han-sans{font-family:Editor Source Han Sans,sans-serif}.ed-canvas-caption--font-source-han-serif{font-family:"Editor Source Han Serif",serif}.ed-canvas-caption--font-lxgw-wenkai{font-family:Editor LXGW WenKai,serif}.ed-canvas-caption--font-zcool-kuaile{font-family:Editor ZCOOL KuaiLe,sans-serif}.ed-playback{display:grid;grid-template-columns:34px 54px minmax(120px,1fr) 54px;align-items:center;gap:var(--sp-2);width:100%;min-height:38px}.ed-playback__time{color:var(--ink-600);font-size:var(--text-xs);text-align:center;white-space:nowrap}.ed-playback__scrubber,.ed-range{width:100%;accent-color:var(--accent-600);cursor:pointer}.ed-playback__scrubber:disabled,.ed-range:disabled{cursor:not-allowed;opacity:.55}.ed-inspector__body{display:flex;flex-direction:column;gap:var(--sp-3)}.ed-caption-style{display:flex;flex-direction:column;gap:var(--sp-3);padding-top:var(--sp-3);border-top:1px solid var(--line)}.ed-caption-content-settings{display:flex;flex-direction:column;gap:var(--sp-2);padding-top:var(--sp-3);border-top:1px solid var(--line)}.ed-caption-style__title{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-2)}.ed-caption-style__title>div{min-width:0}.ed-caption-style__title strong,.ed-caption-style__title span{display:block}.ed-caption-style__title strong{color:var(--ink-900);font-size:var(--text-sm)}.ed-caption-style__title span{margin-top:var(--sp-1);color:var(--ink-500);font-size:var(--text-xs)}.ed-caption-style__group{display:flex;flex-direction:column;gap:var(--sp-2)}.ed-caption-style__group-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);color:var(--ink-600);font-size:var(--text-xs);font-weight:600}.ed-caption-style__group-head small{color:var(--ink-400);font-size:var(--text-xs);font-weight:500}.ed-caption-style__label{color:var(--ink-600);font-size:var(--text-xs);font-weight:600}.ed-caption-style__empty{margin:0;padding:var(--sp-2);color:var(--ink-500);background:var(--surface-sunken);border:1px dashed var(--line-strong);border-radius:var(--r-sm);font-size:var(--text-xs)}.ed-template-gallery{display:grid;grid-auto-columns:minmax(150px,82%);grid-auto-flow:column;gap:var(--sp-2);overflow-x:auto;padding-bottom:var(--sp-1);scrollbar-width:thin}.ed-template-choice{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:var(--sp-2);min-height:58px;padding:var(--sp-2);color:var(--ink-700);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);cursor:pointer}.ed-template-choice:hover:not(:disabled){background:var(--ink-hover);border-color:var(--line-strong)}.ed-template-choice--selected{border-color:var(--accent-600);box-shadow:inset 0 0 0 1px var(--accent-600)}.ed-template-choice__preview{display:grid;min-width:0;min-height:38px;place-items:center;overflow:hidden;padding:var(--sp-1);background:var(--media-surface);border-radius:var(--r-sm);font-size:8px;line-height:1.2}.ed-template-choice__preview span{max-width:100%;overflow:hidden;padding:2px 3px;paint-order:stroke fill;text-overflow:ellipsis;white-space:nowrap}.ed-template-choice__copy{display:flex;flex-direction:column;gap:2px;min-width:0}.ed-template-choice__copy strong,.ed-template-choice__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-template-choice__copy strong{color:var(--ink-900);font-size:var(--text-xs)}.ed-template-choice__copy small{color:var(--ink-400);font-size:11px}.ed-caption-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-2)}.ed-caption-preset{display:flex;min-width:0;min-height:68px;flex-direction:column;gap:var(--sp-2);align-items:stretch;justify-content:space-between;padding:var(--sp-2);color:var(--ink-600);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);cursor:pointer;font-size:11px}.ed-caption-preset:hover:not(:disabled){background:var(--ink-hover)}.ed-caption-preset--selected{color:var(--accent-700);border-color:var(--accent-600);box-shadow:inset 0 0 0 1px var(--accent-600)}.ed-caption-preset__sample{display:grid;min-height:28px;place-items:center;overflow:hidden;padding:2px;color:var(--accent-contrast);background:var(--media-surface);border-radius:var(--r-sm);font-size:8px;font-weight:600;white-space:nowrap}.ed-caption-size{display:flex;flex-direction:column;gap:var(--sp-1)}.ed-caption-style__advanced{display:flex;flex-direction:column;gap:var(--sp-3);padding:var(--sp-3);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-template-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--sp-2)}.ed-template-row__actions,.ed-caption-actions{display:flex;align-items:center;gap:var(--sp-1);flex-wrap:wrap}.ed-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2)}.ed-color{width:100%;min-width:0;height:34px;padding:2px;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r-sm);cursor:pointer}.ed-color:disabled{cursor:not-allowed;opacity:.55}.ed-caption-actions,.ed-inspector__empty{margin-bottom:var(--sp-1)}.ed-inspector .ui-field{gap:var(--sp-1)}.ed-property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2)}.ed-property-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.ed-number{position:relative}.ed-number .ui-input{width:100%;padding-right:28px;font-variant-numeric:tabular-nums}.ed-number__suffix{position:absolute;top:50%;right:var(--sp-2);color:var(--ink-400);font-size:11px;pointer-events:none;transform:translateY(-50%)}.ed-selected-image{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:var(--sp-2);padding:var(--sp-2);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-selected-image img{width:72px;height:52px;object-fit:contain;background:var(--media-surface);border-radius:var(--r-sm)}.ed-selected-image>div{display:flex;flex-direction:column;min-width:0}.ed-selected-image strong,.ed-selected-image span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-selected-image strong{color:var(--ink-900);font-size:var(--text-sm)}.ed-selected-image span{color:var(--ink-500);font-size:var(--text-xs)}.ed-confidence{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2);color:var(--ink-600);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm);font-size:var(--text-xs)}.ed-timeline{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-timeline__head{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:var(--sp-1) var(--sp-3);border-bottom:1px solid var(--line)}.ed-timeline__head>div{display:flex;align-items:baseline;gap:var(--sp-2)}.ed-timeline__tools{display:flex;align-items:center;gap:var(--sp-1)}.ed-timeline__tools .ui-badge{display:inline-flex;align-items:center;gap:3px}.ed-timeline__tools>.tnum{min-width:34px;color:var(--ink-500);font-size:var(--text-xs);text-align:center}.ed-timeline__head h3{font-size:var(--text-sm)}.ed-timeline__head span{color:var(--ink-500);font-size:var(--text-xs)}.ed-timeline__scroller{overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x}.ed-timeline__ruler-row,.ed-timeline__row{display:grid;grid-template-columns:116px var(--ed-timeline-width, 780px);min-width:calc(116px + var(--ed-timeline-width, 780px))}.ed-timeline__ruler-row{min-height:24px;background:var(--surface-sunken);border-bottom:1px solid var(--line)}.ed-timeline__corner,.ed-timeline__label{position:sticky;z-index:3;left:0;background:var(--surface);border-right:1px solid var(--line)}.ed-timeline__corner{display:flex;align-items:center;padding:0 var(--sp-3);color:var(--ink-400);background:var(--surface-sunken);font-size:11px}.ed-timeline__ruler,.ed-timeline__rail{position:relative;min-width:0;cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none}.ed-caption-action-tip{display:inline-flex;min-width:0}.ed-waveform{position:absolute;top:4px;right:0;bottom:4px;left:0;display:flex;align-items:center;gap:1px;overflow:hidden;pointer-events:none}.ed-waveform i{width:max(1px,calc(100% / 720));min-height:2px;flex:1 0 0;background:var(--accent-200);opacity:.72}.ed-waveform__empty{position:absolute;top:50%;left:var(--sp-2);color:var(--ink-400);font-size:11px;pointer-events:none;transform:translateY(-50%)}.ed-timeline__ruler[data-seeking=true],.ed-timeline__rail[data-seeking=true]{cursor:grabbing}.ed-timeline__tick{position:absolute;top:0;height:100%;color:var(--ink-400);font-size:11px;transform:translate(-1px);pointer-events:none}.ed-timeline__tick i{display:block;width:1px;height:8px;background:var(--line-strong)}.ed-timeline__tick time{position:absolute;top:6px;left:3px;white-space:nowrap}.ed-timeline__tick:last-child time{left:auto;right:3px}.ed-timeline__row{min-height:34px;border-bottom:1px solid var(--line)}.ed-timeline__row:last-child{border-bottom:0}.ed-timeline__label{display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:var(--sp-2);padding:0 var(--sp-3);color:var(--ink-600);font-size:var(--text-xs)}.ed-timeline__label svg{width:15px;height:15px;color:var(--ink-400)}.ed-timeline__label small{color:var(--ink-400);font-size:11px}.ed-timeline__rail{overflow:hidden;background:var(--surface-sunken)}.ed-timeline__rail:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background-image:linear-gradient(to right,var(--line) 1px,transparent 1px);background-size:var(--ed-timeline-grid, 12.5%) 100%;border-left:1px solid var(--line);border-right:1px solid var(--line);pointer-events:none}.ed-timeline__playhead{position:absolute;z-index:2;top:0;bottom:0;width:1px;background:var(--danger);pointer-events:none}.ed-timeline__playhead:before{position:absolute;top:0;left:-4px;width:9px;height:6px;content:"";background:var(--danger);border-radius:0 0 var(--r-sm) var(--r-sm)}.ed-timeline__playhead--ruler{z-index:4}.ed-clip{position:absolute;z-index:1;top:4px;display:flex;align-items:center;min-width:28px;height:26px;overflow:hidden;color:var(--ink-700);background:var(--accent-100);border:1px solid var(--accent-200);border-radius:var(--r-sm);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.ed-clip:active{cursor:grabbing}.ed-clip--text{color:var(--success-strong);background:var(--success-soft);border-color:var(--success-line)}.ed-clip--image{color:var(--warning-strong);background:var(--warning-soft);border-color:var(--warning-line)}.ed-clip--selected{border-color:var(--accent-600);box-shadow:inset 0 0 0 1px var(--accent-600)}.ed-clip__label{flex:1;min-width:0;overflow:hidden;padding:0 var(--sp-2);font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ed-clip__handle{width:12px;height:100%;flex-shrink:0;background:var(--ink-hover);cursor:ew-resize}.ed-clip__handle:hover:not(:disabled){background:var(--accent-200)}.ed-export{display:none}.ed-export--failed{background:var(--danger-soft);border-color:var(--danger-line)}.ed-export--completed{background:var(--success-soft);border-color:var(--success-line)}.ed-export__icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;color:var(--accent-600);background:var(--accent-50);border-radius:var(--r-sm)}.ed-export--completed .ed-export__icon{color:var(--success-strong);background:var(--surface)}.ed-export--failed .ed-export__icon{color:var(--danger);background:var(--surface)}.ed-export__icon svg{width:17px;height:17px}.ed-export__copy{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.ed-export__copy strong{color:var(--ink-900);font-size:var(--text-sm)}.ed-export__copy>span{overflow:hidden;color:var(--ink-500);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.ed-export--failed .ed-export__copy>span{overflow:visible;text-overflow:clip;white-space:normal}.ed-export__technical{max-width:min(720px,60vw);margin-top:var(--sp-2);color:var(--ink-600);font-size:var(--text-xs)}.ed-export__technical summary{width:fit-content;color:var(--ink-700);cursor:pointer}.ed-export__technical div{margin-top:var(--sp-2)}.ed-export__technical pre{max-height:120px;margin:var(--sp-1) 0 0;padding:var(--sp-2);overflow:auto;white-space:pre-wrap;word-break:break-word;background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-export__copy .ui-progress{max-width:320px;margin-top:var(--sp-1)}.ed-export__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--sp-2)}.ed-history-list{display:flex;flex-direction:column;gap:var(--sp-2)}.ed-canvas-settings__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-2);margin-bottom:var(--sp-4)}.ed-canvas-settings__summary>div{display:flex;flex-direction:column;gap:var(--sp-1);min-width:0;padding:var(--sp-3);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-canvas-settings__summary span{color:var(--ink-500);font-size:var(--text-xs)}.ed-canvas-settings__summary strong{overflow:hidden;color:var(--ink-900);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap}.ed-canvas-settings__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2);margin-bottom:var(--sp-3)}.ed-canvas-choice{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:var(--sp-3);min-height:66px;padding:var(--sp-3);color:var(--ink-900);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);transition:border-color var(--dur) var(--ease),background var(--dur) var(--ease)}.ed-canvas-choice:hover,.ed-canvas-choice--selected{background:var(--accent-50);border-color:var(--accent-500)}.ed-canvas-choice:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.ed-canvas-choice__shape{display:block;width:36px;max-height:40px;justify-self:center;background:var(--media-surface);border:1px solid var(--ink-300)}.ed-canvas-choice>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.ed-canvas-choice strong,.ed-canvas-choice small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-canvas-choice strong{font-size:var(--text-sm)}.ed-canvas-choice small{color:var(--ink-500);font-size:var(--text-xs)}.ed-history-item{display:flex;align-items:center;gap:var(--sp-3);min-height:58px;padding:var(--sp-2) var(--sp-3);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm)}.ed-history-item__icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;color:var(--ink-500);background:var(--surface-sunken);border-radius:var(--r-sm)}.ed-history-item__icon svg{width:15px;height:15px}.ed-history-item__copy{display:flex;flex:1;flex-direction:column;min-width:0}.ed-history-item__copy strong,.ed-history-item__copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-history-item__copy strong{color:var(--ink-900);font-size:var(--text-sm)}.ed-history-item__copy span{color:var(--ink-500);font-size:var(--text-xs)}.ed-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-3)}.ed-assets__upload{display:flex;justify-content:flex-end;margin-bottom:var(--sp-3)}.ed-assets__upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ed-asset{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);transition:border-color var(--dur) var(--ease),background var(--dur) var(--ease)}.ed-asset:hover:not(:disabled){background:var(--accent-50);border-color:var(--accent-500)}.ed-asset:disabled{cursor:not-allowed;opacity:.55}.ed-asset__thumb{display:block;width:100%;aspect-ratio:4 / 3;overflow:hidden;background:var(--media-surface)}.ed-asset__thumb img{width:100%;height:100%;object-fit:contain}.ed-asset__copy{display:flex;flex-direction:column;min-width:0;padding:var(--sp-2)}.ed-asset__copy strong,.ed-asset__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-asset__copy strong{color:var(--ink-900);font-size:var(--text-sm)}.ed-asset__copy small{color:var(--ink-500);font-size:var(--text-xs)}.ed-desktop-only{gap:var(--sp-2);overflow:hidden}.ed-toolbar{position:relative;z-index:calc(var(--z-sticky) + 1);height:48px;min-height:48px;flex:0 0 48px;gap:var(--sp-2);padding:var(--sp-1) var(--sp-2)}.ed-toolbar__project{max-width:190px}.ed-toolbar__project h2{font-size:var(--text-sm)}.ed-toolbar__actions{gap:var(--sp-1);min-width:0;white-space:nowrap}.ed-toolbar [data-tip]:after{top:calc(100% + 6px);bottom:auto;transform:translate(-50%) translateY(-2px)}.ed-toolbar [data-tip]:hover:after{transform:translate(-50%) translateY(0)}.ed-workspace{grid-template-columns:208px minmax(280px,1fr) 304px;flex:1 1 0;gap:var(--sp-2);min-height:0;overflow:hidden;transition:grid-template-columns var(--dur) var(--ease)}.ed-desktop-only--caption-nav-collapsed .ed-workspace{grid-template-columns:44px minmax(260px,1fr) 304px}.ed-panel__head{min-height:40px;height:40px;flex:0 0 40px;padding:var(--sp-1) var(--sp-2)}.ed-panel__head h3{font-size:var(--text-xs)}.ed-captions__list{gap:var(--sp-1);padding:var(--sp-1);overscroll-behavior-y:contain;scrollbar-width:thin}.ed-captions__tools{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:var(--sp-1);min-height:36px;flex:0 0 36px;padding:4px 6px;border-bottom:1px solid var(--line)}.ed-captions__search-wrap{position:relative;display:flex;align-items:center;min-width:0}.ed-captions__search-wrap>svg{position:absolute;left:7px;width:13px;height:13px;color:var(--ink-400);pointer-events:none}.ed-captions__search{width:100%;height:27px;min-width:0;padding:0 7px 0 25px;color:var(--ink-900);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm);outline:0;font-size:11px}.ed-captions__search:focus{background:var(--surface);border-color:var(--accent-500);box-shadow:0 0 0 2px var(--accent-100)}.ed-captions__filter--active{color:var(--accent-700);background:var(--accent-100)}.ed-caption-row__head{gap:2px;min-height:52px;padding:6px}.ed-caption-row__preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-captions--collapsed .ed-panel__head{justify-content:center;padding-inline:0}.ed-captions--collapsed .ed-panel__head>div,.ed-captions--collapsed .ed-captions__tools,.ed-captions--collapsed .ed-captions__list{display:none}.ed-stage{gap:var(--sp-1);padding:var(--sp-1)}.ed-playback{min-height:34px;flex:0 0 34px}.ed-inspector--caption{display:grid;grid-template-rows:40px 145px 36px minmax(0,1fr);min-height:0}.ed-inspector--layer{display:flex;flex-direction:column}.ed-inspector--layer .ed-inspector__body{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}.ed-caption-current{display:grid;grid-template-rows:auto 42px minmax(0,1fr);gap:6px;min-height:0;padding:7px 9px;overflow:hidden;border-bottom:1px solid var(--line)}.ed-caption-current__head,.ed-caption-current__head>div:first-child,.ed-caption-current__quality{display:flex;align-items:center;min-width:0}.ed-caption-current__head{justify-content:space-between;gap:var(--sp-1)}.ed-caption-current__head>div:first-child{gap:var(--sp-1)}.ed-caption-current__head strong{overflow:hidden;color:var(--ink-900);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.ed-caption-current__quality{justify-content:flex-end;gap:3px;overflow:hidden;color:var(--ink-500);font-size:11px;white-space:nowrap}.ed-caption-current>.ui-textarea{height:42px;min-height:42px;padding:5px 8px;resize:none;font-size:var(--text-xs);line-height:1.35}.ed-caption-current__controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:6px;min-height:0}.ed-caption-current__controls .ui-field{gap:2px}.ed-caption-current__controls .ui-field__label{font-size:11px}.ed-caption-current__controls .ui-input{height:28px;padding-inline:7px 24px;font-size:var(--text-xs)}.ed-caption-current__controls .ed-caption-actions{flex-wrap:nowrap;margin:0}.ed-caption-current__empty{display:flex;grid-row:2 / -1;align-items:center;justify-content:space-between;gap:var(--sp-2);color:var(--ink-500);font-size:var(--text-xs)}.ed-inspector-tabs.studio-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;padding:2px 7px;background:var(--surface-sunken);border-bottom:1px solid var(--line)}.ed-inspector-tabs.studio-tabs>button{min-width:0;min-height:0;height:100%;padding-inline:8px;font-size:var(--text-xs)}.ed-inspector-pages,.ed-inspector-page{min-height:0;overflow:hidden}.ed-inspector-page{height:100%}.ed-inspector-page[hidden]{display:none}.ed-inspector-page:not([hidden]){display:block}.ed-inspector-page .ed-caption-style{height:100%;gap:7px;padding:7px 9px;overflow-y:auto;overscroll-behavior:contain;border-top:0}.ed-inspector-page .ed-caption-style__title{align-items:center}.ed-inspector-page .ed-caption-style__title strong{font-size:var(--text-xs)}.ed-inspector-page .ed-caption-style__title span{margin-top:1px;font-size:11px;line-height:1.2}.ed-inspector-page .ed-caption-style__group{gap:4px}.ed-inspector-page .ed-caption-style__group-head,.ed-inspector-page .ed-caption-style__label,.ed-inspector-page .ui-field__label{font-size:11px}.ed-inspector-page .ui-field{gap:3px}.ed-inspector-page .ui-input,.ed-inspector-page .ui-select{height:28px;font-size:var(--text-xs)}.ed-inspector-page .ui-input{padding-inline:7px 24px}.ed-inspector-page .ui-select{padding-inline:7px 24px;background-position:right 7px center}.ed-inspector-page .studio-segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.ed-inspector-page .studio-segmented>button{min-width:0;padding:4px}.ed-inspector-page .ui-checkbox{gap:5px;font-size:var(--text-xs);line-height:1.3}.ed-inspector-page .ui-checkbox input{width:14px;height:14px;margin-top:0}.ed-caption-style__compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}.ed-color-control{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:6px}.ed-color-control output{overflow:hidden;color:var(--ink-500);font-size:11px;text-overflow:ellipsis}.ed-inspector-page .ed-color{height:28px}.ed-caption-presets{gap:6px}.ed-caption-preset{min-height:48px;gap:4px;padding:5px}.ed-caption-preset__sample{min-height:22px}.ed-caption-size{gap:2px}.ed-caption-effect-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:5px;min-height:45px;padding-top:15px}.ed-caption-style--fine{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px 8px}.ed-caption-style--fine>.ed-caption-style__title,.ed-caption-style--fine>.ed-caption-content-settings{grid-column:1 / -1}.ed-caption-style--fine .ed-property-grid,.ed-caption-style--fine .ed-color-grid{gap:5px}.ed-caption-fine-toggle{display:flex;align-items:center;min-width:0;padding-top:15px}.ed-caption-style--fine>.ed-caption-fine-toggle{min-height:46px}.ed-caption-content-settings{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:6px 7px;border:1px solid var(--line);border-radius:var(--r-sm)}.ed-caption-content-settings .ed-caption-style__title span{display:none}.ed-caption-style--templates{align-content:start}.ed-template-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:6px;overflow:hidden;padding-bottom:0}.ed-template-choice{grid-template-columns:48px minmax(0,1fr);gap:6px;min-height:52px;padding:5px}.ed-template-choice__preview{min-height:34px}.ed-caption-style--templates>.ui-btn:last-child{align-self:flex-start}.ed-timeline{height:130px;min-height:0;flex:0 0 130px;transition:height var(--dur) var(--ease),flex-basis var(--dur) var(--ease)}.ed-timeline__head{height:34px;min-height:34px;padding:0 var(--sp-2)}.ed-timeline__scroller{height:calc(100% - 34px);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.ed-timeline__scroller::-webkit-scrollbar{height:7px}.ed-timeline__ruler-row{min-height:20px;height:20px}.ed-timeline__row{min-height:23px;height:23px}.ed-timeline__tick time{top:4px}.ed-timeline__label{gap:var(--sp-1);padding-inline:var(--sp-2);font-size:11px}.ed-clip{top:3px;height:17px}.ed-clip__handle{width:10px}.ed-timeline--collapsed{height:34px;flex-basis:34px}.ed-timeline--collapsed .ed-timeline__head{border-bottom:0}.ed-timeline--collapsed .ed-timeline__scroller{display:none}.ed-export-menu{position:relative;min-width:0;flex:0 1 142px}.ed-export-menu__trigger{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:5px;height:28px;min-width:0;padding:0 8px;color:var(--ink-700);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-sm);cursor:pointer;font-size:var(--text-xs);text-align:left}.ed-export-menu__trigger svg{width:14px;height:14px}.ed-export-menu__trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-export-menu__trigger small{display:none}.ed-export-menu--completed>.ed-export-menu__trigger{color:var(--success-strong);background:var(--success-soft);border-color:var(--success-line)}.ed-export-menu--failed>.ed-export-menu__trigger{color:var(--danger-strong);background:var(--danger-soft);border-color:var(--danger-line)}.ed-export-menu--open>.ed-export-menu__trigger{border-color:var(--accent-500)}.ed-export-menu__popover{position:absolute;z-index:calc(var(--z-sticky) + 2);top:calc(100% + 6px);right:0;display:grid;gap:var(--sp-2);width:min(390px,calc(100vw - 24px));max-height:min(480px,calc(100vh - 76px));padding:var(--sp-3);overflow-y:auto;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r-md);box-shadow:var(--shadow-lg)}.ed-export-menu__copy{display:flex;flex-direction:column;gap:4px;min-width:0}.ed-export-menu__copy strong{color:var(--ink-900);font-size:var(--text-sm)}.ed-export-menu__copy>span{color:var(--ink-500);font-size:var(--text-xs);overflow-wrap:anywhere}.ed-export-menu__copy .ui-progress{margin-top:var(--sp-1)}.ed-export-menu__actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:var(--sp-2)}.ed-export-menu .ed-export__technical{max-width:100%}@media(min-width:721px)and (max-width:1400px){.ed-toolbar__project{max-width:150px}.ed-toolbar__status time{display:none}.ed-toolbar__actions .ui-btn--sm{padding-inline:7px}.ed-export-menu{flex-basis:116px}}@media(min-width:721px)and (max-width:1180px){.ed-workspace{grid-template-columns:176px minmax(0,1fr) 280px}.ed-desktop-only--caption-nav-collapsed .ed-workspace{grid-template-columns:44px minmax(0,1fr) 280px}.ed-captions--collapsed .ed-panel__head{justify-content:center;padding-inline:0}.ed-toolbar__project{max-width:150px}.ed-toolbar__status time{display:none}}@media(min-width:721px)and (max-height:700px){.ed-timeline{height:112px;flex-basis:112px}.ed-timeline--collapsed{height:34px;flex-basis:34px}.ed-timeline__ruler-row{min-height:16px;height:16px}.ed-timeline__row{min-height:17px;height:17px}.ed-clip{top:2px;height:13px}.ed-inspector--caption{grid-template-rows:36px 130px 34px minmax(0,1fr)}.ed-inspector--caption>.ed-panel__head{height:36px;min-height:36px;flex-basis:36px}.ed-caption-current{grid-template-rows:auto 36px minmax(0,1fr);gap:4px;padding-block:5px}.ed-caption-current>.ui-textarea{height:36px;min-height:36px}}@media(max-width:900px){.ed-toolbar{align-items:flex-start;flex-wrap:wrap;height:auto;min-height:48px;flex-basis:auto}.ed-toolbar__status{margin-left:0}.ed-toolbar__actions{width:100%;justify-content:flex-end;overflow-x:auto;border-top:1px solid var(--line);padding-top:var(--sp-2)}}@media(max-width:720px){.ed-canvas-settings__summary,.ed-canvas-settings__options{grid-template-columns:1fr}.ed-desktop-only{display:none}.ed-mobile{display:flex;flex-direction:column;gap:var(--sp-3)}.ed-mobile__title{display:flex;align-items:center;gap:var(--sp-2);min-width:0}.ed-mobile__title svg{width:18px;height:18px;flex-shrink:0;color:var(--accent-600)}.ed-mobile__title strong{overflow:hidden;color:var(--ink-900);font-size:var(--text-md);text-overflow:ellipsis;white-space:nowrap}.ed-mobile__video{background:var(--media-surface);border-radius:var(--r-sm)}.ed-mobile__downloads{display:flex;flex-direction:column;gap:var(--sp-2)}.ed-version{padding:var(--sp-3)}.ed-version__head{align-items:flex-start}.ed-version__facts{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:var(--sp-3)}.ed-version__facts>div:nth-child(3){padding-left:0;border-left:0}.ed-version__captions{align-items:flex-start}.ed-version__actions{align-items:stretch;flex-direction:column}.ed-version__artifacts{width:100%}.ed-version__artifacts .ui-btn{flex:1 1 auto}}@media(prefers-reduced-motion:reduce){.ed-caption-row,.ed-asset{transition:none}}.ed-view{background:var(--paper)}.ed-toolbar{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding-inline:0}.ed-toolbar__project{flex:1;min-width:80px}.ed-toolbar__actions{flex-shrink:0;margin-left:auto}.ed-toolbar__status{margin-left:0}.ed-stage,.ed-canvas-viewport{background:#171816}.ed-stage{border-color:transparent;border-radius:var(--r-md)}.ed-playback{color:#eceee9;--ink-600: #c7cec1;--ink-900: #f6f8f3;--ink-500: #b1b9a9;--ink-hover: rgb(255 255 255 / .1);--accent-600: #c5df9d}.ed-canvas-layer:has(.ed-canvas-text){display:block}.ed-canvas-text{display:block;overflow:visible;font-family:Editor Source Han Sans,sans-serif;font-weight:400;line-height:1.2;white-space:pre;overflow-wrap:normal;text-shadow:none;background:transparent}.ed-canvas-text--light{color:#fff}.ed-canvas-text--dark{color:#1c1b18}.ed-canvas-text--accent{color:#4754d4}.ed-more{position:relative}.ed-more>summary{display:grid;place-items:center;width:32px;height:32px;cursor:pointer;list-style:none;border-radius:var(--r-sm)}.ed-more>summary::-webkit-details-marker{display:none}.ed-more>summary:hover,.ed-more[open]>summary{background:var(--ink-hover)}.ed-more__panel{position:absolute;right:0;top:calc(100% + 8px);z-index:50;display:grid;gap:4px;width:180px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-md)}.ed-more__panel .ui-btn{justify-content:flex-start}.ed-export-progress{display:flex;align-items:center;gap:6px;width:96px;font-size:var(--text-xs)}.ed-export-progress>:first-child{flex:1}.ed-history__actions{display:flex;justify-content:flex-end;padding-block:16px}.ed-history .ed-version-list{margin-top:16px}@media(min-width:721px)and (max-width:1100px){.ed-toolbar__status .studio-save-status{max-width:110px}.ed-toolbar__project{max-width:135px}}.ed-inspector--caption{grid-template-rows:40px 177px 36px minmax(0,1fr)}.ed-caption-current{grid-template-rows:auto 42px auto}.ed-caption-current__controls{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-caption-current__controls .ed-caption-actions{grid-column:1 / -1;justify-content:flex-end}.ed-caption-preset__sample{background:#252a23;border-radius:4px;padding:3px}.ed-caption-effect-toggles{grid-column:1 / -1;padding-top:0}.ed-version__details{color:var(--ink-600)}.ed-version__details>summary{cursor:pointer;font-size:var(--text-xs)}@media(max-width:900px)and (min-width:721px){.ed-toolbar__actions{width:auto;padding-top:0;border-top:0;overflow:visible}.ed-toolbar__status{font-size:var(--text-xs)}}.pp-home{display:grid;gap:var(--sp-6);padding:var(--sp-3) 0}.pp-home__header,.pp-home__section-title,.pp-home__row{display:flex;align-items:center}.pp-home__actions{display:flex;gap:var(--sp-2);align-items:center}.pp-home__header,.pp-home__section-title{justify-content:space-between;gap:var(--sp-4)}.pp-home__header p{margin:0 0 var(--sp-1);color:var(--accent-700);font-size:var(--text-xs);font-weight:600}.pp-home__header h1,.pp-home__section-title h2{margin:0;letter-spacing:0}.pp-home__header h1{font-size:var(--text-2xl)}.pp-home__section-title h2{font-size:var(--text-lg)}.pp-home__header span,.pp-home__section-title span,.pp-home__row-copy span{color:var(--ink-500);font-size:var(--text-sm)}.pp-home__section{display:grid;gap:var(--sp-3)}.pp-home__search{display:flex;align-items:center;gap:var(--sp-4);padding-block:var(--sp-4);border-block:1px solid var(--line)}.pp-home__search>.ui-search{width:min(100%,380px)}.pp-home__search>span{margin-left:auto;color:var(--ink-500);font-size:var(--text-xs)}.pp-home__rows{overflow:hidden;border-top:1px solid var(--line);background:transparent}.pp-home__row{min-height:88px;gap:var(--sp-3);padding:var(--sp-4) 0;border-bottom:1px solid var(--line)}.pp-home__row:hover{background:color-mix(in srgb,var(--surface) 70%,transparent)}.pp-home__row-icon{display:grid;width:56px;height:64px;flex:0 0 56px;place-items:center;border-radius:var(--r-sm);background:var(--surface-sunken);color:var(--accent-700)}.pp-home__row-icon svg{width:18px;height:18px}.pp-home__row-icon--source{background:var(--surface-sunken);color:var(--ink-600)}.pp-home__row-copy{display:grid;min-width:0;flex:1;gap:3px}.pp-home__row-copy strong,.pp-home__row-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pp-home__skeletons{display:grid;gap:var(--sp-2)}@media(max-width:720px){.pp-home{padding:var(--sp-2) 0}.pp-home__header{align-items:flex-start}.pp-home__actions{flex-wrap:wrap;justify-content:flex-end}.pp-home__row{align-items:flex-start;flex-wrap:wrap}.pp-home__row-copy{min-width:calc(100% - 72px)}.pp-home__search{flex-wrap:wrap;gap:var(--sp-2)}.pp-home__search>span{margin-left:0}}.pp-guide-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(--z-toast) + 1);pointer-events:none}.pp-guide-spotlight{position:fixed;border:2px solid var(--accent-600);border-radius:var(--r-md);box-shadow:0 0 0 9999px var(--overlay),var(--shadow-lg);pointer-events:none;transition:top var(--dur-slow) var(--ease),left var(--dur-slow) var(--ease),width var(--dur-slow) var(--ease),height var(--dur-slow) var(--ease)}.pp-guide-coach{position:fixed;right:var(--sp-5);bottom:var(--sp-5);width:min(390px,calc(100vw - var(--sp-8)));padding:var(--sp-5);border:1px solid var(--line-strong);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-lg);color:var(--ink-900);pointer-events:auto}.pp-guide-coach__head,.pp-guide-coach__title,.pp-guide-coach__actions{display:flex;align-items:center}.pp-guide-coach__head{justify-content:space-between;gap:var(--sp-3);margin-bottom:var(--sp-3)}.pp-guide-coach__title{min-width:0;gap:var(--sp-3)}.pp-guide-coach__icon{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;border-radius:var(--r-md);background:var(--accent-soft);color:var(--accent-700)}.pp-guide-coach__icon svg{width:19px;height:19px}.pp-guide-coach__title span{color:var(--ink-500);font-size:var(--text-xs)}.pp-guide-coach__title h2{margin:var(--sp-1) 0 0;font-size:var(--text-md);letter-spacing:0}.pp-guide-coach p{margin:var(--sp-4) 0 var(--sp-2);color:var(--ink-600);font-size:var(--text-sm);line-height:1.65}.pp-guide-coach__instruction{display:block;margin-bottom:var(--sp-3);font-size:var(--text-sm);line-height:1.55}.pp-guide-coach__actions{justify-content:flex-end;gap:var(--sp-2);margin-top:var(--sp-4)}@media(max-width:720px){.pp-guide-coach{right:var(--sp-3);bottom:var(--sp-3);width:calc(100vw - var(--sp-6));max-height:min(48vh,360px);overflow-y:auto;padding:var(--sp-4)}}:root{--ink: var(--color-text);--muted: var(--color-text-muted);--line: var(--color-border);--line-strong: var(--color-border-strong);--paper: var(--color-canvas);--surface: var(--color-surface);--surface-soft: var(--color-surface-soft);--acid: var(--color-accent);--acid-soft: var(--color-accent-soft);--acid-strong: #cbd7b9;--mint: #a9d8c3;--coral: #ed9c84;--sand: #dfd1b8;--warning: var(--color-warning);--success: var(--color-success);--shadow: 0 8px 28px rgb(40 43 36 / 6%);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 18px;--color-text: #282b24;--color-text-muted: #6f7466;--color-border: #dddfd5;--color-border-strong: #bdc5b1;--color-canvas: #f6f5f0;--color-surface: #fffefa;--color-surface-soft: #eeeee5;--color-accent: #dce3d0;--color-accent-soft: #eef1e7;--color-success: #28865d;--color-warning: #f0bd53;--color-danger: #b6424b;--text-xs: 12px;--text-sm: 13px;--text-md: 14px;--text-lg: 16px;--control-height-sm: 36px;--control-height-md: 40px;--control-height-lg: 44px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--radius-control: 6px;--radius-panel: 12px;--radius-pill: 999px;--workbench-toolbar-height: 52px;--color-focus: #586543;--motion-fast: .14s;--motion-normal: .2s;--motion-ease: cubic-bezier(.2, .7, .2, 1);--color-action: var(--ink);--color-action-hover: #2a2d28;--color-on-action: #ffffff;--color-danger-strong: #962b35;--color-danger-soft: #fae9eb;--color-danger-soft-hover: #f5d9df;--color-overlay: rgb(32 37 29 / 38%);--dialog-gutter: 24px;--dialog-shadow: 0 28px 90px rgb(28 33 27 / 21%)}.studio-tabs{display:flex;flex:none;align-items:center;min-width:0;gap:4px;padding:2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.studio-tabs>button{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:7px;min-height:var(--control-height-sm);padding:0 13px;border:1px solid transparent;border-radius:var(--radius-control);background:transparent;color:var(--color-text-muted);font:inherit;font-size:var(--text-sm);font-weight:500;white-space:nowrap;cursor:pointer}.studio-tabs>button:hover:not(:disabled){background:var(--color-surface-soft);color:var(--color-text)}.studio-tabs>button[aria-selected=true]{background:var(--color-accent-soft);color:var(--color-focus);font-weight:650}.studio-tabs__count{padding:1px 5px;border-radius:var(--radius-pill);background:var(--color-surface-soft);color:var(--color-text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.studio-tabs>button[aria-selected=true] .studio-tabs__count{color:inherit;background:#35412514}.studio-segmented{display:inline-flex;min-width:0;gap:2px;padding:3px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-soft)}.studio-segmented>button{min-height:var(--control-height-sm);padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--color-text-muted);font:inherit;font-size:var(--text-xs);font-weight:600;white-space:nowrap;cursor:pointer}.studio-segmented>button:hover:not(:disabled){color:var(--color-text)}.studio-segmented>button[aria-pressed=true]{background:var(--color-surface);color:var(--color-text);box-shadow:0 2px 8px #14161217}:is(.studio-tabs,.studio-segmented)>button:disabled{opacity:.45;cursor:not-allowed}:is(.studio-tabs,.studio-segmented)>button:focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px}.studio-inline-notice{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:12px 14px;border:1px solid var(--color-border);border-radius:var(--radius-control);color:var(--color-text);background:var(--color-surface-soft);font-size:var(--text-sm);line-height:1.6;overflow-wrap:anywhere}.studio-inline-notice[data-tone=warning]{border-color:#ead496;background:#fff8df;color:#544315}.studio-inline-notice[data-tone=danger]{border-color:#e5b7b1;background:#fff1ed;color:#6e2e24}.studio-inline-notice__icon{display:inline-flex;flex:none;margin-top:2px}.studio-inline-notice__icon svg{width:16px;height:16px}.studio-inline-notice__copy{flex:1;min-width:0}.studio-inline-notice__copy>strong{display:block;margin-bottom:3px;font-weight:600}.studio-inline-notice__copy>p{margin:0}.studio-inline-notice__copy>p+p,.studio-inline-notice__copy>p+button{margin-top:8px}.studio-inline-notice__action{flex:none;align-self:center}.ui-btn[aria-busy=true] .studio-feedback-spinner{border-color:currentColor;border-right-color:transparent}.studio-notification-viewport{position:fixed;z-index:var(--z-toast, 1500);left:50%;top:max(16px,env(safe-area-inset-top));transform:translate(-50%);display:flex;flex-direction:column;gap:8px;width:min(420px,calc(100vw - 36px));max-height:min(320px,40dvh);overflow-y:auto;overscroll-behavior:contain;pointer-events:none}.studio-notification{--color-focus: var(--color-accent);display:flex;align-items:center;gap:12px;min-width:0;flex:none;padding:12px;border:1px solid rgb(255 255 255 / 70%);border-radius:13px;background:#1b1d18f5;box-shadow:0 18px 54px #00000038;color:#fff;pointer-events:auto;animation:studio-notice-in var(--motion-normal) var(--motion-ease)}.studio-notification__icon{display:flex;flex:none}.studio-notification__icon svg{width:18px;height:18px}.studio-notification__copy{display:grid;flex:1;min-width:0;gap:4px;overflow-wrap:anywhere}.studio-notification__copy strong{font-size:var(--text-sm);font-weight:600;line-height:1.5}.studio-notification__copy>span{color:#d9ddd3;font-size:var(--text-xs);line-height:1.5}.studio-notification__action{flex:none}.studio-notification a{display:inline-flex;align-items:center;min-height:36px;color:#d5ec68;font-size:var(--text-sm);font-weight:600;text-decoration:none;pointer-events:auto}.studio-notification a:hover{text-decoration:underline;text-underline-offset:3px}.studio-notification>button{flex:none;width:36px;height:36px;border:1px solid rgb(255 255 255 / 24%);border-radius:var(--radius-control);color:#fff;background:transparent;font:inherit;font-size:18px;cursor:pointer;pointer-events:auto}.studio-notification>button:hover{background:#ffffff1f}.studio-notification :is(a,button):focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.studio-notification[data-tone=error] .studio-notification__copy strong,.studio-notification[data-tone=error] .studio-notification__icon{color:#ffb3a6}.studio-notification[data-tone=warning] .studio-notification__copy strong{color:#f2d383}.studio-notification[data-exiting=true]{animation:studio-notice-out var(--motion-normal) var(--motion-ease) both}.studio-notification[data-exiting=true] :is(a,button){pointer-events:none}@keyframes studio-notice-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes studio-notice-out{0%{opacity:1}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.studio-notification,.studio-notification[data-exiting=true]{animation:none}}@media(max-width:600px){.studio-inline-notice{flex-wrap:wrap}.studio-inline-notice__action{margin-left:auto}}.studio-file-picker{min-width:0;border:1px dashed var(--color-border-strong);border-radius:var(--radius-panel);padding:12px;background:var(--color-surface)}.studio-file-picker[data-dragging=true]{border-color:var(--color-focus);background:var(--color-accent-soft);box-shadow:0 0 0 2px var(--color-focus)}.studio-file-picker[data-disabled]{opacity:.65}.studio-file-picker__input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-file-picker__choose{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:72px;padding:12px;border:0;background:transparent;color:var(--color-text);font:inherit;text-align:left;cursor:pointer}.studio-file-picker__choose>span:first-child{font-size:24px;color:var(--color-text-muted)}.studio-file-picker__choose strong{display:block;font-size:var(--text-sm);font-weight:600}.studio-file-picker__choose small,.studio-file-picker__hint{display:block;margin-top:6px;color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.6}.studio-file-picker__choose:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px;border-radius:var(--radius-control)}.studio-file-picker__choose:disabled{cursor:not-allowed}.studio-state-message{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 20px;text-align:center;color:var(--color-text-muted);line-height:1.7}.studio-state-message__icon{display:grid;place-items:center;color:var(--color-text-muted)}.studio-state-message__icon svg{width:28px;height:28px}.studio-state-message__copy{min-width:0}.studio-state-message__copy>strong{display:block;color:var(--color-text);font-size:var(--text-md);font-weight:600}.studio-state-message__copy>p{margin:6px 0 0;font-size:var(--text-sm)}.studio-state-message__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.studio-state-message[data-compact]{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;padding:12px 0;text-align:left;gap:10px}.studio-state-message[data-compact] .studio-state-message__copy>strong{font-size:var(--text-sm);font-weight:500}.studio-state-message[data-kind=error] .studio-state-message__copy>strong{color:var(--color-danger)}.studio-feedback-spinner{flex:none;display:inline-block;width:18px;height:18px;border:2px solid var(--color-border);border-top-color:var(--color-text-muted);border-radius:50%;animation:studio-saving .9s linear infinite}.studio-task-feedback{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 18px;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface-soft)}.studio-task-feedback__icon{flex:none}.studio-task-feedback__body{flex:1;min-width:0}.studio-task-feedback__heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px}.studio-task-feedback__heading>p{margin:0;color:var(--color-text);font-size:var(--text-sm);font-weight:600;line-height:1.7}.studio-task-feedback__detail{color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.6}.studio-task-feedback__heading+*{margin-top:10px}.studio-task-feedback[data-tone=danger]{border-color:var(--color-danger)}.studio-task-feedback[data-tone=success]{border-color:var(--color-border)}@media(prefers-reduced-motion:reduce){.studio-feedback-spinner{animation:none}}.studio-switcher-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:36px;padding:8px 10px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:transparent;color:var(--color-text);font:inherit;font-size:var(--text-xs);cursor:pointer}.studio-switcher-trigger:hover{background:var(--color-surface-soft)}.studio-switcher-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;display:grid;place-items:center;padding:var(--dialog-gutter);background:var(--color-overlay)}.studio-switcher-dialog{width:min(480px,100%)}.studio-switcher-dialog .studio-dialog-frame__body{padding:8px 20px 20px}.studio-destinations{display:grid;gap:10px}.studio-destination{display:flex;align-items:center;gap:14px;min-width:0;padding:18px 14px;border:1px solid var(--color-border);border-radius:var(--radius-panel);color:var(--color-text);background:var(--color-surface);text-decoration:none}.studio-destination[aria-current]{background:var(--color-surface-soft)}.studio-destination[href]:hover{background:var(--color-accent-soft);border-color:var(--color-focus)}.studio-destination-mark{display:grid;place-items:center;width:38px;height:42px;flex-shrink:0;border-radius:10px;background:var(--color-text);color:var(--color-accent);font-size:22px;font-weight:650}.studio-destination strong,.studio-destination small{display:block}.studio-destination strong{font-size:var(--text-md);font-weight:650}.studio-destination small{margin-top:5px;color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.6}.studio-destination-action{margin-left:auto;flex-shrink:0;font-size:var(--text-xs);color:var(--color-text-muted)}.studio-switcher-hint{color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.6}.studio-account-identity{display:inline-flex;align-items:center;min-width:0;gap:10px}.studio-account-avatar{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:var(--color-surface-soft);color:var(--color-text);font-size:var(--text-xs);font-weight:650}.studio-account-copy{display:grid;min-width:0;gap:3px;text-align:left}.studio-account-copy strong{font-size:var(--text-sm);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-account-copy small{color:var(--color-text-muted);font-size:var(--text-xs)}.studio-credit-balance{display:inline-flex;align-items:center;gap:7px;color:var(--color-text-muted);font-size:var(--text-xs);white-space:nowrap}.studio-credit-balance strong{color:var(--color-text);font-weight:650;font-variant-numeric:tabular-nums}.studio-credit-balance[data-error] strong{color:var(--color-danger)}.studio-save-status{display:inline-flex;align-items:center;gap:7px;font-size:var(--text-xs);color:var(--color-text-muted);white-space:nowrap}.studio-save-status>i{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:currentColor}.studio-save-status[data-state=saved]>i{background:var(--color-success)}.studio-save-status:is([data-state=failed],[data-state=offline],[data-state=conflict]){color:var(--color-danger)}.studio-save-status[data-state=saving]>i{width:10px;height:10px;border:1.5px solid var(--color-border);border-top-color:var(--color-text);background:transparent;animation:studio-saving .9s linear infinite}:is(.studio-switcher-trigger,.studio-destination,.studio-credit-trigger):focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}@keyframes studio-saving{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.studio-save-status[data-state=saving]>i{animation:none}}:is(.button,.ui-btn){display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-height-md);padding:0 14px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-text);font:inherit;font-size:var(--text-sm);font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--motion-fast) var(--motion-ease),border-color var(--motion-fast) var(--motion-ease),box-shadow var(--motion-fast) var(--motion-ease)}.button{min-height:var(--control-height-lg);padding-inline:18px;font-size:var(--text-md)}:is(.button,.ui-btn):hover:not(:disabled):not([aria-disabled=true]){background:var(--color-surface-soft);border-color:var(--color-border-strong)}:is(.button,.ui-btn):focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}:is(.button-primary,.ui-btn--primary){background:var(--color-action);color:var(--color-on-action);border-color:transparent;box-shadow:0 5px 14px #1718171f}:is(.button-primary,.ui-btn--primary):hover:not(:disabled):not([aria-disabled=true]){background:var(--color-action-hover);border-color:transparent}.ui-btn--ghost{background:transparent;border-color:transparent;color:var(--color-text-muted)}.ui-btn--danger{background:var(--color-danger);color:var(--color-on-action);border-color:transparent}.ui-btn--danger:hover:not(:disabled){background:var(--color-danger-strong);border-color:transparent}.ui-btn--danger-soft{background:var(--color-danger-soft);color:var(--color-danger-strong);border-color:transparent}.ui-btn--danger-soft:hover:not(:disabled){background:var(--color-danger-soft-hover)}.ui-btn--sm{min-height:var(--control-height-sm);padding-inline:10px;font-size:var(--text-xs)}.ui-btn--lg{min-height:var(--control-height-lg);padding-inline:20px;font-size:var(--text-md)}:is(.button-full,.ui-btn--block){width:100%}:is(.button,.ui-btn):is(:disabled,[aria-disabled=true]){opacity:.55;cursor:not-allowed;box-shadow:none}.studio-dialog-surface{max-height:calc(100dvh - var(--dialog-gutter) * 2);border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface);color:var(--color-text);box-shadow:var(--dialog-shadow)}.studio-dialog-frame{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.studio-dialog-frame__head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--color-border)}.studio-dialog-frame__head>div{min-width:0}.studio-dialog-frame__head h2{margin:0;font-size:18px;font-weight:650;line-height:1.4}.studio-dialog-frame__head p{margin:4px 0 0;color:var(--color-text-muted);font-size:var(--text-xs)}.studio-dialog-frame__head>button{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:8px;border:0;border-radius:var(--radius-control);background:var(--color-surface-soft);color:inherit;cursor:pointer}.studio-dialog-frame__head>button svg{width:18px;height:18px}.studio-dialog-frame__head>button:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.studio-dialog-frame__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.studio-dialog-frame__foot{display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:14px 22px;border-top:1px solid var(--color-border)}.studio-collection{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;gap:16px}.studio-collection__toolbar,.studio-collection__footer{flex:none;min-width:0}.studio-collection__results{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px;margin:-3px}.studio-library-toolbar{display:flex;flex-direction:column;min-width:0;gap:8px}.studio-library-toolbar__row,.studio-library-toolbar__tools,.studio-library-toolbar__actions{display:flex;align-items:center;flex-wrap:wrap;min-width:0;gap:10px}.studio-library-toolbar__row{justify-content:space-between}.studio-library-toolbar__tools{flex:1}.studio-library-toolbar__tools>.studio-search{flex:1}.studio-library-toolbar__description{margin:0;color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.6}.studio-search{display:flex;align-items:center;min-width:0;gap:8px;min-height:var(--control-height-md);padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-text-muted)}.studio-search:focus-within{outline:2px solid var(--color-focus);outline-offset:2px}.studio-search>svg{flex:none}.studio-search input{width:100%;min-width:0;padding:8px 0;border:0;outline:none;box-shadow:none;background:transparent;color:var(--color-text);font:inherit;font-size:var(--text-sm)}.studio-search input::-webkit-search-cancel-button{display:none}.studio-search input::placeholder{color:var(--color-text-muted)}.studio-search>button{flex:none;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;font-size:20px;cursor:pointer}.studio-search>button:hover{background:var(--color-surface-soft)}.studio-search>button:focus-visible{outline:2px solid var(--color-focus)}.studio-collection-pager{display:flex;flex:none;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:12px;border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:var(--text-xs)}.studio-collection-pager>div{display:flex;gap:8px}@media(max-height:760px){.studio-dialog-frame__head{padding-block:12px}.studio-dialog-frame__foot{padding-block:10px}}@media(prefers-reduced-motion:reduce){:is(.button,.ui-btn){transition:none}}:root{--paper: var(--color-canvas);--surface: var(--color-surface);--surface-sunken: var(--color-surface-soft);--ink-900: var(--color-text);--ink-700: #3f433d;--ink-600: #565c52;--ink-500: var(--color-text-muted);--ink-400: #777e72;--ink-300: var(--color-border-strong);--line: var(--color-border);--line-strong: var(--color-border-strong);--ink-hover: rgb(28 27 24 / .06);--overlay: var(--color-overlay);--scrim: rgb(28 27 24 / .4);--control-shadow: 0 1px 3px rgb(28 27 24 / .25);--media-surface: #141311;--caption-outline: #000000;--tooltip-bg: #1c1b18;--tooltip-fg: #ffffff;--accent-50: var(--color-accent-soft);--accent-100: #e8ecdf;--accent-200: #d3dcc7;--accent-300: #b4c0a3;--accent-400: #889576;--accent-500: var(--color-focus);--accent-600: var(--color-action);--accent-700: var(--color-action-hover);--accent: var(--accent-600);--accent-soft: var(--accent-50);--accent-contrast: #ffffff;--glass: rgb(255 254 250 / .94);--glass-line: rgb(221 223 213 / .85);--btn-primary-bg: var(--color-action);--btn-primary-bg-hover: var(--color-action-hover);--btn-primary-highlight: none;--success: #1e7b4d;--success-strong: #155e3a;--success-soft: #e3f2e9;--success-line: #bfe0cd;--warning: #b04e0a;--warning-strong: #8a3d06;--warning-soft: #fbf0dc;--warning-line: #eed3ac;--danger: var(--color-danger);--danger-strong: var(--color-danger-strong);--danger-soft: var(--color-danger-soft);--danger-soft-hover: var(--color-danger-soft-hover);--danger-line: #f0c6bf;--info: var(--accent-600);--info-soft: var(--accent-50);--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;--font-mono: "SF Mono", "JetBrains Mono", ui-monospace, Consolas, "Liberation Mono", monospace;--text-xl: 20px;--text-2xl: 25px;--text-3xl: 31px;--r-sm: 6px;--r-md: var(--radius-control);--r-lg: 12px;--r-xl: var(--radius-panel);--r-pill: var(--radius-pill);--shadow-sm: 0 1px 2px rgb(40 43 36 / .025);--shadow-md: 0 8px 24px -12px rgb(40 43 36 / .16);--shadow-lg: 0 20px 54px -20px rgb(40 43 36 / .25);--shadow-raise: 0 4px 16px -10px rgb(40 43 36 / .18);--sp-1: var(--space-1);--sp-2: var(--space-2);--sp-3: var(--space-3);--sp-4: var(--space-4);--sp-5: var(--space-5);--sp-6: var(--space-6);--sp-8: 32px;--sp-10: 40px;--sp-12: 48px;--ease: var(--motion-ease);--ease-spring: cubic-bezier(.32, .72, 0, 1);--dur-fast: var(--motion-fast);--dur: var(--motion-normal);--dur-slow: .24s;--z-sticky: 10;--z-drawer: 40;--z-dialog: 50;--z-toast: 30;--sidebar-w: 208px;--page-gutter: clamp(16px, 3vw, 40px);--reading-width: 720px;--header-h: 68px;--content-max: 1360px;--workspace-canvas: var(--color-canvas);--workspace-stage: var(--color-surface-soft);--workspace-stage-deep: #e5e8df;--workspace-line: var(--color-border);--workspace-radius: var(--radius-panel);--workspace-shadow: none;--portrait-shadow: 0 12px 28px -16px rgb(40 43 36 / .25);--workspace-width: 1480px}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font-sans);font-size:var(--text-md);line-height:1.55;color:var(--ink-900);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.app-fallback{display:grid;align-content:center;justify-items:start;gap:var(--sp-3);min-height:100%;max-width:560px;padding:var(--sp-8);margin:auto}.app-fallback__eyebrow{color:var(--accent-600);font-size:var(--text-sm);font-weight:650}.app-fallback__actions{display:flex;gap:var(--sp-3);margin-top:var(--sp-2)}h1,h2,h3,h4,p,figure,fieldset,ul,ol,dd{margin:0;padding:0}ul,ol{list-style:none}fieldset{border:none}h1{font-size:var(--text-xl);font-weight:650;letter-spacing:.01em}h2{font-size:var(--text-lg);font-weight:600}h3{font-size:var(--text-md);font-weight:600}a{color:var(--accent-600);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{background:none;border:none;padding:0;cursor:pointer}img,video{display:block;max-width:100%}::selection{background:var(--accent-200)}:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px;border-radius:var(--r-sm)}*{scrollbar-width:thin;scrollbar-color:var(--ink-300) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:var(--ink-300);border-radius:var(--r-pill);border:3px solid transparent;background-clip:content-box}*::-webkit-scrollbar-thumb:hover{background:var(--ink-400);background-clip:content-box;border:3px solid transparent}*::-webkit-scrollbar-track{background:transparent}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.tnum{font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono);font-size:.92em}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.divider{border:none;border-top:1px solid var(--line);margin:var(--sp-4) 0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.ui-btn .lucide{width:15px;height:15px;flex-shrink:0}.ui-btn--sm .lucide{width:13px;height:13px}.ui-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--r-md);color:var(--ink-500);transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.ui-icon-btn:hover:not(:disabled){background:var(--ink-hover);color:var(--ink-900)}.ui-icon-btn:disabled{opacity:.45;cursor:not-allowed}.ui-icon-btn .lucide{width:16px;height:16px}.ui-icon-btn--sm{width:24px;height:24px;border-radius:var(--r-sm)}.ui-icon-btn--sm .lucide{width:13px;height:13px}.ui-spinner{display:inline-block;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ui-spin .7s linear infinite}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;font-size:var(--text-xs);font-weight:500;line-height:1;border-radius:var(--r-pill);background:var(--surface-sunken);border:1px solid var(--line);color:var(--ink-600);white-space:nowrap}.ui-badge__dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.ui-badge--accent{background:var(--accent-soft);border-color:var(--accent-200);color:var(--accent-700)}.ui-badge--success{background:var(--success-soft);border-color:var(--success-line);color:var(--success-strong)}.ui-badge--warning{background:var(--warning-soft);border-color:var(--warning-line);color:var(--warning-strong)}.ui-badge--danger{background:var(--danger-soft);border-color:var(--danger-line);color:var(--danger-strong)}.ui-badge__dot--pulse{animation:ui-pulse 1.4s var(--ease) infinite}@keyframes ui-pulse{0%,to{opacity:1;box-shadow:0 0 0 0 currentColor}50%{opacity:.55}}.ui-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}.ui-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-4) var(--sp-5);border-bottom:1px solid var(--line)}.ui-card__title{font-size:var(--text-md);font-weight:600}.ui-card__desc{margin-top:2px;font-size:var(--text-xs);color:var(--ink-500)}.ui-card__actions{display:flex;align-items:center;gap:var(--sp-2);flex-shrink:0}.ui-card__body{padding:var(--sp-5)}.ui-card__body--flush{padding:0}.ui-field{display:flex;flex-direction:column;gap:6px}.ui-field__label{font-size:var(--text-sm);font-weight:500;color:var(--ink-700)}.ui-field__required{color:var(--danger);margin-left:2px}.ui-field__hint{font-size:var(--text-xs);color:var(--ink-500)}.ui-field__error{font-size:var(--text-xs);color:var(--danger-strong)}.ui-input,.ui-textarea,.ui-select{width:100%;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r-md);font-size:var(--text-sm);color:var(--ink-900);transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),background var(--dur) var(--ease)}.ui-input{height:34px;padding:0 10px}.ui-textarea{padding:8px 10px;min-height:84px;resize:vertical;line-height:1.6}.ui-select{height:34px;padding:0 28px 0 10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d776d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;cursor:pointer}.ui-input::placeholder,.ui-textarea::placeholder{color:var(--ink-400)}.ui-input:hover:not(:disabled),.ui-textarea:hover:not(:disabled),.ui-select:hover:not(:disabled){border-color:var(--ink-300)}.ui-input:focus,.ui-textarea:focus,.ui-select:focus{outline:none;border-color:var(--accent-500);box-shadow:0 0 0 3px var(--accent-100)}.ui-input:disabled,.ui-textarea:disabled,.ui-select:disabled{background:var(--surface-sunken);color:var(--ink-400);cursor:not-allowed}.ui-input--invalid,.ui-textarea--invalid{border-color:var(--danger)}.ui-input--invalid:focus,.ui-textarea--invalid:focus{box-shadow:0 0 0 3px var(--danger-soft)}.ui-checkbox{display:flex;align-items:flex-start;gap:8px;cursor:pointer;font-size:var(--text-sm);color:var(--ink-700);line-height:1.5}.ui-checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;margin:2px 0 0;border:1.5px solid var(--ink-300);border-radius:4.5px;background:var(--surface);cursor:pointer;flex-shrink:0;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.ui-checkbox input:hover:not(:disabled){border-color:var(--ink-400)}.ui-checkbox input:checked{background:var(--accent-600);border-color:var(--accent-600);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}.ui-checkbox input:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px}.ui-checkbox input:disabled{opacity:.5;cursor:not-allowed}.ui-checkbox__desc{display:block;font-size:var(--text-xs);color:var(--ink-500);margin-top:1px}.ui-switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-size:var(--text-sm);color:var(--ink-700)}.ui-switch__track{position:relative;width:36px;height:20px;border-radius:var(--r-pill);background:var(--ink-300);transition:background var(--dur) var(--ease);flex-shrink:0}.ui-switch__thumb{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--surface);box-shadow:var(--control-shadow);transition:transform var(--dur) var(--ease)}.ui-switch[aria-checked=true] .ui-switch__track{background:var(--accent-600)}.ui-switch[aria-checked=true] .ui-switch__thumb{transform:translate(16px)}.ui-switch--disabled{opacity:.5;cursor:not-allowed}.ui-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:ui-fade-in var(--dur) var(--ease)}.ui-dialog-backdrop{z-index:var(--z-dialog);display:flex;align-items:center;justify-content:center;padding:var(--dialog-gutter);overflow:hidden}.ui-dialog{width:100%;display:flex;flex-direction:column;min-height:0;animation:ui-rise var(--dur-slow) var(--ease-spring)}.ui-dialog--sm{max-width:420px}.ui-dialog--md{max-width:560px}.ui-dialog--lg{max-width:720px}.ui-dialog--xl{max-width:920px}.ui-dialog__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:var(--sp-4) var(--sp-6) var(--sp-6);display:flex;flex-direction:column;gap:var(--sp-4);font-size:var(--text-sm);color:var(--ink-700)}.ui-drawer-backdrop{z-index:var(--z-drawer)}.ui-drawer{position:fixed;top:0;right:0;bottom:0;z-index:var(--z-drawer);width:min(560px,100vw);background:var(--surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:ui-slide-in var(--dur-slow) var(--ease-spring)}.ui-drawer--wide{width:min(720px,100vw)}.ui-drawer__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-5) var(--sp-5) var(--sp-4);border-bottom:1px solid var(--line)}.ui-drawer__heading{min-width:0}.ui-drawer__subtitle{margin-top:var(--sp-1)}.ui-drawer__title{font-size:var(--text-lg);font-weight:600}.ui-drawer__body{flex:1;overflow-y:auto;padding:var(--sp-5);display:flex;flex-direction:column;gap:var(--sp-5)}.ui-drawer__foot{display:flex;flex-wrap:wrap;gap:var(--sp-2);padding:var(--sp-4) var(--sp-5);border-top:1px solid var(--line);background:var(--surface-sunken)}@keyframes ui-fade-in{0%{opacity:0}}@keyframes ui-rise{0%{opacity:0;transform:translateY(10px) scale(.985)}}@keyframes ui-slide-in{0%{transform:translate(24px);opacity:0}}.ui-empty{display:flex;flex-direction:column;align-items:center;gap:var(--sp-2);padding:var(--sp-10) var(--sp-6);text-align:center}.ui-empty__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--r-lg);background:var(--surface-sunken);border:1px solid var(--line);color:var(--ink-400);margin-bottom:var(--sp-1)}.ui-empty__icon .lucide{width:20px;height:20px}.ui-empty__title{font-size:var(--text-md);font-weight:600;color:var(--ink-700)}.ui-empty__detail{font-size:var(--text-sm);color:var(--ink-500);max-width:380px;line-height:1.6}.ui-empty__action{margin-top:var(--sp-2)}.ui-skeleton{border-radius:var(--r-sm);background:linear-gradient(90deg,var(--line) 25%,var(--surface-sunken) 50%,var(--line) 75%);background-size:200% 100%;animation:ui-shimmer 1.3s ease-in-out infinite}.ui-skeleton-lines{display:flex;flex-direction:column;gap:10px}.ui-contents{display:contents}@keyframes ui-shimmer{0%{background-position:150% 0}to{background-position:-50% 0}}.ui-progress{height:6px;border-radius:var(--r-pill);background:var(--line);overflow:hidden}.ui-progress__bar{height:100%;border-radius:var(--r-pill);background:var(--accent-500);transition:width var(--dur-slow) var(--ease)}.ui-progress__bar--success{background:var(--success)}.ui-progress__bar--warning{background:var(--warning)}.ui-progress__bar--danger{background:var(--danger)}.ui-steps{display:flex;align-items:center;gap:var(--sp-2)}.ui-steps__item{display:flex;align-items:center;gap:8px;font-size:var(--text-sm);color:var(--ink-400);text-align:left}button.ui-steps__item:disabled{cursor:default}.ui-steps__index{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line-strong);font-size:11px;font-weight:600;background:var(--surface);transition:all var(--dur) var(--ease)}.ui-steps__item--active{color:var(--ink-900);font-weight:600}.ui-steps__item--active .ui-steps__index{background:var(--accent-600);border-color:var(--accent-600);color:var(--accent-contrast)}.ui-steps__item--done{color:var(--ink-600)}.ui-steps__item--done .ui-steps__index{background:var(--accent-soft);border-color:var(--accent-200);color:var(--accent-700)}.ui-steps__item--clickable{cursor:pointer}.ui-steps__connector{flex:1;min-width:16px;height:1px;background:var(--line-strong)}.ui-kicker{display:block;font-size:var(--text-xs);font-weight:600;letter-spacing:.1em;color:var(--ink-500)}.ui-metric{display:flex;flex-direction:column;gap:2px}.ui-metric__value{font-size:var(--text-2xl);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:var(--ink-900);line-height:1.2}.ui-metric__label{font-size:var(--text-xs);color:var(--ink-500)}.ui-metric__hint{font-size:var(--text-xs);color:var(--ink-400)}.ui-banner{display:flex;align-items:center;gap:10px;padding:10px var(--sp-4);font-size:var(--text-sm);border-bottom:1px solid var(--line)}.ui-banner>.lucide{width:16px;height:16px;flex-shrink:0}.ui-banner__content{flex:1}.ui-banner--danger{background:var(--danger-soft);color:var(--danger-strong);border-bottom-color:var(--danger-line)}.ui-banner--warning{background:var(--warning-soft);color:var(--warning-strong);border-bottom-color:var(--warning-line)}.ui-banner--info{background:var(--accent-soft);color:var(--accent-700);border-bottom-color:var(--accent-200)}.ui-table-wrap{overflow-x:auto}.ui-table{width:100%;border-collapse:collapse;font-size:var(--text-sm)}.ui-table th{padding:9px 12px;font-size:var(--text-xs);font-weight:500;letter-spacing:.04em;color:var(--ink-500);text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;background:var(--surface)}.ui-table td{padding:11px 12px;border-bottom:1px solid var(--line);color:var(--ink-700);vertical-align:middle}.ui-table tbody tr{transition:background var(--dur) var(--ease)}.ui-table tbody tr:hover{background:var(--surface-sunken)}.ui-table tbody tr:last-child td{border-bottom:none}.ui-table--clickable tbody tr{cursor:pointer}.ui-table .tnum{font-variant-numeric:tabular-nums}.ui-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:var(--text-sm)}.ui-dl__label{color:var(--ink-500);white-space:nowrap}.ui-dl__value{color:var(--ink-900);word-break:break-word}.ui-chip{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;font-size:var(--text-xs);border-radius:var(--r-pill);background:var(--surface-sunken);border:1px solid var(--line);color:var(--ink-600);white-space:nowrap}.ui-chip button{display:inline-flex;color:var(--ink-400)}.ui-chip button:hover{color:var(--danger)}.ui-prose{padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--r-md);font-size:var(--text-sm);line-height:1.7;color:var(--ink-700);white-space:pre-wrap;word-break:break-word;max-height:220px;overflow-y:auto}.ui-media{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--media-surface)}.ui-media audio,.ui-media video{display:block;width:100%}[data-tip]{position:relative}[data-tip]:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%) translateY(2px);padding:4px 8px;font-size:var(--text-xs);font-weight:400;color:var(--tooltip-fg);background:var(--tooltip-bg);border-radius:var(--r-sm);white-space:nowrap;pointer-events:none;opacity:0;transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease);z-index:var(--z-toast)}[data-tip]:hover:after{opacity:1;transform:translate(-50%) translateY(0)}.ui-loadmore{display:flex;justify-content:center;padding:var(--sp-4)}.ui-grid{display:grid;gap:var(--sp-4)}.ui-grid--2{grid-template-columns:repeat(2,1fr)}.ui-grid--3{grid-template-columns:repeat(3,1fr)}.ui-grid--4{grid-template-columns:repeat(4,1fr)}@media(max-width:900px){.ui-grid--3,.ui-grid--4{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.ui-grid--2,.ui-grid--3,.ui-grid--4{grid-template-columns:1fr}.studio-dialog-frame__head,.studio-dialog-frame__foot,.ui-dialog__body{padding-left:var(--sp-4);padding-right:var(--sp-4)}}@media(pointer:coarse),(max-width:600px){button.ui-btn,button.ui-icon-btn,.studio-segmented>button,button.ui-steps__item{min-height:44px;min-width:44px}.shell__advanced summary,.shell-onboarding__help summary{min-height:44px}}.shell{display:flex;height:100vh;overflow:hidden}.shell__sidebar{width:var(--sidebar-w);flex-shrink:0;display:flex;flex-direction:column;background:var(--paper);border-right:1px solid var(--line)}.shell__brand{display:flex;align-items:center;gap:10px;min-height:var(--header-h);padding:18px 16px;border-bottom:1px solid var(--line)}.shell__brand-mark{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--r-md);background:var(--ink-900);color:var(--accent-contrast);flex-shrink:0}.shell__brand-mark .lucide{width:16px;height:16px}.shell__brand-copy,.shell__user-copy{flex:1;min-width:0}.shell__brand-name{font-size:var(--text-md);font-weight:650;letter-spacing:.01em;line-height:1.3}.shell__brand-sub{font-size:11px;color:var(--ink-400);letter-spacing:.06em}.shell__studio-switcher{width:32px;min-height:32px;padding:6px;border-color:transparent}.shell__studio-switcher>span{display:none}.shell__user-copy>.studio-account-identity{width:100%}.shell__account-trigger{border:0;background:transparent;padding:0;cursor:pointer;border-radius:var(--radius-control)}.shell__account-trigger:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}.shell__account-panel{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.shell__account-panel>p{font-size:var(--text-sm);color:var(--color-text-muted)}.shell--editor-focus .shell__brand-mark{display:none}.shell--editor-focus .shell__studio-switcher{color:var(--ink-500)}.shell__nav{flex:1;min-height:0;overflow-y:auto;padding:10px 10px 14px}.shell--workspace .shell__header,.shell--workspace .shell__sidebar{display:none}.shell--workspace .shell__content{padding:0}.shell--workspace .shell__page{max-width:none;height:100%}.shell__group+.shell__group{margin-top:12px}.shell__group+.shell__group--collapsible{margin-top:6px}.shell__group-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:6px 10px;border-radius:var(--r-md);color:var(--ink-600);font-size:var(--text-sm);text-align:left;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.shell__group-toggle:hover{background:var(--ink-hover);color:var(--ink-900)}.shell__group-toggle>.lucide{width:16px;height:16px;flex-shrink:0;color:var(--ink-400)}.shell__group-toggle>span:first-of-type{flex:1}.shell__group-toggle .shell__group-chevron{width:13px;height:13px;transition:transform var(--dur) var(--ease)}.shell__group-toggle[aria-expanded=true] .shell__group-chevron{transform:rotate(180deg)}.shell__group-items{margin-top:3px;padding-left:8px;border-left:1px solid var(--line);margin-left:17px}.shell__group-label{padding:0 10px 5px;font-size:11px;font-weight:600;letter-spacing:.1em;color:var(--ink-400)}.shell__item{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:8px 10px;border-radius:var(--r-md);font-size:var(--text-sm);color:var(--ink-600);text-align:left;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.shell__item .lucide{width:16px;height:16px;flex-shrink:0;color:var(--ink-400);transition:color var(--dur) var(--ease)}.shell__item:hover{background:var(--ink-hover);color:var(--ink-900)}.shell__item:hover .lucide{color:var(--ink-600)}.shell__item--active{background:var(--accent-soft);color:var(--accent-700);font-weight:600}.shell__item--active .lucide{color:var(--accent-600)}.shell__foot{border-top:1px solid var(--line);padding:10px;display:flex;flex-direction:column;gap:8px}.shell__notice-btn{display:flex;align-items:center;gap:8px;width:100%;padding:6.5px 10px;border-radius:var(--r-md);font-size:var(--text-xs);color:var(--ink-500);text-align:left;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}.shell__notice-btn:hover{background:var(--surface-sunken);color:var(--ink-900)}.shell__notice-btn .lucide{width:14px;height:14px}.shell__notice-btn--on{color:var(--success-strong)}.shell__user{display:flex;align-items:center;gap:9px;padding:4px 6px}.shell__avatar{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--ink-900);color:var(--accent-contrast);font-size:var(--text-xs);font-weight:600;flex-shrink:0}.shell__user-name{font-size:var(--text-sm);font-weight:600;line-height:1.3}.shell__user-role{font-size:11px;color:var(--ink-400)}.shell__workspace{padding:0 10px 2px;font-size:11px;color:var(--ink-300);letter-spacing:.04em}.shell__notification-trigger{position:relative;display:inline-flex}.shell__notification-count{position:absolute;top:-5px;right:-7px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;color:var(--surface);background:var(--danger-strong);border:2px solid var(--surface);border-radius:999px;font-size:11px;line-height:1;font-variant-numeric:tabular-nums}.shell-notice-list{display:flex;flex-direction:column;margin-top:var(--sp-4);border-top:1px solid var(--line)}.shell-notice{display:grid;grid-template-columns:36px minmax(0,1fr);gap:var(--sp-3);padding:var(--sp-4) 0;border-bottom:1px solid var(--line)}.shell-notice--unread{background:var(--accent-soft);box-shadow:-12px 0 0 var(--accent-soft),12px 0 0 var(--accent-soft)}.shell-notice__icon{display:grid;place-items:center;width:34px;height:34px;color:var(--ink-500);background:var(--surface-sunken);border-radius:var(--r-md)}.shell-notice__icon svg{width:18px;height:18px}.shell-notice__icon--warning{color:var(--warning-strong);background:var(--warning-soft)}.shell-notice__icon--danger{color:var(--danger-strong);background:var(--danger-soft)}.shell-notice__icon--success{color:var(--success-strong);background:var(--success-soft)}.shell-notice__body{min-width:0}.shell-notice__head,.shell-notice__actions{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2)}.shell-notice__head strong{color:var(--ink-900)}.shell-notice__body p{margin:var(--sp-1) 0;color:var(--ink-600);line-height:1.55}.shell-notice__time{font-size:var(--text-xs);color:var(--ink-400)}.shell-notice__actions{justify-content:flex-start;margin-top:var(--sp-3)}.shell__main{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.shell__header{height:var(--header-h);flex-shrink:0;display:flex;align-items:center;gap:var(--sp-3);padding:0 var(--sp-5);position:sticky;top:0;z-index:var(--z-sticky);background:var(--paper);border-bottom:1px solid var(--line)}.shell__menu-btn{display:none}.shell__header-text{min-width:0}.shell__header-title{font-size:20px;font-weight:600;line-height:1.3}.shell__header-origin{margin-bottom:3px;color:var(--ink-500);font-size:10px;letter-spacing:.09em}.shell__header-desc{font-size:var(--text-xs);color:var(--ink-500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell__header-actions{margin-left:auto;display:flex;align-items:center;gap:var(--sp-2);flex-shrink:0}.shell__health{display:flex;align-items:center;gap:6px;padding:0 8px;font-size:var(--text-xs);color:var(--ink-500);white-space:nowrap}.shell__health-dot{width:7px;height:7px;border-radius:50%;background:var(--success)}.shell__health-dot--down{background:var(--danger);animation:ui-pulse 1.4s var(--ease) infinite}.shell__refresh--spin .lucide{animation:ui-spin .8s linear infinite}.shell__content{flex:1;min-height:0;overflow-y:auto}.shell__content--full-bleed{overflow:hidden}.shell__page{max-width:var(--content-max);margin:0 auto;padding:var(--sp-6) var(--sp-6) var(--sp-12);display:flex;flex-direction:column;gap:var(--sp-5);animation:ui-fade-in var(--dur) var(--ease)}.shell__page--full-bleed{width:100%;height:100%;min-height:0;max-width:none;padding:var(--sp-2);gap:0;overflow:hidden;animation:ui-fade-in var(--dur) var(--ease)}.shell__scrim{display:none}@media(min-width:961px){.shell--editor-focus .shell__main{background:var(--paper)}.shell--editor-focus .shell__sidebar{background:var(--paper);border-right-color:var(--line)}.shell--editor-focus .shell__item{color:var(--ink-500)}.shell--editor-focus .shell__item:hover{background:var(--ink-hover);color:var(--ink-900)}.shell--editor-focus .shell__item--active{background:var(--accent-soft);color:var(--ink-900)}.shell--editor-focus .shell__sidebar{width:56px}.shell--editor-focus .shell__header,.shell--editor-focus .shell__preview-banner{display:none}.shell--editor-focus .shell__brand{justify-content:center;padding:10px}.shell--editor-focus .shell__brand-copy,.shell--editor-focus .shell__group-label,.shell--editor-focus .shell__group-toggle>span,.shell--editor-focus .shell__group-toggle>.shell__group-chevron,.shell--editor-focus .shell__item>span,.shell--editor-focus .shell__item>.ui-badge,.shell--editor-focus .shell__user-copy,.shell--editor-focus .shell__workspace{display:none}.shell--editor-focus .shell__nav{padding:8px 7px 16px}.shell--editor-focus .shell__group+.shell__group{margin-top:7px}.shell--editor-focus .shell__item{justify-content:center;width:40px;height:36px;padding:0}.shell--editor-focus .shell__group-toggle{justify-content:center;width:40px;height:36px;padding:0;color:var(--ink-500)}.shell--editor-focus .shell__group-toggle:hover{background:var(--ink-hover)}.shell--editor-focus .shell__group-toggle>.lucide{color:var(--ink-500)}.shell--editor-focus .shell__group-items{margin:0;padding:0;border:0}.shell--editor-focus .shell__foot{align-items:center;padding:8px 7px}.shell--editor-focus .shell__notice-btn{justify-content:center;width:36px;height:36px;padding:0;font-size:0}.shell--editor-focus .shell__notice-btn .lucide{width:16px;height:16px}.shell--editor-focus .shell__user{flex-direction:column;gap:5px;padding:0}}@media(max-width:960px){.shell__sidebar{position:fixed;z-index:var(--z-drawer);top:0;bottom:0;left:0;transform:translate(-102%);transition:transform var(--dur-slow) var(--ease);box-shadow:var(--shadow-lg);visibility:hidden;pointer-events:none}.shell__sidebar--open{transform:none;visibility:visible;pointer-events:auto}.shell__scrim--open{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:var(--scrim);animation:ui-fade-in var(--dur) var(--ease);border:0;cursor:default}.shell__menu-btn{display:inline-flex}.shell__header-desc{display:none}.shell__page{padding:var(--sp-4) var(--sp-4) var(--sp-10)}.shell__page--full-bleed{padding:var(--sp-2)}.shell__health{display:none}.shell__header-actions>.ui-btn--ghost{width:32px;padding:0;font-size:0}.shell__header-actions>.ui-btn--ghost .lucide{width:16px;height:16px}}@media(max-width:420px){.shell__header{padding:0 var(--sp-3);gap:var(--sp-2)}.shell__header-actions{gap:var(--sp-1)}.shell__header-actions>.ui-btn--primary{width:32px;padding:0;font-size:0}.shell__header-actions>.ui-btn--primary .lucide{width:16px;height:16px}}.shell__advanced summary>.lucide{display:none}@media(min-width:961px){.shell--editor-focus .shell__advanced summary{display:flex;align-items:center;justify-content:center;width:40px;height:36px;padding:0;color:var(--ink-500)}.shell--editor-focus .shell__advanced summary>span{display:none}.shell--editor-focus .shell__advanced summary>.lucide{display:block;width:18px;height:18px}}.shell__credits{padding:10px 12px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.shell__credits summary{cursor:pointer;font-weight:600}.shell__credits p{margin:8px 0}.shell__credits ul{padding-left:16px;max-height:150px;overflow:auto}.shell__credits button{font:inherit;cursor:pointer;padding:4px 8px}.shell__credits .shell__credits-trigger{padding:0;text-align:left;font-weight:600}.shell--library .shell__main{background:var(--workspace-canvas)}.shell--library .shell__header{background:transparent;border-bottom:0;min-height:60px;padding-inline:28px}.shell--library .shell__header-title{font-size:22px;font-weight:650;letter-spacing:-.025em}.shell--library .shell__page{max-width:1560px;padding:12px 28px 20px}.shell--library .shell__header .ui-btn{border-radius:var(--r-md)}@media(max-width:680px){.shell--library .shell__header{min-height:64px;padding-inline:16px}.shell--library .shell__header-title{font-size:18px}.shell--library .shell__page{padding:16px 16px 30px}}.editor-mobile-guidance{display:none}@media(max-width:768px){.editor-mobile-guidance{display:block;margin-bottom:var(--sp-3)}}
