.tpl-shell{width:min(1104px,calc(100% - 2 * var(--wb-pad)));margin-inline:auto}.tpl-page{min-width:0;min-height:60vh;padding-block:clamp(24px,4vw,54px) 64px;color:var(--fg);font:550 15px/1.55 var(--wb-font);overflow-wrap:anywhere}.tpl-heading{-webkit-margin-after:26px;margin-block-end:26px}.tpl-heading h1{margin:0 0 6px;font:800 clamp(2rem,4vw,2.875rem)/1.08 var(--wb-font);letter-spacing:-.044em}.tpl-heading>p{margin:8px 0;color:var(--muted)}.tpl-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:.86rem}.tpl-breadcrumb a{color:var(--fg);text-decoration:underline;text-underline-offset:3px;font-weight:760}.tpl-hint,.tpl-muted,.tpl-summary{color:var(--muted);font-size:.86rem}.tpl-muted{margin:6px 0}.tpl-hint{margin:8px 0 12px}.tpl-error{color:var(--danger)}.tpl-actions,.tpl-choice-row,.tpl-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.tpl-filter{margin-block:18px 20px}.tpl-choice{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 13px;border:1px solid var(--border);border-radius:10px;background:var(--wb-card);color:var(--fg);font-size:.86rem;font-weight:750;line-height:1.3;cursor:pointer}.tpl-filter .tpl-choice{border-radius:var(--radius-pill)}.tpl-choice[aria-pressed=true],.tpl-scene-choice[aria-pressed=true]{border-color:var(--fg);background-color:var(--wb-band)}.tpl-filter .tpl-choice[aria-pressed=true]{background:var(--fg);color:var(--wb-paper)}.tp-sheet :is(.tpl-text-link,.tpl-primary,.tpl-choice):focus-visible,.tpl-page :is(button,a):focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}.tpl-page button:disabled{cursor:default}.tpl-choice:disabled{opacity:.62}.tpl-library{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px;margin:0;padding:0;list-style:none}.tpl-tile{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid var(--border);border-radius:16px;background:var(--wb-card)}.tpl-tile-preview{display:grid;position:relative;place-items:center;width:100%;min-width:0;aspect-ratio:5/6;padding:0;border:0;background:#231a16;color:#fff;cursor:pointer}.tpl-tile-preview img{position:absolute;width:100%;height:100%;object-fit:contain}.tpl-play{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ac9d90;border-radius:50%;font-size:15px;z-index:1}.tpl-play,.tpl-sample-stamp{background:#231a16;color:#fff}.tpl-sample-stamp{position:absolute;inset:auto 8px 8px auto;border-radius:7px;padding:3px 7px;font-size:.75rem}.tpl-tile-content{display:grid;grid-gap:3px;gap:3px;padding:12px 15px}.tpl-tile-content p{overflow:hidden;margin:0;font-size:.79rem;color:var(--muted);white-space:nowrap;text-overflow:ellipsis}.tpl-tile-content h2{display:-webkit-box;overflow:hidden;margin:0;font:800 clamp(1rem,1.7vw,1.26rem)/1.2 var(--wb-font);text-wrap:wrap;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tpl-text-link{display:inline-flex;align-items:center;justify-self:start;gap:5px;max-width:100%;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:750 .86rem/1.4 var(--wb-font);text-align:start;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere}.tpl-status{max-width:620px;padding:14px 20px;border:1px solid var(--border);border-radius:14px;background:var(--wb-card)}.tpl-primary{min-height:46px;padding:9px 15px;border-radius:12px;font:800 .91rem/1.35 var(--wb-font);overflow-wrap:anywhere}.tpl-primary:hover{transform:none}.tpl-primary:disabled{background:var(--wb-band);border-color:var(--border);color:var(--muted);opacity:1}.tpl-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);grid-gap:24px;gap:24px;align-items:start}.tpl-form{min-width:0;border:1px solid var(--border);border-radius:18px;background:var(--wb-card)}.tpl-field{padding:clamp(14px,2.1vw,24px);min-width:0}.tpl-field+.tpl-field{border-top:1px solid var(--border)}.tpl-field h2{display:flex;align-items:center;gap:10px;margin:0 0 9px;font:800 1rem/1.25 var(--wb-font)}.tpl-field h2>span{display:grid;flex:0 0 26px;place-items:center;width:26px;height:26px;border:1px solid var(--border-dashed);border-radius:50%;font-size:.78rem}.tpl-field .tp-length{-webkit-margin-before:10px;margin-block-start:10px}.tpl-field .tp-motion{margin:0;border:0}.tpl-field .tp-speech-status{margin-block:7px 0}.tpl-role h3{margin:0 0 8px;font:800 .94rem/1.3 var(--wb-font)}.tpl-photo-slot,.tpl-role,.tpl-scene-upload{min-width:0}.tpl-photo-button{display:grid;position:relative;place-items:center;width:min(230px,100%);min-width:0;aspect-ratio:3/4;padding:0;overflow:hidden;border:1px dashed var(--border-dashed);border-radius:12px;background:var(--wb-band);color:var(--fg);cursor:pointer}.tpl-photo-button:has(img),.tpl-scene-upload:has(img) button{border-style:solid}.tpl-photo-button img{width:100%;height:100%;object-fit:contain}.tpl-photo-placeholder{display:grid;grid-gap:5px;gap:5px;padding:10px;font-size:.9rem;font-weight:750}.tpl-photo-placeholder>span{font-size:1.4rem}.tpl-photo-more{display:grid;place-items:center;position:absolute;right:7px;bottom:7px;width:36px;height:36px;border-radius:10px;background:var(--wb-card);color:var(--fg);font-size:19px}.tpl-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.tpl-role .tpl-photo-button{width:100%;aspect-ratio:4/3}.tpl-role .tpl-choice-row{margin-top:9px}.tpl-setting+.tpl-setting{margin-top:12px}.tpl-setting strong{display:block;margin-bottom:6px;font-size:.86rem}.tpl-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;align-items:stretch}.tpl-scene-choice{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:100%;min-width:0;min-height:95px;overflow:hidden;border:1px solid var(--border);border-radius:11px;color:var(--fg);background:var(--wb-paper);padding:0;text-align:start;font:750 .8rem/1.3 var(--wb-font);cursor:pointer}.tpl-scene-choice img{width:100%;max-height:96px;aspect-ratio:16/9;object-fit:cover}.tpl-scene-choice[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--fg)}.tpl-scene-name{display:block;padding:6px 8px 7px}.tpl-scene-upload .tpl-photo-placeholder{margin:auto}.tpl-scene-upload .tpl-photo-more{bottom:auto;top:6px;width:27px;height:27px}.tpl-scene-upload p{margin-block:4px}.tpl-editor-aside{position:-webkit-sticky;position:sticky;top:calc(var(--site-header-clearance, 88px) + 12px);min-width:0;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--wb-band)}.tpl-editor-preview{border-radius:11px;overflow:hidden;aspect-ratio:16/9}.tpl-submit{-webkit-margin-before:13px;margin-block-start:13px;-webkit-padding-before:11px;padding-block-start:11px;border-top:1px solid var(--border)}.tpl-submit h2{margin:0;font:800 clamp(1.1rem,2vw,1.5rem)/1.15 var(--wb-font)}.tpl-summary{margin:4px 0 8px}.tpl-generate{display:flex;width:100%;justify-content:space-between;gap:8px;text-align:start}.tpl-generate>span:first-child{min-width:0}.tpl-price-pill{flex-shrink:0;max-width:52%;border-radius:8px;padding:4px 6px;background:#fff9ef;color:#2a1f1a;font:800 .76rem/1.15 var(--wb-font);text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tpl-price-status{font-size:.8rem;color:var(--muted)}.tpl-price-status p{margin:5px 0 0}.tpl-quote-failure{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 7px}.tpl-quote-failure .tpl-text-link{min-height:44px;font-size:inherit}.tp-sheet.tpl-preview-sheet{width:min(700px,100% - 32px);padding:25px;background:var(--wb-paper)}.tpl-preview-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-gap:16px;gap:16px;align-items:center}.tpl-preview-sheet .tpl-preview-layout video{max-height:min(400px,55dvh)}.tp-sheet.tpl-photo-sheet>h2,.tp-sheet.tpl-quote-sheet>h2,.tpl-preview-sheet :is(h2,.tpl-preview-layout h2){font:800 clamp(1.25rem,2.4vw,1.65rem)/1.2 var(--wb-font);-webkit-padding-end:46px;padding-inline-end:46px;max-width:none;margin:0 0 14px;overflow-wrap:anywhere}.tp-sheet.tpl-photo-sheet,.tp-sheet.tpl-quote-sheet{padding-top:24px}:where(.tpl-preview-sheet,.tpl-quote-sheet,.tpl-photo-sheet) .tp-sheet-mark{display:none}.tpl-preview-sheet .tpl-primary{-webkit-margin-before:5px;margin-block-start:5px}.tpl-photo-sheet .tpl-choice{display:flex;justify-content:flex-start;width:100%;margin-block:5px}.tpl-quote-change{padding:11px 12px;border:1px solid var(--border);border-radius:9px;background:var(--wb-band)}.tpl-bill{margin-block:12px 20px}.tpl-bill>div{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;padding-block:8px;border-bottom:1px solid var(--border)}.tpl-bill dd{margin:0;text-align:end}.tpl-bill strong{font-size:1.14rem}@media (max-width:850px){.tpl-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media (max-width:740px){.tpl-editor-page{padding-bottom:146px}.tpl-editor{display:block}.tpl-editor-aside{position:static;margin-top:14px}.tpl-submit{position:fixed;z-index:21;inset:auto 0 0;margin:0;padding:8px var(--wb-pad) max(8px,env(safe-area-inset-bottom));border-top-color:var(--border);background:var(--wb-paper)}.tpl-submit h2{display:none}.tpl-summary{margin:0 0 4px}.tpl-scenes{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl-roles{grid-template-columns:minmax(0,1fr);gap:22px}.tpl-role .tpl-photo-button{aspect-ratio:3/2}.tpl-photo-button{width:min(100%,230px)}.tpl-tile-content{padding:8px 10px}.tpl-tile-content .tpl-text-link{font-size:.77rem}.tpl-preview-layout{grid-template-columns:minmax(0,1fr)}.tp-sheet.tpl-preview-sheet{width:min(700px,100% - 32px);margin-inline:auto}}@media (max-width:350px){.tpl-generate{padding-inline:9px;font-size:.85rem}.tpl-tile-content{padding-inline:8px}}@media (max-width:740px){.tp-sheet.tpl-quote-sheet{inset:0;width:min(450px,calc(100% - 36px));margin:auto;border-radius:19px}.tp-sheet.tpl-quote-sheet .tp-sheet-handle{display:none}}