/* v18.85 compact professional monetization workspace. */
@keyframes tv85-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes tv85-soft-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
.settings-toggle{position:relative}
.settings-toggle>input[type="checkbox"]{position:absolute!important;left:0!important;width:1px!important;height:1px!important;margin:0!important;opacity:0!important;pointer-events:none!important}
.settings-toggle>i{flex:0 0 auto!important}
.space-settings-page .page-inner,.gateway-hub-page .page-inner{max-width:1180px}
.space-settings-page .page-title,.gateway-hub-title{gap:14px;margin-bottom:14px}
.space-settings-page .page-title p,.gateway-hub-title p{max-width:680px;margin-top:5px;color:var(--muted);line-height:1.45}
.space-settings-shell{min-width:0}
.space-settings-tabs{display:flex!important;max-width:100%;min-width:0;overflow-x:auto!important;overflow-y:hidden!important;gap:6px;padding:8px!important;scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.space-settings-tabs::-webkit-scrollbar{display:none}
.space-settings-tabs button{flex:0 0 auto!important;min-width:max-content;white-space:nowrap;transition:background .18s ease,color .18s ease,transform .18s ease}
.space-settings-tabs button:active{transform:scale(.98)}
.space-settings-content{min-width:0}
.space-settings-panel.active{animation:tv85-rise .26s ease both}
.settings-panel-head{gap:14px}
.settings-panel-head>svg{flex:0 0 auto}
.settings-modern-card{border-radius:18px}
[data-space-settings-panel="plans"] .admin-grid-wide{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:start;gap:14px}
[data-space-settings-panel="plans"] .settings-modern-card{padding:18px}
[data-space-settings-panel="plans"] .space-plan-create-card .page-form{gap:10px}
[data-space-settings-panel="plans"] .space-plan-create-card textarea{min-height:110px}
[data-space-settings-panel="plans"] .space-plan-list-card .table-wrap{overflow-x:auto}
[data-space-settings-panel="plans"] .space-plan-gateway-link{display:inline-flex;align-items:center;gap:6px}
.gateway-hub-page .page-inner{padding-bottom:36px}
.gateway-hub-back{flex:0 0 auto}
.gateway-hub-actions{gap:7px;margin:0 0 12px}
.gateway-hub-actions .btn{display:inline-flex;align-items:center;gap:6px;border-radius:999px}
.gateway-hub-region{margin:15px 0}
.gateway-hub-region header h2{margin:2px 0 8px;font-size:18px}
.gateway-hub-grid{grid-template-columns:repeat(auto-fill,minmax(158px,190px));justify-content:start;gap:8px}
.gateway-hub-tile{min-height:68px;padding:9px;border-radius:15px;animation:tv85-rise .28s ease both;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.gateway-hub-tile:hover{transform:translateY(-2px)}
.gateway-hub-tile:active{transform:scale(.985)}
.gateway-hub-brand{flex-basis:54px;min-height:40px;border-radius:11px}
.gateway-hub-brand svg{width:27px;height:22px}
.gateway-hub-tile b{font-size:13px}
.gateway-hub-tile small{font-size:10px}
.gateway-hub-config-list{gap:8px;margin-top:17px}
.gateway-hub-config{border-radius:16px}
.gateway-hub-config>summary{padding:11px 13px}
.gateway-hub-config[open]{animation:tv85-rise .22s ease both}
.gateway-hub-config-body{padding:0 13px 13px}
.gateway-hub-config-body>p{margin:0 0 10px;font-size:12px;line-height:1.45}
.gateway-hub-form{gap:8px}
.gateway-hub-form .form-field>span{font-size:12px}
.gateway-hub-form footer .btn{min-height:40px;border-radius:12px}
.gateway-hub-fixed-currency,.gateway-hub-note{display:none!important}
@media(max-width:900px){
 .space-settings-shell{grid-template-columns:1fr!important}
 .space-settings-tabs{position:sticky;top:0;z-index:5;margin-bottom:10px;background:color-mix(in srgb,var(--panel) 94%,transparent);backdrop-filter:blur(14px)}
 [data-space-settings-panel="plans"] .admin-grid-wide{grid-template-columns:1fr}
}
@media(max-width:640px){
 .space-settings-page .page-title,.gateway-hub-title{display:flex!important;align-items:flex-start}
 .space-settings-page .page-title h1,.gateway-hub-title h1{font-size:28px}
 .space-settings-page .page-title p,.gateway-hub-title p{font-size:13px}
 .space-settings-page .page-title>.btn{width:42px;height:42px;padding:0;font-size:0;border-radius:13px}
 .space-settings-page .page-title>.btn .icon{width:18px;height:18px}
 .space-settings-tabs{margin-inline:-4px;padding:6px!important}
 .space-settings-tabs button{padding:10px 12px!important;font-size:12px}
 .gateway-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .gateway-hub-tile{min-height:86px;display:grid;gap:6px;padding:8px}
 .gateway-hub-brand{width:100%;min-height:32px}
 .gateway-hub-config>summary{padding:10px}
 .gateway-hub-config-body{padding:0 10px 10px}
 [data-space-settings-panel="plans"] .settings-modern-card{padding:14px}
 [data-space-settings-panel="plans"] .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}
@media(max-width:390px){.gateway-hub-grid{grid-template-columns:1fr 1fr}.gateway-hub-tile{min-height:82px}}
.reduce-motion .gateway-hub-tile,.reduce-motion .gateway-hub-config[open],.reduce-motion .space-settings-panel.active{animation:none!important;transition:none!important}
