@font-face{font-family:kasb;src:url('1kasb-assets/1kasb-font-text.ttf')}@font-face{font-family:kasbTitle;src:url('1kasb-assets/1kasb-font-title.ttf')}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg,#f8f6f2);color:var(--text,#151515);font-family:kasb,Tahoma,sans-serif}.app-v2{--primary:#960018;--deep:#7C0902;--red:#C1121F;--cream:#FDF0D5;--navy:#003049;--blue:#669BBC;--bg:#f8f6f2;--card:#fff;--text:#151515;overflow:hidden}.app-shell-v2{height:100dvh;max-width:760px;margin:auto;background:var(--bg);display:grid;grid-template-rows:auto 1fr auto;position:relative}.app-header-v2{height:62px;background:linear-gradient(135deg,var(--deep),var(--primary),var(--red));display:flex;align-items:center;justify-content:space-between;padding:8px 12px;z-index:30;box-shadow:0 4px 18px #4a00152b}.app-header-v2.fixed{position:sticky;top:0}.header-left,.header-right{display:flex;align-items:center;gap:7px}.head-btn{width:40px;height:40px;border:0;background:transparent;color:#fff;display:grid;place-items:center;border-radius:11px;position:relative}.head-btn .icon{width:21px;height:21px}.head-btn i{position:absolute;width:7px;height:7px;background:#fff;border-radius:50%;top:8px;right:8px;border:2px solid var(--primary)}.logo-pill{height:42px;min-width:124px;background:#fff;border-radius:12px;padding:6px 10px;display:grid;place-items:center}.logo-pill img{max-height:30px;max-width:120px;filter:none}.hamb{display:flex;flex-direction:column;gap:4px}.hamb b{display:block;width:22px;height:2px;background:#fff;border-radius:2px}.app-content-v2{overflow-y:auto;overscroll-behavior:contain;padding:14px 14px 104px;scrollbar-width:none}.app-content-v2::-webkit-scrollbar{display:none}.bottom-nav-v2{height:72px;background:#fff;border-top:1px solid #eadfda;display:flex;align-items:center;justify-content:space-around;padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:25}.bottom-nav-v2 button{border:0;background:transparent;min-width:54px;color:#777;display:flex;flex-direction:column;align-items:center;gap:4px;font:10px kasb;padding:5px 4px;border-radius:12px}.bottom-nav-v2 button .icon{width:20px;height:20px}.bottom-nav-v2 button.active{color:var(--primary);background:#fff0f2}.page-title{margin:5px 0 16px}.page-title small{color:#777}.page-title h1{font:30px kasbTitle;margin:4px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin:20px 0 10px}.section-head h2{font:20px kasbTitle;margin:0}.section-head button{border:0;background:transparent;color:var(--primary);font:11px kasb}.hero-slider{position:relative;overflow:hidden;border-radius:22px;background:#111;height:230px;color:#fff}.hero-slider img{width:100%;height:100%;object-fit:cover;display:block}.hero-slider:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0001,#000c)}.hero-copy{position:absolute;z-index:2;inset:auto 18px 20px 18px;max-width:82%}.hero-copy h1{font:28px/1.6 kasbTitle;margin:0 0 6px}.hero-copy p{margin:0 0 12px;font-size:12px}.hero-copy a,.hero-copy button{border:0;border-radius:999px;background:var(--primary);color:#fff;padding:8px 13px;font:11px kasb;text-decoration:none}.hero-dots{position:absolute;z-index:3;bottom:8px;left:12px;display:flex;gap:5px}.hero-dots button{width:6px;height:6px;border:0;border-radius:6px;background:#ffffff88;padding:0}.hero-dots button.active{width:20px;background:#fff}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.quick-card{border:1px solid #eadfda;background:var(--card);border-radius:16px;padding:14px 5px 11px;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--text);font:12px kasb}.quick-card span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 10%,white);color:var(--primary)}.quick-card .icon{width:23px;height:23px}.h-scroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px;scrollbar-width:none}.h-scroll::-webkit-scrollbar{display:none}.event-card{position:relative;flex:0 0 168px;scroll-snap-align:start;background:#fff;border-radius:16px;overflow:hidden;border:1px solid #eadfda}.event-card img{width:100%;height:170px;object-fit:cover}.event-card .copy{padding:9px}.event-card h3{font:15px kasbTitle;margin:0 0 5px}.event-card small{color:#777}.event-card .register{display:block;margin-top:8px;background:var(--primary);color:#fff;border-radius:9px;padding:7px;text-align:center;text-decoration:none;font-size:11px}.event-card.ended:after{content:"پایان یافته";position:absolute;inset:0;background:#960018bb;color:#fff;display:grid;place-items:center;font:18px kasbTitle}.reel-card{flex:0 0 140px;scroll-snap-align:start;border:0;background:#111;border-radius:16px;overflow:hidden;position:relative;height:210px;color:#fff}.reel-card img{width:100%;height:100%;object-fit:cover;opacity:.82}.reel-card span{position:absolute;right:9px;left:9px;bottom:9px;font:12px kasb}.library-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5dbd5;border-radius:14px;padding:5px 11px}.library-search input{border:0;outline:0;flex:1;background:transparent;padding:10px 0;font:13px kasb}.type-chips,.cat-chips{display:flex;gap:7px;overflow-x:auto;padding:11px 0;scrollbar-width:none}.type-chips button,.cat-chips button{white-space:nowrap;border:1px solid #e6dbd5;background:#fff;border-radius:999px;padding:7px 11px;font:11px kasb}.type-chips button.active,.cat-chips button.active{background:var(--primary);border-color:var(--primary);color:#fff}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.content-card{border:1px solid #e8ddd7;background:#fff;border-radius:16px;overflow:hidden;text-align:right;color:inherit;padding:0}.content-card img,.cover-placeholder{width:100%;aspect-ratio:1/1;object-fit:cover;background:linear-gradient(135deg,var(--navy),var(--primary));display:grid;place-items:center;color:#fff}.content-card .card-copy{padding:10px}.content-card h3{font:15px/1.7 kasbTitle;margin:0}.content-card small{color:#777;font-size:10px}.detail-cover{width:100%;max-height:360px;object-fit:cover;border-radius:20px}.detail h1{font:30px/1.6 kasbTitle}.detail-meta{display:flex;gap:8px;flex-wrap:wrap;color:#777;font-size:11px}.detail-actions{display:flex;gap:7px;margin:14px 0}.detail-actions button,.detail-actions a{flex:1;border:1px solid #e4d9d3;background:#fff;border-radius:11px;padding:9px;text-align:center;color:inherit;font:11px kasb;text-decoration:none}.reader{font-size:15px;line-height:2.2;background:#fff;border:1px solid #e8ddd7;border-radius:16px;padding:16px;overflow:hidden}.reader img{max-width:100%;height:auto;border-radius:12px}.reader a{color:var(--primary)}.children{display:flex;flex-direction:column;gap:8px}.episode{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;background:#fff;border:1px solid #e7dcd7;border-radius:13px;padding:9px}.episode .play{width:42px;height:42px;border:0;border-radius:50%;background:var(--primary);color:#fff}.episode h4{margin:0;font:14px kasbTitle}.episode small{color:#777}.video-frame{width:100%;aspect-ratio:16/9;border:0;border-radius:18px;background:#000}.creator-tabs{display:flex;gap:7px;overflow-x:auto}.creator-tabs button{border:1px solid #e6dbd5;background:#fff;border-radius:12px;padding:8px 11px;font:11px kasb}.creator-tabs button.active{background:var(--primary);color:#fff}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.template{aspect-ratio:4/5;border:1px solid #e4d9d3;border-radius:12px;overflow:hidden;background:#fff;padding:0;position:relative}.template b{position:absolute;inset:auto 6px 6px;color:#fff;text-shadow:0 1px 4px #000;font-size:9px}.template i{position:absolute;inset:0;background:linear-gradient(135deg,var(--primary),var(--navy));opacity:.9}.template:nth-child(3n+2) i{background:linear-gradient(135deg,var(--blue),var(--navy))}.template:nth-child(3n) i{background:linear-gradient(135deg,var(--cream),var(--primary))}.creator-canvas{width:100%;border-radius:16px;background:#fff;border:1px solid #e5d9d3}.creator-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.creator-form label{font-size:10px;color:#666}.creator-form input,.creator-form textarea,.creator-form select{width:100%;border:1px solid #ddd1cb;border-radius:9px;padding:8px;font:12px kasb}.creator-form .wide{grid-column:1/-1}.primary-btn{border:0;background:var(--primary);color:#fff;border-radius:11px;padding:10px 14px;font:12px kasb}.service-card,.account-card,.menu-card{background:#fff;border:1px solid #e6dbd5;border-radius:16px;padding:14px;margin-bottom:10px}.service-card h3,.account-card h3{font-family:kasbTitle;margin:0 0 6px}.menu-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee5e0;padding:12px 0}.drawer-backdrop{position:fixed;inset:0;background:#0006;z-index:80}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(330px,86vw);z-index:90;background:#0d0d0e;color:#fff;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:-10px 0 35px #0004}.drawer-logo{background:var(--primary);border-radius:14px;padding:12px}.drawer-logo img{max-width:160px}.drawer nav{display:flex;flex-direction:column}.drawer-link,.drawer nav button{border:0;border-bottom:1px solid #ffffff18;background:transparent;color:#fff;padding:13px;text-align:right;font:14px kasb}.drawer small{margin-top:auto;color:#999}.intro{position:fixed;inset:0;z-index:200;background:#000}.intro img{width:100%;height:100%;object-fit:cover}.intro-shade{position:absolute;inset:0;background:linear-gradient(0deg,#0002,transparent)}.mini-player-v2{position:fixed;left:10px;right:10px;bottom:78px;max-width:740px;margin:auto;z-index:60;background:#111;color:#fff;border-radius:15px;padding:7px 8px;display:grid;grid-template-columns:46px 1fr auto auto auto auto;gap:7px;align-items:center;box-shadow:0 10px 30px #0004;overflow:hidden}.mini-player-v2 img{width:46px;height:46px;object-fit:cover;border-radius:10px}.mini-player-v2 b{display:block;font-size:11px}.mini-player-v2 small{color:#bbb;font-size:9px}.mini-player-v2 button{border:0;background:transparent;color:#fff}.mini-player-v2 #mini-play{width:36px;height:36px;border-radius:50%;background:var(--primary)}#mini-progress{position:absolute;bottom:0;right:0;height:2px;background:var(--red);width:0}.app-toast{position:fixed;left:14px;bottom:90px;z-index:120;background:#111;color:#fff;border-radius:10px;padding:9px 12px;font-size:11px}.empty{padding:28px;text-align:center;color:#888}.back{border:0;background:transparent;color:var(--primary);font:12px kasb;padding:0 0 8px}@media(min-width:700px){.app-shell-v2{border-inline:1px solid #e5ddd7}.quick-grid{grid-template-columns:repeat(6,1fr)}.library-grid{grid-template-columns:repeat(3,1fr)}}

/* 0.7.5 drawer stability and compact layout */
[hidden]{display:none!important}
.drawer[hidden],.drawer-backdrop[hidden]{display:none!important}
.drawer{width:min(260px,50vw)!important;transform:translateX(102%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease;padding:16px!important;gap:12px!important}
.drawer.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
.drawer-backdrop{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
.drawer-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
.drawer-logo{display:flex!important;justify-content:center!important;align-items:center!important;padding:10px!important;margin-top:34px!important}
.drawer-logo img{display:block!important;width:auto!important;max-width:78px!important;max-height:58px!important;margin:0 auto!important}
.drawer-close{position:absolute;left:10px;top:10px;width:32px;height:32px;border:1px solid #ffffff2a;background:#ffffff12;color:#fff;border-radius:9px;font:22px/1 sans-serif;display:grid;place-items:center;z-index:2;cursor:pointer}
.drawer-close:active{transform:scale(.96)}

/* 0.7.5 visual refinement: stable header, carousel controls, icon-based library */
.app-header-v2{direction:ltr;padding:8px 10px}
.header-left,.header-right{direction:ltr}
.header-right{margin-left:auto}
.header-left{margin-right:auto}
.header-right #menu-btn{order:1}
.header-right #logo-pill{order:2}
.logo-pill{height:40px;min-width:112px;max-width:138px;padding:5px 9px;border-radius:13px;overflow:hidden}
.logo-pill img{display:block;max-height:28px;max-width:116px;object-fit:contain}
.hero-slider{height:224px;border-radius:20px}
.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:50%;background:#ffffffdc;color:#7C0902;font:28px/32px Arial,sans-serif;display:grid;place-items:center;box-shadow:0 3px 12px #0003}
.hero-prev{right:10px}.hero-next{left:10px}
.hero-arrow:active{transform:translateY(-50%) scale(.94)}
.hero-dots{left:50%;transform:translateX(-50%);bottom:10px}
.home-content-scroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 0 6px;scrollbar-width:none}
.home-content-scroll::-webkit-scrollbar{display:none}
.home-content-scroll .content-card{flex:0 0 150px;scroll-snap-align:start}
.home-content-scroll .content-card img,.home-content-scroll .cover-placeholder{aspect-ratio:1/1.12}
.library-title{margin-bottom:10px}
.library-hub-grid,.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.library-hub-card,.category-card{min-height:108px;border:1px solid #eadfda;background:#fff;border-radius:17px;padding:13px 8px 11px;color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;box-shadow:0 3px 14px #5d0c1808}
.library-hub-icon,.category-card>span{width:44px;height:44px;border-radius:14px;background:#fff0f2;color:var(--primary);display:grid;place-items:center}
.library-hub-icon .icon,.category-card>span .icon{width:23px;height:23px}
.library-hub-card b,.category-card b{font:13px kasbTitle}
.library-hub-card small,.category-card small{font:9px kasb;color:#888}
.category-card.active{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 12%,transparent)}
.library-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 12px}
.library-section-head>div{text-align:right}
.library-section-head h1{font:28px kasbTitle;margin:2px 0}
.library-section-head small{color:#777}
.library-back{border:1px solid #eadfda;background:#fff;border-radius:12px;padding:8px 10px;color:var(--primary);display:flex;align-items:center;gap:5px;font:10px kasb}
.library-back .icon{width:16px;height:16px}
.library-breadcrumb{display:flex;align-items:center;gap:7px;margin:10px 0 2px;color:#777;font-size:10px}
.library-breadcrumb button{border:0;background:transparent;color:var(--primary);font:10px kasb;padding:0}
.section-head.compact{margin-top:10px}
.type-chips,.cat-chips{display:none}
@media(max-width:430px){
  .library-hub-grid,.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .library-hub-card,.category-card{min-height:98px;padding:10px 5px}
  .logo-pill{min-width:104px;max-width:126px}
  .hero-copy{max-width:76%;inset:auto 18px 24px 18px}
}

/* 0.7.7 — header logo, compact slider controls, event/ticket UX and opaque bottom nav */
.logo-pill{min-width:142px;padding:5px 9px;overflow:hidden}
.logo-pill img{display:block;width:132px;max-width:132px;max-height:30px;height:auto;object-fit:contain}
.hero-slider{height:230px}
.hero-copy{left:18px;right:18px;bottom:24px;max-width:78%;padding-inline:0 2px}
.hero-copy h1{font-size:26px;line-height:1.55;padding-inline:0 8px}
.hero-copy p{max-width:88%;padding-inline:0 8px}
.hero-arrow{top:auto!important;bottom:10px!important;transform:none!important;width:24px!important;height:24px!important;background:#ffffffb8!important;color:#5e0010!important;font:19px/22px Arial,sans-serif!important;box-shadow:0 2px 8px #0002!important;opacity:.88}
.hero-prev{right:10px!important;left:auto!important}.hero-next{left:10px!important;right:auto!important}
.hero-arrow:active{transform:scale(.93)!important}
.hero-dots{bottom:15px!important;left:50%!important;transform:translateX(-50%);gap:4px!important}
.hero-dots button{width:5px!important;height:5px!important}.hero-dots button.active{width:14px!important}
.bottom-nav-v2{height:76px;background:#fff!important;border-top:1px solid #e7ddd7!important;box-shadow:0 -8px 24px #2a0a1010;gap:5px;padding-inline:8px}
.bottom-nav-v2 button{flex:1;max-width:92px;min-width:0!important;background:#faf8f6!important;border:1px solid #eee6e0!important;min-height:56px;padding:6px 3px!important;border-radius:13px!important;position:relative;z-index:2}
.bottom-nav-v2 button.active{background:#fff0f2!important;border-color:#f1cbd1!important;color:var(--primary)!important;box-shadow:0 3px 12px #96001812}
.event-card{appearance:none;text-align:right;color:inherit;padding:0;cursor:pointer}
.event-card .copy{display:block}.event-card .register{font-weight:400}
.event-detail{padding-bottom:8px}.event-hero-cover{width:100%;max-height:360px;object-fit:cover;border-radius:20px;display:block;margin-bottom:14px}.event-kicker{display:inline-block;color:var(--primary);background:#fff0f2;border:1px solid #f3d4d8;border-radius:999px;padding:5px 9px;font-size:10px}.event-detail h1{font:30px/1.6 kasbTitle;margin:10px 0 4px}.event-summary{color:#666;line-height:2;margin:0 0 12px}.event-info{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.event-info>div{display:flex;align-items:flex-start;gap:8px;background:#fff;border:1px solid #e9dfd9;border-radius:14px;padding:11px}.event-info .icon{width:19px;height:19px;color:var(--primary);flex:0 0 auto}.event-info span{display:flex;flex-direction:column;gap:2px;min-width:0}.event-info small{font-size:9px;color:#888}.event-info b{font:12px/1.7 kasb}.event-info em{font:9px/1.7 kasb;color:#777;font-style:normal}.event-reader{margin-top:12px}.event-register-bar{position:sticky;bottom:0;z-index:18;margin:14px -4px -90px;padding:10px 4px 90px;background:linear-gradient(0deg,var(--bg) 72%,transparent)}.event-register-bar .primary-btn{width:100%;min-height:48px;font:15px kasbTitle;box-shadow:0 8px 24px #96001828}.event-register-bar .primary-btn:disabled{background:#aaa}.ticket-owned{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #f0cbd1;background:#fff5f6;color:var(--primary);border-radius:13px;padding:11px;margin-top:12px;font:12px kasb}.ticket-owned .icon{width:19px}.ticket-row{width:100%;border:0;border-top:1px solid #eee5e0;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:12px 0;font:11px kasb;text-align:right}.ticket-row span{display:flex;align-items:center;gap:7px}.ticket-row .icon{width:18px;color:var(--primary)}.ticket-row b{direction:ltr;font:10px monospace;color:var(--primary)}
.app-modal[hidden]{display:none!important}.app-modal{position:fixed;inset:0;z-index:150;display:grid;place-items:end center}.app-modal-backdrop{position:absolute;inset:0;background:#0008;backdrop-filter:blur(3px)}.app-modal-card{position:relative;z-index:2;width:min(760px,100%);background:#fff;border-radius:24px 24px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -18px 60px #0004;max-height:88vh;overflow:auto}.modal-close{position:absolute;left:14px;top:13px;width:34px;height:34px;border:1px solid #eee;background:#faf8f6;border-radius:50%;font:22px sans-serif}.event-register-sheet h2,.ticket-sheet h2{font:22px/1.7 kasbTitle;margin:10px 0}.event-register-sheet p{color:#666;line-height:1.9}.event-register-sheet form{display:flex;flex-direction:column;gap:11px}.event-register-sheet label{font-size:11px;color:#666}.event-register-sheet input{width:100%;border:1px solid #ddd4ce;border-radius:12px;padding:12px;font:14px kasb}.ticket-sheet{text-align:center}.ticket-icon{width:64px;height:64px;border-radius:20px;background:#fff0f2;color:var(--primary);display:grid;place-items:center;margin:0 auto 10px}.ticket-icon .icon{width:34px;height:34px}.ticket-code{direction:ltr;display:inline-block;background:#0c1a23;color:#fff;border-radius:14px;padding:12px 18px;font:700 20px/1.2 monospace;letter-spacing:.08em;margin:8px auto}.ticket-sheet p{line-height:2}.ticket-sheet>small{color:#777}
.reader figure{margin:16px 0}.reader figure img{display:block;margin:auto}.reader figcaption{text-align:center;color:#777;font-size:11px;margin-top:6px}
@media(max-width:430px){.logo-pill{min-width:130px}.logo-pill img{width:120px}.event-info{grid-template-columns:1fr}.hero-copy{max-width:82%}.hero-copy h1{font-size:23px}}

/* 0.7.7 final — official uploaded header logo, unobtrusive carousel controls and fixed event CTA */
.header-right #logo-pill{order:1!important}
.header-right #menu-btn{order:2!important}
.logo-pill{height:40px!important;min-width:150px!important;max-width:166px!important;padding:5px 8px!important;background:#fff!important}
.logo-pill img{display:block!important;width:146px!important;max-width:146px!important;max-height:30px!important;height:auto!important;object-fit:contain!important}
.hero-copy{bottom:38px!important;max-width:86%!important}
.hero-arrow{bottom:7px!important;width:22px!important;height:22px!important;font-size:17px!important;line-height:20px!important;background:#ffffffa8!important;box-shadow:none!important}
.hero-prev{left:10px!important}
.hero-next{right:10px!important}
.hero-dots{bottom:13px!important}
.hero-dots button{width:4px!important;height:4px!important;opacity:.78}
.hero-dots button.active{width:12px!important}
.event-detail{padding-bottom:92px!important}
.event-register-bar{position:fixed!important;z-index:48!important;left:50%!important;right:auto!important;bottom:76px!important;transform:translateX(-50%)!important;width:min(760px,100%)!important;margin:0!important;padding:10px 14px!important;background:#f8f6f2f5!important;border-top:1px solid #e8ddd7!important;box-shadow:0 -10px 28px #2b0a1114!important;backdrop-filter:blur(10px)}
.event-register-bar .primary-btn{min-height:50px!important}
.reader figure,.event-reader figure{margin:16px 0}
.reader figure img,.event-reader figure img,.reader p img,.event-reader p img{display:block;max-width:100%;width:auto;height:auto;margin:12px auto;border-radius:12px}
.reader figcaption,.event-reader figcaption{font-size:10px;color:#777;text-align:center;margin-top:6px}
@media(max-width:430px){
 .logo-pill{min-width:138px!important;max-width:150px!important}
 .logo-pill img{width:134px!important;max-width:134px!important}
 .hero-copy{bottom:36px!important}
}

/* 0.7.7 — readable cards, image categories and embedded media */
.content-card .card-copy{display:block;padding:12px 14px 13px!important}
.content-card h3{padding:0!important;margin:0 0 3px!important;line-height:1.75!important;overflow-wrap:anywhere}
.content-card small{display:block;line-height:1.65}
.category-card{padding:0!important;overflow:hidden;justify-content:flex-start!important;min-height:122px!important}
.category-card .category-cover{width:100%;height:78px;object-fit:cover;display:block;background:#eee}
.category-card .category-icon{width:44px;height:44px;border-radius:14px;background:#fff0f2;color:var(--primary);display:grid;place-items:center;margin-top:13px}
.category-card .category-icon .icon{width:23px;height:23px}
.category-card .category-copy{width:100%;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 7px 10px}
.category-card .category-copy b{font:13px kasbTitle}
.category-card .category-copy small{font:9px kasb;color:#888}
.library-category-hint{background:#fff;border:1px dashed #e1d4ce;border-radius:14px;padding:16px;text-align:center;color:#777;font-size:11px;line-height:1.9;margin-top:4px}
.reader-video-frame{width:100%;aspect-ratio:16/9;border:0;border-radius:14px;background:#000;margin:14px 0}
.video-external{width:100%;min-height:120px;border-radius:18px;background:#111;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;font:14px kasbTitle}
.video-external .icon{width:24px;height:24px}
.reader img,.event-reader img{max-width:100%!important;height:auto!important;display:block!important;margin:12px auto!important;object-fit:contain!important}
@media(max-width:430px){.content-card .card-copy{padding:11px 12px 12px!important}.category-card .category-cover{height:70px}}
/* 0.8.0 — structured library, member account and navigation */
.content-card .card-copy{padding:12px 13px 13px}.content-card h3{padding-inline:1px}
.rich-child{grid-template-columns:48px 42px minmax(0,1fr) auto auto}.rich-child>img,.rich-child .child-cover{width:48px;height:48px;border-radius:10px;object-fit:cover;background:#f5efeb;display:grid;place-items:center}.rich-child .child-main{border:0;background:transparent;text-align:right;padding:0;min-width:0;color:inherit}.rich-child .child-main h4{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-state{width:34px;height:34px;border:1px solid #eadfda;border-radius:10px;background:#fff;color:var(--primary)}
.access-gate{margin:16px 0;background:#fff7f8;border:1px solid #efcfd4;border-radius:18px;padding:22px;text-align:center}.access-gate>span{width:54px;height:54px;border-radius:50%;background:#fff0f2;color:var(--primary);display:grid;place-items:center;margin:0 auto 10px}.access-gate h3{font-family:kasbTitle;margin:0 0 6px}.access-gate p{color:#777;line-height:1.9}.access-gate .primary-btn{width:100%}
.account-profile{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid #e6dbd5;border-radius:18px;padding:13px;margin-bottom:12px}.profile-avatar{width:58px;height:58px;border-radius:50%;border:0;background:#f2e7e9;display:grid;place-items:center;overflow:hidden;font-size:28px}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar.big{width:84px;height:84px;margin:0 auto 8px}.account-profile h2{font:18px kasbTitle;margin:2px 0}.account-profile small,.account-profile span{color:#777;font-size:11px}.account-logout{border:0;background:#fff0f2;color:var(--primary);border-radius:10px;padding:8px 10px;font:11px kasb}.menu-card button.menu-row{width:100%;border-right:0;border-left:0;border-bottom:0;background:transparent;color:inherit;font:inherit;text-align:right}.account-card.guest{text-align:center}.account-card.guest .primary-btn{width:100%;margin-top:8px}
.account-auth-sheet{display:flex;flex-direction:column;gap:12px}.account-auth-sheet h2{font:22px kasbTitle;margin:0}.account-auth-sheet form{display:flex;flex-direction:column;gap:10px}.account-auth-sheet label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#666}.account-auth-sheet input{border:1px solid #dfd4ce;border-radius:11px;padding:11px;font:13px kasb}.auth-switch{border:0;background:transparent;color:var(--primary);font:11px kasb;padding:6px}.video-external{display:flex;align-items:center;justify-content:center;gap:8px;background:#111;color:#fff;border-radius:16px;padding:14px;text-decoration:none}
@media(max-width:520px){.rich-child{grid-template-columns:44px 38px minmax(0,1fr) auto}.rich-child>a{display:none}.rich-child .mini-state:nth-last-child(1){display:none}.account-profile{grid-template-columns:56px 1fr}.account-logout{grid-column:1/-1}.profile-avatar{width:52px;height:52px}}

/* 0.8.0 — real episode playback */
.episode-audio{display:grid;gap:10px;margin:12px 0 18px}.episode-audio audio{width:100%;height:46px}.episode-audio .primary-btn{justify-self:stretch}

/* 1kasb 0.8.1 podcast player */
.mini-player-v2{min-height:76px;padding:9px 10px;grid-template-columns:minmax(0,1fr) auto 34px;gap:8px;border-radius:18px;overflow:hidden}.mini-player-v2 .mini-main{min-width:0;border:0;background:transparent;color:#fff;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:10px;text-align:right;padding:0}.mini-player-v2 .mini-main img{width:54px;height:54px;border-radius:13px;object-fit:cover}.mini-player-v2 .mini-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.mini-player-v2 .mini-copy b,.mini-player-v2 .mini-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-player-v2 .mini-copy b{font-size:13px}.mini-player-v2 .mini-copy small{font-size:10px;color:#ccc}.mini-controls{display:flex;align-items:center;gap:5px;direction:ltr}.mini-controls button,.mini-close{border:0;background:#ffffff14;color:#fff;border-radius:12px;min-width:40px;height:42px;font:12px kasb}.mini-controls #mini-play{width:46px;height:46px;border-radius:50%;background:var(--primary);font:18px Arial}.mini-close{min-width:32px;width:32px;height:36px;font-size:18px}.mini-progress-track{position:absolute;right:0;left:0;bottom:0;height:4px;background:#ffffff1f}.mini-progress-track #mini-progress{height:100%;width:0;background:var(--red);transition:width .18s linear}.full-player-v2{position:fixed;inset:0;z-index:170;background:linear-gradient(180deg,#fff 0%,var(--cream) 100%);color:var(--text);max-width:760px;margin:auto;overflow:auto;padding:calc(8px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom))}.full-player-head{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;text-align:center;min-height:54px}.full-player-head button{border:0;background:transparent;font-size:27px;color:var(--text)}.full-player-head span{font-size:12px;color:#666}.full-player-body{min-height:calc(100dvh - 90px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.full-player-cover{width:min(76vw,390px);aspect-ratio:1/1;object-fit:cover;border-radius:28px;box-shadow:0 18px 45px #00304928;background:linear-gradient(135deg,var(--navy),var(--primary))}.full-player-copy{text-align:center;max-width:520px}.full-player-copy h2{font:26px/1.6 kasbTitle;margin:0}.full-player-copy p{margin:4px 0 0;color:#777}.player-seek{width:min(88vw,560px);accent-color:var(--primary);height:28px}.player-time{width:min(88vw,560px);display:flex;direction:ltr;justify-content:space-between;color:#777;font:12px Arial}.player-main-controls{display:flex;align-items:center;justify-content:center;gap:22px;direction:ltr}.player-main-controls button{border:0;background:transparent;min-width:64px;color:var(--text);font:11px kasb;display:flex;flex-direction:column;align-items:center;gap:3px}.player-main-controls button b{font:28px Arial}.player-main-controls .player-play{width:76px;height:76px;min-width:76px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font:28px Arial;box-shadow:0 12px 30px #96001835}@media(max-width:480px){.mini-player-v2{left:7px;right:7px;bottom:76px}.mini-player-v2 .mini-main{grid-template-columns:46px minmax(0,1fr)}.mini-player-v2 .mini-main img{width:46px;height:46px}.mini-controls button{min-width:36px;height:40px}.mini-controls #mini-play{width:42px;height:42px}.full-player-v2{padding-left:14px;padding-right:14px}.full-player-cover{width:min(82vw,360px)}.player-main-controls{gap:14px}}

/* 1kasb 0.8.2 — Audio Player Experience */
.mini-player-v2{left:10px;right:10px;bottom:82px;max-width:720px;min-height:86px;margin:auto;padding:10px 12px 12px;background:rgba(255,255,255,.98);color:var(--text);border:1px solid #eadadd;border-radius:24px;display:grid;grid-template-columns:minmax(0,1fr) 40px auto 30px;gap:8px;align-items:center;box-shadow:0 18px 46px rgba(59,0,13,.18);backdrop-filter:blur(18px);overflow:hidden}.mini-player-v2 .mini-main{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:11px;min-width:0;border:0;background:transparent;color:inherit;text-align:right;padding:0}.mini-player-v2 .mini-main img{width:58px;height:58px;border-radius:17px;object-fit:cover;background:linear-gradient(145deg,var(--primary),var(--navy));box-shadow:0 8px 20px #96001818}.mini-player-v2 .mini-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.mini-player-v2 .mini-copy b{font:14px/1.55 kasbTitle;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-player-v2 .mini-copy small{font-size:10px;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-favorite{width:40px;height:40px;border:0!important;background:transparent!important;color:#7c6c70!important;border-radius:50%!important;font:26px Arial!important;padding:0!important}.mini-favorite.active{color:var(--primary)!important;background:#fff0f2!important}.mini-controls{display:flex;align-items:center;gap:5px;direction:ltr}.mini-controls button{border:0;background:#f5eef0;color:var(--primary);border-radius:50%;width:42px;height:42px;min-width:42px;display:grid;place-items:center;font:17px Arial;padding:0;position:relative}.mini-controls button small{position:absolute;font:8px Arial;font-weight:700}.mini-controls #mini-back small{right:13px;top:17px}.mini-controls #mini-forward small{left:13px;top:17px}.mini-controls #mini-play{width:52px;height:52px;min-width:52px;background:linear-gradient(145deg,var(--primary),var(--red));color:#fff;font:22px Arial;box-shadow:0 8px 18px #96001838}.mini-close{border:0;background:transparent;color:#aaa;width:30px;height:36px;font:22px Arial}.mini-progress-track{position:absolute;right:16px;left:16px;bottom:5px;height:3px;border-radius:99px;background:#eadfe1;overflow:hidden}.mini-progress-track #mini-progress{height:100%;width:0;background:linear-gradient(90deg,var(--primary),var(--red));border-radius:99px;transition:width .18s linear}
.full-player-v2{position:fixed;inset:0;z-index:170;max-width:760px;margin:auto;color:var(--text);background:radial-gradient(circle at 50% 24%,#fff4f6 0,#fff 42%,#f9f5f2 100%);overflow:auto;padding:calc(10px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));animation:playerUp .28s ease both}.full-player-v2::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(160deg,#9600180b 0%,transparent 42%,#00304908 100%)}@keyframes playerUp{from{transform:translateY(4%);opacity:.4}to{transform:none;opacity:1}}.full-player-head{display:grid;grid-template-columns:54px 1fr 54px;align-items:center;min-height:56px;direction:ltr}.full-player-head button{width:46px;height:46px;border:0;background:transparent;border-radius:50%;font:24px Arial;color:#3b3033;display:grid;place-items:center}.full-player-head button:active{background:#9600180d}.full-player-head span{text-align:center;font:12px kasb;color:#75696c;direction:rtl}.full-player-body{min-height:calc(100dvh - 86px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;padding:6px 0 10px}.player-cover-wrap{position:relative;width:min(72vw,350px);aspect-ratio:1/1;display:grid;place-items:center}.full-player-cover{width:100%;height:100%;object-fit:cover;border-radius:50%;background:linear-gradient(145deg,var(--primary),var(--navy));box-shadow:0 26px 60px rgba(45,0,10,.20),0 0 0 8px #fff}.player-cover-ring{position:absolute;inset:10%;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}.full-player-copy{width:min(92vw,560px);text-align:center;margin-top:2px}.player-title-line{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:center;direction:ltr}.player-title-line::after{content:"";width:54px}.player-title-line>div{direction:rtl}.full-player-copy h2{font:27px/1.55 kasbTitle;margin:0;color:#392e31}.full-player-copy p{margin:3px 0 0;color:#8b7c80;font-size:12px}.player-favorite{width:48px;height:48px;border:1px solid #eadde0;background:#fff;color:#75686c;border-radius:50%;font:27px Arial;display:grid;place-items:center;box-shadow:0 7px 20px #4310180c}.player-favorite.active{color:#fff;background:var(--primary);border-color:var(--primary)}.player-progress-wrap{width:min(90vw,570px);display:flex;flex-direction:column;gap:2px;margin-top:3px}.player-time{width:100%;display:flex;direction:ltr;justify-content:space-between;color:#897c80;font:11px Arial;padding:0 3px}.player-seek{width:100%;height:34px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}.player-seek::-webkit-slider-runnable-track{height:5px;border-radius:99px;background:linear-gradient(to right,var(--primary) var(--seek-pct,0%),#ddd4d6 var(--seek-pct,0%))}.player-seek::-webkit-slider-thumb{-webkit-appearance:none;width:21px;height:21px;border-radius:50%;background:#fff;border:6px solid var(--primary);box-shadow:0 4px 13px #96001840;margin-top:-8px}.player-seek::-moz-range-track{height:5px;border-radius:99px;background:#ddd4d6}.player-seek::-moz-range-progress{height:5px;border-radius:99px;background:var(--primary)}.player-seek::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#fff;border:6px solid var(--primary)}.player-main-controls{width:min(94vw,590px);display:grid;grid-template-columns:54px 60px 90px 60px 54px;align-items:center;justify-content:center;gap:10px;direction:ltr;margin-top:2px}.player-main-controls button{border:0;background:transparent;color:#65585c;display:grid;place-items:center;padding:0}.player-main-controls .player-skip{width:52px;height:52px;border-radius:50%;background:#eee8ea}.player-main-controls .player-skip b{font:21px Arial}.player-main-controls .player-jump{width:60px;height:60px;border-radius:50%;background:#f2edef;position:relative;font:18px Arial}.player-main-controls .player-jump b{font:25px Arial}.player-main-controls .player-jump span{position:absolute;font:9px Arial;font-weight:700}.player-main-controls #player-back span{right:21px}.player-main-controls #player-forward span{left:21px}.player-main-controls .player-play{width:86px;height:86px;border-radius:50%;background:linear-gradient(145deg,var(--primary),var(--red));color:#fff;font:31px Arial;box-shadow:0 16px 32px #96001842}.player-main-controls button:disabled{opacity:.28}.player-tools{width:min(92vw,570px);display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:7px}.player-tools button,.player-tools a{min-width:0;border:1px solid #eadfe1;background:#fff;color:#5e5054;border-radius:17px;padding:10px 5px;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:5px;font:10px kasb}.player-tools b{font:17px Arial;color:var(--primary)}.player-tools a[hidden]{display:none!important}.player-sleep-status{border-radius:999px;background:#fff0f2;color:var(--primary);padding:7px 12px;font-size:10px}.player-sleep-sheet{display:flex;flex-direction:column;gap:9px}.player-sleep-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.player-sleep-options button{border:1px solid #eadde0;background:#fff;border-radius:13px;padding:12px;font:12px kasb;color:#3d3235}.player-sleep-options button.active{background:var(--primary);color:#fff;border-color:var(--primary)}
@media(max-width:520px){.mini-player-v2{left:7px;right:7px;bottom:76px;grid-template-columns:minmax(0,1fr) 36px auto 26px;padding:8px 9px 11px;border-radius:20px}.mini-player-v2 .mini-main{grid-template-columns:50px minmax(0,1fr);gap:8px}.mini-player-v2 .mini-main img{width:50px;height:50px;border-radius:14px}.mini-controls button{width:36px;height:36px;min-width:36px}.mini-controls #mini-play{width:46px;height:46px;min-width:46px}.mini-favorite{width:36px;height:36px;font-size:23px!important}.full-player-v2{padding-left:14px;padding-right:14px}.player-cover-wrap{width:min(74vw,320px)}.full-player-copy h2{font-size:23px}.player-main-controls{grid-template-columns:44px 52px 78px 52px 44px;gap:7px}.player-main-controls .player-skip{width:44px;height:44px}.player-main-controls .player-jump{width:52px;height:52px}.player-main-controls .player-play{width:78px;height:78px}.player-tools{gap:6px}.player-tools button,.player-tools a{padding:9px 3px;border-radius:15px}}

/* 1kasb 0.8.2.2 — refined audio player UI */
.full-player-v2{background:#fbfaf8!important}.full-player-v2::before{display:none!important}.full-player-head{grid-template-columns:44px 1fr 44px!important;min-height:52px!important;padding:0 2px}.full-player-head>i{width:44px;height:44px}.full-player-head button{width:42px!important;height:42px!important;color:var(--primary)!important;border-radius:50%!important}.full-player-head button .icon{width:21px;height:21px;transform:rotate(90deg)}.full-player-head span{font-size:11px!important;color:#897c80!important}
.full-player-body{justify-content:flex-start!important;gap:13px!important;padding:8px 0 18px!important}.player-cover-wrap{width:min(68vw,318px)!important}.full-player-cover{border-radius:24px!important;box-shadow:0 18px 42px rgba(45,0,10,.13)!important}.player-cover-ring{display:none!important}
.full-player-copy{width:min(88vw,500px)!important;margin-top:0!important}.player-title-line{grid-template-columns:46px minmax(0,1fr) 46px!important;gap:4px!important}.player-title-line::after{width:46px!important}.full-player-copy h2{font-size:24px!important;line-height:1.55!important}.full-player-copy p{font-size:11px!important;margin-top:2px!important}.player-favorite{width:42px!important;height:42px!important;border-color:#eadfe1!important;box-shadow:none!important}.player-favorite .icon,.mini-favorite .icon{width:22px;height:22px}.player-favorite.active .icon,.mini-favorite.active .icon{fill:currentColor}
.player-progress-wrap{width:min(88vw,500px)!important;direction:ltr!important;margin-top:1px!important;gap:0!important}.player-time{direction:ltr!important;unicode-bidi:isolate!important;font:11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace!important;font-variant-numeric:tabular-nums!important;color:#8a7d80!important;padding:0 2px 1px!important}.player-seek{direction:ltr!important;unicode-bidi:isolate!important;writing-mode:horizontal-tb!important;transform:none!important;touch-action:pan-x!important;height:30px!important}.player-seek::-webkit-slider-runnable-track{height:4px!important;background:linear-gradient(to right,var(--primary) 0,var(--primary) var(--seek-pct,0%),#ddd4d6 var(--seek-pct,0%),#ddd4d6 100%)!important}.player-seek::-webkit-slider-thumb{width:18px!important;height:18px!important;border:5px solid var(--primary)!important;margin-top:-7px!important;box-shadow:0 2px 8px #9600182f!important}.player-seek::-moz-range-track{height:4px!important}.player-seek::-moz-range-progress{height:4px!important}.player-seek::-moz-range-thumb{width:8px!important;height:8px!important;border:5px solid var(--primary)!important}
.player-main-controls{width:min(90vw,410px)!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;justify-items:center!important;gap:0!important;margin:7px auto 2px!important;direction:ltr!important}.player-main-controls button{display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:0!important;position:relative!important}.player-main-controls .icon{width:22px;height:22px}.player-main-controls .player-skip{width:44px!important;height:44px!important;border-radius:50%!important;background:#f4eff0!important;color:#6f6266!important}.player-main-controls .player-skip .icon{width:20px!important;height:20px!important}.player-main-controls .player-jump{width:52px!important;height:52px!important;border-radius:50%!important;border:1px solid #e8dadd!important;background:#fff!important;color:#62565a!important;box-shadow:0 4px 12px #4510180a!important}.player-main-controls .player-jump .icon{width:25px!important;height:25px!important}.player-main-controls .player-jump em{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;font:700 7px/1 Arial!important;color:currentColor!important;font-style:normal!important;padding-top:1px!important}.player-main-controls .player-play{width:74px!important;height:74px!important;border-radius:50%!important;background:var(--primary)!important;color:#fff!important;box-shadow:0 12px 25px #96001830!important}.player-main-controls .player-play .icon{width:28px!important;height:28px!important;color:#fff!important;fill:currentColor!important;transform:none!important}.player-main-controls button:disabled{opacity:.22!important}
.player-tools-compact{width:auto!important;display:flex!important;justify-content:center!important;margin-top:4px!important}.player-tools-compact a{min-width:126px!important;min-height:42px!important;border:1px solid #eadfe1!important;background:#fff!important;color:#5f5256!important;border-radius:999px!important;padding:8px 16px!important;text-decoration:none!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:7px!important;font:10px kasb!important}.player-tools-compact .icon{width:18px!important;height:18px!important;color:var(--primary)!important}.player-tools-compact a[hidden]{display:none!important}
.mini-controls{direction:ltr!important}.mini-controls .icon{width:19px;height:19px}.mini-controls #mini-play .icon{width:22px;height:22px;fill:currentColor;transform:none!important}.mini-controls .mini-jump em{position:absolute;inset:0;display:grid;place-items:center;font:700 7px/1 Arial;color:currentColor;font-style:normal}.mini-close .icon{width:18px;height:18px}.mini-progress-track{direction:ltr!important;right:14px!important;left:14px!important}.mini-progress-track #mini-progress{background:var(--primary)!important;transform-origin:left center!important}
@media(max-width:520px){.full-player-body{gap:11px!important}.player-cover-wrap{width:min(70vw,286px)!important}.full-player-copy h2{font-size:21px!important}.player-main-controls{width:min(94vw,350px)!important}.player-main-controls .player-skip{width:40px!important;height:40px!important}.player-main-controls .player-jump{width:48px!important;height:48px!important}.player-main-controls .player-play{width:68px!important;height:68px!important}.player-main-controls .player-play .icon{width:25px!important;height:25px!important}.player-progress-wrap{width:min(90vw,470px)!important}.player-tools-compact a{min-width:116px!important;min-height:40px!important}.mini-controls #mini-play .icon{transform:none!important}}


/* 1kasb 0.8.2.3 — compact branded player card */
.full-player-v2{position:fixed!important;inset:0!important;z-index:170!important;max-width:760px!important;margin:auto!important;padding:12px!important;display:grid!important;place-items:center!important;background:rgba(248,246,242,.78)!important;backdrop-filter:blur(10px)!important;overflow:hidden!important;animation:playerFade .2s ease both!important}
.full-player-v2[hidden]{display:none!important}
@keyframes playerFade{from{opacity:0}to{opacity:1}}
.player-backdrop-art{position:absolute;inset:-28px;background-position:center;background-size:cover;background-repeat:no-repeat;filter:blur(28px) saturate(.78);opacity:.10;transform:scale(1.08);pointer-events:none}
.full-player-panel{position:relative;z-index:2;width:min(100%,560px);max-height:min(760px,calc(100dvh - 24px));overflow:auto;background:rgba(255,255,255,.94);border:1px solid rgba(150,0,24,.10);border-radius:30px;box-shadow:0 28px 72px rgba(41,16,22,.18);padding:8px 16px 18px;scrollbar-width:none}
.full-player-panel::-webkit-scrollbar{display:none}
.full-player-head{display:grid!important;grid-template-columns:44px 1fr 44px!important;direction:rtl!important;align-items:center!important;min-height:50px!important;padding:0!important;border-bottom:1px solid #f0e7e9!important;margin-bottom:12px!important}
.full-player-head button{width:40px!important;height:40px!important;aspect-ratio:1!important;min-width:40px!important;max-width:40px!important;border:0!important;border-radius:50%!important;background:#fff1f3!important;color:var(--primary)!important;display:grid!important;place-items:center!important;padding:0!important;justify-self:start!important}
.full-player-head button .icon{width:19px!important;height:19px!important;transform:none!important}
.full-player-head strong{font:13px kasbTitle!important;color:#3b3033!important;text-align:center!important;white-space:nowrap!important}
.player-head-spacer{width:40px;height:40px;display:block}
.full-player-body{min-height:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:0 0 4px!important}
.player-cover-wrap{width:min(62vw,270px)!important;aspect-ratio:1!important;display:grid!important;place-items:center!important}
.full-player-cover{width:100%!important;height:100%!important;aspect-ratio:1!important;border-radius:24px!important;object-fit:cover!important;box-shadow:0 16px 38px rgba(63,25,34,.14)!important;border:1px solid rgba(255,255,255,.75)!important}
.full-player-copy{width:min(100%,470px)!important;margin:0!important;text-align:center!important}
.player-title-line{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;direction:ltr!important}
.player-title-line::after{content:""!important;width:44px!important;height:44px!important}
.player-title-line>div{direction:rtl!important;min-width:0!important}
.full-player-copy h2{font:23px/1.5 kasbTitle!important;margin:0!important;color:#342a2d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.full-player-copy p{font:10.5px/1.6 kasb!important;margin:2px 0 0!important;color:#8d8084!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.player-favorite{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;aspect-ratio:1!important;border-radius:50%!important;border:1px solid #eadfe1!important;background:#fff!important;color:#75686c!important;padding:0!important;display:grid!important;place-items:center!important;box-shadow:0 5px 14px rgba(67,16,24,.05)!important}
.player-favorite.active{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}
.player-favorite .icon{width:20px!important;height:20px!important}
.player-progress-wrap{width:min(100%,470px)!important;direction:ltr!important;margin:1px 0 0!important;gap:1px!important}
.player-time{width:100%!important;display:flex!important;justify-content:space-between!important;direction:ltr!important;unicode-bidi:isolate!important;font:11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace!important;font-variant-numeric:tabular-nums!important;color:#8c7f83!important;padding:0 2px!important}
.player-seek{width:100%!important;height:30px!important;margin:0!important;direction:ltr!important;writing-mode:horizontal-tb!important;transform:none!important;appearance:none!important;-webkit-appearance:none!important;background:transparent!important}
.player-seek::-webkit-slider-runnable-track{height:4px!important;border-radius:999px!important;background:linear-gradient(to right,var(--primary) 0,var(--primary) var(--seek-pct,0%),#ded6d8 var(--seek-pct,0%),#ded6d8 100%)!important}
.player-seek::-webkit-slider-thumb{-webkit-appearance:none!important;width:18px!important;height:18px!important;aspect-ratio:1!important;border-radius:50%!important;background:#fff!important;border:5px solid var(--primary)!important;margin-top:-7px!important;box-shadow:0 2px 8px rgba(150,0,24,.22)!important}
.player-main-controls{width:auto!important;max-width:100%!important;display:grid!important;grid-template-columns:46px 52px 68px 52px 46px!important;column-gap:14px!important;align-items:center!important;justify-content:center!important;justify-items:center!important;direction:ltr!important;margin:5px auto 1px!important;padding:0!important}
.player-main-controls .player-round{box-sizing:border-box!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;min-width:0!important;max-width:none!important;aspect-ratio:1/1!important;border-radius:999px!important;line-height:1!important;overflow:hidden!important;position:relative!important;flex:none!important}
.player-main-controls .player-skip{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;background:#f5eff1!important;border:1px solid #eee3e6!important;color:#62565a!important;box-shadow:none!important}
.player-main-controls .player-jump{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;background:#fff!important;border:1px solid #e8dade!important;color:#5d5155!important;box-shadow:0 5px 14px rgba(57,20,29,.06)!important}
.player-main-controls .player-play{width:68px!important;height:68px!important;min-width:68px!important;max-width:68px!important;background:linear-gradient(145deg,var(--primary),var(--red))!important;border:0!important;color:#fff!important;box-shadow:0 12px 26px rgba(150,0,24,.26)!important}
.player-main-controls .player-skip .icon{width:19px!important;height:19px!important}
.player-main-controls .player-jump .icon{width:24px!important;height:24px!important}
.player-main-controls .player-play .icon{width:27px!important;height:27px!important;transform:none!important;fill:currentColor!important}
.player-main-controls .player-jump em{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;font:700 7px/1 Arial,sans-serif!important;font-style:normal!important;color:currentColor!important;pointer-events:none!important}
.player-main-controls button:disabled{opacity:.22!important;filter:grayscale(.15)!important}
.player-tools-compact{width:auto!important;display:flex!important;justify-content:center!important;margin:3px 0 0!important}
.player-tools-compact a{height:40px!important;min-height:40px!important;min-width:116px!important;border:1px solid #eadfe1!important;background:#fff!important;color:#5e5155!important;border-radius:999px!important;padding:0 15px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:7px!important;font:10px kasb!important;box-shadow:0 4px 12px rgba(57,20,29,.04)!important}
.player-tools-compact .icon{width:17px!important;height:17px!important;color:var(--primary)!important}
@media(max-width:520px){.full-player-v2{padding:8px!important}.full-player-panel{width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:25px!important;padding:6px 12px 15px!important}.full-player-head{margin-bottom:10px!important}.player-cover-wrap{width:min(65vw,248px)!important}.full-player-copy h2{font-size:20px!important}.player-main-controls{grid-template-columns:40px 48px 64px 48px 40px!important;column-gap:9px!important}.player-main-controls .player-skip{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}.player-main-controls .player-jump{width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important}.player-main-controls .player-play{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important}.player-main-controls .player-play .icon{width:25px!important;height:25px!important}}
@media(max-width:350px){.player-main-controls{grid-template-columns:38px 44px 60px 44px 38px!important;column-gap:6px!important}.player-main-controls .player-skip{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important}.player-main-controls .player-jump{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important}.player-main-controls .player-play{width:60px!important;height:60px!important;min-width:60px!important;max-width:60px!important}}


/* 1kasb 0.8.2.4 — balanced transport controls */
.player-main-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  width:auto!important;
  max-width:100%!important;
  margin:6px auto 2px!important;
  padding:0!important;
  direction:ltr!important;
}
.player-main-controls .player-round{
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  overflow:visible!important;
}
.player-main-controls .player-skip,
.player-main-controls .player-jump{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  border:1px solid #e8dde0!important;
  background:#fff!important;
  color:#605458!important;
  box-shadow:0 5px 14px rgba(57,20,29,.055)!important;
}
.player-main-controls .player-skip .icon{
  width:23px!important;
  height:23px!important;
  stroke-width:1.9!important;
}
.player-main-controls .player-jump .icon{
  width:24px!important;
  height:24px!important;
}
.player-main-controls .player-play{
  width:70px!important;
  height:70px!important;
  min-width:70px!important;
  max-width:70px!important;
  border:0!important;
  background:linear-gradient(145deg,var(--primary),var(--red))!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(150,0,24,.27)!important;
}
.player-main-controls .player-play .icon{width:28px!important;height:28px!important}
.player-main-controls .player-skip:disabled{
  opacity:1!important;
  filter:none!important;
  background:#f8f5f6!important;
  border-color:#eee7e9!important;
  color:#c2b6ba!important;
  box-shadow:none!important;
}
.player-main-controls .player-jump:disabled{
  opacity:1!important;
  filter:none!important;
  background:#f8f5f6!important;
  color:#c2b6ba!important;
  box-shadow:none!important;
}
.player-main-controls button:not(:disabled):active{transform:scale(.95)}
@media(max-width:520px){
  .player-main-controls{gap:10px!important}
  .player-main-controls .player-skip,
  .player-main-controls .player-jump{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important}
  .player-main-controls .player-play{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important}
  .player-main-controls .player-skip .icon{width:21px!important;height:21px!important}
}
@media(max-width:350px){
  .player-main-controls{gap:7px!important}
  .player-main-controls .player-skip,
  .player-main-controls .player-jump{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important}
  .player-main-controls .player-play{width:60px!important;height:60px!important;min-width:60px!important;max-width:60px!important}
}


/* 1kasb 0.8.2.5 — final transport + book-row alignment */
.player-main-controls .player-jump,
.mini-controls .mini-jump{position:relative!important;overflow:hidden!important}
.player-main-controls .player-jump .icon{width:29px!important;height:29px!important;display:block!important;overflow:visible!important}
.mini-controls .mini-jump .icon{width:23px!important;height:23px!important;display:block!important;overflow:visible!important}
.player-main-controls .player-jump em,
.mini-controls .mini-jump em{display:none!important}
.player-main-controls .player-jump svg text,
.mini-controls .mini-jump svg text{font-family:Arial,sans-serif!important;font-weight:700!important}

.rich-child.book-child{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 36px 36px!important;
  column-gap:8px!important;
  row-gap:0!important;
  align-items:center!important;
  direction:rtl!important;
  padding:8px!important;
}
.rich-child.book-child>img,
.rich-child.book-child>.child-cover{
  grid-column:1!important;
  width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;
}
.rich-child.book-child>.child-main{
  grid-column:2!important;
  min-width:0!important;width:100%!important;
  padding:0 2px!important;text-align:right!important;direction:rtl!important;overflow:hidden!important;
}
.rich-child.book-child>.child-main h4{
  margin:0!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  line-height:1.55!important;max-height:3.1em!important;
}
.rich-child.book-child>.child-main small{
  display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:2px!important;
}
.rich-child.book-child>[data-save]{grid-column:3!important}
.rich-child.book-child>[data-read]{grid-column:4!important}
.rich-child.book-child>.mini-state{
  width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;
  padding:0!important;display:grid!important;place-items:center!important;justify-self:center!important;
}
@media(max-width:520px){
  .rich-child.book-child{grid-template-columns:44px minmax(0,1fr) 34px!important;column-gap:8px!important}
  .rich-child.book-child>img,.rich-child.book-child>.child-cover{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important}
  .rich-child.book-child>[data-save]{grid-column:3!important;display:grid!important}
  .rich-child.book-child>[data-read]{display:none!important}
  .rich-child.book-child>.mini-state{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important}
}


/* 1kasb 0.8.2.6 — simple ±10 transport labels */
.player-main-controls .player-jump,
.mini-controls .mini-jump{
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.player-main-controls .player-jump .jump-label,
.mini-controls .mini-jump .jump-label{
  display:block!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:700!important;
  font-style:normal!important;
  letter-spacing:-.35px!important;
  line-height:1!important;
  color:currentColor!important;
  text-align:center!important;
  transform:translateY(.5px)!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
.player-main-controls .player-jump .jump-label{
  font-size:13px!important;
}
.mini-controls .mini-jump .jump-label{
  font-size:11px!important;
}
.player-main-controls .player-jump .icon,
.mini-controls .mini-jump .icon{
  display:none!important;
}

/* 0.8.3.2 regression fixes */
.quick-card .quick-image,.library-hub-icon.quick-image{overflow:hidden;padding:0;background:#f5efec}.quick-card .quick-image img,.library-hub-icon.quick-image img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}.mini-player-v2{grid-template-columns:minmax(0,1fr) 40px auto!important;padding-left:42px!important}.mini-close{display:grid!important;place-items:center!important;position:absolute!important;left:7px!important;top:7px!important;z-index:5!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:50%!important;background:#f7eef0!important;border:1px solid #ead9dd!important;color:var(--primary)!important;font:700 21px/1 Arial!important;padding:0!important;opacity:1!important}.mini-close:active{transform:scale(.94)}@media(max-width:520px){.mini-player-v2{grid-template-columns:minmax(0,1fr) 36px auto!important;padding-left:38px!important}.mini-close{left:5px!important;top:5px!important;width:28px!important;height:28px!important;min-width:28px!important;font-size:19px!important}}

/* 1kasb 0.8.4 — custom navigation/category icons + rich text fidelity */
.bottom-nav-icon{width:22px;height:22px;display:grid;place-items:center;overflow:hidden;border-radius:7px}.bottom-nav-icon img{width:100%;height:100%;object-fit:contain}.bottom-nav-icon .icon{width:20px;height:20px}.drawer nav button{display:flex;align-items:center;gap:11px}.drawer-nav-icon{width:30px;height:30px;border-radius:9px;background:#ffffff12;display:grid;place-items:center;overflow:hidden;flex:0 0 30px}.drawer-nav-icon img{width:100%;height:100%;object-fit:cover}.drawer-nav-icon .icon{width:18px;height:18px}.category-card .category-icon-image{overflow:hidden;background:#fff!important}.category-card .category-icon-image img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.reader h1,.reader h2,.reader h3,.reader h4{font-family:kasbTitle;line-height:1.7}.reader h2{font-size:1.55em}.reader h3{font-size:1.3em}.reader blockquote{margin:1em 0;padding:10px 14px;border-right:3px solid var(--primary);background:#fff7f8;border-radius:10px}.reader ul,.reader ol{padding-right:24px}.reader strong,.reader b{font-weight:700}.reader em,.reader i{font-style:italic}
.app-toast{left:14px;right:auto;bottom:90px;max-width:min(360px,calc(100vw - 28px));padding:10px 13px;border-radius:12px;border-right:3px solid var(--primary);box-shadow:0 12px 32px #0003;animation:kasbAppToastIn .18s ease-out}@keyframes kasbAppToastIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

/* 1kasb 0.8.5 — public educational event calendar */
.drawer nav button.drawer-event-calendar{margin-top:7px;border-top:1px solid #ffffff18}.drawer-event-calendar .drawer-nav-icon{background:linear-gradient(145deg,#fff2,#fff1);color:#fff}.drawer-event-calendar .drawer-nav-icon .icon{width:19px;height:19px}
.event-calendar-page{max-width:680px;margin:0 auto;padding-bottom:16px}.event-calendar-back{margin-bottom:10px}.education-calendar-hero{position:relative;min-height:148px;overflow:hidden;border-radius:24px;padding:20px;display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center;color:#fff;background:linear-gradient(135deg,var(--deep),var(--primary) 58%,var(--red));box-shadow:0 14px 36px #7600172d}.education-calendar-hero:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;left:-66px;top:-95px;background:#fff;opacity:.06}.education-calendar-hero:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-52px;bottom:-72px;background:#fff;opacity:.05}.education-calendar-hero>*{position:relative;z-index:1}.education-calendar-hero-icon{width:56px;height:56px;border-radius:18px;background:#ffffff18;border:1px solid #ffffff24;display:grid;place-items:center;backdrop-filter:blur(8px)}.education-calendar-hero-icon .icon{width:29px;height:29px}.education-calendar-today small{display:block;font-size:10px;opacity:.72;margin-bottom:2px}.education-calendar-today h1{font:30px/1.45 kasbTitle;margin:0}.education-calendar-today p{margin:1px 0 0;font-size:11px;opacity:.84}.education-calendar-clock{min-width:80px;padding:11px 12px;border-radius:15px;background:#fff;color:var(--primary);font:700 20px/1 Arial,Tahoma,sans-serif;text-align:center;box-shadow:0 8px 18px #4a001525;font-variant-numeric:tabular-nums}.education-calendar-intro{padding:18px 3px 8px}.education-calendar-intro>span{display:inline-flex;background:#fff0f2;color:var(--primary);border:1px solid #f1d6db;border-radius:999px;padding:5px 9px;font-size:9px}.education-calendar-intro h2{font:22px/1.65 kasbTitle;margin:7px 0 0}.education-calendar-intro p{margin:0;color:#82767a;font-size:10px}.education-week{margin-top:12px}.education-week-title{display:flex;align-items:center;justify-content:space-between;padding:0 3px 8px}.education-week-title b{font:17px kasbTitle}.education-week-title span{font-size:9px;color:#8a7e82;background:#eee8e5;border-radius:999px;padding:5px 8px}.education-day{margin-bottom:15px}.education-day-head{display:flex;align-items:baseline;gap:7px;padding:0 4px 6px}.education-day-head strong{font:14px kasbTitle;color:var(--primary)}.education-day-head span{font-size:10px;color:#8a7e82}.education-day-events{display:flex;flex-direction:column;gap:8px}.education-event-card{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:stretch;background:#fff;border:1px solid #eadfda;border-radius:18px;padding:10px;box-shadow:0 6px 18px #3b001109;overflow:hidden}.education-event-card:after{content:"";position:absolute;right:0;top:13px;bottom:13px;width:3px;border-radius:3px;background:var(--primary)}.education-event-time{direction:ltr;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:14px;background:color-mix(in srgb,var(--primary) 7%,white);border:1px solid color-mix(in srgb,var(--primary) 13%,white);min-height:82px}.education-event-time small{font:9px kasb;color:#8d777d;direction:rtl}.education-event-time b{font:700 20px/1.35 Arial,Tahoma,sans-serif;color:var(--primary);font-variant-numeric:tabular-nums}.education-event-time em{font:9px/1.5 Arial,Tahoma,sans-serif;color:#8a747a;font-style:normal;margin-top:1px}.education-event-main{min-width:0;padding:2px 3px 2px 8px}.education-event-kicker{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#f6f1ef;color:#76686c;font-size:8px}.education-event-main h3{font:16px/1.75 kasbTitle;margin:4px 0 0}.education-event-main p{margin:0;color:#766b6e;font-size:10px;line-height:1.7}.education-event-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.education-event-meta span{display:inline-flex;align-items:center;gap:4px;color:#83777a;font-size:9px;min-width:0}.education-event-meta .icon{width:13px;height:13px;color:var(--primary);flex:0 0 auto}.education-calendar-loading,.education-calendar-empty{margin-top:13px;background:#fff;border:1px solid #eadfda;border-radius:18px;min-height:160px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7a6e72}.education-calendar-loading{gap:5px}.education-calendar-loading i{display:block;width:72%;height:12px;border-radius:8px;background:linear-gradient(90deg,#eee7e4,#f9f6f5,#eee7e4);background-size:220% 100%;animation:educationCalendarPulse 1.2s linear infinite}.education-calendar-loading i:nth-child(2){width:55%}.education-calendar-loading i:nth-child(3){width:66%}.education-calendar-loading span{font-size:10px;margin-top:8px}.education-calendar-empty>div:first-child{width:48px;height:48px;border-radius:15px;background:#fff0f2;color:var(--primary);display:grid;place-items:center}.education-calendar-empty>div:first-child .icon{width:24px;height:24px}.education-calendar-empty h3{font:17px kasbTitle;margin:9px 0 1px;color:#33292c}.education-calendar-empty p{font-size:10px;line-height:1.9;margin:0;max-width:330px}.education-calendar-empty .primary-btn{margin-top:12px}.education-calendar-empty.error>div:first-child{background:#fff1ed;color:#a63a24}@keyframes educationCalendarPulse{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(max-width:430px){.education-calendar-hero{grid-template-columns:48px minmax(0,1fr) auto;padding:16px;gap:10px;min-height:132px;border-radius:21px}.education-calendar-hero-icon{width:48px;height:48px;border-radius:15px}.education-calendar-hero-icon .icon{width:25px;height:25px}.education-calendar-today h1{font-size:25px}.education-calendar-today p{font-size:10px}.education-calendar-clock{min-width:70px;padding:10px 8px;font-size:18px}.education-event-card{grid-template-columns:76px minmax(0,1fr);gap:9px;padding:9px}.education-event-time{min-height:76px}.education-event-time b{font-size:18px}.education-event-main h3{font-size:15px}.education-calendar-intro h2{font-size:20px}}
@media(max-width:350px){.education-calendar-hero{grid-template-columns:42px minmax(0,1fr);}.education-calendar-hero-icon{width:42px;height:42px}.education-calendar-clock{grid-column:1/-1;width:100%;margin-top:2px}.education-event-card{grid-template-columns:68px minmax(0,1fr)}.education-event-time b{font-size:16px}}

/* 1kasb 0.8.7 — Event calendar session metadata + configurable icon */
.education-calendar-hero-icon img{width:34px;height:34px;object-fit:contain;display:block}
.education-event-kickers{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:1px}
.education-event-session-no{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#fff0f2;color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 18%,white);font-size:8px;font-weight:700}
@media(max-width:430px){.education-calendar-hero-icon img{width:29px;height:29px}}
.drawer-event-calendar .drawer-nav-icon img{object-fit:contain;padding:3px}


/* 1kasb 0.8.7 — education event logo tile */
.education-event-card{grid-template-columns:88px 88px minmax(0,1fr)}
.education-event-logo,.education-event-time{width:88px;height:88px;min-height:88px;border-radius:14px;align-self:center}
.education-event-logo{position:relative;display:grid;place-items:center;overflow:hidden;padding:8px;background:#f8f5f3;border:1px solid #eadfda;color:var(--primary)}
.education-event-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}
.education-event-logo-fallback{display:grid;place-items:center;width:100%;height:100%}
.education-event-logo.has-image .education-event-logo-fallback{display:none}
.education-event-logo-fallback .icon{width:28px;height:28px}
@media(max-width:430px){.education-event-card{grid-template-columns:76px 76px minmax(0,1fr)}.education-event-logo,.education-event-time{width:76px;height:76px;min-height:76px}.education-event-logo{padding:7px}.education-event-logo img{border-radius:9px}.education-event-logo-fallback .icon{width:24px;height:24px}}
@media(max-width:350px){.education-event-card{grid-template-columns:68px 68px minmax(0,1fr);gap:7px}.education-event-logo,.education-event-time{width:68px;height:68px;min-height:68px}.education-event-logo{padding:6px}.education-event-time b{font-size:15px}.education-event-time small,.education-event-time em{font-size:8px}.education-event-main{padding-left:2px}.education-event-main h3{font-size:14px}}

/* 0.8.8.2 — report typography + incremental loading */
.content-card{font-family:kasb,Tahoma,sans-serif}
.content-card .report-date,.content-card .card-meta,.detail .report-date,.detail-meta{font-family:kasb,Tahoma,sans-serif!important}
.content-card .report-date{display:block;margin-top:3px;font-size:10px;line-height:1.7;opacity:.72;font-weight:600;color:#777}
.content-card .card-meta{display:block;margin-top:2px;font-size:10px;line-height:1.7;color:#777}
.detail .report-date-detail{display:block;margin-top:-4px;margin-bottom:10px;font-size:12px;line-height:1.8;opacity:.72;font-weight:600;color:#777}
.report-more-wrap{display:flex;flex-direction:column;align-items:center;gap:7px;padding:18px 0 4px}
.report-more-btn{min-width:190px;border:1px solid #e3d6d0;background:#fff;color:var(--primary);border-radius:12px;padding:10px 16px;font:12px kasb;cursor:pointer}
.report-more-btn:disabled{opacity:.55;cursor:default}.report-more-wrap>small{font:10px kasb;color:#888}

/* 0.8.9.1 — WordPress article categories */
.article-category-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 1px 13px;scrollbar-width:none;overscroll-behavior-inline:contain}
.article-category-strip::-webkit-scrollbar{display:none}
.article-category-chip{flex:0 0 auto;white-space:nowrap;border:1px solid #e5d9d3;background:#fff;color:var(--text);border-radius:999px;padding:8px 13px;font:11px kasb,Tahoma,sans-serif;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
.article-category-chip small{font:9px kasb,Tahoma,sans-serif;color:#888}
.article-category-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}
.article-category-chip.active small{color:#fff;opacity:.78}
/* 1kasb 0.9.0 — Assistant-sourced event opportunities */
.event-carousel-wrap{position:relative}.event-carousel{scroll-snap-type:x mandatory;scrollbar-width:none;padding-inline:34px}.event-carousel::-webkit-scrollbar{display:none}.event-carousel .event-card{scroll-snap-align:start}.event-carousel-arrow{position:absolute;z-index:3;top:42%;width:34px;height:34px;border-radius:50%;border:1px solid #eadde0;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(0,0,0,.08);font:700 24px/1 inherit;color:#960018}.event-carousel-arrow.prev{right:2px}.event-carousel-arrow.next{left:2px}.event-session-line{margin:-2px 0 12px;color:#960018;font-weight:700}.info-banner{margin:12px 0;padding:10px 12px;border-radius:12px;background:#fff5e8;color:#7a4a00;font-size:13px}
.education-event-card.registerable{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.education-event-card.registerable:active{transform:scale(.99)}.education-event-card.registerable::after{content:'ثبت‌نام';align-self:center;justify-self:end;font-size:10px;font-weight:800;color:#960018;background:#fff0f2;border-radius:999px;padding:4px 7px}

/* 0.9.2 — verified education payment */
.info-banner.payment-ready{background:#eef8f1;color:#225b34}.ticket-payment-ref{font-size:11px;color:#666}.ticket-payment-ref b{font-family:monospace;color:#222}.event-register-sheet .primary-btn{min-height:48px}

/* 1kasb 0.9.4 — ten-week education calendar + registration capability markers */
.education-event-kicker.registration-capability{background:#fff3e8;color:#8a4b00;border:1px solid #f0d6b5}.education-event-kicker.registration-capability.active{background:#eef8f1;color:#225b34;border-color:#cce5d4}.education-event-kicker.guest-capability{background:#eef4ff;color:#284f8f;border:1px solid #cedcf5}.education-event-register-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.education-calendar-reg-btn{border:0;border-radius:999px;background:#960018;color:#fff;padding:6px 10px;font:9px kasb,Tahoma,sans-serif;cursor:pointer}.education-calendar-reg-btn.guest{background:#173c63}.education-event-card.has-registration:after{background:#960018}

/* 1kasb 0.9.6 event typography */
.event-card{font-family:kasb,Tahoma,sans-serif!important;color:inherit;text-align:right}.event-card .copy,.event-card small,.event-card .register,.event-home-session{font-family:kasb,Tahoma,sans-serif!important}.event-card h3{font-family:kasbTitle,kasb,Tahoma,sans-serif!important}.event-home-session{display:block;color:#5f5457;font-size:10px;line-height:1.7;margin:-1px 0 2px}.event-detail,.event-detail p,.event-detail small,.event-detail .info-banner,.event-register-sheet,.event-register-sheet input,.event-register-sheet button{font-family:kasb,Tahoma,sans-serif}.event-detail h1,.event-register-sheet h2{font-family:kasbTitle,kasb,Tahoma,sans-serif}

/* 1kasb 0.9.8 — actionable home cards + account ticket wallet */
.event-home-item{flex:0 0 168px;scroll-snap-align:start;display:flex;flex-direction:column;gap:7px}.event-home-item .event-card{flex:1 1 auto;width:100%;scroll-snap-align:unset}.event-home-direct{width:100%;border:0;border-radius:11px;background:var(--primary);color:#fff;padding:9px 8px;font:11px kasb,Tahoma,sans-serif;cursor:pointer}.event-home-direct.guest{background:#173c63}.event-home-direct:active{transform:scale(.99)}
.account-complete{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff8e8;border:1px solid #f0deb5;border-radius:16px;padding:13px 14px;margin:0 0 10px}.account-complete>div{display:flex;flex-direction:column;gap:3px}.account-complete b{font:14px kasbTitle,kasb,Tahoma,sans-serif;color:#6b4700}.account-complete span{font:10px/1.8 kasb,Tahoma,sans-serif;color:#7f6a3d}.account-complete .primary-btn{flex:0 0 auto}.account-empty-ticket{padding:12px 0;border-top:1px solid #eee5e0;color:#8a7c80;font:10px/1.8 kasb,Tahoma,sans-serif}.ticket-row{font-family:kasb,Tahoma,sans-serif!important}.ticket-row span,.ticket-row b{font-family:kasb,Tahoma,sans-serif!important}
@media(max-width:430px){.account-complete{align-items:stretch;flex-direction:column}.account-complete .primary-btn{width:100%}}

/* 1kasb 0.9.8 — single home CTA + dated/cancellable tickets */
.event-card .register{display:none!important}.event-home-direct.cancelled{background:#7b6d70!important}.ticket-event-date{display:flex;flex-direction:column;gap:4px;margin:10px auto;padding:10px 12px;border:1px solid #eadfd9;border-radius:13px;background:#faf8f6;font-family:kasb,Tahoma,sans-serif}.ticket-event-date small{color:#777}.ticket-event-date b{font:13px/1.8 kasbTitle,kasb,Tahoma,sans-serif}.ticket-reminder{margin:12px 0 6px;padding:10px 12px;border-radius:12px;background:#eef8f1;color:#225b34;font:12px/1.9 kasb,Tahoma,sans-serif}.ticket-cancel-message{margin:12px 0;padding:11px 12px;border-radius:12px;background:#fff0f1;color:#8f1f2e;border:1px solid #f0c8cd;font:700 13px/1.9 kasb,Tahoma,sans-serif}.ticket-sheet.ticket-cancelled .ticket-code{text-decoration:line-through;opacity:.6}.ticket-row-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important}.ticket-row-copy strong{font:11px/1.7 kasb,Tahoma,sans-serif}.ticket-row-copy small{font:9px/1.6 kasb,Tahoma,sans-serif;color:#888}.ticket-row.cancelled{background:#fff7f7;color:#8f1f2e}.ticket-row.cancelled>b{font-family:kasb,Tahoma,sans-serif!important;color:#8f1f2e}

/* 0.9.9.1 remote feed perceived-performance */
.remote-feed-loading{padding:2px 0 10px}.remote-feed-loading>p{margin:12px 0 0;text-align:center;color:#817773;font-size:11px}.remote-skeleton-card{border:1px solid #e8ddd7;background:#fff;border-radius:16px;overflow:hidden;min-width:0}.remote-skeleton-card i{display:block;width:100%;aspect-ratio:1/1;background:linear-gradient(100deg,#eee6e2 20%,#faf7f5 40%,#eee6e2 60%);background-size:220% 100%;animation:kasbFeedShimmer 1.2s linear infinite}.remote-skeleton-card span,.remote-skeleton-card small{display:block;height:11px;margin:12px 12px 0;border-radius:8px;background:#eee6e2}.remote-skeleton-card small{width:52%;height:8px;margin:8px 12px 13px}.remote-feed-error .primary-btn{margin-top:12px}@keyframes kasbFeedShimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* 1kasb 0.10.0 — Events Hub / free + reservation + guest */
.event-program-item .event-card .copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.75;min-height:3.2em}
.event-cap-badges{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0 8px}
.event-cap-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:var(--surface-soft,#f3f4f6);color:var(--text,#222)}
.event-cap-badge.free{background:#edf8f0;color:#176b33}.event-cap-badge.reserve{background:#fff4df;color:#8a5600}.event-cap-badge.guest{background:#f2efff;color:#5a3c9e}
.event-cap-badges.detail{margin:8px 0 12px}
.events-hub-page{padding-bottom:28px}.events-hub-head{padding:8px 2px 18px}.events-hub-head>span{font-size:12px;font-weight:800;color:var(--primary,#960018)}.events-hub-head h1{margin:5px 0 6px;font-size:24px}.events-hub-head p{margin:0;color:var(--muted,#69707a);line-height:1.9}
.events-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.events-hub-grid .event-home-item{min-width:0;width:auto}.events-hub-grid .event-card{width:100%}
.events-hub-slider{position:relative;overflow:hidden;border-radius:20px;min-height:145px;margin:8px 0 18px;background:var(--surface-soft,#f4f4f5)}.events-hub-slider>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.events-hub-slider:has(>img)::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,0,0,.64))}.events-hub-slider>div:first-of-type{position:relative;z-index:2;padding:22px 24px;max-width:68%;color:white}.events-hub-slider:not(:has(>img))>div:first-of-type{color:var(--text,#222)}.events-hub-slider h2{margin:0 0 7px;font-size:20px}.events-hub-slider p{margin:0 0 12px;line-height:1.8}.events-hub-slider button[data-event-page-slide]{border:0;border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer}.events-hub-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.88);font-size:23px}.events-hub-arrow.prev{right:10px}.events-hub-arrow.next{left:10px}.events-hub-dots{position:absolute!important;z-index:4!important;bottom:9px!important;left:50%!important;transform:translateX(-50%)!important;display:flex!important;gap:5px!important;padding:0!important}.events-hub-dots button{width:7px;height:7px;border:0;border-radius:999px;padding:0;background:rgba(255,255,255,.6)}.events-hub-dots button.active{width:20px;background:#fff}
.event-main-action{margin:18px 0}.event-guest-sessions{margin-top:24px;border-top:1px solid var(--border,#e5e7eb);padding-top:18px}.event-guest-head h3{margin:0 0 5px}.event-guest-head p{margin:0 0 14px;color:var(--muted,#69707a);font-size:13px;line-height:1.8}.event-session-choice{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border,#eceef0)}.event-session-choice>div{min-width:0}.event-session-choice b{display:block}.event-session-choice small{display:block;color:var(--muted,#69707a);margin-top:5px;line-height:1.65}.event-session-choice button{border:0;border-radius:12px;padding:9px 12px;background:var(--primary,#960018);color:#fff;font-weight:800;white-space:nowrap}.event-session-choice button:disabled{background:#e3e5e8;color:#747a82}
.ticket-mode-note{margin:14px 0 8px;padding:12px;border-radius:14px;background:var(--surface-soft,#f4f4f5);line-height:1.9;font-size:13px}
@media(max-width:720px){.events-hub-grid{grid-template-columns:1fr}.events-hub-slider{min-height:132px;border-radius:17px}.events-hub-slider>div:first-of-type{max-width:78%;padding:18px}.events-hub-slider h2{font-size:18px}.event-session-choice{align-items:flex-start;flex-direction:column}.event-session-choice button{width:100%}}

/* 1kasb 0.10.0.1 — Event card navigation + unified card geometry */
.event-program-item{gap:0}
.event-program-item .event-card{display:flex;flex-direction:column;height:100%;min-height:100%;}
.event-program-item .event-card .copy{display:flex;flex:1 1 auto;flex-direction:column;padding:9px}
.event-card-cta{display:block;margin-top:auto;padding-top:9px;color:#fff;background:var(--primary);border-radius:10px;padding:8px 9px;text-align:center;font:11px kasb,Tahoma,sans-serif}
.event-card.ended .event-card-cta{visibility:hidden}
.events-hub-grid{display:grid!important;grid-template-columns:repeat(var(--events-columns,2),minmax(0,168px))!important;justify-content:center;align-items:start;gap:12px!important}
.events-hub-grid .event-home-item{width:100%!important;min-width:0!important;max-width:168px!important;flex:0 1 168px!important}
.events-hub-grid .event-card{width:100%!important;max-width:168px!important}
.events-hub-grid .event-card>img{width:100%!important;height:auto!important;aspect-ratio:168/170!important;object-fit:contain!important;background:#fff}
.events-hub-grid .cover-placeholder{width:100%!important;height:auto!important;aspect-ratio:168/170!important}
@media(max-width:370px){.events-hub-grid{gap:9px!important}}

/* 0.10.0.4 — elapsed events stay visible today but become visually completed */
.education-event-card.is-completed{background:#f2f2f2;border-color:#d9d9d9;box-shadow:none;filter:saturate(.18);opacity:.7;transition:background .2s ease,border-color .2s ease,opacity .2s ease,filter .2s ease}
.education-event-card.is-completed:after,.education-event-card.is-completed.has-registration:after{background:#a7a7a7}
.education-event-card.is-completed .education-event-time{background:#e8e8e8;border-color:#d6d6d6}
.education-event-card.is-completed .education-event-time b,.education-event-card.is-completed .education-event-main h3,.education-event-card.is-completed .education-event-meta .icon{color:#6f6f6f}
.education-event-card.is-completed .education-event-main p,.education-event-card.is-completed .education-event-meta span,.education-event-card.is-completed .education-event-time small,.education-event-card.is-completed .education-event-time em{color:#888}
.education-event-card.is-completed .education-event-logo{background:#ededed;border-color:#d8d8d8}
.education-event-card.is-completed .education-event-logo img{filter:grayscale(1);opacity:.72}
.education-event-card.is-completed .education-event-kicker,.education-event-card.is-completed .education-event-session-no{background:#e4e4e4!important;border-color:#d2d2d2!important;color:#6d6d6d!important}
.education-event-kicker.calendar-completed-badge{background:#dedede!important;border:1px solid #cfcfcf!important;color:#5f5f5f!important;font-weight:800}
.education-event-card.is-completed .education-calendar-reg-btn{filter:grayscale(1);opacity:.72}

/* 1kasb 0.11.0 — OTP + access */
.content-card{position:relative}.content-card.is-locked{opacity:.9}.content-lock-badge{position:absolute;top:10px;left:10px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);border:1px solid rgba(0,0,0,.08);z-index:2}.content-lock-badge svg{width:16px;height:16px}.access-gate.denied{background:#f6f6f6}.otp-auth-sheet{display:grid;gap:12px}.otp-shield{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:rgba(150,0,24,.08);margin:0 auto}.otp-auth-sheet>h2,.otp-auth-sheet>p{text-align:center;margin:0}.otp-code-input{text-align:center;direction:ltr;letter-spacing:.35em;font-size:24px;font-weight:800}.otp-code-label{font-size:11px;color:#666}.otp-code-grid{position:relative;display:grid;grid-template-columns:repeat(6,minmax(38px,1fr));gap:8px;direction:ltr;max-width:390px;width:100%;margin:0 auto}.otp-code-grid[data-otp-length="5"]{grid-template-columns:repeat(5,minmax(42px,1fr))}.otp-code-master{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:.01!important;z-index:3!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:transparent!important;caret-color:transparent!important;font-size:16px!important}.otp-digit-box{height:54px;border:1.5px solid #d9ced0;border-radius:13px;background:#fff;display:grid;place-items:center;font:800 23px/1 kasbTitle,kasb,sans-serif;color:#191919;box-shadow:0 2px 8px rgba(0,0,0,.025);transition:border-color .15s,box-shadow .15s,transform .15s}.otp-digit-box.active{border-color:var(--app-accent,#960018);box-shadow:0 0 0 3px rgba(150,0,24,.08);transform:translateY(-1px)}.otp-digit-box.filled{border-color:rgba(150,0,24,.42)}.otp-auto-note{display:block;text-align:center;color:#777;font-size:10.5px;line-height:1.8;margin-top:-2px}@media(max-width:380px){.otp-code-grid{gap:6px}.otp-digit-box{height:48px;border-radius:11px;font-size:21px}}.otp-resend{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.otp-resend button,.auth-switch{border:0;background:transparent;color:var(--app-accent,#960018);font:inherit;cursor:pointer}.otp-resend button:disabled{color:#999}.otp-privacy{display:block;text-align:center;color:#777}.secondary-btn{min-height:44px;border:1px solid #ddd;background:#fff;border-radius:12px;padding:10px 16px;font:inherit}

/* 1kasb 0.11.0.2 icon resilience */
.safe-icon-image{position:relative;overflow:hidden}.safe-icon-image>.safe-icon-fallback{display:none;position:absolute;inset:0;place-items:center;color:inherit;font-style:normal}.safe-icon-image.icon-image-broken>.safe-icon-fallback{display:grid}.safe-icon-image.icon-image-broken>img{display:none!important}.safe-icon-image>img{position:relative;z-index:1;max-width:100%;max-height:100%;object-fit:contain}.calendar-custom-icon{width:100%;height:100%;display:grid;place-items:center}.calendar-custom-icon>.safe-icon-fallback{position:static}.calendar-custom-icon.icon-image-broken>.safe-icon-fallback{display:grid}
/* 1kasb 0.11.0.7 — OTP mobile entry usability */
.otp-auth-sheet{gap:16px}
.otp-auth-sheet>p{font-size:12.5px;line-height:1.9;color:#6f6668}
.otp-mobile-form{gap:13px!important;width:100%;max-width:430px;margin:2px auto 0}
.otp-mobile-label{gap:8px!important;font-size:13px!important;font-weight:700;color:#4c4345!important}
.account-auth-sheet .otp-mobile-number{
  box-sizing:border-box;
  width:100%;
  min-height:58px;
  padding:13px 16px!important;
  border:1.5px solid #d8c9cc!important;
  border-radius:15px!important;
  background:#fff!important;
  font:700 20px/1.2 Arial,kasb,sans-serif!important;
  letter-spacing:.035em;
  text-align:center;
  color:#1f1a1b;
  outline:none;
  box-shadow:0 5px 16px rgba(33,13,18,.04);
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.account-auth-sheet .otp-mobile-number::placeholder{color:#aaa0a2;font-weight:500;letter-spacing:.02em}
.account-auth-sheet .otp-mobile-number:focus{
  border-color:var(--app-accent,#960018)!important;
  box-shadow:0 0 0 4px rgba(150,0,24,.08),0 7px 20px rgba(33,13,18,.05);
}
.otp-mobile-submit{
  width:100%;
  min-height:52px;
  border-radius:14px!important;
  font:700 15px kasbTitle,kasb,sans-serif!important;
  margin-top:1px;
}
.otp-mobile-submit:disabled{opacity:.68;cursor:wait}
@media(max-width:430px){
  .account-auth-sheet .otp-mobile-number{min-height:60px;font-size:21px!important}
  .otp-mobile-submit{min-height:54px;font-size:15.5px!important}
}

/* 1kasb 0.11.1.0 — Content Studio */
.creator-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.creator-head .page-title{margin-bottom:8px}.creator-sync-btn{border:1px solid color-mix(in srgb,var(--primary) 25%,#ddd);background:#fff;color:var(--primary);border-radius:13px;padding:10px 12px;font:11px kasb;display:flex;align-items:center;gap:7px;white-space:nowrap}.creator-sync-btn b{min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:var(--primary);color:#fff;display:grid;place-items:center;font:9px kasb}.creator-free-note{background:#fff7f8;border:1px solid #f0d7dc;border-radius:14px;padding:11px 13px;color:#72545a;font-size:10.5px;line-height:1.9;margin-bottom:12px}.creator-kind-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#ece5e2;border-radius:14px;padding:4px}.creator-kind-tabs button{border:0;background:transparent;border-radius:11px;padding:10px 8px;font:12px kasb;color:#6f6668}.creator-kind-tabs button.active{background:#fff;color:var(--primary);box-shadow:0 2px 9px #0000000d}.creator-categories{display:flex;gap:7px;overflow-x:auto;padding:11px 0 6px;scrollbar-width:none}.creator-categories::-webkit-scrollbar{display:none}.creator-categories button{white-space:nowrap;border:1px solid #e4dad5;background:#fff;border-radius:999px;padding:7px 11px;font:10px kasb;color:#62595b}.creator-categories button.active{background:var(--primary);border-color:var(--primary);color:#fff}.creator-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:9px 0 16px}.creator-template-card{min-width:0;border:2px solid transparent;background:#fff;border-radius:15px;padding:0;overflow:hidden;position:relative;text-align:right;color:inherit;box-shadow:0 3px 12px #0000000a}.creator-template-card.active{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.creator-template-card>img,.creator-template-fallback{width:100%;aspect-ratio:4/5;object-fit:cover;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(145deg,var(--navy),var(--primary));color:#fff;gap:5px}.creator-template-card>img{display:block}.creator-template-fallback b{font:700 32px Arial}.creator-template-fallback small{font:9px kasb;text-align:center;padding:0 8px}.creator-template-card strong{display:block;padding:8px 8px 9px;font:10px/1.7 kasb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.creator-template-badge{position:absolute;z-index:2;top:7px;right:7px;background:#ffffffeb;color:#4b4143;border-radius:999px;padding:3px 7px;font:8px kasb;box-shadow:0 2px 7px #0002}.creator-empty{grid-column:1/-1;background:#fff;border:1px dashed #dfd4cf;border-radius:15px}.creator-editor{display:flex;flex-direction:column;gap:12px}.creator-preview-wrap{background:#fff;border:1px solid #e5d9d3;border-radius:18px;padding:9px}.creator-preview-wrap .creator-canvas{display:block;width:100%;height:auto;border:0;border-radius:13px;background:#f6f2ef}.creator-preview-wrap>small{display:block;text-align:center;color:#94878a;font-size:8.5px;margin-top:7px}.creator-form{background:#fff;border:1px solid #e5d9d3;border-radius:18px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:0}.creator-form label{font-size:10.5px;color:#655b5d;gap:7px}.creator-form input,.creator-form textarea{min-height:43px;border-radius:11px;padding:10px 11px;font:12px kasb}.creator-form textarea{min-height:96px;line-height:1.9;resize:vertical}.creator-form input[type=color]{padding:3px;height:46px}.creator-logo-input input{border-style:dashed;background:#fcfaf9}.creator-logo-input span{color:#9a8d90;font-size:8.5px}.creator-export-btn{min-height:50px;font:13px kasb;border-radius:13px}.creator-form .wide{grid-column:1/-1}@media(max-width:390px){.creator-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-head{align-items:stretch;flex-direction:column}.creator-sync-btn{justify-content:center}.creator-form{grid-template-columns:1fr}.creator-form>*{grid-column:1!important}}

/* 1kasb 0.11.1.1 — Content Studio Pro */
.creator-preview-wrap .creator-canvas{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.creator-preview-wrap .creator-canvas:active{cursor:grabbing}
.creator-touch-hint{margin:7px auto 2px;text-align:center;font-size:9px;color:#7f7376;background:#f7f3f1;border-radius:999px;padding:6px 10px;max-width:290px}
.creator-image-tools{display:grid;grid-template-columns:auto 34px 1fr 34px auto;gap:7px;align-items:center;margin-top:8px;background:#171315;color:#fff;padding:8px;border-radius:12px}
.creator-image-tools b{font:10px kasb;white-space:nowrap;max-width:105px;overflow:hidden;text-overflow:ellipsis}.creator-image-tools button{border:0;border-radius:9px;background:#ffffff18;color:#fff;min-height:34px;padding:5px 9px;font:11px kasb}.creator-image-tools input[type=range]{width:100%;accent-color:var(--primary)}
.creator-field-image{border:1px dashed #ddcfca;border-radius:13px;padding:10px!important;background:#fcfaf9}.creator-field-image.is-selected{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 9%,transparent)}.creator-field-image span{display:block;color:#96898c;font-size:8.5px;line-height:1.8;margin-top:5px}
.creator-palette-block{display:flex;flex-direction:column;gap:7px}.creator-palette-block>span{font-size:10.5px;color:#655b5d}.creator-palette-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.creator-palette-list::-webkit-scrollbar{display:none}.creator-palette-list button{flex:0 0 auto;min-width:76px;border:1px solid #e1d6d1;background:#fff;border-radius:12px;padding:5px}.creator-palette-list button.active{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 12%,transparent)}.creator-palette-list i{display:block;height:28px;border-radius:8px;background:linear-gradient(90deg,var(--p1) 0 45%,var(--p2) 45% 70%,var(--p3) 70% 100%)}.creator-palette-list em{display:block;font:8px kasb;color:#6f6466;margin-top:4px;font-style:normal;text-align:center}
@media(max-width:390px){.creator-image-tools{grid-template-columns:1fr 32px 1fr 32px}.creator-image-tools b{grid-column:1/-1;max-width:none;text-align:center}.creator-image-tools button:last-child{grid-column:1/-1}}


/* 1kasb 0.11.4.24 — clickable hero, first-tap video, slim home promo slider */
.hero-slider.is-clickable{cursor:pointer}.hero-slider.is-clickable:focus-visible{outline:3px solid rgba(150,0,24,.28);outline-offset:3px}
.video-first-play{position:absolute;inset:0;z-index:3;border:0;background:transparent;display:grid;place-items:center;cursor:pointer}.video-first-play[hidden]{display:none!important}.video-first-play span{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;padding-left:4px;background:rgba(255,255,255,.94);color:#960018;font-size:27px;box-shadow:0 10px 30px rgba(0,0,0,.28);backdrop-filter:blur(5px)}.video-player-loading{z-index:4}.video-player-error{z-index:5}
.home-promo-wrap{margin:10px 10px 18px}.home-promo-slider{position:relative;width:100%;height:clamp(76px,21vw,118px);overflow:hidden;border-radius:16px;background:#f5eeee;border:1px solid rgba(150,0,24,.08);box-shadow:0 7px 22px rgba(62,35,35,.06)}.home-promo-slider.is-clickable{cursor:pointer}.home-promo-slider.is-clickable:focus-visible{outline:3px solid rgba(150,0,24,.24);outline-offset:2px}.home-promo-slider>img,.home-promo-placeholder{width:100%;height:100%;display:block;object-fit:cover}.home-promo-placeholder{background:linear-gradient(135deg,#fff3f5,#f3e6e9)}.home-promo-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:14px 18px 14px 54px;background:linear-gradient(90deg,rgba(20,12,14,.04),rgba(20,12,14,.56));color:#fff;text-align:right;pointer-events:none}.home-promo-copy b{font-size:14px;line-height:1.5}.home-promo-copy small{font-size:10px;line-height:1.7;margin-top:2px;color:rgba(255,255,255,.9)}.home-promo-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:#5d0010;font-size:20px;display:grid;place-items:center;box-shadow:0 3px 10px rgba(0,0,0,.12)}.home-promo-arrow.prev{right:8px}.home-promo-arrow.next{left:8px}.home-promo-dots{position:absolute;z-index:3;bottom:7px;left:50%;transform:translateX(-50%);display:flex;gap:5px}.home-promo-dots button{width:6px;height:6px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.55)}.home-promo-dots button.active{width:16px;background:#fff}.home-promo-wrap+.section-head{margin-top:2px}
@media(max-width:430px){.video-first-play span{width:58px;height:58px;font-size:24px}.home-promo-wrap{margin-inline:10px}.home-promo-slider{border-radius:14px;height:84px}.home-promo-copy{padding:11px 14px 11px 46px}.home-promo-copy b{font-size:12px}}

/* 1kasb 0.11.4.39 · book chapters/folders */
.book-toc{display:grid;gap:10px}.book-toc-group{background:#fff;border:1px solid #e8ddd7;border-radius:16px;overflow:hidden}.book-toc-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;background:linear-gradient(180deg,#fff9fa 0%,#fff3f5 100%)}.book-toc-group>summary::-webkit-details-marker{display:none}.book-toc-group>summary span{display:grid;gap:2px;min-width:0}.book-toc-group>summary small{color:var(--primary);font-size:10px}.book-toc-group>summary b{font:16px/1.7 kasbTitle}.book-toc-group>summary em{font-style:normal;color:#777;font-size:11px;line-height:1.8}.book-toc-group>summary i{font-style:normal;white-space:nowrap;background:#fff;color:var(--primary);border:1px solid #ecd9dd;border-radius:999px;padding:5px 9px;font-size:10px;display:inline-flex;align-items:center;gap:6px;box-shadow:0 1px 0 rgba(150,0,24,.03)}.book-toc-group>summary i::after{content:"باز کردن";display:inline-block;padding-right:6px;margin-right:2px;border-right:1px solid #eddde0;color:#7f4b58}.book-toc-group[open]>summary i::after{content:"بستن"}.book-toc-group[open]>summary{border-bottom:1px solid #eee4df}.book-toc-group>.children{padding:10px}.book-reader-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.book-reader-nav button{border:1px solid #e5d9d3;background:#fff;border-radius:13px;padding:10px 12px;text-align:right;font-family:kasb;color:inherit;min-width:0}.book-reader-nav button small{display:block;color:#888;font-size:9px;margin-bottom:3px}.book-reader-nav button b{display:block;font-size:11px;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-toc-group.ungrouped>summary small{color:#777}.book-toc-group.ungrouped>summary{background:linear-gradient(180deg,#fbfbfb 0%,#f5f2f3 100%)}

/* 1kasb 0.11.4.47 — professional book reading controls */
.book-reader-lead{margin:10px 0 14px;padding:12px 14px;border-right:3px solid var(--primary);background:#fff8f8;border-radius:12px;color:#4a3d3d;line-height:2;font-size:13px}
.book-progress-box{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 18px;padding:14px 15px;border:1px solid #eadfd9;background:#fff;border-radius:16px}
.book-progress-box>div{display:grid;gap:3px;min-width:0;flex:1}.book-progress-box small{font-size:10px;color:#777}.book-progress-box b{font:14px/1.7 kasbTitle}.book-progress-box>div>span{display:block;height:5px;background:#f0e7e3;border-radius:999px;overflow:hidden;margin-top:4px}.book-progress-box>div>span>i{display:block;height:100%;background:var(--primary);border-radius:inherit}.book-progress-box .primary-btn{white-space:nowrap;min-width:110px}
.detail .reader h2{margin-top:26px}.detail .reader hr{border:0;border-top:1px solid #eadfd9;margin:24px 0}.detail .reader ul{padding-right:20px}.detail .reader li{margin:8px 0;line-height:2}.detail .reader a{color:var(--primary);text-decoration:none;font-weight:700}
@media(max-width:560px){.book-progress-box{align-items:stretch;flex-direction:column}.book-progress-box .primary-btn{width:100%}}


/* 1kasb 0.11.4.49 — library product/collection shortcuts */
.library-product-shortcuts{margin-top:8px;margin-bottom:4px}
.library-product-shortcuts-head{margin:18px 1px 9px!important;align-items:flex-end!important}
.library-product-shortcuts-head h2{margin:0!important}
.library-product-shortcuts-head small{font-size:10px;color:#8b8184}
.library-product-shortcuts-scroll{margin-inline:-1px;padding:2px 1px 8px}
.library-product-shortcuts-scroll .library-product-card{
  flex:0 0 142px;
  scroll-snap-align:start;
  position:relative;
  text-align:right;
}
.library-product-shortcuts-scroll .library-product-card>img,
.library-product-shortcuts-scroll .library-product-card>.cover-placeholder{
  width:100%;
  aspect-ratio:1/1.12;
  object-fit:cover;
}
.library-product-shortcuts-scroll .library-product-card .card-copy{
  min-height:64px;
  padding:9px 10px 10px!important;
}
.library-product-shortcuts-scroll .library-product-card h3{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0 0 3px!important;
  font-size:13px!important;
  line-height:1.65!important;
}
.library-product-shortcuts-scroll .library-product-card .card-meta{
  margin-top:0!important;
  font-size:9px!important;
}
.library-video-category-card{cursor:pointer}
@media(max-width:390px){
  .library-product-shortcuts-scroll .library-product-card{flex-basis:132px}
}

/* 1kasb 0.11.4.50 — modular home */
.home-section-more{border:0;background:transparent;color:#960018;font:inherit;font-size:10px;font-weight:900;padding:6px 4px;cursor:pointer}
.home-report-scroll{padding-bottom:8px}.home-report-card{flex:0 0 172px;border:1px solid #eee2e4;background:#fff;border-radius:17px;padding:0;overflow:hidden;text-align:right;box-shadow:0 6px 18px rgba(55,37,42,.05);scroll-snap-align:start;cursor:pointer}
.home-report-card>img,.home-report-card>.cover-placeholder{display:block;width:100%;aspect-ratio:1.45/1;object-fit:cover}.home-report-card>span:last-child{display:block;padding:9px 10px 10px}
.home-report-card b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.65;color:#342b2d}.home-report-card small{display:block;margin-top:4px;font-size:9px;color:#8a7f82}
.home-product-shortcuts{margin-top:6px}.home-partners-section{margin:7px 0 18px}.home-partner-scroll{display:flex;gap:10px;overflow-x:auto;padding:4px 1px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.home-partner-scroll::-webkit-scrollbar{display:none}
.home-partner-logo{flex:0 0 72px;width:72px;height:72px;border:1px solid #000000;border-radius:17px;background:#000000;display:grid;place-items:center;padding:10px;box-shadow:0 5px 15px rgba(55,37,42,.045);scroll-snap-align:start}
.home-partner-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(max-width:390px){.home-report-card{flex-basis:158px}.home-partner-logo{flex-basis:66px;width:66px;height:66px;border-radius:15px}}


/* 1kasb 0.11.4.53 — instant article/report opening */
.remote-detail-loading{
  margin-top:14px;padding:16px;border:1px solid #eee5e7;border-radius:18px;background:#fff;
  min-height:190px;overflow:hidden
}
.remote-detail-loading-head{display:flex;align-items:center;gap:9px;margin-bottom:17px;color:#62565a;font-size:11px}
.remote-detail-spinner{
  width:16px;height:16px;border:2px solid #eadadd;border-top-color:#960018;border-radius:50%;
  animation:kasb-detail-spin .75s linear infinite;flex:0 0 auto
}
.remote-detail-skeleton{display:grid;gap:11px}
.remote-detail-skeleton i{
  display:block;height:11px;border-radius:10px;
  background:linear-gradient(90deg,#f3edef 20%,#faf7f8 38%,#f3edef 58%);
  background-size:220% 100%;animation:kasb-detail-shimmer 1.15s ease-in-out infinite
}
.remote-detail-skeleton i:nth-child(1){width:96%}
.remote-detail-skeleton i:nth-child(2){width:88%}
.remote-detail-skeleton i:nth-child(3){width:100%}
.remote-detail-skeleton i:nth-child(4){width:78%}
.remote-detail-skeleton i:nth-child(5){width:94%}
.remote-detail-skeleton i:nth-child(6){width:62%}
@keyframes kasb-detail-spin{to{transform:rotate(360deg)}}
@keyframes kasb-detail-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){
 .remote-detail-spinner,.remote-detail-skeleton i{animation:none}
}


/* 1kasb 0.11.4.54 — article/report card title typography */
.library-grid .content-card[data-open] h3,
.home-report-card b{
  font-weight:900;
  letter-spacing:-0.15px;
  word-spacing:-0.8px;
}

/* Remote article/report cards: slightly smaller and tighter without affecting detail-page H1 */
.library-grid .content-card h3{
  font-size:12px !important;
  line-height:1.55 !important;
  margin-bottom:4px !important;
}

/* Home report cards use a compact headline as well */
.home-report-card b{
  font-size:11.5px !important;
  line-height:1.55 !important;
}


/* 1kasb 0.11.4.55 — personal learning record */
.account-learning-block{
  margin:14px 0 16px;padding:14px;border:1px solid #eee3e5;border-radius:20px;background:#fff;
  box-shadow:0 8px 24px rgba(50,31,36,.045)
}
.account-learning-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.account-learning-head small{display:block;color:#998b8e;font-size:9px;margin-bottom:2px}
.account-learning-head h2{margin:0;font-size:15px;line-height:1.5;font-weight:900;color:#332a2c}
.account-learning-head button,.learning-refresh{border:0;background:transparent;color:#960018;font:inherit;font-size:10px;font-weight:900;padding:5px;cursor:pointer}
.account-learning-preview,.learning-program-list{display:grid;gap:8px}
.learning-program-card{
  width:100%;border:1px solid #eee4e6;background:#fff;border-radius:16px;padding:9px;display:grid;
  grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:right;cursor:pointer;
  box-shadow:0 4px 14px rgba(43,27,31,.035)
}
.learning-program-card.compact{grid-template-columns:52px minmax(0,1fr) auto;padding:8px}
.learning-logo{width:62px;height:62px;border-radius:14px;background:#f6f1f2;display:grid;place-items:center;overflow:hidden;position:relative;color:#960018}
.learning-logo.small{width:52px;height:52px;border-radius:12px}
.learning-logo.large{width:86px;height:86px;border-radius:20px;flex:0 0 auto;background:#fff;border:1px solid rgba(255,255,255,.3)}
.learning-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:5px}
.learning-logo.large img{padding:7px}
.learning-logo-fallback,.learning-logo.fallback{display:grid;place-items:center}
.learning-logo-fallback svg,.learning-logo.fallback svg{width:25px;height:25px}
.learning-program-copy{min-width:0}
.learning-program-copy>small{display:block;font-size:8.5px;color:#9c8d90;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.learning-program-copy>b{display:block;margin:2px 0;font-size:12px;line-height:1.65;font-weight:900;color:#342b2d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.learning-program-copy>span{display:block;font-size:8.5px;color:#817578}
.learning-program-side{display:flex;min-width:72px;align-items:flex-end;justify-content:space-between;gap:6px;flex-direction:column}
.learning-program-side i{font-style:normal;font-size:22px;line-height:1;color:#ae9da1}
.learning-program-side em,.learning-detail-hero em{font-style:normal;font-size:8px;font-weight:900;border-radius:999px;padding:4px 7px;white-space:nowrap}
.learning-program-side em.active,.learning-detail-hero em.active{background:#eef8f2;color:#187345}
.learning-program-side em.done,.learning-detail-hero em.done{background:#f1f1f1;color:#666}
.learning-program-side em.registered,.learning-detail-hero em.registered{background:#fff3f5;color:#960018}
.learning-empty-mini{display:flex;align-items:center;gap:9px;color:#817477;font-size:10px;line-height:1.8;background:#faf7f8;border-radius:14px;padding:11px}
.learning-empty-mini svg{width:20px;height:20px;color:#960018;flex:0 0 auto}
.learning-inline-error{margin:0;color:#9b3949;font-size:10px;line-height:1.8}
.learning-mini-skeleton{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center}
.learning-mini-skeleton>i{width:52px;height:52px;border-radius:12px;background:#f0e9eb}
.learning-mini-skeleton>span{display:grid;gap:8px}.learning-mini-skeleton b{display:block;height:10px;border-radius:10px;background:#f0e9eb}.learning-mini-skeleton b:last-child{width:64%}
.learning-page,.learning-detail-page{padding-bottom:24px}
.learning-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.learning-page-loading,.learning-page-error{padding:20px;border:1px solid #eee4e6;border-radius:18px;background:#fff;text-align:center;color:#756a6d;font-size:11px}
.learning-page-error .primary-btn{margin-top:12px}
.learning-detail-hero{
  display:flex;align-items:center;gap:14px;padding:18px;border-radius:22px;
  background:linear-gradient(145deg,#960018,#650011);color:#fff;margin:9px 0 12px;box-shadow:0 12px 30px rgba(112,0,19,.18)
}
.learning-detail-hero>div{min-width:0}.learning-detail-hero small{display:block;font-size:9px;opacity:.72}
.learning-detail-hero h1{font-size:17px;line-height:1.65;margin:2px 0 4px;font-weight:900}
.learning-detail-hero p{font-size:9px;margin:0 0 3px;opacity:.85}
.learning-detail-hero span{display:block;font-size:9px;opacity:.78;margin-bottom:7px}
.learning-detail-hero em.active,.learning-detail-hero em.done,.learning-detail-hero em.registered{display:inline-block;background:rgba(255,255,255,.16);color:#fff}
.learning-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.learning-summary article{background:#fff;border:1px solid #eee4e6;border-radius:15px;padding:11px 7px;text-align:center}
.learning-summary b{display:block;font-size:18px;line-height:1.2;color:#960018;font-weight:900}.learning-summary span{display:block;margin-top:4px;font-size:8px;color:#827679}
.learning-privacy-note{display:flex;align-items:center;gap:7px;background:#f8f5f6;border-radius:13px;padding:9px 10px;color:#766a6d;font-size:8.5px;margin-bottom:15px}
.learning-privacy-note svg{width:15px;height:15px;color:#960018;flex:0 0 auto}
.learning-sessions{margin-top:6px}
.learning-session-row{display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:9px;align-items:center;background:#fff;border:1px solid #eee5e7;border-radius:14px;padding:9px 10px;margin-bottom:7px}
.learning-session-no{width:31px;height:31px;border-radius:10px;background:#f7f1f2;color:#960018;display:grid;place-items:center;font-size:10px;font-weight:900}
.learning-session-copy{min-width:0}.learning-session-copy b{display:block;font-size:10.5px;line-height:1.55;font-weight:900;color:#352c2e}.learning-session-copy>small{display:block;font-size:8px;color:#8c7f82;margin-top:2px}
.learning-makeup-note{color:#23724a!important}
.learning-attendance{font-size:8px;font-weight:900;border-radius:999px;padding:5px 7px;white-space:nowrap}
.learning-attendance.present,.learning-attendance.makeup{background:#eaf7ef;color:#176e42}
.learning-attendance.late{background:#fff4dc;color:#8c5c00}
.learning-attendance.absent{background:#fdebed;color:#a72d42}
.learning-attendance.excused{background:#eef2fa;color:#52658a}
.learning-attendance.pending{background:#f2f2f2;color:#777}
.learning-attendance.cancelled{background:#eee;color:#888;text-decoration:line-through}
@media(max-width:390px){
 .learning-program-card{grid-template-columns:56px minmax(0,1fr) auto;gap:8px}.learning-logo{width:56px;height:56px}
 .learning-detail-hero{padding:15px}.learning-logo.large{width:76px;height:76px}.learning-detail-hero h1{font-size:15px}
 .learning-session-row{grid-template-columns:32px minmax(0,1fr) auto;padding:8px}.learning-attendance{font-size:7.5px;padding:5px 6px}
}


/* 1kasb 0.11.4.57 — guest educational record */
.learning-program-side em.guest,.learning-detail-hero em.guest{background:#f0effa;color:#5646a6}
.learning-detail-hero em.guest{background:rgba(255,255,255,.18);color:#fff}
.learning-attendance.guest{background:#f0effa;color:#5646a6}

/* 1kasb 0.11.4.84 — optional per-session thumbnail in event session list only */

.event-session-choice .event-session-specific-cover{width:52px;height:52px;flex:0 0 52px;object-fit:cover;border-radius:11px;border:1px solid #eee3e5;margin-inline-end:8px}

/* 1kasb 0.11.4.86 — horizontal event cards ONLY when the Events page is configured to 1 column.
   Preserves the shared home carousel and the 2–4 column layouts. */
.events-hub-page .events-hub-grid[style*="--events-columns:1"]{
  grid-template-columns:minmax(0,1fr)!important;
  justify-content:stretch!important;
  justify-items:stretch!important;
  width:100%;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"]>.event-program-item{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  flex:initial!important;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-program-item>.event-card{
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:116px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px!important;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card>img,
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card>.cover-placeholder{
  flex:0 0 100px!important;
  display:block;
  width:100px!important;
  height:100px!important;
  min-width:100px!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  background:#faf7f6;
  border-radius:11px;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-program-item .event-card>.copy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px;
  grid-template-rows:auto auto auto;
  align-content:center;
  align-items:center;
  column-gap:10px;
  row-gap:3px;
  flex:1 1 auto!important;
  min-width:0;
  padding:0!important;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .copy>h3{
  grid-column:1;
  grid-row:1;
  margin:0;
  font-size:14px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .copy>.event-cap-badges{
  grid-column:1;
  grid-row:2;
  margin:3px 0;
  gap:4px;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .copy>small{
  grid-column:1;
  grid-row:3;
  margin:0;
  min-height:0;
  overflow-wrap:anywhere;
  font-size:11px;
}
.events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .event-card-cta{
  grid-column:2;
  grid-row:1/4;
  align-self:center;
  justify-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0;
  padding:8px 6px;
  line-height:1.65;
  white-space:normal;
}
@media(max-width:390px){
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-program-item>.event-card{
    gap:8px!important;
    padding:8px!important;
  }
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card>img,
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card>.cover-placeholder{
    flex-basis:76px!important;
    width:76px!important;
    min-width:76px!important;
    height:86px!important;
  }
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-program-item .event-card>.copy{
    grid-template-columns:minmax(0,1fr) 74px;
    column-gap:6px;
  }
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .copy>h3{font-size:12px}
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .copy>small{font-size:10px}
  .events-hub-page .events-hub-grid[style*="--events-columns:1"] .event-card .event-card-cta{font-size:10px}
}

/* 1kasb ticket purchaser selector */
.event-buyer-toggle{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.event-buyer-toggle label{flex:1;min-width:130px;background:#f9f2f3;border:1px solid #ead8dc;border-radius:12px;padding:11px;display:flex;gap:8px;align-items:center;justify-content:center;cursor:pointer}.event-register-sheet [hidden]{display:none!important}.event-register-sheet [data-recipient-fields] small{display:block;margin:6px 0 12px;color:#786a6e}.event-register-sheet input[type=tel]{direction:ltr;text-align:left}
