/* Plan and credit controls — scoped to existing components. */
.credit-bar-actions{gap:9px!important;flex-wrap:wrap!important;align-items:center!important}.credit-bar-actions .credit-bar-refresh{min-width:42px!important;min-height:42px!important;border:1px solid #806451!important;background:#332820!important;color:#ffd2b3!important;border-radius:11px!important}.credit-bar-refresh svg{width:18px!important;height:18px!important}.credit-bar-actions .credit-bar-details,.credit-bar-actions .credit-bar-manage{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px!important;border:1px solid #655c54!important;background:#272826!important;color:#f5e8dc!important;font-size:13px!important;font-weight:650!important;border-radius:11px!important;text-decoration:none!important;white-space:nowrap}.credit-bar-actions .credit-bar-plans{min-height:42px!important;padding:11px 22px!important;background:#ff795f!important;color:#1d100b!important;border:1px solid #ff9b7a!important;border-radius:11px!important;font-weight:750!important;box-shadow:0 3px 14px #ff6a4920}.credit-bar-actions>*:hover{filter:brightness(1.12)}.credit-bar-actions>*:focus-visible{outline:3px solid #ffd5b5!important;outline-offset:3px}.account-topbar-login{min-height:38px!important;padding:8px 14px!important;border:1px solid #917059!important;background:#34271f!important;color:#ffe0c8!important;font-weight:650!important}.account-topbar-login svg{width:17px!important;height:17px!important}.bv2-plan{border-radius:20px!important;padding:26px!important;background:linear-gradient(160deg,#242523,#171b1c)!important}.bv2-plan-pro{border-color:#e5a17e!important;box-shadow:0 0 0 1px #e5a17e33!important}.bv2-plan .bv2-plan-price strong{font-size:46px!important;letter-spacing:-2px!important}.bv2-plan .bv2-billing-total{font-size:12px!important;color:#bdc3c2!important}.bv2-plan .bv2-fine{color:#f1c5ab!important;font-size:12px!important;line-height:1.6!important}.bv2-plan .bv2-primary{min-height:46px!important;border-radius:11px!important}.bv2-plan .bv2-features{font-size:13px!important;line-height:1.6!important}.bv2-plan .bv2-tag{background:#50392c!important;color:#ffe0bd!important;border-color:#8d6750!important;font-size:10px!important}.bv2-plan .bv2-allowance{border-top:1px solid #3b3f3f;padding-top:18px!important;margin-top:20px!important}.bv2-plan .bv2-plan-details{font-size:13px!important}.bv2-plan .bv2-plan-title h3{font-size:26px!important}@media(max-width:700px){.credit-bar-actions{width:100%!important;gap:7px!important}.credit-bar-actions .credit-bar-manage{order:3}.credit-bar-actions .credit-bar-plans{margin-left:auto}.bv2-plan{padding:23px!important}}

.bv2-plan{display:flex!important;flex-direction:column!important}.bv2-plan>h3,.bv2-plan>.bv2-plan-title{order:0}.bv2-plan>p:not([class]){order:1;min-height:42px;margin-bottom:12px!important}.bv2-plan>.bv2-plan-price{order:2}.bv2-plan>.bv2-billing-total{order:3}.bv2-plan:not(.bv2-trial-card)>.bv2-fine{order:4;margin:4px 0 14px!important}.bv2-plan>.bv2-primary{order:5}.bv2-plan>.bv2-allowance,.bv2-plan>ul{order:6}.bv2-plan>.bv2-features{order:7}.bv2-plan>.bv2-plan-details,.bv2-plan>details{order:8}.bv2-trial-card>.bv2-fine{order:9}
/* Mobile control layout. Desktop stays on its existing breakpoints. */
@media(max-width:767px){
 body.al-mobile-ready .topbar {min-height:60px;padding:8px 16px;gap:12px;align-items:center}
 body.al-mobile-ready .topbar-left,body.al-mobile-ready .topbar-right {min-width:0;gap:8px;flex:0 1 auto}
 body.al-mobile-ready .topbar-right {margin-left:auto}
 body.al-mobile-ready .topbar .topbar-path,body.al-mobile-ready .topbar .ailuq-app-top-button {display:none!important}
 body.al-mobile-ready .topbar .account-topbar-login {min-height:44px!important;padding:10px 12px!important;white-space:nowrap;font-size:12px!important}
 body.al-mobile-ready .mobile-ai-prompt-shortcut {min-height:44px;padding:10px 12px;font-size:13px}
 body.al-mobile-ready .credit-balance-bar {padding:12px 16px!important;gap:10px!important}
 body.al-mobile-ready .credit-wallets {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;gap:6px!important;overflow:visible!important}
 body.al-mobile-ready .credit-wallets:has(>.credit-wallet:nth-child(4)) {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.al-mobile-ready .credit-wallet {min-width:0!important;min-height:48px!important;width:auto!important;flex:none!important;padding:6px!important;border:1px solid #343d36!important;border-radius:10px;background:#1b221d;gap:6px!important}
 body.al-mobile-ready .credit-wallet svg {display:none}
 body.al-mobile-ready .credit-wallet small {font-size:10px!important;line-height:1.3;white-space:normal}
 body.al-mobile-ready .credit-wallet strong {font-size:19px!important;line-height:1.2}
 body.al-mobile-ready .credit-wallet em {font-size:10px!important}
 body.al-mobile-ready .credit-wallet .trial-badge {display:none}
 body.al-mobile-ready .credit-bar-actions {display:flex!important;flex-wrap:nowrap!important;gap:6px!important;width:100%!important}
 body.al-mobile-ready .credit-bar-actions .credit-bar-manage,
 body.al-mobile-ready .credit-bar-actions .credit-bar-details,
 body.al-mobile-ready .credit-bar-actions .credit-bar-plans {flex:1 1 0!important;min-width:0!important;min-height:44px!important;padding:8px 6px!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important;text-align:center!important;order:0!important;margin:0!important}
 body.al-mobile-ready .credit-bar-actions .credit-bar-refresh {flex:0 0 44px;min-height:44px!important;min-width:44px!important;order:4}
 body.al-mobile-ready .studio-workflow-nav {display:grid!important;grid-template-columns:.7fr 1.15fr 1.15fr;gap:6px!important;overflow:visible!important;padding:0!important;max-width:100%}
 body.al-mobile-ready .studio-workflow-nav a {display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:9px 5px!important;font-size:12px!important;line-height:1.3;white-space:normal;text-align:center;border-radius:12px!important}
 body.al-mobile-ready .studio-heading {margin-top:24px!important;gap:12px!important;flex-wrap:wrap}
 body.al-mobile-ready .studio-heading h1 {font-size:28px!important;line-height:1.12!important;letter-spacing:-1px!important;overflow-wrap:normal}
 body.al-mobile-ready .studio-layout {gap:24px!important}
 body.al-mobile-ready .studio-page input:not([type=checkbox]):not([type=radio]),
 body.al-mobile-ready .studio-page textarea,
 body.al-mobile-ready .studio-page select {font-size:16px!important}
 body.al-mobile-ready .studio-page select {min-height:48px}
 body.al-mobile-ready .video-request-panel {padding:16px!important;border-radius:16px!important}
 body.al-mobile-ready .video-request-panel h3 {font-size:19px!important;line-height:1.3}
 body.al-mobile-ready .al-mobile-nav:has(>.al-mobile-pricing) {grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body.al-mobile-ready .al-mobile-pricing {color:#ffd6bd!important}
 body.al-mobile-ready .al-mobile-nav:has(>.al-mobile-pricing[aria-current="page"])>button:last-child {background:transparent;color:#aaaeb1}
 body.al-mobile-ready .al-mobile-nav:has(>.al-mobile-pricing[aria-current="page"])>button:last-child:before {display:none}
 body.al-mobile-ready .al-mobile-sheet>.ailuq-app-menu-button {width:100%;min-height:48px;margin-top:18px}
 body.al-mobile-ready .al-mobile-nav>a,body.al-mobile-ready .al-mobile-nav>button {min-height:52px!important}
 body.al-mobile-ready .al-mobile-sheet {scroll-padding-bottom:24px}
 body.al-mobile-ready #ailuq-privacy-dock {padding-left:16px!important;padding-right:16px!important;max-width:100%;box-sizing:border-box}
}
@media(max-width:359px){
 body.al-mobile-ready .topbar {padding-left:12px;padding-right:12px;gap:6px}
 body.al-mobile-ready .topbar .account-topbar-login {font-size:11px!important;padding:8px!important}
 body.al-mobile-ready .credit-balance-bar {padding-left:12px!important;padding-right:12px!important}
 body.al-mobile-ready .credit-bar-actions {gap:4px!important}
 body.al-mobile-ready .credit-bar-actions .credit-bar-manage,
 body.al-mobile-ready .credit-bar-actions .credit-bar-details {font-size:10px!important}
 body.al-mobile-ready .studio-workflow-nav a {font-size:11px!important}
}

.luq-upgrade-card{box-sizing:border-box;flex:1 0 100%;width:100%;margin-top:10px;color:#f5f1ec;text-align:center}
.luq-upgrade-card .luq-upgrade{box-sizing:border-box;display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;padding:12px 16px;border:1px solid #ff785c;border-radius:12px;background:#ff7154;color:#180e0a;font-size:14px;line-height:1.4;font-weight:700;text-decoration:none;margin:0}
.luq-upgrade-card .luq-upgrade:hover{background:#ff896e}
.luq-offer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;padding:9px 10px;border:1px solid #2d563f;border-radius:10px;background:#172c22;color:#b9efcd;font-size:12px;line-height:1.4}
.luq-offer strong{padding:3px 7px;border:1px dashed #64a37d;border-radius:5px;color:#e1ffeb;letter-spacing:.05em}
.luq-upgrade-card .luq-upgrade:focus-visible,.luq-download:focus-visible{outline:3px solid #f5cfb3;outline-offset:4px}
.luq-download{min-height:48px}
@media(max-width:767px){.luq-upgrade-card .luq-upgrade{min-height:50px}.luq-result-card .luq-download{display:flex;justify-content:center;width:100%;white-space:normal;text-align:center}.iw-result-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.luq-upgrade-card *{transition:none!important}}
