/* Phone-first interaction surfaces; larger layouts keep their existing composition. */
.b47-photo-field{position:relative;min-width:0}
.b47-site .b47-photo-field .b47-upload.has-photo{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;background:#e9eef5;color:#17283f;min-height:0;height:auto;padding:16px}
.b47-site .b47-photo-field .b47-upload.has-photo>img{display:block;width:100%;height:200px;object-fit:contain;border-radius:8px;background:transparent}
.b47-selected-caption{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0}
.b47-selected-caption strong{font-size:14px}.b47-selected-caption small{font-size:12px;color:#526174}
.b47-remove-photo{position:absolute;right:8px;top:8px;min-width:44px;min-height:44px;border:1px solid #b6c3d3;border-radius:50%;background:#fffdf7;color:#17283f;font-size:24px;line-height:1;cursor:pointer;z-index:2}
.b47-photo-status{font-size:12px;color:#526174;line-height:1.5;margin:8px 0 0}.b47-photo-status:empty{display:none}.b47-photo-status.error{color:#9c2534;background:#fff0ee;padding:10px;border-radius:8px}
.b47-upload[aria-busy=true]{opacity:.65;cursor:progress}
.b47-credit-meter{display:block;width:100%;margin:14px 0;padding:12px;text-align:left;font:600 13px/1.5 Onest,sans-serif;color:#253c5b;border:1px solid #c3cfde;border-radius:9px;background:#edf2f8;cursor:pointer}
.b47-credit-meter[hidden]{display:none}
.b47-source-disclosure{width:100%}.b47-source-disclosure>summary{display:none}.b47-source-content{display:flex;flex-direction:column;align-items:center}
.b47-credit-sheet{box-sizing:border-box;width:min(460px,calc(100% - 32px));border:0;border-radius:22px;padding:28px;color:#17283f;background:#fffdf7;box-shadow:0 20px 80px #10203955;font-family:Onest,system-ui,sans-serif;max-height:calc(100dvh - 32px);overflow-y:auto}
.b47-credit-sheet::backdrop{background:#14243a80;backdrop-filter:blur(3px)}
.b47-credit-sheet h2{font-size:24px;line-height:1.25;margin:14px 32px 12px 0;letter-spacing:-.035em;color:#17283f}
.b47-credit-sheet p{font-size:14px;line-height:1.6;color:#526174;margin:0 0 18px}
.b47-sheet-handle{display:none}.b47-sheet-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:50%;background:#e9eef5;color:#17283f;font-size:26px;cursor:pointer}
.b47-credit-sheet dl{margin:16px 0 22px;display:grid;gap:12px}.b47-credit-sheet dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.b47-credit-sheet dt{font-size:13px;color:#526174}.b47-credit-sheet dd{margin:0;font-size:18px;font-weight:750}.b47-credit-sheet dl>div:last-child{border-top:1px solid #c5ccd5;padding-top:12px}
.b47-sheet-primary,.b47-sheet-secondary{display:block;width:100%;min-height:48px;padding:12px;border:0;border-radius:10px;font:700 14px/1.4 Onest,system-ui,sans-serif;cursor:pointer}.b47-sheet-primary{background:#c9ef55;color:#17283f}.b47-sheet-primary:disabled{opacity:.6;cursor:progress}.b47-sheet-secondary{background:transparent;color:#526174;margin-top:6px}
.b47-back-edit{display:inline-flex;align-items:center;min-height:44px;margin:0 0 12px;color:#2349cf;font-size:13px;font-weight:650;text-decoration:underline}
@media(max-width:760px){
 .b47-site .b47-wrap{width:100%;max-width:100%;padding-inline:16px}
 .b47-site .b47-nav{min-height:60px;gap:12px;flex-wrap:nowrap}
 .b47-site .b47-header{border-bottom-width:2px;box-shadow:none}
 .b47-site .b47-header .b47-brand{gap:8px;min-width:0}
 .b47-site .b47-header .b47-brand img{width:34px;height:34px;border-radius:8px;filter:none}
 .b47-site .b47-header .b47-brand span{font-size:20px;line-height:1;white-space:nowrap}
 .b47-site .b47-menu-button{width:44px;height:44px;min-width:44px;border-radius:9px;padding:10px}
 .b47-site .b47-mobile-nav{padding:8px 16px;max-height:calc(100dvh - 64px);overflow-y:auto}
 .b47-site .b47-mobile-nav a{font-size:14px;min-height:44px;padding:10px 12px}
 .b47-site .b47-hero{padding-block:30px 24px}
 .b47-site .b47-hero-left h1.b47-seo-title{font-size:clamp(32px,9.5vw,38px);line-height:1.06;letter-spacing:-.025em}
 .b47-site .b47-hero-description,.b47-site .b47-hero-left>p{font-size:14px;line-height:1.65}
 .b47-site .b47-hero-right{width:100%;height:auto;padding:0;margin-top:24px}
 .b47-site .b47-video-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:none;height:auto;margin:0}
 .b47-site .b47-video-pair .b47-video-card,.b47-site .b47-video-pair .b47-video-card:nth-child(2){position:relative;inset:auto;width:100%;height:auto;aspect-ratio:9/16;transform:none;min-width:0;box-shadow:0 12px 24px #17283f26}
 .b47-site .b47-video-card .b47-media-toggle{font-size:10px;padding:6px 8px;min-height:30px;right:6px;bottom:22px;max-width:calc(100% - 12px)}
 .b47-site .b47-workspace{padding:28px 0 36px;scroll-margin-top:76px}
 .b47-site .b47-workspace-heading{gap:12px;margin-bottom:18px}
 .b47-site .b47-workspace-heading h2{font-size:28px;line-height:1.12}
 .b47-site .b47-workspace-heading>p{font-size:13px;line-height:1.6}
 .b47-site .b47-workspace-panel{display:flex;flex-direction:column;box-shadow:none;border:1px solid #bdc8d5;border-radius:16px;overflow:visible}
 .b47-site .b47-workspace .b47-generator{width:100%;padding:20px 16px;border-radius:16px 16px 0 0;min-height:0}
 .b47-site .b47-gen-step{gap:9px;margin-bottom:12px;align-items:center}
 .b47-site .b47-gen-step>span{font-size:20px;line-height:1.2}
 .b47-site .b47-gen-step strong{font-size:16px;line-height:1.35}
 .b47-site .b47-gen-group{margin-top:20px}
 .b47-site .b47-generator .b47-upload{width:100%;height:144px;min-height:0;border-radius:12px;justify-content:center}
 .b47-site .b47-upload-copy{gap:8px;padding:12px!important}.b47-site .b47-upload-copy strong{font-size:14px}
 .b47-site .b47-file-types{font-size:10px}.b47-site .b47-upload-plus{width:32px;height:32px;top:10px;right:10px}
 .b47-site .b47-photo-field .b47-upload.has-photo{grid-template-columns:88px minmax(0,1fr);height:128px;gap:14px;padding:12px 44px 12px 12px;text-align:left}
 .b47-site .b47-photo-field .b47-upload.has-photo>img{width:88px;height:102px;object-fit:contain;background:#dce5ef}
 .b47-selected-caption{display:grid;gap:5px;justify-content:start}.b47-selected-caption small{font-size:12px}
 .b47-site .b47-tags{gap:6px;margin-top:10px;display:flex;flex-wrap:wrap}
 .b47-site .b47-tags>span{font-size:11px;padding:5px 7px;line-height:1.3;border-radius:5px}
 .b47-site .b47-duration-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .b47-site .b47-duration-row button{min-width:0;min-height:68px;padding:10px 8px;border-radius:10px}
 .b47-site .b47-duration-row button>span{font-size:16px;line-height:1.3}
 .b47-site .b47-duration-row button small{display:block;font-size:11px;line-height:1.4;margin-top:4px;white-space:nowrap}
 .b47-site .b47-gen-group:has(.b47-quality-row){display:flex;align-items:center;gap:12px;margin-top:16px}
 .b47-site .b47-gen-group:has(.b47-quality-row) .b47-gen-step{margin:0}.b47-site .b47-gen-group:has(.b47-quality-row) .b47-gen-step>span{display:none}
 .b47-site .b47-gen-group:has(.b47-quality-row) .b47-gen-step strong{font-size:13px;color:#526174}
 .b47-site .b47-quality-row{flex:1;max-width:110px}
 .b47-site .b47-quality-row button{padding:9px 12px;min-height:40px;border-radius:8px;font-size:13px;text-align:center}.b47-site .b47-quality-row button small{display:none}
 .b47-site .b47-specs{gap:5px;flex-wrap:wrap;margin-top:14px}.b47-site .b47-specs span{font-size:9px;padding:5px 6px;line-height:1.4}
 .b47-site .b47-consent{font-size:12px;line-height:1.6;gap:10px;margin-block:16px}.b47-site .b47-consent input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}
 .b47-site .b47-create-button{width:100%;min-height:48px;font-size:14px;border-radius:10px;box-shadow:none;padding:12px}
 .b47-site .b47-price-line{font-size:11px;line-height:1.6;margin:12px 0}.b47-site .b47-perks{gap:8px 12px;font-size:10px;line-height:1.5}
 .b47-site .b47-source-sample{order:2;width:100%;padding:0;border:0;border-top:1px solid #c5ccd5;border-radius:0 0 16px 16px}
 .b47-source-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:14px 16px;font-size:13px;font-weight:650;cursor:pointer;list-style:none}
 .b47-source-disclosure>summary::-webkit-details-marker{display:none}.b47-source-disclosure>summary:after{content:'+';font-size:20px}.b47-source-disclosure[open]>summary:after{content:'−'}
 .b47-source-content{padding:0 16px 18px}.b47-site .b47-source-heading h3{font-size:16px}.b47-site .b47-source-frame{max-width:180px}.b47-site .b47-source-format{font-size:11px;margin-top:12px}
 .b47-site .b47-section{padding-block:36px}.b47-site .b47-section h2,.b47-site .b47-short-label{font-size:28px;line-height:1.16}
 .b47-site .b47-pricing{scroll-margin-top:76px}
 .b47-site .b47-pricing-page{padding-block:24px 40px}
 .b47-site .b47-pricing-page h1{font-size:32px;line-height:1.08;letter-spacing:-.025em;margin:12px 0 20px}
 .b47-site .b47-pricing-page>.b47-wrap>p{font-size:12px;line-height:1.5}
 .b47-site .b47-pricing-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .b47-site .b47-pricing-grid .b47-price-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:none;grid-template-areas:'name discount' 'price credits' 'detail detail' 'buy buy' 'features features';gap:12px;padding:18px 16px;border-radius:14px;box-shadow:none;min-height:0;height:auto}
 .b47-site .b47-pricing-grid .b47-plan-name{grid-area:name;font-size:16px;line-height:1.4}
 .b47-site .b47-pricing-grid .b47-discount{grid-area:discount;justify-content:flex-end;gap:6px;font-size:11px;min-height:0;flex-wrap:wrap}
 .b47-site .b47-discount span{padding:3px 6px;font-size:11px}.b47-site .b47-pricing-grid .b47-discount-placeholder{display:none}
 .b47-site .b47-pricing-grid .b47-price{grid-area:price;font-size:28px;line-height:1.2;align-self:center;letter-spacing:-.035em}
 .b47-site .b47-pricing-grid .b47-credit-highlight{grid-area:credits;background:#e9f7c9;justify-content:center;gap:4px;padding:9px 6px;border-radius:9px;align-self:center;text-align:center}
 .b47-site .b47-credit-number{font-size:20px}.b47-site .b47-credit-unit{font-size:11px}.b47-site .b47-credit-bonus{font-size:10px;line-height:1.4}
 .b47-site .b47-pricing-grid .b47-credit-before{display:none}
 .b47-site .b47-pricing-grid .b47-plan-detail{grid-area:detail;font-size:11px;line-height:1.5;color:#526174}
 .b47-site .b47-pricing-grid .b47-buy{grid-area:buy;min-height:44px;padding:10px;font-size:13px;border-radius:9px;box-shadow:none}
 .b47-site .b47-pricing-grid .b47-price-card>ul{grid-area:features;padding:0;font-size:11px;line-height:1.5;display:grid;gap:5px}
 .b47-site .b47-price-card li{font-size:11px;line-height:1.5;margin:0;padding-left:16px}.b47-site .b47-recommend{font-size:10px;padding:4px 9px;top:-10px}
 .b47-site .b47-credit-cost{padding:14px 10px;margin:20px 0;font-size:12px;border-radius:12px}
 .b47-site .b47-credit-cost th,.b47-site .b47-credit-cost td{padding:9px 6px;font-size:12px}.b47-site .b47-credit-cost p{font-size:11px;line-height:1.5}
 .b47-site .b47-pricing-summary{font-size:11px;line-height:1.6;gap:10px}.b47-site .b47-pricing-summary i{display:none}
 .b47-credit-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:85dvh;margin:0;border-radius:22px 22px 0 0;padding:12px 20px max(18px,env(safe-area-inset-bottom))}
 .b47-sheet-handle{display:block;width:36px;height:4px;background:#c4cddb;border-radius:4px;margin:0 auto 22px}.b47-credit-sheet h2{font-size:22px}.b47-credit-sheet p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.b47-credit-sheet{scroll-behavior:auto}}
.b47-heic-sheet{box-sizing:border-box;width:min(420px,calc(100% - 32px));border:0;border-radius:22px;padding:32px 28px;color:#17283f;background:#fffdf7;box-shadow:0 20px 80px #10203955;font-family:Onest,system-ui,sans-serif;text-align:center}
.b47-heic-sheet::backdrop{background:#14243a80;backdrop-filter:blur(3px)}
.b47-heic-spinner{width:44px;height:44px;margin:0 auto 18px;border-radius:50%;border:4px solid #17283f1f;border-top-color:#315cff;animation:b47-heic-spin 900ms linear infinite;will-change:transform}
@keyframes b47-heic-spin{to{transform:rotate(360deg)}}
.b47-heic-sheet h2{font-size:20px;line-height:1.25;margin:0 0 10px;letter-spacing:-.035em;color:#17283f}
.b47-heic-sheet p{font-size:14px;line-height:1.6;color:#526174;margin:0}
.b47-heic-sheet .b47-heic-tip{margin-top:14px;font-size:13px;color:#8a94a3}
@media(prefers-reduced-motion:reduce){.b47-heic-spinner{animation-duration:3s}}
