:root{
  --blue:#2563eb;--blue-700:#1d4ed8;--blue-50:#eff6ff;--teal:#14b8a6;--indigo:#6366f1;--amber:#f59e0b;--red:#ef4444;--green:#10b981;
  --bg:#f8fafc;--surface:#ffffff;--surface-2:#f1f5f9;--surface-3:#eaf1fb;--line:#e2e8f0;--text:#0f172a;--muted:#64748b;--soft:#eff6ff;
  --radius:18px;--radius-sm:12px;--shadow:0 24px 70px rgba(15,23,42,.10);--shadow-soft:0 10px 30px rgba(15,23,42,.075);--sidebar:270px;
}
.theme-dark{--bg:#07111f;--surface:#0f1b2b;--surface-2:#142437;--surface-3:#182b42;--line:#263b55;--text:#f8fafc;--muted:#94a3b8;--soft:#0b2b52;--shadow:0 22px 75px rgba(0,0,0,.42);--shadow-soft:0 10px 32px rgba(0,0,0,.26)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.pdp-app{margin:0;min-width:320px;background:radial-gradient(circle at top left,rgba(37,99,235,.14),transparent 32%),linear-gradient(180deg,var(--bg),var(--bg));color:var(--text);font-family:"Plus Jakarta Sans","Inter","Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;overflow-x:hidden}body.pdp-app::selection{background:rgba(37,99,235,.18)}a{text-decoration:none;color:var(--blue);cursor:pointer}button,input,select,textarea{font:inherit}input,select,textarea{width:100%;min-width:0;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:11px 13px;outline:none;transition:.2s}input:focus,select:focus,textarea:focus{border-color:rgba(37,99,235,.65);box-shadow:0 0 0 4px rgba(37,99,235,.10)}textarea{min-height:110px;resize:vertical}label{display:block;color:var(--muted);font-weight:800;font-size:12px;margin-bottom:14px}label input,label select,label textarea{margin-top:7px}.container-wide{width:min(1220px,calc(100% - 40px));margin-inline:auto}.glass-card,.panel-card,.collection-card,.kpi-card,.master-card,.content-card{background:rgba(255,255,255,.86);border:1px solid rgba(148,163,184,.25);box-shadow:var(--shadow-soft);border-radius:var(--radius);backdrop-filter:blur(18px)}.theme-dark .glass-card,.theme-dark .panel-card,.theme-dark .collection-card,.theme-dark .kpi-card,.theme-dark .master-card,.theme-dark .content-card,.dark-form{background:linear-gradient(180deg,rgba(15,27,43,.96),rgba(9,20,34,.96));border-color:rgba(148,163,184,.17)}.panel-card,.content-card{padding:20px;overflow:hidden}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border:0;border-radius:12px;padding:10px 16px;font-weight:850;line-height:1;color:var(--text);cursor:pointer;white-space:nowrap;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn .ti{--ti-size:1.2rem}.btn-primary{background:linear-gradient(135deg,var(--blue),#0f62fe);color:#fff!important;box-shadow:0 12px 24px rgba(37,99,235,.28)}.btn-light{background:var(--surface-2);color:var(--text)!important;border:1px solid var(--line)}.btn-outline-primary{background:transparent;border:1px solid rgba(37,99,235,.42);color:var(--blue)!important}.btn-danger{background:var(--red);color:#fff}.btn-success{background:#16a34a;color:#fff}.btn-info{background:#0891b2;color:#fff}.full{width:100%}.mt{margin-top:16px}.lead{font-size:17px;color:var(--muted)}.helper-text,.breadcrumb-soft{color:var(--muted);font-size:12px}.text-success{color:#059669!important}.text-danger{color:#ef4444!important}.alert{padding:12px 14px;border-radius:14px;margin-bottom:14px}.alert.danger{background:rgba(239,68,68,.10);color:#ef4444;border:1px solid rgba(239,68,68,.25)}
/* Frontend header */
.site-header{position:sticky;top:12px;z-index:40;margin:12px auto;width:min(1220px,calc(100% - 40px));border-radius:24px}.header-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px}.brand-lockup{display:flex;align-items:center;gap:12px;color:var(--text);font-weight:950;min-width:0}.brand-mark{position:relative;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--blue),#1e40af);display:grid;place-items:center;box-shadow:0 14px 28px rgba(37,99,235,.26);flex:0 0 auto}.brand-mark:before{content:"";width:19px;height:25px;border:2.3px solid #fff;border-left:0;border-radius:0 7px 7px 0;transform:skewY(-5deg)}.brand-mark span{position:absolute;right:5px;top:8px;width:4px;height:4px;border-radius:50%;background:#bfdbfe;box-shadow:0 9px #bfdbfe,0 18px #bfdbfe}.brand-text{font-size:13px;line-height:1.05;letter-spacing:-.02em}.main-nav{display:flex;align-items:center;gap:4px}.main-nav a,.side-nav a{display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:850;border-radius:13px;padding:10px 12px}.main-nav a.is-active,.main-nav a:hover,.side-nav a.is-active,.side-nav a:hover{color:var(--blue);background:rgba(37,99,235,.10)}.header-actions,.topbar-actions{display:flex;align-items:center;gap:10px;min-width:0}.theme-toggle,.sidebar-toggle,.mobile-nav-toggle{display:inline-grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--text);width:42px;height:42px;border-radius:13px;flex:0 0 auto}.theme-toggle .ti,.sidebar-toggle .ti,.mobile-nav-toggle .ti,.notif .ti{--ti-size:1.4rem}.mobile-nav-toggle{display:none}.notif{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--surface-2);color:var(--text);flex:0 0 auto}.notif b{position:absolute;top:-5px;right:-5px;background:var(--red);color:#fff;border-radius:999px;font-size:10px;min-width:18px;height:18px;display:grid;place-items:center}.user-chip{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;min-width:0}.user-chip img{width:34px;height:34px;border-radius:50%;object-fit:cover}
/* Home */
.hero-section{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:28px;padding:62px 0 34px;align-items:center}.hero-copy h1{font-size:clamp(34px,5vw,64px);line-height:1.04;letter-spacing:-.048em;margin:13px 0 18px;font-weight:950}.hero-copy h1 span{color:var(--blue)}.hero-copy p,.page-hero p{font-size:17px;color:var(--muted);max-width:680px}.eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(37,99,235,.18);background:rgba(37,99,235,.08);color:var(--blue);font-weight:900;border-radius:999px;padding:8px 12px}.search-hero{display:flex;gap:10px;padding:8px;border-radius:17px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);max-width:790px}.search-hero input{border:0;background:transparent;box-shadow:none}.search-hero.slim{max-width:none}.popular-chips,.tag-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.popular-chips a,.chip{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 11px;background:var(--surface-2);color:var(--muted);font-weight:850;font-size:12px}.chip.tiny{font-size:11px;padding:5px 9px}.chip.success,.status-ok{color:#059669;background:rgba(20,184,166,.13)}.chip.warning{color:#d97706;background:rgba(245,158,11,.14)}.chip.danger{color:#ef4444;background:rgba(239,68,68,.13)}.status{display:inline-flex;align-items:center;gap:6px}.hero-visual{min-height:370px;position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(20,184,166,.10))}.screen-illustration{position:absolute;right:42px;top:54px;width:min(58%,300px);height:210px;border-radius:24px;border:10px solid rgba(15,23,42,.78);background:linear-gradient(180deg,#eff6ff,#dbeafe);box-shadow:0 30px 65px rgba(37,99,235,.22);padding:34px}.theme-dark .screen-illustration{background:#07111f}.screen-illustration span{display:block;height:12px;border-radius:999px;background:rgba(37,99,235,.46);margin:14px}.floating-book{position:absolute;left:76px;bottom:70px;width:72px;height:185px;border-radius:12px;background:linear-gradient(180deg,var(--blue),#1e3a8a);transform:rotate(-9deg);box-shadow:0 24px 50px rgba(37,99,235,.22)}.floating-book.b2{left:155px;height:148px;background:linear-gradient(180deg,var(--teal),#0f766e);transform:rotate(8deg)}.category-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:13px;margin-top:8px}.category-strip.small{margin-top:14px}.category-chip{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:16px;display:flex;align-items:center;gap:13px;color:var(--text);box-shadow:var(--shadow-soft);min-width:0}.category-chip .ti{--ti-size:2.1rem;color:var(--blue);padding:9px;border-radius:14px;background:rgba(37,99,235,.10);box-sizing:content-box}.category-chip strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-chip small{color:var(--muted);display:block}.section-block{padding:32px 0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px;min-width:0}.section-heading h1,.section-heading h2,.section-heading h3{margin:0;font-weight:950;letter-spacing:-.03em}.section-heading>div{min-width:0}.compact{margin-bottom:10px}.collection-grid{display:grid;gap:15px;min-width:0}.featured-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.catalog-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.collection-card{overflow:hidden;display:flex;flex-direction:column;min-width:0}.book-cover{height:150px;border-radius:15px;margin:12px;padding:14px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.book-cover:after{content:"";position:absolute;inset:auto -35px -50px auto;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.13)}.book-cover strong{font-size:16px;line-height:1.08;position:relative;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.book-cover span{font-weight:900;font-size:12px;opacity:.88}.book-cover.large{height:330px;margin:0;border-radius:20px}.small-cover{height:120px}.cover-blue{background:linear-gradient(135deg,#1e40af,#0891b2)}.cover-teal{background:linear-gradient(135deg,#0f766e,#134e4a)}.cover-cyan{background:linear-gradient(135deg,#0369a1,#22d3ee)}.cover-purple{background:linear-gradient(135deg,#5b21b6,#7c3aed)}.cover-amber{background:linear-gradient(135deg,#92400e,#f59e0b)}.cover-indigo{background:linear-gradient(135deg,#3730a3,#6366f1)}.cover-slate{background:linear-gradient(135deg,#334155,#0f172a)}.cover-orange{background:linear-gradient(135deg,#9a3412,#fb923c)}.cover-red{background:linear-gradient(135deg,#991b1b,#ef4444)}.collection-body{padding:0 14px 15px;display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.collection-body h3{margin:7px 0 3px;font-size:15px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.collection-body p,.mini-list span{color:var(--muted);font-size:12px;margin:0}.meta-row{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:8px 0 10px;flex-wrap:wrap}.card-actions,.cta-row,.filter-toolbar,.field-row,.form-row{display:flex;gap:10px;align-items:center;min-width:0}.card-actions{margin-top:auto}.card-actions .btn{flex:1;min-width:0;padding:9px 10px}.stats-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px}.stats-strip div,.service-card,.trust-card,.page-hero{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.stats-strip div{display:flex;align-items:center;gap:15px}.stat-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(37,99,235,.10);color:var(--blue);flex:0 0 auto}.stat-icon .ti{--ti-size:2rem}.stats-strip strong{font-size:28px;display:block;line-height:1}.stats-strip small{color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px}.service-card .service-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(37,99,235,.10);color:var(--blue);margin-bottom:14px}.service-card .service-icon .ti{--ti-size:2.05rem}.service-card h3{margin:0 0 4px}.service-card p{color:var(--muted);margin:0}.dashboard-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px;min-width:0}.dashboard-row.two-one{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}.mini-list{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);min-width:0}.mini-list:last-child{border-bottom:0}.mini-list img,.avatar-sm{width:38px;height:38px;object-fit:cover;border-radius:50%;flex:0 0 auto}.avatar-lg{width:92px;height:92px;object-fit:cover;border-radius:26px}.mini-cover{width:46px;height:60px;border-radius:9px;flex:none}.rank-list{padding-left:20px}.rank-list li{margin:11px 0}.rank-list b{float:right}.announcement-card{border-radius:var(--radius);padding:23px;color:#fff;background:linear-gradient(135deg,var(--blue),#1e40af);box-shadow:var(--shadow);min-height:100%}.trust-card{display:flex;align-items:center;gap:16px;margin-bottom:34px}.trust-card img{width:58px;height:58px;border-radius:50%}.trust-card blockquote{margin:0;flex:1;min-width:0}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,minmax(150px,1fr));gap:25px;padding:38px 0}.site-footer{border-top:1px solid var(--line);margin-top:42px}.site-footer p{color:var(--muted)}.site-footer a{display:block;color:var(--muted);margin:8px 0}.footer-bottom{text-align:center;color:var(--muted);padding:15px;border-top:1px solid var(--line)}
/* Catalog & detail */
.page-hero.compact{padding:24px;margin-top:22px}.page-hero h1{font-size:clamp(30px,4vw,46px);font-weight:950;letter-spacing:-.04em;margin:8px 0}.catalog-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;padding:22px 0}.filter-panel{align-self:start;position:sticky;top:102px}.check-list{margin-top:12px}.check-list label{display:flex;align-items:center;gap:8px;margin:7px 0;color:var(--muted);font-weight:700}.check-list input{width:auto;margin:0}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:16px;min-width:0}.result-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination-pro{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:20px 0}.pagination-pro a,.pagination-pro span{display:grid;place-items:center;min-width:36px;height:36px;border-radius:11px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-weight:850}.pagination-pro a.active{background:var(--blue);border-color:var(--blue);color:#fff}.pagination-pro select{width:auto}.empty-state{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.detail-hero{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;padding:22px;margin-top:12px}.detail-copy h1{font-weight:950;letter-spacing:-.04em;margin:0 0 8px}.rating{color:#f59e0b}.rating span{color:var(--muted)}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px;margin-top:16px}.info-grid div{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.info-grid span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.tabs-pro{margin-top:16px;padding:0;overflow:hidden}.tab-head{display:flex;gap:4px;overflow-x:auto;padding:8px;border-bottom:1px solid var(--line)}.tab-head a{flex:0 0 auto;padding:12px 14px;border-radius:12px;color:var(--muted);font-weight:850}.tab-head a.active{background:rgba(37,99,235,.10);color:var(--blue)}.tab-body{padding:18px}.topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:9px}.topic-grid span{display:flex;align-items:center;gap:8px;color:var(--muted)}.detail-side{display:grid;gap:16px;align-self:start}.sticky-card{position:sticky;top:102px}.sticky-card a{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0}.status-box{padding:13px;border-radius:14px;border:1px solid var(--line);background:var(--surface-2);margin:10px 0}.status-box.success{color:#059669;background:rgba(20,184,166,.11);border-color:rgba(20,184,166,.25)}
/* Viewer */
.viewer-page{padding-top:24px}.pdf-viewer{overflow:hidden}.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}.viewer-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}.viewer-toolbar button{display:inline-grid;place-items:center;min-width:38px;height:36px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:10px}.viewer-body{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:540px}.page-thumbs{padding:15px;background:var(--surface-2);display:grid;align-content:start;gap:12px}.page-thumbs div{height:90px;border-radius:10px;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;font-weight:900;color:var(--muted)}.page-thumbs .active{border:3px solid var(--blue);color:var(--blue)}.pdf-page{position:relative;width:min(640px,calc(100% - 32px));min-height:780px;margin:24px auto;background:#fff;color:#111827;box-shadow:0 20px 50px rgba(0,0,0,.18);padding:78px 70px;border-radius:4px}.chapter-badge{width:86px;height:86px;background:#1f2937;color:#fff;display:grid;place-items:center;margin-bottom:30px;text-align:center;font-weight:900}.watermark{position:absolute;inset:45% auto auto 22%;transform:rotate(-35deg);font-weight:900;opacity:.09;text-align:center;font-size:25px}.viewer-note{padding:12px 16px;color:var(--muted);border-top:1px solid var(--line)}
/* Admin/member layout */
.app-wrapper-pro{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}.app-sidebar{position:sticky;top:0;height:100vh;padding:20px;display:flex;flex-direction:column;gap:18px;border-right:1px solid var(--line);background:rgba(255,255,255,.76);backdrop-filter:blur(18px);z-index:30}.theme-dark .app-sidebar{background:rgba(7,17,31,.88)}.side-nav{display:grid;gap:5px}.side-nav a .ti{--ti-size:1.35rem;color:var(--blue)}.sidebar-help,.sidebar-user{margin-top:auto;padding:16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}.sidebar-user{display:flex;align-items:center;gap:11px;margin-top:0}.app-main{min-width:0;padding:18px}.app-topbar{position:sticky;top:12px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;margin-bottom:18px}.app-topbar h1{font-size:24px;margin:4px 0 0;font-weight:950;letter-spacing:-.03em}.app-topbar select{width:auto}.admin-content{min-width:0}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:15px;margin-bottom:16px}.kpi-grid.six{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.kpi-card{padding:18px;display:flex;flex-direction:column;gap:7px;min-width:0}.kpi-card span:first-child,.kpi-card>.ti{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:rgba(37,99,235,.10);color:var(--blue);font-size:0}.kpi-card span:first-child .ti,.kpi-card>.ti{--ti-size:1.85rem}.kpi-card strong{font-size:28px;line-height:1}.kpi-card small,.kpi-card em{color:var(--muted)}.kpi-card.danger span:first-child,.kpi-card.danger>.ti{color:var(--red);background:rgba(239,68,68,.10)}.line-chart{height:250px;display:flex;align-items:end;gap:12px;padding:24px;border-radius:16px;background:linear-gradient(180deg,rgba(37,99,235,.08),transparent);border:1px solid var(--line)}.line-chart i{flex:1;border-radius:999px 999px 0 0;background:linear-gradient(180deg,var(--blue),rgba(37,99,235,.30));min-width:8px}.donut-wrap{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;align-items:center}.donut{width:150px;height:150px;border-radius:50%;background:conic-gradient(var(--blue) 0 30%,var(--teal) 30% 55%,var(--amber) 55% 75%,var(--indigo) 75% 100%);display:grid;place-items:center}.donut span{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;text-align:center;background:var(--surface);font-weight:900}.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.quick-grid a{display:flex;align-items:center;gap:10px;padding:14px;border-radius:15px;background:var(--surface-2);border:1px solid var(--line);font-weight:850;color:var(--text)}.quick-grid a .ti{--ti-size:1.65rem;color:var(--blue)}.data-table{width:100%;border-collapse:collapse;min-width:680px}.data-table th,.data-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.data-table th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.03em}.rich-table{min-width:880px}.filter-toolbar{flex-wrap:wrap;margin:15px 0}.filter-toolbar input,.filter-toolbar select{flex:1 1 190px}.filter-toolbar .btn{flex:0 0 auto}.master-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.master-card{padding:20px}.master-card .ti{--ti-size:2.1rem;color:var(--blue);padding:11px;border-radius:16px;background:rgba(37,99,235,.10);box-sizing:content-box}.member-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.profile-drawer{align-self:start;position:sticky;top:102px}.summary-list{list-style:none;margin:0;padding:0}.summary-list li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.box{background:var(--surface-2);border-radius:16px;padding:12px;margin:12px 0}.step-card{padding:18px;border-radius:16px;border:1px solid var(--line);background:var(--surface);margin-bottom:14px}.selected-member{display:flex;align-items:center;gap:12px;padding:13px;border-radius:16px;background:var(--surface-2);margin:12px 0}.selected-member img{width:56px;height:56px;border-radius:50%;object-fit:cover}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mini-stats span{padding:12px;border-radius:14px;background:var(--surface-2);text-align:center}.mini-stats b{display:block}.transaction-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.receipt{align-self:start;position:sticky;top:102px}.qr-box{display:grid;place-items:center;width:110px;height:110px;margin:14px auto;border:1px dashed var(--muted);border-radius:12px}.form-grid,.form-grid-layout,.upload-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid-layout{grid-template-columns:minmax(0,1fr) 340px}.upload-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px dashed var(--line);border-radius:16px;background:var(--surface-2);margin:14px 0}.validation-summary{padding:14px;border-radius:16px;background:var(--surface-2);margin:14px 0}.modal-preview{max-width:720px;margin:16px auto}.bar-list p{display:grid;grid-template-columns:minmax(0,1fr) 160px 50px;gap:10px;align-items:center}.bar-list span{display:block;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--teal))}.progress-line{width:100%;height:8px;background:var(--surface-2);border-radius:999px;margin-top:8px}.progress-line i{display:block;height:100%;background:var(--blue);border-radius:999px}.profile-summary{display:flex;align-items:center;gap:12px;padding:10px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}.loan-card{padding:14px;border-radius:16px;border:1px solid var(--line);background:var(--surface)}.danger-soft{background:linear-gradient(180deg,rgba(239,68,68,.12),rgba(239,68,68,.05));border-color:rgba(239,68,68,.18)}.money{font-size:28px;color:var(--red)}
/* Auth */
.auth-board{width:min(1160px,calc(100% - 38px));min-height:calc(100vh - 60px);margin:30px auto;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:center}.auth-info{padding:34px}.auth-info h1{font-size:clamp(32px,4vw,52px);font-weight:950;line-height:1.06;letter-spacing:-.04em}.auth-info p{font-size:16px;color:var(--muted);max-width:560px}.auth-card{padding:28px}.auth-card h2{font-weight:950}.auth-illustration,.student-illustration{height:260px;border-radius:24px;background:linear-gradient(135deg,rgba(37,99,235,.15),rgba(20,184,166,.10));margin-top:26px;position:relative;overflow:hidden}.auth-illustration:before,.student-illustration:before{content:"";position:absolute;width:220px;height:140px;right:36px;bottom:38px;border-radius:24px;border:10px solid rgba(37,99,235,.28);background:var(--surface)}.split-dark{color:#f8fafc}.split-dark .auth-info p{color:#cbd5e1}.captcha{display:flex;align-items:center;gap:12px;margin:10px 0}.captcha span{letter-spacing:10px;font-size:24px;font-weight:950;background:var(--surface-2);border:1px solid var(--line);padding:8px 14px;border-radius:12px;white-space:nowrap}.captcha input{max-width:130px}
/* Responsive */
@media (max-width:1100px){.hero-section,.detail-layout,.transaction-layout,.member-admin-layout{grid-template-columns:1fr}.detail-side,.receipt,.profile-drawer,.sticky-card,.filter-panel{position:static}.catalog-layout{grid-template-columns:250px minmax(0,1fr)}.dashboard-row,.dashboard-row.two-one{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.auth-board{grid-template-columns:1fr}.auth-card{max-width:520px;width:100%;margin:auto}.app-wrapper-pro{grid-template-columns:230px minmax(0,1fr)}}
@media (max-width:900px){.mobile-nav-toggle{display:inline-grid}.site-header{width:min(100% - 24px,1220px);top:8px}.header-row{position:relative}.main-nav{position:absolute;left:12px;right:12px;top:calc(100% + 10px);display:none;grid-template-columns:1fr;gap:4px;padding:10px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}body.nav-open .main-nav{display:grid}.header-actions .btn-primary{display:none}.hero-section{grid-template-columns:1fr;padding-top:36px}.hero-visual{min-height:300px}.category-chip{padding:14px}.detail-hero{grid-template-columns:1fr}.book-cover.large{height:250px}.catalog-layout{grid-template-columns:1fr}.filter-panel{order:0}.result-toolbar{align-items:flex-start;flex-direction:column}.dashboard-row,.dashboard-row.two-one{grid-template-columns:1fr}.app-wrapper-pro{grid-template-columns:1fr}.app-sidebar{position:fixed;left:0;top:0;width:min(85vw,300px);height:100vh;transform:translateX(-105%);transition:.25s;box-shadow:var(--shadow);z-index:60}.sidebar-open .app-sidebar{transform:translateX(0)}.app-topbar{top:8px;align-items:flex-start}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.topbar-actions select,.topbar-actions .btn-primary{display:none}.viewer-body{grid-template-columns:1fr}.page-thumbs{display:none}.pdf-page{min-height:620px;padding:50px 38px;width:calc(100% - 24px)}.footer-grid{grid-template-columns:1fr}.form-grid,.form-grid-layout,.upload-grid,.settings-grid{grid-template-columns:1fr}}
@media (max-width:640px){body.pdp-app{font-size:13px}.container-wide{width:calc(100% - 24px)}.hero-copy h1{font-size:34px}.search-hero{flex-direction:column}.search-hero .btn{width:100%}.category-strip{grid-template-columns:1fr 1fr}.stats-strip div{padding:16px}.stat-icon{width:50px;height:50px}.service-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.card-actions,.cta-row{flex-direction:column;align-items:stretch}.trust-card{align-items:flex-start;flex-direction:column}.app-main{padding:12px}.app-topbar{padding:12px;flex-direction:column}.kpi-grid,.kpi-grid.six{grid-template-columns:1fr}.line-chart{height:200px;gap:7px;padding:18px}.donut-wrap{grid-template-columns:1fr}.data-table,.rich-table{display:block;overflow-x:auto;white-space:nowrap;min-width:100%}.mini-stats{grid-template-columns:1fr}.auth-board{width:calc(100% - 24px);margin:14px auto}.auth-info,.auth-card{padding:22px}.auth-illustration,.student-illustration{height:200px}.captcha{align-items:stretch;flex-direction:column}.captcha input{max-width:none}.bar-list p{grid-template-columns:1fr}.pdf-page{padding:38px 22px}.watermark{font-size:18px;left:8%;top:48%}}
@media (max-width:430px){.category-strip{grid-template-columns:1fr}.header-row{padding:10px}.brand-text{font-size:12px}.brand-mark{width:38px;height:38px}.theme-toggle,.sidebar-toggle,.mobile-nav-toggle,.notif{width:38px;height:38px}.stats-strip strong,.kpi-card strong{font-size:24px}}

.auth-mini{width:min(520px,calc(100% - 28px));min-height:100vh;margin:auto;display:grid;align-content:center;gap:18px;padding:24px 0}.check-list.clean{list-style:none;padding:0;margin:14px 0}.check-list.clean li{display:flex;align-items:center;gap:9px;color:var(--muted);margin:8px 0}.check-list.clean .ti{color:var(--green);--ti-size:1.25rem}.upload-card{padding:16px;border:1px dashed var(--line);border-radius:16px;background:var(--surface-2);display:grid;gap:12px;align-content:start}.upload-card strong{display:flex;align-items:center;gap:10px}.upload-card .ti-lg{color:var(--blue)}.form-panel h3{display:flex;align-items:center;gap:9px;margin-top:18px}.form-panel h3>span{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:var(--blue);color:#fff;font-size:13px}.toggle-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0}.toggle-row label{display:flex;align-items:center;gap:8px;margin:0}.toggle-row input{width:auto;margin:0}.close{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);margin-left:auto}.close .ti{--ti-size:1.1rem}.side-nav a{min-height:43px}.service-card,.category-chip,.collection-card,.kpi-card,.master-card{transition:transform .18s ease,box-shadow .18s ease}.service-card:hover,.category-chip:hover,.collection-card:hover,.master-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}

/* ===== Public frontend refinement: catalog, digital, journal, skripsi, panduan ===== */
.main-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:999px;font-weight:800;white-space:nowrap;color:var(--muted)}
.main-nav a.is-active,.main-nav a.active,.main-nav a:hover{background:rgba(37,99,235,.10);color:var(--blue)}
.theme-dark .main-nav a.is-active,.theme-dark .main-nav a.active,.theme-dark .main-nav a:hover{background:rgba(37,99,235,.20);color:#bfdbfe}
.catalog-showcase-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:22px;align-items:stretch;padding:46px 0 18px}.showcase-copy{padding:34px;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(239,246,255,.72));border:1px solid var(--line);box-shadow:var(--shadow-soft);min-width:0}.theme-dark .showcase-copy{background:linear-gradient(135deg,rgba(15,27,43,.88),rgba(14,41,71,.78))}.showcase-copy h1{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.055em;margin:12px 0 14px;font-weight:950;max-width:920px}.showcase-copy p{font-size:16px;color:var(--muted);max-width:720px;margin-bottom:20px}.showcase-search{max-width:860px}.showcase-visual{position:relative;min-height:360px;border-radius:28px;overflow:hidden;padding:24px;display:grid;align-content:center;justify-items:center}.showcase-visual:before{content:"";position:absolute;inset:26px;border-radius:38px;background:radial-gradient(circle at 50% 20%,rgba(37,99,235,.28),transparent 42%),linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.09));filter:blur(.1px)}.visual-icon-stack{position:relative;width:210px;height:210px;border-radius:42px;background:linear-gradient(135deg,var(--blue),var(--teal));display:grid;place-items:center;color:#fff;box-shadow:0 30px 70px rgba(37,99,235,.28);transform:rotate(-3deg)}.visual-icon-stack .ti{--ti-size:4.7rem}.visual-icon-stack>span:not(.ti){position:absolute;width:150px;height:18px;border-radius:999px;background:rgba(255,255,255,.22);left:32px}.visual-icon-stack>span:not(.ti):nth-of-type(2){bottom:54px}.visual-icon-stack>span:not(.ti):nth-of-type(3){bottom:28px;width:112px}.visual-icon-stack>span:not(.ti):nth-of-type(4){top:38px;width:82px;right:28px;left:auto}.mini-dashboard-card{position:absolute;left:22px;bottom:26px;padding:14px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);display:grid}.mini-dashboard-card.alt{left:auto;right:22px;top:26px;bottom:auto}.mini-dashboard-card b{font-size:26px}.mini-dashboard-card small{color:var(--muted)}.catalog-visual{justify-items:stretch}.catalog-stack-card{position:absolute;width:210px;min-height:132px;border-radius:20px;padding:20px;color:#fff;box-shadow:0 26px 64px rgba(15,23,42,.28);display:grid;align-content:end;overflow:hidden}.catalog-stack-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(255,255,255,.28),transparent 42%)}.catalog-stack-card b,.catalog-stack-card span{position:relative}.catalog-stack-card b{font-size:32px;line-height:1}.catalog-stack-card span{font-weight:800;opacity:.9}.catalog-stack-card.c1{background:linear-gradient(135deg,#2563eb,#0f766e);left:34px;top:54px;transform:rotate(-4deg)}.catalog-stack-card.c2{background:linear-gradient(135deg,#0f172a,#4f46e5);right:34px;top:122px;transform:rotate(5deg)}.catalog-stack-card.c3{background:linear-gradient(135deg,#f59e0b,#ef4444);left:104px;bottom:48px;transform:rotate(-1deg)}.large-icons .category-chip .ti{--ti-size:2.25rem}.category-chip .ti{color:var(--blue);padding:12px;border-radius:16px;background:rgba(37,99,235,.10);box-sizing:content-box}.theme-dark .category-chip .ti{background:rgba(37,99,235,.20);color:#93c5fd}.upgraded.catalog-layout{align-items:start}.enhanced-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.collection-card{overflow:hidden}.collection-card .book-cover{min-height:178px}.collection-card .book-cover strong{font-size:18px;line-height:1.1}.collection-card .meta-row{gap:8px;flex-wrap:wrap}.collection-card .card-actions{gap:10px}.collection-card .btn{min-height:40px}.page-feature-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:12px}.feature-pill.big{display:flex;gap:14px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-soft);min-width:0}.feature-pill.big .ti{color:var(--blue);padding:12px;background:rgba(37,99,235,.10);border-radius:16px;box-sizing:content-box}.feature-pill.big b{display:block;font-size:15px;color:var(--text)}.feature-pill.big small{display:block;color:var(--muted)}.split-showcase{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start;margin-top:22px}.digital-filter-card{position:sticky;top:98px}.mini-stat-column{display:grid;gap:10px;margin-top:18px}.mini-stat-column div{padding:16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}.mini-stat-column b{display:block;font-size:24px}.mini-stat-column small{color:var(--muted)}.digital-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.digital-panels h3,.journal-side h3,.thesis-guide-card h3{display:flex;align-items:center;gap:10px}.digital-panels .ti,.journal-side .ti,.thesis-guide-card .ti{color:var(--blue)}.journal-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start;margin-top:22px}.journal-highlight{padding:26px;margin-bottom:18px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.10));border:1px solid var(--line)}.journal-highlight h2{font-size:clamp(24px,3vw,36px);font-weight:950;letter-spacing:-.035em;margin:10px 0}.journal-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(245,158,11,.14);color:#b45309;font-weight:900}.theme-dark .journal-badge{color:#fcd34d}.journal-meta-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-weight:750}.journal-meta-row span{display:inline-flex;align-items:center;gap:6px}.article-list{display:grid;gap:14px}.article-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center}.article-icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;color:var(--blue);background:rgba(37,99,235,.10)}.journal-side{position:sticky;top:98px}.indexing-card{padding:16px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line)}.indexing-card div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.indexing-card span{padding:7px 10px;border-radius:999px;background:rgba(20,184,166,.13);color:var(--teal);font-weight:900}.thesis-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.thesis-tabs a{display:inline-flex;align-items:center;gap:9px;padding:12px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text);font-weight:900;box-shadow:var(--shadow-soft)}.thesis-tabs a.active{background:var(--blue);border-color:var(--blue);color:#fff}.thesis-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start;margin-top:22px}.thesis-guide-card{position:sticky;top:98px}.step-list{padding:0;margin:18px 0;list-style:none;counter-reset:steps}.step-list li{position:relative;padding:0 0 18px 44px;margin-bottom:14px;border-bottom:1px solid var(--line)}.step-list li:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:999px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:950}.step-list b{display:block}.step-list span{color:var(--muted)}.thesis-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.thesis-card{display:grid;gap:12px}.thesis-top{display:flex;align-items:center;justify-content:space-between}.thesis-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(37,99,235,.10);color:var(--blue)}.thesis-tags{display:flex;gap:8px;flex-wrap:wrap}.thesis-tags span{font-size:12px;padding:6px 9px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-weight:850}.guide-hero{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:stretch;padding:46px 0 18px}.guide-hero>div:first-child{padding:34px;border-radius:28px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.08));border:1px solid var(--line);box-shadow:var(--shadow-soft)}.guide-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.03;letter-spacing:-.055em;font-weight:950;margin:12px 0}.guide-hero p{font-size:16px;color:var(--muted);max-width:760px}.guide-hero-card{padding:28px;display:grid;align-content:center;justify-items:start}.guide-hero-card .ti{color:var(--blue);padding:18px;border-radius:24px;background:rgba(37,99,235,.10);box-sizing:content-box}.guide-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}.guide-card{padding:22px;min-height:230px;display:grid;align-content:start;gap:10px}.guide-card>span{width:70px;height:70px;border-radius:22px;display:grid;place-items:center;color:var(--blue);background:rgba(37,99,235,.10)}.guide-card h3{margin:6px 0 0;font-weight:950}.guide-card p{color:var(--muted);margin:0}.guide-steps{padding-top:10px}.steps-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.steps-timeline div{padding:22px;border-radius:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft)}.steps-timeline span{width:36px;height:36px;border-radius:999px;background:var(--blue);color:#fff;font-weight:950;display:grid;place-items:center;margin-bottom:12px}.steps-timeline b{font-size:17px}.steps-timeline p{color:var(--muted)}.faq-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:34px}.faq-section h3{font-weight:950}.faq-section p{color:var(--muted)}
@media (max-width:1100px){.catalog-showcase-hero,.guide-hero{grid-template-columns:1fr}.page-feature-strip,.guide-card-grid,.steps-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.split-showcase,.journal-layout,.thesis-layout{grid-template-columns:1fr}.digital-filter-card,.journal-side,.thesis-guide-card{position:static}.digital-panels,.faq-section{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.showcase-copy,.guide-hero>div:first-child{padding:24px}.showcase-copy h1,.guide-hero h1{font-size:34px}.showcase-visual{min-height:280px}.catalog-stack-card{width:180px}.page-feature-strip,.digital-panels,.guide-card-grid,.steps-timeline,.faq-section{grid-template-columns:1fr}.article-card{grid-template-columns:54px minmax(0,1fr)}.article-card .btn{grid-column:1/-1}.journal-meta-row{align-items:flex-start}.thesis-tabs{display:grid;grid-template-columns:1fr 1fr}.thesis-tabs a{justify-content:center}.feature-pill.big{padding:16px}.visual-icon-stack{width:170px;height:170px}.visual-icon-stack .ti{--ti-size:3.7rem}}
@media (max-width:480px){.thesis-tabs{grid-template-columns:1fr}.catalog-showcase-hero,.guide-hero{padding-top:26px}.catalog-stack-card.c1{left:20px;top:38px}.catalog-stack-card.c2{right:16px;top:118px}.catalog-stack-card.c3{left:52px;bottom:34px}.mini-dashboard-card{position:relative;left:auto;right:auto;top:auto;bottom:auto;margin-top:12px}.mini-dashboard-card.alt{position:relative;left:auto;right:auto;top:auto;bottom:auto}.showcase-visual{align-content:start}}

/* Tabler visual refresh for frontend */
.brand-mark:before,.brand-mark span:not(.ti){display:none!important}.brand-mark .ti{--ti-size:1.7rem;color:#fff}.brand-lockup:hover .brand-mark .ti{transform:scale(1.06);transition:transform .18s ease}
.hero-icon-cloud{position:absolute;inset:0;display:grid;place-items:center}.hero-icon-cloud:before{content:"";position:absolute;width:290px;height:290px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.18),transparent 67%)}.hero-orb{position:absolute;display:grid;place-items:center;border:1px solid rgba(255,255,255,.32);background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(239,246,255,.74));color:var(--blue);box-shadow:0 24px 58px rgba(37,99,235,.18);backdrop-filter:blur(12px)}.theme-dark .hero-orb{background:linear-gradient(135deg,rgba(20,36,55,.88),rgba(15,27,43,.82));border-color:rgba(148,163,184,.25)}.hero-orb.primary{width:150px;height:150px;border-radius:38px;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;z-index:2}.hero-orb.secondary{width:105px;height:105px;border-radius:30px;right:62px;top:58px}.hero-orb.accent{width:104px;height:104px;border-radius:30px;left:58px;bottom:58px;color:var(--teal)}.hero-orb.small{width:70px;height:70px;border-radius:22px}.hero-orb.small.one{left:80px;top:78px}.hero-orb.small.two{right:92px;bottom:76px}.hero-line{position:absolute;height:2px;background:linear-gradient(90deg,transparent,rgba(37,99,235,.38),transparent);border-radius:999px}.hero-line.l1{width:230px;transform:rotate(24deg)}.hero-line.l2{width:190px;transform:rotate(-22deg)}.hero-line.l3{width:160px;transform:rotate(72deg)}.testimonial-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:rgba(37,99,235,.11);color:var(--blue);flex:0 0 auto}.catalog-stack-card .ti{--ti-size:2.4rem;margin-bottom:10px;opacity:.95}.book-cover:before{content:"";position:absolute;right:18px;bottom:18px;width:72px;height:72px;opacity:.22;background:currentColor;mask:url("../../tabler-icons/outline/book-2.svg") center/contain no-repeat;-webkit-mask:url("../../tabler-icons/outline/book-2.svg") center/contain no-repeat}.book-cover span,.book-cover strong{z-index:1}.trust-card .testimonial-icon+.ti{display:none}
@media (max-width:760px){.hero-orb.primary{width:126px;height:126px}.hero-orb.secondary,.hero-orb.accent{width:86px;height:86px}.hero-orb.small{width:58px;height:58px}.hero-orb.secondary{right:36px;top:48px}.hero-orb.accent{left:42px;bottom:44px}.hero-orb.small.one{left:50px;top:58px}.hero-orb.small.two{right:56px;bottom:56px}}

/* =========================================================
   Backend AdminLTE Refresh 2026
   Fokus: responsive, tidak tumpang tindih, menu lengkap, eye catching
   ========================================================= */
body.admin-shell{background:
  radial-gradient(circle at 0 0, rgba(37,99,235,.15), transparent 28%),
  radial-gradient(circle at 98% 18%, rgba(20,184,166,.12), transparent 27%),
  linear-gradient(180deg,var(--bg),var(--bg));}
.admin-wrapper-pro{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh;width:100%;align-items:stretch}
.admin-main-pro{min-width:0;padding:18px 22px 30px;display:grid;grid-template-rows:auto 1fr;gap:18px}
.admin-page-body{min-width:0}.admin-content{min-width:0;width:100%;display:block}.admin-content>*{min-width:0}
.admin-topbar{position:sticky;top:16px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:24px;overflow:visible}
.topbar-left{display:flex;align-items:center;gap:13px;min-width:0}.page-title-block{min-width:0}.page-title-block h1{font-size:clamp(22px,2.8vw,34px);line-height:1.05;letter-spacing:-.035em;margin:2px 0 0;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-title-block .breadcrumb-soft{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-searchbox{width:min(330px,28vw);display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:0 12px;min-height:42px;color:var(--muted)}.admin-searchbox input{border:0;background:transparent;padding:0;box-shadow:none;min-width:0}.period-select{width:auto;min-width:120px;min-height:42px;padding:8px 12px}.admin-avatar-chip{display:flex;align-items:center;gap:9px;color:var(--text);padding:7px 10px;border-radius:15px;background:var(--surface-2);border:1px solid var(--line);white-space:nowrap}.admin-avatar-chip>span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:rgba(37,99,235,.12);color:var(--blue)}.admin-avatar-chip strong{display:grid;line-height:1.05}.admin-avatar-chip small{color:var(--muted);font-size:11px;font-weight:800;margin-top:3px}
.admin-sidebar-pro{position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:hidden;padding:18px 14px;background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(241,245,249,.78));border-right:1px solid rgba(148,163,184,.25);backdrop-filter:blur(22px);box-shadow:18px 0 55px rgba(15,23,42,.06);z-index:45}.theme-dark .admin-sidebar-pro{background:linear-gradient(180deg,rgba(15,27,43,.96),rgba(7,17,31,.94));border-right-color:rgba(148,163,184,.17)}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.sidebar-close{display:none;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;width:38px;height:38px}.admin-role-card{display:flex;align-items:center;gap:11px;padding:13px;border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.10));border:1px solid rgba(37,99,235,.16);margin:12px 0 16px}.admin-role-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--blue);color:#fff;flex:0 0 auto}.admin-role-card strong{display:block;font-size:13px}.admin-role-card small{display:block;color:var(--muted);font-weight:800;font-size:11px;margin-top:2px}
.admin-nav-pro{display:grid;gap:9px}.admin-nav-pro .nav-group{border:1px solid transparent;border-radius:18px;overflow:hidden}.admin-nav-pro .nav-group[open]{background:rgba(37,99,235,.055);border-color:rgba(37,99,235,.12)}.admin-nav-pro summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;padding:10px 10px 7px}.admin-nav-pro summary::-webkit-details-marker{display:none}.admin-nav-pro summary .ti:first-child{transition:.2s;--ti-size:1rem}.admin-nav-pro details[open] summary .ti:first-child{transform:rotate(90deg)}.nav-group-links{display:grid;gap:4px;padding:0 6px 8px}.admin-nav-pro a{position:relative;display:flex;align-items:center;gap:11px;padding:10px 10px;border-radius:14px;color:var(--text);font-size:13px;font-weight:850}.admin-nav-pro a .ti{--ti-size:1.18rem;color:var(--muted);flex:0 0 auto}.admin-nav-pro a:hover,.admin-nav-pro a.is-active{background:linear-gradient(135deg,rgba(37,99,235,.15),rgba(20,184,166,.09));color:var(--blue);box-shadow:inset 0 0 0 1px rgba(37,99,235,.12)}.admin-nav-pro a:hover .ti,.admin-nav-pro a.is-active .ti{color:var(--blue)}.admin-help-card{display:grid;gap:8px;margin-top:18px;padding:16px;border-radius:20px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(99,102,241,.10));border:1px solid rgba(37,99,235,.14)}.admin-help-card p{margin:0;color:var(--muted);font-size:12px}.admin-help-card a{font-weight:950}.admin-backdrop{display:none;position:fixed;inset:0;background:rgba(2,6,23,.56);backdrop-filter:blur(2px);z-index:42}
.panel-card,.content-card{min-width:0}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.section-heading h2,.panel-card h2{font-size:clamp(24px,2.7vw,36px);line-height:1.04;letter-spacing:-.035em;font-weight:950;margin:0 0 6px}.section-heading p,.panel-card>p{color:var(--muted);margin:0}.section-heading.compact h3{margin:0;font-weight:950}.filter-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;align-items:end;margin:14px 0 18px}.filter-toolbar .btn{min-height:44px}.tab-head.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.tab-head.inline a{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:9px 12px;background:var(--surface-2);border:1px solid var(--line);color:var(--muted);font-weight:900}.tab-head.inline a.active,.tab-head.inline a:hover{background:rgba(37,99,235,.12);border-color:rgba(37,99,235,.24);color:var(--blue)}
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:18px}.kpi-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.kpi-card{position:relative;overflow:hidden;padding:18px;display:grid;gap:7px;min-height:122px;border-radius:22px}.kpi-card:before{content:"";position:absolute;right:-18px;top:-22px;width:92px;height:92px;border-radius:50%;background:rgba(37,99,235,.11)}.kpi-card small{font-weight:900;color:var(--muted)}.kpi-card strong{font-size:clamp(24px,3vw,34px);line-height:1;font-weight:950;letter-spacing:-.04em}.kpi-card em{font-style:normal;color:var(--muted);font-size:12px}.kpi-card.danger:before{background:rgba(239,68,68,.14)}.dashboard-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.dashboard-row.two-one{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)}.dashboard-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grow{min-width:0}
.data-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;display:block;overflow-x:auto;border-radius:18px;border:1px solid var(--line);background:var(--surface);-webkit-overflow-scrolling:touch}.data-table tbody,.data-table tr{min-width:100%}.data-table th,.data-table td{padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle;text-align:left;white-space:nowrap}.data-table th{position:sticky;top:0;z-index:1;background:var(--surface-2);color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:950}.data-table tr:last-child td{border-bottom:0}.data-table td strong{font-weight:950}.data-table td small{color:var(--muted)}.data-table a{font-weight:950}.rich-table td:nth-child(4),.rich-table td:first-child+td+td+td{white-space:normal;min-width:190px}.avatar-sm{width:38px;height:38px;border-radius:14px;object-fit:cover}.avatar-lg{width:92px;height:92px;border-radius:28px;object-fit:cover;box-shadow:var(--shadow-soft)}.avatar-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(37,99,235,.12);color:var(--blue)}.avatar-icon.lg{width:92px;height:92px;border-radius:28px}.avatar-icon .ti{--ti-size:1.55rem}.avatar-icon.lg .ti{--ti-size:3rem}
.chip,.status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:950;white-space:nowrap}.chip.success,.status-ok{background:rgba(16,185,129,.12);color:#059669}.chip.warning{background:rgba(245,158,11,.14);color:#b45309}.chip.danger{background:rgba(239,68,68,.13);color:#dc2626}
.line-chart{height:240px;display:flex;align-items:end;gap:10px;padding:22px 16px;border-radius:20px;background:linear-gradient(180deg,rgba(37,99,235,.08),transparent);border:1px solid var(--line)}.line-chart i{display:block;flex:1;min-width:12px;border-radius:999px 999px 10px 10px;background:linear-gradient(180deg,var(--blue),rgba(37,99,235,.18));box-shadow:0 10px 22px rgba(37,99,235,.17)}.donut-wrap{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center}.donut{width:148px;height:148px;border-radius:50%;background:conic-gradient(var(--blue) 0 42%,var(--teal) 42% 67%,var(--indigo) 67% 84%,var(--amber) 84% 100%);display:grid;place-items:center}.donut span{width:96px;height:96px;border-radius:50%;display:grid;place-items:center;background:var(--surface);text-align:center;font-weight:950;line-height:1.05}.donut small{font-size:11px;color:var(--muted)}.donut-wrap ul,.summary-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.donut-wrap li,.summary-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:14px;background:var(--surface-2);font-weight:850;color:var(--muted)}.timeline-list{display:grid;gap:10px}.timeline-list p{position:relative;margin:0;padding:12px 12px 12px 42px;border-radius:16px;background:var(--surface-2);color:var(--muted)}.timeline-list p:before{content:"";position:absolute;left:14px;top:17px;width:12px;height:12px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.12)}.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:10px}.quick-grid a{display:grid;justify-items:start;align-content:center;gap:8px;min-height:92px;padding:15px;border-radius:18px;background:var(--surface-2);color:var(--text);font-weight:950;border:1px solid var(--line)}.quick-grid a .ti{--ti-size:1.7rem;color:var(--blue)}
.form-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.form-panel h3{display:flex;align-items:center;gap:10px;margin:22px 0 14px;font-size:18px;font-weight:950}.form-panel h3 span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--blue);color:#fff;font-size:14px}.toggle-row{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.toggle-row label{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;color:var(--text)}.toggle-row input{width:auto}.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.upload-card{display:grid;gap:12px;justify-items:start;padding:16px;border-radius:18px;background:var(--surface-2);border:1px dashed var(--line)}.detail-drawer{position:sticky;top:96px;align-self:start}.info-grid.small{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.info-grid.small div{padding:12px;border-radius:14px;background:var(--surface-2)}.info-grid.small span{display:block;color:var(--muted);font-size:12px}.info-grid.small strong{font-weight:950}.small-cover{width:100%;min-height:170px}.mini-cover{width:48px;height:64px;border-radius:12px;box-shadow:0 12px 25px rgba(15,23,42,.13)}
.member-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.profile-drawer{position:sticky;top:96px;align-self:start}.profile-drawer .close{float:right;border:0;background:var(--surface-2);color:var(--muted);width:36px;height:36px;border-radius:12px}.profile-drawer h3{margin:14px 0 8px}.summary-list.box{background:transparent;border:0;display:grid;gap:8px;margin:14px 0}.summary-list.box li{list-style:none}.transaction-layout,.fine-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.step-card{padding:18px;border-radius:20px;background:var(--surface-2);border:1px solid var(--line);margin:14px 0}.step-card h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-weight:950}.selected-member,.mini-list{display:flex;align-items:center;gap:12px;min-width:0;margin-top:12px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}.selected-member img{width:50px;height:50px;border-radius:16px;object-fit:cover}.selected-member span,.mini-list span{color:var(--muted)}.selected-member>div,.mini-list>div{min-width:0;flex:1}.mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.mini-stats span{display:grid;gap:2px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:12px}.mini-stats b{font-size:18px;color:var(--text)}.receipt{position:sticky;top:96px;align-self:start}.receipt h4{text-align:center;letter-spacing:.08em}.qr-box{width:90px;height:90px;border-radius:12px;background:repeating-linear-gradient(45deg,var(--text) 0 4px,transparent 4px 8px);color:var(--surface);display:grid;place-items:center;margin:12px auto;font-weight:950}.return-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;padding:14px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line)}.modal-preview{margin-top:16px}.bar-list{display:grid;gap:12px}.bar-list p{display:grid;grid-template-columns:minmax(140px,1fr) minmax(90px,1.2fr) 48px;gap:10px;align-items:center;margin:0;color:var(--muted)}.bar-list span{height:10px;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--teal));display:block}.stepper{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.stepper span{padding:9px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);color:var(--muted);font-weight:900}.stepper span.active{background:var(--blue);color:#fff}.upload-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;border-radius:18px;background:var(--surface-2);border:1px dashed var(--line);margin-bottom:16px}.validation-summary{display:grid;gap:8px;margin:16px 0;padding:16px;border-radius:18px;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.16)}.master-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.master-card{display:grid;gap:10px;padding:20px}.master-card i,.master-card>span:first-child{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:rgba(37,99,235,.12);color:var(--blue)}
@media (max-width:1320px){.kpi-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-searchbox{display:none}.dashboard-row.two-one,.dashboard-row{grid-template-columns:1fr}.form-grid-layout,.member-admin-layout,.transaction-layout,.fine-layout{grid-template-columns:1fr}.detail-drawer,.profile-drawer,.receipt{position:static}.settings-grid{grid-template-columns:1fr}}
@media (max-width:1100px){.admin-wrapper-pro{grid-template-columns:1fr}.admin-sidebar-pro{position:fixed;left:0;top:0;bottom:0;width:min(320px,88vw);height:100vh;transform:translateX(-104%);transition:transform .25s ease;box-shadow:22px 0 60px rgba(2,6,23,.22)}body.sidebar-open .admin-sidebar-pro{transform:translateX(0)}body.sidebar-open .admin-backdrop{display:block}.sidebar-close{display:grid;place-items:center}.admin-main-pro{padding:14px}.admin-topbar{top:10px}.topbar-actions{gap:8px}.period-select,.admin-avatar-chip{display:none}}
@media (max-width:760px){.admin-main-pro{padding:10px}.admin-topbar{align-items:stretch;flex-direction:column;border-radius:20px}.topbar-left{width:100%;justify-content:space-between}.topbar-actions{width:100%;justify-content:space-between;flex-wrap:wrap}.section-heading{display:grid}.section-heading>div:last-child{justify-content:stretch}.section-heading .btn{width:100%}.kpi-grid,.kpi-grid.six,.form-grid,.upload-grid,.mini-stats{grid-template-columns:1fr}.data-table{min-width:680px}.panel-card,.content-card{padding:16px;border-radius:18px}.line-chart{height:190px}.donut-wrap{grid-template-columns:1fr;justify-items:center}.selected-member,.mini-list{align-items:flex-start;flex-wrap:wrap}.return-summary .btn{width:100%}.filter-toolbar{grid-template-columns:1fr}.app-main .btn{white-space:normal}}
@media (max-width:480px){.page-title-block h1{white-space:normal}.admin-nav-pro a{font-size:12px}.admin-role-card{padding:11px}.data-table{min-width:620px}.tab-head.inline a{flex:1;justify-content:center}.quick-grid{grid-template-columns:1fr}.bar-list p{grid-template-columns:1fr}.bar-list b{justify-self:end}}
.theme-dark .theme-toggle .ti{display:none}.theme-dark .theme-toggle:before{content:"";width:21px;height:21px;background:currentColor;mask:url("../../tabler-icons/outline/sun.svg") center/contain no-repeat;-webkit-mask:url("../../tabler-icons/outline/sun.svg") center/contain no-repeat}

/* Backend sidebar refinement: flat left menu, no group accordion, content never hidden */
:root{--admin-sidebar-width:260px;--admin-sidebar-compact:82px}
.admin-wrapper-pro{grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr);overflow-x:hidden}
.admin-main-pro{min-width:0;max-width:100%;overflow-x:hidden}
.admin-page-body{width:100%;max-width:1480px;margin:0 auto;min-width:0}
.admin-sidebar-pro{width:var(--admin-sidebar-width);min-width:var(--admin-sidebar-width);max-width:var(--admin-sidebar-width);align-items:stretch}
.admin-nav-flat{display:flex;flex-direction:column;gap:6px;align-items:stretch;padding:4px 2px 8px;overflow:visible}
.admin-nav-flat a{min-height:43px;justify-content:flex-start;border:1px solid transparent;background:transparent;white-space:normal;line-height:1.25}
.admin-nav-flat a span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.admin-nav-flat a .ti{--ti-size:1.35rem;width:26px;min-width:26px;display:inline-grid;place-items:center;color:var(--muted)}
.admin-nav-flat a.is-active{background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(20,184,166,.10));border-color:rgba(37,99,235,.16);color:var(--blue);box-shadow:0 8px 24px rgba(37,99,235,.08)}
.admin-nav-flat a:hover{transform:translateX(2px)}
.admin-nav-pro .nav-group,.admin-nav-pro summary,.nav-group-links{all:unset}
.admin-sidebar-pro .brand-lockup{justify-content:flex-start}
.admin-help-card{margin-top:14px}
body.sidebar-collapsed .admin-wrapper-pro{grid-template-columns:var(--admin-sidebar-compact) minmax(0,1fr)}
body.sidebar-collapsed .admin-sidebar-pro{width:var(--admin-sidebar-compact);min-width:var(--admin-sidebar-compact);max-width:var(--admin-sidebar-compact);padding-left:12px;padding-right:12px}
body.sidebar-collapsed .admin-sidebar-pro .brand-text,
body.sidebar-collapsed .admin-role-card div,
body.sidebar-collapsed .admin-help-card,
body.sidebar-collapsed .admin-nav-flat a span{display:none}
body.sidebar-collapsed .admin-sidebar-pro .sidebar-head{justify-content:center}
body.sidebar-collapsed .admin-role-card{justify-content:center;padding:10px;margin:12px 0}
body.sidebar-collapsed .admin-role-card>span{width:44px;height:44px}
body.sidebar-collapsed .admin-nav-flat a{justify-content:center;padding:11px 8px}
body.sidebar-collapsed .admin-nav-flat a .ti{margin:0;color:var(--blue)}

@media (min-width:761px){
  .admin-wrapper-pro{display:grid!important;grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr)!important}
  body.sidebar-collapsed .admin-wrapper-pro{grid-template-columns:var(--admin-sidebar-compact) minmax(0,1fr)!important}
  .admin-sidebar-pro{position:sticky!important;left:auto!important;top:0!important;bottom:auto!important;height:100vh!important;transform:none!important;box-shadow:18px 0 55px rgba(15,23,42,.06);z-index:45}
  .sidebar-close{display:none!important}
  .admin-backdrop{display:none!important}
  .admin-main-pro{padding-left:22px!important;padding-right:22px!important;margin-left:0!important}
  .sidebar-toggle{display:inline-grid}
}
@media (max-width:760px){
  .admin-wrapper-pro{grid-template-columns:1fr!important}
  .admin-sidebar-pro{position:fixed!important;left:0;top:0;bottom:0;width:min(320px,88vw)!important;min-width:0!important;max-width:none!important;height:100vh!important;transform:translateX(-104%)!important;transition:transform .25s ease;box-shadow:22px 0 60px rgba(2,6,23,.22);z-index:60}
  body.sidebar-open .admin-sidebar-pro{transform:translateX(0)!important}
  body.sidebar-open .admin-backdrop{display:block!important}
  body.sidebar-collapsed .admin-wrapper-pro{grid-template-columns:1fr!important}
  body.sidebar-collapsed .admin-sidebar-pro{width:min(320px,88vw)!important;min-width:0!important;max-width:none!important;padding:18px 14px!important}
  body.sidebar-collapsed .admin-sidebar-pro .brand-text,
  body.sidebar-collapsed .admin-role-card div,
  body.sidebar-collapsed .admin-help-card,
  body.sidebar-collapsed .admin-nav-flat a span{display:block}
  body.sidebar-collapsed .admin-nav-flat a{justify-content:flex-start;padding:10px}
  .sidebar-close{display:grid!important;place-items:center}
  .admin-page-body{max-width:none}
}

/* === Backend sidebar hard fix 2026-05-26 ===
   Tujuan: sidebar tidak lagi menimpa isi backend pada desktop/tablet.
   Sidebar hanya menjadi drawer pada layar phone kecil. */
:root{--admin-sidebar-width:248px;--admin-sidebar-compact:76px;--backend-gap:22px}
body.admin-shell{overflow-x:hidden}
body.admin-shell .admin-wrapper-pro{
  display:grid!important;
  grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr)!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  min-height:100vh!important;
  align-items:start!important;
}
body.admin-shell .admin-sidebar-pro{
  position:sticky!important;
  top:0!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:var(--admin-sidebar-width)!important;
  min-width:var(--admin-sidebar-width)!important;
  max-width:var(--admin-sidebar-width)!important;
  height:100vh!important;
  z-index:12!important;
  grid-column:1!important;
  grid-row:1!important;
}
body.admin-shell .admin-main-pro{
  grid-column:2!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:18px var(--backend-gap) 32px!important;
  overflow-x:hidden!important;
}
body.admin-shell .admin-topbar{z-index:10!important;max-width:100%}
body.admin-shell .admin-page-body{width:100%!important;max-width:1440px!important;margin:0 auto!important;min-width:0!important}
body.admin-shell .admin-backdrop{display:none!important}
body.admin-shell.sidebar-open .admin-backdrop{display:none!important}
body.admin-shell.sidebar-open .admin-sidebar-pro{transform:none!important}
body.admin-shell.sidebar-collapsed .admin-wrapper-pro{grid-template-columns:var(--admin-sidebar-compact) minmax(0,1fr)!important}
body.admin-shell.sidebar-collapsed .admin-sidebar-pro{
  width:var(--admin-sidebar-compact)!important;
  min-width:var(--admin-sidebar-compact)!important;
  max-width:var(--admin-sidebar-compact)!important;
}
body.admin-shell .admin-nav-flat a{white-space:nowrap;overflow:hidden}
body.admin-shell .admin-nav-flat a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.admin-shell .content-card,
body.admin-shell .panel-card,
body.admin-shell .glass-card{max-width:100%;min-width:0}
body.admin-shell .table-responsive,
body.admin-shell .table-wrap{max-width:100%;overflow-x:auto}

@media (min-width:641px){
  body.admin-shell .admin-wrapper-pro{
    display:grid!important;
    grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr)!important;
  }
  body.admin-shell.sidebar-collapsed .admin-wrapper-pro{grid-template-columns:var(--admin-sidebar-compact) minmax(0,1fr)!important}
  body.admin-shell .admin-sidebar-pro{
    position:sticky!important;
    transform:none!important;
    width:var(--admin-sidebar-width)!important;
    min-width:var(--admin-sidebar-width)!important;
    max-width:var(--admin-sidebar-width)!important;
    height:100vh!important;
    box-shadow:10px 0 28px rgba(15,23,42,.045)!important;
  }
  body.admin-shell.sidebar-collapsed .admin-sidebar-pro{
    width:var(--admin-sidebar-compact)!important;
    min-width:var(--admin-sidebar-compact)!important;
    max-width:var(--admin-sidebar-compact)!important;
  }
  body.admin-shell .sidebar-close{display:none!important}
}

@media (max-width:640px){
  body.admin-shell .admin-wrapper-pro{grid-template-columns:1fr!important;display:block!important}
  body.admin-shell .admin-sidebar-pro{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(320px,88vw)!important;
    min-width:0!important;
    max-width:none!important;
    height:100vh!important;
    transform:translateX(-105%)!important;
    z-index:60!important;
    transition:transform .24s ease!important;
    box-shadow:22px 0 60px rgba(2,6,23,.22)!important;
  }
  body.admin-shell.sidebar-open .admin-sidebar-pro{transform:translateX(0)!important}
  body.admin-shell.sidebar-open .admin-backdrop{display:block!important;z-index:55!important}
  body.admin-shell .admin-main-pro{display:block!important;padding:10px!important;width:100%!important}
  body.admin-shell .admin-page-body{max-width:none!important}
  body.admin-shell.sidebar-collapsed .admin-sidebar-pro{width:min(320px,88vw)!important;min-width:0!important;max-width:none!important}
  body.admin-shell.sidebar-collapsed .admin-sidebar-pro .brand-text,
  body.admin-shell.sidebar-collapsed .admin-role-card div,
  body.admin-shell.sidebar-collapsed .admin-help-card,
  body.admin-shell.sidebar-collapsed .admin-nav-flat a span{display:block!important}
  body.admin-shell.sidebar-collapsed .admin-nav-flat a{justify-content:flex-start!important}
  body.admin-shell .sidebar-close{display:grid!important}
}

/* === Backend alignment definitive fix 2026-05-26 ===
   Memakai fixed desktop sidebar + main margin-left.
   Hasil: konten backend selalu mulai tepat di samping sidebar,
   tidak overlay, tidak turun terlalu jauh, dan tidak ada ruang kosong besar. */
:root{
  --backend-sidebar-open:256px;
  --backend-sidebar-mini:82px;
  --backend-content-pad-x:20px;
  --backend-content-pad-y:16px;
}
@media (min-width:641px){
  body.admin-shell{
    overflow-x:hidden!important;
  }
  body.admin-shell .admin-wrapper-pro{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
  }
  body.admin-shell .admin-sidebar-pro{
    position:fixed!important;
    inset:0 auto 0 0!important;
    width:var(--backend-sidebar-open)!important;
    min-width:var(--backend-sidebar-open)!important;
    max-width:var(--backend-sidebar-open)!important;
    height:100vh!important;
    max-height:100vh!important;
    transform:none!important;
    margin:0!important;
    z-index:40!important;
    border-radius:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  body.admin-shell .admin-main-pro{
    display:block!important;
    position:relative!important;
    min-height:100vh!important;
    min-width:0!important;
    width:calc(100% - var(--backend-sidebar-open))!important;
    max-width:none!important;
    margin:0 0 0 var(--backend-sidebar-open)!important;
    padding:var(--backend-content-pad-y) var(--backend-content-pad-x) 36px!important;
    overflow:visible!important;
  }
  body.admin-shell .admin-topbar{
    position:sticky!important;
    top:12px!important;
    z-index:25!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 18px!important;
  }
  body.admin-shell .admin-page-body{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
  }
  body.admin-shell.sidebar-collapsed .admin-sidebar-pro{
    width:var(--backend-sidebar-mini)!important;
    min-width:var(--backend-sidebar-mini)!important;
    max-width:var(--backend-sidebar-mini)!important;
  }
  body.admin-shell.sidebar-collapsed .admin-main-pro{
    width:calc(100% - var(--backend-sidebar-mini))!important;
    margin-left:var(--backend-sidebar-mini)!important;
  }
  body.admin-shell.sidebar-open .admin-sidebar-pro{
    transform:none!important;
  }
  body.admin-shell .admin-backdrop,
  body.admin-shell.sidebar-open .admin-backdrop{
    display:none!important;
  }
  body.admin-shell .sidebar-close{
    display:none!important;
  }
  body.admin-shell .dashboard-row,
  body.admin-shell .kpi-grid,
  body.admin-shell .master-grid,
  body.admin-shell .filter-toolbar{
    max-width:100%!important;
    min-width:0!important;
  }
}
@media (max-width:1200px) and (min-width:641px){
  body.admin-shell .admin-searchbox{display:none!important;}
  body.admin-shell .topbar-actions{flex-shrink:0;}
}
@media (max-width:900px) and (min-width:641px){
  body.admin-shell .period-select,
  body.admin-shell .admin-avatar-chip{display:none!important;}
  body.admin-shell .admin-main-pro{padding-left:14px!important;padding-right:14px!important;}
  body.admin-shell .admin-topbar{border-radius:20px!important;}
}
@media (max-width:640px){
  body.admin-shell .admin-wrapper-pro{
    display:block!important;
    width:100%!important;
    min-height:100vh!important;
  }
  body.admin-shell .admin-main-pro{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:10px!important;
    overflow:visible!important;
  }
  body.admin-shell .admin-topbar{
    position:sticky!important;
    top:8px!important;
    margin:0 0 14px!important;
  }
  body.admin-shell .admin-page-body{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.admin-shell .admin-sidebar-pro{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(320px,88vw)!important;
    min-width:0!important;
    max-width:none!important;
    height:100vh!important;
    transform:translateX(-105%)!important;
    z-index:60!important;
  }
  body.admin-shell.sidebar-open .admin-sidebar-pro{transform:translateX(0)!important;}
  body.admin-shell.sidebar-open .admin-backdrop{display:block!important;z-index:55!important;}
}


/* =============================================================
   BACKEND LAYOUT FINAL FIX - non-overlap sidebar + responsive CRUD
   ============================================================= */
:root{
  --pp-admin-sidebar: 280px;
  --pp-admin-sidebar-mini: 84px;
  --pp-admin-pad: 18px;
}
html, body.admin-shell{min-height:100%;}
body.admin-shell{overflow-x:hidden!important;background:radial-gradient(circle at top right,rgba(20,184,166,.13),transparent 30%),linear-gradient(180deg,var(--bg),var(--bg))!important;}
body.admin-shell .admin-wrapper-pro{display:block!important;width:100%!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:visible!important;}
body.admin-shell .admin-sidebar-pro{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--pp-admin-sidebar)!important;min-width:var(--pp-admin-sidebar)!important;max-width:var(--pp-admin-sidebar)!important;height:100vh!important;max-height:100vh!important;margin:0!important;padding:20px 18px!important;transform:none!important;border-radius:0!important;z-index:50!important;overflow-y:auto!important;overflow-x:hidden!important;border-right:1px solid var(--line)!important;box-shadow:18px 0 48px rgba(15,23,42,.06)!important;}
body.admin-shell .admin-main-pro{position:relative!important;display:block!important;min-height:100vh!important;width:calc(100% - var(--pp-admin-sidebar))!important;max-width:none!important;margin-left:var(--pp-admin-sidebar)!important;margin-right:0!important;padding:var(--pp-admin-pad) var(--pp-admin-pad) 42px!important;overflow:visible!important;}
body.admin-shell .admin-topbar{position:sticky!important;top:12px!important;z-index:35!important;width:100%!important;max-width:none!important;margin:0 0 18px!important;}
body.admin-shell .admin-page-body{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0!important;overflow:visible!important;}
body.admin-shell .admin-content{width:100%!important;max-width:none!important;min-width:0!important;}
body.admin-shell .panel-card,body.admin-shell .content-card,body.admin-shell .glass-card{max-width:100%!important;min-width:0!important;}
body.admin-shell .section-heading{align-items:flex-start;flex-wrap:wrap;}
body.admin-shell .section-heading>div:last-child{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;}
body.admin-shell .filter-toolbar{display:grid!important;grid-template-columns:minmax(240px,1fr) repeat(auto-fit,minmax(170px,220px)) auto!important;gap:10px!important;align-items:center!important;margin:14px 0 18px!important;}
body.admin-shell .table-responsive,body.admin-shell .table-wrap,body.admin-shell .pp-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;border-radius:16px;}
body.admin-shell table.data-table{width:100%;border-collapse:separate;border-spacing:0;min-width:760px;}
body.admin-shell table.data-table th{font-size:12px;text-transform:none;color:var(--muted);background:var(--surface-2);font-weight:900;}
body.admin-shell table.data-table th,body.admin-shell table.data-table td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle;}
body.admin-shell table.data-table tr:last-child td{border-bottom:0;}
body.admin-shell .crud-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:18px;align-items:start;}
body.admin-shell .crud-form{position:sticky;top:96px;align-self:start;}
body.admin-shell .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
body.admin-shell .form-grid .full-row{grid-column:1/-1;}
body.admin-shell .inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
body.admin-shell .btn.btn-sm,.btn-sm{min-height:34px;padding:7px 10px;border-radius:10px;font-size:12px;}
body.admin-shell .btn-link-danger{background:rgba(239,68,68,.10);color:#dc2626!important;border:1px solid rgba(239,68,68,.20);}
body.admin-shell .master-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;}
body.admin-shell.sidebar-collapsed .admin-sidebar-pro{width:var(--pp-admin-sidebar-mini)!important;min-width:var(--pp-admin-sidebar-mini)!important;max-width:var(--pp-admin-sidebar-mini)!important;padding-left:12px!important;padding-right:12px!important;}
body.admin-shell.sidebar-collapsed .admin-main-pro{width:calc(100% - var(--pp-admin-sidebar-mini))!important;margin-left:var(--pp-admin-sidebar-mini)!important;}
body.admin-shell.sidebar-collapsed .admin-sidebar-pro .brand-text,body.admin-shell.sidebar-collapsed .admin-role-card div,body.admin-shell.sidebar-collapsed .admin-help-card,body.admin-shell.sidebar-collapsed .admin-nav-flat a span{display:none!important;}
body.admin-shell.sidebar-collapsed .admin-sidebar-pro .sidebar-head,body.admin-shell.sidebar-collapsed .admin-role-card,body.admin-shell.sidebar-collapsed .admin-nav-flat a{justify-content:center!important;}
body.admin-shell.sidebar-collapsed .admin-nav-flat a{padding-left:9px!important;padding-right:9px!important;}
body.admin-shell .admin-backdrop{display:none;position:fixed;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(4px);}
body.admin-shell .sidebar-close{display:none!important;}
@media(max-width:1180px){body.admin-shell .admin-searchbox{display:none!important;}body.admin-shell .filter-toolbar{grid-template-columns:1fr 1fr!important;}body.admin-shell .filter-toolbar .btn{width:100%;}}
@media(max-width:920px){body.admin-shell .period-select,body.admin-shell .admin-avatar-chip{display:none!important;}body.admin-shell .crud-grid{grid-template-columns:1fr!important;}body.admin-shell .crud-form{position:static!important;}body.admin-shell .form-grid{grid-template-columns:1fr!important;}}
@media(max-width:760px){body.admin-shell .admin-sidebar-pro{width:min(320px,88vw)!important;min-width:0!important;max-width:none!important;transform:translateX(-105%)!important;transition:transform .24s ease!important;box-shadow:22px 0 60px rgba(2,6,23,.28)!important;z-index:70!important;}body.admin-shell.sidebar-open .admin-sidebar-pro{transform:translateX(0)!important;}body.admin-shell.sidebar-open .admin-backdrop{display:block!important;z-index:65!important;}body.admin-shell .sidebar-close{display:grid!important;place-items:center!important;}body.admin-shell .admin-main-pro{width:100%!important;margin-left:0!important;padding:10px!important;}body.admin-shell .admin-topbar{top:8px!important;border-radius:18px!important;flex-direction:column;align-items:stretch!important;}body.admin-shell .topbar-left,body.admin-shell .topbar-actions{width:100%;justify-content:space-between;flex-wrap:wrap;}body.admin-shell .filter-toolbar{grid-template-columns:1fr!important;}body.admin-shell .section-heading{display:grid!important;}body.admin-shell .section-heading>div:last-child{justify-content:stretch!important;}body.admin-shell .section-heading .btn{width:100%;}body.admin-shell .data-table{min-width:720px!important;}body.admin-shell.sidebar-collapsed .admin-main-pro{width:100%!important;margin-left:0!important;}body.admin-shell.sidebar-collapsed .admin-sidebar-pro{width:min(320px,88vw)!important;min-width:0!important;max-width:none!important;}body.admin-shell.sidebar-collapsed .admin-sidebar-pro .brand-text,body.admin-shell.sidebar-collapsed .admin-role-card div,body.admin-shell.sidebar-collapsed .admin-help-card,body.admin-shell.sidebar-collapsed .admin-nav-flat a span{display:block!important;}body.admin-shell.sidebar-collapsed .admin-nav-flat a{justify-content:flex-start!important;}}

/* Home revision: two-column latest/popular panels + database testimonials */
.home-duo-section .section-heading h2,.testimonial-section-pro .section-heading h2{margin-top:10px;font-size:clamp(24px,3vw,36px);}
.home-duo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;}
.home-list-panel{padding:22px;border-radius:26px;position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(239,246,255,.74));border:1px solid rgba(37,99,235,.12);box-shadow:0 24px 60px rgba(15,23,42,.08);}
.theme-dark .home-list-panel{background:linear-gradient(180deg,rgba(15,27,43,.96),rgba(11,31,58,.88));border-color:rgba(96,165,250,.16);}
.home-list-panel:before{content:"";position:absolute;right:-70px;top:-80px;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.16),rgba(37,99,235,0) 70%);pointer-events:none;}
.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;position:relative;z-index:1;}
.panel-title-row h3{margin:2px 0 0;font-size:22px;line-height:1.1;font-weight:950;letter-spacing:-.035em;color:var(--text);}
.panel-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--blue);font-weight:950;}
.mini-link{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 11px;border-radius:999px;background:rgba(37,99,235,.09);border:1px solid rgba(37,99,235,.14);color:var(--blue);font-size:12px;font-weight:900;}
.home-collection-list,.download-list-pro{display:grid;gap:10px;position:relative;z-index:1;}
.home-mini-card{display:grid;grid-template-columns:50px minmax(0,1fr) 30px;gap:12px;align-items:center;padding:11px;border-radius:18px;background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.18);color:var(--text);transition:.22s ease;min-width:0;}
.theme-dark .home-mini-card{background:rgba(15,27,43,.72);border-color:rgba(148,163,184,.16);}
.home-mini-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(15,23,42,.09);border-color:rgba(37,99,235,.24);}
.mini-book-cover{width:50px;height:64px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:950;box-shadow:0 12px 24px rgba(15,23,42,.14);position:relative;overflow:hidden;}
.mini-book-cover:after{content:"";position:absolute;right:-16px;bottom:-20px;width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.15);}
.mini-book-cover span{position:relative;z-index:1;}
.home-mini-copy{min-width:0;display:grid;gap:2px;}
.home-mini-copy strong{display:block;font-size:14px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text);}
.home-mini-copy span{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.home-mini-copy small{display:flex;align-items:center;gap:5px;color:#059669;font-weight:850;font-size:11px;min-width:0;}
.home-mini-copy small .ti{--ti-size:1rem;flex:0 0 auto;}
.mini-go{display:grid;place-items:center;width:30px;height:30px;border-radius:12px;background:rgba(37,99,235,.08);color:var(--blue);}
.download-rank-card{display:grid;grid-template-columns:38px 46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border-radius:18px;background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.18);color:var(--text);transition:.22s ease;min-width:0;}
.theme-dark .download-rank-card{background:rgba(15,27,43,.72);border-color:rgba(148,163,184,.16);}
.download-rank-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(15,23,42,.09);}
.download-rank{font-weight:950;color:var(--muted);font-size:13px;}
.download-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:rgba(37,99,235,.10);color:var(--blue);}
.download-icon .ti{--ti-size:1.45rem;}
.download-copy{display:grid;gap:2px;min-width:0;}
.download-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.2;}
.download-copy small{color:var(--muted);font-size:12px;}
.download-rank-card b{padding:7px 10px;border-radius:999px;background:var(--surface-2);color:var(--blue);font-size:12px;}
.download-rank-card.tone-teal .download-icon{background:rgba(20,184,166,.13);color:#0f766e;}.download-rank-card.tone-teal b{color:#0f766e;}
.download-rank-card.tone-purple .download-icon{background:rgba(124,58,237,.12);color:#7c3aed;}.download-rank-card.tone-purple b{color:#7c3aed;}
.download-rank-card.tone-amber .download-icon{background:rgba(245,158,11,.15);color:#d97706;}.download-rank-card.tone-amber b{color:#d97706;}
.testimonial-section-pro{padding-top:28px;}
.testimonial-grid-pro{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.testimonial-card-pro{position:relative;min-height:245px;padding:24px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(239,246,255,.72));border:1px solid rgba(37,99,235,.12);box-shadow:0 24px 60px rgba(15,23,42,.08);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;}
.theme-dark .testimonial-card-pro{background:linear-gradient(180deg,rgba(15,27,43,.96),rgba(11,31,58,.88));border-color:rgba(96,165,250,.16);}
.testimonial-card-pro:before{content:"";position:absolute;right:-52px;top:-55px;width:150px;height:150px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.16),rgba(37,99,235,0) 72%);}
.quote-mark{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),#0ea5e9);color:#fff;font-size:38px;line-height:1;font-family:Georgia,serif;box-shadow:0 15px 30px rgba(37,99,235,.22);position:relative;z-index:1;}
.testimonial-card-pro p{margin:16px 0 22px;color:var(--muted);font-size:14px;line-height:1.72;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;position:relative;z-index:1;}
.testimonial-user-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;position:relative;z-index:1;}
.testimonial-user-row img{width:52px;height:52px;border-radius:18px;object-fit:cover;border:3px solid rgba(255,255,255,.82);box-shadow:0 12px 28px rgba(15,23,42,.12);background:var(--surface-2);}
.testimonial-user-row strong{display:block;color:var(--text);font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.testimonial-user-row span:not(.rating-stars){display:block;color:var(--muted);font-size:12px;font-weight:800;}
.rating-stars{grid-column:1/-1;display:flex;gap:3px;color:#f59e0b;margin-top:8px;}
.rating-stars .ti{--ti-size:1rem;}
.testimonial-empty{display:flex;align-items:center;gap:16px;padding:22px;border-radius:24px;}
.testimonial-empty>span{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:rgba(37,99,235,.1);color:var(--blue);flex:0 0 auto;}
.testimonial-empty h3{margin:0 0 4px;font-size:20px}.testimonial-empty p{margin:0;color:var(--muted)}
@media(max-width:1100px){.home-duo-grid,.testimonial-grid-pro{grid-template-columns:1fr 1fr;}}
@media(max-width:720px){.home-duo-grid,.testimonial-grid-pro{grid-template-columns:1fr;}.download-rank-card{grid-template-columns:34px 42px minmax(0,1fr);}.download-rank-card b{grid-column:2/-1;justify-self:start}.testimonial-card-pro{min-height:auto}.home-duo-section .section-heading h2,.testimonial-section-pro .section-heading h2{font-size:25px;}}

/* Frontend DB-driven clickable collection polish */
.collection-card .collection-cover-link{display:block;color:inherit;text-decoration:none}.collection-body h3 a{color:inherit;text-decoration:none}.collection-body h3 a:hover{color:var(--blue)}.book-cover-img{background:linear-gradient(135deg,#eff6ff,#dbeafe);padding:0;display:block}.book-cover-img:before,.book-cover-img:after{display:none}.book-cover-img img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.book-cover-img.cover-error{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e40af,#0891b2)}.book-cover-img.cover-error:before{content:"Koleksi";display:block;color:#fff;font-weight:900}.mini-book-cover-img{width:50px;height:64px;border-radius:13px;object-fit:cover;box-shadow:0 12px 24px rgba(15,23,42,.14);flex:0 0 auto}.inline-pinjam-form{display:inline-flex;margin:0}.inline-pinjam-form .btn{white-space:nowrap}.filter-panel form{display:grid;gap:13px}.filter-actions{display:flex;gap:10px;flex-wrap:wrap}.filter-actions .btn{flex:1}.breadcrumb-soft a{color:inherit;text-decoration:none}.breadcrumb-soft a:hover{color:var(--blue)}.tab-head a[href],.detail-side a[href],.journal-highlight{text-decoration:none;color:inherit}.journal-highlight{display:block}.article-card h3 a{color:inherit;text-decoration:none}.article-icon{text-decoration:none}.indexing-card a{padding:7px 10px;border-radius:999px;background:rgba(20,184,166,.13);color:var(--teal);font-weight:900;text-decoration:none}.catalog-visual .catalog-stack-card{color:var(--text);text-decoration:none}.guide-card a{font-weight:900;color:var(--blue);text-decoration:none}.pagination-pro a[href]{text-decoration:none;color:var(--text)}.pagination-pro a.active{color:#fff}.home-mini-card .mini-book-cover-img{width:50px;height:64px}.download-rank-card{text-decoration:none}.detail-copy .tag-row a.chip{text-decoration:none}
.service-card{text-decoration:none;color:inherit}.service-card:hover{transform:translateY(-2px);color:inherit}

/* Skripsi page: preserve the existing hero geometry and add contextual photography. */
body.frontend-shell .thesis-showcase-hero{
  position:relative;
  isolation:isolate;
}
body.frontend-shell .thesis-showcase-hero::before{
  content:none;
}
body.frontend-shell .catalog-showcase-hero.thesis-showcase-hero .showcase-copy{
  color:#fff;
  background-image:
    linear-gradient(90deg,rgba(3,15,39,.97) 0%,rgba(8,42,105,.88) 58%,rgba(15,70,158,.60) 100%),
    url('../../frontend/images/hero-slides/slide-04.webp')!important;
  background-size:cover;
  background-position:72% center;
  background-color:#071d4a;
  border-color:rgba(191,219,254,.24);
  box-shadow:none;
}
body.frontend-shell.theme-dark .catalog-showcase-hero.thesis-showcase-hero .showcase-copy{
  background-image:
    linear-gradient(90deg,rgba(3,15,39,.97) 0%,rgba(8,42,105,.88) 58%,rgba(15,70,158,.60) 100%),
    url('../../frontend/images/hero-slides/slide-04.webp')!important;
}
body.frontend-shell .catalog-showcase-hero.thesis-showcase-hero .showcase-copy h1{color:#fff;text-wrap:balance;}
body.frontend-shell .catalog-showcase-hero.thesis-showcase-hero .showcase-copy p{color:rgba(239,246,255,.88);}
body.frontend-shell .thesis-showcase-hero .eyebrow{
  color:#dbeafe;
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}
body.frontend-shell .thesis-showcase-hero .popular-chips>span{color:#dbeafe;}
body.frontend-shell .thesis-showcase-hero .popular-chips a{
  color:#eff6ff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}
body.frontend-shell .catalog-showcase-hero.thesis-showcase-hero .showcase-visual{
  background-image:linear-gradient(135deg,#0b2d78 0%,#1557c8 100%)!important;
  background-color:#0b2d78;
  border-color:rgba(191,219,254,.24);
}

/* Repository page: preserve the original split hero and restore photography. */
body.frontend-shell .catalog-showcase-hero.repository-showcase-hero .showcase-copy{
  color:#fff;
  background-image:
    linear-gradient(90deg,rgba(3,15,39,.98) 0%,rgba(7,33,83,.91) 55%,rgba(15,70,158,.62) 100%),
    url('../../frontend/images/hero-slides/slide-06.webp')!important;
  background-size:cover;
  background-position:center;
  background-color:#071d4a;
  border-color:rgba(191,219,254,.24);
  box-shadow:none;
}
body.frontend-shell.theme-dark .catalog-showcase-hero.repository-showcase-hero .showcase-copy{
  background-image:
    linear-gradient(90deg,rgba(3,15,39,.98) 0%,rgba(7,33,83,.91) 55%,rgba(15,70,158,.62) 100%),
    url('../../frontend/images/hero-slides/slide-06.webp')!important;
}
body.frontend-shell .repository-showcase-hero .showcase-copy h1{color:#fff;text-wrap:balance;}
body.frontend-shell .repository-showcase-hero .showcase-copy p{color:rgba(239,246,255,.90);}
body.frontend-shell .repository-showcase-hero .eyebrow{
  color:#dbeafe;
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}
body.frontend-shell .repository-showcase-hero .popular-chips>span{color:#dbeafe;}
body.frontend-shell .repository-showcase-hero .popular-chips a{
  color:#eff6ff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}

body.frontend-shell .thesis-results .result-toolbar>strong{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
body.frontend-shell .thesis-results .result-toolbar>strong .ti{color:var(--blue);}
body.frontend-shell .thesis-tags span{display:inline-flex;align-items:center;gap:5px;}
body.frontend-shell .thesis-tags .ti{--ti-size:.9rem;width:.9rem;height:.9rem;color:var(--blue);}
body.frontend-shell .thesis-meta{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;}
body.frontend-shell .thesis-meta span{display:inline-flex;align-items:center;gap:5px;}
body.frontend-shell .thesis-meta .ti{--ti-size:.9rem;width:.9rem;height:.9rem;color:var(--blue);}

body.frontend-shell .thesis-cta-section{margin-top:34px;}
body.frontend-shell .thesis-cta-card{
  position:relative;
  isolation:isolate;
  min-height:270px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:clamp(30px,5vw,56px);
  border-radius:28px;
  overflow:hidden;
  color:#fff;
  box-shadow:0 8px 24px rgba(15,65,145,.18);
}
body.frontend-shell .thesis-cta-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:url('../../frontend/images/hero-slides/slide-03.webp') 68% center/cover no-repeat;
  transform:scale(1.015);
  transition:transform 700ms cubic-bezier(.16,1,.3,1);
}
body.frontend-shell .thesis-cta-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(3,15,39,.97) 0%,rgba(8,45,111,.89) 52%,rgba(15,70,158,.62) 100%);
}
body.frontend-shell .thesis-cta-copy{
  display:flex;
  align-items:flex-start;
  gap:18px;
  max-width:690px;
}
body.frontend-shell .thesis-cta-icon{
  width:58px;
  height:58px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#dbeafe;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}
body.frontend-shell .thesis-cta-icon .ti{margin:0;}
body.frontend-shell .thesis-cta-copy h2{
  margin:0 0 10px;
  max-width:620px;
  color:#fff;
  font-size:clamp(25px,3.2vw,38px);
  line-height:1.12;
  letter-spacing:-.035em;
  text-wrap:balance;
}
body.frontend-shell .thesis-cta-copy p{
  max-width:620px;
  margin:0;
  color:rgba(239,246,255,.86);
  line-height:1.7;
}
body.frontend-shell .thesis-cta-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:0 0 auto;
}
body.frontend-shell .thesis-cta-actions .btn{
  min-width:210px;
  min-height:48px;
  justify-content:center;
  white-space:nowrap;
}
body.frontend-shell .thesis-cta-primary{background:#eff6ff;color:#0b3374;border-color:#eff6ff;}
body.frontend-shell .thesis-cta-primary:hover{background:#dbeafe;color:#08275d;border-color:#dbeafe;}
body.frontend-shell .thesis-cta-secondary{background:rgba(5,28,78,.34);color:#fff;border-color:rgba(255,255,255,.42);}
body.frontend-shell .thesis-cta-secondary:hover{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.68);}
@media (hover:hover) and (pointer:fine){
  body.frontend-shell .thesis-cta-card:hover::before{transform:scale(1.045);}
}
@media (max-width:760px){
  body.frontend-shell .thesis-cta-card{align-items:flex-start;flex-direction:column;gap:24px;}
  body.frontend-shell .thesis-cta-copy{display:grid;gap:14px;}
  body.frontend-shell .thesis-cta-actions{width:100%;}
  body.frontend-shell .thesis-cta-actions .btn{width:100%;min-width:0;}
}
@media (max-width:480px){
  body.frontend-shell .thesis-cta-card{border-radius:22px;padding:28px 22px;}
}
@media (prefers-reduced-motion:reduce){
  body.frontend-shell .thesis-cta-card::before{transition:none;transform:none;}
}

/* Jurnal page: photography is scoped to the left copy panel only. */
body.frontend-shell .catalog-showcase-hero.journal-showcase-hero .showcase-copy{
  color:#fff;
  background-image:
    linear-gradient(90deg,rgba(3,15,39,.97) 0%,rgba(8,42,105,.88) 58%,rgba(15,70,158,.60) 100%),
    url('../../frontend/images/hero-slides/slide-07.webp')!important;
  background-size:cover;
  background-position:76% center;
  background-color:#071d4a;
  border-color:rgba(191,219,254,.24);
  box-shadow:none;
}
body.frontend-shell.theme-dark .catalog-showcase-hero.journal-showcase-hero .showcase-copy{
  background-image:
    linear-gradient(90deg,rgba(3,15,39,.97) 0%,rgba(8,42,105,.88) 58%,rgba(15,70,158,.60) 100%),
    url('../../frontend/images/hero-slides/slide-07.webp')!important;
}
body.frontend-shell .catalog-showcase-hero.journal-showcase-hero .showcase-copy h1{color:#fff;text-wrap:balance;}
body.frontend-shell .catalog-showcase-hero.journal-showcase-hero .showcase-copy p{color:rgba(239,246,255,.88);}
body.frontend-shell .journal-showcase-hero .eyebrow{
  color:#dbeafe;
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}
body.frontend-shell .journal-showcase-hero .popular-chips>span{color:#dbeafe;}
body.frontend-shell .journal-showcase-hero .popular-chips a{
  color:#eff6ff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}
body.frontend-shell .catalog-showcase-hero.journal-showcase-hero .showcase-visual{
  background-image:linear-gradient(135deg,#0b2d78 0%,#1557c8 100%)!important;
  background-color:#0b2d78;
  border-color:rgba(191,219,254,.24);
}

body.frontend-shell .journal-section-heading h2,
body.frontend-shell .journal-entry-meta,
body.frontend-shell .journal-side .indexing-card>b{
  display:flex;
  align-items:center;
}
body.frontend-shell .journal-section-heading h2{gap:9px;}
body.frontend-shell .journal-section-heading h2 .ti{color:var(--blue);}
body.frontend-shell .journal-entry-meta{gap:8px 12px;flex-wrap:wrap;}
body.frontend-shell .journal-entry-meta span{display:inline-flex;align-items:center;gap:5px;}
body.frontend-shell .journal-entry-meta .ti{--ti-size:.9rem;width:.9rem;height:.9rem;color:var(--blue);}
body.frontend-shell .journal-side .indexing-card>b{gap:7px;}
body.frontend-shell .journal-side .indexing-card>b .ti{color:var(--blue);}

/* Journal detail and public PDF reader */
body.frontend-shell .journal-empty-state{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:22px;
}
body.frontend-shell .journal-empty-state>.ti{color:var(--blue);}
body.frontend-shell .journal-empty-state h3{margin:0 0 4px;color:var(--text);font-size:18px;}
body.frontend-shell .journal-empty-state p{margin:0;color:var(--muted);}
body.frontend-shell .journal-detail-page{
  display:grid;
  gap:30px;
  padding-top:28px;
  padding-bottom:64px;
}
body.frontend-shell .journal-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  color:var(--muted);
  font-size:14px;
  font-weight:750;
}
body.frontend-shell .journal-breadcrumb a{color:var(--blue);text-decoration:none;}
body.frontend-shell .journal-breadcrumb .ti{--ti-size:.9rem;width:.9rem;height:.9rem;}
body.frontend-shell .journal-detail-alert{
  display:flex;
  align-items:center;
  gap:9px;
  padding:13px 16px;
  border-radius:14px;
  color:#0b3374;
  background:#eaf3ff;
  font-weight:800;
}
body.frontend-shell .journal-detail-hero{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);
  min-height:510px;
  overflow:hidden;
  border-radius:28px;
  background:#071d4a;
  color:#fff;
}
body.frontend-shell .journal-detail-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(34px,6vw,72px);
  background:linear-gradient(135deg,#061735 0%,#0b3374 100%);
}
body.frontend-shell .journal-detail-type{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border-radius:999px;
  color:#dbeafe;
  background:rgba(255,255,255,.10);
  font-weight:850;
}
body.frontend-shell .journal-detail-copy h1{
  max-width:760px;
  margin:22px 0 16px;
  color:#fff;
  font-size:clamp(34px,5vw,62px);
  line-height:1.02;
  letter-spacing:-.04em;
  text-wrap:balance;
}
body.frontend-shell .journal-detail-lead{
  max-width:68ch;
  margin:0;
  color:rgba(239,246,255,.84);
  font-size:16px;
  line-height:1.72;
  text-wrap:pretty;
}
body.frontend-shell .journal-author-line{
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:25px;
}
body.frontend-shell .journal-author-line>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#dbeafe;
  background:rgba(255,255,255,.11);
}
body.frontend-shell .journal-author-line small,
body.frontend-shell .journal-author-line strong{display:block;}
body.frontend-shell .journal-author-line small{color:#9fc5ff;font-size:11px;font-weight:800;}
body.frontend-shell .journal-author-line strong{margin-top:2px;color:#fff;font-size:14px;}
body.frontend-shell .journal-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px;}
body.frontend-shell .journal-detail-actions .btn{min-height:48px;padding-inline:20px;white-space:nowrap;}
body.frontend-shell .journal-detail-actions .btn-light{color:#0b3374;background:#fff;border-color:#fff;}
body.frontend-shell .journal-detail-visual{
  position:relative;
  display:grid;
  place-items:center;
  padding:36px;
  background:
    linear-gradient(rgba(4,23,58,.42),rgba(4,23,58,.74)),
    url('../../frontend/images/hero-slides/slide-07.webp') 62% center/cover no-repeat;
}
body.frontend-shell .journal-paper-preview{
  width:min(245px,82%);
  aspect-ratio:.72;
  display:flex;
  flex-direction:column;
  padding:30px 26px;
  color:#10213d;
  background:#fff;
  border-radius:10px;
  transform:rotate(2.5deg);
  box-shadow:0 8px 0 rgba(3,15,39,.18);
  transition:transform 450ms cubic-bezier(.16,1,.3,1);
}
body.frontend-shell .journal-paper-preview>span{color:var(--blue);font-size:11px;font-weight:900;letter-spacing:.08em;}
body.frontend-shell .journal-paper-preview>strong{margin:22px 0 32px;font-size:42px;line-height:1;color:#0b3374;}
body.frontend-shell .journal-paper-preview>i{height:6px;margin-bottom:10px;border-radius:4px;background:#dbeafe;}
body.frontend-shell .journal-paper-preview>i:nth-of-type(2){width:84%;}
body.frontend-shell .journal-paper-preview>i:nth-of-type(3){width:92%;}
body.frontend-shell .journal-paper-preview>i:nth-of-type(4){width:62%;}
body.frontend-shell .journal-paper-preview>small{margin-top:auto;color:#52627a;font-weight:800;}
body.frontend-shell .journal-file-status{
  position:absolute;
  right:20px;
  bottom:20px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:10px 13px;
  border-radius:999px;
  color:#fff;
  background:rgba(3,15,39,.78);
  font-size:12px;
  font-weight:850;
}
body.frontend-shell .journal-file-status.is-ready .ti{color:#86efac;}
@media (hover:hover) and (pointer:fine){
  body.frontend-shell .journal-detail-visual:hover .journal-paper-preview{transform:rotate(0deg) translateY(-5px);}
}
body.frontend-shell .journal-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:44px;
  align-items:start;
}
body.frontend-shell .journal-abstract-section{padding:18px 0;}
body.frontend-shell .journal-detail-section-heading{
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin-bottom:18px;
}
body.frontend-shell .journal-detail-section-heading>span{
  width:46px;
  height:46px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:var(--blue);
  background:#eaf3ff;
}
body.frontend-shell .journal-detail-section-heading h2{margin:0;color:var(--text);font-size:clamp(24px,3vw,32px);letter-spacing:-.03em;}
body.frontend-shell .journal-detail-section-heading p{margin:4px 0 0;color:var(--muted);}
body.frontend-shell .journal-abstract-section>p{max-width:74ch;margin:0;color:var(--text);font-size:17px;line-height:1.82;text-wrap:pretty;}
body.frontend-shell .journal-keyword-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px;}
body.frontend-shell .journal-keyword-row span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border-radius:999px;
  color:#184a91;
  background:#eef5ff;
  font-size:12px;
  font-weight:850;
}
body.frontend-shell .journal-metadata-panel{
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
}
body.frontend-shell .journal-detail-section-heading.compact{margin-bottom:12px;}
body.frontend-shell .journal-detail-section-heading.compact h2{font-size:21px;}
body.frontend-shell .journal-metadata-panel dl{margin:0;}
body.frontend-shell .journal-metadata-panel dl>div{
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:12px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
}
body.frontend-shell .journal-metadata-panel dl>div:last-child{border-bottom:0;padding-bottom:0;}
body.frontend-shell .journal-metadata-panel dt{color:var(--muted);font-size:12px;font-weight:800;}
body.frontend-shell .journal-metadata-panel dd{margin:0;color:var(--text);font-size:13px;font-weight:850;overflow-wrap:anywhere;}
body.frontend-shell .journal-related-section{display:grid;gap:5px;padding-top:4px;}
body.frontend-shell .journal-related-list{display:grid;gap:8px;}
body.frontend-shell .journal-related-list>a{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  padding:14px 0;
  color:var(--text);
  text-decoration:none;
  border-bottom:1px solid var(--line);
}
body.frontend-shell .journal-related-list>a>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:var(--blue);background:#eef5ff;}
body.frontend-shell .journal-related-list strong,body.frontend-shell .journal-related-list small{display:block;}
body.frontend-shell .journal-related-list small{margin-top:4px;color:var(--muted);}
body.frontend-shell .journal-related-list>a>.ti{color:var(--blue);transition:transform 220ms ease;}
body.frontend-shell .journal-related-list>a:hover>.ti{transform:translateX(4px);}

body.frontend-shell .journal-reader-page{
  min-height:100dvh;
  padding:28px 0 56px;
  background:linear-gradient(180deg,#f5f9ff 0%,#eaf3ff 100%);
}
body.frontend-shell .journal-reader-heading{display:grid;gap:18px;margin-bottom:22px;}
body.frontend-shell .journal-reader-back{display:inline-flex;align-items:center;gap:8px;justify-self:start;color:#184a91;text-decoration:none;font-weight:850;}
body.frontend-shell .journal-reader-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;}
body.frontend-shell .journal-reader-title-row>div:first-child{min-width:0;}
body.frontend-shell .journal-reader-title-row span{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:13px;font-weight:900;}
body.frontend-shell .journal-reader-title-row h1{max-width:900px;margin:9px 0 7px;color:#071d4a;font-size:clamp(26px,3.4vw,42px);line-height:1.08;letter-spacing:-.035em;text-wrap:balance;}
body.frontend-shell .journal-reader-title-row p{margin:0;color:#52627a;font-weight:750;}
body.frontend-shell .journal-reader-primary-actions{display:flex;gap:9px;flex:0 0 auto;}
body.frontend-shell .journal-reader-primary-actions .btn{min-height:44px;white-space:nowrap;}
body.frontend-shell .journal-reader-shell{
  overflow:hidden;
  border-radius:18px;
  background:#071325;
  box-shadow:0 8px 18px rgba(7,29,74,.16);
}
body.frontend-shell .journal-reader-toolbar{
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:11px 16px;
  color:#dbeafe;
  background:#0a1a30;
  border-bottom:1px solid rgba(191,219,254,.14);
}
body.frontend-shell .journal-reader-status{display:flex;align-items:center;gap:9px;min-width:0;}
body.frontend-shell .journal-reader-status>span{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.13);}
body.frontend-shell .journal-reader-status strong{color:#fff;font-size:13px;}
body.frontend-shell .journal-reader-status small{color:#8fb2e8;font-size:11px;}
body.frontend-shell .journal-reader-toolbar>div:last-child{display:flex;align-items:center;gap:7px;}
body.frontend-shell .journal-reader-toolbar a{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;color:#dbeafe;text-decoration:none;font-size:12px;font-weight:850;background:rgba(255,255,255,.07);}
body.frontend-shell .journal-reader-stage{position:relative;min-height:720px;background:#172033;}
body.frontend-shell .journal-reader-stage iframe{position:relative;z-index:1;display:block;width:100%;height:78vh;min-height:720px;border:0;background:#eef2f7;}
body.frontend-shell .journal-reader-fallback{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:9px;padding:28px;text-align:center;color:#dbeafe;}
body.frontend-shell .journal-reader-fallback h2{margin:4px 0 0;color:#fff;font-size:24px;}
body.frontend-shell .journal-reader-fallback p{margin:0 0 8px;color:#9fb4d1;}
body.frontend-shell .journal-reader-note{display:flex;align-items:flex-start;gap:10px;margin-top:18px;color:#405675;}
body.frontend-shell .journal-reader-note .ti{color:var(--blue);margin-top:2px;}
body.frontend-shell .journal-reader-note p{margin:0;font-size:13px;line-height:1.6;}
body.journal-reader-focus-open{overflow:hidden;}
body.frontend-shell .journal-reader-page.is-focus-mode{
  position:fixed;
  inset:0;
  z-index:110;
  overflow:auto;
  padding:14px 0;
}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-back,
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-title-row>div:first-child,
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-note{display:none;}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-heading{margin-bottom:10px;}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-title-row{justify-content:flex-end;}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-shell{width:calc(100% - 28px);max-width:none;}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-stage iframe{height:calc(100dvh - 104px);min-height:0;}
body.frontend-shell.theme-dark .journal-reader-page{background:linear-gradient(180deg,#071325,#0a1a30);}
body.frontend-shell.theme-dark .journal-reader-title-row h1{color:#eff6ff;}
body.frontend-shell.theme-dark .journal-reader-title-row p,
body.frontend-shell.theme-dark .journal-reader-note{color:#9fb4d1;}
body.frontend-shell.theme-dark .journal-reader-back{color:#93c5fd;}
body.frontend-shell.theme-dark .journal-detail-section-heading>span,
body.frontend-shell.theme-dark .journal-related-list>a>span{background:rgba(37,99,235,.14);}
body.frontend-shell.theme-dark .journal-keyword-row span{color:#bfdbfe;background:rgba(37,99,235,.14);}
body.frontend-shell.theme-dark .journal-detail-alert{color:#bfdbfe;background:rgba(37,99,235,.14);}
@media (max-width:920px){
  body.frontend-shell .journal-detail-hero{grid-template-columns:1fr;}
  body.frontend-shell .journal-detail-visual{min-height:390px;}
  body.frontend-shell .journal-detail-grid{grid-template-columns:1fr;gap:20px;}
  body.frontend-shell .journal-reader-title-row{display:grid;align-items:start;}
  body.frontend-shell .journal-reader-primary-actions{justify-content:flex-start;}
}
@media (max-width:640px){
  body.frontend-shell .journal-empty-state{grid-template-columns:auto minmax(0,1fr);}
  body.frontend-shell .journal-empty-state .btn{grid-column:1/-1;width:100%;}
  body.frontend-shell .journal-detail-page{gap:20px;padding-top:18px;padding-bottom:44px;}
  body.frontend-shell .journal-detail-hero{min-height:0;border-radius:22px;}
  body.frontend-shell .journal-detail-copy{padding:30px 22px;}
  body.frontend-shell .journal-detail-copy h1{font-size:34px;}
  body.frontend-shell .journal-detail-actions{display:grid;}
  body.frontend-shell .journal-detail-actions .btn{width:100%;}
  body.frontend-shell .journal-detail-visual{min-height:330px;padding:28px;}
  body.frontend-shell .journal-metadata-panel{padding:20px;}
  body.frontend-shell .journal-metadata-panel dl>div{grid-template-columns:78px minmax(0,1fr);}
  body.frontend-shell .journal-reader-page{padding:18px 0 38px;}
  body.frontend-shell .journal-reader-title-row h1{font-size:28px;}
  body.frontend-shell .journal-reader-primary-actions{display:grid;width:100%;}
  body.frontend-shell .journal-reader-primary-actions{grid-template-columns:minmax(0,1fr);grid-auto-flow:row;justify-content:stretch;justify-self:stretch;align-items:stretch;}
  body.frontend-shell .journal-reader-primary-actions .btn{width:100%;max-width:none!important;}
  body.frontend-shell .journal-reader-shell{width:100%;border-radius:0;}
  body.frontend-shell .journal-reader-toolbar{align-items:flex-start;}
  body.frontend-shell .journal-reader-status{align-items:flex-start;flex-wrap:wrap;}
  body.frontend-shell .journal-reader-status small{width:100%;padding-left:18px;}
  body.frontend-shell .journal-reader-toolbar>div:last-child a{font-size:0;}
  body.frontend-shell .journal-reader-toolbar>div:last-child a .ti{--ti-size:1.1rem;width:1.1rem;height:1.1rem;}
  body.frontend-shell .journal-reader-stage,
  body.frontend-shell .journal-reader-stage iframe{height:68vh;min-height:520px;}
  body.frontend-shell .journal-reader-note{padding-inline:12px;}
  body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-shell{width:100%;}
  body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-stage iframe{height:calc(100dvh - 92px);}
}
@media (prefers-reduced-motion:reduce){
  body.frontend-shell .journal-paper-preview,
  body.frontend-shell .journal-related-list>a>.ti{transition:none;transform:none;}
}

/* Journal reader workspace upgrade: main document, sticky side menu, support columns. */
body.frontend-shell .journal-reader-page{
  --reader-space-xs:8px;
  --reader-space-sm:12px;
  --reader-space-md:16px;
  --reader-space-lg:24px;
  --reader-space-xl:32px;
  --reader-radius:16px;
  padding-bottom:72px;
}
body.frontend-shell .journal-reader-heading{margin-bottom:var(--reader-space-lg);}
body.frontend-shell .journal-reader-title-row{align-items:flex-end;}
body.frontend-shell .journal-reader-title-row h1{max-width:820px;}
body.frontend-shell .journal-reader-meta-strip{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:10px;
  color:#52627a;
}
body.frontend-shell .journal-reader-meta-strip span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:inherit;
  font-size:12px;
  font-weight:800;
}
body.frontend-shell .journal-reader-meta-strip .ti{--ti-size:.95rem;width:.95rem;height:.95rem;color:var(--blue);}
body.frontend-shell .journal-reader-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) 304px;
  gap:var(--reader-space-lg);
  align-items:start;
}
body.frontend-shell .journal-reader-main-column{min-width:0;}
body.frontend-shell .journal-reader-shell{width:100%;border-radius:var(--reader-radius);}
body.frontend-shell .journal-reader-toolbar{min-height:58px;padding:10px var(--reader-space-md);}
body.frontend-shell .journal-reader-toolbar>div:last-child a{
  min-height:38px;
  padding:9px 12px;
  transition:transform 180ms cubic-bezier(.16,1,.3,1),background-color 180ms ease;
}
body.frontend-shell .journal-reader-toolbar>div:last-child a:hover{transform:translateY(-1px);background:rgba(255,255,255,.12);}
body.frontend-shell .journal-reader-toolbar>div:last-child a:active{transform:translateY(1px);}
body.frontend-shell .journal-reader-status small{
  padding:4px 7px;
  border-radius:999px;
  color:#bdd7ff;
  background:rgba(255,255,255,.07);
}
body.frontend-shell .journal-reader-note{
  margin-top:var(--reader-space-sm);
  padding:12px 14px;
  border-radius:12px;
  color:#405675;
  background:rgba(255,255,255,.56);
}
body.frontend-shell .journal-reader-side{
  position:sticky;
  top:92px;
  display:grid;
  gap:var(--reader-space-sm);
}
body.frontend-shell .journal-reader-side-block{
  padding:var(--reader-space-md);
  border:1px solid #d5e4fa;
  border-radius:var(--reader-radius);
  background:rgba(249,251,255,.94);
}
body.frontend-shell .reader-side-heading{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:var(--reader-space-sm);
  align-items:center;
  margin-bottom:var(--reader-space-md);
}
body.frontend-shell .reader-side-heading>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:var(--blue);
  background:#e8f2ff;
}
body.frontend-shell .reader-side-heading h2{margin:0;color:#10213d;font-size:16px;line-height:1.25;letter-spacing:-.02em;}
body.frontend-shell .reader-side-heading p{margin:3px 0 0;color:#62728a;font-size:11px;line-height:1.45;}
body.frontend-shell .reader-side-heading.compact{margin-bottom:10px;}
body.frontend-shell .journal-reader-menu{display:grid;}
body.frontend-shell .journal-reader-menu a{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:8px 0;
  color:#263b5b;
  text-decoration:none;
  border-bottom:1px solid #e4edf9;
}
body.frontend-shell .journal-reader-menu a:last-child{border-bottom:0;padding-bottom:0;}
body.frontend-shell .journal-reader-menu a>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#2563c8;background:#eef5ff;}
body.frontend-shell .journal-reader-menu a strong{font-size:12px;line-height:1.35;}
body.frontend-shell .journal-reader-menu a>.ti{--ti-size:.95rem;width:.95rem;height:.95rem;color:#7691b8;transition:transform 180ms cubic-bezier(.16,1,.3,1),color 180ms ease;}
body.frontend-shell .journal-reader-menu a:hover>.ti{color:var(--blue);transform:translateX(3px);}
body.frontend-shell .journal-reader-menu a:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:3px;border-radius:10px;}
body.frontend-shell .reader-info-block dl{margin:0;}
body.frontend-shell .reader-info-block dl>div{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:10px;
  padding:9px 0;
}
body.frontend-shell .reader-info-block dt{color:#6a7890;font-size:11px;font-weight:800;}
body.frontend-shell .reader-info-block dd{margin:0;color:#1c3152;font-size:11px;font-weight:850;text-align:right;overflow-wrap:anywhere;}
body.frontend-shell .journal-reader-access-note{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-items:start;
  padding:14px;
  border-radius:var(--reader-radius);
  color:#dbeafe;
  background:#0b3374;
}
body.frontend-shell .journal-reader-access-note>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#86efac;background:rgba(255,255,255,.09);}
body.frontend-shell .journal-reader-access-note strong{display:block;color:#fff;font-size:12px;}
body.frontend-shell .journal-reader-access-note p{margin:4px 0 0;color:#bdd7ff;font-size:11px;line-height:1.5;}
body.frontend-shell .journal-reader-support{
  display:grid;
  gap:var(--reader-space-lg);
  margin-top:52px;
}
body.frontend-shell .journal-reader-support-heading{display:grid;gap:8px;max-width:720px;}
body.frontend-shell .journal-reader-support-heading h2{margin:0;color:#071d4a;font-size:30px;line-height:1.15;letter-spacing:-.035em;text-wrap:balance;}
body.frontend-shell .journal-reader-support-heading p{margin:0;color:#52627a;line-height:1.65;text-wrap:pretty;}
body.frontend-shell .journal-reader-support-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(230px,.82fr) minmax(230px,.82fr);
  gap:var(--reader-space-md);
}
body.frontend-shell .reader-support-card{
  min-width:0;
  min-height:230px;
  padding:var(--reader-space-lg);
  border-radius:var(--reader-radius);
  transition:transform 220ms cubic-bezier(.16,1,.3,1);
}
body.frontend-shell .reader-support-card:hover{transform:translateY(-3px);}
body.frontend-shell .reader-support-card h3{margin:0;color:#10213d;font-size:18px;line-height:1.25;letter-spacing:-.02em;}
body.frontend-shell .reader-support-card p{margin:8px 0 0;color:#52627a;font-size:13px;line-height:1.65;}
body.frontend-shell .reader-support-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--blue);background:#e8f2ff;}
body.frontend-shell .citation-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-rows:auto 44px;
  gap:14px;
  border:1px solid #d5e4fa;
  background:rgba(249,251,255,.94);
}
body.frontend-shell .citation-card .reader-copy-button{grid-column:1/-1;}
body.frontend-shell .reader-citation-text{max-width:60ch;color:#304663!important;font-size:14px!important;}
body.frontend-shell .reader-copy-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:44px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:#1557c8;
  font-weight:900;
  transition:transform 180ms cubic-bezier(.16,1,.3,1),background-color 180ms ease;
}
body.frontend-shell .reader-copy-button:hover{transform:translateY(-1px);background:#0f49ad;}
body.frontend-shell .reader-copy-button:active{transform:translateY(1px);}
body.frontend-shell .reader-copy-button.is-copied{background:#137a4b;}
body.frontend-shell .reader-copy-button:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:3px;}
body.frontend-shell .reading-guide-card{color:#dbeafe;background:linear-gradient(145deg,#0b3374,#1557c8);}
body.frontend-shell .reading-guide-card .reader-support-icon{color:#dbeafe;background:rgba(255,255,255,.10);}
body.frontend-shell .reading-guide-card h3{margin-top:18px;color:#fff;}
body.frontend-shell .reader-guide-points{display:grid;gap:10px;margin-top:18px;}
body.frontend-shell .reader-guide-points span{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;color:#e5efff;font-size:12px;font-weight:800;}
body.frontend-shell .reader-guide-points b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#bfdbfe;background:rgba(255,255,255,.09);}
body.frontend-shell .reader-guide-points .ti{--ti-size:.9rem;width:.9rem;height:.9rem;}
body.frontend-shell .reader-help-card{border:1px solid #d5e4fa;background:#eef5ff;}
body.frontend-shell .reader-help-card h3{margin-top:18px;}
body.frontend-shell .reader-help-card>div:last-child{display:grid;gap:8px;margin-top:16px;}
body.frontend-shell .reader-help-card a{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#174a91;text-decoration:none;font-size:12px;font-weight:900;}
body.frontend-shell .reader-help-card a .ti{transition:transform 180ms cubic-bezier(.16,1,.3,1);}
body.frontend-shell .reader-help-card a:hover .ti{transform:translateX(3px);}
body.frontend-shell .journal-reader-related{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:var(--reader-space-lg);
  align-items:start;
  padding-top:var(--reader-space-sm);
}
body.frontend-shell .journal-reader-related h2{margin:0;color:#10213d;font-size:20px;}
body.frontend-shell .journal-reader-related p{margin:5px 0 0;color:#62728a;font-size:12px;line-height:1.5;}
body.frontend-shell .journal-reader-related-links{display:grid;gap:8px;}
body.frontend-shell .journal-reader-related-links a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:9px 12px;border-radius:12px;color:#213857;text-decoration:none;background:rgba(255,255,255,.62);}
body.frontend-shell .journal-reader-related-links a>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--blue);background:#e8f2ff;}
body.frontend-shell .journal-reader-related-links strong{font-size:12px;line-height:1.4;}
body.frontend-shell .journal-reader-related-links a>.ti{color:var(--blue);}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-workspace{display:block;width:calc(100% - 28px);max-width:none;}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-side,
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-support,
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-note{display:none;}
body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-shell{width:100%;}
body.frontend-shell.theme-dark .journal-reader-meta-strip{color:#a8bddc;}
body.frontend-shell.theme-dark .journal-reader-side-block,
body.frontend-shell.theme-dark .citation-card{border-color:rgba(147,197,253,.16);background:#0d1d33;}
body.frontend-shell.theme-dark .reader-side-heading h2,
body.frontend-shell.theme-dark .reader-info-block dd,
body.frontend-shell.theme-dark .reader-support-card h3,
body.frontend-shell.theme-dark .journal-reader-support-heading h2,
body.frontend-shell.theme-dark .journal-reader-related h2{color:#eff6ff;}
body.frontend-shell.theme-dark .reader-side-heading p,
body.frontend-shell.theme-dark .reader-info-block dt,
body.frontend-shell.theme-dark .reader-support-card p,
body.frontend-shell.theme-dark .journal-reader-support-heading p,
body.frontend-shell.theme-dark .journal-reader-related p{color:#9fb4d1;}
body.frontend-shell.theme-dark .reader-side-heading>span,
body.frontend-shell.theme-dark .journal-reader-menu a>span,
body.frontend-shell.theme-dark .reader-support-icon,
body.frontend-shell.theme-dark .journal-reader-related-links a>span{background:rgba(37,99,235,.15);}
body.frontend-shell.theme-dark .journal-reader-menu a{color:#dbeafe;border-color:rgba(147,197,253,.12);}
body.frontend-shell.theme-dark .journal-reader-menu a>.ti{color:#7d9bc5;}
body.frontend-shell.theme-dark .journal-reader-note{color:#b8cae5;background:rgba(255,255,255,.04);}
body.frontend-shell.theme-dark .reader-citation-text{color:#c9d9ee!important;}
body.frontend-shell.theme-dark .reader-help-card{border-color:rgba(147,197,253,.16);background:#11284a;}
body.frontend-shell.theme-dark .reader-help-card a{color:#bfdbfe;}
body.frontend-shell.theme-dark .journal-reader-related-links a{color:#dbeafe;background:rgba(255,255,255,.04);}
@media (max-width:1100px){
  body.frontend-shell .journal-reader-workspace{grid-template-columns:minmax(0,1fr) 270px;gap:var(--reader-space-md);}
  body.frontend-shell .journal-reader-support-grid{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(210px,.8fr));}
}
@media (max-width:920px){
  body.frontend-shell .journal-reader-workspace{grid-template-columns:1fr;}
  body.frontend-shell .journal-reader-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr));}
  body.frontend-shell .journal-reader-access-note{grid-column:1/-1;}
  body.frontend-shell .journal-reader-support-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.frontend-shell .citation-card{grid-column:1/-1;}
  body.frontend-shell .journal-reader-related{grid-template-columns:1fr;}
}
@media (max-width:640px){
  body.frontend-shell .journal-reader-page{padding-bottom:52px;}
  body.frontend-shell .journal-reader-title-row>div:first-child{width:100%;min-width:0;}
  body.frontend-shell .journal-reader-title-row h1{
    max-width:100%;
    font-size:clamp(24px,7.2vw,28px);
    overflow-wrap:break-word;
    word-break:normal;
    text-wrap:wrap;
  }
  body.frontend-shell .journal-reader-meta-strip{display:grid;gap:7px;}
  body.frontend-shell .journal-reader-workspace{width:100%;gap:var(--reader-space-md);}
  body.frontend-shell .journal-reader-toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) 40px;
    align-items:center;
    gap:10px;
  }
  body.frontend-shell .journal-reader-status{
    display:grid;
    grid-template-columns:9px minmax(0,1fr);
    align-items:center;
    gap:5px 8px;
  }
  body.frontend-shell .journal-reader-status>span,
  body.frontend-shell .journal-reader-status strong{grid-row:1;}
  body.frontend-shell .journal-reader-status small{
    grid-column:2;
    width:max-content;
    max-width:100%;
    padding:3px 7px;
  }
  body.frontend-shell .journal-reader-toolbar>div:last-child{width:40px;}
  body.frontend-shell .journal-reader-toolbar>div:last-child a{
    width:40px;
    min-height:40px;
    padding:0;
    justify-content:center;
  }
  body.frontend-shell .journal-reader-main-column>.journal-reader-note{margin-inline:12px;}
  body.frontend-shell .journal-reader-side{grid-template-columns:1fr;width:calc(100% - 24px);margin-inline:auto;}
  body.frontend-shell .journal-reader-access-note{grid-column:auto;}
  body.frontend-shell .journal-reader-support{margin-top:40px;}
  body.frontend-shell .journal-reader-support-heading{gap:6px;}
  body.frontend-shell .journal-reader-support-heading h2{font-size:25px;}
  body.frontend-shell .journal-reader-support-grid{grid-template-columns:1fr;}
  body.frontend-shell .citation-card{grid-column:auto;grid-template-columns:38px minmax(0,1fr);}
  body.frontend-shell .reader-support-card{min-height:0;padding:20px;}
  body.frontend-shell .journal-reader-page.is-focus-mode .journal-reader-workspace{width:100%;}
}
@media (prefers-reduced-motion:reduce){
  body.frontend-shell .reader-support-card,
  body.frontend-shell .journal-reader-menu a>.ti,
  body.frontend-shell .reader-help-card a .ti,
  body.frontend-shell .reader-copy-button,
  body.frontend-shell .journal-reader-toolbar>div:last-child a{transition:none;transform:none;}
}

body.frontend-shell .journal-cta-section{margin-top:34px;}
body.frontend-shell .journal-cta-card{
  position:relative;
  isolation:isolate;
  min-height:270px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:clamp(30px,5vw,56px);
  border-radius:28px;
  overflow:hidden;
  color:#fff;
  box-shadow:0 8px 24px rgba(15,65,145,.18);
}
body.frontend-shell .journal-cta-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:url('../../frontend/images/hero-slides/slide-08.webp') 40% center/cover no-repeat;
  transform:scale(1.015);
  transition:transform 700ms cubic-bezier(.16,1,.3,1);
}
body.frontend-shell .journal-cta-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(3,15,39,.97) 0%,rgba(8,45,111,.89) 52%,rgba(15,70,158,.62) 100%);
}
body.frontend-shell .journal-cta-copy{
  display:flex;
  align-items:flex-start;
  gap:18px;
  max-width:690px;
}
body.frontend-shell .journal-cta-icon{
  width:58px;
  height:58px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#dbeafe;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}
body.frontend-shell .journal-cta-icon .ti{margin:0;}
body.frontend-shell .journal-cta-copy h2{
  margin:0 0 10px;
  max-width:620px;
  color:#fff;
  font-size:clamp(25px,3.2vw,38px);
  line-height:1.12;
  letter-spacing:-.035em;
  text-wrap:balance;
}
body.frontend-shell .journal-cta-copy p{
  max-width:620px;
  margin:0;
  color:rgba(239,246,255,.86);
  line-height:1.7;
}
body.frontend-shell .journal-cta-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:0 0 auto;
}
body.frontend-shell .journal-cta-actions .btn{
  min-width:200px;
  min-height:48px;
  justify-content:center;
  white-space:nowrap;
}
body.frontend-shell .journal-cta-primary{background:#eff6ff;color:#0b3374;border-color:#eff6ff;}
body.frontend-shell .journal-cta-primary:hover{background:#dbeafe;color:#08275d;border-color:#dbeafe;}
body.frontend-shell .journal-cta-secondary{background:rgba(5,28,78,.34);color:#fff;border-color:rgba(255,255,255,.42);}
body.frontend-shell .journal-cta-secondary:hover{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.68);}
@media (hover:hover) and (pointer:fine){
  body.frontend-shell .journal-cta-card:hover::before{transform:scale(1.045);}
}
@media (max-width:760px){
  body.frontend-shell .journal-cta-card{align-items:flex-start;flex-direction:column;gap:24px;}
  body.frontend-shell .journal-cta-copy{display:grid;gap:14px;}
  body.frontend-shell .journal-cta-actions{width:100%;}
  body.frontend-shell .journal-cta-actions .btn{width:100%;min-width:0;}
}
@media (max-width:480px){
  body.frontend-shell .journal-cta-card{border-radius:22px;padding:28px 22px;}
}
@media (prefers-reduced-motion:reduce){
  body.frontend-shell .journal-cta-card::before{transition:none;transform:none;}
}


/* Frontend card/icon polish: fixes broken oversized icons on popular-search/catalog/repository pages */
.catalog-visual{position:relative;min-height:360px;isolation:isolate;}
.catalog-stack-card{color:#fff!important;text-decoration:none;grid-template-rows:auto auto auto;gap:8px;align-content:end;justify-items:start;}
.catalog-stack-card .catalog-stack-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.22);backdrop-filter:blur(8px);color:#fff;position:relative;z-index:1;}
.catalog-stack-card .catalog-stack-icon .ti{--ti-size:1.55rem;width:1.55rem;height:1.55rem;margin:0;}
.catalog-stack-card .ti svg,.thesis-tabs .ti svg,.thesis-icon .ti svg,.repository-icon .ti svg,.repo-badge-icon .ti svg{width:100%;height:100%;display:block;}
.catalog-stack-card b{font-size:26px;line-height:1.05;letter-spacing:-.03em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.catalog-stack-card span:not(.catalog-stack-icon){font-size:13px;font-weight:850;opacity:.9;}
.catalog-stack-card:not(.c1):not(.c2):not(.c3){background:linear-gradient(135deg,#2563eb,#0ea5e9);left:34px;top:54px;}
.catalog-stack-card.c1{background:linear-gradient(135deg,#2563eb,#0f766e);left:34px;top:54px;transform:rotate(-4deg)}
.catalog-stack-card.c2{background:linear-gradient(135deg,#0f172a,#4f46e5);right:34px;top:122px;transform:rotate(5deg)}
.catalog-stack-card.c3{background:linear-gradient(135deg,#f59e0b,#ef4444);left:104px;bottom:48px;transform:rotate(-1deg)}
.book-cover{background-size:cover;background-position:center;}
.book-cover:not(.book-cover-img){min-height:178px;background:linear-gradient(135deg,#1d4ed8,#0ea5e9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);}
.book-cover:not(.book-cover-img)::before{content:"";position:absolute;right:16px;top:16px;width:48px;height:48px;border-radius:16px;background:rgba(255,255,255,.18);box-shadow:0 16px 38px rgba(15,23,42,.14);}
.book-cover:not(.book-cover-img) span{display:inline-flex;align-self:flex-start;max-width:100%;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;padding:7px 10px;font-size:11px;line-height:1;font-weight:950;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.book-cover:not(.book-cover-img) strong{font-size:18px!important;line-height:1.16!important;color:#fff;text-shadow:0 2px 16px rgba(15,23,42,.22);max-width:92%;}
.book-cover-img img{width:100%;height:100%;object-fit:cover;display:block;}
.book-cover.cover-error{background:linear-gradient(135deg,#1d4ed8,#0ea5e9);}
.book-cover.cover-error::before{content:"";position:absolute;right:16px;top:16px;width:48px;height:48px;border-radius:16px;background:rgba(255,255,255,.18);}
.thesis-tabs a{min-height:54px;overflow:hidden;}
.thesis-tabs .thesis-tab-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;background:rgba(37,99,235,.10);color:#2563eb;}
.thesis-tabs a.active .thesis-tab-icon{background:rgba(255,255,255,.22);color:#fff;}
.thesis-tabs .thesis-tab-icon .ti{--ti-size:1.25rem;width:1.25rem;height:1.25rem;margin:0;}
.thesis-tab-icon.purple{background:rgba(124,58,237,.12);color:#7c3aed;}
.thesis-tab-icon.amber{background:rgba(245,158,11,.16);color:#d97706;}
.thesis-tab-icon.green{background:rgba(16,185,129,.14);color:#059669;}
.thesis-icon,.repository-icon,.repo-badge-icon{display:grid;place-items:center;flex:0 0 auto;overflow:hidden;}
.thesis-icon .ti,.repository-icon .ti,.repo-badge-icon .ti{margin:0;}
.thesis-icon.tone-blue,.repository-icon.tone-blue{background:rgba(37,99,235,.11);color:#2563eb;}
.thesis-icon.tone-purple,.repository-icon.tone-purple{background:rgba(124,58,237,.12);color:#7c3aed;}
.thesis-icon.tone-amber,.repository-icon.tone-amber{background:rgba(245,158,11,.16);color:#d97706;}
.repository-layout{align-items:start;}
.repository-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;}
.repository-card{display:grid;gap:12px;min-width:0;transition:.2s;}
.repository-card:hover{transform:translateY(-3px);box-shadow:0 22px 55px rgba(37,99,235,.14);}
.repository-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.repository-icon{width:58px;height:58px;border-radius:18px;}
.repo-badge-icon{width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;margin-bottom:14px;box-shadow:0 18px 42px rgba(37,99,235,.18);}
.repo-badge-icon .ti{--ti-size:2rem;width:2rem;height:2rem;}
.repository-verified-card p{color:var(--muted);font-weight:650;}
.repo-mini-list{display:grid;gap:10px;margin:16px 0;}
.repo-mini-list a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:14px;background:var(--surface-2);color:var(--text);font-weight:900;}
.repo-mini-list .ti{--ti-size:1.15rem;color:var(--blue);}
.repo-type{display:inline-flex;width:max-content;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950;}
.repo-type.tone-blue{background:rgba(37,99,235,.10);color:#2563eb;}
.repo-type.tone-purple{background:rgba(124,58,237,.12);color:#7c3aed;}
.repo-type.tone-amber{background:rgba(245,158,11,.16);color:#d97706;}
.repository-card h3{font-size:17px;line-height:1.3;margin:0;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.repository-card p{color:var(--muted);margin:0;font-size:13px;font-weight:700;}
@media (max-width:760px){.catalog-visual{min-height:300px}.catalog-stack-card{width:180px;min-height:124px}.catalog-stack-card b{font-size:22px}.catalog-stack-card.c1{left:20px;top:38px}.catalog-stack-card.c2{right:16px;top:118px}.catalog-stack-card.c3{left:52px;bottom:34px}.repository-card-grid{grid-template-columns:1fr}}


/* === Frontend login refresh + detail page professional polish === */
body.ep-auth-body{margin:0;min-height:100vh;font-family:"Plus Jakarta Sans","Inter",Arial,sans-serif;background:radial-gradient(circle at top left,rgba(37,99,235,.24),transparent 34%),radial-gradient(circle at bottom right,rgba(14,165,233,.18),transparent 30%),#eef4ff;color:#0f172a;overflow-x:hidden;}
body.ep-auth-body.theme-dark{background:radial-gradient(circle at top left,rgba(96,165,250,.16),transparent 32%),radial-gradient(circle at bottom right,rgba(59,130,246,.16),transparent 30%),#061224;color:#e5eefc;}
.ep-auth-shell{min-height:100vh;display:grid;place-items:center;padding:26px;}
.ep-auth-board{position:relative;width:min(1240px,100%);display:grid;grid-template-columns:1.08fr minmax(360px,.92fr);border-radius:32px;overflow:hidden;background:linear-gradient(135deg,#041329 0%,#071d38 55%,#06172d 100%);border:1px solid rgba(148,163,184,.18);box-shadow:0 38px 90px rgba(2,12,27,.32);}
body.ep-auth-body.theme-light .ep-auth-board{background:linear-gradient(135deg,#dbeafe 0%,#eff6ff 44%,#f8fbff 100%);border-color:rgba(37,99,235,.16);box-shadow:0 24px 65px rgba(37,99,235,.16);}
.ep-auth-board:before{content:"";position:absolute;inset:auto auto 22% 8%;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.34),rgba(37,99,235,0) 70%);filter:blur(18px);pointer-events:none;}
.ep-auth-theme-toggle{position:absolute;top:20px;right:20px;z-index:4;width:44px;height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;backdrop-filter:blur(12px);cursor:pointer;}
body.ep-auth-body.theme-light .ep-auth-theme-toggle{background:rgba(255,255,255,.92);color:#1e40af;border-color:rgba(37,99,235,.12);}
.ep-auth-pane{position:relative;padding:28px 30px;min-width:0;}
.ep-auth-pane-hero{display:grid;grid-template-rows:auto auto minmax(270px,1fr) auto auto;gap:18px;color:#fff;min-height:760px;}
body.ep-auth-body.theme-light .ep-auth-pane-hero{color:#0f172a;}
.ep-auth-brand .brand-lockup{color:inherit;display:inline-flex;align-items:flex-start;gap:12px;}
.ep-auth-brand .brand-mark{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 16px 36px rgba(37,99,235,.28);}
.ep-auth-brand .brand-text{font-size:14px;line-height:1.15;font-weight:900;letter-spacing:-.02em;}
.ep-auth-copy{max-width:440px;padding-top:8px;}
.ep-auth-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);font-size:12px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;}
body.ep-auth-body.theme-light .ep-auth-badge{background:rgba(37,99,235,.08);border-color:rgba(37,99,235,.14);color:#1d4ed8;}
.ep-auth-copy h1{font-size:clamp(36px,4vw,56px);line-height:1.04;letter-spacing:-.05em;font-weight:950;margin:14px 0 16px;}
.ep-auth-copy p{font-size:18px;line-height:1.8;margin:0;max-width:430px;color:rgba(226,232,240,.88);}
body.ep-auth-body.theme-light .ep-auth-copy p{color:#475569;}
.ep-auth-illustration{position:relative;display:grid;place-items:end start;min-height:300px;padding-top:18px;}
.ep-auth-illustration img{width:min(520px,100%);max-height:340px;object-fit:contain;filter:drop-shadow(0 24px 45px rgba(2,12,27,.28));position:relative;z-index:2;}
.ep-auth-lamp{position:absolute;left:58%;top:8px;width:132px;height:132px;border-radius:50%;background:radial-gradient(circle,rgba(251,191,36,.55) 0%,rgba(251,191,36,.20) 26%,rgba(251,191,36,0) 72%);filter:blur(2px);}
.ep-auth-lamp:before{content:"";position:absolute;left:50%;top:-70px;width:2px;height:96px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.48));transform:translateX(-50%);}
.ep-auth-lamp:after{content:"";position:absolute;left:50%;top:36px;width:74px;height:42px;border-radius:999px 999px 26px 26px / 999px 999px 18px 18px;background:linear-gradient(180deg,#0f172a,#1e293b);transform:translateX(-50%);box-shadow:0 18px 34px rgba(2,12,27,.36);}
body.ep-auth-body.theme-light .ep-auth-lamp:after{background:linear-gradient(180deg,#1e293b,#334155);}
.ep-auth-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:8px;}
.ep-auth-benefits article{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);}
body.ep-auth-body.theme-light .ep-auth-benefits article{background:rgba(255,255,255,.72);border-color:rgba(37,99,235,.11);}
.ep-auth-benefits article>span{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#0ea5e9);display:grid;place-items:center;color:#fff;flex:0 0 auto;box-shadow:0 14px 26px rgba(37,99,235,.22);}
.ep-auth-benefits strong{display:block;font-size:14px;line-height:1.24;}
.ep-auth-benefits small{display:block;font-size:12px;line-height:1.55;color:rgba(226,232,240,.82);margin-top:4px;}
body.ep-auth-body.theme-light .ep-auth-benefits small{color:#64748b;}
.ep-auth-copyright{font-size:12px;color:rgba(226,232,240,.68);padding-top:2px;}
body.ep-auth-body.theme-light .ep-auth-copyright{color:#64748b;}
.ep-auth-pane-form{display:grid;place-items:center;background:linear-gradient(180deg,rgba(6,23,45,.72),rgba(6,23,45,.92));}
body.ep-auth-body.theme-light .ep-auth-pane-form{background:linear-gradient(180deg,rgba(255,255,255,.44),rgba(255,255,255,.72));}
.ep-auth-card-pro{width:min(480px,100%);padding:34px;border-radius:28px;background:linear-gradient(180deg,rgba(8,28,52,.92),rgba(5,19,38,.96));border:1px solid rgba(148,163,184,.18);box-shadow:0 26px 64px rgba(2,12,27,.34);backdrop-filter:blur(18px);color:#fff;}
body.ep-auth-body.theme-light .ep-auth-card-pro{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(243,248,255,.96));border-color:rgba(37,99,235,.12);box-shadow:0 22px 52px rgba(37,99,235,.14);color:#0f172a;}
.ep-auth-card-head h2{margin:0 0 6px;font-size:34px;line-height:1.05;letter-spacing:-.04em;font-weight:950;}
.ep-auth-card-head p{margin:0 0 24px;color:rgba(226,232,240,.74);font-size:15px;}
body.ep-auth-body.theme-light .ep-auth-card-head p{color:#64748b;}
.ep-auth-form-grid{display:grid;gap:18px;}
.ep-auth-field{display:grid;gap:8px;}
.ep-auth-field label,.ep-auth-form-meta,.ep-auth-register{margin:0;}
.ep-auth-field label{color:rgba(226,232,240,.9);font-size:13px;font-weight:850;}
body.ep-auth-body.theme-light .ep-auth-field label{color:#334155;}
.ep-auth-input{display:flex;align-items:center;gap:10px;padding:0 14px;border-radius:16px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.04);min-height:56px;}
body.ep-auth-body.theme-light .ep-auth-input{background:#fff;border-color:rgba(148,163,184,.28);}
.ep-auth-input>span:first-child{display:grid;place-items:center;color:#7dd3fc;flex:0 0 auto;}
body.ep-auth-body.theme-light .ep-auth-input>span:first-child{color:#2563eb;}
.ep-auth-input input{margin:0;padding:0;border:0;background:transparent!important;box-shadow:none!important;color:inherit;height:54px;}
.ep-auth-input input::placeholder{color:rgba(148,163,184,.80);}
.ep-auth-input-password{padding-right:10px;}
.ep-auth-pass-toggle{width:38px;height:38px;border-radius:12px;border:0;background:rgba(255,255,255,.06);display:grid;place-items:center;color:#cbd5e1;cursor:pointer;flex:0 0 auto;}
body.ep-auth-body.theme-light .ep-auth-pass-toggle{background:rgba(37,99,235,.08);color:#2563eb;}
.ep-auth-form-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;}
.ep-auth-form-meta a{color:#93c5fd;font-weight:800;}
body.ep-auth-body.theme-light .ep-auth-form-meta a{color:#2563eb;}
.ep-auth-check{display:inline-flex;align-items:center;gap:8px;color:rgba(226,232,240,.76);font-size:13px;font-weight:700;}
body.ep-auth-body.theme-light .ep-auth-check{color:#475569;}
.ep-auth-check input{width:16px;height:16px;margin:0;accent-color:#2563eb;}
.ep-auth-submit{min-height:54px;border-radius:16px;font-size:16px;box-shadow:0 18px 36px rgba(37,99,235,.32);}
.ep-auth-divider{position:relative;text-align:center;color:rgba(226,232,240,.62);font-size:13px;font-weight:700;}
body.ep-auth-body.theme-light .ep-auth-divider{color:#64748b;}
.ep-auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(148,163,184,.18);}
.ep-auth-divider span{position:relative;display:inline-block;padding:0 12px;background:transparent;}
.ep-auth-alt-actions{display:grid;gap:12px;}
.ep-auth-outline-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:16px;border:1px solid rgba(148,163,184,.20);background:transparent;color:inherit;font-weight:850;cursor:pointer;}
.ep-auth-outline-btn:hover{background:rgba(255,255,255,.04);}
body.ep-auth-body.theme-light .ep-auth-outline-btn:hover{background:rgba(37,99,235,.04);}
.google-mark{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#ef4444,#f59e0b,#10b981,#2563eb);color:#fff;font-size:13px;font-weight:900;}
.ep-auth-register{text-align:center;color:rgba(226,232,240,.76);font-size:14px;}
body.ep-auth-body.theme-light .ep-auth-register{color:#64748b;}
.ep-auth-register a{font-weight:900;}
.ep-auth-alert-success{background:#ecfdf5!important;color:#047857!important;border:1px solid #a7f3d0!important;}
@media (max-width:1120px){.ep-auth-board{grid-template-columns:1fr;}.ep-auth-pane-hero{min-height:auto;padding-bottom:12px;}.ep-auth-pane-form{padding-top:0;}.ep-auth-benefits{grid-template-columns:1fr;}.ep-auth-lamp{left:auto;right:12%;}}
@media (max-width:720px){.ep-auth-shell{padding:12px;}.ep-auth-board{border-radius:26px;}.ep-auth-pane{padding:22px 18px;}.ep-auth-card-pro{padding:24px;border-radius:22px;}.ep-auth-card-head h2{font-size:28px;}.ep-auth-copy h1{font-size:34px;}.ep-auth-copy p{font-size:15px;}.ep-auth-form-meta{align-items:flex-start;flex-direction:column;}.ep-auth-benefits article{padding:14px 15px;}.ep-auth-illustration img{max-height:240px;}}

.detail-anchor-block{scroll-margin-top:112px;}
.cta-row-detail,.detail-file-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 18px;}
.cta-row-detail .btn,.detail-file-actions .btn,.cta-row-detail .inline-pinjam-form{flex:1 1 210px;max-width:100%;}
.cta-row-detail .inline-pinjam-form .btn{width:100%;}
.detail-copy h3{margin:8px 0 8px;}
.detail-file-card{margin-top:18px;padding:24px;display:grid;gap:12px;}
.detail-file-card p{margin:0;color:var(--muted);line-height:1.78;}
.tabs-pro .tab-head a{border:1px solid transparent;transition:.2s ease;}
.tabs-pro .tab-head a:hover,.tabs-pro .tab-head a.active{background:rgba(37,99,235,.10);border-color:rgba(37,99,235,.14);color:var(--blue);}
.review-card-pro{display:grid;gap:18px;}
.review-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.review-card-head h3{margin:0;font-size:20px;}
.review-card-head a{font-size:13px;font-weight:900;color:var(--blue);display:inline-flex;align-items:center;gap:5px;}
.review-score-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.review-score-main{font-size:44px;line-height:1;font-weight:950;letter-spacing:-.05em;color:var(--text);}
.review-stars{display:flex;gap:4px;color:#f59e0b;margin-bottom:6px;}
.review-stars .ti{--ti-size:1.08rem;}
.review-score-row strong{font-size:14px;color:var(--muted);}
.review-bars{display:grid;gap:10px;}
.review-bar-row{display:grid;grid-template-columns:40px minmax(0,1fr) 42px;align-items:center;gap:10px;font-size:13px;color:var(--muted);}
.review-bar-track{height:8px;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden;}
.review-bar-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#60a5fa);}
.review-highlight-card{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:12px;min-width:0;padding:15px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line);overflow:hidden;}
.review-highlight-card img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#fff;}
.review-highlight-content{display:grid;gap:8px;min-width:0;}
.review-user-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0;}
.review-user-top strong{min-width:0;font-size:15px;line-height:1.35;overflow-wrap:anywhere;}
.review-user-top b{flex:0 0 auto;color:#f59e0b;font-size:17px;}
.review-highlight-card .review-user-email{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;margin:0;color:var(--muted);font-size:11px;}
.review-highlight-card .review-user-email>.ti{flex:0 0 auto;--ti-size:.9rem;color:var(--blue);}
.review-highlight-card .review-user-email-text{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.review-highlight-card .review-user-quote{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:8px;min-width:0;margin:2px 0 0;font-size:12px;line-height:1.65;color:var(--text);}
.review-highlight-card .review-user-quote>.ti{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;--ti-size:.85rem;color:var(--blue);background:rgba(37,99,235,.09);}
.review-highlight-card .review-user-quote-text{min-width:0;overflow-wrap:anywhere;}
.review-highlight-card .review-user-date{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;color:var(--muted);font-size:10px;font-weight:800;}
.review-highlight-card .review-user-date .ti{--ti-size:.85rem;color:var(--blue);}
.help-card-pro{display:grid;gap:10px;}
.help-card-pro h3{margin:0;font-size:22px;}
.help-card-pro p{margin:0;color:var(--muted);line-height:1.7;}
.help-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 18px;border-radius:999px;border:1.5px solid rgba(96,165,250,.42);background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(239,246,255,.74));color:var(--blue);font-weight:900;}
.theme-dark .help-outline-btn{background:linear-gradient(180deg,rgba(15,27,43,.92),rgba(11,31,58,.86));border-color:rgba(96,165,250,.28);color:#93c5fd;}
.help-outline-btn span{display:inline-grid;place-items:center;width:22px;height:22px;}
@media (max-width:1100px){.review-card-head{align-items:flex-start;flex-direction:column;}.cta-row-detail .btn,.detail-file-actions .btn,.cta-row-detail .inline-pinjam-form{flex:1 1 100%;}}

/* Ulasan Pengguna: semua rating memakai Tabler Icons */
.detail-rating-tabler{display:flex;align-items:center;gap:4px;flex-wrap:wrap;}
.detail-rating-tabler .review-star-sm{color:#f59e0b;--ti-size:1rem;display:inline-grid;place-items:center;}
.review-stars .review-star-full,.review-stars .review-star-half{color:#f59e0b;--ti-size:1.12rem;display:inline-grid;place-items:center;filter:drop-shadow(0 2px 4px rgba(245,158,11,.18));}
.review-bar-row>span{display:inline-flex;align-items:center;gap:4px;font-weight:850;color:var(--muted);}
.review-bar-star{color:#f59e0b;--ti-size:.95rem;display:inline-grid;place-items:center;}
.review-user-top b{display:inline-flex;align-items:center;gap:5px;color:#f59e0b;font-size:18px;}
.review-inline-star{color:#f59e0b;--ti-size:1rem;display:inline-grid;place-items:center;}
.review-card-pro .ti-svg{stroke-width:2.2;}


/* Review user avatar: use account photo when available, otherwise Tabler user icon */
.review-highlight-card{grid-template-columns:52px minmax(0,1fr);}
.review-avatar-pro{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(14,165,233,.16));border:1px solid rgba(37,99,235,.15);box-shadow:0 12px 24px rgba(37,99,235,.10);}
.review-avatar-pro.has-photo{background:#fff;border:2px solid rgba(255,255,255,.92);}
.review-avatar-pro img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;}
.review-avatar-fallback{width:100%;height:100%;display:grid;place-items:center;color:#2563eb;background:linear-gradient(135deg,#eff6ff,#dbeafe);}
.theme-dark .review-avatar-fallback{color:#93c5fd;background:linear-gradient(135deg,rgba(37,99,235,.20),rgba(14,165,233,.12));}
.review-avatar-fallback .ti,.review-avatar-icon{--ti-size:1.7rem;width:1.7rem;height:1.7rem;}


/* Login hero image replacement */
.sr-only-auth-copy{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.ep-auth-pane-hero{grid-template-rows:auto minmax(460px,1fr) auto auto;gap:20px;}
.ep-auth-illustration-photo{min-height:520px;padding-top:8px;display:block;}
.ep-auth-illustration-figure{position:relative;margin:0;width:100%;height:100%;min-height:520px;border-radius:34px;overflow:hidden;background:linear-gradient(180deg,#071327,#0a1930);box-shadow:0 28px 72px rgba(2,12,27,.35), inset 0 0 0 1px rgba(255,255,255,.06);}
body.ep-auth-body.theme-light .ep-auth-illustration-figure{background:linear-gradient(180deg,#dbeafe,#eff6ff);box-shadow:0 24px 56px rgba(37,99,235,.18), inset 0 0 0 1px rgba(255,255,255,.65);}
.ep-auth-illustration-figure:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(4,19,41,.04),rgba(4,19,41,.02));}
.ep-auth-illustration-figure:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -30px 60px rgba(4,19,41,.10);border-radius:inherit;}
.ep-auth-illustration-photo img{width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center top;display:block;filter:none;border-radius:34px;}
body.ep-auth-body.theme-light .ep-auth-pane-hero{color:#0f172a;}
body.ep-auth-body.theme-light .ep-auth-benefits article{background:rgba(255,255,255,.82);}
@media (max-width:1120px){.ep-auth-pane-hero{grid-template-rows:auto minmax(360px,1fr) auto auto;}.ep-auth-illustration-photo,.ep-auth-illustration-figure,.ep-auth-illustration-photo img{min-height:420px;}}
@media (max-width:720px){.ep-auth-pane-hero{grid-template-rows:auto minmax(260px,1fr) auto auto;}.ep-auth-illustration-photo,.ep-auth-illustration-figure,.ep-auth-illustration-photo img{min-height:280px;}.ep-auth-illustration-figure{border-radius:24px;}.ep-auth-illustration-photo img{border-radius:24px;}}


/* Login page refinement: show full hero image, preserve welcome text, professional SSO/Google icons */
.ep-auth-pane-hero .ep-auth-copy{position:relative!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;overflow:visible!important;clip:auto!important;white-space:normal!important;border:0!important;z-index:4;max-width:620px;}
.ep-auth-pane-hero .ep-auth-copy h1{font-size:clamp(30px,3.35vw,52px);line-height:1.05;margin:12px 0 10px;letter-spacing:-.05em;text-shadow:0 8px 30px rgba(2,12,27,.35);}
body.ep-auth-body.theme-light .ep-auth-pane-hero .ep-auth-copy h1{text-shadow:none;}
.ep-auth-pane-hero .ep-auth-copy p{font-size:16px;line-height:1.7;max-width:520px;}
.ep-auth-pane-hero{grid-template-rows:auto auto minmax(360px,1fr) auto auto!important;}
.ep-auth-illustration-photo{min-height:360px!important;padding-top:0!important;display:grid!important;place-items:center!important;}
.ep-auth-illustration-figure{width:100%!important;height:auto!important;min-height:0!important;display:grid!important;place-items:center!important;padding:10px!important;border-radius:30px!important;background:linear-gradient(135deg,rgba(5,18,38,.94),rgba(8,29,56,.92))!important;box-shadow:0 24px 58px rgba(2,12,27,.28), inset 0 0 0 1px rgba(255,255,255,.08)!important;}
body.ep-auth-body.theme-light .ep-auth-illustration-figure{background:linear-gradient(135deg,rgba(219,234,254,.86),rgba(248,251,255,.92))!important;box-shadow:0 22px 54px rgba(37,99,235,.14), inset 0 0 0 1px rgba(255,255,255,.72)!important;}
.ep-auth-illustration-figure:before{background:linear-gradient(180deg,rgba(4,19,41,.02),rgba(4,19,41,.04))!important;}
.ep-auth-illustration-photo img{width:100%!important;height:auto!important;max-height:min(480px,48vh)!important;min-height:0!important;object-fit:contain!important;object-position:center center!important;display:block!important;border-radius:24px!important;background:#061224;}
body.ep-auth-body.theme-light .ep-auth-illustration-photo img{background:#eff6ff;}
.ep-auth-outline-btn{position:relative;overflow:hidden;}
.ep-auth-outline-btn .sso-icon,.ep-auth-outline-btn .google-logo-img{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;}
.ep-auth-outline-btn .sso-icon{border-radius:10px;background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(14,165,233,.12));color:#93c5fd;box-shadow:inset 0 0 0 1px rgba(147,197,253,.20);}
body.ep-auth-body.theme-light .ep-auth-outline-btn .sso-icon{color:#2563eb;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(14,165,233,.10));box-shadow:inset 0 0 0 1px rgba(37,99,235,.14);}
.ep-auth-outline-btn .sso-icon .ti{--ti-size:1.18rem;width:1.18rem;height:1.18rem;}
.google-logo-img{object-fit:contain;border-radius:7px;background:#fff;padding:2px;box-shadow:0 8px 18px rgba(2,12,27,.12);}
.ep-auth-sso-btn:hover .sso-icon{transform:translateY(-1px);}
.ep-auth-google-btn:hover .google-logo-img{transform:translateY(-1px) scale(1.02);}
.ep-auth-sso-btn .sso-icon,.ep-auth-google-btn .google-logo-img{transition:.2s ease;}
@media (max-width:1120px){.ep-auth-pane-hero{grid-template-rows:auto auto minmax(330px,1fr) auto auto!important;}.ep-auth-illustration-photo img{max-height:430px!important;}}
@media (max-width:720px){.ep-auth-pane-hero{grid-template-rows:auto auto minmax(230px,1fr) auto auto!important;}.ep-auth-pane-hero .ep-auth-copy h1{font-size:30px;}.ep-auth-pane-hero .ep-auth-copy p{font-size:14px;}.ep-auth-illustration-photo{min-height:230px!important;}.ep-auth-illustration-figure{border-radius:22px!important;padding:8px!important;}.ep-auth-illustration-photo img{max-height:300px!important;border-radius:18px!important;}}


/* Registration page professional hero + form */
.ep-register-shell{min-height:100vh;display:grid;place-items:center;padding:26px;}
.ep-register-board{position:relative;width:min(1280px,100%);display:grid;grid-template-columns:1.06fr minmax(390px,.94fr);gap:0;border-radius:34px;overflow:hidden;background:linear-gradient(135deg,#ecf4ff 0%,#f8fbff 100%);border:1px solid rgba(37,99,235,.12);box-shadow:0 28px 72px rgba(37,99,235,.16);}
.theme-dark .ep-register-board{background:linear-gradient(135deg,#07152c 0%,#0b203b 52%,#08172e 100%);border-color:rgba(96,165,250,.16);box-shadow:0 34px 82px rgba(2,12,27,.36);}
.ep-register-media{position:relative;padding:32px 30px 26px;display:grid;grid-template-rows:auto minmax(520px,1fr);gap:22px;min-width:0;overflow:hidden;background:radial-gradient(circle at left bottom,rgba(59,130,246,.12),transparent 34%);}
.theme-dark .ep-register-media{background:radial-gradient(circle at left bottom,rgba(59,130,246,.14),transparent 34%);}
.ep-register-media-copy{position:relative;z-index:2;max-width:520px;}
.ep-register-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);color:#1d4ed8;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.theme-dark .ep-register-badge{background:rgba(59,130,246,.14);border-color:rgba(96,165,250,.16);color:#93c5fd;}
.ep-register-media-copy h1{margin:16px 0 12px;font-size:clamp(42px,4vw,62px);line-height:1.02;letter-spacing:-.05em;font-weight:950;color:#0b1f55;}
.theme-dark .ep-register-media-copy h1{color:#eff6ff;}
.ep-register-media-copy p{margin:0;max-width:560px;font-size:20px;line-height:1.72;color:#334155;}
.theme-dark .ep-register-media-copy p{color:#cbd5e1;}
.ep-register-quick-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:24px;max-width:560px;}
.ep-register-quick-features article{display:grid;place-items:center;gap:10px;padding:18px 12px;border-radius:22px;background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.18);box-shadow:0 16px 34px rgba(37,99,235,.10);text-align:center;}
.theme-dark .ep-register-quick-features article{background:rgba(9,24,46,.78);border-color:rgba(96,165,250,.12);box-shadow:none;}
.ep-register-quick-features article span{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;box-shadow:0 16px 32px rgba(37,99,235,.24);}
.ep-register-quick-features article strong{font-size:15px;color:#0f172a;}
.theme-dark .ep-register-quick-features article strong{color:#eff6ff;}
.ep-register-visual{position:relative;z-index:1;margin:0;min-height:560px;height:100%;border-radius:34px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.68),rgba(239,246,255,.76));box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 24px 60px rgba(37,99,235,.12);}
.theme-dark .ep-register-visual{background:linear-gradient(180deg,rgba(10,23,43,.78),rgba(8,23,46,.82));box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 24px 60px rgba(2,12,27,.28);}
.ep-register-visual img{display:block;width:100%;height:100%;min-height:560px;object-fit:cover;object-position:center center;border-radius:34px;}
.ep-register-visual:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);}
.ep-register-form-pane{display:grid;place-items:center;padding:28px;background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.74));}
.theme-dark .ep-register-form-pane{background:linear-gradient(180deg,rgba(8,23,46,.56),rgba(5,18,35,.76));}
.ep-register-card{width:min(520px,100%);padding:32px;border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,250,255,.95));border:1px solid rgba(37,99,235,.12);box-shadow:0 24px 60px rgba(37,99,235,.12);color:#0f172a;}
.theme-dark .ep-register-card{background:linear-gradient(180deg,rgba(8,28,52,.94),rgba(5,19,38,.96));border-color:rgba(96,165,250,.14);box-shadow:0 26px 64px rgba(2,12,27,.34);color:#eff6ff;}
.ep-register-card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px;}
.ep-register-icon{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 18px 36px rgba(37,99,235,.24);flex:0 0 auto;}
.ep-register-card-head h2{margin:2px 0 6px;font-size:30px;line-height:1.06;font-weight:950;letter-spacing:-.04em;}
.ep-register-card-head p{margin:0;color:#64748b;font-size:14px;line-height:1.7;}
.theme-dark .ep-register-card-head p{color:#94a3b8;}
.ep-register-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px;}
.ep-register-mini-link{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);font-size:12px;font-weight:900;color:#2563eb;}
.theme-dark .ep-register-mini-link{background:rgba(59,130,246,.10);border-color:rgba(96,165,250,.16);color:#93c5fd;}
.ep-register-form{display:grid;gap:18px;}
.ep-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;}
.ep-register-field{display:grid;gap:8px;min-width:0;}
.ep-register-field.full{grid-column:1/-1;}
.ep-register-field label{font-size:13px;font-weight:850;color:#334155;}
.theme-dark .ep-register-field label{color:#cbd5e1;}
.ep-register-input{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 14px;border-radius:16px;border:1px solid rgba(148,163,184,.24);background:#fff;}
.theme-dark .ep-register-input{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.16);}
.ep-register-input>span:first-child{display:grid;place-items:center;color:#2563eb;flex:0 0 auto;}
.theme-dark .ep-register-input>span:first-child{color:#7dd3fc;}
.ep-register-input input,.ep-register-input textarea{border:0;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;color:inherit;width:100%;}
.ep-register-input input{height:54px;}
.ep-register-input textarea{min-height:110px;padding-top:16px!important;padding-bottom:16px!important;resize:vertical;}
.ep-register-input input::placeholder,.ep-register-input textarea::placeholder{color:#94a3b8;}
.ep-register-input-password{padding-right:10px;}
.ep-register-help{font-size:12px;font-weight:700;min-height:18px;}
.ep-register-upload{display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;border:1px dashed rgba(37,99,235,.25);background:linear-gradient(180deg,rgba(239,246,255,.86),rgba(255,255,255,.96));cursor:pointer;}
.theme-dark .ep-register-upload{background:linear-gradient(180deg,rgba(15,27,43,.86),rgba(11,31,58,.72));border-color:rgba(96,165,250,.22);}
.ep-register-upload .upload-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;box-shadow:0 16px 32px rgba(37,99,235,.24);flex:0 0 auto;}
.ep-register-upload strong{display:block;font-size:14px;color:#0f172a;}
.theme-dark .ep-register-upload strong{color:#eff6ff;}
.ep-register-upload small{display:block;margin-top:4px;color:#64748b;line-height:1.5;}
.theme-dark .ep-register-upload small{color:#94a3b8;}
.ep-register-upload input{display:none;}
.ep-register-textarea-wrap{align-items:flex-start;padding-top:14px;padding-bottom:14px;}
.ep-register-submit{min-height:56px;border-radius:18px;box-shadow:0 18px 36px rgba(37,99,235,.24);font-size:16px;}
@media (max-width:1180px){.ep-register-board{grid-template-columns:1fr;}.ep-register-media{grid-template-rows:auto minmax(360px,1fr);}.ep-register-visual,.ep-register-visual img{min-height:380px;}.ep-register-form-pane{padding-top:0;}}
@media (max-width:760px){.ep-register-shell{padding:12px;}.ep-register-board{border-radius:26px;}.ep-register-media,.ep-register-form-pane{padding:18px;}.ep-register-media-copy h1{font-size:36px;}.ep-register-media-copy p{font-size:16px;}.ep-register-quick-features{grid-template-columns:repeat(2,minmax(0,1fr));}.ep-register-visual,.ep-register-visual img{min-height:270px;border-radius:24px;}.ep-register-card{padding:22px;border-radius:24px;}.ep-register-grid{grid-template-columns:1fr;}.ep-register-top-actions{flex-direction:column;align-items:stretch;}.ep-register-mini-link{justify-content:center;}}


/* Register layout correction: full hero image, aligned passwords, medium Tabler feature icons */
.ep-register-media{grid-template-rows:auto minmax(500px,1fr)!important;}
.ep-register-visual{display:grid!important;place-items:center!important;min-height:520px!important;background:linear-gradient(135deg,rgba(219,234,254,.92),rgba(255,255,255,.96))!important;border:0!important;box-shadow:0 22px 56px rgba(37,99,235,.12)!important;}
.theme-dark .ep-register-visual{background:linear-gradient(135deg,rgba(7,21,44,.94),rgba(11,32,59,.92))!important;box-shadow:0 22px 56px rgba(2,12,27,.28)!important;}
.ep-register-visual:before{content:"";position:absolute;inset:0;background:url("../../frontend/images/register-campus-promo.webp") center/cover no-repeat;filter:blur(18px) saturate(1.05);transform:scale(1.06);opacity:.22;pointer-events:none;}
.theme-dark .ep-register-visual:before{opacity:.16;}
.ep-register-visual img{position:relative;z-index:1;width:100%!important;height:100%!important;min-height:520px!important;object-fit:contain!important;object-position:center center!important;border-radius:inherit!important;padding:0!important;filter:drop-shadow(0 18px 34px rgba(37,99,235,.10));}
.ep-register-visual:after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -24px 50px rgba(37,99,235,.05)!important;}
.ep-register-quick-features{gap:10px!important;margin-top:18px!important;max-width:500px!important;}
.ep-register-quick-features article{padding:12px 10px!important;border-radius:18px!important;gap:7px!important;}
.ep-register-quick-features article span{width:42px!important;height:42px!important;border-radius:15px!important;box-shadow:0 12px 22px rgba(37,99,235,.18)!important;}
.ep-register-quick-features article span .ti{--ti-size:1.18rem!important;width:1.18rem!important;height:1.18rem!important;}
.ep-register-quick-features article strong{font-size:13px!important;line-height:1.15!important;}
.ep-register-field-password{grid-column:1!important;grid-row:auto!important;}
.ep-register-field-confirm{grid-column:2!important;grid-row:auto!important;}
.ep-register-field-password .ep-register-input,.ep-register-field-confirm .ep-register-input{height:56px!important;}
.ep-register-field-confirm .ep-register-help{display:block;min-height:18px;margin-top:0;}
@media (max-width:1180px){.ep-register-media{grid-template-rows:auto minmax(360px,1fr)!important;}.ep-register-visual,.ep-register-visual img{min-height:400px!important;}}
@media (max-width:760px){.ep-register-visual,.ep-register-visual img{min-height:280px!important;border-radius:24px!important;}.ep-register-quick-features{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.ep-register-field-password,.ep-register-field-confirm{grid-column:1!important;}.ep-register-field-confirm .ep-register-help{min-height:16px;}}


/* Login image refresh: full visible, soft seamless edges */
.ep-auth-pane-hero{grid-template-rows:auto auto minmax(390px,1fr) auto auto!important;}
.ep-auth-illustration-photo{min-height:400px!important;display:block!important;}
.ep-auth-illustration-figure{padding:0!important;border-radius:32px!important;overflow:hidden!important;background:transparent!important;box-shadow:0 24px 60px rgba(2,12,27,.20)!important;isolation:isolate;}
body.ep-auth-body.theme-light .ep-auth-illustration-figure{background:transparent!important;box-shadow:0 24px 54px rgba(37,99,235,.12)!important;}
.ep-auth-illustration-figure:before{display:none!important;}
.ep-auth-illustration-figure:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 30px rgba(255,255,255,.08)!important;z-index:3;}
.ep-auth-illustration-photo img{width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:center center!important;display:block!important;border-radius:32px!important;background:transparent!important;-webkit-mask-image:radial-gradient(circle at center, #000 82%, transparent 100%);mask-image:radial-gradient(circle at center, #000 82%, transparent 100%);}
@media (max-width:1120px){.ep-auth-pane-hero{grid-template-rows:auto auto minmax(310px,1fr) auto auto!important;}.ep-auth-illustration-photo{min-height:320px!important;}}
@media (max-width:720px){.ep-auth-pane-hero{grid-template-rows:auto auto minmax(220px,1fr) auto auto!important;}.ep-auth-illustration-photo{min-height:220px!important;}.ep-auth-illustration-figure,.ep-auth-illustration-photo img{border-radius:22px!important;}}


/* Register visual auto-fit + aligned password row */
.ep-register-visual{min-height:0!important;height:auto!important;align-self:start!important;display:block!important;overflow:hidden!important;}
.ep-register-visual img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important;}
.ep-register-media{grid-template-rows:auto auto!important;align-content:start!important;}
.ep-register-field-password{grid-column:1!important;}
.ep-register-field-confirm{grid-column:2!important;align-self:start!important;}
.ep-register-field-confirm .ep-register-help{display:block;min-height:18px;margin-top:6px;}
@media (max-width:760px){.ep-register-field-password,.ep-register-field-confirm{grid-column:1!important;}}


/* Registration password row alignment fix */
.ep-register-grid{align-items:start!important;}
.ep-register-field-password,
.ep-register-field-confirm{display:grid!important;grid-template-rows:auto minmax(56px,auto) 24px;align-content:start!important;}
.ep-register-field-password label,
.ep-register-field-confirm label{min-height:24px;display:flex;align-items:center;}
.ep-register-field-password .ep-register-input,
.ep-register-field-confirm .ep-register-input{min-height:56px!important;height:56px!important;}
.ep-register-field-password .ep-register-input input,
.ep-register-field-confirm .ep-register-input input{height:54px!important;line-height:54px!important;}
.ep-register-help{display:block!important;min-height:18px!important;line-height:18px!important;margin-top:6px!important;font-size:12px!important;}
.ep-register-help-spacer{visibility:hidden;}
@media (max-width:760px){
  .ep-register-field-password,
  .ep-register-field-confirm{grid-template-rows:auto minmax(56px,auto) 20px;}
}

/* Detail buku: koleksi terkait teks, proteksi file digital, dan ulasan anggota */
.detail-alert{padding:12px 14px;border-radius:14px;font-weight:800;line-height:1.5;border:1px solid var(--line);}
.detail-alert.success{background:rgba(16,185,129,.12);border-color:rgba(16,185,129,.26);color:#047857;}
.detail-alert.warning{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.28);color:#b45309;}
.detail-alert.danger{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.28);color:#dc2626;}
.related-review-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;align-items:start;}
.related-text-card,.review-form-card{padding:24px;display:grid;gap:14px;}
.related-intro,.muted-text{margin:0;color:var(--muted);line-height:1.7;}
.related-text-list{display:grid;gap:10px;}
.related-text-item{display:grid;gap:5px;padding:14px 15px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);color:var(--text);transition:.2s ease;}
.related-text-item:hover{transform:translateY(-2px);border-color:rgba(37,99,235,.24);box-shadow:0 12px 32px rgba(37,99,235,.10);}
.related-text-item strong{font-size:15px;line-height:1.35;}
.related-text-item span,.related-text-item small{color:var(--muted);line-height:1.55;}
.related-text-item small{font-weight:800;}
.book-review-form{display:grid;gap:13px;}
.book-review-form label{display:grid;gap:7px;font-weight:900;color:var(--text);}
.book-review-form select,.book-review-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);padding:12px 13px;box-shadow:none;}
.book-review-form textarea{resize:vertical;min-height:130px;line-height:1.7;}
.login-required-box{display:grid;gap:10px;padding:16px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line);}
.login-required-box strong{display:flex;align-items:center;gap:8px;font-size:16px;}
.login-required-box p{margin:0;color:var(--muted);line-height:1.7;}
.latest-review-list{display:grid;gap:10px;margin-top:8px;}
.latest-review-list h3{margin:0;font-size:18px;}
.latest-review-item{padding:14px 0;border-top:1px solid var(--line);display:grid;gap:6px;}
.latest-review-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.latest-review-top span{display:inline-flex;align-items:center;gap:5px;font-weight:900;color:#f59e0b;}
.latest-review-item p{margin:0;color:var(--text);line-height:1.7;font-size:13px;}
.latest-review-item small,.review-empty-note{color:var(--muted);font-size:12px;font-weight:800;}
.review-empty-note{padding:14px;border-radius:16px;background:var(--surface-2);border:1px dashed var(--line);line-height:1.6;}
@media (max-width:1100px){.related-review-layout{grid-template-columns:1fr;}}

/* Detail buku tab terpadu: Deskripsi, Metadata, File Digital, Koleksi Terkait, dan Ulasan */
.detail-tabs-card{margin-top:18px;overflow:hidden;}
.detail-tabs-card .tab-head{gap:8px;padding:12px 16px;}
.detail-tabs-card .tab-head a{display:inline-flex;align-items:center;gap:8px;font-size:15px;white-space:nowrap;}
.detail-tab-body{padding:24px;}
.tab-pane[hidden]{display:none!important;}
.tab-pane.active{display:block;}
.tab-pane h3{margin-top:0;}
.metadata-grid-tab{margin-top:16px;}
.detail-file-card.in-tab{margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
.detail-file-card.in-tab h3{display:flex;align-items:center;gap:9px;margin:0 0 8px;}

.related-pill-wrap{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px;align-items:center;}
.related-pill{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:999px;background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);border:1px solid rgba(226,232,240,.85);box-shadow:0 12px 28px rgba(30,64,175,.07);color:#64748b;text-decoration:none;font-weight:950;line-height:1.25;transition:.2s ease;}
.related-pill:hover{transform:translateY(-2px);background:linear-gradient(180deg,#ffffff 0%,#eaf2ff 100%);border-color:rgba(37,99,235,.22);color:#2563eb;box-shadow:0 16px 36px rgba(37,99,235,.13);}
.related-tab-section{display:grid;gap:16px;padding:2px 0 6px;}
.related-tab-section .related-intro{margin:0;color:var(--muted);line-height:1.75;}
.detail-external-related-section{margin-top:28px;}
.detail-related-book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;margin-top:16px;}
.detail-related-book-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 14px 34px rgba(37,99,235,.08);transition:.22s ease;}
.detail-related-book-card:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(37,99,235,.13);}
.related-book-cover{height:230px;margin:12px;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:14px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#1d4ed8,#0ea5e9);position:relative;}
.related-book-cover:after{content:"";position:absolute;right:-36px;bottom:-42px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.16);}
.related-book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;z-index:1;}
.related-book-cover span,.related-book-cover strong{position:relative;z-index:2;}
.related-book-cover span{align-self:flex-start;border-radius:999px;background:rgba(255,255,255,.18);padding:7px 10px;font-size:11px;font-weight:950;}
.related-book-cover strong{font-size:17px;line-height:1.2;text-shadow:0 8px 18px rgba(15,23,42,.24);}
.related-book-cover.cover-error{display:flex;align-items:flex-start;}
.related-book-body{display:grid;gap:8px;padding:0 15px 16px;}
.related-book-body h3{font-size:16px;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.related-book-body h3 a{color:var(--text);text-decoration:none;}
.related-book-body h3 a:hover{color:var(--blue);}
.related-book-body p{margin:0;color:var(--muted);font-size:13px;font-weight:750;}
.related-book-body small{color:var(--muted);font-size:12px;line-height:1.55;font-weight:800;}
.review-tab-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(300px,1.05fr);gap:18px;margin-top:18px;align-items:start;}
.review-summary-panel,.review-form-panel{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2);}
.review-summary-panel h3,.review-form-panel h3,.review-users-section h3{margin:0;font-size:20px;font-weight:950;letter-spacing:-.025em;}
.review-users-section{display:grid;gap:12px;margin-top:18px;}
.review-user-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:13px;}
.review-user-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 10px 26px rgba(37,99,235,.06);}
.review-user-card p{margin:8px 0 0;color:var(--text);line-height:1.7;font-size:13px;}
.review-user-card small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:800;}
.review-form-panel .login-required-box{background:var(--surface);}
@media (max-width:980px){.review-tab-grid{grid-template-columns:1fr;}.detail-tab-body{padding:18px;}.related-pill{min-height:44px;padding:11px 18px;}}
@media (max-width:640px){.detail-tabs-card .tab-head{padding:10px;}.detail-tabs-card .tab-head a{font-size:13px;padding:10px 12px;}.review-user-grid{grid-template-columns:1fr;}.related-pill-wrap{gap:10px;}.related-pill{min-height:42px;padding:10px 16px;font-size:13px;}}

/* Section Koleksi Terkait pada tab detail buku dibuat seperti grid kartu koleksi */
.related-collection-section{display:grid;gap:22px;padding:2px 0 4px;}
.related-section-heading{align-items:flex-start;margin-bottom:0;}
.related-section-heading h2{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.055em;color:var(--text);}
.related-section-heading .related-intro{margin-top:8px;max-width:720px;}
.related-see-all{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-weight:950;text-decoration:none;white-space:nowrap;padding-top:10px;}
.related-see-all:hover{color:var(--blue);}
.detail-related-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;align-items:stretch;}
.detail-related-grid .collection-card{border-radius:24px;box-shadow:0 18px 48px rgba(15,23,42,.08);}
.detail-related-grid .collection-card .book-cover{height:235px;border-radius:19px;margin:18px 18px 0;padding:20px;}
.detail-related-grid .collection-card .book-cover span{font-size:13px;}
.detail-related-grid .collection-card .book-cover strong{font-size:20px;line-height:1.12;}
.detail-related-grid .collection-body{padding:16px 18px 18px;gap:7px;}
.detail-related-grid .collection-body h3{font-size:17px;line-height:1.25;margin:6px 0 0;}
.detail-related-grid .collection-body p{font-size:13px;}
.detail-related-grid .meta-row{margin:8px 0 12px;}
.detail-related-grid .card-actions .btn{min-height:44px;border-radius:14px;font-size:14px;}
@media (max-width:720px){.related-section-heading{display:grid;gap:12px}.related-see-all{padding-top:0}.detail-related-grid{grid-template-columns:1fr}.detail-related-grid .collection-card .book-cover{height:220px}}

/* Rapikan tab chip dan section koleksi terkait luar menu */
.related-tab-section .section-heading.compact{align-items:center;margin-bottom:6px;}
.related-tab-section .section-heading.compact h2{font-size:clamp(22px,2.2vw,30px);letter-spacing:-.035em;}
.related-tab-section .related-intro{max-width:820px;}
.related-tab-section .related-pill-wrap{margin-top:14px;padding-bottom:2px;}
.related-tab-section .related-pill{max-width:100%;box-shadow:0 10px 24px rgba(30,64,175,.06);}

.detail-external-related-section{margin-top:46px;padding-top:8px;scroll-margin-top:112px;}
.detail-external-related-section .related-section-heading{align-items:center;margin-bottom:24px;}
.detail-external-related-section .related-section-heading h2{font-size:clamp(32px,4.5vw,52px);line-height:1;letter-spacing:-.06em;margin:0;}
.detail-external-related-section .related-see-all{align-self:center;padding:8px 2px;color:var(--text);font-size:15px;}
.detail-external-related-section .related-see-all .ti{transition:.2s ease;}
.detail-external-related-section .related-see-all:hover .ti{transform:translateX(3px);}
.detail-external-related-section .detail-related-grid{display:flex;grid-template-columns:none;gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:2px;padding:2px 2px 18px;margin:0 -2px;-webkit-overflow-scrolling:touch;}
.detail-external-related-section .detail-related-grid::-webkit-scrollbar{height:8px;}
.detail-external-related-section .detail-related-grid::-webkit-scrollbar-track{background:rgba(226,232,240,.68);border-radius:999px;}
.detail-external-related-section .detail-related-grid::-webkit-scrollbar-thumb{background:rgba(100,116,139,.72);border-radius:999px;}
.detail-external-related-section .detail-related-grid .collection-card{flex:0 0 clamp(260px,28vw,330px);scroll-snap-align:start;border-radius:24px;box-shadow:0 18px 48px rgba(15,23,42,.08);}
.detail-external-related-section .detail-related-grid .collection-card:hover{transform:translateY(-3px);box-shadow:0 22px 58px rgba(15,23,42,.12);}
.detail-external-related-section .detail-related-grid .collection-card .book-cover{height:230px;border-radius:19px;margin:18px 18px 0;padding:20px;}
.detail-external-related-section .detail-related-grid .collection-body{padding:16px 18px 18px;}
.detail-external-related-section .detail-related-grid .card-actions{gap:10px;}
.detail-external-related-section .detail-related-grid .card-actions .btn{min-height:44px;border-radius:14px;font-size:14px;}

@media (min-width:1180px){
  .detail-external-related-section .detail-related-grid .collection-card{flex-basis:300px;}
}
@media (max-width:980px){
  .detail-external-related-section{margin-top:34px;}
  .detail-external-related-section .related-section-heading{margin-bottom:18px;}
  .detail-external-related-section .detail-related-grid .collection-card{flex-basis:min(76vw,310px);}
}
@media (max-width:640px){
  .detail-external-related-section{margin-top:28px;padding-top:4px;}
  .detail-external-related-section .related-section-heading{display:flex;align-items:center;gap:12px;}
  .detail-external-related-section .related-section-heading h2{font-size:30px;}
  .detail-external-related-section .related-see-all{font-size:13px;white-space:nowrap;}
  .detail-external-related-section .detail-related-grid{gap:14px;padding-bottom:14px;}
  .detail-external-related-section .detail-related-grid .collection-card{flex-basis:82vw;}
  .detail-external-related-section .detail-related-grid .collection-card .book-cover{height:210px;margin:14px 14px 0;}
  .detail-external-related-section .detail-related-grid .collection-body{padding:14px;}
}

/* Member area disamakan dengan layout digital.zip dan dibuat responsif */
body.member-shell .app-main{min-width:0;overflow-x:hidden;}
body.member-shell .admin-content{display:block;width:100%;min-width:0;}
body.member-shell .app-sidebar .brand-lockup{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);}
body.member-shell .app-sidebar .brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:18px;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;box-shadow:0 18px 38px rgba(37,99,235,.22);}
body.member-shell .app-sidebar .brand-text{font-weight:950;line-height:1.08;letter-spacing:-.03em;}
body.member-shell .side-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:15px;color:var(--text);text-decoration:none;font-weight:850;transition:.2s ease;}
body.member-shell .side-nav a:hover,body.member-shell .side-nav a.is-active,body.member-shell .side-nav a.active{background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(20,184,166,.08));color:var(--blue);}
body.member-shell .topbar-actions{display:flex;align-items:center;gap:10px;min-width:0;}
body.member-shell .user-chip{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:var(--surface);border:1px solid var(--line);padding:7px 10px;font-weight:900;white-space:nowrap;}
body.member-shell .user-chip img{width:30px;height:30px;border-radius:50%;object-fit:cover;}
body.member-shell .profile-summary span{display:block;color:var(--muted);font-size:12px;font-weight:750;}
body.member-shell .loan-card h4{font-size:15px;line-height:1.35;margin:10px 0 4px;font-weight:950;}
body.member-shell .loan-card p{margin:0 0 10px;color:var(--muted);font-size:12px;}
body.member-shell .loan-card small{display:block;margin-top:8px;color:var(--muted);}
body.member-shell .profile-page{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start;}
body.member-shell .profile-page aside{display:grid;gap:13px;justify-items:start;align-content:start;}
body.member-shell .profile-page h3{font-weight:950;margin:0 0 12px;letter-spacing:-.02em;}
body.member-shell .form-grid label{display:grid;gap:7px;color:var(--muted);font-size:13px;font-weight:900;}
body.member-shell .form-grid input,body.member-shell .form-grid textarea{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;padding:12px 13px;outline:none;}
body.member-shell .form-grid textarea{min-height:104px;resize:vertical;}
body.member-shell .data-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
body.member-shell.sidebar-open .admin-backdrop{display:block!important;z-index:55;}
@media (max-width:900px){body.member-shell .app-topbar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;}body.member-shell .topbar-actions{grid-column:1/-1;justify-content:space-between;flex-wrap:wrap;width:100%;}body.member-shell .topbar-actions .btn{display:none;}body.member-shell .profile-summary{width:100%;}body.member-shell .profile-page{grid-template-columns:1fr;}body.member-shell .profile-page aside{justify-items:center;text-align:center;}body.member-shell .section-heading{display:grid;gap:12px;}body.member-shell .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){body.member-shell .app-main{padding:10px;}body.member-shell .app-topbar{padding:12px;border-radius:18px;}body.member-shell .app-topbar h1{font-size:20px;}body.member-shell .kpi-grid{grid-template-columns:1fr;}body.member-shell .dashboard-row{grid-template-columns:1fr!important;}body.member-shell .featured-grid{grid-template-columns:1fr;}body.member-shell .topbar-actions .user-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;}body.member-shell .panel-card{border-radius:20px;padding:16px;}body.member-shell .filter-toolbar{display:grid;grid-template-columns:1fr;}body.member-shell .filter-toolbar .btn{width:100%;}}

/* === Member Area layout hard fix: sidebar tidak menutupi konten ===
   Desktop/tablet: sidebar berada di kolom sendiri. Mobile kecil: sidebar menjadi drawer. */
body.member-shell{overflow-x:hidden;}
body.member-shell .app-wrapper-pro{
  --member-sidebar-width:270px;
  display:grid!important;
  grid-template-columns:var(--member-sidebar-width) minmax(0,1fr)!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100vw!important;
  min-height:100vh!important;
}
body.member-shell .app-sidebar{
  grid-column:1!important;
  grid-row:1!important;
  position:fixed!important;
  top:0!important;
  bottom:0!important;
  left:0!important;
  width:var(--member-sidebar-width)!important;
  min-width:var(--member-sidebar-width)!important;
  max-width:var(--member-sidebar-width)!important;
  height:100dvh!important;
  max-height:100dvh!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  transform:none!important;
  box-sizing:border-box!important;
  z-index:35!important;
}
body.member-shell .app-main{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:18px!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
body.member-shell .admin-content,
body.member-shell .panel-card,
body.member-shell .glass-card,
body.member-shell .content-card,
body.member-shell .dashboard-row,
body.member-shell .collection-grid,
body.member-shell .featured-grid,
body.member-shell .quick-grid,
body.member-shell .kpi-grid,
body.member-shell .info-grid,
body.member-shell .form-grid{
  min-width:0!important;
  max-width:100%!important;
}
body.member-shell .app-topbar{
  max-width:100%!important;
  box-sizing:border-box!important;
  z-index:25!important;
}
body.member-shell .app-topbar>div:nth-child(2){min-width:0;}
body.member-shell .app-topbar h1{overflow-wrap:anywhere;}
body.member-shell .profile-summary{min-width:0;max-width:100%;}
body.member-shell .profile-summary>div{min-width:0;}
body.member-shell .profile-summary strong,
body.member-shell .profile-summary span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.member-shell .data-table{
  width:100%!important;
  min-width:720px;
  display:table!important;
}
body.member-shell .panel-card:has(.data-table){overflow-x:auto!important;-webkit-overflow-scrolling:touch;}
body.member-shell .admin-backdrop{display:none!important;}
body.member-shell.sidebar-open .admin-backdrop{display:none!important;}
body.member-shell.sidebar-open .app-sidebar{transform:none!important;}

@media (max-width:1100px) and (min-width:641px){
  body.member-shell .app-wrapper-pro{--member-sidebar-width:238px;grid-template-columns:var(--member-sidebar-width) minmax(0,1fr)!important;}
  body.member-shell .app-sidebar{width:var(--member-sidebar-width)!important;min-width:var(--member-sidebar-width)!important;max-width:var(--member-sidebar-width)!important;padding:16px!important;}
  body.member-shell .app-main{padding:16px!important;}
  body.member-shell .dashboard-row,body.member-shell .dashboard-row.two-one{grid-template-columns:1fr!important;}
  body.member-shell .topbar-actions{flex-wrap:wrap;justify-content:flex-end;}
  body.member-shell .profile-summary .btn{display:none;}
}

@media (min-width:641px){
  body.member-shell .sidebar-toggle{display:none!important;}
  body.member-shell .app-sidebar{box-shadow:10px 0 34px rgba(37,99,235,.06)!important;}
}

@media (max-width:640px){
  body.member-shell .app-wrapper-pro{
    display:block!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100vh!important;
  }
  body.member-shell .app-sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(320px,86vw)!important;
    min-width:0!important;
    max-width:none!important;
    height:100vh!important;
    max-height:100vh!important;
    transform:translateX(-105%)!important;
    transition:transform .24s ease!important;
    z-index:70!important;
    box-shadow:24px 0 70px rgba(2,6,23,.28)!important;
  }
  body.member-shell.sidebar-open .app-sidebar{transform:translateX(0)!important;}
  body.member-shell.sidebar-open .admin-backdrop{display:block!important;z-index:65!important;}
  body.member-shell .app-main{
    display:block!important;
    width:100%!important;
    max-width:100vw!important;
    margin:0!important;
    padding:10px!important;
    overflow-x:hidden!important;
  }
  body.member-shell .app-topbar{
    position:sticky!important;
    top:8px!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  body.member-shell .topbar-actions{
    grid-column:1/-1!important;
    display:flex!important;
    width:100%!important;
    justify-content:space-between!important;
    gap:8px!important;
    flex-wrap:wrap!important;
  }
  body.member-shell .topbar-actions .btn,
  body.member-shell .topbar-actions .notif{display:none!important;}
  body.member-shell .user-chip{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;}
  body.member-shell .section-heading{display:grid!important;gap:12px!important;}
  body.member-shell .section-heading>div:last-child{justify-content:stretch!important;}
  body.member-shell .profile-summary{width:100%!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;}
  body.member-shell .profile-summary .btn{grid-column:1/-1;width:100%;}
  body.member-shell .kpi-grid,
  body.member-shell .featured-grid,
  body.member-shell .collection-grid,
  body.member-shell .quick-grid,
  body.member-shell .info-grid,
  body.member-shell .form-grid,
  body.member-shell .profile-page{grid-template-columns:1fr!important;}
  body.member-shell .panel-card{padding:16px!important;border-radius:20px!important;}
  body.member-shell .filter-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  body.member-shell .filter-toolbar input,
  body.member-shell .filter-toolbar select,
  body.member-shell .filter-toolbar .btn{width:100%!important;}
  body.member-shell .panel-card:has(.data-table){padding:14px!important;}
}

/* Dashboard Member: dua kolom peminjaman/denda + grid buku terakhir dibaca */
body.member-shell .member-dashboard-page{display:grid;gap:22px;}
body.member-shell .member-dashboard-page .member-kpi-grid{margin-bottom:0;}
body.member-shell .member-dashboard-heading{margin-bottom:0;}
body.member-shell .member-borrow-fine-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:22px;align-items:stretch;min-width:0;}
body.member-shell .member-borrow-fine-row .panel-card{height:100%;min-width:0;}
body.member-shell .member-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;min-width:0;}
body.member-shell .member-panel-head h3{margin:0 0 4px;font-size:clamp(20px,2.1vw,26px);font-weight:950;letter-spacing:-.035em;color:var(--text);}
body.member-shell .member-panel-head p{margin:0;color:var(--muted);font-weight:700;line-height:1.55;}
body.member-shell .member-panel-head a{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-weight:950;text-decoration:none;white-space:nowrap;}
body.member-shell .member-loan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
body.member-shell .member-loan-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:13px;align-items:start;margin:0;padding:14px;border-radius:20px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 30px rgba(37,99,235,.06);min-width:0;}
body.member-shell .member-loan-card .mini-cover{display:grid;place-items:center;width:58px;height:76px;border-radius:16px;color:#fff;box-shadow:0 16px 28px rgba(37,99,235,.16);}
body.member-shell .member-loan-card .mini-cover .ti{--ti-size:1.55rem;}
body.member-shell .member-loan-card h4{margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.member-shell .member-loan-card .chip{margin-top:8px;}
body.member-shell .member-fine-card{display:flex;flex-direction:column;justify-content:center;gap:12px;border-color:rgba(239,68,68,.16);background:linear-gradient(135deg,rgba(254,242,242,.94),rgba(255,255,255,.94));}
body.member-shell .member-fine-card h3{margin:0;font-size:clamp(20px,2.1vw,26px);font-weight:950;letter-spacing:-.035em;}
body.member-shell .member-fine-card .money{display:block;font-size:clamp(30px,4vw,44px);line-height:1;font-weight:950;letter-spacing:-.055em;color:#dc2626;}
body.member-shell .member-fine-card p{margin:0;color:var(--muted);font-weight:750;line-height:1.65;}
body.member-shell .member-fine-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:20px;background:rgba(239,68,68,.12);color:#dc2626;}
body.member-shell .member-fine-icon .ti{--ti-size:1.85rem;}
body.member-shell .member-continue-card{margin-top:2px;}
body.member-shell .continue-reading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch;}
body.member-shell .continue-book-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 16px 42px rgba(37,99,235,.08);transition:.22s ease;}
body.member-shell .continue-book-card:hover{transform:translateY(-3px);box-shadow:0 22px 56px rgba(37,99,235,.12);}
body.member-shell .continue-book-cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;height:210px;margin:14px;border-radius:20px;overflow:hidden;padding:16px;color:#fff;text-decoration:none;background:linear-gradient(135deg,#1e40af,#0891b2);}
body.member-shell .continue-book-cover:after{content:"";position:absolute;right:-40px;bottom:-48px;width:158px;height:158px;border-radius:50%;background:rgba(255,255,255,.16);z-index:1;}
body.member-shell .continue-book-cover.has-cover{background:#eff6ff;padding:0;}
body.member-shell .continue-book-cover.has-cover:after{display:none;}
body.member-shell .continue-book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;z-index:1;}
body.member-shell .continue-book-cover span,body.member-shell .continue-book-cover strong{position:relative;z-index:2;}
body.member-shell .continue-book-cover span{align-self:flex-start;border-radius:999px;background:rgba(255,255,255,.20);padding:7px 10px;font-size:11px;font-weight:950;backdrop-filter:blur(8px);}
body.member-shell .continue-book-cover.has-cover span{margin:14px;background:rgba(15,23,42,.58);color:#fff;}
body.member-shell .continue-book-cover strong{font-size:18px;line-height:1.15;font-weight:950;text-shadow:0 10px 18px rgba(15,23,42,.24);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
body.member-shell .continue-book-cover.has-cover strong{margin:0 14px 14px;padding:10px;border-radius:14px;background:linear-gradient(180deg,rgba(15,23,42,.0),rgba(15,23,42,.70));}
body.member-shell .continue-book-body{display:grid;gap:9px;padding:0 16px 16px;min-width:0;flex:1;}
body.member-shell .continue-book-body h4{margin:0;font-size:16px;line-height:1.32;font-weight:950;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.member-shell .continue-book-body h4 a{color:inherit;text-decoration:none;}
body.member-shell .continue-book-body h4 a:hover{color:var(--blue);}
body.member-shell .continue-book-body p,body.member-shell .continue-book-body small{margin:0;color:var(--muted);font-size:12px;font-weight:750;line-height:1.55;}
body.member-shell .continue-book-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;}
body.member-shell .continue-book-actions .btn{min-height:42px;padding:9px 10px;border-radius:14px;white-space:nowrap;}
body.member-shell .member-recommend-card{margin-top:0;}
body.member-shell .member-recommend-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
body.member-shell .member-quick-grid{margin-top:0;}
@media (max-width:1240px){
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:940px){
  body.member-shell .member-borrow-fine-row{grid-template-columns:1fr;}
  body.member-shell .member-fine-card{justify-content:flex-start;}
}
@media (max-width:760px){
  body.member-shell .member-dashboard-page{gap:18px;}
  body.member-shell .member-panel-head{display:grid;gap:8px;}
  body.member-shell .member-loan-grid,
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{grid-template-columns:1fr;gap:16px;}
  body.member-shell .continue-book-cover{height:220px;}
  body.member-shell .continue-book-actions{grid-template-columns:1fr;}
}

/* Member PDF progress, downloads, and reviews management */
body.member-shell .continue-progress-wrap{display:grid;gap:7px;margin:2px 0 4px;}
body.member-shell .continue-progress-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:900;color:var(--muted);}
body.member-shell .continue-progress-top strong{color:var(--blue);font-size:13px;}
body.member-shell .continue-progress-track{height:9px;border-radius:999px;overflow:hidden;background:rgba(37,99,235,.10);border:1px solid rgba(37,99,235,.08);}
body.member-shell .continue-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#14b8a6);}
body.member-shell .member-empty-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px;border:1px dashed rgba(37,99,235,.25);border-radius:22px;background:linear-gradient(135deg,rgba(239,246,255,.82),rgba(255,255,255,.95));}
body.member-shell .member-empty-state>.ti{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(37,99,235,.12);color:var(--blue);}
body.member-shell .member-empty-state strong{display:block;margin-bottom:4px;font-size:17px;color:var(--text);}
body.member-shell .member-empty-state p{margin:0;color:var(--muted);font-weight:750;line-height:1.6;}
body.member-shell .table-responsive-pro{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
body.member-shell .member-download-table{min-width:760px;}
body.member-shell .table-actions{white-space:nowrap;}
body.member-shell .table-actions a{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(37,99,235,.10);color:var(--blue);text-decoration:none;margin-right:5px;}
body.member-shell .download-summary-card{grid-template-columns:auto minmax(0,1fr)!important;}
body.member-shell .download-summary-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:rgba(37,99,235,.12);color:var(--blue);}
body.member-shell .download-summary-icon .ti{--ti-size:1.55rem;}
body.member-shell .member-reader-page{display:grid;gap:20px;}
body.member-shell .reader-top{display:flex;align-items:center;justify-content:space-between;gap:18px;}
body.member-shell .reader-book-info{display:grid;grid-template-columns:74px minmax(0,1fr);gap:15px;align-items:center;min-width:0;}
body.member-shell .reader-cover{width:74px;height:98px;border-radius:18px;object-fit:cover;box-shadow:0 18px 34px rgba(15,23,42,.12);background:#eff6ff;}
body.member-shell .reader-cover-fallback{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);}
body.member-shell .reader-book-info h2{margin:7px 0 4px;font-size:clamp(22px,2.4vw,34px);font-weight:950;letter-spacing:-.04em;}
body.member-shell .reader-book-info p{margin:0;color:var(--muted);font-weight:750;}
body.member-shell .reader-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
body.member-shell .reader-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start;}
body.member-shell .pdf-frame-card{min-width:0;}
body.member-shell .pdf-frame-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;}
body.member-shell .pdf-frame-head h3{margin:0;font-size:22px;font-weight:950;}
body.member-shell .pdf-frame-head p{margin:3px 0 0;color:var(--muted);}
body.member-shell .pdf-frame-head a{display:inline-flex;gap:6px;align-items:center;text-decoration:none;color:var(--blue);font-weight:950;white-space:nowrap;}
body.member-shell .pdf-reader-frame{width:100%;height:72vh;min-height:560px;border:1px solid var(--line);border-radius:20px;background:#f8fafc;}
body.member-shell .reader-progress-card{position:sticky;top:102px;display:grid;gap:14px;}
body.member-shell .reader-progress-card h3{margin:0;font-size:22px;font-weight:950;}
body.member-shell .reader-progress-card p{margin:0;color:var(--muted);font-weight:750;line-height:1.65;}
body.member-shell .reader-progress-circle{--progress:1%;display:grid;place-items:center;align-content:center;width:150px;height:150px;border-radius:50%;margin:0 auto;background:conic-gradient(var(--blue) var(--progress),rgba(37,99,235,.12) 0);position:relative;color:var(--blue);}
body.member-shell .reader-progress-circle:before{content:"";position:absolute;inset:12px;border-radius:inherit;background:var(--surface);}
body.member-shell .reader-progress-circle strong,body.member-shell .reader-progress-circle span{position:relative;z-index:1;}
body.member-shell .reader-progress-circle strong{font-size:34px;font-weight:950;line-height:1;}
body.member-shell .reader-progress-circle span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:var(--muted);}
body.member-shell .reader-progress-range{display:grid;gap:8px;font-weight:950;color:var(--text);}
body.member-shell .reader-progress-range input{width:100%;accent-color:var(--blue);}
body.member-shell .reader-progress-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;}
body.member-shell .reader-progress-presets button{border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--blue);font-weight:950;padding:9px 6px;}
body.member-shell .reader-progress-card small{color:var(--muted);font-weight:800;}
body.member-shell .member-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
body.member-shell .member-review-card{display:grid;gap:16px;}
body.member-shell .member-review-book{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;align-items:start;}
body.member-shell .member-review-book img,body.member-shell .member-review-book>span{width:70px;height:92px;border-radius:18px;object-fit:cover;box-shadow:0 16px 30px rgba(15,23,42,.12);}
body.member-shell .member-review-book>span{display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;}
body.member-shell .member-review-book h3{margin:0 0 4px;font-size:18px;font-weight:950;line-height:1.25;}
body.member-shell .member-review-book h3 a{color:inherit;text-decoration:none;}
body.member-shell .member-review-book p,body.member-shell .member-review-book small{margin:0;color:var(--muted);font-weight:750;line-height:1.55;}
body.member-shell .member-review-form{display:grid;gap:12px;}
body.member-shell .member-review-form label{display:grid;gap:7px;font-weight:950;color:var(--text);}
body.member-shell .member-review-form select,body.member-shell .member-review-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:11px 12px;background:var(--surface);color:var(--text);}
body.member-shell .member-review-actions{display:flex;gap:10px;flex-wrap:wrap;}
body.member-shell .btn-outline-danger{border:1px solid rgba(239,68,68,.28);background:rgba(254,242,242,.8);color:#dc2626;}
body.member-shell .btn-outline-danger:hover{background:#dc2626;color:#fff;}
@media (max-width:980px){
  body.member-shell .reader-top{display:grid;}
  body.member-shell .reader-actions{justify-content:flex-start;}
  body.member-shell .reader-grid{grid-template-columns:1fr;}
  body.member-shell .reader-progress-card{position:relative;top:auto;}
  body.member-shell .member-review-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  body.member-shell .member-empty-state{grid-template-columns:1fr;text-align:left;}
  body.member-shell .reader-book-info{grid-template-columns:58px minmax(0,1fr);}
  body.member-shell .reader-cover{width:58px;height:78px;border-radius:14px;}
  body.member-shell .pdf-reader-frame{height:62vh;min-height:420px;border-radius:16px;}
  body.member-shell .reader-progress-presets{grid-template-columns:repeat(2,1fr);}
  body.member-shell .member-review-actions{display:grid;grid-template-columns:1fr;}
}

/* Favorit buku: icon love frontend + grid member area */
.collection-card{position:relative;}
.favorite-toggle-btn{position:absolute;top:22px;right:22px;z-index:8;width:42px;height:42px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);color:#64748b;box-shadow:0 14px 30px rgba(15,23,42,.14);backdrop-filter:blur(12px);transition:.2s ease;text-decoration:none!important;}
.favorite-toggle-btn:hover{transform:translateY(-2px) scale(1.03);color:#ef4444;border-color:rgba(239,68,68,.22);background:#fff;box-shadow:0 18px 36px rgba(239,68,68,.14);}
.favorite-toggle-btn.is-active{background:linear-gradient(135deg,#ef4444,#f97316);border-color:transparent;color:#fff;box-shadow:0 18px 38px rgba(239,68,68,.24);}
.favorite-toggle-btn .ti{--ti-size:1.25rem;}
.detail-favorite-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 6px;}
.detail-favorite-row small{color:var(--muted);font-weight:800;}
.favorite-detail-btn{background:var(--surface-2);border:1px solid var(--line);color:var(--text)!important;}
.favorite-detail-btn:hover{color:#ef4444!important;border-color:rgba(239,68,68,.28);}
.favorite-detail-btn.is-active{background:linear-gradient(135deg,#ef4444,#f97316);color:#fff!important;border-color:transparent;box-shadow:0 14px 28px rgba(239,68,68,.22);}
.detail-favorite-alert{margin:16px 0 0;}
body.member-shell .member-favorite-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;}
body.member-shell .member-favorite-toolbar h3{margin:0;font-size:20px;font-weight:950;letter-spacing:-.025em;}
body.member-shell .member-favorite-toolbar p{margin:4px 0 0;color:var(--muted);font-weight:750;}
body.member-shell .favorite-summary-icon{color:#ef4444;background:rgba(239,68,68,.10);}
body.member-shell .member-favorite-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px;align-items:stretch;}
body.member-shell .member-favorite-grid .collection-card{border-radius:24px;box-shadow:0 18px 46px rgba(15,23,42,.08);}
body.member-shell .member-favorite-grid .collection-card .book-cover{height:225px;border-radius:19px;margin:18px 18px 0;padding:20px;}
body.member-shell .member-favorite-grid .collection-body{padding:16px 18px 18px;gap:8px;}
body.member-shell .member-favorite-grid .collection-body h3{font-size:17px;line-height:1.25;}
body.member-shell .member-favorite-grid .card-actions .btn{min-height:44px;border-radius:14px;}
body.member-shell .side-nav a .ti-heart{color:inherit;}
@media (max-width:760px){body.member-shell .member-favorite-toolbar{display:grid;}body.member-shell .member-favorite-grid{grid-template-columns:1fr;}.favorite-toggle-btn{top:18px;right:18px;width:40px;height:40px;}.detail-favorite-row{align-items:stretch}.detail-favorite-row .btn{width:100%;}}

/* Member Area final responsive/icon refinement */
body.member-shell .ti,
body.member-shell .ti-svg{display:inline-block;flex:0 0 auto;vertical-align:middle;stroke-width:2;}
body.member-shell .btn .ti,
body.member-shell .chip .ti,
body.member-shell .side-nav a .ti,
body.member-shell .member-panel-head a .ti,
body.member-shell .quick-grid a .ti,
body.member-shell .table-actions a .ti{margin-right:0!important;}
body.member-shell .btn,
body.member-shell .side-nav a,
body.member-shell .quick-grid a,
body.member-shell .member-panel-head a{gap:10px;}
body.member-shell .brand-mark:before{display:none!important;content:none!important;}
body.member-shell .brand-mark .ti{position:static!important;width:1.55rem!important;height:1.55rem!important;min-width:1.55rem!important;min-height:1.55rem!important;right:auto!important;top:auto!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;}
body.member-shell .brand-mark .ti svg{width:100%!important;height:100%!important;display:block!important;}
body.member-shell .side-nav{gap:8px;}
body.member-shell .side-nav a{position:relative;min-height:46px;padding:11px 12px;border:1px solid transparent;line-height:1.2;white-space:normal;text-decoration:none;}
body.member-shell .side-nav a .member-nav-icon{--ti-size:1.35rem;display:grid;place-items:center;width:22px;height:22px;color:var(--blue);}
body.member-shell .side-nav a .member-nav-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;}
body.member-shell .side-nav a.is-active{border-color:rgba(37,99,235,.16);box-shadow:0 10px 26px rgba(37,99,235,.08);}
body.member-shell .kpi-card>.ti{font-size:0!important;display:grid!important;place-items:center!important;width:50px!important;height:50px!important;border-radius:16px!important;background:rgba(37,99,235,.10)!important;color:var(--blue)!important;}
body.member-shell .kpi-card.danger>.ti{color:var(--red)!important;background:rgba(239,68,68,.10)!important;}
body.member-shell .kpi-card>.ti svg{width:1.85rem!important;height:1.85rem!important;}
body.member-shell .app-wrapper-pro{overflow-x:hidden;}
body.member-shell .app-main{min-width:0;}
body.member-shell .admin-content{display:block;width:100%;max-width:100%;}
body.member-shell .panel-card,
body.member-shell .collection-card,
body.member-shell .continue-book-card{min-width:0;}
body.member-shell .member-favorite-grid .collection-card .book-cover strong,
body.member-shell .member-recommend-grid .collection-card .book-cover strong{word-break:break-word;}

@media (min-width:641px){
  body.member-shell .app-sidebar{display:flex!important;}
  body.member-shell .app-main{padding:18px!important;}
}

@media (max-width:640px){
  body.member-shell{padding-bottom:92px!important;}
  body.member-shell .app-wrapper-pro{display:block!important;min-height:100vh!important;width:100%!important;max-width:100vw!important;overflow-x:hidden!important;}
  body.member-shell .app-main{display:block!important;width:100%!important;max-width:100vw!important;margin:0!important;padding:10px 10px 98px!important;overflow-x:hidden!important;}
  body.member-shell .sidebar-toggle,
  body.member-shell .admin-backdrop{display:none!important;}
  body.member-shell.sidebar-open .admin-backdrop{display:none!important;}
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    top:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    padding:8px!important;
    display:block!important;
    overflow:hidden!important;
    transform:none!important;
    border:1px solid rgba(148,163,184,.24)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 22px 58px rgba(15,23,42,.20)!important;
    backdrop-filter:blur(20px)!important;
    z-index:90!important;
  }
  body.member-shell.theme-dark .app-sidebar,
  body.theme-dark.member-shell .app-sidebar{background:rgba(15,27,43,.96)!important;border-color:rgba(148,163,184,.18)!important;}
  body.member-shell .app-sidebar .brand-lockup{display:none!important;}
  body.member-shell .side-nav{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
    height:100%!important;
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 2px 4px!important;
    scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.member-shell .side-nav::-webkit-scrollbar{display:none!important;}
  body.member-shell .side-nav{scrollbar-width:none!important;}
  body.member-shell .side-nav a{
    flex:0 0 50px!important;
    width:50px!important;
    height:50px!important;
    min-height:50px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    gap:0!important;
    border-radius:18px!important;
    border:1px solid transparent!important;
    scroll-snap-align:center!important;
    color:var(--muted)!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{--ti-size:1.42rem!important;width:24px!important;height:24px!important;color:currentColor!important;display:grid!important;place-items:center!important;}
  body.member-shell .side-nav a .member-nav-label{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.member-shell .side-nav a.is-active,
  body.member-shell .side-nav a:hover{background:rgba(37,99,235,.12)!important;color:var(--blue)!important;border-color:rgba(37,99,235,.18)!important;box-shadow:none!important;}
  body.member-shell .side-nav a.is-active:after{content:"";position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:5px;height:5px;border-radius:999px;background:var(--blue);}
  body.member-shell .app-topbar{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;top:8px!important;}
  body.member-shell .app-topbar>div:nth-child(2){grid-column:1!important;grid-row:1!important;}
  body.member-shell .app-topbar .topbar-actions{grid-column:2!important;grid-row:1!important;width:auto!important;justify-content:flex-end!important;}
  body.member-shell .app-topbar .theme-toggle{display:inline-grid!important;}
  body.member-shell .app-topbar .user-chip{display:none!important;}
  body.member-shell .app-topbar h1{font-size:20px!important;line-height:1.15!important;}
  body.member-shell .section-heading h2{font-size:clamp(22px,7vw,30px)!important;}
  body.member-shell .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  body.member-shell .kpi-card{min-height:112px!important;padding:13px!important;border-radius:18px!important;}
  body.member-shell .kpi-card>.ti{width:42px!important;height:42px!important;border-radius:14px!important;}
  body.member-shell .kpi-card>.ti svg{width:1.45rem!important;height:1.45rem!important;}
  body.member-shell .kpi-card strong{font-size:clamp(20px,5.5vw,26px)!important;}
  body.member-shell .member-borrow-fine-row{grid-template-columns:1fr!important;gap:14px!important;}
  body.member-shell .member-loan-grid{grid-template-columns:1fr!important;}
  body.member-shell .member-empty-state{grid-template-columns:1fr!important;gap:12px!important;}
  body.member-shell .member-empty-state .btn{width:100%!important;}

  body.member-shell .member-favorite-grid,
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  body.member-shell .member-favorite-grid .collection-card,
  body.member-shell .member-recommend-grid .collection-card,
  body.member-shell .continue-book-card{border-radius:16px!important;box-shadow:0 10px 26px rgba(15,23,42,.08)!important;overflow:hidden!important;}
  body.member-shell .member-favorite-grid .collection-card .book-cover,
  body.member-shell .member-recommend-grid .collection-card .book-cover{height:112px!important;margin:6px!important;padding:8px!important;border-radius:13px!important;}
  body.member-shell .member-favorite-grid .collection-card .book-cover span,
  body.member-shell .member-recommend-grid .collection-card .book-cover span{font-size:9px!important;}
  body.member-shell .member-favorite-grid .collection-card .book-cover strong,
  body.member-shell .member-recommend-grid .collection-card .book-cover strong{font-size:11px!important;line-height:1.12!important;-webkit-line-clamp:3!important;}
  body.member-shell .member-favorite-grid .collection-body,
  body.member-shell .member-recommend-grid .collection-body{padding:0 7px 8px!important;gap:3px!important;}
  body.member-shell .member-favorite-grid .collection-body>.chip,
  body.member-shell .member-favorite-grid .collection-body p,
  body.member-shell .member-favorite-grid .meta-row,
  body.member-shell .member-recommend-grid .collection-body>.chip,
  body.member-shell .member-recommend-grid .collection-body p,
  body.member-shell .member-recommend-grid .meta-row{display:none!important;}
  body.member-shell .member-favorite-grid .collection-body h3,
  body.member-shell .member-recommend-grid .collection-body h3{font-size:11px!important;line-height:1.22!important;margin:0!important;-webkit-line-clamp:2!important;}
  body.member-shell .member-favorite-grid .card-actions,
  body.member-shell .member-recommend-grid .card-actions{display:none!important;}
  body.member-shell .favorite-toggle-btn{width:30px!important;height:30px!important;top:10px!important;right:10px!important;box-shadow:0 10px 20px rgba(15,23,42,.12)!important;}
  body.member-shell .favorite-toggle-btn .ti{--ti-size:1rem!important;}

  body.member-shell .continue-book-cover{height:112px!important;margin:6px!important;padding:8px!important;border-radius:13px!important;}
  body.member-shell .continue-book-cover span{font-size:9px!important;padding:4px 6px!important;}
  body.member-shell .continue-book-cover.has-cover span{margin:8px!important;}
  body.member-shell .continue-book-cover strong{font-size:11px!important;line-height:1.15!important;-webkit-line-clamp:3!important;}
  body.member-shell .continue-book-cover.has-cover strong{margin:0 8px 8px!important;padding:7px!important;border-radius:10px!important;}
  body.member-shell .continue-book-body{padding:0 7px 8px!important;gap:5px!important;}
  body.member-shell .continue-book-body h4{font-size:11px!important;line-height:1.2!important;-webkit-line-clamp:2!important;}
  body.member-shell .continue-book-body p,
  body.member-shell .continue-book-body small,
  body.member-shell .continue-book-body>.chip{display:none!important;}
  body.member-shell .continue-progress-wrap{gap:4px!important;margin-top:2px!important;}
  body.member-shell .continue-progress-top{font-size:9px!important;gap:4px!important;}
  body.member-shell .continue-progress-top span{display:none!important;}
  body.member-shell .continue-progress-top strong{font-size:11px!important;}
  body.member-shell .continue-progress-track{height:6px!important;}
  body.member-shell .continue-book-actions{display:none!important;}

  body.member-shell .member-review-grid{grid-template-columns:1fr!important;}
  body.member-shell .member-review-actions{grid-template-columns:1fr!important;display:grid!important;}
  body.member-shell .member-download-table{min-width:720px!important;}
}

@media (max-width:390px){
  body.member-shell .member-favorite-grid,
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{gap:8px!important;}
  body.member-shell .member-favorite-grid .collection-card .book-cover,
  body.member-shell .member-recommend-grid .collection-card .book-cover,
  body.member-shell .continue-book-cover{height:100px!important;}
  body.member-shell .side-nav a{flex-basis:48px!important;width:48px!important;height:48px!important;min-height:48px!important;}
}

/* Member Area: mobile nav, top action icons, profile icon fields, notifications */
body.member-shell .topbar-icon-action{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:13px;border:1px solid var(--line);background:var(--surface);color:var(--text)!important;flex:0 0 auto;text-decoration:none;transition:.18s ease;}
body.member-shell .topbar-icon-action:hover{transform:translateY(-1px);color:var(--blue)!important;border-color:rgba(37,99,235,.24);background:rgba(37,99,235,.08);}
body.member-shell .topbar-icon-action .ti{--ti-size:1.4rem;}
body.member-shell .favorite-topbar-link{color:#ef4444!important;background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.14);}
body.member-shell .favorite-topbar-link:hover{color:#dc2626!important;background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.24);}
body.member-shell .notif{cursor:pointer;}

body.member-shell .member-edit-profile-card{margin-top:16px;}
body.member-shell .profile-page .info-grid span{display:inline-flex;align-items:center;gap:7px;}
body.member-shell .profile-page .info-grid span .ti{--ti-size:1.05rem;color:var(--blue);}
body.member-shell .icon-form-grid{align-items:start;}
body.member-shell .icon-field{display:grid;gap:7px;margin-bottom:0;color:var(--muted);font-weight:850;font-size:12px;}
body.member-shell .icon-field.full-field{grid-column:1/-1;}
body.member-shell .field-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-weight:950;}
body.member-shell .field-label .ti{--ti-size:1.1rem;color:var(--blue);}
body.member-shell .input-icon-wrap{position:relative;display:block;}
body.member-shell .input-icon-wrap>.ti{position:absolute;left:13px;top:50%;transform:translateY(-50%);--ti-size:1.15rem;color:var(--muted);z-index:2;pointer-events:none;}
body.member-shell .input-icon-wrap input,
body.member-shell .input-icon-wrap select,
body.member-shell .input-icon-wrap textarea{padding-left:42px!important;margin-top:0!important;}
body.member-shell .input-icon-wrap.textarea-wrap>.ti{top:18px;transform:none;}
body.member-shell .input-icon-wrap textarea{min-height:120px;}

body.member-shell .member-notification-list{display:grid;gap:12px;}
body.member-shell .member-notification-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);text-decoration:none;box-shadow:0 12px 30px rgba(37,99,235,.06);transition:.2s ease;}
body.member-shell .member-notification-item:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(37,99,235,.11);}
body.member-shell .member-notification-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:rgba(37,99,235,.10);color:var(--blue);}
body.member-shell .member-notification-icon .ti{--ti-size:1.55rem;}
body.member-shell .member-notification-item strong{display:block;font-size:15px;font-weight:950;margin-bottom:3px;}
body.member-shell .member-notification-item small{display:block;color:var(--muted);font-weight:750;line-height:1.55;}
body.member-shell .member-notification-item.danger .member-notification-icon{background:rgba(239,68,68,.10);color:#dc2626;}
body.member-shell .member-notification-item.warning .member-notification-icon{background:rgba(245,158,11,.12);color:#d97706;}
body.member-shell .member-notification-item.info .member-notification-icon{background:rgba(37,99,235,.10);color:var(--blue);}

@media (max-width:640px){
  body.member-shell{padding-bottom:86px!important;}
  body.member-shell .app-main{padding:10px 10px 92px!important;}
  body.member-shell .app-topbar{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;}
  body.member-shell .app-topbar .topbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;width:auto!important;min-width:0!important;}
  body.member-shell .topbar-search-btn,
  body.member-shell .app-topbar .user-chip{display:none!important;}
  body.member-shell .app-topbar .theme-toggle,
  body.member-shell .app-topbar .topbar-icon-action{display:inline-grid!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:13px!important;}
  body.member-shell .app-topbar .theme-toggle .ti,
  body.member-shell .app-topbar .topbar-icon-action .ti{--ti-size:1.22rem!important;}

  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    left:50%!important;
    right:auto!important;
    bottom:10px!important;
    top:auto!important;
    width:calc(100vw - 20px)!important;
    max-width:560px!important;
    height:66px!important;
    min-height:66px!important;
    max-height:66px!important;
    padding:7px 8px!important;
    transform:translateX(-50%)!important;
    overflow:visible!important;
    border-radius:22px!important;
  }
  body.member-shell .side-nav{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    height:100%!important;
    width:100%!important;
    overflow:visible!important;
    padding:0!important;
    scroll-snap-type:none!important;
  }
  body.member-shell .side-nav a{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:16px!important;
    line-height:1!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{--ti-size:1.25rem!important;width:22px!important;height:22px!important;}
  body.member-shell .side-nav a.is-active:after{bottom:4px!important;width:4px!important;height:4px!important;}
  body.member-shell .member-notification-item{grid-template-columns:44px minmax(0,1fr) auto;padding:12px;border-radius:16px;}
  body.member-shell .member-notification-icon{width:44px;height:44px;border-radius:14px;}
  body.member-shell .member-notification-icon .ti{--ti-size:1.35rem;}
  body.member-shell .icon-form-grid{grid-template-columns:1fr!important;}
}

@media (max-width:360px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{width:calc(100vw - 14px)!important;bottom:7px!important;padding:7px 6px!important;}
  body.member-shell .side-nav{gap:2px!important;}
  body.member-shell .side-nav a{height:46px!important;max-width:44px!important;border-radius:15px!important;}
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{--ti-size:1.12rem!important;width:20px!important;height:20px!important;}
}

/* Final fix: bottom navigation HP muat semua icon, center, dan tidak terpotong */
@media (max-width:640px){
  body.member-shell{padding-bottom:82px!important;overflow-x:hidden!important;}
  body.member-shell .app-main{padding-bottom:88px!important;}
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    left:50%!important;
    right:auto!important;
    bottom:8px!important;
    top:auto!important;
    width:calc(100vw - 10px)!important;
    max-width:520px!important;
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:6px!important;
    transform:translateX(-50%)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border-radius:21px!important;
  }
  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    align-items:center!important;
    justify-items:stretch!important;
    gap:2px!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    scroll-snap-type:none!important;
  }
  body.member-shell .side-nav a{
    flex:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:48px!important;
    min-height:48px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:15px!important;
    box-sizing:border-box!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.16rem!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
  }
  body.member-shell .side-nav a.is-active:after{
    bottom:3px!important;
    width:4px!important;
    height:4px!important;
  }
}

@media (max-width:390px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    width:calc(100vw - 8px)!important;
    bottom:6px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    padding:5px!important;
    border-radius:19px!important;
  }
  body.member-shell .side-nav{gap:1px!important;}
  body.member-shell .side-nav a{
    height:46px!important;
    min-height:46px!important;
    border-radius:14px!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.05rem!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
  }
}

@media (max-width:330px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    width:calc(100vw - 6px)!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    padding:4px!important;
    border-radius:18px!important;
  }
  body.member-shell .side-nav{gap:0!important;}
  body.member-shell .side-nav a{
    height:44px!important;
    min-height:44px!important;
    border-radius:13px!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:.98rem!important;
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
  }
}

/* Final member mobile bottom-nav anti-cut + spacing refinement */
body.member-shell .admin-content,
body.member-shell .member-dashboard-page,
body.member-shell .member-profile-page,
body.member-shell .member-download-page,
body.member-shell .member-favorites-page,
body.member-shell .member-review-page,
body.member-shell .member-notification-page{
  display:grid!important;
  gap:24px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.member-shell .app-topbar{margin-bottom:22px!important;}
body.member-shell .panel-card,
body.member-shell .ep-card,
body.member-shell .content-card,
body.member-shell .collection-card,
body.member-shell .continue-book-card,
body.member-shell .kpi-card{
  min-width:0!important;
  box-sizing:border-box!important;
}
body.member-shell .panel-card,
body.member-shell .ep-card,
body.member-shell .content-card{padding:22px!important;}
body.member-shell .section-heading,
body.member-shell .member-panel-head,
body.member-shell .member-favorite-toolbar{
  gap:18px!important;
  margin-bottom:0!important;
}
body.member-shell .kpi-grid,
body.member-shell .ep-kpi-grid,
body.member-shell .member-borrow-fine-row,
body.member-shell .member-loan-grid,
body.member-shell .continue-reading-grid,
body.member-shell .member-favorite-grid,
body.member-shell .member-recommend-grid,
body.member-shell .member-review-grid,
body.member-shell .quick-grid,
body.member-shell .info-grid,
body.member-shell .form-grid,
body.member-shell .profile-page{
  gap:20px!important;
}
body.member-shell .member-table-card .table-responsive-pro,
body.member-shell .panel-card:has(.data-table){
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:6px!important;
}
body.member-shell .data-table{margin:0!important;}
body.member-shell .member-empty-state{gap:18px!important;}
body.member-shell .profile-summary{gap:14px!important;}
body.member-shell .icon-form-grid{gap:18px!important;}

@media (max-width:640px){
  html,body.member-shell{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  body.member-shell{
    padding-bottom:calc(106px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.member-shell .app-wrapper-pro{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body.member-shell .app-main{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:12px 14px calc(114px + env(safe-area-inset-bottom, 0px))!important;
    overflow-x:hidden!important;
  }
  body.member-shell .app-topbar{
    margin-bottom:18px!important;
    border-radius:20px!important;
    overflow:visible!important;
  }
  body.member-shell .admin-content,
  body.member-shell .member-dashboard-page,
  body.member-shell .member-profile-page,
  body.member-shell .member-download-page,
  body.member-shell .member-favorites-page,
  body.member-shell .member-review-page,
  body.member-shell .member-notification-page{
    gap:18px!important;
  }
  body.member-shell .panel-card,
  body.member-shell .ep-card,
  body.member-shell .content-card{
    padding:18px!important;
    border-radius:22px!important;
  }
  body.member-shell .section-heading,
  body.member-shell .member-panel-head,
  body.member-shell .member-favorite-toolbar{
    display:grid!important;
    gap:12px!important;
  }
  body.member-shell .kpi-grid,
  body.member-shell .ep-kpi-grid,
  body.member-shell .member-borrow-fine-row,
  body.member-shell .member-loan-grid,
  body.member-shell .member-review-grid,
  body.member-shell .quick-grid,
  body.member-shell .info-grid,
  body.member-shell .form-grid,
  body.member-shell .profile-page{
    gap:14px!important;
  }
  body.member-shell .member-favorite-grid,
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{
    gap:12px!important;
  }

  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px))!important;
    top:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    padding:9px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    transform:none!important;
    border-radius:24px!important;
    border:1px solid rgba(148,163,184,.28)!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 20px 46px rgba(15,23,42,.18)!important;
    backdrop-filter:blur(18px)!important;
    z-index:999!important;
  }
  body.member-shell.theme-dark .app-sidebar,
  body.theme-dark.member-shell .app-sidebar{
    background:rgba(15,27,43,.96)!important;
    border-color:rgba(148,163,184,.18)!important;
  }
  body.member-shell .app-sidebar .brand-lockup{display:none!important;}
  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:4px!important;
    align-items:center!important;
    justify-items:center!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  body.member-shell .side-nav a{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:52px!important;
    min-height:52px!important;
    padding:0!important;
    margin:0!important;
    gap:0!important;
    border-radius:17px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    color:var(--muted)!important;
  }
  body.member-shell .side-nav a .member-nav-label{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.18rem!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
    display:grid!important;
    place-items:center!important;
    color:currentColor!important;
  }
  body.member-shell .side-nav a.is-active,
  body.member-shell .side-nav a:hover{
    background:rgba(37,99,235,.12)!important;
    color:var(--blue)!important;
    border-color:rgba(37,99,235,.18)!important;
    box-shadow:none!important;
  }
  body.member-shell .side-nav a.is-active:after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    bottom:5px!important;
    width:4px!important;
    height:4px!important;
    border-radius:999px!important;
    background:var(--blue)!important;
    transform:translateX(-50%)!important;
  }
}

@media (max-width:380px){
  body.member-shell .app-main{padding-left:10px!important;padding-right:10px!important;}
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    left:10px!important;
    right:10px!important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px))!important;
    height:66px!important;
    min-height:66px!important;
    max-height:66px!important;
    padding:7px!important;
    border-radius:22px!important;
  }
  body.member-shell .side-nav{gap:2px!important;}
  body.member-shell .side-nav a{
    height:48px!important;
    min-height:48px!important;
    border-radius:15px!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.04rem!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
  }
}

@media (max-width:330px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    left:8px!important;
    right:8px!important;
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:6px!important;
    border-radius:20px!important;
  }
  body.member-shell .side-nav{gap:1px!important;}
  body.member-shell .side-nav a{
    height:44px!important;
    min-height:44px!important;
    border-radius:14px!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:.96rem!important;
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
    min-height:16px!important;
  }
}

/* === Member final polish: no-cut mobile nav, Bootstrap modal profile, toast, SweetAlert === */
.pdp-toast-stack{position:fixed;right:18px;top:18px;z-index:5000;display:grid;gap:10px;width:min(360px,calc(100vw - 28px));pointer-events:none;}
.pdp-toast{display:grid;gap:4px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid rgba(148,163,184,.22);box-shadow:0 20px 48px rgba(15,23,42,.18);transform:translateY(-10px);opacity:0;transition:.24s ease;pointer-events:auto;}
.pdp-toast.show{opacity:1;transform:translateY(0);}
.pdp-toast strong{font-size:13px;font-weight:950;color:#0f172a;}
.pdp-toast span{font-size:13px;font-weight:750;color:#64748b;line-height:1.5;}
.pdp-toast.success{border-left:5px solid #10b981;}
.pdp-toast.error{border-left:5px solid #ef4444;}
.theme-dark .pdp-toast{background:#0f1b2b;border-color:rgba(148,163,184,.18);}
.theme-dark .pdp-toast strong{color:#f8fafc;}.theme-dark .pdp-toast span{color:#cbd5e1;}

.swal2-lite-backdrop{position:fixed;inset:0;z-index:5100;display:grid;place-items:center;padding:18px;background:rgba(15,23,42,.46);opacity:0;transition:.18s ease;}
.swal2-lite-backdrop.show{opacity:1;}
.swal2-lite-box{width:min(420px,100%);display:grid;justify-items:center;text-align:center;gap:12px;padding:26px;border-radius:26px;background:var(--surface,#fff);border:1px solid var(--line,rgba(148,163,184,.24));box-shadow:0 30px 80px rgba(2,6,23,.28);color:var(--text,#0f172a);}
.swal2-lite-box h3{margin:0;font-size:22px;font-weight:950;letter-spacing:-.03em;}.swal2-lite-box p{margin:0;color:var(--muted,#64748b);font-weight:750;line-height:1.65;}
.swal2-lite-icon{width:58px;height:58px;border-radius:999px;display:grid;place-items:center;font-size:30px;font-weight:950;}
.swal2-lite-icon.success{background:rgba(16,185,129,.12);color:#059669;}.swal2-lite-icon.error{background:rgba(239,68,68,.12);color:#dc2626;}.swal2-lite-icon.warning{background:rgba(245,158,11,.14);color:#d97706;}.swal2-lite-icon.info{background:rgba(37,99,235,.12);color:#2563eb;}
.swal2-lite-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:4px;}.swal2-lite-btn{min-height:42px;padding:10px 16px;border-radius:14px;border:1px solid var(--line,rgba(148,163,184,.28));font-weight:950;cursor:pointer;}.swal2-lite-btn.confirm{background:#2563eb;color:#fff;border-color:#2563eb;}.swal2-lite-btn.cancel{background:var(--surface-2,#f8fafc);color:var(--muted,#64748b);}
.swal2-lite-spinner{width:40px;height:40px;border-radius:999px;border:4px solid rgba(37,99,235,.16);border-top-color:#2563eb;animation:pdp-spin .8s linear infinite;}@keyframes pdp-spin{to{transform:rotate(360deg)}}

body.member-shell .member-bootstrap-modal.modal{display:none;position:fixed;z-index:4000;inset:0;overflow-x:hidden;overflow-y:auto;background:rgba(15,23,42,.50);padding:22px;}
body.member-shell .member-bootstrap-modal.modal.in,body.member-shell .member-bootstrap-modal.modal.show{display:block;}
body.member-shell .member-bootstrap-modal .modal-dialog{width:min(920px,100%);margin:32px auto;}
body.member-shell .member-bootstrap-modal .modal-content{position:relative;padding:0!important;border-radius:28px!important;box-shadow:0 30px 80px rgba(15,23,42,.24)!important;overflow:hidden;}
body.member-shell .member-bootstrap-modal .modal-header,body.member-shell .member-bootstrap-modal .modal-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border:0;border-bottom:1px solid var(--line);}
body.member-shell .member-bootstrap-modal .modal-footer{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end;}
body.member-shell .member-bootstrap-modal .modal-title{display:flex;align-items:center;gap:10px;margin:0;font-weight:950;letter-spacing:-.025em;}
body.member-shell .member-bootstrap-modal .modal-header p{margin:5px 0 0;color:var(--muted);font-weight:750;line-height:1.55;}
body.member-shell .member-bootstrap-modal .modal-body{padding:22px;}
body.member-shell .member-bootstrap-modal .close{width:42px;height:42px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--text);font-size:26px;line-height:1;display:grid;place-items:center;opacity:1;}
body.member-shell .member-bootstrap-modal .close span{line-height:1;}
body.member-shell .member-profile-card{display:grid;gap:0;}
body.member-shell .profile-avatar-panel{display:grid;align-content:start;justify-items:center;gap:14px;}
body.member-shell .profile-info-section{display:grid;gap:12px;min-width:0;}
body.member-shell .profile-info-section h3{margin:0;font-size:20px;font-weight:950;letter-spacing:-.025em;}
body.member-shell .member-profile-info-grid div{display:grid!important;gap:7px!important;align-content:start!important;}
body.member-shell .member-profile-info-grid span{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;line-height:1.35!important;}
body.member-shell .member-profile-info-grid strong{display:block!important;margin:0!important;line-height:1.55!important;word-break:break-word!important;color:var(--text)!important;}
body.member-shell .member-profile-ajax-form .btn[disabled]{opacity:.65;cursor:wait;}

@media (max-width:640px){
  .pdp-toast-stack{left:12px;right:12px;top:12px;width:auto;}
  body.member-shell{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden!important;}
  body.member-shell .app-main{padding:12px 12px calc(112px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden!important;}
  body.member-shell .app-sidebar,body.member-shell.sidebar-open .app-sidebar{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
    top:auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:70px!important;
    min-height:70px!important;
    max-height:70px!important;
    margin:0!important;
    padding:8px!important;
    transform:none!important;
    display:block!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    border-radius:24px!important;
    z-index:9999!important;
  }
  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:4px!important;
    align-items:center!important;
    justify-items:center!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  body.member-shell .side-nav a{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:52px!important;
    min-height:52px!important;
    padding:0!important;
    margin:0!important;
    border-radius:16px!important;
    overflow:visible!important;
  }
  body.member-shell .side-nav a .member-nav-icon,body.member-shell .side-nav a .ti{--ti-size:1.15rem!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;}
  body.member-shell .app-topbar .topbar-actions{gap:6px!important;}
  body.member-shell .app-topbar .theme-toggle,body.member-shell .app-topbar .topbar-icon-action{width:36px!important;height:36px!important;min-width:36px!important;border-radius:12px!important;}
  body.member-shell .member-bootstrap-modal.modal{padding:10px;}
  body.member-shell .member-bootstrap-modal .modal-dialog{margin:14px auto 96px;}
  body.member-shell .member-bootstrap-modal .modal-header,body.member-shell .member-bootstrap-modal .modal-footer{padding:16px;}
  body.member-shell .member-bootstrap-modal .modal-body{padding:16px;}
  body.member-shell .member-bootstrap-modal .modal-footer{display:grid;grid-template-columns:1fr;}
  body.member-shell .profile-page{gap:18px!important;}
  body.member-shell .member-profile-info-grid{grid-template-columns:1fr!important;gap:12px!important;}
}
@media (max-width:360px){
  body.member-shell .app-sidebar,body.member-shell.sidebar-open .app-sidebar{left:8px!important;right:8px!important;height:66px!important;min-height:66px!important;max-height:66px!important;padding:7px!important;border-radius:22px!important;}
  body.member-shell .side-nav{gap:2px!important;}
  body.member-shell .side-nav a{height:50px!important;min-height:50px!important;border-radius:15px!important;}
  body.member-shell .side-nav a .member-nav-icon,body.member-shell .side-nav a .ti{--ti-size:1rem!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;}
}

/* === FINAL MEMBER FIX: modal profile, avatar data, notification dropdown, chat admin, responsive mobile === */
body.member-shell .member-avatar-holder{display:inline-grid;place-items:center;flex:0 0 auto;line-height:1;}
body.member-shell .member-avatar-holder img,
body.member-shell .member-avatar-fallback{display:grid;place-items:center;object-fit:cover;overflow:hidden;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:var(--blue);border:1px solid rgba(37,99,235,.13);box-shadow:0 10px 24px rgba(37,99,235,.08);}
body.member-shell .member-avatar-fallback.avatar-sm,
body.member-shell .member-avatar-holder .avatar-sm{width:34px!important;height:34px!important;border-radius:50%!important;}
body.member-shell .member-avatar-fallback.avatar-lg,
body.member-shell .member-avatar-holder .avatar-lg{width:110px!important;height:110px!important;border-radius:30px!important;}
body.member-shell .member-avatar-fallback .ti{--ti-size:1.35rem;}
body.member-shell .member-avatar-fallback.avatar-lg .ti{--ti-size:3.1rem;}
body.member-shell .user-chip-name{display:inline-block;max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

body.member-shell .member-notification-dropdown-wrap{position:relative;display:inline-grid;place-items:center;}
body.member-shell .member-notification-dropdown{position:absolute;right:0;top:calc(100% + 12px);width:min(380px,calc(100vw - 24px));display:none;z-index:4200;padding:12px;border-radius:22px;background:var(--surface);border:1px solid var(--line);box-shadow:0 28px 76px rgba(15,23,42,.22);}
body.member-shell .member-notification-dropdown-wrap.is-open .member-notification-dropdown{display:block;animation:pdpDrop .16s ease both;}
@keyframes pdpDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
body.member-shell .member-notif-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 6px 10px;border-bottom:1px solid var(--line);}
body.member-shell .member-notif-head strong{font-size:15px;font-weight:950;color:var(--text);}
body.member-shell .member-notif-head a{font-size:12px;font-weight:950;color:var(--blue);text-decoration:none;}
body.member-shell .member-notif-list{display:grid;gap:8px;max-height:360px;overflow:auto;padding-top:10px;}
body.member-shell .member-notif-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;padding:11px;border-radius:16px;text-decoration:none;color:var(--text);border:1px solid transparent;background:var(--surface-2);}
body.member-shell .member-notif-item:hover{border-color:rgba(37,99,235,.18);background:rgba(37,99,235,.08);}
body.member-shell .member-notif-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(37,99,235,.11);color:var(--blue);}
body.member-shell .member-notif-item.danger .member-notif-icon{background:rgba(239,68,68,.12);color:#dc2626;}
body.member-shell .member-notif-item.warning .member-notif-icon{background:rgba(245,158,11,.14);color:#d97706;}
body.member-shell .member-notif-item strong{display:block;font-size:13px;font-weight:950;line-height:1.35;}
body.member-shell .member-notif-item small{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:750;line-height:1.45;}
body.member-shell .member-notif-empty{display:grid;justify-items:center;text-align:center;gap:8px;padding:24px 10px;color:var(--muted);font-weight:850;}
body.member-shell .member-notif-empty .ti{--ti-size:2.2rem;color:var(--blue);}

body.member-shell .member-bootstrap-modal.modal{display:none!important;position:fixed!important;inset:0!important;z-index:5000!important;overflow-x:hidden!important;overflow-y:auto!important;background:rgba(15,23,42,.52)!important;padding:22px!important;}
body.member-shell .member-bootstrap-modal.modal.in,
body.member-shell .member-bootstrap-modal.modal.show{display:block!important;}
body.member-shell.modal-open{overflow:hidden!important;}
body.member-shell .member-bootstrap-modal .modal-dialog{width:min(920px,100%)!important;margin:34px auto!important;transform:none!important;}
body.member-shell .member-bootstrap-modal .modal-content{border:1px solid var(--line)!important;border-radius:28px!important;background:var(--surface)!important;color:var(--text)!important;box-shadow:0 30px 90px rgba(15,23,42,.28)!important;overflow:hidden!important;}
body.member-shell .member-bootstrap-modal .form-grid.icon-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
body.member-shell .member-bootstrap-modal .full-field{grid-column:1/-1!important;}
body.member-shell .icon-field{margin:0!important;}
body.member-shell .field-label{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:7px!important;color:var(--muted)!important;font-weight:950!important;}
body.member-shell .input-icon-wrap{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:0 12px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important;}
body.member-shell .input-icon-wrap>.ti{color:var(--muted)!important;--ti-size:1.2rem!important;}
body.member-shell .input-icon-wrap input,
body.member-shell .input-icon-wrap textarea{border:0!important;background:transparent!important;box-shadow:none!important;padding:12px 0!important;margin:0!important;}
body.member-shell .input-icon-wrap.textarea-wrap{align-items:start!important;padding-top:12px!important;}
body.member-shell .input-icon-wrap.textarea-wrap textarea{padding-top:0!important;}

body.member-shell .member-profile-info-grid div{padding:16px!important;border-radius:18px!important;}
body.member-shell .member-profile-info-grid span{display:flex!important;align-items:center!important;gap:8px!important;color:var(--muted)!important;font-size:12px!important;font-weight:950!important;text-transform:none!important;}
body.member-shell .member-profile-info-grid strong{display:block!important;margin-top:3px!important;font-size:15px!important;font-weight:900!important;}

body.member-shell .member-chat-page{display:grid;gap:20px;}
body.member-shell .member-chat-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;}
body.member-shell .member-chat-hero h2{margin:10px 0 6px;font-size:clamp(26px,3.4vw,44px);font-weight:950;letter-spacing:-.045em;}
body.member-shell .member-chat-hero p{margin:0;color:var(--muted);font-weight:750;line-height:1.7;}
body.member-shell .member-chat-hero-icon{display:grid;place-items:center;width:92px;height:92px;border-radius:28px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--teal));box-shadow:0 22px 48px rgba(37,99,235,.20);}
body.member-shell .member-chat-box{height:min(58vh,520px);min-height:360px;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(248,250,252,.78),rgba(255,255,255,.94));}
body.member-shell .member-chat-bubble{width:fit-content;max-width:min(78%,620px);padding:12px 14px;border-radius:18px;margin:9px 0;font-weight:800;line-height:1.55;box-shadow:0 12px 26px rgba(15,23,42,.06);}
body.member-shell .member-chat-bubble.member{margin-left:auto;background:linear-gradient(135deg,var(--blue),#0ea5e9);color:#fff;border-bottom-right-radius:6px;}
body.member-shell .member-chat-bubble.admin{background:var(--surface);border:1px solid var(--line);color:var(--text);border-bottom-left-radius:6px;}
body.member-shell .member-chat-bubble small{display:block;margin-top:5px;opacity:.78;font-size:11px;font-weight:800;}
body.member-shell .member-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:14px;}
body.member-shell .member-chat-form input{min-height:48px;border-radius:16px;}

/* Jarak aman untuk semua card, table, form dan grid member */
body.member-shell .admin-content{display:grid!important;gap:20px!important;}
body.member-shell .panel-card + .panel-card,
body.member-shell .content-card + .content-card{margin-top:0!important;}
body.member-shell .kpi-grid,
body.member-shell .collection-grid,
body.member-shell .featured-grid,
body.member-shell .quick-grid,
body.member-shell .info-grid,
body.member-shell .form-grid{gap:18px!important;}
body.member-shell .data-table{border-spacing:0!important;}
body.member-shell .table-responsive-pro{margin-top:10px;}

@media (max-width:900px){
  body.member-shell .member-chat-hero{grid-template-columns:1fr;}
  body.member-shell .member-chat-hero-icon{width:76px;height:76px;border-radius:24px;}
  body.member-shell .member-bootstrap-modal .form-grid.icon-form-grid{grid-template-columns:1fr!important;}
}

@media (max-width:640px){
  body.member-shell{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden!important;}
  body.member-shell .app-main{width:100%!important;max-width:100vw!important;padding:12px 12px calc(104px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden!important;}
  body.member-shell .app-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px!important;border-radius:18px!important;margin-bottom:16px!important;}
  body.member-shell .app-topbar h1{font-size:20px!important;line-height:1.2!important;}
  body.member-shell .app-topbar .breadcrumb-soft{font-size:11px!important;}
  body.member-shell .topbar-actions{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;gap:6px!important;flex-wrap:nowrap!important;}
  body.member-shell .topbar-actions .btn,
  body.member-shell .topbar-actions .user-chip{display:none!important;}
  body.member-shell .topbar-actions .notif{display:grid!important;}
  body.member-shell .app-topbar .theme-toggle,
  body.member-shell .app-topbar .topbar-icon-action,
  body.member-shell .app-topbar .notif{width:36px!important;height:36px!important;min-width:36px!important;border-radius:13px!important;}
  body.member-shell .member-notification-dropdown{position:fixed!important;top:66px!important;left:12px!important;right:12px!important;width:auto!important;max-height:70vh!important;overflow:auto!important;}

  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
    top:auto!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    min-width:0!important;
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    margin:0!important;
    padding:7px 6px!important;
    overflow:visible!important;
    transform:none!important;
    border-radius:22px!important;
    display:block!important;
    box-sizing:border-box!important;
    z-index:9999!important;
  }
  body.member-shell .app-sidebar .brand-lockup{display:none!important;}
  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:repeat(var(--member-nav-count,9),minmax(0,1fr))!important;
    align-items:center!important;
    justify-items:center!important;
    gap:2px!important;
    width:100%!important;
    height:100%!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  body.member-shell .side-nav a{
    width:100%!important;
    max-width:42px!important;
    min-width:0!important;
    height:52px!important;
    min-height:52px!important;
    padding:0!important;
    margin:0 auto!important;
    display:grid!important;
    place-items:center!important;
    border-radius:16px!important;
    overflow:visible!important;
  }
  body.member-shell .side-nav a .member-nav-label{display:none!important;}
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{--ti-size:1.1rem!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;display:grid!important;place-items:center!important;}
  body.member-shell .side-nav a.is-active:after{bottom:4px!important;width:4px!important;height:4px!important;}

  body.member-shell .section-heading,
  body.member-shell .member-panel-head,
  body.member-shell .member-favorite-toolbar{display:grid!important;gap:10px!important;align-items:start!important;}
  body.member-shell .section-heading .btn,
  body.member-shell .member-panel-head .btn{width:100%!important;}
  body.member-shell .panel-card{padding:16px!important;border-radius:20px!important;}
  body.member-shell .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid,
  body.member-shell .member-favorite-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
  body.member-shell .continue-book-cover,
  body.member-shell .member-favorite-grid .collection-card .book-cover,
  body.member-shell .member-recommend-grid .collection-card .book-cover{height:118px!important;margin:8px 8px 0!important;border-radius:14px!important;padding:10px!important;}
  body.member-shell .continue-book-cover strong,
  body.member-shell .collection-card .book-cover strong{font-size:11px!important;line-height:1.15!important;-webkit-line-clamp:3!important;}
  body.member-shell .continue-book-cover span,
  body.member-shell .collection-card .book-cover span{font-size:9px!important;}
  body.member-shell .collection-body,
  body.member-shell .continue-book-body{padding:9px!important;gap:5px!important;}
  body.member-shell .collection-body h3,
  body.member-shell .continue-book-body h4{font-size:11px!important;line-height:1.25!important;margin:0!important;-webkit-line-clamp:2!important;}
  body.member-shell .collection-body p,
  body.member-shell .continue-book-body p,
  body.member-shell .continue-book-body .chip{font-size:9px!important;}
  body.member-shell .card-actions,
  body.member-shell .continue-book-actions{display:none!important;}
  body.member-shell .member-empty-state{grid-template-columns:1fr!important;gap:12px!important;}
  body.member-shell .member-chat-box{min-height:330px;height:52vh;padding:12px;border-radius:18px;}
  body.member-shell .member-chat-bubble{max-width:88%;font-size:13px;}
  body.member-shell .member-chat-form{grid-template-columns:1fr!important;}
  body.member-shell .member-bootstrap-modal.modal{padding:8px!important;}
  body.member-shell .member-bootstrap-modal .modal-dialog{margin:10px auto calc(92px + env(safe-area-inset-bottom,0px))!important;}
  body.member-shell .member-bootstrap-modal .modal-header,
  body.member-shell .member-bootstrap-modal .modal-body,
  body.member-shell .member-bootstrap-modal .modal-footer{padding:14px!important;}
}

@media (max-width:360px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{left:6px!important;right:6px!important;width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:64px!important;min-height:64px!important;max-height:64px!important;padding:6px 4px!important;}
  body.member-shell .side-nav{gap:1px!important;}
  body.member-shell .side-nav a{height:48px!important;max-width:36px!important;border-radius:14px!important;}
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{--ti-size:1rem!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;}
  body.member-shell .app-topbar .theme-toggle,
  body.member-shell .app-topbar .topbar-icon-action,
  body.member-shell .app-topbar .notif{width:34px!important;height:34px!important;min-width:34px!important;}
}
body.member-shell .member-avatar-fallback:empty:before,
body.member-shell .member-avatar-fallback .ti:empty:before{content:"";display:block;width:1.35rem;height:1.35rem;background:currentColor;-webkit-mask:url('../../tabler-icons/outline/user.svg') center/contain no-repeat;mask:url('../../tabler-icons/outline/user.svg') center/contain no-repeat;}
body.member-shell .member-avatar-fallback.avatar-lg:empty:before{width:3.1rem;height:3.1rem;}
/* Modal dan alert harus di atas bottom navigation mobile */
body.member-shell .member-bootstrap-modal.modal{z-index:12000!important;}
.swal2-lite-backdrop{z-index:13000!important;}
.pdp-toast-stack{z-index:14000!important;}

/* FINAL FIX Bootstrap 4 modal, member responsiveness, chat DB UI, academic spacing */
body.member-shell{overflow-x:hidden!important;}
body.member-shell .app-wrapper-pro,body.member-shell .app-main,body.member-shell .admin-content{min-width:0!important;}
body.member-shell .admin-content{gap:24px!important;}
body.member-shell .panel-card{margin-bottom:0!important;}
body.member-shell .panel-card,.content-card{overflow:visible;}
body.member-shell .member-bootstrap-modal.modal{position:fixed!important;inset:0!important;z-index:12000!important;overflow-x:hidden!important;overflow-y:auto!important;background:rgba(15,23,42,.22);}
body.member-shell .member-bootstrap-modal.modal.fade:not(.show):not(.in){display:none;}
body.member-shell .modal-backdrop{z-index:11990!important;}
body.member-shell.modal-open .app-sidebar{z-index:9000!important;}
body.member-shell .member-bootstrap-modal .modal-dialog{max-width:880px;width:calc(100% - 32px);margin:32px auto!important;pointer-events:auto;}
body.member-shell .member-bootstrap-modal .modal-content{display:flex!important;flex-direction:column!important;width:100%!important;max-height:calc(100vh - 64px)!important;overflow:hidden!important;border:1px solid var(--line)!important;border-radius:24px!important;background:var(--surface)!important;box-shadow:0 34px 90px rgba(15,23,42,.28)!important;}
body.member-shell .member-bootstrap-modal .modal-body{overflow:auto!important;}
body.member-shell .member-bootstrap-modal .close{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:14px!important;border:1px solid var(--line)!important;background:var(--surface-2)!important;color:var(--text)!important;opacity:1!important;font-size:26px!important;line-height:1!important;}
body.member-shell .member-bootstrap-modal .form-grid.icon-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
body.member-shell .member-bootstrap-modal .icon-field.full-field{grid-column:1/-1!important;}
body.member-shell .member-bootstrap-modal .input-icon-wrap{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:9px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important;padding:0 12px!important;min-width:0!important;}
body.member-shell .member-bootstrap-modal .input-icon-wrap>.ti{color:var(--muted)!important;flex:0 0 auto!important;}
body.member-shell .member-bootstrap-modal .input-icon-wrap input,body.member-shell .member-bootstrap-modal .input-icon-wrap textarea{border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:12px 0!important;min-width:0!important;}
body.member-shell .member-bootstrap-modal .textarea-wrap{align-items:start!important;padding-top:8px!important;}
body.member-shell .member-bootstrap-modal .textarea-wrap>.ti{margin-top:10px!important;}

body.member-shell .member-profile-info-grid.member-academic-grid{display:grid!important;grid-template-columns:repeat(5,minmax(140px,1fr))!important;gap:16px!important;align-items:stretch!important;}
body.member-shell .member-profile-info-grid.member-academic-grid>div{min-height:112px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:10px!important;padding:18px!important;border-radius:20px!important;}
body.member-shell .member-profile-info-grid.member-academic-grid span{display:flex!important;align-items:center!important;gap:8px!important;white-space:normal!important;}
body.member-shell .member-profile-info-grid.member-academic-grid strong{display:block!important;margin:0!important;font-size:16px!important;line-height:1.35!important;}

body.member-shell .member-chat-card{overflow:visible!important;}
body.member-shell .member-chat-box{scroll-behavior:smooth!important;}
body.member-shell .member-chat-form{align-items:center!important;}
body.member-shell .member-chat-form input{min-width:0!important;}
body.member-shell .member-chat-form button{min-width:112px!important;}

@media (max-width:1080px){
  body.member-shell .member-profile-info-grid.member-academic-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:760px){
  body.member-shell .admin-content{gap:18px!important;}
  body.member-shell .panel-card{padding:16px!important;border-radius:20px!important;}
  body.member-shell .member-profile-info-grid.member-academic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.member-shell .member-profile-info-grid.member-academic-grid>div{min-height:96px!important;padding:14px!important;}
}
@media (max-width:640px){
  body.member-shell .app-main{padding-left:12px!important;padding-right:12px!important;max-width:100vw!important;}
  body.member-shell .app-topbar{max-width:100%!important;overflow:visible!important;}
  body.member-shell .member-bootstrap-modal .modal-dialog{width:calc(100% - 16px)!important;margin:8px auto calc(92px + env(safe-area-inset-bottom,0px))!important;}
  body.member-shell .member-bootstrap-modal .modal-content{max-height:calc(100vh - 108px - env(safe-area-inset-bottom,0px))!important;border-radius:20px!important;}
  body.member-shell .member-bootstrap-modal .form-grid.icon-form-grid{grid-template-columns:1fr!important;gap:12px!important;}
  body.member-shell .member-bootstrap-modal .modal-header,body.member-shell .member-bootstrap-modal .modal-body,body.member-shell .member-bootstrap-modal .modal-footer{padding:14px!important;}
  body.member-shell .member-bootstrap-modal .modal-footer{display:grid!important;grid-template-columns:1fr!important;}
  body.member-shell .member-bootstrap-modal .modal-footer .btn{width:100%!important;}
  body.member-shell .member-profile-info-grid.member-academic-grid{grid-template-columns:1fr!important;}
  body.member-shell .member-chat-hero{gap:12px!important;}
  body.member-shell .member-chat-box{height:50vh!important;min-height:310px!important;max-height:480px!important;}
  body.member-shell .member-chat-form{grid-template-columns:1fr!important;gap:10px!important;}
  body.member-shell .member-chat-form button{width:100%!important;}
}

/* === FINAL PATCH: chat fixed, modal edit profile precision, responsive member spacing === */
body.member-shell .member-bootstrap-modal .modal-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  align-items:start!important;
  gap:14px!important;
}
body.member-shell .member-bootstrap-modal .modal-header>div{min-width:0!important;}
body.member-shell .member-bootstrap-modal .modal-header .close{
  position:relative!important;
  top:0!important;
  right:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  align-self:start!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:14px!important;
  font-size:28px!important;
  line-height:1!important;
  text-shadow:none!important;
}
body.member-shell .member-bootstrap-modal .modal-header .close span{
  display:block!important;
  width:1em!important;
  height:1em!important;
  line-height:.9!important;
  text-align:center!important;
}
body.member-shell .member-bootstrap-modal .field-label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-bottom:8px!important;
  font-size:12px!important;
  font-weight:950!important;
  color:var(--muted)!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap{
  position:relative!important;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:50px!important;
  padding:0 14px!important;
  overflow:hidden!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap>.ti{
  position:static!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  z-index:1!important;
  pointer-events:none!important;
  display:inline-grid!important;
  place-items:center!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap input,
body.member-shell .member-bootstrap-modal .input-icon-wrap select,
body.member-shell .member-bootstrap-modal .input-icon-wrap textarea{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  padding:13px 0!important;
  padding-left:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  line-height:1.45!important;
  position:static!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap input::placeholder,
body.member-shell .member-bootstrap-modal .input-icon-wrap textarea::placeholder{
  color:#94a3b8!important;
  opacity:1!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap.textarea-wrap{
  align-items:start!important;
  padding-top:12px!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap.textarea-wrap>.ti{
  margin-top:8px!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap.textarea-wrap textarea{
  min-height:104px!important;
  resize:vertical!important;
}
body.member-shell .member-profile-info-grid.member-academic-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(145px,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.member-shell .member-profile-info-grid.member-academic-grid>div{
  margin:0!important;
  min-width:0!important;
}
body.member-shell .member-chat-card,
body.member-shell .member-profile-card,
body.member-shell .member-chat-page,
body.member-shell .member-profile-page{
  min-width:0!important;
}
body.member-shell .member-chat-box{
  width:100%!important;
  max-width:100%!important;
}
body.member-shell .member-chat-bubble{word-break:break-word!important;}
@media (max-width:1100px){
  body.member-shell .member-profile-info-grid.member-academic-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:760px){
  body.member-shell .admin-content{padding:0!important;gap:18px!important;}
  body.member-shell .panel-card{padding:16px!important;border-radius:20px!important;}
  body.member-shell .section-heading{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  body.member-shell .section-heading .btn{width:100%!important;justify-content:center!important;}
  body.member-shell .profile-page{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;}
  body.member-shell .profile-avatar-panel{width:100%!important;}
  body.member-shell .member-profile-info-grid.member-academic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.member-shell .member-bootstrap-modal .modal-dialog{width:calc(100vw - 18px)!important;margin:9px auto calc(98px + env(safe-area-inset-bottom,0px))!important;}
  body.member-shell .member-bootstrap-modal .modal-content{max-height:calc(100vh - 114px - env(safe-area-inset-bottom,0px))!important;}
  body.member-shell .member-bootstrap-modal .modal-header{grid-template-columns:minmax(0,1fr) 38px!important;gap:10px!important;}
  body.member-shell .member-bootstrap-modal .modal-header .close{width:38px!important;height:38px!important;min-width:38px!important;}
  body.member-shell .member-bootstrap-modal .modal-title{font-size:18px!important;line-height:1.25!important;}
  body.member-shell .member-bootstrap-modal .modal-header p{font-size:12px!important;}
}
@media (max-width:420px){
  body.member-shell .member-profile-info-grid.member-academic-grid{grid-template-columns:1fr!important;}
  body.member-shell .member-bootstrap-modal .modal-dialog{width:calc(100vw - 12px)!important;margin:6px auto calc(96px + env(safe-area-inset-bottom,0px))!important;}
  body.member-shell .member-bootstrap-modal .modal-header,
  body.member-shell .member-bootstrap-modal .modal-body,
  body.member-shell .member-bootstrap-modal .modal-footer{padding:12px!important;}
  body.member-shell .member-bootstrap-modal .input-icon-wrap{grid-template-columns:20px minmax(0,1fr)!important;gap:8px!important;min-height:48px!important;padding:0 12px!important;}
  body.member-shell .member-bootstrap-modal .input-icon-wrap>.ti{width:20px!important;height:20px!important;min-width:20px!important;}
}

/* === FINAL PATCH: profile modal save button + member catalog mobile nav === */
body.member-shell .member-bootstrap-modal .modal-footer{
  position:sticky!important;
  bottom:0!important;
  z-index:5!important;
  background:var(--surface)!important;
  box-shadow:0 -12px 28px rgba(15,23,42,.06)!important;
}
body.member-shell .member-profile-save-btn{
  min-width:150px!important;
  font-weight:950!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap input,
body.member-shell .member-bootstrap-modal .input-icon-wrap textarea,
body.member-shell .member-bootstrap-modal .input-icon-wrap select{
  text-indent:0!important;
  padding-left:0!important;
  margin-left:0!important;
}
body.member-shell .member-bootstrap-modal .input-icon-wrap input[type="file"]{
  padding-top:11px!important;
  padding-bottom:11px!important;
  font-size:13px!important;
}
body.member-shell .member-bootstrap-modal .modal-header .close{
  box-sizing:border-box!important;
  text-align:center!important;
}
body.member-shell .member-bootstrap-modal .modal-header .close span{
  transform:translateY(-1px)!important;
}
body.member-shell .catalog-showcase-hero,
body.member-shell .catalog-layout,
body.member-shell .category-strip.container-wide{
  width:100%!important;
  max-width:100%!important;
}
body.member-shell .catalog-showcase-hero{padding-top:4px!important;}
body.member-shell .catalog-layout.upgraded{gap:22px!important;}
@media (max-width:640px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    left:10px!important;
    right:10px!important;
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    height:66px!important;
    min-height:66px!important;
    max-height:66px!important;
    padding:6px!important;
    overflow:hidden!important;
    border-radius:22px!important;
  }
  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:repeat(var(--member-nav-count,9),minmax(0,1fr))!important;
    gap:1px!important;
    width:100%!important;
    height:100%!important;
    align-items:center!important;
    justify-items:stretch!important;
    overflow:hidden!important;
  }
  body.member-shell .side-nav a{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
    padding:0!important;
    border-radius:15px!important;
    display:grid!important;
    place-items:center!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.02rem!important;
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
  }
  body.member-shell .member-bootstrap-modal .modal-footer{
    position:sticky!important;
    bottom:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body.member-shell .member-profile-save-btn{width:100%!important;min-width:0!important;}
  body.member-shell .catalog-showcase-hero.container-wide,
  body.member-shell .category-strip.container-wide,
  body.member-shell .catalog-layout.container-wide{
    width:100%!important;
    margin-inline:0!important;
  }
  body.member-shell .catalog-layout.upgraded{grid-template-columns:1fr!important;gap:16px!important;}
  body.member-shell .filter-panel{position:static!important;top:auto!important;}
}
@media (max-width:360px){
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    left:6px!important;
    right:6px!important;
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:5px!important;
    border-radius:20px!important;
  }
  body.member-shell .side-nav a{height:50px!important;border-radius:13px!important;}
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:.92rem!important;
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    min-height:15px!important;
  }
}


/* FINAL: chat icon dipindah ke topbar, bottom navigation HP tanpa chat, avatar akun lebih stabil */
body.member-shell .chat-topbar-link{color:#2563eb!important;background:rgba(37,99,235,.08);border-color:rgba(37,99,235,.14);}
body.member-shell .chat-topbar-link:hover{color:#1d4ed8!important;background:rgba(37,99,235,.13);border-color:rgba(37,99,235,.24);}
body.member-shell .member-avatar-holder img,
body.member-shell .user-chip img,
body.member-shell img[data-profile-avatar]{display:block!important;width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:center;background:var(--surface-2);}
body.member-shell .profile-avatar-holder img,
body.member-shell img.avatar-lg[data-profile-avatar]{width:110px!important;height:110px!important;border-radius:30px!important;}
body.member-shell .member-avatar-fallback{display:grid!important;place-items:center!important;}
@media (max-width:640px){
  body.member-shell .topbar-actions{gap:6px!important;}
  body.member-shell .chat-topbar-link{display:inline-grid!important;}
  body.member-shell .side-nav a[data-member-nav-key="chat"]{display:none!important;}
  body.member-shell .side-nav{grid-template-columns:repeat(8,minmax(0,1fr))!important;}
  body.member-shell .app-sidebar{height:68px!important;min-height:68px!important;max-height:68px!important;}
}
@media (max-width:360px){
  body.member-shell .app-topbar .theme-toggle,
  body.member-shell .app-topbar .topbar-icon-action,
  body.member-shell .app-topbar .notif{width:32px!important;height:32px!important;min-width:32px!important;border-radius:11px!important;}
  body.member-shell .app-topbar .theme-toggle .ti,
  body.member-shell .app-topbar .topbar-icon-action .ti,
  body.member-shell .app-topbar .notif .ti{--ti-size:1.02rem!important;}
}

/* FINAL FIX: avatar tetap tampil setelah refresh dan bottom nav HP tanpa icon love */
body.member-shell .member-avatar-holder.is-avatar-empty{position:relative;display:inline-grid!important;place-items:center!important;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:var(--blue);border:1px solid rgba(37,99,235,.13);box-shadow:0 10px 24px rgba(37,99,235,.08);overflow:hidden;}
body.member-shell .member-avatar-holder.is-avatar-empty::before{content:"";display:block;width:1.35rem;height:1.35rem;background:currentColor;-webkit-mask:url('../../tabler-icons/outline/user.svg') center/contain no-repeat;mask:url('../../tabler-icons/outline/user.svg') center/contain no-repeat;}
body.member-shell .member-avatar-holder.is-avatar-empty:has(.avatar-lg),
body.member-shell .profile-avatar-holder.is-avatar-empty{width:110px!important;height:110px!important;border-radius:30px!important;}
body.member-shell .profile-avatar-holder.is-avatar-empty::before{width:3.1rem;height:3.1rem;}
body.member-shell .user-chip .member-avatar-holder.is-avatar-empty,
body.member-shell .app-topbar .member-avatar-holder.is-avatar-empty{width:34px!important;height:34px!important;border-radius:50%!important;}
@media (max-width:640px){
  body.member-shell .side-nav a[data-member-nav-key="favorites"]{display:none!important;}
  body.member-shell .side-nav a[data-member-nav-key="chat"]{display:none!important;}
  body.member-shell .side-nav{grid-template-columns:repeat(7,minmax(0,1fr))!important;}
}
@media (max-width:360px){
  body.member-shell .side-nav{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:2px!important;}
}
body.member-shell .profile-summary-avatar.is-avatar-empty{width:34px!important;height:34px!important;border-radius:50%!important;}

/* =============================================================
   FINAL TABLET FIX: tablet member area mengikuti layout desktop
   - >=641px tetap sidebar kiri, bukan bottom nav/drawer
   - breakpoint tablet tidak men-stack topbar, dashboard, katalog, dan grid
   - HP <=640px tetap memakai bottom navigation yang sudah ada
   ============================================================= */
@media (min-width:641px) and (max-width:1180px){
  body.member-shell{
    padding-bottom:0!important;
    overflow-x:hidden!important;
  }
  body.member-shell .app-wrapper-pro{
    --member-sidebar-width:clamp(238px,24vw,270px)!important;
    display:grid!important;
    grid-template-columns:var(--member-sidebar-width) minmax(0,1fr)!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100vh!important;
    overflow-x:hidden!important;
  }
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    grid-column:1!important;
    grid-row:1!important;
    position:sticky!important;
    left:auto!important;
    right:auto!important;
    top:0!important;
    bottom:auto!important;
    width:var(--member-sidebar-width)!important;
    min-width:var(--member-sidebar-width)!important;
    max-width:var(--member-sidebar-width)!important;
    height:100vh!important;
    min-height:100vh!important;
    max-height:100vh!important;
    padding:18px!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:18px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    transform:none!important;
    border-radius:0!important;
    border-right:1px solid var(--line)!important;
    border-bottom:0!important;
    box-shadow:10px 0 34px rgba(37,99,235,.06)!important;
    z-index:35!important;
  }
  body.member-shell .app-sidebar .brand-lockup{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
  }
  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  body.member-shell .side-nav a,
  body.member-shell .side-nav a[data-member-nav-key="favorites"],
  body.member-shell .side-nav a[data-member-nav-key="chat"]{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    place-items:initial!important;
    gap:11px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:46px!important;
    padding:11px 12px!important;
    margin:0!important;
    border-radius:15px!important;
    overflow:hidden!important;
    line-height:1.2!important;
    white-space:normal!important;
    color:var(--text)!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.35rem!important;
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    display:grid!important;
    place-items:center!important;
    color:var(--blue)!important;
  }
  body.member-shell .side-nav a .member-nav-label{
    position:static!important;
    display:block!important;
    width:auto!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    clip:auto!important;
    white-space:normal!important;
    border:0!important;
    text-overflow:ellipsis!important;
  }
  body.member-shell .side-nav a.is-active,
  body.member-shell .side-nav a:hover{
    background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(20,184,166,.08))!important;
    color:var(--blue)!important;
    border-color:rgba(37,99,235,.16)!important;
  }
  body.member-shell .side-nav a.is-active:after{display:none!important;content:none!important;}
  body.member-shell .admin-backdrop,
  body.member-shell.sidebar-open .admin-backdrop{display:none!important;}
  body.member-shell .sidebar-toggle{display:none!important;}

  body.member-shell .app-main{
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:18px!important;
    overflow-x:hidden!important;
  }
  body.member-shell .app-topbar{
    position:sticky!important;
    top:12px!important;
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:14px 18px!important;
    margin-bottom:22px!important;
    border-radius:var(--radius)!important;
    overflow:visible!important;
  }
  body.member-shell .app-topbar>div:nth-child(2){
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
  }
  body.member-shell .app-topbar h1{
    font-size:24px!important;
    line-height:1.2!important;
  }
  body.member-shell .topbar-actions,
  body.member-shell .app-topbar .topbar-actions{
    grid-column:auto!important;
    grid-row:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    width:auto!important;
    min-width:0!important;
  }
  body.member-shell .topbar-actions .btn,
  body.member-shell .topbar-search-btn{
    display:inline-flex!important;
    width:auto!important;
  }
  body.member-shell .topbar-actions .user-chip,
  body.member-shell .app-topbar .user-chip{
    display:inline-flex!important;
    max-width:190px!important;
  }
  body.member-shell .topbar-actions .notif,
  body.member-shell .app-topbar .notif,
  body.member-shell .app-topbar .theme-toggle,
  body.member-shell .app-topbar .topbar-icon-action{
    display:inline-grid!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:13px!important;
  }
  body.member-shell .member-notification-dropdown{
    position:absolute!important;
    top:calc(100% + 12px)!important;
    left:auto!important;
    right:0!important;
    width:min(380px,calc(100vw - 24px))!important;
    max-height:none!important;
  }

  body.member-shell .admin-content,
  body.member-shell .member-dashboard-page,
  body.member-shell .member-profile-page,
  body.member-shell .member-download-page,
  body.member-shell .member-favorites-page,
  body.member-shell .member-review-page,
  body.member-shell .member-notification-page{
    display:grid!important;
    gap:24px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.member-shell .section-heading,
  body.member-shell .member-panel-head,
  body.member-shell .member-favorite-toolbar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
  }
  body.member-shell .section-heading .btn,
  body.member-shell .member-panel-head .btn,
  body.member-shell .member-favorite-toolbar .btn,
  body.member-shell .detail-favorite-row .btn{
    width:auto!important;
  }
  body.member-shell .panel-card,
  body.member-shell .content-card,
  body.member-shell .ep-card{
    padding:22px!important;
    border-radius:var(--radius)!important;
  }
  body.member-shell .dashboard-row,
  body.member-shell .dashboard-row.two-one{
    display:grid!important;
    grid-template-columns:minmax(0,2fr) minmax(280px,1fr)!important;
    gap:16px!important;
  }
  body.member-shell .dashboard-row:not(.two-one){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.member-shell .kpi-grid,
  body.member-shell .ep-kpi-grid{
    grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important;
    gap:15px!important;
  }
  body.member-shell .quick-grid{
    grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  }
  body.member-shell .info-grid{
    grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important;
  }
  body.member-shell .form-grid,
  body.member-shell .member-bootstrap-modal .form-grid.icon-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.member-shell .profile-page{
    display:grid!important;
    grid-template-columns:220px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
  }
  body.member-shell .profile-page aside{
    justify-items:start!important;
    text-align:left!important;
  }
  body.member-shell .profile-summary{
    width:auto!important;
    display:flex!important;
  }

  body.member-shell .member-borrow-fine-row{
    grid-template-columns:minmax(0,1fr) minmax(320px,1fr)!important;
    gap:22px!important;
  }
  body.member-shell .member-loan-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
  }
  body.member-shell .member-favorite-grid{
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;
    gap:20px!important;
  }
  body.member-shell .member-review-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
  }
  body.member-shell .collection-body p,
  body.member-shell .continue-book-body p,
  body.member-shell .continue-book-body small{
    display:block!important;
  }
  body.member-shell .continue-book-body>.chip,
  body.member-shell .member-favorite-grid .meta-row,
  body.member-shell .member-recommend-grid .meta-row{
    display:flex!important;
  }
  body.member-shell .card-actions,
  body.member-shell .continue-book-actions{
    display:flex!important;
  }
  body.member-shell .continue-book-actions{display:grid!important;grid-template-columns:1fr 1fr!important;}
  body.member-shell .member-favorite-grid .collection-card .book-cover,
  body.member-shell .member-recommend-grid .collection-card .book-cover{
    height:225px!important;
    margin:18px 18px 0!important;
    padding:20px!important;
    border-radius:19px!important;
  }
  body.member-shell .continue-book-cover{
    height:210px!important;
    margin:14px!important;
    padding:16px!important;
    border-radius:20px!important;
  }
  body.member-shell .collection-body,
  body.member-shell .continue-book-body{
    padding:0 16px 16px!important;
    gap:8px!important;
  }
  body.member-shell .collection-body h3,
  body.member-shell .continue-book-body h4{
    font-size:16px!important;
    line-height:1.3!important;
  }
  body.member-shell .collection-card .book-cover strong,
  body.member-shell .continue-book-cover strong{
    font-size:18px!important;
    line-height:1.15!important;
  }
  body.member-shell .member-profile-info-grid.member-academic-grid{
    grid-template-columns:repeat(5,minmax(120px,1fr))!important;
    gap:18px!important;
  }
  body.member-shell .reader-grid{
    grid-template-columns:minmax(0,1fr) 320px!important;
  }
  body.member-shell .reader-progress-card{
    position:sticky!important;
    top:102px!important;
  }
  body.member-shell .member-chat-hero{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  body.member-shell .member-chat-form{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  body.member-shell .catalog-layout.upgraded,
  body.member-shell .catalog-layout{
    grid-template-columns:290px minmax(0,1fr)!important;
    gap:22px!important;
  }
  body.member-shell .filter-panel{
    position:sticky!important;
    top:102px!important;
  }
}

@media (min-width:641px) and (max-width:860px){
  body.member-shell .topbar-search-btn{display:none!important;}
  body.member-shell .user-chip-name{max-width:92px!important;}
  body.member-shell .dashboard-row:not(.two-one),
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.member-shell .member-profile-info-grid.member-academic-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* =============================================================
   TABLET PORTRAIT HARD FIX 768-800px
   Tujuan: tampilan member tetap rapi di 768x1024 s/d 800x1280.
   Sidebar tetap ada di kiri, tetapi dibuat compact agar konten tidak
   terpotong. Grid besar diturunkan kolomnya agar tidak overlap.
   ============================================================= */
@media (min-width:641px) and (max-width:860px){
  html, body.pdp-app,
  body.member-shell{
    width:100%!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
  }

  body.member-shell .app-wrapper-pro{
    --member-sidebar-width:86px!important;
    display:grid!important;
    grid-template-columns:86px minmax(0,1fr)!important;
    width:100%!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
    align-items:stretch!important;
  }

  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    position:sticky!important;
    top:0!important;
    left:auto!important;
    bottom:auto!important;
    width:86px!important;
    min-width:86px!important;
    max-width:86px!important;
    height:100vh!important;
    min-height:100vh!important;
    max-height:100vh!important;
    padding:14px 10px!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    transform:none!important;
    border-radius:0!important;
    border-right:1px solid var(--line)!important;
    border-bottom:0!important;
    box-shadow:8px 0 26px rgba(15,23,42,.055)!important;
    z-index:35!important;
  }

  body.member-shell .app-sidebar .brand-lockup{
    justify-content:center!important;
    gap:0!important;
    width:100%!important;
  }
  body.member-shell .app-sidebar .brand-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
  }
  body.member-shell .app-sidebar .brand-mark{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:17px!important;
  }

  body.member-shell .side-nav{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  body.member-shell .side-nav a,
  body.member-shell .side-nav a[data-member-nav-key="favorites"],
  body.member-shell .side-nav a[data-member-nav-key="chat"]{
    display:grid!important;
    place-items:center!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:50px!important;
    height:50px!important;
    padding:0!important;
    margin:0!important;
    border-radius:16px!important;
    overflow:hidden!important;
    line-height:1!important;
  }
  body.member-shell .side-nav a .member-nav-icon,
  body.member-shell .side-nav a .ti{
    --ti-size:1.35rem!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    margin:0!important;
  }
  body.member-shell .side-nav a .member-nav-label{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.member-shell .sidebar-toggle,
  body.member-shell .admin-backdrop,
  body.member-shell.sidebar-open .admin-backdrop{
    display:none!important;
  }

  body.member-shell .app-main{
    grid-column:2!important;
    width:100%!important;
    max-width:calc(100vw - 86px)!important;
    min-width:0!important;
    padding:14px!important;
    margin:0!important;
    overflow-x:hidden!important;
  }
  body.member-shell .admin-content,
  body.member-shell .member-dashboard-page,
  body.member-shell .member-profile-page,
  body.member-shell .member-download-page,
  body.member-shell .member-favorites-page,
  body.member-shell .member-reviews-page,
  body.member-shell .member-review-page,
  body.member-shell .member-notifications-page,
  body.member-shell .member-chat-page,
  body.member-shell .member-reader-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:18px!important;
  }

  body.member-shell .app-topbar{
    position:sticky!important;
    top:10px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    justify-content:normal!important;
    gap:10px 12px!important;
    width:100%!important;
    max-width:100%!important;
    padding:12px!important;
    margin:0 0 18px!important;
    border-radius:20px!important;
    overflow:visible!important;
  }
  body.member-shell .app-topbar>div:nth-child(2){
    min-width:0!important;
    overflow:hidden!important;
  }
  body.member-shell .app-topbar h1{
    margin:0!important;
    font-size:clamp(20px,3vw,23px)!important;
    line-height:1.2!important;
    letter-spacing:-.025em!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.member-shell .app-topbar .breadcrumb-soft{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.member-shell .topbar-actions,
  body.member-shell .app-topbar .topbar-actions{
    grid-column:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:auto!important;
    min-width:0!important;
  }
  body.member-shell .topbar-search-btn{
    display:none!important;
  }
  body.member-shell .app-topbar .theme-toggle,
  body.member-shell .app-topbar .topbar-icon-action,
  body.member-shell .app-topbar .notif{
    display:inline-grid!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:13px!important;
  }
  body.member-shell .app-topbar .user-chip{
    display:inline-flex!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    padding:4px!important;
    justify-content:center!important;
    overflow:hidden!important;
    border-radius:999px!important;
  }
  body.member-shell .app-topbar .user-chip-name{
    display:none!important;
  }
  body.member-shell .member-notification-dropdown{
    position:fixed!important;
    top:76px!important;
    left:100px!important;
    right:14px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 100px)!important;
    overflow:auto!important;
  }

  body.member-shell .section-heading,
  body.member-shell .member-panel-head,
  body.member-shell .member-favorite-toolbar{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.member-shell .section-heading>div,
  body.member-shell .member-panel-head>div,
  body.member-shell .member-favorite-toolbar>div{
    min-width:0!important;
    max-width:100%!important;
  }
  body.member-shell .section-heading h1,
  body.member-shell .section-heading h2,
  body.member-shell .section-heading h3,
  body.member-shell .member-panel-head h3,
  body.member-shell .member-favorite-toolbar h3{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }
  body.member-shell .section-heading .btn,
  body.member-shell .member-panel-head .btn,
  body.member-shell .member-favorite-toolbar .btn{
    width:auto!important;
    max-width:100%!important;
    white-space:normal!important;
  }

  body.member-shell .panel-card,
  body.member-shell .content-card,
  body.member-shell .glass-card,
  body.member-shell .ep-card,
  body.member-shell .member-table-card,
  body.member-shell .member-chat-card,
  body.member-shell .member-profile-card,
  body.member-shell .member-favorite-toolbar{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:18px!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  body.member-shell .member-chat-card,
  body.member-shell .member-table-card,
  body.member-shell .member-profile-card{
    overflow:visible!important;
  }

  body.member-shell .kpi-grid,
  body.member-shell .ep-kpi-grid,
  body.member-shell .member-kpi-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.member-shell .kpi-card{
    min-width:0!important;
    padding:16px!important;
    overflow:hidden!important;
  }
  body.member-shell .kpi-card strong,
  body.member-shell .kpi-card span{
    overflow-wrap:anywhere!important;
  }

  body.member-shell .dashboard-row,
  body.member-shell .dashboard-row.two-one,
  body.member-shell .member-borrow-fine-row,
  body.member-shell .reader-grid,
  body.member-shell .catalog-layout,
  body.member-shell .catalog-layout.upgraded,
  body.member-shell .profile-page,
  body.member-shell .member-chat-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body.member-shell .filter-panel,
  body.member-shell .reader-progress-card{
    position:static!important;
    top:auto!important;
    width:100%!important;
    max-width:100%!important;
  }

  body.member-shell .member-loan-grid,
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid,
  body.member-shell .member-favorite-grid,
  body.member-shell .member-review-grid,
  body.member-shell .featured-grid,
  body.member-shell .catalog-grid,
  body.member-shell .collection-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.member-shell .quick-grid,
  body.member-shell .info-grid,
  body.member-shell .member-profile-info-grid,
  body.member-shell .member-profile-info-grid.member-academic-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.member-shell .form-grid,
  body.member-shell .member-bootstrap-modal .form-grid.icon-form-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.member-shell .collection-card,
  body.member-shell .continue-book-card,
  body.member-shell .member-loan-card,
  body.member-shell .member-review-card{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.member-shell .member-loan-card{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:12px!important;
    padding:12px!important;
  }
  body.member-shell .member-loan-card .mini-cover{
    width:52px!important;
    height:70px!important;
    border-radius:15px!important;
  }

  body.member-shell .continue-book-cover,
  body.member-shell .member-favorite-grid .collection-card .book-cover,
  body.member-shell .member-recommend-grid .collection-card .book-cover,
  body.member-shell .catalog-grid .collection-card .book-cover{
    height:190px!important;
    margin:12px 12px 0!important;
    padding:14px!important;
    border-radius:17px!important;
  }
  body.member-shell .collection-body,
  body.member-shell .continue-book-body{
    padding:14px!important;
    gap:8px!important;
    min-width:0!important;
  }
  body.member-shell .collection-body h3,
  body.member-shell .continue-book-body h4,
  body.member-shell .member-review-book h3,
  body.member-shell .member-loan-card h4{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.member-shell .card-actions,
  body.member-shell .continue-book-actions,
  body.member-shell .member-review-actions,
  body.member-shell .detail-favorite-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }
  body.member-shell .card-actions .btn,
  body.member-shell .continue-book-actions .btn,
  body.member-shell .member-review-actions .btn,
  body.member-shell .detail-favorite-row .btn{
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
  }

  body.member-shell .profile-page aside{
    justify-items:center!important;
    text-align:center!important;
  }
  body.member-shell .profile-avatar-panel{
    width:100%!important;
    max-width:100%!important;
  }
  body.member-shell .profile-summary,
  body.member-shell .download-summary-card,
  body.member-shell .review-summary-card,
  body.member-shell .favorite-summary-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:12px!important;
  }

  body.member-shell .table-responsive-pro,
  body.member-shell .panel-card:has(.data-table),
  body.member-shell .member-table-card{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.member-shell .data-table,
  body.member-shell .rich-table,
  body.member-shell .member-download-table{
    width:100%!important;
    min-width:680px!important;
    white-space:nowrap!important;
  }

  body.member-shell .member-empty-state,
  body.member-shell .member-notification-item{
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.member-shell .member-empty-state .btn,
  body.member-shell .member-notification-item .btn{
    grid-column:1/-1!important;
    width:100%!important;
  }

  body.member-shell .member-chat-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    width:100%!important;
  }
  body.member-shell .member-chat-form input{min-width:0!important;}
  body.member-shell .member-chat-bubble{max-width:86%!important;word-break:break-word!important;}
  body.member-shell .pdf-reader-frame{
    width:100%!important;
    height:62vh!important;
    min-height:520px!important;
  }
}

@media (min-width:641px) and (max-width:760px){
  body.member-shell .member-loan-grid,
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid,
  body.member-shell .member-favorite-grid,
  body.member-shell .member-review-grid,
  body.member-shell .featured-grid,
  body.member-shell .catalog-grid,
  body.member-shell .collection-grid,
  body.member-shell .quick-grid,
  body.member-shell .info-grid,
  body.member-shell .member-profile-info-grid,
  body.member-shell .member-profile-info-grid.member-academic-grid,
  body.member-shell .kpi-grid,
  body.member-shell .ep-kpi-grid,
  body.member-shell .member-kpi-grid{
    grid-template-columns:1fr!important;
  }
}

@media (min-width:861px) and (max-width:1180px){
  body.member-shell .app-wrapper-pro{
    --member-sidebar-width:220px!important;
    grid-template-columns:220px minmax(0,1fr)!important;
  }
  body.member-shell .app-sidebar,
  body.member-shell.sidebar-open .app-sidebar{
    width:220px!important;
    min-width:220px!important;
    max-width:220px!important;
    padding:16px!important;
  }
  body.member-shell .app-main{
    max-width:calc(100vw - 220px)!important;
    padding:16px!important;
  }
  body.member-shell .topbar-search-btn{display:none!important;}
  body.member-shell .dashboard-row,
  body.member-shell .dashboard-row.two-one,
  body.member-shell .member-borrow-fine-row,
  body.member-shell .reader-grid{
    grid-template-columns:1fr!important;
  }
  body.member-shell .catalog-layout,
  body.member-shell .catalog-layout.upgraded{
    grid-template-columns:240px minmax(0,1fr)!important;
    gap:18px!important;
  }
  body.member-shell .continue-reading-grid,
  body.member-shell .member-recommend-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.member-shell .member-favorite-grid,
  body.member-shell .catalog-grid,
  body.member-shell .collection-grid{
    grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;
  }
}

/* Public/catalog pages on tablet portrait: jaga jarak dan cegah overflow */
@media (min-width:641px) and (max-width:860px){
  .container-wide,
  .site-header{
    width:calc(100% - 28px)!important;
    max-width:100%!important;
  }
  .header-row,
  .section-heading,
  .result-toolbar{
    gap:12px!important;
  }
  .hero-section,
  .catalog-showcase-hero,
  .guide-hero,
  .detail-layout,
  .transaction-layout{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  .catalog-layout,
  .catalog-layout.upgraded{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .filter-panel,
  .digital-filter-card,
  .journal-side,
  .thesis-guide-card{
    position:static!important;
    top:auto!important;
  }
  .catalog-grid,
  .featured-grid,
  .collection-grid,
  .repository-card-grid,
  .page-feature-strip,
  .guide-card-grid,
  .steps-timeline,
  .faq-section{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  .panel-card,
  .content-card,
  .collection-card{
    min-width:0!important;
    max-width:100%!important;
  }
  .book-cover{
    min-width:0!important;
    overflow:hidden!important;
  }
  .card-actions,
  .cta-row{
    flex-wrap:wrap!important;
    gap:10px!important;
  }
  .data-table,
  .rich-table{
    min-width:680px!important;
  }
}

/* =============================================================
   TABLET NOTIFICATION DROPDOWN FIX
   - panel notifikasi tetap muncul di tablet portrait/landscape
   - tidak terpotong oleh topbar, content, atau sidebar compact
   ============================================================= */
@media (min-width:641px) and (max-width:1180px){
  body.member-shell .app-main,
  body.member-shell .admin-content{
    overflow:visible!important;
  }
  body.member-shell .app-topbar{
    overflow:visible!important;
    z-index:9800!important;
    isolation:isolate!important;
  }
  body.member-shell .topbar-actions,
  body.member-shell .member-notification-dropdown-wrap{
    overflow:visible!important;
  }
  body.member-shell .member-notification-dropdown-wrap{
    position:relative!important;
    z-index:9900!important;
  }
  body.member-shell .member-notification-dropdown,
  body.member-shell .member-notification-dropdown-wrap.is-open .member-notification-dropdown{
    display:none;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:99990!important;
    box-sizing:border-box!important;
  }
  body.member-shell .member-notification-dropdown-wrap.is-open .member-notification-dropdown{
    display:block!important;
  }
  body.member-shell .member-notif-list{
    max-height:calc(100vh - 170px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.member-shell .member-notif-item,
  body.member-shell .member-notif-empty{
    min-width:0!important;
  }
}
@media (min-width:641px) and (max-width:1180px){
  body.member-shell .app-main,
  body.member-shell .admin-content{
    overflow-x:hidden!important;
  }
}

/* Brand copy comes from the database-backed application settings. */
.brand-text strong,.brand-text small{display:block}
.brand-text strong{font:inherit;font-weight:950}
.brand-text small{margin-top:3px;color:var(--muted);font-size:10px;font-weight:750;line-height:1.2;letter-spacing:0}
.theme-dark .brand-text small{color:#94a3b8}
.brand-mark.has-image{overflow:hidden;background:#fff!important;border:1px solid rgba(148,163,184,.32);box-shadow:none!important}
.brand-mark.has-image:before,.brand-mark.has-image>span{display:none!important}
.brand-logo-image{display:block;width:100%;height:100%;padding:4px;object-fit:contain;border-radius:inherit}
.settings-logo-upload{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center;margin:8px 0 16px;padding:14px;border:1px dashed var(--line);border-radius:16px;background:var(--surface-2)}
.settings-logo-preview{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--blue)}
.settings-logo-preview img{width:100%;height:100%;padding:6px;object-fit:contain}
.settings-logo-preview .ti{--ti-size:2rem}
.settings-logo-controls{display:grid;gap:8px;min-width:0}
.settings-logo-controls input[type=file]{width:100%;padding:9px;background:var(--surface)}
.settings-logo-remove{display:flex!important;align-items:center;gap:8px;margin:0!important;font-size:12px!important}
.settings-logo-remove input{width:auto!important}
@media(max-width:520px){.settings-logo-upload{grid-template-columns:1fr}.settings-logo-preview{width:64px;height:64px}}

/* Member borrowing history: connected status overview, filters, and responsive records. */
body.member-shell .member-borrowings-page{display:grid;gap:20px;width:100%;min-width:0;padding-bottom:28px;color:var(--text)}
body.member-shell .member-borrowings-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;padding:24px;border:1px solid rgba(37,99,235,.2);border-radius:16px;background:linear-gradient(118deg,rgba(239,246,255,.98),rgba(255,255,255,.96) 62%,rgba(219,234,254,.72))}
body.member-shell .member-borrowings-intro-copy{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
body.member-shell .member-borrowings-intro-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;color:#fff;background:#2563eb}
body.member-shell .member-borrowings-intro-icon .ti{--ti-size:1.7rem}
body.member-shell .member-borrowings-intro h2{margin:0 0 5px;font-size:clamp(24px,2.6vw,36px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
body.member-shell .member-borrowings-intro p{max-width:66ch;margin:0;color:#526987;font-size:13px;font-weight:650;line-height:1.65;text-wrap:pretty}
body.member-shell .member-borrowings-intro-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}
body.member-shell .member-borrowings-intro-actions .btn{min-height:46px}
body.member-shell .member-borrowing-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body.member-shell .member-borrowing-summary button{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:86px;padding:14px;border:0;border-left:1px solid var(--line);color:var(--text);background:transparent;text-align:left;cursor:pointer;transition:background-color .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-borrowing-summary button:first-child{border-left:0}
body.member-shell .member-borrowing-summary button::after{content:"";position:absolute;right:12px;bottom:0;left:12px;height:3px;border-radius:999px 999px 0 0;background:var(--blue);opacity:0;transform:scaleX(.35);transition:opacity .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-borrowing-summary button.is-active{background:rgba(37,99,235,.065)}
body.member-shell .member-borrowing-summary button.is-active::after{opacity:1;transform:scaleX(1)}
body.member-shell .member-borrowing-summary button:active{transform:scale(.985)}
body.member-shell .member-borrowing-summary .summary-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#2563eb;background:#eaf2ff}
body.member-shell .member-borrowing-summary .summary-icon.is-cyan{color:#0e7490;background:#ecfeff}
body.member-shell .member-borrowing-summary .summary-icon.is-amber{color:#b45309;background:#fff7ed}
body.member-shell .member-borrowing-summary .summary-icon.is-red{color:#dc2626;background:#fef2f2}
body.member-shell .member-borrowing-summary .summary-icon.is-green{color:#047857;background:#ecfdf5}
body.member-shell .member-borrowing-summary small,body.member-shell .member-borrowing-summary strong{display:block;min-width:0}
body.member-shell .member-borrowing-summary small{overflow:hidden;color:var(--muted);font-size:10px;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-borrowing-summary strong{margin-top:3px;font-size:22px;line-height:1}
body.member-shell .member-borrowing-workspace{display:grid;gap:0;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body.member-shell .member-borrowing-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 20px;border-bottom:1px solid var(--line)}
body.member-shell .member-borrowing-heading{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
body.member-shell .member-borrowing-heading>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--blue);background:rgba(37,99,235,.1)}
body.member-shell .member-borrowing-heading h3{margin:0 0 2px;font-size:18px;letter-spacing:-.02em}
body.member-shell .member-borrowing-heading p{margin:0;color:var(--muted);font-size:11px;font-weight:700}
body.member-shell [data-borrowing-result]{display:inline-block;color:var(--blue);transition:transform .2s cubic-bezier(.16,1,.3,1)}
body.member-shell [data-borrowing-result].is-updating{transform:scale(1.08)}
body.member-shell .member-borrowing-sync{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:10px;font-weight:850;white-space:nowrap}
body.member-shell .member-borrowing-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(160px,.6fr) minmax(190px,.7fr) auto;align-items:end;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line);background:var(--surface-2)}
body.member-shell .member-borrowing-filters label{display:grid;gap:7px;margin:0;color:var(--text);font-size:11px;font-weight:850}
body.member-shell .member-borrowing-input-wrap{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;min-height:44px;padding:0 11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .18s cubic-bezier(.16,1,.3,1),box-shadow .18s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-borrowing-input-wrap:focus-within{border-color:rgba(37,99,235,.7);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
body.member-shell .member-borrowing-input-wrap>.ti{--ti-size:1.05rem;color:var(--blue)}
body.member-shell .member-borrowing-input-wrap input,body.member-shell .member-borrowing-input-wrap select{min-height:42px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px;font-weight:700}
body.member-shell .member-borrowing-input-wrap input::placeholder{color:#64748b;opacity:1}
body.member-shell .member-borrowing-reset{min-height:44px}
body.member-shell .member-borrowing-list{display:grid;gap:12px;padding:16px;scroll-margin-top:110px}
body.member-shell .member-borrowing-record{display:grid;grid-template-columns:78px minmax(0,1fr);gap:16px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--surface);transition:border-color .22s cubic-bezier(.16,1,.3,1),background-color .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-borrowing-record[hidden],body.member-shell .member-borrowing-empty[hidden],body.member-shell .member-borrowing-note[hidden]{display:none!important}
body.member-shell .member-borrowing-cover{position:relative;display:grid;place-items:center;width:78px;height:106px;overflow:hidden;border-radius:13px;color:#fff;background:#2563eb}
body.member-shell .member-borrowing-cover::after{content:"";position:absolute;right:-28px;bottom:-36px;width:78px;height:78px;border-radius:50%;background:rgba(255,255,255,.15)}
body.member-shell .member-borrowing-cover>span{position:relative;z-index:1}
body.member-shell .member-borrowing-cover>span .ti{--ti-size:1.75rem}
body.member-shell .member-borrowing-cover.has-image::after,body.member-shell .member-borrowing-cover.has-image>span{display:none}
body.member-shell .member-borrowing-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.member-shell .member-borrowing-record-main{display:grid;gap:13px;min-width:0}
body.member-shell .member-borrowing-record-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}
body.member-shell .member-borrowing-record-title>div{min-width:0}
body.member-shell .member-borrowing-code{display:inline-flex;align-items:center;gap:5px;color:var(--blue);font-size:9.5px;font-weight:850;letter-spacing:.035em}
body.member-shell .member-borrowing-code .ti{--ti-size:.9rem}
body.member-shell .member-borrowing-record h4{overflow:hidden;margin:4px 0 3px;color:var(--text);font-size:16px;line-height:1.35;letter-spacing:-.018em;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-borrowing-record-title p{overflow:hidden;margin:0;color:var(--muted);font-size:10.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-borrowing-status{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;padding:7px 9px;border-radius:999px;color:#0e7490;background:#ecfeff;font-size:10px;font-weight:850;white-space:nowrap}
body.member-shell .member-borrowing-status.is-pending{color:#b45309;background:#fff7ed}
body.member-shell .member-borrowing-status.is-overdue{color:#dc2626;background:#fef2f2}
body.member-shell .member-borrowing-status.is-returned{color:#047857;background:#ecfdf5}
body.member-shell .member-borrowing-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
body.member-shell .member-borrowing-dates>span{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:8px;min-width:0;padding:9px 11px;border-left:1px solid var(--line)}
body.member-shell .member-borrowing-dates>span:first-child{border-left:0}
body.member-shell .member-borrowing-dates i{display:grid;grid-row:1/3;place-items:center;width:28px;height:28px;border-radius:9px;color:var(--blue);background:rgba(37,99,235,.09);font-style:normal}
body.member-shell .member-borrowing-dates i .ti{--ti-size:.95rem}
body.member-shell .member-borrowing-dates small{color:var(--muted);font-size:8.5px;font-weight:750}
body.member-shell .member-borrowing-dates strong{overflow:hidden;color:var(--text);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-borrowing-record-foot{display:flex;align-items:center;gap:10px;min-width:0}
body.member-shell .member-borrowing-due,body.member-shell .member-borrowing-fine{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800}
body.member-shell .member-borrowing-due{color:#0e7490}
body.member-shell .member-borrowing-due.is-pending{color:#b45309}
body.member-shell .member-borrowing-due.is-overdue,body.member-shell .member-borrowing-fine{color:#dc2626}
body.member-shell .member-borrowing-due.is-returned{color:#047857}
body.member-shell .member-borrowing-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
body.member-shell .member-borrowing-link,body.member-shell .member-borrowing-detail-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px 0;border:0;color:var(--blue);background:transparent;font-size:10px;font-weight:850;cursor:pointer}
body.member-shell .member-borrowing-detail-toggle>span{display:grid;transition:transform .2s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-borrowing-detail-toggle[aria-expanded=true]>span{transform:rotate(180deg)}
body.member-shell .member-borrowing-note{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;padding:11px 12px;border-radius:12px;color:#355070;background:rgba(37,99,235,.065)}
body.member-shell .member-borrowing-note>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--blue);background:var(--surface)}
body.member-shell .member-borrowing-note strong{font-size:10.5px}
body.member-shell .member-borrowing-note p{margin:2px 0 0;font-size:10px;line-height:1.55}
body.member-shell .member-borrowing-empty{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:116px;padding:20px;border:1px dashed rgba(37,99,235,.28);border-radius:15px;background:rgba(239,246,255,.62)}
body.member-shell .member-borrowing-empty>span{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;color:var(--blue);background:rgba(37,99,235,.1)}
body.member-shell .member-borrowing-empty strong{display:block;margin-bottom:3px;font-size:15px}
body.member-shell .member-borrowing-empty p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
body.member-shell .member-borrowing-help{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 18px;border:1px solid rgba(37,99,235,.17);border-radius:15px;background:rgba(239,246,255,.68)}
body.member-shell .member-borrowing-help>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#b45309;background:#fff7ed}
body.member-shell .member-borrowing-help strong{display:block;margin-bottom:3px;font-size:13px}
body.member-shell .member-borrowing-help p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.55}
body.member-shell.theme-dark .member-borrowings-intro{border-color:#28456f;background:linear-gradient(118deg,#0d1d33,#102844 62%,#0c3158)}
body.member-shell.theme-dark .member-borrowings-intro p{color:#b7c7db}
body.member-shell.theme-dark .member-borrowing-summary .summary-icon.is-blue{color:#93c5fd;background:#142c50}
body.member-shell.theme-dark .member-borrowing-summary .summary-icon.is-cyan,body.member-shell.theme-dark .member-borrowing-status{color:#67e8f9;background:#0d3440}
body.member-shell.theme-dark .member-borrowing-summary .summary-icon.is-amber,body.member-shell.theme-dark .member-borrowing-status.is-pending,body.member-shell.theme-dark .member-borrowing-help>span{color:#fdba74;background:#422b14}
body.member-shell.theme-dark .member-borrowing-summary .summary-icon.is-red,body.member-shell.theme-dark .member-borrowing-status.is-overdue{color:#fca5a5;background:#441d25}
body.member-shell.theme-dark .member-borrowing-summary .summary-icon.is-green,body.member-shell.theme-dark .member-borrowing-status.is-returned,body.member-shell.theme-dark .member-borrowing-sync{color:#6ee7b7;background:#123b32}
body.member-shell.theme-dark .member-borrowing-note,body.member-shell.theme-dark .member-borrowing-empty,body.member-shell.theme-dark .member-borrowing-help{color:#dbeafe;background:#101f35}
@media(hover:hover) and (pointer:fine){body.member-shell .member-borrowing-summary button:hover{background:rgba(37,99,235,.055)}body.member-shell .member-borrowing-record:hover{border-color:rgba(37,99,235,.34);background:rgba(248,251,255,.86);transform:translateY(-2px)}body.member-shell.theme-dark .member-borrowing-record:hover{background:#0d1d31}body.member-shell .member-borrowing-link:hover,body.member-shell .member-borrowing-detail-toggle:hover{color:#1d4ed8}}
@media(prefers-reduced-motion:no-preference){body.member-shell .member-borrowings-intro{animation:memberBorrowingIntro .48s cubic-bezier(.16,1,.3,1) both}body.member-shell .member-borrowing-record{animation:memberBorrowingRecord .44s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--record-index) * 45ms)}body.member-shell .member-borrowing-note:not([hidden]){animation:memberBorrowingNote .24s cubic-bezier(.16,1,.3,1) both}@keyframes memberBorrowingIntro{from{opacity:.55;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes memberBorrowingRecord{from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes memberBorrowingNote{from{opacity:.45;transform:translateY(-5px)}to{opacity:1;transform:none}}}
@media(max-width:1180px){body.member-shell .member-borrowing-summary{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}body.member-shell .member-borrowing-summary button{flex:0 0 185px;scroll-snap-align:start}body.member-shell .member-borrowing-filters{grid-template-columns:minmax(230px,1fr) repeat(2,minmax(155px,.65fr));}body.member-shell .member-borrowing-reset{grid-column:1/-1;width:max-content}}
@media(max-width:820px){body.member-shell .member-borrowings-intro{align-items:flex-start;flex-direction:column}body.member-shell .member-borrowings-intro-actions{width:100%}body.member-shell .member-borrowings-intro-actions .btn{flex:1}body.member-shell .member-borrowing-filters{grid-template-columns:1fr 1fr}body.member-shell .member-borrowing-search{grid-column:1/-1}body.member-shell .member-borrowing-reset{grid-column:auto;width:100%}body.member-shell .member-borrowing-dates{grid-template-columns:1fr}body.member-shell .member-borrowing-dates>span{border-top:1px solid var(--line);border-left:0}body.member-shell .member-borrowing-dates>span:first-child{border-top:0}body.member-shell .member-borrowing-record-foot{align-items:flex-start;flex-wrap:wrap}body.member-shell .member-borrowing-actions{width:100%;margin-left:0}}
@media(max-width:560px){body.member-shell .member-borrowings-page{gap:14px;padding-bottom:18px}body.member-shell .member-borrowings-intro{padding:17px}body.member-shell .member-borrowings-intro-copy{grid-template-columns:46px minmax(0,1fr);gap:11px}body.member-shell .member-borrowings-intro-icon{width:46px;height:46px;border-radius:13px}body.member-shell .member-borrowings-intro h2{font-size:22px}body.member-shell .member-borrowings-intro p{font-size:11px}body.member-shell .member-borrowings-intro-actions{display:grid;grid-template-columns:1fr}body.member-shell .member-borrowing-workspace-head{align-items:flex-start;padding:15px;flex-direction:column}body.member-shell .member-borrowing-filters{grid-template-columns:1fr;padding:15px}body.member-shell .member-borrowing-search{grid-column:auto}body.member-shell .member-borrowing-list{padding:10px}body.member-shell .member-borrowing-record{grid-template-columns:58px minmax(0,1fr);gap:11px;padding:11px}body.member-shell .member-borrowing-cover{width:58px;height:82px;border-radius:11px}body.member-shell .member-borrowing-record-title{display:grid;gap:8px}body.member-shell .member-borrowing-status{width:max-content}body.member-shell .member-borrowing-record h4{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}body.member-shell .member-borrowing-dates{grid-column:1/-1}body.member-shell .member-borrowing-record-foot,body.member-shell .member-borrowing-note{grid-column:1/-1}body.member-shell .member-borrowing-actions{display:grid;grid-template-columns:1fr 1fr}body.member-shell .member-borrowing-empty,body.member-shell .member-borrowing-help{grid-template-columns:44px minmax(0,1fr);padding:15px}body.member-shell .member-borrowing-empty>span{width:44px;height:44px}body.member-shell .member-borrowing-empty .btn,body.member-shell .member-borrowing-help .btn{grid-column:1/-1;width:100%}}
@media(prefers-reduced-motion:reduce){body.member-shell .member-borrowing-summary button,body.member-shell .member-borrowing-record,body.member-shell .member-borrowing-detail-toggle>span,body.member-shell [data-borrowing-result]{animation:none!important;transition:none!important;transform:none!important}}

/* Member download history: searchable digital activity and adaptive file cards. */
body.member-shell .member-download-history-page{display:grid;gap:20px;width:100%;min-width:0;padding-bottom:28px;color:var(--text)}
body.member-shell .member-download-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;padding:24px;border:1px solid rgba(37,99,235,.2);border-radius:16px;background:linear-gradient(118deg,rgba(239,246,255,.98),rgba(255,255,255,.96) 62%,rgba(224,242,254,.78))}
body.member-shell .member-download-intro-copy{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
body.member-shell .member-download-intro-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;color:#fff;background:#2563eb}
body.member-shell .member-download-intro-icon .ti{--ti-size:1.75rem}
body.member-shell .member-download-intro h2{margin:0 0 5px;font-size:clamp(24px,2.6vw,36px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
body.member-shell .member-download-intro p{max-width:66ch;margin:0;color:#526987;font-size:13px;font-weight:650;line-height:1.65;text-wrap:pretty}
body.member-shell .member-download-intro-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}
body.member-shell .member-download-intro-actions .btn{min-height:46px}
body.member-shell .member-download-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body.member-shell .member-download-summary article{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;min-width:0;min-height:96px;padding:15px 16px;border-left:1px solid var(--line)}
body.member-shell .member-download-summary article:first-child{border-left:0}
body.member-shell .download-metric-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#2563eb;background:#eaf2ff}
body.member-shell .download-metric-icon.is-cyan{color:#0e7490;background:#ecfeff}
body.member-shell .download-metric-icon.is-violet{color:#6d28d9;background:#f5f3ff}
body.member-shell .download-metric-icon.is-green{color:#047857;background:#ecfdf5}
body.member-shell .member-download-summary small,body.member-shell .member-download-summary strong,body.member-shell .member-download-summary p{display:block;min-width:0}
body.member-shell .member-download-summary small{color:var(--muted);font-size:9.5px;font-weight:800}
body.member-shell .member-download-summary strong{overflow:hidden;margin-top:2px;font-size:21px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-download-summary strong.is-date{font-size:12px;line-height:1.35;white-space:normal}
body.member-shell .member-download-summary p{overflow:hidden;margin:3px 0 0;color:var(--muted);font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-download-workspace{display:grid;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body.member-shell .member-download-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 20px;border-bottom:1px solid var(--line)}
body.member-shell .member-download-heading{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
body.member-shell .member-download-heading>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--blue);background:rgba(37,99,235,.1)}
body.member-shell .member-download-heading h3{margin:0 0 2px;font-size:18px;letter-spacing:-.02em}
body.member-shell .member-download-heading p{margin:0;color:var(--muted);font-size:11px;font-weight:700}
body.member-shell [data-download-result]{display:inline-block;color:var(--blue);transition:transform .2s cubic-bezier(.16,1,.3,1)}
body.member-shell [data-download-result].is-updating{transform:scale(1.08)}
body.member-shell .member-download-sync{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:10px;font-weight:850;white-space:nowrap}
body.member-shell .member-download-filters{display:grid;grid-template-columns:minmax(240px,1.3fr) minmax(130px,.55fr) minmax(160px,.65fr) minmax(130px,.55fr) auto;align-items:end;gap:11px;padding:18px 20px;border-bottom:1px solid var(--line);background:var(--surface-2)}
body.member-shell .member-download-filters label{display:grid;gap:7px;margin:0;color:var(--text);font-size:10.5px;font-weight:850}
body.member-shell .member-download-input-wrap{display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:7px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .18s cubic-bezier(.16,1,.3,1),box-shadow .18s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-download-input-wrap:focus-within{border-color:rgba(37,99,235,.7);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
body.member-shell .member-download-input-wrap>.ti{--ti-size:1rem;color:var(--blue)}
body.member-shell .member-download-input-wrap input,body.member-shell .member-download-input-wrap select{min-height:42px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:11.5px;font-weight:700}
body.member-shell .member-download-input-wrap input::placeholder{color:#64748b;opacity:1}
body.member-shell .member-download-reset{min-height:44px}
body.member-shell .member-download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px;min-width:0;padding:16px;scroll-margin-top:110px}
body.member-shell .member-download-record{display:grid;grid-template-columns:94px minmax(0,1fr);gap:15px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface);transition:border-color .22s cubic-bezier(.16,1,.3,1),background-color .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-download-record[hidden],body.member-shell .member-download-empty[hidden]{display:none!important}
body.member-shell .member-download-cover{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:94px;min-height:132px;overflow:hidden;border-radius:13px;color:#fff;background:#2563eb;text-decoration:none}
body.member-shell .member-download-cover::after{content:"";position:absolute;right:-32px;bottom:-40px;width:94px;height:94px;border-radius:50%;background:rgba(255,255,255,.15)}
body.member-shell .member-download-cover>span,body.member-shell .member-download-cover>small{position:relative;z-index:1}
body.member-shell .member-download-cover>span .ti{--ti-size:2rem}
body.member-shell .member-download-cover>small{font-size:9px;font-weight:900;letter-spacing:.06em}
body.member-shell .member-download-cover.has-image::after,body.member-shell .member-download-cover.has-image>span,body.member-shell .member-download-cover.has-image>small{display:none}
body.member-shell .member-download-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.member-shell .member-download-record-body{display:grid;gap:10px;min-width:0}
body.member-shell .member-download-record-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.member-shell .member-download-type,body.member-shell .member-download-count{display:inline-flex;align-items:center;gap:6px;font-size:9.5px;font-weight:850}
body.member-shell .member-download-type{color:var(--blue)}
body.member-shell .member-download-count{padding:6px 8px;border-radius:999px;color:#0e7490;background:#ecfeff;white-space:nowrap}
body.member-shell .member-download-record-copy{min-width:0}
body.member-shell .member-download-record h4{overflow:hidden;margin:0 0 3px;font-size:15px;line-height:1.32;letter-spacing:-.018em;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-download-record h4 a{color:var(--text);text-decoration:none}
body.member-shell .member-download-record-copy p{overflow:hidden;margin:0;color:var(--muted);font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-download-record-copy>small{display:-webkit-box;overflow:hidden;margin-top:5px;color:var(--muted);font-size:9.5px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.member-shell .member-download-last{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:8px 9px;border-radius:11px;background:var(--surface-2)}
body.member-shell .member-download-last>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:var(--blue);background:rgba(37,99,235,.09)}
body.member-shell .member-download-last small,body.member-shell .member-download-last strong{display:block}
body.member-shell .member-download-last small{color:var(--muted);font-size:8.5px;font-weight:750}
body.member-shell .member-download-last strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-download-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
body.member-shell .member-download-actions .btn{min-height:39px;padding:8px 10px;border-radius:11px;font-size:10.5px}
body.member-shell .member-download-empty{grid-column:1/-1;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:156px;padding:24px;border:1px dashed rgba(37,99,235,.3);border-radius:15px;background:rgba(239,246,255,.64)}
body.member-shell .member-download-empty>span{display:grid;place-items:center;width:64px;height:64px;border-radius:16px;color:var(--blue);background:rgba(37,99,235,.1)}
body.member-shell .member-download-empty>span .ti{--ti-size:1.75rem}
body.member-shell .member-download-empty strong{display:block;margin-bottom:4px;font-size:16px}
body.member-shell .member-download-empty p{max-width:66ch;margin:0;color:var(--muted);font-size:11px;line-height:1.65}
body.member-shell .member-download-help{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 18px;border:1px solid rgba(37,99,235,.17);border-radius:15px;background:rgba(239,246,255,.68)}
body.member-shell .member-download-help>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#047857;background:#ecfdf5}
body.member-shell .member-download-help strong{display:block;margin-bottom:3px;font-size:13px}
body.member-shell .member-download-help p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.55}
body.member-shell.theme-dark .member-download-intro{border-color:#28456f;background:linear-gradient(118deg,#0d1d33,#102844 62%,#0b304a)}
body.member-shell.theme-dark .member-download-intro p{color:#b7c7db}
body.member-shell.theme-dark .download-metric-icon.is-blue{color:#93c5fd;background:#142c50}
body.member-shell.theme-dark .download-metric-icon.is-cyan,body.member-shell.theme-dark .member-download-count{color:#67e8f9;background:#0d3440}
body.member-shell.theme-dark .download-metric-icon.is-violet{color:#c4b5fd;background:#2e1f55}
body.member-shell.theme-dark .download-metric-icon.is-green,body.member-shell.theme-dark .member-download-sync,body.member-shell.theme-dark .member-download-help>span{color:#6ee7b7;background:#123b32}
body.member-shell.theme-dark .member-download-empty,body.member-shell.theme-dark .member-download-help{background:#101f35}
@media(hover:hover) and (pointer:fine){body.member-shell .member-download-record:hover{border-color:rgba(37,99,235,.34);background:rgba(248,251,255,.86);transform:translateY(-2px)}body.member-shell.theme-dark .member-download-record:hover{background:#0d1d31}body.member-shell .member-download-record h4 a:hover{color:var(--blue)}body.member-shell .member-download-cover:hover img{transform:scale(1.035)}body.member-shell .member-download-cover img{transition:transform .35s cubic-bezier(.16,1,.3,1)}}
@media(prefers-reduced-motion:no-preference){body.member-shell .member-download-intro{animation:memberDownloadIntro .48s cubic-bezier(.16,1,.3,1) both}body.member-shell .member-download-record{animation:memberDownloadRecord .44s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--download-index) * 45ms)}@keyframes memberDownloadIntro{from{opacity:.55;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes memberDownloadRecord{from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:none}}}
@media(max-width:1180px){body.member-shell .member-download-summary{grid-template-columns:repeat(2,minmax(0,1fr))}body.member-shell .member-download-summary article:nth-child(3){border-top:1px solid var(--line);border-left:0}body.member-shell .member-download-summary article:nth-child(4){border-top:1px solid var(--line)}body.member-shell .member-download-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.member-shell .member-download-search{grid-column:1/-1}body.member-shell .member-download-reset{width:max-content}}
@media(max-width:820px){body.member-shell .member-download-intro{align-items:flex-start;flex-direction:column}body.member-shell .member-download-intro-actions{width:100%}body.member-shell .member-download-intro-actions .btn{flex:1}body.member-shell .member-download-workspace-head{align-items:flex-start;flex-direction:column}body.member-shell .member-download-grid{grid-template-columns:1fr}}
@media(max-width:560px){body.member-shell .member-download-history-page{gap:14px;padding-bottom:18px}body.member-shell .member-download-intro{padding:17px}body.member-shell .member-download-intro-copy{grid-template-columns:46px minmax(0,1fr);gap:11px}body.member-shell .member-download-intro-icon{width:46px;height:46px;border-radius:13px}body.member-shell .member-download-intro h2{font-size:22px}body.member-shell .member-download-intro p{font-size:11px}body.member-shell .member-download-intro-actions{display:grid;grid-template-columns:1fr}body.member-shell .member-download-summary article{grid-template-columns:40px minmax(0,1fr);min-height:86px;padding:12px}body.member-shell .download-metric-icon{width:40px;height:40px;border-radius:12px}body.member-shell .member-download-summary strong{font-size:18px}body.member-shell .member-download-workspace-head{padding:15px}body.member-shell .member-download-filters{grid-template-columns:1fr;padding:15px}body.member-shell .member-download-search{grid-column:auto}body.member-shell .member-download-reset{width:100%}body.member-shell .member-download-grid{padding:10px}body.member-shell .member-download-record{grid-template-columns:72px minmax(0,1fr);gap:11px;padding:11px}body.member-shell .member-download-cover{width:72px;min-height:100px}body.member-shell .member-download-record h4{font-size:14px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}body.member-shell .member-download-record-copy>small{display:none}body.member-shell .member-download-last,body.member-shell .member-download-actions{grid-column:1/-1}body.member-shell .member-download-empty,body.member-shell .member-download-help{grid-template-columns:46px minmax(0,1fr);padding:16px}body.member-shell .member-download-empty>span{width:46px;height:46px}body.member-shell .member-download-empty .btn,body.member-shell .member-download-help .btn{grid-column:1/-1;width:100%}}
@media(prefers-reduced-motion:reduce){body.member-shell .member-download-record,body.member-shell .member-download-cover img,body.member-shell [data-download-result]{animation:none!important;transition:none!important;transform:none!important}}

/* Catalog workspace: database-driven discovery, photo card, filters, and CTA. */
.catalog-page-pro{display:grid;gap:28px;padding-bottom:42px}.catalog-page-pro .catalog-showcase-hero{padding-bottom:0}.catalog-page-pro .showcase-copy{position:relative;display:flex;overflow:hidden;isolation:isolate;flex-direction:column;justify-content:center;background:#edf5ff}.catalog-page-pro .showcase-copy::before{content:"";position:absolute;z-index:-2;inset:0;background:url("../../frontend/images/hero-slides/slide-01.webp") 58% center/cover no-repeat;transform:scale(1.015);transition:transform .7s cubic-bezier(.25,1,.5,1),background-position .7s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .showcase-copy::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(248,251,255,.98) 0%,rgba(244,249,255,.95) 48%,rgba(232,242,255,.76) 72%,rgba(219,234,254,.5) 100%);pointer-events:none}.catalog-page-pro .showcase-copy>*{position:relative;z-index:1}.catalog-page-pro .showcase-copy h1{text-wrap:balance}.catalog-page-pro .showcase-copy p{color:#536b91;text-wrap:pretty}.catalog-page-pro .showcase-search{width:100%;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.catalog-page-pro .catalog-popular>span{display:inline-flex;align-items:center;gap:7px;color:#466184;font-size:12px;font-weight:850}.catalog-page-pro .catalog-popular>span .ti{--ti-size:1rem;color:var(--blue)}@media(hover:hover) and (pointer:fine){.catalog-page-pro .showcase-copy:hover::before{background-position:61% center;transform:scale(1.045)}}.theme-dark .catalog-page-pro .showcase-copy{background:#0a1a2e}.theme-dark .catalog-page-pro .showcase-copy::after{background:linear-gradient(90deg,rgba(7,17,31,.98) 0%,rgba(10,27,48,.94) 52%,rgba(8,32,61,.75) 100%)}.theme-dark .catalog-page-pro .showcase-copy p,.theme-dark .catalog-page-pro .catalog-popular>span{color:#cbd5e1}
.catalog-page-pro .catalog-insight-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.catalog-page-pro .catalog-insight-strip article{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;min-height:92px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-soft);transition:border-color .18s cubic-bezier(.25,1,.5,1),transform .18s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-insight-strip article>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:var(--blue);background:rgba(37,99,235,.1)}.catalog-page-pro .catalog-insight-strip article:nth-child(2)>span{color:#047857;background:rgba(16,185,129,.12)}.catalog-page-pro .catalog-insight-strip article:nth-child(3)>span{color:#0369a1;background:rgba(14,165,233,.12)}.catalog-page-pro .catalog-insight-strip article:nth-child(4)>span{color:#7c3aed;background:rgba(124,58,237,.11)}.catalog-page-pro .catalog-insight-strip strong,.catalog-page-pro .catalog-insight-strip small{display:block}.catalog-page-pro .catalog-insight-strip strong{color:var(--text);font-size:21px;line-height:1.1}.catalog-page-pro .catalog-insight-strip small{margin-top:4px;color:var(--muted);font-size:10.5px;line-height:1.35}@media(hover:hover) and (pointer:fine){.catalog-page-pro .catalog-insight-strip article:hover{border-color:rgba(37,99,235,.34);transform:translateY(-2px)}}
.catalog-page-pro .catalog-type-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}.catalog-page-pro .catalog-type-strip .category-chip{position:relative;min-height:82px;transition:border-color .18s cubic-bezier(.25,1,.5,1),transform .18s cubic-bezier(.25,1,.5,1)}
.catalog-page-pro .catalog-workspace{grid-template-columns:280px minmax(0,1fr);gap:20px;margin-top:0;scroll-margin-top:108px}.catalog-page-pro .catalog-filter-panel{position:sticky;top:98px;padding:20px}.catalog-page-pro .catalog-filter-panel .section-heading>div{display:flex;align-items:center;gap:10px}.catalog-page-pro .catalog-section-icon{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;color:var(--blue);background:rgba(37,99,235,.1)}.catalog-page-pro .catalog-filter-panel .section-heading h3{font-size:16px}.catalog-page-pro .catalog-filter-panel label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:7px}.catalog-page-pro .catalog-filter-panel label>.ti{--ti-size:1rem;color:var(--blue)}.catalog-page-pro .catalog-filter-panel label>input,.catalog-page-pro .catalog-filter-panel label>select,.catalog-page-pro .catalog-filter-panel label>.field-row{grid-column:1/-1}.catalog-page-pro .catalog-filter-panel .field-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.catalog-page-pro .catalog-content{display:grid;align-content:start;gap:16px;min-width:0}.catalog-page-pro .catalog-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}.catalog-page-pro .catalog-result-toolbar>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.catalog-page-pro .catalog-result-toolbar strong,.catalog-page-pro .catalog-result-toolbar small{display:block}.catalog-page-pro .catalog-result-toolbar strong{font-size:13px;color:var(--text)}.catalog-page-pro .catalog-result-toolbar small{margin-top:2px;color:var(--muted);font-size:10.5px}.catalog-page-pro .catalog-toolbar-actions{display:flex;align-items:center;gap:9px}.catalog-page-pro .catalog-sort-form{display:flex;align-items:center;gap:7px;margin:0}.catalog-page-pro .catalog-sort-form label{display:grid;place-items:center;width:38px;height:38px;margin:0;border-radius:11px;color:var(--blue);background:rgba(37,99,235,.1)}.catalog-page-pro .catalog-sort-form select{min-width:158px;min-height:40px;margin:0;padding:8px 31px 8px 11px}.catalog-page-pro .catalog-view-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.catalog-page-pro .catalog-view-switch a{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:var(--muted)}.catalog-page-pro .catalog-view-switch a.is-active{color:#fff;background:var(--blue);box-shadow:0 7px 16px rgba(37,99,235,.22)}
.catalog-page-pro .catalog-active-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:12px 14px;border:1px solid rgba(37,99,235,.15);border-radius:15px;background:rgba(37,99,235,.055)}.catalog-page-pro .catalog-active-filters>span,.catalog-page-pro .catalog-active-filters a{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:800}.catalog-page-pro .catalog-active-filters>span{margin-right:3px;color:var(--text)}.catalog-page-pro .catalog-active-filters a{padding:6px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface)}.catalog-page-pro .catalog-active-filters a .ti{--ti-size:.85rem}.catalog-page-pro .catalog-active-filters .catalog-clear-filter{border-color:transparent;color:var(--blue);background:transparent}
.catalog-page-pro .catalog-grouped-sections{display:grid;gap:22px}.catalog-page-pro .catalog-collection-section{position:relative;display:grid;gap:18px;overflow:hidden;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--shadow-soft)}.catalog-page-pro .catalog-collection-section::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--section-accent,#2563eb)}.catalog-page-pro .catalog-collection-section.is-tone-blue{--section-accent:#2563eb;--section-soft:rgba(37,99,235,.1)}.catalog-page-pro .catalog-collection-section.is-tone-cyan{--section-accent:#0891b2;--section-soft:rgba(8,145,178,.1)}.catalog-page-pro .catalog-collection-section.is-tone-violet{--section-accent:#7c3aed;--section-soft:rgba(124,58,237,.1)}.catalog-page-pro .catalog-collection-section.is-tone-amber{--section-accent:#d97706;--section-soft:rgba(217,119,6,.1)}.catalog-page-pro .catalog-collection-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 2px 16px 6px;border-bottom:1px solid var(--line)}.catalog-page-pro .catalog-collection-section-copy{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;min-width:0}.catalog-page-pro .catalog-collection-section-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;color:var(--section-accent);background:var(--section-soft)}.catalog-page-pro .catalog-collection-section-icon .ti{--ti-size:1.55rem}.catalog-page-pro .catalog-collection-section-kicker{display:block;margin-bottom:2px;color:var(--section-accent);font-size:9.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.catalog-page-pro .catalog-collection-section h2{margin:0;color:var(--text);font-size:20px;line-height:1.2;letter-spacing:-.025em}.catalog-page-pro .catalog-collection-section p{max-width:62ch;margin:4px 0 0;color:var(--muted);font-size:10.5px;line-height:1.5;text-wrap:pretty}.catalog-page-pro .catalog-section-link{display:inline-flex;align-items:center;flex:0 0 auto;gap:7px;min-height:38px;padding:8px 11px;border:1px solid var(--line);border-radius:11px;color:var(--section-accent);background:var(--surface-2);font-size:10.5px;font-weight:850;white-space:nowrap;transition:border-color .18s cubic-bezier(.25,1,.5,1),background-color .18s cubic-bezier(.25,1,.5,1),transform .18s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-section-link .ti{--ti-size:1rem;transition:transform .18s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-section-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.catalog-page-pro .catalog-section-grid .collection-card{box-shadow:none;background:var(--surface-2)}@media(hover:hover) and (pointer:fine){.catalog-page-pro .catalog-section-link:hover{border-color:var(--section-accent);background:var(--section-soft);transform:translateY(-2px)}.catalog-page-pro .catalog-section-link:hover .ti{transform:translateX(3px)}.catalog-page-pro .catalog-collection-section:hover{border-color:color-mix(in srgb,var(--section-accent) 32%,var(--line))}}
.catalog-page-pro .catalog-section-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}.catalog-page-pro .catalog-section-index a{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:9px 11px;border-radius:12px;color:var(--text);transition:background-color .18s cubic-bezier(.25,1,.5,1),transform .18s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-section-index a>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:var(--blue);background:rgba(37,99,235,.09)}.catalog-page-pro .catalog-section-index a>span .ti{--ti-size:1.15rem}.catalog-page-pro .catalog-section-index strong,.catalog-page-pro .catalog-section-index small{display:block}.catalog-page-pro .catalog-section-index strong{font-size:11px}.catalog-page-pro .catalog-section-index small{margin-top:2px;color:var(--muted);font-size:9.5px}.catalog-page-pro .catalog-grouped-sections{gap:42px}.catalog-page-pro .catalog-collection-section{scroll-margin-top:108px;overflow:visible;padding:28px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}.catalog-page-pro .catalog-collection-section::before{inset:-1px auto auto 0;width:54px;height:3px;border-radius:999px}.catalog-page-pro .catalog-collection-section-head{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:14px;padding:0 0 18px;border:0}.catalog-page-pro .catalog-collection-section-number{display:grid;place-items:center;align-self:start;width:38px;height:38px;margin-top:7px;border:1px solid var(--line);border-radius:11px;color:var(--muted);background:var(--surface);font-size:10px;font-weight:900;letter-spacing:.06em}.catalog-page-pro .catalog-collection-section-copy{grid-template-columns:48px minmax(0,1fr);gap:13px}.catalog-page-pro .catalog-collection-section-icon{width:48px;height:48px;border-radius:14px}.catalog-page-pro .catalog-collection-section-kicker{display:flex;align-items:center;gap:5px}.catalog-page-pro .catalog-collection-section-kicker .ti{--ti-size:.85rem}.catalog-page-pro .catalog-collection-section h2{font-size:22px}.catalog-page-pro .catalog-collection-section p{font-size:11px}.catalog-page-pro .catalog-section-grid .collection-card{border-color:var(--line);background:var(--surface);box-shadow:0 8px 24px rgba(15,23,42,.055)}@media(hover:hover) and (pointer:fine){.catalog-page-pro .catalog-section-index a:hover{background:var(--surface-2);transform:translateY(-2px)}.catalog-page-pro .catalog-section-grid .collection-card:hover{box-shadow:0 20px 42px rgba(15,23,42,.1)}}
.catalog-page-pro .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-page-pro .catalog-grid .collection-card{position:relative;transition:border-color .18s cubic-bezier(.25,1,.5,1),box-shadow .18s cubic-bezier(.25,1,.5,1),transform .18s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-grid .collection-card:hover{border-color:rgba(37,99,235,.28)}.catalog-page-pro .catalog-grid.is-list{grid-template-columns:1fr}.catalog-page-pro .catalog-grid.is-list .collection-card{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:stretch}.catalog-page-pro .catalog-grid.is-list .collection-cover-link{min-height:100%}.catalog-page-pro .catalog-grid.is-list .book-cover{height:calc(100% - 24px);min-height:220px}.catalog-page-pro .catalog-grid.is-list .collection-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;column-gap:16px}.catalog-page-pro .catalog-grid.is-list .collection-body>h3,.catalog-page-pro .catalog-grid.is-list .collection-body>p,.catalog-page-pro .catalog-grid.is-list .collection-rating{grid-column:1}.catalog-page-pro .catalog-grid.is-list .collection-body>.chip{grid-column:1;width:max-content}.catalog-page-pro .catalog-grid.is-list .meta-row,.catalog-page-pro .catalog-grid.is-list .card-actions{grid-column:2;align-self:center}.catalog-page-pro .catalog-grid.is-list .meta-row{grid-row:1/4;flex-direction:column;align-items:flex-end;justify-content:center}.catalog-page-pro .catalog-grid.is-list .card-actions{grid-row:4/6}.catalog-page-pro .catalog-empty-state{display:grid;justify-items:center;min-height:320px;align-content:center;text-align:center}.catalog-page-pro .catalog-empty-state>span{display:grid;place-items:center;width:68px;height:68px;margin-bottom:12px;border-radius:20px;color:var(--blue);background:rgba(37,99,235,.1)}.catalog-page-pro .catalog-empty-state h3{margin:0 0 5px}.catalog-page-pro .catalog-empty-state p{max-width:52ch;margin:0 0 16px;color:var(--muted)}.catalog-page-pro .catalog-pagination{justify-content:center;margin:4px 0 0}.catalog-page-pro .catalog-pagination>a{display:grid;place-items:center;min-width:38px;height:38px}.catalog-page-pro .catalog-pagination label{margin:0 0 0 8px}.catalog-page-pro .catalog-pagination select{width:auto;min-height:38px;padding-block:7px}
.catalog-page-pro .catalog-cta-section{margin-top:2px}.catalog-page-pro .catalog-cta-card{position:relative;display:flex;align-items:center;justify-content:space-between;isolation:isolate;min-height:280px;gap:28px;overflow:hidden;padding:34px;border:1px solid rgba(147,197,253,.35);border-radius:26px;background:#082b63;box-shadow:0 26px 65px rgba(8,47,107,.22);color:#fff}.catalog-page-pro .catalog-cta-card::before{content:"";position:absolute;z-index:-2;inset:0;background-color:#082b63;background-image:url("../../frontend/images/hero-slides/slide-06.webp");background-repeat:no-repeat;background-position:center 46%;background-size:cover;filter:saturate(.9) brightness(.88);opacity:.95;transition:filter .55s cubic-bezier(.25,1,.5,1),opacity .55s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-cta-card::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(3,19,48,.96) 0%,rgba(5,43,99,.88) 48%,rgba(7,54,116,.68) 72%,rgba(5,28,72,.54) 100%);pointer-events:none}.catalog-page-pro .catalog-cta-orb{position:absolute;z-index:0;right:22%;top:-110px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(147,197,253,.3),transparent 68%);pointer-events:none;transition:transform .55s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-cta-copy{position:relative;z-index:1;display:grid;grid-template-columns:60px minmax(0,1fr);align-items:start;gap:17px;max-width:760px}.catalog-page-pro .catalog-cta-icon{display:grid;place-items:center;width:60px;height:60px;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:rgba(255,255,255,.14);backdrop-filter:blur(10px)}.catalog-page-pro .catalog-cta-copy small{font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#bfdbfe}.catalog-page-pro .catalog-cta-copy h2{max-width:27ch;margin:5px 0 8px;font-size:25px;line-height:1.18;letter-spacing:-.03em;text-shadow:0 2px 18px rgba(2,15,38,.28);text-wrap:balance}.catalog-page-pro .catalog-cta-copy p{max-width:64ch;margin:0;color:rgba(239,246,255,.86);font-size:12px;line-height:1.6}.catalog-page-pro .catalog-cta-actions{position:relative;z-index:1;display:flex;flex:0 0 auto;gap:10px}.catalog-page-pro .catalog-cta-actions .btn{min-height:46px;backdrop-filter:blur(10px)}.catalog-page-pro .catalog-cta-actions .btn-primary{color:#0b3c82!important;background:#fff;box-shadow:0 12px 28px rgba(2,15,38,.2)}.catalog-page-pro .catalog-cta-actions .btn-light{color:#fff!important;border-color:rgba(255,255,255,.3);background:rgba(4,28,70,.38)}@media(hover:hover) and (pointer:fine){.catalog-page-pro .catalog-cta-card:hover::before{filter:saturate(1.08) brightness(.98);opacity:1}.catalog-page-pro .catalog-cta-card:hover .catalog-cta-orb{transform:translate3d(12px,8px,0) scale(1.05)}}
.theme-dark .catalog-page-pro .catalog-insight-strip article:nth-child(2)>span{color:#6ee7b7;background:#063c31}.theme-dark .catalog-page-pro .catalog-insight-strip article:nth-child(3)>span{color:#7dd3fc;background:#0c2d42}.theme-dark .catalog-page-pro .catalog-insight-strip article:nth-child(4)>span{color:#c4b5fd;background:#2e1f55}.theme-dark .catalog-page-pro .catalog-active-filters{border-color:#28456f;background:#101d32}.theme-dark .catalog-page-pro .catalog-cta-card{border-color:#28456f}
.theme-dark .catalog-page-pro .catalog-collection-section.is-tone-blue{--section-accent:#93c5fd;--section-soft:rgba(37,99,235,.2)}.theme-dark .catalog-page-pro .catalog-collection-section.is-tone-cyan{--section-accent:#67e8f9;--section-soft:rgba(8,145,178,.2)}.theme-dark .catalog-page-pro .catalog-collection-section.is-tone-violet{--section-accent:#c4b5fd;--section-soft:rgba(124,58,237,.2)}.theme-dark .catalog-page-pro .catalog-collection-section.is-tone-amber{--section-accent:#fcd34d;--section-soft:rgba(217,119,6,.2)}
.catalog-page-pro .catalog-cta-card{transition:transform .28s cubic-bezier(.25,1,.5,1),border-color .28s cubic-bezier(.25,1,.5,1),box-shadow .28s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-cta-icon{transition:transform .28s cubic-bezier(.25,1,.5,1),background-color .28s cubic-bezier(.25,1,.5,1),box-shadow .28s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-cta-actions .btn{transition:transform .2s cubic-bezier(.25,1,.5,1),background-color .2s cubic-bezier(.25,1,.5,1),border-color .2s cubic-bezier(.25,1,.5,1),box-shadow .2s cubic-bezier(.25,1,.5,1)}.catalog-page-pro .catalog-cta-copy h2{transition:transform .28s cubic-bezier(.25,1,.5,1)}@media(hover:hover) and (pointer:fine){.catalog-page-pro .catalog-cta-card:hover{border-color:rgba(191,219,254,.66);box-shadow:0 34px 78px rgba(8,47,107,.32);transform:translateY(-4px)}.catalog-page-pro .catalog-cta-card:hover .catalog-cta-icon{background:rgba(255,255,255,.22);box-shadow:0 16px 34px rgba(2,15,38,.2);transform:translateY(-3px) rotate(-3deg)}.catalog-page-pro .catalog-cta-card:hover .catalog-cta-copy h2{transform:translateX(3px)}.catalog-page-pro .catalog-cta-actions .btn:hover{transform:translateY(-3px)}.catalog-page-pro .catalog-cta-actions .btn:active{transform:translateY(1px)}}.catalog-page-pro .catalog-cta-card:focus-within{border-color:#bfdbfe;box-shadow:0 0 0 4px rgba(59,130,246,.2),0 30px 72px rgba(8,47,107,.28)}
@media(max-width:1100px){.catalog-page-pro .catalog-photo-card{min-height:400px}.catalog-page-pro .catalog-insight-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page-pro .catalog-workspace{grid-template-columns:1fr}.catalog-page-pro .catalog-filter-panel{position:static}.catalog-page-pro .catalog-filter-panel form{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page-pro .catalog-filter-panel .section-heading,.catalog-page-pro .catalog-filter-panel .filter-actions{grid-column:1/-1}.catalog-page-pro .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page-pro .catalog-cta-card{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.catalog-page-pro{gap:20px;padding-bottom:28px}.catalog-page-pro .showcase-search{display:grid;grid-template-columns:1fr 1fr}.catalog-page-pro .showcase-search input{grid-column:1/-1;min-height:48px}.catalog-page-pro .showcase-search .btn{width:100%;padding-inline:10px}.catalog-page-pro .catalog-type-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page-pro .catalog-photo-card{min-height:330px}.catalog-page-pro .catalog-photo-card figcaption{left:18px;right:18px;bottom:18px}.catalog-page-pro .catalog-photo-card figcaption strong{font-size:23px}.catalog-page-pro .catalog-photo-stats{top:14px;right:14px}.catalog-page-pro .catalog-insight-strip{gap:10px}.catalog-page-pro .catalog-insight-strip article{min-height:86px;padding:13px}.catalog-page-pro .catalog-filter-panel form{grid-template-columns:1fr}.catalog-page-pro .catalog-filter-panel .section-heading,.catalog-page-pro .catalog-filter-panel .filter-actions{grid-column:auto}.catalog-page-pro .catalog-result-toolbar{align-items:flex-start;flex-direction:column}.catalog-page-pro .catalog-toolbar-actions,.catalog-page-pro .catalog-sort-form{width:100%}.catalog-page-pro .catalog-sort-form{flex:1}.catalog-page-pro .catalog-sort-form select{flex:1;min-width:0}.catalog-page-pro .catalog-grid{grid-template-columns:1fr}.catalog-page-pro .catalog-grid.is-list .collection-card{grid-template-columns:130px minmax(0,1fr)}.catalog-page-pro .catalog-grid.is-list .book-cover{min-height:190px}.catalog-page-pro .catalog-grid.is-list .collection-body{display:block;padding-left:4px}.catalog-page-pro .catalog-grid.is-list .meta-row{align-items:flex-start;flex-direction:row}.catalog-page-pro .catalog-pagination{justify-content:flex-start;overflow-x:auto;padding-bottom:6px}.catalog-page-pro .catalog-cta-card{padding:26px 22px}.catalog-page-pro .catalog-cta-copy{grid-template-columns:48px minmax(0,1fr)}.catalog-page-pro .catalog-cta-icon{width:48px;height:48px}.catalog-page-pro .catalog-cta-copy h2{font-size:22px}.catalog-page-pro .catalog-cta-actions{display:grid;width:100%}.catalog-page-pro .catalog-cta-actions .btn{width:100%}}
@media(max-width:760px){.catalog-page-pro .catalog-section-index{grid-auto-columns:minmax(160px,72vw);grid-template-columns:none;grid-auto-flow:column;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline proximity}.catalog-page-pro .catalog-section-index a{scroll-snap-align:start}.catalog-page-pro .catalog-collection-section{padding:24px 0 0}.catalog-page-pro .catalog-collection-section-head{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:10px}.catalog-page-pro .catalog-collection-section-number{width:34px;height:34px;margin-top:7px}.catalog-page-pro .catalog-collection-section-copy{grid-template-columns:44px minmax(0,1fr);gap:10px}.catalog-page-pro .catalog-collection-section-icon{width:44px;height:44px}.catalog-page-pro .catalog-collection-section h2{font-size:20px}.catalog-page-pro .catalog-section-link{grid-column:1/-1;width:100%;justify-content:center}.catalog-page-pro .catalog-section-grid{grid-template-columns:1fr}}
@media(max-width:480px){.catalog-page-pro .catalog-type-strip{grid-template-columns:1fr}.catalog-page-pro .catalog-insight-strip{grid-template-columns:1fr}.catalog-page-pro .catalog-photo-stats>span{min-width:64px;padding:9px}.catalog-page-pro .catalog-grid.is-list .collection-card{display:flex}.catalog-page-pro .catalog-grid.is-list .book-cover{height:178px;min-height:178px}.catalog-page-pro .catalog-cta-copy{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.catalog-page-pro .showcase-copy::before,.catalog-page-pro .catalog-cta-card,.catalog-page-pro .catalog-cta-card::before,.catalog-page-pro .catalog-cta-orb,.catalog-page-pro .catalog-cta-icon,.catalog-page-pro .catalog-cta-copy h2,.catalog-page-pro .catalog-cta-actions .btn,.catalog-page-pro .catalog-photo-card>img,.catalog-page-pro .catalog-insight-strip article,.catalog-page-pro .catalog-section-index a,.catalog-page-pro .catalog-section-link,.catalog-page-pro .catalog-section-link .ti,.catalog-page-pro .catalog-type-strip .category-chip,.catalog-page-pro .catalog-type-strip .category-chip>.category-chip-arrow,.catalog-page-pro .catalog-grid .collection-card{transition:none!important;transform:none!important}}

/* Katalog member: daftar buku menggunakan scroll halaman, filter tetap di bawah topbar. */
@media (min-width:1101px){
  body.member-shell.member-catalog-shell .app-wrapper-pro,
  body.member-shell.member-catalog-shell .app-main{
    overflow-x:clip!important;
    overflow-y:visible!important;
  }
  body.member-shell.member-catalog-shell .catalog-page-pro,
  body.member-shell.member-catalog-shell .catalog-workspace{
    overflow:visible!important;
  }
  body.member-shell.member-catalog-shell .catalog-workspace{
    align-items:start!important;
  }
  body.member-shell.member-catalog-shell .catalog-filter-panel{
    position:sticky!important;
    top:98px!important;
    align-self:start!important;
    z-index:10!important;
    max-height:calc(100dvh - 116px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable;
  }
}

/* Member favorites workspace: account-saved collection discovery and actions. */
body.member-shell .member-favorite-workspace{display:grid!important;gap:20px!important;width:100%;min-width:0;padding-bottom:28px;color:var(--text)}
body.member-shell .member-favorite-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;padding:24px;border:1px solid rgba(37,99,235,.2);border-radius:16px;background:#eff6ff}
body.member-shell .member-favorite-intro-copy{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
body.member-shell .member-favorite-intro-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;color:#fff;background:#2563eb}
body.member-shell .member-favorite-intro-icon .ti{--ti-size:1.7rem}
body.member-shell .member-favorite-intro h2{margin:0 0 5px;font-size:30px;line-height:1.18;letter-spacing:-.03em;text-wrap:balance}
body.member-shell .member-favorite-intro p{max-width:70ch;margin:0;color:#40597e;font-size:13px;font-weight:650;line-height:1.6;text-wrap:pretty}
body.member-shell .member-favorite-intro>.btn{flex:0 0 auto;min-height:46px;white-space:nowrap}
body.member-shell .member-favorite-alert{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:14px 16px;border:1px solid rgba(5,150,105,.24);border-radius:14px;color:#065f46;background:#ecfdf5}
body.member-shell .member-favorite-alert.is-danger{border-color:rgba(220,38,38,.24);color:#991b1b;background:#fef2f2}
body.member-shell .member-favorite-alert>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(5,150,105,.1)}
body.member-shell .member-favorite-alert.is-danger>span{background:rgba(220,38,38,.09)}
body.member-shell .member-favorite-alert strong,body.member-shell .member-favorite-alert p{display:block;margin:0}
body.member-shell .member-favorite-alert strong{font-size:12px}
body.member-shell .member-favorite-alert p{margin-top:2px;font-size:10.5px;line-height:1.5}
body.member-shell .member-favorite-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body.member-shell .member-favorite-summary article{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;min-width:0;min-height:96px;padding:15px 16px;border-left:1px solid var(--line)}
body.member-shell .member-favorite-summary article:first-child{border-left:0}
body.member-shell .favorite-metric-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#2563eb;background:#eaf2ff}
body.member-shell .member-favorite-summary small,body.member-shell .member-favorite-summary strong,body.member-shell .member-favorite-summary p{display:block;min-width:0}
body.member-shell .member-favorite-summary small{color:var(--muted);font-size:9.5px;font-weight:800}
body.member-shell .member-favorite-summary strong{overflow:hidden;margin-top:2px;font-size:21px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-favorite-summary strong.is-date{font-size:12px;line-height:1.35;white-space:normal}
body.member-shell .member-favorite-summary p{overflow:hidden;margin:3px 0 0;color:var(--muted);font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-favorite-library{display:grid;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
body.member-shell .member-favorite-library-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 20px;border-bottom:1px solid var(--line)}
body.member-shell .member-favorite-library-title{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
body.member-shell .member-favorite-library-title>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--blue);background:rgba(37,99,235,.1)}
body.member-shell .member-favorite-library-title h3{margin:0 0 2px;font-size:18px;letter-spacing:-.02em}
body.member-shell .member-favorite-library-title p{margin:0;color:var(--muted);font-size:11px;font-weight:700}
body.member-shell [data-favorite-result]{display:inline-block;color:var(--blue);transition:transform .18s cubic-bezier(.16,1,.3,1)}
body.member-shell [data-favorite-result].is-updating{transform:scale(1.08)}
body.member-shell .member-favorite-database{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:10px;font-weight:850;white-space:nowrap}
body.member-shell .member-favorite-filters{display:grid;grid-template-columns:minmax(240px,1.3fr) minmax(150px,.65fr) minmax(150px,.65fr) minmax(150px,.65fr) auto;align-items:end;gap:11px;padding:18px 20px;border-bottom:1px solid var(--line);background:var(--surface-2)}
body.member-shell .member-favorite-filters label{display:grid;gap:7px;margin:0;color:var(--text);font-size:10.5px;font-weight:850}
body.member-shell .member-favorite-control{display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:7px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .18s cubic-bezier(.16,1,.3,1),box-shadow .18s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-favorite-control:focus-within{border-color:rgba(37,99,235,.72);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
body.member-shell .member-favorite-control>.ti{--ti-size:1rem;color:var(--blue)}
body.member-shell .member-favorite-control input,body.member-shell .member-favorite-control select{min-width:0;min-height:42px;margin:0;padding:0;border:0;border-radius:0;color:var(--text);background:transparent;box-shadow:none;font-size:11.5px;font-weight:700}
body.member-shell .member-favorite-control input::placeholder{color:#526987;opacity:1}
body.member-shell .member-favorite-reset{min-height:44px}
body.member-shell .member-favorite-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;padding:16px}
body.member-shell .member-favorite-item{display:grid;grid-template-columns:106px minmax(0,1fr);gap:15px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface);transition:border-color .2s cubic-bezier(.16,1,.3,1),background-color .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-favorite-item[hidden],body.member-shell .member-favorite-empty[hidden]{display:none!important}
body.member-shell .member-favorite-cover{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:106px;min-height:154px;overflow:hidden;border-radius:13px;color:#fff;background:#2563eb;text-decoration:none}
body.member-shell .member-favorite-cover::after{content:"";position:absolute;right:-34px;bottom:-42px;width:104px;height:104px;border-radius:50%;background:rgba(255,255,255,.14)}
body.member-shell .member-favorite-cover>span,body.member-shell .member-favorite-cover>small{position:relative;z-index:1}
body.member-shell .member-favorite-cover>span .ti{--ti-size:2rem}
body.member-shell .member-favorite-cover>small{max-width:88px;font-size:9px;font-weight:900;text-align:center}
body.member-shell .member-favorite-cover.has-image::after,body.member-shell .member-favorite-cover.has-image>span,body.member-shell .member-favorite-cover.has-image>small{display:none}
body.member-shell .member-favorite-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .32s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-favorite-item-body{display:grid;gap:9px;min-width:0}
body.member-shell .member-favorite-item-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.member-shell .member-favorite-type{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-size:9.5px;font-weight:850}
body.member-shell .member-favorite-remove{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;color:#dc2626;background:var(--surface);text-decoration:none;transition:border-color .18s cubic-bezier(.16,1,.3,1),background-color .18s cubic-bezier(.16,1,.3,1),transform .18s cubic-bezier(.16,1,.3,1)}
body.member-shell .member-favorite-remove .ti{--ti-size:1rem}
body.member-shell .member-favorite-copy{min-width:0}
body.member-shell .member-favorite-copy h4{display:-webkit-box;overflow:hidden;margin:0 0 3px;font-size:15px;line-height:1.32;letter-spacing:-.018em;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.member-shell .member-favorite-copy h4 a{color:var(--text);text-decoration:none}
body.member-shell .member-favorite-copy p{overflow:hidden;margin:0;color:var(--muted);font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
body.member-shell .member-favorite-copy>small{display:-webkit-box;overflow:hidden;margin-top:5px;color:var(--muted);font-size:9.5px;line-height:1.48;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.member-shell .member-favorite-meta{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
body.member-shell .member-favorite-category,body.member-shell .member-favorite-status{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap}
body.member-shell .member-favorite-category{overflow:hidden;color:#1d4ed8;background:#eff6ff;text-overflow:ellipsis}
body.member-shell .member-favorite-status.is-available{color:#047857;background:#ecfdf5}
body.member-shell .member-favorite-status.is-unavailable{color:#b45309;background:#fffbeb}
body.member-shell .member-favorite-rating{display:flex;align-items:center;gap:7px;min-width:0}
body.member-shell .member-favorite-rating>span{display:flex;align-items:center;gap:2px;color:#f59e0b}
body.member-shell .member-favorite-rating .ti{--ti-size:.9rem}
body.member-shell .member-favorite-rating .is-empty{color:#cbd5e1}
body.member-shell .member-favorite-rating strong{font-size:9.5px}
body.member-shell .member-favorite-saved{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:8px 9px;border-radius:11px;background:var(--surface-2)}
body.member-shell .member-favorite-saved>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:var(--blue);background:rgba(37,99,235,.09)}
body.member-shell .member-favorite-saved small,body.member-shell .member-favorite-saved strong{display:block}
body.member-shell .member-favorite-saved small{color:var(--muted);font-size:8.5px;font-weight:750}
body.member-shell .member-favorite-saved strong{font-size:10px}
body.member-shell .member-favorite-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
body.member-shell .member-favorite-actions .btn{min-height:39px;padding:8px 10px;border-radius:11px;font-size:10.5px;white-space:nowrap}
body.member-shell .member-favorite-empty{grid-column:1/-1;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:156px;padding:24px;border:1px dashed rgba(37,99,235,.3);border-radius:15px;background:#f8fbff}
body.member-shell .member-favorite-empty>span{display:grid;place-items:center;width:64px;height:64px;border-radius:16px;color:var(--blue);background:rgba(37,99,235,.1)}
body.member-shell .member-favorite-empty>span .ti{--ti-size:1.75rem}
body.member-shell .member-favorite-empty strong{display:block;margin-bottom:4px;font-size:16px}
body.member-shell .member-favorite-empty p{max-width:66ch;margin:0;color:var(--muted);font-size:11px;line-height:1.62}
body.member-shell .member-favorite-note{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 18px;border:1px solid rgba(37,99,235,.17);border-radius:15px;background:#eff6ff}
body.member-shell .member-favorite-note>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#2563eb;background:#dbeafe}
body.member-shell .member-favorite-note strong{display:block;margin-bottom:3px;font-size:13px}
body.member-shell .member-favorite-note p{margin:0;color:#40597e;font-size:10.5px;line-height:1.55}
body.member-shell.theme-dark .member-favorite-intro,body.member-shell.theme-dark .member-favorite-note{border-color:#28456f;background:#0d1d33}
body.member-shell.theme-dark .member-favorite-intro p,body.member-shell.theme-dark .member-favorite-note p{color:#b7c7db}
body.member-shell.theme-dark .favorite-metric-icon{color:#93c5fd;background:#142c50}
body.member-shell.theme-dark .member-favorite-database,body.member-shell.theme-dark .member-favorite-status.is-available{color:#6ee7b7;background:#123b32}
body.member-shell.theme-dark .member-favorite-category{color:#93c5fd;background:#142c50}
body.member-shell.theme-dark .member-favorite-status.is-unavailable{color:#fcd34d;background:#3b2c0b}
body.member-shell.theme-dark .member-favorite-empty{background:#101f35}
body.member-shell.theme-dark .member-favorite-note>span{color:#93c5fd;background:#142c50}
@media(hover:hover) and (pointer:fine){body.member-shell .member-favorite-item:hover{border-color:rgba(37,99,235,.34);background:#f8fbff;transform:translateY(-2px)}body.member-shell.theme-dark .member-favorite-item:hover{background:#0d1d31}body.member-shell .member-favorite-copy h4 a:hover{color:var(--blue)}body.member-shell .member-favorite-cover:hover img{transform:scale(1.035)}body.member-shell .member-favorite-remove:hover{border-color:rgba(220,38,38,.32);background:#fef2f2;transform:translateY(-1px)}}
@media(prefers-reduced-motion:no-preference){body.member-shell .member-favorite-item{animation:memberFavoriteItem .36s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--favorite-index) * 35ms)}@keyframes memberFavoriteItem{from{opacity:.45;transform:translateY(9px)}to{opacity:1;transform:none}}}
@media(max-width:1180px){body.member-shell .member-favorite-summary{grid-template-columns:repeat(2,minmax(0,1fr))}body.member-shell .member-favorite-summary article:nth-child(3){border-top:1px solid var(--line);border-left:0}body.member-shell .member-favorite-summary article:nth-child(4){border-top:1px solid var(--line)}body.member-shell .member-favorite-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.member-shell .member-favorite-search{grid-column:1/-1}body.member-shell .member-favorite-reset{width:max-content}body.member-shell .member-favorite-list{grid-template-columns:1fr}}
@media(max-width:760px){body.member-shell .member-favorite-intro{align-items:flex-start;flex-direction:column}body.member-shell .member-favorite-intro>.btn{width:100%!important}body.member-shell .member-favorite-library-head{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){body.member-shell .member-favorite-workspace{gap:14px!important;padding-bottom:18px}body.member-shell .member-favorite-intro{padding:17px}body.member-shell .member-favorite-intro-copy{grid-template-columns:46px minmax(0,1fr);gap:11px}body.member-shell .member-favorite-intro-icon{width:46px;height:46px;border-radius:13px}body.member-shell .member-favorite-intro h2{font-size:22px}body.member-shell .member-favorite-intro p{font-size:11px}body.member-shell .member-favorite-summary article{grid-template-columns:40px minmax(0,1fr);min-height:86px;padding:12px}body.member-shell .favorite-metric-icon{width:40px;height:40px;border-radius:12px}body.member-shell .member-favorite-summary strong{font-size:18px}body.member-shell .member-favorite-library-head{padding:15px}body.member-shell .member-favorite-filters{grid-template-columns:1fr;padding:15px}body.member-shell .member-favorite-search{grid-column:auto}body.member-shell .member-favorite-reset{width:100%}body.member-shell .member-favorite-list{padding:10px}body.member-shell .member-favorite-item{grid-template-columns:78px minmax(0,1fr);gap:11px;padding:11px}body.member-shell .member-favorite-cover{width:78px;min-height:112px}body.member-shell .member-favorite-copy>small{display:none}body.member-shell .member-favorite-meta,body.member-shell .member-favorite-rating,body.member-shell .member-favorite-saved,body.member-shell .member-favorite-actions{grid-column:1/-1}body.member-shell .member-favorite-empty,body.member-shell .member-favorite-note{grid-template-columns:46px minmax(0,1fr);padding:16px}body.member-shell .member-favorite-empty>span{width:46px;height:46px}body.member-shell .member-favorite-empty .btn,body.member-shell .member-favorite-note .btn{grid-column:1/-1;width:100%!important}}
@media(prefers-reduced-motion:reduce){body.member-shell .member-favorite-item,body.member-shell .member-favorite-cover img,body.member-shell .member-favorite-remove,body.member-shell [data-favorite-result]{animation:none!important;transition:none!important;transform:none!important}}

/* Digital collection workspace: database files, grouped discovery, access flow, and CTA. */
.digital-page-pro{display:grid;gap:46px;padding:24px 0 42px}.digital-page-pro .digital-signal-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.digital-page-pro .digital-signal-strip article{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;min-height:88px;padding:15px 16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-soft);transition:border-color .2s cubic-bezier(.25,1,.5,1),box-shadow .2s cubic-bezier(.25,1,.5,1),transform .2s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-signal-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:var(--blue);background:rgba(37,99,235,.1)}.digital-page-pro .digital-signal-icon.is-green{color:#047857;background:rgba(16,185,129,.12)}.digital-page-pro .digital-signal-icon.is-violet{color:#7c3aed;background:rgba(124,58,237,.1)}.digital-page-pro .digital-signal-icon.is-cyan{color:#0369a1;background:rgba(14,165,233,.11)}.digital-page-pro .digital-signal-icon .ti{--ti-size:1.45rem}.digital-page-pro .digital-signal-strip strong,.digital-page-pro .digital-signal-strip small{display:block;min-width:0}.digital-page-pro .digital-signal-strip strong{overflow:hidden;color:var(--text);font-size:20px;line-height:1.1;text-overflow:ellipsis}.digital-page-pro .digital-signal-strip small{margin-top:4px;color:var(--muted);font-size:10.5px}
.digital-page-pro .digital-file-section,.digital-page-pro .digital-catalog-section,.digital-page-pro .digital-access-section{display:grid;gap:18px;scroll-margin-top:106px}.digital-page-pro .digital-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.digital-page-pro .digital-section-heading>div:first-child{min-width:0}.digital-page-pro .digital-section-heading h2{margin:7px 0 6px;color:var(--text);font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.04em;text-wrap:balance}.digital-page-pro .digital-section-heading p{max-width:720px;margin:0;color:var(--muted);font-size:12px;line-height:1.65;text-wrap:pretty}.digital-page-pro .digital-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:10px;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.digital-page-pro .digital-kicker .ti{--ti-size:1rem}.digital-page-pro .digital-text-link{display:inline-flex;align-items:center;flex:0 0 auto;gap:7px;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;color:var(--blue);background:var(--surface);font-size:11px;font-weight:850;white-space:nowrap;transition:border-color .18s cubic-bezier(.25,1,.5,1),background-color .18s cubic-bezier(.25,1,.5,1),transform .18s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-text-link .ti{--ti-size:1rem}
.digital-page-pro .digital-file-filter{display:grid;grid-template-columns:minmax(260px,1.7fr) minmax(150px,.65fr) minmax(170px,.75fr) auto auto;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-soft)}.digital-page-pro .digital-file-filter label{margin:0}.digital-page-pro .digital-file-filter input,.digital-page-pro .digital-file-filter select{min-height:44px;margin:0;background:var(--surface-2)}.digital-page-pro .digital-search-field{position:relative}.digital-page-pro .digital-search-field>span:first-child{position:absolute;z-index:1;left:13px;top:50%;display:grid;place-items:center;color:var(--muted);transform:translateY(-50%)}.digital-page-pro .digital-search-field input{padding-left:40px}.digital-page-pro .digital-file-filter .btn{min-height:44px}
.digital-page-pro .digital-result-line{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:10.5px}.digital-page-pro .digital-format-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.digital-page-pro .digital-format-list b{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;color:var(--blue);background:rgba(37,99,235,.08);font-size:9.5px}.digital-page-pro .digital-format-list small{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;color:#fff;background:var(--blue);font-size:8.5px}
.digital-page-pro .digital-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px}.digital-page-pro .digital-file-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,.75fr);gap:16px;overflow:hidden;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 12px 32px rgba(15,23,42,.07);transition:border-color .2s cubic-bezier(.25,1,.5,1),box-shadow .2s cubic-bezier(.25,1,.5,1),transform .2s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-file-card.is-missing{border-color:rgba(245,158,11,.34)}.digital-page-pro .digital-file-card-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.digital-page-pro .digital-file-type,.digital-page-pro .digital-file-status{display:inline-flex;align-items:center;gap:7px}.digital-page-pro .digital-file-type{color:var(--blue)}.digital-page-pro .digital-file-type .ti{--ti-size:1.5rem}.digital-page-pro .digital-file-type b{font-size:11px;letter-spacing:.06em}.digital-page-pro .digital-file-status{padding:6px 9px;border-radius:999px;color:#b45309;background:rgba(245,158,11,.12);font-size:9.5px;font-weight:850}.digital-page-pro .digital-file-status.is-ready{color:#047857;background:rgba(16,185,129,.12)}.digital-page-pro .digital-file-status .ti{--ti-size:.9rem}.digital-page-pro .digital-file-copy{min-width:0;align-self:center}.digital-page-pro .digital-file-copy small{color:var(--blue);font-size:9.5px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.digital-page-pro .digital-file-copy h3{max-width:36ch;margin:7px 0 5px;color:var(--text);font-size:20px;line-height:1.25;letter-spacing:-.025em;text-wrap:balance}.digital-page-pro .digital-file-copy p{overflow:hidden;margin:0;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.digital-page-pro .digital-file-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;gap:7px;margin:0}.digital-page-pro .digital-file-meta>div{min-width:0;padding:10px;border-radius:13px;background:var(--surface-2)}.digital-page-pro .digital-file-meta dt{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:8.5px;font-weight:800}.digital-page-pro .digital-file-meta dt .ti{--ti-size:.85rem;color:var(--blue)}.digital-page-pro .digital-file-meta dd{overflow:hidden;margin:5px 0 0;color:var(--text);font-size:10px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.digital-page-pro .digital-file-actions{grid-column:1/-1;display:flex;align-items:center;gap:9px}.digital-page-pro .digital-file-actions .btn{min-width:120px}.digital-page-pro .digital-empty-state{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:120px;padding:20px;border:1px dashed var(--line);border-radius:20px;background:var(--surface-2)}.digital-page-pro .digital-empty-state>span{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;color:var(--blue);background:rgba(37,99,235,.1)}.digital-page-pro .digital-empty-state h3{margin:0 0 4px;font-size:16px}.digital-page-pro .digital-empty-state p{margin:0;color:var(--muted);font-size:11px}.digital-page-pro .digital-pagination{display:flex;align-items:center;justify-content:center;gap:6px}.digital-page-pro .digital-pagination a{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--line);border-radius:11px;color:var(--muted);background:var(--surface);font-size:11px;font-weight:850}.digital-page-pro .digital-pagination a.is-current{border-color:var(--blue);color:#fff;background:var(--blue)}
.digital-page-pro .digital-catalog-section{gap:20px;padding-top:30px;border-top:1px solid var(--line)}.digital-page-pro .digital-heading-with-icon{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:13px}.digital-page-pro .digital-heading-with-icon>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;color:var(--blue);background:rgba(37,99,235,.1)}.digital-page-pro .digital-heading-with-icon>span .ti{--ti-size:1.45rem}.digital-page-pro .digital-section-heading.is-compact h2{margin:0 0 4px;font-size:24px}.digital-page-pro .digital-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.digital-page-pro .digital-collection-grid .collection-card{transition:border-color .2s cubic-bezier(.25,1,.5,1),box-shadow .2s cubic-bezier(.25,1,.5,1),transform .2s cubic-bezier(.25,1,.5,1)}
.digital-page-pro .digital-access-section{padding:28px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,rgba(37,99,235,.055),rgba(14,165,233,.035))}.digital-page-pro .digital-access-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.digital-page-pro .digital-access-flow article{position:relative;display:grid;grid-template-columns:38px 48px minmax(0,1fr);align-items:start;gap:11px;padding:16px}.digital-page-pro .digital-access-flow article+article{border-left:1px solid var(--line)}.digital-page-pro .digital-access-flow article>span{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.08em}.digital-page-pro .digital-access-flow article>i{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:var(--blue);background:var(--surface);box-shadow:var(--shadow-soft);font-style:normal;transition:color .2s cubic-bezier(.25,1,.5,1),background-color .2s cubic-bezier(.25,1,.5,1),transform .2s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-access-flow h3{margin:2px 0 5px;font-size:13px}.digital-page-pro .digital-access-flow p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}
.digital-page-pro .digital-cta-card{position:relative;display:flex;align-items:center;justify-content:space-between;isolation:isolate;min-height:280px;gap:28px;overflow:hidden;padding:34px;border:1px solid rgba(147,197,253,.34);border-radius:26px;background:#082b63;box-shadow:0 26px 65px rgba(8,47,107,.22);color:#fff;transition:border-color .28s cubic-bezier(.25,1,.5,1),box-shadow .28s cubic-bezier(.25,1,.5,1),transform .28s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-cta-card::before{content:"";position:absolute;z-index:-2;inset:0;background:url("../../frontend/images/hero-slides/slide-10.webp") 56% center/cover no-repeat;filter:saturate(.9) brightness(.86);transition:filter .55s cubic-bezier(.25,1,.5,1),transform .55s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-cta-card::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(3,19,48,.98) 0%,rgba(5,43,99,.9) 48%,rgba(7,54,116,.62) 74%,rgba(5,28,72,.38) 100%)}.digital-page-pro .digital-cta-copy{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:16px;max-width:720px}.digital-page-pro .digital-cta-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(255,255,255,.25);border-radius:17px;background:rgba(255,255,255,.14);backdrop-filter:blur(10px);transition:background-color .22s cubic-bezier(.25,1,.5,1),transform .22s cubic-bezier(.25,1,.5,1)}.digital-page-pro .digital-cta-copy small{color:#bfdbfe;font-size:9.5px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.digital-page-pro .digital-cta-copy h2{max-width:27ch;margin:5px 0 8px;color:#fff;font-size:27px;line-height:1.16;letter-spacing:-.035em;text-wrap:balance}.digital-page-pro .digital-cta-copy p{max-width:58ch;margin:0;color:rgba(239,246,255,.86);font-size:11px;line-height:1.65}.digital-page-pro .digital-cta-actions{display:flex;flex:0 0 auto;gap:9px}.digital-page-pro .digital-cta-actions .btn{min-height:46px;backdrop-filter:blur(10px)}.digital-page-pro .digital-cta-actions .btn-primary{color:#0b3c82!important;background:#fff;box-shadow:0 12px 28px rgba(2,15,38,.2)}.digital-page-pro .digital-cta-actions .btn-light{color:#fff!important;border-color:rgba(255,255,255,.3);background:rgba(4,28,70,.42)}
.theme-dark .digital-page-pro .digital-signal-icon.is-green{color:#6ee7b7;background:#063c31}.theme-dark .digital-page-pro .digital-signal-icon.is-violet{color:#c4b5fd;background:#2e1f55}.theme-dark .digital-page-pro .digital-signal-icon.is-cyan{color:#7dd3fc;background:#0c2d42}.theme-dark .digital-page-pro .digital-file-card{box-shadow:0 14px 34px rgba(0,0,0,.2)}.theme-dark .digital-page-pro .digital-access-section{background:linear-gradient(135deg,rgba(37,99,235,.1),rgba(14,165,233,.045))}.theme-dark .digital-page-pro .digital-cta-card{border-color:#28456f}
@media(hover:hover) and (pointer:fine){.digital-page-pro .digital-signal-strip article:hover,.digital-page-pro .digital-file-card:hover,.digital-page-pro .digital-collection-grid .collection-card:hover{border-color:rgba(37,99,235,.32);box-shadow:0 20px 44px rgba(15,23,42,.11);transform:translateY(-3px)}.digital-page-pro .digital-text-link:hover{border-color:rgba(37,99,235,.45);background:rgba(37,99,235,.07);transform:translateY(-2px)}.digital-page-pro .digital-access-flow article:hover>i{color:#fff;background:var(--blue);transform:translateY(-3px)}.digital-page-pro .digital-cta-card:hover{border-color:rgba(191,219,254,.68);box-shadow:0 34px 78px rgba(8,47,107,.32);transform:translateY(-4px)}.digital-page-pro .digital-cta-card:hover::before{filter:saturate(1.05) brightness(.94);transform:scale(1.025)}.digital-page-pro .digital-cta-card:hover .digital-cta-icon{background:rgba(255,255,255,.22);transform:translateY(-3px) rotate(-3deg)}}
@media(max-width:1100px){.digital-page-pro .digital-signal-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.digital-page-pro .digital-file-filter{grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(150px,.7fr));}.digital-page-pro .digital-file-filter .btn{width:100%}.digital-page-pro .digital-file-card{grid-template-columns:1fr}.digital-page-pro .digital-file-card-head,.digital-page-pro .digital-file-actions{grid-column:1}.digital-page-pro .digital-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.digital-page-pro .digital-access-flow article{grid-template-columns:34px minmax(0,1fr)}.digital-page-pro .digital-access-flow article>i{grid-column:1}.digital-page-pro .digital-access-flow article>div{grid-column:2;grid-row:1/3}.digital-page-pro .digital-cta-card{align-items:flex-start;flex-direction:column}}
@media(max-width:720px){.digital-page-pro{gap:34px;padding-top:18px}.digital-page-pro .digital-signal-strip{gap:9px}.digital-page-pro .digital-signal-strip article{grid-template-columns:42px minmax(0,1fr);min-height:78px;padding:12px}.digital-page-pro .digital-signal-icon{width:42px;height:42px}.digital-page-pro .digital-section-heading{display:grid;align-items:start}.digital-page-pro .digital-text-link{width:100%;justify-content:center}.digital-page-pro .digital-file-filter{grid-template-columns:1fr;padding:9px}.digital-page-pro .digital-result-line{align-items:flex-start;flex-direction:column}.digital-page-pro .digital-file-card{padding:17px}.digital-page-pro .digital-file-card-head{align-items:flex-start;flex-direction:column}.digital-page-pro .digital-file-meta{grid-template-columns:1fr}.digital-page-pro .digital-file-actions{display:grid}.digital-page-pro .digital-empty-state{grid-template-columns:46px minmax(0,1fr)}.digital-page-pro .digital-empty-state>span{width:46px;height:46px}.digital-page-pro .digital-empty-state .btn{grid-column:1/-1}.digital-page-pro .digital-collection-grid{grid-template-columns:1fr}.digital-page-pro .digital-heading-with-icon{grid-template-columns:44px minmax(0,1fr)}.digital-page-pro .digital-heading-with-icon>span{width:44px;height:44px}.digital-page-pro .digital-access-section{padding:20px}.digital-page-pro .digital-access-flow{grid-template-columns:1fr}.digital-page-pro .digital-access-flow article{padding:14px 0}.digital-page-pro .digital-access-flow article+article{border-top:1px solid var(--line);border-left:0}.digital-page-pro .digital-cta-card{padding:26px 22px}.digital-page-pro .digital-cta-copy{grid-template-columns:48px minmax(0,1fr)}.digital-page-pro .digital-cta-icon{width:48px;height:48px}.digital-page-pro .digital-cta-copy h2{font-size:23px}.digital-page-pro .digital-cta-actions{display:grid;width:100%}.digital-page-pro .digital-cta-actions .btn{width:100%}}
@media(max-width:460px){.digital-page-pro .digital-signal-strip{grid-template-columns:1fr}.digital-page-pro .digital-cta-copy{grid-template-columns:1fr}.digital-page-pro .digital-file-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.digital-page-pro .digital-signal-strip article,.digital-page-pro .digital-text-link,.digital-page-pro .digital-file-card,.digital-page-pro .digital-collection-grid .collection-card,.digital-page-pro .digital-access-flow article>i,.digital-page-pro .digital-cta-card,.digital-page-pro .digital-cta-card::before,.digital-page-pro .digital-cta-icon{transition:none!important;transform:none!important}}
.digital-page-pro.digital-layout-classic{display:block;padding:0 0 42px}.digital-layout-classic .page-feature-strip{margin-top:12px}.digital-layout-classic .split-showcase{margin-top:22px}.digital-layout-classic .digital-filter-card form{display:grid;gap:0}.digital-layout-classic .digital-filter-card .btn{margin-top:2px}.digital-layout-classic .digital-panels{padding:32px 0}.digital-layout-classic .digital-file-section{margin-top:8px;padding:30px 0;border-top:1px solid var(--line)}.digital-layout-classic .digital-access-section{margin-top:18px}.digital-layout-classic .digital-cta-section{margin-top:34px}

/* Digital hero photo: preserve the existing card geometry and content layout. */
body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy{position:relative;display:flex;overflow:hidden;isolation:isolate;flex-direction:column;justify-content:center;background:#eff6ff}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy::before{content:"";position:absolute;z-index:-2;inset:0;background-color:#dbeafe;background-image:url("../../frontend/images/hero-slides/slide-01.webp");background-repeat:no-repeat;background-position:58% center;background-size:cover;filter:saturate(.9) contrast(.98);transform:scale(1.012);transition:filter .65s cubic-bezier(.25,1,.5,1),transform .65s cubic-bezier(.25,1,.5,1),background-position .65s cubic-bezier(.25,1,.5,1)}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(248,251,255,.99) 0%,rgba(242,248,255,.96) 47%,rgba(226,239,255,.82) 67%,rgba(219,234,254,.55) 100%);pointer-events:none}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy>*{position:relative;z-index:1}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy h1{color:#0f172a;text-wrap:balance}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy p{color:#40597e;text-wrap:pretty}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-search{width:100%;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .popular-chips a{background:rgba(239,246,255,.94);border:1px solid rgba(37,99,235,.09)}body.frontend-shell.theme-dark .catalog-showcase-hero.digital-showcase-hero .showcase-copy{background:#071a32}body.frontend-shell.theme-dark .catalog-showcase-hero.digital-showcase-hero .showcase-copy::after{background:linear-gradient(90deg,rgba(7,17,31,.99) 0%,rgba(8,29,53,.96) 48%,rgba(7,39,75,.82) 72%,rgba(6,30,62,.65) 100%)}body.frontend-shell.theme-dark .catalog-showcase-hero.digital-showcase-hero .showcase-copy h1{color:#f8fafc}body.frontend-shell.theme-dark .catalog-showcase-hero.digital-showcase-hero .showcase-copy p{color:#d7e5f7}body.frontend-shell.theme-dark .catalog-showcase-hero.digital-showcase-hero .popular-chips a{background:rgba(15,35,61,.92);border-color:rgba(147,197,253,.14)}@media(hover:hover) and (pointer:fine){body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy:hover::before{background-position:61% center;filter:saturate(1.02) contrast(1);transform:scale(1.045)}}@media(max-width:760px){body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy::before{background-position:64% center}body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy::after{background:linear-gradient(90deg,rgba(248,251,255,.99) 0%,rgba(242,248,255,.97) 58%,rgba(226,239,255,.8) 100%)}}@media(prefers-reduced-motion:reduce){body.frontend-shell .catalog-showcase-hero.digital-showcase-hero .showcase-copy::before{transition:none!important;transform:none!important}}
