.pricing-intro{text-align:center;margin:0 auto 40px;max-width:700px}.pricing-intro h2{margin:15px 0}.pricing-intro p,.pricing-bottom-note{color:var(--muted,#7a877e);line-height:1.8}.pricing-bottom-note{text-align:center;margin:26px 0 0;font-size:13px}.credit-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.credit-plan{background:#fff;border:1px solid #dde5dc;border-radius:18px;padding:28px;min-width:0}.credit-plan-featured{border-color:#88a86c;box-shadow:0 8px 24px #24433109}.credit-plan-title{display:flex;gap:10px;align-items:center;justify-content:space-between}.credit-plan-title h3{font-size:23px;margin:0}.credit-plan-description{font-size:13px;color:#7a877e;min-height:38px}.credit-plan-allowance{background:#f4f7ef;border-radius:11px;padding:17px 14px;font-size:14px;margin:18px 0}.credit-plan-allowance strong{font-size:23px;color:#233d30}.credit-plan-allowance small{display:block;line-height:1.7;color:#70806e;font-size:11px;margin-top:6px}.credit-info-button{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:none;color:#6f895e;vertical-align:middle;cursor:pointer;margin-left:4px}.credit-info-button .icon{width:17px;height:17px}.credit-info-button:focus-visible{outline:2px solid #28684e;outline-offset:4px}.credit-plan .price{margin-top:18px;font-size:46px}.credit-plan .price-features{font-size:13px;margin:20px 0 24px}.credit-plan .price-features li{gap:8px}.credit-examples-dialog{border:1px solid #e0e7dc;padding:30px;border-radius:19px;max-width:560px;width:calc(100% - 32px);color:#27352c;max-height:85dvh;overflow:auto;box-shadow:0 24px 90px #183b332e}.credit-examples-dialog::backdrop{background:#17342b59;backdrop-filter:blur(4px)}.credit-dialog-heading{display:flex;gap:20px;align-items:start;justify-content:space-between}.credit-dialog-heading h2{font-size:23px;line-height:1.35;margin:12px 0 0}.credit-dialog-close{font-size:28px;flex-shrink:0}.credit-examples-dialog>p{font-size:14px;color:#7a877e;line-height:1.7}.credit-example-list{margin:22px 0}.credit-example-row{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid #e7ece4;padding:15px 0;font-size:14px}.credit-example-row small{display:block;font-size:12px;color:#7a877e;margin-top:5px}.credit-example-row>b{white-space:nowrap;color:#276349}.credit-plan .price-subtext{font-size:11px}.credit-examples-dialog .eyebrow{font-size:9px;letter-spacing:1.4px}@media(max-width:900px){.credit-plan-grid{grid-template-columns:1fr;max-width:520px;margin:auto}.credit-plan-description{min-height:0}.credit-plan{padding:25px}.credit-examples-dialog{padding:22px}}
/* Creation studio */
.studio-page-title{margin-bottom:20px}.studio-tabs{display:flex;width:fit-content;gap:4px;padding:5px;background:#eaf0e3;border:1px solid #dfe6d5;border-radius:12px;margin-bottom:24px}.studio-tabs button{display:flex;align-items:center;gap:9px;border:0;background:none;border-radius:8px;padding:11px 25px;color:#6e8061;font:inherit;cursor:pointer}.studio-tabs button.selected{background:#fff;color:#254c36;box-shadow:0 1px 4px #1a3b2310}.studio-layout{display:grid;grid-template-columns:minmax(290px,350px) minmax(0,1fr);gap:28px;align-items:start}.studio-editor{padding:25px;position:sticky;top:100px}.studio-editor-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.studio-editor h2{font-size:20px;line-height:1.35;letter-spacing:-.5px;margin:10px 0 24px}.studio-editor .field{margin-bottom:18px}.studio-editor .field>span{font-size:12px}.studio-editor .field select,.studio-editor .field textarea{font-size:13px;padding:12px}.studio-editor .field-row{gap:12px}.studio-frames{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px;margin:18px 0 10px}.studio-frame{position:relative;display:flex;min-height:142px;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #cddac5;border-radius:10px;background:#f8faf5;color:#729065;cursor:pointer;overflow:hidden}.studio-frame:hover,.studio-frame:focus-visible,.studio-frame.is-dragging{border-color:#327250;background:#eff5e5;outline:2px solid #dfecca;outline-offset:2px}.studio-frame strong{font-size:11px}.studio-frame small{font-size:9px}.studio-frame img{width:100%;height:142px;object-fit:contain;background:#eef2e9}.studio-frame>span:not(.studio-spinner){position:absolute;bottom:7px;left:7px;background:#ffffffdc;border-radius:4px;padding:3px 5px;font-size:10px}.studio-frame>button{position:absolute;right:6px;top:6px;border:0;border-radius:50%;width:24px;height:24px;color:#35563b;background:white;cursor:pointer}.studio-editor .field-help{font-size:10px;line-height:1.65;margin:8px 0 18px}.studio-audio{display:flex;align-items:center;gap:12px;padding:13px;background:#f6f8f2;border-radius:8px;font-size:12px;margin:0 0 15px;cursor:pointer}.studio-audio input{accent-color:#256849;width:17px;height:17px}.studio-audio small{display:block;font-size:10px;color:#809075;margin-top:3px}.studio-generate{margin-top:10px;min-height:46px;gap:8px}.studio-balance{text-align:center;margin-bottom:0!important}.studio-history-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:3px 0 10px}.studio-history-heading h2{display:flex;align-items:center;gap:9px;font-size:15px;margin:0}.studio-history-heading>span{font-size:10px;color:#819073}.studio-history-note{font-size:11px;line-height:1.6;color:#839076;margin:0 0 20px;max-width:590px}.studio-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;align-items:start}.studio-card{min-width:0;background:white;border:1px solid #e0e7dd;border-radius:12px;overflow:visible}.studio-card-media{position:relative;min-height:130px;background:#ecf0e5;border-radius:11px 11px 0 0}.studio-card-media video,.studio-card-media img{display:block;width:100%;height:340px;object-fit:contain;border-radius:11px 11px 0 0}.studio-card-caption{padding:15px}.studio-card-caption p{font-size:12px;line-height:1.6;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.studio-card-caption small{display:block;font-size:10px;color:#809075;line-height:1.8}.studio-menu{position:absolute;right:10px;top:10px;z-index:2;opacity:0;transition:opacity .15s}.studio-card:hover .studio-menu,.studio-menu:focus-within,.studio-menu[open]{opacity:1}.studio-menu summary{display:grid;place-items:center;list-style:none;cursor:pointer;background:#fffffff0;border:1px solid #dfe6d6;border-radius:7px;width:33px;height:30px;color:#466a49;font-weight:700}.studio-menu summary::-webkit-details-marker{display:none}.studio-menu>div{position:absolute;right:0;top:36px;width:205px;background:white;border:1px solid #dfe6d8;box-shadow:0 10px 25px #263d1e1a;border-radius:9px;padding:5px}.studio-menu a,.studio-menu button{display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border:0;border-radius:6px;background:none;font:inherit;font-size:11px;color:#526b46;cursor:pointer;width:100%;box-sizing:border-box}.studio-menu .icon{width:15px;height:15px}.studio-menu a:hover,.studio-menu button:hover{background:#f1f6e8}.studio-job{height:280px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:25px;gap:15px}.studio-job strong{font-size:13px}.studio-job small{font-size:11px;line-height:1.6;color:#839076}.studio-job-failed{background:#faf6ed;border-radius:11px 11px 0 0}.studio-job-failed .icon{color:#ac8a53}.studio-spinner{display:block;width:24px;height:24px;border:2px solid #dce7d0;border-top-color:#286c4c;border-radius:50%;animation:studio-spin 1s linear infinite}@keyframes studio-spin{to{transform:rotate(360deg)}}.studio-empty{text-align:center;padding:50px 28px 65px;background:linear-gradient(145deg,#f2f5ec,#fafbf8);border:1px solid #e4e9dd;border-radius:14px;min-height:510px;display:flex;flex-direction:column;align-items:center;justify-content:center}.studio-empty h2{font-size:24px;letter-spacing:-.8px;margin:18px 0 12px}.studio-empty>p{font-size:12px;max-width:340px;line-height:1.8;color:#829075}.studio-empty-art{height:180px;width:240px;position:relative}.studio-art-back{position:absolute;width:105px;height:143px;top:10px;left:22px;background:#dfe9ce;border:7px solid #fff;border-radius:13px;transform:rotate(-14deg);box-shadow:0 9px 20px #47654414}.studio-art-front{position:absolute;width:116px;height:153px;top:7px;left:98px;background:linear-gradient(140deg,#d6c8b4,#f1eade);border:7px solid #fff;border-radius:13px;transform:rotate(11deg);box-shadow:0 9px 20px #47654414;display:grid;place-items:center}.studio-art-front svg{width:42px;height:42px;color:#fff;fill:#fff7;stroke-width:1}.studio-empty-art i{position:absolute;left:64px;bottom:26px;width:28px;height:28px;border-radius:50%;background:#a5bc83;border:4px solid #f4f7ed}.studio-empty-note{font-size:10px;color:#8a9a77;display:flex;gap:8px;align-items:center;margin-top:35px}.studio-empty-note .icon{width:15px}.studio-more{margin:24px auto;display:flex}.studio-delivery-state{font-size:10px;line-height:1.6;margin-top:12px;background:#f0f5e8;border-radius:5px;padding:6px 8px;color:#537444}.studio-delivery-state.has-error{color:#9b5e3b;background:#fbf3e5}.studio-schedule-dialog .field{margin-top:18px}.studio-schedule-dialog textarea{min-height:110px}.studio-schedule-accounts{display:flex;flex-direction:column;gap:5px}.billing-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.billing-options article{padding:20px;border:1px solid #e2e9dc;border-radius:10px;background:#f9fbf7}.billing-options h3{font-size:16px;margin:0}.billing-options p{font-size:14px}.addon-row{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #e4eadd;padding:18px 0;font-size:12px}.addon-row small{display:block;line-height:1.7;font-size:10px;color:#879478;margin-top:5px}.paywall-page .paywall-main{max-width:1180px;width:calc(100% - 40px)}.paywall-page .credit-plan-grid{text-align:left;margin:35px 0}.studio-tabs .icon{width:17px;height:17px}.studio-status:empty{display:none}
@media(min-width:1650px){.studio-history-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.studio-card-media video,.studio-card-media img{height:400px}}
@media(max-width:1100px){.studio-layout{grid-template-columns:minmax(260px,310px) minmax(0,1fr);gap:18px}.studio-editor{padding:18px}.studio-history-grid{grid-template-columns:1fr}}
@media(max-width:800px){.studio-layout{grid-template-columns:1fr}.studio-editor{position:static}.studio-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-card-media video,.studio-card-media img{height:280px}.studio-menu{opacity:1}.studio-empty{min-height:350px}.studio-history{margin-top:12px}}
@media(max-width:500px){.studio-history-grid{grid-template-columns:1fr}.studio-card-media video,.studio-card-media img{height:420px}.billing-options{grid-template-columns:1fr}.addon-row{align-items:flex-start;flex-direction:column;gap:8px}.studio-editor{padding:20px}.studio-page-title h1{font-size:25px}.paywall-page .paywall-main{width:calc(100% - 30px)}}
@media(prefers-reduced-motion:reduce){.studio-spinner{animation-duration:3s}.studio-menu{transition:none}}
@media(hover:none){.studio-menu{opacity:1}}

.video-card-image>video{display:block;width:100%;height:100%;object-fit:contain;background:#edf1e6;pointer-events:none}

/* Template browsing is separate from the compact Create editor. */
.template-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,220px));gap:20px;align-items:stretch}
.template-card{min-width:0;padding:9px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column}
.template-preview{display:block;position:relative;aspect-ratio:9/16;width:100%;border:0;border-radius:10px;padding:0;overflow:hidden;background:var(--bg,#f2f3f7);color:var(--ink);cursor:pointer;font:inherit}
.template-preview video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.template-preview:focus-visible,.template-card button:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.template-custom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:transparent;border:1px dashed var(--line);color:var(--green)}
.template-custom .icon{width:32px;height:32px;stroke-width:1.4}.template-custom strong{font-size:15px;font-weight:500}.template-custom:disabled{opacity:1;cursor:default}
.template-play,.template-pause{position:absolute;left:10px;top:10px;display:grid;place-items:center;width:32px;height:32px;color:#fff;background:#182822a6;border-radius:50%;pointer-events:none}.template-play .icon,.template-pause .icon{width:16px;height:16px}.template-pause{display:none}
.template-preview[aria-pressed=true] .template-play{display:none}.template-preview[aria-pressed=true] .template-pause{display:grid}
.template-preview-error{position:absolute;inset:auto 8px 8px;color:white;background:#182822d9;border-radius:6px;font-size:11px;padding:8px}.template-preview-error[hidden]{display:none}
.template-card-body{padding:14px 3px 3px;display:flex;flex-direction:column;flex:1}.template-card h2{font-size:14px;line-height:1.5;letter-spacing:0;margin:0 0 7px}.template-card p{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 17px}.template-card .button{margin-top:auto;font-size:11px;padding:10px;gap:6px;min-height:42px}.template-card .button .icon{width:14px;height:14px}
.template-reference-note{font-size:11px;line-height:1.7;color:var(--muted);margin:20px 0}
.studio-selected-template{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.studio-template-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;font-size:11px;color:var(--muted)}.studio-template-heading .text-button{appearance:none;border:0;background:transparent;color:var(--green);font:inherit;font-weight:600;padding:5px 0;cursor:pointer;font-size:11px;display:flex;gap:5px;align-items:center}.studio-template-heading .icon{width:13px;height:13px}
.studio-template-preview{width:126px;max-width:100%;margin:0 auto}.studio-template-preview .template-custom strong{font-size:12px}.studio-template-preview .template-custom .icon{width:25px;height:25px}.studio-template-name{display:block;text-align:center;font-size:12px;margin:11px 0 6px}.studio-selected-template>p{font-size:10px;line-height:1.5;color:var(--muted);text-align:center;margin:9px 0 0}
.reaction-template-setup h3{font-size:14px}.studio-editor #create-form .uploaded-file{flex-wrap:wrap;padding:12px}.studio-editor #create-form .uploaded-file>div{min-width:0}.studio-editor #create-form .copy-toolbar{flex-wrap:wrap}.studio-editor #create-form .music-player{max-width:100%}.studio-editor #create-form textarea{resize:vertical}
@media(max-width:1200px){.template-gallery{grid-template-columns:repeat(3,minmax(0,220px));gap:16px}}
@media(max-width:900px){.template-gallery{grid-template-columns:repeat(2,minmax(0,220px))}}
@media(max-width:500px){.template-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{padding:6px;border-radius:13px}.template-card h2{font-size:12px}.template-card p{font-size:10px}.template-card .button{font-size:10px;gap:4px;padding:9px 4px}.template-custom strong{font-size:12px}.template-reference-note{font-size:10px}}

/* Keep delivery feedback and actions visible while the form scrolls. */
.studio-schedule-dialog[open]{display:flex;flex-direction:column;padding:0;overflow:hidden;max-height:calc(100dvh - 32px);width:calc(100% - 32px);max-width:600px}
.studio-schedule-dialog .credit-dialog-heading{flex-shrink:0;padding:22px 24px;border-bottom:1px solid var(--line)}
.studio-schedule-dialog .credit-dialog-heading h2{font-size:23px;line-height:1.3;margin:0}
.studio-schedule-dialog .credit-dialog-heading>.icon-button{flex-shrink:0}
#studio-schedule-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.studio-delivery-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.studio-delivery-fields{min-width:0;margin:0;padding:20px 24px;border:0}
.studio-delivery-fields>.field-help{margin:0 0 20px}
.studio-delivery-timing{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;border:0;padding:0;margin:0 0 22px}
.studio-delivery-timing legend{font-size:12px;font-weight:600;padding:0;margin-bottom:10px}
.studio-delivery-timing .choice-card{display:flex;align-items:center;gap:5px;font-size:13px}
.studio-delivery-footer{flex-shrink:0;padding:16px 24px 20px;border-top:1px solid var(--line);background:var(--cream-panel,#fff)}
.studio-delivery-status{margin:0 0 12px;padding:11px 13px;border:1px solid #e5c3ba;border-radius:8px;background:#fff2ee;color:#8b382a;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
:root[data-theme="dark"] .studio-delivery-status{background:#422e2b;border-color:#6b4540;color:#efa69e}
.studio-schedule-dialog [data-studio-retry-privacy]{margin:0 0 18px;font-size:12px}
.studio-schedule-dialog .purchase-acceptance{font-size:13px}
@media(max-width:540px){.studio-schedule-dialog .credit-dialog-heading{padding:18px}.studio-delivery-fields{padding:18px}.studio-delivery-footer{padding:14px 18px 18px}.studio-schedule-dialog .credit-dialog-heading h2{font-size:21px}.studio-schedule-dialog .field input,.studio-schedule-dialog .field select,.studio-schedule-dialog .field textarea{font-size:16px}}

/* Before & After extends the existing Create editor and history. */
.studio-format{padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.before-after-form .field-help{margin-bottom:16px}.before-after-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.before-after-days input{min-width:0;width:100%}
.before-after-form .field textarea{min-height:76px;resize:vertical}.before-after-track .text-button{appearance:none;border:1px solid var(--line);border-radius:7px;background:var(--surface,#fff);color:var(--green);padding:8px 12px;min-height:36px;font:inherit;cursor:pointer}.before-after-track .text-button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.before-after-music{min-width:0;padding:0;border:0;margin:8px 0 20px}.before-after-music legend{font-weight:600;font-size:14px;margin-bottom:12px}.before-after-track{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.before-after-track label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;cursor:pointer}.before-after-track input{accent-color:var(--green)}.before-after-track span{font-size:13px}.before-after-track small{display:block;color:var(--muted);margin-top:4px}.before-after-track button{font-size:12px;flex-shrink:0}.before-after-form [hidden]{display:none!important}

.before-after-template-summary{font-size:11px;color:var(--green);margin:0 0 8px}.before-after-text-options{border:0;padding:0;margin:18px 0 14px;min-width:0}.before-after-text-options legend{font-size:12px;font-weight:600;margin-bottom:10px}.before-after-text-toggle{display:flex;gap:8px;flex-wrap:wrap}.before-after-text-toggle label{display:flex;align-items:center;gap:6px;font-size:11px;padding:10px 8px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:var(--surface,#fff)}.before-after-text-toggle input{accent-color:var(--green)}.before-after-text-toggle label:has(input:checked){border-color:var(--green);color:var(--green)}.before-after-overlay-preview{background:var(--bg,#f2f3f7);border:1px solid var(--line);border-radius:10px;padding:15px;margin-bottom:18px;font-size:11px;line-height:1.7}.before-after-overlay-preview p{margin:0 0 12px}.before-after-overlay-preview s{color:var(--muted)}.before-after-overlay-preview ol{padding-left:20px;margin:0}.before-after-overlay-preview li+li{margin-top:8px}.before-after-counter-preview{display:flex;gap:18px;font-size:10px;color:var(--muted)}.before-after-counter-preview b{display:block;color:var(--ink);font-size:11px}.before-after-track>span{flex:1;color:var(--muted);font-size:10px}.before-after-track>span strong{display:block;color:var(--ink);margin-top:5px;font-size:12px}.before-after-form [data-ba-custom] input{font-size:12px;padding:10px;min-width:0;width:100%}.before-after-form .before-after-days .field>span{font-size:10px}

.model-pricing{margin:40px 0 12px;padding:28px;border:1px solid #e1e9dc;border-radius:18px;background:#f9fbf7;color:#264733}.model-pricing-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}.model-pricing-heading h2,.model-pricing-heading h3{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:8px 0 0}.model-pricing-heading>p{font-size:14px;line-height:1.55;max-width:350px;margin:0;color:#667d69}.model-pricing-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.model-pricing-card{min-width:0;padding:19px 16px;border:1px solid #dfe8db;border-radius:12px;background:#fff}.model-pricing-card>span{display:inline-block;font-size:14px;color:#58775d}.model-pricing-card h3,.model-pricing-card h4{font-size:17px;line-height:1.3;margin:10px 0 8px}.model-pricing-card p{font-size:14px;line-height:1.45;min-height:3em;margin:0 0 15px;color:#667d69}.model-pricing-card strong{font-size:18px;white-space:nowrap}.model-pricing-note{font-size:14px;line-height:1.5;margin:17px 0 0;color:#667d69}.model-pricing-billing{margin-top:24px}
@media(max-width:1100px){.model-pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.model-pricing{padding:20px;margin-top:26px}.model-pricing-heading{display:block}.model-pricing-heading>p{margin-top:12px}.model-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.model-pricing-grid{grid-template-columns:1fr}.model-pricing-card p{min-height:0}}
