/* ALL-CATALOG.SBS — polar editorial theme (isolated from older site themes).
   Layout and backend selectors remain compatible with the inherited PHP templates. */
:root{--bg:#eaf2f2;--card:#fff;--text:#0e2534;--muted:#546f78;--line:#c7dcdf;--primary:#006e73;--primary2:#179797;--ink:#0c2533;--shadow:0 8px 0 rgba(10,39,50,.045);--radius:14px;--gold:#ebb820}
html{background:#eaf2f2}
body{background:linear-gradient(90deg,rgba(14,104,112,.033) 1px,transparent 1px),linear-gradient(rgba(14,104,112,.033) 1px,transparent 1px),linear-gradient(180deg,#f3f9f9,#eaf2f2);background-size:32px 32px,32px 32px,auto;color:#0e2534;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.container{width:min(1230px,calc(100% - 42px))}
.site-header{background:#0c2734;border-bottom:4px solid #b7e85a;box-shadow:0 12px 27px rgba(13,45,55,.15)}
.header-in{height:70px}.site-header .nav{gap:7px}.site-header .nav a{color:#d8f1eb;font-size:13px;font-weight:750;padding:10px 15px;border-radius:8px;transition:background .15s}.site-header .nav a:hover{color:#b7e85a;background:#1b3c48}
.logo img{width:211px;height:auto;min-width:0;max-width:100%}.logo span,.admin-brand span{display:none}
.site-header .header-add{background:#b7e85a;color:#0c2734;border:0;border-radius:8px;box-shadow:none;font-weight:850}
.site-header .header-add:hover{background:#d1f592;transform:translateY(-1px)}
.page{padding-top:18px;padding-bottom:46px}
.hero,.hero.compact-hero{display:block;position:relative;min-height:0;overflow:hidden;background:#0d3642!important;border:1px solid #0d3642!important;border-left:9px solid #b7e85a!important;border-radius:10px!important;padding:24px 30px!important;color:#ecffff!important;box-shadow:0 15px 32px rgba(8,52,62,.13)!important}
.hero:after{content:'';position:absolute;right:-35px;top:-135px;width:350px;height:350px;border:45px solid rgba(89,211,196,.09);border-radius:50%;pointer-events:none}.hero:before{content:'';position:absolute;right:90px;bottom:-95px;width:200px;height:200px;border:1px solid rgba(183,232,90,.25);border-radius:50%;pointer-events:none}
.hero>div:first-child{position:relative;z-index:1;max-width:900px}.hero .hero-art{display:none}.hero .eyebrow{color:#b7e85a;font-size:10px;font-weight:950;letter-spacing:2px}.hero h1{font-size:clamp(27px,3.6vw,39px);margin:7px 0;line-height:1.12;color:#fff!important;letter-spacing:-.055em}.hero p{color:#c8e5e3!important;font-size:14px;line-height:1.55;margin:0;max-width:800px}.hero .hero-actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.btn{background:#006e73;color:white;border:1px solid #006e73;border-radius:8px;box-shadow:none;font-weight:780;transition:transform .15s,background .15s}.btn:hover{background:#005b60;border-color:#005b60;box-shadow:0 6px 12px rgba(6,70,74,.10);transform:translateY(-1px)}.btn.secondary{background:#fff;border-color:#b1cbd0;color:#104959}
.hero .btn{background:#b7e85a;color:#0b2c36;border:1px solid #b7e85a;padding:10px 18px;border-radius:7px;font-size:13px;min-height:0}.hero .btn:hover{background:#d0f58a;color:#0b2c36}.hero .btn.secondary{background:transparent;color:#e2f4f2;border:1px solid #6d999a}
.section-head{margin:26px 0 14px}.section-head h1,.section-head h2{color:#092f40;font-size:clamp(23px,3vw,30px);font-weight:850;letter-spacing:-.055em}.section-head p,.section-link{color:#47767b}
.grid{gap:14px}.channel-card{background:#fff!important;border:1px solid #cadfe0!important;border-radius:12px!important;box-shadow:0 7px 0 rgba(13,61,70,.05)!important;min-height:116px;position:relative;transition:transform .18s,border-color .18s,box-shadow .18s}
.channel-card:before{width:5px;background:#16a8a2!important;border-radius:8px 0 0 8px}.channel-card:nth-child(4n+2):before{background:#79bea8!important}.channel-card:nth-child(4n+3):before{background:#3c7ba4!important}.channel-card:nth-child(4n):before{background:#b4d961!important}
.channel-card:hover{border-color:#21a8a8!important;transform:translateY(-3px);box-shadow:0 11px 0 rgba(13,61,70,.075)!important}
.channel-card h3{color:#103141;font-weight:850}.channel-card p{color:#59747b}.channel-card .card-category{color:#087d80;font-weight:800}.avatar{border-radius:8px;background:#e8f6f5;border:1px solid #d3e8e6;box-shadow:none!important}
.badge{background:#126f80;border-radius:4px;color:#fff;font-size:10px}.badge.upd{background:#148774}.badge.new{background:#1c6b91}
.category-card,.content-card,.form-card,.catalog-filter,.detail-card,.promo-card,.admin-box{background:#fff!important;border:1px solid #cbdfe0!important;border-radius:12px!important;box-shadow:0 8px 0 rgba(13,61,70,.05)!important;color:#143645!important}
.category-card:hover{border-color:#17a8a4!important}.category-card>span{background:#dcf3f0;color:#086c6f;border-radius:6px}
input,textarea,select{background:#fff!important;color:#153642!important;border:1px solid #b8d3d5!important;border-radius:8px!important}input:focus,textarea:focus,select:focus{outline:0;border-color:#169d9e!important;box-shadow:0 0 0 3px rgba(23,157,158,.14)!important}
.breadcrumbs a{color:#066e7d}.content-card h1,.form-card h1,.detail-card h1{color:#153746}.seo-home-text{margin-top:24px}.seo-home-text h2{margin:18px 0 7px;color:#18475a}.seo-home-text p{color:#607b83}
.promo-title{color:#0c7778}.promo-card{background:#eff9f7;border-radius:12px;border-color:#bfe0db}.promo-card .badge{background:#036f77}
.footer{background:#0c2734;color:#dcf2ed;border-top:5px solid #b7e85a;margin-top:32px}.footer a,.footer small{color:#c9e4df}.footer .logo img{width:205px;height:auto}
/* Admin and parser screens inherit the same identity. */
.admin-body,.admin-shell,.admin-main{background:#eaf2f2;color:#0c293a}.admin-sidebar{background:#0c2734;color:#e3f5f0;border-right:4px solid #b7e85a}.admin-top{background:#f6fbfa;border-bottom:1px solid #c7dcdf}.admin-nav a{border-radius:8px;color:#c4e4df}.admin-nav a.active{background:#b7e85a;color:#102c37;font-weight:800}.admin-nav a:hover{background:#23505c;color:#fff}.admin-box{box-shadow:0 7px 0 rgba(13,61,70,.045)!important}.kpi{border-radius:10px;border:1px solid #cee0e2;background:white;box-shadow:none}.admin-table th{background:#0e3b4a}.admin-table tr:hover td{background:#eff9f7!important}
.autoparser-session{border-radius:10px;background:white;border:1px solid #cbdedf;box-shadow:none}.autoparser-session.status-active{border-left:5px solid #17a8a4}.autoparser-tabs a.active{background:#006e73;color:#fff}.log-box{background:#0d2c37;color:#e0fcf6}
/* VIP is always golden, including after every base stylesheet override. */
.grid .channel-card.vip-card,.grid .channel-card.vip-card:hover,.channel-card.vip-card{background:linear-gradient(135deg,#ffe89a,#fff6d0 62%,#fffbea)!important;border:2px solid #dba000!important;box-shadow:0 9px 0 rgba(183,131,9,.15)!important}
.channel-card.vip-card:before,.channel-card.vip-card:nth-child(n):before{background:#cb8f00!important;width:6px!important}.channel-card.vip-card h3{color:#654509!important}.channel-card.vip-card .card-category{color:#926006!important}.channel-card.vip-card .avatar{border:2px solid #e5b33e!important;background:#fff6d0!important}.channel-card.vip-card:hover{transform:translateY(-3px);box-shadow:0 12px 0 rgba(183,131,9,.18)!important}
.badge.vip,.channel-card.vip-card .badge.vip{background:#eaba32!important;color:#563900!important;border:1px solid #b9870e!important}
.detail-card.vip-detail{background:linear-gradient(125deg,#fff0b8,#fffdfa 80%)!important;border:3px solid #ddae20!important;box-shadow:0 16px 25px rgba(155,110,15,.15)!important}
.detail-card.vip-detail .detail-image{border:5px solid #e8bd41!important}
@media(max-width:900px){.site-header .nav{background:#0c2734;border-color:#254b57}.site-header .nav a{color:#f0f9f6}.mobile-menu{border-color:#46707a}.mobile-menu span{background:#b7e85a}}
@media(max-width:760px){.container{width:calc(100% - 20px)}.header-in{height:63px}.site-header .logo img{width:164px!important;min-width:0!important}.hero,.hero.compact-hero{padding:18px 17px!important;border-left-width:6px!important}.hero h1{font-size:27px}.hero p{font-size:13px}.hero .hero-actions .btn{width:auto;font-size:12px;padding:9px 11px}.channel-card{border-radius:9px!important;min-height:105px}.avatar{border-radius:6px}.grid{gap:11px}.section-head{margin-top:24px}}
@media(max-width:430px){.hero h1{font-size:23px}.channel-card{padding:12px 39px 12px 12px}.site-header .logo img{width:148px!important}}
