/* OROXA 0.25 — readable formats, account access and complete media frames */
img[src*="/icons/"]{filter:brightness(0) invert(1)}
.brand-mark,.auth-brand-mark,.logo-mark{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}
.brand-mark img,.auth-brand-mark img,.logo-mark img{width:100%!important;height:100%!important;object-fit:contain;filter:none!important}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #bfa4ff;outline-offset:4px}
button:disabled{opacity:.45;cursor:not-allowed}
input:-webkit-autofill,input:-webkit-autofill:focus{-webkit-text-fill-color:#f6f4ff!important;box-shadow:0 0 0 1000px #111520 inset!important;caret-color:#fff}
.logout-form{margin:8px 0 0}.logout-form button{width:100%;min-height:44px;text-align:left;padding:10px 12px;border:1px solid #414452;border-radius:10px;background:#171b26;color:#fff;font:inherit;cursor:pointer}
.mobile-account{display:none}.forgot-link{color:#c5adff;justify-self:end;font-size:14px}
.recovery-shell{width:min(480px,calc(100% - 32px));margin:48px auto}.recovery-shell .auth-brand{margin-bottom:24px;display:flex;align-items:center;gap:12px;font-size:22px}.recovery-logo{width:52px;height:52px;object-fit:contain}.recovery-shell .auth-card{width:100%;padding:28px;box-sizing:border-box}.recovery-shell h1{font-size:28px}.auth-form input{font-size:16px!important}
.format-selector{display:block!important;margin:16px 0!important;padding:12px!important;border:1px solid #343044;border-radius:14px;min-width:0}.format-selector legend{font-size:14px;padding:0 6px;color:#eee9ff;font-weight:700}.format-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.format-buttons button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:9px 3px!important;color:#e6e0f5;background:#0c1018;border:1px solid #373344;border-radius:10px;font-size:12px!important}.format-buttons .selected{border-color:#af85ff;background:#28203e;box-shadow:inset 0 0 0 1px #a875ff}.format-buttons span{display:grid;gap:3px}.format-buttons small{font-size:11px!important;color:#c0b7d4!important}.format-shape{display:block;border:2px solid #ece5ff;border-radius:3px;box-sizing:border-box;flex:none}.format-shape.portrait{width:17px;height:27px}.format-shape.landscape{width:30px;height:18px}.format-shape.square{width:23px;height:23px}
.history-card video,.library-card video{width:100%!important;height:300px!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:#06080e!important}.history-card video{height:220px!important}.library-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;align-items:start;gap:18px!important}.library-card{min-width:0}.library-card img.library-image{width:100%;height:300px;object-fit:contain;background:#06080e}.library-card .history-card-info{padding:16px!important;gap:8px}.library-card .history-card-info>strong{font-size:16px!important;white-space:normal;overflow-wrap:anywhere}.library-card .history-card-info>span{font-size:12px!important;line-height:1.6}.library-card-actions{display:flex;gap:8px;flex-wrap:wrap}.library-card-actions a,.library-card-actions button{min-height:36px;font-size:12px!important;padding:8px!important;color:#d8caff;background:#1a1627;border:1px solid #3a304e;border-radius:8px;cursor:pointer}.library-prompt{border-top:1px solid #34303e;padding-top:10px}.library-prompt summary{font-size:13px;cursor:pointer;color:#c6b2f6}.library-prompt p{white-space:pre-wrap;font-size:14px!important;line-height:1.6;overflow-wrap:anywhere;color:#d4d0df}.library-prompt button{background:#282038;border:1px solid #69528d;color:#fff;border-radius:8px;padding:8px;cursor:pointer}.library-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.library-filters label{display:grid;gap:7px;font-size:13px;color:#c7c0d6}.library-filters label:first-child{flex:1;min-width:200px}.library-filters input,.library-filters select{width:100%;box-sizing:border-box;min-height:44px;padding:10px;background:#0c1018;border:1px solid #40374f;border-radius:10px;color:#fff;font-size:14px}.library-filters button{min-height:44px;padding:10px 20px;border-radius:10px;border:1px solid #ab81fd;background:#8051da;color:#fff;cursor:pointer}.library-pagination{display:flex;justify-content:center;align-items:center;gap:24px;padding:24px}.library-pagination a{color:#c8aaff}.library-message{font-size:13px;min-height:18px;color:#bee6d3}
body[data-ratio="16:9"] .result-phone{width:100%!important;max-width:none!important;aspect-ratio:16/9!important;height:auto!important;border-radius:18px!important}body[data-ratio="1:1"] .result-phone{width:100%!important;max-width:480px!important;aspect-ratio:1/1!important;height:auto!important;border-radius:18px!important}body[data-ratio="16:9"] .phone-preview-notch,body[data-ratio="16:9"] .phone-preview-home,body[data-ratio="1:1"] .phone-preview-notch,body[data-ratio="1:1"] .phone-preview-home{display:none!important}.result-box video,#result{object-fit:contain!important}.phone-preview-screen{min-height:0}.prompt-shell textarea{padding:18px!important}.account-stats img{filter:brightness(0) invert(1)!important;opacity:.8!important}
@media(max-width:820px){
 .topbar{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;padding:10px 14px!important;min-height:68px!important;overflow:visible!important;position:sticky!important;top:0;z-index:180!important;background:#090b12!important}.topbar-left{min-width:0!important;gap:9px!important}.topbar-title strong{font-size:16px!important}.topbar-title span{display:none!important}.mobile-menu{display:flex!important;flex:none;width:40px!important;height:40px!important}.mobile-account{display:flex!important;align-items:center;gap:9px;flex:none}.mobile-balance{display:flex;align-items:center;gap:6px;border:1px solid #383242;border-radius:10px;min-height:40px;padding:0 10px;color:#f2eaff;font-size:14px;font-weight:700;text-decoration:none}.mobile-balance img{width:18px}.mobile-profile{position:relative}.mobile-profile summary{list-style:none;cursor:pointer}.mobile-profile summary::-webkit-details-marker{display:none}.mobile-profile .avatar{width:40px;height:40px;font-size:15px}.mobile-profile .profile-popover{display:grid!important;position:absolute!important;right:0!important;left:auto!important;top:48px!important;width:210px!important;max-height:65vh;overflow:auto;background:#131621!important;border:1px solid #40364f;padding:12px;border-radius:14px;z-index:300!important}.mobile-profile:not([open]) .profile-popover{display:none!important}.mobile-profile .profile-popover>a{display:block;padding:12px;color:#e8defa;text-decoration:none}
 .sidebar{display:flex!important;flex-direction:column!important;position:fixed!important;left:0!important;top:0!important;width:min(88vw,340px)!important;height:100dvh!important;padding:22px!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:260!important;background:#090b12!important;transform:translateX(-102%)}.sidebar-open .sidebar{transform:translateX(0)!important}.sidebar-backdrop{z-index:240!important}.sidebar-open .sidebar-backdrop{display:block!important}.sidebar .side-nav{width:100%!important;display:flex!important;flex-direction:column!important;gap:6px!important}.sidebar .side-link{width:100%!important;min-height:48px!important}.sidebar .nav-account-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:18px!important;padding-top:18px!important;border-top:1px solid #2c2936!important}.sidebar .credit-chip{display:flex!important;font-size:14px!important}.sidebar .credit-chip span,.sidebar .credit-chip small,.sidebar .credit-chip strong{display:block!important}.sidebar .profile-menu{display:block!important}.sidebar .profile-popover{position:static!important;width:100%!important;max-height:none!important}.sidebar .profile-menu[open]{width:100%!important}.sidebar .profile-menu[open] summary{justify-content:flex-start}.sidebar .result-tab{display:none!important}.sidebar .side-spacer{min-height:20px}.sidebar .side-plan{margin-top:20px!important}.sidebar-open{overflow:hidden}.library-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important}.result-stage{min-height:0!important}.format-selector{order:0}
}
@media(max-width:400px){.topbar-title strong{font-size:14px!important}.mobile-balance{padding:0 7px}.mobile-account{gap:6px}.library-grid{grid-template-columns:1fr!important}.format-buttons small{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.recovery-shell .auth-brand{position:static!important;inset:auto!important;margin:0 0 20px!important}.recovery-logo{border-radius:14px}
.account-credit-cta{font-size:13px!important}
@media(max-width:820px){.content-mode-grid.content-mode-grid-six{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;max-height:none!important}.content-mode-grid-six .content-mode{min-width:0!important;min-height:72px!important;display:grid!important;flex:none!important}.content-mode-grid-six .content-mode:nth-child(n){display:grid!important}.content-mode-grid-six .mode-icon{width:34px!important;height:40px!important}.content-mode-grid-six .content-mode strong{font-size:13px!important}.content-mode-grid-six .content-mode small{font-size:11px!important}}

@media(max-width:820px){.topbar{position:fixed!important;top:0!important;left:0!important;right:0!important;width:auto!important}.workspace{padding-top:68px!important}}
