:root{--navy:#092f63;--navy2:#061f43;--blue:#2468dc;--blue2:#5a8ff0;--green:#22a06b;--gold:#f3a71a;--purple:#7856d8;--red:#d64545;--bg:#f4f7fb;--surface:#fff;--text:#17243b;--muted:#6b7890;--border:#dfe7f2;--shadow:0 12px 30px rgba(15,47,94,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}a{color:var(--blue);text-decoration:none}button,input,select,textarea{font:inherit}
.topbar{height:72px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 22px;gap:18px;position:sticky;top:0;z-index:50}.menu-btn{display:none;width:40px;height:40px;border:0;border-radius:10px;background:#eef4fc;padding:10px;cursor:pointer}.menu-btn span{display:block;height:2px;background:var(--navy);margin:4px 0}.brand{display:flex;align-items:center;gap:11px;color:var(--navy);min-width:280px}.logo-mark{width:43px;height:43px;border-radius:13px;background:linear-gradient(145deg,var(--navy),var(--blue));color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:0 8px 18px rgba(9,47,99,.22)}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:15px}.brand-copy small{color:var(--muted);font-size:11px;margin-top:2px}.global-search{flex:1;position:relative;max-width:610px;margin-left:auto}.global-search input{width:100%;padding:12px 66px 12px 39px;border:1px solid var(--border);border-radius:13px;background:#f8fafe;outline:none;transition:.2s}.global-search input:focus{border-color:#8bb2f4;box-shadow:0 0 0 4px rgba(36,104,220,.08)}.search-icon{position:absolute;left:14px;top:10px;color:var(--muted);font-size:18px}.global-search kbd{position:absolute;right:10px;top:9px;padding:4px 7px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--muted);font-size:10px}.icon-btn{width:38px;height:38px;border-radius:10px;background:#f7f9fc;display:grid;place-items:center;color:var(--navy)}.user-chip{display:flex;align-items:center;gap:9px;white-space:nowrap}.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(145deg,#ffd999,var(--gold));display:grid;place-items:center;color:var(--navy);font-weight:800}.user-copy{display:flex;flex-direction:column}.user-copy strong{font-size:12px}.user-copy small{font-size:10px;color:var(--muted)}.logout-link{font-size:11px;margin-left:3px}
.layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{background:linear-gradient(180deg,#fff 0%,#f9fbfe 100%);border-right:1px solid var(--border);padding:18px 13px;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column;z-index:40}.primary-nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:12px;color:#40516b;font-weight:600;transition:.2s}.nav-item:hover{background:#eef4fd;color:var(--blue)}.nav-item.active{color:#fff;background:linear-gradient(135deg,var(--navy),var(--blue));box-shadow:0 10px 22px rgba(36,104,220,.2)}.nav-icon{font-size:18px;width:22px;text-align:center}.sidebar-card{margin-top:auto;background:#eaf2ff;border:1px solid #d5e5ff;padding:14px;border-radius:14px}.sidebar-card strong{color:var(--navy)}.sidebar-card p{font-size:11px;line-height:1.5;color:var(--muted)}.sidebar-card a{font-size:11px;font-weight:700}.sidebar-footer{font-size:10px;color:var(--muted);padding:15px 4px 2px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:5px;box-shadow:0 0 0 4px rgba(34,160,107,.1)}
.main-shell{min-width:0}.context-nav{height:54px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 26px;gap:26px;position:sticky;top:72px;z-index:35}.context-title{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--muted)}.context-links{display:flex;align-items:center;gap:5px;overflow:auto;height:100%}.context-links a{height:100%;display:flex;align-items:center;padding:0 12px;color:#536078;font-weight:600;font-size:12px;border-bottom:3px solid transparent;white-space:nowrap}.context-links a:hover,.context-links a.active{color:var(--blue);border-bottom-color:var(--blue)}
.content{padding:25px 27px;min-width:0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.page-head h1{margin:0;color:var(--navy);font-size:25px}.page-head p{margin:6px 0 0}.muted{color:var(--muted)}
.grid{display:grid;gap:17px}.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--surface);border:1px solid var(--border);border-radius:17px;padding:18px;box-shadow:0 5px 18px rgba(17,52,96,.04)}.metric-card{position:relative;overflow:hidden;min-height:122px}.metric-card:after{content:"";position:absolute;width:95px;height:95px;border-radius:50%;right:-28px;top:-30px;background:var(--metric-soft)}.metric-top{display:flex;align-items:center;justify-content:space-between}.metric-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--metric-soft);color:var(--metric-color);font-size:21px}.metric-value{font-size:29px;font-weight:800;color:var(--navy);margin-top:13px;line-height:1}.metric-label{font-size:11px;color:var(--muted);margin-top:7px}.metric-trend{font-size:10px;color:var(--green);font-weight:700}.animate-count{animation:countPop .7s ease both}@keyframes countPop{0%{transform:translateY(8px);opacity:0}100%{transform:none;opacity:1}}
.dashboard-grid{grid-template-columns:1.35fr .85fr}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.panel-head h3{margin:0;color:var(--navy);font-size:15px}.panel-head a{font-size:11px;font-weight:700}.resource-list{display:flex;flex-direction:column;gap:9px}.resource-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:11px;border:1px solid #e8eef6;border-radius:12px;background:#fbfcfe;transition:.18s}.resource-row:hover{transform:translateY(-1px);border-color:#cbdcf4;box-shadow:0 7px 15px rgba(17,52,96,.06)}.file-icon{width:40px;height:40px;border-radius:10px;background:#edf4ff;display:grid;place-items:center;color:var(--blue);font-weight:800}.resource-title{font-weight:700;color:var(--text);display:block}.resource-meta{font-size:10px;color:var(--muted);margin-top:3px}.tag{display:inline-flex;align-items:center;background:#edf4ff;color:var(--blue);padding:5px 9px;border-radius:999px;font-size:10px;font-weight:700}
.chart-wrap{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:18px}.donut{--value:70;width:145px;height:145px;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--value)*1%),#46b989 0 73%,var(--gold) 0 86%,#8a6ad8 0);position:relative;animation:spinIn 1s ease both}.donut:after{content:"";position:absolute;inset:30px;background:#fff;border-radius:50%}.donut-center{position:absolute;inset:0;display:grid;place-items:center;z-index:2;text-align:center}.donut-center strong{font-size:22px;color:var(--navy)}.donut-center small{font-size:9px;color:var(--muted)}@keyframes spinIn{from{transform:rotate(-70deg) scale(.75);opacity:0}to{transform:none;opacity:1}}.legend{display:flex;flex-direction:column;gap:8px}.legend-row{display:grid;grid-template-columns:8px 1fr auto;gap:8px;align-items:center;font-size:10px}.legend-dot{width:8px;height:8px;border-radius:50%}
.activity-chart{height:190px;position:relative;padding:12px 10px 22px;border-left:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;align-items:end;gap:11px}.bar{flex:1;min-width:12px;height:var(--h);border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,var(--blue2),var(--blue));transform-origin:bottom;animation:barGrow .9s ease both;animation-delay:var(--delay)}.bar:hover{filter:brightness(.92)}@keyframes barGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}.chart-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);padding-top:6px}.quick-grid{grid-template-columns:repeat(4,1fr)}.quick-card{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--text);transition:.2s}.quick-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#bdd3f4}.quick-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:#edf4ff;color:var(--blue)}.quick-card strong{display:block;font-size:12px}.quick-card small{font-size:10px;color:var(--muted)}
.two-col{grid-template-columns:1.25fr .75fr}.three-col{grid-template-columns:repeat(3,1fr)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;padding:10px 14px;background:var(--blue);color:#fff;cursor:pointer;font-weight:700;font-size:12px;transition:.18s}.btn:hover{transform:translateY(-1px);box-shadow:0 7px 14px rgba(36,104,220,.18)}.btn.secondary{background:#fff;color:var(--blue);border:1px solid #a9c5ef}.btn.ghost{background:#edf4ff;color:var(--blue)}.btn.danger{background:#bd322f}.btn.small{padding:7px 10px;font-size:10px}.filters,.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;outline:none}.input:focus,select:focus,textarea:focus{border-color:#8eb3ef;box-shadow:0 0 0 3px rgba(36,104,220,.07)}.label{display:block;font-weight:700;margin-bottom:6px;font-size:11px}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:12px;border-bottom:1px solid var(--border);text-align:left;font-size:11px}.table th{color:var(--navy);background:#f5f8fc;text-transform:uppercase;letter-spacing:.04em;font-size:9px}.table tr:hover td{background:#fbfcfe}.alert{padding:12px 16px;border-radius:10px;margin-bottom:16px}.alert.success{background:#e8f8ef;color:#17653e}.alert.error{background:#fff0ef;color:#9b1c1c}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.resource-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:.2s}.resource-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.resource-card-cover{height:118px;background:linear-gradient(140deg,#e7f0ff,#f9fbff);display:flex;align-items:center;justify-content:center;position:relative}.resource-card-cover .big-file{font-size:37px}.resource-card-cover .resource-badge{position:absolute;left:12px;top:12px}.resource-card-body{padding:15px}.resource-card-body h3{font-size:13px;margin:0 0 7px;color:var(--navy)}.resource-card-body p{font-size:10px;line-height:1.5;color:var(--muted);min-height:31px}.resource-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding:11px 15px;font-size:9px;color:var(--muted)}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-visual{background:linear-gradient(135deg,var(--navy2),#174f94);color:#fff;padding:8vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}.auth-visual:before{width:380px;height:380px;right:-120px;top:-130px}.auth-visual:after{width:250px;height:250px;left:-100px;bottom:-80px}.auth-card-wrap{display:grid;place-items:center;padding:30px;background:#f8fafd}.auth-card{width:min(430px,100%);background:#fff;border:1px solid var(--border);border-radius:20px;padding:31px;box-shadow:0 25px 65px rgba(11,45,92,.13)}.auth-card h1{color:var(--navy)}
.viewer{height:calc(100vh - 215px);background:#20242a;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.viewer iframe{width:100%;height:100%;border:0}.resource-hero{display:grid;grid-template-columns:210px 1fr;gap:25px}.cover{height:265px;border-radius:15px;background:linear-gradient(135deg,#e9f2ff,#d6e6ff);display:grid;place-items:center;color:var(--navy);font-weight:800;text-align:center;padding:20px}.footer{padding:16px 27px;display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.empty-state{text-align:center;padding:40px 20px}.empty-state .empty-icon{font-size:40px}.progress-ring{width:82px;height:82px;border-radius:50%;background:conic-gradient(var(--green) var(--p),#e5edf6 0);display:grid;place-items:center}.progress-ring:after{content:attr(data-label);width:60px;height:60px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--navy)}
@media(max-width:1120px){.cards{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.two-col{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}.resource-grid{grid-template-columns:repeat(2,1fr)}.filters,.form-grid{grid-template-columns:repeat(2,1fr)}.global-search{max-width:430px}}
@media(max-width:800px){.topbar{padding:0 12px}.menu-btn{display:block}.brand{min-width:auto}.brand-copy,.global-search kbd,.user-copy,.logout-link{display:none}.global-search{max-width:none}.layout{grid-template-columns:1fr}.sidebar{position:fixed;inset:72px auto 0 0;width:225px;transform:translateX(-105%);transition:.22s;box-shadow:20px 0 35px rgba(9,47,99,.12)}.sidebar.open{transform:translateX(0)}.context-nav{top:72px;padding:0 15px}.context-title{display:none}.content{padding:18px 14px}.cards,.quick-grid,.resource-grid,.filters,.form-grid{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.resource-hero{grid-template-columns:1fr}.cover{height:170px}.resource-row{grid-template-columns:42px 1fr}.resource-row .tag{display:none}.chart-wrap{grid-template-columns:1fr;justify-items:center}.footer{flex-direction:column;gap:5px}.page-head{align-items:flex-start}.page-head .btn{flex-shrink:0}}

.form-stack{max-width:720px;display:grid;gap:10px}.review-card{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:center;margin-bottom:14px}.review-card textarea{min-height:95px}.actions{display:flex;flex-direction:column;gap:8px}.tab-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab-pills a{padding:9px 13px;background:#fff;border:1px solid var(--line);border-radius:999px}.empty-state{background:#fff;border:1px dashed var(--line);padding:32px;text-align:center;border-radius:16px;color:var(--muted)}
@media(max-width:850px){.review-card{grid-template-columns:1fr}.actions{flex-direction:row;flex-wrap:wrap}}
/* V3.0 Knowledge Platform */
.landing-body{background:#fff;color:var(--text)}.landing-nav{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,72px);border-bottom:1px solid var(--border);position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:30}.landing-nav nav{display:flex;gap:24px;align-items:center}.landing-nav nav>a:not(.btn){color:#40516a;font-weight:650}.landing-hero{min-height:650px;padding:70px clamp(20px,6vw,90px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:50px;background:radial-gradient(circle at 85% 20%,#e8f1ff,transparent 35%),linear-gradient(180deg,#fbfdff,#f5f8fc)}.eyebrow{font-size:12px;letter-spacing:.16em;color:var(--blue);font-weight:800}.hero-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.02;color:var(--navy);margin:14px 0 20px;max-width:720px}.hero-copy>p{font-size:20px;line-height:1.6;color:var(--muted);max-width:680px}.hero-actions{display:flex;gap:12px;margin:28px 0}.hero-stats{display:flex;gap:36px;border-top:1px solid var(--border);padding-top:25px}.hero-stats div{display:flex;flex-direction:column}.hero-stats strong{font-size:28px;color:var(--navy)}.hero-stats span{font-size:13px;color:var(--muted)}.mock-window{background:#fff;border:1px solid #d9e5f2;border-radius:22px;box-shadow:0 30px 70px rgba(11,45,92,.18);padding:18px;transform:perspective(1200px) rotateY(-6deg) rotateX(2deg)}.mock-bar{display:flex;gap:7px;margin-bottom:18px}.mock-bar i{width:9px;height:9px;border-radius:50%;background:#c7d2df}.mock-search{height:48px;border-radius:12px;background:#f2f6fb;color:#8a98aa;padding:14px 18px}.mock-grid{display:grid;grid-template-columns:110px 1fr;gap:15px;margin-top:15px}.mock-side{height:340px;background:linear-gradient(#123963,#0b2d5c);border-radius:13px}.mock-main{padding:6px}.mock-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mock-kpis b{height:70px;background:#eef4fb;border-radius:12px}.mock-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:15px}.mock-cards span{height:115px;border:1px solid #dfe8f3;border-radius:13px;background:linear-gradient(135deg,#fff,#f3f7fc)}.landing-section{padding:80px clamp(20px,6vw,90px)}.section-heading{text-align:center;max-width:740px;margin:0 auto 45px}.section-heading h2,.landing-band h2{font-size:38px;color:var(--navy);margin:10px 0}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.feature-grid article{padding:28px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:0 12px 35px rgba(11,45,92,.06)}.feature-grid article>span{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#e9f2ff;color:var(--blue);font-size:25px}.feature-grid h3{color:var(--navy)}.feature-grid p{color:var(--muted);line-height:1.6}.landing-band{padding:70px clamp(20px,6vw,90px);background:var(--navy);color:#fff;display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center}.landing-band .eyebrow{color:#8ec0ff}.landing-band h2{color:#fff}.landing-categories{display:flex;flex-wrap:wrap;gap:12px}.landing-categories span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);padding:13px 17px;border-radius:999px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.steps b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--blue);color:#fff;font-size:18px}.steps h3{color:var(--navy)}.steps p{color:var(--muted)}.landing-footer{padding:28px;text-align:center;background:#071d39;color:#c3d2e5}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.collection-card{display:flex;gap:18px;padding:24px;background:#fff;border:1px solid var(--border);border-radius:18px;color:var(--text);box-shadow:0 8px 30px rgba(11,45,92,.05);transition:.2s}.collection-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(11,45,92,.1)}.collection-card h3{color:var(--navy);margin:10px 0 6px}.collection-card p{color:var(--muted);line-height:1.5}.collection-icon{min-width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;font-weight:900}.collection-icon.large{width:100px;height:100px;font-size:24px}.collection-icon.small{display:inline-grid;min-width:42px;width:42px;height:42px;border-radius:12px;margin-right:10px}.collection-hero{display:flex;align-items:center;gap:25px;padding:32px}.collection-hero h1{margin:7px 0;color:var(--navy)}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.library-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 7px 24px rgba(11,45,92,.05)}.book-cover{height:175px;padding:24px;background:linear-gradient(135deg,#0b2d5c,#2468dc);color:#fff;display:flex;flex-direction:column;justify-content:space-between}.book-cover span{font-size:35px;font-weight:900}.book-cover small{opacity:.8}.book-body{padding:20px}.book-body h3{line-height:1.35;min-height:52px}.book-body h3 a{color:var(--navy)}.book-body p{color:var(--muted);min-height:58px}.book-footer{display:flex;justify-content:space-between;align-items:center}.horizontal-books{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.mini-book{display:flex;gap:12px;border:1px solid var(--border);border-radius:14px;padding:13px;color:var(--text);background:#fbfdff}.mini-cover{min-width:52px;height:70px;border-radius:8px;background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;display:grid;place-items:center;font-weight:900}.mini-cover.gold{background:linear-gradient(135deg,#d38d00,#f3a712)}.mini-book div:last-child{display:flex;flex-direction:column;min-width:0}.mini-book strong{color:var(--navy);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-book small{color:var(--muted);margin:5px 0}.mini-book span{color:var(--blue);font-size:12px;margin-top:auto}.resource-hero.v3{grid-template-columns:230px 1fr;padding:28px}.resource-hero.v3 .cover{height:315px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;background:linear-gradient(145deg,#0b2d5c,#2468dc);color:#fff}.resource-hero.v3 .cover span{font-size:44px}.resource-badges{display:flex;gap:8px;flex-wrap:wrap}.tag.soft{background:#f2f5f9;color:#5d6b7d}.lead{font-size:16px;line-height:1.65}.metadata-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.metadata-grid span{padding:12px;background:#f7f9fc;border-radius:10px}.metadata-grid small,.metadata-grid strong{display:block}.metadata-grid small{color:var(--muted);margin-bottom:5px}.resource-actions{display:flex;align-items:center;gap:10px}.saved-chip{padding:10px 15px;border-radius:10px;background:#e9f8f0;color:#17653e;font-weight:700}.detail-list>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:11px 0}.detail-list span{color:var(--muted)}.rating-summary strong{font-size:46px;color:var(--navy)}.rating-summary span{display:block;color:var(--muted)}.rating-form{display:flex;margin-top:16px}.rating-form button{border:0;background:none;color:#f3a712;font-size:28px;cursor:pointer}.reader-shell{display:grid;grid-template-columns:230px minmax(0,1fr) 280px;height:calc(100vh - 142px);margin:-28px}.reader-panel{background:#fff;padding:20px;border-right:1px solid var(--border);overflow:auto}.reader-panel.right{border-right:0;border-left:1px solid var(--border)}.reader-panel h3{color:var(--navy)}.reader-cover{height:160px;border-radius:14px;background:linear-gradient(145deg,var(--navy),var(--blue));color:#fff;display:grid;place-items:center;font-size:30px;font-weight:900;margin:18px 0}.reader-outline{display:flex;flex-direction:column;gap:8px}.reader-outline button{padding:10px;text-align:left;border:0;background:#f4f7fb;border-radius:8px;color:#40516a;cursor:pointer}.reader-main{background:#20252c;min-width:0;display:flex;flex-direction:column}.reader-toolbar{height:64px;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;border-bottom:1px solid var(--border)}.reader-toolbar span{display:block;font-size:12px;color:var(--muted)}.reading-progress{width:180px;height:6px;background:#e6ebf1;border-radius:10px}.reading-progress i{display:block;width:12%;height:100%;background:var(--blue);border-radius:10px;transition:.2s}.reader-main iframe{width:100%;height:calc(100% - 64px);border:0;background:#fff}.reader-panel textarea{width:100%;margin-bottom:10px}.notes-list article{border:1px solid var(--border);border-radius:10px;padding:10px;margin-top:10px}.notes-list p{font-size:13px}.notes-list small{color:var(--muted)}.reader-dark .reader-panel,.reader-dark .reader-toolbar{background:#111827;color:#e5e7eb}.reader-dark .reader-main{background:#05070a}.collection-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.filters.compact{grid-template-columns:1fr 80px auto}.collection-items{margin-top:14px}.collection-items>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}.link-danger{border:0;background:none;color:#b42318;cursor:pointer}.back-link{font-size:13px}
@media(max-width:1100px){.landing-hero{grid-template-columns:1fr}.hero-visual{max-width:720px}.feature-grid,.steps{grid-template-columns:repeat(2,1fr)}.collection-grid,.library-grid{grid-template-columns:repeat(2,1fr)}.horizontal-books{grid-template-columns:repeat(2,1fr)}.reader-shell{grid-template-columns:190px 1fr}.reader-panel.right{display:none}}
@media(max-width:760px){.landing-nav nav>a:not(.btn){display:none}.landing-hero{padding-top:45px}.hero-copy h1{font-size:42px}.hero-stats{gap:15px;flex-wrap:wrap}.landing-band{grid-template-columns:1fr}.feature-grid,.steps,.collection-grid,.library-grid,.horizontal-books,.collection-admin-grid{grid-template-columns:1fr}.metadata-grid{grid-template-columns:repeat(2,1fr)}.reader-shell{grid-template-columns:1fr;height:calc(100vh - 140px);margin:-18px}.reader-panel.left{display:none}.resource-hero.v3{grid-template-columns:1fr}.landing-section{padding-top:55px;padding-bottom:55px}}

.watermark-layer{position:absolute;inset:0;pointer-events:none;z-index:8;display:grid;place-items:center;color:rgba(50,70,100,.16);font-size:18px;font-weight:700;transform:rotate(-22deg);text-align:center;padding:20px}.enterprise-banner{background:linear-gradient(135deg,#0b2d5c,#185abd);color:#fff;padding:16px;border-radius:16px}.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#20b26b;margin-right:6px}

/* V4.3 navigation and dashboard refinement */
.primary-nav>.nav-item{min-height:48px}.primary-nav>.nav-item+.nav-item{margin-top:1px}.sidebar .primary-nav>a:not(.nav-item){display:none!important}.context-nav{min-height:56px;height:auto}.context-links{min-height:55px;scrollbar-width:thin}.context-links a{min-height:55px}.context-links::-webkit-scrollbar{height:4px}.context-links::-webkit-scrollbar-thumb{background:#cbd8eb;border-radius:99px}
.dashboard-heading{padding:4px 0 2px}.eyebrow{display:inline-block;margin-bottom:7px;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.dashboard-metrics{margin-bottom:18px}.admin-action-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:14px 16px;border:1px solid #d7e5fa;border-radius:15px;background:linear-gradient(90deg,#eef5ff,#fff)}.admin-action-strip>div:first-child{display:flex;flex-direction:column;gap:3px}.admin-action-strip strong{color:var(--navy);font-size:12px}.admin-action-strip span{color:var(--muted);font-size:10px}.admin-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.admin-actions a{padding:8px 11px;border:1px solid #cbdcf4;border-radius:9px;background:#fff;color:var(--blue);font-size:10px;font-weight:750;transition:.18s}.admin-actions a:hover{background:var(--blue);border-color:var(--blue);color:#fff;transform:translateY(-1px)}.quick-icon.green{background:#eaf8ef;color:#22a06b}.quick-icon.amber{background:#fff4df;color:#f0a514}.quick-icon.purple{background:#f1edff;color:#7856d8;font-size:13px;font-weight:800}.dashboard-primary{margin-top:18px}.journey-panel{display:flex;align-items:center;gap:22px;padding:15px 5px}.journey-panel h3{margin:0;color:var(--navy)}.featured-section{margin-top:18px}.metric-card{transition:transform .2s,box-shadow .2s}.metric-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(17,52,96,.09)}
@media(max-width:1000px){.admin-action-strip{align-items:flex-start;flex-direction:column}.admin-actions{justify-content:flex-start}.head-actions{justify-content:flex-start}.dashboard-heading{flex-direction:column}}
@media(max-width:800px){.context-nav{align-items:flex-start;padding-top:0}.context-links{width:100%;overflow-x:auto}.admin-actions a{font-size:9px}.journey-panel{align-items:flex-start;flex-direction:column}.dashboard-heading .head-actions{width:100%}.dashboard-heading .head-actions .btn{flex:1;text-align:center}}

/* V4.5 professional resource cover system */
.resource-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;align-items:start}.cover-manager{position:sticky;top:145px;padding:20px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f4f8fe)}.cover-manager h3{margin:0 0 5px;color:var(--navy)}.cover-preview-frame{position:relative;width:min(220px,100%);aspect-ratio:8/11;margin:18px auto;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#0b2d5c,#2468dc);box-shadow:0 18px 38px rgba(11,45,92,.18);border:5px solid #fff}.cover-preview-frame img{width:100%;height:100%;object-fit:cover;display:block}.cover-preview-frame>div{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;text-align:center;padding:20px}.cover-preview-frame strong{font-size:42px}.cover-preview-frame span{font-size:12px;opacity:.8;margin-top:8px}.cover-option{display:flex;gap:10px;padding:11px;border-radius:11px;border:1px solid var(--border);background:#fff;margin:9px 0;cursor:pointer}.cover-option input{margin-top:4px}.cover-option span,.cover-option small{display:block}.cover-option small{color:var(--muted);margin-top:4px;line-height:1.35}.check-row{display:block;margin:12px 0;font-size:13px}.danger-text{color:#b42318}.cover-standard{display:grid;gap:5px;border-top:1px solid var(--border);margin-top:15px;padding-top:14px;font-size:12px;color:var(--muted)}.cover-standard strong{color:var(--navy)}
.resource-card-cover{position:relative;overflow:hidden;aspect-ratio:8/5;min-height:190px}.resource-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .35s ease}.resource-card:hover .resource-cover-image{transform:scale(1.035)}.resource-badge{position:absolute;top:12px;left:12px;z-index:2;box-shadow:0 3px 12px rgba(11,45,92,.12)}.resource-card-cover:has(.resource-cover-image)::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(4,20,43,.45));pointer-events:none}.resource-detail-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}.resource-hero.v3 .cover{position:relative;overflow:hidden;aspect-ratio:8/11;height:auto;min-height:315px}.mini-cover{overflow:hidden;padding:0}.mini-cover-image{width:100%;height:100%;object-fit:cover;object-position:center top}.book-cover{position:relative;overflow:hidden;padding:0}.book-cover-image{width:100%;height:100%;object-fit:cover;object-position:center top}.cover-thumb{overflow:hidden;padding:0}.cover-thumb-image{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:inherit}
@media(max-width:1000px){.resource-form-layout{grid-template-columns:1fr}.cover-manager{position:static}.cover-preview-frame{width:190px}}
.admin-cover-thumb{display:grid;place-items:center;width:42px;height:58px;border-radius:7px;overflow:hidden;background:linear-gradient(145deg,var(--navy),var(--blue));color:#fff;font-size:11px;font-weight:800;box-shadow:0 5px 14px rgba(11,45,92,.13)}

/* V4.8 portrait cover layout correction */
.resource-grid{
  grid-template-columns:repeat(auto-fill,minmax(220px,260px));
  justify-content:start;
  align-items:stretch;
}
.resource-card{
  width:100%;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.resource-card-cover{
  height:auto;
  min-height:0;
  aspect-ratio:8/11;
  background:linear-gradient(145deg,#edf3fb,#ffffff);
  border-bottom:1px solid var(--border);
  display:block;
}
.resource-cover-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  padding:8px;
  background:#fff;
}
.resource-card:hover .resource-cover-image{transform:scale(1.015)}
.resource-card-cover:has(.resource-cover-image)::after{display:none}
.resource-card-body{flex:1;display:flex;flex-direction:column}
.resource-card-body h3{
  font-size:14px;
  line-height:1.35;
  min-height:38px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.resource-card-body p{
  min-height:42px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.resource-card-footer{margin-top:auto;gap:10px}

.horizontal-books{
  grid-template-columns:repeat(auto-fill,minmax(270px,330px));
  justify-content:start;
  align-items:stretch;
}
.mini-book{
  min-width:0;
  width:100%;
  align-items:center;
  overflow:hidden;
  padding:12px;
  gap:14px;
}
.mini-cover{
  flex:0 0 72px;
  width:72px;
  min-width:72px;
  height:auto;
  aspect-ratio:8/11;
  border-radius:9px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 5px 14px rgba(11,45,92,.10);
}
.mini-cover-image{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:2px;
  background:#fff;
}
.mini-book>div:last-child{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
}
.mini-book strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  white-space:normal;
  line-height:1.3;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mini-book small{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.book-cover{
  height:auto;
  aspect-ratio:8/11;
  background:#fff;
}
.book-cover-image{
  object-fit:contain;
  object-position:center;
  padding:8px;
  background:#fff;
}
.cover-thumb-image{object-fit:contain;background:#fff;padding:2px}
.resource-detail-cover{object-fit:contain;background:#fff;padding:8px}

@media(max-width:760px){
  .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .resource-card-cover{aspect-ratio:8/11}
  .horizontal-books{grid-template-columns:1fr}
  .mini-cover{flex-basis:64px;width:64px;min-width:64px}
}
@media(max-width:430px){
  .resource-grid{grid-template-columns:1fr}
  .resource-card{max-width:290px}
}

/* V4.9 compact resource-card spacing correction */
.resource-grid{
  align-items:start;
  grid-auto-rows:max-content;
}
.resource-card.compact-resource-card{
  align-self:start;
  height:auto;
  min-height:0;
}
.compact-resource-card .resource-card-body{
  flex:0 0 auto;
  padding:13px 15px 11px;
  min-height:0;
}
.compact-resource-card .resource-card-body h3{
  min-height:0;
  margin:0 0 8px;
}
.compact-resource-card .resource-card-body p{
  min-height:0;
  margin:0 0 10px;
  line-height:1.45;
}
.compact-resource-card .resource-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:2px;
}
.compact-resource-card .resource-card-footer{
  margin-top:0;
  padding:10px 15px;
  min-height:48px;
}
@media(max-width:760px){
  .compact-resource-card .resource-card-body{padding:12px}
  .compact-resource-card .resource-card-footer{padding:9px 12px}
}

/* V5 Intelligent Knowledge Discovery */
.ai-search-box{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}.ai-results{display:grid;gap:14px}.ai-result mark,.page-highlight-panel mark{background:#ffe58f;padding:1px 2px;border-radius:3px}.ai-result h3{margin:10px 0 6px}.chat-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:18px}.chat-bubble{max-width:85%;padding:14px 16px;border-radius:16px;margin:12px 0}.chat-bubble.user{margin-left:auto;background:#e8f1ff}.chat-bubble.assistant{background:#f1f7f4;border:1px solid #dcebe3}.chat-form{display:grid;gap:10px;margin-top:18px}.page-highlight-panel{max-height:300px;overflow:auto;background:#fffbea;border:1px solid #f0df9c;padding:12px;border-radius:10px;line-height:1.55;font-size:13px}.ai-summary{margin-top:18px;padding:15px;border-left:4px solid var(--blue);background:#f4f8ff;border-radius:9px}.uat-form{display:grid;grid-template-columns:130px minmax(180px,1fr) auto;gap:8px}.readiness-hero{text-align:center}.readiness-hero>strong{display:block;font-size:40px;color:var(--navy)}.readiness-bar{height:12px;background:#e7edf5;border-radius:99px;overflow:hidden;margin-top:15px}.readiness-bar i{height:100%;display:block;background:linear-gradient(90deg,var(--green),var(--blue));border-radius:99px}.readiness-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.readiness-item{display:flex;gap:12px;align-items:flex-start}.status-dot{width:14px;height:14px;border-radius:50%;margin-top:5px}.status-dot.ok{background:#1c9b64}.status-dot.warn{background:#e5a100}.resource-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.ai-search-box{grid-template-columns:1fr}.chat-layout,.readiness-list{grid-template-columns:1fr}.uat-form{grid-template-columns:1fr}}
/* V5.2 AI environment verification */
.verification-select{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}.resource-verification-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.readiness-list{display:grid;gap:12px}.readiness-item{display:flex;align-items:flex-start;gap:12px}.readiness-item p{margin:4px 0}.status-dot{width:12px;height:12px;border-radius:50%;display:inline-block;flex:0 0 12px;margin-top:5px;background:#e0a100;box-shadow:0 0 0 5px rgba(224,161,0,.12)}.status-dot.ok{background:#1c9b64;box-shadow:0 0 0 5px rgba(28,155,100,.12)}.status-dot.warn{background:#d88a00;box-shadow:0 0 0 5px rgba(216,138,0,.12)}.readiness-hero{display:flex;align-items:center;gap:16px}.readiness-hero strong{font-size:30px;color:var(--navy)}.readiness-bar{height:9px;background:#e7edf5;border-radius:99px;overflow:hidden;flex:1;max-width:460px}.readiness-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--green));border-radius:inherit;transition:width .5s ease}@media(max-width:760px){.verification-select{grid-template-columns:1fr}.resource-verification-head,.readiness-hero{align-items:flex-start;flex-direction:column}.readiness-bar{width:100%}}

/* V5.4 production AI interface */
.prompt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.prompt-chips button{border:1px solid #d9e4f2;background:#f7faff;color:#185abd;border-radius:999px;padding:8px 12px;cursor:pointer;font:inherit;font-size:13px}.prompt-chips button:hover{background:#eaf2ff}.chat-bubble.assistant{background:#f4faf7;border:1px solid #d9ebe1}.chat-bubble.user{background:#eaf2ff}.chat-form textarea{min-height:105px;resize:vertical}.chat-form .btn{width:100%;margin-top:10px}

/* V6.1 floating Repository Assistant */
.sr-only{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}
.lsv-chat-widget{position:fixed;right:22px;bottom:22px;z-index:1100;font-family:inherit;pointer-events:none}
.lsv-chat-launcher{pointer-events:auto;position:relative;display:flex;align-items:center;gap:10px;min-height:56px;padding:9px 17px 9px 10px;border:0;border-radius:999px;background:linear-gradient(135deg,#0b2d5c,#1f6fe5);color:#fff;box-shadow:0 14px 36px rgba(11,45,92,.28);cursor:pointer;font:inherit;font-weight:700;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.lsv-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(11,45,92,.35);filter:saturate(1.08)}
.lsv-chat-launcher:focus-visible,.lsv-chat-minimize:focus-visible,.lsv-chat-close:focus-visible,.lsv-chat-send:focus-visible{outline:3px solid rgba(47,132,255,.35);outline-offset:3px}
.lsv-chat-launcher-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.16)}
.lsv-chat-launcher-icon svg{width:24px;height:24px;fill:#fff}
.lsv-chat-launcher-label{white-space:nowrap}
.lsv-chat-pulse{position:absolute;inset:0;border-radius:999px;border:2px solid rgba(47,132,255,.45);animation:lsvChatPulse 2.4s ease-out infinite;pointer-events:none}
@keyframes lsvChatPulse{0%{transform:scale(.94);opacity:.75}70%,100%{transform:scale(1.22);opacity:0}}
.lsv-chat-panel{pointer-events:auto;position:absolute;right:0;bottom:72px;width:min(390px,calc(100vw - 28px));height:min(620px,calc(100vh - 115px));background:#fff;border:1px solid #dce5ef;border-radius:22px;box-shadow:0 24px 70px rgba(7,30,66,.28);overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;transform-origin:bottom right;animation:lsvChatOpen .22s ease-out}
@keyframes lsvChatOpen{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.lsv-chat-panel[hidden]{display:none}
.lsv-chat-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:14px 14px 13px;background:linear-gradient(135deg,#0b2d5c,#195db8);color:#fff}
.lsv-chat-avatar{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff;color:#0b2d5c;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.15)}
.lsv-chat-heading{min-width:0}.lsv-chat-heading strong{display:block;font-size:15px}.lsv-chat-heading span{display:flex;align-items:center;gap:6px;font-size:11px;color:#d7e8ff;margin-top:3px}.lsv-chat-heading i{width:7px;height:7px;border-radius:50%;background:#51d895;box-shadow:0 0 0 4px rgba(81,216,149,.15)}
.lsv-chat-minimize,.lsv-chat-close{width:31px;height:31px;border:0;border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:21px;line-height:1;cursor:pointer}.lsv-chat-minimize:hover,.lsv-chat-close:hover{background:rgba(255,255,255,.2)}
.lsv-chat-body{overflow:auto;padding:16px 14px;background:linear-gradient(180deg,#f8fbff,#f4f7fb);scroll-behavior:smooth}
.lsv-chat-message{display:flex;margin:0 0 12px}.lsv-chat-message.user{justify-content:flex-end}.lsv-chat-bubble{max-width:88%;padding:11px 13px;border-radius:15px;background:#fff;border:1px solid #dfe7f0;box-shadow:0 4px 13px rgba(21,54,95,.05);font-size:13px;line-height:1.5;color:#24364b}.lsv-chat-message.user .lsv-chat-bubble{background:#185abd;color:#fff;border-color:#185abd;border-bottom-right-radius:5px}.lsv-chat-message.assistant .lsv-chat-bubble{border-bottom-left-radius:5px}.lsv-chat-bubble p{margin:5px 0 0}.lsv-chat-source-list{margin:9px 0 0;padding:9px 0 0;border-top:1px solid #e5ebf2;list-style:none}.lsv-chat-source-list li+li{margin-top:6px}.lsv-chat-source-list a{display:flex;gap:5px;color:#185abd;font-weight:650;font-size:12px}.lsv-chat-meta{display:block;margin-top:7px;color:#7a8797;font-size:10px}
.lsv-chat-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 14px}.lsv-chat-suggestions button{border:1px solid #d7e3f1;background:#fff;color:#185abd;border-radius:999px;padding:7px 10px;font:inherit;font-size:11px;cursor:pointer}.lsv-chat-suggestions button:hover{background:#eaf2ff}
.lsv-chat-typing{display:inline-flex;align-items:center;gap:4px;padding:12px 14px;border-radius:15px 15px 15px 5px;background:#fff;border:1px solid #dfe7f0}.lsv-chat-typing i{width:6px;height:6px;border-radius:50%;background:#7590b0;animation:lsvTyping 1.2s infinite ease-in-out}.lsv-chat-typing i:nth-child(2){animation-delay:.15s}.lsv-chat-typing i:nth-child(3){animation-delay:.3s}@keyframes lsvTyping{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.lsv-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:11px 12px;background:#fff;border-top:1px solid #e2e8f0}.lsv-chat-composer textarea{width:100%;max-height:105px;resize:none;border:1px solid #dce5ef;border-radius:13px;padding:11px 12px;font:inherit;font-size:13px;line-height:1.4;outline:none;background:#f9fbfd}.lsv-chat-composer textarea:focus{border-color:#2c78df;box-shadow:0 0 0 3px rgba(44,120,223,.12);background:#fff}.lsv-chat-send{width:43px;height:43px;border:0;border-radius:13px;display:grid;place-items:center;background:#185abd;color:#fff;cursor:pointer;transition:.18s}.lsv-chat-send:hover{background:#0b2d5c;transform:translateY(-1px)}.lsv-chat-send:disabled{opacity:.55;cursor:wait;transform:none}.lsv-chat-send svg{width:20px;height:20px;fill:currentColor}
.lsv-chat-footer{text-align:center;padding:7px 10px;background:#fff;color:#8490a0;font-size:9.5px}
body.lsv-chat-open .lsv-chat-launcher{opacity:0;visibility:hidden;transform:scale(.86)}
@media(max-width:760px){.lsv-chat-widget{right:12px;bottom:12px}.lsv-chat-launcher{min-height:52px;padding:7px 12px}.lsv-chat-launcher-label{display:none}.lsv-chat-panel{position:fixed;right:8px;left:8px;bottom:8px;width:auto;height:min(680px,calc(100dvh - 16px));border-radius:19px}.lsv-chat-header{padding-top:max(13px,env(safe-area-inset-top))}.lsv-chat-body{padding-bottom:18px}}
@media(prefers-reduced-motion:reduce){.lsv-chat-pulse,.lsv-chat-panel,.lsv-chat-typing i{animation:none!important}.lsv-chat-launcher,.lsv-chat-send{transition:none}}

/* V6.3 assistant personalization and mobile UAT refinements */
.lsv-chat-unread{position:absolute;right:-3px;top:-5px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d92d20;color:#fff;border:3px solid #fff;display:grid;place-items:center;font-size:10px;font-weight:800;box-shadow:0 5px 12px rgba(217,45,32,.28)}
.lsv-chat-unread[hidden]{display:none}.lsv-chat-history-state{text-align:center;color:#758398;font-size:11px;padding:18px 8px}.lsv-chat-history-clear{width:31px;height:31px;border:0;border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:17px;cursor:pointer}.lsv-chat-history-clear:hover{background:rgba(255,255,255,.2)}.lsv-chat-history-clear:disabled{opacity:.45;cursor:wait}
.lsv-chat-header{grid-template-columns:auto minmax(0,1fr) auto auto auto}.settings-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.setting-check{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--border);border-radius:12px;background:#f9fbfe}.setting-check input{margin-top:3px}.setting-check span{display:flex;flex-direction:column;gap:3px}.setting-check small,.field-help{color:var(--muted);font-size:11px}.role-check-row{display:flex;flex-wrap:wrap;gap:14px}.role-check-row label{padding:8px 11px;border:1px solid var(--border);border-radius:10px;background:#fff}
@media(max-width:760px){body.lsv-chat-open{overflow:hidden}.lsv-chat-panel{height:calc(100dvh - 16px);max-height:none}.lsv-chat-body{overscroll-behavior:contain}.lsv-chat-composer{padding-bottom:max(11px,env(safe-area-inset-bottom))}.lsv-chat-launcher{width:54px;height:54px;padding:8px;border-radius:50%;justify-content:center}.lsv-chat-launcher-icon{width:38px;height:38px}.settings-check-grid{grid-template-columns:1fr}}
@media(max-width:390px){.lsv-chat-panel{right:0;left:0;bottom:0;height:100dvh;border-radius:0}.lsv-chat-header{padding-left:11px;padding-right:8px;gap:7px}.lsv-chat-avatar{width:38px;height:38px}.lsv-chat-history-clear,.lsv-chat-minimize,.lsv-chat-close{width:29px;height:29px}.lsv-chat-body{padding-left:10px;padding-right:10px}.lsv-chat-bubble{max-width:94%}}

/* V6.4 navigation consolidation */
.context-nav{min-height:58px;height:auto;align-items:stretch;gap:20px;padding:0 24px;overflow:visible}
.context-heading{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.context-title{display:flex;align-items:center;min-height:58px;color:var(--navy);font-size:11px}
.context-title:before{content:"";width:7px;height:7px;background:var(--blue);border-radius:50%;margin-right:9px;box-shadow:0 0 0 4px rgba(36,104,220,.1)}
.context-links{display:flex;align-items:stretch;gap:4px;overflow:visible;min-width:0;height:auto;min-height:58px}
.context-direct,.context-dropdown>summary{min-height:58px;display:flex;align-items:center;padding:0 13px;color:#536078;font-weight:700;font-size:12px;border-bottom:3px solid transparent;white-space:nowrap;cursor:pointer;list-style:none;transition:.16s}
.context-dropdown>summary::-webkit-details-marker{display:none}
.context-direct:hover,.context-direct.active,.context-dropdown:hover>summary,.context-dropdown.active>summary,.context-dropdown[open]>summary{color:var(--blue);border-bottom-color:var(--blue);background:#f8faff}
.context-dropdown{position:relative}
.dropdown-caret{font-size:11px;margin-left:7px;transition:transform .18s}
.context-dropdown[open] .dropdown-caret{transform:rotate(180deg)}
.context-dropdown-menu{position:absolute;top:calc(100% - 1px);left:0;min-width:230px;padding:8px;background:#fff;border:1px solid var(--border);border-radius:0 0 13px 13px;box-shadow:0 18px 38px rgba(9,47,99,.14);z-index:90;display:grid;gap:3px}
.context-dropdown-menu a{display:flex;align-items:center;min-height:39px;padding:9px 11px;border-radius:9px;color:#48566c;font-size:12px;font-weight:600;border:0}
.context-dropdown-menu a:hover,.context-dropdown-menu a.active{background:#edf4ff;color:var(--blue)}
.context-menu-toggle{display:none;border:1px solid var(--border);background:#f7f9fc;color:var(--navy);font-weight:700;border-radius:9px;padding:8px 11px;cursor:pointer}
.sidebar{padding-bottom:12px}.sidebar-footer{margin-top:auto}

@media(max-width:1050px) and (min-width:801px){
 .context-nav{padding:0 16px;gap:10px}.context-title{font-size:10px}.context-direct,.context-dropdown>summary{padding:0 9px;font-size:11px}.context-dropdown-menu{min-width:210px}
}
@media(max-width:800px){
 .context-nav{display:block;padding:8px 14px;min-height:54px;overflow:visible}
 .context-heading{justify-content:space-between;width:100%}
 .context-title{display:flex;min-height:38px}
 .context-menu-toggle{display:inline-flex;align-items:center;gap:7px}
 .context-links{display:none;width:100%;min-height:0;padding:8px 0 3px;flex-direction:column;align-items:stretch;gap:5px;overflow:visible}
 .context-links.open{display:flex}
 .context-direct,.context-dropdown>summary{min-height:43px;height:auto;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:#fff;justify-content:space-between}
 .context-direct.active,.context-dropdown.active>summary,.context-dropdown[open]>summary{border-color:#a9c5ef;background:#edf4ff}
 .context-dropdown{width:100%}
 .context-dropdown-menu{position:static;min-width:0;margin-top:4px;border-radius:10px;box-shadow:none;background:#f8fafe;padding:6px}
 .context-dropdown-menu a{min-height:40px}
}


/* V6.5 Header, breadcrumbs, profile menu and responsive mobile navigation */
.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
.icon-btn{position:relative;border:1px solid transparent;transition:background .18s,border-color .18s,transform .18s}
.icon-btn:hover{background:#edf4ff;border-color:#d6e5fa;transform:translateY(-1px)}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-badge{position:absolute;top:-5px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:9px;font-weight:800;line-height:1}
.profile-menu{position:relative}
.profile-menu>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:5px 7px 5px 5px;border:1px solid transparent;border-radius:13px;cursor:pointer;transition:.18s;outline:none}
.profile-menu>summary::-webkit-details-marker{display:none}
.profile-menu>summary:hover,.profile-menu[open]>summary{background:#f4f7fb;border-color:var(--border)}
.profile-caret{color:var(--muted);font-size:12px;transition:transform .18s}
.profile-menu[open] .profile-caret{transform:rotate(180deg)}
.profile-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:265px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 22px 55px rgba(9,47,99,.18);padding:10px;z-index:120}
.profile-dropdown:before{content:"";position:absolute;right:22px;top:-6px;width:11px;height:11px;background:#fff;border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}
.profile-dropdown-head{display:flex;align-items:center;gap:11px;padding:10px 9px 13px;border-bottom:1px solid var(--border)}
.profile-dropdown-head>div{min-width:0;display:flex;flex-direction:column}
.profile-dropdown-head strong{font-size:13px;color:var(--navy);overflow:hidden;text-overflow:ellipsis}
.profile-dropdown-head small{color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis}
.avatar.large{width:43px;height:43px;flex:0 0 43px}.avatar.small{width:34px;height:34px}
.profile-dropdown nav{padding-top:7px;display:grid;gap:2px}
.profile-dropdown nav a{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;min-height:40px;padding:8px 10px;border-radius:9px;color:#41516a;font-weight:600;font-size:12px}
.profile-dropdown nav a:hover{background:#edf4ff;color:var(--blue)}
.profile-dropdown nav a>span:first-child{font-size:16px;text-align:center}
.profile-dropdown nav b{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e9f1ff;color:var(--blue);display:grid;place-items:center;font-size:9px}
.profile-dropdown hr{border:0;border-top:1px solid var(--border);margin:5px 4px}
.profile-dropdown nav a.signout{color:#b52c2c}.profile-dropdown nav a.signout:hover{background:#fff0f0}

.breadcrumbs{background:#f8fafd;border-bottom:1px solid #e8eef6;padding:8px 27px;min-height:38px;display:flex;align-items:center}
.breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0;min-width:0;white-space:nowrap;overflow:hidden}
.breadcrumbs li{display:flex;align-items:center;min-width:0;color:var(--muted);font-size:11px;font-weight:600}
.breadcrumbs li:not(:last-child):after{content:"›";margin:0 8px;color:#a8b4c6}
.breadcrumbs a{color:#536783}.breadcrumbs a:hover{color:var(--blue)}
.breadcrumbs li:last-child span{color:var(--navy);overflow:hidden;text-overflow:ellipsis;max-width:min(45vw,430px)}

.mobile-sidebar-head{display:none}
.mobile-nav-overlay{position:fixed;inset:72px 0 0;background:rgba(6,31,67,.42);backdrop-filter:blur(2px);z-index:38;opacity:0;transition:opacity .2s}
.mobile-nav-overlay.visible{opacity:1}
.menu-btn{position:relative;align-items:center;justify-content:center;flex-direction:column;gap:4px;transition:background .18s}
.menu-btn span{width:19px;margin:0;transition:transform .22s,opacity .18s}
.menu-btn.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-btn.active span:nth-child(2){opacity:0}
.menu-btn.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-sidebar-close{width:36px;height:36px;border:0;border-radius:10px;background:#eef4fc;color:var(--navy);font-size:24px;line-height:1;cursor:pointer}
.logo-mark.small{width:36px;height:36px;border-radius:11px;font-size:11px}

@media(max-width:1100px){
 .brand{min-width:215px}.brand-copy strong{font-size:13px}.global-search{max-width:440px}
 .user-copy{display:none}.profile-menu>summary{padding-right:5px}
}
@media(max-width:900px){
 .brand-copy{display:none}.brand{min-width:auto}
 .global-search{max-width:none}
}
@media(max-width:800px){
 body.mobile-nav-open{overflow:hidden}
 .topbar{height:64px;padding:0 10px;gap:8px}
 .menu-btn{display:flex;flex:0 0 40px}
 .logo-mark{width:38px;height:38px;border-radius:11px;font-size:12px}
 .global-search{margin-left:0}.global-search input{height:40px;padding-right:38px}.global-search kbd{display:none}
 .header-actions{gap:5px}.icon-btn{width:38px;height:38px}
 .profile-menu>summary{padding:2px;border-radius:11px}.profile-caret,.profile-menu .user-copy{display:none}
 .profile-dropdown{position:fixed;right:10px;top:70px;width:min(300px,calc(100vw - 20px))}
 .profile-dropdown:before{right:17px}
 .layout{min-height:calc(100vh - 64px)}
 .sidebar{top:64px;height:calc(100dvh - 64px);width:min(294px,86vw);padding:0 13px 14px;z-index:45;overflow-y:auto;overscroll-behavior:contain}
 .sidebar.open{transform:translateX(0)}
 .mobile-sidebar-head{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:10px;padding:14px 2px 13px;margin-bottom:5px;border-bottom:1px solid var(--border)}
 .mobile-sidebar-head>div{display:flex;flex-direction:column}.mobile-sidebar-head strong{font-size:13px;color:var(--navy)}.mobile-sidebar-head small{font-size:10px;color:var(--muted)}
 .primary-nav{gap:5px}.nav-item{min-height:47px}
 .context-nav{top:64px}
 .breadcrumbs{padding:7px 14px;min-height:35px}
 .breadcrumbs li{font-size:10px}.breadcrumbs li:not(:last-child):after{margin:0 6px}
 .content{padding:16px 13px}
 .mobile-nav-overlay{inset:64px 0 0}
}
@media(max-width:560px){
 .brand{display:none}
 .global-search input{font-size:12px;padding-left:34px}.search-icon{left:12px}
 .notification-button{flex:0 0 38px}
 .breadcrumbs li:first-child:not(:last-child){display:none}
 .breadcrumbs li:first-child:not(:last-child)+li:before{content:"";margin:0}
 .page-head{flex-direction:column;align-items:stretch;gap:10px}
 .page-head .btn,.page-head .head-actions{width:100%}
 .page-head .head-actions{display:flex;gap:8px}.page-head .head-actions .btn{flex:1}
}
@media(max-width:390px){
 .topbar{padding:0 7px;gap:5px}
 .menu-btn,.icon-btn{width:37px;height:37px}
 .global-search input{padding-right:10px}
 .profile-dropdown{right:7px;width:calc(100vw - 14px)}
 .content{padding:14px 10px}
 .context-nav{padding-left:10px;padding-right:10px}
 .breadcrumbs{padding-left:10px;padding-right:10px}
}


/* V6.6 Intelligent real-time dashboard */
.dashboard-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px;padding:2px 0}
.dashboard-welcome h1{margin:4px 0 3px;font-size:clamp(22px,2.2vw,31px);letter-spacing:-.7px;color:var(--navy)}
.dashboard-welcome p{margin:0;color:var(--muted);font-size:12px}
.dashboard-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.live-status{display:grid;grid-template-columns:8px auto;column-gap:7px;align-items:center;padding:6px 10px;border:1px solid #d8e8df;background:#f3fbf6;border-radius:10px;color:#1f744d;min-height:36px}
.live-status i{width:8px;height:8px;border-radius:50%;background:#21a66b;box-shadow:0 0 0 4px rgba(33,166,107,.12);grid-row:1/3}
.live-status span{font-weight:800;font-size:10px;text-transform:uppercase;letter-spacing:.5px}
.live-status small{font-size:8.5px;color:#678377;line-height:1}
.dashboard-refresh.loading{pointer-events:none;opacity:.65}.dashboard-refresh.loading{animation:dashboardPulse .8s infinite alternate}
@keyframes dashboardPulse{to{transform:scale(.97)}}

.compact-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.compact-metric{min-width:0;min-height:82px;padding:12px 13px;background:#fff;border:1px solid var(--border);border-radius:13px;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;box-shadow:0 3px 12px rgba(20,54,92,.035);position:relative;overflow:hidden}
.compact-metric:after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--metric-accent,#2468dc)}
.compact-metric-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:14px;font-weight:800;background:var(--metric-soft,#eaf2ff);color:var(--metric-accent,#2468dc);grid-row:1/3}
.compact-metric-main{display:flex;align-items:baseline;gap:7px;min-width:0}
.compact-metric-main strong{font-size:21px;line-height:1;color:var(--navy);letter-spacing:-.6px}
.compact-metric-main span{font-size:10.5px;font-weight:800;color:#43526a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-metric>small{font-size:8.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tone-blue{--metric-accent:#2468dc;--metric-soft:#eaf2ff}.tone-green{--metric-accent:#22a06b;--metric-soft:#e9f8f0}.tone-amber{--metric-accent:#e6a012;--metric-soft:#fff6df}.tone-purple{--metric-accent:#7856d8;--metric-soft:#f1edff}

.dashboard-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
.dashboard-alert{min-height:38px;padding:8px 11px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;border:1px solid}
.dashboard-alert b{font-size:9px;white-space:nowrap}.dashboard-alert.warning{background:#fff8e8;border-color:#f6d98e;color:#805d08}.dashboard-alert.info{background:#eef5ff;border-color:#cfe0fb;color:#20599c}.dashboard-alert.danger{background:#fff0f0;border-color:#f3caca;color:#9b3434}.dashboard-alert.neutral{background:#f5f7fa;border-color:#dfe5ec;color:#526174}.dashboard-alert.success{background:#ecf9f1;border-color:#ccebd9;color:#24744d}

.dashboard-actions{margin-bottom:13px}
.dashboard-section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:7px}
.dashboard-section-title h2{font-size:13px;margin:0;color:var(--navy)}.dashboard-section-title p{font-size:9.5px;margin:2px 0 0;color:var(--muted)}
.compact-action-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.compact-action-grid>a{min-height:60px;padding:9px 10px;background:#fff;border:1px solid var(--border);border-radius:11px;display:flex;align-items:center;gap:9px;color:inherit;transition:.18s}
.compact-action-grid>a:hover{transform:translateY(-2px);border-color:#c4d8f2;box-shadow:0 7px 17px rgba(20,62,113,.08)}
.action-symbol{width:32px;height:32px;flex:0 0 32px;border-radius:9px;display:grid;place-items:center;font-weight:850;font-size:11px;background:#eaf2ff;color:#2468dc}.action-symbol.green{background:#e9f8f0;color:#1c8a59}.action-symbol.amber{background:#fff6df;color:#c1840c}.action-symbol.purple{background:#f1edff;color:#6c4ac9}.action-symbol.red{background:#fff0f0;color:#ba4242}
.compact-action-grid strong{display:block;font-size:9.8px;color:var(--navy);line-height:1.15}.compact-action-grid small{display:block;font-size:8px;color:var(--muted);margin-top:2px}

.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(275px,.75fr);gap:12px;align-items:start}
.dashboard-main-column,.dashboard-side-column{display:grid;gap:12px}
.dashboard-panel{padding:14px}
.dashboard-panel .panel-head{margin-bottom:10px}.dashboard-panel .panel-head h3{font-size:12.5px;margin:0}.dashboard-panel .panel-head p{font-size:8.5px;color:var(--muted);margin:2px 0 0}
.live-chart{height:160px;display:flex;align-items:flex-end;gap:5px;padding:8px 3px 0;border-bottom:1px solid #e6ecf4;background:repeating-linear-gradient(to top,transparent 0,transparent 31px,#eff3f8 32px)}
.live-chart .live-bar{flex:1;min-width:5px;height:var(--height);border-radius:5px 5px 1px 1px;background:linear-gradient(180deg,#3a79e4,#1f5fc5);transform-origin:bottom;animation:growBar .55s ease both;animation-delay:var(--delay);position:relative}
.live-chart .live-bar:hover{filter:brightness(1.1)}.live-chart .live-bar:after{content:attr(data-value);position:absolute;left:50%;top:-17px;transform:translateX(-50%);font-size:7.5px;font-weight:800;color:#53637a;opacity:0;transition:.15s}.live-chart .live-bar:hover:after{opacity:1}
@keyframes growBar{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.live-chart-labels{display:flex;gap:5px;padding:5px 3px 0}.live-chart-labels span{flex:1;text-align:center;font-size:7.5px;color:var(--muted)}.live-chart-labels span:nth-child(odd){visibility:hidden}

.compact-resource-list{display:grid}
.compact-resource-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto 13px;align-items:center;gap:9px;padding:8px 3px;border-bottom:1px solid #edf1f6;color:inherit;min-height:53px}.compact-resource-item:last-child{border-bottom:0}.compact-resource-item:hover{background:#f8fafd}
.compact-cover{width:34px;height:45px;border-radius:5px;background:#eaf1fb;color:var(--navy);display:grid;place-items:center;overflow:hidden;font-size:8px;font-weight:800}.compact-cover-image{width:100%;height:100%;object-fit:contain;background:#fff}
.compact-resource-copy{min-width:0}.compact-resource-copy strong{font-size:10px;color:var(--navy);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-resource-copy small{font-size:8px;color:var(--muted);display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-resource-item>b{color:#9aa9bd;font-size:17px}
.compact-resource-item .tag{font-size:7px;padding:3px 5px}

.readiness-overview{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;padding:4px 0 12px}
.mini-ring{--p:0;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#2468dc calc(var(--p)*1%),#e9eef5 0)}.mini-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.mini-ring strong,.mini-ring span{position:relative;z-index:1;grid-column:1;grid-row:1}.mini-ring strong{font-size:15px;color:var(--navy);transform:translateY(-6px)}.mini-ring span{font-size:7px;color:var(--muted);transform:translateY(9px);text-transform:uppercase;font-weight:800}
.readiness-copy strong{font-size:11px;color:var(--navy);display:block}.readiness-copy small{font-size:8.5px;color:var(--muted);line-height:1.45;display:block;margin-top:4px}
.health-list{display:grid;border-top:1px solid #edf1f6}.health-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 1px;border-bottom:1px solid #edf1f6;color:#4d5c72;font-size:9px}.health-list a:hover{color:var(--blue)}.health-list strong{font-size:9px;color:var(--navy)}

.category-bars{display:grid;gap:9px}.category-bars a{display:grid;grid-template-columns:minmax(0,1fr) 75px 25px;align-items:center;gap:7px;color:#45556c;font-size:8.5px}.category-bars a>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-bars a>div{height:5px;background:#ecf1f7;border-radius:999px;overflow:hidden}.category-bars i{display:block;height:100%;background:linear-gradient(90deg,#2468dc,#6f9de9);border-radius:999px;min-width:3px}.category-bars strong{text-align:right;font-size:8.5px;color:var(--navy)}
.rank-list{list-style:none;padding:0;margin:0;display:grid}.rank-list li{display:grid;grid-template-columns:21px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 0;border-bottom:1px solid #edf1f6}.rank-list li:last-child{border:0}.rank-list li>span{width:20px;height:20px;border-radius:6px;background:#eef4fc;color:var(--blue);display:grid;place-items:center;font-size:8px;font-weight:800}.rank-list a{font-size:8.8px;color:#45556c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-list a:hover{color:var(--blue)}.rank-list strong{font-size:8px;color:var(--muted)}
.dashboard-collections{margin-top:12px}

@media(max-width:1150px){.compact-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr)}}
@media(max-width:930px){.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}.dashboard-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-side-column>article:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:700px){.dashboard-welcome{align-items:stretch;flex-direction:column}.dashboard-toolbar{justify-content:flex-start}.dashboard-alerts{grid-template-columns:1fr}.compact-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-side-column{grid-template-columns:1fr}.dashboard-side-column>article:last-child:nth-child(odd){grid-column:auto}.live-chart{height:140px}}
@media(max-width:470px){.compact-metrics{gap:7px}.compact-metric{min-height:73px;padding:9px 9px;grid-template-columns:29px minmax(0,1fr);column-gap:7px}.compact-metric-icon{width:29px;height:29px;font-size:11px}.compact-metric-main{display:block}.compact-metric-main strong{font-size:18px;margin-right:5px}.compact-metric-main span{font-size:8.5px}.compact-metric>small{font-size:7px}.compact-action-grid{grid-template-columns:1fr 1fr}.compact-action-grid>a{min-height:55px;padding:8px}.action-symbol{width:29px;height:29px;flex-basis:29px}.compact-action-grid strong{font-size:8.7px}.compact-action-grid small{font-size:7px}.dashboard-toolbar .live-status{order:3;width:100%}.dashboard-toolbar .btn{flex:1}.compact-resource-item{grid-template-columns:34px minmax(0,1fr) 11px}.compact-resource-item .tag{display:none}.category-bars a{grid-template-columns:minmax(0,1fr) 60px 22px}}


/* V6.7 Executive dashboard balance and readability */
.executive-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.executive-welcome h1{margin:4px 0 4px;font-size:clamp(24px,2.25vw,32px);letter-spacing:-.7px;color:var(--navy)}
.executive-welcome p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.executive-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}

.executive-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:15px}
.executive-metric{min-height:88px;padding:13px 15px;background:#fff;border:1px solid var(--border);border-radius:14px;display:flex;align-items:center;gap:12px;box-shadow:0 4px 15px rgba(20,54,92,.04);position:relative;overflow:hidden}
.executive-metric:after{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--metric-accent,#2468dc)}
.executive-metric-icon{width:40px;height:40px;flex:0 0 40px;border-radius:11px;display:grid;place-items:center;font-size:16px;font-weight:850;background:var(--metric-soft,#eaf2ff);color:var(--metric-accent,#2468dc)}
.executive-metric>div{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:baseline}
.executive-metric strong{font-size:25px;line-height:1;color:var(--navy);letter-spacing:-.8px}
.executive-metric span:not(.executive-metric-icon){font-size:12px;font-weight:800;color:#42516a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.executive-metric small{grid-column:1/-1;font-size:9.5px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.executive-grid{display:grid;gap:14px;align-items:stretch}
.executive-grid.top-row{grid-template-columns:minmax(0,1.75fr) minmax(360px,.85fr);margin-bottom:15px}
.executive-grid.middle-row{grid-template-columns:minmax(0,1.35fr) minmax(380px,.85fr);margin-bottom:15px}
.executive-grid.bottom-row{grid-template-columns:1fr 1fr;margin-bottom:15px}
.executive-panel{padding:17px 18px}
.executive-panel .panel-head{margin-bottom:13px}
.executive-panel .panel-head h3{font-size:15px;margin:0;color:var(--navy)}
.executive-panel .panel-head p{font-size:10.5px;line-height:1.4;color:var(--muted);margin:3px 0 0}
.executive-panel .panel-head>a{font-size:10px;font-weight:750}

.executive-chart{height:215px;display:flex;align-items:flex-end;gap:7px;padding:14px 6px 0;border-bottom:1px solid #dfe7f1;background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#eef3f8 43px)}
.executive-chart .live-bar{flex:1;min-width:8px;height:var(--height);border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#4b86ec,#2061ca);transform-origin:bottom;animation:growBar .55s ease both;animation-delay:var(--delay);position:relative;box-shadow:0 2px 5px rgba(36,104,220,.12)}
.executive-chart .live-bar:after{content:attr(data-value);position:absolute;left:50%;top:-21px;transform:translateX(-50%);font-size:9px;font-weight:800;color:#40516a;opacity:0;transition:.15s}
.executive-chart .live-bar:hover:after{opacity:1}
.executive-chart-labels{display:flex;gap:7px;padding:8px 6px 0}
.executive-chart-labels span{flex:1;text-align:center;font-size:9px;color:var(--muted)}
.executive-chart-labels span:nth-child(even){visibility:hidden}

.status-pill{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}
.status-pill.ready{background:#eaf8f0;color:#24734d}.status-pill.attention{background:#fff4df;color:#956a0d}
.health-summary{display:grid;grid-template-columns:96px minmax(0,1fr);gap:15px;align-items:center;padding:3px 0 15px}
.health-score{--p:0;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#2468dc calc(var(--p)*1%),#e8eef6 0)}
.health-score:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.health-score strong,.health-score span{position:relative;z-index:1;grid-column:1;grid-row:1}
.health-score strong{font-size:22px;color:var(--navy);transform:translateY(-8px)}
.health-score span{font-size:8px;color:var(--muted);font-weight:800;text-transform:uppercase;transform:translateY(13px)}
.health-summary-copy strong{display:block;font-size:16px;color:var(--navy)}
.health-summary-copy p{margin:5px 0 0;font-size:10.5px;color:var(--muted);line-height:1.45}
.health-checks{display:grid;border-top:1px solid #e9eef5}
.health-check{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #e9eef5;color:inherit}
.health-check:hover strong{color:var(--blue)}
.health-check-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;font-size:11px;font-weight:900}
.health-check.ready .health-check-icon{background:#eaf8f0;color:#238157}.health-check.attention .health-check-icon{background:#fff4df;color:#9a6e0d}.health-check.pending .health-check-icon{background:#fff0f0;color:#b14545}
.health-check>span:nth-child(2){min-width:0}.health-check strong{display:block;font-size:10.5px;color:#405069}.health-check small{display:block;font-size:8.5px;color:var(--muted);line-height:1.35;margin-top:2px}.health-check>b{font-size:9px;color:var(--navy);white-space:nowrap}

.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:8px}
.section-heading h2{margin:0;font-size:15px;color:var(--navy)}.section-heading p{margin:3px 0 0;font-size:10.5px;color:var(--muted)}
.priority-section{margin-bottom:14px}
.priority-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.priority-card{min-height:52px;padding:11px 12px;border-radius:11px;border:1px solid;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10.5px;font-weight:750}
.priority-card b{font-size:9px;white-space:nowrap}.priority-card.warning{background:#fff8e8;border-color:#f6d98e;color:#805d08}.priority-card.info{background:#eef5ff;border-color:#cfe0fb;color:#20599c}.priority-card.danger{background:#fff0f0;border-color:#f3caca;color:#9b3434}.priority-card.neutral{background:#f5f7fa;border-color:#dfe5ec;color:#526174}.priority-card.success{background:#ecf9f1;border-color:#ccebd9;color:#24744d}

.quick-heading{margin-top:1px}
.executive-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:15px}
.executive-actions>a{min-height:68px;padding:11px 12px;background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;gap:10px;color:inherit;transition:.18s}
.executive-actions>a:hover{transform:translateY(-2px);border-color:#bdd2ef;box-shadow:0 8px 20px rgba(20,62,113,.08)}
.executive-actions strong{display:block;font-size:10.5px;color:var(--navy);line-height:1.2}.executive-actions small{display:block;font-size:8.5px;color:var(--muted);margin-top:3px}

.executive-resource-list{display:grid}
.executive-resource-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto 15px;align-items:center;gap:11px;padding:10px 3px;border-bottom:1px solid #edf1f6;color:inherit;min-height:64px}
.executive-resource-item:last-child{border-bottom:0}.executive-resource-item:hover{background:#f8fafd}
.executive-cover{width:40px;height:53px;border-radius:6px;background:#eaf1fb;color:var(--navy);display:grid;place-items:center;overflow:hidden;font-size:8px;font-weight:800}.executive-cover-image{width:100%;height:100%;object-fit:contain;background:#fff}
.executive-resource-item>span:nth-child(2){min-width:0}.executive-resource-item>span:nth-child(2) strong{display:block;font-size:11px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-resource-item>span:nth-child(2) small{display:block;font-size:9px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-resource-item>b{font-size:18px;color:#9aa9bd}

.executive-category-bars{display:grid;gap:13px;padding-top:4px}
.executive-category-bars a{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,180px) 30px;align-items:center;gap:10px;color:#45556c;font-size:10.5px}
.executive-category-bars a>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-category-bars a>div{height:7px;background:#ecf1f7;border-radius:999px;overflow:hidden}.executive-category-bars i{display:block;height:100%;background:linear-gradient(90deg,#2468dc,#78a5ef);border-radius:999px;min-width:3px}.executive-category-bars strong{text-align:right;font-size:10px;color:var(--navy)}

.executive-rank-list{list-style:none;padding:0;margin:0;display:grid}
.executive-rank-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f6}
.executive-rank-list li:last-child{border:0}.executive-rank-list li>span{width:27px;height:27px;border-radius:8px;background:#eef4fc;color:var(--blue);display:grid;place-items:center;font-size:10px;font-weight:800}.executive-rank-list a{font-size:10.5px;color:#405069;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.executive-rank-list a:hover{color:var(--blue)}.executive-rank-list strong{font-size:9px;color:var(--muted)}

.pending-list{display:grid}
.pending-list>a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f6;color:inherit}.pending-list>a:last-child{border:0}
.pending-list>a>span{width:27px;height:27px;border-radius:8px;background:#fff4df;color:#986b0d;display:grid;place-items:center;font-size:11px;font-weight:900}.pending-list>a>div{min-width:0}.pending-list strong{display:block;font-size:10.5px;color:#405069}.pending-list small{display:block;font-size:8.7px;color:var(--muted);line-height:1.35;margin-top:2px}.pending-list b{font-size:9px;color:var(--blue);white-space:nowrap}
.all-ready{display:flex;align-items:center;gap:11px;padding:15px;background:#edf9f2;border-radius:11px}.all-ready>span{width:34px;height:34px;border-radius:50%;background:#25a66b;color:#fff;display:grid;place-items:center;font-weight:900}.all-ready strong{display:block;font-size:11px;color:#226945}.all-ready small{display:block;font-size:9px;color:#5a7a69;margin-top:3px}

@media(max-width:1200px){
 .executive-grid.top-row{grid-template-columns:minmax(0,1.45fr) minmax(330px,.9fr)}
 .executive-grid.middle-row{grid-template-columns:1.15fr .85fr}
 .priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .executive-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:960px){
 .executive-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .executive-grid.top-row,.executive-grid.middle-row,.executive-grid.bottom-row{grid-template-columns:1fr}
 .health-checks{grid-template-columns:1fr 1fr;column-gap:18px}
 .health-check:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:700px){
 .executive-welcome{align-items:stretch;flex-direction:column}
 .executive-toolbar{justify-content:flex-start}
 .executive-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .health-checks{grid-template-columns:1fr}.health-check:last-child:nth-child(odd){grid-column:auto}
 .executive-chart{height:180px}
}
@media(max-width:480px){
 .executive-metrics{gap:8px}
 .executive-metric{min-height:78px;padding:10px 10px;gap:8px}
 .executive-metric-icon{width:34px;height:34px;flex-basis:34px;font-size:13px}
 .executive-metric strong{font-size:21px}.executive-metric span:not(.executive-metric-icon){font-size:9.5px}.executive-metric small{font-size:7.5px}
 .executive-toolbar .live-status{order:3;width:100%}.executive-toolbar .btn{flex:1}
 .priority-grid{grid-template-columns:1fr}
 .executive-actions>a{min-height:60px;padding:9px}.executive-actions strong{font-size:9px}.executive-actions small{font-size:7.5px}
 .health-summary{grid-template-columns:82px minmax(0,1fr)}.health-score{width:78px;height:78px}.health-score strong{font-size:19px}
 .executive-resource-item{grid-template-columns:40px minmax(0,1fr) 13px}.executive-resource-item .tag{display:none}
 .executive-category-bars a{grid-template-columns:minmax(0,1fr) 75px 25px}
}


/* V6.8 automatic indexing status */
.auto-index-status{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.35px;background:#eef2f7;color:#5c6a7e}
.auto-index-status.ready,.auto-index-status.complete{background:#e9f8f0;color:#21774f}
.auto-index-status.processing{background:#eaf2ff;color:#2468dc;animation:autoIndexPulse 1.25s infinite alternate}
.auto-index-status.pending,.auto-index-status.retry{background:#fff5df;color:#8d6510}
.auto-index-status.failed,.auto-index-status.error{background:#fff0f0;color:#a43c3c}
@keyframes autoIndexPulse{to{filter:brightness(.94);box-shadow:0 0 0 4px rgba(36,104,220,.08)}}
.table-sub{display:block;margin-top:3px;color:var(--muted);font-size:8px}.table-error{display:block;max-width:260px;margin-top:4px;color:#a43c3c;font-size:8px;line-height:1.35}
.automation-note{padding:14px 16px;background:linear-gradient(135deg,#eff6ff,#f6fbff);border-color:#cfe0f7}.automation-note strong{font-size:12px;color:var(--navy)}.automation-note p{margin:4px 0 0;color:#5c6c82;font-size:9.5px;line-height:1.5}


/* V6.8.2 clear TXT upload workflow */
.compact-ai-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.compact-ai-metrics article{min-height:68px;padding:12px 14px;background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;align-items:baseline;gap:8px;box-shadow:0 3px 12px rgba(20,54,92,.035)}
.compact-ai-metrics strong{font-size:22px;line-height:1;color:var(--navy)}
.compact-ai-metrics span{font-size:10px;font-weight:750;color:#526177}
.ai-management-table td:last-child{white-space:nowrap}
.txt-upload-panel{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:16px;align-items:center;padding:16px;background:#f7faff;border:1px solid #dbe7f7;border-radius:13px}
.txt-upload-status{min-height:78px;padding:13px;border-left:1px solid #dbe4ef;display:flex;flex-direction:column;justify-content:center}
.txt-upload-status span{font-size:9px;color:var(--muted);text-transform:uppercase;font-weight:800;letter-spacing:.4px}
.txt-upload-status strong{font-size:13px;color:var(--navy);margin-top:4px}
@media(max-width:850px){.compact-ai-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.txt-upload-panel{grid-template-columns:1fr}.txt-upload-status{border-left:0;border-top:1px solid #dbe4ef;padding-left:0}}
@media(max-width:480px){.compact-ai-metrics{gap:7px}.compact-ai-metrics article{min-height:61px;padding:10px}.compact-ai-metrics strong{font-size:19px}.compact-ai-metrics span{font-size:8.5px}}

/* V6.8.4 accurate AI dashboard infographics */
.ai-insight-strip{display:grid;grid-template-columns:minmax(330px,1.45fr) repeat(3,minmax(155px,.65fr));gap:11px;margin-bottom:15px}
.ai-coverage-card,.ai-mini-stat{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 15px rgba(20,54,92,.04)}
.ai-coverage-card{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:15px;padding:14px 16px;background:linear-gradient(135deg,#fff 0%,#f7fbff 100%)}
.ai-coverage-ring{--coverage:0;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#2468dc calc(var(--coverage)*1%),#e7eef8 0);animation:aiRingReveal .8s ease both}
.ai-coverage-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.ai-coverage-ring strong,.ai-coverage-ring span{position:relative;z-index:1;grid-column:1;grid-row:1}
.ai-coverage-ring strong{font-size:21px;color:var(--navy);transform:translateY(-7px)}
.ai-coverage-ring span{font-size:7.5px;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.35px;transform:translateY(13px)}
@keyframes aiRingReveal{from{opacity:0;transform:scale(.88) rotate(-18deg)}to{opacity:1;transform:scale(1) rotate(0)}}
.ai-coverage-copy{min-width:0}.ai-coverage-copy h3{margin:3px 0 4px;font-size:13px;color:var(--navy)}.ai-coverage-copy p{margin:0 0 6px;font-size:9px;line-height:1.45;color:var(--muted)}.ai-coverage-copy a{font-size:9px;font-weight:800;color:var(--blue)}
.ai-mini-stat{min-height:116px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:10px;position:relative;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}
.ai-mini-stat:hover{transform:translateY(-2px);border-color:#bfd4ef;box-shadow:0 9px 22px rgba(20,62,113,.08)}
.ai-mini-stat:after{content:"";position:absolute;right:-21px;top:-24px;width:75px;height:75px;border-radius:50%;background:rgba(36,104,220,.055)}
.ai-mini-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:850;position:relative;z-index:1}.ai-mini-icon.chars{background:#eaf2ff;color:#2468dc}.ai-mini-icon.pages{background:#e9f8f0;color:#21825a}.ai-mini-icon.phrases{background:#f1edff;color:#7250cf}
.ai-mini-stat>div{display:grid}.ai-mini-stat strong{font-size:19px;line-height:1;color:var(--navy)}.ai-mini-stat span:not(.ai-mini-icon){font-size:9.5px;font-weight:800;color:#41516a;margin-top:5px}.ai-mini-stat small{font-size:7.8px;color:var(--muted);margin-top:2px}
.pending-list .ready-hidden{display:none}
@media(max-width:1180px){.ai-insight-strip{grid-template-columns:1.4fr repeat(3,.7fr)}}
@media(max-width:980px){.ai-insight-strip{grid-template-columns:1fr 1fr}.ai-coverage-card{grid-column:1/-1}.ai-mini-stat{min-height:100px}}
@media(max-width:580px){.ai-insight-strip{grid-template-columns:1fr 1fr;gap:8px}.ai-coverage-card{grid-template-columns:78px minmax(0,1fr);gap:11px;padding:12px}.ai-coverage-ring{width:74px;height:74px}.ai-coverage-ring strong{font-size:18px}.ai-mini-stat{min-height:94px;padding:11px}.ai-mini-stat strong{font-size:17px}.ai-mini-stat span:not(.ai-mini-icon){font-size:8.5px}.ai-mini-stat:last-child{grid-column:1/-1;min-height:82px;display:grid;grid-template-columns:34px 1fr;align-items:center}}

/* V6.8.5 Professional My Library and Reading History */
.library-hero,.history-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:4px 0 18px}.library-hero h1,.history-hero h1{font-size:clamp(25px,2.4vw,34px);margin:4px 0;color:var(--navy);letter-spacing:-.7px}.library-hero p,.history-hero p{margin:0;color:var(--muted);font-size:12px}.library-summary{display:flex;gap:9px}.library-summary>div,.history-count{min-width:112px;padding:11px 14px;background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;align-items:baseline;gap:7px}.library-summary strong,.history-count strong{font-size:22px;color:var(--navy)}.library-summary span,.history-count span{font-size:9px;color:var(--muted);font-weight:750}
.library-section{margin-bottom:17px;padding:17px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 5px 18px rgba(20,54,92,.04)}.library-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:13px}.library-section-head h2{font-size:15px;margin:0;color:var(--navy)}.library-section-head p{font-size:9.5px;color:var(--muted);margin:3px 0 0}.library-section-head>a{font-size:9.5px;font-weight:750;color:var(--blue)}
.library-book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:13px}.library-book-card{min-width:0;background:#fbfcfe;border:1px solid #e4eaf2;border-radius:13px;overflow:hidden;display:grid;grid-template-columns:90px minmax(0,1fr);min-height:145px;transition:.2s}.library-book-card:hover{transform:translateY(-2px);border-color:#bed2ed;box-shadow:0 9px 22px rgba(24,63,112,.09)}.library-cover{position:relative;width:90px;min-height:145px;background:#eef3f9;display:grid;place-items:center;overflow:hidden;border-right:1px solid #e0e7f0}.library-cover-image{width:100%;height:100%;object-fit:contain;background:#fff}.library-cover>span:first-child{font-weight:850;color:var(--navy)}.library-cover-badge,.saved-ribbon{position:absolute;left:7px;bottom:7px;padding:4px 6px;border-radius:7px;background:rgba(7,39,83,.88);color:#fff;font-size:7px;font-weight:800}.saved-ribbon{background:#d99812}.library-book-body{min-width:0;padding:12px 11px;display:flex;flex-direction:column}.library-category{display:block;color:var(--blue);font-size:7.5px;font-weight:850;text-transform:uppercase;letter-spacing:.35px}.library-book-body h3{font-size:11px;line-height:1.3;margin:5px 0;color:var(--navy)}.library-book-body h3 a{color:inherit;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.library-book-body p{font-size:8px;line-height:1.4;color:var(--muted);margin:0 0 9px}.library-primary-action{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:8.5px;font-weight:800;color:var(--blue)}.library-empty{padding:28px;text-align:center;background:#f8fafd;border:1px dashed #cfd9e6;border-radius:13px}.library-empty>span{width:46px;height:46px;margin:auto;border-radius:13px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-size:19px}.library-empty h3{font-size:13px;color:var(--navy);margin:10px 0 4px}.library-empty p{font-size:9.5px;color:var(--muted);margin:0 0 12px}.recommended-library{background:linear-gradient(135deg,#fff,#f6f9fe)}
.history-list{display:grid;gap:10px}.history-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:11px;display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:14px;transition:.2s}.history-card:hover{border-color:#bfd3ed;box-shadow:0 7px 18px rgba(25,64,112,.07)}.history-cover{width:70px;height:94px;border-radius:7px;overflow:hidden;background:#edf3fa;display:grid;place-items:center;color:var(--navy);font-size:9px;font-weight:850}.history-cover-image{width:100%;height:100%;object-fit:contain;background:#fff}.history-copy{min-width:0}.history-meta{display:flex;gap:6px;flex-wrap:wrap}.history-meta span{padding:3px 6px;border-radius:999px;background:#edf4ff;color:var(--blue);font-size:7px;font-weight:750}.history-copy h2{font-size:13px;line-height:1.3;margin:6px 0 4px}.history-copy h2 a{color:var(--navy)}.history-copy p{font-size:8.5px;color:var(--muted);margin:0 0 9px}.history-progress{display:flex;align-items:center;gap:8px}.history-progress>div{width:min(200px,40vw);height:6px;border-radius:999px;background:#e9eef5;overflow:hidden}.history-progress i{display:block;height:100%;background:linear-gradient(90deg,#2468dc,#78a5ef);border-radius:999px}.history-progress span{font-size:8px;color:var(--muted)}.history-actions{display:flex;gap:7px;align-items:center}.history-empty{margin-top:10px}
@media(max-width:900px){.library-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-card{grid-template-columns:70px minmax(0,1fr)}.history-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:650px){.library-hero,.history-hero{align-items:stretch;flex-direction:column}.library-summary{width:100%}.library-summary>div{flex:1}.library-book-grid{grid-template-columns:1fr}.library-book-card{grid-template-columns:100px minmax(0,1fr);min-height:155px}.library-cover{width:100px;min-height:155px}.history-card{grid-template-columns:62px minmax(0,1fr);gap:10px}.history-cover{width:60px;height:82px}.history-actions{grid-column:1/-1}.history-actions .btn{flex:1}.library-section{padding:13px}.library-section-head{align-items:flex-start}}
@media(max-width:390px){.library-summary{gap:6px}.library-summary>div{min-width:0;padding:9px}.library-summary strong{font-size:18px}.library-book-card{grid-template-columns:88px minmax(0,1fr)}.library-cover{width:88px}.library-section-head{display:block}.library-section-head>a{display:inline-block;margin-top:6px}}


/* V7.0 Enterprise UX foundation */
:root{
 --surface:#ffffff;
 --surface-soft:#f7f9fc;
 --surface-muted:#eef3f8;
 --text-primary:#0b315f;
 --text-secondary:#45566d;
 --text-muted:#758297;
 --brand:#2468dc;
 --brand-dark:#1555b8;
 --success:#21855a;
 --warning:#b57b0b;
 --danger:#b33d3d;
 --radius-sm:8px;
 --radius-md:12px;
 --radius-lg:16px;
 --shadow-soft:0 7px 24px rgba(16,53,95,.07);
 --shadow-float:0 22px 60px rgba(10,43,82,.20);
 --motion-fast:.16s;
 --motion-normal:.24s;
}

.notification-menu{position:relative}
.notification-menu>summary{list-style:none;cursor:pointer}
.notification-menu>summary::-webkit-details-marker{display:none}
.notification-menu[open]>summary{background:#edf4ff;border-color:#d6e5fa}
.notification-dropdown{position:absolute;right:-8px;top:calc(100% + 12px);width:min(380px,calc(100vw - 20px));background:#fff;border:1px solid var(--border);border-radius:17px;box-shadow:var(--shadow-float);z-index:130;overflow:hidden}
.notification-dropdown:before{content:"";position:absolute;right:24px;top:-6px;width:11px;height:11px;background:#fff;border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}
.notification-dropdown-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 12px;border-bottom:1px solid #eaf0f6}
.notification-dropdown-head>div{display:grid}.notification-dropdown-head strong{font-size:13px;color:var(--navy)}.notification-dropdown-head small{font-size:9px;color:var(--muted);margin-top:2px}.notification-dropdown-head>a{font-size:9px;font-weight:800;color:var(--blue)}
.notification-preview-list{max-height:360px;overflow:auto;overscroll-behavior:contain}
.notification-preview-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:11px 15px;border-bottom:1px solid #edf1f6;color:inherit;position:relative}
.notification-preview-item:hover{background:#f7faff}
.notification-preview-item.unread{background:#f3f7ff}.notification-preview-item.unread:before{content:"";position:absolute;left:4px;top:50%;width:5px;height:5px;border-radius:50%;background:var(--blue);transform:translateY(-50%)}
.notification-type-icon{width:33px;height:33px;border-radius:10px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:900}
.notification-preview-item>span:last-child{min-width:0;display:grid}.notification-preview-item strong{font-size:10px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-preview-item small{font-size:8.5px;color:#637188;line-height:1.35;margin-top:2px}.notification-preview-item time{font-size:7.5px;color:#8a96a7;margin-top:4px}
.notification-view-all{display:block;padding:11px 15px;text-align:center;background:#f8fafd;color:var(--blue);font-size:9px;font-weight:800}
.notification-preview-empty{padding:25px 18px;text-align:center;display:grid;justify-items:center}.notification-preview-empty>span{width:38px;height:38px;border-radius:50%;background:#eaf8f0;color:#21855a;display:grid;place-items:center;font-weight:900}.notification-preview-empty strong{font-size:11px;color:var(--navy);margin-top:8px}.notification-preview-empty small{font-size:8.5px;color:var(--muted);margin-top:3px}

.notification-page-head{align-items:flex-end}
.notification-filters{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:3px 0 12px;margin-bottom:2px;scrollbar-width:none}.notification-filters::-webkit-scrollbar{display:none}
.notification-filters a{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#56657a;font-size:9px;font-weight:750;white-space:nowrap}.notification-filters a:hover,.notification-filters a.active{background:#eaf2ff;border-color:#bfd4f2;color:var(--blue)}.notification-filters b{min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#edf1f7;display:grid;place-items:center;font-size:8px}.notification-filters a.active b{background:#fff;color:var(--blue)}
.notification-centre-list{display:grid;gap:9px}
.notification-centre-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px 16px;background:#fff;border:1px solid var(--border);border-radius:13px;box-shadow:0 3px 13px rgba(15,52,94,.035);position:relative}
.notification-centre-item.unread{border-color:#c9dbf5;background:linear-gradient(90deg,#f3f7ff,#fff 35%)}.notification-centre-item.unread:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;background:var(--blue)}
.notification-centre-icon{width:40px;height:40px;border-radius:11px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-size:13px;font-weight:900}.notification-centre-icon.type-review{background:#fff5df;color:#a06f0d}.notification-centre-icon.type-publication{background:#eaf8f0;color:#21855a}.notification-centre-icon.type-ocr{background:#f0ecff;color:#6c4ac9}.notification-centre-icon.type-warning{background:#fff0f0;color:#ad3c3c}
.notification-centre-copy{min-width:0}.notification-centre-copy>div{display:flex;align-items:center;gap:7px}.notification-centre-copy strong{font-size:11px;color:var(--navy)}.notification-centre-copy>div>span{padding:2px 6px;border-radius:999px;background:#eaf2ff;color:var(--blue);font-size:7px;font-weight:850;text-transform:uppercase}.notification-centre-copy p{margin:4px 0;font-size:9.5px;color:#56657a;line-height:1.5}.notification-centre-copy time{font-size:8px;color:#8a96a8}.notification-centre-actions{display:flex;align-items:center}
.notification-empty{min-height:260px;padding:35px 20px;background:#fff;border:1px solid var(--border);border-radius:15px;display:grid;place-items:center;align-content:center;text-align:center}.notification-empty-icon{width:55px;height:55px;border-radius:50%;background:#eaf8f0;color:#21855a;display:grid;place-items:center;font-size:21px;font-weight:900}.notification-empty h2{font-size:15px;color:var(--navy);margin:12px 0 4px}.notification-empty p{font-size:10px;color:var(--muted);margin:0 0 12px}

.quick-action-launcher{position:fixed;right:26px;bottom:96px;z-index:80}
.quick-action-button{width:48px;height:48px;border:0;border-radius:15px;background:linear-gradient(135deg,#2468dc,#1352b8);color:#fff;box-shadow:0 13px 30px rgba(36,104,220,.30);display:grid;place-items:center;cursor:pointer;transition:transform var(--motion-normal),box-shadow var(--motion-normal)}
.quick-action-button>span{font-size:27px;line-height:1;transition:transform var(--motion-normal)}.quick-action-button:hover{transform:translateY(-2px);box-shadow:0 16px 35px rgba(36,104,220,.38)}.quick-action-launcher.open .quick-action-button>span{transform:rotate(45deg)}
.quick-action-menu{position:absolute;right:0;bottom:59px;width:300px;padding:9px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-float)}
.quick-action-head{padding:9px 10px 11px;border-bottom:1px solid #eaf0f6;display:grid}.quick-action-head strong{font-size:12px;color:var(--navy)}.quick-action-head small{font-size:8.5px;color:var(--muted);margin-top:2px}
.quick-action-menu>a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:9px 10px;border-radius:10px;color:inherit}.quick-action-menu>a:hover{background:#edf4ff}.quick-action-menu>a>span{width:32px;height:32px;border-radius:9px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:850}.quick-action-menu>a>div{display:grid}.quick-action-menu strong{font-size:9.5px;color:var(--navy)}.quick-action-menu small{font-size:8px;color:var(--muted);margin-top:2px}

.card,.table-wrap,.input,select,textarea,.btn{transition:border-color var(--motion-fast),box-shadow var(--motion-fast),background var(--motion-fast),transform var(--motion-fast)}
.input:focus,select:focus,textarea:focus{outline:none;border-color:#87ade6;box-shadow:0 0 0 3px rgba(36,104,220,.10)}
.btn:active{transform:translateY(1px)}

@media(max-width:800px){
 .notification-dropdown{position:fixed;top:69px;right:10px;width:min(380px,calc(100vw - 20px))}
 .notification-dropdown:before{right:60px}
 .quick-action-launcher{right:14px;bottom:89px}
}
@media(max-width:560px){
 .notification-centre-item{grid-template-columns:38px minmax(0,1fr);padding:13px 12px}.notification-centre-actions{grid-column:2}.notification-centre-actions .btn{width:100%}
 .notification-dropdown{right:7px;width:calc(100vw - 14px)}
 .quick-action-menu{width:min(290px,calc(100vw - 28px))}
}


/* V7.5 Professional intelligent document reader */
.reader-command-bar{display:grid;grid-template-columns:minmax(260px,1fr) auto minmax(330px,1fr);align-items:center;gap:14px;padding:10px 16px;background:#fff;border:1px solid var(--border);border-radius:14px;margin-bottom:12px;box-shadow:0 4px 16px rgba(15,52,94,.045);position:sticky;top:126px;z-index:22}
.reader-command-title{display:flex;align-items:center;gap:10px;min-width:0}.reader-command-title>div{min-width:0;display:grid}.reader-command-title strong{font-size:11.5px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader-command-title small{font-size:8.5px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reader-back,.reader-icon-button,.reader-tool{border:1px solid #dbe4ef;background:#f8fafd;color:#41536b;border-radius:9px;display:grid;place-items:center;transition:.17s;cursor:pointer}.reader-back{width:34px;height:34px;font-size:17px}.reader-back:hover,.reader-icon-button:hover,.reader-tool:hover{background:#eaf2ff;border-color:#bfd4f2;color:var(--blue)}
.reader-page-control{display:flex;align-items:center;gap:7px}.reader-icon-button{width:31px;height:31px;font-size:20px}.reader-icon-button.disabled{pointer-events:none;opacity:.35}.reader-page-control label{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:750;color:#55657a}.reader-page-control input{width:52px;height:31px;border:1px solid #dbe4ef;border-radius:8px;text-align:center;color:var(--navy);font-weight:800}.reader-page-control span{font-weight:600;color:var(--muted)}
.reader-command-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.reader-tool{min-width:31px;height:31px;padding:0 8px;font-size:11px}.reader-tool.text{font-size:8.5px;font-weight:750}.reader-zoom-label{width:40px;text-align:center;font-size:8.5px;font-weight:800;color:#526177}

.professional-reader{display:grid;grid-template-columns:248px minmax(480px,1fr) 330px;gap:12px;align-items:start;min-height:680px}
.reader-info-panel,.reader-insight-panel{background:#fff;border:1px solid var(--border);border-radius:15px;padding:14px;box-shadow:0 4px 18px rgba(15,52,94,.04);position:sticky;top:190px;max-height:calc(100vh - 215px);overflow:auto;scrollbar-width:thin}
.reader-resource-cover{width:100%;aspect-ratio:4/5.45;border-radius:12px;background:linear-gradient(145deg,#0d4081,#2875e2);overflow:hidden;display:grid;place-items:center;box-shadow:0 12px 28px rgba(15,61,116,.18)}.reader-actual-cover{width:100%;height:100%;object-fit:contain;background:#fff}.reader-cover-fallback{height:100%;display:grid;place-items:center;align-content:center;color:#fff;text-align:center;padding:15px}.reader-cover-fallback strong{font-size:29px;letter-spacing:1px}.reader-cover-fallback span{font-size:9px;opacity:.82;margin-top:5px}
.reader-resource-heading{padding:12px 1px 8px}.reader-resource-heading h2{font-size:15px;line-height:1.25;margin:8px 0 4px;color:var(--navy)}.reader-resource-heading p{font-size:9px;color:var(--muted);margin:0}
.reader-progress-card{padding:11px;background:#f6f9fd;border:1px solid #e2eaf4;border-radius:11px;margin:6px 0 11px}.reader-progress-card>div:first-child{display:flex;align-items:baseline;justify-content:space-between}.reader-progress-card strong{font-size:16px;color:var(--navy)}.reader-progress-card span{font-size:8px;font-weight:750;color:#5d6b7f}.reader-progress-track{height:6px;background:#e3eaf3;border-radius:999px;overflow:hidden;margin:7px 0 5px}.reader-progress-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2468dc,#6d9eec);animation:readerProgressGrow .7s ease}.reader-progress-card small{font-size:7.5px;color:var(--muted)}
@keyframes readerProgressGrow{from{width:0}}
.reader-metadata{display:grid;margin:0;border-top:1px solid #edf1f6}.reader-metadata div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 1px;border-bottom:1px solid #edf1f6}.reader-metadata dt{font-size:8px;color:var(--muted)}.reader-metadata dd{margin:0;font-size:8.5px;font-weight:750;color:#3e4f66;text-align:right}
.reader-primary-actions{display:grid;gap:7px;margin:11px 0}.reader-primary-actions form,.reader-primary-actions .btn{width:100%}.reader-saved{min-height:35px;border-radius:9px;background:#eaf8f0;color:#24734d;display:grid;place-items:center;font-size:9px;font-weight:800}
.reader-page-list{border-top:1px solid #edf1f6;padding-top:10px}.reader-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.reader-panel-heading>div{display:grid}.reader-panel-heading strong{font-size:10.5px;color:var(--navy)}.reader-panel-heading small,.reader-panel-heading>span{font-size:8px;color:var(--muted)}
.reader-page-list nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.reader-page-list a{min-height:44px;padding:6px;border:1px solid #e0e7f0;border-radius:8px;display:grid;place-items:center;text-align:center;color:#536279}.reader-page-list a:hover,.reader-page-list a.active{background:#eaf2ff;border-color:#b9d0ef;color:var(--blue)}.reader-page-list a span{font-size:10px;font-weight:850}.reader-page-list a small{font-size:6.5px}

.reader-document-stage{min-height:680px;background:#252525;border-radius:15px;border:1px solid #1a1a1a;overflow:hidden;position:relative;box-shadow:0 10px 32px rgba(5,24,48,.14)}
.reader-frame-wrap{height:calc(100vh - 215px);min-height:650px;overflow:auto;display:flex;justify-content:center;background:#292929;transition:background .2s}.reader-frame-wrap iframe{width:100%;height:100%;border:0;background:#292929;transition:filter .2s}
.reader-watermark{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:5px 9px;border-radius:999px;background:rgba(6,21,39,.72);color:rgba(255,255,255,.70);font-size:7px;pointer-events:none;white-space:nowrap;backdrop-filter:blur(4px)}
.reader-dark-mode .reader-frame-wrap iframe{filter:invert(.9) hue-rotate(180deg)}.reader-dark-mode .reader-frame-wrap{background:#111}

.reader-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;background:#f0f4f9;border-radius:10px;margin-bottom:12px}.reader-tabs button{height:31px;border:0;border-radius:8px;background:transparent;color:#647286;font-size:8.5px;font-weight:800;cursor:pointer}.reader-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 7px rgba(25,64,108,.09)}
.reader-tab-panel{display:none}.reader-tab-panel.active{display:block;animation:readerPanelIn .18s ease}@keyframes readerPanelIn{from{opacity:0;transform:translateY(3px)}}
.reader-copy-text{border:0;background:#eaf2ff;color:var(--blue);border-radius:7px;padding:5px 7px;font-size:7.5px;font-weight:800;cursor:pointer}
.reader-page-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin-bottom:9px}.reader-page-search input{height:34px;border:1px solid #dae3ee;border-radius:8px;padding:0 9px;font-size:8.5px}.reader-page-search button{border:0;border-radius:8px;background:var(--blue);color:#fff;padding:0 10px;font-size:8px;font-weight:800}
.reader-extracted-text{max-height:420px;overflow:auto;padding:12px;background:#fffdf4;border:1px solid #ece2b7;border-radius:10px;font-size:9px;line-height:1.65;color:#3f4855;white-space:normal}.reader-extracted-text mark{background:#ffdf6b;padding:1px 2px;border-radius:2px}
.reader-summary-text{font-size:9.5px;line-height:1.65;color:#4c5c72;padding:11px;background:#f8fafd;border-radius:10px;margin:0 0 10px}.reader-topic-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}.reader-topic-tags span{padding:4px 7px;border-radius:999px;background:#edf4ff;color:#2d62a7;font-size:7.5px;font-weight:750}
.reader-ai-prompts{display:grid;gap:6px;padding-top:9px;border-top:1px solid #edf1f6}.reader-ai-prompts>strong{font-size:9.5px;color:var(--navy);margin-bottom:2px}.reader-ai-prompts button{min-height:34px;border:1px solid #dbe5f2;border-radius:8px;background:#fff;color:#4a5a70;text-align:left;padding:7px 9px;font-size:8px;cursor:pointer}.reader-ai-prompts button:hover{background:#edf4ff;border-color:#bdd3f1;color:var(--blue)}
.reader-note-form textarea{width:100%;resize:vertical;border:1px solid #dbe4ef;border-radius:9px;padding:10px;font:inherit;font-size:9px}.reader-note-form>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.reader-note-form small{font-size:8px;color:var(--muted)}
.reader-notes-list{display:grid;gap:7px;margin-top:12px}.reader-notes-list article{padding:10px;background:#f8fafd;border:1px solid #e3eaf2;border-radius:9px}.reader-notes-list article>div{display:flex;justify-content:space-between;gap:8px}.reader-notes-list strong{font-size:8.5px;color:var(--navy)}.reader-notes-list time{font-size:7px;color:var(--muted)}.reader-notes-list p{font-size:8.5px;line-height:1.45;color:#4e5c70;margin:6px 0}.reader-notes-list a{font-size:7.5px;font-weight:800;color:var(--blue)}
.reader-small-empty{min-height:175px;display:grid;place-items:center;align-content:center;text-align:center;padding:20px}.reader-small-empty.compact{min-height:130px}.reader-small-empty>span{width:38px;height:38px;border-radius:50%;background:#edf3fa;color:#5f7188;display:grid;place-items:center;font-size:15px}.reader-small-empty strong{font-size:10px;color:var(--navy);margin-top:8px}.reader-small-empty p{font-size:8px;line-height:1.4;color:var(--muted);margin:3px 0 0}

.reader-related-section{margin-top:14px;padding:16px 17px;background:#fff;border:1px solid var(--border);border-radius:15px}.reader-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.reader-related-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:9px;align-items:center;padding:9px;border:1px solid #e3eaf2;border-radius:10px;color:inherit}.reader-related-card:hover{border-color:#bdd2ef;background:#f7faff}.reader-related-cover{width:45px;height:61px;border-radius:6px;background:#eaf2ff;display:grid;place-items:center;overflow:hidden;color:var(--blue);font-size:9px;font-weight:850}.reader-related-image{width:100%;height:100%;object-fit:contain;background:#fff}.reader-related-card>span:last-child{min-width:0;display:grid}.reader-related-card strong{font-size:9px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader-related-card small{font-size:7.5px;color:var(--muted);margin-top:3px}.reader-related-card b{font-size:7.5px;color:var(--blue);margin-top:5px}

@media(max-width:1280px){.professional-reader{grid-template-columns:220px minmax(430px,1fr) 300px}.reader-command-bar{grid-template-columns:minmax(210px,1fr) auto minmax(270px,1fr)}}
@media(max-width:1080px){.reader-command-bar{grid-template-columns:1fr auto}.reader-command-actions{grid-column:1/-1;justify-content:center}.professional-reader{grid-template-columns:210px minmax(0,1fr)}.reader-insight-panel{grid-column:1/-1;position:static;max-height:none}.reader-tabs{max-width:420px}.reader-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.reader-command-bar{top:118px;grid-template-columns:1fr;padding:9px 10px}.reader-command-title,.reader-page-control,.reader-command-actions{justify-content:center}.professional-reader{grid-template-columns:1fr}.reader-info-panel,.reader-insight-panel{position:static;max-height:none}.reader-info-panel{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px}.reader-resource-cover{grid-row:1/4}.reader-page-list,.reader-primary-actions{grid-column:1/-1}.reader-document-stage{min-height:560px}.reader-frame-wrap{height:70vh;min-height:540px}.reader-related-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.reader-command-actions{overflow-x:auto;justify-content:flex-start;padding-bottom:3px}.reader-tool{flex:0 0 auto}.reader-info-panel{grid-template-columns:105px minmax(0,1fr);padding:11px}.reader-resource-heading h2{font-size:13px}.reader-progress-card,.reader-metadata{grid-column:1/-1}.reader-page-list nav{grid-template-columns:repeat(5,1fr)}.reader-page-list a small{display:none}.reader-frame-wrap{height:62vh;min-height:470px}.reader-related-grid{grid-template-columns:1fr}.reader-insight-panel{padding:11px}.reader-command-title strong{font-size:10px}.reader-command-title small{font-size:7.5px}}


/* V7.6 Adaptive reader layout and uncropped document presentation */
.reader-mobile-panel-toggle{display:none}
.reader-document-stage{isolation:isolate}
.reader-frame-wrap{overflow:hidden;align-items:stretch}
.reader-frame-wrap iframe{display:block;min-width:0;max-width:100%;transform:none!important}
.reader-document-stage:fullscreen,
.reader-document-stage:-webkit-full-screen{width:100vw;height:100vh;border:0;border-radius:0;background:#1d1d1d}
.reader-document-stage:fullscreen .reader-frame-wrap,
.reader-document-stage:-webkit-full-screen .reader-frame-wrap{width:100vw;height:100vh;min-height:100vh}
.reader-document-stage:fullscreen iframe,
.reader-document-stage:-webkit-full-screen iframe{width:100%;height:100%}
.reader-document-stage:fullscreen .reader-watermark,
.reader-document-stage:-webkit-full-screen .reader-watermark{bottom:18px}
.reader-page-list nav{max-height:190px;overflow:auto;scrollbar-width:thin}

@media(max-width:1080px){
 .professional-reader{grid-template-areas:"info document" "insight insight"}
 .reader-info-panel{grid-area:info}
 .reader-document-stage{grid-area:document}
 .reader-insight-panel{grid-area:insight}
}

@media(max-width:800px){
 .reader-command-bar{
  position:relative;
  top:auto;
  z-index:12;
  margin-bottom:9px;
  padding:9px;
  gap:8px;
  border-radius:12px;
 }
 .reader-command-title{justify-content:flex-start}
 .reader-page-control{justify-content:center}
 .reader-command-actions{
  justify-content:flex-start;
  overflow-x:auto;
  padding:2px 0 4px;
  scrollbar-width:none;
 }
 .reader-command-actions::-webkit-scrollbar{display:none}
 .reader-tool{min-width:38px;height:35px}
 .reader-tool.text{min-width:70px}
 .professional-reader{
  display:flex;
  flex-direction:column;
  gap:9px;
  min-height:0;
 }
 .reader-document-stage{order:1;width:100%;min-height:0;border-radius:12px}
 .reader-info-panel{order:2;width:100%}
 .reader-insight-panel{order:3;width:100%}
 .reader-related-section{order:4}
 .reader-frame-wrap{
  height:calc(100dvh - 235px);
  min-height:520px;
  max-height:780px;
  width:100%;
  overflow:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
 }
 .reader-frame-wrap iframe{width:100%;height:100%}
 .reader-info-panel,.reader-insight-panel{
  padding:0;
  border-radius:12px;
  overflow:hidden;
 }
 .reader-mobile-panel-toggle{
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:0;
  background:#fff;
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
 }
 .reader-mobile-panel-toggle b{font-size:15px;transition:transform .2s}
 .reader-info-panel.mobile-open .reader-mobile-panel-toggle b,
 .reader-insight-panel.mobile-open .reader-mobile-panel-toggle b{transform:rotate(180deg)}
 .reader-mobile-collapsible{display:none;padding:0 12px 12px}
 .reader-info-panel.mobile-open .reader-mobile-collapsible,
 .reader-insight-panel.mobile-open .reader-mobile-collapsible{display:block}
 .reader-page-list nav{
  display:flex;
  overflow-x:auto;
  overflow-y:hidden;
  max-height:none;
  padding-bottom:5px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
 }
 .reader-page-list a{
  flex:0 0 72px;
  min-height:46px;
  scroll-snap-align:start;
 }
 .reader-resource-cover{max-height:260px}
 .reader-watermark{bottom:8px;max-width:85%;overflow:hidden;text-overflow:ellipsis}
}

@media(max-width:560px){
 .reader-command-bar{margin-left:-2px;margin-right:-2px}
 .reader-command-title{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  width:100%;
 }
 .reader-command-title>div{min-width:0}
 .reader-page-control{
  width:100%;
  justify-content:center;
  padding:2px 0;
 }
 .reader-command-actions{width:100%}
 .reader-frame-wrap{
  height:calc(100dvh - 245px);
  min-height:470px;
  max-height:none;
 }
 .reader-resource-cover{max-height:230px}
 body:has(.professional-reader) .lsv-chat-launcher,
 body:has(.professional-reader) .chat-launcher{
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  padding:0!important;
  border-radius:50%!important;
 }
 body:has(.professional-reader) .lsv-chat-launcher span:not(:first-child),
 body:has(.professional-reader) .chat-launcher span:not(:first-child){display:none!important}
}

@media(max-width:390px){
 .reader-command-bar{padding:7px}
 .reader-tool{min-width:36px;padding:0 7px}
 .reader-tool.text{min-width:64px}
 .reader-frame-wrap{
  height:calc(100dvh - 230px);
  min-height:430px;
 }
}

/* Landscape phones: maximize reading area and keep controls compact */
@media(max-width:900px) and (orientation:landscape){
 .reader-command-bar{
  grid-template-columns:minmax(190px,1fr) auto;
  position:relative;
 }
 .reader-command-actions{grid-column:1/-1}
 .reader-frame-wrap{
  height:calc(100dvh - 180px);
  min-height:300px;
  max-height:none;
 }
 .reader-info-panel,.reader-insight-panel{display:block}
}

/* Avoid global floating controls covering document content */
body:has(.professional-reader) .chat-widget-panel{max-height:min(620px,calc(100dvh - 90px))}
body:has(.professional-reader) .lsv-chat-launcher,
body:has(.professional-reader) .chat-launcher{z-index:70}


/* V7.7 Compact single-line mobile reader controls */
@media(max-width:800px){
 .reader-command-bar{
  display:flex;
  align-items:center;
  gap:6px;
  padding:7px 8px;
  min-height:48px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
  border-radius:10px;
 }
 .reader-command-bar::-webkit-scrollbar{display:none}
 .reader-command-title{
  display:flex;
  flex:0 0 auto;
  width:auto;
  max-width:150px;
  min-width:92px;
  justify-content:flex-start;
  gap:6px;
 }
 .reader-command-title .reader-back{
  width:30px;
  height:30px;
  flex:0 0 30px;
 }
 .reader-command-title>div{
  max-width:105px;
 }
 .reader-command-title strong{
  font-size:8.5px;
  line-height:1.1;
 }
 .reader-command-title small{
  display:none;
 }
 .reader-page-control{
  display:flex;
  flex:0 0 auto;
  width:auto;
  padding:0;
  gap:4px;
 }
 .reader-page-control label{
  gap:3px;
  font-size:7.5px;
 }
 .reader-page-control input{
  width:43px;
  height:30px;
  font-size:9px;
 }
 .reader-page-control .reader-icon-button{
  width:30px;
  height:30px;
  flex:0 0 30px;
 }
 .reader-command-actions{
  display:flex;
  flex:0 0 auto;
  width:auto;
  overflow:visible;
  padding:0;
  gap:4px;
 }
 .reader-tool{
  min-width:32px;
  width:32px;
  height:30px;
  padding:0;
  flex:0 0 32px;
  font-size:9px;
 }
 .reader-tool.text{
  min-width:58px;
  width:auto;
  padding:0 7px;
  font-size:7px;
 }
 .reader-zoom-label{
  width:34px;
  font-size:7px;
  flex:0 0 34px;
 }
}

@media(max-width:560px){
 .reader-command-bar{
  gap:4px;
  padding:6px;
  min-height:44px;
 }
 .reader-command-title{
  max-width:68px;
  min-width:34px;
 }
 .reader-command-title>div{
  display:none;
 }
 .reader-command-title .reader-back{
  width:29px;
  height:29px;
  flex-basis:29px;
 }
 .reader-page-control label{
  font-size:7px;
 }
 .reader-page-control label>span{
  display:none;
 }
 .reader-page-control:after{
  content:"/ " attr(data-total-pages);
  font-size:7px;
  color:var(--muted);
 }
 .reader-tool{
  width:30px;
  min-width:30px;
  flex-basis:30px;
  height:29px;
 }
 .reader-tool.text{
  min-width:54px;
  padding:0 6px;
 }
 .reader-zoom-label{
  width:31px;
  flex-basis:31px;
 }
}

@media(max-width:390px){
 .reader-command-bar{
  padding:5px;
 }
 .reader-page-control .reader-icon-button:first-child{
  display:none;
 }
 .reader-command-actions .reader-tool[data-reader-action="dark"]{
  display:none;
 }
 .reader-tool.text{
  min-width:50px;
  padding:0 5px;
  font-size:6.5px;
 }
}

.reader-label-short{display:none}
@media(max-width:560px){
 .reader-label-full{display:none}
 .reader-label-short{display:inline}
}


/* V7.8 Reader focus mode: hide contextual navigation and breadcrumbs */
.reader-focus-toggle{
 min-width:auto;
 width:auto;
 padding:0 9px;
 gap:5px;
 display:flex;
 align-items:center;
 justify-content:center;
 background:#edf4ff;
 border-color:#c8daf3;
 color:var(--blue);
}
.reader-focus-icon{font-size:12px;line-height:1}
.reader-focus-label{font-size:8px;font-weight:850}
body.reader-focus-mode .context-nav,
body.reader-focus-mode .breadcrumbs{
 display:none!important;
}
body.reader-focus-mode .reader-command-bar{
 top:78px;
 margin-top:0;
}
body.reader-focus-mode .content{
 padding-top:10px;
}
body.reader-focus-mode .reader-focus-toggle{
 background:#1f63cc;
 border-color:#1f63cc;
 color:#fff;
 box-shadow:0 4px 11px rgba(31,99,204,.22);
}
body.reader-focus-mode .reader-focus-icon{
 transform:rotate(180deg);
}
.reader-focus-toggle .reader-focus-icon{
 transition:transform .2s ease;
}
.reader-focus-hint{
 position:fixed;
 left:50%;
 top:84px;
 transform:translate(-50%,-10px);
 z-index:140;
 padding:7px 11px;
 border-radius:999px;
 background:rgba(8,35,70,.92);
 color:#fff;
 font-size:8px;
 font-weight:750;
 opacity:0;
 pointer-events:none;
 transition:opacity .18s,transform .18s;
 box-shadow:0 8px 22px rgba(6,27,54,.22);
}
.reader-focus-hint.show{
 opacity:1;
 transform:translate(-50%,0);
}

@media(max-width:800px){
 body.reader-focus-mode .reader-command-bar{
  top:auto;
 }
 body.reader-focus-mode .content{
  padding-top:6px;
 }
 .reader-focus-toggle{
  min-width:56px;
  width:auto;
  flex:0 0 auto;
  padding:0 7px;
 }
 .reader-focus-label{
  font-size:7px;
 }
 .reader-focus-hint{
  top:70px;
 }
}

@media(max-width:560px){
 .reader-focus-toggle{
  min-width:30px;
  width:30px;
  flex-basis:30px;
  padding:0;
 }
 .reader-focus-label{
  display:none;
 }
}

@media(max-width:390px){
 .reader-focus-toggle{
  order:-1;
 }
}


/* V7.9 Intelligent Dashboard — approved mockup implementation */
.intelligent-dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.intelligent-dashboard-head h1{margin:0;color:var(--navy);font-size:clamp(22px,2.1vw,30px);letter-spacing:-.65px}
.intelligent-dashboard-head h1 span{font-size:.8em}.intelligent-dashboard-head p{margin:4px 0 0;color:var(--muted);font-size:10px}
.intelligent-dashboard-controls{display:flex;align-items:center;gap:9px}
.dashboard-period{height:38px;padding:0 10px;border:1px solid var(--border);border-radius:10px;background:#fff;display:flex;align-items:center;gap:7px;color:var(--navy)}
.dashboard-period span{font-size:12px}.dashboard-period select{border:0;background:transparent;color:var(--navy);font-size:9px;font-weight:750;outline:0}
.dashboard-report-button{height:38px}

.intelligent-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}
.intelligent-kpi{--kpi:#2f6fec;--kpi-soft:#edf3ff;min-height:145px;padding:13px 13px 9px;background:#fff;border:1px solid var(--border);border-radius:13px;position:relative;overflow:hidden;color:inherit;box-shadow:0 3px 14px rgba(16,54,98,.035);transition:.18s}
.intelligent-kpi:hover{transform:translateY(-2px);border-color:#c6d8f2;box-shadow:0 9px 23px rgba(16,54,98,.08)}
.intelligent-kpi.tone-purple{--kpi:#8a5de8;--kpi-soft:#f3edff}.intelligent-kpi.tone-green{--kpi:#25aa7a;--kpi-soft:#e9f8f1}.intelligent-kpi.tone-orange{--kpi:#f29a19;--kpi-soft:#fff4df}.intelligent-kpi.tone-pink{--kpi:#ef4f87;--kpi-soft:#fff0f5}.intelligent-kpi.tone-indigo{--kpi:#4c7be8;--kpi-soft:#edf2ff}
.intelligent-kpi-icon{width:34px;height:34px;border-radius:10px;background:var(--kpi-soft);color:var(--kpi);display:grid;place-items:center;font-size:13px;font-weight:900;margin-bottom:8px}
.intelligent-kpi-copy{display:grid;position:relative;z-index:2}.intelligent-kpi-copy small{font-size:8.3px;font-weight:800;color:#43536b}.intelligent-kpi-copy strong{font-size:21px;line-height:1.05;color:var(--navy);margin:5px 0 6px;letter-spacing:-.45px}.intelligent-kpi-trend{font-size:8px;font-style:normal;font-weight:850}.intelligent-kpi-trend.positive{color:#20a467}.intelligent-kpi-trend.negative{color:#d84a60}.intelligent-kpi-copy em{font-size:6.8px;color:#8a96a8;font-style:normal;margin-top:2px}
.intelligent-spark{position:absolute;left:10px;right:10px;bottom:6px;width:calc(100% - 20px);height:31px;overflow:visible}.spark-line{fill:none;stroke:var(--kpi);stroke-width:1.7;vector-effect:non-scaling-stroke}.spark-fill{fill:var(--kpi-soft);opacity:.72}

.intelligent-dashboard-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,.82fr) minmax(270px,.86fr);gap:11px;margin-bottom:11px;align-items:stretch}
.dashboard-widget,.dashboard-ai-card{background:#fff;border:1px solid var(--border);border-radius:13px;box-shadow:0 3px 14px rgba(16,54,98,.035);min-width:0}
.dashboard-widget{padding:13px}
.dashboard-widget-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}.dashboard-widget-head h2{font-size:11px;color:var(--navy);margin:0}.dashboard-widget-head p{font-size:7.4px;color:var(--muted);margin:2px 0 0}.dashboard-widget-head a{font-size:7.5px;font-weight:800;color:var(--blue);white-space:nowrap}.dashboard-widget-head select,.widget-period{border:1px solid #dfe7f1;border-radius:8px;background:#fff;height:29px;padding:0 8px;font-size:7.5px;color:#56667b}

.activity-legend{display:flex;align-items:center;gap:14px;margin-bottom:5px}.activity-legend span{display:flex;align-items:center;gap:5px;font-size:7px;color:#66758a}.activity-legend i{width:6px;height:6px;border-radius:50%}.series-resources{background:#2f6fec}.series-views{background:#36b98e}.series-saved{background:#955ee9}
.enterprise-line-chart{height:235px;position:relative}.enterprise-line-chart>svg{display:block;width:100%;height:210px;overflow:visible}.chart-grid line{stroke:#e9eef5;stroke-width:1;stroke-dasharray:3 4}.enterprise-chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding-left:38px}.enterprise-chart-labels span{text-align:center;font-size:6.7px;color:#7c8899}
.enterprise-series{fill:none;stroke-width:2.2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 2px rgba(35,81,145,.10))}.enterprise-point{stroke:#fff;stroke-width:1.8}.enterprise-area{opacity:.08}

.ai-insight-list{display:grid}.ai-insight-item{display:grid;grid-template-columns:29px minmax(0,1fr);gap:9px;align-items:start;padding:9px 1px;border-bottom:1px solid #edf1f6}.ai-insight-item:last-child{border-bottom:0}.ai-insight-item>span{width:27px;height:27px;border-radius:9px;background:#edf3ff;color:#2f6fec;display:grid;place-items:center;font-size:10px;font-weight:900}.ai-insight-item.tone-amber>span{background:#fff4df;color:#d78d11}.ai-insight-item.tone-pink>span{background:#fff0f5;color:#e84b80}.ai-insight-item.tone-purple>span{background:#f2edff;color:#8257d9}.ai-insight-item.tone-green>span{background:#e9f8f1;color:#259b70}.ai-insight-item strong{display:block;font-size:8px;line-height:1.35;color:#40516a}.ai-insight-item small{display:block;font-size:6.5px;color:#97a2b1;margin-top:3px}

.dashboard-ai-card{overflow:hidden;padding:0}.dashboard-ai-card-head{min-height:93px;padding:14px;background:linear-gradient(135deg,#235ce2,#8759ef);color:#fff;display:flex;align-items:flex-start;justify-content:space-between}.dashboard-ai-card-head h2{margin:0;font-size:12px}.dashboard-ai-card-head p{margin:3px 0 0;font-size:7px;opacity:.82}.dashboard-ai-card-head>span{font-size:15px}.dashboard-ai-greeting{margin:-31px 13px 8px;width:155px;padding:9px;background:#fff;border-radius:9px;color:#4a62c2;font-size:7px;box-shadow:0 5px 14px rgba(40,66,166,.17);position:relative}.dashboard-ai-greeting strong{font-size:7.5px}
.dashboard-ai-prompts{display:grid;gap:6px;padding:4px 13px 8px}.dashboard-ai-prompts button{height:32px;border:1px solid #dfe5f4;background:#fff;border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 9px;color:#53627a;font-size:7.4px;cursor:pointer;text-align:left}.dashboard-ai-prompts button:hover{background:#f3f6ff;border-color:#c8d7f5;color:#355fc4}.dashboard-ai-prompts button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-ai-input{width:calc(100% - 26px);height:34px;margin:0 13px 12px;border:1px solid #e0e6f0;border-radius:8px;background:#f8faff;color:#8390a2;font-size:7px;text-align:left;padding:0 8px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.dashboard-ai-input span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#7957eb;color:#fff}

.intelligent-dashboard-secondary{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(245px,.9fr) minmax(245px,.9fr) minmax(250px,.95fr);gap:11px;margin-bottom:11px}
.category-donut-layout{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px}.category-donut{width:112px;height:112px;border-radius:50%;background:var(--category-gradient,#e7edf5);display:grid;place-items:center;position:relative;animation:donutIn .8s ease}.category-donut:before{content:"";position:absolute;inset:26px;border-radius:50%;background:#fff}.category-donut>div{position:relative;z-index:1;text-align:center;display:grid}.category-donut strong{font-size:13px;color:var(--navy)}.category-donut span{font-size:6.7px;color:var(--muted)}@keyframes donutIn{from{transform:rotate(-35deg) scale(.85);opacity:.3}}
.category-donut-legend{display:grid;gap:7px}.category-donut-legend a{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:6px;color:#536279}.category-donut-legend i{width:6px;height:6px;border-radius:50%}.category-donut-legend span{font-size:6.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-donut-legend strong{font-size:6.3px;color:#718096;white-space:nowrap}

.most-viewed-list{display:grid}.most-viewed-list>a{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid #edf1f6;color:inherit}.most-viewed-list>a:last-child{border-bottom:0}.most-viewed-list>a:hover strong{color:var(--blue)}.most-viewed-cover{width:29px;height:39px;border-radius:4px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;overflow:hidden;font-size:6px;font-weight:900}.most-viewed-cover-image{width:100%;height:100%;object-fit:contain;background:#fff}.most-viewed-list>a>span:nth-child(2){min-width:0;display:grid}.most-viewed-list strong{font-size:7.4px;color:#42516a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.most-viewed-list small{font-size:6.2px;color:#8b96a6;margin-top:2px}.most-viewed-list b{font-size:6.4px;color:#6d7b8f;font-weight:700;white-space:nowrap}

.search-cloud{min-height:135px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;gap:6px 10px;padding:8px;text-align:center}.search-cloud span{line-height:1;color:#617189}.search-cloud .cloud-xl{font-size:20px;font-weight:850;color:#3168df}.search-cloud .cloud-md{font-size:11px;font-weight:750;color:#20a878}.search-cloud .cloud-sm{font-size:8px;color:#7060b6}.search-cloud .cloud-xs{font-size:6.7px;color:#6c7788}
.search-trend-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.search-trend-stats div{padding:8px;background:#f7f9fc;border:1px solid #e6ebf2;border-radius:8px}.search-trend-stats small{display:block;font-size:6.5px;color:#7d8999}.search-trend-stats strong{display:block;font-size:13px;color:var(--navy);margin-top:3px}

.dashboard-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dashboard-quick-actions a{min-height:53px;padding:8px;background:#f8f9fc;border:1px solid #edf0f5;border-radius:8px;display:flex;align-items:center;gap:7px;color:#43536a}.dashboard-quick-actions a:hover{background:#edf4ff;border-color:#d2e0f5;color:var(--blue)}.dashboard-quick-actions span{width:24px;height:24px;border-radius:7px;background:#fff;display:grid;place-items:center;color:#2f6fec;font-size:9px}.dashboard-quick-actions strong{font-size:7px;line-height:1.25}

.recent-activity-widget{padding:13px;margin-bottom:6px}.recent-activity-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.recent-activity-grid article{min-height:78px;padding:10px;border:1px solid #e8edf4;border-radius:9px;display:grid;grid-template-columns:31px minmax(0,1fr);gap:8px}.recent-activity-grid article>span{width:29px;height:29px;border-radius:9px;background:#edf3ff;color:#3269df;display:grid;place-items:center;font-size:9px;font-weight:900}.recent-activity-grid article>div{min-width:0;display:grid}.recent-activity-grid small{font-size:6.3px;color:#8793a4}.recent-activity-grid strong{font-size:7.2px;color:#42516a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0}.recent-activity-grid em,.recent-activity-grid time{font-style:normal;font-size:5.9px;color:#8d98a8}

.dashboard-health-card{position:fixed;left:28px;bottom:54px;width:185px;padding:12px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px rgba(16,54,98,.08);z-index:25}.dashboard-health-card>div{display:flex;align-items:center;gap:7px}.dashboard-health-card>div>span{width:25px;height:25px;border-radius:8px;background:#e9f8f1;color:#25a676;display:grid;place-items:center}.dashboard-health-card>div strong{font-size:8px;color:var(--navy)}.dashboard-health-card>b{display:block;font-size:7px;color:#25a676;margin:5px 0 2px}.dashboard-health-card>small{font-size:5.8px;color:#8793a4}.dashboard-health-card hr{border:0;border-top:1px solid #edf1f6;margin:9px 0}.dashboard-health-card p{display:flex;justify-content:space-between;margin:5px 0;font-size:6px;color:#8390a2}.dashboard-health-card p strong{color:#4f6077}.online-dot:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#24b779;margin-right:4px}
.dashboard-empty{padding:20px;text-align:center;font-size:8px;color:var(--muted)}

@media(max-width:1350px){
 .intelligent-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .intelligent-dashboard-main{grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr)}.dashboard-ai-card{grid-column:1/-1;display:grid;grid-template-columns:230px 180px minmax(0,1fr);align-items:center}.dashboard-ai-card-head{height:100%;min-height:155px}.dashboard-ai-greeting{margin:0}.dashboard-ai-prompts{grid-template-columns:1fr 1fr}.dashboard-ai-input{align-self:end}
 .intelligent-dashboard-secondary{grid-template-columns:1fr 1fr}
 .dashboard-health-card{display:none}
}
@media(max-width:930px){
 .intelligent-dashboard-main{grid-template-columns:1fr}.dashboard-ai-card{grid-column:auto;display:block}.dashboard-ai-card-head{min-height:88px}.dashboard-ai-greeting{margin:-30px 13px 8px}.dashboard-ai-prompts{grid-template-columns:1fr}
 .recent-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .intelligent-dashboard-head{align-items:stretch;flex-direction:column}.intelligent-dashboard-controls{justify-content:flex-start}.dashboard-report-button{flex:1}.dashboard-period{flex:1}
 .intelligent-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.intelligent-kpi{min-height:126px;padding:11px}.intelligent-kpi-copy strong{font-size:18px}
 .intelligent-dashboard-secondary{grid-template-columns:1fr}.category-donut-layout{grid-template-columns:110px minmax(0,1fr)}
 .recent-activity-grid{grid-template-columns:1fr}
 .enterprise-line-chart{height:205px}.enterprise-line-chart>svg{height:180px}
}
@media(max-width:420px){
 .intelligent-kpi{min-height:116px}.intelligent-kpi-icon{width:29px;height:29px}.intelligent-kpi-copy small{font-size:7.4px}
 .category-donut-layout{grid-template-columns:1fr}.category-donut{margin:auto}
 .dashboard-quick-actions{grid-template-columns:1fr 1fr}
}


/* V7.10 Dashboard readability, fit and motion refinement */
body.dashboard-page .content{
 padding:18px 22px 24px;
 max-width:none;
 overflow-x:hidden;
}
body.dashboard-page .main-shell{min-width:0}
body.dashboard-page .intelligent-dashboard-head{margin-bottom:16px}
body.dashboard-page .intelligent-dashboard-head h1{font-size:clamp(27px,2.25vw,36px);line-height:1.12}
body.dashboard-page .intelligent-dashboard-head p{font-size:12px;line-height:1.5}
body.dashboard-page .dashboard-period,
body.dashboard-page .dashboard-report-button{height:42px}
body.dashboard-page .dashboard-period select{font-size:11px}
body.dashboard-page .dashboard-report-button{font-size:10px;padding-inline:15px}

body.dashboard-page .intelligent-kpi-grid{gap:12px;margin-bottom:14px}
body.dashboard-page .intelligent-kpi{min-height:158px;padding:15px 15px 11px;border-radius:15px}
body.dashboard-page .intelligent-kpi-icon{width:39px;height:39px;font-size:15px}
body.dashboard-page .intelligent-kpi-copy small{font-size:10px}
body.dashboard-page .intelligent-kpi-copy strong{font-size:27px;margin:6px 0 7px}
body.dashboard-page .intelligent-kpi-trend{font-size:9.5px}
body.dashboard-page .intelligent-kpi-copy em{font-size:8px}
body.dashboard-page .intelligent-spark{height:35px}

body.dashboard-page .intelligent-dashboard-main,
body.dashboard-page .intelligent-dashboard-secondary{gap:13px;margin-bottom:13px}
body.dashboard-page .dashboard-widget{padding:16px;border-radius:15px}
body.dashboard-page .dashboard-widget-head{margin-bottom:12px}
body.dashboard-page .dashboard-widget-head h2{font-size:14px}
body.dashboard-page .dashboard-widget-head p{font-size:9.5px;line-height:1.4}
body.dashboard-page .dashboard-widget-head a{font-size:9px}
body.dashboard-page .dashboard-widget-head select,
body.dashboard-page .widget-period{font-size:9px;height:32px}
body.dashboard-page .activity-legend span{font-size:8.5px}
body.dashboard-page .enterprise-line-chart{height:265px}
body.dashboard-page .enterprise-line-chart>svg{height:235px}
body.dashboard-page .enterprise-chart-labels span{font-size:8px}

body.dashboard-page .ai-insight-item{grid-template-columns:34px minmax(0,1fr);padding:11px 1px}
body.dashboard-page .ai-insight-item>span{width:32px;height:32px;font-size:12px}
body.dashboard-page .ai-insight-item strong{font-size:9.5px;line-height:1.45}
body.dashboard-page .ai-insight-item small{font-size:7.7px}
body.dashboard-page .dashboard-ai-card-head h2{font-size:15px}
body.dashboard-page .dashboard-ai-card-head p{font-size:8.5px}
body.dashboard-page .dashboard-ai-greeting{font-size:8.5px;width:175px}
body.dashboard-page .dashboard-ai-greeting strong{font-size:9px}
body.dashboard-page .dashboard-ai-prompts button{height:36px;font-size:8.5px}
body.dashboard-page .dashboard-ai-input{height:38px;font-size:8.5px}

body.dashboard-page .category-donut{width:125px;height:125px}
body.dashboard-page .category-donut strong{font-size:16px}
body.dashboard-page .category-donut span{font-size:8px}
body.dashboard-page .category-donut-legend span{font-size:8px}
body.dashboard-page .category-donut-legend strong{font-size:7.5px}
body.dashboard-page .most-viewed-cover{width:34px;height:45px}
body.dashboard-page .most-viewed-list>a{grid-template-columns:36px minmax(0,1fr) auto;padding:8px 0}
body.dashboard-page .most-viewed-list strong{font-size:8.8px}
body.dashboard-page .most-viewed-list small{font-size:7.4px}
body.dashboard-page .most-viewed-list b{font-size:7.6px}
body.dashboard-page .search-cloud{min-height:155px}
body.dashboard-page .search-cloud .cloud-xl{font-size:24px}
body.dashboard-page .search-cloud .cloud-md{font-size:13px}
body.dashboard-page .search-cloud .cloud-sm{font-size:10px}
body.dashboard-page .search-cloud .cloud-xs{font-size:8px}
body.dashboard-page .search-trend-stats small{font-size:8px}
body.dashboard-page .search-trend-stats strong{font-size:16px}
body.dashboard-page .dashboard-quick-actions a{min-height:60px;padding:10px}
body.dashboard-page .dashboard-quick-actions span{width:29px;height:29px;font-size:11px}
body.dashboard-page .dashboard-quick-actions strong{font-size:8.5px}

body.dashboard-page .recent-activity-widget{padding:16px}
body.dashboard-page .recent-activity-grid{gap:11px}
body.dashboard-page .recent-activity-grid article{min-height:91px;padding:12px;grid-template-columns:36px minmax(0,1fr)}
body.dashboard-page .recent-activity-grid article>span{width:34px;height:34px;font-size:11px}
body.dashboard-page .recent-activity-grid small{font-size:7.5px}
body.dashboard-page .recent-activity-grid strong{font-size:8.7px}
body.dashboard-page .recent-activity-grid em,
body.dashboard-page .recent-activity-grid time{font-size:7px}

/* entrance and hover motion */
body.dashboard-page .intelligent-dashboard-head,
body.dashboard-page .intelligent-kpi,
body.dashboard-page .dashboard-widget,
body.dashboard-page .dashboard-ai-card,
body.dashboard-page .recent-activity-widget{
 opacity:0;
 transform:translateY(12px);
}
body.dashboard-page.dashboard-animated .intelligent-dashboard-head,
body.dashboard-page.dashboard-animated .intelligent-kpi,
body.dashboard-page.dashboard-animated .dashboard-widget,
body.dashboard-page.dashboard-animated .dashboard-ai-card,
body.dashboard-page.dashboard-animated .recent-activity-widget{
 animation:dashboardReveal .56s cubic-bezier(.2,.72,.25,1) forwards;
}
body.dashboard-page.dashboard-animated .intelligent-kpi:nth-child(1){animation-delay:.04s}
body.dashboard-page.dashboard-animated .intelligent-kpi:nth-child(2){animation-delay:.08s}
body.dashboard-page.dashboard-animated .intelligent-kpi:nth-child(3){animation-delay:.12s}
body.dashboard-page.dashboard-animated .intelligent-kpi:nth-child(4){animation-delay:.16s}
body.dashboard-page.dashboard-animated .intelligent-kpi:nth-child(5){animation-delay:.20s}
body.dashboard-page.dashboard-animated .intelligent-kpi:nth-child(6){animation-delay:.24s}
body.dashboard-page.dashboard-animated .intelligent-dashboard-main>*{animation-delay:.28s}
body.dashboard-page.dashboard-animated .intelligent-dashboard-secondary>*{animation-delay:.36s}
body.dashboard-page.dashboard-animated .recent-activity-widget{animation-delay:.44s}
@keyframes dashboardReveal{to{opacity:1;transform:none}}
body.dashboard-page .intelligent-kpi:hover,
body.dashboard-page .dashboard-widget:hover,
body.dashboard-page .dashboard-ai-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,54,98,.09)}
body.dashboard-page .intelligent-spark .spark-line{stroke-dasharray:180;stroke-dashoffset:180}
body.dashboard-page.dashboard-animated .intelligent-spark .spark-line{animation:sparkDraw 1.25s ease forwards .35s}
@keyframes sparkDraw{to{stroke-dashoffset:0}}
body.dashboard-page #enterpriseChartSeries .enterprise-series{stroke-dasharray:1200;stroke-dashoffset:1200}
body.dashboard-page.dashboard-animated #enterpriseChartSeries .enterprise-series{animation:chartDraw 1.15s ease forwards .4s}
body.dashboard-page #enterpriseChartSeries .enterprise-point{opacity:0}
body.dashboard-page.dashboard-animated #enterpriseChartSeries .enterprise-point{animation:pointIn .28s ease forwards 1.15s}
@keyframes chartDraw{to{stroke-dashoffset:0}}
@keyframes pointIn{to{opacity:1}}
body.dashboard-page .category-donut{transition:transform .35s ease}
body.dashboard-page .category-donut:hover{transform:rotate(4deg) scale(1.025)}
body.dashboard-page .ai-insight-item>span{animation:insightPulse 2.8s ease-in-out infinite}
body.dashboard-page .ai-insight-item:nth-child(2)>span{animation-delay:.4s}
body.dashboard-page .ai-insight-item:nth-child(3)>span{animation-delay:.8s}
body.dashboard-page .ai-insight-item:nth-child(4)>span{animation-delay:1.2s}
@keyframes insightPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}

@media(max-width:1350px){
 body.dashboard-page .intelligent-kpi{min-height:146px}
 body.dashboard-page .intelligent-dashboard-main{grid-template-columns:minmax(0,1.4fr) minmax(300px,.85fr)}
}
@media(max-width:930px){
 body.dashboard-page .content{padding:15px 16px 22px}
 body.dashboard-page .intelligent-dashboard-head h1{font-size:28px}
 body.dashboard-page .dashboard-ai-card{display:block}
}
@media(max-width:700px){
 body.dashboard-page .content{padding:13px 11px 20px}
 body.dashboard-page .intelligent-dashboard-head h1{font-size:24px}
 body.dashboard-page .intelligent-dashboard-head p{font-size:10px}
 body.dashboard-page .intelligent-kpi{min-height:132px;padding:12px}
 body.dashboard-page .intelligent-kpi-copy small{font-size:8.5px}
 body.dashboard-page .intelligent-kpi-copy strong{font-size:22px}
 body.dashboard-page .dashboard-widget{padding:13px}
 body.dashboard-page .dashboard-widget-head h2{font-size:12px}
 body.dashboard-page .dashboard-widget-head p{font-size:8.5px}
 body.dashboard-page .enterprise-line-chart{height:225px}
 body.dashboard-page .enterprise-line-chart>svg{height:195px}
}
@media(max-width:430px){
 body.dashboard-page .intelligent-kpi-grid{grid-template-columns:1fr 1fr}
 body.dashboard-page .intelligent-kpi{min-height:122px}
 body.dashboard-page .intelligent-dashboard-controls{display:grid;grid-template-columns:1fr 1fr;width:100%}
 body.dashboard-page .dashboard-period,
 body.dashboard-page .dashboard-report-button{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
 body.dashboard-page *,body.dashboard-page *:before,body.dashboard-page *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* V8.0 Teacher Resource Discovery Dashboard */
.teacher-dashboard-page{background:#f7f9fd}
.teacher-dashboard-page .content{padding:14px 18px 28px}
.teacher-sidebar{background:#fff}
.teacher-primary-nav{padding-top:4px}
.teacher-primary-nav .nav-item{min-height:44px;margin:3px 10px;padding:9px 12px;border-radius:10px;font-size:10px;color:#29415f}
.teacher-primary-nav .nav-item .nav-icon{width:25px;font-size:14px;color:#1f5fc8}
.teacher-primary-nav .nav-item.active{background:linear-gradient(135deg,#1262d6,#2d78e8);color:#fff;box-shadow:0 8px 20px rgba(26,101,215,.22)}
.teacher-primary-nav .nav-item.active .nav-icon{color:#fff}
.teacher-nav-badge{margin-left:auto;min-width:20px;height:20px;border-radius:999px;background:#1769dc;color:#fff;display:grid;place-items:center;font-size:8px}
.teacher-sidebar-quote{margin:auto 16px 20px;padding:15px 12px;border:1px solid #e2e9f3;border-radius:16px;background:linear-gradient(145deg,#fffdf6,#fff);text-align:center;display:grid;justify-items:center}
.teacher-sidebar-art{width:120px;height:90px;border-radius:45% 55% 50% 45%;background:linear-gradient(135deg,#fff0c8,#eaf7df);display:grid;place-items:center;font-size:39px;position:relative}.teacher-sidebar-art span{position:absolute;right:16px;top:18px;font-size:26px}
.teacher-sidebar-quote strong{font-size:10px;line-height:1.45;color:#113568;margin-top:10px}.teacher-sidebar-quote small{font-size:8px;color:#69788c;margin-top:6px}

.teacher-hero{min-height:220px;padding:24px 28px;border:1px solid #e2e9f4;border-radius:18px;background:linear-gradient(115deg,#fff 0%,#fbfcff 58%,#f0efff 100%);display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.65fr);gap:22px;align-items:center;overflow:hidden;position:relative;margin-bottom:14px;box-shadow:0 8px 24px rgba(20,57,103,.055)}
.teacher-hero:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-80px;top:-110px;background:rgba(126,92,234,.07)}
.teacher-eyebrow{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef4ff;color:#2767c8;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.5px}
.teacher-hero h1{font-size:clamp(24px,2.5vw,34px);color:#0d3568;letter-spacing:-.7px;margin:9px 0 5px}.teacher-hero h1 span{font-size:.8em}.teacher-hero p{font-size:11px;line-height:1.55;color:#53657d;max-width:620px;margin:0 0 15px}
.teacher-hero-search{height:47px;max-width:660px;border:1px solid #dbe5f2;border-radius:12px;background:#fff;display:grid;grid-template-columns:36px minmax(0,1fr) 88px;align-items:center;padding:3px 4px 3px 9px;box-shadow:0 5px 15px rgba(15,53,96,.045)}.teacher-hero-search>span{color:#48627e;font-size:16px}.teacher-hero-search input{height:100%;border:0;outline:0;font-size:10px;color:#34485f}.teacher-hero-search button{height:38px;border:0;border-radius:9px;background:#1766d8;color:#fff;font-size:9px;font-weight:850;cursor:pointer}.teacher-hero-search button:hover{background:#0f55bb}
.teacher-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.teacher-hero-actions a,.teacher-hero-actions button{min-height:37px;padding:0 15px;border:1px solid #d5e2f2;border-radius:999px;background:#f3f7ff;color:#1d58ad;display:flex;align-items:center;gap:7px;font-size:8.5px;font-weight:800;cursor:pointer}.teacher-hero-actions a:nth-child(2){background:#effaf2;color:#208259;border-color:#d0ead9}.teacher-hero-actions button{background:#f3efff;color:#7050c7;border-color:#ded5f5}
.teacher-hero-visual{min-height:175px;display:grid;place-items:center;position:relative}.teacher-illustration-glow{position:absolute;width:205px;height:150px;border-radius:45%;background:linear-gradient(135deg,#e8e4ff,#fff4cf);filter:blur(1px)}.teacher-illustration{position:relative;font-size:88px;filter:drop-shadow(0 12px 14px rgba(28,62,112,.12))}.teacher-illustration span{position:absolute;right:-8px;top:-20px;font-size:39px}.teacher-illustration b{position:absolute;left:-30px;bottom:-12px;font-size:42px}

.teacher-dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}.teacher-dashboard-main{display:grid;gap:14px}.teacher-dashboard-aside{display:grid;gap:13px;position:sticky;top:90px}
.teacher-section,.teacher-side-card{background:#fff;border:1px solid #e1e8f2;border-radius:15px;padding:15px;box-shadow:0 4px 16px rgba(15,52,94,.04)}
.teacher-section-head,.teacher-side-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.teacher-section-head h2,.teacher-side-head h2{font-size:13px;color:#103663;margin:0}.teacher-section-head p{font-size:8.5px;color:#7a8798;margin:3px 0 0}.teacher-section-head a,.teacher-side-head a{font-size:8px;font-weight:850;color:#1766d8;white-space:nowrap}
.teacher-resource-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:10px;overflow-x:auto;padding:2px 2px 6px;scroll-snap-type:x proximity;scrollbar-width:thin}.teacher-reading-card{min-height:180px;border:1px solid #e2e9f3;border-radius:12px;padding:10px;display:grid;grid-template-columns:85px minmax(0,1fr);gap:11px;scroll-snap-align:start;background:#fff;transition:.18s}.teacher-reading-card:hover{transform:translateY(-2px);border-color:#bdd2ef;box-shadow:0 9px 20px rgba(18,60,110,.08)}
.teacher-book-cover{width:82px;height:116px;border-radius:7px;background:linear-gradient(145deg,#dceaff,#f4f7fc);display:grid;place-items:center;overflow:hidden}.teacher-cover-image{width:100%;height:100%;object-fit:contain;background:#fff}.teacher-book-cover>span{font-weight:900;color:#2265c7}
.teacher-reading-copy{min-width:0;display:flex;flex-direction:column}.teacher-reading-copy>span,.teacher-card-category{font-size:7px;color:#55769e}.teacher-reading-copy h3{font-size:10px;line-height:1.3;color:#163a67;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.teacher-reading-copy small{font-size:7.5px;color:#788699}.teacher-progress{display:grid;grid-template-columns:minmax(0,1fr) 27px;gap:6px;align-items:center;margin:9px 0}.teacher-progress:before{content:"";grid-column:1;grid-row:1;height:5px;background:#e8edf4;border-radius:999px}.teacher-progress i{grid-column:1;grid-row:1;height:5px;border-radius:999px;background:#2470df;z-index:1}.teacher-progress b{font-size:7px;color:#596b82}.teacher-reading-copy>a{margin-top:auto;min-height:31px;border-radius:8px;background:#f0f5ff;color:#1765ce;display:flex;align-items:center;justify-content:center;gap:6px;font-size:7.5px;font-weight:850}
.teacher-empty{min-height:90px;padding:15px;background:#f8fafd;border:1px dashed #d7e1ee;border-radius:12px;display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:12px}.teacher-empty>span{width:43px;height:43px;border-radius:12px;background:#edf4ff;display:grid;place-items:center;font-size:20px}.teacher-empty strong{font-size:10px;color:#173b68}.teacher-empty p{font-size:8px;color:#718095;margin:3px 0 0}.teacher-empty>a{font-size:8px;font-weight:850;color:#1766d8}

.teacher-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.teacher-category-grid a{min-height:92px;padding:10px 6px;border:1px solid #e3e9f2;border-radius:11px;background:#fbfcfe;display:grid;place-items:center;align-content:center;text-align:center;color:inherit;transition:.17s}.teacher-category-grid a:hover{transform:translateY(-2px);background:#f1f6ff;border-color:#c5d8f1}.teacher-category-grid span{font-size:23px}.teacher-category-grid strong{font-size:7.3px;color:#244566;margin-top:6px}.teacher-category-grid small{font-size:6.5px;color:#7e8a99;margin-top:3px}
.teacher-skill-grid{display:flex;flex-wrap:wrap;gap:8px}.teacher-skill-grid a{min-height:48px;padding:8px 11px;border:1px solid #e1e8f1;border-radius:10px;background:#fbfcfe;display:grid;grid-template-columns:27px auto;grid-template-rows:auto auto;column-gap:7px;color:inherit}.teacher-skill-grid span{grid-row:1/3;width:27px;height:27px;border-radius:8px;background:#eef4ff;color:#2869c8;display:grid;place-items:center;font-size:12px}.teacher-skill-grid strong{font-size:7.5px;color:#254665}.teacher-skill-grid small{font-size:6.5px;color:#8994a3}

.teacher-catalogue-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.teacher-catalogue-card{min-height:205px;border:1px solid #e1e8f2;border-radius:11px;padding:9px;display:grid;grid-template-columns:78px minmax(0,1fr);gap:9px}.teacher-catalogue-cover{width:75px;height:108px;border-radius:7px;background:#eaf2ff;display:grid;place-items:center;overflow:hidden}.teacher-catalogue-image{width:100%;height:100%;object-fit:contain;background:#fff}.teacher-catalogue-card>div{min-width:0;display:flex;flex-direction:column}.teacher-catalogue-card h3{font-size:8.5px;line-height:1.3;color:#1d406a;margin:4px 0}.teacher-catalogue-card p{font-size:6.8px;line-height:1.45;color:#738095;margin:2px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.teacher-catalogue-card small{font-size:6px;color:#d8951b;margin-top:auto}.teacher-catalogue-card>div>a{font-size:7px;color:#1766d8;font-weight:850;margin-top:6px}
.teacher-recent-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.teacher-recent-grid>a{position:relative;padding:8px;border:1px solid #e2e9f2;border-radius:10px;display:grid;color:inherit;min-width:0}.teacher-new-badge{position:absolute;right:5px;top:5px;padding:3px 6px;border-radius:999px;background:#25af72;color:#fff;font-size:6px;font-weight:900;z-index:2}.teacher-recent-cover{height:115px;border-radius:7px;background:#eaf2ff;display:grid;place-items:center;overflow:hidden;font-size:8px;font-weight:900;color:#2467c8}.teacher-recent-image{width:100%;height:100%;object-fit:contain;background:#fff}.teacher-recent-grid strong{font-size:7.5px;line-height:1.3;color:#244667;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-recent-grid small{font-size:6px;color:#8490a0;margin-top:3px}

.teacher-side-card{padding:13px}.teacher-notification-card>a:not(.teacher-side-footer){display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f6;color:inherit}.teacher-notification-card>a>span{width:27px;height:27px;border-radius:9px;background:#fff3e5;color:#ce8011;display:grid;place-items:center;font-size:10px;font-weight:900}.teacher-notification-card a div{min-width:0}.teacher-notification-card strong{display:block;font-size:7.5px;color:#274663;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-notification-card small{display:block;font-size:6.3px;color:#8591a0;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-notification-card time{font-size:6px;color:#9aa4b1}.teacher-side-footer{display:block;text-align:center;padding-top:10px;font-size:7px;font-weight:850;color:#1766d8}.teacher-side-empty{padding:18px;text-align:center;font-size:8px;color:#7b8898}
.teacher-assistant-card{border-radius:15px;background:#fff;border:1px solid #d9dff4;overflow:hidden;box-shadow:0 5px 18px rgba(70,51,170,.08)}.teacher-assistant-head{min-height:93px;padding:15px;background:linear-gradient(135deg,#3d64e8,#8651e8);color:#fff;display:flex;justify-content:space-between}.teacher-assistant-head h2{font-size:13px;margin:0}.teacher-assistant-head p{font-size:7px;margin:3px 0 0;opacity:.85}.teacher-assistant-head>span{font-size:16px}.teacher-assistant-prompts{display:grid;gap:6px;padding:10px}.teacher-assistant-prompts button{height:34px;border:1px solid #e0e5f2;border-radius:8px;background:#fff;color:#4d6077;display:flex;align-items:center;gap:7px;text-align:left;padding:0 9px;font-size:7px;cursor:pointer}.teacher-assistant-prompts button:hover{background:#f3f5ff;color:#5e47c7}.teacher-assistant-input{width:calc(100% - 20px);height:38px;margin:0 10px 10px;border:1px solid #e1e7f1;border-radius:9px;background:#fafbfe;color:#8894a4;display:flex;align-items:center;justify-content:space-between;padding:0 10px;font-size:7px;cursor:pointer}.teacher-assistant-input span{width:24px;height:24px;border-radius:50%;background:#7653e7;color:#fff;display:grid;place-items:center}
.teacher-popular-card>a{display:grid;grid-template-columns:22px 31px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f6;color:inherit}.teacher-popular-card>a>b{width:20px;height:20px;border-radius:50%;background:#eef4ff;color:#2466c7;display:grid;place-items:center;font-size:7px}.teacher-popular-cover{width:29px;height:40px;border-radius:4px;background:#eaf2ff;display:grid;place-items:center;overflow:hidden;font-size:6px}.teacher-popular-image{width:100%;height:100%;object-fit:contain;background:#fff}.teacher-popular-card a div{min-width:0}.teacher-popular-card strong{display:block;font-size:7.5px;color:#294865;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-popular-card small{display:block;font-size:6px;color:#8591a0;margin-top:2px}.teacher-popular-card em{font-style:normal;font-size:6px;color:#748195;white-space:nowrap}
.teacher-saved-card>a{display:grid;grid-template-columns:27px minmax(0,1fr);gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #edf1f6;color:inherit}.teacher-saved-card>a>span{width:26px;height:26px;border-radius:8px;background:#fff0f5;color:#df4e83;display:grid;place-items:center}.teacher-saved-card strong{display:block;font-size:7.5px;color:#284865}.teacher-saved-card small{display:block;font-size:6px;color:#8491a0;margin-top:2px}

.teacher-dashboard-page .teacher-hero,.teacher-dashboard-page .teacher-section,.teacher-dashboard-page .teacher-side-card,.teacher-dashboard-page .teacher-assistant-card{animation:teacherCardIn .55s ease both}.teacher-dashboard-page .teacher-section:nth-child(2){animation-delay:.06s}.teacher-dashboard-page .teacher-section:nth-child(3){animation-delay:.12s}.teacher-dashboard-page .teacher-dashboard-aside>*:nth-child(2){animation-delay:.08s}@keyframes teacherCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

@media(max-width:1320px){.teacher-category-grid{grid-template-columns:repeat(4,1fr)}.teacher-catalogue-grid{grid-template-columns:repeat(2,1fr)}.teacher-recent-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1050px){.teacher-dashboard-layout{grid-template-columns:1fr}.teacher-dashboard-aside{position:static;grid-template-columns:1fr 1fr}.teacher-assistant-card{grid-row:span 2}}
@media(max-width:800px){.teacher-dashboard-page .content{padding:10px}.teacher-hero{grid-template-columns:1fr;padding:20px}.teacher-hero-visual{display:none}.teacher-resource-scroll{grid-auto-columns:minmax(250px,82%)}.teacher-dashboard-aside{grid-template-columns:1fr}.teacher-catalogue-grid{grid-template-columns:1fr 1fr}.teacher-recent-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.teacher-hero{padding:16px}.teacher-hero h1{font-size:24px}.teacher-hero-search{grid-template-columns:30px minmax(0,1fr) 68px}.teacher-hero-actions{display:grid;grid-template-columns:1fr 1fr}.teacher-hero-actions button{grid-column:1/-1}.teacher-category-grid{grid-template-columns:repeat(2,1fr)}.teacher-catalogue-grid{grid-template-columns:1fr}.teacher-recent-grid{grid-template-columns:repeat(2,1fr)}.teacher-section{padding:12px}.teacher-empty{grid-template-columns:40px 1fr}.teacher-empty>a{grid-column:2}.teacher-sidebar-quote{display:none}}
@media(prefers-reduced-motion:reduce){.teacher-dashboard-page .teacher-hero,.teacher-dashboard-page .teacher-section,.teacher-dashboard-page .teacher-side-card,.teacher-dashboard-page .teacher-assistant-card{animation:none!important}}


/* V8.0.1 Exact Teacher Dashboard — approved mockup refinement */
.teacher-dashboard-page{
 background:#f7f9fd;
 color:#102f5c;
}
.teacher-dashboard-page .layout{
 grid-template-columns:240px minmax(0,1fr);
}
.teacher-dashboard-page .content{
 padding:15px 20px 28px;
 background:#f7f9fd;
}
.teacher-dashboard-page .context-nav,
.teacher-dashboard-page .breadcrumbs{
 display:none!important;
}
.teacher-dashboard-page .sidebar{
 padding:12px 10px 14px;
 background:#fff;
 overflow-y:auto;
 scrollbar-width:thin;
}
.teacher-dashboard-page .lsv-chat-launcher,
.teacher-dashboard-page .chat-launcher{
 display:none!important;
}

/* exact teacher sidebar */
.teacher-primary-nav{
 gap:3px;
 padding:1px 0 8px;
}
.teacher-primary-nav .nav-item{
 min-height:48px;
 margin:1px 8px;
 padding:10px 12px;
 gap:13px;
 border-radius:10px;
 color:#173b69;
 font-size:13px;
 font-weight:650;
}
.teacher-primary-nav .nav-item:hover{
 background:#eef4ff;
 color:#155fc9;
}
.teacher-primary-nav .nav-item.active{
 background:linear-gradient(135deg,#155dc7,#2f7be9);
 color:#fff;
 box-shadow:0 8px 18px rgba(30,102,214,.22);
}
.teacher-primary-nav .nav-icon{
 width:24px;
 height:24px;
 flex:0 0 24px;
 display:grid;
 place-items:center;
 color:#174b91;
}
.teacher-primary-nav .nav-item.active .nav-icon{color:#fff}
.teacher-primary-nav .nav-icon svg{
 width:21px;
 height:21px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.7;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.teacher-nav-badge{
 margin-left:auto;
 min-width:21px;
 height:21px;
 padding:0 6px;
 border-radius:999px;
 background:#1e69da;
 color:#fff;
 display:grid;
 place-items:center;
 font-size:10px;
 font-weight:800;
}
.teacher-sidebar-quote{
 margin:auto 10px 5px;
 padding:0 10px 15px;
 border:1px solid #e1e8f3;
 border-radius:17px;
 background:#fff;
 text-align:center;
 display:grid;
 justify-items:center;
 overflow:hidden;
 box-shadow:0 4px 13px rgba(17,51,93,.04);
}
.teacher-sidebar-quote img{
 width:calc(100% + 20px);
 height:150px;
 object-fit:cover;
 object-position:center top;
 margin:0 -10px 8px;
}
.teacher-sidebar-quote strong{
 font-size:14px;
 line-height:1.42;
 color:#113666;
 margin:3px 0 0;
}
.teacher-sidebar-quote small{
 font-size:12px;
 color:#64748a;
 margin-top:8px;
}

/* main teacher mockup layout */
.teacher-mockup-dashboard{
 display:grid;
 grid-template-columns:minmax(0,1fr) 340px;
 gap:18px;
 align-items:start;
 max-width:1440px;
 margin:0 auto;
}
.teacher-mockup-main{
 display:grid;
 gap:14px;
 min-width:0;
}
.teacher-mockup-aside{
 display:grid;
 gap:14px;
 position:sticky;
 top:86px;
 min-width:0;
}

/* hero */
.teacher-mockup-hero{
 min-height:245px;
 padding:25px 27px;
 border:1px solid #e1e8f4;
 border-radius:15px;
 background:linear-gradient(115deg,#fff 0%,#fbfcff 62%,#f2efff 100%);
 display:grid;
 grid-template-columns:minmax(0,1.65fr) 250px;
 gap:20px;
 align-items:center;
 box-shadow:0 5px 19px rgba(15,53,98,.045);
 overflow:hidden;
 position:relative;
}
.teacher-mockup-hero:before{
 content:"";
 position:absolute;
 width:270px;
 height:270px;
 border-radius:50%;
 right:-90px;
 top:-125px;
 background:rgba(120,90,230,.055);
}
.teacher-mockup-hero-copy{position:relative;z-index:2}
.teacher-mockup-hero h1{
 margin:0 0 8px;
 color:#0d356a;
 font-size:30px;
 line-height:1.15;
 letter-spacing:-.55px;
}
.teacher-mockup-hero h1 span{font-size:24px}
.teacher-mockup-hero p{
 margin:0 0 19px;
 color:#36557c;
 font-size:14px;
 line-height:1.55;
}
.teacher-mockup-hero-image{
 min-height:190px;
 display:grid;
 place-items:center;
 position:relative;
 z-index:1;
}
.teacher-mockup-hero-image img{
 width:250px;
 max-height:200px;
 object-fit:contain;
 filter:drop-shadow(0 10px 16px rgba(27,64,113,.10));
}
.teacher-mockup-search{
 height:51px;
 max-width:650px;
 display:grid;
 grid-template-columns:35px minmax(0,1fr) 92px;
 align-items:center;
 padding:4px;
 border:1px solid #d6e1ef;
 border-radius:12px;
 background:#fff;
 box-shadow:0 3px 11px rgba(14,49,91,.04);
}
.teacher-mockup-search svg{
 width:20px;
 height:20px;
 margin-left:9px;
 fill:none;
 stroke:#48617f;
 stroke-width:1.8;
 stroke-linecap:round;
}
.teacher-mockup-search input{
 width:100%;
 height:100%;
 border:0;
 outline:0;
 color:#253f61;
 font-size:13px;
 padding:0 8px;
 background:transparent;
}
.teacher-mockup-search input::placeholder{color:#738198}
.teacher-mockup-search button{
 height:41px;
 border:0;
 border-radius:9px;
 background:#1768db;
 color:#fff;
 font-size:13px;
 font-weight:800;
 cursor:pointer;
 box-shadow:0 5px 12px rgba(23,104,219,.20);
}
.teacher-mockup-search button:hover{background:#1059c1}
.teacher-mockup-actions{
 display:flex;
 align-items:center;
 gap:10px;
 flex-wrap:wrap;
 margin-top:14px;
}
.teacher-mockup-actions a,
.teacher-mockup-actions button{
 min-height:40px;
 padding:0 17px;
 border:1px solid #d5e1f1;
 border-radius:999px;
 background:#f4f7ff;
 color:#1555b8;
 display:flex;
 align-items:center;
 gap:8px;
 font-size:12px;
 cursor:pointer;
}
.teacher-mockup-actions strong{font-weight:750}
.teacher-mockup-actions .green{
 background:#effaf3;
 border-color:#d0e9da;
 color:#24825a;
}
.teacher-mockup-actions .purple{
 background:#f4f0ff;
 border-color:#ddd4f5;
 color:#7550ce;
}

/* common cards */
.teacher-mockup-section,
.teacher-mockup-side-card{
 background:#fff;
 border:1px solid #e0e7f1;
 border-radius:14px;
 box-shadow:0 4px 15px rgba(16,52,94,.035);
}
.teacher-mockup-section{padding:16px 18px}
.teacher-mockup-side-card{padding:16px}
.teacher-mockup-section-head,
.teacher-mockup-side-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:12px;
 margin-bottom:13px;
}
.teacher-mockup-section-head h2,
.teacher-mockup-side-head h2{
 margin:0;
 color:#113665;
 font-size:16px;
 line-height:1.25;
}
.teacher-mockup-section-head p{
 margin:4px 0 0;
 color:#7c8999;
 font-size:11px;
}
.teacher-mockup-section-head>a,
.teacher-mockup-side-head>a{
 color:#1463d1;
 font-size:11px;
 font-weight:800;
 white-space:nowrap;
}
.teacher-mockup-heading-with-note>div{display:grid}

/* continue reading */
.teacher-mockup-reading-row{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
}
.teacher-mockup-reading-card{
 min-height:187px;
 border:1px solid #e0e7f1;
 border-radius:11px;
 padding:10px;
 display:grid;
 grid-template-columns:76px minmax(0,1fr);
 grid-template-rows:minmax(118px,1fr) 37px;
 gap:9px 10px;
 background:#fff;
 transition:transform .18s,border-color .18s,box-shadow .18s;
}
.teacher-mockup-reading-card:hover{
 transform:translateY(-2px);
 border-color:#bdd2ef;
 box-shadow:0 8px 20px rgba(20,59,108,.08);
}
.teacher-mockup-reading-cover{
 width:74px;
 height:108px;
 border-radius:6px;
 background:#eaf2ff;
 display:grid;
 place-items:center;
 overflow:hidden;
}
.teacher-mockup-cover-image{
 width:100%;
 height:100%;
 object-fit:contain;
 background:#fff;
}
.teacher-mockup-reading-cover>span{
 color:#2464c6;
 font-size:18px;
 font-weight:900;
}
.teacher-mockup-reading-info{
 min-width:0;
 display:flex;
 flex-direction:column;
 padding-top:2px;
}
.teacher-mockup-reading-info h3{
 margin:0;
 color:#163a68;
 font-size:13px;
 line-height:1.35;
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 overflow:hidden;
}
.teacher-mockup-reading-info p{
 margin:6px 0 0;
 color:#64748a;
 font-size:10px;
}
.teacher-mockup-reading-info small{
 margin-top:auto;
 color:#768499;
 font-size:10px;
}
.teacher-mockup-progress{
 display:grid;
 grid-template-columns:minmax(0,1fr) 30px;
 align-items:center;
 gap:6px;
 margin-top:8px;
}
.teacher-mockup-progress:before{
 content:"";
 grid-column:1;
 grid-row:1;
 height:5px;
 background:#e7ecf3;
 border-radius:999px;
}
.teacher-mockup-progress i{
 grid-column:1;
 grid-row:1;
 height:5px;
 background:#2772e0;
 border-radius:999px;
 z-index:1;
}
.teacher-mockup-progress b{
 font-size:10px;
 color:#52657e;
}
.teacher-mockup-continue{
 grid-column:1/-1;
 min-height:37px;
 border-radius:8px;
 background:#f1f5ff;
 color:#1761c8;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 font-size:11px;
 font-weight:750;
}
.teacher-mockup-empty{
 min-height:110px;
 padding:16px;
 border:1px dashed #cfdaea;
 border-radius:11px;
 background:#f8fafd;
 display:grid;
 grid-template-columns:48px minmax(0,1fr) auto;
 gap:14px;
 align-items:center;
}
.teacher-mockup-empty>span{
 width:45px;height:45px;border-radius:12px;background:#eaf2ff;display:grid;place-items:center;font-size:21px
}
.teacher-mockup-empty strong{font-size:13px;color:#173a68}
.teacher-mockup-empty p{font-size:11px;color:#718096;margin:3px 0 0}
.teacher-mockup-empty>a{font-size:11px;font-weight:800;color:#1765cf}

/* categories */
.teacher-mockup-category-row{
 display:grid;
 grid-template-columns:repeat(8,minmax(0,1fr));
 gap:9px;
}
.teacher-mockup-category-row a{
 min-height:91px;
 padding:9px 5px;
 border:1px solid #e2e8f1;
 border-radius:10px;
 background:#fbfcfe;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
 color:inherit;
 transition:.18s;
}
.teacher-mockup-category-row a:hover{
 transform:translateY(-2px);
 border-color:#c5d8f1;
 background:#f2f6ff;
}
.teacher-mockup-category-row span{font-size:24px}
.teacher-mockup-category-row strong{
 margin-top:5px;
 color:#24476d;
 font-size:10px;
 line-height:1.2;
}
.teacher-mockup-category-row small{
 margin-top:4px;
 color:#7b8798;
 font-size:9px;
}

/* recommendations */
.teacher-mockup-recommendations{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.teacher-mockup-recommendation{
 min-height:172px;
 padding:9px;
 border:1px solid #e1e8f1;
 border-radius:10px;
 display:grid;
 grid-template-columns:76px minmax(0,1fr);
 gap:9px;
}
.teacher-mockup-recommend-cover{
 width:74px;height:113px;border-radius:6px;background:#eaf2ff;display:grid;place-items:center;overflow:hidden
}
.teacher-mockup-recommend-image{
 width:100%;height:100%;object-fit:contain;background:#fff
}
.teacher-mockup-recommend-cover>span{font-size:17px;font-weight:900;color:#2766c3}
.teacher-mockup-recommendation>div{min-width:0;display:flex;flex-direction:column}
.teacher-mockup-recommendation h3{
 margin:0;color:#163a68;font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.teacher-mockup-recommendation small{font-size:9px;color:#526c91;margin-top:5px}
.teacher-mockup-recommendation p{
 margin:7px 0 0;color:#69788d;font-size:9px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.teacher-mockup-recommendation em{
 margin-top:auto;color:#c18a15;font-size:8px;font-style:normal
}

/* recently added */
.teacher-mockup-recent-row{
 display:grid;
 grid-template-columns:repeat(6,minmax(0,1fr));
 gap:10px;
}
.teacher-mockup-recent-row>a{
 position:relative;
 min-height:168px;
 padding:9px;
 border:1px solid #e1e8f1;
 border-radius:10px;
 color:inherit;
 display:flex;
 flex-direction:column;
}
.teacher-mockup-recent-cover{
 width:100%;
 height:103px;
 border-radius:7px;
 background:#eaf2ff;
 display:grid;
 place-items:center;
 overflow:hidden;
 color:#2667c5;
 font-weight:900;
}
.teacher-mockup-recent-image{width:100%;height:100%;object-fit:contain;background:#fff}
.teacher-mockup-recent-row strong{
 margin-top:8px;color:#193d69;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.teacher-mockup-recent-row small{margin-top:3px;color:#738096;font-size:9px}
.teacher-mockup-new{
 position:absolute;right:7px;top:7px;z-index:2;padding:3px 7px;border-radius:999px;background:#24ad70;color:#fff;font-size:8px;font-weight:850
}

/* topics below fold */
.teacher-mockup-topic-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.teacher-mockup-topic-grid a{
 min-height:64px;
 padding:10px;
 border:1px solid #e1e8f1;
 border-radius:10px;
 background:#fbfcfe;
 display:grid;
 grid-template-columns:34px minmax(0,1fr);
 grid-template-rows:auto auto;
 column-gap:9px;
 align-items:center;
 color:inherit;
}
.teacher-mockup-topic-grid a>span{
 grid-row:1/3;width:34px;height:34px;border-radius:9px;background:#edf4ff;color:#2766c6;display:grid;place-items:center;font-size:16px
}
.teacher-mockup-topic-grid strong{font-size:12px;color:#1e426d}
.teacher-mockup-topic-grid small{font-size:9px;color:#77859a}
.teacher-mockup-topic-grid.values a>span{background:#fff5df;color:#b97b0c}

/* right column */
.teacher-mockup-side-head{margin-bottom:8px}
.teacher-mockup-notifications>a:not(.teacher-mockup-side-footer){
 min-height:61px;
 padding:9px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:32px minmax(0,1fr) auto;
 gap:9px;
 align-items:center;
 color:inherit;
}
.teacher-mockup-notifications>a>span{
 width:30px;height:30px;border-radius:9px;background:#fff4df;color:#c68010;display:grid;place-items:center;font-size:12px
}
.teacher-mockup-notifications>a>div{min-width:0}
.teacher-mockup-notifications strong{
 display:block;color:#183d69;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.teacher-mockup-notifications small{
 display:block;margin-top:3px;color:#6f7e91;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.teacher-mockup-notifications time{font-size:8px;color:#8995a5;white-space:nowrap}
.teacher-mockup-side-footer{
 display:flex!important;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-height:37px!important;
 border-bottom:0!important;
 color:#1765d1!important;
 font-size:10px!important;
 font-weight:800;
}
.teacher-mockup-side-empty{padding:23px;text-align:center;color:#78869a;font-size:11px}

.teacher-mockup-assistant{
 border-radius:14px;
 background:linear-gradient(135deg,#315fe4,#7854e9);
 box-shadow:0 9px 23px rgba(68,73,201,.20);
 overflow:hidden;
 color:#fff;
}
.teacher-mockup-assistant-head{
 padding:17px 16px 12px;
 display:flex;justify-content:space-between;align-items:flex-start
}
.teacher-mockup-assistant-head h2{margin:0;font-size:17px;color:#fff}
.teacher-mockup-assistant-head p{margin:4px 0 0;font-size:11px;color:rgba(255,255,255,.85)}
.teacher-mockup-assistant-head>span{font-size:16px}
.teacher-mockup-assistant-prompts{
 display:grid;gap:7px;padding:0 13px 12px
}
.teacher-mockup-assistant-prompts button{
 min-height:38px;
 padding:0 10px;
 border:1px solid rgba(255,255,255,.55);
 border-radius:9px;
 background:#fff;
 color:#2459bf;
 display:flex;align-items:center;gap:8px;
 text-align:left;
 font-size:10px;
 cursor:pointer;
 box-shadow:0 3px 8px rgba(35,46,124,.12);
}
.teacher-mockup-assistant-prompts button>span{
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.teacher-mockup-assistant-input{
 width:calc(100% - 26px);
 min-height:42px;
 margin:0 13px 13px;
 padding:0 7px 0 11px;
 border:1px solid rgba(255,255,255,.5);
 border-radius:10px;
 background:rgba(255,255,255,.98);
 color:#7b8798;
 display:flex;align-items:center;justify-content:space-between;
 font-size:10px;
 cursor:pointer;
}
.teacher-mockup-assistant-input span{
 width:30px;height:30px;border-radius:50%;background:#7650e8;color:#fff;display:grid;place-items:center;font-size:13px
}

.teacher-mockup-popular>a{
 min-height:54px;
 padding:7px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:24px 31px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 color:inherit;
}
.teacher-mockup-popular>a:last-child{border-bottom:0}
.teacher-mockup-popular>a>b{
 width:23px;height:23px;border-radius:50%;background:#eaf2ff;color:#1e62ca;display:grid;place-items:center;font-size:10px
}
.teacher-mockup-popular-cover{
 width:29px;height:40px;border-radius:4px;background:#eaf2ff;display:grid;place-items:center;overflow:hidden;color:#2766c5;font-size:7px;font-weight:900
}
.teacher-mockup-popular-image{width:100%;height:100%;object-fit:contain;background:#fff}
.teacher-mockup-popular>a>div{min-width:0}
.teacher-mockup-popular strong{
 display:block;color:#183d69;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.teacher-mockup-popular small{display:block;color:#718096;font-size:8px;margin-top:2px}
.teacher-mockup-popular em{color:#526a88;font-size:8px;font-style:normal;white-space:nowrap}

.teacher-mockup-saved>a:not(.teacher-mockup-side-head){
 display:grid;
 grid-template-columns:31px minmax(0,1fr);
 gap:9px;
 align-items:center;
 padding:9px 0;
 border-bottom:1px solid #edf1f6;
 color:inherit;
}
.teacher-mockup-saved>a>span{
 width:29px;height:29px;border-radius:9px;background:#fff1f5;color:#e24a7d;display:grid;place-items:center
}
.teacher-mockup-saved strong{display:block;color:#183d69;font-size:10px}
.teacher-mockup-saved small{display:block;color:#748196;font-size:8px;margin-top:2px}

/* accessible motion */
.teacher-mockup-hero,
.teacher-mockup-section,
.teacher-mockup-side-card,
.teacher-mockup-assistant{
 animation:teacherMockupEnter .42s ease both;
}
.teacher-mockup-main>*:nth-child(2){animation-delay:.04s}
.teacher-mockup-main>*:nth-child(3){animation-delay:.08s}
.teacher-mockup-main>*:nth-child(4){animation-delay:.12s}
.teacher-mockup-aside>*:nth-child(2){animation-delay:.07s}
@keyframes teacherMockupEnter{
 from{opacity:0;transform:translateY(8px)}
 to{opacity:1;transform:none}
}

/* tablet */
@media(max-width:1250px){
 .teacher-mockup-dashboard{grid-template-columns:minmax(0,1fr) 310px}
 .teacher-mockup-hero{grid-template-columns:minmax(0,1fr) 210px}
 .teacher-mockup-hero-image img{width:215px}
 .teacher-mockup-reading-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-mockup-category-row{grid-template-columns:repeat(4,minmax(0,1fr))}
 .teacher-mockup-recommendations{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-mockup-recent-row{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .teacher-dashboard-page .layout{grid-template-columns:1fr}
 .teacher-mockup-dashboard{grid-template-columns:1fr}
 .teacher-mockup-aside{position:static;grid-template-columns:1fr 1fr}
 .teacher-mockup-popular{grid-column:1/-1}
}
@media(max-width:760px){
 .teacher-dashboard-page .content{padding:11px}
 .teacher-mockup-hero{grid-template-columns:1fr;padding:20px;min-height:0}
 .teacher-mockup-hero-image{display:none}
 .teacher-mockup-hero h1{font-size:26px}
 .teacher-mockup-hero p{font-size:13px}
 .teacher-mockup-search{max-width:none}
 .teacher-mockup-aside{grid-template-columns:1fr}
 .teacher-mockup-popular{grid-column:auto}
 .teacher-mockup-section{padding:14px}
 .teacher-mockup-reading-row{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:5px;
 }
 .teacher-mockup-reading-card{flex:0 0 285px;scroll-snap-align:start}
 .teacher-mockup-category-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-mockup-recommendations{grid-template-columns:1fr}
 .teacher-mockup-recent-row{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
 }
 .teacher-mockup-recent-row>a{flex:0 0 155px;scroll-snap-align:start}
 .teacher-mockup-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .teacher-mockup-hero{padding:17px 14px}
 .teacher-mockup-hero h1{font-size:23px}
 .teacher-mockup-hero p br{display:none}
 .teacher-mockup-search{grid-template-columns:31px minmax(0,1fr) 73px;height:47px}
 .teacher-mockup-search input{font-size:11px}
 .teacher-mockup-search button{font-size:11px}
 .teacher-mockup-actions{display:grid;grid-template-columns:1fr}
 .teacher-mockup-actions a,.teacher-mockup-actions button{justify-content:center}
 .teacher-mockup-reading-card{flex-basis:270px}
 .teacher-mockup-section-head h2,.teacher-mockup-side-head h2{font-size:15px}
 .teacher-mockup-topic-grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
 .teacher-mockup-hero,
 .teacher-mockup-section,
 .teacher-mockup-side-card,
 .teacher-mockup-assistant{animation:none}
}

.teacher-global-search{max-width:680px}
.teacher-global-search input{padding-right:100px}
.teacher-header-filter{
 position:absolute;
 right:5px;
 top:5px;
 height:36px;
 padding:0 13px;
 border-radius:9px;
 background:#f3f6fb;
 color:#254566;
 display:flex;
 align-items:center;
 gap:6px;
 font-size:11px;
 font-weight:750;
}
.teacher-header-filter:hover{background:#eaf2ff;color:#1765ce}
.teacher-mockup-topic-empty{
 grid-column:1/-1;
 min-height:74px;
 border:1px dashed #cfdaea;
 border-radius:10px;
 background:#f8fafd;
 display:grid;
 place-items:center;
 padding:14px;
 color:#758398;
 font-size:11px;
}
@media(max-width:700px){
 .teacher-header-filter span{display:none}
 .teacher-header-filter{width:36px;padding:0;justify-content:center}
 .teacher-global-search input{padding-right:48px}
}


/* V8.0.2 clean standalone teacher artwork and mockup category icons */
.teacher-mockup-hero{
 grid-template-columns:minmax(0,1.6fr) minmax(260px,.72fr);
 padding-right:18px;
}
.teacher-mockup-hero-image{
 align-self:stretch;
 min-height:210px;
 display:flex;
 align-items:center;
 justify-content:center;
 overflow:visible;
}
.teacher-mockup-hero-image img{
 width:100%;
 max-width:330px;
 height:auto;
 max-height:240px;
 object-fit:contain;
 object-position:center;
 background:transparent;
 border:0;
 box-shadow:none;
 filter:drop-shadow(0 12px 20px rgba(28,62,112,.10));
}
.teacher-sidebar-quote img{
 width:100%;
 height:auto;
 max-height:170px;
 object-fit:contain;
 object-position:center;
 margin:0 0 5px;
 background:transparent;
}
.teacher-mockup-category-row a{
 position:relative;
 overflow:hidden;
}
.teacher-category-icon{
 width:36px;
 height:36px;
 border-radius:10px;
 display:grid;
 place-items:center;
 background:#eef4ff;
 color:#1767d2;
}
.teacher-category-icon svg{
 width:25px;
 height:25px;
 fill:none;
 stroke:currentColor;
 stroke-width:2.1;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.teacher-mockup-category-row .category-tone-1 .teacher-category-icon{background:#eaf8f0;color:#249c68}
.teacher-mockup-category-row .category-tone-2 .teacher-category-icon{background:#eaf8f0;color:#249c68}
.teacher-mockup-category-row .category-tone-3 .teacher-category-icon{background:#fff5df;color:#e59b14}
.teacher-mockup-category-row .category-tone-4 .teacher-category-icon{background:#fff0f4;color:#e64b77}
.teacher-mockup-category-row .category-tone-5 .teacher-category-icon{background:#fff5df;color:#c98210}
.teacher-mockup-category-row .category-tone-6 .teacher-category-icon{background:#e9f7fb;color:#2697b4}
.teacher-mockup-category-row .category-tone-7 .teacher-category-icon{background:#fff0ec;color:#ed5b2d}
.teacher-mockup-category-row strong{
 max-width:100%;
 min-height:24px;
 display:flex;
 align-items:center;
 justify-content:center;
}
@media(max-width:1250px){
 .teacher-mockup-hero{grid-template-columns:minmax(0,1fr) 240px}
 .teacher-mockup-hero-image img{max-width:270px}
}
@media(max-width:760px){
 .teacher-mockup-hero-image{display:none}
}


/* V8.0.3 teacher dashboard balance and spacing correction */
.teacher-mockup-hero{
 min-height:220px;
 grid-template-columns:minmax(0,1.72fr) 215px;
 padding:22px 24px;
}
.teacher-mockup-hero-image{
 min-height:170px;
 align-self:center;
}
.teacher-mockup-hero-image img{
 width:215px;
 max-width:100%;
 max-height:175px;
}
.teacher-mockup-dashboard{
 gap:14px;
}
.teacher-mockup-main{
 gap:12px;
}
.teacher-mockup-aside{
 gap:12px;
}
.teacher-mockup-section{
 padding:14px 16px;
}
.teacher-mockup-reading-row{
 grid-template-columns:repeat(4,minmax(210px,1fr));
 align-items:start;
}
.teacher-mockup-reading-card{
 min-height:176px;
 grid-template-columns:70px minmax(0,1fr);
 grid-template-rows:minmax(108px,1fr) 35px;
 padding:9px;
}
.teacher-mockup-reading-cover{
 width:68px;
 height:102px;
}
.teacher-mockup-reading-info h3{
 font-size:12px;
}
.teacher-mockup-reading-info p,
.teacher-mockup-reading-info small{
 font-size:9px;
}
.teacher-mockup-category-row{
 min-height:92px;
}
.teacher-mockup-category-row a{
 min-height:88px;
}
.teacher-mockup-section:has(.teacher-mockup-category-row:empty){
 display:none;
}
.teacher-mockup-section-head{
 margin-bottom:10px;
}
@media(max-width:1250px){
 .teacher-mockup-hero{
  grid-template-columns:minmax(0,1fr) 190px;
 }
 .teacher-mockup-hero-image img{
  width:190px;
  max-height:160px;
 }
}
@media(max-width:760px){
 .teacher-mockup-reading-row{
  display:flex;
  overflow-x:auto;
  gap:10px;
 }
 .teacher-mockup-reading-card{
  flex:0 0 270px;
 }
}


/* V8.0.4 exact approved-mockup PNG assets */
.teacher-mockup-hero{
 grid-template-columns:minmax(0,1.72fr) 235px;
}
.teacher-mockup-hero-image{
 min-height:185px;
 display:flex;
 align-items:center;
 justify-content:center;
 overflow:hidden;
}
.teacher-mockup-hero-image img{
 width:230px;
 height:182px;
 max-width:100%;
 max-height:none;
 object-fit:cover;
 object-position:center;
 border-radius:0;
 background:transparent;
 box-shadow:none;
 filter:none;
}
.teacher-sidebar-quote{
 padding-top:0;
}
.teacher-sidebar-quote img{
 width:100%;
 height:178px;
 max-height:none;
 object-fit:cover;
 object-position:center top;
 border-radius:15px 15px 0 0;
 margin:0 0 8px;
 background:#fff;
}
.teacher-category-icon{
 width:42px;
 height:42px;
 overflow:hidden;
 background:transparent!important;
 border-radius:10px;
}
.teacher-category-icon img{
 width:100%;
 height:100%;
 object-fit:cover;
 display:block;
}
@media(max-width:1250px){
 .teacher-mockup-hero{
  grid-template-columns:minmax(0,1fr) 205px;
 }
 .teacher-mockup-hero-image img{
  width:200px;
  height:158px;
 }
}
@media(max-width:760px){
 .teacher-mockup-hero-image{display:none}
}


/* V8.0.5 approved final teacher dashboard assets */
.teacher-mockup-hero{
 grid-template-columns:minmax(0,1.72fr) 250px;
 min-height:228px;
}
.teacher-mockup-hero-image{
 min-height:185px;
 display:flex;
 align-items:center;
 justify-content:center;
 overflow:visible;
}
.teacher-mockup-hero-image img{
 width:245px;
 height:auto;
 max-height:190px;
 object-fit:contain;
 object-position:center;
 background:transparent;
 border:0;
 border-radius:0;
 box-shadow:none;
 filter:drop-shadow(0 10px 16px rgba(25,59,108,.10));
}
.teacher-sidebar-quote img{
 width:100%;
 height:auto;
 max-height:180px;
 object-fit:contain;
 object-position:center;
 margin:0 0 6px;
 background:transparent;
 border-radius:14px 14px 0 0;
}
.teacher-category-icon{
 width:44px;
 height:44px;
 border-radius:12px;
 overflow:hidden;
 background:transparent!important;
 display:grid;
 place-items:center;
}
.teacher-category-icon img{
 width:100%;
 height:100%;
 object-fit:contain;
 display:block;
}
.teacher-mockup-category-row a{
 min-height:96px;
 padding:10px 6px;
}
.teacher-mockup-category-row strong{
 font-size:10.5px;
}
.teacher-mockup-category-row small{
 font-size:9px;
}
@media(max-width:1250px){
 .teacher-mockup-hero{grid-template-columns:minmax(0,1fr) 215px}
 .teacher-mockup-hero-image img{width:210px;max-height:170px}
}
@media(max-width:760px){
 .teacher-mockup-hero-image{display:none}
}


/* V8.0.6 teacher navigation cleanup and dedicated catalogue pages */
.teacher-portal-page .layout{
 grid-template-columns:218px minmax(0,1fr);
}
.teacher-portal-page .sidebar{
 padding:8px 7px 10px;
}
.teacher-primary-nav{
 gap:1px;
 padding-bottom:6px;
}
.teacher-primary-nav .nav-item{
 min-height:40px;
 margin:1px 5px;
 padding:7px 9px;
 gap:10px;
 border-radius:9px;
 font-size:12px;
 line-height:1.15;
}
.teacher-primary-nav .nav-icon{
 width:21px;
 height:21px;
 flex-basis:21px;
}
.teacher-primary-nav .nav-icon svg{
 width:18px;
 height:18px;
}
.teacher-nav-badge{
 min-width:18px;
 height:18px;
 padding:0 5px;
 font-size:9px;
}
.teacher-sidebar-quote{
 margin:8px 7px 2px;
 padding:0 7px 10px;
 border-radius:13px;
}
.teacher-sidebar-quote img{
 max-height:105px;
 margin-bottom:2px;
}
.teacher-sidebar-quote strong{
 font-size:11px;
 line-height:1.3;
}
.teacher-sidebar-quote small{
 font-size:9px;
 margin-top:4px;
}
.teacher-portal-page .main-shell{
 min-width:0;
}
.teacher-portal-page .content{
 padding-top:14px;
}

/* Dedicated teacher catalogue */
.teacher-catalogue-page{
 background:#f7f9fd;
}
.teacher-catalogue-head{
 min-height:120px;
 padding:22px 24px;
 border:1px solid #e0e7f1;
 border-radius:15px;
 background:linear-gradient(120deg,#fff,#f3f6ff);
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:18px;
 margin-bottom:12px;
}
.teacher-catalogue-head .eyebrow{
 display:block;
 color:#2b69c8;
 font-size:10px;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.7px;
 margin-bottom:6px;
}
.teacher-catalogue-head h1{
 margin:0;
 color:#123968;
 font-size:28px;
 letter-spacing:-.4px;
}
.teacher-catalogue-head p{
 margin:6px 0 0;
 color:#66768c;
 font-size:12px;
}
.teacher-catalogue-search{
 height:48px;
 padding:4px;
 border:1px solid #dae3ef;
 border-radius:11px;
 background:#fff;
 display:grid;
 grid-template-columns:35px minmax(0,1fr) auto;
 align-items:center;
 margin-bottom:14px;
}
.teacher-catalogue-search>span{
 text-align:center;
 color:#56708f;
 font-size:17px;
}
.teacher-catalogue-search input{
 height:100%;
 border:0;
 outline:0;
 font-size:12px;
 color:#2c4565;
}
.teacher-catalogue-search .btn{
 height:38px;
}
.teacher-catalogue-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
}
.teacher-catalogue-card{
 min-height:132px;
 padding:15px;
 border:1px solid #e0e7f1;
 border-radius:12px;
 background:#fff;
 display:grid;
 grid-template-columns:42px minmax(0,1fr);
 grid-template-rows:auto auto;
 gap:10px;
 color:inherit;
 box-shadow:0 3px 13px rgba(16,53,96,.035);
 transition:.18s;
}
.teacher-catalogue-card:hover{
 transform:translateY(-2px);
 border-color:#bdd2ef;
 box-shadow:0 9px 22px rgba(17,57,104,.08);
}
.teacher-catalogue-icon{
 width:42px;
 height:42px;
 border-radius:11px;
 background:#eaf2ff;
 color:#2164ca;
 display:grid;
 place-items:center;
 font-size:17px;
 grid-row:1/3;
}
.teacher-catalogue-card.tone-1 .teacher-catalogue-icon{background:#eaf8f0;color:#249e69}
.teacher-catalogue-card.tone-2 .teacher-catalogue-icon{background:#fff4df;color:#d78e11}
.teacher-catalogue-card.tone-3 .teacher-catalogue-icon{background:#f3edff;color:#7f58d3}
.teacher-catalogue-card.tone-4 .teacher-catalogue-icon{background:#fff0f4;color:#e24b79}
.teacher-catalogue-card h2{
 margin:0;
 color:#173d6b;
 font-size:14px;
 line-height:1.25;
}
.teacher-catalogue-card p{
 margin:5px 0 0;
 color:#718096;
 font-size:10px;
 line-height:1.4;
}
.teacher-catalogue-card small{
 display:block;
 margin-top:6px;
 color:#65778f;
 font-size:10px;
}
.teacher-catalogue-card>b{
 grid-column:2;
 color:#1765ce;
 font-size:10px;
}
.teacher-catalogue-empty{
 grid-column:1/-1;
 min-height:250px;
 border:1px dashed #ccd8e8;
 border-radius:13px;
 background:#fff;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
 padding:25px;
}
.teacher-catalogue-empty>span{
 width:48px;
 height:48px;
 border-radius:50%;
 background:#edf3fb;
 color:#536f91;
 display:grid;
 place-items:center;
 font-size:20px;
}
.teacher-catalogue-empty h2{
 margin:11px 0 4px;
 color:#173b69;
 font-size:16px;
}
.teacher-catalogue-empty p{
 margin:0 0 12px;
 color:#718096;
 font-size:11px;
}

@media(max-height:760px) and (min-width:981px){
 .teacher-sidebar-quote{
  display:none;
 }
}
@media(max-width:1100px){
 .teacher-catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .teacher-portal-page .layout{grid-template-columns:1fr}
}
@media(max-width:760px){
 .teacher-catalogue-head{
  align-items:flex-start;
  flex-direction:column;
  padding:18px;
 }
 .teacher-catalogue-head h1{font-size:24px}
 .teacher-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .teacher-catalogue-search{
  grid-template-columns:31px minmax(0,1fr);
  height:auto;
 }
 .teacher-catalogue-search .btn{
  grid-column:1/-1;
  width:100%;
  margin-top:5px;
 }
 .teacher-catalogue-grid{grid-template-columns:1fr}
}


/* V8.0.8 teacher dashboard category hub */
.teacher-category-hub{
 padding:15px 17px 17px;
 min-height:0;
 overflow:hidden;
}
.teacher-category-hub .teacher-mockup-section-head{
 margin-bottom:12px;
}
.teacher-mockup-category-row{
 display:grid;
 grid-template-columns:repeat(8,minmax(0,1fr));
 gap:9px;
 min-height:0;
}
.teacher-category-card{
 min-height:112px;
 padding:11px 7px 9px;
 border:1px solid #e1e8f1;
 border-radius:11px;
 background:linear-gradient(180deg,#fff,#f9fbfe);
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:flex-start;
 text-align:center;
 color:inherit;
 position:relative;
 overflow:hidden;
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.teacher-category-card:before{
 content:"";
 position:absolute;
 inset:0 0 auto;
 height:3px;
 background:#2b70de;
 opacity:.9;
}
.teacher-category-card:hover{
 transform:translateY(-3px);
 border-color:#bfd3ef;
 box-shadow:0 10px 22px rgba(19,57,103,.09);
 background:#f6f9ff;
}
.teacher-category-card .teacher-category-icon{
 width:42px;
 height:42px;
 margin-bottom:7px;
 transition:transform .18s ease;
}
.teacher-category-card:hover .teacher-category-icon{
 transform:scale(1.07);
}
.teacher-category-card strong{
 min-height:27px;
 margin:0;
 color:#183d6b;
 font-size:10px;
 line-height:1.25;
 display:flex;
 align-items:center;
 justify-content:center;
}
.teacher-category-card small{
 margin-top:4px;
 color:#748298;
 font-size:8.5px;
}
.teacher-category-card em{
 margin-top:auto;
 padding-top:6px;
 color:#1765ce;
 font-size:7.5px;
 font-style:normal;
 font-weight:800;
}
.teacher-category-card.is-empty{
 opacity:.78;
}
.teacher-category-card.is-empty em{
 color:#8995a5;
}
.teacher-category-new{
 position:absolute;
 right:5px;
 top:6px;
 padding:2px 5px;
 border-radius:999px;
 background:#24a86f;
 color:#fff;
 font-size:6.5px;
 font-weight:850;
 z-index:2;
}
.teacher-category-card.category-tone-1:before{background:#29a872}
.teacher-category-card.category-tone-2:before{background:#2f9c70}
.teacher-category-card.category-tone-3:before{background:#e7a31b}
.teacher-category-card.category-tone-4:before{background:#e7517e}
.teacher-category-card.category-tone-5:before{background:#ca8512}
.teacher-category-card.category-tone-6:before{background:#2699b8}
.teacher-category-card.category-tone-7:before{background:#eb5b30}

@keyframes teacherCategoryEnter{
 from{opacity:0;transform:translateY(8px)}
 to{opacity:1;transform:none}
}
.teacher-category-card{
 animation:teacherCategoryEnter .38s ease both;
}
.teacher-category-card:nth-child(2){animation-delay:.03s}
.teacher-category-card:nth-child(3){animation-delay:.06s}
.teacher-category-card:nth-child(4){animation-delay:.09s}
.teacher-category-card:nth-child(5){animation-delay:.12s}
.teacher-category-card:nth-child(6){animation-delay:.15s}
.teacher-category-card:nth-child(7){animation-delay:.18s}
.teacher-category-card:nth-child(8){animation-delay:.21s}

@media(max-width:1250px){
 .teacher-mockup-category-row{
  grid-template-columns:repeat(4,minmax(0,1fr));
 }
}
@media(max-width:760px){
 .teacher-mockup-category-row{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
 .teacher-category-card{
  min-height:106px;
 }
}
@media(max-width:420px){
 .teacher-category-hub{
  padding:13px;
 }
 .teacher-category-card strong{
  font-size:9.5px;
 }
}
@media(prefers-reduced-motion:reduce){
 .teacher-category-card{
  animation:none;
  transition:none;
 }
}


/* V8.0.9 category hub clarity refinement */
.teacher-category-hub{
 padding:18px 18px 20px;
}
.teacher-category-hub .teacher-mockup-section-head{
 margin-bottom:15px;
}
.teacher-category-hub .teacher-mockup-section-head h2{
 font-size:17px;
}
.teacher-category-hub .teacher-mockup-section-head p{
 font-size:11px;
 line-height:1.45;
}
.teacher-mockup-category-row{
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:12px;
}
.teacher-category-card{
 min-height:132px;
 padding:15px 12px 12px;
 align-items:flex-start;
 text-align:left;
 border-radius:12px;
}
.teacher-category-card:before{
 height:4px;
}
.teacher-category-card .teacher-category-icon{
 width:48px;
 height:48px;
 margin:0 0 10px;
}
.teacher-category-card strong{
 min-height:0;
 justify-content:flex-start;
 text-align:left;
 font-size:12px;
 line-height:1.28;
}
.teacher-category-card small{
 margin-top:6px;
 font-size:10px;
}
.teacher-category-card em{
 width:100%;
 margin-top:10px;
 padding-top:9px;
 border-top:1px solid #edf1f6;
 font-size:9px;
}
.teacher-category-new{
 right:9px;
 top:10px;
 padding:3px 7px;
 font-size:8px;
 line-height:1;
 box-shadow:0 3px 8px rgba(27,139,90,.18);
}
.teacher-category-card.is-empty{
 opacity:.88;
 background:linear-gradient(180deg,#fff,#fbfcfe);
}
.teacher-category-card.is-empty .teacher-category-icon{
 filter:grayscale(.15);
}
.teacher-category-card:hover{
 transform:translateY(-2px);
}
@media(min-width:1450px){
 .teacher-mockup-category-row{
  grid-template-columns:repeat(4,minmax(0,1fr));
 }
}
@media(max-width:1050px){
 .teacher-mockup-category-row{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
@media(max-width:560px){
 .teacher-category-hub{
  padding:14px;
 }
 .teacher-mockup-category-row{
  grid-template-columns:1fr;
 }
 .teacher-category-card{
  min-height:112px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  grid-template-rows:auto auto auto;
  column-gap:11px;
  align-items:center;
 }
 .teacher-category-card .teacher-category-icon{
  grid-row:1/4;
  margin:0;
 }
 .teacher-category-card strong,
 .teacher-category-card small,
 .teacher-category-card em{
  grid-column:2;
 }
 .teacher-category-card em{
  margin-top:5px;
 }
}


/* V8.1.0 approved category mockup implementation */
.teacher-category-hub{
 padding:18px;
 min-height:0;
}
.teacher-category-hub .teacher-mockup-section-head{
 margin-bottom:16px;
}
.category-mockup-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:14px;
}
.category-mockup-grid .teacher-category-card{
 min-height:286px;
 padding:18px 16px 14px;
 border:1px solid #dce5f1;
 border-radius:14px;
 background:#fff;
 display:flex;
 flex-direction:column;
 align-items:center;
 text-align:center;
 position:relative;
 overflow:hidden;
 box-shadow:0 4px 14px rgba(22,55,96,.035);
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.category-mockup-grid .teacher-category-card:before{
 content:"";
 position:absolute;
 left:0;
 right:0;
 top:0;
 height:4px;
 background:#2f70da;
}
.category-mockup-grid .teacher-category-card:hover{
 transform:translateY(-3px);
 border-color:#bdd0eb;
 box-shadow:0 12px 26px rgba(22,55,96,.09);
}
.category-mockup-grid .teacher-category-icon{
 width:86px;
 height:86px;
 margin:5px auto 10px;
 border:0;
 border-radius:0;
 background:transparent!important;
 display:grid;
 place-items:center;
 overflow:visible;
}
.category-mockup-grid .teacher-category-icon img{
 width:100%;
 height:100%;
 object-fit:contain;
 display:block;
}
.category-mockup-grid .teacher-category-card h3{
 margin:0;
 min-height:34px;
 color:#173b68;
 font-size:14px;
 line-height:1.28;
 display:flex;
 align-items:center;
 justify-content:center;
}
.category-mockup-grid .teacher-category-card p{
 min-height:42px;
 margin:6px 0 8px;
 color:#66778d;
 font-size:10px;
 line-height:1.45;
}
.teacher-category-count{
 display:flex;
 align-items:baseline;
 justify-content:center;
 gap:4px;
 margin-top:auto;
}
.teacher-category-count strong{
 color:#2366ce;
 font-size:20px;
 line-height:1;
}
.teacher-category-count span{
 color:#69798e;
 font-size:10px;
}
.teacher-category-meter{
 width:100%;
 height:6px;
 margin:11px 0 8px;
 border-radius:999px;
 background:#e8edf4;
 overflow:hidden;
}
.teacher-category-meter i{
 display:block;
 height:100%;
 border-radius:999px;
 background:linear-gradient(90deg,#236ad8,#76a8ef);
 transition:width .6s ease;
}
.teacher-category-status{
 align-self:flex-start;
 display:flex;
 align-items:center;
 gap:5px;
 min-height:18px;
 font-size:9px;
 font-weight:750;
 color:#66778d;
}
.teacher-category-status b{
 width:6px;
 height:6px;
 border-radius:50%;
 background:#9aa7b7;
}
.teacher-category-status.active{
 color:#23915f;
}
.teacher-category-status.active b{
 background:#2ab477;
}
.teacher-category-status.updated{
 color:#d58908;
}
.teacher-category-status.updated b{
 background:#f0aa1f;
}
.teacher-category-status.coming{
 color:#7c8797;
}
.teacher-category-action{
 width:100%;
 min-height:36px;
 margin-top:11px;
 border-radius:9px;
 display:flex;
 align-items:center;
 justify-content:center;
 font-size:10px;
 font-weight:800;
 transition:.18s;
}
.teacher-category-action.browse{
 background:#f0f5ff;
 color:#1765cf;
}
.teacher-category-action.browse:hover{
 background:#1765cf;
 color:#fff;
}
.teacher-category-action.notify{
 background:#f5f6f8;
 color:#7b8798;
 cursor:default;
}
.teacher-category-new{
 position:absolute;
 top:10px;
 right:10px;
 padding:4px 8px;
 border-radius:999px;
 background:#38b675;
 color:#fff;
 font-size:7px;
 font-weight:900;
 letter-spacing:.4px;
 box-shadow:none;
}
.category-mockup-grid .category-tone-1:before{background:#31a775}
.category-mockup-grid .category-tone-1 .teacher-category-meter i{background:linear-gradient(90deg,#31a775,#85d0ac)}
.category-mockup-grid .category-tone-1 .teacher-category-action.browse{background:#edf9f2;color:#28855d}
.category-mockup-grid .category-tone-2:before{background:#27a1b4}
.category-mockup-grid .category-tone-2 .teacher-category-meter i{background:linear-gradient(90deg,#27a1b4,#7ac8d4)}
.category-mockup-grid .category-tone-2 .teacher-category-action.browse{background:#eaf8fb;color:#238da0}
.category-mockup-grid .category-tone-3:before{background:#e4a217}
.category-mockup-grid .category-tone-3 .teacher-category-meter i{background:linear-gradient(90deg,#e4a217,#f2cf70)}
.category-mockup-grid .category-tone-3 .teacher-category-action.browse{background:#fff7e6;color:#bd7b08}
.category-mockup-grid .category-tone-4:before{background:#e66b2c}
.category-mockup-grid .category-tone-4 .teacher-category-meter i{background:linear-gradient(90deg,#e66b2c,#f3a36d)}
.category-mockup-grid .category-tone-4 .teacher-category-action.browse{background:#fff2eb;color:#c95520}
.category-mockup-grid .category-tone-5:before{background:#7758d7}
.category-mockup-grid .category-tone-5 .teacher-category-meter i{background:linear-gradient(90deg,#7758d7,#b29bea)}
.category-mockup-grid .category-tone-5 .teacher-category-action.browse{background:#f3efff;color:#6e4bcf}
.category-mockup-grid .category-tone-6:before{background:#289fba}
.category-mockup-grid .category-tone-6 .teacher-category-meter i{background:linear-gradient(90deg,#289fba,#79ccdc)}
.category-mockup-grid .category-tone-6 .teacher-category-action.browse{background:#eaf9fc;color:#208aa2}
.category-mockup-grid .category-tone-7:before{background:#e54d43}
.category-mockup-grid .category-tone-7 .teacher-category-meter i{background:linear-gradient(90deg,#e54d43,#ef9088)}
.category-mockup-grid .category-tone-7 .teacher-category-action.browse{background:#fff0ee;color:#cf3e35}

@media(max-width:1250px){
 .category-mockup-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
@media(max-width:650px){
 .category-mockup-grid{
  grid-template-columns:1fr;
 }
 .category-mockup-grid .teacher-category-card{
  min-height:245px;
 }
}
@media(prefers-reduced-motion:reduce){
 .category-mockup-grid .teacher-category-card,
 .teacher-category-meter i,
 .teacher-category-action{
  transition:none;
 }
}


/* V8.1.1 Compact teacher category hub */
.teacher-category-hub{
 padding:14px 15px 16px;
}
.teacher-category-hub .teacher-mockup-section-head{
 margin-bottom:11px;
}
.teacher-category-hub .teacher-mockup-section-head h2{
 font-size:15px;
}
.teacher-category-hub .teacher-mockup-section-head p{
 font-size:9px;
 line-height:1.35;
}
.category-mockup-grid{
 gap:10px;
}
.category-mockup-grid .teacher-category-card{
 min-height:205px;
 padding:12px 11px 10px;
 border-radius:11px;
}
.category-mockup-grid .teacher-category-card:before{
 height:3px;
}
.category-mockup-grid .teacher-category-icon{
 width:58px;
 height:58px;
 margin:2px auto 7px;
}
.category-mockup-grid .teacher-category-card h3{
 min-height:28px;
 font-size:11px;
 line-height:1.22;
}
.category-mockup-grid .teacher-category-card p{
 min-height:29px;
 margin:4px 0 6px;
 font-size:8px;
 line-height:1.35;
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 overflow:hidden;
}
.teacher-category-count{
 gap:3px;
}
.teacher-category-count strong{
 font-size:15px;
}
.teacher-category-count span{
 font-size:8px;
}
.teacher-category-meter{
 height:4px;
 margin:8px 0 6px;
}
.teacher-category-status{
 min-height:14px;
 gap:4px;
 font-size:7.5px;
}
.teacher-category-status b{
 width:5px;
 height:5px;
}
.teacher-category-action{
 min-height:29px;
 margin-top:7px;
 border-radius:7px;
 font-size:8px;
}
.teacher-category-new{
 top:7px;
 right:7px;
 padding:3px 6px;
 font-size:6px;
}
@media(max-width:1250px){
 .category-mockup-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
 }
}
@media(max-width:980px){
 .category-mockup-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
@media(max-width:560px){
 .category-mockup-grid{
  grid-template-columns:1fr;
 }
 .category-mockup-grid .teacher-category-card{
  min-height:145px;
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  grid-template-rows:auto auto auto auto;
  column-gap:10px;
  align-items:center;
  text-align:left;
 }
 .category-mockup-grid .teacher-category-icon{
  grid-row:1/5;
  width:54px;
  height:54px;
  margin:0;
 }
 .category-mockup-grid .teacher-category-card h3,
 .category-mockup-grid .teacher-category-card p,
 .teacher-category-count,
 .teacher-category-meter,
 .teacher-category-status,
 .teacher-category-action{
  grid-column:2;
 }
 .category-mockup-grid .teacher-category-card h3{
  justify-content:flex-start;
  min-height:0;
 }
 .category-mockup-grid .teacher-category-card p{
  min-height:0;
 }
}


/* V8.1.2 true compact category cards — authoritative override */
.teacher-category-hub{
 padding:13px 14px 14px!important;
}
.teacher-category-hub .teacher-mockup-section-head{
 margin-bottom:10px!important;
}
.category-mockup-grid{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:9px!important;
}
.category-mockup-grid .teacher-category-card{
 min-height:138px!important;
 max-height:none!important;
 padding:11px!important;
 border-radius:10px!important;
 display:grid!important;
 grid-template-columns:46px minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;
 column-gap:9px!important;
 align-items:center!important;
 text-align:left!important;
}
.category-mockup-grid .teacher-category-card:before{
 height:3px!important;
}
.category-mockup-grid .teacher-category-icon{
 width:44px!important;
 height:44px!important;
 margin:0!important;
 grid-row:1!important;
 align-self:start!important;
}
.category-mockup-grid .teacher-category-copy{
 min-width:0;
 grid-column:2;
}
.category-mockup-grid .teacher-category-card h3{
 min-height:0!important;
 margin:0!important;
 justify-content:flex-start!important;
 text-align:left!important;
 font-size:10.5px!important;
 line-height:1.2!important;
}
.category-mockup-grid .teacher-category-card p{
 min-height:0!important;
 margin:4px 0 6px!important;
 font-size:7.5px!important;
 line-height:1.25!important;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.teacher-category-meta{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:5px 8px;
}
.teacher-category-count{
 display:inline-flex!important;
 align-items:baseline!important;
 gap:2px!important;
 margin:0!important;
 font-size:7.5px!important;
 color:#6d7b8d;
}
.teacher-category-count strong{
 font-size:10px!important;
 color:#2467ce;
}
.teacher-category-status{
 min-height:0!important;
 font-size:7px!important;
 gap:3px!important;
}
.teacher-category-status b{
 width:4px!important;
 height:4px!important;
}
.teacher-category-meter{
 display:none!important;
}
.teacher-category-link{
 grid-column:1/-1;
 min-height:27px;
 margin-top:7px;
 border-radius:7px;
 display:flex;
 align-items:center;
 justify-content:center;
 font-size:7.5px;
 font-weight:800;
}
.teacher-category-link.browse{
 background:#f1f5ff;
 color:#1765ce;
}
.teacher-category-link.browse:hover{
 background:#1765ce;
 color:#fff;
}
.teacher-category-link.disabled{
 background:#f5f6f8;
 color:#8b96a5;
 pointer-events:none;
}
.teacher-category-new{
 top:6px!important;
 right:6px!important;
 padding:2px 5px!important;
 font-size:5.5px!important;
}
@media(min-width:1450px){
 .category-mockup-grid{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
 }
 .category-mockup-grid .teacher-category-card{
  min-height:132px!important;
  grid-template-columns:40px minmax(0,1fr)!important;
 }
 .category-mockup-grid .teacher-category-icon{
  width:38px!important;
  height:38px!important;
 }
}
@media(max-width:1000px){
 .category-mockup-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:560px){
 .category-mockup-grid{
  grid-template-columns:1fr!important;
 }
 .category-mockup-grid .teacher-category-card{
  min-height:118px!important;
 }
}


/* V8.1.3 balanced category cards */
.teacher-category-hub{
 padding:14px 16px 15px!important;
}
.category-mockup-grid{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:10px!important;
}
.category-mockup-grid .teacher-category-card{
 min-height:126px!important;
 padding:10px 10px 9px!important;
 grid-template-columns:42px minmax(0,1fr)!important;
 grid-template-rows:auto 24px!important;
 column-gap:9px!important;
 row-gap:6px!important;
}
.category-mockup-grid .teacher-category-icon{
 width:40px!important;
 height:40px!important;
}
.category-mockup-grid .teacher-category-copy{
 min-width:0!important;
 padding-right:2px;
}
.category-mockup-grid .teacher-category-card h3{
 font-size:10px!important;
 line-height:1.15!important;
 white-space:normal!important;
 overflow:visible!important;
 display:block!important;
}
.category-mockup-grid .teacher-category-card p{
 margin:3px 0 5px!important;
 font-size:7px!important;
 line-height:1.2!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
.teacher-category-meta{
 gap:4px 7px!important;
}
.teacher-category-count{
 font-size:7px!important;
}
.teacher-category-count strong{
 font-size:9px!important;
}
.teacher-category-status{
 font-size:6.5px!important;
 white-space:nowrap;
}
.teacher-category-link{
 min-height:24px!important;
 height:24px!important;
 margin-top:0!important;
 padding:0 8px!important;
 border-radius:6px!important;
 font-size:7px!important;
 align-self:end!important;
}
.teacher-category-new{
 top:5px!important;
 right:5px!important;
}
@media(min-width:1450px){
 .category-mockup-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
 .category-mockup-grid .teacher-category-card{
  min-height:122px!important;
 }
}
@media(max-width:1180px){
 .category-mockup-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:560px){
 .category-mockup-grid{
  grid-template-columns:1fr!important;
 }
 .category-mockup-grid .teacher-category-card{
  min-height:108px!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto 24px!important;
 }
}


/* V8.1.4 category text visibility refinement */
.teacher-category-hub .teacher-mockup-section-head h2{
 font-size:16px!important;
 color:#123866!important;
}
.teacher-category-hub .teacher-mockup-section-head p{
 font-size:10px!important;
 color:#65768c!important;
}
.category-mockup-grid .teacher-category-card h3{
 font-size:11.5px!important;
 line-height:1.18!important;
 font-weight:800!important;
 color:#183d6b!important;
}
.category-mockup-grid .teacher-category-card p{
 font-size:8px!important;
 line-height:1.25!important;
 color:#68788e!important;
 opacity:1!important;
}
.teacher-category-count{
 font-size:7.8px!important;
 color:#5d6f87!important;
 font-weight:650!important;
}
.teacher-category-count strong{
 font-size:10px!important;
 font-weight:850!important;
 color:#1765cf!important;
}
.teacher-category-status{
 font-size:7.2px!important;
 font-weight:750!important;
 color:#69788d!important;
}
.teacher-category-status.active{
 color:#23895f!important;
}
.teacher-category-status.updated{
 color:#c98208!important;
}
.teacher-category-status.coming{
 color:#6f7d90!important;
}
.teacher-category-link{
 font-size:8px!important;
 font-weight:850!important;
 letter-spacing:.05px!important;
}
.teacher-category-link.disabled{
 color:#6d7b8d!important;
 background:#f3f5f8!important;
}
.teacher-category-new{
 font-size:6.2px!important;
 font-weight:900!important;
}


/* V8.2.0 professional teacher resource catalogue */
.resource-catalogue-page{
 background:#f7f9fd;
}
.resource-catalogue-page .content{
 padding:16px 18px 28px;
}
.resource-catalogue-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:16px;
 margin-bottom:13px;
}
.resource-catalogue-heading h1{
 margin:0;
 color:#123968;
 font-size:27px;
 letter-spacing:-.45px;
}
.resource-catalogue-heading p{
 margin:5px 0 0;
 color:#66768c;
 font-size:12px;
}
.resource-mobile-filter-button{
 display:none;
 min-height:38px;
 padding:0 13px;
 border:1px solid #d8e2ef;
 border-radius:9px;
 background:#fff;
 color:#174477;
 font-size:11px;
 font-weight:800;
}
.resource-stat-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
 margin-bottom:14px;
}
.resource-stat-card{
 min-height:94px;
 padding:14px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 display:grid;
 grid-template-columns:48px minmax(0,1fr);
 gap:11px;
 align-items:center;
 box-shadow:0 3px 13px rgba(17,54,97,.035);
}
.resource-stat-icon{
 width:46px;
 height:46px;
 border-radius:50%;
 background:#edf3ff;
 color:#2165cf;
 display:grid;
 place-items:center;
 font-size:21px;
 font-weight:900;
}
.resource-stat-card small{
 display:block;
 color:#63748b;
 font-size:9px;
}
.resource-stat-card strong{
 display:block;
 margin-top:2px;
 color:#123867;
 font-size:22px;
 line-height:1;
}
.resource-stat-card p{
 margin:4px 0 0;
 color:#718096;
 font-size:8px;
}
.resource-stat-card.tone-green .resource-stat-icon{background:#eaf8f0;color:#269864}
.resource-stat-card.tone-gold .resource-stat-icon{background:#fff5df;color:#df9413}
.resource-stat-card.tone-purple .resource-stat-icon{background:#f2edff;color:#7654d5}

.resource-catalogue-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 290px;
 gap:16px;
 align-items:start;
}
.resource-catalogue-main{
 min-width:0;
}
.resource-results-toolbar{
 min-height:50px;
 padding:8px 11px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin-bottom:12px;
}
.resource-results-toolbar>span{
 color:#53667e;
 font-size:10px;
}
.resource-results-toolbar>div{
 display:flex;
 align-items:center;
 gap:7px;
}
.resource-results-toolbar label{
 display:flex;
 align-items:center;
 gap:6px;
 color:#304d71;
 font-size:9px;
 font-weight:750;
}
.resource-results-toolbar select{
 height:34px;
 min-width:142px;
 border:1px solid #dce4ef;
 border-radius:8px;
 background:#fff;
 color:#36516f;
 padding:0 9px;
 font-size:9px;
}
.resource-view-toggle{
 width:34px;
 height:34px;
 border:1px solid #dde5ef;
 border-radius:8px;
 background:#fff;
 color:#59708d;
 display:grid;
 place-items:center;
 font-size:13px;
}
.resource-view-toggle.active{
 background:#eaf2ff;
 color:#1765d0;
 border-color:#cbdcf4;
}

.catalogue-resource-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
}
.catalogue-resource-card{
 min-width:0;
 min-height:300px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 overflow:hidden;
 display:flex;
 flex-direction:column;
 box-shadow:0 3px 13px rgba(16,53,96,.035);
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.catalogue-resource-card:hover{
 transform:translateY(-2px);
 border-color:#bed2ed;
 box-shadow:0 10px 22px rgba(17,56,103,.08);
}
.catalogue-resource-cover{
 height:132px;
 margin:10px 10px 0;
 border-radius:8px;
 background:#eef3fb;
 display:grid;
 place-items:center;
 overflow:hidden;
 position:relative;
 color:#2165ca;
 font-size:20px;
 font-weight:900;
}
.catalogue-resource-cover-image{
 width:100%;
 height:100%;
 object-fit:cover;
 background:#fff;
}
.catalogue-resource-cover>b{
 position:absolute;
 top:7px;
 right:7px;
 padding:3px 7px;
 border-radius:999px;
 background:#27ad6f;
 color:#fff;
 font-size:7px;
 font-weight:900;
}
.catalogue-resource-body{
 padding:10px 12px 8px;
 display:flex;
 flex-direction:column;
 min-height:133px;
}
.catalogue-category-pill{
 align-self:flex-start;
 padding:4px 8px;
 border-radius:999px;
 background:#edf3ff;
 color:#1d61c8;
 font-size:7.5px;
 font-weight:800;
}
.catalogue-resource-body h2{
 margin:8px 0 0;
 color:#173b68;
 font-size:12px;
 line-height:1.3;
}
.catalogue-resource-body h2 a{color:inherit}
.catalogue-resource-body p{
 margin:6px 0 0;
 color:#64758a;
 font-size:9px;
 line-height:1.45;
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:3;
 overflow:hidden;
}
.catalogue-resource-meta{
 margin-top:auto;
 padding-top:9px;
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:6px 9px;
 color:#65768d;
 font-size:7.5px;
}
.catalogue-resource-actions{
 padding:0 12px 11px;
}
.catalogue-resource-actions .btn{
 width:100%;
 min-height:32px;
 justify-content:center;
}

.catalogue-resource-grid.list-view{
 grid-template-columns:1fr;
}
.catalogue-resource-grid.list-view .catalogue-resource-card{
 min-height:150px;
 display:grid;
 grid-template-columns:180px minmax(0,1fr) 130px;
 align-items:stretch;
}
.catalogue-resource-grid.list-view .catalogue-resource-cover{
 height:128px;
 margin:10px;
}
.catalogue-resource-grid.list-view .catalogue-resource-body{
 min-height:0;
 padding:14px 8px;
}
.catalogue-resource-grid.list-view .catalogue-resource-actions{
 display:flex;
 align-items:center;
 padding:12px;
}

.resource-filter-panel{
 position:sticky;
 top:84px;
 padding:15px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 box-shadow:0 4px 15px rgba(15,53,96,.04);
}
.resource-filter-head{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 margin-bottom:13px;
}
.resource-filter-head h2{
 margin:0;
 color:#153967;
 font-size:14px;
}
.resource-filter-head>a{
 color:#1765d0;
 font-size:8px;
 font-weight:800;
}
.resource-filter-head>button{
 display:none;
 width:30px;
 height:30px;
 border:0;
 border-radius:7px;
 background:#eef3fa;
 color:#35516f;
 font-size:18px;
}
.resource-filter-form{
 display:grid;
 gap:11px;
}
.resource-filter-form>label{
 display:grid;
 gap:6px;
 color:#173a67;
 font-size:9px;
 font-weight:800;
}
.resource-filter-form select,
.resource-filter-form input{
 width:100%;
 height:39px;
 border:1px solid #dbe4ef;
 border-radius:8px;
 background:#fff;
 color:#38516f;
 padding:0 10px;
 font-size:9px;
 outline:0;
}
.resource-filter-form select:focus,
.resource-filter-form input:focus{
 border-color:#8db2e8;
 box-shadow:0 0 0 3px rgba(47,112,218,.10);
}
.resource-filter-search{
 position:relative;
 display:block;
}
.resource-filter-search input{
 padding-right:34px;
}
.resource-filter-search i{
 position:absolute;
 right:10px;
 top:50%;
 transform:translateY(-50%);
 color:#6c7e94;
 font-style:normal;
}
.resource-apply-filter,
.resource-reset-filter{
 min-height:39px;
 justify-content:center;
}
.catalogue-pagination{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 margin:19px 0 2px;
}
.catalogue-pagination a,
.catalogue-pagination span{
 min-width:34px;
 height:34px;
 padding:0 8px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#3c5675;
 display:grid;
 place-items:center;
 font-size:9px;
}
.catalogue-pagination a.active{
 background:#1765d2;
 color:#fff;
 border-color:#1765d2;
}
.catalogue-pagination a.disabled{
 pointer-events:none;
 opacity:.45;
}
.catalogue-empty-state{
 grid-column:1/-1;
 min-height:280px;
 padding:30px;
 border:1px dashed #ccd8e8;
 border-radius:12px;
 background:#fff;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
}
.catalogue-empty-state>span{
 width:50px;
 height:50px;
 border-radius:50%;
 background:#edf3fb;
 color:#5a728e;
 display:grid;
 place-items:center;
 font-size:20px;
}
.catalogue-empty-state h2{
 margin:10px 0 4px;
 color:#173b68;
 font-size:15px;
}
.catalogue-empty-state p{
 margin:0 0 12px;
 color:#718096;
 font-size:10px;
}
.resource-filter-backdrop{display:none}

@media(max-width:1350px){
 .catalogue-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
 .resource-catalogue-layout{grid-template-columns:minmax(0,1fr) 260px}
 .resource-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalogue-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
 .resource-mobile-filter-button{display:block}
 .resource-catalogue-layout{grid-template-columns:1fr}
 .resource-filter-panel{
  position:fixed;
  z-index:120;
  top:0;
  right:0;
  bottom:0;
  width:min(360px,92vw);
  border-radius:0;
  overflow-y:auto;
  transform:translateX(105%);
  transition:transform .22s ease;
 }
 .resource-filter-panel.open{transform:none}
 .resource-filter-head>button{display:block}
 .resource-filter-backdrop{
  position:fixed;
  inset:0;
  z-index:110;
  background:rgba(12,32,61,.42);
 }
 .resource-filter-backdrop.open{display:block}
}
@media(max-width:640px){
 .resource-catalogue-page .content{padding:12px}
 .resource-catalogue-heading h1{font-size:23px}
 .resource-stat-grid{grid-template-columns:1fr 1fr;gap:8px}
 .resource-stat-card{min-height:82px;padding:10px;grid-template-columns:39px minmax(0,1fr)}
 .resource-stat-icon{width:38px;height:38px;font-size:17px}
 .resource-stat-card strong{font-size:18px}
 .resource-results-toolbar{align-items:flex-start;flex-direction:column}
 .resource-results-toolbar>div{width:100%;justify-content:flex-end}
 .catalogue-resource-grid{grid-template-columns:1fr}
 .catalogue-resource-grid.list-view .catalogue-resource-card{
  display:flex;
 }
 .catalogue-resource-grid.list-view .catalogue-resource-cover{
  height:150px;
 }
}
@media(prefers-reduced-motion:reduce){
 .catalogue-resource-card,
 .resource-filter-panel{transition:none}
}


/* V8.3.0 My Library suite */
.library-suite-page{
 background:#f7f9fd;
}
.library-suite-page .content{
 padding:16px 18px 28px;
}
.library-suite-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:16px;
 margin-bottom:13px;
}
.library-suite-heading h1{
 margin:0;
 color:#123968;
 font-size:27px;
 letter-spacing:-.45px;
}
.library-suite-heading p{
 margin:5px 0 0;
 color:#66768c;
 font-size:12px;
}
.library-new-collection{
 min-height:39px;
 padding:0 16px;
}
.library-clear-link{
 border:0;
 background:transparent;
 color:#1765cf;
 font-size:9px;
 font-weight:850;
 cursor:pointer;
}
.library-suite-stats{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
 margin-bottom:14px;
}
.library-suite-stats article{
 min-height:94px;
 padding:14px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 display:grid;
 grid-template-columns:48px minmax(0,1fr);
 gap:11px;
 align-items:center;
 box-shadow:0 3px 13px rgba(17,54,97,.035);
}
.library-suite-stats article>span{
 width:46px;
 height:46px;
 border-radius:50%;
 display:grid;
 place-items:center;
 font-size:21px;
 font-weight:900;
}
.library-suite-stats .purple{background:#f2edff;color:#7654d5}
.library-suite-stats .green{background:#eaf8f0;color:#269864}
.library-suite-stats .gold{background:#fff5df;color:#df9413}
.library-suite-stats .blue{background:#edf3ff;color:#2165cf}
.library-suite-stats small{
 display:block;
 color:#63748b;
 font-size:9px;
}
.library-suite-stats strong{
 display:block;
 margin-top:2px;
 color:#123867;
 font-size:22px;
 line-height:1;
}
.library-suite-stats p{
 margin:4px 0 0;
 color:#718096;
 font-size:8px;
}

.library-workspace-tabs{
 min-height:49px;
 border-bottom:1px solid #dfe7f1;
 display:flex;
 align-items:flex-end;
 gap:8px;
 margin-bottom:13px;
 overflow-x:auto;
 scrollbar-width:none;
}
.library-workspace-tabs::-webkit-scrollbar{display:none}
.library-workspace-tabs a{
 min-height:45px;
 padding:0 20px;
 display:flex;
 align-items:center;
 border-bottom:2px solid transparent;
 color:#435a77;
 font-size:10px;
 font-weight:750;
 white-space:nowrap;
}
.library-workspace-tabs a.active{
 color:#1765d0;
 border-color:#1765d0;
}

.library-suite-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 265px;
 gap:15px;
 align-items:start;
}
.library-suite-main{min-width:0}
.library-suite-toolbar,
.library-list-toolbar{
 min-height:48px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 margin-bottom:12px;
}
.library-suite-toolbar select,
.library-list-toolbar select,
.library-suite-toolbar input,
.library-list-toolbar input{
 height:36px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#38516f;
 padding:0 10px;
 font-size:9px;
 outline:0;
}
.library-suite-toolbar>select{
 min-width:145px;
}
.library-toolbar-right{
 display:flex;
 align-items:center;
 gap:7px;
 margin-left:auto;
}
.library-toolbar-right select{min-width:135px}
.library-view-switch{
 width:34px;
 height:34px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#5c718c;
 display:grid;
 place-items:center;
 font-size:13px;
}
.library-view-switch.active{
 background:#eaf2ff;
 color:#1765cf;
 border-color:#cbdcf4;
}
.library-suite-search,
.library-list-toolbar>span{
 min-width:195px;
 position:relative;
 display:block;
}
.library-suite-search input,
.library-list-toolbar>span input{
 width:100%;
 padding-right:32px;
}
.library-suite-search i,
.library-list-toolbar>span i{
 position:absolute;
 right:10px;
 top:50%;
 transform:translateY(-50%);
 color:#6b7e94;
 font-style:normal;
}

.library-saved-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
}
.library-saved-card{
 min-width:0;
 min-height:285px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 overflow:hidden;
 display:flex;
 flex-direction:column;
 box-shadow:0 3px 13px rgba(16,53,96,.035);
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.library-saved-card:hover{
 transform:translateY(-2px);
 border-color:#bed2ed;
 box-shadow:0 10px 22px rgba(17,56,103,.08);
}
.library-saved-cover{
 height:132px;
 margin:10px 10px 0;
 border-radius:8px;
 background:#eef3fb;
 display:grid;
 place-items:center;
 overflow:hidden;
 position:relative;
 color:#2165ca;
 font-size:18px;
 font-weight:900;
}
.library-saved-cover-image{
 width:100%;
 height:100%;
 object-fit:cover;
 background:#fff;
}
.library-saved-cover>b{
 position:absolute;
 top:7px;
 right:7px;
 width:24px;
 height:24px;
 border-radius:7px;
 background:#fff;
 color:#174d9c;
 display:grid;
 place-items:center;
 font-size:12px;
 box-shadow:0 3px 8px rgba(20,53,96,.12);
}
.library-saved-body{
 padding:10px 12px 12px;
 display:flex;
 flex-direction:column;
 min-height:133px;
}
.library-saved-category{
 align-self:flex-start;
 padding:4px 8px;
 border-radius:999px;
 background:#edf3ff;
 color:#1d61c8;
 font-size:7.5px;
 font-weight:800;
}
.library-saved-body h2{
 margin:8px 0 0;
 color:#173b68;
 font-size:12px;
 line-height:1.3;
}
.library-saved-body h2 a{color:inherit}
.library-saved-body p{
 margin:6px 0 0;
 color:#64758a;
 font-size:9px;
 line-height:1.45;
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:3;
 overflow:hidden;
}
.library-saved-body>div{
 margin-top:auto;
 padding-top:9px;
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:6px 9px;
 color:#65768d;
 font-size:7.5px;
}
.library-saved-grid.list-view{grid-template-columns:1fr}
.library-saved-grid.list-view .library-saved-card{
 min-height:145px;
 display:grid;
 grid-template-columns:180px minmax(0,1fr);
}
.library-saved-grid.list-view .library-saved-cover{
 height:125px;
 margin:10px;
}
.library-saved-grid.list-view .library-saved-body{
 min-height:0;
 padding:14px 10px;
}

.library-suite-aside{
 display:grid;
 gap:12px;
 position:sticky;
 top:84px;
}
.library-aside-card{
 padding:14px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 box-shadow:0 4px 15px rgba(15,53,96,.04);
}
.library-aside-card header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 margin-bottom:9px;
}
.library-aside-card h2{
 margin:0;
 color:#153967;
 font-size:13px;
}
.library-aside-card header a{
 color:#1765d0;
 font-size:8px;
 font-weight:800;
}
.library-collection-link{
 min-height:37px;
 display:grid;
 grid-template-columns:25px minmax(0,1fr) 21px;
 gap:7px;
 align-items:center;
 border-bottom:1px solid #edf1f6;
 color:inherit;
}
.library-collection-link:last-child{border-bottom:0}
.library-collection-link>span{
 width:23px;height:23px;border-radius:7px;background:#edf3ff;color:#2164ca;display:grid;place-items:center;font-size:11px
}
.library-collection-link strong{
 color:#37516f;
 font-size:8.5px;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.library-collection-link b{
 width:20px;height:20px;border-radius:50%;background:#eaf2ff;color:#2165cf;display:grid;place-items:center;font-size:7px
}
.library-aside-empty{
 color:#78869a;
 font-size:9px;
}
.library-quick-action{
 width:100%;
 min-height:34px;
 border:0;
 background:transparent;
 color:#1765cf;
 display:flex;
 align-items:center;
 gap:8px;
 padding:0 2px;
 font-size:9px;
 cursor:pointer;
 text-align:left;
}
.library-quick-action span{
 width:23px;height:23px;border-radius:7px;background:#edf3ff;display:grid;place-items:center
}
.library-quick-action.danger{color:#d94b55}
.library-quick-action.danger span{background:#fff0f1}
.library-storage-copy{
 margin:0 0 8px;
 color:#63748b;
 font-size:8px;
 display:flex;
 justify-content:space-between;
}
.library-storage-bar{
 height:6px;
 border-radius:999px;
 background:#e6ecf4;
 overflow:hidden;
}
.library-storage-bar i{
 display:block;
 height:100%;
 border-radius:999px;
 background:#1765d2;
}

.library-suite-empty{
 grid-column:1/-1;
 min-height:270px;
 padding:30px;
 border:1px dashed #ccd8e8;
 border-radius:12px;
 background:#fff;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
}
.library-suite-empty>span{
 width:50px;height:50px;border-radius:50%;background:#edf3fb;color:#5a728e;display:grid;place-items:center;font-size:20px
}
.library-suite-empty h2{margin:10px 0 4px;color:#173b68;font-size:15px}
.library-suite-empty p{margin:0 0 12px;color:#718096;font-size:10px}

/* Collections */
.library-collection-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:13px;
}
.library-collection-card,
.library-create-card{
 min-height:250px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 overflow:hidden;
 box-shadow:0 3px 13px rgba(16,53,96,.035);
}
.library-collection-card{
 display:flex;
 flex-direction:column;
}
.library-collection-visual{
 height:145px;
 margin:10px 10px 0;
 border-radius:8px;
 background:linear-gradient(135deg,#edf4ff,#f7f9fe);
 display:grid;
 place-items:center;
 color:#1765cf;
}
.library-collection-visual span{
 width:62px;height:62px;border-radius:18px;background:#fff;display:grid;place-items:center;font-size:28px;box-shadow:0 7px 18px rgba(27,70,123,.10)
}
.library-collection-card>div{
 padding:11px 13px 13px;
}
.library-collection-card h2{
 margin:0;
 color:#173b68;
 font-size:13px;
}
.library-collection-card h2 a{color:inherit}
.library-collection-card p{
 margin:6px 0;
 color:#65768c;
 font-size:9px;
 line-height:1.4;
}
.library-collection-card small{
 color:#1765cf;
 font-size:8px;
 font-weight:800;
}
.library-create-card{
 display:grid;
 place-items:center;
 align-content:center;
 gap:9px;
 color:#1765cf;
 cursor:pointer;
}
.library-create-card>span{
 width:48px;height:48px;border-radius:50%;background:#edf3ff;display:grid;place-items:center;font-size:22px
}
.library-create-card strong{font-size:10px}
.library-create-panel{
 display:none;
 margin-top:15px;
 padding:18px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 grid-template-columns:240px minmax(0,1fr);
 gap:20px;
}
.library-create-panel.open,
.library-create-panel:target{display:grid}
.library-create-panel h2{margin:0;color:#173b68;font-size:16px}
.library-create-panel p{margin:5px 0 0;color:#718096;font-size:10px}
.library-create-panel form{display:grid;gap:10px}
.library-create-panel label{display:grid;gap:5px;color:#173b68;font-size:9px;font-weight:800}
.library-create-panel input,
.library-create-panel textarea{
 width:100%;
 border:1px solid #dce5ef;
 border-radius:8px;
 padding:9px 10px;
 color:#38516f;
 font-size:9px;
}
.library-create-panel form>div{display:flex;gap:8px}

/* Bookmark and history lists */
.library-list-toolbar{
 justify-content:flex-end;
}
.library-list-toolbar select{min-width:135px}
.library-resource-list{
 display:grid;
 gap:10px;
}
.library-resource-list>article{
 min-height:118px;
 padding:10px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 display:grid;
 grid-template-columns:135px minmax(0,1fr) 120px 30px;
 gap:12px;
 align-items:center;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
}
.library-list-cover{
 width:135px;
 height:96px;
 border-radius:8px;
 background:#eef3fb;
 display:grid;
 place-items:center;
 overflow:hidden;
 color:#2165ca;
 font-weight:900;
}
.library-list-cover-image{width:100%;height:100%;object-fit:cover;background:#fff}
.library-resource-list h2{
 margin:7px 0 0;
 color:#173b68;
 font-size:12px;
}
.library-resource-list h2 a{color:inherit}
.library-resource-list p{
 margin:5px 0 0;
 color:#65768c;
 font-size:9px;
 line-height:1.4;
}
.library-resource-list small{
 display:block;
 margin-top:8px;
 color:#66788e;
 font-size:8px;
}
.library-resource-list time{
 color:#718096;
 font-size:8px;
 text-align:right;
 line-height:1.5;
}
.library-resource-list form button{
 width:28px;height:28px;border:0;border-radius:7px;background:#f1f4f8;color:#536c89;cursor:pointer
}
.library-history-open{
 color:#1765cf;
 font-size:8px;
 font-weight:800;
 text-align:right;
}
.library-resource-list.history>article{
 grid-template-columns:135px minmax(0,1fr) 100px 70px;
}

@media(max-width:1250px){
 .library-saved-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1050px){
 .library-suite-layout{grid-template-columns:1fr}
 .library-suite-aside{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}
 .library-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
 .library-suite-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .library-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .library-resource-list>article,
 .library-resource-list.history>article{
  grid-template-columns:110px minmax(0,1fr);
 }
 .library-list-cover{width:110px;height:82px}
 .library-resource-list time,
 .library-resource-list form,
 .library-history-open{grid-column:2;text-align:left}
}
@media(max-width:650px){
 .library-suite-page .content{padding:12px}
 .library-suite-heading{align-items:flex-start;flex-direction:column}
 .library-suite-heading h1{font-size:23px}
 .library-suite-stats{grid-template-columns:1fr 1fr;gap:8px}
 .library-suite-stats article{min-height:82px;padding:10px;grid-template-columns:39px minmax(0,1fr)}
 .library-suite-stats article>span{width:38px;height:38px;font-size:17px}
 .library-suite-stats strong{font-size:18px}
 .library-suite-toolbar,
 .library-list-toolbar{align-items:stretch;flex-direction:column}
 .library-toolbar-right{width:100%;flex-wrap:wrap}
 .library-suite-search,
 .library-list-toolbar>span{min-width:100%;flex:1}
 .library-saved-grid{grid-template-columns:1fr}
 .library-suite-aside{grid-template-columns:1fr}
 .library-collection-grid{grid-template-columns:1fr}
 .library-create-panel{grid-template-columns:1fr}
 .library-workspace-tabs a{padding:0 13px}
}
@media(prefers-reduced-motion:reduce){
 .library-saved-card{transition:none}
}


/* V8.3.1 My Library sidebar cleanup */
.library-suite-aside{
 gap:12px;
}
.library-suite-aside .library-aside-card:last-child{
 margin-bottom:0;
}


/* V8.4.0 Teacher Productivity and Personalisation */
.lesson-planner-page,
.teacher-profile-page{
 background:#f7f9fd;
}
.lesson-planner-page .content,
.teacher-profile-page .content{
 padding:16px 18px 28px;
}
.lesson-planner-heading,
.profile-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:16px;
 margin-bottom:14px;
}
.lesson-planner-heading h1,
.profile-heading h1{
 margin:0;
 color:#123968;
 font-size:27px;
 letter-spacing:-.45px;
}
.lesson-planner-heading p,
.profile-heading p{
 margin:5px 0 0;
 color:#66768c;
 font-size:12px;
}
.lesson-planner-stats{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:11px;
 margin-bottom:14px;
}
.lesson-planner-stats article{
 min-height:82px;
 padding:14px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 box-shadow:0 3px 13px rgba(17,54,97,.035);
}
.lesson-planner-stats small{
 display:block;
 color:#68798f;
 font-size:9px;
}
.lesson-planner-stats strong{
 display:block;
 margin-top:5px;
 color:#153b69;
 font-size:24px;
}
.lesson-plan-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
}
.lesson-plan-card{
 min-height:245px;
 padding:15px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 display:flex;
 flex-direction:column;
 box-shadow:0 3px 13px rgba(17,54,97,.035);
}
.lesson-plan-card header,
.lesson-plan-card footer{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.lesson-plan-card header small{
 color:#78869a;
 font-size:8px;
}
.lesson-status{
 padding:4px 8px;
 border-radius:999px;
 background:#eef2f7;
 color:#68798f;
 font-size:7px;
 font-weight:850;
}
.lesson-status.ready{background:#eaf8f0;color:#278c61}
.lesson-status.completed{background:#edf3ff;color:#2165cf}
.lesson-plan-card h2{
 margin:13px 0 0;
 color:#173b68;
 font-size:15px;
 line-height:1.3;
}
.lesson-plan-card>p{
 margin:7px 0 0;
 color:#65768c;
 font-size:9px;
 line-height:1.45;
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:4;
 overflow:hidden;
}
.lesson-plan-meta{
 display:flex;
 flex-wrap:wrap;
 gap:6px;
 margin-top:12px;
}
.lesson-plan-meta span{
 padding:4px 8px;
 border-radius:999px;
 background:#f1f5fb;
 color:#48617e;
 font-size:7px;
}
.lesson-plan-card footer{
 margin-top:auto;
 padding-top:13px;
 border-top:1px solid #edf1f6;
}
.lesson-plan-card footer>span{
 color:#68798f;
 font-size:8px;
}
.lesson-plan-card footer>div{
 display:flex;
 align-items:center;
 gap:6px;
}
.lesson-plan-card footer form{margin:0}
.lesson-plan-empty{
 grid-column:1/-1;
 min-height:280px;
 padding:30px;
 border:1px dashed #ccd8e8;
 border-radius:12px;
 background:#fff;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
}
.lesson-plan-empty>span{
 width:50px;height:50px;border-radius:50%;background:#edf3fb;color:#5a728e;display:grid;place-items:center;font-size:20px
}
.lesson-plan-empty h2{margin:10px 0 4px;color:#173b68;font-size:15px}
.lesson-plan-empty p{margin:0 0 12px;color:#718096;font-size:10px}

.lesson-form-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 340px;
 gap:15px;
 align-items:start;
}
.lesson-plan-form{
 display:grid;
 gap:12px;
}
.lesson-plan-form label,
.profile-preference-layout label{
 display:grid;
 gap:6px;
 color:#173b68;
 font-size:9px;
 font-weight:800;
}
.form-grid.two{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:11px;
}
.lesson-plan-form textarea{
 min-height:auto;
 resize:vertical;
 padding-top:10px;
}
.lesson-resource-panel{
 position:sticky;
 top:84px;
 padding:14px;
}
.lesson-resource-panel header h2{
 margin:0;
 color:#153967;
 font-size:14px;
}
.lesson-resource-panel header p{
 margin:5px 0 12px;
 color:#718096;
 font-size:9px;
 line-height:1.4;
}
.lesson-resource-empty{
 padding:18px;
 border:1px dashed #ccd8e8;
 border-radius:9px;
 text-align:center;
 color:#718096;
 font-size:9px;
}
.lesson-resource-list{
 display:grid;
 gap:7px;
 max-height:620px;
 overflow:auto;
}
.lesson-resource-list article{
 min-height:56px;
 padding:9px;
 border:1px solid #e2e8f1;
 border-radius:9px;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
}
.lesson-resource-list strong{
 display:block;
 color:#294a70;
 font-size:8.5px;
 line-height:1.3;
}
.lesson-resource-list small{
 display:block;
 margin-top:3px;
 color:#78869a;
 font-size:7px;
}
.lesson-resource-list form{margin:0}
.lesson-resource-list button{
 min-width:48px;
 height:27px;
 border:0;
 border-radius:7px;
 background:#edf3ff;
 color:#1765cf;
 font-size:7px;
 font-weight:800;
 cursor:pointer;
}
.lesson-resource-list button.remove{
 background:#fff0f1;
 color:#d94b55;
}
.resource-lesson-action{
 display:flex;
 align-items:center;
 gap:6px;
}
.resource-lesson-action select{
 min-height:38px;
 max-width:210px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#38516f;
 padding:0 9px;
 font-size:9px;
}

/* Teacher profile preferences */
.profile-preference-layout{
 display:grid;
 gap:13px;
 max-width:1100px;
}
.profile-section{
 padding:18px;
}
.profile-section h2{
 margin:0 0 12px;
 color:#153967;
 font-size:15px;
}
.profile-section h3{
 margin:16px 0 8px;
 color:#27496e;
 font-size:11px;
}
.profile-section>.muted{
 margin:-5px 0 12px;
 font-size:9px;
}
.preference-check-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:7px;
}
.preference-check-grid label{
 min-height:36px;
 padding:8px 10px;
 border:1px solid #e1e8f1;
 border-radius:8px;
 background:#fbfcfe;
 display:flex;
 align-items:center;
 gap:7px;
 font-size:8px;
 font-weight:650;
 color:#48617e;
}
.preference-check-grid input{
 accent-color:#1765cf;
}
.profile-save-button{
 justify-self:start;
 min-width:150px;
}

@media(max-width:1100px){
 .lesson-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lesson-form-layout{grid-template-columns:1fr}
 .lesson-resource-panel{position:static}
}
@media(max-width:720px){
 .lesson-planner-page .content,
 .teacher-profile-page .content{padding:12px}
 .lesson-planner-heading,
 .profile-heading{align-items:flex-start;flex-direction:column}
 .lesson-planner-heading h1,
 .profile-heading h1{font-size:23px}
 .lesson-planner-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lesson-plan-grid{grid-template-columns:1fr}
 .form-grid.two{grid-template-columns:1fr}
 .preference-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .resource-lesson-action{width:100%;flex-wrap:wrap}
 .resource-lesson-action select{max-width:none;flex:1}
}
@media(max-width:450px){
 .preference-check-grid{grid-template-columns:1fr}
}


/* V9.0 Teacher Experience Foundation */
.teacher-experience-stats{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:9px;
}
.teacher-experience-stats>a{
 min-height:74px;
 padding:11px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 display:grid;
 grid-template-columns:36px minmax(0,1fr);
 gap:9px;
 align-items:center;
 color:inherit;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
 transition:transform .18s ease,border-color .18s ease;
}
.teacher-experience-stats>a:hover{
 transform:translateY(-2px);
 border-color:#bdd2ef;
}
.teacher-experience-stats>a>span{
 width:35px;
 height:35px;
 border-radius:10px;
 background:#edf3ff;
 color:#2165cf;
 display:grid;
 place-items:center;
 font-size:15px;
}
.teacher-experience-stats>a:nth-child(2)>span{background:#fff0f4;color:#df4e7a}
.teacher-experience-stats>a:nth-child(3)>span{background:#eaf8f0;color:#288f63}
.teacher-experience-stats>a:nth-child(4)>span{background:#f2edff;color:#7654d5}
.teacher-experience-stats>a:nth-child(5)>span{background:#fff5df;color:#d88b0b}
.teacher-experience-stats strong{
 display:block;
 color:#143a68;
 font-size:18px;
 line-height:1;
}
.teacher-experience-stats small{
 display:block;
 margin-top:4px;
 color:#68798f;
 font-size:8px;
}

.teacher-upcoming-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
}
.teacher-upcoming-grid>a{
 min-height:67px;
 padding:10px;
 border:1px solid #e1e8f1;
 border-radius:10px;
 background:#fbfcfe;
 display:grid;
 grid-template-columns:42px minmax(0,1fr) auto;
 gap:9px;
 align-items:center;
 color:inherit;
}
.teacher-upcoming-grid>a>span{
 width:40px;
 height:40px;
 border-radius:10px;
 background:#edf3ff;
 color:#1765cf;
 display:grid;
 place-items:center;
 text-align:center;
 font-size:8px;
 font-weight:850;
}
.teacher-upcoming-grid strong{
 display:block;
 color:#183d6b;
 font-size:10px;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.teacher-upcoming-grid small{
 display:block;
 margin-top:3px;
 color:#718096;
 font-size:8px;
}
.teacher-upcoming-grid b{
 padding:4px 7px;
 border-radius:999px;
 background:#eaf8f0;
 color:#278c61;
 font-size:7px;
}

.personalised-chatbot-page{
 background:#f7f9fd;
}
.personalised-chatbot-page .content{
 padding:16px 18px 28px;
}
.personalised-chat-heading{
 margin-bottom:14px;
}
.personalised-chat-heading h1{
 margin:0;
 color:#123968;
 font-size:27px;
}
.personalised-chat-heading p{
 margin:5px 0 0;
 color:#66768c;
 font-size:11px;
}
.chat-layout.personalised{
 align-items:start;
}
.personalised-chat-profile{
 position:sticky;
 top:84px;
}
.personalised-chat-interests{
 display:flex;
 flex-wrap:wrap;
 gap:7px;
 margin:12px 0;
}
.personalised-chat-interests span{
 padding:5px 8px;
 border-radius:999px;
 background:#edf3ff;
 color:#1765cf;
 font-size:8px;
 font-weight:750;
}

@media(max-width:1100px){
 .teacher-experience-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
 .teacher-upcoming-grid{
  grid-template-columns:1fr;
 }
}
@media(max-width:700px){
 .teacher-experience-stats{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
 .teacher-experience-stats>a:last-child{
  grid-column:1/-1;
 }
 .personalised-chatbot-page .content{
  padding:12px;
 }
 .personalised-chat-heading h1{
  font-size:23px;
 }
}
@media(max-width:420px){
 .teacher-experience-stats{
  grid-template-columns:1fr;
 }
 .teacher-experience-stats>a:last-child{
  grid-column:auto;
 }
}


/* V10.0 Intelligent Teacher Platform design system + teaching tools */
:root{
 --lsv-surface:#ffffff;
 --lsv-page:#f7f9fd;
 --lsv-border:#dfe7f1;
 --lsv-text:#153967;
 --lsv-muted:#66768c;
 --lsv-primary:#1765cf;
 --lsv-primary-soft:#edf3ff;
 --lsv-success:#278c61;
 --lsv-radius:12px;
 --lsv-shadow:0 4px 15px rgba(15,53,96,.04);
}

.ai-teaching-workspace-page,
.classroom-toolkit-page,
.teacher-analytics-page{
 background:var(--lsv-page);
}
.ai-teaching-workspace-page .content,
.classroom-toolkit-page .content,
.teacher-analytics-page .content{
 padding:16px 18px 28px;
}
.teacher-tool-heading{
 display:flex;
 justify-content:space-between;
 align-items:flex-end;
 gap:16px;
 margin-bottom:14px;
}
.teacher-tool-heading h1{
 margin:0;
 color:var(--lsv-text);
 font-size:27px;
 letter-spacing:-.45px;
}
.teacher-tool-heading p{
 margin:5px 0 0;
 color:var(--lsv-muted);
 font-size:11px;
}

.teacher-tool-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 280px;
 gap:15px;
 align-items:start;
}
.teacher-tool-picker{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
 margin-bottom:12px;
}
.teacher-tool-picker a{
 min-height:74px;
 padding:11px;
 border:1px solid var(--lsv-border);
 border-radius:10px;
 background:#fff;
 color:inherit;
 display:flex;
 flex-direction:column;
 justify-content:center;
 transition:.18s;
}
.teacher-tool-picker a:hover,
.teacher-tool-picker a.active{
 border-color:#aac6ed;
 background:#f3f7ff;
 transform:translateY(-1px);
}
.teacher-tool-picker strong{
 color:#24486f;
 font-size:10px;
}
.teacher-tool-picker small{
 margin-top:3px;
 color:#738197;
 font-size:7.5px;
 line-height:1.3;
}

.teacher-tool-form{
 display:grid;
 gap:12px;
 margin-bottom:12px;
}
.teacher-generated-output{
 padding:16px;
}
.teacher-generated-output header{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:12px;
 margin-bottom:10px;
}
.teacher-generated-output header span{
 color:#1765cf;
 font-size:8px;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.4px;
}
.teacher-generated-output h2{
 margin:4px 0 0;
 color:#173b68;
 font-size:16px;
}
.teacher-generated-output header button{
 border:1px solid #dce5ef;
 border-radius:7px;
 background:#fff;
 color:#1765cf;
 height:31px;
 padding:0 10px;
 font-size:8px;
 font-weight:800;
 cursor:pointer;
}
.teacher-generated-output pre,
.classroom-tool-card pre{
 margin:0;
 padding:14px;
 border-radius:9px;
 background:#f8fafc;
 color:#314b68;
 font-family:inherit;
 font-size:9px;
 line-height:1.55;
 white-space:pre-wrap;
 overflow-wrap:anywhere;
}
.teacher-output-sources{
 display:flex;
 flex-wrap:wrap;
 gap:7px;
 margin-top:12px;
}
.teacher-output-sources>strong{
 width:100%;
 color:#173b68;
 font-size:9px;
}
.teacher-output-sources a{
 padding:5px 7px;
 border-radius:7px;
 background:#edf3ff;
 color:#1765cf;
 font-size:7.5px;
}

.teacher-tool-aside{
 position:sticky;
 top:84px;
 padding:14px;
}
.teacher-tool-aside h2{
 margin:0 0 10px;
 color:#153967;
 font-size:13px;
}
.teacher-tool-aside>a{
 min-height:48px;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:30px minmax(0,1fr);
 gap:8px;
 align-items:center;
 color:inherit;
}
.teacher-tool-aside>a>span{
 width:28px;height:28px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:7px;font-weight:850
}
.teacher-tool-aside strong{
 display:block;
 color:#39536f;
 font-size:8px;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.teacher-tool-aside small{
 display:block;
 margin-top:2px;
 color:#7a8798;
 font-size:7px;
}
.teacher-ai-note{
 margin:12px 0 0;
 padding:9px;
 border-radius:8px;
 background:#fff7e6;
 color:#7c622e;
 font-size:7.5px;
 line-height:1.4;
}

.classroom-tool-filter{
 display:flex;
 align-items:center;
 gap:8px;
 margin-bottom:12px;
}
.classroom-tool-filter select,
.classroom-tool-filter input{
 height:36px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#38516f;
 padding:0 10px;
 font-size:9px;
}
.classroom-tool-filter input{
 min-width:230px;
}
.classroom-tool-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:11px;
}
.classroom-tool-card{
 min-height:250px;
 padding:14px;
 border:1px solid var(--lsv-border);
 border-radius:var(--lsv-radius);
 background:#fff;
 display:flex;
 flex-direction:column;
 box-shadow:var(--lsv-shadow);
}
.classroom-tool-card header{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
}
.classroom-tool-card header span{
 padding:4px 7px;
 border-radius:999px;
 background:#edf3ff;
 color:#1765cf;
 font-size:7px;
 font-weight:850;
}
.classroom-tool-card time{
 color:#7a8798;
 font-size:7px;
}
.classroom-tool-card h2{
 margin:11px 0 0;
 color:#173b68;
 font-size:13px;
 line-height:1.3;
}
.classroom-tool-card>p{
 margin:6px 0 0;
 color:#66768c;
 font-size:8.5px;
 line-height:1.45;
}
.classroom-tool-tags{
 display:flex;
 flex-wrap:wrap;
 gap:5px;
 margin-top:10px;
}
.classroom-tool-tags span{
 padding:4px 7px;
 border-radius:999px;
 background:#f2f5f9;
 color:#5a6f89;
 font-size:7px;
}
.classroom-tool-card details{
 margin-top:10px;
}
.classroom-tool-card summary{
 color:#1765cf;
 font-size:8px;
 font-weight:800;
 cursor:pointer;
}
.classroom-tool-card details pre{
 margin-top:8px;
 max-height:300px;
 overflow:auto;
}
.classroom-tool-card footer{
 margin-top:auto;
 padding-top:12px;
 border-top:1px solid #edf1f6;
 display:flex;
 justify-content:space-between;
 gap:7px;
}
.classroom-tool-card footer form{margin:0}

.teacher-analytics-stats{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:10px;
 margin-bottom:13px;
}
.teacher-analytics-stats article{
 min-height:88px;
 padding:14px;
 border:1px solid var(--lsv-border);
 border-radius:var(--lsv-radius);
 background:#fff;
 box-shadow:var(--lsv-shadow);
}
.teacher-analytics-stats small{
 color:#68798f;
 font-size:8px;
}
.teacher-analytics-stats strong{
 display:block;
 margin-top:6px;
 color:#153b69;
 font-size:24px;
}
.teacher-analytics-grid{
 display:grid;
 grid-template-columns:1.5fr 1fr;
 gap:12px;
}
.teacher-analytics-grid .card{
 padding:15px;
}
.teacher-analytics-grid h2{
 margin:0 0 12px;
 color:#173b68;
 font-size:13px;
}
.teacher-weekly-bars{
 display:grid;
 gap:8px;
}
.teacher-weekly-bars>div{
 display:grid;
 grid-template-columns:34px minmax(0,1fr) 24px;
 gap:8px;
 align-items:center;
}
.teacher-weekly-bars span,
.teacher-weekly-bars strong{
 font-size:7.5px;
 color:#5b708a;
}
.teacher-weekly-bars i{
 height:8px;
 border-radius:999px;
 background:#e9eef5;
 overflow:hidden;
}
.teacher-weekly-bars b{
 display:block;
 height:100%;
 border-radius:999px;
 background:linear-gradient(90deg,#1765cf,#6fa7eb);
}
.teacher-category-rank{
 display:grid;
 gap:7px;
}
.teacher-category-rank>div{
 min-height:36px;
 display:grid;
 grid-template-columns:24px minmax(0,1fr) 25px;
 gap:7px;
 align-items:center;
 border-bottom:1px solid #edf1f6;
}
.teacher-category-rank b{
 width:22px;height:22px;border-radius:7px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:7px
}
.teacher-category-rank span{
 color:#425d7b;
 font-size:8.5px;
}
.teacher-category-rank strong{
 color:#173b68;
 font-size:9px;
 text-align:right;
}

@media(max-width:1100px){
 .teacher-tool-layout{grid-template-columns:1fr}
 .teacher-tool-aside{position:static}
 .classroom-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-analytics-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .ai-teaching-workspace-page .content,
 .classroom-toolkit-page .content,
 .teacher-analytics-page .content{padding:12px}
 .teacher-tool-heading{align-items:flex-start;flex-direction:column}
 .teacher-tool-heading h1{font-size:23px}
 .teacher-tool-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
 .classroom-tool-grid{grid-template-columns:1fr}
 .classroom-tool-filter{align-items:stretch;flex-direction:column}
 .classroom-tool-filter input{min-width:0;width:100%}
 .teacher-analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-analytics-grid{grid-template-columns:1fr}
}
@media(max-width:460px){
 .teacher-tool-picker{grid-template-columns:1fr}
 .teacher-analytics-stats{grid-template-columns:1fr}
}

.teacher-v10-tool-shortcuts{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
}
.teacher-v10-tool-shortcuts>a{
 min-height:70px;
 padding:10px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 display:grid;
 grid-template-columns:36px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 color:inherit;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
}
.teacher-v10-tool-shortcuts>a>span{
 width:35px;height:35px;border-radius:10px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:14px
}
.teacher-v10-tool-shortcuts>a:nth-child(2)>span{background:#eaf8f0;color:#288f63}
.teacher-v10-tool-shortcuts>a:nth-child(3)>span{background:#fff5df;color:#d88b0b}
.teacher-v10-tool-shortcuts strong{display:block;color:#183d6b;font-size:9.5px}
.teacher-v10-tool-shortcuts small{display:block;margin-top:3px;color:#718096;font-size:7.5px}
.teacher-v10-tool-shortcuts b{color:#1765cf;font-size:7.5px}
@media(max-width:900px){.teacher-v10-tool-shortcuts{grid-template-columns:1fr}}


/* V10.1 Phase 1 — Professional Document Reader */
.reader-command-bar{
 position:sticky;
 top:0;
 z-index:70;
 backdrop-filter:blur(14px);
}
.reader-command-actions{
 flex-wrap:nowrap;
}
.reader-tool.active{
 background:#eaf2ff!important;
 color:#1765cf!important;
 border-color:#b9cfed!important;
}
.reader-session-timer{
 min-width:46px;
 height:30px;
 padding:0 7px;
 border:1px solid #dce5ef;
 border-radius:7px;
 background:#fff;
 color:#526a86;
 display:flex;
 align-items:center;
 justify-content:center;
 font-size:7.5px;
 font-variant-numeric:tabular-nums;
}
.reader-page-list a.bookmarked{
 border-color:#f0c96a;
 background:#fff9e9;
}
.reader-page-list a.bookmarked span:after{
 content:"•";
 margin-left:4px;
 color:#d7950b;
}
.reader-highlight-toolbar{
 margin:8px 0;
 padding:8px 9px;
 border:1px solid #dfe7f1;
 border-radius:8px;
 background:#fff;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
}
.reader-highlight-toolbar[hidden]{display:none!important}
.reader-highlight-toolbar>span{
 color:#45607e;
 font-size:8px;
 font-weight:750;
}
.reader-highlight-toolbar>div{
 display:flex;
 gap:5px;
}
.reader-highlight-toolbar button{
 width:21px;
 height:21px;
 border:1px solid rgba(0,0,0,.08);
 border-radius:6px;
 cursor:pointer;
}
.reader-highlight-toolbar .yellow{background:#ffe889}
.reader-highlight-toolbar .green{background:#bfe9c9}
.reader-highlight-toolbar .blue{background:#b9d9ff}
.reader-highlight-toolbar .pink{background:#f6c3d7}

.reader-highlights-list{
 display:grid;
 gap:8px;
}
.reader-highlight-item{
 padding:10px;
 border-left:4px solid #e5c84f;
 border-radius:8px;
 background:#fffbea;
}
.reader-highlight-item.green{border-left-color:#58ae74;background:#f0fbf3}
.reader-highlight-item.blue{border-left-color:#4e91da;background:#f0f7ff}
.reader-highlight-item.pink{border-left-color:#d76894;background:#fff2f7}
.reader-highlight-item>div{
 display:flex;
 justify-content:space-between;
 gap:8px;
}
.reader-highlight-item strong,
.reader-highlight-item time{
 font-size:7.5px;
 color:#516985;
}
.reader-highlight-item p{
 margin:6px 0;
 color:#344e6d;
 font-size:8.5px;
 line-height:1.4;
}
.reader-highlight-item footer{
 display:flex;
 justify-content:space-between;
 align-items:center;
}
.reader-highlight-item footer a,
.reader-highlight-item footer button{
 border:0;
 background:transparent;
 color:#1765cf;
 font-size:7.5px;
 font-weight:800;
 cursor:pointer;
}
.reader-highlight-item footer button{
 color:#cf4d58;
}

.reader-note-options{
 display:grid!important;
 grid-template-columns:1fr 1fr;
 gap:7px;
 margin:7px 0;
}
.reader-note-options label{
 display:grid;
 gap:4px;
 color:#5d7189;
 font-size:7.5px;
}
.reader-note-options select{
 height:31px;
 border:1px solid #dce5ef;
 border-radius:7px;
 background:#fff;
 color:#3d5673;
 padding:0 7px;
 font-size:8px;
}
.reader-notes-list article.sticky{
 border:1px solid #efd77e;
 background:#fff9df;
 box-shadow:0 5px 14px rgba(75,62,18,.06);
}
.reader-notes-list article.sticky.green{border-color:#a6d7b5;background:#effbf2}
.reader-notes-list article.sticky.blue{border-color:#a9ccee;background:#eff7ff}
.reader-notes-list article.sticky.pink{border-color:#eab2c8;background:#fff1f6}
.reader-notes-list article footer{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
}
.reader-notes-list article footer form{margin:0}
.reader-notes-list article footer button{
 border:0;
 background:transparent;
 color:#ce4d58;
 font-size:7.5px;
 cursor:pointer;
}

.reader-action-toast{
 position:fixed;
 left:50%;
 bottom:24px;
 z-index:250;
 transform:translate(-50%,15px);
 padding:9px 13px;
 border-radius:999px;
 background:#153967;
 color:#fff;
 font-size:8.5px;
 box-shadow:0 8px 24px rgba(10,31,57,.22);
 opacity:0;
 pointer-events:none;
 transition:.18s;
}
.reader-action-toast.show{
 opacity:1;
 transform:translate(-50%,0);
}

.reader-document-dark{
 background:#111822!important;
}
.reader-dark-mode .reader-info-panel,
.reader-dark-mode .reader-insight-panel,
.reader-dark-mode .reader-command-bar,
.reader-dark-mode .reader-tab-panel,
.reader-dark-mode .reader-resource-heading,
.reader-dark-mode .reader-progress-card{
 background:#182230!important;
 color:#e5edf7!important;
 border-color:#2c3a4d!important;
}
.reader-dark-mode .reader-document-stage{
 background:#0f151e!important;
}
.reader-dark-mode .reader-resource-heading h2,
.reader-dark-mode .reader-panel-heading strong,
.reader-dark-mode .reader-tabs button,
.reader-dark-mode .reader-summary-text,
.reader-dark-mode .reader-notes-list p,
.reader-dark-mode .reader-extracted-text{
 color:#e2ebf5!important;
}
.reader-dark-mode .reader-tabs button.active{
 color:#72a8ef!important;
}
.reader-dark-mode .reader-extracted-text,
.reader-dark-mode .reader-note-form textarea,
.reader-dark-mode .reader-page-search input,
.reader-dark-mode .reader-note-options select{
 background:#111a25!important;
 color:#dfe8f2!important;
 border-color:#34465b!important;
}
.reader-dark-mode .reader-session-timer{
 background:#182230;
 color:#dce7f2;
 border-color:#34465b;
}

body.reader-presentation-mode .sidebar,
body.reader-presentation-mode .top-header,
body.reader-presentation-mode .topbar,
body.reader-presentation-mode .breadcrumbs,
body.reader-presentation-mode .reader-info-panel,
body.reader-presentation-mode .reader-insight-panel,
body.reader-presentation-mode .reader-related-section,
body.reader-presentation-mode .lsv-chat-widget{
 display:none!important;
}
body.reader-presentation-mode .layout{
 grid-template-columns:1fr!important;
}
body.reader-presentation-mode .main-shell,
body.reader-presentation-mode .content{
 margin:0!important;
 padding:0!important;
 max-width:none!important;
}
body.reader-presentation-mode .professional-reader{
 grid-template-columns:1fr!important;
 height:calc(100vh - 54px);
}
body.reader-presentation-mode .reader-document-stage,
body.reader-presentation-mode .reader-frame-wrap{
 height:100%!important;
 min-height:0!important;
}
body.reader-presentation-mode .reader-command-bar{
 top:0!important;
 border-radius:0!important;
}

.reader-frame-wrap{
 scroll-behavior:smooth;
}

@media(max-width:900px){
 .reader-command-bar{
  gap:6px;
 }
 .reader-command-actions{
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
 }
 .reader-command-actions::-webkit-scrollbar{display:none}
 .reader-session-timer{
  flex:0 0 auto;
 }
}
@media(max-width:600px){
 .reader-command-title>div small{
  display:none;
 }
 .reader-page-control label{
  font-size:7.5px;
 }
 .reader-note-options{
  grid-template-columns:1fr;
 }
 .reader-highlight-toolbar{
  align-items:flex-start;
  flex-direction:column;
 }
}
@media(prefers-reduced-motion:reduce){
 .reader-action-toast{transition:none}
 .reader-frame-wrap{scroll-behavior:auto}
}


/* V10.1 Phase 2 — AI Quality & Grounding */
.ai-answer-quality{
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:6px;
 margin-bottom:8px;
}
.ai-answer-quality span,
.ai-answer-quality b,
.ai-confidence-pill{
 padding:4px 7px;
 border-radius:999px;
 font-size:7.5px;
 font-weight:800;
}
.ai-answer-quality span,
.ai-confidence-pill{
 background:#fff1f1;
 color:#b64951;
}
.ai-answer-quality b{
 background:#edf8f1;
 color:#27885f;
}
.ai-answer-quality.medium span,
.ai-confidence-pill.medium{
 background:#fff6e4;
 color:#aa7411;
}
.ai-answer-quality.high span,
.ai-confidence-pill.high{
 background:#eaf8f0;
 color:#27885f;
}
.ai-workspace-confidence{
 display:inline-flex;
 margin-top:6px;
 padding:4px 7px;
 border-radius:999px;
 background:#fff1f1;
 color:#b64951;
 font-size:7px;
 font-weight:800;
}
.ai-workspace-confidence.medium{background:#fff6e4;color:#aa7411}
.ai-workspace-confidence.high{background:#eaf8f0;color:#27885f}

.ai-quality-overview{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:10px;
 margin-bottom:14px;
}
.ai-quality-overview article{
 min-height:92px;
 padding:13px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 box-shadow:0 3px 12px rgba(17,54,97,.035);
}
.ai-quality-overview small{
 display:block;
 color:#66788f;
 font-size:8px;
}
.ai-quality-overview strong{
 display:block;
 margin-top:6px;
 color:#173b68;
 font-size:22px;
}
.ai-quality-overview span{
 display:block;
 margin-top:4px;
 color:#78869a;
 font-size:7.5px;
}
.ai-quality-overview article.good{border-top:3px solid #2d9c68}
.ai-quality-overview article.medium{border-top:3px solid #dfa121}
.ai-quality-overview article.warning{border-top:3px solid #d85b64}

.ai-quality-grid{
 display:grid;
 grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
 gap:12px;
}
.ai-quality-grid>.card{padding:14px}
.ai-quality-log-list,
.ai-search-gap-list{
 display:grid;
 gap:6px;
}
.ai-quality-log-list article{
 min-height:50px;
 padding:8px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:9px;
 align-items:center;
}
.ai-quality-log-list article:last-child{border-bottom:0}
.ai-quality-log-list strong{
 display:block;
 color:#35516f;
 font-size:8.5px;
 line-height:1.35;
}
.ai-quality-log-list small{
 display:block;
 margin-top:3px;
 color:#7b8898;
 font-size:7px;
}
.ai-confidence-pill.low{background:#fff1f1;color:#b64951}
.ai-search-gap-list article{
 min-height:36px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 border-bottom:1px solid #edf1f6;
}
.ai-search-gap-list span{
 color:#435d79;
 font-size:8.5px;
}
.ai-search-gap-list strong{
 min-width:28px;
 height:22px;
 padding:0 6px;
 border-radius:999px;
 background:#fff1f1;
 color:#b64951;
 display:grid;
 place-items:center;
 font-size:7px;
}
.page-head-actions{
 display:flex;
 align-items:center;
 gap:7px;
 flex-wrap:wrap;
}
.page-head-actions form{margin:0}

@media(max-width:1100px){
 .ai-quality-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ai-quality-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .ai-quality-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ai-quality-log-list article{grid-template-columns:1fr}
 .ai-confidence-pill{justify-self:start}
}
@media(max-width:430px){
 .ai-quality-overview{grid-template-columns:1fr}
}


/* V10.1 Phase 3 — Advanced Classroom Toolkit & Lesson Integration */
.tool-editor-page{
 background:var(--lsv-page,#f7f9fd);
}
.tool-editor-page .content{
 padding:16px 18px 28px;
}
.tool-editor-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 310px;
 gap:14px;
 align-items:start;
}
.tool-editor-layout>main{
 display:grid;
 gap:12px;
 min-width:0;
}
.tool-editor-form{
 display:grid;
 gap:12px;
 padding:16px;
}
.tool-editor-meta{
 display:flex;
 flex-wrap:wrap;
 gap:6px;
}
.tool-editor-meta span{
 padding:5px 8px;
 border-radius:999px;
 background:#edf3ff;
 color:#1765cf;
 font-size:7.5px;
 font-weight:800;
}
.tool-editor-form label{
 display:grid;
 gap:6px;
 color:#173b68;
 font-size:9px;
 font-weight:800;
}
.tool-editor-textarea{
 min-height:530px!important;
 padding:14px!important;
 resize:vertical;
 font-family:inherit;
 line-height:1.55;
 font-size:10px!important;
}
.tool-editor-save-row{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}
.tool-editor-save-row small{
 color:#718096;
 font-size:8px;
}
.tool-regenerate-card,
.tool-source-card{
 padding:15px;
}
.tool-regenerate-card h2,
.tool-source-card h2,
.tool-editor-aside h2{
 margin:0 0 7px;
 color:#153967;
 font-size:13px;
}
.tool-regenerate-card>p{
 margin:0 0 11px;
 color:#6c7d91;
 font-size:8.5px;
 line-height:1.45;
}
.tool-regenerate-card form{
 display:flex;
 align-items:center;
 gap:8px;
}
.tool-regenerate-card select,
.tool-lesson-attach select{
 min-height:38px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#38516f;
 padding:0 9px;
 font-size:8.5px;
}
.tool-regenerate-card select{
 flex:1;
}
.tool-editor-aside{
 display:grid;
 gap:12px;
 position:sticky;
 top:84px;
}
.tool-editor-aside>.card{
 padding:14px;
}
.tool-lesson-attach{
 display:grid;
 gap:8px;
}
.tool-attached-lessons{
 display:grid;
 gap:6px;
 margin-top:12px;
 padding-top:10px;
 border-top:1px solid #edf1f6;
}
.tool-attached-lessons>strong{
 color:#465f7b;
 font-size:8px;
}
.tool-attached-lessons>a{
 min-height:30px;
 padding:7px 8px;
 border-radius:7px;
 background:#f3f7fc;
 color:#1765cf;
 font-size:8px;
}
.tool-version-list{
 display:grid;
 gap:5px;
 max-height:330px;
 overflow:auto;
}
.tool-version-list article{
 min-height:48px;
 padding:7px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
}
.tool-version-list strong{
 display:block;
 color:#3d5876;
 font-size:8px;
}
.tool-version-list small{
 display:block;
 margin-top:3px;
 color:#7d8999;
 font-size:6.8px;
}
.tool-version-list form{margin:0}
.tool-version-list button{
 border:0;
 background:#edf3ff;
 color:#1765cf;
 border-radius:6px;
 min-height:26px;
 padding:0 8px;
 font-size:7px;
 font-weight:800;
 cursor:pointer;
}
.classroom-tool-card-actions{
 flex-wrap:wrap;
}
.classroom-tool-card-actions .btn{
 min-width:42px;
}
.lesson-attached-tools{
 margin-top:13px;
 padding-top:12px;
 border-top:1px solid #e7edf4;
}
.lesson-attached-tools-head{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 margin-bottom:8px;
}
.lesson-attached-tools-head h3{
 margin:0;
 color:#153967;
 font-size:11px;
}
.lesson-attached-tools-head a{
 color:#1765cf;
 font-size:7.5px;
 font-weight:800;
}
.lesson-attached-tools>article{
 min-height:54px;
 padding:8px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
}
.lesson-attached-tools>article strong{
 display:block;
 color:#39536f;
 font-size:8.5px;
}
.lesson-attached-tools>article small{
 display:block;
 margin-top:2px;
 color:#7b8797;
 font-size:7px;
}
.lesson-attached-tool-actions{
 display:flex;
 align-items:center;
 gap:5px;
}
.lesson-attached-tool-actions form{margin:0}
.lesson-attached-tool-actions a,
.lesson-attached-tool-actions button{
 border:0;
 background:transparent;
 color:#1765cf;
 font-size:7px;
 font-weight:800;
 cursor:pointer;
}
.lesson-attached-tool-actions button{
 color:#ce4d58;
}
@media(max-width:1050px){
 .tool-editor-layout{grid-template-columns:1fr}
 .tool-editor-aside{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .tool-editor-page .content{padding:12px}
 .tool-editor-aside{grid-template-columns:1fr}
 .tool-regenerate-card form{align-items:stretch;flex-direction:column}
 .tool-regenerate-card select{width:100%}
 .tool-editor-save-row{align-items:flex-start;flex-direction:column}
 .tool-editor-textarea{min-height:420px!important}
}


/* V10.1 Phase 4 — Repository Health & Administrator Intelligence */
.repository-health-page{
 background:#f7f9fd;
}
.repository-health-page .content{
 padding:16px 18px 30px;
}
.repository-health-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:18px;
 margin-bottom:14px;
}
.repository-health-eyebrow{
 display:block;
 margin-bottom:4px;
 color:#1765cf;
 font-size:7.5px;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.55px;
}
.repository-health-heading h1{
 margin:0;
 color:#123968;
 font-size:28px;
 letter-spacing:-.5px;
}
.repository-health-heading p{
 max-width:720px;
 margin:5px 0 0;
 color:#66768c;
 font-size:10.5px;
 line-height:1.45;
}
.repository-health-hero{
 display:grid;
 grid-template-columns:minmax(340px,1.05fr) minmax(0,1.25fr);
 gap:11px;
 margin-bottom:12px;
}
.repository-health-score{
 min-height:154px;
 padding:16px;
 border:1px solid #dfe7f1;
 border-radius:13px;
 background:#fff;
 display:grid;
 grid-template-columns:116px minmax(0,1fr);
 gap:16px;
 align-items:center;
 box-shadow:0 4px 16px rgba(16,53,96,.04);
}
.repository-health-ring{
 --score:0;
 width:108px;
 height:108px;
 border-radius:50%;
 background:conic-gradient(#d95b64 calc(var(--score)*1%),#edf1f6 0);
 display:grid;
 place-items:center;
 position:relative;
}
.repository-health-score.medium .repository-health-ring{
 background:conic-gradient(#d99a19 calc(var(--score)*1%),#edf1f6 0);
}
.repository-health-score.good .repository-health-ring{
 background:conic-gradient(#2d9a68 calc(var(--score)*1%),#edf1f6 0);
}
.repository-health-ring:before{
 content:"";
 position:absolute;
 inset:10px;
 border-radius:50%;
 background:#fff;
}
.repository-health-ring>span{
 position:relative;
 z-index:1;
 text-align:center;
}
.repository-health-ring strong{
 display:block;
 color:#173b68;
 font-size:24px;
 line-height:1;
}
.repository-health-ring small{
 display:block;
 margin-top:5px;
 color:#718096;
 font-size:7px;
}
.repository-health-score h2{
 margin:0;
 color:#173b68;
 font-size:15px;
}
.repository-health-score p{
 margin:6px 0;
 color:#65768d;
 font-size:8.5px;
 line-height:1.45;
}
.repository-health-score>div:last-child>small{
 color:#8792a2;
 font-size:7px;
}
.repository-health-summary{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:9px;
}
.repository-health-summary article{
 min-height:72px;
 padding:12px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
}
.repository-health-summary small{
 display:block;
 color:#68798f;
 font-size:7.5px;
}
.repository-health-summary strong{
 display:block;
 margin-top:4px;
 color:#173b68;
 font-size:20px;
}
.repository-health-summary span{
 display:block;
 margin-top:3px;
 color:#7b899a;
 font-size:7px;
}

.repository-coverage-grid{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:9px;
 margin-bottom:12px;
}
.repository-coverage-grid article{
 min-height:104px;
 padding:12px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
}
.repository-coverage-grid article>div{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.repository-coverage-grid strong{
 color:#3d5673;
 font-size:8.5px;
}
.repository-coverage-grid article>div>span{
 color:#173b68;
 font-size:13px;
 font-weight:850;
}
.repository-coverage-grid i{
 display:block;
 height:6px;
 margin:10px 0 7px;
 border-radius:999px;
 background:#e9eef5;
 overflow:hidden;
}
.repository-coverage-grid b{
 display:block;
 height:100%;
 border-radius:999px;
 background:linear-gradient(90deg,#1765cf,#6fa7eb);
}
.repository-coverage-grid small{
 color:#78869a;
 font-size:7px;
}

.repository-health-issue-cards{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px;
 margin-bottom:13px;
}
.repository-health-issue-cards>a{
 min-height:86px;
 padding:11px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 display:grid;
 grid-template-columns:35px minmax(0,1fr);
 gap:9px;
 align-items:start;
 color:inherit;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
 transition:transform .18s ease,border-color .18s ease;
}
.repository-health-issue-cards>a:hover{
 transform:translateY(-2px);
 border-color:#bfd3ed;
}
.repository-health-issue-cards>a>span{
 width:34px;
 height:34px;
 border-radius:9px;
 display:grid;
 place-items:center;
 background:#edf3ff;
 color:#1765cf;
 font-size:13px;
 font-weight:900;
}
.repository-health-issue-cards>a.tone-critical>span{
 background:#fff0f1;
 color:#c84f59;
}
.repository-health-issue-cards>a.tone-warning>span{
 background:#fff6e5;
 color:#bc8117;
}
.repository-health-issue-cards strong{
 display:block;
 color:#173b68;
 font-size:17px;
 line-height:1;
}
.repository-health-issue-cards small{
 display:block;
 margin-top:3px;
 color:#435d79;
 font-size:8px;
 font-weight:800;
}
.repository-health-issue-cards p{
 margin:4px 0 0;
 color:#7a8798;
 font-size:6.9px;
 line-height:1.3;
}

.repository-health-main{
 display:grid;
 grid-template-columns:minmax(0,1fr) 290px;
 gap:13px;
 align-items:start;
}
.repository-health-main>main{
 display:grid;
 gap:11px;
 min-width:0;
}
.repository-health-panel{
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 box-shadow:0 3px 12px rgba(16,53,96,.03);
 overflow:hidden;
 scroll-margin-top:85px;
}
.repository-health-panel>header{
 min-height:62px;
 padding:12px 14px;
 border-bottom:1px solid #edf1f6;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}
.repository-health-panel h2{
 margin:0;
 color:#173b68;
 font-size:12px;
}
.repository-health-panel header p{
 margin:4px 0 0;
 color:#718096;
 font-size:7.5px;
}
.repository-health-count{
 min-width:27px;
 height:27px;
 padding:0 7px;
 border-radius:999px;
 background:#edf3ff;
 color:#1765cf;
 display:grid;
 place-items:center;
 font-size:8px;
 font-weight:900;
}
.repository-health-count.tone-critical{background:#fff0f1;color:#c84f59}
.repository-health-count.tone-warning{background:#fff6e5;color:#bc8117}
.repository-health-list{
 padding:0 14px;
}
.repository-health-list article{
 min-height:57px;
 padding:9px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:12px;
 align-items:center;
}
.repository-health-list article:last-child{border-bottom:0}
.repository-health-item-main strong{
 display:block;
 color:#385370;
 font-size:8.7px;
}
.repository-health-item-main small{
 display:block;
 margin-top:3px;
 color:#7a8798;
 font-size:7px;
 line-height:1.35;
}
.repository-health-item-actions{
 display:flex;
 align-items:center;
 gap:5px;
}
.repository-health-item-actions a{
 min-height:27px;
 padding:0 8px;
 border:1px solid #dce5ef;
 border-radius:7px;
 background:#fff;
 color:#1765cf;
 display:flex;
 align-items:center;
 font-size:7px;
 font-weight:800;
 white-space:nowrap;
}
.repository-health-clear{
 min-height:110px;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
 padding:18px;
}
.repository-health-clear>span{
 width:34px;height:34px;border-radius:50%;background:#eaf8f0;color:#27885f;display:grid;place-items:center;font-size:14px;font-weight:900
}
.repository-health-clear strong{
 margin-top:7px;
 color:#365271;
 font-size:9px;
}
.repository-health-clear p{
 margin:3px 0 0;
 color:#7b899a;
 font-size:7.5px;
}

.repository-health-aside{
 display:grid;
 gap:11px;
 position:sticky;
 top:84px;
}
.repository-health-aside>.card{
 padding:13px;
}
.repository-health-aside h2{
 margin:0 0 9px;
 color:#173b68;
 font-size:12px;
}
.repository-health-guidance{
 display:grid;
 gap:7px;
}
.repository-health-guidance article{
 padding:9px;
 border-left:3px solid #6b9ee3;
 border-radius:7px;
 background:#f5f8fd;
}
.repository-health-guidance article.warning{
 border-color:#dda024;
 background:#fff9ea;
}
.repository-health-guidance article.critical{
 border-color:#d85a64;
 background:#fff4f5;
}
.repository-health-guidance article.good{
 border-color:#2d9a68;
 background:#f0faf4;
}
.repository-health-guidance strong{
 display:block;
 color:#415b78;
 font-size:8px;
}
.repository-health-guidance p{
 margin:4px 0 0;
 color:#6f7e90;
 font-size:7px;
 line-height:1.35;
}
.repository-health-history{
 display:grid;
 gap:5px;
}
.repository-health-history article{
 min-height:38px;
 padding:6px 0;
 border-bottom:1px solid #edf1f6;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.repository-health-history strong{
 display:block;
 color:#173b68;
 font-size:10px;
}
.repository-health-history small{
 display:block;
 margin-top:2px;
 color:#7d8999;
 font-size:6.5px;
}
.repository-health-history>article>span{
 color:#68798f;
 font-size:7px;
}
.repository-health-quick{
 min-height:46px;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:29px minmax(0,1fr);
 gap:7px;
 align-items:center;
 color:inherit;
}
.repository-health-quick>span{
 width:28px;height:28px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:11px
}
.repository-health-quick strong{
 display:block;
 color:#405a77;
 font-size:8px;
}
.repository-health-quick small{
 display:block;
 margin-top:2px;
 color:#7c8898;
 font-size:6.8px;
}

@media(max-width:1200px){
 .repository-coverage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .repository-health-issue-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1000px){
 .repository-health-hero{grid-template-columns:1fr}
 .repository-health-main{grid-template-columns:1fr}
 .repository-health-aside{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .repository-health-page .content{padding:12px}
 .repository-health-heading{align-items:flex-start;flex-direction:column}
 .repository-health-heading h1{font-size:24px}
 .repository-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .repository-health-issue-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .repository-health-aside{grid-template-columns:1fr}
 .repository-health-list article{grid-template-columns:1fr}
 .repository-health-item-actions{flex-wrap:wrap}
}
@media(max-width:480px){
 .repository-health-score{grid-template-columns:1fr;text-align:center}
 .repository-health-ring{margin:auto}
 .repository-health-summary{grid-template-columns:1fr 1fr}
 .repository-coverage-grid{grid-template-columns:1fr}
 .repository-health-issue-cards{grid-template-columns:1fr}
}


/* V10.1 Phase 5 — Production Security, Performance & Final UAT */
.production-readiness-page{
 background:#f7f9fd;
}
.production-readiness-page .content{
 padding:16px 18px 30px;
}
.production-readiness-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:16px;
 margin-bottom:14px;
}
.production-readiness-heading>div>span{
 color:#1765cf;
 font-size:7.5px;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.55px;
}
.production-readiness-heading h1{
 margin:4px 0 0;
 color:#123968;
 font-size:28px;
}
.production-readiness-heading p{
 margin:5px 0 0;
 color:#66768c;
 font-size:10px;
}
.production-readiness-heading form{margin:0}
.production-readiness-summary{
 display:grid;
 grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
 gap:11px;
 margin-bottom:12px;
}
.production-readiness-summary>article{
 min-height:125px;
 padding:15px;
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 display:grid;
 grid-template-columns:92px minmax(0,1fr);
 gap:14px;
 align-items:center;
 box-shadow:0 4px 15px rgba(16,53,96,.04);
}
.production-readiness-summary>article>strong{
 width:86px;
 height:86px;
 border-radius:50%;
 background:#fff3e7;
 color:#b97713;
 display:grid;
 place-items:center;
 font-size:22px;
}
.production-readiness-summary>article.ready>strong{
 background:#eaf8f0;
 color:#27885f;
}
.production-readiness-summary h2{
 margin:0;
 color:#173b68;
 font-size:14px;
}
.production-readiness-summary p{
 margin:5px 0 0;
 color:#6f7e91;
 font-size:8px;
 line-height:1.4;
}
.production-readiness-counters{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:9px;
}
.production-readiness-counters article{
 min-height:58px;
 padding:10px;
 border:1px solid #dfe7f1;
 border-radius:10px;
 background:#fff;
}
.production-readiness-counters small{
 display:block;
 color:#718096;
 font-size:7px;
}
.production-readiness-counters strong{
 display:block;
 margin-top:4px;
 color:#173b68;
 font-size:18px;
}
.production-check-list{
 display:grid;
 gap:7px;
 margin-bottom:12px;
}
.production-check-list article{
 min-height:58px;
 padding:10px 12px;
 border:1px solid #dfe7f1;
 border-radius:10px;
 background:#fff;
 display:grid;
 grid-template-columns:30px minmax(0,1fr) auto;
 gap:9px;
 align-items:center;
}
.production-check-list article>span{
 width:28px;
 height:28px;
 border-radius:50%;
 display:grid;
 place-items:center;
 background:#eaf8f0;
 color:#27885f;
 font-size:11px;
 font-weight:900;
}
.production-check-list article.fail>span{
 background:#fff0f1;
 color:#c85059;
}
.production-check-list strong{
 display:block;
 color:#3c5674;
 font-size:8.5px;
}
.production-check-list p{
 margin:3px 0 0;
 color:#7a8798;
 font-size:7px;
}
.production-check-list b{
 min-width:54px;
 padding:5px 7px;
 border-radius:999px;
 background:#eaf8f0;
 color:#27885f;
 font-size:7px;
 text-align:center;
}
.production-check-list article.fail b{
 background:#fff0f1;
 color:#c85059;
}
.production-readiness-guidance{
 padding:15px;
}
.production-readiness-guidance h2{
 margin:0;
 color:#173b68;
 font-size:13px;
}
.production-readiness-guidance p{
 margin:6px 0 12px;
 max-width:900px;
 color:#6c7d91;
 font-size:8px;
 line-height:1.45;
}
.production-readiness-guidance>div{
 display:flex;
 flex-wrap:wrap;
 gap:7px;
}
@media(max-width:900px){
 .production-readiness-summary{grid-template-columns:1fr}
}
@media(max-width:650px){
 .production-readiness-page .content{padding:12px}
 .production-readiness-heading{align-items:flex-start;flex-direction:column}
 .production-readiness-heading h1{font-size:24px}
 .production-check-list article{grid-template-columns:30px minmax(0,1fr)}
 .production-check-list b{grid-column:2;justify-self:start}
}


/* V11.0 — Enterprise Repository Governance & Content Lifecycle */
.governance-page{background:#f7f9fd}
.governance-page .content{padding:16px 18px 30px}
.governance-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.governance-heading>div>span{display:block;color:#1765cf;font-size:7.5px;font-weight:900;text-transform:uppercase;letter-spacing:.55px}
.governance-heading h1{margin:4px 0 0;color:#123968;font-size:28px;letter-spacing:-.45px}
.governance-heading p{margin:5px 0 0;max-width:760px;color:#66768c;font-size:10px;line-height:1.45}
.governance-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:13px}
.governance-stats article{min-height:85px;padding:12px;border:1px solid #dfe7f1;border-radius:11px;background:#fff;box-shadow:0 3px 12px rgba(16,53,96,.03)}
.governance-stats small{display:block;color:#6e7e91;font-size:7.2px}
.governance-stats strong{display:block;margin-top:5px;color:#173b68;font-size:21px}
.governance-stats span{display:block;margin-top:3px;color:#8490a0;font-size:6.8px}
.governance-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:start}
.governance-dashboard-grid>main{display:grid;gap:11px}
.governance-dashboard-grid>aside{display:grid;gap:11px;position:sticky;top:84px}
.governance-panel{padding:14px}
.governance-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
.governance-panel h2,.governance-event-card h2,.governance-links h2,.lifecycle-form h2,.lifecycle-history h2,.lifecycle-action-card h2{margin:0;color:#173b68;font-size:12px}
.governance-panel header p{margin:4px 0 0;color:#758296;font-size:7.4px}
.governance-panel header>a{color:#1765cf;font-size:7.3px;font-weight:800}
.governance-list{display:grid}
.governance-list article{min-height:48px;padding:7px 0;border-bottom:1px solid #edf1f6;display:grid;grid-template-columns:minmax(0,1fr) 82px 48px;gap:8px;align-items:center}
.governance-list article:last-child{border-bottom:0}
.governance-list strong{display:block;color:#3a5572;font-size:8.2px}
.governance-list small{display:block;margin-top:2px;color:#7f8b9b;font-size:6.7px}
.governance-list>article>span{padding:4px 6px;border-radius:999px;background:#edf3ff;color:#1765cf;font-size:7px;text-align:center}
.governance-list>article>span.overdue{background:#fff0f1;color:#c85059}
.governance-list>article>a{color:#1765cf;font-size:7px;font-weight:800;text-align:right}
.governance-event-card,.governance-links{padding:13px}
.governance-event-card>div{display:grid;margin-top:8px}
.governance-event-card article{min-height:46px;padding:6px 0;border-bottom:1px solid #edf1f6;display:grid;grid-template-columns:28px minmax(0,1fr);gap:7px;align-items:center}
.governance-event-card article>span{width:27px;height:27px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:6.5px;font-weight:900}
.governance-event-card strong{display:block;color:#405a77;font-size:7.8px}
.governance-event-card small{display:block;margin-top:2px;color:#818c9a;font-size:6.3px;line-height:1.3}
.governance-links>a{min-height:38px;border-bottom:1px solid #edf1f6;color:#3d5876;display:flex;align-items:center;justify-content:space-between;font-size:8px}
.governance-links>a span{color:#1765cf}

.governance-filter{display:flex;gap:8px;align-items:center;margin-bottom:12px}
.governance-filter select,.governance-filter input{height:36px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#38516f;padding:0 10px;font-size:8.5px}
.governance-filter input{min-width:240px}
.approval-list{display:grid;gap:9px}
.approval-card{min-height:145px;padding:10px;border:1px solid #dfe7f1;border-radius:11px;background:#fff;display:grid;grid-template-columns:100px minmax(0,1fr) 260px;gap:12px;align-items:center;box-shadow:0 3px 12px rgba(16,53,96,.03)}
.approval-cover{width:100px;height:124px;border-radius:8px;background:#eef3fb;overflow:hidden;display:grid;place-items:center;color:#1765cf;font-weight:900}
.approval-cover-image{width:100%;height:100%;object-fit:cover}
.approval-meta{display:flex;flex-wrap:wrap;gap:5px}
.approval-meta span{padding:4px 7px;border-radius:999px;background:#edf3ff;color:#1765cf;font-size:6.5px;font-weight:800}
.approval-main h2{margin:8px 0 0;color:#173b68;font-size:12px}
.approval-main h2 a{color:inherit}
.approval-main p{margin:5px 0 0;color:#68798f;font-size:8px;line-height:1.4}
.approval-main>small{display:block;margin-top:7px;color:#818d9b;font-size:6.6px}
.approval-actions{display:grid;gap:7px}
.approval-actions textarea,.duplicate-decision-form textarea,.lifecycle-action-card textarea{width:100%;border:1px solid #dce5ef;border-radius:8px;padding:8px;color:#38516f;font-size:8px;resize:vertical}
.approval-actions>div,.duplicate-decision-form>div{display:flex;gap:6px;flex-wrap:wrap}

.duplicate-filter-tabs{display:flex;gap:6px;margin-bottom:11px;overflow-x:auto}
.duplicate-filter-tabs a{min-height:32px;padding:0 10px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#506985;display:flex;align-items:center;font-size:7.5px;font-weight:800}
.duplicate-filter-tabs a.active{background:#edf3ff;color:#1765cf;border-color:#bfd2ee}
.duplicate-resolution-list{display:grid;gap:10px}
.duplicate-resolution-list>article{padding:13px;border:1px solid #dfe7f1;border-radius:11px;background:#fff;box-shadow:0 3px 12px rgba(16,53,96,.03)}
.duplicate-resolution-list>article>header{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.duplicate-resolution-list>article>header span,.duplicate-resolution-list>article>header b{padding:4px 7px;border-radius:999px;background:#edf3ff;color:#1765cf;font-size:6.8px}
.duplicate-resolution-list>article>header strong{margin-left:auto;color:#173b68;font-size:9px}
.duplicate-pair{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);gap:10px;align-items:center}
.duplicate-pair>section{padding:11px;border:1px solid #edf1f6;border-radius:9px;background:#fbfcfe}
.duplicate-pair>span{width:32px;height:32px;border-radius:50%;background:#f1f4f8;color:#6d7f94;display:grid;place-items:center;font-size:7px;font-weight:900}
.duplicate-pair small{color:#7a8798;font-size:6.8px}
.duplicate-pair h2{margin:6px 0;color:#173b68;font-size:10px}
.duplicate-pair h2 a{color:inherit}
.duplicate-pair p{margin:0;color:#68798f;font-size:7px}
.duplicate-pair section>a{display:inline-block;margin-top:7px;color:#1765cf;font-size:7px;font-weight:800}
.duplicate-decision-form{display:grid;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid #edf1f6}

.lifecycle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}
.lifecycle-summary article{min-height:73px;padding:11px;border:1px solid #dfe7f1;border-radius:10px;background:#fff}
.lifecycle-summary small{display:block;color:#708096;font-size:7px}
.lifecycle-summary strong{display:block;margin-top:5px;color:#173b68;font-size:13px}
.lifecycle-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:12px;align-items:start}
.lifecycle-layout>main{display:grid;gap:11px}
.lifecycle-layout>aside{position:sticky;top:84px}
.lifecycle-form,.lifecycle-history,.lifecycle-action-card{padding:14px}
.lifecycle-form{display:grid;gap:12px}
.lifecycle-form label{display:grid;gap:5px;color:#405a77;font-size:8px;font-weight:800}
.lifecycle-history>article{min-height:55px;padding:8px 0;border-bottom:1px solid #edf1f6;display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px}
.lifecycle-history>article>span{width:29px;height:29px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:6.5px;font-weight:900}
.lifecycle-history strong{display:block;color:#3b5674;font-size:8px}
.lifecycle-history p{margin:3px 0;color:#758296;font-size:7px}
.lifecycle-history small{font-size:6.5px;color:#8792a1}
.lifecycle-action-card>p{color:#6f7f91;font-size:8px;line-height:1.45}
.lifecycle-action-card form{display:grid;gap:8px}

@media(max-width:1180px){
 .governance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
 .approval-card{grid-template-columns:90px minmax(0,1fr)}
 .approval-cover{width:90px;height:112px}
 .approval-actions{grid-column:2}
}
@media(max-width:980px){
 .governance-dashboard-grid,.lifecycle-layout{grid-template-columns:1fr}
 .governance-dashboard-grid>aside,.lifecycle-layout>aside{position:static}
}
@media(max-width:720px){
 .governance-page .content{padding:12px}
 .governance-heading{align-items:flex-start;flex-direction:column}
 .governance-heading h1{font-size:23px}
 .governance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .approval-card{grid-template-columns:1fr}
 .approval-cover{width:100%;height:180px}
 .approval-actions{grid-column:auto}
 .governance-filter{align-items:stretch;flex-direction:column}
 .governance-filter input{min-width:0;width:100%}
 .duplicate-pair{grid-template-columns:1fr}
 .duplicate-pair>span{margin:auto}
 .lifecycle-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
 .governance-stats,.lifecycle-summary{grid-template-columns:1fr}
}

.governance-engagement-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.governance-engagement-grid>div>strong{display:block;margin-bottom:6px;color:#405a77;font-size:8px}
.governance-engagement-grid a,.governance-engagement-grid>div>article{min-height:34px;border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between;gap:8px;color:inherit}
.governance-engagement-grid span{min-width:0;color:#536a85;font-size:7.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.governance-engagement-grid b{color:#1765cf;font-size:6.8px;white-space:nowrap}
@media(max-width:650px){.governance-engagement-grid{grid-template-columns:1fr}}


/* V11.1 — Automated Governance, Notifications & Executive Analytics */
.executive-governance-page{background:#f7f9fd}
.executive-governance-page .content{padding:16px 18px 30px}
.executive-governance-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:13px}
.executive-governance-kpis article{min-height:92px;padding:12px;border:1px solid #dfe7f1;border-radius:11px;background:#fff;box-shadow:0 3px 12px rgba(16,53,96,.03)}
.executive-governance-kpis small{display:block;color:#6d7d91;font-size:7.1px}
.executive-governance-kpis strong{display:block;margin-top:6px;color:#173b68;font-size:21px}
.executive-governance-kpis span{display:block;margin-top:4px;color:#8390a0;font-size:6.7px;line-height:1.3}

.executive-governance-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:12px;align-items:start}
.executive-governance-grid>main,.executive-governance-grid>aside{display:grid;gap:11px}
.executive-governance-grid>aside{position:sticky;top:84px}
.executive-panel{padding:14px}
.executive-panel>header{margin-bottom:10px}
.executive-panel h2{margin:0;color:#173b68;font-size:12px}
.executive-panel header p{margin:4px 0 0;color:#748397;font-size:7.3px}
.executive-review-bars{display:grid;gap:7px}
.executive-review-bars>div{display:grid;grid-template-columns:42px minmax(0,1fr) 26px 54px;gap:7px;align-items:center}
.executive-review-bars span,.executive-review-bars strong,.executive-review-bars small{font-size:6.9px;color:#647890}
.executive-review-bars i{height:7px;border-radius:999px;background:#e9eef5;overflow:hidden}
.executive-review-bars b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#1765cf,#6fa7eb)}
.executive-resource-list{display:grid}
.executive-resource-list a{min-height:38px;border-bottom:1px solid #edf1f6;display:grid;grid-template-columns:minmax(0,1fr) 66px 76px;gap:7px;align-items:center;color:inherit}
.executive-resource-list span{min-width:0;color:#465f7b;font-size:7.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.executive-resource-list b{color:#1765cf;font-size:6.7px;text-align:right}
.executive-resource-list em{font-style:normal;color:#6d7d91;font-size:6.6px;text-align:right}
.executive-event-list{display:grid}
.executive-event-list article{min-height:35px;border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between;gap:8px}
.executive-event-list span{min-width:0;color:#536a85;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.executive-event-list strong{color:#1765cf;font-size:7px}
.executive-automation-list{display:grid}
.executive-automation-list article{padding:7px 0;border-bottom:1px solid #edf1f6;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
.executive-automation-list strong{display:block;color:#405a77;font-size:7.6px}
.executive-automation-list small{display:block;margin-top:2px;color:#828d9c;font-size:6.3px}
.executive-automation-list span,.executive-automation-list b{font-size:6.5px;color:#6e7f92;text-align:right}
.executive-automation-list b{grid-column:2;color:#c85059}
.executive-report-note p{margin:6px 0 0;color:#6f7f92;font-size:7.5px;line-height:1.45}

@media(max-width:1180px){.executive-governance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.executive-governance-grid{grid-template-columns:1fr}.executive-governance-grid>aside{position:static}}
@media(max-width:700px){
 .executive-governance-page .content{padding:12px}
 .executive-governance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .executive-review-bars>div{grid-template-columns:40px minmax(0,1fr) 24px}
 .executive-review-bars small{grid-column:2/-1}
 .executive-resource-list a{grid-template-columns:1fr auto}
 .executive-resource-list em{grid-column:1/-1;text-align:left}
}
@media(max-width:430px){.executive-governance-kpis{grid-template-columns:1fr}}


/* V11.1.1 — Admin Experience Refinement */
.admin-ui-page{
 background:#f6f8fc;
}
.admin-ui-page .content{
 padding:16px 18px 30px;
}
.admin-ui-page .main-shell{
 min-width:0;
}
.admin-ui-page .page-head,
.admin-page-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:16px;
 margin:0 0 14px;
}
.admin-ui-page .page-head h1,
.admin-page-heading h1{
 margin:0;
 color:#123968;
 font-size:27px;
 line-height:1.1;
 letter-spacing:-.45px;
}
.admin-ui-page .page-head p,
.admin-page-heading p{
 margin:5px 0 0;
 max-width:760px;
 color:#68798f;
 font-size:10px;
 line-height:1.45;
}
.admin-page-heading>div>span{
 display:block;
 margin-bottom:4px;
 color:#1765cf;
 font-size:7.4px;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.6px;
}
.admin-ui-page .card,
.admin-data-card,
.admin-side-card>.card{
 border:1px solid #dde6f0;
 border-radius:12px;
 background:#fff;
 box-shadow:0 3px 14px rgba(17,54,97,.035);
}
.admin-ui-page .card{
 padding:14px;
}
.admin-ui-page .card h2,
.admin-ui-page .card h3{
 color:#173b68;
}
.admin-ui-page .muted{
 color:#748398;
}

/* Compact administrator KPIs */
.admin-kpi-strip{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:9px;
 margin-bottom:12px;
}
.admin-kpi-strip article{
 min-height:74px;
 padding:11px 12px;
 border:1px solid #dde6f0;
 border-radius:10px;
 background:#fff;
 box-shadow:0 3px 12px rgba(16,53,96,.025);
}
.admin-kpi-strip small{
 display:block;
 color:#6f7f93;
 font-size:7px;
}
.admin-kpi-strip strong{
 display:block;
 margin-top:5px;
 color:#173b68;
 font-size:20px;
 line-height:1.05;
}

/* Search/filter bars */
.admin-filter-bar{
 display:flex;
 align-items:center;
 gap:7px;
 margin-bottom:11px;
 padding:9px;
 border:1px solid #dde6f0;
 border-radius:10px;
 background:#fff;
 box-shadow:0 2px 10px rgba(16,53,96,.025);
}
.admin-filter-search{
 flex:1;
 min-width:220px;
 height:36px;
 padding:0 9px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fbfcfe;
 display:flex;
 align-items:center;
 gap:7px;
}
.admin-filter-search span{
 color:#7a8ca1;
 font-size:13px;
}
.admin-filter-search input{
 width:100%;
 border:0;
 outline:0;
 background:transparent;
 color:#2f4b69;
 font-size:8.8px;
}
.admin-filter-bar select{
 min-width:140px;
 height:36px;
 padding:0 9px;
 border:1px solid #dce5ef;
 border-radius:8px;
 background:#fff;
 color:#3a5471;
 font-size:8.2px;
}

/* Data cards and tables */
.admin-data-card{
 overflow:hidden;
}
.admin-data-card>header{
 min-height:56px;
 padding:11px 13px;
 border-bottom:1px solid #edf1f6;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.admin-data-card>header h2{
 margin:0;
 color:#173b68;
 font-size:11px;
}
.admin-data-card>header p{
 margin:3px 0 0;
 color:#7b899a;
 font-size:7px;
}
.admin-page-result{
 padding:5px 8px;
 border-radius:999px;
 background:#edf3ff;
 color:#1765cf;
 font-size:7px;
 font-weight:800;
}
.admin-ui-page .table-wrap{
 width:100%;
 overflow:auto;
}
.admin-ui-page .table{
 width:100%;
 border-collapse:collapse;
}
.admin-ui-page .table th{
 padding:9px 10px;
 border-bottom:1px solid #e2e9f1;
 background:#f8fafc;
 color:#60748b;
 font-size:6.8px;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.3px;
 text-align:left;
 white-space:nowrap;
}
.admin-ui-page .table td{
 padding:9px 10px;
 border-bottom:1px solid #eef2f6;
 color:#435d79;
 font-size:8px;
 vertical-align:middle;
}
.admin-ui-page .table tbody tr:hover{
 background:#fbfdff;
}
.admin-ui-page .table tbody tr:last-child td{
 border-bottom:0;
}
.admin-ui-page .table td>strong,
.admin-ui-page .table td strong{
 color:#304d6d;
}
.admin-subtext{
 display:block;
 margin-top:3px;
 color:#8591a0;
 font-size:6.7px;
}
.admin-resource-cell{
 min-width:270px;
 display:grid;
 grid-template-columns:40px minmax(0,1fr);
 gap:9px;
 align-items:center;
}
.admin-resource-cell .admin-cover-thumb{
 width:38px;
 height:48px;
 border-radius:6px;
 background:#edf3fb;
 overflow:hidden;
 display:grid;
 place-items:center;
 color:#1765cf;
 font-size:7px;
 font-weight:900;
}
.admin-resource-cell .cover-thumb-image{
 width:100%;
 height:100%;
 object-fit:cover;
}
.admin-resource-cell strong{
 display:block;
 color:#304d6d;
 font-size:8.5px;
}
.admin-resource-cell small{
 display:block;
 margin-top:3px;
 max-width:300px;
 color:#7d8999;
 font-size:6.7px;
 line-height:1.3;
}
.admin-status-pill,
.admin-quality-pill,
.admin-action-pill{
 display:inline-flex;
 align-items:center;
 min-height:23px;
 padding:0 7px;
 border-radius:999px;
 font-size:6.7px;
 font-weight:850;
 white-space:nowrap;
}
.admin-status-pill.published,
.admin-status-pill.active{
 background:#eaf8f0;
 color:#27885f;
}
.admin-status-pill.review,
.admin-status-pill.submitted,
.admin-status-pill.under_review{
 background:#fff6e4;
 color:#ae7610;
}
.admin-status-pill.draft{
 background:#eef3f8;
 color:#65798f;
}
.admin-status-pill.archived,
.admin-status-pill.inactive{
 background:#fff0f1;
 color:#bd5059;
}
.admin-quality-pill.good{
 background:#eaf8f0;color:#27885f
}
.admin-quality-pill.medium{
 background:#fff6e4;color:#ae7610
}
.admin-quality-pill.low{
 background:#fff0f1;color:#bd5059
}
.admin-action-pill{
 background:#edf3ff;
 color:#1765cf;
}
.admin-row-actions{
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:4px;
}
.admin-row-actions a{
 min-height:27px;
 padding:0 7px;
 border:1px solid #dce5ef;
 border-radius:6px;
 background:#fff;
 color:#1765cf;
 display:flex;
 align-items:center;
 font-size:6.8px;
 font-weight:800;
 white-space:nowrap;
}
.admin-row-actions a:hover{
 background:#f1f6ff;
 border-color:#bfd2ed;
}
.admin-empty-state{
 min-height:170px;
 padding:20px;
 display:grid;
 place-items:center;
 align-content:center;
 text-align:center;
}
.admin-empty-state>span{
 width:38px;height:38px;border-radius:50%;background:#edf3fb;color:#1765cf;display:grid;place-items:center;font-size:15px
}
.admin-empty-state strong{
 margin-top:8px;
 color:#375370;
 font-size:9px;
}
.admin-empty-state p{
 margin:4px 0 0;
 color:#7d8998;
 font-size:7.5px;
}
.admin-pagination{
 display:flex;
 justify-content:center;
 align-items:center;
 gap:12px;
 margin-top:12px;
}
.admin-pagination a{
 min-height:31px;
 padding:0 10px;
 border:1px solid #dce5ef;
 border-radius:7px;
 background:#fff;
 color:#1765cf;
 display:flex;
 align-items:center;
 font-size:7.5px;
 font-weight:800;
}
.admin-pagination span{
 color:#718096;
 font-size:7.5px;
}

/* two-column management screens */
.admin-two-column{
 display:grid;
 grid-template-columns:minmax(0,1fr) 285px;
 gap:12px;
 align-items:start;
}
.admin-side-card{
 display:grid;
 gap:10px;
 position:sticky;
 top:84px;
}
.admin-side-card h2,
.admin-settings-aside h2{
 margin:0;
 color:#173b68;
 font-size:11px;
}
.admin-side-card p,
.admin-settings-aside p{
 margin:5px 0 10px;
 color:#718096;
 font-size:7.5px;
 line-height:1.4;
}
.admin-stack-form{
 display:grid;
 gap:9px;
}
.admin-stack-form label,
.admin-settings-section label{
 display:grid;
 gap:5px;
 color:#3f5a77;
 font-size:7.8px;
 font-weight:800;
}
.admin-stack-form label>small{
 color:#8793a1;
 font-size:6.5px;
 font-weight:500;
}
.admin-inline-editor{
 position:relative;
}
.admin-inline-editor summary{
 cursor:pointer;
 color:#1765cf;
 font-size:7px;
 font-weight:850;
 list-style:none;
}
.admin-inline-editor summary::-webkit-details-marker{display:none}
.admin-inline-editor[open]{
 min-width:245px;
}
.admin-inline-editor form{
 display:grid;
 grid-template-columns:minmax(100px,1fr) auto;
 gap:5px;
 margin-top:6px;
}
.admin-inline-editor form+form{
 margin-top:5px;
}
.admin-inline-editor select{
 min-height:32px;
 border:1px solid #dce5ef;
 border-radius:7px;
 padding:0 7px;
 background:#fff;
 color:#3d5875;
 font-size:7.5px;
}
.admin-user-cell{
 min-width:180px;
 display:grid;
 grid-template-columns:34px minmax(0,1fr);
 gap:8px;
 align-items:center;
}
.admin-user-cell>span{
 width:33px;height:33px;border-radius:10px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:9px;font-weight:900
}
.admin-user-cell strong{
 display:block;
 color:#35516e;
 font-size:8.3px;
}
.admin-user-cell small{
 display:block;
 margin-top:2px;
 color:#7d8999;
 font-size:6.6px;
}

/* Reports */
.admin-report-selector{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
 margin-bottom:11px;
}
.admin-report-selector a{
 min-height:68px;
 padding:10px;
 border:1px solid #dde6f0;
 border-radius:10px;
 background:#fff;
 color:inherit;
}
.admin-report-selector a.active{
 border-color:#b8ceed;
 background:#f2f7ff;
 box-shadow:inset 0 0 0 1px #d5e3f6;
}
.admin-report-selector strong{
 display:block;
 color:#35516e;
 font-size:8.3px;
}
.admin-report-selector small{
 display:block;
 margin-top:4px;
 color:#788698;
 font-size:6.7px;
 line-height:1.3;
}
.admin-report-table{
 max-height:65vh;
}

/* Settings */
.admin-settings-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 280px;
 gap:12px;
 align-items:start;
}
.admin-settings-layout>main{
 display:grid;
 gap:11px;
}
.admin-settings-section{
 display:grid;
 gap:12px;
}
.admin-settings-section>header{
 padding-bottom:9px;
 border-bottom:1px solid #edf1f6;
}
.admin-settings-section>header h2{
 margin:0;
 font-size:11px;
}
.admin-settings-section>header p{
 margin:4px 0 0;
 color:#788698;
 font-size:7.2px;
}
.admin-settings-section h3{
 margin:3px 0 0;
 color:#405a77;
 font-size:9px;
}
.admin-role-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:7px;
}
.admin-role-grid label{
 min-height:34px;
 padding:7px 8px;
 border:1px solid #e1e8f1;
 border-radius:8px;
 background:#fbfcfe;
 display:flex!important;
 align-items:center;
 gap:6px;
 color:#526b87!important;
 font-weight:650!important;
}
.admin-suggestion-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
}
.admin-suggestion-grid label>span{
 color:#3d5875;
}
.admin-suggestion-grid label>small{
 color:#8490a0;
 font-size:6.5px;
 font-weight:500;
}
.admin-settings-aside{
 display:grid;
 gap:10px;
 position:sticky;
 top:84px;
}
.admin-quick-link{
 min-height:45px;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:28px minmax(0,1fr);
 gap:7px;
 align-items:center;
 color:inherit;
}
.admin-quick-link>span{
 width:27px;height:27px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:10px
}
.admin-quick-link strong{
 display:block;
 color:#405a77;
 font-size:7.7px;
}
.admin-quick-link small{
 display:block;
 margin-top:2px;
 color:#7f8b9b;
 font-size:6.4px;
}

/* Improve legacy admin sections consistently */
.admin-ui-page .grid.cards{
 gap:9px;
}
.admin-ui-page .card.metric,
.admin-ui-page .metric-card{
 min-height:82px;
 border-radius:10px;
}
.admin-ui-page .card.metric strong{
 color:#173b68;
 font-size:20px;
}
.admin-ui-page .card.metric small{
 color:#718096;
 font-size:7px;
}
.admin-ui-page .panel-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:9px;
 margin-bottom:10px;
}
.admin-ui-page .panel-head h3{
 margin:0;
 font-size:11px;
}
.admin-ui-page .tag{
 border-radius:999px;
 font-size:6.7px;
}
.admin-ui-page .filters{
 padding:10px;
}
.admin-ui-page textarea,
.admin-ui-page select,
.admin-ui-page input{
 max-width:100%;
}
.admin-ui-page code{
 padding:2px 4px;
 border-radius:4px;
 background:#f3f6fa;
 color:#536a85;
 font-size:6.7px;
}

/* Keep the admin header compact on small screens */
@media(max-width:1100px){
 .admin-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
 .admin-report-selector{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-two-column,.admin-settings-layout{grid-template-columns:1fr}
 .admin-side-card,.admin-settings-aside{position:static}
}
@media(max-width:760px){
 .admin-ui-page .content{padding:12px}
 .admin-ui-page .page-head,
 .admin-page-heading{align-items:flex-start;flex-direction:column}
 .admin-ui-page .page-head h1,
 .admin-page-heading h1{font-size:23px}
 .admin-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-filter-bar{align-items:stretch;flex-direction:column}
 .admin-filter-search{min-width:0;width:100%}
 .admin-filter-bar select{width:100%}
 .admin-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-suggestion-grid{grid-template-columns:1fr}
 .admin-inline-editor[open]{min-width:210px}
}
@media(max-width:430px){
 .admin-kpi-strip,
 .admin-report-selector,
 .admin-role-grid{grid-template-columns:1fr}
}

.admin-status-pill.locked{background:#fff0f1;color:#a9424d}


/* V11.1.2 — System-Wide Typography & Readability Standardisation
   One typography system for Teacher, Admin, Reader, Library, AI and Governance views. */
:root{
 --font-ui:"Segoe UI",Inter,Arial,sans-serif;
 --type-xs:12px;
 --type-sm:13px;
 --type-base:15px;
 --type-md:16px;
 --type-lg:18px;
 --type-xl:22px;
 --type-2xl:28px;
 --type-3xl:32px;
 --leading-tight:1.25;
 --leading-normal:1.5;
 --leading-relaxed:1.65;
}
html{
 -webkit-text-size-adjust:100%;
 text-size-adjust:100%;
}
body{
 font-family:var(--font-ui)!important;
 font-size:var(--type-base)!important;
 line-height:var(--leading-normal);
 text-rendering:optimizeLegibility;
 -webkit-font-smoothing:antialiased;
}
button,input,select,textarea{
 font-family:inherit!important;
}
button,.btn,
input,select,textarea{
 font-size:14px!important;
 line-height:1.35;
}
label{
 font-size:13px!important;
 line-height:1.4;
}
body p{
 font-size:13.5px!important;
 line-height:1.5!important;
}
body small,
body .muted,
body .field-help{
 font-size:12px!important;
 line-height:1.45!important;
}
body code{
 font-size:12px!important;
}
body time{
 font-size:12px!important;
}
h1,.page-title{
 font-size:clamp(25px,2vw,30px)!important;
 line-height:var(--leading-tight)!important;
}
h2{
 font-size:18px!important;
 line-height:1.3!important;
}
h3{
 font-size:16px!important;
 line-height:1.35!important;
}
h4{
 font-size:15px!important;
 line-height:1.4!important;
}

/* Main navigation and application chrome */
.sidebar .nav-item,
.sidebar a.nav-item,
.top-header,
.topbar,
.context-nav a,
.context-navigation a,
.breadcrumbs,
.breadcrumbs a{
 font-size:13px!important;
}
.sidebar .nav-item span:not(.nav-icon){
 font-size:13px!important;
}
.top-header small,
.topbar small,
.context-nav small,
.context-navigation small{
 font-size:11.5px!important;
}

/* Tables and structured data */
.table th,
.admin-ui-page .table th{
 font-size:12px!important;
 line-height:1.3!important;
}
.table td,
.admin-ui-page .table td{
 font-size:13px!important;
 line-height:1.45!important;
}
.table td small,
.admin-ui-page .table td small{
 font-size:11.5px!important;
}

/* Status, metadata and action affordances */
.admin-status-pill,
.admin-quality-pill,
.admin-action-pill,
.admin-page-result,
.admin-ui-page .tag,
.tag,
.badge,
.status-badge,
.teacher-category-status,
.teacher-category-new,
.teacher-new-badge,
.ai-confidence-pill,
.ai-workspace-confidence,
.classroom-tool-card header span,
.classroom-tool-tags span,
.tool-editor-meta span,
.approval-meta span,
.duplicate-filter-tabs a,
.duplicate-resolution-list>article>header span,
.duplicate-resolution-list>article>header b,
.repository-health-count,
.teacher-output-sources a{
 font-size:11.5px!important;
 line-height:1.25!important;
}
.admin-row-actions a,
.admin-inline-editor summary,
.admin-inline-editor select,
.admin-pagination a,
.admin-pagination span,
.admin-quick-link strong,
.admin-quick-link small,
.library-quick-action,
.reader-tool,
.reader-tool.text{
 font-size:12px!important;
}

/* Core card and dashboard readability */
.card p,
.metric-card p,
.dashboard-health-card p,
.repository-health-issue-cards p,
.teacher-catalogue-card p,
.teacher-popular-card p,
.teacher-saved-card p,
.teacher-notification-card p{
 font-size:13px!important;
}
.card small,
.metric-card small,
.dashboard-health-card>small,
.recent-activity-grid small,
.recent-activity-grid em,
.recent-activity-grid time,
.most-viewed-list small,
.most-viewed-list b,
.search-trend-stats small,
.activity-legend span,
.category-donut-legend span,
.category-donut-legend strong,
.enterprise-chart-labels span{
 font-size:11.5px!important;
}
.metric-card strong,
.card.metric strong,
.dashboard-health-card strong{
 line-height:1.15!important;
}

/* Teacher portal */
.teacher-portal-page,
.teacher-dashboard,
.teacher-dashboard-page{
 font-size:var(--type-base)!important;
}
.teacher-portal-page .teacher-dashboard-title,
.teacher-portal-page .teacher-page-title{
 font-size:clamp(24px,2vw,30px)!important;
}
.teacher-portal-page .teacher-catalogue-card strong,
.teacher-portal-page .teacher-popular-card strong,
.teacher-portal-page .teacher-saved-card strong,
.teacher-portal-page .teacher-notification-card strong,
.teacher-portal-page .teacher-category-grid strong,
.teacher-portal-page .teacher-skill-grid strong,
.teacher-v10-tool-shortcuts strong{
 font-size:13px!important;
 line-height:1.35!important;
}
.teacher-portal-page .teacher-catalogue-card small,
.teacher-portal-page .teacher-popular-card small,
.teacher-portal-page .teacher-popular-card em,
.teacher-portal-page .teacher-saved-card small,
.teacher-portal-page .teacher-notification-card small,
.teacher-portal-page .teacher-notification-card time,
.teacher-portal-page .teacher-recent-grid small,
.teacher-portal-page .teacher-category-grid small,
.teacher-portal-page .teacher-skill-grid small,
.teacher-v10-tool-shortcuts small{
 font-size:11.5px!important;
 line-height:1.4!important;
}
.teacher-category-status,
.teacher-category-new,
.teacher-new-badge{
 min-height:22px;
 padding:3px 7px!important;
}

/* Resource catalogue, My Library and personal collections */
.catalogue-resource-card h2,
.classroom-tool-card h2,
.library-resource-card h2,
.saved-resource-card h2,
.collection-card h2{
 font-size:15px!important;
}
.catalogue-resource-card p,
.classroom-tool-card>p,
.library-resource-card p,
.saved-resource-card p,
.collection-card p{
 font-size:13px!important;
}
.catalogue-resource-card small,
.classroom-tool-card small,
.library-resource-card small,
.saved-resource-card small,
.collection-card small{
 font-size:11.5px!important;
}

/* Professional document reader */
.professional-reader,
.reader-document-stage,
.reader-info-panel,
.reader-insight-panel{
 font-size:14px!important;
}
.reader-command-title strong{
 font-size:14px!important;
}
.reader-command-title small{
 font-size:11.5px!important;
}
.reader-page-control label,
.reader-page-list a,
.reader-page-list a small,
.reader-tabs button,
.reader-panel-heading strong,
.reader-panel-heading small,
.reader-highlight-toolbar>span,
.reader-highlight-item strong,
.reader-highlight-item time,
.reader-highlight-item p,
.reader-highlight-item footer a,
.reader-highlight-item footer button,
.reader-note-options label,
.reader-note-options select,
.reader-notes-list article footer button,
.reader-output-sources a,
.reader-session-timer{
 font-size:12px!important;
}
.reader-extracted-text,
.reader-summary-text,
.reader-notes-list p{
 font-size:14px!important;
 line-height:1.65!important;
}

/* AI, OCR, Assistant and Teaching Workspace */
.ai-insight-item small,
.ai-quality-log-list small,
.ai-search-gap-list strong,
.teacher-tool-picker small,
.teacher-tool-aside small,
.teacher-ai-note,
.teacher-output-sources a,
.classroom-tool-card time,
.classroom-tool-tags span,
.tool-version-list small,
.tool-attached-lessons>a,
.lesson-attached-tools>article small{
 font-size:11.5px!important;
}
.teacher-tool-picker strong,
.teacher-tool-aside strong,
.teacher-output-sources>strong,
.classroom-tool-card header span,
.classroom-tool-card summary,
.tool-version-list strong,
.lesson-attached-tools>article strong{
 font-size:12px!important;
}
.teacher-generated-output pre,
.classroom-tool-card pre,
.tool-editor-textarea{
 font-size:13px!important;
 line-height:1.6!important;
}

/* Admin system */
.admin-ui-page{
 font-size:var(--type-base)!important;
}
.admin-ui-page .page-head h1,
.admin-page-heading h1,
.governance-heading h1,
.repository-health-heading h1,
.production-readiness-heading h1{
 font-size:clamp(25px,2vw,30px)!important;
}
.admin-ui-page .page-head p,
.admin-page-heading p,
.governance-heading p,
.repository-health-heading p,
.production-readiness-heading p{
 font-size:13px!important;
}
.admin-page-heading>div>span,
.governance-heading>div>span,
.repository-health-eyebrow,
.production-readiness-heading>div>span{
 font-size:11px!important;
}
.admin-kpi-strip small,
.governance-stats small,
.executive-governance-kpis small,
.repository-health-summary small,
.repository-coverage-grid small,
.production-readiness-counters small,
.teacher-analytics-stats small{
 font-size:11.5px!important;
}
.admin-kpi-strip strong,
.governance-stats strong,
.executive-governance-kpis strong,
.repository-health-summary strong,
.production-readiness-counters strong{
 line-height:1.15!important;
}
.admin-resource-cell strong,
.admin-user-cell strong,
.admin-report-selector strong,
.admin-quick-link strong{
 font-size:12.5px!important;
}
.admin-resource-cell small,
.admin-user-cell small,
.admin-report-selector small,
.admin-subtext,
.admin-stack-form label>small,
.admin-suggestion-grid label>small,
.admin-quick-link small{
 font-size:11.5px!important;
}
.admin-filter-search input,
.admin-filter-bar select{
 font-size:13px!important;
}
.admin-data-card>header h2,
.admin-settings-section>header h2,
.admin-side-card h2,
.admin-settings-aside h2{
 font-size:16px!important;
}
.admin-data-card>header p,
.admin-settings-section>header p,
.admin-side-card p,
.admin-settings-aside p{
 font-size:12px!important;
}

/* Governance, repository health and executive intelligence */
.governance-panel h2,
.governance-event-card h2,
.governance-links h2,
.lifecycle-form h2,
.lifecycle-history h2,
.lifecycle-action-card h2,
.executive-panel h2,
.repository-health-panel h2,
.repository-health-aside h2{
 font-size:16px!important;
}
.governance-panel header p,
.governance-list small,
.governance-event-card small,
.governance-engagement-grid span,
.governance-engagement-grid b,
.approval-main>small,
.approval-main p,
.duplicate-pair small,
.duplicate-pair p,
.lifecycle-history p,
.lifecycle-history small,
.lifecycle-action-card>p,
.executive-panel header p,
.executive-review-bars span,
.executive-review-bars strong,
.executive-review-bars small,
.executive-resource-list span,
.executive-resource-list b,
.executive-resource-list em,
.executive-event-list span,
.executive-event-list strong,
.executive-automation-list strong,
.executive-automation-list small,
.executive-automation-list span,
.executive-automation-list b,
.executive-report-note p,
.repository-health-panel header p,
.repository-health-item-main small,
.repository-health-guidance p,
.repository-health-history small,
.repository-health-history>article>span,
.repository-health-quick small,
.repository-health-issue-cards p{
 font-size:11.5px!important;
 line-height:1.4!important;
}
.governance-list strong,
.approval-main h2,
.duplicate-pair h2,
.lifecycle-history strong,
.repository-health-item-main strong,
.repository-health-quick strong{
 font-size:12.5px!important;
}
.governance-list>article>span,
.governance-list>article>a,
.duplicate-pair section>a,
.lesson-attached-tool-actions a,
.lesson-attached-tool-actions button{
 font-size:11.5px!important;
}

/* Charts: never allow axis/legend labels to become illegible */
.chart-label,
.chart-axis-label,
.enterprise-chart-labels span,
.activity-legend span,
.category-donut-legend span,
.search-cloud span{
 font-size:11px!important;
}

/* Mobile keeps body text readable instead of shrinking it */
@media(max-width:760px){
 body{
  font-size:15px!important;
 }
 body p{
  font-size:13.5px!important;
 }
 button,.btn,input,select,textarea{
  font-size:14px!important;
 }
 .table th,
 .admin-ui-page .table th{
  font-size:11.5px!important;
 }
 .table td,
 .admin-ui-page .table td{
  font-size:12.5px!important;
 }
 .sidebar .nav-item,
 .sidebar a.nav-item{
  font-size:13px!important;
 }
}

/* Accessibility: respect browser zoom and reduced motion preferences. */
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
}


/* V11.1.2 micro-text safety pass: formerly 5.5–9px component labels */
.most-viewed-cover,
.teacher-popular-cover,
.catalogue-resource-cover>b,
.compact-cover,
.executive-cover,
.teacher-mockup-popular-cover,
.teacher-tool-aside>a>span,
.governance-event-card article>span,
.lifecycle-history>article>span,
.duplicate-pair>span,
.mini-ring span{
 font-size:11px!important;
}
.teacher-category-count,
.teacher-category-link,
.teacher-category-card em,
.teacher-popular-card>a>b,
.teacher-progress b,
.teacher-reading-copy>span,
.teacher-reading-copy>a,
.teacher-card-category,
.teacher-side-footer,
.teacher-upcoming-grid b,
.teacher-v10-tool-shortcuts b,
.teacher-weekly-bars span,
.teacher-weekly-bars strong,
.teacher-recent-grid strong,
.teacher-saved-card strong,
.teacher-notification-card strong,
.teacher-popular-card strong,
.teacher-category-grid strong,
.teacher-skill-grid strong{
 font-size:11.5px!important;
}
.dashboard-ai-greeting,
.dashboard-ai-greeting strong,
.dashboard-health-card>b,
.dashboard-health-card>div strong,
.dashboard-quick-actions strong,
.dashboard-widget-head a,
.dashboard-empty,
.intelligent-kpi-copy em,
.intelligent-kpi-trend,
.health-score span{
 font-size:12px!important;
}
.category-donut span,
.category-donut-legend span,
.category-donut-legend strong,
.search-cloud .cloud-xs,
.activity-legend span,
.live-chart .live-bar:after{
 font-size:11px!important;
}
.catalogue-category-pill,
.catalogue-resource-meta,
.compact-resource-item .tag,
.library-category,
.library-saved-body>div,
.library-saved-category,
.library-cover-badge,
.saved-ribbon,
.library-collection-link b,
.history-meta span,
.history-progress span,
.lesson-plan-meta span,
.lesson-status,
.lesson-plan-card footer>span,
.notification-centre-copy>div>span{
 font-size:11.5px!important;
}
.ai-answer-quality span,
.ai-answer-quality b,
.ai-confidence-pill,
.ai-coverage-ring span,
.ai-quality-overview span,
.ai-search-gap-list strong,
.ai-insight-item strong{
 font-size:11.5px!important;
}
.reader-copy-text,
.reader-notes-list a,
.reader-related-card b,
.reader-topic-tags span,
.reader-page-control:after,
.reader-watermark{
 font-size:11.5px!important;
}
.repository-health-summary span,
.repository-health-item-actions a,
.governance-panel header>a,
.governance-links>a,
.governance-engagement-grid>div>strong,
.production-check-list b{
 font-size:11.5px!important;
}


/* V11.1.3 — Clear Admin Navigation Architecture */
.admin-primary-nav{
 gap:4px!important;
 overflow-y:auto;
 scrollbar-width:thin;
 padding-bottom:8px;
}
.sidebar-nav-label{
 margin:12px 9px 4px;
 color:#8996a7;
 font-size:10.5px!important;
 font-weight:800;
 text-transform:uppercase;
 letter-spacing:.65px;
}
.sidebar-nav-label:first-child{
 margin-top:2px;
}
.admin-primary-nav .nav-item{
 min-height:43px;
 padding:9px 11px!important;
 border-radius:9px!important;
 gap:10px!important;
 font-size:13px!important;
}
.admin-primary-nav .nav-icon{
 width:22px;
 font-size:16px!important;
 color:#657a91;
}
.admin-primary-nav .nav-item:hover{
 background:#f1f6fc;
}
.admin-primary-nav .nav-item.active{
 background:#eaf2ff!important;
 color:#155eb8!important;
 box-shadow:none!important;
 border:1px solid #cfe0f5;
}
.admin-primary-nav .nav-item.active .nav-icon{
 color:#155eb8;
}
.admin-ui-page .sidebar{
 padding-top:12px;
}
.admin-ui-page .sidebar-footer{
 margin-top:auto;
 padding-top:12px;
 border-top:1px solid #edf1f6;
}

/* Context bar is strictly secondary navigation — compact and visually distinct from sidebar. */
.admin-ui-page .context-nav{
 min-height:52px;
 height:auto;
 padding:0 20px;
 gap:18px;
 background:#fff;
 box-shadow:0 2px 8px rgba(17,54,97,.025);
}
.admin-ui-page .context-heading{
 flex:0 0 auto;
}
.admin-ui-page .context-title{
 color:#385675;
 font-size:11.5px!important;
 letter-spacing:.05em;
}
.admin-ui-page .context-links{
 gap:2px;
}
.admin-ui-page .context-direct,
.admin-ui-page .context-dropdown>summary{
 min-height:50px;
 padding:0 10px!important;
 color:#61748a!important;
 font-size:12.5px!important;
 font-weight:650!important;
 border-bottom:2px solid transparent!important;
}
.admin-ui-page .context-direct:hover,
.admin-ui-page .context-direct.active,
.admin-ui-page .context-dropdown.active>summary{
 color:#1765cf!important;
 border-bottom-color:#1765cf!important;
 background:transparent!important;
}
.admin-ui-page .context-dropdown-menu{
 min-width:210px;
 padding:6px;
 border:1px solid #dde6f0;
 border-radius:10px;
 box-shadow:0 14px 32px rgba(15,47,94,.12);
}
.admin-ui-page .context-dropdown-menu a{
 min-height:36px!important;
 height:auto!important;
 padding:8px 10px!important;
 border:0!important;
 border-radius:7px;
 font-size:12px!important;
}
.admin-ui-page .context-dropdown-menu a:hover,
.admin-ui-page .context-dropdown-menu a.active{
 background:#eef5ff!important;
 color:#1765cf!important;
}

/* Keep breadcrumbs tertiary, so they never compete with the two navigation levels. */
.admin-ui-page .breadcrumbs{
 min-height:34px;
 padding-top:5px;
 padding-bottom:5px;
}
.admin-ui-page .breadcrumbs,
.admin-ui-page .breadcrumbs a,
.admin-ui-page .breadcrumbs span{
 font-size:11.5px!important;
 color:#8190a1;
}

/* Profile menu contains account options only; notifications use the dedicated bell. */
.profile-dropdown nav a{
 min-height:38px;
}

/* Sidebar is narrow but labels remain readable. */
@media(min-width:1101px){
 .admin-ui-page .layout{
  grid-template-columns:230px minmax(0,1fr);
 }
}
@media(max-width:760px){
 .sidebar-nav-label{
  font-size:10.5px!important;
 }
 .admin-primary-nav .nav-item{
  min-height:44px;
  font-size:13px!important;
 }
 .admin-ui-page .context-nav{
  padding:6px 12px;
 }
 .admin-ui-page .context-heading{
  width:100%;
 }
 .admin-ui-page .context-links{
  width:100%;
 }
}

.admin-ui-page a.context-title{
 color:#385675!important;
 text-decoration:none;
}
.admin-ui-page a.context-title:hover{
 color:#1765cf!important;
}


/* V11.1.4 — Admin Runtime Fix + Dashboard & Analytics Refinement */
.admin-home-dashboard{
 background:#f6f8fc;
}
.admin-home-dashboard .content{
 padding:18px 20px 30px;
}
.admin-dashboard-hero{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:18px;
 margin-bottom:14px;
}
.admin-dashboard-eyebrow{
 display:block;
 margin-bottom:5px;
 color:#1765cf;
 font-size:11px!important;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.55px;
}
.admin-dashboard-hero h1{
 margin:0;
 color:#123968;
 font-size:clamp(26px,2vw,31px)!important;
 line-height:1.15!important;
}
.admin-dashboard-hero p{
 margin:6px 0 0;
 max-width:760px;
 color:#6a7a8e;
 font-size:13px!important;
}
.admin-dashboard-hero-actions{
 display:flex;
 gap:7px;
 flex-wrap:wrap;
 justify-content:flex-end;
}
.admin-dashboard-kpis{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:9px;
 margin-bottom:12px;
}
.admin-dashboard-kpi{
 min-height:102px;
 padding:13px;
 border:1px solid #dfe7f1;
 border-radius:11px;
 background:#fff;
 display:grid;
 grid-template-columns:38px minmax(0,1fr);
 gap:10px;
 align-items:start;
 color:inherit;
 box-shadow:0 3px 13px rgba(16,53,96,.035);
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.admin-dashboard-kpi:hover{
 transform:translateY(-2px);
 border-color:#bfd2ed;
 box-shadow:0 8px 20px rgba(16,53,96,.07);
}
.admin-dashboard-kpi-icon{
 width:37px;
 height:37px;
 border-radius:9px;
 display:grid;
 place-items:center;
 background:#edf3ff;
 color:#1765cf;
 font-size:15px!important;
}
.admin-dashboard-kpi small{
 display:block;
 color:#6f7f92;
 font-size:11.5px!important;
}
.admin-dashboard-kpi strong{
 display:block;
 margin-top:5px;
 color:#173b68;
 font-size:24px!important;
 line-height:1.05!important;
}
.admin-dashboard-kpi .intelligent-kpi-trend{
 display:inline-block;
 margin-top:6px;
 font-size:11px!important;
 font-weight:800;
}
.admin-dashboard-kpi .intelligent-kpi-trend.positive{color:#27885f}
.admin-dashboard-kpi .intelligent-kpi-trend.negative{color:#bd5059}

.admin-dashboard-main{
 display:grid;
 grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);
 gap:12px;
 align-items:start;
 margin-bottom:12px;
}
.admin-dashboard-main>.card,
.admin-dashboard-priorities>.card,
.admin-dashboard-secondary>.card,
.admin-dashboard-tasks{
 border:1px solid #dfe7f1;
 border-radius:12px;
 background:#fff;
 box-shadow:0 3px 14px rgba(16,53,96,.035);
}
.admin-dashboard-activity{
 min-height:400px;
 padding:14px;
}
.admin-dashboard-panel-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:10px;
 margin-bottom:10px;
}
.admin-dashboard-panel-head h2,
.admin-dashboard-health h2,
.admin-dashboard-insights h2{
 margin:0;
 color:#173b68;
 font-size:16px!important;
}
.admin-dashboard-panel-head p,
.admin-dashboard-health header p{
 margin:4px 0 0;
 color:#748397;
 font-size:12px!important;
}
.admin-dashboard-panel-head>a,
.admin-dashboard-panel-head>span{
 color:#1765cf;
 font-size:11.5px!important;
 font-weight:800;
 white-space:nowrap;
}
.admin-dashboard-activity .enterprise-line-chart{
 min-height:280px;
}
.admin-dashboard-activity .enterprise-chart-labels span{
 font-size:11px!important;
}
.admin-dashboard-priorities{
 display:grid;
 gap:12px;
}
.admin-dashboard-health{
 padding:14px;
}
.admin-dashboard-health>header{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:10px;
}
.admin-dashboard-health>header>span{
 padding:5px 8px;
 border-radius:999px;
 background:#edf3ff;
 color:#1765cf;
 font-size:11px!important;
 font-weight:800;
}
.admin-dashboard-health-score{
 display:flex;
 align-items:baseline;
 gap:8px;
 margin:13px 0 9px;
}
.admin-dashboard-health-score strong{
 color:#173b68;
 font-size:30px!important;
 line-height:1!important;
}
.admin-dashboard-health-score span{
 color:#748397;
 font-size:11.5px!important;
}
.admin-dashboard-health-list{
 display:grid;
 gap:0;
 border-top:1px solid #edf1f6;
 border-bottom:1px solid #edf1f6;
}
.admin-dashboard-health-list p{
 min-height:38px;
 margin:0!important;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 border-bottom:1px solid #edf1f6;
 font-size:12px!important;
}
.admin-dashboard-health-list p:last-child{border-bottom:0}
.admin-dashboard-health-list span{color:#68798f}
.admin-dashboard-health-list strong{color:#3b5674;font-size:12px!important}
.admin-dashboard-health>a{
 display:inline-block;
 margin-top:10px;
 color:#1765cf;
 font-size:11.5px!important;
 font-weight:800;
}
.admin-dashboard-insights{
 padding:14px;
}
.admin-dashboard-insights>header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 margin-bottom:8px;
}
.admin-dashboard-insights>header>a{
 color:#1765cf;
 font-size:11.5px!important;
 font-weight:800;
}
.admin-dashboard-insights .ai-insight-item{
 min-height:60px;
 padding:9px 0;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:30px minmax(0,1fr);
 gap:8px;
 align-items:start;
}
.admin-dashboard-insights .ai-insight-item:last-child{border-bottom:0}
.admin-dashboard-insights .ai-insight-item>span{
 width:29px;height:29px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:11px!important
}
.admin-dashboard-insights .ai-insight-item strong{
 display:block;
 color:#405a77;
 font-size:12px!important;
 line-height:1.4!important;
}
.admin-dashboard-insights .ai-insight-item small{
 display:block;
 margin-top:3px;
 color:#8390a0;
 font-size:11px!important;
}

.admin-dashboard-secondary{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
 margin-bottom:12px;
}
.admin-dashboard-list-card{
 padding:14px;
 min-width:0;
}
.admin-dashboard-resource-list,
.admin-dashboard-category-list,
.admin-dashboard-recent-list{
 display:grid;
}
.admin-dashboard-resource-list>a,
.admin-dashboard-category-list>a{
 min-height:53px;
 border-bottom:1px solid #edf1f6;
 display:grid;
 align-items:center;
 gap:8px;
 color:inherit;
}
.admin-dashboard-resource-list>a{
 grid-template-columns:38px minmax(0,1fr) auto;
}
.admin-dashboard-resource-list .most-viewed-cover{
 width:36px;height:44px;border-radius:6px;background:#edf3fb;display:grid;place-items:center;overflow:hidden;color:#1765cf;font-size:10px!important;font-weight:900
}
.admin-dashboard-resource-list .most-viewed-cover-image{width:100%;height:100%;object-fit:cover}
.admin-dashboard-resource-list strong,
.admin-dashboard-category-list strong{
 display:block;
 color:#3c5673;
 font-size:12px!important;
 line-height:1.35!important;
}
.admin-dashboard-resource-list small,
.admin-dashboard-category-list small{
 display:block;
 margin-top:2px;
 color:#7c8999;
 font-size:11px!important;
}
.admin-dashboard-resource-list>b,
.admin-dashboard-category-list>b{
 color:#1765cf;
 font-size:11.5px!important;
}
.admin-dashboard-category-list>a{
 grid-template-columns:8px minmax(0,1fr) auto;
}
.admin-dashboard-category-list>a>i{
 width:8px;height:8px;border-radius:50%;
}
.admin-dashboard-recent-list>article{
 min-height:53px;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:16px minmax(0,1fr);
 gap:7px;
 align-items:start;
 padding:8px 0;
}
.admin-dashboard-recent-list>article>span{
 color:#1765cf;
 font-size:14px!important;
 line-height:1;
}
.admin-dashboard-recent-list strong{
 display:block;
 color:#3e5875;
 font-size:12px!important;
}
.admin-dashboard-recent-list small,
.admin-dashboard-recent-list time{
 display:block;
 margin-top:2px;
 color:#808c9b;
 font-size:11px!important;
}
.admin-dashboard-empty{
 min-height:80px;
 display:grid;
 place-items:center;
 text-align:center;
 color:#8190a1;
 font-size:12px!important;
}

.admin-dashboard-tasks{
 padding:14px;
}
.admin-dashboard-tasks>div{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
}
.admin-dashboard-tasks>div>a{
 min-height:56px;
 padding:10px;
 border:1px solid #e1e8f1;
 border-radius:9px;
 background:#fbfcfe;
 display:flex;
 align-items:center;
 gap:9px;
 color:inherit;
}
.admin-dashboard-tasks>div>a>span{
 width:31px;height:31px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:12px!important
}
.admin-dashboard-tasks>div>a>strong{
 color:#405a77;
 font-size:12px!important;
}

/* Analytics */
.admin-analytics-layout{
 display:grid;
 grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
 gap:12px;
 align-items:start;
}
.admin-analytics-layout>main,
.admin-analytics-layout>aside{
 display:grid;
 gap:12px;
}
.admin-analytics-layout>aside{
 position:sticky;
 top:84px;
}
.admin-analytics-panel{
 padding:14px;
}
.admin-analytics-panel>header{
 margin-bottom:10px;
}
.admin-analytics-panel h2{
 margin:0;
 color:#173b68;
 font-size:16px!important;
}
.admin-analytics-panel header p{
 margin:4px 0 0;
 color:#748397;
 font-size:12px!important;
}
.admin-activity-bars{
 display:grid;
 gap:8px;
}
.admin-activity-bars>div{
 display:grid;
 grid-template-columns:48px minmax(0,1fr) 32px;
 gap:8px;
 align-items:center;
}
.admin-activity-bars span,
.admin-activity-bars strong{
 font-size:11.5px!important;
 color:#60748b;
}
.admin-activity-bars i,
.admin-category-performance i{
 height:8px;
 border-radius:999px;
 background:#e9eef5;
 overflow:hidden;
}
.admin-activity-bars b,
.admin-category-performance i>b{
 display:block;
 height:100%;
 border-radius:999px;
 background:linear-gradient(90deg,#1765cf,#6fa7eb);
}
.admin-category-performance{
 display:grid;
 gap:9px;
}
.admin-category-performance article{
 display:grid;
 grid-template-columns:minmax(0,1fr) 45px;
 gap:7px;
 align-items:center;
}
.admin-category-performance article>div strong{
 display:block;
 color:#3f5976;
 font-size:12px!important;
}
.admin-category-performance article>div small{
 display:block;
 margin-top:2px;
 color:#7f8b9b;
 font-size:11px!important;
}
.admin-category-performance article>span{
 color:#1765cf;
 font-size:11.5px!important;
 font-weight:800;
 text-align:right;
}
.admin-category-performance article>i{
 grid-column:1/-1;
}
.admin-analytics-top-list{
 display:grid;
}
.admin-analytics-top-list>a{
 min-height:52px;
 border-bottom:1px solid #edf1f6;
 display:grid;
 grid-template-columns:27px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 color:inherit;
}
.admin-analytics-top-list>a>span{
 width:26px;height:26px;border-radius:8px;background:#edf3ff;color:#1765cf;display:grid;place-items:center;font-size:10px!important;font-weight:900
}
.admin-analytics-top-list strong{
 display:block;
 color:#405a77;
 font-size:12px!important;
}
.admin-analytics-top-list small{
 display:block;
 margin-top:2px;
 color:#7f8b9b;
 font-size:11px!important;
}
.admin-analytics-top-list b{
 color:#1765cf;
 font-size:11.5px!important;
}
.admin-analytics-next p{
 color:#6f7f92;
 font-size:12px!important;
 line-height:1.5!important;
}
.admin-empty-state.compact{
 min-height:120px;
}

@media(max-width:1180px){
 .admin-dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 .admin-dashboard-secondary{grid-template-columns:1fr 1fr}
 .admin-dashboard-secondary>article:last-child{grid-column:1/-1}
}
@media(max-width:980px){
 .admin-dashboard-main,
 .admin-analytics-layout{grid-template-columns:1fr}
 .admin-dashboard-priorities{grid-template-columns:1fr 1fr}
 .admin-analytics-layout>aside{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
 .admin-home-dashboard .content{padding:12px}
 .admin-dashboard-hero{align-items:flex-start;flex-direction:column}
 .admin-dashboard-hero-actions{justify-content:flex-start}
 .admin-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-dashboard-priorities,
 .admin-dashboard-secondary,
 .admin-dashboard-tasks>div,
 .admin-analytics-layout>aside{grid-template-columns:1fr}
 .admin-dashboard-secondary>article:last-child{grid-column:auto}
}
@media(max-width:430px){
 .admin-dashboard-kpis{grid-template-columns:1fr}
}


/* V11.1.5 — Analytics fail-safe recovery */
.analytics-safe-page{
 background:#f6f8fc!important;
 color:#314b68!important;
 min-height:100vh;
}
.analytics-runtime-notice{
 min-height:62px;
 margin-bottom:11px;
 padding:10px 12px;
 border:1px solid #f1d6a6;
 border-radius:10px;
 background:#fff9eb;
 display:grid;
 grid-template-columns:30px minmax(0,1fr) auto;
 gap:9px;
 align-items:center;
}
.analytics-runtime-notice>span{
 width:29px;height:29px;border-radius:8px;background:#fff0c7;color:#9c6c10;display:grid;place-items:center;font-weight:900;
}
.analytics-runtime-notice strong{
 display:block;color:#6d5422;font-size:12.5px!important;
}
.analytics-runtime-notice p{
 margin:2px 0 0!important;color:#7b6a47;font-size:11.5px!important;
}
.analytics-runtime-notice>a{
 color:#1765cf;font-size:11.5px!important;font-weight:800;
}
.analytics-series-legend{
 display:flex;
 flex-wrap:wrap;
 gap:12px;
 margin-bottom:10px;
}
.analytics-series-legend>span{
 display:flex;align-items:center;gap:5px;color:#67798f;font-size:11.5px!important;
}
.analytics-dot{
 width:8px;height:8px;border-radius:50%;display:block;
}
.analytics-dot.resources{background:#2f6fec}
.analytics-dot.views{background:#34b98f}
.analytics-dot.saves{background:#8a5de8}
.analytics-activity-grid{
 display:grid;
 gap:8px;
}
.analytics-activity-grid>article{
 min-height:48px;
 display:grid;
 grid-template-columns:50px minmax(0,1fr) 38px;
 gap:8px;
 align-items:center;
}
.analytics-activity-grid>article>span,
.analytics-activity-grid>article>strong{
 font-size:11.5px!important;
 color:#61748b;
}
.analytics-activity-grid>article>strong{text-align:right}
.analytics-mini-bars{
 display:grid;
 gap:3px;
}
.analytics-mini-bars>i{
 height:5px;border-radius:999px;background:#edf1f6;overflow:hidden;
}
.analytics-mini-bars>i>b{
 display:block;height:100%;border-radius:999px;min-width:0;
}
.analytics-mini-bars>i.resources>b{background:#2f6fec}
.analytics-mini-bars>i.views>b{background:#34b98f}
.analytics-mini-bars>i.saves>b{background:#8a5de8}
.analytics-readiness-card>div{
 display:grid;
 margin:9px 0 12px;
 border-top:1px solid #edf1f6;
 border-bottom:1px solid #edf1f6;
}
.analytics-readiness-card p{
 min-height:38px;margin:0!important;border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between;gap:8px;
}
.analytics-readiness-card p:last-child{border-bottom:0}
.analytics-readiness-card p span{color:#6f7f92;font-size:11.5px!important}
.analytics-readiness-card p strong{color:#3e5875;font-size:12px!important}
@media(max-width:720px){
 .analytics-runtime-notice{grid-template-columns:30px minmax(0,1fr)}
 .analytics-runtime-notice>a{grid-column:2}
}
/* V11.1.7 analytics HTML-response recovery */
.analytics-build-marker{padding:5px 8px;border:1px solid #d7e3f1;border-radius:999px;background:#fff;color:#1765cf;font-size:11px!important;font-weight:800}
.analytics-loading-state{min-height:72px;margin-bottom:12px;padding:12px;border:1px solid #dde6f0;border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px}
.analytics-loading-spinner{width:22px;height:22px;border:3px solid #dfe8f4;border-top-color:#1765cf;border-radius:50%;animation:analyticsSpin .8s linear infinite}
.analytics-loading-state strong{display:block;color:#405a77;font-size:12.5px!important}.analytics-loading-state p{margin:3px 0 0!important;color:#7a8798;font-size:11.5px!important}
@keyframes analyticsSpin{to{transform:rotate(360deg)}}


/* ========================================================================
   V12.0 — Unified Design System & UX Polish
   One visual language for Admin, Teacher, Library, Reader, AI and Governance
   ======================================================================== */
:root{
 --ds-font:"Segoe UI",Inter,Arial,sans-serif;

 --ds-blue-900:#123968;
 --ds-blue-800:#173f73;
 --ds-blue-700:#1765cf;
 --ds-blue-600:#2f72da;
 --ds-blue-100:#eaf2ff;
 --ds-blue-050:#f4f8ff;

 --ds-slate-900:#253b56;
 --ds-slate-800:#38516e;
 --ds-slate-700:#536a85;
 --ds-slate-600:#687b91;
 --ds-slate-500:#8090a2;
 --ds-slate-300:#cfd9e5;
 --ds-slate-200:#dfe7f0;
 --ds-slate-100:#edf2f7;
 --ds-slate-050:#f7f9fc;

 --ds-success:#27885f;
 --ds-success-bg:#eaf8f0;
 --ds-warning:#a66d0b;
 --ds-warning-bg:#fff6e4;
 --ds-danger:#bd5059;
 --ds-danger-bg:#fff0f1;
 --ds-purple:#7555d9;
 --ds-purple-bg:#f1edff;

 --ds-surface:#ffffff;
 --ds-page:#f6f8fc;
 --ds-border:#dfe7f0;
 --ds-border-soft:#edf2f6;

 --ds-radius-sm:7px;
 --ds-radius-md:10px;
 --ds-radius-lg:12px;
 --ds-radius-xl:16px;

 --ds-shadow-xs:0 2px 8px rgba(18,57,104,.025);
 --ds-shadow-sm:0 4px 14px rgba(18,57,104,.04);
 --ds-shadow-md:0 10px 28px rgba(18,57,104,.08);

 --ds-space-1:4px;
 --ds-space-2:8px;
 --ds-space-3:12px;
 --ds-space-4:16px;
 --ds-space-5:20px;
 --ds-space-6:24px;
 --ds-space-8:32px;

 --ds-text-xs:12px;
 --ds-text-sm:13px;
 --ds-text-base:15px;
 --ds-text-md:16px;
 --ds-text-lg:18px;
 --ds-text-xl:22px;
 --ds-text-2xl:28px;
}

.design-system-v12{
 font-family:var(--ds-font)!important;
 color:var(--ds-slate-800);
 background:var(--ds-page);
}
.design-system-v12 *,
.design-system-v12 *::before,
.design-system-v12 *::after{
 box-sizing:border-box;
}
.design-system-v12 a{
 text-decoration:none;
}
.design-system-v12 button,
.design-system-v12 input,
.design-system-v12 select,
.design-system-v12 textarea{
 font:inherit;
}

/* ---- Application shell ------------------------------------------------- */
.design-system-v12 .topbar{
 min-height:72px;
 height:72px;
 padding:0 20px;
 border-bottom:1px solid var(--ds-border);
 background:rgba(255,255,255,.98);
 box-shadow:0 1px 0 rgba(18,57,104,.02);
 backdrop-filter:saturate(140%) blur(8px);
}
.design-system-v12 .brand{
 gap:10px;
 min-width:220px;
}
.design-system-v12 .logo-mark{
 border-radius:11px;
 box-shadow:0 5px 14px rgba(23,101,207,.16);
}
.design-system-v12 .brand-copy strong{
 color:var(--ds-blue-900);
 font-size:15px!important;
 font-weight:800;
 letter-spacing:-.1px;
}
.design-system-v12 .brand-copy small{
 margin-top:2px;
 color:var(--ds-slate-500);
 font-size:11.5px!important;
}
.design-system-v12 .global-search{
 height:42px;
 max-width:700px;
 border:1px solid var(--ds-border);
 border-radius:11px;
 background:#fbfcfe;
 box-shadow:inset 0 1px 1px rgba(18,57,104,.015);
}
.design-system-v12 .global-search:focus-within{
 border-color:#abc7ec;
 background:#fff;
 box-shadow:0 0 0 3px rgba(23,101,207,.08);
}
.design-system-v12 .global-search input{
 color:var(--ds-slate-800);
 font-size:13.5px!important;
}
.design-system-v12 .global-search input::placeholder{
 color:#8a98a9;
}
.design-system-v12 .search-icon{
 width:20px;
 height:20px;
 display:grid;
 place-items:center;
 color:#708398;
}
.design-system-v12 .search-icon svg{
 width:17px;
 height:17px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.design-system-v12 .icon-btn{
 width:40px;
 height:40px;
 border-radius:10px;
 border:1px solid transparent;
 background:#fbfcfe;
}
.design-system-v12 .icon-btn:hover{
 border-color:var(--ds-border);
 background:var(--ds-blue-050);
}
.design-system-v12 .profile-menu>summary{
 min-height:46px;
 padding:4px 7px;
 border-radius:11px;
}
.design-system-v12 .profile-menu>summary:hover{
 background:var(--ds-slate-050);
}
.design-system-v12 .profile-caret{
 width:18px;
 display:grid;
 place-items:center;
 color:var(--ds-slate-500);
}
.design-system-v12 .profile-caret svg{
 width:16px;height:16px;
 fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.design-system-v12 .profile-menu-icon{
 width:28px;
 height:28px;
 border-radius:7px;
 background:var(--ds-blue-050);
 color:var(--ds-blue-700);
 display:grid;
 place-items:center;
}
.design-system-v12 .profile-menu-icon svg{
 width:16px;
 height:16px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.7;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.design-system-v12 .profile-dropdown{
 border:1px solid var(--ds-border);
 border-radius:12px;
 box-shadow:var(--ds-shadow-md);
}
.design-system-v12 .profile-dropdown nav a{
 min-height:43px;
 gap:9px;
 border-radius:7px;
}
.design-system-v12 .profile-dropdown nav a:hover{
 background:var(--ds-blue-050);
}

/* ---- Sidebar ----------------------------------------------------------- */
.design-system-v12 .sidebar{
 width:auto;
 border-right:1px solid var(--ds-border);
 background:#fff;
}
.design-system-v12 .primary-nav{
 padding:10px 10px 14px;
}
.design-system-v12 .nav-item{
 min-height:44px;
 border-radius:9px;
 color:#405a76;
 font-weight:650;
 transition:background-color .16s ease,color .16s ease,transform .16s ease;
}
.design-system-v12 .nav-item:hover{
 background:var(--ds-slate-050);
 color:var(--ds-blue-800);
 transform:translateX(1px);
}
.design-system-v12 .nav-item.active{
 background:var(--ds-blue-100)!important;
 color:var(--ds-blue-700)!important;
 border:1px solid #cddff5!important;
 box-shadow:none!important;
}
.design-system-v12 .nav-icon{
 width:24px;
 height:24px;
 display:grid;
 place-items:center;
 color:#657b93;
}
.design-system-v12 .nav-item.active .nav-icon{
 color:var(--ds-blue-700);
}
.design-system-v12 .nav-icon svg{
 width:19px;
 height:19px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.75;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.design-system-v12 .sidebar-nav-label{
 margin:14px 10px 5px;
 color:#99a4b1;
 font-size:10px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.75px;
}
.design-system-v12 .sidebar-footer{
 color:var(--ds-slate-500);
 font-size:11px!important;
}

/* ---- Secondary/context navigation ------------------------------------- */
.design-system-v12 .context-nav{
 min-height:52px;
 border-bottom:1px solid var(--ds-border);
 background:#fff;
}
.design-system-v12 .context-title{
 color:var(--ds-blue-900)!important;
 font-weight:800;
}
.design-system-v12 .context-direct,
.design-system-v12 .context-dropdown>summary{
 color:#5c7188!important;
 font-size:12.5px!important;
 font-weight:650!important;
}
.design-system-v12 .context-direct.active,
.design-system-v12 .context-dropdown.active>summary{
 color:var(--ds-blue-700)!important;
}
.design-system-v12 .context-dropdown-menu{
 border:1px solid var(--ds-border);
 border-radius:10px;
 box-shadow:var(--ds-shadow-md);
}
.design-system-v12 .breadcrumbs{
 min-height:34px;
 background:#fafbfd;
 border-bottom:1px solid var(--ds-border-soft);
}

/* ---- Main content ------------------------------------------------------ */
.design-system-v12 .content{
 background:var(--ds-page);
}
.design-system-v12 .page-head,
.design-system-v12 .admin-page-heading,
.design-system-v12 .governance-heading,
.design-system-v12 .repository-health-heading,
.design-system-v12 .production-readiness-heading{
 margin-bottom:14px;
}
.design-system-v12 .page-head h1,
.design-system-v12 .admin-page-heading h1,
.design-system-v12 .governance-heading h1,
.design-system-v12 .repository-health-heading h1,
.design-system-v12 .production-readiness-heading h1{
 color:var(--ds-blue-900);
 letter-spacing:-.45px;
}
.design-system-v12 .page-head p,
.design-system-v12 .admin-page-heading p,
.design-system-v12 .governance-heading p{
 color:var(--ds-slate-600);
}

/* ---- Reusable cards ---------------------------------------------------- */
.design-system-v12 .card,
.design-system-v12 .admin-data-card,
.design-system-v12 .approval-card,
.design-system-v12 .duplicate-resolution-list>article,
.design-system-v12 .teacher-catalogue-card,
.design-system-v12 .teacher-popular-card,
.design-system-v12 .teacher-notification-card,
.design-system-v12 .library-resource-card,
.design-system-v12 .saved-resource-card,
.design-system-v12 .collection-card{
 border:1px solid var(--ds-border)!important;
 border-radius:var(--ds-radius-lg)!important;
 background:var(--ds-surface)!important;
 box-shadow:var(--ds-shadow-xs)!important;
}
.design-system-v12 .card:hover{
 border-color:#d2deeb;
}
.design-system-v12 .card>header,
.design-system-v12 .admin-data-card>header{
 border-bottom-color:var(--ds-border-soft);
}

/* ---- Buttons ----------------------------------------------------------- */
.design-system-v12 .btn{
 min-height:38px;
 padding:0 13px;
 border-radius:8px;
 font-size:12.5px!important;
 font-weight:750;
 letter-spacing:0;
 transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease;
}
.design-system-v12 .btn:not(.secondary):not(.danger){
 background:var(--ds-blue-700);
 border-color:var(--ds-blue-700);
 box-shadow:0 4px 10px rgba(23,101,207,.11);
}
.design-system-v12 .btn:not(.secondary):not(.danger):hover{
 background:#145ab9;
 border-color:#145ab9;
 transform:translateY(-1px);
}
.design-system-v12 .btn.secondary{
 background:#fff;
 border-color:var(--ds-border);
 color:#46617e;
 box-shadow:none;
}
.design-system-v12 .btn.secondary:hover{
 background:var(--ds-blue-050);
 border-color:#c6d9f0;
 color:var(--ds-blue-700);
}
.design-system-v12 .btn.danger{
 background:var(--ds-danger-bg);
 border-color:#f2cdd1;
 color:var(--ds-danger);
}
.design-system-v12 .btn.small{
 min-height:32px;
 padding:0 10px;
}

/* ---- Forms ------------------------------------------------------------- */
.design-system-v12 .input,
.design-system-v12 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.design-system-v12 select,
.design-system-v12 textarea{
 border:1px solid var(--ds-border);
 border-radius:8px;
 background:#fff;
 color:var(--ds-slate-800);
}
.design-system-v12 .input:focus,
.design-system-v12 input:focus,
.design-system-v12 select:focus,
.design-system-v12 textarea:focus{
 outline:none;
 border-color:#9fbfe8;
 box-shadow:0 0 0 3px rgba(23,101,207,.08);
}
.design-system-v12 label{
 color:#49627d;
}
.design-system-v12 textarea{
 line-height:1.5;
}

/* ---- Tables ------------------------------------------------------------ */
.design-system-v12 .table{
 border-collapse:separate;
 border-spacing:0;
}
.design-system-v12 .table th{
 background:#f8fafc!important;
 color:#60748b!important;
 border-bottom:1px solid var(--ds-border)!important;
 font-weight:800!important;
}
.design-system-v12 .table td{
 border-bottom:1px solid var(--ds-border-soft)!important;
}
.design-system-v12 .table tbody tr{
 transition:background-color .12s ease;
}
.design-system-v12 .table tbody tr:hover{
 background:#fbfdff;
}
.design-system-v12 .table tbody tr:last-child td{
 border-bottom:0!important;
}

/* ---- Status / badges --------------------------------------------------- */
.design-system-v12 .admin-status-pill,
.design-system-v12 .admin-quality-pill,
.design-system-v12 .admin-action-pill,
.design-system-v12 .tag,
.design-system-v12 .badge{
 font-weight:750;
 border:1px solid transparent;
}
.design-system-v12 .admin-status-pill.published,
.design-system-v12 .admin-status-pill.active{
 background:var(--ds-success-bg);color:var(--ds-success);
}
.design-system-v12 .admin-status-pill.review,
.design-system-v12 .admin-status-pill.submitted,
.design-system-v12 .admin-status-pill.under_review{
 background:var(--ds-warning-bg);color:var(--ds-warning);
}
.design-system-v12 .admin-status-pill.archived,
.design-system-v12 .admin-status-pill.inactive,
.design-system-v12 .admin-status-pill.locked{
 background:var(--ds-danger-bg);color:var(--ds-danger);
}

/* ---- KPI cards --------------------------------------------------------- */
.design-system-v12 .admin-kpi-strip,
.design-system-v12 .governance-stats,
.design-system-v12 .executive-governance-kpis,
.design-system-v12 .lifecycle-summary{
 gap:10px;
}
.design-system-v12 .admin-kpi-strip article,
.design-system-v12 .governance-stats article,
.design-system-v12 .executive-governance-kpis article,
.design-system-v12 .lifecycle-summary article{
 border:1px solid var(--ds-border)!important;
 border-radius:10px!important;
 background:#fff!important;
 box-shadow:var(--ds-shadow-xs)!important;
}
.design-system-v12 .admin-kpi-strip strong,
.design-system-v12 .governance-stats strong,
.design-system-v12 .executive-governance-kpis strong{
 color:var(--ds-blue-900)!important;
}

/* ---- Teacher portal harmonisation ------------------------------------- */
.design-system-v12.teacher-portal-page .sidebar{
 background:#fff;
}
.design-system-v12.teacher-portal-page .teacher-primary-nav .nav-item{
 min-height:45px;
}
.design-system-v12.teacher-portal-page .teacher-primary-nav .nav-item.active{
 background:linear-gradient(90deg,#155eb8,#2f79e3)!important;
 color:#fff!important;
 border-color:transparent!important;
 box-shadow:0 7px 18px rgba(23,101,207,.16)!important;
}
.design-system-v12.teacher-portal-page .teacher-primary-nav .nav-item.active .nav-icon{
 color:#fff;
}
.design-system-v12.teacher-portal-page .teacher-sidebar-quote{
 border:1px solid var(--ds-border);
 border-radius:14px;
 background:#fffdf8;
 box-shadow:var(--ds-shadow-xs);
}
.design-system-v12.teacher-portal-page .teacher-catalogue-card,
.design-system-v12.teacher-portal-page .teacher-popular-card,
.design-system-v12.teacher-portal-page .teacher-notification-card{
 transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.design-system-v12.teacher-portal-page .teacher-catalogue-card:hover,
.design-system-v12.teacher-portal-page .teacher-popular-card:hover{
 transform:translateY(-2px);
 border-color:#cbdcf1!important;
 box-shadow:var(--ds-shadow-sm)!important;
}

/* ---- Reader ------------------------------------------------------------ */
.design-system-v12 .professional-reader{
 background:var(--ds-page);
}
.design-system-v12 .reader-command-bar,
.design-system-v12 .reader-info-panel,
.design-system-v12 .reader-insight-panel{
 border-color:var(--ds-border)!important;
 box-shadow:var(--ds-shadow-xs)!important;
}
.design-system-v12 .reader-tool{
 border-radius:8px!important;
}
.design-system-v12 .reader-extracted-text,
.design-system-v12 .reader-summary-text,
.design-system-v12 .reader-notes-list p{
 color:#2f4966;
 line-height:1.65!important;
}

/* ---- AI / Governance --------------------------------------------------- */
.design-system-v12 .ai-assistant-panel,
.design-system-v12 .teacher-ai-card,
.design-system-v12 .governance-panel,
.design-system-v12 .executive-panel,
.design-system-v12 .repository-health-panel{
 border-radius:var(--ds-radius-lg)!important;
}
.design-system-v12 .governance-list article,
.design-system-v12 .executive-event-list article,
.design-system-v12 .repository-health-history article{
 border-bottom-color:var(--ds-border-soft)!important;
}

/* ---- Empty states ------------------------------------------------------ */
.design-system-v12 .admin-empty-state,
.design-system-v12 .repository-health-clear,
.design-system-v12 .dashboard-empty{
 color:var(--ds-slate-500);
}
.design-system-v12 .admin-empty-state>span{
 background:var(--ds-blue-050);
 color:var(--ds-blue-700);
}

/* ---- Alerts ------------------------------------------------------------ */
.design-system-v12 .alert{
 border-radius:9px;
 border:1px solid var(--ds-border);
 box-shadow:var(--ds-shadow-xs);
}
.design-system-v12 .alert.success{
 background:var(--ds-success-bg);
 color:var(--ds-success);
 border-color:#cbead9;
}
.design-system-v12 .alert.error{
 background:var(--ds-danger-bg);
 color:var(--ds-danger);
 border-color:#f1cdd1;
}

/* ---- Motion & focus ---------------------------------------------------- */
.design-system-v12 a:focus-visible,
.design-system-v12 button:focus-visible,
.design-system-v12 input:focus-visible,
.design-system-v12 select:focus-visible,
.design-system-v12 textarea:focus-visible,
.design-system-v12 summary:focus-visible{
 outline:3px solid rgba(23,101,207,.23);
 outline-offset:2px;
}

/* ---- Responsive density ------------------------------------------------ */
@media(max-width:1100px){
 .design-system-v12 .topbar{
  padding:0 14px;
 }
 .design-system-v12 .brand{
  min-width:auto;
 }
}
@media(max-width:760px){
 .design-system-v12 .topbar{
  height:64px;
  min-height:64px;
  padding:0 10px;
 }
 .design-system-v12 .global-search{
  height:40px;
 }
 .design-system-v12 .content{
  padding-left:12px!important;
  padding-right:12px!important;
 }
 .design-system-v12 .card{
  border-radius:10px!important;
 }
}
@media(max-width:480px){
 .design-system-v12 .brand-copy{
  display:none;
 }
 .design-system-v12 .topbar{
  gap:7px;
 }
 .design-system-v12 .header-actions{
  gap:4px;
 }
 .design-system-v12 .icon-btn{
  width:38px;height:38px;
 }
}

/* ---- Reduced motion ---------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
 .design-system-v12 *,
 .design-system-v12 *::before,
 .design-system-v12 *::after{
  animation-duration:.01ms!important;
  animation-iteration-count:1!important;
  transition-duration:.01ms!important;
  scroll-behavior:auto!important;
 }
}


/* ========================================================================
   Phase 3 — Enterprise Administration Experience
   ======================================================================== */

/* Management pulse */
.enterprise-management-pulse{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
 margin-bottom:12px;
}
.enterprise-management-pulse>.card{
 padding:14px;
}
.management-pulse-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;
}
.management-pulse-grid p{
 min-height:54px;
 margin:0!important;
 padding:9px 10px;
 border:1px solid var(--ds-border-soft);
 border-radius:9px;
 background:#fbfcfe;
 display:flex;
 flex-direction:column;
 justify-content:center;
}
.management-pulse-grid span{
 color:var(--ds-slate-600);
 font-size:11.5px!important;
}
.management-pulse-grid strong{
 margin-top:4px;
 color:var(--ds-blue-900);
 font-size:18px!important;
}

/* Security Center */
.security-score-hero{
 display:grid;
 grid-template-columns:minmax(280px,.85fr) minmax(0,1.35fr);
 gap:12px;
 margin-bottom:12px;
}
.security-score-hero>.card{
 padding:15px;
 display:grid;
 grid-template-columns:112px minmax(0,1fr);
 gap:15px;
 align-items:center;
}
.security-score-ring{
 --security-score:0;
 width:104px;
 height:104px;
 border-radius:50%;
 background:conic-gradient(var(--ds-blue-700) calc(var(--security-score)*1%),#edf1f6 0);
 position:relative;
 display:grid;
 place-items:center;
}
.security-score-ring:before{
 content:"";
 position:absolute;
 inset:10px;
 border-radius:50%;
 background:#fff;
}
.security-score-ring>span{
 position:relative;
 z-index:1;
 text-align:center;
}
.security-score-ring strong{
 display:block;
 color:var(--ds-blue-900);
 font-size:23px!important;
 line-height:1!important;
}
.security-score-ring small{
 display:block;
 margin-top:4px;
 color:var(--ds-slate-500);
 font-size:10.5px!important;
}
.security-score-hero h2{
 margin:0;
 color:var(--ds-blue-900);
 font-size:16px!important;
}
.security-score-hero p{
 margin:6px 0 0!important;
 color:var(--ds-slate-600);
 font-size:12px!important;
}
.security-kpis{
 grid-template-columns:repeat(5,minmax(0,1fr));
 margin:0;
}
.enterprise-security-grid{
 display:grid;
 grid-template-columns:minmax(0,1.45fr) minmax(270px,.65fr);
 gap:12px;
 align-items:start;
}
.enterprise-security-grid>main,
.enterprise-security-grid>aside{
 display:grid;
 gap:12px;
}
.enterprise-security-grid>aside{
 position:sticky;
 top:84px;
}
.security-readiness-card{
 padding:14px;
}
.security-readiness-card h2{
 margin:0;
 color:var(--ds-blue-900);
 font-size:15px!important;
}
.security-readiness-card>div:not(.security-account-list){
 display:grid;
 margin:9px 0 12px;
 border-top:1px solid var(--ds-border-soft);
 border-bottom:1px solid var(--ds-border-soft);
}
.security-readiness-card>div>p{
 min-height:38px;
 margin:0!important;
 border-bottom:1px solid var(--ds-border-soft);
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.security-readiness-card>div>p:last-child{border-bottom:0}
.security-readiness-card>div>p span{
 color:var(--ds-slate-600);
 font-size:11.5px!important;
}
.security-readiness-card>div>p strong{
 color:var(--ds-slate-800);
 font-size:11.5px!important;
 text-align:right;
}
.security-account-list{
 display:grid;
 margin-top:8px;
}
.security-account-list>a{
 min-height:48px;
 border-bottom:1px solid var(--ds-border-soft);
 display:grid;
 grid-template-columns:30px minmax(0,1fr);
 gap:8px;
 align-items:center;
 color:inherit;
}
.security-account-list>a>span{
 width:29px;height:29px;border-radius:8px;background:var(--ds-danger-bg);color:var(--ds-danger);display:grid;place-items:center;font-size:11px!important;font-weight:900
}
.security-account-list strong{
 display:block;color:var(--ds-slate-800);font-size:12px!important;
}
.security-account-list small{
 display:block;margin-top:2px;color:var(--ds-slate-500);font-size:11px!important;
}

/* Users enterprise security */
.user-security-cell{
 display:grid;
 gap:3px;
 min-width:88px;
}
.user-security-cell>span{
 width:max-content;
 padding:3px 6px;
 border-radius:999px;
 font-size:10.5px!important;
 font-weight:800;
}
.user-security-cell>span.good{background:var(--ds-success-bg);color:var(--ds-success)}
.user-security-cell>span.warn{background:var(--ds-warning-bg);color:var(--ds-warning)}
.user-security-cell>span.risk{background:var(--ds-danger-bg);color:var(--ds-danger)}
.user-security-cell small{
 color:var(--ds-slate-500);
 font-size:10.5px!important;
}
.recent-session-dot{
 display:inline-flex;
 margin-top:3px;
 padding:2px 5px;
 border-radius:999px;
 background:var(--ds-success-bg);
 color:var(--ds-success);
 font-size:9.5px!important;
 font-weight:800;
}

/* Enterprise Resource Register */
.enterprise-resource-register{
 display:block;
}
.enterprise-bulk-bar{
 min-height:46px;
 padding:7px 12px;
 border-bottom:1px solid var(--ds-border-soft);
 background:#fbfcfe;
 display:flex;
 align-items:center;
 gap:8px;
 flex-wrap:wrap;
}
.enterprise-bulk-bar label{
 display:flex;
 align-items:center;
 gap:6px;
 color:var(--ds-slate-700);
 font-size:11.5px!important;
 font-weight:700;
}
.enterprise-bulk-bar select{
 min-width:190px;
 height:32px;
 font-size:11.5px!important;
}
.enterprise-bulk-bar>span{
 margin-left:auto;
 color:var(--ds-slate-500);
 font-size:10.5px!important;
}
.bulk-check{
 width:36px;
 text-align:center!important;
}
.bulk-check input{
 width:16px;height:16px;
}
.sr-only{
 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;
}

/* Reports Center */
.enterprise-report-catalogue{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
 margin-bottom:12px;
}
.enterprise-report-catalogue>a{
 min-height:78px;
 padding:11px;
 border:1px solid var(--ds-border);
 border-radius:10px;
 background:#fff;
 display:grid;
 grid-template-columns:35px minmax(0,1fr);
 gap:9px;
 align-items:start;
 color:inherit;
 box-shadow:var(--ds-shadow-xs);
}
.enterprise-report-catalogue>a.active{
 border-color:#bad0ee;
 background:var(--ds-blue-050);
 box-shadow:inset 0 0 0 1px #d7e4f5;
}
.enterprise-report-catalogue>a>span{
 width:34px;height:34px;border-radius:9px;background:var(--ds-blue-100);color:var(--ds-blue-700);display:grid;place-items:center;font-size:13px!important;font-weight:900
}
.enterprise-report-catalogue strong{
 display:block;
 color:var(--ds-slate-800);
 font-size:12.5px!important;
}
.enterprise-report-catalogue small{
 display:block;
 margin-top:3px;
 color:var(--ds-slate-500);
 font-size:11px!important;
 line-height:1.35!important;
}

/* Analytics enterprise extensions */
.county-analytics-list,
.search-demand-list{
 display:grid;
}
.county-analytics-list article{
 min-height:52px;
 display:grid;
 grid-template-columns:minmax(0,1fr) 44px;
 gap:7px;
 align-items:center;
 border-bottom:1px solid var(--ds-border-soft);
 padding:6px 0;
}
.county-analytics-list strong{
 display:block;color:var(--ds-slate-800);font-size:12px!important;
}
.county-analytics-list small{
 display:block;margin-top:2px;color:var(--ds-slate-500);font-size:11px!important;
}
.county-analytics-list>article>span{
 color:var(--ds-blue-700);font-size:11.5px!important;font-weight:800;text-align:right;
}
.county-analytics-list i{
 grid-column:1/-1;
 height:6px;
 border-radius:999px;
 background:#edf1f6;
 overflow:hidden;
}
.county-analytics-list i>b{
 display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--ds-blue-700),#75a8e8);
}
.search-demand-list article{
 min-height:39px;
 border-bottom:1px solid var(--ds-border-soft);
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 gap:7px;
 align-items:center;
}
.search-demand-list span{
 color:var(--ds-slate-700);
 font-size:11.5px!important;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.search-demand-list strong{
 color:var(--ds-blue-700);
 font-size:10.8px!important;
}
.search-demand-list b{
 padding:2px 5px;
 border-radius:999px;
 background:var(--ds-warning-bg);
 color:var(--ds-warning);
 font-size:10px!important;
}

/* Governance compliance */
.governance-compliance-card{
 padding:13px;
}
.governance-compliance-card h2{
 margin:0;
 color:var(--ds-blue-900);
 font-size:15px!important;
}
.governance-compliance-card>div{
 display:grid;
 margin-top:8px;
}
.governance-compliance-card p{
 min-height:36px;
 margin:0!important;
 border-bottom:1px solid var(--ds-border-soft);
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.governance-compliance-card p span{
 color:var(--ds-slate-600);
 font-size:11.5px!important;
}
.governance-compliance-card p strong{
 color:var(--ds-slate-800);
 font-size:11.5px!important;
}

/* AI Operations Center */
.admin-intelligence-page .page-head-actions form{
 display:flex;
 gap:7px;
}
.admin-intelligence-page .table-error{
 color:var(--ds-danger)!important;
}

/* Print/PDF reporting */
@media print{
 body.design-system-v12{
  background:#fff!important;
 }
 .topbar,.sidebar,.context-nav,.breadcrumbs,.page-head-actions,.enterprise-report-catalogue,.floating-chat-shell{
  display:none!important;
 }
 .layout,.main-shell,.content{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
 }
 .report-print-area{
  border:0!important;
  box-shadow:none!important;
 }
 .report-print-area .table-wrap{
  overflow:visible!important;
 }
 .report-print-area .table{
  font-size:9pt!important;
 }
}

@media(max-width:1180px){
 .security-score-hero{grid-template-columns:1fr}
 .security-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 .enterprise-report-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .enterprise-security-grid{grid-template-columns:1fr}
 .enterprise-security-grid>aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .enterprise-management-pulse{grid-template-columns:1fr}
 .security-score-hero>.card{grid-template-columns:1fr;text-align:center}
 .security-score-ring{margin:auto}
 .security-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .enterprise-security-grid>aside{grid-template-columns:1fr}
 .enterprise-report-catalogue{grid-template-columns:1fr}
 .enterprise-bulk-bar{align-items:stretch}
 .enterprise-bulk-bar select{width:100%}
 .enterprise-bulk-bar>span{margin-left:0;width:100%}
}
@media(max-width:430px){
 .management-pulse-grid,
 .security-kpis{grid-template-columns:1fr}
}


/* Phase 3 user-access matrix */
.enterprise-role-matrix{
 margin-top:12px;
 padding:14px;
}
.enterprise-role-matrix>header{
 margin-bottom:9px;
}
.enterprise-role-matrix>header h2{
 margin:0;
 color:var(--ds-blue-900);
 font-size:16px!important;
}
.enterprise-role-matrix>header p{
 margin:4px 0 0!important;
 color:var(--ds-slate-600);
 font-size:12px!important;
}
.role-capability{
 display:inline-grid;
 place-items:center;
 width:25px;
 height:25px;
 border-radius:50%;
 font-size:11px!important;
 font-weight:900;
}
.role-capability.yes{
 background:var(--ds-success-bg);
 color:var(--ds-success);
}
.role-capability.no{
 background:#f2f5f8;
 color:#9aa6b3;
}
.admin-users-page .admin-inline-editor form:first-of-type{
 grid-template-columns:minmax(100px,1fr) minmax(90px,.8fr) minmax(110px,1fr) auto;
}
@media(max-width:980px){
 .admin-users-page .admin-inline-editor form:first-of-type{
  grid-template-columns:1fr 1fr;
 }
}
@media(max-width:600px){
 .admin-users-page .admin-inline-editor form:first-of-type{
  grid-template-columns:1fr;
 }
}


/* ========================================================================
   Phase 4 — AI Intelligence & Smart Repository
   ======================================================================== */
.smart-discovery-hero,
.smart-search-hero{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:16px;
 margin-bottom:14px;
}
.smart-discovery-hero>div>span,
.smart-search-hero>div>span{
 display:block;
 margin-bottom:5px;
 color:var(--ds-blue-700);
 font-size:11px!important;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.6px;
}
.smart-discovery-hero h1,
.smart-search-hero h1{
 margin:0;
 color:var(--ds-blue-900);
 font-size:clamp(26px,2vw,31px)!important;
}
.smart-discovery-hero p,
.smart-search-hero p{
 max-width:780px;
 margin:6px 0 0!important;
 color:var(--ds-slate-600);
 font-size:13px!important;
}
.smart-interest-strip{
 min-height:52px;
 margin-bottom:14px;
 padding:9px 12px;
 border:1px solid var(--ds-border);
 border-radius:10px;
 background:#fff;
 display:flex;
 align-items:center;
 gap:10px;
 flex-wrap:wrap;
}
.smart-interest-strip>strong{
 color:var(--ds-slate-800);
 font-size:12px!important;
}
.smart-interest-strip>div{
 display:flex;
 gap:5px;
 flex-wrap:wrap;
}
.smart-interest-strip a,
.smart-query-understanding a{
 padding:4px 7px;
 border-radius:999px;
 background:var(--ds-blue-050);
 color:var(--ds-blue-700);
 font-size:11px!important;
 font-weight:700;
}
.smart-section-heading,
.smart-results-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:12px;
 margin:16px 0 9px;
}
.smart-section-heading h2,
.smart-results-heading h2{
 margin:0;
 color:var(--ds-blue-900);
 font-size:18px!important;
}
.smart-section-heading p,
.smart-results-heading p{
 margin:4px 0 0!important;
 color:var(--ds-slate-600);
 font-size:12px!important;
}
.smart-section-heading>a{
 color:var(--ds-blue-700);
 font-size:11.5px!important;
 font-weight:800;
}
.smart-resource-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.smart-resource-card{
 min-width:0;
 border:1px solid var(--ds-border);
 border-radius:12px;
 background:#fff;
 overflow:hidden;
 box-shadow:var(--ds-shadow-xs);
 transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.smart-resource-card:hover{
 transform:translateY(-2px);
 border-color:#c8d9ef;
 box-shadow:var(--ds-shadow-sm);
}
.smart-resource-cover{
 height:150px;
 background:#edf3fb;
 display:grid;
 place-items:center;
 overflow:hidden;
 color:var(--ds-blue-700);
 font-weight:900;
}
.smart-resource-cover .smart-cover-image{
 width:100%;
 height:100%;
 object-fit:cover;
}
.smart-resource-card>div{
 padding:11px;
}
.smart-resource-card h3{
 margin:7px 0 5px;
 font-size:14px!important;
 line-height:1.35!important;
}
.smart-resource-card h3 a{color:var(--ds-slate-900)}
.smart-resource-card p{
 margin:0!important;
 color:var(--ds-slate-600);
 font-size:11.5px!important;
}
.smart-resource-card small{
 display:block;
 margin-top:7px;
 color:var(--ds-slate-500);
 font-size:10.8px!important;
}
.smart-pathway-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
}
.smart-pathway-card{
 padding:13px;
}
.smart-pathway-card>header{
 margin-bottom:8px;
}
.smart-pathway-card>header>span{
 color:var(--ds-blue-700);
 font-size:10.5px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.5px;
}
.smart-pathway-card h3{
 margin:3px 0 0;
 color:var(--ds-blue-900);
 font-size:15px!important;
}
.smart-pathway-card>div{
 display:grid;
}
.smart-pathway-card>div>a{
 min-height:50px;
 border-bottom:1px solid var(--ds-border-soft);
 display:grid;
 grid-template-columns:27px minmax(0,1fr);
 gap:8px;
 align-items:center;
 color:inherit;
}
.smart-pathway-card>div>a>b{
 width:26px;height:26px;border-radius:8px;background:var(--ds-blue-100);color:var(--ds-blue-700);display:grid;place-items:center;font-size:10.5px!important
}
.smart-pathway-card strong{
 display:block;
 color:var(--ds-slate-800);
 font-size:11.8px!important;
}
.smart-pathway-card small{
 display:block;
 margin-top:2px;
 color:var(--ds-slate-500);
 font-size:10.5px!important;
}

/* Smart search */
.smart-search-box{
 margin-bottom:10px;
 padding:11px;
 border:1px solid var(--ds-border);
 border-radius:12px;
 background:#fff;
 box-shadow:var(--ds-shadow-xs);
}
.smart-search-modes{
 display:flex;
 gap:14px;
 margin-bottom:8px;
}
.smart-search-modes label{
 display:flex;
 align-items:center;
 gap:5px;
 color:var(--ds-slate-700);
 font-size:11.5px!important;
 font-weight:750;
}
.smart-search-input{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 gap:7px;
}
.smart-search-input>input{
 height:44px;
 padding:0 12px;
 border:1px solid var(--ds-border);
 border-radius:9px;
 background:#fbfcfe;
 color:var(--ds-slate-800);
 font-size:13px!important;
}
.smart-query-understanding{
 min-height:42px;
 margin-bottom:10px;
 padding:7px 10px;
 border:1px solid var(--ds-border-soft);
 border-radius:9px;
 background:#fbfcfe;
 display:flex;
 align-items:center;
 gap:5px;
 flex-wrap:wrap;
}
.smart-query-understanding>strong{
 color:var(--ds-slate-700);
 font-size:11.5px!important;
 margin-right:3px;
}
.smart-query-understanding>span{
 padding:3px 6px;
 border-radius:999px;
 background:#f0f3f7;
 color:var(--ds-slate-700);
 font-size:10.5px!important;
 font-weight:750;
}
.grounded-answer-card{
 padding:14px;
 margin-bottom:12px;
 border-left:3px solid var(--ds-blue-700)!important;
}
.grounded-answer-card>header{
 display:flex;
 justify-content:space-between;
 gap:12px;
 align-items:flex-start;
 margin-bottom:10px;
}
.grounded-answer-card>header>div>span{
 color:var(--ds-blue-700);
 font-size:10.5px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.45px;
}
.grounded-answer-card h2{
 margin:4px 0 0;
 color:var(--ds-blue-900);
 font-size:16px!important;
}
.grounded-answer-card>p{
 color:var(--ds-slate-800);
 font-size:13px!important;
 line-height:1.6!important;
}
.grounded-source-list{
 display:grid;
 gap:4px;
 margin-top:10px;
 padding-top:9px;
 border-top:1px solid var(--ds-border-soft);
}
.grounded-source-list>strong{
 color:var(--ds-slate-700);
 font-size:11.5px!important;
}
.grounded-source-list>a{
 min-height:34px;
 padding:5px 8px;
 border-radius:7px;
 background:var(--ds-blue-050);
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
 color:var(--ds-blue-700);
 font-size:11px!important;
}
.smart-feedback{
 display:flex;
 align-items:center;
 gap:5px;
 margin-top:10px;
}
.smart-feedback>span{
 color:var(--ds-slate-600);
 font-size:11px!important;
}
.smart-feedback button{
 min-height:28px;
 padding:0 8px;
 border:1px solid var(--ds-border);
 border-radius:7px;
 background:#fff;
 color:var(--ds-slate-700);
 font-size:10.5px!important;
 cursor:pointer;
}
.smart-search-results{
 display:grid;
 gap:9px;
}
.smart-search-result{
 padding:13px;
}
.smart-result-top{
 display:flex;
 align-items:center;
 gap:5px;
 flex-wrap:wrap;
}
.smart-result-top>strong{
 margin-left:auto;
 color:var(--ds-blue-700);
 font-size:10.8px!important;
}
.smart-search-result h3{
 margin:8px 0 3px;
 color:var(--ds-slate-900);
 font-size:15px!important;
}
.smart-result-reason{
 margin:0 0 6px!important;
 color:var(--ds-blue-700)!important;
 font-size:11px!important;
 font-weight:700;
}
.smart-result-excerpt{
 color:var(--ds-slate-700);
 font-size:12.5px!important;
 line-height:1.55!important;
}

/* Similar resources */
.smart-related-section .mini-book em{
 display:block;
 margin-top:3px;
 color:var(--ds-blue-700);
 font-style:normal;
 font-size:10.5px!important;
 line-height:1.3!important;
}

/* Smart admin intelligence */
.smart-admin-grid{
 display:grid;
 grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);
 gap:12px;
 align-items:start;
}
.smart-quality-card{
 padding:14px;
 position:sticky;
 top:84px;
}
.smart-quality-card h2{
 margin:0;
 color:var(--ds-blue-900);
 font-size:15px!important;
}
.smart-quality-card>div{
 display:grid;
 margin:9px 0 12px;
 border-top:1px solid var(--ds-border-soft);
 border-bottom:1px solid var(--ds-border-soft);
}
.smart-quality-card p{
 min-height:38px;
 margin:0!important;
 border-bottom:1px solid var(--ds-border-soft);
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.smart-quality-card p:last-child{border-bottom:0}
.smart-quality-card p span{color:var(--ds-slate-600);font-size:11.5px!important}
.smart-quality-card p strong{color:var(--ds-slate-800);font-size:12px!important}

@media(max-width:1100px){
 .smart-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 .smart-admin-grid{grid-template-columns:1fr}
 .smart-quality-card{position:static}
 .smart-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .smart-discovery-hero,.smart-search-hero{align-items:flex-start;flex-direction:column}
 .smart-pathway-grid{grid-template-columns:1fr}
 .smart-search-input{grid-template-columns:1fr 1fr}
 .smart-search-input>input{grid-column:1/-1}
}
@media(max-width:480px){
 .smart-resource-grid{grid-template-columns:1fr}
 .smart-search-input{grid-template-columns:1fr}
 .smart-search-input>input{grid-column:auto}
}

.smart-category-cell{
 min-width:150px;
 display:grid;
 gap:2px;
}
.smart-category-cell strong{
 color:var(--ds-slate-800);
 font-size:11.5px!important;
}
.smart-category-cell small{
 color:var(--ds-slate-500);
 font-size:10.5px!important;
}
.smart-category-cell form{margin-top:3px}
.smart-apply-link{
 padding:0;
 border:0;
 background:transparent;
 color:var(--ds-blue-700);
 font-size:10.5px!important;
 font-weight:800;
 cursor:pointer;
 text-align:left;
}
.smart-apply-link:hover{text-decoration:underline}


/* ========================================================================
   Phase 5 — Enterprise Collaboration & Knowledge Sharing
   ======================================================================== */
.collaboration-grid{
 display:grid;
 grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);
 gap:12px;
 align-items:start;
}
.collaboration-grid>main,
.collaboration-grid>aside{display:grid;gap:12px}
.collaboration-grid>aside{position:sticky;top:84px}
.collaboration-panel{padding:14px}
.collaboration-panel>header{
 display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:9px
}
.collaboration-panel h2,.collaboration-actions h2,.collaboration-request-form h2{
 margin:0;color:var(--ds-blue-900);font-size:15px!important
}
.collaboration-panel header p{
 margin:3px 0 0!important;color:var(--ds-slate-600);font-size:11.5px!important
}
.collaboration-panel header>a{
 color:var(--ds-blue-700);font-size:11.5px!important;font-weight:800
}
.shared-collection-list,.collab-activity-list,.collaboration-actions{display:grid}
.shared-collection-list>a{
 min-height:56px;border-bottom:1px solid var(--ds-border-soft);display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;color:inherit
}
.shared-collection-list>a>span{
 width:33px;height:33px;border-radius:9px;background:var(--ds-blue-100);color:var(--ds-blue-700);display:grid;place-items:center
}
.shared-collection-list strong,.collab-activity-list strong{
 display:block;color:var(--ds-slate-800);font-size:12px!important
}
.shared-collection-list small,.collab-activity-list small{
 display:block;margin-top:2px;color:var(--ds-slate-500);font-size:10.8px!important
}
.collab-activity-list>article{
 min-height:48px;border-bottom:1px solid var(--ds-border-soft);display:grid;grid-template-columns:14px minmax(0,1fr);gap:7px;align-items:start;padding:7px 0
}
.collab-activity-list>article>span{color:var(--ds-blue-700)}
.collaboration-actions{padding:14px}
.collaboration-actions>a{
 min-height:54px;border-bottom:1px solid var(--ds-border-soft);display:block;padding:8px 0;color:inherit
}
.collaboration-actions>a strong{display:block;color:var(--ds-slate-800);font-size:12px!important}
.collaboration-actions>a small{display:block;margin-top:2px;color:var(--ds-slate-500);font-size:10.8px!important}
.collaboration-request-form{padding:14px;display:grid;gap:9px}
.collaboration-request-form label{display:grid;gap:4px}
.collaboration-request-form .btn{width:max-content}

/* Resource comments */
.resource-collaboration-section{padding:14px}
.resource-comment-form{display:grid;gap:7px;margin-bottom:10px}
.resource-comment-form .btn{width:max-content}
.resource-comment-list{display:grid}
.resource-comment-list>article,.discussion-posts>article{
 display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:10px 0;border-bottom:1px solid var(--ds-border-soft)
}
.resource-comment-list>article>span,.discussion-posts>article>span{
 width:33px;height:33px;border-radius:9px;background:var(--ds-blue-100);color:var(--ds-blue-700);display:grid;place-items:center;font-size:11px!important;font-weight:900
}
.resource-comment-list header,.discussion-posts header{
 display:flex;justify-content:space-between;gap:8px;align-items:center
}
.resource-comment-list header strong,.discussion-posts header strong{font-size:12px!important;color:var(--ds-slate-800)}
.resource-comment-list time,.discussion-posts time{font-size:10.5px!important;color:var(--ds-slate-500)}
.resource-comment-list p,.discussion-posts p{margin:5px 0!important;font-size:12px!important;color:var(--ds-slate-700)}
.hidden-post{opacity:.55;background:#fff8f8}

/* Discussions */
.discussion-layout{
 display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start
}
.discussion-thread-list{padding:10px;position:sticky;top:84px}
.discussion-thread-list>header{padding:4px 5px 9px}
.discussion-thread-list h2,.discussion-conversation h2,.discussion-new h2,.discussion-welcome h2{
 margin:0;color:var(--ds-blue-900);font-size:15px!important
}
.discussion-thread-list>a{
 min-height:55px;padding:8px;border-radius:8px;display:block;color:inherit
}
.discussion-thread-list>a:hover,.discussion-thread-list>a.active{background:var(--ds-blue-050)}
.discussion-thread-list strong{display:block;font-size:11.8px!important;color:var(--ds-slate-800)}
.discussion-thread-list small{display:block;margin-top:3px;font-size:10.5px!important;color:var(--ds-slate-500)}
.discussion-layout>main{display:grid;gap:12px}
.discussion-conversation,.discussion-new,.discussion-welcome{padding:14px}
.discussion-conversation>header{margin-bottom:8px}
.discussion-conversation>header p{margin:3px 0 0!important;color:var(--ds-slate-500);font-size:10.8px!important}
.discussion-reply{display:grid;gap:7px;margin-top:10px}
.discussion-reply .btn{width:max-content}
.discussion-new{display:grid;gap:8px}
.discussion-new label{display:grid;gap:4px}
.discussion-new .btn{width:max-content}

/* Collaboration analytics / notification */
.notification-centre-icon.type-collaboration{
 background:var(--ds-purple-bg)!important;color:var(--ds-purple)!important
}

/* Share collection */
.collection-hero .btn{margin-left:6px}

@media(max-width:900px){
 .collaboration-grid,.discussion-layout{grid-template-columns:1fr}
 .collaboration-grid>aside,.discussion-thread-list{position:static}
 .discussion-thread-list{max-height:300px;overflow:auto}
}


/* ========================================================================
   Phase 6 — Digital Knowledge Hub & Learning Experience
   ======================================================================== */
.digital-knowledge-hub-page .content{
 background:linear-gradient(180deg,#f6f9fd 0,#f8fafc 32%,#f6f8fc 100%);
}
.knowledge-hub-hero{
 min-height:330px;
 margin-bottom:14px;
 padding:26px;
 border:1px solid #cfdded;
 border-radius:18px;
 background:
  radial-gradient(circle at 82% 20%,rgba(60,135,221,.16),transparent 32%),
  linear-gradient(135deg,#123968 0%,#185599 55%,#2476c8 100%);
 color:#fff;
 display:grid;
 grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);
 gap:24px;
 align-items:center;
 overflow:hidden;
 box-shadow:0 12px 34px rgba(18,57,104,.12);
}
.knowledge-hub-hero-copy>span{
 display:block;
 color:#cfe2fb;
 font-size:11px!important;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.8px;
}
.knowledge-hub-hero h1{
 max-width:760px;
 margin:8px 0 10px;
 color:#fff!important;
 font-size:clamp(30px,3vw,42px)!important;
 line-height:1.08!important;
 letter-spacing:-.8px;
}
.knowledge-hub-hero p{
 max-width:760px;
 margin:0!important;
 color:#e2edf9!important;
 font-size:14px!important;
 line-height:1.6!important;
}
.knowledge-hub-search{
 max-width:720px;
 margin-top:18px;
 padding:5px;
 border:1px solid rgba(255,255,255,.18);
 border-radius:11px;
 background:rgba(255,255,255,.10);
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:6px;
}
.knowledge-hub-search input{
 height:42px;
 padding:0 12px;
 border:0!important;
 background:#fff!important;
 color:var(--ds-slate-900)!important;
}
.knowledge-hub-actions{
 display:flex;
 gap:7px;
 flex-wrap:wrap;
 margin-top:12px;
}
.knowledge-hub-actions a{
 min-height:32px;
 padding:6px 9px;
 border:1px solid rgba(255,255,255,.20);
 border-radius:8px;
 background:rgba(255,255,255,.08);
 color:#fff;
 font-size:11px!important;
 font-weight:750;
}
.knowledge-hub-actions a:hover{
 background:rgba(255,255,255,.16);
}
.knowledge-hub-impact{
 padding:19px;
 border:1px solid rgba(255,255,255,.18);
 border-radius:15px;
 background:rgba(255,255,255,.09);
 backdrop-filter:blur(8px);
}
.knowledge-hub-impact>strong{
 display:block;
 color:#fff;
 font-size:42px!important;
 line-height:1!important;
}
.knowledge-hub-impact>span{
 display:block;
 margin-top:5px;
 color:#d9e8f8;
 font-size:12px!important;
}
.knowledge-hub-impact>div{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:7px;
 margin-top:17px;
}
.knowledge-hub-impact p{
 margin:0!important;
 padding:9px 6px;
 border-radius:9px;
 background:rgba(255,255,255,.08);
 text-align:center;
}
.knowledge-hub-impact b{
 display:block;
 color:#fff;
 font-size:17px!important;
}
.knowledge-hub-impact small{
 display:block;
 margin-top:2px;
 color:#cfe0f3;
 font-size:9.8px!important;
}

.knowledge-announcement-strip{
 display:grid;
 gap:7px;
 margin-bottom:17px;
}
.knowledge-announcement-strip article{
 min-height:56px;
 padding:9px 12px;
 border:1px solid #d9e6f5;
 border-radius:10px;
 background:#f2f7ff;
 display:grid;
 grid-template-columns:auto minmax(0,1fr);
 gap:10px;
 align-items:center;
}
.knowledge-announcement-strip article>span{
 padding:4px 7px;
 border-radius:999px;
 background:#dceaff;
 color:#1765cf;
 font-size:9.8px!important;
 font-weight:900;
 text-transform:uppercase;
}
.knowledge-announcement-strip strong{
 display:block;
 color:var(--ds-blue-900);
 font-size:12.5px!important;
}
.knowledge-announcement-strip p{
 margin:2px 0 0!important;
 color:var(--ds-slate-600);
 font-size:11.5px!important;
}

.knowledge-section-heading{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:12px;
 margin:20px 0 10px;
}
.knowledge-section-heading>div>span{
 display:block;
 color:var(--ds-blue-700);
 font-size:10.5px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.6px;
}
.knowledge-section-heading h2{
 margin:3px 0 0;
 color:var(--ds-blue-900);
 font-size:19px!important;
}
.knowledge-section-heading p{
 margin:3px 0 0!important;
 color:var(--ds-slate-600);
 font-size:12px!important;
}
.knowledge-section-heading>a{
 color:var(--ds-blue-700);
 font-size:11.5px!important;
 font-weight:800;
 white-space:nowrap;
}

.knowledge-highlight-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.knowledge-highlight-card{
 min-width:0;
 border:1px solid var(--ds-border);
 border-radius:13px;
 background:#fff;
 overflow:hidden;
 color:inherit;
 box-shadow:var(--ds-shadow-xs);
 transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.knowledge-highlight-card:hover{
 transform:translateY(-2px);
 border-color:#c4d8ef;
 box-shadow:var(--ds-shadow-sm);
}
.knowledge-highlight-cover{
 height:145px;
 background:linear-gradient(135deg,#e8f1fc,#d8e8fb);
 display:grid;
 place-items:center;
 overflow:hidden;
 color:#1765cf;
 font-weight:900;
}
.knowledge-highlight-cover img{
 width:100%;
 height:100%;
 object-fit:cover;
}
.knowledge-highlight-card>div:last-child{
 padding:11px;
}
.knowledge-highlight-card>div>span{
 color:var(--ds-blue-700);
 font-size:9.8px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.45px;
}
.knowledge-highlight-card h3{
 margin:5px 0 4px;
 color:var(--ds-slate-900);
 font-size:14px!important;
 line-height:1.35!important;
}
.knowledge-highlight-card p{
 margin:0!important;
 color:var(--ds-slate-600);
 font-size:11px!important;
 line-height:1.45!important;
}

.knowledge-pathway-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
}
.knowledge-pathway-grid>a{
 min-height:165px;
 padding:14px;
 border:1px solid var(--ds-border);
 border-radius:12px;
 background:
  linear-gradient(180deg,rgba(244,248,255,.9),#fff 58%);
 color:inherit;
 box-shadow:var(--ds-shadow-xs);
 display:flex;
 flex-direction:column;
 transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.knowledge-pathway-grid>a:hover{
 transform:translateY(-2px);
 border-color:#c5d8ef;
 box-shadow:var(--ds-shadow-sm);
}
.knowledge-pathway-grid>a>span{
 color:var(--ds-purple);
 font-size:10.2px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.45px;
}
.knowledge-pathway-grid h3{
 margin:7px 0 5px;
 color:var(--ds-blue-900);
 font-size:15px!important;
 line-height:1.35!important;
}
.knowledge-pathway-grid p{
 margin:0!important;
 color:var(--ds-slate-600);
 font-size:11.5px!important;
 line-height:1.5!important;
}
.knowledge-pathway-grid footer{
 margin-top:auto;
 padding-top:10px;
 display:flex;
 justify-content:space-between;
 gap:8px;
 align-items:center;
}
.knowledge-pathway-grid footer b,
.knowledge-pathway-grid footer em{
 font-size:10.5px!important;
 font-style:normal;
}
.knowledge-pathway-grid footer b{color:var(--ds-blue-700)}
.knowledge-pathway-grid footer em{color:var(--ds-slate-500)}
.pathway-catalogue{
 grid-template-columns:repeat(3,minmax(0,1fr));
}

.knowledge-hub-columns{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
 margin-top:12px;
}
.knowledge-hub-panel{
 padding:14px;
}
.knowledge-hub-panel>header{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:8px;
 margin-bottom:8px;
}
.knowledge-hub-panel>header span{
 display:block;
 color:var(--ds-blue-700);
 font-size:9.8px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.5px;
}
.knowledge-hub-panel h2{
 margin:3px 0 0;
 color:var(--ds-blue-900);
 font-size:15px!important;
}
.knowledge-hub-panel>header>a{
 color:var(--ds-blue-700);
 font-size:10.8px!important;
 font-weight:800;
}
.knowledge-county-list{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:7px;
}
.knowledge-county-list>a{
 min-height:70px;
 padding:9px;
 border:1px solid var(--ds-border-soft);
 border-radius:9px;
 background:#fbfcfe;
 display:flex;
 flex-direction:column;
 color:inherit;
}
.knowledge-county-list span{
 color:var(--ds-slate-700);
 font-size:10.5px!important;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.knowledge-county-list strong{
 margin-top:5px;
 color:var(--ds-blue-900);
 font-size:18px!important;
}
.knowledge-county-list small{
 color:var(--ds-slate-500);
 font-size:9.5px!important;
}
.knowledge-theme-list{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:6px;
}
.knowledge-theme-list>a{
 min-height:46px;
 padding:8px;
 border:1px solid var(--ds-border-soft);
 border-radius:8px;
 background:#fbfcfe;
 color:inherit;
}
.knowledge-theme-list strong{
 display:block;
 color:var(--ds-slate-800);
 font-size:11.5px!important;
}
.knowledge-theme-list span{
 display:block;
 margin-top:2px;
 color:var(--ds-slate-500);
 font-size:10px!important;
}
.knowledge-event-list,
.knowledge-recommendation-list{
 display:grid;
}
.knowledge-event-list>article{
 min-height:58px;
 padding:7px 0;
 border-bottom:1px solid var(--ds-border-soft);
 display:grid;
 grid-template-columns:44px minmax(0,1fr);
 gap:8px;
 align-items:center;
}
.knowledge-event-list time{
 width:43px;
 min-height:45px;
 border-radius:9px;
 background:var(--ds-blue-050);
 display:grid;
 place-items:center;
 align-content:center;
}
.knowledge-event-list time b{
 color:var(--ds-blue-900);
 font-size:16px!important;
 line-height:1!important;
}
.knowledge-event-list time span{
 margin-top:2px;
 color:var(--ds-blue-700);
 font-size:9px!important;
 font-weight:850;
 text-transform:uppercase;
}
.knowledge-event-list strong{
 display:block;
 color:var(--ds-slate-800);
 font-size:11.8px!important;
}
.knowledge-event-list small{
 display:block;
 margin-top:3px;
 color:var(--ds-slate-500);
 font-size:10.2px!important;
}
.knowledge-recommendation-list>a{
 min-height:54px;
 padding:7px 0;
 border-bottom:1px solid var(--ds-border-soft);
 display:grid;
 grid-template-columns:34px minmax(0,1fr);
 gap:8px;
 align-items:center;
 color:inherit;
}
.knowledge-recommendation-list>a>span{
 width:33px;
 height:40px;
 border-radius:7px;
 background:var(--ds-blue-100);
 color:var(--ds-blue-700);
 display:grid;
 place-items:center;
 font-size:9.5px!important;
 font-weight:900;
}
.knowledge-recommendation-list strong{
 display:block;
 color:var(--ds-slate-800);
 font-size:11.5px!important;
}
.knowledge-recommendation-list small{
 display:block;
 margin-top:2px;
 color:var(--ds-slate-500);
 font-size:10.2px!important;
}

.knowledge-impact-story{
 margin-top:14px;
 padding:20px;
 border:1px solid #d8e4f1;
 border-radius:14px;
 background:linear-gradient(135deg,#f7faff,#edf4fc);
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:20px;
 align-items:center;
}
.knowledge-impact-story>div:first-child>span{
 color:var(--ds-blue-700);
 font-size:10px!important;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.6px;
}
.knowledge-impact-story h2{
 margin:4px 0;
 color:var(--ds-blue-900);
 font-size:19px!important;
}
.knowledge-impact-story p{
 margin:0!important;
 color:var(--ds-slate-600);
 font-size:12px!important;
}
.knowledge-impact-story>div:last-child{
 display:grid;
 grid-template-columns:repeat(3,minmax(110px,1fr));
 gap:7px;
}
.knowledge-impact-story article{
 padding:10px;
 border:1px solid #dce7f3;
 border-radius:9px;
 background:#fff;
 text-align:center;
}
.knowledge-impact-story article strong{
 display:block;
 color:var(--ds-blue-900);
 font-size:20px!important;
}
.knowledge-impact-story article span{
 display:block;
 margin-top:2px;
 color:var(--ds-slate-500);
 font-size:9.8px!important;
}

/* Curated pathway details */
.learning-pathway-hero{
 margin-bottom:14px;
 padding:22px;
 border:1px solid #d3e0ef;
 border-radius:15px;
 background:linear-gradient(135deg,#f3f7ff,#fff);
}
.learning-pathway-hero>span{
 color:var(--ds-purple);
 font-size:10.5px!important;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.6px;
}
.learning-pathway-hero h1{
 margin:6px 0;
 color:var(--ds-blue-900);
 font-size:clamp(26px,2.5vw,34px)!important;
}
.learning-pathway-hero p{
 max-width:850px;
 margin:0!important;
 color:var(--ds-slate-600);
 font-size:13px!important;
 line-height:1.6!important;
}
.learning-pathway-hero>div{
 display:flex;
 gap:6px;
 flex-wrap:wrap;
 margin-top:10px;
}
.learning-pathway-hero>div>b{
 padding:4px 7px;
 border-radius:999px;
 background:#fff;
 border:1px solid var(--ds-border);
 color:var(--ds-slate-700);
 font-size:10.5px!important;
}
.learning-pathway-steps{
 max-width:920px;
 margin:auto;
 display:grid;
 gap:10px;
}
.learning-pathway-steps>article{
 min-height:145px;
 padding:12px;
 border:1px solid var(--ds-border);
 border-radius:12px;
 background:#fff;
 display:grid;
 grid-template-columns:44px 92px minmax(0,1fr);
 gap:12px;
 align-items:start;
 box-shadow:var(--ds-shadow-xs);
}
.pathway-step-number{
 width:40px;height:40px;border-radius:50%;background:var(--ds-blue-700);color:#fff;display:grid;place-items:center;font-size:12px!important;font-weight:900
}
.pathway-step-cover{
 width:88px;height:116px;border-radius:8px;background:var(--ds-blue-100);overflow:hidden;display:grid;place-items:center;color:var(--ds-blue-700);font-size:11px!important;font-weight:900
}
.pathway-step-cover img{width:100%;height:100%;object-fit:cover}
.learning-pathway-steps article>div:last-child>span{
 color:var(--ds-blue-700);font-size:10px!important;font-weight:800
}
.learning-pathway-steps h2{
 margin:5px 0;
 color:var(--ds-slate-900);
 font-size:15px!important;
}
.learning-pathway-steps p{
 margin:0 0 9px!important;
 color:var(--ds-slate-600);
 font-size:11.8px!important;
 line-height:1.5!important;
}

/* County knowledge */
.county-knowledge-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
 margin-bottom:14px;
}
.county-knowledge-grid>a{
 min-height:90px;
 padding:11px;
 border:1px solid var(--ds-border);
 border-radius:10px;
 background:#fff;
 color:inherit;
 box-shadow:var(--ds-shadow-xs);
}
.county-knowledge-grid>a.active{
 border-color:#b9d1ef;
 background:var(--ds-blue-050);
}
.county-knowledge-grid strong{
 display:block;
 color:var(--ds-blue-900);
 font-size:13px!important;
}
.county-knowledge-grid span{
 display:block;
 margin-top:6px;
 color:var(--ds-blue-700);
 font-size:11px!important;
 font-weight:800;
}
.county-knowledge-grid small{
 display:block;
 margin-top:3px;
 color:var(--ds-slate-500);
 font-size:9.8px!important;
}

/* Admin Knowledge Hub */
.knowledge-admin-tabs{
 display:flex;
 gap:3px;
 margin-bottom:12px;
 padding:4px;
 border:1px solid var(--ds-border);
 border-radius:10px;
 background:#fff;
 width:max-content;
 max-width:100%;
 overflow:auto;
}
.knowledge-admin-tabs>a{
 min-height:34px;
 padding:7px 10px;
 border-radius:7px;
 color:var(--ds-slate-600);
 font-size:11.5px!important;
 font-weight:750;
 white-space:nowrap;
}
.knowledge-admin-tabs>a.active{
 background:var(--ds-blue-100);
 color:var(--ds-blue-700);
}
.knowledge-admin-kpis{
 grid-template-columns:repeat(4,minmax(0,1fr));
}
.knowledge-admin-pathway{
 min-height:58px;
 padding:9px 11px;
 border-bottom:1px solid var(--ds-border-soft);
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 gap:8px;
 align-items:center;
}
.knowledge-admin-pathway strong{
 display:block;
 color:var(--ds-slate-800);
 font-size:12px!important;
}
.knowledge-admin-pathway small{
 display:block;
 margin-top:2px;
 color:var(--ds-slate-500);
 font-size:10.5px!important;
}
.knowledge-admin-pathway details>summary{
 cursor:pointer;
 color:var(--ds-blue-700);
 font-size:10.8px!important;
 font-weight:800;
}
.knowledge-admin-pathway details form{
 position:absolute;
 z-index:20;
 width:min(460px,90vw);
 margin-top:6px;
 padding:10px;
 border:1px solid var(--ds-border);
 border-radius:9px;
 background:#fff;
 box-shadow:var(--ds-shadow-md);
 display:grid;
 gap:6px;
}
.knowledge-hub-shortcuts{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* Responsive */
@media(max-width:1180px){
 .knowledge-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .knowledge-pathway-grid,.pathway-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}
 .county-knowledge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .knowledge-hub-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 .knowledge-hub-hero{grid-template-columns:1fr}
 .knowledge-hub-impact{max-width:520px}
 .knowledge-hub-columns{grid-template-columns:1fr}
 .knowledge-impact-story{grid-template-columns:1fr}
 .county-knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .knowledge-hub-hero{padding:18px;border-radius:14px}
 .knowledge-hub-search{grid-template-columns:1fr}
 .knowledge-highlight-grid,.knowledge-pathway-grid,.pathway-catalogue{grid-template-columns:1fr}
 .knowledge-county-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .knowledge-impact-story>div:last-child{grid-template-columns:1fr}
 .learning-pathway-steps>article{grid-template-columns:40px minmax(0,1fr)}
 .pathway-step-cover{display:none}
 .county-knowledge-grid{grid-template-columns:1fr}
 .knowledge-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .knowledge-admin-pathway{grid-template-columns:1fr}
}
@media(max-width:430px){
 .knowledge-hub-impact>div{grid-template-columns:1fr}
 .knowledge-county-list{grid-template-columns:1fr}
 .knowledge-admin-kpis{grid-template-columns:1fr}
}


/* ========================================================================
   V12.1 — Institutional Branding, Public Landing & Login Experience
   Ministry of Education · UNICEF · LISP · Amzeal Creatives
   ======================================================================== */

/* ---------- Shared institutional footer -------------------------------- */
.partner-footer{
 margin-top:auto;
 border-top:1px solid #dce5ef;
 background:#fff;
 color:#50657c;
}
.partner-footer-inner{
 max-width:1480px;
 min-height:86px;
 margin:0 auto;
 padding:12px clamp(16px,3vw,32px);
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:22px;
 align-items:center;
}
.partner-footer-logos{
 display:flex;
 align-items:center;
 gap:clamp(20px,4vw,54px);
 min-width:0;
}
.partner-logo{
 display:flex;
 align-items:center;
 justify-content:center;
 min-width:0;
}
.partner-logo img{
 display:block;
 max-width:100%;
 object-fit:contain;
}
.partner-logo-moe img{width:150px;height:58px}
.partner-logo-unicef img{width:122px;height:46px}
.partner-logo-lisp img{width:54px;height:54px}
.developer-credit{
 min-width:138px;
 padding:5px 8px;
 border-radius:9px;
 display:grid;
 justify-items:center;
 align-content:center;
 gap:2px;
 color:#657991;
 transition:background-color .16s ease,transform .16s ease;
}
.developer-credit:hover{
 background:#f5f8fc;
 transform:translateY(-1px);
}
.developer-credit span{
 font-size:9.5px!important;
 line-height:1!important;
}
.developer-credit img{
 width:116px;
 height:44px;
 object-fit:contain;
 display:block;
}
.partner-footer-meta{
 min-height:35px;
 padding:7px clamp(16px,3vw,32px);
 border-top:1px solid #edf1f5;
 background:#f8fafc;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:14px;
 color:#7a8b9e;
 font-size:10.5px!important;
}
.authenticated-partner-footer{
 margin-top:auto;
}
.authenticated-partner-footer .partner-footer-inner{
 min-height:76px;
}
.authenticated-partner-footer .partner-logo-moe img{width:125px;height:48px}
.authenticated-partner-footer .partner-logo-unicef img{width:105px;height:38px}
.authenticated-partner-footer .partner-logo-lisp img{width:44px;height:44px}
.authenticated-partner-footer .developer-credit img{width:98px;height:36px}

/* Make the logged-in footer sit at the bottom without overlaying content. */
.design-system-v12 .main-shell{
 min-height:calc(100vh - 72px);
 display:flex;
 flex-direction:column;
 min-width:0;
}
.design-system-v12 .main-shell>.content{
 flex:1 0 auto;
}
.design-system-v12 .main-shell>.partner-footer{
 flex:0 0 auto;
}

/* ---------- Authenticated LISP brand ----------------------------------- */
.design-system-v12 .authenticated-brand{
 display:flex;
 align-items:center;
 gap:9px;
 min-width:235px;
}
.design-system-v12 .authenticated-logo{
 width:46px;
 height:46px;
 border-radius:10px;
 background:#fff;
 display:grid;
 place-items:center;
 overflow:hidden;
 flex:0 0 46px;
}
.design-system-v12 .authenticated-logo img{
 width:100%;
 height:100%;
 object-fit:contain;
 display:block;
}
.design-system-v12 .authenticated-brand .brand-copy strong{
 font-size:14px!important;
}
.design-system-v12 .authenticated-brand .brand-copy small{
 font-size:10.5px!important;
}

/* ---------- Public page frame ------------------------------------------ */
.branded-public-page{
 min-height:100vh;
 margin:0;
 display:flex;
 flex-direction:column;
 font-family:"Segoe UI",Inter,Arial,sans-serif;
 background:#fff;
 color:#263d58;
}
.branded-public-page *{box-sizing:border-box}
.landing-main{flex:1 0 auto}
.landing-body .partner-footer,
.login-body .partner-footer{
 flex:0 0 auto;
}

/* ---------- Public navigation ------------------------------------------ */
.landing-nav{
 width:100%;
 height:74px!important;
 min-height:74px;
 padding:0 clamp(18px,4vw,58px)!important;
 border-bottom:1px solid #e1e8f0!important;
 background:rgba(255,255,255,.97)!important;
 position:sticky!important;
 top:0;
 z-index:80!important;
 box-shadow:0 3px 16px rgba(18,57,104,.035);
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
}
.landing-brand{
 min-width:0;
 display:flex;
 align-items:center;
 gap:10px;
 color:#123968;
}
.landing-brand>img{
 width:48px;
 height:48px;
 object-fit:contain;
 flex:0 0 48px;
}
.landing-brand>span{
 min-width:0;
 display:grid;
}
.landing-brand strong{
 color:#123968;
 font-size:14px!important;
 line-height:1.15;
 font-weight:850;
}
.landing-brand small{
 margin-top:2px;
 color:#728399;
 font-size:9.8px!important;
 line-height:1.15;
}
.landing-nav nav{
 display:flex!important;
 align-items:center!important;
 gap:clamp(15px,2vw,27px)!important;
}
.landing-nav nav>a:not(.btn){
 color:#425a75!important;
 font-size:11.5px!important;
 font-weight:700!important;
}
.landing-nav nav>a:not(.btn):hover{color:#1765cf!important}
.landing-nav .btn{
 min-height:36px;
 padding:0 16px;
 border-radius:8px;
}
.landing-menu-toggle{
 display:none;
 width:40px;
 height:40px;
 padding:10px;
 border:0;
 border-radius:9px;
 background:#f4f7fb;
 cursor:pointer;
}
.landing-menu-toggle span{
 display:block;
 width:100%;
 height:2px;
 margin:4px 0;
 background:#173f73;
 border-radius:2px;
}

/* ---------- Landing hero ----------------------------------------------- */
.landing-hero-v2{
 min-height:520px!important;
 padding:50px clamp(22px,5vw,72px)!important;
 grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)!important;
 gap:32px!important;
 background:
   radial-gradient(circle at 84% 20%,rgba(77,143,222,.15),transparent 30%),
   linear-gradient(180deg,#fbfdff 0,#f4f8fd 100%)!important;
 overflow:hidden;
}
.landing-hero-v2 .hero-copy{
 max-width:720px;
}
.landing-hero-v2 .eyebrow{
 color:#1765cf!important;
 font-size:10.5px!important;
 letter-spacing:.13em!important;
}
.landing-hero-v2 .hero-copy h1{
 max-width:680px!important;
 margin:10px 0 14px!important;
 color:#123968!important;
 font-size:clamp(34px,4.2vw,56px)!important;
 line-height:1.04!important;
 letter-spacing:-1.15px;
}
.landing-hero-v2 .hero-copy>p{
 max-width:660px!important;
 margin:0!important;
 color:#546b84!important;
 font-size:14px!important;
 line-height:1.65!important;
}
.landing-search{
 max-width:670px;
 min-height:48px;
 margin-top:19px;
 padding:4px 4px 4px 12px;
 border:1px solid #d6e1ed;
 border-radius:10px;
 background:#fff;
 box-shadow:0 5px 16px rgba(18,57,104,.055);
 display:grid;
 grid-template-columns:20px minmax(0,1fr) auto;
 gap:7px;
 align-items:center;
}
.landing-search>span{
 color:#70849a;
 font-size:17px!important;
}
.landing-search input{
 width:100%;
 height:38px;
 border:0!important;
 outline:0!important;
 background:transparent!important;
 box-shadow:none!important;
 color:#344d68;
 font-size:12.5px!important;
}
.landing-search .btn{
 min-height:39px;
 border-radius:8px;
}
.landing-stat-row{
 max-width:670px;
 margin-top:18px;
 padding-top:15px;
 border-top:1px solid #dce5ef;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:12px;
}
.landing-stat-row>div{
 min-width:0;
 display:grid;
 grid-template-columns:24px auto;
 grid-template-rows:auto auto;
 column-gap:5px;
 align-items:center;
}
.landing-stat-row>div>span{
 grid-row:1/3;
 width:24px;
 height:24px;
 border-radius:7px;
 background:#eaf3ff;
 color:#1765cf;
 display:grid;
 place-items:center;
 font-size:11px!important;
}
.landing-stat-row strong{
 color:#123968;
 font-size:14px!important;
 line-height:1.1;
}
.landing-stat-row small{
 color:#74879c;
 font-size:9.5px!important;
}
.hero-visual-v2{
 min-height:390px;
 position:relative;
 display:grid;
 place-items:center;
}
.landing-visual-orbit{
 position:absolute;
 width:min(390px,80%);
 aspect-ratio:1;
 border-radius:48% 52% 52% 48%;
 background:
   radial-gradient(circle at 36% 32%,#f3f7ff 0 28%,transparent 29%),
   linear-gradient(135deg,#dbe9fb,#c2dbf8);
 transform:rotate(-8deg);
 box-shadow:0 22px 60px rgba(18,57,104,.08);
}
.landing-visual-card{
 width:min(390px,88%);
 min-height:330px;
 padding:24px 22px 16px;
 border:1px solid rgba(255,255,255,.8);
 border-radius:28px 28px 28px 90px;
 background:rgba(255,255,255,.75);
 backdrop-filter:blur(8px);
 box-shadow:0 18px 44px rgba(18,57,104,.12);
 position:relative;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 overflow:hidden;
}
.landing-visual-card>img{
 width:min(260px,78%);
 max-height:205px;
 object-fit:contain;
 position:relative;
 z-index:1;
}
.landing-visual-badge{
 position:absolute;
 top:15px;
 left:16px;
 padding:5px 8px;
 border-radius:999px;
 background:#123968;
 color:#fff;
 font-size:9px!important;
 font-weight:800;
}
.landing-visual-copy{
 width:100%;
 margin-top:3px;
 padding:10px 12px;
 border-radius:10px;
 background:#fff;
 position:relative;
 z-index:1;
}
.landing-visual-copy strong{
 display:block;
 color:#123968;
 font-size:12px!important;
}
.landing-visual-copy small{
 display:block;
 margin-top:2px;
 color:#718399;
 font-size:10px!important;
}

/* ---------- Life Skills cards ------------------------------------------ */
.landing-life-skills,
.landing-impact-section{
 padding:42px clamp(22px,5vw,72px);
 background:#fff;
}
.section-heading.compact{
 max-width:760px!important;
 margin:0 auto 23px!important;
}
.section-heading.compact h2{
 margin:5px 0!important;
 color:#123968!important;
 font-size:27px!important;
}
.section-heading.compact p{
 margin:0!important;
 color:#687c92;
 font-size:12.5px!important;
}
.landing-skill-grid{
 max-width:1260px;
 margin:0 auto;
 display:grid;
 grid-template-columns:repeat(8,minmax(0,1fr));
 gap:9px;
}
.landing-skill-card{
 min-height:118px;
 padding:12px 8px;
 border:1px solid #e1e8f0;
 border-radius:11px;
 background:#fff;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:8px;
 text-align:center;
 color:#25425f;
 box-shadow:0 4px 14px rgba(18,57,104,.03);
 transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.landing-skill-card:hover{
 transform:translateY(-2px);
 border-color:#bdd4ef;
 box-shadow:0 8px 20px rgba(18,57,104,.07);
}
.skill-icon{
 width:39px;
 height:39px;
 border-radius:10px;
 background:#edf5ff;
 color:#1765cf;
 display:grid;
 place-items:center;
}
.skill-icon svg{
 width:24px;
 height:24px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.55;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-skill-card strong{
 max-width:100px;
 color:#28445f;
 font-size:10.5px!important;
 line-height:1.25;
}

/* ---------- Why / impact / CTA ----------------------------------------- */
.landing-why{
 padding:38px clamp(22px,5vw,72px);
 background:linear-gradient(135deg,#0c3462,#123f76 65%,#1764ab);
 color:#fff;
 display:grid;
 grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);
 gap:30px;
 align-items:center;
}
.eyebrow.light{color:#a9cdf6!important}
.landing-why h2{
 margin:7px 0;
 color:#fff;
 font-size:27px!important;
}
.landing-why>div:first-child>p{
 margin:0!important;
 color:#d8e6f5;
 font-size:12.5px!important;
 line-height:1.6!important;
}
.landing-why-grid{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:8px;
}
.landing-why-grid article{
 min-height:93px;
 padding:11px;
 border-left:1px solid rgba(255,255,255,.19);
 display:flex;
 align-items:flex-start;
 gap:7px;
}
.landing-why-grid article>span{
 width:29px;
 height:29px;
 border-radius:50%;
 background:#eaf4ff;
 color:#1765cf;
 display:grid;
 place-items:center;
 flex:0 0 29px;
 font-size:10px!important;
 font-weight:900;
}
.landing-why-grid strong{
 display:block;
 color:#fff;
 font-size:10.8px!important;
}
.landing-why-grid small{
 display:block;
 margin-top:3px;
 color:#c9daec;
 font-size:9.8px!important;
 line-height:1.35!important;
}
.landing-impact-section{
 background:#f7f9fc;
}
.landing-impact-grid{
 max-width:1000px;
 margin:0 auto;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.landing-impact-grid article{
 min-height:95px;
 padding:14px;
 border:1px solid #dfe7f0;
 border-radius:11px;
 background:#fff;
 text-align:center;
}
.landing-impact-grid strong{
 display:block;
 color:#123968;
 font-size:24px!important;
}
.landing-impact-grid span{
 display:block;
 margin-top:4px;
 color:#667c93;
 font-size:10.5px!important;
}
.landing-cta{
 min-height:145px;
 padding:24px clamp(22px,5vw,72px);
 background:#eef5fd;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
}
.landing-cta>div>span{
 color:#1765cf;
 font-size:10px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.5px;
}
.landing-cta h2{
 max-width:760px;
 margin:4px 0 0;
 color:#123968;
 font-size:23px!important;
}

/* ---------- Professional login ----------------------------------------- */
.login-body{
 background:#f3f6fa;
}
.login-shell{
 flex:1 0 auto;
 width:min(1180px,calc(100% - 32px));
 min-height:600px;
 margin:26px auto;
 border:1px solid #dce5ee;
 border-radius:18px;
 background:#fff;
 display:grid;
 grid-template-columns:minmax(360px,.86fr) minmax(420px,1.14fr);
 overflow:hidden;
 box-shadow:0 18px 55px rgba(18,57,104,.10);
}
.login-brand-panel{
 min-height:600px;
 padding:30px;
 background:
  linear-gradient(180deg,rgba(9,45,86,.95),rgba(9,49,94,.96)),
  radial-gradient(circle at 60% 80%,#2476c8,transparent 45%);
 color:#fff;
 position:relative;
 overflow:hidden;
 display:flex;
 flex-direction:column;
}
.login-brand{
 display:flex;
 align-items:center;
 gap:10px;
 color:#fff;
 position:relative;
 z-index:2;
}
.login-brand img{
 width:55px;
 height:55px;
 padding:3px;
 border-radius:11px;
 background:#fff;
 object-fit:contain;
}
.login-brand>span{display:grid}
.login-brand strong{
 color:#fff;
 font-size:15px!important;
}
.login-brand small{
 margin-top:2px;
 color:#bfd6ee;
 font-size:9.8px!important;
}
.login-welcome{
 max-width:380px;
 margin-top:90px;
 position:relative;
 z-index:2;
}
.login-welcome>span{
 color:#9bc6f4;
 font-size:10px!important;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.7px;
}
.login-welcome h1{
 margin:8px 0 10px;
 color:#fff!important;
 font-size:36px!important;
}
.login-welcome p{
 margin:0!important;
 color:#d8e6f4;
 font-size:13px!important;
 line-height:1.65!important;
}
.login-brand-art{
 position:absolute;
 left:24%;
 right:-22px;
 bottom:-22px;
 height:250px;
 opacity:.15;
 display:flex;
 align-items:flex-end;
 justify-content:center;
}
.login-brand-art:before{
 content:"";
 position:absolute;
 width:340px;
 height:340px;
 border-radius:50%;
 background:#fff;
 opacity:.15;
}
.login-brand-art img{
 width:270px;
 max-height:215px;
 object-fit:contain;
 position:relative;
}
.login-form-panel{
 padding:42px clamp(28px,5vw,70px);
 display:grid;
 place-items:center;
}
.login-card{
 width:min(430px,100%);
 display:grid;
 gap:13px;
}
.login-card-heading{
 margin-bottom:5px;
 text-align:center;
}
.login-card-heading>span{
 color:#1765cf;
 font-size:9.8px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.6px;
}
.login-card-heading h2{
 margin:5px 0 3px;
 color:#123968;
 font-size:25px!important;
}
.login-card-heading p{
 margin:0!important;
 color:#718399;
 font-size:11.5px!important;
}
.login-card>label{
 display:grid;
 gap:5px;
 color:#3e5874;
 font-size:11.5px!important;
 font-weight:700;
}
.login-input-wrap{
 min-height:43px;
 border:1px solid #dbe4ed;
 border-radius:8px;
 background:#fff;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:center;
 overflow:hidden;
}
.login-input-wrap:focus-within{
 border-color:#9fc0e9;
 box-shadow:0 0 0 3px rgba(23,101,207,.08);
}
.login-input-wrap .input{
 height:41px!important;
 padding:0 11px!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 background:transparent!important;
}
.login-input-wrap>span{
 padding-right:11px;
 color:#8b9bad;
 font-size:13px!important;
}
.password-toggle{
 height:31px;
 margin-right:5px;
 padding:0 8px;
 border:0;
 border-radius:6px;
 background:#f3f6fa;
 color:#5d7188;
 font-size:9.8px!important;
 cursor:pointer;
}
.login-search-note{
 padding:8px 9px;
 border-radius:7px;
 background:#eef5ff;
 color:#526b85;
 font-size:10.5px!important;
}
.login-submit{
 width:100%;
 min-height:42px!important;
 margin-top:3px;
}
.login-back{
 width:max-content;
 margin:2px auto 0;
 color:#5f748b;
 font-size:10.5px!important;
}
.login-back:hover{color:#1765cf}
.login-partner-footer .partner-footer-inner{
 max-width:1180px;
}

/* ---------- Responsive branding ---------------------------------------- */
@media(max-width:1120px){
 .landing-skill-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .landing-why{grid-template-columns:1fr}
 .landing-why-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .partner-footer-logos{gap:24px}
}
@media(max-width:900px){
 .landing-menu-toggle{display:block}
 .landing-nav nav{
  display:none!important;
  position:absolute;
  top:66px;
  left:12px;
  right:12px;
  padding:11px;
  border:1px solid #dbe4ee;
  border-radius:11px;
  background:#fff;
  box-shadow:0 15px 35px rgba(18,57,104,.12);
  align-items:stretch!important;
  flex-direction:column;
  gap:2px!important;
 }
 .landing-nav nav.open{display:flex!important}
 .landing-nav nav>a{
  min-height:39px;
  padding:8px 10px!important;
  border-radius:7px;
  display:flex;
  align-items:center;
 }
 .landing-nav nav>.btn{justify-content:center}
 .landing-hero-v2{
  grid-template-columns:1fr!important;
  padding-top:38px!important;
 }
 .hero-visual-v2{min-height:320px}
 .landing-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .login-shell{
  width:min(760px,calc(100% - 28px));
  grid-template-columns:1fr;
 }
 .login-brand-panel{
  min-height:230px;
  padding:22px;
 }
 .login-welcome{
  margin-top:32px;
  max-width:570px;
 }
 .login-welcome h1{font-size:28px!important}
 .login-brand-art{
  left:auto;
  right:5%;
  bottom:-50px;
  width:260px;
  height:200px;
 }
 .login-form-panel{padding:34px 25px}
 .partner-footer-inner{
  grid-template-columns:1fr;
  justify-items:center;
  gap:10px;
 }
 .partner-footer-logos{
  width:100%;
  justify-content:center;
 }
 .developer-credit{
  border-top:1px solid #edf1f5;
  width:100%;
  padding-top:9px;
 }
 .design-system-v12 .authenticated-brand{min-width:auto}
}
@media(max-width:760px){
 .design-system-v12 .authenticated-logo{
  width:42px;
  height:42px;
  flex-basis:42px;
 }
 .authenticated-partner-footer .partner-footer-inner{
  padding-top:10px;
  padding-bottom:10px;
 }
 .partner-footer-logos{
  gap:16px;
 }
 .partner-logo-moe img{width:120px;height:48px}
 .partner-logo-unicef img{width:98px;height:38px}
 .partner-logo-lisp img{width:45px;height:45px}
 .partner-footer-meta{
  flex-direction:column;
  justify-content:center;
  text-align:center;
  gap:2px;
 }
 .landing-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-cta{
  align-items:flex-start;
  flex-direction:column;
 }
}
@media(max-width:560px){
 .landing-nav{padding:0 13px!important}
 .landing-brand>img{width:43px;height:43px;flex-basis:43px}
 .landing-brand small{display:none}
 .landing-hero-v2{
  min-height:auto!important;
  padding:32px 17px!important;
 }
 .landing-hero-v2 .hero-copy h1{
  font-size:34px!important;
 }
 .landing-search{
  grid-template-columns:18px minmax(0,1fr) 42px;
  padding-left:9px;
 }
 .landing-search .btn{
  width:42px;
  padding:0;
  font-size:0!important;
 }
 .landing-search .btn:after{
  content:"⌕";
  font-size:15px;
 }
 .hero-visual-v2{min-height:285px}
 .landing-visual-card{min-height:270px}
 .landing-life-skills,.landing-impact-section{padding-left:16px;padding-right:16px}
 .landing-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-why{padding:30px 17px}
 .landing-why-grid{grid-template-columns:1fr}
 .landing-why-grid article{border-left:0;border-top:1px solid rgba(255,255,255,.15)}
 .landing-impact-grid{grid-template-columns:1fr 1fr}
 .login-shell{
  width:100%;
  min-height:0;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
 }
 .login-brand-panel{
  min-height:205px;
  padding:18px;
 }
 .login-brand img{width:48px;height:48px}
 .login-welcome{margin-top:25px}
 .login-welcome p{max-width:400px}
 .login-brand-art{opacity:.08}
 .login-form-panel{padding:28px 18px 34px}
 .partner-footer-logos{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
 }
 .partner-logo-moe img{width:104px;height:45px}
 .partner-logo-unicef img{width:85px;height:34px}
 .partner-logo-lisp img{width:41px;height:41px}
 .developer-credit img{width:92px;height:36px}
 .authenticated-partner-footer .partner-logo-moe img{width:95px;height:40px}
 .authenticated-partner-footer .partner-logo-unicef img{width:78px;height:30px}
 .authenticated-partner-footer .partner-logo-lisp img{width:38px;height:38px}
}
@media(max-width:390px){
 .landing-brand strong{font-size:12.5px!important}
 .landing-stat-row{grid-template-columns:1fr 1fr}
 .landing-impact-grid{grid-template-columns:1fr}
 .partner-footer-inner{padding-left:10px;padding-right:10px}
 .partner-footer-logos{gap:5px}
}

/* Respect reduced motion throughout new branding. */
@media(prefers-reduced-motion:reduce){
 .landing-skill-card,.knowledge-highlight-card,.developer-credit{transition:none!important}
}


/* ========================================================================
   V12.2 — Landing Page Fidelity & Readability Refinement
   ======================================================================== */
.landing-v3{
 --lv3-navy:#123968;
 --lv3-blue:#1765cf;
 --lv3-blue2:#2f80ed;
 --lv3-text:#2b4561;
 --lv3-muted:#60758d;
 --lv3-line:#dfe7f0;
 --lv3-bg:#f6f9fd;
 font-size:16px!important;
 line-height:1.5;
 color:var(--lv3-text);
 background:#fff;
}
.landing-v3 *,
.landing-v3 *::before,
.landing-v3 *::after{box-sizing:border-box}
.landing-v3-main{flex:1 0 auto}

/* Header */
.landing-v3-header{
 position:sticky;
 top:0;
 z-index:100;
 width:100%;
 min-height:82px;
 border-bottom:1px solid var(--lv3-line);
 background:rgba(255,255,255,.98);
 backdrop-filter:blur(14px);
 box-shadow:0 4px 18px rgba(18,57,104,.04);
}
.landing-v3-header-inner{
 width:min(1480px,100%);
 min-height:82px;
 margin:0 auto;
 padding:0 clamp(20px,4vw,64px);
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:28px;
}
.landing-v3-brand{
 min-width:0;
 display:flex;
 align-items:center;
 gap:12px;
 color:var(--lv3-navy);
}
.landing-v3-brand img{
 width:56px;
 height:56px;
 object-fit:contain;
 flex:0 0 56px;
}
.landing-v3-brand span{display:grid;min-width:0}
.landing-v3-brand strong{
 font-size:17px!important;
 line-height:1.15!important;
 font-weight:850;
 color:var(--lv3-navy);
}
.landing-v3-brand small{
 margin-top:4px;
 font-size:13px!important;
 line-height:1.2!important;
 color:#6d8196;
}
.landing-v3-nav{
 display:flex;
 align-items:center;
 gap:28px;
}
.landing-v3-nav>a{
 color:#405872;
 font-size:15px!important;
 font-weight:700;
}
.landing-v3-nav>a:hover{color:var(--lv3-blue)}
.landing-v3-login{
 min-height:42px;
 padding:10px 18px;
 border-radius:9px;
 background:var(--lv3-blue);
 color:#fff!important;
 box-shadow:0 6px 14px rgba(23,101,207,.16);
}
.landing-v3-login:hover{background:#1359b8}
.landing-v3-menu-button{
 display:none;
 width:44px;
 height:44px;
 padding:10px;
 border:1px solid #dbe4ed;
 border-radius:10px;
 background:#fff;
 cursor:pointer;
}
.landing-v3-menu-button span{
 display:block;
 height:2px;
 margin:4px 0;
 border-radius:2px;
 background:var(--lv3-navy);
}

/* Hero */
.landing-v3-hero{
 min-height:590px;
 background:
   radial-gradient(circle at 84% 21%,rgba(78,145,224,.15),transparent 31%),
   linear-gradient(180deg,#fbfdff 0%,#f4f8fd 100%);
 border-bottom:1px solid #edf2f7;
}
.landing-v3-hero-inner{
 width:min(1480px,100%);
 min-height:590px;
 margin:0 auto;
 padding:64px clamp(20px,5vw,72px);
 display:grid;
 grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
 gap:52px;
 align-items:center;
}
.landing-v3-copy{max-width:760px}
.landing-v3-kicker{
 display:block;
 margin-bottom:14px;
 font-size:14px!important;
 line-height:1.2!important;
 font-weight:850;
 letter-spacing:.12em;
 color:var(--lv3-blue);
}
.landing-v3-copy h1{
 max-width:740px;
 margin:0 0 18px;
 color:var(--lv3-navy)!important;
 font-size:clamp(44px,4.5vw,66px)!important;
 line-height:1.03!important;
 letter-spacing:-1.5px;
 font-weight:850;
}
.landing-v3-copy>p{
 max-width:720px;
 margin:0!important;
 color:var(--lv3-muted)!important;
 font-size:18px!important;
 line-height:1.7!important;
}
.landing-v3-search{
 width:min(720px,100%);
 min-height:58px;
 margin-top:26px;
 padding:5px 5px 5px 16px;
 border:1px solid #d5e0eb;
 border-radius:12px;
 background:#fff;
 box-shadow:0 8px 22px rgba(18,57,104,.07);
 display:grid;
 grid-template-columns:24px minmax(0,1fr) auto;
 gap:10px;
 align-items:center;
}
.landing-v3-search-icon{
 width:24px;
 height:24px;
 color:#71869b;
 display:grid;
 place-items:center;
}
.landing-v3-search-icon svg{
 width:21px;
 height:21px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-v3-search input{
 width:100%;
 height:46px;
 padding:0;
 border:0!important;
 outline:0!important;
 background:transparent!important;
 box-shadow:none!important;
 color:#304a66;
 font-size:16px!important;
}
.landing-v3-search input::placeholder{color:#8a9bae}
.landing-v3-search button{
 min-width:112px;
 min-height:46px;
 padding:0 20px;
 border:0;
 border-radius:9px;
 background:var(--lv3-blue);
 color:#fff;
 font-size:15px!important;
 font-weight:800;
 cursor:pointer;
}
.landing-v3-search button:hover{background:#145bb9}

.landing-v3-stats{
 width:min(720px,100%);
 margin-top:26px;
 padding-top:22px;
 border-top:1px solid #dce5ef;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:18px;
}
.landing-v3-stats article{
 min-width:0;
 padding-right:14px;
 border-right:1px solid #e1e8f0;
}
.landing-v3-stats article:last-child{border-right:0}
.landing-v3-stats strong{
 display:block;
 color:var(--lv3-navy);
 font-size:26px!important;
 line-height:1!important;
 font-weight:850;
}
.landing-v3-stats span{
 display:block;
 margin-top:6px;
 color:#718399;
 font-size:14px!important;
 line-height:1.35!important;
}

/* Hero illustration */
.landing-v3-visual{
 min-height:430px;
 position:relative;
 display:grid;
 place-items:center;
}
.landing-v3-visual-backdrop{
 position:absolute;
 width:min(460px,90%);
 aspect-ratio:1.04;
 border-radius:48% 52% 44% 56%;
 background:
  radial-gradient(circle at 40% 30%,#f6f9ff 0 25%,transparent 26%),
  linear-gradient(135deg,#deebfb,#c8def8);
 transform:rotate(-7deg);
 box-shadow:0 26px 70px rgba(18,57,104,.10);
}
.landing-v3-visual-card{
 width:min(430px,90%);
 min-height:365px;
 padding:28px 28px 20px;
 border:1px solid rgba(255,255,255,.95);
 border-radius:30px 30px 30px 92px;
 background:rgba(255,255,255,.82);
 box-shadow:0 24px 56px rgba(18,57,104,.13);
 backdrop-filter:blur(8px);
 position:relative;
 z-index:2;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 overflow:hidden;
}
.landing-v3-visual-label{
 position:absolute;
 top:18px;
 left:20px;
 padding:7px 10px;
 border-radius:999px;
 background:#123968;
 color:#fff;
 font-size:13px!important;
 line-height:1!important;
 font-weight:800;
 display:flex;
 align-items:center;
 gap:6px;
}
.landing-v3-visual-label>span{
 width:7px;height:7px;border-radius:50%;background:#58c47c
}
.landing-v3-visual-card>img{
 width:min(300px,78%);
 max-height:235px;
 object-fit:contain;
 display:block;
}
.landing-v3-visual-footer{
 width:100%;
 margin-top:10px;
 padding:14px 16px;
 border-radius:12px;
 background:#fff;
 box-shadow:0 8px 20px rgba(18,57,104,.06);
}
.landing-v3-visual-footer strong{
 display:block;
 color:var(--lv3-navy);
 font-size:15px!important;
 line-height:1.4!important;
}
.landing-v3-visual-footer span{
 display:block;
 margin-top:4px;
 color:#6f8298;
 font-size:13px!important;
}

/* Section common */
.landing-v3-section{
 padding:64px clamp(20px,5vw,72px);
}
.landing-v3-section-heading{
 max-width:820px;
 margin:0 auto 34px;
 text-align:center;
}
.landing-v3-section-heading>span{
 color:var(--lv3-blue);
 font-size:13px!important;
 line-height:1.2!important;
 font-weight:850;
 letter-spacing:.1em;
}
.landing-v3-section-heading h2{
 margin:8px 0 8px;
 color:var(--lv3-navy);
 font-size:34px!important;
 line-height:1.2!important;
}
.landing-v3-section-heading p{
 margin:0!important;
 color:var(--lv3-muted);
 font-size:16px!important;
 line-height:1.6!important;
}

/* Skills */
.landing-v3-skills-section{background:#fff}
.landing-v3-skill-grid{
 width:min(1280px,100%);
 margin:0 auto;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:16px;
}
.landing-v3-skill{
 min-height:138px;
 padding:20px 14px;
 border:1px solid var(--lv3-line);
 border-radius:14px;
 background:#fff;
 color:#294764;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:12px;
 text-align:center;
 box-shadow:0 6px 18px rgba(18,57,104,.035);
 transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.landing-v3-skill:hover{
 transform:translateY(-3px);
 border-color:#bed4ed;
 box-shadow:0 12px 26px rgba(18,57,104,.08);
}
.landing-v3-skill-icon{
 width:58px;
 height:58px;
 border-radius:15px;
 background:#edf5ff;
 color:var(--lv3-blue);
 display:grid;
 place-items:center;
}
.landing-v3-skill-icon svg{
 width:33px;
 height:33px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.6;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-v3-skill strong{
 color:#294763;
 font-size:16px!important;
 line-height:1.25!important;
}

/* Why repository */
.landing-v3-why{
 padding:58px clamp(20px,5vw,72px);
 background:linear-gradient(135deg,#0d3564 0%,#123f76 60%,#1764ab 100%);
 color:#fff;
 display:grid;
 grid-template-columns:minmax(280px,.65fr) minmax(0,1.35fr);
 gap:42px;
 align-items:center;
}
.landing-v3-why-copy>span{
 color:#acd0f8;
 font-size:13px!important;
 line-height:1.2!important;
 font-weight:850;
 letter-spacing:.1em;
}
.landing-v3-why-copy h2{
 margin:10px 0 12px;
 color:#fff;
 font-size:33px!important;
 line-height:1.2!important;
}
.landing-v3-why-copy p{
 margin:0!important;
 color:#d7e6f5;
 font-size:16px!important;
 line-height:1.65!important;
}
.landing-v3-benefits{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:12px;
}
.landing-v3-benefits article{
 min-height:150px;
 padding:18px 14px;
 border:1px solid rgba(255,255,255,.16);
 border-radius:13px;
 background:rgba(255,255,255,.06);
 display:flex;
 flex-direction:column;
 align-items:flex-start;
 gap:12px;
}
.landing-v3-benefits article>span{
 width:38px;
 height:38px;
 border-radius:50%;
 background:#e8f3ff;
 color:var(--lv3-blue);
 display:grid;
 place-items:center;
 font-size:15px!important;
 font-weight:900;
}
.landing-v3-benefits strong{
 display:block;
 color:#fff;
 font-size:15px!important;
 line-height:1.25!important;
}
.landing-v3-benefits p{
 margin:5px 0 0!important;
 color:#cbdced;
 font-size:13px!important;
 line-height:1.45!important;
}

/* Impact */
.landing-v3-impact{background:#f7f9fc}
.landing-v3-impact-grid{
 width:min(1120px,100%);
 margin:0 auto;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:16px;
}
.landing-v3-impact-grid article{
 min-height:132px;
 padding:22px 18px;
 border:1px solid var(--lv3-line);
 border-radius:14px;
 background:#fff;
 text-align:center;
 display:grid;
 place-items:center;
 align-content:center;
 box-shadow:0 5px 18px rgba(18,57,104,.035);
}
.landing-v3-impact-grid strong{
 color:var(--lv3-navy);
 font-size:32px!important;
 line-height:1!important;
}
.landing-v3-impact-grid span{
 margin-top:9px;
 color:#60758d;
 font-size:15px!important;
 line-height:1.35!important;
}

/* CTA */
.landing-v3-cta{
 min-height:180px;
 padding:36px clamp(20px,5vw,72px);
 background:#edf5ff;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:30px;
}
.landing-v3-cta>div>span{
 color:var(--lv3-blue);
 font-size:13px!important;
 line-height:1.2!important;
 font-weight:850;
 letter-spacing:.1em;
}
.landing-v3-cta h2{
 max-width:800px;
 margin:8px 0 0;
 color:var(--lv3-navy);
 font-size:29px!important;
 line-height:1.3!important;
}
.landing-v3-cta>a{
 min-height:48px;
 padding:13px 20px;
 border-radius:9px;
 background:var(--lv3-blue);
 color:#fff;
 font-size:15px!important;
 font-weight:800;
 white-space:nowrap;
 box-shadow:0 7px 18px rgba(23,101,207,.15);
}
.landing-v3-cta>a:hover{background:#145bb9}

/* Footer readability */
.landing-v3-footer .partner-footer-inner{
 min-height:108px;
}
.landing-v3-footer .partner-logo-moe img{width:180px;height:68px}
.landing-v3-footer .partner-logo-unicef img{width:145px;height:55px}
.landing-v3-footer .partner-logo-lisp img{width:62px;height:62px}
.landing-v3-footer .developer-credit span{
 font-size:13px!important;
}
.landing-v3-footer .developer-credit img{
 width:136px;
 height:50px;
}
.landing-v3-footer .partner-footer-meta{
 min-height:44px;
 font-size:13px!important;
}

/* Login readability refinement */
.login-body{
 font-size:16px!important;
}
.login-brand strong{font-size:17px!important}
.login-brand small{font-size:13px!important}
.login-welcome>span{font-size:13px!important}
.login-welcome h1{font-size:40px!important}
.login-welcome p{font-size:16px!important}
.login-card-heading>span{font-size:13px!important}
.login-card-heading h2{font-size:30px!important}
.login-card-heading p{font-size:15px!important}
.login-card>label{font-size:15px!important}
.login-input-wrap .input{font-size:16px!important}
.password-toggle{font-size:13px!important}
.login-search-note{font-size:14px!important}
.login-back{font-size:14px!important}
.login-partner-footer .developer-credit span{font-size:13px!important}
.login-partner-footer .partner-footer-meta{font-size:13px!important}

/* Responsive */
@media(max-width:1200px){
 .landing-v3-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}
 .landing-v3-benefits article:nth-child(4),
 .landing-v3-benefits article:nth-child(5){min-height:135px}
}
@media(max-width:1020px){
 .landing-v3-menu-button{display:block}
 .landing-v3-nav{
  display:none;
  position:absolute;
  top:74px;
  left:16px;
  right:16px;
  padding:12px;
  border:1px solid var(--lv3-line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 42px rgba(18,57,104,.14);
  flex-direction:column;
  align-items:stretch;
  gap:2px;
 }
 .landing-v3-nav.open{display:flex}
 .landing-v3-nav>a{
  min-height:44px;
  padding:10px 12px;
  border-radius:8px;
  display:flex;
  align-items:center;
 }
 .landing-v3-login{justify-content:center}
 .landing-v3-hero-inner{
  grid-template-columns:1fr;
  padding-top:48px;
  padding-bottom:48px;
 }
 .landing-v3-copy{
  max-width:820px;
  margin:0 auto;
  text-align:center;
 }
 .landing-v3-copy h1,
 .landing-v3-copy>p,
 .landing-v3-search,
 .landing-v3-stats{
  margin-left:auto;
  margin-right:auto;
 }
 .landing-v3-visual{min-height:390px}
 .landing-v3-why{grid-template-columns:1fr}
 .landing-v3-why-copy{max-width:760px}
 .landing-v3-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
 .landing-v3-brand strong{font-size:16px!important}
 .landing-v3-brand small{font-size:13px!important}
 .landing-v3-copy h1{font-size:48px!important}
 .landing-v3-copy>p{font-size:17px!important}
 .landing-v3-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-v3-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-v3-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-v3-cta{
  align-items:flex-start;
  flex-direction:column;
 }
}
@media(max-width:600px){
 .landing-v3-header,
 .landing-v3-header-inner{min-height:74px}
 .landing-v3-header-inner{padding:0 14px}
 .landing-v3-brand img{width:48px;height:48px;flex-basis:48px}
 .landing-v3-brand strong{font-size:15px!important}
 .landing-v3-brand small{display:none}
 .landing-v3-hero-inner{
  min-height:auto;
  padding:36px 16px 42px;
  gap:28px;
 }
 .landing-v3-kicker{font-size:13px!important}
 .landing-v3-copy h1{
  font-size:39px!important;
  line-height:1.06!important;
  letter-spacing:-.9px;
 }
 .landing-v3-copy>p{font-size:16px!important}
 .landing-v3-search{
  grid-template-columns:22px minmax(0,1fr) 50px;
  padding-left:12px;
 }
 .landing-v3-search button{
  min-width:50px;
  width:50px;
  padding:0;
  font-size:0!important;
 }
 .landing-v3-search button::after{
  content:"⌕";
  font-size:18px!important;
 }
 .landing-v3-stats{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
 }
 .landing-v3-stats article:nth-child(2){border-right:0}
 .landing-v3-stats article:nth-child(3),
 .landing-v3-stats article:nth-child(4){padding-top:6px}
 .landing-v3-stats strong{font-size:24px!important}
 .landing-v3-stats span{font-size:13px!important}
 .landing-v3-visual{min-height:315px}
 .landing-v3-visual-card{
  width:min(360px,94%);
  min-height:290px;
  padding:25px 18px 16px;
  border-radius:24px 24px 24px 64px;
 }
 .landing-v3-visual-label{font-size:13px!important}
 .landing-v3-visual-card>img{width:min(245px,76%)}
 .landing-v3-section{padding:48px 16px}
 .landing-v3-section-heading h2{font-size:29px!important}
 .landing-v3-section-heading p{font-size:15px!important}
 .landing-v3-skill-grid{gap:12px}
 .landing-v3-skill{
  min-height:128px;
  padding:16px 10px;
 }
 .landing-v3-skill strong{font-size:15px!important}
 .landing-v3-why{padding:46px 16px}
 .landing-v3-why-copy h2{font-size:29px!important}
 .landing-v3-why-copy p{font-size:15px!important}
 .landing-v3-benefits{grid-template-columns:1fr}
 .landing-v3-benefits article{
  min-height:auto!important;
  flex-direction:row;
  align-items:flex-start;
 }
 .landing-v3-benefits p{font-size:14px!important}
 .landing-v3-impact-grid{grid-template-columns:1fr 1fr}
 .landing-v3-impact-grid strong{font-size:29px!important}
 .landing-v3-impact-grid span{font-size:14px!important}
 .landing-v3-cta{padding:30px 16px}
 .landing-v3-cta h2{font-size:25px!important}
 .landing-v3-footer .partner-footer-logos{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
 .landing-v3-footer .partner-logo-moe img{width:128px;height:52px}
 .landing-v3-footer .partner-logo-unicef img{width:105px;height:42px}
 .landing-v3-footer .partner-logo-lisp img{width:52px;height:52px}
 .landing-v3-footer .partner-footer-meta{font-size:13px!important}
}
@media(max-width:420px){
 .landing-v3-copy h1{font-size:34px!important}
 .landing-v3-skill-grid{grid-template-columns:1fr 1fr}
 .landing-v3-skill{min-height:120px}
 .landing-v3-impact-grid{grid-template-columns:1fr}
 .landing-v3-footer .partner-logo-moe img{width:105px;height:46px}
 .landing-v3-footer .partner-logo-unicef img{width:88px;height:36px}
 .landing-v3-footer .partner-logo-lisp img{width:46px;height:46px}
}

/* Public-page accessibility */
.landing-v3 a:focus-visible,
.landing-v3 button:focus-visible,
.landing-v3 input:focus-visible,
.login-body a:focus-visible,
.login-body button:focus-visible,
.login-body input:focus-visible{
 outline:3px solid rgba(23,101,207,.28)!important;
 outline-offset:2px!important;
}
@media(prefers-reduced-motion:reduce){
 .landing-v3 *, .landing-v3 *::before, .landing-v3 *::after{
  scroll-behavior:auto!important;
  transition:none!important;
  animation:none!important;
 }
}


/* ========================================================================
   V12.3 — Human Classroom Hero Refinement
   ======================================================================== */
.landing-v4-human-visual{
 min-height:500px!important;
 position:relative;
 display:block!important;
 overflow:visible;
}
.landing-v4-photo-frame{
 position:absolute;
 top:22px;
 right:-6vw;
 width:min(760px,52vw);
 height:455px;
 border-radius:58% 0 0 58% / 52% 0 0 52%;
 overflow:hidden;
 background:#dfeafa;
 box-shadow:0 26px 60px rgba(18,57,104,.14);
 z-index:2;
}
.landing-v4-photo-frame::before{
 content:"";
 position:absolute;
 inset:0;
 z-index:2;
 background:linear-gradient(90deg,rgba(255,255,255,.08),transparent 24%,transparent 75%,rgba(9,44,86,.05));
 pointer-events:none;
}
.landing-v4-photo-frame img{
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:center 42%;
 display:block;
 filter:saturate(.96) contrast(1.02);
}
.landing-v4-blue-swoosh{
 position:absolute;
 z-index:3;
 pointer-events:none;
 border:0 solid transparent;
}
.landing-v4-blue-swoosh-one{
 right:-6.6vw;
 top:58px;
 width:min(785px,54vw);
 height:455px;
 border-left:26px solid #0c55d6;
 border-bottom:26px solid #0c55d6;
 border-radius:58% 0 0 58% / 52% 0 0 52%;
 transform:translate(-8px,8px);
}
.landing-v4-blue-swoosh-two{
 right:-7vw;
 top:81px;
 width:min(812px,55vw);
 height:462px;
 border-left:10px solid #2f82f4;
 border-bottom:10px solid #2f82f4;
 border-radius:58% 0 0 58% / 52% 0 0 52%;
 transform:translate(-1px,4px);
 opacity:.92;
}
.landing-v4-photo-caption{
 position:absolute;
 right:clamp(20px,2.5vw,48px);
 bottom:28px;
 z-index:5;
 width:min(340px,70%);
 padding:13px 16px;
 border:1px solid rgba(255,255,255,.8);
 border-radius:12px;
 background:rgba(255,255,255,.94);
 box-shadow:0 12px 28px rgba(18,57,104,.13);
 backdrop-filter:blur(8px);
}
.landing-v4-photo-caption strong{
 display:block;
 color:#123968;
 font-size:15px!important;
 line-height:1.35!important;
}
.landing-v4-photo-caption span{
 display:block;
 margin-top:4px;
 color:#60758d;
 font-size:13px!important;
}

/* Rebalance top hero to match the approved mockup more closely */
.landing-v3-hero{
 min-height:620px!important;
 background:
   radial-gradient(circle at 58% 24%,rgba(44,116,221,.08),transparent 28%),
   linear-gradient(180deg,#fbfdff 0%,#f3f8fd 100%)!important;
 overflow:hidden;
}
.landing-v3-hero-inner{
 min-height:620px!important;
 grid-template-columns:minmax(0,.94fr) minmax(560px,1.06fr)!important;
 gap:24px!important;
 align-items:center!important;
 padding-top:48px!important;
 padding-bottom:50px!important;
}
.landing-v3-copy{
 max-width:720px!important;
 position:relative;
 z-index:7;
}
.landing-v3-copy h1{
 max-width:690px!important;
 font-size:clamp(44px,4vw,62px)!important;
 line-height:1.04!important;
}
.landing-v3-copy>p{
 max-width:650px!important;
 font-size:17px!important;
 line-height:1.62!important;
}
.landing-v3-search{
 width:min(680px,100%)!important;
}
.landing-v3-stats{
 width:min(680px,100%)!important;
 gap:0!important;
 padding:0!important;
 border-top:0!important;
 margin-top:20px!important;
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.landing-v3-stats article{
 min-height:74px;
 padding:13px 14px!important;
 border:1px solid #dfe7f0!important;
 border-right:0!important;
 background:#fff;
 display:flex;
 flex-direction:column;
 justify-content:center;
 box-shadow:0 5px 16px rgba(18,57,104,.035);
}
.landing-v3-stats article:first-child{
 border-radius:11px 0 0 11px;
}
.landing-v3-stats article:last-child{
 border-right:1px solid #dfe7f0!important;
 border-radius:0 11px 11px 0;
}
.landing-v3-stats strong{
 font-size:24px!important;
}
.landing-v3-stats span{
 font-size:13px!important;
 margin-top:5px!important;
}

/* tighter visual bridge into the next section */
.landing-v3-skills-section{
 padding-top:44px!important;
}
.landing-v3-section-heading{
 margin-bottom:26px!important;
}
.landing-v3-section-heading h2{
 font-size:31px!important;
}

@media(max-width:1250px){
 .landing-v3-hero-inner{
  grid-template-columns:minmax(0,.95fr) minmax(480px,1.05fr)!important;
 }
 .landing-v4-photo-frame{
  width:min(650px,52vw);
  height:420px;
 }
 .landing-v4-blue-swoosh-one{
  width:min(676px,54vw);
  height:420px;
 }
 .landing-v4-blue-swoosh-two{
  width:min(700px,55vw);
  height:428px;
 }
}
@media(max-width:1020px){
 .landing-v3-hero-inner{
  grid-template-columns:1fr!important;
  gap:22px!important;
 }
 .landing-v3-copy{
  max-width:820px!important;
 }
 .landing-v4-human-visual{
  min-height:410px!important;
  width:100%;
 }
 .landing-v4-photo-frame{
  position:absolute;
  top:5px;
  right:50%;
  transform:translateX(50%);
  width:min(780px,92%);
  height:385px;
  border-radius:44px;
 }
 .landing-v4-blue-swoosh-one{
  right:50%;
  top:15px;
  transform:translateX(50%) translate(-5px,12px);
  width:min(798px,94%);
  height:394px;
  border-left:0;
  border-bottom:18px solid #0c55d6;
  border-radius:46px;
 }
 .landing-v4-blue-swoosh-two{
  right:50%;
  top:23px;
  transform:translateX(50%) translate(-1px,15px);
  width:min(810px,95%);
  height:398px;
  border-left:0;
  border-bottom:8px solid #2f82f4;
  border-radius:46px;
 }
 .landing-v4-photo-caption{
  right:8%;
  bottom:14px;
 }
}
@media(max-width:700px){
 .landing-v3-hero{
  min-height:auto!important;
 }
 .landing-v3-hero-inner{
  padding-top:34px!important;
  padding-bottom:34px!important;
 }
 .landing-v3-copy h1{
  font-size:38px!important;
 }
 .landing-v3-copy>p{
  font-size:16px!important;
 }
 .landing-v3-stats{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
 }
 .landing-v3-stats article{
  border:1px solid #dfe7f0!important;
  border-radius:10px!important;
  min-height:70px;
 }
 .landing-v4-human-visual{
  min-height:330px!important;
 }
 .landing-v4-photo-frame{
  width:94%;
  height:300px;
  border-radius:28px;
 }
 .landing-v4-blue-swoosh-one{
  width:96%;
  height:306px;
  border-bottom-width:14px;
  border-radius:30px;
 }
 .landing-v4-blue-swoosh-two{
  width:97%;
  height:311px;
  border-bottom-width:7px;
  border-radius:30px;
 }
 .landing-v4-photo-caption{
  right:6%;
  bottom:4px;
  width:min(320px,82%);
  padding:11px 13px;
 }
 .landing-v4-photo-caption strong{font-size:14px!important}
 .landing-v4-photo-caption span{font-size:13px!important}
}
@media(max-width:430px){
 .landing-v3-copy h1{
  font-size:34px!important;
 }
 .landing-v3-search{
  min-height:54px;
 }
 .landing-v4-human-visual{
  min-height:280px!important;
 }
 .landing-v4-photo-frame{
  height:250px;
  border-radius:22px;
 }
 .landing-v4-blue-swoosh-one{
  height:256px;
  border-radius:24px;
 }
 .landing-v4-blue-swoosh-two{
  height:260px;
  border-radius:24px;
 }
 .landing-v4-photo-caption{
  position:absolute;
  left:6%;
  right:6%;
  width:auto;
  bottom:0;
 }
}


/* ========================================================================
   V12.4 — Diverse ASAL Hero Fit & Composition
   ======================================================================== */
.landing-v5-diverse-visual{
 min-height:470px!important;
 position:relative!important;
 display:flex!important;
 align-items:center!important;
 justify-content:flex-end!important;
 overflow:visible!important;
}
.landing-v5-photo-shell{
 position:relative;
 width:min(760px,54vw);
 aspect-ratio:764/457;
 overflow:hidden;
 border-radius:42% 0 0 42% / 50% 0 0 50%;
 box-shadow:0 24px 58px rgba(18,57,104,.14);
 background:#e8f1fb;
 isolation:isolate;
}
.landing-v5-photo-shell::after{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:linear-gradient(90deg,rgba(255,255,255,.06),transparent 26%,transparent 78%,rgba(8,45,88,.03));
 z-index:2;
}
.landing-v5-photo-shell img{
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:center center;
 display:block;
}
.landing-v5-approved-badge{
 position:absolute;
 top:18px;
 left:24px;
 z-index:3;
 min-height:34px;
 padding:7px 11px;
 border:1px solid rgba(255,255,255,.72);
 border-radius:999px;
 background:rgba(18,57,104,.92);
 color:#fff;
 font-size:13px!important;
 line-height:1!important;
 font-weight:800;
 display:flex;
 align-items:center;
 gap:7px;
 box-shadow:0 7px 18px rgba(18,57,104,.14);
 backdrop-filter:blur(6px);
}
.landing-v5-approved-badge i{
 width:8px;
 height:8px;
 border-radius:50%;
 background:#70d58b;
 box-shadow:0 0 0 3px rgba(112,213,139,.18);
}

/* Hero proportions aligned to the approved desktop mockup */
.landing-v3-hero{
 min-height:570px!important;
}
.landing-v3-hero-inner{
 min-height:570px!important;
 grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr)!important;
 gap:28px!important;
 padding-top:44px!important;
 padding-bottom:44px!important;
}
.landing-v3-copy{
 max-width:690px!important;
}
.landing-v3-copy h1{
 max-width:650px!important;
 font-size:clamp(42px,3.9vw,58px)!important;
 line-height:1.04!important;
}
.landing-v3-copy>p{
 max-width:625px!important;
 font-size:17px!important;
 line-height:1.62!important;
}
.landing-v3-search{
 width:min(640px,100%)!important;
}
.landing-v3-stats{
 width:min(640px,100%)!important;
}
.landing-v3-stats article{
 min-height:72px!important;
 padding:12px 13px!important;
}
.landing-v3-stats strong{
 font-size:23px!important;
}
.landing-v3-stats span{
 font-size:13px!important;
 line-height:1.3!important;
}

/* Hide obsolete V12.3 decorative layers if cached markup/CSS appears. */
.landing-v4-photo-frame,
.landing-v4-blue-swoosh,
.landing-v4-photo-caption{
 display:none!important;
}

/* Better laptop fit */
@media(max-width:1280px){
 .landing-v3-hero-inner{
  grid-template-columns:minmax(0,.95fr) minmax(470px,1.05fr)!important;
 }
 .landing-v5-photo-shell{
  width:min(690px,52vw);
 }
 .landing-v3-copy h1{
  font-size:clamp(40px,3.7vw,54px)!important;
 }
}

/* Tablet */
@media(max-width:1020px){
 .landing-v3-hero-inner{
  grid-template-columns:1fr!important;
  gap:30px!important;
 }
 .landing-v3-copy{
  max-width:800px!important;
  margin:0 auto;
  text-align:center;
 }
 .landing-v3-search,
 .landing-v3-stats{
  margin-left:auto!important;
  margin-right:auto!important;
 }
 .landing-v5-diverse-visual{
  min-height:auto!important;
  width:100%;
  justify-content:center!important;
 }
 .landing-v5-photo-shell{
  width:min(820px,94%);
  border-radius:34px;
 }
 .landing-v5-approved-badge{
  top:16px;
  left:18px;
 }
}

/* Mobile */
@media(max-width:700px){
 .landing-v3-hero-inner{
  padding-top:34px!important;
  padding-bottom:36px!important;
  gap:24px!important;
 }
 .landing-v3-copy h1{
  font-size:38px!important;
 }
 .landing-v3-copy>p{
  font-size:16px!important;
 }
 .landing-v5-photo-shell{
  width:96%;
  border-radius:24px;
 }
 .landing-v5-approved-badge{
  top:12px;
  left:12px;
  min-height:31px;
  padding:6px 9px;
  font-size:12px!important;
 }
}
@media(max-width:430px){
 .landing-v3-copy h1{
  font-size:34px!important;
 }
 .landing-v5-photo-shell{
  width:100%;
  border-radius:20px;
 }
 .landing-v5-approved-badge{
  font-size:12px!important;
 }
}


/* ========================================================================
   V12.5 — Edge-to-Edge ASAL Hero
   ======================================================================== */
.landing-v6-edge-visual{
 min-height:500px!important;
 height:500px!important;
 position:relative!important;
 display:block!important;
 overflow:hidden!important;
 align-self:stretch;
 margin-right:calc(clamp(20px,5vw,72px) * -1);
}
.landing-v6-photo-panel{
 position:absolute;
 inset:0;
 overflow:hidden;
 background:#e8f1fb;
 border-radius:72px 0 0 72px;
 box-shadow:0 22px 54px rgba(18,57,104,.13);
}
.landing-v6-photo-panel::before{
 content:"";
 position:absolute;
 inset:0;
 z-index:2;
 pointer-events:none;
 background:linear-gradient(90deg,rgba(243,248,253,.24) 0%,rgba(255,255,255,0) 18%);
}
.landing-v6-photo-panel img{
 width:100%;
 height:100%;
 display:block;
 object-fit:cover;
 object-position:center center;
}

/* The right visual now fills its full hero column rather than floating as a card. */
.landing-v3-hero{
 min-height:600px!important;
}
.landing-v3-hero-inner{
 min-height:600px!important;
 grid-template-columns:minmax(0,.88fr) minmax(570px,1.12fr)!important;
 gap:38px!important;
 padding-top:42px!important;
 padding-bottom:42px!important;
}
.landing-v3-copy{
 align-self:center;
}
.landing-v3-copy h1{
 font-size:clamp(43px,3.8vw,59px)!important;
}
.landing-v3-copy>p{
 font-size:17px!important;
 line-height:1.65!important;
}

/* Retire previous framed hero treatments. */
.landing-v5-diverse-visual,
.landing-v5-photo-shell,
.landing-v5-approved-badge,
.landing-v4-human-visual,
.landing-v4-photo-frame,
.landing-v4-blue-swoosh,
.landing-v4-photo-caption{
 display:none!important;
}

@media(max-width:1280px){
 .landing-v3-hero-inner{
  grid-template-columns:minmax(0,.94fr) minmax(500px,1.06fr)!important;
  gap:28px!important;
 }
 .landing-v6-edge-visual{
  height:470px!important;
  min-height:470px!important;
 }
 .landing-v6-photo-panel{
  border-radius:58px 0 0 58px;
 }
}
@media(max-width:1020px){
 .landing-v3-hero-inner{
  grid-template-columns:1fr!important;
  gap:30px!important;
 }
 .landing-v6-edge-visual{
  width:calc(100% + (clamp(20px,5vw,72px) * 2));
  height:auto!important;
  min-height:430px!important;
  margin-left:calc(clamp(20px,5vw,72px) * -1);
  margin-right:calc(clamp(20px,5vw,72px) * -1);
 }
 .landing-v6-photo-panel{
  border-radius:0;
 }
 .landing-v6-photo-panel img{
  object-position:center 44%;
 }
}
@media(max-width:700px){
 .landing-v6-edge-visual{
  min-height:350px!important;
 }
 .landing-v6-photo-panel img{
  object-position:center center;
 }
}
@media(max-width:480px){
 .landing-v6-edge-visual{
  min-height:290px!important;
 }
}


/* ========================================================================
   V12.6 — Exact Approved Landing Mockup
   ======================================================================== */
.landing-exact-page{
 margin:0;
 min-height:100vh;
 background:#fff;
 color:#0b3269;
 font-family:"Segoe UI",Inter,Arial,sans-serif;
 display:flex;
 flex-direction:column;
}
.landing-exact-page *{box-sizing:border-box}
.landing-exact-main{flex:1 0 auto}

/* Header */
.landing-exact-header{
 position:sticky;
 top:0;
 z-index:100;
 height:92px;
 border-bottom:1px solid #e3e8ef;
 background:rgba(255,255,255,.985);
}
.landing-exact-header-inner{
 width:100%;
 height:92px;
 padding:0 clamp(34px,4vw,76px);
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:30px;
}
.landing-exact-brand{
 display:flex;
 align-items:center;
 gap:12px;
 color:#0d3268;
 min-width:0;
}
.landing-exact-brand img{
 width:72px;
 height:58px;
 object-fit:contain;
 flex:0 0 auto;
}
.landing-exact-brand span{
 display:grid;
 min-width:0;
}
.landing-exact-brand strong{
 color:#0d3268;
 font-size:18px!important;
 line-height:1.12!important;
 font-weight:850;
}
.landing-exact-brand small{
 margin-top:5px;
 color:#48627e;
 font-size:13px!important;
 line-height:1.15!important;
}
.landing-exact-nav{
 display:flex;
 align-items:center;
 gap:44px;
}
.landing-exact-nav>a{
 position:relative;
 padding:34px 0 31px;
 color:#0e2f62;
 font-size:16px!important;
 line-height:1!important;
 font-weight:750;
}
.landing-exact-nav>a.active::after{
 content:"";
 position:absolute;
 left:0;
 right:0;
 bottom:20px;
 height:2px;
 border-radius:2px;
 background:#1265e8;
}
.landing-exact-nav>a:hover{color:#1265e8}
.landing-exact-nav .landing-exact-signin{
 min-width:120px;
 min-height:50px;
 padding:17px 25px;
 border-radius:9px;
 background:#075fcf;
 color:#fff!important;
 text-align:center;
 box-shadow:0 6px 14px rgba(7,95,207,.14);
}
.landing-exact-nav .landing-exact-signin::after{display:none}
.landing-exact-menu{
 display:none;
 width:44px;
 height:44px;
 padding:10px;
 border:1px solid #dce4ec;
 border-radius:9px;
 background:#fff;
 cursor:pointer;
}
.landing-exact-menu span{
 display:block;
 height:2px;
 margin:4px 0;
 border-radius:2px;
 background:#0d3268;
}

/* Hero */
.landing-exact-hero{
 position:relative;
 min-height:608px;
 background-image:url("../images/branding/hero_exact_mockup_canvas.jpg");
 background-size:cover;
 background-position:center center;
 background-repeat:no-repeat;
 overflow:hidden;
}
.landing-exact-overlay{
 position:absolute;
 inset:0;
 z-index:1;
 pointer-events:none;
 background:
  linear-gradient(90deg,
   rgba(255,255,255,1) 0%,
   rgba(255,255,255,.995) 28%,
   rgba(255,255,255,.95) 35%,
   rgba(255,255,255,.72) 42%,
   rgba(255,255,255,.20) 51%,
   rgba(255,255,255,0) 62%);
}
.landing-exact-content{
 position:relative;
 z-index:2;
 min-height:608px;
 padding:50px clamp(34px,5vw,76px) 28px;
 display:flex;
 align-items:flex-start;
}
.landing-exact-copy{
 width:min(660px,48vw);
 padding-top:3px;
}
.landing-exact-kicker{
 display:block;
 margin-bottom:14px;
 color:#0866dc;
 font-size:14px!important;
 line-height:1.1!important;
 font-weight:900;
 letter-spacing:.06em;
}
.landing-exact-copy h1{
 margin:0;
 color:#0a3167;
 font-size:52px!important;
 line-height:1.04!important;
 letter-spacing:-1.2px;
 font-weight:850;
}
.landing-exact-copy p{
 max-width:590px;
 margin:20px 0 0!important;
 color:#253e59!important;
 font-size:16px!important;
 line-height:1.58!important;
}

/* Search */
.landing-exact-search{
 width:575px;
 max-width:100%;
 min-height:58px;
 margin-top:20px;
 border:1px solid #e3e8ef;
 border-radius:10px;
 background:#fff;
 box-shadow:0 7px 18px rgba(18,57,104,.07);
 display:grid;
 grid-template-columns:42px minmax(0,1fr) 108px;
 align-items:center;
 overflow:hidden;
}
.landing-exact-search-icon{
 width:42px;
 height:58px;
 display:grid;
 place-items:center;
 color:#3b5d82;
}
.landing-exact-search-icon svg{
 width:24px;
 height:24px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.7;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-exact-search input{
 width:100%;
 height:56px;
 padding:0 4px;
 border:0!important;
 outline:0!important;
 background:transparent!important;
 box-shadow:none!important;
 color:#25415f;
 font-size:15px!important;
}
.landing-exact-search input::placeholder{
 color:#75889d;
 opacity:1;
}
.landing-exact-search button{
 align-self:stretch;
 margin:0;
 border:0;
 border-radius:9px;
 background:#0965da;
 color:#fff;
 font-size:15px!important;
 font-weight:800;
 cursor:pointer;
}
.landing-exact-search button:hover{background:#075abc}

/* Stat cards */
.landing-exact-stats{
 width:810px;
 max-width:calc(100vw - 68px);
 margin-top:20px;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.landing-exact-stats article{
 min-height:90px;
 padding:14px 15px;
 border:1px solid #e0e6ee;
 border-radius:10px;
 background:rgba(255,255,255,.97);
 box-shadow:0 6px 17px rgba(18,57,104,.06);
 display:grid;
 grid-template-columns:50px minmax(0,1fr);
 gap:10px;
 align-items:center;
}
.landing-exact-stat-icon{
 width:46px;
 height:46px;
 display:grid;
 place-items:center;
 color:#0965da;
}
.landing-exact-stat-icon svg{
 width:40px;
 height:40px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.65;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-exact-stats strong{
 display:block;
 color:#071f44;
 font-size:21px!important;
 line-height:1!important;
 font-weight:850;
}
.landing-exact-stats article div>span{
 display:block;
 margin-top:7px;
 color:#283f58;
 font-size:13px!important;
 line-height:1.25!important;
}

/* Why panel */
.landing-exact-why-wrap{
 position:relative;
 z-index:4;
 margin-top:-3px;
 padding:0 clamp(34px,4vw,64px) 16px;
 background:#f6f9fd;
}
.landing-exact-why{
 min-height:188px;
 padding:22px 34px 26px;
 border-radius:14px;
 background:linear-gradient(135deg,#093876 0%,#003f91 52%,#073978 100%);
 color:#fff;
 box-shadow:0 10px 24px rgba(8,55,116,.10);
}
.landing-exact-why-heading{
 text-align:center;
}
.landing-exact-why-heading h2{
 margin:0;
 color:#fff;
 font-size:25px!important;
 line-height:1.2!important;
}
.landing-exact-why-heading p{
 margin:8px 0 0!important;
 color:#fff;
 font-size:14px!important;
 line-height:1.45!important;
}
.landing-exact-benefits{
 margin-top:20px;
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
}
.landing-exact-benefits article{
 min-height:76px;
 padding:5px 22px;
 border-right:1px solid rgba(255,255,255,.27);
 display:grid;
 grid-template-columns:52px minmax(0,1fr);
 gap:10px;
 align-items:center;
}
.landing-exact-benefits article:last-child{border-right:0}
.landing-exact-benefits article>span{
 width:49px;
 height:49px;
 display:grid;
 place-items:center;
 color:#fff;
}
.landing-exact-benefits svg{
 width:44px;
 height:44px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.65;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-exact-benefits strong{
 color:#fff;
 font-size:14px!important;
 line-height:1.35!important;
 font-weight:750;
}

/* Exact mockup partner/footer treatment */
.landing-exact-footer{
 border-top:0!important;
 background:#fff!important;
}
.landing-exact-footer .partner-footer-inner{
 min-height:96px!important;
 max-width:none!important;
 padding:9px clamp(80px,12vw,190px)!important;
 grid-template-columns:minmax(0,1fr) auto!important;
}
.landing-exact-footer .partner-footer-logos{
 justify-content:space-between!important;
 gap:80px!important;
}
.landing-exact-footer .partner-logo-moe img{
 width:210px!important;
 height:76px!important;
}
.landing-exact-footer .partner-logo-unicef img{
 width:162px!important;
 height:58px!important;
}
.landing-exact-footer .partner-logo-lisp img{
 width:150px!important;
 height:70px!important;
}
.landing-exact-footer .developer-credit{
 min-width:180px!important;
}
.landing-exact-footer .developer-credit span{
 color:#1c2f46!important;
 font-size:12px!important;
}
.landing-exact-footer .developer-credit img{
 width:145px!important;
 height:54px!important;
}
.landing-exact-footer .partner-footer-meta{
 min-height:24px!important;
 padding:4px 24px!important;
 border-top:0!important;
 background:#0662d8!important;
 color:#0662d8!important;
 font-size:0!important;
}
.landing-exact-footer .partner-footer-meta span{display:none!important}

/* Desktop/laptop */
@media(max-width:1280px){
 .landing-exact-nav{gap:28px}
 .landing-exact-copy h1{font-size:47px!important}
 .landing-exact-copy{width:min(620px,50vw)}
 .landing-exact-stats{width:740px}
 .landing-exact-benefits article{padding-left:14px;padding-right:14px}
 .landing-exact-footer .partner-footer-inner{padding-left:70px!important;padding-right:70px!important}
}

/* Tablet */
@media(max-width:1020px){
 .landing-exact-header{height:78px}
 .landing-exact-header-inner{height:78px;padding:0 20px}
 .landing-exact-brand img{width:58px;height:48px}
 .landing-exact-brand strong{font-size:16px!important}
 .landing-exact-brand small{font-size:12px!important}
 .landing-exact-menu{display:block}
 .landing-exact-nav{
  display:none;
  position:absolute;
  top:72px;
  left:14px;
  right:14px;
  padding:10px;
  border:1px solid #dce4ed;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 38px rgba(18,57,104,.15);
  flex-direction:column;
  align-items:stretch;
  gap:2px;
 }
 .landing-exact-nav.open{display:flex}
 .landing-exact-nav>a{
  min-height:44px;
  padding:12px 14px;
  border-radius:8px;
 }
 .landing-exact-nav>a.active::after{display:none}
 .landing-exact-nav .landing-exact-signin{
  min-height:44px;
  padding:14px;
 }
 .landing-exact-hero{
  min-height:820px;
  background-position:62% center;
 }
 .landing-exact-overlay{
  background:
   linear-gradient(180deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.995) 40%,
    rgba(255,255,255,.82) 53%,
    rgba(255,255,255,.18) 68%,
    rgba(255,255,255,0) 80%);
 }
 .landing-exact-content{
  min-height:820px;
  padding:36px 24px 24px;
  align-items:flex-start;
 }
 .landing-exact-copy{
  width:min(690px,100%);
  margin:0 auto;
  text-align:center;
 }
 .landing-exact-copy h1{font-size:46px!important}
 .landing-exact-copy p{
  margin-left:auto!important;
  margin-right:auto!important;
 }
 .landing-exact-search,
 .landing-exact-stats{
  margin-left:auto;
  margin-right:auto;
 }
 .landing-exact-stats{
  width:min(760px,100%);
 }
 .landing-exact-why-wrap{padding:14px 24px 18px;margin-top:0}
 .landing-exact-benefits{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
 }
 .landing-exact-benefits article{
  border-right:0;
  border-bottom:1px solid rgba(255,255,255,.16);
 }
 .landing-exact-benefits article:last-child{
  grid-column:1/-1;
  max-width:50%;
  width:100%;
  justify-self:center;
 }
 .landing-exact-footer .partner-footer-inner{
  padding-left:28px!important;
  padding-right:28px!important;
 }
 .landing-exact-footer .partner-footer-logos{gap:28px!important}
}

/* Mobile */
@media(max-width:700px){
 .landing-exact-header-inner{padding:0 14px}
 .landing-exact-brand img{width:52px;height:44px}
 .landing-exact-brand strong{font-size:14px!important}
 .landing-exact-brand small{display:none}
 .landing-exact-hero{
  min-height:760px;
  background-position:63% bottom;
 }
 .landing-exact-content{min-height:760px;padding:28px 16px 18px}
 .landing-exact-kicker{font-size:12px!important}
 .landing-exact-copy h1{
  font-size:38px!important;
  line-height:1.05!important;
 }
 .landing-exact-copy p{
  margin-top:14px!important;
  font-size:15px!important;
 }
 .landing-exact-search{
  min-height:54px;
  grid-template-columns:40px minmax(0,1fr) 58px;
 }
 .landing-exact-search-icon{height:52px}
 .landing-exact-search input{
  height:52px;
  font-size:14px!important;
 }
 .landing-exact-search button{
  font-size:0!important;
 }
 .landing-exact-search button::after{
  content:"⌕";
  font-size:19px!important;
 }
 .landing-exact-stats{
  max-width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
 }
 .landing-exact-stats article{
  min-height:76px;
  padding:10px;
  grid-template-columns:38px minmax(0,1fr);
 }
 .landing-exact-stat-icon{width:36px;height:36px}
 .landing-exact-stat-icon svg{width:32px;height:32px}
 .landing-exact-stats strong{font-size:18px!important}
 .landing-exact-stats article div>span{font-size:12px!important}
 .landing-exact-why-wrap{padding:12px 14px 16px}
 .landing-exact-why{padding:20px 16px 22px}
 .landing-exact-why-heading h2{font-size:22px!important}
 .landing-exact-why-heading p{font-size:13px!important}
 .landing-exact-benefits{
  grid-template-columns:1fr;
 }
 .landing-exact-benefits article,
 .landing-exact-benefits article:last-child{
  width:100%;
  max-width:none;
  min-height:62px;
  grid-column:auto;
  justify-self:stretch;
  grid-template-columns:44px minmax(0,1fr);
  border-bottom:1px solid rgba(255,255,255,.15);
 }
 .landing-exact-benefits article:last-child{border-bottom:0}
 .landing-exact-benefits article>span{width:40px;height:40px}
 .landing-exact-benefits svg{width:36px;height:36px}
 .landing-exact-benefits strong{font-size:13px!important}
 .landing-exact-footer .partner-footer-inner{
  grid-template-columns:1fr!important;
  gap:8px!important;
  padding:12px 14px!important;
 }
 .landing-exact-footer .partner-footer-logos{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px!important;
  width:100%;
 }
 .landing-exact-footer .partner-logo-moe img{width:105px!important;height:48px!important}
 .landing-exact-footer .partner-logo-unicef img{width:90px!important;height:40px!important}
 .landing-exact-footer .partner-logo-lisp img{width:85px!important;height:45px!important}
 .landing-exact-footer .developer-credit{
  width:100%;
  min-width:0!important;
  padding-top:8px;
  border-top:1px solid #edf1f5;
 }
 .landing-exact-footer .developer-credit img{width:105px!important;height:42px!important}
}


/* ========================================================================
   V12.7 — Final Single-Page Public Landing
   Approved layout: brand + sign-in only, all public information on one page.
   ======================================================================== */
.landing-final-header .landing-final-header-inner{
 justify-content:space-between!important;
}
.landing-final-brand{
 margin-right:auto;
}
.landing-final-signin{
 min-width:116px;
 min-height:48px;
 padding:12px 20px;
 border-radius:9px;
 background:#075fcf;
 color:#fff;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 font-size:16px!important;
 font-weight:800;
 line-height:1;
 box-shadow:0 6px 15px rgba(7,95,207,.16);
 transition:background-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.landing-final-signin:hover{
 background:#0556bd;
 transform:translateY(-1px);
 box-shadow:0 9px 19px rgba(7,95,207,.20);
}
.landing-final-lock{
 width:20px;
 height:20px;
 display:grid;
 place-items:center;
}
.landing-final-lock svg{
 width:19px;
 height:19px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.9;
 stroke-linecap:round;
 stroke-linejoin:round;
}

/* Final approved headline geometry */
.landing-exact-copy{
 width:min(660px,46vw)!important;
}
.landing-exact-copy h1{
 max-width:625px!important;
 font-size:52px!important;
 line-height:1.05!important;
 letter-spacing:-1.25px!important;
}
.landing-exact-copy p{
 max-width:560px!important;
 margin-top:18px!important;
}
.landing-exact-search{
 width:598px!important;
 margin-top:20px!important;
}
.landing-exact-stats{
 width:810px!important;
 margin-top:18px!important;
}

/* Final one-page composition */
.landing-exact-hero{
 min-height:605px!important;
}
.landing-exact-content{
 min-height:605px!important;
 padding-top:48px!important;
 padding-bottom:26px!important;
}
.landing-exact-why-wrap{
 padding-top:0!important;
 padding-bottom:16px!important;
}
.landing-exact-why{
 min-height:185px!important;
}

/* Partner strip matching final approved mockup */
.landing-final-footer{
 margin-top:0;
 border-top:1px solid #e8edf3;
 background:#fff;
}
.landing-final-partners{
 min-height:116px;
 padding:12px clamp(40px,11vw,185px);
 display:grid;
 grid-template-columns:1.1fr .9fr .9fr .8fr;
 gap:clamp(30px,6vw,95px);
 align-items:center;
}
.landing-final-partner{
 min-width:0;
 display:flex;
 align-items:center;
 justify-content:center;
}
.landing-final-partner img{
 display:block;
 max-width:100%;
 object-fit:contain;
}
.landing-final-partner-moe img{
 width:220px;
 height:78px;
}
.landing-final-partner-unicef img{
 width:170px;
 height:62px;
}
.landing-final-partner-lisp img{
 width:160px;
 height:72px;
}
.landing-final-developer{
 min-width:0;
 display:grid;
 justify-items:center;
 gap:2px;
 color:#1b314b;
}
.landing-final-developer>span{
 font-size:13px!important;
 line-height:1.2!important;
}
.landing-final-developer img{
 width:150px;
 height:58px;
 object-fit:contain;
 display:block;
}
.landing-final-developer:hover{
 opacity:.88;
}
.landing-final-footerbar{
 min-height:48px;
 padding:8px clamp(22px,4vw,62px);
 background:#063d84;
 color:#fff;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:26px;
 font-size:13px!important;
}
.landing-final-footerbar>span{
 white-space:nowrap;
}
.landing-final-footerbar nav{
 display:flex;
 align-items:center;
}
.landing-final-footerbar nav a{
 padding:0 18px;
 border-left:1px solid rgba(255,255,255,.42);
 color:#fff;
 font-size:13px!important;
 line-height:1.2!important;
}
.landing-final-footerbar nav a:hover{
 text-decoration:underline;
}

/* Large laptops */
@media(max-width:1280px){
 .landing-exact-copy h1{
  font-size:47px!important;
 }
 .landing-exact-search{
  width:560px!important;
 }
 .landing-exact-stats{
  width:730px!important;
 }
 .landing-final-partners{
  padding-left:60px;
  padding-right:60px;
  gap:45px;
 }
}

/* Tablet */
@media(max-width:1020px){
 .landing-final-header{
  height:78px!important;
 }
 .landing-final-header .landing-exact-header-inner{
  height:78px!important;
 }
 .landing-final-signin{
  min-width:102px;
  min-height:43px;
  padding:10px 15px;
  font-size:15px!important;
 }
 .landing-exact-hero{
  min-height:800px!important;
 }
 .landing-exact-content{
  min-height:800px!important;
 }
 .landing-exact-copy{
  width:min(700px,100%)!important;
 }
 .landing-exact-copy h1{
  max-width:680px!important;
  font-size:46px!important;
 }
 .landing-exact-copy p{
  max-width:620px!important;
 }
 .landing-exact-search{
  width:min(610px,100%)!important;
 }
 .landing-exact-stats{
  width:min(760px,100%)!important;
 }
 .landing-final-partners{
  min-height:104px;
  padding:12px 28px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
 }
 .landing-final-partner-moe img{
  width:180px;height:68px;
 }
 .landing-final-partner-unicef img{
  width:140px;height:54px;
 }
 .landing-final-partner-lisp img{
  width:130px;height:60px;
 }
 .landing-final-developer img{
  width:125px;height:50px;
 }
}

/* Mobile */
@media(max-width:700px){
 .landing-final-header .landing-exact-header-inner{
  padding:0 14px!important;
 }
 .landing-final-signin{
  min-width:88px;
  min-height:40px;
  padding:9px 12px;
  font-size:14px!important;
 }
 .landing-final-lock{
  width:17px;height:17px;
 }
 .landing-final-lock svg{
  width:16px;height:16px;
 }
 .landing-exact-hero{
  min-height:760px!important;
 }
 .landing-exact-content{
  min-height:760px!important;
 }
 .landing-exact-copy h1{
  font-size:38px!important;
  max-width:none!important;
 }
 .landing-exact-copy p{
  max-width:none!important;
 }
 .landing-exact-search{
  width:100%!important;
 }
 .landing-exact-stats{
  width:100%!important;
 }
 .landing-final-partners{
  min-height:auto;
  padding:18px 14px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px 12px;
 }
 .landing-final-partner-moe img{
  width:150px;height:58px;
 }
 .landing-final-partner-unicef img{
  width:120px;height:46px;
 }
 .landing-final-partner-lisp img{
  width:108px;height:52px;
 }
 .landing-final-developer{
  padding-top:4px;
 }
 .landing-final-developer>span{
  font-size:12px!important;
 }
 .landing-final-developer img{
  width:110px;height:44px;
 }
 .landing-final-footerbar{
  min-height:76px;
  padding:12px 14px;
  flex-direction:column;
  gap:8px;
  text-align:center;
 }
 .landing-final-footerbar>span{
  white-space:normal;
 }
 .landing-final-footerbar nav{
  flex-wrap:wrap;
  justify-content:center;
 }
 .landing-final-footerbar nav a{
  padding:0 9px;
  font-size:12px!important;
 }
 .landing-final-footerbar nav a:first-child{
  border-left:0;
 }
}

/* Small phones */
@media(max-width:430px){
 .landing-final-brand img{
  width:48px!important;
  height:42px!important;
 }
 .landing-final-brand strong{
  font-size:13px!important;
 }
 .landing-final-signin{
  min-width:78px;
  padding:8px 9px;
 }
 .landing-final-signin .landing-final-lock{
  display:none;
 }
 .landing-exact-copy h1{
  font-size:34px!important;
 }
 .landing-final-partners{
  grid-template-columns:1fr 1fr;
 }
}

/* Accessibility */
.landing-final-signin:focus-visible,
.landing-final-footer a:focus-visible{
 outline:3px solid rgba(9,101,218,.30);
 outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
 .landing-final-signin{transition:none!important}
}


/* ========================================================================
   V12.8 — Professional Landing Refinement
   Featured knowledge, credibility, accessibility and mobile-first polish.
   ======================================================================== */
.landing-pro-featured{
 padding:52px clamp(34px,5vw,76px) 58px;
 background:#f7f9fc;
 border-top:1px solid #e8edf4;
}
.landing-pro-section-head{
 max-width:1400px;
 margin:0 auto 25px;
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:28px;
}
.landing-pro-section-head>div>span,
.landing-pro-partner-title>span{
 display:block;
 margin-bottom:7px;
 color:#0965da;
 font-size:13px!important;
 line-height:1.2!important;
 font-weight:900;
 letter-spacing:.07em;
}
.landing-pro-section-head h2{
 margin:0;
 color:#0b3269;
 font-size:30px!important;
 line-height:1.18!important;
 letter-spacing:-.4px;
}
.landing-pro-section-head p{
 margin:8px 0 0!important;
 max-width:680px;
 color:#5c7086;
 font-size:15px!important;
 line-height:1.55!important;
}
.landing-pro-section-head>a{
 flex:0 0 auto;
 min-height:44px;
 padding:11px 16px;
 border:1px solid #cddbed;
 border-radius:9px;
 background:#fff;
 color:#075fcf;
 display:inline-flex;
 align-items:center;
 gap:8px;
 font-size:14px!important;
 font-weight:800;
}
.landing-pro-section-head>a:hover{
 border-color:#8eb8ed;
 background:#f4f8fe;
}
.landing-pro-resource-grid{
 max-width:1400px;
 margin:0 auto;
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:20px;
}
.landing-pro-resource-card{
 min-width:0;
 overflow:hidden;
 border:1px solid #dde5ee;
 border-radius:14px;
 background:#fff;
 box-shadow:0 7px 20px rgba(17,56,102,.06);
 display:grid;
 grid-template-columns:145px minmax(0,1fr);
 min-height:205px;
 transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.landing-pro-resource-card:hover{
 transform:translateY(-2px);
 border-color:#c9d8e9;
 box-shadow:0 12px 28px rgba(17,56,102,.09);
}
.landing-pro-resource-cover{
 min-height:205px;
 overflow:hidden;
 background:linear-gradient(145deg,#eaf3ff,#f6f9fd);
 display:flex;
 align-items:center;
 justify-content:center;
}
.landing-pro-cover-image{
 width:100%;
 height:100%;
 object-fit:cover;
 display:block;
}
.landing-pro-resource-placeholder{
 width:58px;
 height:58px;
 color:#3977c9;
}
.landing-pro-resource-placeholder svg,
.landing-pro-empty svg{
 width:100%;
 height:100%;
 fill:none;
 stroke:currentColor;
 stroke-width:1.5;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.landing-pro-resource-body{
 min-width:0;
 padding:19px 18px 17px;
 display:flex;
 flex-direction:column;
}
.landing-pro-resource-meta{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.landing-pro-resource-meta>span{
 max-width:75%;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 color:#075fcf;
 font-size:12px!important;
 font-weight:800;
}
.landing-pro-resource-meta>small{
 color:#77899b;
 font-size:11px!important;
 font-weight:800;
}
.landing-pro-resource-body h3{
 margin:12px 0 7px;
 color:#102f56;
 font-size:18px!important;
 line-height:1.28!important;
}
.landing-pro-resource-body p{
 margin:0!important;
 color:#64778b!important;
 font-size:14px!important;
 line-height:1.5!important;
}
.landing-pro-resource-body>a{
 margin-top:auto;
 padding-top:14px;
 color:#075fcf;
 display:inline-flex;
 align-items:center;
 gap:6px;
 font-size:14px!important;
 font-weight:800;
}
.landing-pro-empty{
 max-width:1400px;
 min-height:116px;
 margin:0 auto;
 padding:22px 26px;
 border:1px dashed #cdd9e6;
 border-radius:13px;
 background:#fff;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:18px;
 text-align:left;
}
.landing-pro-empty>span{
 width:48px;
 height:48px;
 color:#3977c9;
 flex:0 0 auto;
}
.landing-pro-empty h3{
 margin:0 0 4px;
 color:#17375d;
 font-size:17px!important;
}
.landing-pro-empty p{
 margin:0!important;
 color:#6c7e90!important;
 font-size:14px!important;
}

/* Institutional credibility heading */
.landing-pro-partner-title{
 padding:22px 20px 0;
 text-align:center;
 background:#fff;
}
.landing-pro-partner-title>span{
 margin-bottom:4px;
 font-size:11px!important;
}
.landing-pro-partner-title>strong{
 color:#203a59;
 font-size:16px!important;
 line-height:1.35!important;
 font-weight:750;
}
.landing-final-partners{
 padding-top:5px!important;
}

/* More restrained, consistent optical partner-logo sizing */
.landing-final-partner{
 min-height:72px;
}
.landing-final-partner img{
 max-height:66px!important;
 width:auto!important;
}
.landing-final-partner-moe img{max-width:220px!important}
.landing-final-partner-unicef img{max-width:175px!important}
.landing-final-partner-lisp img{max-width:160px!important}
.landing-final-developer img{
 max-height:52px!important;
 width:auto!important;
 max-width:150px!important;
}

/* Stronger keyboard accessibility throughout public page */
.landing-exact-page a:focus-visible,
.landing-exact-page button:focus-visible,
.landing-exact-page input:focus-visible{
 outline:3px solid #8fc1ff!important;
 outline-offset:3px!important;
}
.landing-exact-search:focus-within{
 border-color:#76aee9;
 box-shadow:0 0 0 4px rgba(9,101,218,.10),0 7px 18px rgba(18,57,104,.07);
}

/* Keep public text comfortably readable */
.landing-exact-copy p{font-size:16px!important}
.landing-exact-search input{font-size:15px!important}
.landing-exact-stats article div>span{font-size:13px!important}

/* Tablet: make featured content comfortable rather than squeezed */
@media(max-width:1100px){
 .landing-pro-resource-grid{
  grid-template-columns:1fr;
  max-width:820px;
 }
 .landing-pro-resource-card{
  grid-template-columns:170px minmax(0,1fr);
 }
}

/* Mobile-specific landing sequence and layout */
@media(max-width:700px){
 .landing-exact-hero{
  min-height:auto!important;
  padding-bottom:315px;
  background-size:auto 315px!important;
  background-position:center bottom!important;
  background-color:#fff;
 }
 .landing-exact-overlay{
  background:linear-gradient(180deg,#fff 0%,#fff 61%,rgba(255,255,255,.94) 69%,rgba(255,255,255,.12) 82%,rgba(255,255,255,0) 100%)!important;
 }
 .landing-exact-content{
  min-height:auto!important;
  padding-bottom:22px!important;
 }
 .landing-exact-copy{
  text-align:left!important;
 }
 .landing-exact-copy h1{
  font-size:35px!important;
  line-height:1.08!important;
 }
 .landing-exact-copy p{
  font-size:15px!important;
  line-height:1.58!important;
 }
 .landing-exact-search,
 .landing-exact-stats{
  margin-left:0!important;
  margin-right:0!important;
 }
 .landing-exact-stats{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .landing-exact-why-wrap{
  padding-top:14px!important;
 }
 .landing-pro-featured{
  padding:38px 14px 42px;
 }
 .landing-pro-section-head{
  display:block;
  margin-bottom:18px;
 }
 .landing-pro-section-head h2{
  font-size:25px!important;
 }
 .landing-pro-section-head p{
  font-size:14px!important;
 }
 .landing-pro-section-head>a{
  margin-top:15px;
 }
 .landing-pro-resource-grid{
  grid-template-columns:1fr;
  gap:13px;
 }
 .landing-pro-resource-card{
  min-height:0;
  grid-template-columns:105px minmax(0,1fr);
 }
 .landing-pro-resource-cover{
  min-height:170px;
 }
 .landing-pro-resource-body{
  padding:14px;
 }
 .landing-pro-resource-body h3{
  font-size:16px!important;
 }
 .landing-pro-resource-body p{
  font-size:13px!important;
 }
 .landing-pro-partner-title{
  padding:19px 14px 2px;
 }
 .landing-pro-partner-title>strong{
  font-size:14px!important;
 }
}
@media(max-width:430px){
 .landing-exact-hero{
  padding-bottom:270px;
  background-size:auto 270px!important;
 }
 .landing-pro-resource-card{
  grid-template-columns:92px minmax(0,1fr);
 }
 .landing-pro-resource-cover{
  min-height:165px;
 }
 .landing-pro-resource-meta small{
  display:none;
 }
}
@media(prefers-reduced-motion:reduce){
 .landing-pro-resource-card{transition:none!important}
}


/* ========================================================================
   V12.9 — Remove Duplicate/Ghost Hero Section
   ======================================================================== */

/* Use a clean hero canvas with no baked-in statistic cards or text. */
.landing-exact-hero{
 min-height:560px!important;
 background-image:url("../images/branding/hero_clean_asal_no_overlays.jpg")!important;
 background-size:cover!important;
 background-position:center center!important;
 background-repeat:no-repeat!important;
}

/* End the hero directly after the real four statistic cards. */
.landing-exact-content{
 min-height:560px!important;
 padding-top:42px!important;
 padding-bottom:18px!important;
}

/* Keep the left content readable while allowing the clean image to show fully. */
.landing-exact-overlay{
 background:
  linear-gradient(90deg,
   rgba(255,255,255,1) 0%,
   rgba(255,255,255,.995) 27%,
   rgba(255,255,255,.95) 35%,
   rgba(255,255,255,.69) 43%,
   rgba(255,255,255,.16) 53%,
   rgba(255,255,255,0) 64%)!important;
}

/* The next section starts immediately after the hero with no phantom area. */
.landing-exact-why-wrap{
 margin-top:0!important;
 padding-top:14px!important;
}

/* Tablet */
@media(max-width:1020px){
 .landing-exact-hero{
  min-height:780px!important;
  background-size:auto 405px!important;
  background-position:center bottom!important;
  background-color:#fff!important;
 }
 .landing-exact-content{
  min-height:780px!important;
 }
}

/* Mobile */
@media(max-width:700px){
 .landing-exact-hero{
  min-height:auto!important;
  padding-bottom:300px!important;
  background-size:auto 300px!important;
  background-position:center bottom!important;
 }
 .landing-exact-content{
  min-height:auto!important;
  padding-bottom:18px!important;
 }
}
@media(max-width:430px){
 .landing-exact-hero{
  padding-bottom:255px!important;
  background-size:auto 255px!important;
 }
}


/* ========================================================================
   V13.0 — Generated HD ASAL Hero / Fully Responsive Display
   ======================================================================== */

/*
  The hero uses the newly generated clean HD image.
  Desktop fills the complete hero edge-to-edge.
  Responsive focal positioning keeps the learner group visible.
*/
.landing-exact-hero{
 position:relative!important;
 min-height:560px!important;
 background-image:
   image-set(
    url("../images/branding/hero_asal_hd_1920.jpg") 1x,
    url("../images/branding/hero_asal_hd.jpg") 2x
   )!important;
 background-size:cover!important;
 background-position:center center!important;
 background-repeat:no-repeat!important;
 overflow:hidden!important;
}
.landing-exact-overlay{
 position:absolute!important;
 inset:0!important;
 background:
  linear-gradient(90deg,
   rgba(255,255,255,.99) 0%,
   rgba(255,255,255,.97) 27%,
   rgba(255,255,255,.88) 35%,
   rgba(255,255,255,.53) 43%,
   rgba(255,255,255,.10) 52%,
   rgba(255,255,255,0) 61%)!important;
 pointer-events:none!important;
}
.landing-exact-content{
 position:relative!important;
 z-index:2!important;
 min-height:560px!important;
}

/* Large desktop: fill the complete width while keeping faces visible. */
@media(min-width:1441px){
 .landing-exact-hero{
  min-height:590px!important;
  background-position:center 47%!important;
 }
 .landing-exact-content{
  min-height:590px!important;
 }
}

/* Standard laptop */
@media(min-width:1021px) and (max-width:1440px){
 .landing-exact-hero{
  min-height:555px!important;
  background-position:54% center!important;
 }
 .landing-exact-content{
  min-height:555px!important;
 }
}

/* Tablet: text first, complete photographic band below it. */
@media(max-width:1020px){
 .landing-exact-hero{
  min-height:790px!important;
  padding-bottom:390px!important;
  background-image:url("../images/branding/hero_asal_hd_1280.jpg")!important;
  background-size:auto 390px!important;
  background-position:center bottom!important;
  background-color:#fff!important;
 }
 .landing-exact-overlay{
  background:linear-gradient(180deg,
    #fff 0%,
    #fff 47%,
    rgba(255,255,255,.96) 52%,
    rgba(255,255,255,.28) 61%,
    rgba(255,255,255,0) 70%)!important;
 }
 .landing-exact-content{
  min-height:auto!important;
 }
}

/* Phones: avoid cropping the learner group; use full-width photographic band. */
@media(max-width:700px){
 .landing-exact-hero{
  min-height:auto!important;
  padding-bottom:61.5vw!important;
  background-image:url("../images/branding/hero_asal_hd_960.jpg")!important;
  background-size:100% auto!important;
  background-position:center bottom!important;
 }
 .landing-exact-overlay{
  background:linear-gradient(180deg,
    #fff 0%,
    #fff 55%,
    rgba(255,255,255,.93) 63%,
    rgba(255,255,255,.12) 75%,
    rgba(255,255,255,0) 86%)!important;
 }
}

/* Small phones */
@media(max-width:430px){
 .landing-exact-hero{
  padding-bottom:61.5vw!important;
  background-image:url("../images/branding/hero_asal_hd_640.jpg")!important;
  background-size:100% auto!important;
  background-position:center bottom!important;
 }
}


/* ========================================================================
   V13.1 — Mobile Hero Integration
   Keep the HD learner image visibly inside the hero on small screens.
   ======================================================================== */

/* Tablet: blend photograph into the hero instead of pushing it below content. */
@media(max-width:1020px){
 .landing-exact-hero{
  min-height:auto!important;
  padding-bottom:0!important;
  background-image:url("../images/branding/hero_asal_hd_1280.jpg")!important;
  background-size:cover!important;
  background-position:60% center!important;
 }
 .landing-exact-content{
  min-height:720px!important;
  padding-bottom:30px!important;
 }
 .landing-exact-overlay{
  background:
   linear-gradient(90deg,
    rgba(255,255,255,.99) 0%,
    rgba(255,255,255,.96) 46%,
    rgba(255,255,255,.72) 62%,
    rgba(255,255,255,.20) 82%,
    rgba(255,255,255,.04) 100%)!important;
 }
}

/*
 Small screens:
 - photograph occupies the upper-right portion of the SAME hero
 - text remains readable on a clean white/soft-gradient field
 - statistics remain part of the hero
 - no separate image band below the cards
*/
@media(max-width:700px){
 .landing-exact-hero{
  min-height:auto!important;
  padding-bottom:0!important;
  background-image:url("../images/branding/hero_asal_hd_960.jpg")!important;
  background-size:auto 300px!important;
  background-position:72% 94px!important;
  background-repeat:no-repeat!important;
  background-color:#fff!important;
 }
 .landing-exact-content{
  min-height:auto!important;
  padding-top:34px!important;
  padding-bottom:28px!important;
 }
 .landing-exact-overlay{
  background:
   linear-gradient(180deg,
    rgba(255,255,255,.14) 0px,
    rgba(255,255,255,.28) 100px,
    rgba(255,255,255,.88) 235px,
    rgba(255,255,255,.99) 330px,
    #fff 100%)!important;
 }
 .landing-exact-copy{
  position:relative!important;
  z-index:2!important;
  padding-top:0!important;
 }
 .landing-exact-copy>span{
  max-width:58%!important;
  display:block!important;
 }
 .landing-exact-copy h1{
  max-width:67%!important;
  min-height:218px!important;
  padding-top:18px!important;
  font-size:34px!important;
  line-height:1.08!important;
  text-shadow:0 1px 0 rgba(255,255,255,.8);
 }
 .landing-exact-copy p{
  max-width:100%!important;
  margin-top:10px!important;
  padding-top:2px!important;
  background:rgba(255,255,255,.96);
 }
 .landing-exact-search{
  margin-top:18px!important;
 }
 .landing-exact-stats{
  margin-top:14px!important;
 }
}

/* Narrow phones: image becomes a contained visual panel inside the hero,
   between the headline and description, so it remains clear and intentional. */
@media(max-width:520px){
 .landing-exact-hero{
  background-size:auto 250px!important;
  background-position:78% 108px!important;
 }
 .landing-exact-overlay{
  background:
   linear-gradient(180deg,
    rgba(255,255,255,.12) 0px,
    rgba(255,255,255,.24) 105px,
    rgba(255,255,255,.84) 230px,
    #fff 340px,
    #fff 100%)!important;
 }
 .landing-exact-copy>span{
  max-width:64%!important;
  font-size:12px!important;
 }
 .landing-exact-copy h1{
  max-width:72%!important;
  min-height:210px!important;
  font-size:31px!important;
 }
}

/* Very small phones: preserve readability without hiding the photograph. */
@media(max-width:390px){
 .landing-exact-hero{
  background-size:auto 225px!important;
  background-position:82% 112px!important;
 }
 .landing-exact-copy h1{
  max-width:75%!important;
  min-height:200px!important;
  font-size:28px!important;
 }
 .landing-exact-copy>span{
  max-width:68%!important;
  font-size:11px!important;
 }
}


/* ========================================================================
   V13.2 — Professional Mobile Hero Panel
   Mobile uses a real image element inside the hero instead of overlaying
   the photograph behind the heading.
   ======================================================================== */

/* Hidden on desktop/tablet where the existing full-width hero background is retained. */
.landing-mobile-hero-photo{
 display:none;
}

/* Remove V13.1 mobile overlay/background treatment and use a dedicated photo block. */
@media(max-width:700px){
 .landing-exact-hero{
  min-height:auto!important;
  padding-bottom:0!important;
  background-image:none!important;
  background-color:#fff!important;
 }
 .landing-exact-overlay{
  display:none!important;
 }
 .landing-exact-content{
  min-height:auto!important;
  padding-top:32px!important;
  padding-bottom:28px!important;
 }
 .landing-exact-copy{
  width:100%!important;
  max-width:none!important;
  text-align:left!important;
 }
 .landing-exact-copy>span{
  max-width:100%!important;
  display:block!important;
  margin-bottom:13px!important;
 }
 .landing-exact-copy h1{
  max-width:100%!important;
  min-height:0!important;
  padding-top:0!important;
  margin-bottom:20px!important;
  font-size:36px!important;
  line-height:1.08!important;
  text-shadow:none!important;
 }

 .landing-mobile-hero-photo{
  display:block;
  width:100%;
  margin:0 0 20px;
  overflow:hidden;
  border-radius:18px;
  background:#eaf2fb;
  box-shadow:0 10px 26px rgba(18,57,104,.10);
  aspect-ratio:16/10;
 }
 .landing-mobile-hero-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 54%;
 }

 .landing-exact-copy p{
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  font-size:15px!important;
  line-height:1.58!important;
 }

 .landing-exact-search{
  width:100%!important;
  margin-top:20px!important;
 }
 .landing-exact-stats{
  width:100%!important;
  margin-top:15px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
 }
}

/* Narrow phones: slightly taller crop so all learners remain visible. */
@media(max-width:520px){
 .landing-exact-copy h1{
  font-size:33px!important;
 }
 .landing-mobile-hero-photo{
  aspect-ratio:4/3;
  border-radius:16px;
 }
 .landing-mobile-hero-photo img{
  object-position:center 50%;
 }
}

/* Very small phones */
@media(max-width:390px){
 .landing-exact-copy h1{
  font-size:30px!important;
 }
 .landing-mobile-hero-photo{
  aspect-ratio:1.28/1;
  border-radius:14px;
 }
 .landing-exact-stats{
  gap:8px!important;
 }
}


/* ========================================================================
   V14.0 — Premium Public Landing Experience
   ======================================================================== */
.premium-landing-page{
 margin:0;
 min-height:100vh;
 background:#f7f9fc;
 color:#17365d;
 font-family:"Segoe UI",Inter,Arial,sans-serif;
}
.premium-landing-page *{box-sizing:border-box}
.premium-landing-page a{text-decoration:none}
.premium-landing-page svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Header */
.premium-public-header{
 height:86px;
 padding:0 clamp(20px,4vw,58px);
 background:#fff;
 border-bottom:1px solid #e2e8f0;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:24px;
 position:sticky;
 top:0;
 z-index:100;
 box-shadow:0 3px 16px rgba(18,57,104,.035);
}
.premium-public-brand{display:flex;align-items:center;gap:11px;color:#0b3269}
.premium-public-brand img{width:58px;height:58px;object-fit:contain}
.premium-public-brand span{display:grid}
.premium-public-brand strong{font-size:17px!important;line-height:1.15!important;font-weight:850}
.premium-public-brand small{margin-top:4px;color:#667d95;font-size:13px!important}
.premium-signin{
 min-height:44px;padding:10px 17px;border-radius:9px;background:#075fcf;color:#fff;
 display:inline-flex;align-items:center;gap:8px;font-size:15px!important;font-weight:800;
 box-shadow:0 6px 15px rgba(7,95,207,.15)
}
.premium-signin svg{width:18px;height:18px}

/* Hero */
.premium-hero{
 min-height:540px;
 position:relative;
 overflow:hidden;
 background:url("../images/branding/hero_asal_hd_1920.jpg") center center/cover no-repeat;
}
.premium-hero-shade{
 position:absolute;inset:0;
 background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 28%,rgba(255,255,255,.92) 38%,rgba(255,255,255,.48) 48%,rgba(255,255,255,.04) 60%);
}
.premium-hero-inner{
 position:relative;z-index:2;min-height:540px;
 padding:46px clamp(24px,5vw,72px) 38px;
 display:flex;align-items:center
}
.premium-hero-copy{width:min(665px,47vw)}
.premium-eyebrow{
 display:block;color:#0965da;font-size:13px!important;font-weight:900;letter-spacing:.08em;margin-bottom:12px
}
.premium-hero-copy h1{
 margin:0;color:#0a3167;font-size:52px!important;line-height:1.04!important;letter-spacing:-1.25px;font-weight:850
}
.premium-hero-copy>p{
 margin:18px 0 0!important;color:#304a66!important;font-size:16px!important;line-height:1.62!important;max-width:600px
}
.premium-search{
 width:min(600px,100%);min-height:56px;margin-top:22px;background:#fff;border:1px solid #dce5ef;border-radius:10px;
 display:grid;grid-template-columns:45px minmax(0,1fr) 108px;align-items:center;box-shadow:0 7px 18px rgba(18,57,104,.07);overflow:hidden
}
.premium-search>span{height:54px;display:grid;place-items:center;color:#345d87}
.premium-search svg{width:22px;height:22px}
.premium-search input{height:54px;border:0!important;outline:0!important;background:transparent!important;font-size:15px!important;color:#29445f}
.premium-search button{align-self:stretch;border:0;background:#0965da;color:#fff;font-size:15px!important;font-weight:800;cursor:pointer}
.premium-popular{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}
.premium-popular strong{font-size:12px!important;color:#546c84}
.premium-popular a{padding:5px 9px;border:1px solid #dbe4ee;border-radius:999px;background:#fff;color:#4d6480;font-size:11px!important}
.premium-mobile-hero-image{display:none}

/* Common section headings */
.premium-section-heading{max-width:920px}
.premium-section-heading.centered{margin:0 auto 24px;text-align:center}
.premium-section-heading.row{max-width:1400px;margin:0 auto 24px;display:flex;align-items:flex-end;justify-content:space-between;gap:22px}
.premium-section-heading>span,.premium-section-heading>div>span{
 color:#0965da;font-size:12px!important;font-weight:900;letter-spacing:.08em
}
.premium-section-heading h2{
 margin:6px 0 0;color:#0b3269;font-size:28px!important;line-height:1.2!important
}
.premium-section-heading p{
 margin:7px 0 0!important;color:#60758d!important;font-size:14px!important;line-height:1.55!important
}
.premium-section-heading.row>a{color:#075fcf;font-size:13px!important;font-weight:800;white-space:nowrap}

/* Live statistics */
.premium-impact-section{padding:42px clamp(20px,4vw,58px);background:#fff}
.premium-live-badge{
 width:max-content;margin:10px auto 0;padding:5px 9px;border-radius:999px;background:#effbf2;color:#237c3d;
 display:flex;align-items:center;gap:6px;font-size:11px!important
}
.premium-live-badge i{width:7px;height:7px;border-radius:50%;background:#32b45b;box-shadow:0 0 0 3px rgba(50,180,91,.13)}
.premium-live-badge span{font-weight:800}
.premium-live-badge small{color:#708398;font-size:10px!important}
.premium-stat-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.premium-stat-grid article{
 min-height:158px;padding:18px;border:1px solid #dfe7f0;border-radius:13px;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr);gap:11px;
 box-shadow:0 6px 18px rgba(18,57,104,.045)
}
.premium-stat-icon{width:46px;height:46px;color:#0965da;display:grid;place-items:center}
.premium-stat-icon svg{width:40px;height:40px}
.premium-stat-grid strong{display:block;color:#071f44;font-size:26px!important;line-height:1!important}
.premium-stat-grid b{display:block;margin-top:6px;color:#17365d;font-size:13px!important}
.premium-stat-grid p{margin:8px 0 0!important;color:#6b7e92!important;font-size:11.5px!important;line-height:1.45!important}

/* Coverage map */
.premium-coverage-section{
 padding:48px clamp(20px,4vw,58px);background:linear-gradient(135deg,#f6f9fd,#edf4fb);
 display:grid;grid-template-columns:minmax(280px,.72fr) minmax(480px,1.28fr);gap:34px;align-items:center
}
.premium-coverage-copy{max-width:520px}
.premium-coverage-copy h2{margin:7px 0 10px;color:#0b3269;font-size:29px!important}
.premium-coverage-copy>p{margin:0!important;color:#5f748b!important;font-size:14px!important;line-height:1.65!important}
.premium-coverage-summary{margin:22px 0 16px;border:1px solid #dbe5ef;border-radius:12px;background:#fff;overflow:hidden}
.premium-coverage-summary>div{min-height:46px;padding:10px 13px;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:13px minmax(0,1fr) auto;gap:9px;align-items:center}
.premium-coverage-summary>div:last-child{border-bottom:0}
.premium-coverage-summary i{width:10px;height:10px;border-radius:50%}
.premium-coverage-summary i.covered{background:#31ad58}
.premium-coverage-summary i.uncovered{background:#c7d0db}
.premium-coverage-summary span{font-size:12px!important;color:#48617b}
.premium-coverage-summary strong{font-size:15px!important;color:#0c2d5b}
.premium-coverage-summary .total{grid-template-columns:minmax(0,1fr) auto;background:#f8fafc}
.premium-outline-button{
 min-height:42px;padding:10px 14px;border:1px solid #a9c5e8;border-radius:8px;background:#fff;color:#075fcf;
 display:inline-flex;align-items:center;gap:12px;font-size:13px!important;font-weight:800
}
.premium-map-card{
 min-height:475px;position:relative;border:1px solid #dce6f1;border-radius:16px;background:
  radial-gradient(circle at 80% 30%,rgba(75,145,220,.08),transparent 32%),#fff;
 box-shadow:0 12px 28px rgba(18,57,104,.07);overflow:hidden
}
.premium-map-toolbar{height:48px;padding:0 16px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between}
.premium-map-toolbar span{display:flex;align-items:center;gap:7px;color:#41617f;font-size:12px!important;font-weight:750}
.premium-map-toolbar span i{width:8px;height:8px;border-radius:50%;background:#31ad58;box-shadow:0 0 0 3px rgba(49,173,88,.13)}
.premium-map-toolbar small{color:#8090a0;font-size:10px!important}
.kenya-coverage-map{width:100%;height:420px;padding:15px 20px}
.kenya-outline{fill:#edf1f4;stroke:#cbd6e2;stroke-width:2}
.kenya-water{fill:#d6e9fb;stroke:#b8d5ef;stroke-width:1}
.coverage-marker{cursor:pointer;outline:none}
.coverage-marker circle:not(.pulse){stroke:#fff;stroke-width:2}
.coverage-marker.is-covered circle:not(.pulse){fill:#43bd69}
.coverage-marker.is-uncovered circle:not(.pulse){fill:#c5ced8}
.coverage-marker .pulse{fill:none;stroke:#43bd69;stroke-width:1.5;opacity:.55;animation:coveragePulse 2.2s infinite}
.coverage-marker:focus circle:not(.pulse),.coverage-marker:hover circle:not(.pulse){stroke:#075fcf;stroke-width:3}
@keyframes coveragePulse{0%{r:7;opacity:.65}75%{r:15;opacity:0}100%{r:15;opacity:0}}
.premium-map-tooltip{
 position:absolute;right:24px;top:84px;z-index:3;width:190px;padding:13px;border:1px solid #dae4ee;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(18,57,104,.14)
}
.premium-map-tooltip strong{display:block;color:#17365d;font-size:13px!important}
.premium-map-tooltip span{display:block;margin-top:5px;color:#6b7d91;font-size:11px!important}
.premium-map-tooltip a{display:block;margin-top:9px;color:#075fcf;font-size:11px!important;font-weight:800}

/* Benefits */
.premium-benefits-section{padding:48px clamp(20px,4vw,58px);background:#fff}
.premium-benefit-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.premium-benefit-grid article{
 min-height:185px;padding:22px 17px;border:1px solid #e1e8f0;border-radius:13px;background:#fff;text-align:center;box-shadow:0 6px 18px rgba(18,57,104,.04)
}
.premium-benefit-grid article>span{width:50px;height:50px;margin:0 auto 12px;border-radius:50%;background:#eef5ff;color:#0965da;display:grid;place-items:center}
.premium-benefit-grid svg{width:30px;height:30px}
.premium-benefit-grid h3{margin:0;color:#17365d;font-size:14px!important}
.premium-benefit-grid p{margin:8px 0 0!important;color:#6b7d91!important;font-size:12px!important;line-height:1.5!important}

/* Featured resources */
.premium-featured-section{padding:48px clamp(20px,4vw,58px) 56px;background:#f8fafc}
.premium-resource-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.premium-resource-card{overflow:hidden;border:1px solid #dde5ee;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(18,57,104,.06)}
.premium-resource-cover{height:220px;background:linear-gradient(145deg,#eaf3ff,#f6f9fd);display:grid;place-items:center;overflow:hidden}
.premium-resource-image{width:100%;height:100%;object-fit:cover;display:block}
.premium-resource-cover>span{width:56px;height:56px;color:#3977c9}
.premium-resource-cover svg{width:100%;height:100%}
.premium-resource-body{padding:18px}
.premium-resource-body>small{color:#075fcf;font-size:11px!important;font-weight:800}
.premium-resource-body h3{margin:7px 0;color:#17365d;font-size:17px!important}
.premium-resource-body p{margin:0!important;color:#6b7d91!important;font-size:13px!important;line-height:1.5!important}
.premium-resource-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.premium-resource-tags span{padding:5px 8px;border-radius:999px;background:#eef5ff;color:#416484;font-size:10px!important}
.premium-resource-body>a{display:inline-flex;margin-top:14px;color:#075fcf;font-size:12px!important;font-weight:800}
.premium-empty-state{max-width:900px;margin:0 auto;padding:30px;border:1px dashed #cad7e5;border-radius:12px;background:#fff;text-align:center}
.premium-empty-state strong{font-size:16px!important;color:#17365d}
.premium-empty-state p{margin:5px 0 0!important;color:#6d7f91!important;font-size:13px!important}

/* CTA */
.premium-teacher-cta{
 margin:0 clamp(20px,4vw,58px) 0;padding:24px 28px;border-radius:15px 15px 0 0;background:linear-gradient(90deg,#07479d,#0965da);
 color:#fff;display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:18px;align-items:center
}
.premium-cta-icon{width:58px;height:58px;border:2px solid rgba(255,255,255,.8);border-radius:50%;display:grid;place-items:center}
.premium-cta-icon svg{width:33px;height:33px}
.premium-teacher-cta h2{margin:0;color:#fff;font-size:20px!important}
.premium-teacher-cta p{margin:5px 0 0!important;color:#e1ecf9!important;font-size:13px!important}
.premium-teacher-cta>a{min-height:42px;padding:11px 16px;border-radius:8px;background:#fff;color:#075fcf;font-size:13px!important;font-weight:800;white-space:nowrap}

/* Footer */
.premium-footer{background:#fff}
.premium-partner-heading{text-align:center;padding:22px 20px 5px;color:#2a4562}
.premium-partner-heading strong{font-size:13px!important}
.premium-partners{min-height:100px;padding:10px clamp(30px,10vw,160px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px;align-items:center}
.premium-partners>img,.premium-partners>a>img{max-width:100%;max-height:65px;object-fit:contain;margin:auto;display:block}
.premium-partners>a{display:grid;justify-items:center;color:#435b74}
.premium-partners>a>span{font-size:10px!important;margin-bottom:2px}
.premium-footerbar{min-height:46px;padding:8px clamp(20px,4vw,58px);background:#063d84;color:#fff;display:flex;align-items:center;justify-content:center;gap:24px;font-size:11px!important}
.premium-footerbar nav{display:flex;align-items:center}
.premium-footerbar nav a{padding:0 15px;border-left:1px solid rgba(255,255,255,.35);color:#fff;font-size:11px!important}

/* Accessibility */
.premium-landing-page a:focus-visible,.premium-landing-page button:focus-visible,.premium-landing-page input:focus-visible,.coverage-marker:focus{outline:3px solid #8fc1ff!important;outline-offset:3px}

/* Tablet */
@media(max-width:1120px){
 .premium-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .premium-benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .premium-resource-grid{grid-template-columns:1fr;max-width:820px}
 .premium-coverage-section{grid-template-columns:1fr}
 .premium-coverage-copy{max-width:720px;margin:0 auto}
 .premium-map-card{max-width:820px;width:100%;margin:0 auto}
}

/* Mobile */
@media(max-width:700px){
 .premium-public-header{height:76px;padding:0 14px}
 .premium-public-brand img{width:48px;height:48px}
 .premium-public-brand strong{font-size:14px!important}
 .premium-public-brand small{display:none}
 .premium-signin{min-height:40px;padding:9px 12px;font-size:14px!important}

 .premium-hero{min-height:auto;background:#fff}
 .premium-hero-shade{display:none}
 .premium-hero-inner{min-height:auto;padding:30px 14px 34px}
 .premium-hero-copy{width:100%}
 .premium-eyebrow{font-size:12px!important}
 .premium-hero-copy h1{font-size:35px!important;line-height:1.07!important}
 .premium-hero-copy>p{font-size:15px!important;line-height:1.58!important}
 .premium-mobile-hero-image{display:block;width:100%;margin:19px 0;border-radius:17px;overflow:hidden;aspect-ratio:4/3;box-shadow:0 9px 24px rgba(18,57,104,.10)}
 .premium-mobile-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 53%;display:block}
 .premium-search{grid-template-columns:42px minmax(0,1fr) 58px}
 .premium-search button{font-size:0}
 .premium-search button:after{content:"⌕";font-size:18px}
 .premium-popular{align-items:flex-start}
 .premium-popular strong{width:100%}

 .premium-impact-section,.premium-benefits-section,.premium-featured-section,.premium-coverage-section{padding-left:14px;padding-right:14px}
 .premium-section-heading h2{font-size:24px!important}
 .premium-section-heading.row{display:block}
 .premium-section-heading.row>a{display:inline-block;margin-top:12px}
 .premium-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .premium-stat-grid article{min-height:135px;padding:13px;grid-template-columns:40px minmax(0,1fr)}
 .premium-stat-icon{width:38px;height:38px}
 .premium-stat-icon svg{width:34px;height:34px}
 .premium-stat-grid strong{font-size:22px!important}
 .premium-stat-grid p{font-size:10.5px!important}

 .premium-coverage-section{gap:20px}
 .premium-coverage-copy h2{font-size:25px!important}
 .premium-map-card{min-height:420px}
 .kenya-coverage-map{height:365px;padding:10px}
 .premium-map-tooltip{right:14px;top:65px;width:165px}
 .premium-benefit-grid{grid-template-columns:1fr}
 .premium-benefit-grid article{min-height:auto;text-align:left;display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;align-items:start}
 .premium-benefit-grid article>span{margin:0;grid-row:1/3}
 .premium-benefit-grid h3{padding-top:4px}
 .premium-benefit-grid p{margin-top:4px!important}
 .premium-resource-cover{height:190px}

 .premium-teacher-cta{margin:0 14px;padding:20px;border-radius:13px 13px 0 0;grid-template-columns:52px minmax(0,1fr)}
 .premium-cta-icon{width:48px;height:48px}
 .premium-teacher-cta>a{grid-column:1/-1;width:100%;justify-content:center;text-align:center}
 .premium-teacher-cta h2{font-size:17px!important}

 .premium-partners{padding:16px 14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .premium-footerbar{min-height:74px;flex-direction:column;gap:7px;text-align:center}
 .premium-footerbar nav{flex-wrap:wrap;justify-content:center}
 .premium-footerbar nav a{padding:0 8px;font-size:10px!important}
 .premium-footerbar nav a:first-child{border-left:0}
}
@media(max-width:430px){
 .premium-hero-copy h1{font-size:31px!important}
 .premium-stat-grid{grid-template-columns:1fr 1fr}
 .premium-stat-grid article{grid-template-columns:36px minmax(0,1fr)}
 .premium-stat-grid p{display:none}
 .premium-map-card{min-height:385px}
 .kenya-coverage-map{height:330px}
}
@media(prefers-reduced-motion:reduce){
 .coverage-marker .pulse{animation:none}
}

/* V15 real Kenya geographic map */
.kenya-real-map{display:block;width:100%;height:420px;border:0;background:#fff}
@media(max-width:700px){.kenya-real-map{height:360px}}
@media(max-width:430px){.kenya-real-map{height:330px}}

/* V15 Geography administration */
.admin-real-kenya-map{width:100%;height:620px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.geo-subcounty-list{max-height:480px;overflow:auto;margin-top:12px;border-top:1px solid #e5ebf2}
.geo-subcounty-list form{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px;border-bottom:1px solid #edf1f5}
.geo-subcounty-list span{display:grid}.geo-subcounty-list strong{font-size:13px}.geo-subcounty-list small{font-size:10px;color:#718399}
.geo-subcounty-list label{display:flex;align-items:center;gap:5px;font-size:11px}
@media(max-width:800px){.admin-real-kenya-map{height:450px}}


/* ========================================================================
   V15.1 — Geographic Analytics & Data Quality
   ======================================================================== */
.geographic-intelligence-heading{align-items:flex-end}
.geo-analytics-tabs{
 margin:0 0 18px;
 padding:5px;
 border:1px solid #dfe7f0;
 border-radius:11px;
 background:#fff;
 display:flex;
 gap:5px;
 width:max-content;
 max-width:100%;
 overflow:auto;
}
.geo-analytics-tabs a{
 min-height:38px;
 padding:9px 13px;
 border-radius:8px;
 color:#526b85;
 font-size:12px!important;
 font-weight:750;
 white-space:nowrap;
 display:flex;
 align-items:center;
 gap:7px;
}
.geo-analytics-tabs a.active{
 background:#eaf3ff;
 color:#075fcf;
}
.geo-analytics-tabs a span{
 min-width:20px;height:20px;padding:0 5px;
 border-radius:999px;background:#eef1f5;color:#5f7184;
 display:grid;place-items:center;font-size:10px!important;
}
.geo-analytics-tabs a.active span{background:#075fcf;color:#fff}

.geo-kpi-grid{
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.geo-kpi-grid article{
 min-height:125px!important;
}
.geo-kpi-warning{
 border-color:#f0d8a2!important;
 background:#fffaf0!important;
}
.geo-kpi-warning>span{color:#b97a00!important}

.geo-intel-overview{
 grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr)!important;
 gap:18px!important;
}
.geo-card-header{
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:18px!important;
}
.geo-card-header>div>span{
 color:#075fcf;
 font-size:10px!important;
 font-weight:850;
 text-transform:uppercase;
 letter-spacing:.08em;
}
.geo-analytics-map-shell{
 min-height:540px;
 position:relative;
 padding:12px;
 border:1px solid #e4eaf1;
 border-radius:14px;
 background:linear-gradient(145deg,#f9fbfd,#eef5fb);
 overflow:hidden;
}
.admin-analytics-kenya-map{
 width:100%;
 height:485px;
 border:0;
 background:#fff;
 border-radius:10px;
}
.geo-map-legend{
 position:absolute;
 left:24px;
 bottom:20px;
 padding:9px 11px;
 border:1px solid #dce5ee;
 border-radius:9px;
 background:rgba(255,255,255,.94);
 box-shadow:0 8px 20px rgba(18,57,104,.08);
 display:flex;
 gap:13px;
 flex-wrap:wrap;
}
.geo-map-legend span{display:flex;align-items:center;gap:6px;font-size:10px!important;color:#5b6f83}
.geo-map-legend i{width:9px;height:9px;border-radius:50%}
.geo-map-legend .strong{background:#43bd69}
.geo-map-legend .partial{background:#f0b84a}
.geo-map-legend .none{background:#d8dee7}

.geo-ranking-list>a{
 min-height:66px;
 padding:10px 2px;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:30px minmax(0,1fr) auto;
 gap:10px;
 align-items:center;
 color:#35516d;
}
.geo-ranking-list>a:last-child{border-bottom:0}
.geo-ranking-list .rank{
 width:28px;height:28px;border-radius:8px;background:#eef5ff;color:#075fcf;
 display:grid;place-items:center;font-size:11px!important;font-weight:850
}
.geo-ranking-list>a>div{min-width:0}
.geo-ranking-list strong{display:block;font-size:12px!important;color:#213f5f}
.geo-ranking-list small{display:block;margin-top:2px;font-size:10px!important;color:#76889a}
.geo-ranking-list i{display:block;height:5px;margin-top:7px;border-radius:999px;background:#edf1f5;overflow:hidden}
.geo-ranking-list i b{display:block;height:100%;border-radius:999px;background:#3d8ce7}
.geo-ranking-list em{font-style:normal;font-size:10px!important;color:#718397;white-space:nowrap}

.geo-gap-list>a{
 min-height:58px;padding:10px 0;border-bottom:1px solid #edf1f5;
 display:flex;align-items:center;justify-content:space-between;gap:10px;color:#3c5772
}
.geo-gap-list>a:last-child{border-bottom:0}
.geo-gap-list span{display:grid}
.geo-gap-list strong{font-size:12px!important;color:#29445f}
.geo-gap-list small{margin-top:2px;font-size:10px!important;color:#76889a}
.geo-gap-list b{font-size:10px!important;color:#075fcf;white-space:nowrap}
.geo-quality-mini{margin:13px 0;border-top:1px solid #edf1f5}
.geo-quality-mini>div{
 min-height:42px;border-bottom:1px solid #edf1f5;
 display:flex;align-items:center;justify-content:space-between;gap:10px
}
.geo-quality-mini span{font-size:10.5px!important;color:#66798d}
.geo-quality-mini strong{font-size:14px!important;color:#17365d}

.geo-analytics-table td:first-child{min-width:175px}
.geo-analytics-table td:first-child strong{display:block}
.geo-analytics-table td:first-child small{display:block;margin-top:2px;color:#8090a1;font-size:9.5px!important}
.geo-analytics-table tr.selected{background:#f0f6ff}
.geo-progress{
 min-width:120px;height:24px;border-radius:7px;background:#f1f4f7;
 display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;overflow:hidden;position:relative
}
.geo-progress i{
 position:absolute;left:0;top:0;bottom:0;background:#d9eaff;border-right:1px solid #a8caef
}
.geo-progress span{position:relative;z-index:2;text-align:right;padding-right:6px;font-size:9px!important;font-weight:800;color:#42627f}
.geo-subcounty-summary{
 margin:0 0 15px;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px
}
.geo-subcounty-summary article{
 min-height:82px;padding:13px;border:1px solid #dfe7f0;border-radius:10px;background:#f9fbfd
}
.geo-subcounty-summary strong{display:block;color:#0b3269;font-size:21px!important}
.geo-subcounty-summary span{display:block;margin-top:4px;color:#708398;font-size:10px!important}

.geo-quality-layout{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);
 gap:18px;
}
.geo-quality-cards{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
 margin-top:13px;
}
.geo-quality-cards article{
 min-height:96px;padding:14px;border:1px solid #e2e8ef;border-radius:10px;background:#fbfcfe
}
.geo-quality-cards span{display:block;color:#b46d00;font-size:23px!important;font-weight:850}
.geo-quality-cards strong{display:block;margin-top:7px;color:#455d75;font-size:10.5px!important;line-height:1.35!important}
.geo-issue-pill{
 display:inline-block;padding:5px 8px;border-radius:999px;background:#fff2d9;color:#8a5b00;
 font-size:9.5px!important;font-weight:800
}
.geo-quality-clean{
 min-height:100px;padding:18px;border:1px solid #d5ebdc;border-radius:11px;background:#f5fcf7;
 display:flex;align-items:center;gap:14px
}
.geo-quality-clean>span{
 width:42px;height:42px;border-radius:50%;background:#dff5e5;color:#238140;
 display:grid;place-items:center;font-size:20px!important;font-weight:900
}
.geo-quality-clean strong{display:block;color:#24513a;font-size:13px!important}
.geo-quality-clean p{margin:3px 0 0!important;color:#698073!important;font-size:10.5px!important}
.geo-rule-list>div{
 padding:11px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px
}
.geo-rule-list>div:last-child{border-bottom:0}
.geo-rule-list>div>span{
 width:26px;height:26px;border-radius:8px;background:#eef5ff;color:#075fcf;
 display:grid;place-items:center;font-size:10px!important;font-weight:850
}
.geo-rule-list p{margin:0!important;color:#64788d!important;font-size:10.5px!important;line-height:1.45!important}
.geo-rule-list strong{color:#344f6a}
.btn.full{width:100%;justify-content:center}

/* Responsive */
@media(max-width:1250px){
 .geo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
 .geo-intel-overview,.geo-quality-layout{grid-template-columns:1fr!important}
 .geo-quality-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .geo-subcounty-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .geo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .geo-card-header{flex-direction:column}
 .geo-analytics-map-shell{min-height:400px;padding:7px}
 .admin-analytics-kenya-map{height:360px}
 .geo-map-legend{position:static;margin-top:7px}
 .geo-quality-cards{grid-template-columns:1fr}
 .geo-subcounty-summary{grid-template-columns:1fr 1fr}
 .geo-analytics-tabs{width:100%}
}


/* ========================================================================
   V15.2 — Geographic Programme Intelligence & Advanced Reporting
   ======================================================================== */
.geo-pi-filter{
 margin-bottom:12px;
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:14px;
}
.geo-pi-filter>div{
 flex:1;
 display:grid;
 grid-template-columns:180px 180px minmax(240px,1fr);
 gap:12px;
}
.geo-pi-filter label{
 display:grid;
 gap:5px;
 color:#49627c;
 font-size:11px!important;
 font-weight:750;
}
.geo-pi-context{
 margin:0 0 16px;
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:8px;
}
.geo-pi-context>span{
 padding:6px 9px;
 border:1px solid #dce5ee;
 border-radius:999px;
 background:#fff;
 color:#6d8093;
 font-size:10px!important;
}
.geo-pi-context strong{color:#38536f}
.geo-pi-kpis{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.geo-pi-kpis article:nth-child(4)>span{
 font-size:16px!important;
 line-height:1.2!important;
 word-break:break-word;
}
.geo-pi-grid-main{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(290px,.62fr);
 gap:18px;
 align-items:start;
}
.geo-export-actions{display:flex;gap:6px;flex-wrap:wrap}
.geo-trend-legend{
 margin:0 0 10px;
 display:flex;
 gap:14px;
 flex-wrap:wrap;
}
.geo-trend-legend span{
 display:flex;align-items:center;gap:6px;
 color:#66798d;font-size:10px!important;
}
.geo-trend-legend i{width:10px;height:10px;border-radius:3px}
.geo-trend-legend .published{background:#3c86dc}
.geo-trend-legend .demand{background:#43ad6a}

.geo-trend-chart{
 min-height:275px;
 padding:14px 8px 6px;
 border:1px solid #e1e8f0;
 border-radius:12px;
 background:linear-gradient(180deg,#fbfdff,#f7f9fc);
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(54px,1fr));
 gap:7px;
 align-items:end;
}
.geo-trend-month{
 min-width:0;
 display:grid;
 align-items:end;
 text-align:center;
}
.geo-trend-bars{
 height:205px;
 display:flex;
 align-items:flex-end;
 justify-content:center;
 gap:4px;
 border-bottom:1px solid #cfd9e4;
}
.geo-trend-bars>span{
 width:12px;
 min-height:2px;
 border-radius:4px 4px 0 0;
 transition:height .2s ease;
}
.geo-trend-bars .published{background:#3c86dc}
.geo-trend-bars .demand{background:#43ad6a}
.geo-trend-month>strong{
 margin-top:6px;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 color:#516b83;
 font-size:9px!important;
}
.geo-trend-month>small{
 color:#8997a5;
 font-size:8.5px!important;
}

.geo-demand-list article{
 min-height:54px;
 padding:9px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:minmax(150px,.9fr) minmax(130px,1.3fr) 55px;
 gap:12px;
 align-items:center;
}
.geo-demand-list article:last-child{border-bottom:0}
.geo-demand-name{min-width:0;display:grid}
.geo-demand-name strong{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 color:#29445f;font-size:11.5px!important;
}
.geo-demand-name small{margin-top:2px;color:#8090a1;font-size:9px!important}
.geo-demand-bar{
 height:9px;border-radius:999px;background:#edf1f5;overflow:hidden
}
.geo-demand-bar i{
 display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6facf0,#2679d7)
}
.geo-demand-list article>span{text-align:right;color:#365b80;font-size:11px!important;font-weight:850}

.geo-skill-demand-grid article{
 min-height:61px;
 padding:9px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:30px minmax(0,1fr) 55px;
 gap:9px;
 align-items:center;
}
.geo-skill-demand-grid article:last-child{border-bottom:0}
.geo-skill-demand-grid article>span{
 width:27px;height:27px;border-radius:8px;background:#eef5ff;color:#075fcf;
 display:grid;place-items:center;font-size:10px!important;font-weight:850
}
.geo-skill-demand-grid article>div{min-width:0}
.geo-skill-demand-grid strong{display:block;color:#29445f;font-size:11.5px!important}
.geo-skill-demand-grid small{display:block;margin-top:2px;color:#8190a0;font-size:9px!important}
.geo-skill-demand-grid i{
 display:block;height:5px;margin-top:6px;border-radius:999px;background:#edf1f5;overflow:hidden
}
.geo-skill-demand-grid i b{display:block;height:100%;border-radius:999px;background:#4e96e5}
.geo-skill-demand-grid em{font-style:normal;text-align:right;color:#365b80;font-size:11px!important;font-weight:850}

.geo-content-mix>div{
 min-height:44px;
 display:grid;
 grid-template-columns:minmax(130px,.8fr) minmax(120px,1.4fr) 45px;
 gap:10px;
 align-items:center;
 border-bottom:1px solid #edf1f5;
}
.geo-content-mix>div:last-child{border-bottom:0}
.geo-content-mix strong{font-size:10.5px!important;color:#405b74}
.geo-content-mix i{height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}
.geo-content-mix i b{display:block;height:100%;border-radius:999px;background:#43ad6a}
.geo-content-mix span{text-align:right;font-size:10px!important;color:#61768b}

.geo-pi-report-card{
 position:sticky;
 top:98px;
}
.geo-pi-report-icon{
 width:52px;height:52px;border-radius:14px;background:#eef5ff;color:#075fcf;
 display:grid;place-items:center;margin-bottom:12px
}
.geo-pi-report-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.geo-pi-report-card>p{color:#6f8193!important;font-size:10.5px!important;line-height:1.5!important}
.geo-me-summary{
 margin:14px 0;
 border:1px solid #e1e8f0;
 border-radius:10px;
 overflow:hidden;
}
.geo-me-summary>div{
 min-height:42px;
 padding:8px 10px;
 border-bottom:1px solid #edf1f5;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.geo-me-summary>div:last-child{border-bottom:0}
.geo-me-summary span{color:#758698;font-size:9.5px!important}
.geo-me-summary strong{text-align:right;color:#334f6b;font-size:10px!important}
.geo-pi-report-card>.btn{margin-top:7px}
.geo-pi-report-card>small{display:block;margin-top:10px;color:#8a98a7;font-size:9px!important;text-align:center}

.geo-top-resource-list>a{
 min-height:54px;
 padding:8px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:26px minmax(0,1fr) 40px;
 gap:8px;
 align-items:center;
 color:#3d5873;
}
.geo-top-resource-list>a:last-child{border-bottom:0}
.geo-top-resource-list>a>span{
 width:24px;height:24px;border-radius:7px;background:#eef5ff;color:#075fcf;
 display:grid;place-items:center;font-size:9px!important;font-weight:850
}
.geo-top-resource-list>a>div{min-width:0}
.geo-top-resource-list strong{
 display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 color:#29445f;font-size:10.5px!important
}
.geo-top-resource-list small{display:block;margin-top:2px;color:#8392a0;font-size:8.5px!important}
.geo-top-resource-list em{font-style:normal;text-align:right;color:#55718b;font-size:10px!important;font-weight:800}

.geo-gap-recommendations{margin-top:18px}
.geo-recommendation-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
}
.geo-recommendation-grid article{
 overflow:hidden;
 border:1px solid #e1e8f0;
 border-radius:11px;
 background:#fff;
}
.geo-recommendation-grid article>header{
 min-height:50px;
 padding:10px 12px;
 background:#f7f9fc;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.geo-recommendation-grid article>header>span{
 padding:4px 7px;
 border-radius:999px;
 font-size:8.5px!important;
 font-weight:850;
}
.geo-recommendation-grid article.high>header>span{background:#fde7e5;color:#a93c35}
.geo-recommendation-grid article.medium>header>span{background:#fff1d6;color:#916000}
.geo-recommendation-grid article.low>header>span{background:#e8f6ec;color:#2d7c45}
.geo-recommendation-grid article>header>strong{color:#26435f;font-size:12px!important}
.geo-recommendation-metrics{
 padding:10px 12px;
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:6px;
}
.geo-recommendation-metrics span{
 color:#718397;
 font-size:8.8px!important;
}
.geo-recommendation-metrics b{color:#35536f}
.geo-recommendation-grid article>p{
 margin:0!important;
 padding:2px 12px 12px;
 min-height:52px;
 color:#62768b!important;
 font-size:9.8px!important;
 line-height:1.48!important;
}
.geo-recommendation-grid article>footer{
 padding:10px 12px;
 border-top:1px solid #edf1f5;
 background:#fbfcfe;
}
.geo-recommendation-grid article>footer strong{display:block;color:#425e78;font-size:9px!important}
.geo-recommendation-grid article>footer span{display:block;margin-top:3px;color:#758698;font-size:9px!important;line-height:1.4!important}

.geo-pi-methodology{
 margin-top:18px;
}
.geo-pi-methodology>div{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
}
.geo-pi-methodology p{
 margin:0!important;
 padding:12px;
 border:1px solid #e5ebf2;
 border-radius:9px;
 background:#fafbfd;
 color:#6b7d90!important;
 font-size:9.8px!important;
 line-height:1.5!important;
}
.geo-pi-methodology strong{color:#405b75}

/* Responsive */
@media(max-width:1250px){
 .geo-pi-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .geo-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .geo-pi-grid-main{grid-template-columns:1fr}
 .geo-pi-report-card{position:static}
 .geo-pi-filter{align-items:stretch;flex-direction:column}
 .geo-pi-filter>div{grid-template-columns:1fr 1fr}
 .geo-pi-filter>div label:last-child{grid-column:1/-1}
 .geo-pi-filter>button{width:100%}
}
@media(max-width:700px){
 .geo-pi-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .geo-pi-filter>div{grid-template-columns:1fr}
 .geo-pi-filter>div label:last-child{grid-column:auto}
 .geo-trend-chart{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .geo-trend-bars{height:145px}
 .geo-demand-list article{grid-template-columns:minmax(120px,1fr) 55px}
 .geo-demand-bar{grid-column:1/-1;grid-row:2}
 .geo-recommendation-grid{grid-template-columns:1fr}
 .geo-pi-methodology>div{grid-template-columns:1fr}
}
@media(max-width:430px){
 .geo-pi-kpis{grid-template-columns:1fr 1fr!important}
 .geo-pi-kpis article{min-height:108px!important}
 .geo-trend-chart{grid-template-columns:repeat(3,minmax(0,1fr))}
 .geo-trend-month>small{display:none}
}
@media(prefers-reduced-motion:reduce){
 .geo-trend-bars>span{transition:none}
}


/* ========================================================================
   V15.3 — Programme Performance Intelligence & Donor/M&E Dashboard
   ======================================================================== */
.performance-target-layout{
 grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;
 gap:18px!important;
}
.performance-target-form{
 position:sticky;
 top:98px;
}
.performance-target-form label{
 display:grid;
 gap:5px;
 margin-bottom:10px;
 color:#4f6880;
 font-size:10.5px!important;
 font-weight:750;
}
.performance-target-form textarea.input{resize:vertical}
.performance-target-layout td:first-child strong{display:block}
.performance-target-layout td:first-child small,
.performance-target-layout td:nth-child(3) small{display:block;margin-top:2px;color:#8291a0;font-size:9px!important}

.performance-filter{
 margin-bottom:12px;
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:14px;
}
.performance-filter-grid{
 flex:1;
 display:grid;
 grid-template-columns:160px 160px 180px 180px minmax(150px,1fr) minmax(170px,1fr) minmax(160px,1fr);
 gap:10px;
}
.performance-filter label{
 display:grid;
 gap:5px;
 color:#4f6880;
 font-size:10px!important;
 font-weight:750;
}
.performance-context{
 margin:0 0 16px;
 display:flex;
 gap:7px;
 flex-wrap:wrap;
}
.performance-context>span{
 padding:6px 9px;
 border:1px solid #dce5ee;
 border-radius:999px;
 background:#fff;
 color:#6d8093;
 font-size:9.5px!important;
}
.performance-context strong{color:#35516e}
.performance-summary-kpis{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.performance-summary-kpis article.positive{border-color:#cfe8d7!important;background:#f7fcf8!important}
.performance-summary-kpis article.positive>span{color:#2a8245!important}
.performance-summary-kpis article.on-track{border-color:#d5e3f5!important;background:#f8fbff!important}
.performance-summary-kpis article.on-track>span{color:#2e6fab!important}
.performance-summary-kpis article.warning{border-color:#efd69b!important;background:#fffaf1!important}
.performance-summary-kpis article.warning>span{color:#a76c00!important}

.performance-main-grid{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(290px,.62fr);
 gap:18px;
 align-items:start;
}
.performance-score-table td:first-child{min-width:205px}
.performance-score-table td:first-child strong{display:block;color:#29445f}
.performance-score-table td:first-child small{display:block;margin-top:2px;color:#8593a1;font-size:9px!important}
.performance-progress{
 min-width:150px;
 height:26px;
 border-radius:7px;
 background:#eef2f6;
 overflow:hidden;
 position:relative;
}
.performance-progress>i{
 position:absolute;
 inset:0 auto 0 0;
 display:block;
 background:#78a9df;
}
.performance-progress>i.achieved{background:#43ad6a}
.performance-progress>i.on-track{background:#4e91d8}
.performance-progress>i.attention{background:#e6af42}
.performance-progress>i.off-track{background:#d46a60}
.performance-progress>span{
 position:relative;
 z-index:2;
 display:block;
 line-height:26px;
 text-align:right;
 padding-right:6px;
 color:#29455f;
 font-size:9.5px!important;
 font-weight:850;
}
.performance-status{
 display:inline-block;
 padding:5px 8px;
 border-radius:999px;
 font-size:9px!important;
 font-weight:850;
 white-space:nowrap;
}
.performance-status.achieved{background:#e6f6ea;color:#277842}
.performance-status.on-track{background:#e8f1fb;color:#2f6fae}
.performance-status.attention{background:#fff1d7;color:#976500}
.performance-status.off-track{background:#fde7e5;color:#a43a34}
.performance-status.no-target{background:#eef1f4;color:#67798c}

.performance-quarter-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
}
.performance-quarter-grid article{
 min-height:170px;
 padding:13px;
 border:1px solid #e0e7ef;
 border-radius:11px;
 background:#fbfcfe;
}
.performance-quarter-grid article>header{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
 margin-bottom:12px;
}
.performance-quarter-grid article>header strong{font-size:15px!important;color:#193b60}
.performance-quarter-grid article>header small{font-size:9px!important;color:#8392a1}
.performance-quarter-bars>div{
 min-height:39px;
 display:grid;
 grid-template-columns:58px minmax(0,1fr) 34px;
 gap:7px;
 align-items:center;
}
.performance-quarter-bars span{font-size:9px!important;color:#697d91}
.performance-quarter-bars i{
 height:7px;
 border-radius:999px;
 background:#edf1f5;
 overflow:hidden;
}
.performance-quarter-bars i b{display:block;height:100%;border-radius:999px}
.performance-quarter-bars .pub{background:#3c86dc}
.performance-quarter-bars .eng{background:#43ad6a}
.performance-quarter-bars .view{background:#8c72d9}
.performance-quarter-bars strong{text-align:right;font-size:9.5px!important;color:#48627d}

.donor-kpi-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
}
.donor-kpi-grid article{
 min-height:105px;
 padding:13px;
 border:1px solid #e2e8ef;
 border-radius:10px;
 background:#f9fbfd;
}
.donor-kpi-grid span{display:block;color:#0b3269;font-size:22px!important;font-weight:850}
.donor-kpi-grid strong{display:block;margin-top:5px;color:#38536e;font-size:10.5px!important}
.donor-kpi-grid small{display:block;margin-top:4px;color:#7e8e9e;font-size:8.8px!important;line-height:1.35!important}

.executive-report-card{
 position:sticky;
 top:98px;
}
.executive-report-icon{
 width:54px;height:54px;border-radius:14px;background:#eef5ff;color:#075fcf;
 display:grid;place-items:center;margin-bottom:12px;
}
.executive-report-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.executive-report-card>p{color:#6f8193!important;font-size:10.5px!important;line-height:1.5!important}
.executive-report-meta{
 margin:14px 0;
 border:1px solid #e1e8f0;
 border-radius:10px;
 overflow:hidden;
}
.executive-report-meta>div{
 min-height:42px;
 padding:8px 10px;
 border-bottom:1px solid #edf1f5;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.executive-report-meta>div:last-child{border-bottom:0}
.executive-report-meta span{font-size:9.5px!important;color:#768798}
.executive-report-meta strong{text-align:right;font-size:10px!important;color:#35516d}
.executive-report-card>.btn{margin-top:7px}
.executive-report-card>small{display:block;margin-top:9px;text-align:center;color:#8997a5;font-size:8.8px!important}

.performance-narratives article{
 min-height:65px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:12px minmax(0,1fr);
 gap:9px;
}
.performance-narratives article:last-child{border-bottom:0}
.performance-narratives article>span{
 width:9px;height:9px;border-radius:50%;
 margin-top:5px;background:#6f8ba7;
}
.performance-narratives article.positive>span{background:#43ad6a}
.performance-narratives article.attention>span{background:#e0a539}
.performance-narratives article.performance>span{background:#4388d7}
.performance-narratives article.setup>span{background:#8796a5}
.performance-narratives strong{display:block;color:#34516d;font-size:10.5px!important}
.performance-narratives p{margin:3px 0 0!important;color:#718397!important;font-size:9.5px!important;line-height:1.45!important}

.performance-recommendations{margin-top:18px}
.performance-recommendation-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
}
.performance-recommendation-grid article{
 overflow:hidden;
 border:1px solid #e0e7ef;
 border-radius:11px;
 background:#fff;
}
.performance-recommendation-grid article>header{
 min-height:48px;
 padding:10px 12px;
 background:#f8fafc;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.performance-recommendation-grid article>header strong{color:#29445f;font-size:11.5px!important}
.performance-recommendation-grid article>header span{
 padding:4px 7px;
 border-radius:999px;
 font-size:8.5px!important;
 font-weight:850;
}
.performance-recommendation-grid article.high>header span{background:#fde7e5;color:#a43b35}
.performance-recommendation-grid article.medium>header span{background:#fff1d6;color:#926100}
.performance-recommendation-grid article.low>header span{background:#e7f6ec;color:#2a7c44}
.performance-recommendation-grid article>p{
 min-height:66px;
 margin:0!important;
 padding:11px 12px;
 color:#64788d!important;
 font-size:9.6px!important;
 line-height:1.48!important;
}
.performance-recommendation-grid article>footer{
 padding:10px 12px;
 border-top:1px solid #edf1f5;
 background:#fbfcfe;
}
.performance-recommendation-grid article>footer strong{display:block;color:#415d77;font-size:8.8px!important}
.performance-recommendation-grid article>footer span{display:block;margin-top:3px;color:#758798;font-size:9px!important;line-height:1.4!important}

.performance-methodology{margin-top:18px}
.performance-methodology>div{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
}
.performance-methodology p{
 margin:0!important;
 padding:12px;
 border:1px solid #e4eaf1;
 border-radius:9px;
 background:#fafbfd;
 color:#6e8091!important;
 font-size:9.6px!important;
 line-height:1.5!important;
}
.performance-methodology strong{color:#415d76}

/* Responsive */
@media(max-width:1300px){
 .performance-filter-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}
 .performance-summary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1050px){
 .performance-main-grid,.performance-target-layout{grid-template-columns:1fr!important}
 .executive-report-card,.performance-target-form{position:static}
 .performance-filter{align-items:stretch;flex-direction:column}
 .performance-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .performance-filter>button{width:100%}
 .performance-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .performance-filter-grid{grid-template-columns:1fr}
 .performance-summary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .performance-quarter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .donor-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .performance-recommendation-grid{grid-template-columns:1fr}
 .performance-methodology>div{grid-template-columns:1fr}
}
@media(max-width:430px){
 .performance-summary-kpis{grid-template-columns:1fr 1fr!important}
 .performance-quarter-grid{grid-template-columns:1fr}
 .donor-kpi-grid{grid-template-columns:1fr 1fr}
}

.performance-annual-grid{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:10px;
}
.performance-annual-grid article{
 min-height:125px;
 padding:14px;
 border:1px solid #e1e8f0;
 border-radius:10px;
 background:#f9fbfd;
}
.performance-annual-grid article>span{
 display:block;
 color:#697d91;
 font-size:9.5px!important;
 min-height:28px;
}
.performance-annual-grid article>div{
 margin-top:6px;
 display:flex;
 align-items:baseline;
 gap:6px;
}
.performance-annual-grid article>div strong{color:#0b3269;font-size:23px!important}
.performance-annual-grid article>div small{color:#8392a1;font-size:9px!important}
.performance-annual-grid article>p{
 margin:8px 0 0!important;
 font-size:9.5px!important;
 font-weight:800;
}
.performance-annual-grid article>p.up{color:#2d8448!important}
.performance-annual-grid article>p.down{color:#b14a43!important}
.performance-annual-grid article>p em{font-style:normal;color:#8292a2;font-weight:500}
@media(max-width:1050px){.performance-annual-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.performance-annual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ========================================================================
   V15.4 — Executive Results Framework & Donor Reporting Automation
   ======================================================================== */
.rf-framework-layout,
.rf-template-layout{
 grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;
 gap:18px!important;
}
.rf-create-form,
.rf-template-form{
 position:sticky;
 top:98px;
}
.rf-create-form label,
.rf-template-form label,
.rf-form-card label{
 display:grid;
 gap:5px;
 margin-bottom:10px;
 color:#4f6880;
 font-size:10.5px!important;
 font-weight:750;
}
.rf-framework-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:13px;
}
.rf-framework-grid article{
 padding:16px;
 border:1px solid #dfe7f0;
 border-radius:12px;
 background:#fff;
 box-shadow:0 6px 18px rgba(18,57,104,.04);
}
.rf-framework-grid article>header{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:10px;
}
.rf-status{
 padding:5px 8px;
 border-radius:999px;
 font-size:8.5px!important;
 font-weight:850;
}
.rf-status.draft{background:#eef1f4;color:#66798b}
.rf-status.active{background:#e5f6ea;color:#2c7f45}
.rf-status.closed{background:#e9eef5;color:#48627c}
.rf-framework-grid article>header small{color:#7e8e9e;font-size:9px!important}
.rf-framework-grid h3{margin:12px 0 4px;color:#203e5f;font-size:15px!important}
.rf-framework-grid p{margin:0!important;color:#728497!important;font-size:10px!important}
.rf-framework-period{
 margin-top:12px;
 padding:8px 9px;
 border-radius:8px;
 background:#f7f9fc;
 color:#5b7289;
 font-size:9.5px!important;
}
.rf-framework-metrics{
 margin-top:12px;
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:6px;
}
.rf-framework-metrics span{
 padding:8px 5px;
 border:1px solid #e6ebf1;
 border-radius:8px;
 text-align:center;
 color:#708296;
 font-size:8.8px!important;
}
.rf-framework-metrics b{display:block;color:#1f456d;font-size:14px!important}
.rf-framework-grid footer{
 margin-top:13px;
 display:flex;
 gap:7px;
 flex-wrap:wrap;
}

.rf-summary-strip{
 margin:0 0 16px;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px;
}
.rf-summary-strip span{
 min-height:62px;
 padding:10px 13px;
 border:1px solid #dfe7f0;
 border-radius:10px;
 background:#fff;
 display:flex;
 flex-direction:column;
 justify-content:center;
 color:#748699;
 font-size:9px!important;
}
.rf-summary-strip strong{color:#0b3269;font-size:17px!important}
.rf-manager-grid{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(310px,.58fr);
 gap:18px;
 align-items:start;
}
.rf-result-tree article{
 min-height:67px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:78px minmax(0,1fr);
 gap:10px;
 align-items:start;
}
.rf-result-tree article:last-child{border-bottom:0}
.rf-result-tree article>span{
 width:max-content;
 max-width:74px;
 padding:5px 7px;
 border-radius:999px;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.04em;
}
.rf-result-tree article.impact>span{background:#efe9ff;color:#6850a5}
.rf-result-tree article.outcome>span{background:#e5f1ff;color:#356fae}
.rf-result-tree article.output>span{background:#e7f6ec;color:#347e4c}
.rf-result-tree strong{display:block;color:#284762;font-size:11.5px!important}
.rf-result-tree small{display:block;margin-top:3px;color:#7e8f9f;font-size:9px!important}
.rf-result-tree p{margin:5px 0 0!important;color:#718397!important;font-size:9.5px!important;line-height:1.45!important}

.rf-indicator-table td:first-child{min-width:220px}
.rf-indicator-table td:first-child strong{display:block;color:#29445f}
.rf-indicator-table td:first-child small{display:block;margin-top:2px;color:#8392a0;font-size:8.8px!important}
.rf-source{
 display:inline-block;
 padding:5px 7px;
 border-radius:999px;
 font-size:8.5px!important;
 font-weight:850;
}
.rf-source.system{background:#e8f2ff;color:#2c6fae}
.rf-source.manual{background:#fff1d7;color:#926100}

.rf-milestone-list article{
 min-height:70px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:65px minmax(0,1fr) 120px;
 gap:11px;
 align-items:center;
}
.rf-milestone-list article:last-child{border-bottom:0}
.rf-milestone-date{
 width:60px;height:54px;
 border-radius:9px;
 background:#f1f5f9;
 display:grid;
 place-items:center;
 align-content:center;
}
.rf-milestone-date strong{font-size:17px!important;color:#173d65}
.rf-milestone-date span{font-size:8.5px!important;color:#718397}
.rf-milestone-list article>div:nth-child(2)>span{
 display:block;
 color:#075fcf;
 font-size:8px!important;
 font-weight:850;
 text-transform:uppercase;
}
.rf-milestone-list article>div:nth-child(2)>strong{display:block;margin-top:2px;color:#36516c;font-size:11px!important}
.rf-milestone-list article>div:nth-child(2)>p{margin:3px 0 0!important;color:#748698!important;font-size:9px!important}
.rf-milestone-list article.completed .rf-milestone-date{background:#e8f6ec}
.rf-milestone-list article.overdue .rf-milestone-date{background:#fde9e6}
.rf-milestone-list article.cancelled{opacity:.55}
.rf-form-card{padding:0!important;overflow:hidden}
.rf-form-card summary{
 padding:13px 15px;
 cursor:pointer;
 color:#274761;
 font-size:11.5px!important;
 font-weight:850;
 background:#fafbfd;
 border-bottom:1px solid transparent;
}
.rf-form-card[open] summary{border-bottom-color:#e8edf2}
.rf-form-card>form{padding:14px 15px}
.rf-form-card textarea.input{resize:vertical}

.rf-template-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
}
.rf-template-grid article{
 min-height:175px;
 padding:15px;
 border:1px solid #dfe7f0;
 border-radius:11px;
 background:#fff;
}
.rf-template-grid article>header{display:flex;justify-content:space-between;gap:8px}
.rf-template-grid article>header span{
 padding:4px 7px;border-radius:999px;background:#eaf3ff;color:#075fcf;font-size:8px!important;font-weight:850
}
.rf-template-grid article>header small{color:#7f8e9e;font-size:8.8px!important}
.rf-template-grid h3{margin:13px 0 4px;color:#29445f;font-size:13px!important}
.rf-template-grid p{margin:0!important;color:#728397!important;font-size:9.5px!important}
.rf-template-grid article>div{margin-top:14px;display:flex;align-items:baseline;gap:5px}
.rf-template-grid article>div strong{color:#0b3269;font-size:18px!important}
.rf-template-grid article>div span{color:#76889a;font-size:9px!important}
.rf-template-grid footer{margin-top:12px}
.rf-section-picker{
 margin:12px 0;
 padding:11px;
 border:1px solid #e0e7ef;
 border-radius:9px;
}
.rf-section-picker legend{padding:0 5px;color:#4b6680;font-size:9.5px!important;font-weight:850}
.rf-section-picker label{
 display:flex!important;
 flex-direction:row!important;
 align-items:center!important;
 gap:7px!important;
 margin-bottom:7px!important;
 font-size:9.5px!important;
 font-weight:600!important;
}

/* Donor Report Builder */
.rf-preset-bar{
 margin-bottom:10px;
 display:flex;
 gap:7px;
 flex-wrap:wrap;
}
.rf-preset-bar a{
 padding:7px 10px;
 border:1px solid #d7e2ed;
 border-radius:999px;
 background:#fff;
 color:#43637f;
 font-size:9.5px!important;
 font-weight:750;
}
.rf-preset-bar a:hover{border-color:#9fbfe4;color:#075fcf}
.donor-builder-filter{
 margin-bottom:12px;
 display:flex;
 align-items:flex-end;
 gap:12px;
}
.donor-builder-grid{
 flex:1;
 display:grid;
 grid-template-columns:repeat(7,minmax(130px,1fr));
 gap:9px;
}
.donor-builder-filter label{
 display:grid;
 gap:5px;
 color:#4f6880;
 font-size:9.5px!important;
 font-weight:750;
}
.donor-report-actions{
 margin:0 0 12px;
 padding:11px 13px;
 border:1px solid #dce5ee;
 border-radius:10px;
 background:#fff;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}
.donor-report-actions>div:first-child{display:grid}
.donor-report-actions>div:first-child span{color:#8090a0;font-size:8.5px!important}
.donor-report-actions>div:first-child strong{margin-top:2px;color:#35516d;font-size:10.5px!important}
.donor-report-actions>div:last-child{display:flex;gap:7px;flex-wrap:wrap}

.donor-report-preview{
 overflow:hidden;
 border:1px solid #dce4ed;
 border-radius:14px;
 background:#fff;
 box-shadow:0 10px 28px rgba(18,57,104,.06);
}
.donor-report-cover{
 min-height:240px;
 padding:36px clamp(26px,4vw,56px);
 background:
   radial-gradient(circle at 85% 20%,rgba(79,153,229,.20),transparent 30%),
   linear-gradient(135deg,#083c80,#075fcf);
 color:#fff;
 display:grid;
 grid-template-columns:minmax(0,1.2fr) minmax(250px,.7fr);
 gap:30px;
 align-items:end;
}
.donor-report-cover>div>span{font-size:10px!important;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#cfe3fb}
.donor-report-cover h1{margin:9px 0 6px;color:#fff;font-size:30px!important;line-height:1.12!important}
.donor-report-cover p{margin:0!important;color:#e3edf9!important;font-size:12px!important}
.donor-report-cover dl{margin:0;border:1px solid rgba(255,255,255,.20);border-radius:11px;overflow:hidden;background:rgba(255,255,255,.08)}
.donor-report-cover dl>div{padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.16)}
.donor-report-cover dl>div:last-child{border-bottom:0}
.donor-report-cover dt{font-size:8px!important;color:#c8dbef;text-transform:uppercase;letter-spacing:.05em}
.donor-report-cover dd{margin:3px 0 0;font-size:10px!important;color:#fff;font-weight:700}

.donor-report-section{
 padding:34px clamp(24px,4vw,52px);
 border-bottom:1px solid #e8edf2;
 display:grid;
 grid-template-columns:42px minmax(0,1fr);
 gap:16px;
}
.donor-section-number{
 width:38px;height:38px;
 border-radius:10px;
 background:#eef5ff;
 color:#075fcf;
 display:grid;
 place-items:center;
 font-size:10px!important;
 font-weight:900;
}
.donor-report-section h2{margin:0;color:#173d65;font-size:19px!important}
.donor-report-section>div>p{margin:6px 0 16px!important;color:#6f8193!important;font-size:10.5px!important;line-height:1.55!important}
.donor-executive-callout{
 padding:16px 18px;
 border-left:4px solid #075fcf;
 border-radius:0 10px 10px 0;
 background:#f3f7fc;
 color:#3e5873;
 font-size:11px!important;
 line-height:1.65!important;
}
.donor-scorecard td:first-child{min-width:220px}
.donor-scorecard td:first-child strong{display:block}
.donor-scorecard td:first-child small{display:block;margin-top:2px;color:#8392a1;font-size:8.8px!important}

.donor-reach-grid{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:9px;
}
.donor-reach-grid article{
 min-height:93px;
 padding:13px;
 border:1px solid #e1e8f0;
 border-radius:10px;
 background:#f9fbfd;
}
.donor-reach-grid strong{display:block;color:#0b3269;font-size:21px!important}
.donor-reach-grid span{display:block;margin-top:6px;color:#657a8e;font-size:9px!important}

.donor-quarter-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px;
}
.donor-quarter-grid article{
 padding:12px;
 border:1px solid #e1e8f0;
 border-radius:10px;
 background:#fafbfd;
}
.donor-quarter-grid article>strong{display:block;color:#173d65;font-size:14px!important}
.donor-quarter-grid article>div{margin-top:9px;display:grid;gap:6px}
.donor-quarter-grid article>div span{display:flex;justify-content:space-between;color:#6e8092;font-size:9px!important}
.donor-quarter-grid article>div b{color:#385671}

.donor-skill-list article{
 min-height:52px;
 padding:8px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:28px minmax(0,1fr) 45px;
 gap:8px;
 align-items:center;
}
.donor-skill-list article:last-child{border-bottom:0}
.donor-skill-list article>span{
 width:25px;height:25px;border-radius:7px;background:#eef5ff;color:#075fcf;display:grid;place-items:center;font-size:8.5px!important;font-weight:850
}
.donor-skill-list strong{display:block;color:#38536d;font-size:10.5px!important}
.donor-skill-list small{display:block;margin-top:2px;color:#8190a0;font-size:8.6px!important}
.donor-skill-list article>b{text-align:right;color:#375979;font-size:10px!important}

.donor-recommendation-list{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
}
.donor-recommendation-list article{
 overflow:hidden;
 border:1px solid #e1e8f0;
 border-radius:10px;
}
.donor-recommendation-list header{
 padding:10px 11px;
 background:#f9fbfd;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
}
.donor-recommendation-list header strong{color:#29445f;font-size:10.5px!important}
.donor-recommendation-list header span{padding:4px 7px;border-radius:999px;font-size:8px!important;font-weight:850}
.donor-recommendation-list header span.high{background:#fde7e5;color:#a43b35}
.donor-recommendation-list header span.medium{background:#fff1d6;color:#936100}
.donor-recommendation-list header span.low{background:#e7f6ec;color:#2d7d45}
.donor-recommendation-list p{margin:0!important;padding:10px 11px;color:#6e8092!important;font-size:9.4px!important;line-height:1.45!important}
.donor-recommendation-list footer{padding:9px 11px;border-top:1px solid #edf1f5;background:#fbfcfe;color:#45617b;font-size:9px!important}
.donor-methodology{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
}
.donor-methodology p{
 margin:0!important;
 padding:12px;
 border:1px solid #e3e9f0;
 border-radius:9px;
 background:#fafbfd;
 color:#718397!important;
 font-size:9.5px!important;
 line-height:1.5!important;
}
.donor-methodology strong{color:#415d77}
.donor-report-footer-note{
 padding:14px clamp(24px,4vw,52px);
 background:#f4f7fa;
 color:#6f8193;
 font-size:8.8px!important;
 text-align:center;
}

/* Responsive */
@media(max-width:1200px){
 .donor-builder-grid{grid-template-columns:repeat(4,minmax(140px,1fr))}
 .donor-reach-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .rf-framework-layout,.rf-template-layout,.rf-manager-grid{grid-template-columns:1fr!important}
 .rf-create-form,.rf-template-form{position:static}
 .donor-report-cover{grid-template-columns:1fr}
 .donor-builder-filter{flex-direction:column;align-items:stretch}
 .donor-builder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .donor-builder-filter>button{width:100%}
 .donor-recommendation-list{grid-template-columns:1fr}
}
@media(max-width:700px){
 .rf-framework-grid,.rf-template-grid{grid-template-columns:1fr}
 .rf-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rf-milestone-list article{grid-template-columns:60px minmax(0,1fr)}
 .rf-milestone-list article>form{grid-column:1/-1}
 .donor-builder-grid{grid-template-columns:1fr}
 .donor-report-actions{align-items:stretch;flex-direction:column}
 .donor-report-actions>div:last-child{width:100%}
 .donor-report-actions .btn{flex:1;justify-content:center}
 .donor-report-cover{padding:28px 18px}
 .donor-report-cover h1{font-size:25px!important}
 .donor-report-section{padding:26px 16px;grid-template-columns:34px minmax(0,1fr);gap:10px}
 .donor-section-number{width:32px;height:32px}
 .donor-reach-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .donor-quarter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .donor-methodology{grid-template-columns:1fr}
}

.rf-schedule-layout{
 grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;
 gap:18px!important;
}
.rf-schedule-layout td:first-child strong{display:block}
.rf-schedule-layout td:first-child small{display:block;margin-top:2px;color:#8493a1;font-size:8.8px!important}
.generated-report-snapshot>.donor-executive-callout{margin-bottom:14px}
.generated-report-meta{
 margin:0 0 15px;
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;
}
.generated-report-meta span{
 padding:9px;
 border:1px solid #e2e8ef;
 border-radius:9px;
 background:#f9fbfd;
 color:#77899b;
 font-size:8.8px!important;
}
.generated-report-meta strong{display:block;margin-bottom:3px;color:#36516c;font-size:10px!important}
@media(max-width:980px){.rf-schedule-layout{grid-template-columns:1fr!important}}
@media(max-width:700px){.generated-report-meta{grid-template-columns:1fr}}


/* ========================================================================
   V15.5 — Programme Portfolio & Multi-Project Consolidation
   ======================================================================== */
.portfolio-list-layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;gap:18px!important}
.portfolio-create-form{position:sticky;top:98px}
.portfolio-create-form label{display:grid;gap:5px;margin-bottom:10px;color:#4f6880;font-size:10.5px!important;font-weight:750}
.portfolio-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.portfolio-card-grid article{padding:16px;border:1px solid #dfe7f0;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(18,57,104,.04)}
.portfolio-card-grid article>header{display:flex;justify-content:space-between;align-items:center}
.portfolio-card-grid h3{margin:12px 0 5px;color:#24435f;font-size:15px!important}
.portfolio-card-grid p{margin:0!important;color:#76889a!important;font-size:9.8px!important;line-height:1.45!important;min-height:28px}
.portfolio-card-metrics{margin-top:13px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.portfolio-card-metrics span{padding:8px;border:1px solid #e6ebf1;border-radius:8px;text-align:center;color:#748698;font-size:8.7px!important}
.portfolio-card-metrics b{display:block;color:#173d65;font-size:14px!important}
.portfolio-card-grid footer{margin-top:13px}

.portfolio-period-filter{margin-bottom:14px;display:flex;gap:10px;align-items:flex-end;width:max-content;max-width:100%}
.portfolio-period-filter label{display:grid;gap:5px;color:#536b83;font-size:9.5px!important;font-weight:750}
.portfolio-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.portfolio-kpis article>span{font-size:20px!important}
.portfolio-main-grid,.project-manager-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.58fr);gap:18px;align-items:start}
.portfolio-comparison td:first-child{min-width:180px}
.portfolio-comparison td:first-child strong{display:block;color:#2f4e6b}
.portfolio-comparison td:first-child small{display:block;margin-top:2px;color:#8392a1;font-size:8.5px!important}
.portfolio-risk{display:inline-block;padding:4px 7px;border-radius:999px;font-size:8.4px!important;font-weight:850}
.portfolio-risk.low{background:#e7f6ec;color:#2b7d44}
.portfolio-risk.medium{background:#fff1d6;color:#956200}
.portfolio-risk.high{background:#fde9df;color:#aa5722}
.portfolio-risk.critical{background:#fde5e4;color:#a33832}

.portfolio-results-grid article{min-height:62px;padding:9px 0;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px}
.portfolio-results-grid article:last-child{border-bottom:0}
.portfolio-results-grid article>span{width:max-content;padding:5px 7px;border-radius:999px;font-size:8px!important;font-weight:900}
.portfolio-results-grid article.impact>span{background:#efe9ff;color:#6951a5}
.portfolio-results-grid article.outcome>span{background:#e5f1ff;color:#356fae}
.portfolio-results-grid article.output>span{background:#e7f6ec;color:#347e4c}
.portfolio-results-grid strong{display:block;color:#36516d;font-size:10.8px!important}
.portfolio-results-grid small{display:block;margin-top:2px;color:#7f8f9f;font-size:8.5px!important}
.portfolio-results-grid p{margin:4px 0 0!important;color:#77899b!important;font-size:8.8px!important}

.portfolio-calendar-list article{min-height:55px;padding:8px 0;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:90px minmax(0,1fr) 70px;gap:10px;align-items:center}
.portfolio-calendar-list article:last-child{border-bottom:0}
.portfolio-calendar-list time{color:#47647f;font-size:9px!important;font-weight:800}
.portfolio-calendar-list strong{display:block;color:#34516d;font-size:10.5px!important}
.portfolio-calendar-list small{display:block;margin-top:2px;color:#8291a0;font-size:8.5px!important}
.portfolio-calendar-list article>span{text-align:right;font-size:8.5px!important;font-weight:850;color:#6d8092}
.portfolio-calendar-list article.overdue>span{color:#ae433c}
.portfolio-calendar-list article.completed>span{color:#2b7d44}

.portfolio-risk-summary>div{min-height:42px;border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;align-items:center}
.portfolio-risk-summary>div:last-child{border-bottom:0}
.portfolio-risk-summary strong{font-size:16px!important;color:#29445f}

.project-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.project-framework-list>a{min-height:52px;padding:8px 0;border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#34516d}
.project-framework-list>a:last-child{border-bottom:0}
.project-framework-list strong{font-size:10.5px!important}
.project-framework-list span{font-size:8.8px!important;color:#8291a0;text-align:right}
.project-geo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.project-geo-grid>div{padding:12px;border:1px solid #e3e9f0;border-radius:10px;background:#fafbfd}
.project-geo-grid h3{margin:0 0 9px;color:#36516d;font-size:11px!important}
.project-geo-grid span{display:inline-block;margin:3px;padding:5px 7px;border-radius:999px;background:#eef5ff;color:#426484;font-size:8.7px!important}

@media(max-width:1250px){
 .portfolio-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .project-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
 .portfolio-list-layout,.portfolio-main-grid,.project-manager-grid{grid-template-columns:1fr!important}
 .portfolio-create-form{position:static}
 .portfolio-card-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .portfolio-period-filter{width:100%;flex-wrap:wrap}
 .portfolio-period-filter label{flex:1;min-width:140px}
 .portfolio-period-filter button{width:100%}
 .portfolio-kpis,.project-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .project-geo-grid{grid-template-columns:1fr}
 .portfolio-calendar-list article{grid-template-columns:75px minmax(0,1fr)}
 .portfolio-calendar-list article>span{grid-column:1/-1;text-align:left}
}


/* ========================================================================
   V15.6 — Portfolio Risk, Financial Forecasting & Executive Decision Support
   ======================================================================== */
.executive-filter{
 margin-bottom:14px;
 display:flex;
 align-items:flex-end;
 gap:10px;
 flex-wrap:wrap;
}
.executive-filter label{
 min-width:170px;
 display:grid;
 gap:5px;
 color:#4f6880;
 font-size:10px!important;
 font-weight:750;
}
.executive-filter button{min-width:120px}
.decision-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.decision-kpis article.traffic-green{border-color:#cfe8d7!important;background:#f7fcf8!important}
.decision-kpis article.traffic-green>span{color:#2d8248!important}
.decision-kpis article.traffic-amber{border-color:#efdaa7!important;background:#fffaf1!important}
.decision-kpis article.traffic-amber>span{color:#a16b00!important}
.decision-kpis article.traffic-red{border-color:#efcbc8!important;background:#fff8f7!important}
.decision-kpis article.traffic-red>span{color:#af443d!important}

.decision-layout{
 display:grid;
 grid-template-columns:minmax(0,1.58fr) minmax(300px,.58fr);
 gap:18px;
 align-items:start;
}
.project-health-table td:first-child{min-width:190px}
.project-health-table td:first-child strong{display:block;color:#2d4a67}
.project-health-table td:first-child small,
.project-health-table td:nth-child(4) small,
.project-health-table td:nth-child(5) small,
.project-health-table td:nth-child(7) small{
 display:block;
 margin-top:3px;
 color:#8493a2;
 font-size:8.6px!important;
 line-height:1.35!important;
}
.health-score{
 display:inline-flex;
 align-items:center;
 gap:5px;
 min-width:77px;
 padding:5px 7px;
 border-radius:999px;
 font-size:9px!important;
 color:#4a6178;
 background:#f1f4f7;
}
.health-score i{width:8px;height:8px;border-radius:50%}
.health-score.green i{background:#38a65c}.health-score.amber i{background:#e0a333}.health-score.red i{background:#cf5149}
.health-score b{color:#2d4b68;font-size:10px!important}
.alert-text{color:#b0433c!important;font-weight:850}

.forecast-currency-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:11px;
}
.forecast-currency-grid article{
 min-height:190px;
 padding:14px;
 border:1px solid #e0e7ef;
 border-radius:11px;
 background:#fbfcfe;
}
.forecast-currency-grid article>header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
}
.forecast-currency-grid article>header strong{color:#1f4165;font-size:12px!important}
.forecast-currency-grid article>header span{
 padding:4px 7px;
 border-radius:999px;
 background:#eef2f6;
 color:#61768b;
 font-size:8px!important;
 font-weight:800;
}
.forecast-currency-grid article>header span.negative{background:#fde7e5;color:#a33d36}
.forecast-currency-grid article>header span.positive{background:#e6f6ea;color:#297b44}
.forecast-number{margin-top:18px;color:#0b3269;font-size:23px!important;font-weight:850}
.forecast-currency-grid article>p{margin:3px 0 12px!important;color:#7b8b9b!important;font-size:8.8px!important}
.forecast-currency-grid dl{margin:0}
.forecast-currency-grid dl>div{min-height:31px;border-top:1px solid #edf1f5;display:flex;justify-content:space-between;align-items:center;gap:10px}
.forecast-currency-grid dt{color:#78899a;font-size:8.8px!important}
.forecast-currency-grid dd{margin:0;color:#395570;font-size:9px!important;font-weight:800}

.decision-recommendations article{
 min-height:64px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:60px minmax(0,1fr);
 gap:10px;
 align-items:start;
}
.decision-recommendations article:last-child{border-bottom:0}
.decision-recommendations>article>span{
 width:max-content;
 min-width:48px;
 padding:5px 7px;
 border-radius:999px;
 text-align:center;
 font-size:8px!important;
 font-weight:900;
}
.decision-recommendations article.high>span{background:#fde6e4;color:#a53d36}
.decision-recommendations article.medium>span{background:#fff0d3;color:#916000}
.decision-recommendations article.low>span{background:#e7f6ec;color:#2e7d46}
.decision-recommendations strong{display:block;color:#36516c;font-size:10.5px!important}
.decision-recommendations p{margin:3px 0 0!important;color:#718397!important;font-size:9.4px!important;line-height:1.45!important}

.risk-exposure-grid>div{
 min-height:42px;
 border-bottom:1px solid #edf1f5;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.risk-exposure-grid>div:last-child{border-bottom:0}
.risk-exposure-grid strong{font-size:16px!important;color:#29455f}

.executive-alert-list article{
 min-height:55px;
 padding:8px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:34px minmax(0,1fr);
 gap:9px;
 align-items:center;
}
.executive-alert-list article:last-child{border-bottom:0}
.executive-alert-list article>span{
 width:31px;height:31px;border-radius:9px;
 display:grid;place-items:center;
 background:#eef2f6;color:#577089;
 font-size:8.5px!important;font-weight:900;
}
.executive-alert-list article>span.red{background:#fde7e5;color:#a33e37}
.executive-alert-list article>span.amber{background:#fff0d5;color:#916100}
.executive-alert-list strong{display:block;color:#34516d;font-size:10px!important}
.executive-alert-list small{display:block;margin-top:2px;color:#8291a0;font-size:8.5px!important}

.risk-register-layout{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(310px,.55fr);
 gap:18px;
 align-items:start;
}
.risk-create-form{position:sticky;top:98px}
.risk-create-form label{
 display:grid;gap:5px;margin-bottom:10px;color:#4f6880;font-size:10px!important;font-weight:750
}
.risk-register-table td:first-child{min-width:220px}
.risk-register-table td:first-child strong{display:block;color:#2e4b68}
.risk-register-table td:first-child small{display:block;margin-top:3px;color:#8492a1;font-size:8.6px!important;line-height:1.35!important}

/* Admin dashboard refinement: consistent premium rhythm without changing data logic */
.admin-page-heading{
 border-bottom:1px solid #e6ebf1;
 padding-bottom:16px;
 margin-bottom:16px;
}
.admin-page-heading h1{letter-spacing:-.02em}
.admin-kpi-grid{gap:12px!important}
.admin-kpi-grid>article{
 border-radius:12px!important;
 box-shadow:0 6px 16px rgba(18,57,104,.035);
}
.card{
 border-radius:12px!important;
 box-shadow:0 6px 18px rgba(18,57,104,.035);
}
.table th{
 white-space:nowrap;
 color:#526a81!important;
 font-weight:800!important;
}
.table td{vertical-align:middle}
.table tbody tr:hover{background:#f8fbfe}
.admin-page-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}

/* Map interaction refinement */
.kenya-real-map,.admin-real-kenya-map,.admin-analytics-kenya-map{
 overflow:hidden;
 border-radius:12px;
}
.geo-analytics-map-shell{isolation:isolate}

/* Responsive */
@media(max-width:1250px){
 .decision-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .forecast-currency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .decision-layout,.risk-register-layout{grid-template-columns:1fr}
 .risk-create-form{position:static}
}
@media(max-width:700px){
 .executive-filter{align-items:stretch}
 .executive-filter label{flex:1;min-width:140px}
 .executive-filter button{width:100%}
 .decision-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .forecast-currency-grid{grid-template-columns:1fr}
}


/* ========================================================================
   V15.7 — Executive Command Centre & Strategic Alerts
   ======================================================================== */
.command-filter,
.strategic-alert-filter{
 margin-bottom:14px;
 display:flex;
 align-items:flex-end;
 gap:10px;
 flex-wrap:wrap;
}
.command-filter label,
.strategic-alert-filter label{
 display:grid;
 gap:5px;
 min-width:170px;
 color:#506981;
 font-size:10px!important;
 font-weight:750;
}
.command-health-banner{
 margin-bottom:14px;
 min-height:145px;
 padding:20px 22px;
 border:1px solid #dce5ee;
 border-radius:14px;
 display:grid;
 grid-template-columns:190px minmax(0,1fr) auto;
 gap:20px;
 align-items:center;
 background:#fff;
 box-shadow:0 8px 22px rgba(18,57,104,.05);
}
.command-health-banner.green{border-color:#cbe5d3;background:linear-gradient(135deg,#f7fcf8,#fff)}
.command-health-banner.amber{border-color:#eed8a5;background:linear-gradient(135deg,#fffaf1,#fff)}
.command-health-banner.red{border-color:#edc9c5;background:linear-gradient(135deg,#fff7f6,#fff)}
.command-health-banner.neutral{background:linear-gradient(135deg,#f7f9fc,#fff)}
.command-health-score{
 padding-right:18px;
 border-right:1px solid #e3e9ef;
}
.command-health-score>span{display:block;color:#728397;font-size:9px!important;text-transform:uppercase;letter-spacing:.06em;font-weight:850}
.command-health-score>strong{display:block;margin-top:4px;color:#173d65;font-size:38px!important;line-height:1!important}
.command-health-score>small{display:block;margin-top:5px;color:#8594a3;font-size:8.7px!important}
.command-health-message h2{margin:0;color:#29455f;font-size:17px!important}
.command-health-message p{margin:6px 0 0!important;color:#6f8193!important;font-size:10px!important}
.command-health-alerts{display:flex;gap:8px}
.command-health-alerts a{
 min-width:105px;
 padding:11px;
 border:1px solid #e1e7ee;
 border-radius:10px;
 background:#fff;
 text-align:center;
 color:#667a8f;
}
.command-health-alerts strong{display:block;color:#183d63;font-size:20px!important}
.command-health-alerts span{display:block;margin-top:3px;font-size:8.5px!important}
.command-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.command-centre-grid{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(295px,.58fr);
 gap:18px;
 align-items:start;
}
.command-alert-list article{
 min-height:68px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:34px minmax(0,1fr) 55px;
 gap:10px;
 align-items:center;
}
.command-alert-list article:last-child{border-bottom:0}
.command-alert-icon{
 width:31px;height:31px;border-radius:9px;
 display:grid;place-items:center;
 background:#eef2f6;color:#59718a;
 font-size:12px!important;font-weight:900;
}
.command-alert-list article.critical .command-alert-icon{background:#fde6e4;color:#a33d36}
.command-alert-list article.warning .command-alert-icon{background:#fff0d5;color:#916100}
.command-alert-list strong{display:block;color:#344f6a;font-size:10.5px!important}
.command-alert-list p{margin:3px 0 0!important;color:#718397!important;font-size:9.3px!important;line-height:1.4!important}
.command-alert-list small{display:block;margin-top:3px;color:#8897a5;font-size:8.3px!important}
.command-alert-list article>a{text-align:right;color:#075fcf;font-size:9px!important;font-weight:800}

.command-project-health>a{
 min-height:61px;
 padding:9px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:12px minmax(0,1fr) minmax(130px,.55fr);
 gap:10px;
 align-items:center;
 color:#36516d;
}
.command-project-health>a:last-child{border-bottom:0}
.command-traffic{width:9px;height:9px;border-radius:50%;background:#9eacb9}
.command-traffic.green{background:#38a65c}.command-traffic.amber{background:#dda132}.command-traffic.red{background:#cd5048}
.command-project-health strong{display:block;color:#36516d;font-size:10.5px!important}
.command-project-health small{display:block;margin-top:2px;color:#8493a1;font-size:8.5px!important}
.command-health-meter{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:7px;align-items:center}
.command-health-meter i{height:7px;border-radius:999px;background:#edf1f5;overflow:hidden}
.command-health-meter i b{display:block;height:100%;border-radius:999px;background:#4d91d8}
.command-health-meter span{text-align:right;color:#547089;font-size:8.8px!important}

.command-results-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px;
}
.command-results-grid article{
 min-height:92px;
 padding:12px;
 border:1px solid #e2e8ef;
 border-radius:10px;
 background:#fafbfd;
}
.command-results-grid strong{display:block;color:#173d65;font-size:21px!important}
.command-results-grid span{display:block;margin-top:5px;color:#6f8194;font-size:9px!important}
.command-results-grid article.positive{background:#f7fcf8;border-color:#d6eadc}
.command-results-grid article.warning{background:#fffaf1;border-color:#eedaaa}
.command-geo-comparison{
 display:grid;
 grid-template-columns:1fr 34px 1fr;
 gap:10px;
 align-items:center;
}
.command-geo-comparison article{
 min-height:110px;
 padding:14px;
 border:1px solid #e1e8ef;
 border-radius:11px;
 background:#fafcfe;
}
.command-geo-comparison article>span{display:block;color:#6f8194;font-size:9px!important}
.command-geo-comparison article>strong{display:block;margin-top:5px;color:#0b3269;font-size:25px!important}
.command-geo-comparison article>small{display:block;margin-top:4px;color:#8392a1;font-size:8.8px!important}
.command-geo-arrow{text-align:center;color:#7391ae;font-size:18px!important}

.command-deadlines>div>article{
 min-height:57px;
 padding:8px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:44px minmax(0,1fr);
 gap:9px;
 align-items:center;
}
.command-deadlines>div>article:last-child{border-bottom:0}
.command-deadlines time{
 width:40px;height:42px;border-radius:9px;background:#eef5ff;
 display:grid;place-items:center;align-content:center;
}
.command-deadlines time strong{font-size:14px!important;color:#174b83}
.command-deadlines time span{font-size:7.8px!important;color:#6685a2;text-transform:uppercase}
.command-deadlines article.overdue time{background:#fde7e5}
.command-deadlines article.overdue time strong{color:#a13e37}
.command-deadlines article>div>strong{display:block;color:#36516c;font-size:9.8px!important}
.command-deadlines article>div>small{display:block;margin-top:2px;color:#8392a1;font-size:8.2px!important}
.command-shortcuts>a{
 min-height:53px;
 padding:9px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 color:#36516d;
}
.command-shortcuts>a:last-child{border-bottom:0}
.command-shortcuts>a>span{font-size:10px!important;font-weight:800;color:#35516c}
.command-shortcuts>a>small{margin-top:2px;font-size:8.5px!important;color:#8190a0}

.strategic-alert-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.strategic-alert-kpis article.traffic-red{border-color:#edcbc7!important;background:#fff8f7!important}
.strategic-alert-kpis article.traffic-red>span{color:#ae453d!important}
.strategic-alert-kpis article.traffic-amber{border-color:#edd8a7!important;background:#fffaf1!important}
.strategic-alert-kpis article.traffic-amber>span{color:#9b6800!important}
.strategic-inbox-list article{
 padding:14px 0;
 border-bottom:1px solid #e9eef3;
 display:grid;
 grid-template-columns:120px minmax(0,1fr) minmax(240px,.55fr);
 gap:14px;
 align-items:center;
}
.strategic-inbox-list article:last-child{border-bottom:0}
.strategic-alert-severity{display:grid;gap:4px}
.strategic-alert-severity>span{
 width:max-content;
 padding:5px 8px;
 border-radius:999px;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.04em;
}
.strategic-inbox-list article.critical .strategic-alert-severity>span{background:#fde6e4;color:#a23d36}
.strategic-inbox-list article.warning .strategic-alert-severity>span{background:#fff0d4;color:#916000}
.strategic-alert-severity>small{color:#8493a1;font-size:8px!important}
.strategic-alert-body h3{margin:0;color:#2e4a66;font-size:11.5px!important}
.strategic-alert-body p{margin:4px 0 0!important;color:#708296!important;font-size:9.5px!important;line-height:1.45!important}
.strategic-alert-body>div{margin-top:5px;display:flex;gap:6px;flex-wrap:wrap}
.strategic-alert-body>div span{padding:3px 6px;border-radius:999px;background:#f0f3f7;color:#6f8193;font-size:7.8px!important}
.strategic-alert-actions{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}
.strategic-alert-actions form{margin:0}

.threshold-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:11px;
}
.threshold-grid article{
 min-height:190px;
 padding:14px;
 border:1px solid #e1e7ee;
 border-radius:11px;
 background:#fbfcfe;
}
.threshold-grid article>header{display:flex;justify-content:space-between;gap:10px;align-items:start}
.threshold-grid article>header strong{display:block;color:#34516c;font-size:10.8px!important}
.threshold-grid article>header small{display:block;margin-top:4px;color:#7c8d9d;font-size:8.5px!important;line-height:1.35!important}
.threshold-toggle{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap;color:#65798d;font-size:8.5px!important}
.threshold-value{margin-top:18px;display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:7px;align-items:center}
.threshold-value span{color:#697d91;font-size:9px!important}
.threshold-grid footer{margin-top:13px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.threshold-grid code{color:#8190a0;font-size:7.8px!important}
.threshold-save{margin-top:15px;display:flex;justify-content:flex-end}
.threshold-guidance>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.threshold-guidance p{margin:0!important;padding:12px;border:1px solid #e3e9f0;border-radius:9px;background:#fafbfd;color:#718397!important;font-size:9.4px!important;line-height:1.45!important}
.threshold-guidance strong{color:#3d5973}

@media(max-width:1250px){
 .command-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .threshold-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
 .command-centre-grid{grid-template-columns:1fr}
 .command-health-banner{grid-template-columns:150px minmax(0,1fr)}
 .command-health-alerts{grid-column:1/-1}
 .strategic-inbox-list article{grid-template-columns:100px minmax(0,1fr)}
 .strategic-alert-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:700px){
 .command-filter,.strategic-alert-filter{align-items:stretch}
 .command-filter label,.strategic-alert-filter label{flex:1;min-width:140px}
 .command-filter button,.strategic-alert-filter button{width:100%}
 .command-health-banner{grid-template-columns:1fr;padding:17px}
 .command-health-score{padding:0 0 13px;border-right:0;border-bottom:1px solid #e3e9ef}
 .command-health-alerts{display:grid;grid-template-columns:1fr 1fr}
 .command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .command-project-health>a{grid-template-columns:12px minmax(0,1fr)}
 .command-health-meter{grid-column:2}
 .command-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .command-geo-comparison{grid-template-columns:1fr}
 .command-geo-arrow{transform:rotate(90deg)}
 .strategic-alert-kpis{grid-template-columns:1fr 1fr!important}
 .strategic-inbox-list article{grid-template-columns:1fr}
 .strategic-alert-actions{grid-column:auto}
 .threshold-grid{grid-template-columns:1fr}
 .threshold-guidance>div{grid-template-columns:1fr}
}


/* ========================================================================
   V15.8 — Executive Action Tracker, Management Decisions & Accountability
   ======================================================================== */
.action-kpis,.accountability-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.action-kpis article.traffic-red,.accountability-kpis article.traffic-red{border-color:#efcbc8!important;background:#fff8f7!important}
.action-kpis article.traffic-red>span,.accountability-kpis article.traffic-red>span{color:#ae443d!important}
.action-kpis article.traffic-amber,.accountability-kpis article.traffic-amber{border-color:#efdaa7!important;background:#fffaf1!important}
.action-kpis article.traffic-amber>span,.accountability-kpis article.traffic-amber>span{color:#9f6900!important}

.action-tracker-layout,.action-detail-grid,.accountability-grid,.meeting-detail-grid{
 display:grid;
 grid-template-columns:minmax(0,1.55fr) minmax(310px,.58fr);
 gap:18px;
 align-items:start;
}
.action-filter{
 margin-bottom:14px;
 display:flex;
 align-items:flex-end;
 gap:9px;
 flex-wrap:wrap;
}
.action-filter label{
 display:grid;
 gap:5px;
 min-width:150px;
 color:#506981;
 font-size:9.7px!important;
 font-weight:750;
}
.action-overdue-check{
 min-height:38px!important;
 display:flex!important;
 flex-direction:row!important;
 align-items:center!important;
 gap:6px!important;
}
.action-create-form,.executive-meeting-form{
 position:sticky;
 top:98px;
}
.action-create-form label,.action-workflow-card label,.executive-meeting-form label{
 display:grid;
 gap:5px;
 margin-bottom:10px;
 color:#4f6880;
 font-size:10px!important;
 font-weight:750;
}
.action-create-form .btn,.action-workflow-card .btn,.executive-meeting-form .btn{margin-top:7px}
.action-source-callout{
 margin:0 0 12px;
 padding:10px;
 border:1px solid #d9e5f1;
 border-radius:9px;
 background:#f4f8fd;
}
.action-source-callout strong{display:block;color:#315572;font-size:9.5px!important}
.action-source-callout span{display:block;margin-top:2px;color:#7b8c9d;font-size:8.5px!important;word-break:break-word}

.executive-action-table td:first-child{min-width:230px}
.executive-action-table td:first-child strong{display:block;color:#2e4b68}
.executive-action-table td:first-child small{display:block;margin-top:3px;color:#8493a2;font-size:8.6px!important}
.executive-action-table tr.row-overdue{background:#fffafa}
.action-priority,.action-status,.action-escalation{
 display:inline-block;
 padding:5px 7px;
 border-radius:999px;
 white-space:nowrap;
 font-size:8.4px!important;
 font-weight:850;
}
.action-priority.low{background:#edf2f6;color:#61768b}
.action-priority.medium{background:#eaf2fb;color:#386d9f}
.action-priority.high{background:#fff0d4;color:#936100}
.action-priority.critical{background:#fde6e4;color:#a33d36}
.action-status.draft{background:#eef1f4;color:#66798c}
.action-status.pending-approval{background:#fff0d4;color:#916000}
.action-status.approved{background:#e8f1fb;color:#2f6ea9}
.action-status.in-progress{background:#e9f4ff;color:#2469ae}
.action-status.blocked{background:#fde8df;color:#a45427}
.action-status.completed{background:#e7f6ec;color:#2c7d45}
.action-status.cancelled{background:#eef1f4;color:#7d8996}
.action-escalation.level-1{background:#fff1d7;color:#936100}
.action-escalation.level-2{background:#fde7df;color:#a95525}
.action-escalation.level-3{background:#fde4e2;color:#a13832}

.action-progress{
 min-width:130px;
 display:grid;
 grid-template-columns:minmax(0,1fr) 38px;
 gap:6px;
 align-items:center;
}
.action-progress i{
 height:7px;
 overflow:hidden;
 border-radius:999px;
 background:#edf1f5;
}
.action-progress i b{
 display:block;
 height:100%;
 border-radius:999px;
 background:#4c91d8;
}
.action-progress span{text-align:right;color:#58728b;font-size:8.8px!important;font-weight:800}

.action-overview>header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.action-overview>header>div>h2{margin-top:8px}
.action-detail-progress{
 margin:14px 0;
 padding:12px;
 border:1px solid #e1e8ef;
 border-radius:10px;
 background:#fafcfe;
}
.action-detail-progress>div{display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:8px;align-items:center}
.action-detail-progress i{height:9px;border-radius:999px;background:#e9eef3;overflow:hidden}
.action-detail-progress i b{display:block;height:100%;border-radius:999px;background:#3f89d6}
.action-detail-progress strong{text-align:right;color:#254a70;font-size:12px!important}
.action-detail-progress small{display:block;margin-top:5px;color:#7e8f9f;font-size:8.8px!important}
.action-description{
 padding:13px;
 border-left:4px solid #7aaee1;
 background:#f7fafe;
 border-radius:0 9px 9px 0;
 color:#536b83;
 font-size:10px!important;
 line-height:1.55!important;
}
.action-meta-grid{
 margin:14px 0 0;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
}
.action-meta-grid>div{
 padding:10px;
 border:1px solid #e4e9ef;
 border-radius:9px;
 background:#fafbfd;
}
.action-meta-grid dt{color:#8795a3;font-size:8px!important;text-transform:uppercase;letter-spacing:.04em}
.action-meta-grid dd{margin:3px 0 0;color:#38536d;font-size:9.5px!important;font-weight:750}
.action-blocked-callout,.action-complete-callout{
 margin-top:13px;
 padding:12px;
 border-radius:9px;
}
.action-blocked-callout{background:#fff4ee;border:1px solid #f0d5c6}
.action-complete-callout{background:#f3fbf5;border:1px solid #d4e9da}
.action-blocked-callout strong,.action-complete-callout strong{display:block;color:#3d5872;font-size:9.5px!important}
.action-blocked-callout p,.action-complete-callout p{margin:3px 0 0!important;color:#687b8e!important;font-size:9.2px!important}

.action-timeline article{
 min-height:65px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:13px minmax(0,1fr);
 gap:10px;
}
.action-timeline article:last-child{border-bottom:0}
.action-timeline article>span{
 width:10px;height:10px;border-radius:50%;margin-top:4px;background:#7a91a8;
}
.action-timeline article>span.approval{background:#4c91d8}
.action-timeline article>span.progress{background:#43a864}
.action-timeline article>span.escalation{background:#d46558}
.action-timeline article>span.completion{background:#2e984f}
.action-timeline header{display:flex;justify-content:space-between;gap:10px}
.action-timeline header strong{color:#36516d;font-size:9.8px!important}
.action-timeline header time{color:#8998a6;font-size:8.2px!important}
.action-timeline p{margin:4px 0 0!important;color:#6f8193!important;font-size:9.3px!important;line-height:1.45!important}
.action-timeline small{display:block;margin-top:3px;color:#8997a5;font-size:8.2px!important}
.action-workflow-card>p{color:#728397!important;font-size:9.5px!important;line-height:1.45!important}

.executive-meeting-layout{
 grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;
 gap:18px!important;
}
.executive-meeting-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
}
.executive-meeting-grid article{
 padding:15px;
 border:1px solid #e0e7ef;
 border-radius:11px;
 background:#fff;
}
.executive-meeting-grid article>header{display:flex;justify-content:space-between;gap:8px}
.executive-meeting-grid article>header span{padding:4px 7px;border-radius:999px;background:#eaf3ff;color:#2e6fae;font-size:8px!important;font-weight:850}
.executive-meeting-grid article>header small{color:#7f8f9f;font-size:8.5px!important}
.executive-meeting-grid h3{margin:12px 0 4px;color:#29455f;font-size:13px!important}
.executive-meeting-grid p{margin:0!important;color:#748698!important;font-size:9.2px!important}
.executive-meeting-grid article>div{margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:7px}
.executive-meeting-grid article>div span{padding:8px;border:1px solid #e5ebf1;border-radius:8px;text-align:center;color:#708296;font-size:8.5px!important}
.executive-meeting-grid article>div b{display:block;color:#1f456d;font-size:14px!important}
.executive-meeting-grid footer{margin-top:12px}

.meeting-record-block{
 margin-bottom:12px;
 padding:12px;
 border:1px solid #e2e8ef;
 border-radius:9px;
 background:#fafbfd;
}
.meeting-record-block strong{display:block;color:#3d5872;font-size:9.5px!important}
.meeting-record-block p{margin:4px 0 0!important;color:#6e8092!important;font-size:9.5px!important;line-height:1.5!important}
.decision-list article{
 min-height:74px;
 padding:10px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:80px minmax(0,1fr) 90px;
 gap:10px;
 align-items:start;
}
.decision-list article:last-child{border-bottom:0}
.decision-list article>span{padding:5px 7px;border-radius:999px;background:#eef5ff;color:#356fae;font-size:8px!important;font-weight:850;width:max-content}
.decision-list strong{display:block;color:#35516c;font-size:10.5px!important}
.decision-list p{margin:3px 0 0!important;color:#718397!important;font-size:9.3px!important;line-height:1.4!important}
.decision-list small{display:block;margin-top:4px;color:#8795a3;font-size:8.3px!important}
.decision-action-link{display:inline-block;margin-top:5px;color:#075fcf;font-size:8.5px!important;font-weight:800}

.accountability-table td:first-child strong{display:block;color:#304f6c}
.accountability-action-list>a{
 min-height:62px;
 padding:9px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:62px minmax(0,1fr) 55px;
 gap:10px;
 align-items:center;
 color:#36516d;
}
.accountability-action-list>a:last-child{border-bottom:0}
.accountability-action-list strong{display:block;color:#35516c;font-size:10px!important}
.accountability-action-list small{display:block;margin-top:2px;color:#8493a1;font-size:8.5px!important}
.accountability-action-list em{font-style:normal;text-align:right;color:#a54a43;font-size:8.8px!important;font-weight:850}

@media(max-width:1250px){
 .action-kpis,.accountability-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .action-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .action-tracker-layout,.action-detail-grid,.accountability-grid,.meeting-detail-grid,.executive-meeting-layout{grid-template-columns:1fr!important}
 .action-create-form,.executive-meeting-form{position:static}
 .executive-meeting-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .action-filter{align-items:stretch}
 .action-filter label{flex:1;min-width:140px}
 .action-filter button{width:100%}
 .action-kpis,.accountability-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .action-meta-grid{grid-template-columns:1fr 1fr}
 .decision-list article{grid-template-columns:1fr}
 .accountability-action-list>a{grid-template-columns:55px minmax(0,1fr)}
 .accountability-action-list em{grid-column:2;text-align:left}
}


/* ========================================================================
   V15.9 — Executive Calendar, Notifications & Follow-up Automation
   ======================================================================== */
.executive-calendar-filter{
 margin-bottom:14px;
 display:flex;
 align-items:flex-end;
 gap:10px;
 flex-wrap:wrap;
}
.executive-calendar-filter label{
 display:grid;
 gap:5px;
 min-width:220px;
 color:#506981;
 font-size:10px!important;
 font-weight:750;
}
.executive-calendar-shell{overflow:hidden;padding:0!important}
.executive-calendar-header{
 min-height:94px;
 padding:15px 18px;
 display:grid;
 grid-template-columns:42px minmax(0,1fr) 42px;
 align-items:center;
 gap:12px;
 border-bottom:1px solid #e4eaf0;
 background:linear-gradient(135deg,#f7fafe,#fff);
}
.executive-calendar-header>a{
 width:38px;height:38px;
 display:grid;place-items:center;
 border:1px solid #dce5ee;
 border-radius:10px;
 background:#fff;
 color:#315a82;
 font-size:18px!important;
}
.executive-calendar-header>div{text-align:center}
.executive-calendar-header>div>span{color:#72869a;font-size:8.5px!important;text-transform:uppercase;letter-spacing:.06em;font-weight:850}
.executive-calendar-header h2{margin:3px 0 0;color:#21496e;font-size:20px!important}
.executive-calendar-header p{margin:3px 0 0!important;color:#8292a1!important;font-size:8.8px!important}
.calendar-week-head{
 display:grid;
 grid-template-columns:repeat(7,minmax(0,1fr));
 border-bottom:1px solid #e7ecf1;
 background:#fafbfd;
}
.calendar-week-head span{
 padding:8px;
 text-align:center;
 color:#657a8e;
 font-size:8.5px!important;
 font-weight:850;
}
.executive-calendar-grid{
 display:grid;
 grid-template-columns:repeat(7,minmax(0,1fr));
}
.calendar-day{
 min-height:132px;
 padding:7px;
 border-right:1px solid #e9edf2;
 border-bottom:1px solid #e9edf2;
 background:#fff;
}
.calendar-day:nth-child(7n){border-right:0}
.calendar-day.empty{background:#fafbfd}
.calendar-day.today{background:#f8fbff;box-shadow:inset 0 0 0 2px #8bb8e4}
.calendar-day>header{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:6px;
 margin-bottom:6px;
}
.calendar-day>header strong{color:#49657f;font-size:10px!important}
.calendar-day.today>header strong{color:#075fcf}
.calendar-day>header span{
 min-width:19px;height:19px;padding:0 5px;
 border-radius:999px;
 display:grid;place-items:center;
 background:#eef3f8;color:#55718b;
 font-size:7.5px!important;font-weight:850;
}
.calendar-day-events{display:grid;gap:4px}
.calendar-event{
 min-height:24px;
 padding:4px 5px;
 border-radius:6px;
 display:grid;
 grid-template-columns:6px minmax(0,1fr);
 gap:5px;
 align-items:center;
 background:#f3f6f9;
 color:#4f6982;
 overflow:hidden;
}
.calendar-event i{width:5px;height:5px;border-radius:50%;background:#7891aa}
.calendar-event span{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:7.7px!important;font-weight:700;
}
.calendar-event.critical{background:#fff0ee;color:#8f403a}
.calendar-event.critical i{background:#c84d45}
.calendar-event.warning{background:#fff7e8;color:#825e14}
.calendar-event.warning i{background:#d49b2b}
.calendar-event.info{background:#eef6ff;color:#36688f}
.calendar-event.info i{background:#4e91d2}
.calendar-event.meeting{border-left:2px solid #6a78cf}
.calendar-event.action_due{border-left:2px solid #397fc1}
.calendar-event.action_followup{border-left:2px solid #50a36d}
.calendar-event.agreement_expiry{border-left:2px solid #bd4942}
.calendar-event.risk_review{border-left:2px solid #b26d34}
.calendar-event.donor_report,.calendar-event.project_milestone{border-left:2px solid #d29528}
.calendar-day-events>small{color:#8090a0;font-size:7.5px!important;text-align:right}

.calendar-agenda{margin-top:14px}
.calendar-agenda-list article{
 min-height:64px;
 padding:9px 0;
 border-bottom:1px solid #edf1f5;
 display:grid;
 grid-template-columns:48px minmax(0,1fr) 60px;
 gap:10px;
 align-items:center;
}
.calendar-agenda-list article:last-child{border-bottom:0}
.calendar-agenda-list time{
 width:44px;height:46px;border-radius:9px;
 background:#eef5ff;
 display:grid;place-items:center;align-content:center;
}
.calendar-agenda-list article.warning time{background:#fff1d9}
.calendar-agenda-list article.critical time{background:#fde8e6}
.calendar-agenda-list time strong{color:#234d73;font-size:14px!important}
.calendar-agenda-list time span{color:#73899e;font-size:7.5px!important;text-transform:uppercase}
.calendar-agenda-list article>div>span{
 display:block;color:#6c87a1;font-size:7.5px!important;text-transform:uppercase;font-weight:850
}
.calendar-agenda-list article>div>strong{display:block;margin-top:2px;color:#35516c;font-size:10.3px!important}
.calendar-agenda-list article>div>small{display:block;margin-top:2px;color:#8493a1;font-size:8.4px!important}

.executive-rule-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:11px;
}
.executive-rule-grid article{
 min-height:235px;
 padding:14px;
 border:1px solid #e1e7ee;
 border-radius:11px;
 background:#fbfcfe;
}
.executive-rule-grid article.critical{border-top:3px solid #c95149}
.executive-rule-grid article.warning{border-top:3px solid #d29a2b}
.executive-rule-grid article.info{border-top:3px solid #4d91d1}
.executive-rule-grid article>header{
 display:flex;
 align-items:start;
 justify-content:space-between;
 gap:9px;
 margin-bottom:12px;
}
.executive-rule-grid article>header strong{display:block;color:#34516c;font-size:10.5px!important}
.executive-rule-grid article>header small{display:block;margin-top:3px;color:#7e8f9f;font-size:8.3px!important;line-height:1.35!important}
.executive-rule-grid article>label{
 display:grid;gap:4px;margin-bottom:9px;color:#526b83;font-size:9px!important;font-weight:750
}
.executive-rule-grid footer{
 margin-top:11px;padding-top:9px;border-top:1px solid #e8edf2;
 display:flex;justify-content:space-between;gap:7px;align-items:center
}
.executive-rule-grid footer span{color:#61798f;font-size:8px!important}
.executive-rule-grid footer code{color:#8997a5;font-size:7.5px!important}

@media(max-width:1200px){
 .executive-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .calendar-day{min-height:112px}
}
@media(max-width:850px){
 .executive-calendar-shell{overflow-x:auto}
 .calendar-week-head,.executive-calendar-grid{min-width:780px}
 .executive-rule-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .executive-calendar-filter{align-items:stretch}
 .executive-calendar-filter label{flex:1;min-width:160px}
 .executive-calendar-filter button{width:100%}
 .executive-calendar-header{grid-template-columns:36px minmax(0,1fr) 36px;padding:12px}
 .calendar-agenda-list article{grid-template-columns:45px minmax(0,1fr)}
 .calendar-agenda-list article>a{grid-column:2;width:max-content}
}


/* ========================================================================
   Phase 16.0 — Monitoring, Evaluation & Results Tracking
   ======================================================================== */
.me-dashboard-filter,.me-filter{
 margin-bottom:14px;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap
}
.me-dashboard-filter label,.me-filter label{
 display:grid;gap:5px;min-width:180px;color:#506981;font-size:10px!important;font-weight:750
}
.me-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.me-kpis article.traffic-green{border-color:#cfe8d7!important;background:#f7fcf8!important}
.me-kpis article.traffic-green>span{color:#2d8248!important}
.me-kpis article.traffic-amber{border-color:#efdaa7!important;background:#fffaf1!important}
.me-kpis article.traffic-amber>span{color:#9e6900!important}
.me-kpis article.traffic-red{border-color:#efcbc8!important;background:#fff8f7!important}
.me-kpis article.traffic-red>span{color:#ad443d!important}
.me-dashboard-table td:first-child,.me-registry-table td:first-child{min-width:250px}
.me-dashboard-table td:first-child strong,.me-registry-table td:first-child strong{display:block;color:#2f4e6b}
.me-dashboard-table td:first-child small,.me-registry-table td:first-child small,.me-period-table td:first-child small{
 display:block;margin-top:3px;color:#8493a2;font-size:8.5px!important
}
.me-performance,.me-dq,.me-status{
 display:inline-block;padding:5px 7px;border-radius:999px;white-space:nowrap;font-size:8.3px!important;font-weight:850
}
.me-performance.achieved{background:#e7f6ec;color:#2d7c45}
.me-performance.on-track{background:#e8f2fc;color:#326da6}
.me-performance.watch{background:#fff0d4;color:#926100}
.me-performance.off-track{background:#fde6e4;color:#a23d36}
.me-performance.no-target{background:#eef1f4;color:#697b8d}
.me-dq.verified{background:#e7f6ec;color:#2d7c45}
.me-dq.unverified{background:#eef1f4;color:#6b7e90}
.me-dq.flagged{background:#fde8df;color:#a45125}
.me-status.approved{background:#e7f6ec;color:#2d7c45}
.me-status.draft{background:#fff0d4;color:#916100}
.me-status.archived{background:#eef1f4;color:#6b7e90}

.me-registry-layout,.me-indicator-grid{
 display:grid;grid-template-columns:minmax(0,1.55fr) minmax(315px,.58fr);gap:18px;align-items:start
}
.me-create-form,.me-side-form{
 position:sticky;top:98px
}
.me-create-form label,.me-side-form label{
 display:grid;gap:5px;margin-bottom:9px;color:#4f6880;font-size:9.8px!important;font-weight:750
}
.me-create-form textarea,.me-side-form textarea{resize:vertical}
.me-indicator-grid aside{display:grid;gap:12px}
.me-indicator-grid .me-side-form{position:static}
.me-meta-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px
}
.me-meta-grid>div{
 padding:10px;border:1px solid #e3e9ef;border-radius:9px;background:#fafbfd
}
.me-meta-grid dt{color:#8594a3;font-size:7.8px!important;text-transform:uppercase;letter-spacing:.04em}
.me-meta-grid dd{margin:4px 0 0;color:#38536d;font-size:9.3px!important;line-height:1.4!important}
.me-period-table td:first-child{min-width:155px}
.me-period-layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;gap:18px!important}

.uat-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.uat-kpis article.traffic-green{border-color:#cfe8d7!important;background:#f7fcf8!important}
.uat-kpis article.traffic-red{border-color:#efcbc8!important;background:#fff8f7!important}
.uat-check-list article{
 min-height:64px;padding:10px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:34px minmax(0,1fr) 50px;gap:10px;align-items:center
}
.uat-check-list article:last-child{border-bottom:0}
.uat-check-list article>span{
 width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:11px!important;font-weight:900
}
.uat-check-list article.pass>span{background:#e7f6ec;color:#2d7c45}
.uat-check-list article.fail>span{background:#fde6e4;color:#a23d36}
.uat-check-list small{display:block;color:#7b8c9d;font-size:7.8px!important;text-transform:uppercase;font-weight:850}
.uat-check-list strong{display:block;margin-top:2px;color:#35516c;font-size:10.4px!important}
.uat-check-list p{margin:3px 0 0!important;color:#748698!important;font-size:8.9px!important}
.uat-check-list>a{color:#075fcf;font-size:8.5px!important;font-weight:800;text-align:right}

@media(max-width:1250px){
 .me-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .me-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .me-registry-layout,.me-indicator-grid,.me-period-layout{grid-template-columns:1fr!important}
 .me-create-form{position:static}
}
@media(max-width:700px){
 .me-dashboard-filter,.me-filter{align-items:stretch}
 .me-dashboard-filter label,.me-filter label{flex:1;min-width:140px}
 .me-dashboard-filter button,.me-filter button{width:100%}
 .me-kpis,.uat-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .me-meta-grid{grid-template-columns:1fr}
 .uat-check-list article{grid-template-columns:34px minmax(0,1fr)}
 .uat-check-list article>a{grid-column:2;text-align:left}
}


/* ========================================================================
   Phase 16.1 — Beneficiary Reach & Disaggregation Analytics
   ======================================================================== */
.reach-filter{
 margin-bottom:14px;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap
}
.reach-filter label{
 display:grid;gap:5px;min-width:170px;color:#506981;font-size:10px!important;font-weight:750
}
.reach-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.reach-analytics-grid,.reach-register-layout,.reach-record-layout{
 display:grid;grid-template-columns:minmax(0,1.55fr) minmax(315px,.58fr);gap:18px;align-items:start
}
.reach-create-form{position:sticky;top:98px}
.reach-create-form label{
 display:grid;gap:5px;margin-bottom:9px;color:#4f6880;font-size:9.8px!important;font-weight:750
}
.reach-privacy-callout{
 margin-bottom:12px;padding:11px;border:1px solid #d7e6f4;border-radius:9px;background:#f5f9fd
}
.reach-privacy-callout strong{display:block;color:#315571;font-size:9.5px!important}
.reach-privacy-callout span{display:block;margin-top:3px;color:#708397;font-size:8.7px!important;line-height:1.4!important}
.reach-dimension-entry{
 margin-bottom:8px;border:1px solid #e2e8ef;border-radius:9px;background:#fafbfd;overflow:hidden
}
.reach-dimension-entry summary{
 cursor:pointer;padding:9px 10px;color:#38546e;font-size:9.3px!important;font-weight:800
}
.reach-disagg-inputs{
 padding:0 10px 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px
}
.reach-disagg-inputs label{margin:0!important}
.reach-register-table td:first-child{min-width:175px}
.reach-register-table td:first-child strong{display:block;color:#2f4e6b}
.reach-register-table td:first-child small{display:block;margin-top:3px;color:#8493a2;font-size:8.5px!important}

.reach-bar-list article{
 min-height:49px;padding:7px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:150px minmax(0,1fr) 70px;gap:10px;align-items:center
}
.reach-bar-list article:last-child{border-bottom:0}
.reach-bar-list strong{display:block;color:#35516c;font-size:9.8px!important}
.reach-bar-list small{display:block;margin-top:2px;color:#8594a3;font-size:8.1px!important}
.reach-bar-list i{height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}
.reach-bar-list i b{display:block;height:100%;border-radius:999px;background:#4b91d7}
.reach-bar-list>article>span{text-align:right;color:#35516c;font-size:9px!important;font-weight:850}

.reach-dimension-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px
}
.reach-dimension-grid article{
 min-height:100px;padding:12px;border:1px solid #e2e8ef;border-radius:10px;background:#fafbfd
}
.reach-dimension-grid strong{display:block;color:#173d65;font-size:21px!important}
.reach-dimension-grid span{display:block;margin-top:4px;color:#3e5973;font-size:9.5px!important;font-weight:750}
.reach-dimension-grid small{display:block;margin-top:4px;color:#8190a0;font-size:8px!important;line-height:1.35!important}
.reach-quality-list>div{
 min-height:42px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between
}
.reach-quality-list>div:last-child{border-bottom:0}
.reach-quality-list strong{color:#29455f;font-size:16px!important}
.reach-governance-note p{
 margin:8px 0 0!important;padding-top:8px;border-top:1px solid #edf1f5;color:#718397!important;font-size:9.2px!important;line-height:1.45!important
}

.reach-record-kpis{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:13px
}
.reach-record-kpis article{
 min-height:86px;padding:12px;border:1px solid #e2e8ef;border-radius:10px;background:#fafbfd
}
.reach-record-kpis strong{display:block;color:#173d65;font-size:21px!important}
.reach-record-kpis span{display:block;margin-top:5px;color:#6f8194;font-size:8.8px!important}
.reach-inclusion-note{
 margin-top:13px;padding:12px;border:1px solid #dce8f2;border-radius:9px;background:#f7fafc
}
.reach-inclusion-note strong{display:block;color:#36516c;font-size:9.5px!important}
.reach-inclusion-note p{margin:4px 0 0!important;color:#6f8194!important;font-size:9.2px!important;line-height:1.45!important}

.me-dimension-layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;gap:18px!important}
.me-dimension-list article{
 min-height:75px;padding:11px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px;align-items:center
}
.me-dimension-list article:last-child{border-bottom:0}
.me-dimension-list strong{display:block;color:#35516c;font-size:10.5px!important}
.me-dimension-list small{display:block;margin-top:2px;color:#8392a1;font-size:8.2px!important}
.me-dimension-list p{margin:5px 0 0!important;color:#708296!important;font-size:8.7px!important;line-height:1.35!important}

@media(max-width:1250px){
 .reach-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .reach-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .reach-analytics-grid,.reach-register-layout,.reach-record-layout,.me-dimension-layout{grid-template-columns:1fr!important}
 .reach-create-form{position:static}
}
@media(max-width:700px){
 .reach-filter{align-items:stretch}
 .reach-filter label{flex:1;min-width:140px}
 .reach-filter button{width:100%}
 .reach-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .reach-bar-list article{grid-template-columns:110px minmax(0,1fr) 58px}
 .reach-dimension-grid{grid-template-columns:1fr 1fr}
 .reach-disagg-inputs{grid-template-columns:1fr}
 .reach-record-kpis{grid-template-columns:1fr}
 .me-dimension-list article{grid-template-columns:1fr}
}

.reach-integrity-warning{
 margin-bottom:14px;padding:13px 15px;border:1px solid #ecd79f;border-radius:11px;background:#fffaf0
}
.reach-integrity-warning strong{display:block;color:#8a5c00;font-size:10.5px!important}
.reach-integrity-warning p{margin:4px 0 0!important;color:#78694b!important;font-size:9.2px!important;line-height:1.45!important}


/* ========================================================================
   Phase 16.2 — Outcomes, Outputs & Results Chain Integration
   ======================================================================== */
.chain-filter{
 margin-bottom:14px;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap
}
.chain-filter label{
 display:grid;gap:5px;min-width:260px;color:#506981;font-size:10px!important;font-weight:750
}
.chain-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.chain-quality-warning{
 margin-bottom:14px;padding:13px 15px;border:1px solid #ecd79f;border-radius:11px;background:#fffaf0
}
.chain-quality-warning strong{display:block;color:#8a5c00;font-size:10.5px!important}
.chain-quality-warning p{margin:4px 0 0!important;color:#78694b!important;font-size:9.2px!important;line-height:1.45!important}

.chain-context-grid,.chain-secondary-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px
}
.chain-project-links{display:grid;gap:7px}
.chain-project-links a{
 padding:10px;border:1px solid #e4e9ef;border-radius:9px;background:#fafbfd;color:#36516d
}
.chain-project-links strong{display:block;font-size:9.8px!important}
.chain-project-links small{display:block;margin-top:2px;color:#8090a0;font-size:8.1px!important}
.chain-quality-list article{
 min-height:44px;padding:7px 0;border-bottom:1px solid #edf1f5;display:grid;
 grid-template-columns:28px minmax(0,1fr) 44px;gap:8px;align-items:center
}
.chain-quality-list article:last-child{border-bottom:0}
.chain-quality-list article>span{
 width:25px;height:25px;border-radius:8px;display:grid;place-items:center;font-size:9px!important;font-weight:900;background:#eef3f8;color:#57728b
}
.chain-quality-list article.warning>span{background:#fff0d5;color:#916000}
.chain-quality-list p{margin:0!important;color:#60768b!important;font-size:8.7px!important}
.chain-quality-list a{color:#075fcf;font-size:8.2px!important;font-weight:800;text-align:right}

.chain-visual-card{overflow:hidden}
.results-chain-flow{
 display:grid;grid-template-columns:minmax(220px,1fr) 28px minmax(220px,1fr) 28px minmax(220px,1fr) 28px minmax(220px,1fr);
 gap:8px;align-items:start;overflow-x:auto;padding-bottom:4px
}
.chain-column{
 min-width:220px;padding:10px;border:1px solid #e2e8ef;border-radius:12px;background:#fafbfd
}
.chain-column>header{
 min-height:48px;display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:8px
}
.chain-column>header>span{
 width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#eaf2fb;color:#2f6fa8;font-size:9px!important;font-weight:900
}
.chain-column>header strong{display:block;color:#2f4d69;font-size:10.5px!important}
.chain-column>header small{display:block;margin-top:2px;color:#8190a0;font-size:8px!important}
.chain-node{
 display:block;margin-bottom:7px;padding:9px;border:1px solid #e1e7ee;border-radius:9px;background:#fff;color:#35516c
}
.chain-node:last-child{margin-bottom:0}
.chain-node strong{display:block;color:#3a5872;font-size:8px!important;text-transform:uppercase;letter-spacing:.03em}
.chain-node span{display:block;margin-top:3px;font-size:9.4px!important;font-weight:750;line-height:1.35!important}
.chain-node small{display:block;margin-top:4px;color:#8493a1;font-size:7.8px!important;line-height:1.35!important}
.chain-node.activity{border-left:3px solid #4c91d8}
.chain-node.output{border-left:3px solid #4d9b72}
.chain-node.outcome{border-left:3px solid #c58b2a}
.chain-node.impact{border-left:3px solid #8a64b0}
.chain-arrow-column{display:grid;place-items:center;min-height:120px;color:#8aa0b4;font-size:18px!important}
.chain-empty{padding:12px;text-align:center;color:#8594a3;font-size:8.5px!important}

.chain-indicator-list article{
 padding:9px 0;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:minmax(160px,.7fr) minmax(0,1.3fr);gap:12px
}
.chain-indicator-list article:last-child{border-bottom:0}
.chain-indicator-list article>div:first-child>span{display:block;color:#8090a0;font-size:7.6px!important;text-transform:uppercase;font-weight:850}
.chain-indicator-list article>div:first-child>strong{display:block;margin-top:2px;color:#34516c;font-size:9.5px!important}
.chain-indicator-list article>div:last-child{display:grid;gap:5px}
.chain-indicator-list article>div:last-child>a{
 padding:6px 7px;border:1px solid #e4e9ef;border-radius:7px;background:#fafbfd;color:#4c667e;font-size:8.5px!important
}
.chain-indicator-list article>div:last-child>a small{display:inline-block;margin-right:6px;color:#2e70ac;font-size:7.2px!important;font-weight:850}
.chain-indicator-list em{font-style:normal;color:#9a6a10;font-size:8.3px!important}

.chain-contribution-preview article{
 padding:8px 0;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px
}
.chain-contribution-preview article:last-child{border-bottom:0}
.chain-contribution-preview strong{display:block;color:#34516c;font-size:9.2px!important}
.chain-contribution-preview small{display:block;margin-top:2px;color:#668097;font-size:8px!important}
.chain-contribution-preview p{margin:3px 0 0!important;color:#7a8998!important;font-size:8.3px!important;line-height:1.4!important}

.chain-admin-layout,.chain-result-layout{
 display:grid;grid-template-columns:minmax(0,1.55fr) minmax(315px,.58fr);gap:18px;align-items:start
}
.chain-side-form{position:sticky;top:98px}
.chain-admin-layout aside,.chain-result-layout aside{display:grid;gap:12px}
.chain-admin-layout aside .chain-side-form,.chain-result-layout aside .chain-side-form{position:static}
.chain-side-form label{
 display:grid;gap:5px;margin-bottom:9px;color:#4f6880;font-size:9.8px!important;font-weight:750
}
.chain-activity-table td:first-child{min-width:230px}
.chain-activity-table td:first-child strong{display:block;color:#2f4e6b}
.chain-activity-table td:first-child small{display:block;margin-top:3px;color:#8493a2;font-size:8.3px!important}
.chain-status,.chain-result-type{
 display:inline-block;padding:5px 7px;border-radius:999px;white-space:nowrap;font-size:8.2px!important;font-weight:850
}
.chain-status.planned{background:#eef1f4;color:#697c8e}
.chain-status.in-progress{background:#e8f2fc;color:#326da6}
.chain-status.completed{background:#e7f6ec;color:#2d7c45}
.chain-status.cancelled{background:#fde8e6;color:#a2443d}
.chain-result-type.output{background:#e9f6ee;color:#367b4f}
.chain-result-type.outcome{background:#fff1d8;color:#8d610a}
.chain-result-type.impact{background:#f1eafd;color:#75509b}

.chain-linked-output-list article{
 min-height:68px;padding:9px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:minmax(0,1fr) 65px;gap:10px;align-items:center
}
.chain-linked-output-list article:last-child{border-bottom:0}
.chain-linked-output-list strong{display:block;color:#35516c;font-size:9.8px!important}
.chain-linked-output-list small{display:block;margin-top:2px;color:#8090a0;font-size:8.1px!important}
.chain-linked-output-list p{margin:3px 0 0!important;color:#748698!important;font-size:8.5px!important}

.chain-source-help{
 margin-bottom:9px;padding:9px;border:1px solid #e1e7ee;border-radius:8px;background:#fafbfd
}
.chain-source-help strong{display:block;color:#35516c;font-size:8.8px!important}
.chain-source-help p{margin:3px 0 0!important;color:#7b8c9d!important;font-size:8px!important;line-height:1.4!important}

.chain-contribution-list article{
 min-height:82px;padding:10px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:70px minmax(0,1fr) 95px;gap:10px;align-items:start
}
.chain-contribution-list article:last-child{border-bottom:0}
.chain-contribution-list strong{display:block;color:#34516c;font-size:9.8px!important}
.chain-contribution-list small{display:block;margin-top:2px;color:#698097;font-size:8.2px!important}
.chain-contribution-list p{margin:4px 0 0!important;color:#738598!important;font-size:8.7px!important;line-height:1.4!important}
.chain-contribution-list em{display:block;margin-top:4px;color:#8896a4;font-size:7.8px!important;font-style:normal}
.chain-contribution-list form select{min-width:90px}

.chain-result-description{
 padding:12px;border-left:4px solid #6d9fd2;border-radius:0 9px 9px 0;background:#f7fafe;color:#536b83;font-size:9.5px!important;line-height:1.5!important
}
.chain-result-indicators{display:grid;gap:7px}
.chain-result-indicators a{
 padding:9px;border:1px solid #e3e9ef;border-radius:9px;background:#fafbfd;display:grid;grid-template-columns:45px minmax(0,1fr);gap:8px;color:#36516d
}
.chain-result-indicators a>span{
 width:max-content;padding:4px 6px;border-radius:999px;background:#eaf2fb;color:#2f6fa8;font-size:7px!important;font-weight:900
}
.chain-result-indicators strong{display:block;font-size:8.5px!important}
.chain-result-indicators small{display:block;margin-top:2px;color:#708397;font-size:8.5px!important}

.chain-child-results{display:grid;gap:7px}
.chain-child-results a{
 padding:9px;border:1px solid #e4e9ef;border-radius:9px;background:#fafbfd;color:#36516d
}
.chain-child-results a span{display:block;color:#8190a0;font-size:7.3px!important;text-transform:uppercase;font-weight:850}
.chain-child-results a strong{display:block;margin-top:2px;font-size:9.4px!important}

.chain-assumption-list article{
 min-height:62px;padding:9px 0;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px
}
.chain-assumption-list article:last-child{border-bottom:0}
.chain-assumption-list article>span{
 width:max-content;padding:5px 7px;border-radius:999px;background:#eef2f6;color:#60758a;font-size:7.6px!important;font-weight:850
}
.chain-assumption-list strong{display:block;color:#35516c;font-size:9.4px!important}
.chain-assumption-list small{display:block;margin-top:3px;color:#8190a0;font-size:8px!important}
.chain-assumption-list p{margin:4px 0 0!important;color:#738598!important;font-size:8.5px!important}

@media(max-width:1300px){
 .chain-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .results-chain-flow{min-width:980px}
}
@media(max-width:980px){
 .chain-admin-layout,.chain-result-layout,.chain-context-grid,.chain-secondary-grid{grid-template-columns:1fr}
 .chain-side-form{position:static}
}
@media(max-width:700px){
 .chain-filter{align-items:stretch}
 .chain-filter label{flex:1;min-width:160px}
 .chain-filter button{width:100%}
 .chain-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .chain-contribution-list article{grid-template-columns:1fr}
 .chain-indicator-list article{grid-template-columns:1fr}
}


/* ========================================================================
   V16.8 — M&E Completion Pack
   ======================================================================== */
.me-completion-layout{
 display:grid;grid-template-columns:minmax(0,1.55fr) minmax(315px,.58fr);
 gap:18px;align-items:start
}
.me-completion-layout aside{display:grid;gap:12px}
.me-completion-layout .me-side-form{position:static}
.me-completion-layout td:first-child strong{display:block;color:#31516d}
.me-completion-layout td:first-child small{display:block;margin-top:3px;color:#8493a2;font-size:8.4px!important}
.learning-list article{
 padding:10px 0;border-bottom:1px solid #edf1f5;
 display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px
}
.learning-list article:last-child{border-bottom:0}
.learning-list article>span{
 width:max-content;padding:5px 7px;border-radius:999px;background:#eef4fa;color:#486a89;
 font-size:7.7px!important;font-weight:850
}
.learning-list strong{display:block;color:#34516c;font-size:9.8px!important}
.learning-list p{margin:4px 0 0!important;color:#708296!important;font-size:8.8px!important;line-height:1.45!important}
.learning-list small{display:block;margin-top:4px;color:#8795a3;font-size:8px!important}
.me-report-sheet{max-width:1180px;margin:0 auto}
.me-report-title{text-align:center;padding:10px 0 18px;border-bottom:1px solid #e5eaf0}
.me-report-title>span{color:#718599;font-size:8.5px!important;text-transform:uppercase;letter-spacing:.08em;font-weight:850}
.me-report-title h1{margin:5px 0 0;color:#234b70;font-size:23px!important}
.me-report-title p{margin:4px 0 0!important;color:#7d8e9e!important;font-size:9px!important}
.me-report-kpis{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:16px 0
}
.me-report-kpis>div{padding:11px;border:1px solid #e2e8ef;border-radius:9px;background:#fafbfd}
.me-report-kpis strong{display:block;color:#173d65;font-size:18px!important}
.me-report-kpis span{display:block;margin-top:4px;color:#718397;font-size:8px!important}
.me-report-sheet>section{margin-top:18px;padding-top:14px;border-top:1px solid #e9edf2}
.me-report-sheet>section>h2{margin:0;color:#2f4d69;font-size:13px!important}
.me-report-sheet>section>p{color:#647b90!important;font-size:9.5px!important;line-height:1.55!important}
.me-report-sheet>footer{margin-top:22px;padding-top:12px;border-top:1px solid #dfe5eb;color:#8493a1}
@media(max-width:1100px){
 .me-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .me-completion-layout{grid-template-columns:1fr}
}
@media(max-width:700px){
 .me-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{
 .no-print,.sidebar,.topbar,.admin-page-heading,.admin-page-actions{display:none!important}
 .main-content,.content-wrap{margin:0!important;padding:0!important}
 .me-report-sheet{box-shadow:none!important;border:0!important;max-width:none}
}

.inline-verify-form{display:grid;grid-template-columns:100px 70px 48px;gap:5px;align-items:center;min-width:230px}
.inline-verify-form .input{min-height:30px!important;padding:5px 7px!important;font-size:8px!important}
@media(max-width:700px){.inline-verify-form{grid-template-columns:1fr;min-width:140px}}


/* ========================================================================
   PHASE 17 — RESOURCE REPOSITORY, TEACHER EXPERIENCE & CONTENT GOVERNANCE
   Readable typography target: body/content minimum ~14px on Phase 17 pages.
   ======================================================================== */
.phase17-library-page,
.phase17-search-page,
.p17-public-hub-page{
 --p17-navy:#123f69;
 --p17-blue:#1768b5;
 --p17-text:#304b63;
 --p17-muted:#6c8092;
 --p17-border:#dfe7ee;
 --p17-soft:#f6f9fc;
 --p17-success:#318252;
 font-size:16px;
}
.phase17-library-page .main-content,
.phase17-search-page .main-content{background:#f5f8fb}
.p17-library-hero{
 border-radius:20px;
 padding:32px;
 margin-bottom:20px;
 background:linear-gradient(125deg,#123f69,#1e6cac);
 color:#fff;
 box-shadow:0 16px 38px rgba(20,63,105,.14)
}
.p17-library-hero>div{max-width:920px}
.p17-library-hero>div>span,.p17-advanced-search-head>span,.p17-public-hub-hero>span{
 display:block;font-size:13px!important;font-weight:850;letter-spacing:.08em;text-transform:uppercase
}
.p17-library-hero h1{margin:7px 0 8px;font-size:34px!important;line-height:1.16!important;color:#fff}
.p17-library-hero p{margin:0 0 20px!important;max-width:760px;font-size:16px!important;line-height:1.55!important;color:rgba(255,255,255,.88)!important}
.p17-main-search{
 display:grid;grid-template-columns:26px minmax(0,1fr) 108px;align-items:center;gap:8px;
 min-height:58px;background:#fff;border-radius:14px;padding:6px 7px 6px 16px;max-width:780px
}
.p17-main-search svg{width:21px;fill:none;stroke:#668097;stroke-width:2}
.p17-main-search input{border:0;outline:0;min-width:0;font-size:15px!important;color:#334f68;background:transparent}
.p17-main-search button{
 height:46px;border:0;border-radius:10px;background:#1768b5;color:#fff;font-size:14px!important;font-weight:800;cursor:pointer
}
.p17-search-shortcuts{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:13px}
.p17-search-shortcuts span{font-size:13px!important;color:rgba(255,255,255,.82)}
.p17-search-shortcuts a{padding:6px 9px;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#fff;font-size:13px!important}

.p17-library-shell{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}
.p17-filter-panel{
 position:sticky;top:92px;border:1px solid var(--p17-border);background:#fff;border-radius:14px;padding:16px
}
.p17-filter-panel>header{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:12px}
.p17-filter-panel>header span{display:block;font-size:12px!important;color:#758a9d;font-weight:850;letter-spacing:.05em}
.p17-filter-panel h2{margin:2px 0 0;font-size:18px!important;color:#294a68}
.p17-filter-panel>header a{font-size:13px!important;color:#1768b5;font-weight:750}
.p17-filter-panel form{display:grid;gap:11px}
.p17-filter-panel label,.p17-library-toolbar label,.p17-advanced-search-form label{
 display:grid;gap:5px;color:#405b73;font-size:14px!important;font-weight:700
}
.p17-filter-panel select,.p17-library-toolbar select,.p17-advanced-search-form select{
 min-height:42px;border:1px solid #d8e1e9;border-radius:9px;padding:7px 10px;background:#fff;color:#344f67;font-size:14px!important
}
.p17-library-toolbar{
 min-height:56px;display:flex;justify-content:space-between;gap:14px;align-items:center;
 border:1px solid var(--p17-border);background:#fff;border-radius:12px;padding:10px 13px;margin-bottom:14px
}
.p17-library-toolbar>div{display:flex;gap:6px;align-items:center;color:#5f7588;font-size:14px!important}
.p17-library-toolbar>div strong{color:#294b68;font-size:14px!important}
.p17-library-toolbar form label{display:flex;align-items:center;gap:7px}
.p17-library-toolbar select{min-height:36px}
.p17-mobile-filter{display:none;border:1px solid #d5e0e9;border-radius:8px;background:#fff;padding:8px 10px;color:#31546f;font-size:14px!important;font-weight:750}

.p17-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.p17-resource-card{
 overflow:hidden;border:1px solid var(--p17-border);border-radius:15px;background:#fff;
 box-shadow:0 5px 17px rgba(27,63,95,.05);transition:transform .18s ease,box-shadow .18s ease
}
.p17-resource-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(27,63,95,.10)}
.p17-resource-cover{position:relative;display:block;aspect-ratio:8/5;background:#eef4f9;overflow:hidden}
.p17-resource-cover img{width:100%;height:100%;object-fit:cover;display:block}
.p17-resource-cover>div{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:5px;background:linear-gradient(135deg,#e8f2fb,#f8fbfd);color:#315b7e}
.p17-resource-cover>div span{font-size:27px!important;font-weight:900}.p17-resource-cover>div strong{font-size:14px!important}
.p17-resource-cover>b{position:absolute;left:10px;top:10px;padding:6px 8px;border-radius:999px;background:#175fa2;color:#fff;font-size:12px!important}
.p17-resource-cover>b.recommended{background:#318252}
.p17-resource-card-body{padding:14px}
.p17-card-meta{display:flex;justify-content:space-between;gap:8px;color:#72879a;font-size:12px!important}
.p17-resource-card h2{margin:7px 0 6px;font-size:17px!important;line-height:1.3!important}
.p17-resource-card h2 a{color:#294b68}
.p17-resource-card p{margin:0!important;min-height:62px;color:#667c8f!important;font-size:14px!important;line-height:1.48!important}
.p17-resource-tags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}
.p17-resource-tags span{padding:5px 7px;border-radius:999px;background:#f0f5f9;color:#51708a;font-size:12px!important}
.p17-resource-card footer{padding-top:10px;border-top:1px solid #edf1f4;display:flex;justify-content:space-between;gap:8px;align-items:center}
.p17-resource-card footer>div{display:flex;gap:7px;flex-wrap:wrap}.p17-resource-card footer small{font-size:12px!important;color:#7f90a0}
.p17-resource-card footer>a{font-size:13px!important;color:#1768b5;font-weight:800}
.p17-empty{padding:70px 20px;text-align:center;border:1px dashed #ccd9e3;border-radius:15px;background:#fff}
.p17-empty>span{font-size:34px!important;color:#7b96ad}.p17-empty h2{font-size:20px!important;color:#31526e}.p17-empty p{font-size:14px!important;color:#72869a!important}
.p17-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}
.p17-pagination a{min-width:38px;height:38px;padding:0 9px;display:grid;place-items:center;border:1px solid #d7e1e9;border-radius:8px;background:#fff;color:#45647d;font-size:14px!important}
.p17-pagination a.active{background:#1768b5;border-color:#1768b5;color:#fff}

.p17-advanced-search-head{padding:6px 0 18px}
.p17-advanced-search-head>span{color:#1768b5}.p17-advanced-search-head h1{margin:5px 0;font-size:30px!important;color:#254966}.p17-advanced-search-head p{max-width:800px;color:#6d8295!important;font-size:15px!important}
.p17-advanced-search-form{padding:20px!important}
.p17-search-wide{margin-bottom:15px}.p17-search-wide input{min-height:48px!important;font-size:15px!important}
.p17-search-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.p17-advanced-actions{display:flex;gap:9px;align-items:center;margin-top:18px;flex-wrap:wrap}.p17-advanced-actions>a:last-child{margin-left:auto;color:#1768b5;font-size:14px!important;font-weight:750}
.p17-search-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:14px}
.p17-search-help-grid article{padding:18px;border:1px solid var(--p17-border);border-radius:12px;background:#fff}
.p17-search-help-grid article>span{font-size:25px!important;color:#1768b5}.p17-search-help-grid h2{font-size:17px!important;color:#31516c}.p17-search-help-grid p{font-size:14px!important;color:#718598!important;line-height:1.5!important}

/* Resource detail */
.p17-resource-code{display:block;margin-top:6px;color:#788d9f;font-size:13px!important;font-weight:800;letter-spacing:.04em}
.p17-resource-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.p17-feedback-card h3{font-size:18px!important;color:#31516c}
.p17-feedback-card p,.p17-feedback-form textarea{font-size:14px!important}
.p17-feedback-form{display:grid;gap:10px}
.p17-useful-options{display:flex;gap:10px;flex-wrap:wrap}
.p17-useful-options label{cursor:pointer}.p17-useful-options input{position:absolute;opacity:0}
.p17-useful-options span{display:block;padding:9px 12px;border:1px solid #d8e2ea;border-radius:9px;background:#fff;color:#49667f;font-size:14px!important}
.p17-useful-options input:checked+span{border-color:#4f91cd;background:#edf6ff;color:#245d90}

/* Admin governance */
.p17-health-hero{display:grid;grid-template-columns:110px minmax(200px,.8fr) minmax(320px,1.4fr);gap:18px;align-items:center}
.p17-health-score{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;align-content:center;background:#edf7f1;border:8px solid #d2eadb}
.p17-health-score span{font-size:32px!important;font-weight:900;color:#2f7c4b;line-height:1}.p17-health-score small{font-size:13px!important;color:#6b8175}
.p17-health-hero>div:nth-child(2)>span{font-size:12px!important;color:#7890a3;font-weight:850;letter-spacing:.06em}.p17-health-hero h2{font-size:21px!important;color:#294c69;margin:4px 0}.p17-health-hero p{font-size:14px!important;color:#718598!important}
.p17-health-components{display:grid;gap:7px}.p17-health-components>div{display:grid;grid-template-columns:105px minmax(0,1fr) 48px;gap:8px;align-items:center}
.p17-health-components span,.p17-health-components strong{font-size:12px!important;color:#5a7186}.p17-health-components i{height:8px;background:#edf1f4;border-radius:999px;overflow:hidden}.p17-health-components i b{height:100%;display:block;background:#4f91ce;border-radius:999px}
.p17-governance-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.p17-governance-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.5fr);gap:15px;margin-top:14px}
.p17-governance-shortcuts{display:grid;gap:9px}.p17-governance-shortcuts>a{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center;padding:13px!important}
.p17-governance-shortcuts>a>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eef5fb;color:#1768b5;font-size:18px!important}
.p17-governance-shortcuts strong{font-size:14px!important;color:#31516c}.p17-governance-shortcuts small{display:block;margin-top:2px;font-size:12px!important;color:#7a8d9e}

.p17-intelligence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.p17-gap-list{display:grid;gap:7px}.p17-gap-list article{display:flex;justify-content:space-between;gap:10px;padding:10px;border:1px solid #e4eaf0;border-radius:9px;background:#fafbfd}.p17-gap-list strong{font-size:14px!important;color:#35546d}.p17-gap-list span{font-size:13px!important;color:#7b8d9c}

.p17-duplicate-list{display:grid;gap:10px}
.p17-duplicate-list>article{display:grid;grid-template-columns:minmax(0,1fr) 95px 260px;gap:12px;align-items:center;padding:13px;border:1px solid #e1e8ee;border-radius:11px}
.p17-duplicate-pair{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:7px;align-items:center}.p17-duplicate-pair>b{text-align:center;color:#8295a5}.p17-duplicate-pair>a{padding:10px;background:#fafbfd;border-radius:8px}.p17-duplicate-pair small{font-size:11px!important;color:#8093a4}.p17-duplicate-pair strong{display:block;font-size:14px!important;color:#34526c}.p17-duplicate-pair span{font-size:12px!important;color:#8191a0}
.p17-duplicate-match{text-align:center}.p17-duplicate-match strong{display:block;font-size:19px!important;color:#a06313}.p17-duplicate-match span{font-size:12px!important;color:#7c8d9c}.p17-duplicate-list form{display:flex;gap:5px;flex-wrap:wrap}

.p17-feedback-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.p17-feedback-list{display:grid}.p17-feedback-list article{padding:12px 0;border-bottom:1px solid #edf1f4;display:grid;grid-template-columns:42px minmax(0,1fr) 120px 95px;gap:10px;align-items:center}.p17-feedback-list>article>span{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:18px!important}.p17-feedback-list>article>span.positive{background:#edf8f1}.p17-feedback-list>article>span.negative{background:#fff3e7}.p17-feedback-list strong{display:block;font-size:14px!important;color:#34516c}.p17-feedback-list small{font-size:12px!important;color:#8192a2}.p17-feedback-list p{margin:4px 0 0!important;font-size:13px!important;color:#6c8194!important}
.p17-rel-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.55fr);gap:15px}.p17-rel-layout main,.p17-rel-layout aside{display:grid;gap:14px;align-self:start}

/* Resource form Phase 17 */
.p17-resource-form-section{padding:16px;border:1px solid #dfe7ed;border-radius:11px;background:#f8fafc}
.p17-resource-form-section h3{margin:0 0 12px;font-size:17px!important;color:#31516d}.p17-resource-form-section textarea{font-size:14px!important}
.p17-resource-flags{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}.p17-resource-flags label{display:flex;gap:7px;align-items:center;font-size:14px!important;color:#47647d;font-weight:700}

/* Public knowledge hub */
.p17-public-hub-page{margin:0;background:#f5f8fb;color:#304b63;font-family:inherit}
.p17-public-head-actions{display:flex;align-items:center;gap:12px}.p17-public-head-actions>a:first-child{color:#446078;font-size:14px!important;font-weight:750}
.p17-public-hub{max-width:1240px;margin:0 auto;padding:24px 24px 50px}
.p17-public-hub-hero{padding:42px;border-radius:20px;background:linear-gradient(125deg,#123f69,#1e6cac);color:#fff;text-align:center}
.p17-public-hub-hero>span{color:#d4e9fb}.p17-public-hub-hero h1{margin:7px auto;font-size:35px!important;color:#fff;max-width:800px}.p17-public-hub-hero p{margin:0 auto 20px!important;max-width:760px;color:rgba(255,255,255,.87)!important;font-size:16px!important;line-height:1.55!important}
.p17-public-hub-hero form{max-width:720px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 100px;background:#fff;border-radius:12px;padding:6px}.p17-public-hub-hero input{border:0;outline:0;padding:0 12px;font-size:15px!important}.p17-public-hub-hero button{height:45px;border:0;border-radius:9px;background:#1768b5;color:#fff;font-size:14px!important;font-weight:800}
.p17-public-facets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.p17-public-facets>div{padding:17px;border:1px solid #dfe7ed;border-radius:12px;background:#fff}.p17-public-facets strong{display:block;margin-bottom:9px;font-size:15px!important;color:#31516d}.p17-public-facets a{display:inline-flex;gap:5px;margin:3px;padding:6px 8px;border-radius:999px;background:#f0f5f9;color:#4e6c85;font-size:13px!important}.p17-public-facets a span{font-weight:850}
.p17-public-results{padding:18px;border:1px solid #dfe7ed;border-radius:14px;background:#fff}.p17-public-results>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.p17-public-results>header span{font-size:12px!important;color:#7b8e9e;font-weight:850}.p17-public-results h2{margin:3px 0;font-size:22px!important;color:#294c69}.p17-public-results>header a{font-size:14px!important;color:#1768b5;font-weight:750}

/* Accessible focus and touch target improvements for Phase 17 */
.phase17-library-page a:focus-visible,.phase17-library-page button:focus-visible,.phase17-library-page input:focus-visible,.phase17-library-page select:focus-visible,
.phase17-search-page a:focus-visible,.phase17-search-page button:focus-visible,.phase17-search-page input:focus-visible,.phase17-search-page select:focus-visible,
.p17-public-hub-page a:focus-visible,.p17-public-hub-page button:focus-visible,.p17-public-hub-page input:focus-visible{
 outline:3px solid #f0b63e!important;outline-offset:2px!important
}
.phase17-library-page button,.phase17-library-page a,.phase17-search-page button,.p17-public-hub-page button{min-height:38px}
@media(max-width:1200px){
 .p17-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .p17-governance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .p17-health-hero{grid-template-columns:100px minmax(0,1fr)}.p17-health-components{grid-column:1/-1}
}
@media(max-width:900px){
 .p17-library-shell{grid-template-columns:1fr}.p17-filter-panel{display:none;position:static}.p17-filter-panel.open{display:block}.p17-mobile-filter{display:inline-block}
 .p17-search-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .p17-governance-grid,.p17-rel-layout{grid-template-columns:1fr}
 .p17-intelligence-grid{grid-template-columns:1fr}
 .p17-duplicate-list>article{grid-template-columns:1fr}
 .p17-feedback-list article{grid-template-columns:42px minmax(0,1fr)}.p17-feedback-list article form,.p17-feedback-list article>a{grid-column:2}
}
@media(max-width:650px){
 .p17-library-hero{padding:22px 17px;border-radius:14px}.p17-library-hero h1{font-size:27px!important}.p17-library-hero p{font-size:15px!important}
 .p17-main-search{grid-template-columns:24px minmax(0,1fr);padding:8px 12px}.p17-main-search button{grid-column:1/-1;width:100%}
 .p17-resource-grid{grid-template-columns:1fr}.p17-library-toolbar{align-items:flex-start;flex-direction:column}.p17-library-toolbar form{width:100%}.p17-library-toolbar form label{justify-content:space-between}.p17-library-toolbar select{flex:1}
 .p17-search-filter-grid{grid-template-columns:1fr}.p17-search-help-grid{grid-template-columns:1fr}
 .p17-health-hero{grid-template-columns:1fr;text-align:center}.p17-health-score{margin:auto}.p17-health-components{text-align:left}.p17-health-components>div{grid-template-columns:95px minmax(0,1fr) 44px}
 .p17-governance-kpis,.p17-feedback-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .p17-public-hub{padding:14px}.p17-public-hub-hero{padding:28px 15px}.p17-public-hub-hero h1{font-size:27px!important}.p17-public-hub-hero form{grid-template-columns:1fr}.p17-public-hub-hero input{height:44px}.p17-public-facets{grid-template-columns:1fr}.p17-public-results{padding:13px}
 .p17-resource-detail-list{grid-template-columns:1fr!important}
}

/* ========================================================================
   V17.1 — Teacher Portal Hero Refinement
   Compact, calmer top sections for Knowledge Hub and Resource Library.
   ======================================================================== */
.teacher-page-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px 24px;
  align-items:start;
  margin:0 0 18px;
  padding:24px 26px;
  border:1px solid #dfe8f0;
  border-radius:16px;
  background:linear-gradient(135deg,#f8fbfe 0%,#eef6fc 100%);
  box-shadow:0 8px 24px rgba(29,68,105,.06);
  overflow:hidden;
  position:relative;
}
.teacher-page-intro::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,#1768b5,#35a6d8);
}
.teacher-page-intro-copy{min-width:0;max-width:820px}
.teacher-page-intro-copy>span{
  display:block;
  margin-bottom:5px;
  color:#1768b5;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:850;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.teacher-page-intro-copy h1{
  margin:0;
  color:#173e63;
  font-size:27px!important;
  line-height:1.18!important;
  letter-spacing:-.02em;
}
.teacher-page-intro-copy p{
  max-width:780px;
  margin:8px 0 0!important;
  color:#60788d!important;
  font-size:14.5px!important;
  line-height:1.55!important;
}
.teacher-page-intro-side{
  min-width:170px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.teacher-page-intro-side>div{
  min-width:106px;
  padding:9px 12px;
  border:1px solid #d9e6f1;
  border-radius:10px;
  background:#fff;
}
.teacher-page-intro-side strong{
  display:block;
  color:#174f82;
  font-size:19px!important;
  line-height:1.05!important;
}
.teacher-page-intro-side span{
  display:block;
  margin-top:3px;
  color:#74899c;
  font-size:11.5px!important;
}
.teacher-page-intro-side>a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border:1px solid #cdddea;
  border-radius:9px;
  background:#fff;
  color:#1768b5;
  font-size:13px!important;
  font-weight:800;
}
.teacher-page-search{
  grid-column:1/-1;
  width:min(840px,100%);
  min-height:48px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 92px;
  gap:8px;
  align-items:center;
  padding:5px 6px 5px 13px;
  border:1px solid #d5e2ec;
  border-radius:11px;
  background:#fff;
  box-shadow:0 3px 10px rgba(35,74,108,.04);
}
.teacher-page-search svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:#6d8295;
  stroke-width:2;
}
.teacher-page-search input{
  min-width:0;
  height:36px;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#334e67;
  font-size:14px!important;
}
.teacher-page-search button{
  height:38px;
  border:0;
  border-radius:8px;
  background:#1768b5;
  color:#fff;
  font-size:13px!important;
  font-weight:800;
  cursor:pointer;
}
.teacher-page-quicklinks{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:-5px;
}
.teacher-page-quicklinks>span{
  margin-right:2px;
  color:#768a9d;
  font-size:12px!important;
  font-weight:700;
}
.teacher-page-quicklinks a{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 9px;
  border:1px solid #d7e2eb;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#4b687f;
  font-size:12px!important;
  font-weight:700;
}
.teacher-page-quicklinks a:hover{
  border-color:#a9c9e4;
  background:#fff;
  color:#1768b5;
}
.knowledge-hub-mini-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(82px,1fr));
  gap:7px;
  min-width:285px;
}
.knowledge-hub-mini-stats article{
  padding:10px 11px;
  border:1px solid #d9e5ef;
  border-radius:10px;
  background:rgba(255,255,255,.86);
  text-align:center;
}
.knowledge-hub-mini-stats strong{
  display:block;
  color:#174f82;
  font-size:19px!important;
  line-height:1!important;
}
.knowledge-hub-mini-stats span{
  display:block;
  margin-top:4px;
  color:#71879a;
  font-size:11.5px!important;
}
/* Keep the section following the compact hero visually connected without crowding. */
.digital-knowledge-hub-page .knowledge-section-heading:first-of-type,
.phase17-library-page .p17-library-shell{
  margin-top:0;
}

@media(max-width:980px){
  .teacher-page-intro{grid-template-columns:1fr;padding:21px 22px}
  .teacher-page-intro-side{justify-content:flex-start}
  .knowledge-hub-mini-stats{min-width:0;max-width:420px}
}
@media(max-width:650px){
  .teacher-page-intro{padding:18px 16px 18px 19px;border-radius:13px;gap:14px}
  .teacher-page-intro-copy h1{font-size:23px!important}
  .teacher-page-intro-copy p{font-size:14px!important}
  .teacher-page-intro-side{width:100%;justify-content:space-between}
  .teacher-page-search{grid-template-columns:20px minmax(0,1fr);padding:7px 10px}
  .teacher-page-search button{grid-column:1/-1;width:100%;height:40px}
  .knowledge-hub-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px}
  .knowledge-hub-mini-stats article{padding:9px 5px}
  .knowledge-hub-mini-stats strong{font-size:17px!important}
  .teacher-page-quicklinks{gap:5px}
  .teacher-page-quicklinks a{font-size:11.5px!important;padding:0 8px}
}


/* ========================================================================
   Phase 17.2 — Secure View-Only Resource Protection & Digital Rights
   ======================================================================== */
.p172-protected-tag{
 background:#eef5ff!important;color:#255f98!important;border:1px solid #c9def2!important
}
.p172-view-only-note{
 display:inline-flex;align-items:center;min-height:38px;padding:0 10px;border-radius:8px;
 background:#f4f7fa;color:#61768a;font-size:13px!important;font-weight:700
}
.p172-protection-panel{
 margin-top:18px;padding:18px;border:1px solid #cfe0ef;border-radius:13px;background:#f7fbff
}
.p172-protection-heading{
 display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:14px
}
.p172-protection-heading>div>span{font-size:11px!important;font-weight:900;letter-spacing:.07em;color:#316a9d}
.p172-protection-heading h3{margin:3px 0 5px;font-size:18px!important;color:#284d6c}
.p172-protection-heading p{margin:0!important;max-width:780px;font-size:13px!important;line-height:1.5!important;color:#708598!important}
.p172-lock-badge{
 flex:none;padding:7px 9px;border-radius:999px;background:#eaf5ee;color:#2e7749;
 border:1px solid #cee7d7;font-size:12px!important;font-weight:850
}
.p172-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.p172-policy-grid label{
 display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:start;padding:10px;
 border:1px solid #dce7ef;border-radius:9px;background:#fff
}
.p172-policy-grid input{margin-top:3px}
.p172-policy-grid strong{display:block;font-size:13px!important;color:#36546e}
.p172-policy-grid small{display:block;margin-top:2px;font-size:11px!important;color:#7b8d9d}
.p172-danger-option{border-color:#eed9d2!important;background:#fffafa!important}

.p172-protected-reader{
 -webkit-user-select:none!important;user-select:none!important;
 -webkit-touch-callout:none!important
}
.p172-protected-reader input,
.p172-protected-reader textarea,
.p172-protected-reader select{
 -webkit-user-select:text!important;user-select:text!important
}
.p172-secure-stage{position:relative;overflow:hidden;background:#17212a}
.p172-view-only-banner{
 display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 12px;background:#eef5ff;
 border:1px solid #cfe1f2;border-radius:9px 9px 0 0;color:#365a78
}
.p172-view-only-banner>span{font-size:12px!important;font-weight:900;color:#225e96}
.p172-view-only-banner>strong{font-size:12px!important}
.p172-view-only-banner>small{margin-left:auto;font-size:11px!important;color:#71879a}
.p172-frame-lock{position:relative;overflow:hidden}
.p172-frame-lock iframe{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important}
.p172-interaction-shield{
 position:absolute;inset:0;z-index:4;background:transparent;cursor:default;
 -webkit-touch-callout:none;touch-action:pan-y
}
.p172-watermark-grid{
 position:absolute;inset:-15%;z-index:5;pointer-events:none;overflow:hidden;
 display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:minmax(90px,1fr);
 transform:rotate(-18deg);align-items:center;justify-items:center
}
.p172-watermark-grid span{
 display:block;max-width:330px;color:rgba(36,65,93,.18);font-size:12px!important;font-weight:850;
 line-height:1.35;text-align:center;white-space:normal;text-transform:uppercase;letter-spacing:.02em
}
.p172-footer-watermark{
 z-index:6!important;background:rgba(255,255,255,.88)!important;color:#526d83!important;
 font-size:10px!important;pointer-events:none
}
.p172-terms-gate{
 max-width:680px;margin:45px auto;padding:28px;border-radius:16px;background:#fff;
 border:1px solid #d7e2eb;box-shadow:0 15px 42px rgba(0,0,0,.13);text-align:center
}
.p172-terms-lock{width:58px;height:58px;margin:0 auto 10px;border-radius:16px;display:grid;place-items:center;background:#edf6ff;font-size:25px!important}
.p172-terms-gate>span{font-size:11px!important;color:#2b6da5;font-weight:900;letter-spacing:.07em}
.p172-terms-gate h2{margin:6px 0 7px;color:#294b68;font-size:22px!important}
.p172-terms-gate p{font-size:14px!important;line-height:1.55!important;color:#687d90!important}
.p172-terms-gate ul{max-width:560px;margin:14px auto 18px;padding-left:22px;text-align:left;color:#5f7589}
.p172-terms-gate li{margin:6px 0;font-size:13px!important;line-height:1.45}
.p172-protected-text-notice{
 display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;padding:13px;border:1px solid #dbe5ed;
 border-radius:10px;background:#f8fafc
}
.p172-protected-text-notice>span{width:34px;height:34px;border-radius:9px;background:#edf5fc;display:grid;place-items:center}
.p172-protected-text-notice strong{display:block;font-size:13px!important;color:#36546c}
.p172-protected-text-notice p{margin:3px 0 0!important;font-size:12px!important;line-height:1.45!important;color:#758899!important}
.p172-no-share{font-size:12px!important;color:#7a8d9d;font-weight:750}
.p172-blocked-toast{
 position:fixed;left:50%;bottom:26px;z-index:99999;transform:translate(-50%,18px);
 opacity:0;pointer-events:none;padding:11px 15px;border-radius:10px;background:#172f45;color:#fff;
 font-size:13px!important;font-weight:750;box-shadow:0 10px 25px rgba(0,0,0,.22);
 transition:opacity .18s ease,transform .18s ease
}
.p172-blocked-toast.show{opacity:1;transform:translate(-50%,0)}
.p172-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.p172-admin-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}

@media(max-width:900px){
 .p172-policy-grid{grid-template-columns:1fr}
 .p172-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .p172-watermark-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
 .p172-protection-heading{flex-direction:column}
 .p172-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .p172-terms-gate{margin:18px 10px;padding:20px 15px}
 .p172-watermark-grid{grid-template-columns:1fr;grid-auto-rows:minmax(75px,1fr)}
 .p172-view-only-banner>small{margin-left:0;width:100%}
}

/* Printing is intentionally unusable for protected teacher resources. */
@media print{
 body.p172-protected-reader *{visibility:hidden!important}
 body.p172-protected-reader:before{
   content:"Printing is disabled for protected LSV resources.";
   visibility:visible!important;display:block!important;padding:50px!important;
   font:700 18px/1.5 Arial,sans-serif!important;color:#222!important
 }
}


/* ========================================================================
   Phase 17.2.1 — Secure Multimedia Viewer & Reading Experience Refinement
   ======================================================================== */
.p1721-media-stage{position:relative;min-width:0}
.p1721-security-chip{
 position:absolute;top:10px;left:12px;z-index:15;
 padding:6px 9px;border-radius:999px;background:rgba(238,246,253,.94);
 border:1px solid rgba(192,215,235,.9);color:#2a5f8d;
 font-size:11px!important;font-weight:850;letter-spacing:.02em;
 box-shadow:0 4px 12px rgba(28,58,84,.08);pointer-events:none
}
.p1721-terms-gate{max-width:600px}
.p1721-terms-gate p{max-width:490px;margin-left:auto!important;margin-right:auto!important}
.p1721-document-frame{position:relative}
.p1721-watermark-grid{
 inset:-8%!important;
 grid-template-columns:repeat(2,1fr)!important;
 grid-auto-rows:minmax(150px,1fr)!important;
 transform:rotate(-17deg)!important;
 z-index:5!important
}
.p1721-watermark-grid span{
 max-width:270px!important;
 color:rgba(36,65,93,.075)!important;
 font-size:10px!important;
 font-weight:800!important;
 line-height:1.35!important;
 letter-spacing:.025em!important
}
.p1721-footer-watermark{
 background:rgba(255,255,255,.78)!important;
 color:#718497!important;font-size:9px!important;
 padding:3px 8px!important
}

/* Persistent document navigation */
.p1721-page-edge{
 position:absolute;top:50%;z-index:12;transform:translateY(-50%);
 width:48px;height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:1px;border-radius:12px;background:rgba(255,255,255,.94);
 border:1px solid #d5e1ea;color:#315d82;
 box-shadow:0 7px 22px rgba(20,51,79,.13);
 transition:transform .16s ease,box-shadow .16s ease,background .16s ease
}
.p1721-page-edge:hover{background:#fff;box-shadow:0 11px 27px rgba(20,51,79,.18);transform:translateY(-50%) scale(1.03)}
.p1721-page-edge.previous{left:12px}.p1721-page-edge.next{right:12px}
.p1721-page-edge span{font-size:30px!important;line-height:.9}.p1721-page-edge small{font-size:9px!important;font-weight:800}
.p1721-page-edge.disabled{opacity:.28;pointer-events:none}
.p1721-bottom-page-nav{
 display:flex;align-items:center;justify-content:center;gap:28px;
 min-height:50px;margin-top:8px;padding:7px 12px;border-radius:11px;
 border:1px solid #dce5ec;background:#fff
}
.p1721-bottom-page-nav a{
 display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;
 border-radius:8px;color:#315e85;font-size:12px!important;font-weight:800
}
.p1721-bottom-page-nav a:hover{background:#edf5fb}
.p1721-bottom-page-nav a.disabled{opacity:.3;pointer-events:none}
.p1721-bottom-page-nav strong{font-size:13px!important;color:#294d6b}.p1721-bottom-page-nav strong span{color:#7b8e9f;font-weight:650}

/* Cleaner reader command bar */
.p1721-reader-actions{gap:5px!important}
.p1721-reader-actions .reader-tool{min-width:36px!important}
.p1721-reader-actions .reader-tool.text{padding-left:9px!important;padding-right:9px!important}
.reader-command-bar{gap:10px!important}
.reader-command-title>div>small{font-size:10px!important}
.p172-protected-reader .reader-command-actions .reader-session-timer,
.p172-protected-reader .reader-command-actions [data-reader-action="dark"],
.p172-protected-reader .reader-command-actions [data-reader-action="presentation"]{display:none!important}

/* Unified media canvas */
.p1721-media-canvas{
 position:relative;min-height:520px;display:grid;place-items:center;
 overflow:hidden;border-radius:8px;background:#101820
}
.p1721-image-canvas{padding:28px;background:#e9eef2}
.p1721-image-canvas img{
 display:block;max-width:min(100%,1100px);max-height:78vh;width:auto;height:auto;
 object-fit:contain;box-shadow:0 10px 34px rgba(13,34,52,.17);
 -webkit-user-drag:none;user-select:none
}
.p1721-video-canvas{background:#080d12;aspect-ratio:16/9;min-height:0}
.p1721-video-canvas video{width:100%;height:100%;max-height:76vh;object-fit:contain;background:#000;position:relative;z-index:3}
.p1721-external-video{aspect-ratio:16/9;min-height:0;background:#000}
.p1721-external-video iframe{width:100%;height:100%;border:0;display:block;position:relative;z-index:3}
.p1721-media-canvas .p1721-watermark-grid{pointer-events:none!important;z-index:7!important}
.p1721-audio-canvas{
 position:relative;min-height:480px;padding:36px;display:flex;flex-direction:column;
 align-items:center;justify-content:center;gap:16px;text-align:center;
 background:linear-gradient(145deg,#eef5fb,#fbfdff);border-radius:8px
}
.p1721-audio-art{width:220px;aspect-ratio:1;border-radius:22px;overflow:hidden;display:grid;place-items:center;background:#dcebf6}
.p1721-audio-art>span{font-size:70px!important;color:#2b6fa8}.p1721-audio-cover{width:100%;height:100%;object-fit:cover}
.p1721-audio-canvas h2{margin:0;color:#294c69;font-size:22px!important}
.p1721-audio-canvas audio{width:min(620px,100%)}
.p1721-audio-canvas>small{font-size:9px!important;color:#8a98a6}
.p1721-external-resource{
 min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:10px;text-align:center;padding:28px;background:#f6f9fb;border-radius:8px
}
.p1721-external-resource>span{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;background:#e7f1f8;color:#2d6a9c;font-size:24px!important}
.p1721-external-resource h2{margin:0;color:#294c69;font-size:22px!important}.p1721-external-resource p{font-size:13px!important;color:#718598!important}

/* Right panel: useful facts, not repeated security wording */
.p1721-resource-facts{display:grid;gap:7px}
.p1721-resource-facts>div{padding:9px 10px;border:1px solid #e2e9ef;border-radius:9px;background:#fafcfd}
.p1721-resource-facts span{display:block;font-size:9px!important;text-transform:uppercase;letter-spacing:.05em;color:#8293a3;font-weight:800}
.p1721-resource-facts strong{display:block;margin-top:2px;font-size:12px!important;color:#38556f}

/* Admin multimedia resource entry */
.p1721-media-section{
 grid-column:1/-1;margin-top:4px;padding:17px;border:1px solid #dbe6ee;
 border-radius:12px;background:#f8fbfd
}
.p1721-media-heading{margin-bottom:13px}
.p1721-media-heading>span{font-size:10px!important;font-weight:900;letter-spacing:.07em;color:#2c6ea5}
.p1721-media-heading h3{margin:3px 0 4px;font-size:17px!important;color:#2b4f6d}
.p1721-media-heading p{margin:0!important;font-size:12px!important;line-height:1.45!important;color:#758899!important}
.p1721-media-section>[data-media-source]{margin-top:12px}
.p1721-media-section>[data-media-source]>small{display:block;margin-top:5px;font-size:10px!important;color:#8292a0}
.p1721-media-meta{margin-top:12px}
.p1721-access-flags{display:flex;flex-wrap:wrap;gap:9px 14px;align-items:center;padding-top:26px}
.p1721-access-flags label{display:flex;align-items:center;gap:6px;font-size:12px!important;color:#48657e;font-weight:700}
.p1721-media-section textarea{font-size:13px!important}

/* Resource card media cue */
.p17-card-meta span:last-child{font-weight:750;color:#5a7388}

/* Focus mode keeps resource dominant */
body.reader-focus-mode .professional-reader{grid-template-columns:minmax(0,1fr)!important}
body.reader-focus-mode .reader-info-panel,
body.reader-focus-mode .reader-insight-panel{display:none!important}
body.reader-focus-mode .reader-document-stage{max-width:1500px;margin:auto;width:100%}

/* Mobile document navigation */
@media(max-width:900px){
 .p1721-page-edge{display:none}
 .p1721-bottom-page-nav{
   position:sticky;bottom:8px;z-index:30;margin:8px 8px 0;
   gap:8px;justify-content:space-between;
   box-shadow:0 8px 25px rgba(19,50,76,.15)
 }
 .p1721-bottom-page-nav a{flex:1;justify-content:center;background:#f4f8fb}
 .p1721-bottom-page-nav strong{min-width:64px;text-align:center}
 .p1721-media-canvas{min-height:420px}
 .p1721-watermark-grid{grid-template-columns:1fr!important;grid-auto-rows:minmax(120px,1fr)!important}
}
@media(max-width:600px){
 .reader-command-bar{padding:8px!important}
 .reader-command-title>div>small{display:none}
 .p1721-reader-actions .reader-tool.text{display:none!important}
 .p1721-reader-actions .reader-zoom-label{display:none!important}
 .p1721-media-canvas{min-height:320px;border-radius:5px}
 .p1721-image-canvas{padding:10px}
 .p1721-audio-canvas{min-height:360px;padding:20px}
 .p1721-audio-art{width:170px}
 .p1721-bottom-page-nav a span{display:none}
 .p1721-watermark-grid span{font-size:8px!important;color:rgba(36,65,93,.085)!important}
 .p1721-security-chip{top:7px;left:7px}
 .p1721-policy-grid{grid-template-columns:1fr!important}
}


/* ========================================================================
   Phase 17.2.2 — Adaptive Page-Flip Digital Book Reader
   ======================================================================== */
.p1722-book-stage{
 position:relative;
 min-height:430px;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:14px;
 padding:24px 66px;
 overflow:hidden;
 border-radius:12px;
 background:
   radial-gradient(circle at 50% 18%,rgba(255,255,255,.92),rgba(244,247,249,.82) 45%,rgba(230,235,239,.95) 100%);
 border:1px solid #d9e2e9;
 perspective:1800px;
 isolation:isolate;
}
.p1722-page-sheet{
 position:relative;
 flex:0 0 auto;
 max-width:100%;
 min-width:180px;
 min-height:240px;
 transform-style:preserve-3d;
 transform-origin:center;
 will-change:transform,opacity;
}
.p1722-page-paper{
 position:relative;
 width:100%;
 height:100%;
 overflow:hidden;
 background:#fff;
 border:1px solid rgba(35,54,72,.16);
 box-shadow:
   0 2px 4px rgba(23,42,58,.08),
   0 15px 40px rgba(23,42,58,.17);
}
.p1722-page-sheet.portrait .p1722-page-paper{border-radius:3px}
.p1722-page-sheet.landscape .p1722-page-paper{border-radius:4px}
.p1722-page-paper iframe{
 position:absolute!important;
 inset:0!important;
 width:100%!important;
 height:100%!important;
 min-height:0!important;
 border:0!important;
 display:block!important;
 background:#fff!important;
}
.p1722-page-sheet .p172-interaction-shield{
 position:absolute!important;
 inset:0!important;
 z-index:4!important;
}
.p1722-page-watermark{
 position:absolute!important;
 inset:0!important;
 z-index:5!important;
 transform:rotate(-15deg)!important;
 grid-template-columns:repeat(2,1fr)!important;
 grid-template-rows:repeat(3,1fr)!important;
 gap:4px!important;
 overflow:hidden!important;
}
.p1722-page-watermark span{
 color:rgba(38,67,92,.07)!important;
 font-size:9px!important;
 max-width:210px!important;
 align-self:center!important;
 justify-self:center!important;
}
.p1722-page-number{
 position:absolute;
 right:8px;
 bottom:5px;
 z-index:7;
 min-width:24px;
 padding:2px 5px;
 border-radius:999px;
 background:rgba(255,255,255,.78);
 color:#718394;
 font-size:9px!important;
 font-weight:750;
 text-align:center;
 pointer-events:none;
}

/* Open-book spine and page edge treatment */
.p1722-book-stage.book-mode{gap:5px;padding-left:58px;padding-right:58px}
.p1722-book-stage.book-mode:after{
 content:"";
 position:absolute;
 top:9%;
 bottom:9%;
 left:50%;
 width:16px;
 transform:translateX(-50%);
 z-index:3;
 pointer-events:none;
 background:linear-gradient(90deg,transparent,rgba(31,48,63,.12),rgba(255,255,255,.45),rgba(31,48,63,.10),transparent);
 filter:blur(.4px);
}
.p1722-book-stage.book-mode .p1722-primary-sheet .p1722-page-paper{
 border-radius:4px 1px 1px 4px;
 box-shadow:-6px 12px 30px rgba(21,39,55,.14),2px 7px 18px rgba(21,39,55,.10);
}
.p1722-book-stage.book-mode .p1722-secondary-sheet .p1722-page-paper{
 border-radius:1px 4px 4px 1px;
 box-shadow:6px 12px 30px rgba(21,39,55,.14),-2px 7px 18px rgba(21,39,55,.10);
}

/* Page controls become stronger only when the reader area is hovered. */
.p1722-book-stage .p1721-page-edge{
 opacity:.48;
 transition:opacity .15s ease,transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.p1722-book-stage:hover .p1721-page-edge{opacity:.96}
.p1722-book-stage .p1721-page-edge.disabled{opacity:.18}

/* Fast professional page-turn animation. */
@keyframes p1722FlipNext{
 0%{transform:perspective(1600px) rotateY(0deg) translateX(0);opacity:1}
 55%{transform:perspective(1600px) rotateY(-14deg) translateX(-7px);opacity:.86}
 100%{transform:perspective(1600px) rotateY(-22deg) translateX(-16px);opacity:.18}
}
@keyframes p1722FlipPrevious{
 0%{transform:perspective(1600px) rotateY(0deg) translateX(0);opacity:1}
 55%{transform:perspective(1600px) rotateY(14deg) translateX(7px);opacity:.86}
 100%{transform:perspective(1600px) rotateY(22deg) translateX(16px);opacity:.18}
}
@keyframes p1722EnterNext{
 0%{transform:perspective(1600px) rotateY(12deg) translateX(10px);opacity:.28}
 100%{transform:perspective(1600px) rotateY(0) translateX(0);opacity:1}
}
@keyframes p1722EnterPrevious{
 0%{transform:perspective(1600px) rotateY(-12deg) translateX(-10px);opacity:.28}
 100%{transform:perspective(1600px) rotateY(0) translateX(0);opacity:1}
}
.p1722-book-stage.flip-next .p1722-primary-sheet{transform-origin:left center;animation:p1722FlipNext .19s ease-in forwards}
.p1722-book-stage.flip-previous .p1722-primary-sheet{transform-origin:right center;animation:p1722FlipPrevious .19s ease-in forwards}
.p1722-book-stage.enter-next .p1722-primary-sheet{animation:p1722EnterNext .24s ease-out both}
.p1722-book-stage.enter-previous .p1722-primary-sheet{animation:p1722EnterPrevious .24s ease-out both}

.p1722-mode-toggle{
 text-decoration:none!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
}
.p1722-mode-toggle.active{
 background:#e9f3fb!important;
 border-color:#b9d6ec!important;
 color:#255f90!important;
 font-weight:850!important;
}
.p1722-bottom-nav{max-width:720px;margin-left:auto!important;margin-right:auto!important}

/* The page-flip sheet determines document dimensions, not the legacy fixed iframe frame. */
.p172-protected-reader .p1722-book-stage .reader-frame-wrap,
.p172-protected-reader .p1722-book-stage iframe{
 min-height:0!important;
}
.p172-protected-reader .p1722-book-stage.single-mode .p1722-page-sheet{
 max-width:96%;
}
.p172-protected-reader .p1722-book-stage.book-mode .p1722-page-sheet{
 max-width:calc(50% - 4px);
}

/* Fullscreen/focus give the book additional usable reading area. */
body.reader-focus-mode .p1722-book-stage{
 min-height:calc(100vh - 155px);
 padding-top:18px;
 padding-bottom:18px;
}
:fullscreen .p1722-book-stage{
 min-height:calc(100vh - 82px);
 border:0;
 border-radius:0;
}

/* Tablet and phone: always present one page; swipe replaces the desktop book spread. */
@media(max-width:1023px){
 .p1722-mode-toggle[href*="mode=book"]{display:none!important}
 .p1722-book-stage{
   padding:16px 18px;
   min-height:420px;
 }
 .p1722-book-stage .p1721-page-edge{display:none!important}
 .p1722-page-watermark{
   grid-template-columns:1fr!important;
   grid-template-rows:repeat(4,1fr)!important;
 }
 .p1722-page-watermark span{font-size:8px!important;color:rgba(38,67,92,.075)!important}
}
@media(max-width:600px){
 .p1722-book-stage{
   min-height:300px;
   padding:10px 6px;
   border-radius:7px;
 }
 .p1722-page-sheet{min-width:130px;min-height:190px}
 .p1722-bottom-nav{
   margin-left:4px!important;
   margin-right:4px!important;
 }
 .p1722-page-number{font-size:8px!important}
}

/* Respect reduced-motion accessibility preferences. */
@media(prefers-reduced-motion:reduce){
 .p1722-book-stage.flip-next .p1722-primary-sheet,
 .p1722-book-stage.flip-previous .p1722-primary-sheet,
 .p1722-book-stage.enter-next .p1722-primary-sheet,
 .p1722-book-stage.enter-previous .p1722-primary-sheet{
   animation:none!important;
 }
}


/* ========================================================================
   Phase 17.2.3 — Stable Page-by-Page Reader & Fullscreen Continuity
   ======================================================================== */

/* The PDF plug-in remains inside a fixed page sheet; its own scrollbar chrome
   is visually masked because navigation is controlled by the LSV reader. */
.p1723-scroll-mask{
 position:absolute;
 z-index:6;
 pointer-events:none;
 display:block;
}
.p1723-scroll-mask.right{
 top:0;
 right:0;
 bottom:0;
 width:13px;
 background:linear-gradient(90deg,rgba(43,43,43,0),rgba(43,43,43,.88) 48%,#2b2b2b 72%);
}
.p1723-scroll-mask.bottom{
 left:0;
 right:0;
 bottom:0;
 height:12px;
 background:linear-gradient(180deg,rgba(43,43,43,0),rgba(43,43,43,.9) 52%,#2b2b2b 78%);
}
.p1722-page-paper{
 overflow:hidden!important;
}
.p1722-page-paper iframe{
 overflow:hidden!important;
}
.p1722-book-stage{
 overflow:hidden!important;
}

/* Complete page is the default visual contract. The reader canvas owns the
   dimensions; the browser PDF plug-in no longer controls the outer layout. */
.p1722-book-stage.single-mode{
 padding-top:18px!important;
 padding-bottom:18px!important;
}
.p1722-book-stage.single-mode .p1722-page-sheet{
 margin:auto;
}
.p1722-book-stage.page-loading:before{
 content:"";
 position:absolute;
 inset:0;
 z-index:2;
 pointer-events:none;
 background:rgba(239,243,246,.12);
}
.p1722-book-stage.page-loading .p1721-page-edge{
 pointer-events:none!important;
 opacity:.22!important;
}

/* Toolbar cleanup */
.p1721-reader-actions{
 display:flex!important;
 align-items:center!important;
 justify-content:flex-end!important;
 gap:6px!important;
 flex-wrap:nowrap!important;
}
.p1721-reader-actions .reader-tool{
 min-height:38px!important;
 border-radius:9px!important;
}
.p1723-fit-page.active{
 background:#edf6fd!important;
 border-color:#bedbef!important;
 color:#235d8e!important;
 font-weight:850!important;
}
.reader-command-bar{
 position:sticky;
 top:0;
 z-index:40;
 background:rgba(255,255,255,.97);
 backdrop-filter:blur(10px);
}
.reader-page-control{
 flex:none;
}
.reader-page-control input{
 text-align:center;
}

/* In focus and fullscreen modes the resource canvas gets the available width
   and stays there while Next/Previous changes only the embedded PDF page. */
body.reader-focus-mode .reader-command-bar{
 top:0;
}
body.reader-focus-mode .professional-reader{
 grid-template-columns:minmax(0,1fr)!important;
}
body.reader-focus-mode .p1722-book-stage{
 min-height:calc(100vh - 150px)!important;
}
body.p1723-fullscreen-active .reader-document-stage{
 width:100vw!important;
 height:100vh!important;
 max-width:none!important;
 margin:0!important;
 background:#eef2f5!important;
}
body.p1723-fullscreen-active .p1722-book-stage{
 min-height:calc(100vh - 58px)!important;
 height:calc(100vh - 58px)!important;
 border-radius:0!important;
 border:0!important;
}
body.p1723-fullscreen-active .p1722-bottom-nav{
 position:absolute!important;
 left:50%;
 bottom:10px;
 transform:translateX(-50%);
 z-index:40;
 width:min(660px,calc(100% - 24px));
 box-shadow:0 8px 28px rgba(16,43,65,.16);
}

/* No whole-page flash during a page turn. */
.p1722-book-stage .p1722-page-sheet{
 backface-visibility:hidden;
}
.p1722-book-stage.flip-next .p1722-primary-sheet,
.p1722-book-stage.flip-previous .p1722-primary-sheet{
 animation-duration:.16s!important;
}
.p1722-book-stage.enter-next .p1722-primary-sheet,
.p1722-book-stage.enter-previous .p1722-primary-sheet{
 animation-duration:.18s!important;
}

/* Page navigation remains clear and does not cover the actual paper. */
.p1722-book-stage .p1721-page-edge.previous{left:10px!important}
.p1722-book-stage .p1721-page-edge.next{right:10px!important}
.p1722-book-stage .p1721-page-edge{
 width:44px!important;
 height:70px!important;
 background:rgba(255,255,255,.88)!important;
}

/* Tablet/mobile: one page, no internal PDF chrome, sticky page navigation. */
@media(max-width:1023px){
 .reader-command-bar{
   position:sticky!important;
   top:0!important;
 }
 .p1722-book-stage{
   padding:12px 8px!important;
 }
 .p1723-scroll-mask.right{width:11px}
 .p1723-scroll-mask.bottom{height:10px}
}
@media(max-width:720px){
 .reader-command-bar{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto!important;
   gap:7px!important;
 }
 .reader-command-title{grid-column:1/-1}
 .reader-page-control{justify-self:start}
 .p1721-reader-actions{justify-self:end}
 .p1722-mode-toggle[href*="mode=book"]{display:none!important}
 .p1722-bottom-nav{
   position:sticky!important;
   bottom:8px!important;
   z-index:45!important;
 }
}


/* ========================================================================
   Phase 17.3 — Premium Unified Learning Viewer
   Native PDF canvas rendering + adaptive media + verified progress
   ======================================================================== */

.p173-unified-reader-shell{
 width:100%;
 min-width:0;
 position:relative;
 background:#f5f7f9;
 border-radius:16px;
}
.p173-unified-reader-shell .reader-command-bar{
 top:126px;
 z-index:70;
 margin-bottom:10px;
 border-radius:13px;
 box-shadow:0 5px 20px rgba(22,54,78,.06);
}
.p173-unified-reader-shell .professional-reader{
 grid-template-columns:minmax(170px,16%) minmax(540px,1fr) minmax(205px,16%);
 gap:10px;
 min-height:0;
 align-items:start;
}
.p173-unified-reader-shell .reader-info-panel,
.p173-unified-reader-shell .reader-insight-panel{
 padding:12px;
 border-radius:13px;
 box-shadow:0 4px 16px rgba(25,56,80,.035);
 top:188px;
}
.p173-unified-reader-shell .reader-resource-heading h2{font-size:16px!important}
.p173-unified-reader-shell .reader-resource-heading p{font-size:12px!important}
.p173-unified-reader-shell .reader-progress-card span{font-size:11px!important}
.p173-unified-reader-shell .reader-progress-card small{font-size:11px!important;line-height:1.45!important}
.p173-unified-reader-shell .reader-command-title strong{font-size:14px!important}
.p173-unified-reader-shell .reader-command-title small{font-size:11px!important}
.p173-unified-reader-shell .reader-page-control label{font-size:12px!important}
.p173-unified-reader-shell .reader-tool.text{font-size:11px!important}
.p173-unified-reader-shell .reader-tool{font-size:12px!important}

/* -------- Native PDF canvas stage -------- */
.p173-pdf-stage{
 position:relative;
 min-width:0;
 width:100%;
 min-height:clamp(480px,calc(100vh - 300px),850px);
 display:flex;
 align-items:center;
 justify-content:center;
 padding:18px 58px;
 overflow:hidden;
 border:1px solid #d8e1e8;
 border-radius:13px;
 background:
  radial-gradient(circle at 50% 16%,rgba(255,255,255,.98),rgba(247,249,250,.96) 44%,rgba(237,241,244,.98) 100%);
 isolation:isolate;
}
.p173-pdf-spread{
 position:relative;
 z-index:4;
 width:100%;
 min-width:0;
 min-height:0;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:10px;
 perspective:1800px;
 transform-style:preserve-3d;
}
.p173-pdf-page{
 position:relative;
 flex:0 0 auto;
 min-width:0;
 display:grid;
 place-items:center;
 transform-style:preserve-3d;
 backface-visibility:hidden;
}
.p173-pdf-page[hidden]{display:none!important}
.p173-pdf-paper{
 position:relative;
 display:grid;
 place-items:center;
 overflow:hidden;
 background:#fff;
 border:1px solid rgba(38,57,75,.15);
 border-radius:3px;
 box-shadow:
  0 1px 2px rgba(17,37,55,.06),
  0 11px 31px rgba(17,37,55,.16);
}
.p173-pdf-paper canvas:not(.p173-pdf-buffer){
 display:block;
 width:auto;
 height:auto;
 max-width:none;
 max-height:none;
 background:#fff;
}
.p173-pdf-buffer{
 position:absolute!important;
 inset:0!important;
 visibility:hidden!important;
 pointer-events:none!important;
}
.p173-page-number{
 position:absolute;
 right:7px;
 bottom:5px;
 z-index:11;
 min-width:24px;
 padding:2px 6px;
 border-radius:999px;
 background:rgba(255,255,255,.78);
 color:#708395;
 font-size:9px!important;
 font-weight:800;
 text-align:center;
 pointer-events:none;
}
.p173-page-watermarks{
 position:absolute;
 inset:0;
 z-index:9;
 pointer-events:none;
 overflow:hidden;
 display:grid;
 grid-template-columns:repeat(2,1fr);
 grid-template-rows:repeat(3,1fr);
 align-items:center;
 justify-items:center;
 transform:rotate(-15deg);
}
.p173-page-watermarks span{
 max-width:210px;
 color:rgba(38,67,92,.072);
 font-size:9px!important;
 line-height:1.3;
 font-weight:850;
 letter-spacing:.02em;
 text-align:center;
 text-transform:uppercase;
}

/* Clean open-book presentation: no black browser edges, no PDF scrollbars. */
.p173-pdf-stage.book-mode .p173-pdf-spread{gap:6px}
.p173-pdf-stage.book-mode .p173-pdf-spread:after{
 content:"";
 position:absolute;
 top:5%;
 bottom:5%;
 left:50%;
 width:10px;
 transform:translateX(-50%);
 z-index:2;
 pointer-events:none;
 background:linear-gradient(90deg,transparent,rgba(41,59,74,.08),rgba(255,255,255,.58),rgba(41,59,74,.07),transparent);
}
.p173-pdf-stage.book-mode .p173-pdf-page-primary .p173-pdf-paper{
 border-radius:4px 1px 1px 4px;
}
.p173-pdf-stage.book-mode .p173-pdf-page-secondary .p173-pdf-paper{
 border-radius:1px 4px 4px 1px;
}

/* Async render loading never removes the current page. */
.p173-page-loader{
 position:absolute;
 inset:0;
 z-index:30;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:10px;
 background:rgba(243,246,248,.92);
 color:#31546f;
 border-radius:13px;
 transition:opacity .16s ease;
}
.p173-page-loader[hidden]{display:none!important}
.p173-page-loader.compact{
 inset:auto 50% 18px auto;
 transform:translateX(50%);
 flex-direction:row;
 padding:8px 12px;
 border:1px solid #d7e3eb;
 background:rgba(255,255,255,.94);
 border-radius:999px;
 box-shadow:0 6px 20px rgba(20,49,73,.12);
}
.p173-page-loader strong{font-size:12px!important}
.p173-spinner{
 width:24px;height:24px;border-radius:50%;
 border:3px solid #d8e7f1;border-top-color:#2d71a7;
 animation:p173Spin .8s linear infinite;
}
.p173-page-loader.compact .p173-spinner{width:15px;height:15px;border-width:2px}
@keyframes p173Spin{to{transform:rotate(360deg)}}
.p173-render-error{
 max-width:460px;
 padding:24px;
 display:grid;
 gap:8px;
 text-align:center;
 background:#fff;
 border:1px solid #dbe5ec;
 border-radius:14px;
 box-shadow:0 12px 36px rgba(26,51,71,.1);
}
.p173-render-error strong{font-size:16px!important;color:#294e6b}
.p173-render-error span{font-size:12px!important;color:#728697}
.p173-render-error button{
 justify-self:center;
 margin-top:4px;
 padding:8px 13px;
 border:1px solid #bed7e8;
 border-radius:8px;
 background:#edf6fc;
 color:#2c6693;
 font-weight:800;
 cursor:pointer;
}

/* Page turn: restrained and fast. */
@keyframes p173TurnNext{
 from{transform:translateX(0) rotateY(0);opacity:1}
 to{transform:translateX(-11px) rotateY(-8deg);opacity:.82}
}
@keyframes p173TurnPrevious{
 from{transform:translateX(0) rotateY(0);opacity:1}
 to{transform:translateX(11px) rotateY(8deg);opacity:.82}
}
@keyframes p173EnterNext{
 from{transform:translateX(9px) rotateY(6deg);opacity:.82}
 to{transform:translateX(0) rotateY(0);opacity:1}
}
@keyframes p173EnterPrevious{
 from{transform:translateX(-9px) rotateY(-6deg);opacity:.82}
 to{transform:translateX(0) rotateY(0);opacity:1}
}
.p173-pdf-spread.turn-next .p173-pdf-page{animation:p173TurnNext .10s ease-in both}
.p173-pdf-spread.turn-previous .p173-pdf-page{animation:p173TurnPrevious .10s ease-in both}
.p173-pdf-spread.enter-next .p173-pdf-page{animation:p173EnterNext .17s ease-out both}
.p173-pdf-spread.enter-previous .p173-pdf-page{animation:p173EnterPrevious .17s ease-out both}

/* Premium edge navigation. */
.p173-edge-nav{
 position:absolute;
 top:50%;
 z-index:25;
 transform:translateY(-50%);
 width:43px;
 height:70px;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:1px;
 border:1px solid #d3e0e8;
 border-radius:12px;
 background:rgba(255,255,255,.86);
 color:#376482;
 box-shadow:0 6px 20px rgba(23,52,75,.09);
 cursor:pointer;
 opacity:.48;
 transition:opacity .15s ease,background .15s ease,transform .15s ease;
}
.p173-pdf-stage:hover .p173-edge-nav{opacity:.92}
.p173-edge-nav:hover{background:#fff;transform:translateY(-50%) scale(1.025)}
.p173-edge-nav.previous{left:9px}.p173-edge-nav.next{right:9px}
.p173-edge-nav span{font-size:28px!important;line-height:.9}
.p173-edge-nav small{font-size:9px!important;font-weight:800}
.p173-edge-nav.disabled,.p173-edge-nav:disabled{opacity:.18!important;pointer-events:none}
.p173-bottom-nav{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:22px;
 min-height:48px;
 max-width:700px;
 margin:8px auto 0;
 padding:6px 10px;
 border:1px solid #dce5eb;
 border-radius:11px;
 background:#fff;
}
.p173-bottom-nav button{
 min-height:34px;
 padding:0 12px;
 border:0;
 border-radius:8px;
 background:transparent;
 color:#315e82;
 font-size:12px!important;
 font-weight:800;
 cursor:pointer;
}
.p173-bottom-nav button:hover{background:#eef5fa}
.p173-bottom-nav button.disabled,.p173-bottom-nav button:disabled{opacity:.3;pointer-events:none}
.p173-bottom-nav strong{font-size:13px!important;color:#294f6d}
.p173-bottom-nav strong span{color:#7e91a1;font-weight:650}

/* -------- Adaptive media -------- */
.p173-media-shell{
 width:100%;
 min-width:0;
 display:grid;
 gap:10px;
 align-content:start;
 justify-items:center;
 padding:0;
 background:transparent;
}
.p173-video-frame{
 position:relative;
 width:min(100%,1040px);
 aspect-ratio:16 / 9;
 overflow:hidden;
 display:grid;
 place-items:center;
 border-radius:12px;
 background:#0b1117;
 box-shadow:0 10px 34px rgba(15,34,49,.12);
}
.p173-video-frame iframe,
.p173-video-frame video{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 border:0;
 display:block;
 object-fit:contain;
 background:#000;
 z-index:3;
}
.p173-auto-ratio{aspect-ratio:var(--media-ratio,16/9)}
.p173-auto-ratio.portrait{
 width:min(100%,500px);
 max-height:calc(100vh - 270px);
 aspect-ratio:var(--media-ratio,.5625);
}
.p173-auto-ratio.square{width:min(100%,700px)}
.p173-auto-ratio.landscape{width:min(100%,1040px)}
.p173-media-watermarks{
 position:absolute;
 inset:0;
 z-index:7;
 pointer-events:none;
 display:grid;
 grid-template-columns:repeat(2,1fr);
 grid-template-rows:repeat(2,1fr);
 align-items:center;
 justify-items:center;
 transform:rotate(-14deg);
 overflow:hidden;
}
.p173-media-watermarks span{
 color:rgba(255,255,255,.11);
 font-size:9px!important;
 font-weight:850;
 text-transform:uppercase;
 text-shadow:0 1px 2px rgba(0,0,0,.18);
}
.p173-media-progress{
 width:min(100%,1040px);
 padding:9px 12px;
 border:1px solid #dde6ec;
 border-radius:10px;
 background:#fff;
}
.p173-media-progress>div:first-child{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
}
.p173-media-progress strong{font-size:12px!important;color:#305775}
.p173-media-progress span{font-size:11px!important;color:#718697;text-transform:capitalize}
.p173-progress-track{
 height:5px;
 margin-top:7px;
 overflow:hidden;
 border-radius:999px;
 background:#e6edf2;
}
.p173-progress-track i{
 display:block;height:100%;border-radius:999px;background:#3b7fb4;
 transition:width .25s ease;
}
.p173-audio-progress{margin-top:4px}

/* Existing generic external-video canvas must not create blank height. */
.p1721-external-video,
.p1721-media-canvas.p1721-external-video,
.p173-external-video-shell{
 min-height:0!important;
 height:auto!important;
 background:transparent!important;
}
.p173-external-video-shell .p173-video-frame{margin:0 auto}

/* Resource detail verified progress */
.p173-detail-progress{
 display:inline-flex;
 align-items:center;
 gap:8px;
 min-height:38px;
 padding:0 11px;
 border:1px solid #cfe0eb;
 border-radius:9px;
 background:#f3f8fb;
 color:#315f7f;
}
.p173-detail-progress strong{font-size:14px!important}
.p173-detail-progress span{font-size:11px!important;font-weight:750}

/* -------- Fullscreen / Focus -------- */
#unifiedReaderShell:fullscreen{
 width:100vw;
 height:100vh;
 overflow:hidden;
 padding:10px;
 border-radius:0;
 background:#eef2f5;
}
#unifiedReaderShell:fullscreen .reader-command-bar{
 position:relative!important;
 top:0!important;
 margin:0 0 8px!important;
 border-radius:11px!important;
 z-index:90!important;
}
#unifiedReaderShell:fullscreen .professional-reader{
 height:calc(100vh - 68px);
 grid-template-columns:minmax(0,1fr)!important;
}
#unifiedReaderShell:fullscreen .reader-info-panel,
#unifiedReaderShell:fullscreen .reader-insight-panel{
 display:none!important;
}
#unifiedReaderShell:fullscreen .reader-document-stage{
 width:100%!important;
 height:100%!important;
 min-height:0!important;
 overflow:hidden!important;
}
#unifiedReaderShell:fullscreen .p173-pdf-stage{
 min-height:calc(100vh - 138px);
 height:calc(100vh - 138px);
 padding-top:12px;
 padding-bottom:12px;
 border-radius:10px;
}
#unifiedReaderShell:fullscreen .p173-bottom-nav{
 position:absolute;
 left:50%;
 bottom:8px;
 z-index:80;
 transform:translateX(-50%);
 width:min(680px,calc(100% - 30px));
 box-shadow:0 8px 26px rgba(20,48,70,.15);
}
#unifiedReaderShell:fullscreen .p173-media-shell{
 height:calc(100vh - 90px);
 align-content:center;
}
#unifiedReaderShell:fullscreen .p173-video-frame{
 max-height:calc(100vh - 150px);
}
#unifiedReaderShell:fullscreen ~ .lsv-assistant,
body:has(#unifiedReaderShell:fullscreen) .ask-lsv,
body:has(#unifiedReaderShell:fullscreen) [class*="assistant-fab"]{
 display:none!important;
}

body.reader-focus-mode .p173-unified-reader-shell .professional-reader{
 grid-template-columns:minmax(0,1fr)!important;
}
body.reader-focus-mode .p173-unified-reader-shell .reader-info-panel,
body.reader-focus-mode .p173-unified-reader-shell .reader-insight-panel{
 display:none!important;
}
body.reader-focus-mode .p173-pdf-stage{
 min-height:calc(100vh - 220px);
}

/* -------- Responsive -------- */
@media(max-width:1280px){
 .p173-unified-reader-shell .professional-reader{
   grid-template-columns:minmax(155px,18%) minmax(520px,1fr);
 }
 .p173-unified-reader-shell .reader-insight-panel{display:none}
 .p173-pdf-stage{padding-left:52px;padding-right:52px}
}
@media(max-width:920px){
 .p173-unified-reader-shell .professional-reader{grid-template-columns:minmax(0,1fr)}
 .p173-unified-reader-shell .reader-info-panel,
 .p173-unified-reader-shell .reader-insight-panel{
   position:relative;top:auto;max-height:none;
 }
 .p173-unified-reader-shell .reader-info-panel{display:none}
 .p173-pdf-stage{
   min-height:calc(100vh - 265px);
   padding:12px 8px;
 }
 .p173-edge-nav{display:none}
 .p173-pdf-stage.book-mode .p173-pdf-page-secondary{display:none!important}
 .p173-bottom-nav{
   position:sticky;
   bottom:7px;
   z-index:50;
   width:calc(100% - 10px);
   box-shadow:0 8px 24px rgba(20,48,70,.13);
 }
 .p173-video-frame{width:100%}
}
@media(max-width:640px){
 .p173-unified-reader-shell .reader-command-bar{
   grid-template-columns:minmax(0,1fr) auto!important;
   gap:6px!important;
   padding:8px!important;
 }
 .p173-unified-reader-shell .reader-command-title{grid-column:1/-1}
 .p173-unified-reader-shell .reader-page-control{justify-self:start}
 .p173-unified-reader-shell .p1721-reader-actions{justify-self:end}
 .p173-unified-reader-shell .reader-tool.text{font-size:10px!important;padding:0 7px!important}
 .p173-pdf-stage{min-height:calc(100vh - 285px);border-radius:8px}
 .p173-page-watermarks{grid-template-columns:1fr;grid-template-rows:repeat(4,1fr)}
 .p173-page-watermarks span{font-size:8px!important;color:rgba(38,67,92,.08)}
 .p173-bottom-nav{gap:5px;justify-content:space-between}
 .p173-bottom-nav button{flex:1;padding:0 7px}
 .p173-bottom-nav button span{display:none}
 .p173-video-frame{border-radius:8px}
 .p173-media-progress{border-radius:8px}
}

@media(prefers-reduced-motion:reduce){
 .p173-pdf-spread.turn-next .p173-pdf-page,
 .p173-pdf-spread.turn-previous .p173-pdf-page,
 .p173-pdf-spread.enter-next .p173-pdf-page,
 .p173-pdf-spread.enter-previous .p173-pdf-page,
 .p173-spinner{animation:none!important}
}

body.p173-notes-open .p173-unified-reader-shell .reader-insight-panel{
 display:block!important;
}
#unifiedReaderShell:fullscreen .reader-insight-panel{
 display:none!important;
}
body.p173-notes-open #unifiedReaderShell:fullscreen .reader-insight-panel{
 display:block!important;
 position:absolute!important;
 top:66px!important;
 right:12px!important;
 bottom:12px!important;
 width:min(360px,calc(100vw - 24px))!important;
 max-height:none!important;
 z-index:100!important;
 overflow:auto!important;
 box-shadow:0 18px 46px rgba(16,39,58,.22)!important;
}
body.p173-notes-open #unifiedReaderShell:fullscreen .professional-reader{
 padding-right:min(370px,32vw);
}

/* Phase 17.3 removes the legacy dark fixed-height document container. */
.p173-unified-reader-shell .reader-document-stage.p1721-media-stage{
 min-height:0!important;
 height:auto!important;
 overflow:visible!important;
 background:transparent!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
}
.p173-unified-reader-shell .p1721-footer-watermark{display:none!important}
.p173-unified-reader-shell .p1721-security-chip{
 top:9px;left:10px;
 z-index:40;
 background:rgba(246,250,253,.92);
 box-shadow:0 3px 10px rgba(26,57,80,.07);
}


/* ========================================================================
   V17.3.1 — Reader Toolbar Layout Correction
   Reserve the toolbar in normal flow directly below the global header.
   It must never float down over the resource canvas.
   ======================================================================== */
body.p172-protected-reader{
 --p173-global-header-height:72px;
 --p173-reader-toolbar-height:58px;
 --p173-reader-gap:8px;
}

/* Remove the excessive blank strip above the reader. */
body.p172-protected-reader .content{
 padding-top:8px!important;
}

/* The toolbar occupies real layout space and sticks immediately below topbar. */
body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
 position:sticky!important;
 top:var(--p173-global-header-height)!important;
 margin:0 0 var(--p173-reader-gap)!important;
 z-index:80!important;
 min-height:54px;
 background:rgba(255,255,255,.985)!important;
 border:1px solid #dde6ed!important;
 border-radius:12px!important;
 box-shadow:0 5px 18px rgba(24,53,76,.065)!important;
}

/* Reader content always starts after the toolbar in normal document flow. */
body.p172-protected-reader .p173-unified-reader-shell .professional-reader{
 position:relative;
 margin-top:0!important;
 padding-top:0!important;
}

/* Side panels stay aligned beneath the sticky toolbar when the page scrolls. */
body.p172-protected-reader .p173-unified-reader-shell .reader-info-panel,
body.p172-protected-reader .p173-unified-reader-shell .reader-insight-panel{
 top:calc(
   var(--p173-global-header-height) +
   var(--p173-reader-toolbar-height) +
   var(--p173-reader-gap)
 )!important;
}

/* Canvas receives the released vertical area. */
body.p172-protected-reader .p173-pdf-stage{
 min-height:clamp(
   500px,
   calc(
     100vh -
     var(--p173-global-header-height) -
     var(--p173-reader-toolbar-height) -
     78px
   ),
   900px
 )!important;
}

/* Focus still reserves the global header; no toolbar/content collision. */
body.p172-protected-reader.reader-focus-mode .content{
 padding-top:6px!important;
}
body.p172-protected-reader.reader-focus-mode .p173-unified-reader-shell .reader-command-bar{
 top:var(--p173-global-header-height)!important;
}

/* Fullscreen has no global header, therefore toolbar sits at the top of shell. */
#unifiedReaderShell:fullscreen{
 --p173-global-header-height:0px;
}
#unifiedReaderShell:fullscreen .reader-command-bar{
 position:relative!important;
 top:0!important;
 margin:0 0 8px!important;
}
#unifiedReaderShell:fullscreen .p173-pdf-stage{
 min-height:calc(100vh - var(--p173-reader-toolbar-height) - 74px)!important;
 height:calc(100vh - var(--p173-reader-toolbar-height) - 74px)!important;
}

/* Medium screens: preserve hierarchy and allow controls to wrap cleanly. */
@media(max-width:1100px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   display:grid!important;
   grid-template-columns:minmax(220px,1fr) auto!important;
   align-items:center!important;
   row-gap:7px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   min-width:0;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-actions{
   max-width:100%;
 }
}

/* Mobile topbar is 64px; JS measurement also updates this dynamically. */
@media(max-width:800px){
 body.p172-protected-reader{
   --p173-global-header-height:64px;
 }
 body.p172-protected-reader .content{
   padding-top:6px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   top:var(--p173-global-header-height)!important;
   margin-bottom:7px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-info-panel,
 body.p172-protected-reader .p173-unified-reader-shell .reader-insight-panel{
   top:auto!important;
 }
 body.p172-protected-reader .p173-pdf-stage{
   min-height:calc(
     100dvh -
     var(--p173-global-header-height) -
     var(--p173-reader-toolbar-height) -
     76px
   )!important;
 }
}

@media(max-width:560px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   border-radius:9px!important;
 }
}


/* ========================================================================
   V17.3.2 — Fullscreen Reader Safety & Clear Fullscreen Control
   ======================================================================== */

/* Focus mode control removed from toolbar. */
body.p172-protected-reader .reader-focus-toggle{display:none!important}

/* Make fullscreen control visually obvious in both states. */
.p1732-fullscreen-toggle{
 min-width:112px!important;
 height:38px!important;
 padding:0 13px!important;
 gap:7px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 border:1px solid #9fc6e2!important;
 background:linear-gradient(180deg,#f6fbff,#eaf4fb)!important;
 color:#245e8b!important;
 font-weight:850!important;
 box-shadow:0 4px 12px rgba(35,92,135,.10)!important;
}
.p1732-fullscreen-toggle:hover{
 background:#e4f1fa!important;
 border-color:#74acd3!important;
}
.p1732-fullscreen-toggle.active{
 background:#174f7a!important;
 border-color:#174f7a!important;
 color:#fff!important;
 box-shadow:0 6px 18px rgba(23,79,122,.24)!important;
}
.p1732-fullscreen-icon{
 font-size:17px!important;
 line-height:1!important;
 font-weight:900!important;
}
.p1732-fullscreen-label{
 font-size:11px!important;
 white-space:nowrap;
}

/* Fullscreen shell is a real two-row layout: toolbar, then reader. */
#unifiedReaderShell:fullscreen{
 display:grid!important;
 grid-template-rows:auto minmax(0,1fr)!important;
 align-items:stretch!important;
 gap:8px!important;
 width:100vw!important;
 height:100vh!important;
 padding:10px!important;
 overflow:hidden!important;
 background:#eef2f5!important;
}
#unifiedReaderShell:fullscreen .reader-command-bar{
 grid-row:1!important;
 position:relative!important;
 top:0!important;
 margin:0!important;
 min-height:54px!important;
 max-height:none!important;
 z-index:100!important;
 flex:none!important;
}
#unifiedReaderShell:fullscreen .professional-reader{
 grid-row:2!important;
 min-height:0!important;
 height:auto!important;
 overflow:hidden!important;
 margin:0!important;
 padding:0!important;
 grid-template-columns:minmax(0,1fr)!important;
}
#unifiedReaderShell:fullscreen .reader-document-stage{
 min-height:0!important;
 height:100%!important;
 overflow:hidden!important;
}
#unifiedReaderShell:fullscreen .p173-pdf-stage{
 min-height:0!important;
 height:100%!important;
 max-height:100%!important;
 padding:12px 58px 56px!important;
 overflow:hidden!important;
}
#unifiedReaderShell:fullscreen .p173-pdf-spread{
 height:100%!important;
 min-height:0!important;
}
#unifiedReaderShell:fullscreen .p173-bottom-nav{
 position:absolute!important;
 left:50%!important;
 bottom:8px!important;
 transform:translateX(-50%)!important;
 z-index:95!important;
}
#unifiedReaderShell:fullscreen .p173-media-shell{
 min-height:0!important;
 height:100%!important;
 max-height:100%!important;
 overflow:auto!important;
 align-content:center!important;
}
#unifiedReaderShell:fullscreen .p173-video-frame{
 max-height:calc(100vh - 150px)!important;
}

/* On medium screens keep the fullscreen button label visible. */
@media(max-width:800px){
 .p1732-fullscreen-toggle{
   min-width:42px!important;
   width:42px!important;
   padding:0!important;
 }
 .p1732-fullscreen-label{display:none!important}
}


/* ========================================================================
   V17.3.3 — High-Responsiveness Single-Line Reader Toolbar
   ======================================================================== */

/* Desktop baseline: one horizontal line with predictable flex behavior. */
body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
 display:flex!important;
 flex-wrap:nowrap!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:10px!important;
 min-width:0!important;
 overflow:visible!important;
}
body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
 flex:1 1 280px!important;
 min-width:120px!important;
 overflow:hidden!important;
}
body.p172-protected-reader .p173-unified-reader-shell .reader-command-title>div{
 min-width:0!important;
 overflow:hidden!important;
}
body.p172-protected-reader .p173-unified-reader-shell .reader-command-title strong{
 display:block!important;
 overflow:hidden!important;
 white-space:nowrap!important;
 text-overflow:ellipsis!important;
}
body.p172-protected-reader .p173-unified-reader-shell .reader-command-title small{
 display:block!important;
 overflow:hidden!important;
 white-space:nowrap!important;
 text-overflow:ellipsis!important;
}
body.p172-protected-reader .p173-unified-reader-shell .reader-page-control{
 flex:0 0 auto!important;
 white-space:nowrap!important;
 min-width:0!important;
}
body.p172-protected-reader .p173-unified-reader-shell .p1721-reader-actions{
 flex:0 0 auto!important;
 min-width:0!important;
 display:flex!important;
 flex-wrap:nowrap!important;
 align-items:center!important;
 gap:5px!important;
}
.p1733-mobile-page-total{display:none}
.p1733-tool-icon{display:none}

/* Premium Full Screen control: green, luminous and unmistakable. */
.p1733-fullscreen-toggle{
 min-width:126px!important;
 height:40px!important;
 padding:0 14px!important;
 border:1px solid #109447!important;
 background:linear-gradient(180deg,#35d772 0%,#18b957 52%,#109946 100%)!important;
 color:#fff!important;
 border-radius:10px!important;
 font-weight:900!important;
 letter-spacing:.01em!important;
 box-shadow:
   0 0 0 3px rgba(32,197,92,.10),
   0 5px 15px rgba(17,146,67,.24),
   inset 0 1px 0 rgba(255,255,255,.30)!important;
 text-shadow:0 1px 1px rgba(0,0,0,.12)!important;
 transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.p1733-fullscreen-toggle:hover{
 transform:translateY(-1px)!important;
 filter:brightness(1.04)!important;
 box-shadow:
   0 0 0 4px rgba(32,197,92,.13),
   0 8px 20px rgba(17,146,67,.28),
   inset 0 1px 0 rgba(255,255,255,.34)!important;
}
.p1733-fullscreen-toggle:focus-visible{
 outline:3px solid rgba(26,188,82,.28)!important;
 outline-offset:2px!important;
}
.p1733-fullscreen-icon{font-size:18px!important}
.p1733-fullscreen-label{font-size:11px!important;font-weight:900!important}

/* Fullscreen state: deliberately smaller but still unmistakable. */
#unifiedReaderShell:fullscreen .p1733-fullscreen-toggle{
 min-width:118px!important;
 height:36px!important;
 padding:0 11px!important;
 border-color:#0d7340!important;
 background:linear-gradient(180deg,#168c50,#0e7040)!important;
 box-shadow:0 4px 12px rgba(7,75,39,.24)!important;
}
#unifiedReaderShell:fullscreen .p1733-fullscreen-label{
 display:inline!important;
 font-size:10px!important;
}

/* Tablets and narrow laptops: preserve a single line. */
@media(max-width:1100px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   display:flex!important;
   grid-template-columns:none!important;
   flex-wrap:nowrap!important;
   gap:6px!important;
   padding:8px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   flex:1 1 190px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title small{
   display:none!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-icon-button{
   width:34px!important;
   height:34px!important;
   min-width:34px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control{
   gap:4px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control input{
   width:50px!important;
   height:34px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-tool{
   min-height:34px!important;
   height:34px!important;
 }
 .p1733-fullscreen-toggle{
   min-width:112px!important;
   height:36px!important;
 }
}

/* Phone / small tablet: title, page controls and essentials all remain one row. */
@media(max-width:800px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   display:flex!important;
   flex-wrap:nowrap!important;
   width:100%!important;
   min-height:52px!important;
   padding:7px 6px!important;
   gap:4px!important;
   overflow:hidden!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   flex:1 1 auto!important;
   min-width:72px!important;
   max-width:150px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title .reader-back{
   width:32px!important;
   height:32px!important;
   min-width:32px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title strong{
   font-size:12px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control{
   flex:0 0 auto!important;
   gap:2px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control label{
   display:flex!important;
   align-items:center!important;
   gap:2px!important;
   font-size:10px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control input{
   width:38px!important;
   min-width:38px!important;
   height:32px!important;
   padding:0 3px!important;
   font-size:11px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-icon-button{
   width:30px!important;
   height:32px!important;
   min-width:30px!important;
   border-radius:8px!important;
 }
 .p1733-page-word{display:none!important}
 #readerPageTotal{display:none!important}
 .p1733-mobile-page-total{
   display:inline!important;
   color:#6d8294!important;
   font-size:10px!important;
   font-weight:700!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .p1721-reader-actions{
   gap:3px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-tool{
   min-height:32px!important;
   height:32px!important;
   padding:0 7px!important;
   border-radius:8px!important;
   font-size:10px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell #readerBookMode{
   display:none!important;
 }
 .p1733-fullscreen-toggle{
   min-width:96px!important;
   height:34px!important;
   padding:0 9px!important;
 }
 .p1733-fullscreen-label{font-size:9px!important}
}

/* Very small phones: retain all critical actions by converting secondary
   tools to compact icon controls. Fullscreen remains bright green. */
@media(max-width:560px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   gap:2px!important;
   padding:6px 4px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   min-width:58px!important;
   max-width:104px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title strong{
   font-size:11px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control input{
   width:34px!important;
   min-width:34px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control .reader-icon-button{
   width:28px!important;
   min-width:28px!important;
 }
 .p1733-tool-icon{
   display:inline!important;
   font-size:13px!important;
   line-height:1!important;
 }
 .p1733-fit-tool .p1733-tool-label,
 .p1733-notes-tool .p1733-tool-label{
   display:none!important;
 }
 .p1733-fit-tool,
 .p1733-notes-tool{
   width:32px!important;
   min-width:32px!important;
   padding:0!important;
   justify-content:center!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell #readerSingleMode{
   display:none!important;
 }
 .p1733-fullscreen-toggle{
   min-width:42px!important;
   width:42px!important;
   height:34px!important;
   padding:0!important;
   justify-content:center!important;
 }
 .p1733-fullscreen-toggle .p1733-fullscreen-label{
   display:none!important;
 }
 .p1733-fullscreen-icon{
   font-size:17px!important;
 }
}

/* In fullscreen on a phone, explicitly expose Exit Full Screen as a compact
   labelled green control rather than hiding the text. */
@media(max-width:560px){
 #unifiedReaderShell:fullscreen .p1733-fullscreen-toggle{
   width:auto!important;
   min-width:96px!important;
   padding:0 9px!important;
 }
 #unifiedReaderShell:fullscreen .p1733-fullscreen-toggle .p1733-fullscreen-label{
   display:inline!important;
 }
 #unifiedReaderShell:fullscreen .p1733-fullscreen-icon{
   font-size:14px!important;
 }
}

/* Smallest supported widths: keep one line and protect page navigation. */
@media(max-width:390px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   max-width:78px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title>div{
   display:none!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control .reader-icon-button{
   width:26px!important;
   min-width:26px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control input{
   width:31px!important;
   min-width:31px!important;
 }
 .p1733-mobile-page-total{font-size:9px!important}
}


/* ========================================================================
   V17.3.4 — Mobile Toolbar Spacing & Premium Fullscreen Hover Refinement
   ======================================================================== */

/* Fullscreen must remain unmistakably green in every interaction state.
   These rules intentionally override generic .reader-tool hover/focus styles. */
body.p172-protected-reader .p1733-fullscreen-toggle,
body.p172-protected-reader .p1733-fullscreen-toggle:visited{
 background:linear-gradient(180deg,#35d772 0%,#18b957 52%,#109946 100%)!important;
 border-color:#109447!important;
 color:#fff!important;
}
body.p172-protected-reader .p1733-fullscreen-toggle:hover{
 background:linear-gradient(180deg,#2ec968 0%,#13ad50 55%,#0d893d 100%)!important;
 border-color:#0c843b!important;
 color:#fff!important;
 filter:none!important;
 transform:translateY(-1px)!important;
 box-shadow:
   0 0 0 3px rgba(25,184,79,.13),
   0 7px 18px rgba(12,128,56,.28),
   inset 0 1px 0 rgba(255,255,255,.24)!important;
}
body.p172-protected-reader .p1733-fullscreen-toggle:focus,
body.p172-protected-reader .p1733-fullscreen-toggle:focus-visible{
 background:linear-gradient(180deg,#2fcf6a 0%,#15b352 55%,#0d8d3f 100%)!important;
 border-color:#087936!important;
 color:#fff!important;
 outline:3px solid rgba(18,166,69,.22)!important;
 outline-offset:2px!important;
}
body.p172-protected-reader .p1733-fullscreen-toggle:active{
 background:linear-gradient(180deg,#109946 0%,#0c843b 100%)!important;
 color:#fff!important;
 transform:translateY(0)!important;
}

/* Exit state remains green and does not inherit the pale generic hover. */
#unifiedReaderShell:fullscreen .p1733-fullscreen-toggle,
#unifiedReaderShell:fullscreen .p1733-fullscreen-toggle:hover,
#unifiedReaderShell:fullscreen .p1733-fullscreen-toggle:focus{
 background:linear-gradient(180deg,#168c50 0%,#0e7040 100%)!important;
 border-color:#0b6739!important;
 color:#fff!important;
 filter:none!important;
}

/* Tablet/phone toolbar: remove Fit Page and give the remaining controls
   proper breathing room rather than compressing everything. */
@media(max-width:800px){
 body.p172-protected-reader .p173-unified-reader-shell .p1733-fit-tool{
   display:none!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   min-height:54px!important;
   padding:7px 8px!important;
   gap:6px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   flex:1 1 112px!important;
   min-width:86px!important;
   max-width:170px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control{
   flex:0 0 auto!important;
   gap:4px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .p1721-reader-actions{
   flex:0 0 auto!important;
   gap:5px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-tool{
   padding-left:9px!important;
   padding-right:9px!important;
   min-width:auto!important;
 }

 body.p172-protected-reader .p1733-notes-tool{
   min-width:54px!important;
 }

 body.p172-protected-reader .p1733-fullscreen-toggle{
   min-width:102px!important;
   width:auto!important;
   padding:0 10px!important;
 }
}

/* Phones: prioritize page navigation, Notes and Full Screen.
   Single/Book/Fit Page are unnecessary at this width because mobile is
   already constrained to the single-page reading experience. */
@media(max-width:600px){
 body.p172-protected-reader .p173-unified-reader-shell #readerSingleMode,
 body.p172-protected-reader .p173-unified-reader-shell #readerBookMode,
 body.p172-protected-reader .p173-unified-reader-shell .p1733-fit-tool{
   display:none!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-command-bar{
   min-height:52px!important;
   padding:6px!important;
   gap:5px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   flex:1 1 90px!important;
   min-width:68px!important;
   max-width:124px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title strong{
   font-size:11.5px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control{
   gap:3px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control input{
   width:36px!important;
   min-width:36px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .p1721-reader-actions{
   gap:4px!important;
 }

 body.p172-protected-reader .p1733-notes-tool{
   min-width:36px!important;
   width:36px!important;
   padding:0!important;
   justify-content:center!important;
 }
 body.p172-protected-reader .p1733-notes-tool .p1733-tool-label{
   display:none!important;
 }
 body.p172-protected-reader .p1733-notes-tool .p1733-tool-icon{
   display:inline!important;
 }

 body.p172-protected-reader .p1733-fullscreen-toggle{
   min-width:92px!important;
   width:auto!important;
   height:34px!important;
   padding:0 9px!important;
 }
 body.p172-protected-reader .p1733-fullscreen-label{
   display:inline!important;
   font-size:9px!important;
 }
 body.p172-protected-reader .p1733-fullscreen-icon{
   font-size:15px!important;
 }
}

/* Very narrow phones: retain one clean row. The title collapses before
   navigation/buttons are squeezed. */
@media(max-width:430px){
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title{
   flex:0 0 34px!important;
   min-width:34px!important;
   max-width:34px!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title>div{
   display:none!important;
 }
 body.p172-protected-reader .p173-unified-reader-shell .reader-command-title .reader-back{
   width:32px!important;
   min-width:32px!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control{
   flex:1 1 auto!important;
   min-width:0!important;
 }

 body.p172-protected-reader .p173-unified-reader-shell .reader-page-control label{
   gap:2px!important;
 }

 body.p172-protected-reader .p1733-fullscreen-toggle{
   min-width:42px!important;
   width:42px!important;
   padding:0!important;
 }
 body.p172-protected-reader .p1733-fullscreen-toggle .p1733-fullscreen-label{
   display:none!important;
 }
}

/* Even on narrow phones, Exit Full Screen remains labelled so users can
   immediately understand how to leave the immersive reader. */
@media(max-width:430px){
 #unifiedReaderShell:fullscreen .p1733-fullscreen-toggle{
   min-width:94px!important;
   width:auto!important;
   padding:0 8px!important;
 }
 #unifiedReaderShell:fullscreen .p1733-fullscreen-toggle .p1733-fullscreen-label{
   display:inline!important;
 }
}


/* ========================================================================
   Phase 17.4 — Teacher Navigation, Taxonomy & Resource Discovery Simplification
   ======================================================================== */

/* Teacher sidebar: grouped, scannable, independently scrollable. */
.teacher-sidebar{
 overflow-y:auto!important;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 scrollbar-color:transparent transparent;
}
.teacher-sidebar:hover{
 scrollbar-color:#c5d5e6 transparent;
}
.teacher-sidebar::-webkit-scrollbar{width:6px}
.teacher-sidebar::-webkit-scrollbar-track{background:transparent}
.teacher-sidebar::-webkit-scrollbar-thumb{background:transparent;border-radius:999px}
.teacher-sidebar:hover::-webkit-scrollbar-thumb{background:#c5d5e6}
.teacher-primary-nav{
 padding-top:2px!important;
 padding-bottom:10px!important;
}
.teacher-nav-section-label{
 margin:13px 10px 4px;
 padding:0 5px;
 color:#8a9aad;
 font-size:9px!important;
 font-weight:850;
 letter-spacing:.105em;
 text-transform:uppercase;
 line-height:1.2;
}
.teacher-nav-section-label:first-child{margin-top:3px}
.teacher-primary-nav .nav-item{
 min-height:42px!important;
 margin:1px 5px!important;
 padding:8px 10px!important;
 gap:10px!important;
 border-radius:9px!important;
 font-size:12px!important;
}
.teacher-primary-nav .nav-item:hover{
 transform:none!important;
 background:#eef5fc!important;
 color:#185f9c!important;
}
.teacher-primary-nav .nav-item.active{
 background:linear-gradient(135deg,#175f9f,#2b79bc)!important;
 box-shadow:0 7px 16px rgba(27,92,145,.18)!important;
}
@media(max-height:850px){
 .teacher-sidebar-quote{display:none!important}
}
@media(max-width:800px){
 .teacher-sidebar{
   width:min(84vw,268px)!important;
   padding-top:8px!important;
 }
 .teacher-nav-section-label{
   margin-top:12px!important;
   font-size:9px!important;
 }
 .teacher-primary-nav .nav-item{
   min-height:44px!important;
   font-size:12.5px!important;
 }
}

/* Resource Library discovery navigation */
.phase174-resource-discovery{
 margin:14px 0 18px;
 padding:15px;
 border:1px solid #dfe8ef;
 border-radius:15px;
 background:#fff;
 box-shadow:0 6px 18px rgba(21,54,79,.045);
}
.phase174-resource-discovery-head{
 display:flex;
 align-items:end;
 justify-content:space-between;
 gap:15px;
 margin-bottom:11px;
}
.phase174-resource-discovery-head span{
 display:block;
 margin-bottom:3px;
 color:#2674ad;
 font-size:9px!important;
 font-weight:900;
 letter-spacing:.10em;
}
.phase174-resource-discovery-head h2{
 margin:0;
 color:#173f61;
 font-size:18px!important;
}
.phase174-resource-discovery-head p{
 margin:3px 0 0;
 color:#718596;
 font-size:11px!important;
}
.phase174-resource-tabs{
 display:flex;
 align-items:center;
 gap:6px;
 padding:5px;
 overflow-x:auto;
 border:1px solid #e1e9ef;
 border-radius:11px;
 background:#f7f9fb;
 scrollbar-width:none;
}
.phase174-resource-tabs::-webkit-scrollbar{display:none}
.phase174-resource-tabs a{
 flex:0 0 auto;
 min-height:34px;
 padding:0 13px;
 display:inline-flex;
 align-items:center;
 border-radius:8px;
 color:#49677d;
 font-size:11px!important;
 font-weight:800;
 white-space:nowrap;
}
.phase174-resource-tabs a:hover{background:#fff;color:#1d659d}
.phase174-resource-tabs a.active{
 background:#fff;
 color:#195f98;
 box-shadow:0 3px 10px rgba(22,67,101,.09);
}
.phase174-discovery-summary{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
 margin-top:11px;
}
.phase174-discovery-summary>a{
 min-width:0;
 padding:13px;
 display:grid;
 grid-template-columns:38px minmax(0,1fr) auto;
 gap:10px;
 align-items:center;
 border:1px solid #e1e9ef;
 border-radius:11px;
 background:#fbfcfd;
}
.phase174-discovery-summary>a>span{
 width:38px;height:38px;
 display:grid;place-items:center;
 border-radius:10px;
 background:#eaf4fb;
 color:#2873aa;
 font-size:18px!important;
}
.phase174-discovery-summary strong{display:block;color:#244b68;font-size:12px!important}
.phase174-discovery-summary small{display:block;margin-top:2px;color:#748797;font-size:10px!important;line-height:1.35}
.phase174-discovery-summary b{color:#2674ad;font-size:10px!important;white-space:nowrap}
.phase174-explore-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
 margin-top:11px;
}
.phase174-explore-grid>a{
 min-width:0;
 padding:11px;
 display:grid;
 grid-template-columns:34px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 border:1px solid #e1e9ef;
 border-radius:10px;
 background:#fff;
}
.phase174-explore-icon{
 width:34px;height:34px;display:grid;place-items:center;
 border-radius:9px;background:#eef6fb;color:#2773a8
}
.phase174-explore-grid strong{display:block;color:#294d67;font-size:11px!important}
.phase174-explore-grid small{display:block;margin-top:2px;color:#8393a0;font-size:9px!important}
.phase174-explore-grid b{color:#2a76aa}
.phase174-lsv-explore{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:10px;
 margin-top:11px;
}
.phase174-lsv-explore>section{
 padding:12px;
 border:1px solid #e2eaf0;
 border-radius:11px;
 background:#fbfcfd;
}
.phase174-lsv-explore header span{
 color:#2b74a8;
 font-size:8.5px!important;
 font-weight:900;
 letter-spacing:.1em
}
.phase174-lsv-explore header h3{
 margin:2px 0 8px;
 color:#284c67;
 font-size:13px!important
}
.phase174-taxonomy-chips{
 display:flex;
 flex-wrap:wrap;
 gap:6px;
}
.phase174-taxonomy-chips a{
 min-height:30px;
 padding:0 9px;
 display:inline-flex;
 align-items:center;
 gap:7px;
 border:1px solid #dce7ee;
 border-radius:999px;
 background:#fff;
 color:#365c77;
}
.phase174-taxonomy-chips a:hover{border-color:#9dc5df;background:#f2f9fd}
.phase174-taxonomy-chips strong{font-size:10px!important}
.phase174-taxonomy-chips span{
 min-width:19px;height:19px;padding:0 5px;
 display:grid;place-items:center;
 border-radius:999px;
 background:#edf4f8;
 color:#55758a;
 font-size:8px!important;
 font-weight:800
}
.phase174-topic-explore{
 display:flex;
 flex-wrap:wrap;
 gap:7px;
 margin-top:11px;
}
.phase174-topic-explore>a{
 min-height:42px;
 padding:7px 10px;
 display:grid;
 grid-template-columns:24px auto;
 align-items:center;
 column-gap:6px;
 border:1px solid #e0e8ee;
 border-radius:9px;
 background:#fff;
 color:#355b75;
}
.phase174-topic-explore>a>span{grid-row:1/3;color:#2773a8}
.phase174-topic-explore strong{font-size:10.5px!important}
.phase174-topic-explore small{font-size:8.5px!important;color:#8595a2}
.phase174-discovery-empty{
 width:100%;
 padding:14px;
 display:flex;
 align-items:center;
 gap:10px;
 border:1px dashed #cbdbe6;
 border-radius:10px;
 background:#fafcfd;
}
.phase174-discovery-empty>span{font-size:22px!important;color:#3d81b2}
.phase174-discovery-empty strong{font-size:11px!important;color:#365b75}
.phase174-discovery-empty p{margin:2px 0 0;font-size:9.5px!important;color:#82929f}
.phase174-filter-group{
 display:grid;
 gap:8px;
 padding:9px;
 border:1px solid #e2eaf0;
 border-radius:9px;
 background:#f8fafc;
}
.phase174-filter-group>span{
 font-size:8.5px!important;
 font-weight:900;
 letter-spacing:.08em;
 color:#3475a3;
 text-transform:uppercase;
}
@media(max-width:1100px){
 .phase174-explore-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .phase174-discovery-summary{grid-template-columns:1fr}
}
@media(max-width:760px){
 .phase174-resource-discovery{padding:11px;margin-top:10px}
 .phase174-resource-discovery-head p{display:none}
 .phase174-lsv-explore{grid-template-columns:1fr}
 .phase174-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .phase174-explore-grid{grid-template-columns:1fr}
 .phase174-resource-tabs a{padding:0 10px;font-size:10px!important}
}

/* Admin Taxonomy Management */
.phase174-taxonomy-tabs{
 display:flex;
 gap:6px;
 margin:0 0 14px;
 padding:5px;
 overflow-x:auto;
 border:1px solid #dde6ed;
 border-radius:11px;
 background:#f7f9fb;
 scrollbar-width:none;
}
.phase174-taxonomy-tabs::-webkit-scrollbar{display:none}
.phase174-taxonomy-tabs a{
 flex:0 0 auto;
 min-height:35px;
 padding:0 13px;
 display:flex;
 align-items:center;
 border-radius:8px;
 color:#536b7d;
 font-size:10.5px!important;
 font-weight:800;
 white-space:nowrap;
}
.phase174-taxonomy-tabs a.active{
 background:#fff;
 color:#1e6497;
 box-shadow:0 3px 10px rgba(26,64,93,.09);
}
.phase174-taxonomy-intro{
 margin:12px 0;
 padding:13px 15px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
 border:1px solid #e0e8ee;
 border-radius:12px;
 background:#fbfcfd;
}
.phase174-taxonomy-intro>div>span,
.phase174-add-taxonomy>span{
 color:#2a76a9;
 font-size:8.5px!important;
 font-weight:900;
 letter-spacing:.09em;
}
.phase174-taxonomy-intro h2{margin:2px 0;color:#244b68;font-size:16px!important}
.phase174-taxonomy-intro p{margin:2px 0 0;color:#748797;font-size:10px!important}
.phase174-taxonomy-intro>small{max-width:420px;color:#6d8292;font-size:9px!important;line-height:1.45}
.phase174-taxonomy-layout{align-items:start}
.phase174-taxonomy-name{
 display:flex;align-items:center;gap:8px
}
.phase174-taxonomy-name>span{
 width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eef6fb;color:#2873a8
}
.phase174-taxonomy-name small{display:block;color:#8b99a5;font-size:8px!important}
.phase174-taxonomy-editor[open]{min-width:310px}
.phase174-inline-taxonomy-form{display:grid;gap:7px}
.phase174-inline-taxonomy-form label,
.phase174-inline-fields label{display:grid;gap:3px;font-size:9px!important;color:#6c7e8c}
.phase174-inline-fields{display:grid;grid-template-columns:1fr 100px;gap:7px}
.phase174-add-taxonomy h2{margin:3px 0 5px;font-size:16px!important;color:#274d69}
.phase174-add-taxonomy p,
.phase174-taxonomy-guidance p{font-size:10px!important;color:#728493;line-height:1.45}
.phase174-taxonomy-guidance p{margin:7px 0}
.phase174-taxonomy-table td{vertical-align:middle}
@media(max-width:900px){
 .phase174-taxonomy-intro{align-items:flex-start;flex-direction:column;gap:5px}
 .phase174-taxonomy-layout{grid-template-columns:1fr!important}
}

/* Resource upload form: clearer information architecture */
.phase174-resource-form-group{
 margin:0 0 12px;
 padding:13px;
 border:1px solid #e0e8ee;
 border-radius:11px;
 background:#fbfcfd;
}
.phase174-resource-form-heading{
 margin-bottom:10px;
}
.phase174-resource-form-heading>span{
 color:#2d74a5;
 font-size:8.5px!important;
 font-weight:900;
 letter-spacing:.1em;
}
.phase174-resource-form-heading h3{
 margin:2px 0 0;
 color:#294e69;
 font-size:15px!important;
}
.phase174-resource-form-heading p{
 margin:2px 0 0;
 color:#7b8c99;
 font-size:9.5px!important;
}
.phase174-resource-form-group small{
 display:block;
 margin-top:3px;
 color:#84929e;
 font-size:8.5px!important;
}

@media(max-width:800px){
 .teacher-sidebar-quote{display:none!important}
}


/* ========================================================================
   Phase 17.5 — Teacher Mobile Experience, Compact Knowledge Hub & Library
   ======================================================================== */

/* ------------------------------------------------------------------------
   Compact global header on the two high-frequency teacher discovery pages.
   ------------------------------------------------------------------------ */
.digital-knowledge-hub-page .topbar,
.phase17-library-page .topbar{
 height:64px!important;
 min-height:64px!important;
 padding-top:0!important;
 padding-bottom:0!important;
}
.digital-knowledge-hub-page .authenticated-logo,
.phase17-library-page .authenticated-logo{
 width:40px!important;
 height:40px!important;
 flex-basis:40px!important;
}
.digital-knowledge-hub-page .authenticated-brand,
.phase17-library-page .authenticated-brand{
 gap:7px!important;
}
.digital-knowledge-hub-page .authenticated-brand strong,
.phase17-library-page .authenticated-brand strong{
 font-size:13px!important;
}
.digital-knowledge-hub-page .authenticated-brand small,
.phase17-library-page .authenticated-brand small{
 font-size:9.5px!important;
}
.digital-knowledge-hub-page .global-search,
.phase17-library-page .global-search{
 height:38px!important;
}
.digital-knowledge-hub-page .content,
.phase17-library-page .content{
 padding-top:10px!important;
}

/* ------------------------------------------------------------------------
   Compact page intro: two concise rows on desktop.
   Row 1 = page purpose + summary, Row 2 = search + shortcuts.
   ------------------------------------------------------------------------ */
.digital-knowledge-hub-page .teacher-page-intro,
.phase17-library-page .teacher-page-intro{
 grid-template-columns:minmax(0,1fr) auto!important;
 gap:9px 16px!important;
 margin-bottom:12px!important;
 padding:14px 16px!important;
 border-radius:13px!important;
 box-shadow:0 5px 16px rgba(29,68,105,.045)!important;
}
.digital-knowledge-hub-page .teacher-page-intro-copy,
.phase17-library-page .teacher-page-intro-copy{
 max-width:760px!important;
}
.digital-knowledge-hub-page .teacher-page-intro-copy>span,
.phase17-library-page .teacher-page-intro-copy>span{
 margin-bottom:3px!important;
 font-size:9px!important;
 letter-spacing:.09em!important;
}
.digital-knowledge-hub-page .teacher-page-intro-copy h1,
.phase17-library-page .teacher-page-intro-copy h1{
 font-size:21px!important;
 line-height:1.16!important;
}
.digital-knowledge-hub-page .teacher-page-intro-copy p,
.phase17-library-page .teacher-page-intro-copy p{
 max-width:720px!important;
 margin-top:5px!important;
 font-size:11.5px!important;
 line-height:1.4!important;
}
.digital-knowledge-hub-page .teacher-page-search,
.phase17-library-page .teacher-page-search{
 grid-column:1!important;
 width:100%!important;
 max-width:760px!important;
 min-height:40px!important;
 grid-template-columns:18px minmax(0,1fr) 78px!important;
 gap:6px!important;
 padding:3px 4px 3px 10px!important;
 border-radius:9px!important;
}
.digital-knowledge-hub-page .teacher-page-search svg,
.phase17-library-page .teacher-page-search svg{
 width:16px!important;
 height:16px!important;
}
.digital-knowledge-hub-page .teacher-page-search input,
.phase17-library-page .teacher-page-search input{
 height:32px!important;
 font-size:11.5px!important;
}
.digital-knowledge-hub-page .teacher-page-search button,
.phase17-library-page .teacher-page-search button{
 grid-column:auto!important;
 width:auto!important;
 height:32px!important;
 border-radius:7px!important;
 font-size:10.5px!important;
}
.digital-knowledge-hub-page .teacher-page-quicklinks,
.phase17-library-page .teacher-page-quicklinks{
 grid-column:2!important;
 align-self:center!important;
 justify-content:flex-end!important;
 flex-wrap:nowrap!important;
 max-width:540px!important;
 margin:0!important;
 overflow-x:auto!important;
 scrollbar-width:none;
}
.digital-knowledge-hub-page .teacher-page-quicklinks::-webkit-scrollbar,
.phase17-library-page .teacher-page-quicklinks::-webkit-scrollbar{display:none}
.digital-knowledge-hub-page .teacher-page-quicklinks>a,
.phase17-library-page .teacher-page-quicklinks>a{
 min-height:27px!important;
 padding:0 8px!important;
 font-size:9.5px!important;
 white-space:nowrap!important;
}
.digital-knowledge-hub-page .teacher-page-quicklinks>a.primary{
 border-color:#2d75ad!important;
 background:#edf6fc!important;
 color:#1f679d!important;
}
.phase17-library-page .teacher-page-quicklinks>span{
 font-size:9px!important;
}

/* Compact page summaries. */
.digital-knowledge-hub-page .knowledge-hub-mini-stats{
 min-width:235px!important;
 grid-template-columns:repeat(3,70px)!important;
 gap:5px!important;
 justify-content:end!important;
}
.digital-knowledge-hub-page .knowledge-hub-mini-stats article{
 min-width:0!important;
 padding:6px 5px!important;
 border-radius:8px!important;
}
.digital-knowledge-hub-page .knowledge-hub-mini-stats strong{
 font-size:17px!important;
 line-height:1!important;
}
.digital-knowledge-hub-page .knowledge-hub-mini-stats span{
 margin-top:2px!important;
 font-size:8.5px!important;
}
.phase17-library-page .teacher-page-intro-side{
 min-width:185px!important;
 gap:7px!important;
}
.phase17-library-page .teacher-page-intro-side>div{
 min-width:92px!important;
 padding:6px 9px!important;
 border-radius:8px!important;
}
.phase17-library-page .teacher-page-intro-side>div strong{
 font-size:17px!important;
}
.phase17-library-page .teacher-page-intro-side>div span{
 font-size:8.5px!important;
}
.phase17-library-page .teacher-page-intro-side>a{
 min-height:34px!important;
 padding:0 9px!important;
 font-size:10px!important;
 border-radius:8px!important;
}

/* ------------------------------------------------------------------------
   Resource discovery: compact, useful, and substantially shorter.
   ------------------------------------------------------------------------ */
.phase17-library-page .phase174-resource-discovery{
 margin:10px 0 12px!important;
 padding:10px 12px!important;
 border-radius:12px!important;
}
.phase17-library-page .phase174-resource-discovery-head{
 margin-bottom:7px!important;
}
.phase17-library-page .phase174-resource-discovery-head span{
 font-size:8px!important;
}
.phase17-library-page .phase174-resource-discovery-head h2{
 font-size:15px!important;
}
.phase17-library-page .phase174-resource-discovery-head p{
 margin-top:1px!important;
 font-size:9.5px!important;
}
.phase17-library-page .phase174-resource-tabs{
 padding:3px!important;
 gap:3px!important;
 border-radius:9px!important;
}
.phase17-library-page .phase174-resource-tabs a{
 min-height:29px!important;
 padding:0 10px!important;
 font-size:9.5px!important;
 border-radius:7px!important;
}
.phase17-library-page .phase174-discovery-summary{
 gap:6px!important;
 margin-top:7px!important;
}
.phase17-library-page .phase174-discovery-summary>a{
 min-height:55px!important;
 padding:8px 10px!important;
 grid-template-columns:30px minmax(0,1fr) auto!important;
 gap:7px!important;
 border-radius:9px!important;
}
.phase17-library-page .phase174-discovery-summary>a>span{
 width:30px!important;
 height:30px!important;
 border-radius:8px!important;
 font-size:14px!important;
}
.phase17-library-page .phase174-discovery-summary strong{
 font-size:10px!important;
}
.phase17-library-page .phase174-discovery-summary small{
 font-size:8.5px!important;
 line-height:1.25!important;
}
.phase17-library-page .phase174-discovery-summary b{
 font-size:8.5px!important;
}
.phase17-library-page .phase174-explore-grid,
.phase17-library-page .phase174-lsv-explore,
.phase17-library-page .phase174-topic-explore{
 margin-top:7px!important;
}

/* ------------------------------------------------------------------------
   Compact desktop filter panel; secondary filters are collapsed by default.
   ------------------------------------------------------------------------ */
.phase17-library-page .p17-library-shell{
 grid-template-columns:225px minmax(0,1fr)!important;
 gap:12px!important;
}
.phase17-library-page .p17-filter-panel{
 top:76px!important;
 padding:11px!important;
 border-radius:11px!important;
}
.phase17-library-page .p17-filter-panel>header{
 margin-bottom:8px!important;
 align-items:center!important;
}
.phase17-library-page .p17-filter-panel>header span{
 font-size:8px!important;
}
.phase17-library-page .p17-filter-panel>header h2{
 font-size:15px!important;
 margin-top:1px!important;
}
.phase17-library-page .p17-filter-panel form{
 gap:7px!important;
}
.phase17-library-page .p17-filter-panel form>label,
.phase17-library-page .phase174-filter-group label,
.phase17-library-page .p175-more-filter-fields label{
 gap:3px!important;
 font-size:9.5px!important;
}
.phase17-library-page .p17-filter-panel select{
 min-height:34px!important;
 height:34px!important;
 padding:0 8px!important;
 border-radius:7px!important;
 font-size:9.5px!important;
}
.phase17-library-page .phase174-filter-group{
 gap:6px!important;
 padding:7px!important;
 border-radius:8px!important;
}
.phase17-library-page .phase174-filter-group>span{
 font-size:7.5px!important;
}
.p175-more-filters{
 border:1px solid #e0e8ee;
 border-radius:8px;
 background:#f9fbfc;
 overflow:hidden;
}
.p175-more-filters>summary{
 min-height:34px;
 padding:0 8px;
 display:flex;
 align-items:center;
 gap:6px;
 color:#48677d;
 cursor:pointer;
 list-style:none;
 font-size:9.5px!important;
 font-weight:800;
}
.p175-more-filters>summary::-webkit-details-marker{display:none}
.p175-more-filters>summary span{flex:1}
.p175-more-filters>summary b{
 padding:3px 6px;
 border-radius:999px;
 background:#e8f3fa;
 color:#2871a5;
 font-size:7.5px!important;
}
.p175-more-filters>summary i{
 font-style:normal;
 transition:transform .15s ease;
}
.p175-more-filters[open]>summary i{transform:rotate(180deg)}
.p175-more-filter-fields{
 padding:7px;
 display:grid;
 gap:7px;
 border-top:1px solid #e4ebf0;
}
.p175-filter-head-actions{
 display:flex;
 align-items:center;
 gap:5px;
}
.p175-filter-head-actions>a{
 font-size:8.5px!important;
}
.p175-filter-close{display:none}

/* Results toolbar stays compact. */
.phase17-library-page .p17-library-toolbar{
 min-height:46px!important;
 padding:7px 9px!important;
 margin-bottom:10px!important;
 border-radius:10px!important;
}
.phase17-library-page .p17-library-toolbar span,
.phase17-library-page .p17-library-toolbar strong{
 font-size:10px!important;
}
.phase17-library-page .p17-library-toolbar select{
 min-height:32px!important;
 font-size:9.5px!important;
}

/* ------------------------------------------------------------------------
   Full, consistent 8:5 catalogue artwork.
   Never crop important parts of a resource cover.
   ------------------------------------------------------------------------ */
.digital-knowledge-hub-page .knowledge-highlight-cover,
.phase17-library-page .p17-resource-cover{
 width:100%!important;
 height:auto!important;
 aspect-ratio:8/5!important;
 background:#fff!important;
}
.digital-knowledge-hub-page .knowledge-highlight-cover img,
.phase17-library-page .p17-resource-cover img{
 width:100%!important;
 height:100%!important;
 object-fit:contain!important;
 object-position:center!important;
 background:#fff!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card{
 border-radius:11px!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card>div:last-child{
 padding:10px!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card>div:last-child>span{
 font-size:8px!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card h3{
 margin:4px 0!important;
 font-size:12px!important;
 line-height:1.25!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card p{
 font-size:9px!important;
 line-height:1.35!important;
}

/* ------------------------------------------------------------------------
   Knowledge Hub: teacher-first hierarchy and compact sections.
   ------------------------------------------------------------------------ */
.digital-knowledge-hub-page .knowledge-section-heading{
 margin:14px 0 7px!important;
 align-items:center!important;
}
.digital-knowledge-hub-page .knowledge-section-heading>div>span{
 font-size:8px!important;
}
.digital-knowledge-hub-page .knowledge-section-heading h2{
 font-size:16px!important;
 margin:2px 0!important;
}
.digital-knowledge-hub-page .knowledge-section-heading p{
 font-size:9.5px!important;
 margin:0!important;
}
.digital-knowledge-hub-page .knowledge-section-heading>a{
 font-size:9px!important;
}
.digital-knowledge-hub-page .knowledge-highlight-grid{
 gap:8px!important;
}
.digital-knowledge-hub-page .knowledge-pathway-grid{
 gap:8px!important;
}
.digital-knowledge-hub-page .knowledge-pathway-grid>a{
 padding:11px!important;
 border-radius:10px!important;
}
.digital-knowledge-hub-page .knowledge-pathway-grid h3{
 font-size:12px!important;
}
.digital-knowledge-hub-page .knowledge-pathway-grid p{
 font-size:9px!important;
}
.digital-knowledge-hub-page .knowledge-hub-columns{
 gap:9px!important;
 margin-top:9px!important;
}
.digital-knowledge-hub-page .knowledge-hub-panel{
 padding:11px!important;
 border-radius:11px!important;
}
.digital-knowledge-hub-page .knowledge-hub-panel h2{
 font-size:14px!important;
}
.digital-knowledge-hub-page .knowledge-hub-panel header span,
.digital-knowledge-hub-page .knowledge-hub-panel header a{
 font-size:8.5px!important;
}
.digital-knowledge-hub-page .knowledge-announcement-strip{
 margin-bottom:10px!important;
 gap:5px!important;
}
.digital-knowledge-hub-page .knowledge-announcement-strip article{
 padding:8px 10px!important;
}

/* ------------------------------------------------------------------------
   Tablet / mobile: prioritise content and touch targets, not large headers.
   ------------------------------------------------------------------------ */
@media(max-width:900px){
 .digital-knowledge-hub-page .topbar,
 .phase17-library-page .topbar{
   height:60px!important;
   min-height:60px!important;
 }
 .digital-knowledge-hub-page .authenticated-logo,
 .phase17-library-page .authenticated-logo{
   width:36px!important;
   height:36px!important;
   flex-basis:36px!important;
 }
 .digital-knowledge-hub-page .global-search,
 .phase17-library-page .global-search{
   height:36px!important;
 }

 .digital-knowledge-hub-page .teacher-page-intro,
 .phase17-library-page .teacher-page-intro{
   grid-template-columns:minmax(0,1fr) auto!important;
   padding:11px 12px!important;
   gap:7px 9px!important;
 }
 .digital-knowledge-hub-page .teacher-page-intro-copy h1,
 .phase17-library-page .teacher-page-intro-copy h1{
   font-size:18px!important;
 }
 .digital-knowledge-hub-page .teacher-page-intro-copy p,
 .phase17-library-page .teacher-page-intro-copy p{
   font-size:10.5px!important;
 }
 .digital-knowledge-hub-page .teacher-page-search,
 .phase17-library-page .teacher-page-search{
   max-width:none!important;
 }
 .digital-knowledge-hub-page .teacher-page-quicklinks,
 .phase17-library-page .teacher-page-quicklinks{
   max-width:360px!important;
 }
 .phase17-library-page .p17-library-shell{
   grid-template-columns:205px minmax(0,1fr)!important;
   gap:9px!important;
 }
}

/* Mobile filter becomes a true drawer, not a giant panel in page flow. */
@media(max-width:760px){
 .digital-knowledge-hub-page .topbar,
 .phase17-library-page .topbar{
   height:58px!important;
   min-height:58px!important;
   padding-left:7px!important;
   padding-right:7px!important;
 }
 .digital-knowledge-hub-page .content,
 .phase17-library-page .content{
   padding-top:6px!important;
 }

 .digital-knowledge-hub-page .teacher-page-intro,
 .phase17-library-page .teacher-page-intro{
   grid-template-columns:1fr!important;
   padding:10px!important;
   gap:7px!important;
   margin-bottom:8px!important;
 }
 .digital-knowledge-hub-page .teacher-page-intro-copy,
 .phase17-library-page .teacher-page-intro-copy{
   max-width:none!important;
 }
 .digital-knowledge-hub-page .teacher-page-intro-copy>span,
 .phase17-library-page .teacher-page-intro-copy>span{
   font-size:8px!important;
 }
 .digital-knowledge-hub-page .teacher-page-intro-copy h1,
 .phase17-library-page .teacher-page-intro-copy h1{
   font-size:17px!important;
   line-height:1.15!important;
 }
 .digital-knowledge-hub-page .teacher-page-intro-copy p,
 .phase17-library-page .teacher-page-intro-copy p{
   margin-top:3px!important;
   font-size:10px!important;
   line-height:1.35!important;
 }

 /* Search remains one line on phones. */
 .digital-knowledge-hub-page .teacher-page-search,
 .phase17-library-page .teacher-page-search{
   grid-column:1!important;
   min-height:38px!important;
   grid-template-columns:17px minmax(0,1fr) 64px!important;
   padding:2px 3px 2px 9px!important;
 }
 .digital-knowledge-hub-page .teacher-page-search input,
 .phase17-library-page .teacher-page-search input{
   height:31px!important;
   font-size:10.5px!important;
 }
 .digital-knowledge-hub-page .teacher-page-search button,
 .phase17-library-page .teacher-page-search button{
   grid-column:auto!important;
   width:auto!important;
   height:31px!important;
   font-size:9.5px!important;
 }

 /* Summary and shortcuts are compact horizontal rails. */
 .digital-knowledge-hub-page .knowledge-hub-mini-stats,
 .phase17-library-page .teacher-page-intro-side{
   grid-column:1!important;
   grid-row:auto!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
 }
 .digital-knowledge-hub-page .knowledge-hub-mini-stats{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 .digital-knowledge-hub-page .knowledge-hub-mini-stats article{
   padding:5px!important;
 }
 .digital-knowledge-hub-page .knowledge-hub-mini-stats strong{
   font-size:14px!important;
 }
 .phase17-library-page .teacher-page-intro-side{
   justify-content:flex-start!important;
 }
 .phase17-library-page .teacher-page-intro-side>div{
   min-width:88px!important;
 }
 .digital-knowledge-hub-page .teacher-page-quicklinks,
 .phase17-library-page .teacher-page-quicklinks{
   grid-column:1!important;
   max-width:100%!important;
   justify-content:flex-start!important;
   overflow-x:auto!important;
   flex-wrap:nowrap!important;
   padding-bottom:1px!important;
 }
 .digital-knowledge-hub-page .teacher-page-quicklinks>a,
 .phase17-library-page .teacher-page-quicklinks>a{
   min-height:26px!important;
   font-size:9px!important;
 }

 /* Resource discovery becomes one compact rail instead of a large block. */
 .phase17-library-page .phase174-resource-discovery{
   margin:7px 0 8px!important;
   padding:8px!important;
 }
 .phase17-library-page .phase174-resource-discovery-head{
   margin-bottom:5px!important;
 }
 .phase17-library-page .phase174-resource-discovery-head h2{
   font-size:14px!important;
 }
 .phase17-library-page .phase174-resource-discovery-head p{
   display:none!important;
 }
 .phase17-library-page .phase174-resource-tabs{
   overflow-x:auto!important;
   flex-wrap:nowrap!important;
 }
 .phase17-library-page .phase174-discovery-summary{
   display:flex!important;
   gap:6px!important;
   overflow-x:auto!important;
   scroll-snap-type:x proximity;
   scrollbar-width:none;
 }
 .phase17-library-page .phase174-discovery-summary::-webkit-scrollbar{display:none}
 .phase17-library-page .phase174-discovery-summary>a{
   flex:0 0 min(255px,82vw)!important;
   min-height:52px!important;
   scroll-snap-align:start;
 }
 .phase17-library-page .phase174-explore-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .phase17-library-page .phase174-lsv-explore{
   grid-template-columns:1fr!important;
 }

 /* Library results use full mobile width. */
 .phase17-library-page .p17-library-shell{
   grid-template-columns:1fr!important;
   gap:0!important;
 }
 .phase17-library-page .p17-library-results{
   min-width:0!important;
 }
 .phase17-library-page .p17-library-toolbar{
   min-height:42px!important;
   flex-direction:row!important;
   align-items:center!important;
   gap:7px!important;
   padding:6px 7px!important;
   margin-bottom:8px!important;
   position:sticky;
   top:58px;
   z-index:28;
   box-shadow:0 4px 12px rgba(24,55,79,.06);
 }
 .phase17-library-page .p17-library-toolbar>div{
   min-width:0;
   display:flex;
   align-items:center;
   gap:6px;
 }
 .phase17-library-page .p17-library-toolbar>div>span{
   overflow:hidden;
   white-space:nowrap;
   text-overflow:ellipsis;
 }
 .phase17-library-page .p17-library-toolbar form{
   margin-left:auto;
 }
 .phase17-library-page .p17-library-toolbar form label{
   font-size:0!important;
 }
 .phase17-library-page .p17-library-toolbar select{
   width:118px!important;
   max-width:118px!important;
 }

 .phase17-library-page .p17-mobile-filter{
   display:inline-flex!important;
   align-items:center!important;
   gap:5px!important;
   min-height:32px!important;
   padding:0 8px!important;
   border-radius:8px!important;
   font-size:9.5px!important;
   white-space:nowrap;
 }
 .phase17-library-page .p17-mobile-filter b{
   min-width:18px;
   height:18px;
   padding:0 5px;
   display:grid;
   place-items:center;
   border-radius:999px;
   background:#1d70ac;
   color:#fff;
   font-size:7.5px!important;
 }

 .phase17-library-page .p17-filter-panel{
   display:block!important;
   position:fixed!important;
   z-index:220!important;
   top:0!important;
   left:0!important;
   width:min(320px,88vw)!important;
   height:100dvh!important;
   max-height:100dvh!important;
   padding:12px!important;
   border:0!important;
   border-radius:0 14px 14px 0!important;
   overflow-y:auto!important;
   transform:translateX(-105%);
   transition:transform .20s ease;
   box-shadow:0 12px 38px rgba(14,42,65,.20)!important;
 }
 .phase17-library-page .p17-filter-panel.open{
   transform:translateX(0)!important;
 }
 .phase17-library-page .p17-filter-panel>header{
   position:sticky;
   top:-12px;
   z-index:3;
   margin:-12px -12px 8px!important;
   padding:12px;
   background:#fff;
   border-bottom:1px solid #e5ecf1;
 }
 .phase17-library-page .p175-filter-close{
   width:32px;
   height:32px;
   display:grid!important;
   place-items:center;
   border:1px solid #dce6ed;
   border-radius:8px;
   background:#f6f9fb;
   color:#355c77;
   font-size:20px!important;
   line-height:1;
 }
 .p175-filter-backdrop{
   display:block;
   position:fixed;
   z-index:210;
   inset:0;
   border:0;
   background:rgba(19,39,55,.28);
   opacity:0;
   pointer-events:none;
   transition:opacity .18s ease;
 }
 body.p175-filter-open .p175-filter-backdrop{
   opacity:1;
   pointer-events:auto;
 }
 body.p175-filter-open{
   overflow:hidden;
 }

 /* Knowledge cards are swipeable and large enough to read. */
 .digital-knowledge-hub-page .knowledge-highlight-grid{
   display:grid!important;
   grid-auto-flow:column!important;
   grid-auto-columns:minmax(260px,84vw)!important;
   grid-template-columns:none!important;
   gap:8px!important;
   overflow-x:auto!important;
   scroll-snap-type:x mandatory;
   scrollbar-width:none;
   padding-bottom:2px;
 }
 .digital-knowledge-hub-page .knowledge-highlight-grid::-webkit-scrollbar{display:none}
 .digital-knowledge-hub-page .knowledge-highlight-card{
   scroll-snap-align:start;
 }
 .digital-knowledge-hub-page .knowledge-pathway-grid{
   display:grid!important;
   grid-auto-flow:column!important;
   grid-auto-columns:minmax(240px,80vw)!important;
   grid-template-columns:none!important;
   overflow-x:auto!important;
   scroll-snap-type:x proximity;
   scrollbar-width:none;
 }
 .digital-knowledge-hub-page .knowledge-pathway-grid::-webkit-scrollbar{display:none}
 .digital-knowledge-hub-page .knowledge-pathway-grid>a{
   scroll-snap-align:start;
 }
 .digital-knowledge-hub-page .knowledge-hub-columns{
   grid-template-columns:1fr!important;
 }
 .digital-knowledge-hub-page .knowledge-section-heading{
   margin:11px 0 6px!important;
 }
 .digital-knowledge-hub-page .knowledge-section-heading p{
   display:none!important;
 }
}

/* Very small phones: keep text and covers readable without crowding. */
@media(max-width:430px){
 .digital-knowledge-hub-page .teacher-page-intro-copy p,
 .phase17-library-page .teacher-page-intro-copy p{
   display:none!important;
 }
 .digital-knowledge-hub-page .knowledge-hub-mini-stats{
   order:3;
 }
 .digital-knowledge-hub-page .teacher-page-search,
 .phase17-library-page .teacher-page-search{
   grid-template-columns:16px minmax(0,1fr) 58px!important;
 }
 .digital-knowledge-hub-page .teacher-page-search button,
 .phase17-library-page .teacher-page-search button{
   font-size:9px!important;
 }
 .phase17-library-page .teacher-page-intro-side{
   display:none!important;
 }
 .phase17-library-page .phase174-resource-discovery-head>div>span{
   display:none!important;
 }
 .phase17-library-page .phase174-resource-tabs a{
   min-height:28px!important;
   padding:0 8px!important;
   font-size:8.8px!important;
 }
 .phase17-library-page .phase174-explore-grid{
   grid-template-columns:1fr!important;
 }
 .phase17-library-page .p17-library-toolbar select{
   width:104px!important;
 }
 .phase17-library-page .p17-resource-card-body{
   padding:10px!important;
 }
 .phase17-library-page .p17-resource-card h2{
   margin:5px 0!important;
   font-size:14px!important;
 }
 .phase17-library-page .p17-resource-card p{
   min-height:0!important;
   font-size:10.5px!important;
   line-height:1.35!important;
 }
 .phase17-library-page .p17-resource-tags{
   margin:7px 0!important;
 }
 .phase17-library-page .p17-resource-tags span{
   padding:4px 6px!important;
   font-size:8.5px!important;
 }
}

@media(max-width:760px){
 .digital-knowledge-hub-page .teacher-page-intro-copy,
 .phase17-library-page .teacher-page-intro-copy{order:1}
 .digital-knowledge-hub-page .teacher-page-search,
 .phase17-library-page .teacher-page-search{order:2}
 .digital-knowledge-hub-page .teacher-page-quicklinks,
 .phase17-library-page .teacher-page-quicklinks{order:3}
 .digital-knowledge-hub-page .knowledge-hub-mini-stats,
 .phase17-library-page .teacher-page-intro-side{order:4}
}


/* ========================================================================
   V17.5.1 HOTFIX — Resource Library Grid / Backdrop Regression
   The mobile filter backdrop must never participate in the desktop grid.
   ======================================================================== */

/* Desktop: explicitly lock the two real grid children into their columns. */
.phase17-library-page .p17-library-shell{
  display:grid!important;
  grid-template-columns:225px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
}
.phase17-library-page .p17-filter-panel{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
}
.phase17-library-page .p17-library-results{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}

/* Critical regression fix: the mobile backdrop is not a desktop grid item. */
.phase17-library-page .p175-filter-backdrop{
  display:none!important;
}

/* The result grid always owns the full available result-column width. */
.phase17-library-page .p17-resource-grid{
  width:100%!important;
  min-width:0!important;
}
.phase17-library-page .p17-resource-card{
  min-width:0!important;
}

/* Tablet: use the same drawer pattern as phones instead of mixing the old
   900px stacked-filter rule with the newer two-column layout. */
@media(max-width:980px){
  .phase17-library-page .p17-library-shell{
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
  }
  .phase17-library-page .p17-library-results{
    grid-column:1!important;
    grid-row:1!important;
  }

  .phase17-library-page .p17-mobile-filter{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
  }

  .phase17-library-page .p17-filter-panel{
    display:block!important;
    position:fixed!important;
    z-index:220!important;
    top:0!important;
    left:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:min(320px,88vw)!important;
    height:100dvh!important;
    max-height:100dvh!important;
    padding:12px!important;
    border:0!important;
    border-radius:0 14px 14px 0!important;
    overflow-y:auto!important;
    transform:translateX(-105%)!important;
    transition:transform .20s ease!important;
    box-shadow:0 12px 38px rgba(14,42,65,.20)!important;
  }
  .phase17-library-page .p17-filter-panel.open{
    transform:translateX(0)!important;
  }

  .phase17-library-page .p175-filter-backdrop{
    display:block!important;
    position:fixed!important;
    z-index:210!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:rgba(19,39,55,.28)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .18s ease!important;
  }
  body.p175-filter-open .p175-filter-backdrop{
    opacity:1!important;
    pointer-events:auto!important;
  }

  .phase17-library-page .p17-filter-panel>header{
    position:sticky!important;
    top:-12px!important;
    z-index:3!important;
    margin:-12px -12px 8px!important;
    padding:12px!important;
    background:#fff!important;
    border-bottom:1px solid #e5ecf1!important;
  }
  .phase17-library-page .p175-filter-close{
    display:grid!important;
  }
}

/* Desktop results density. */
@media(min-width:981px){
  .phase17-library-page .p17-mobile-filter{
    display:none!important;
  }
  .phase17-library-page .p175-filter-close{
    display:none!important;
  }
}

/* Medium desktop: preserve usable card width. */
@media(min-width:981px) and (max-width:1280px){
  .phase17-library-page .p17-resource-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Wider desktop: three-column catalogue. */
@media(min-width:1281px){
  .phase17-library-page .p17-resource-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* Tablet: two cards where space permits. */
@media(min-width:681px) and (max-width:980px){
  .phase17-library-page .p17-resource-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}

/* Phones: one full-width card. */
@media(max-width:680px){
  .phase17-library-page .p17-resource-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
}


/* ========================================================================
   V17.5.2 — Compact Resource Card Height / Blank Space Fix
   ======================================================================== */

/* Cards size to their actual content rather than stretching to the tallest
   item in the row. */
.phase17-library-page .p17-resource-grid{
  align-items:start!important;
  grid-auto-rows:max-content!important;
}
.phase17-library-page .p17-resource-card{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
}

/* Remove legacy fixed body/description height that created white gaps. */
.phase17-library-page .p17-resource-card-body{
  height:auto!important;
  min-height:0!important;
  padding:11px 12px 10px!important;
}
.phase17-library-page .p17-resource-card p{
  min-height:0!important;
  height:auto!important;
  margin:4px 0 0!important;
  font-size:10.5px!important;
  line-height:1.38!important;
}
.phase17-library-page .p17-resource-card p:empty{
  display:none!important;
}

/* Empty tag blocks should reserve no vertical space. */
.phase17-library-page .p17-resource-tags{
  min-height:0!important;
  margin:7px 0!important;
}
.phase17-library-page .p17-resource-tags:empty{
  display:none!important;
  margin:0!important;
}

/* Slightly tighter metadata and title spacing while keeping readability. */
.phase17-library-page .p17-card-meta{
  gap:7px!important;
  font-size:9px!important;
  line-height:1.25!important;
}
.phase17-library-page .p17-resource-card h2{
  margin:5px 0 3px!important;
  font-size:13.5px!important;
  line-height:1.28!important;
}

/* Footer follows content immediately; no artificial push-down. */
.phase17-library-page .p17-resource-card footer{
  margin-top:8px!important;
  padding-top:8px!important;
  min-height:0!important;
  align-items:center!important;
}
.phase17-library-page .p17-resource-card footer small{
  font-size:8.8px!important;
}
.phase17-library-page .p17-resource-card footer>a{
  font-size:9.5px!important;
  white-space:nowrap!important;
}

/* If a resource has neither description nor tags, bring the footer closer
   to the title while maintaining a clear visual separator. */
.phase17-library-page .p17-resource-card p:empty + .p17-resource-tags:empty + footer{
  margin-top:6px!important;
}

/* Medium/tablet cards remain compact but touch-friendly. */
@media(max-width:980px){
  .phase17-library-page .p17-resource-card-body{
    padding:10px!important;
  }
  .phase17-library-page .p17-resource-card h2{
    font-size:13px!important;
  }
  .phase17-library-page .p17-resource-card footer{
    margin-top:7px!important;
    padding-top:7px!important;
  }
}

/* Phones: retain comfortable touch/readability while still avoiding blank
   white areas. */
@media(max-width:680px){
  .phase17-library-page .p17-resource-card-body{
    padding:10px 11px!important;
  }
  .phase17-library-page .p17-resource-card h2{
    font-size:14px!important;
    line-height:1.3!important;
  }
  .phase17-library-page .p17-resource-card p{
    font-size:10.5px!important;
    line-height:1.4!important;
  }
  .phase17-library-page .p17-resource-card footer{
    min-height:36px!important;
  }
}


/* ========================================================================
   Phase 17.6 — Guided AI Teaching Workspace Wizard
   ======================================================================== */

.phase176-ai-wizard-page{
 background:#f5f8fc;
}
.phase176-ai-wizard-page .content{
 padding-top:14px!important;
}
.phase176-heading{
 align-items:flex-end;
 margin-bottom:12px;
}
.phase176-heading>div>span{
 display:block;
 margin-bottom:3px;
 color:#2b72ad;
 font-size:8.5px!important;
 font-weight:900;
 letter-spacing:.105em;
}
.phase176-heading h1{
 font-size:24px!important;
}
.phase176-heading p{
 max-width:760px;
 font-size:10.5px!important;
 line-height:1.45;
}
.phase176-workspace-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) 255px;
 gap:14px;
 align-items:start;
}
.phase176-workspace-main{
 min-width:0;
}
.phase176-wizard-shell,
.phase176-result-shell{
 overflow:hidden;
 padding:0!important;
 border:1px solid #dce6ef;
 border-radius:15px;
 background:#fff;
 box-shadow:0 10px 28px rgba(26,65,98,.07);
}
.phase176-wizard-header{
 padding:16px 18px 12px;
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:15px;
 border-bottom:1px solid #edf1f5;
}
.phase176-wizard-header>div>span{
 color:#2e74a7;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.11em;
}
.phase176-wizard-header h2{
 margin:3px 0 2px;
 color:#173e61;
 font-size:18px!important;
}
.phase176-wizard-header p{
 max-width:700px;
 margin:0!important;
 color:#748696;
 font-size:9.5px!important;
 line-height:1.4;
}
.phase176-step-count{
 flex:0 0 auto;
 min-width:54px;
 height:34px;
 padding:0 10px;
 display:flex;
 align-items:center;
 justify-content:center;
 border-radius:9px;
 background:#f1f7fb;
 color:#42657f;
 font-size:10px!important;
}
.phase176-step-count span{
 color:#1768a5;
 font-size:14px!important;
}

/* Progress */
.phase176-progress{
 padding:11px 18px;
 display:grid;
 grid-template-columns:auto minmax(18px,1fr) auto minmax(18px,1fr) auto minmax(18px,1fr) auto;
 align-items:center;
 gap:6px;
 background:#fbfcfd;
 border-bottom:1px solid #edf1f5;
}
.phase176-progress>span{
 height:2px;
 border-radius:999px;
 background:#dce7ef;
}
.phase176-progress button{
 min-width:0;
 padding:0;
 border:0;
 background:transparent;
 display:flex;
 align-items:center;
 gap:6px;
 color:#8393a0;
 cursor:pointer;
}
.phase176-progress button:disabled{
 cursor:default;
 opacity:.58;
}
.phase176-progress button i{
 width:27px;
 height:27px;
 display:grid;
 place-items:center;
 flex:0 0 27px;
 border:1px solid #d6e2ea;
 border-radius:50%;
 background:#fff;
 color:#6d8291;
 font-style:normal;
 font-size:8.5px!important;
 font-weight:900;
}
.phase176-progress button span{
 font-size:8.5px!important;
 font-weight:800;
 white-space:nowrap;
}
.phase176-progress button.active{
 color:#1e679e;
}
.phase176-progress button.active i{
 border-color:#1e74b3;
 background:#1e74b3;
 color:#fff;
 box-shadow:0 0 0 4px rgba(30,116,179,.10);
}
.phase176-progress button.complete i{
 border-color:#69b78d;
 background:#eaf7f0;
 color:#27875a;
}
.phase176-progress button.complete + span{
 background:#8fc9aa;
}

/* Wizard page */
.phase176-wizard-form{
 display:block!important;
 margin:0!important;
}
.phase176-step{
 min-height:410px;
 padding:18px;
 animation:phase176StepIn .20s ease;
}
.phase176-step[hidden]{
 display:none!important;
}
@keyframes phase176StepIn{
 from{opacity:0;transform:translateX(8px)}
 to{opacity:1;transform:translateX(0)}
}
.phase176-step-intro{
 margin-bottom:13px;
}
.phase176-step-intro>span{
 color:#2d76ac;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.1em;
}
.phase176-step-intro h3{
 margin:3px 0;
 color:#183f61;
 font-size:18px!important;
 outline:none;
}
.phase176-step-intro p{
 margin:0!important;
 color:#738695;
 font-size:10px!important;
 line-height:1.45;
}

/* Step 1 tool picker */
.phase176-tool-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
}
.phase176-tool-option{
 position:relative;
 min-height:98px;
 padding:11px;
 display:grid;
 grid-template-columns:38px minmax(0,1fr) 20px;
 gap:9px;
 align-items:center;
 border:1px solid #dfe7ed;
 border-radius:11px;
 background:#fff;
 color:inherit;
 text-align:left;
 cursor:pointer;
 transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease;
}
.phase176-tool-option:hover{
 transform:translateY(-1px);
 border-color:#a9cce4;
 background:#fbfdff;
 box-shadow:0 7px 17px rgba(32,84,124,.07);
}
.phase176-tool-option.selected{
 border-color:#2a78b1;
 background:#f1f8fd;
 box-shadow:0 0 0 3px rgba(42,120,177,.08);
}
.phase176-tool-icon,
.phase176-review-tool-icon{
 width:38px;
 height:38px;
 display:grid;
 place-items:center;
 border-radius:10px;
 background:#eaf4fb;
 color:#2170a9;
}
.phase176-tool-icon svg,
.phase176-review-tool-icon svg{
 width:19px;
 height:19px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.phase176-tool-option strong{
 display:block;
 color:#2d506b;
 font-size:10.5px!important;
}
.phase176-tool-option small{
 display:block;
 margin-top:3px;
 color:#7a8b98;
 font-size:8.5px!important;
 line-height:1.35;
}
.phase176-tool-option>i{
 width:19px;
 height:19px;
 display:grid;
 place-items:center;
 border:1px solid #d5e2e9;
 border-radius:50%;
 color:transparent;
 font-style:normal;
 font-size:9px!important;
}
.phase176-tool-option.selected>i{
 border-color:#31a36b;
 background:#31a36b;
 color:#fff;
}

/* Step 2 */
.phase176-form-card{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
 padding:14px;
 border:1px solid #e2e9ee;
 border-radius:12px;
 background:#fafcfd;
}
.phase176-field{
 display:grid;
 gap:5px;
 min-width:0;
 color:#506a7d;
 font-size:9.5px!important;
 font-weight:800;
}
.phase176-field-wide{
 grid-column:1/-1;
}
.phase176-field>span{
 display:flex;
 align-items:center;
 gap:6px;
}
.phase176-field>span small{
 padding:3px 6px;
 border-radius:999px;
 background:#eaf5fc;
 color:#2774ab;
 font-size:7px!important;
}
.phase176-field .input{
 width:100%;
 min-height:40px;
 border:1px solid #d9e4eb;
 border-radius:9px;
 background:#fff;
 font-size:10.5px!important;
}
.phase176-field .input:focus{
 border-color:#70acd2;
 box-shadow:0 0 0 3px rgba(52,137,194,.10);
}
.phase176-field em{
 color:#8796a1;
 font-size:8px!important;
 font-style:normal;
 font-weight:500;
}
.phase176-duration-control{
 position:relative;
}
.phase176-duration-control input{
 padding-right:70px!important;
}
.phase176-duration-control b{
 position:absolute;
 right:10px;
 top:50%;
 transform:translateY(-50%);
 color:#7a8b98;
 font-size:8px!important;
}

/* Step 3 */
.phase176-learning-grid{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:11px;
}
.phase176-learning-card{
 padding:14px;
 display:grid;
 grid-template-columns:42px minmax(0,1fr);
 gap:10px;
 align-items:center;
 border:1px solid #dce7ee;
 border-radius:12px;
 background:#fbfdff;
}
.phase176-learning-card.values{
 background:#fffdf8;
 border-color:#eadfbd;
}
.phase176-learning-icon{
 width:42px;
 height:42px;
 display:grid;
 place-items:center;
 border-radius:11px;
 background:#e7f4fc;
 color:#2379af;
 font-size:18px!important;
}
.phase176-learning-card.values .phase176-learning-icon{
 background:#fff1cb;
 color:#b17b12;
}
.phase176-learning-card strong{
 display:block;
 color:#31536c;
 font-size:11px!important;
}
.phase176-learning-card small{
 display:block;
 margin-top:2px;
 color:#82919c;
 font-size:8.5px!important;
 line-height:1.35;
}
.phase176-learning-card select{
 grid-column:1/-1;
 min-height:41px;
 font-size:10.5px!important;
}
.phase176-guidance-note{
 margin-top:11px;
 padding:10px 11px;
 display:grid;
 grid-template-columns:28px minmax(0,1fr);
 gap:8px;
 align-items:center;
 border:1px solid #dbe8f2;
 border-radius:10px;
 background:#f3f8fc;
}
.phase176-guidance-note>span{
 width:27px;
 height:27px;
 display:grid;
 place-items:center;
 border-radius:50%;
 background:#dceefa;
 color:#2675aa;
 font-size:11px!important;
 font-weight:900;
}
.phase176-guidance-note p{
 margin:0!important;
 color:#5f788a;
 font-size:9px!important;
 line-height:1.45;
}

/* Review */
.phase176-review-card{
 overflow:hidden;
 border:1px solid #dfe8ee;
 border-radius:12px;
 background:#fff;
}
.phase176-review-card>header{
 padding:12px 14px;
 display:flex;
 align-items:center;
 gap:10px;
 border-bottom:1px solid #e9eef2;
 background:#f8fbfd;
}
.phase176-review-card header small{
 display:block;
 color:#7d8e99;
 font-size:7.5px!important;
 font-weight:900;
 letter-spacing:.07em;
}
.phase176-review-card header h4{
 margin:2px 0 0;
 color:#244e6c;
 font-size:13px!important;
}
.phase176-review-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.phase176-review-grid article{
 min-height:68px;
 padding:11px 13px;
 border-right:1px solid #edf1f4;
 border-bottom:1px solid #edf1f4;
}
.phase176-review-grid article:nth-child(3n){
 border-right:0;
}
.phase176-review-grid article:nth-last-child(-n+3){
 border-bottom:0;
}
.phase176-review-grid span{
 display:block;
 color:#8695a0;
 font-size:8px!important;
}
.phase176-review-grid strong{
 display:block;
 margin-top:4px;
 color:#31526a;
 font-size:10px!important;
 line-height:1.3;
}
.phase176-review-grid strong b{
 font-size:10px!important;
}
.phase176-generation-note{
 margin-top:11px;
 padding:11px 13px;
 display:grid;
 grid-template-columns:36px minmax(0,1fr);
 gap:9px;
 align-items:center;
 border-radius:10px;
 background:linear-gradient(135deg,#edf6fd,#f8fbfd);
 border:1px solid #dceaf3;
}
.phase176-generation-note>span{
 width:36px;
 height:36px;
 display:grid;
 place-items:center;
 border-radius:10px;
 background:#fff;
 color:#2876ab;
}
.phase176-generation-note svg{
 width:18px;
 height:18px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
}
.phase176-generation-note strong{
 display:block;
 color:#31536c;
 font-size:10px!important;
}
.phase176-generation-note p{
 margin:2px 0 0!important;
 color:#758896;
 font-size:8.5px!important;
 line-height:1.4;
}

/* Validation + navigation */
.phase176-validation-message{
 margin:0 18px 10px;
 padding:9px 11px;
 border:1px solid #efcfb4;
 border-radius:9px;
 background:#fff7ef;
 color:#93521e;
 font-size:9px!important;
}
.phase176-wizard-actions{
 min-height:61px;
 padding:9px 14px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 border-top:1px solid #e9eef2;
 background:#fafcfd;
}
.phase176-wizard-actions>div{
 display:flex;
 align-items:center;
 gap:10px;
}
.phase176-wizard-actions small{
 color:#83939f;
 font-size:8px!important;
}
.phase176-back{
 min-width:80px;
 height:35px;
 border:1px solid #dbe5eb;
 border-radius:8px;
 background:#fff;
 color:#46667e;
 font-size:9px!important;
 font-weight:800;
 cursor:pointer;
}
.phase176-back:disabled{
 opacity:.4;
 cursor:default;
}
.phase176-next,
.phase176-generate{
 min-width:105px;
 height:36px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:6px!important;
 padding:0 13px!important;
 font-size:9.5px!important;
}
.phase176-generate{
 min-width:132px;
 background:linear-gradient(180deg,#176fc0,#145c9d)!important;
 box-shadow:0 5px 14px rgba(21,102,170,.20)!important;
}
.phase176-generate svg{
 width:15px;
 height:15px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
}
.phase176-generate.is-loading{
 opacity:.78;
 pointer-events:none;
}

/* Recent creations */
.phase176-recent{
 top:76px!important;
 padding:12px!important;
}
.phase176-recent>header{
 margin-bottom:6px;
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:8px;
}
.phase176-recent>header span{
 display:block;
 color:#7f909c;
 font-size:7px!important;
 font-weight:900;
 letter-spacing:.08em;
}
.phase176-recent>header h2{
 margin:2px 0 0!important;
}
.phase176-recent>header>a{
 color:#2170a7;
 font-size:7.5px!important;
 font-weight:800;
}
.phase176-recent-empty{
 padding:18px 8px;
 text-align:center;
}
.phase176-recent-empty>span{
 display:block;
 color:#4b91bd;
 font-size:20px!important;
}
.phase176-recent-empty p{
 margin:4px 0 0!important;
 color:#82929e;
 font-size:8.5px!important;
}

/* Generation analysis modal */
.phase176-analysis-overlay[hidden]{
 display:none!important;
}
.phase176-analysis-overlay{
 position:fixed;
 z-index:1000;
 inset:0;
 display:grid;
 place-items:center;
 padding:20px;
 background:rgba(14,33,50,.42);
 backdrop-filter:blur(5px);
}
.phase176-analysis-modal{
 width:min(430px,92vw);
 padding:28px 24px 22px;
 border:1px solid rgba(255,255,255,.8);
 border-radius:18px;
 background:rgba(255,255,255,.98);
 text-align:center;
 box-shadow:0 24px 70px rgba(10,34,54,.24);
 animation:phase176ModalIn .22s ease;
}
@keyframes phase176ModalIn{
 from{opacity:0;transform:scale(.96) translateY(8px)}
 to{opacity:1;transform:scale(1) translateY(0)}
}
.phase176-analysis-animation{
 position:relative;
 width:94px;
 height:94px;
 margin:0 auto 12px;
 display:grid;
 place-items:center;
}
.phase176-ai-core{
 position:relative;
 z-index:5;
 width:48px;
 height:48px;
 display:grid;
 place-items:center;
 border-radius:15px;
 background:linear-gradient(145deg,#176fb8,#28a0ce);
 color:#fff;
 box-shadow:0 8px 22px rgba(25,112,175,.28);
 animation:phase176CorePulse 1.2s ease-in-out infinite;
}
.phase176-ai-core svg{
 width:23px;
 height:23px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
}
@keyframes phase176CorePulse{
 0%,100%{transform:scale(1)}
 50%{transform:scale(1.08)}
}
.phase176-analysis-animation>i{
 position:absolute;
 inset:7px;
 border:1px solid rgba(36,126,184,.20);
 border-radius:50%;
 animation:phase176Orbit 2.1s linear infinite;
}
.phase176-analysis-animation>i:nth-of-type(2){
 inset:15px;
 animation-duration:1.7s;
 animation-direction:reverse;
}
.phase176-analysis-animation>i:nth-of-type(3){
 inset:0;
 animation-duration:2.8s;
}
@keyframes phase176Orbit{
 to{transform:rotate(360deg)}
}
.phase176-analysis-animation>b{
 position:absolute;
 width:7px;
 height:7px;
 border-radius:50%;
 background:#43b97a;
 box-shadow:0 0 0 5px rgba(67,185,122,.08);
 animation:phase176Float 1.7s ease-in-out infinite;
}
.phase176-analysis-animation>b:nth-of-type(1){top:7px;right:20px}
.phase176-analysis-animation>b:nth-of-type(2){bottom:13px;left:8px;animation-delay:.25s;background:#f2b54e}
.phase176-analysis-animation>b:nth-of-type(3){right:2px;bottom:35px;animation-delay:.5s;background:#4a9bd0}
@keyframes phase176Float{
 0%,100%{transform:translateY(0);opacity:.6}
 50%{transform:translateY(-5px);opacity:1}
}
.phase176-analysis-modal>span{
 color:#2d78ad;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.11em;
}
.phase176-analysis-modal h2{
 margin:5px 0 4px;
 color:#1f4664;
 font-size:18px!important;
}
.phase176-analysis-modal>p{
 margin:0!important;
 color:#6f8291;
 font-size:10px!important;
}
.phase176-analysis-progress{
 width:100%;
 height:5px;
 margin:15px 0 13px;
 overflow:hidden;
 border-radius:999px;
 background:#eaf0f4;
}
.phase176-analysis-progress i{
 display:block;
 width:36%;
 height:100%;
 border-radius:999px;
 background:linear-gradient(90deg,#1c72b4,#43b97a);
 animation:phase176Progress 1.2s ease-in-out infinite;
}
@keyframes phase176Progress{
 0%{transform:translateX(-110%)}
 100%{transform:translateX(310%)}
}
.phase176-analysis-status{
 display:flex;
 justify-content:center;
 gap:5px;
 flex-wrap:wrap;
}
.phase176-analysis-status span{
 padding:4px 7px;
 border-radius:999px;
 background:#f2f5f7;
 color:#8997a1;
 font-size:7px!important;
 font-weight:750;
}
.phase176-analysis-status span.active{
 background:#e8f5ee;
 color:#2d865d;
}
body.phase176-generating{
 overflow:hidden;
}

/* Results */
.phase176-result-shell{
 padding:17px!important;
}
.phase176-result-success{
 width:44px;
 height:44px;
 margin:0 0 10px;
 display:grid;
 place-items:center;
 border-radius:12px;
 background:#e7f6ee;
 color:#248157;
 font-size:20px!important;
 font-weight:900;
}
.phase176-result-header{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:12px;
}
.phase176-result-header>div:first-child>span{
 color:#2674a9;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.09em;
}
.phase176-result-header h2{
 margin:4px 0 0;
 color:#1e4665;
 font-size:18px!important;
}
.phase176-result-actions{
 display:flex;
 gap:7px;
}
.phase176-result-actions .btn{
 min-height:34px!important;
 padding:0 10px!important;
 font-size:8.5px!important;
}
.phase176-result-context{
 margin:12px 0 10px;
 display:flex;
 flex-wrap:wrap;
 gap:5px;
}
.phase176-result-context span,
.phase176-result-context i{
 padding:5px 7px;
 border-radius:999px;
 font-size:7.5px!important;
 font-style:normal;
}
.phase176-result-context span{
 background:#eaf4fb;
 color:#2371a7;
 font-weight:850;
}
.phase176-result-context i{
 background:#f3f5f7;
 color:#63798a;
}
.phase176-result-shell pre{
 margin:0;
 padding:15px;
 border-radius:10px;
 background:#f8fafc;
 color:#314f67;
 font-family:inherit;
 font-size:9.5px;
 line-height:1.6;
 white-space:pre-wrap;
 overflow-wrap:anywhere;
}
.phase176-result-sources{
 margin-top:11px;
}

/* Responsive */
@media(max-width:1100px){
 .phase176-workspace-layout{
   grid-template-columns:minmax(0,1fr)!important;
 }
 .phase176-recent{
   position:static!important;
 }
 .phase176-recent>a{
   display:grid!important;
 }
}
@media(max-width:800px){
 .phase176-ai-wizard-page .content{
   padding:10px!important;
 }
 .phase176-heading{
   align-items:flex-start!important;
   flex-direction:column!important;
   gap:8px!important;
 }
 .phase176-heading h1{
   font-size:21px!important;
 }
 .phase176-heading p{
   font-size:9.5px!important;
 }
 .phase176-wizard-header{
   padding:13px!important;
 }
 .phase176-progress{
   padding:9px 12px!important;
   gap:4px!important;
 }
 .phase176-progress button span{
   display:none!important;
 }
 .phase176-progress button i{
   width:25px!important;
   height:25px!important;
   flex-basis:25px!important;
 }
 .phase176-step{
   min-height:0!important;
   padding:13px!important;
 }
 .phase176-tool-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .phase176-tool-option{
   min-height:86px!important;
   grid-template-columns:34px minmax(0,1fr) 18px!important;
   padding:9px!important;
 }
 .phase176-tool-icon{
   width:34px!important;
   height:34px!important;
 }
 .phase176-form-card,
 .phase176-learning-grid{
   grid-template-columns:minmax(0,1fr)!important;
 }
 .phase176-field-wide{
   grid-column:auto!important;
 }
 .phase176-review-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .phase176-review-grid article:nth-child(3n){
   border-right:1px solid #edf1f4!important;
 }
 .phase176-review-grid article:nth-child(2n){
   border-right:0!important;
 }
 .phase176-review-grid article:nth-last-child(-n+3){
   border-bottom:1px solid #edf1f4!important;
 }
 .phase176-review-grid article:nth-last-child(-n+2){
   border-bottom:0!important;
 }
 .phase176-wizard-actions{
   padding:8px 10px!important;
 }
 .phase176-wizard-actions small{
   display:none!important;
 }
}
@media(max-width:520px){
 .phase176-heading>a{
   width:100%;
   justify-content:center;
 }
 .phase176-wizard-header h2{
   font-size:16px!important;
 }
 .phase176-wizard-header p{
   font-size:8.5px!important;
 }
 .phase176-tool-grid{
   grid-template-columns:minmax(0,1fr)!important;
 }
 .phase176-tool-option{
   min-height:72px!important;
 }
 .phase176-step-intro h3{
   font-size:16px!important;
 }
 .phase176-step-intro p{
   font-size:9px!important;
 }
 .phase176-review-grid{
   grid-template-columns:minmax(0,1fr)!important;
 }
 .phase176-review-grid article{
   border-right:0!important;
   border-bottom:1px solid #edf1f4!important;
   min-height:58px!important;
 }
 .phase176-review-grid article:last-child{
   border-bottom:0!important;
 }
 .phase176-wizard-actions{
   gap:6px!important;
 }
 .phase176-wizard-actions>div{
   margin-left:auto;
 }
 .phase176-back{
   min-width:66px!important;
 }
 .phase176-next{
   min-width:82px!important;
 }
 .phase176-generate{
   min-width:118px!important;
 }
 .phase176-result-header{
   flex-direction:column!important;
 }
 .phase176-result-actions{
   width:100%;
 }
 .phase176-result-actions .btn{
   flex:1;
   justify-content:center;
 }
 .phase176-analysis-modal{
   padding:22px 15px 18px!important;
 }
}

@media(prefers-reduced-motion:reduce){
 .phase176-step,
 .phase176-analysis-modal,
 .phase176-ai-core,
 .phase176-analysis-animation>i,
 .phase176-analysis-animation>b,
 .phase176-analysis-progress i{
   animation:none!important;
   transition:none!important;
 }
}

/* ========================================================================
   Phase 17.6.1 — Professional Draft Formatting & Preview Experience
   ======================================================================== */

/* Final wizard action state: never expose Next on Step 4. */
.phase176-next[hidden],
.phase176-generate[hidden]{display:none!important}

/* Result preview panel */
.phase1761-result-preview{
 margin-top:12px;
 padding:14px;
 border:1px solid #dfe7ed;
 border-radius:12px;
 background:#f3f6f9;
}
.phase1761-preview-button{
 display:inline-flex!important;
 align-items:center!important;
 gap:5px!important;
}
.phase1761-preview-button>span{
 font-size:13px!important;
 line-height:1;
}

/* Classroom-ready document */
.phase1761-draft-document{
 width:100%;
 overflow:hidden;
 border:1px solid #dfe6ec;
 border-radius:12px;
 background:#fff;
 color:#29475e;
 box-shadow:0 6px 18px rgba(25,61,88,.05);
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
.phase1761-draft-cover{
 padding:18px 20px 14px;
 border-bottom:1px solid #e6edf2;
 background:linear-gradient(135deg,#f5fafe 0%,#ffffff 72%);
}
.phase1761-draft-cover>div:first-child>span{
 display:block;
 margin-bottom:4px;
 color:#2b75aa;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.11em;
}
.phase1761-draft-cover h2{
 margin:0;
 max-width:760px;
 color:#173f61;
 font-size:21px!important;
 line-height:1.2;
 letter-spacing:-.25px;
}
.phase1761-draft-context{
 display:flex;
 flex-wrap:wrap;
 gap:5px;
 margin-top:10px;
}
.phase1761-draft-context span{
 padding:5px 8px;
 border:1px solid #d9e7f1;
 border-radius:999px;
 background:#fff;
 color:#557189;
 font-size:8px!important;
 font-weight:750;
}
.phase1761-draft-sections{
 padding:6px 20px 12px;
}
.phase1761-draft-section{
 padding:14px 0;
 border-bottom:1px solid #edf1f4;
}
.phase1761-draft-section:last-child{
 border-bottom:0;
}
.phase1761-draft-section>header{
 display:flex;
 align-items:center;
 gap:9px;
 margin-bottom:8px;
}
.phase1761-draft-section>header>span{
 width:32px;
 height:32px;
 flex:0 0 32px;
 display:grid;
 place-items:center;
 border-radius:9px;
 background:#eaf4fb;
 color:#2174ab;
 font-size:14px!important;
 font-weight:850;
}
.phase1761-draft-section>header small{
 display:block;
 margin-bottom:1px;
 color:#96a4ae;
 font-size:7px!important;
 font-weight:900;
 letter-spacing:.08em;
}
.phase1761-draft-section h3{
 margin:0;
 color:#31516a;
 font-size:12px!important;
 line-height:1.25;
}
.phase1761-draft-section ul{
 display:grid;
 gap:7px;
 margin:0;
 padding:0;
 list-style:none;
}
.phase1761-draft-section li{
 display:grid;
 grid-template-columns:20px minmax(0,1fr);
 gap:7px;
 align-items:start;
}
.phase1761-draft-section li>span{
 width:19px;
 height:19px;
 display:grid;
 place-items:center;
 border-radius:50%;
 background:#edf7f1;
 color:#31865d;
 font-size:7px!important;
 font-weight:900;
}
.phase1761-draft-section li p,
.phase1761-draft-paragraph{
 margin:0!important;
 color:#496579;
 font-size:9.5px!important;
 line-height:1.58;
}
.phase1761-draft-paragraph+.phase1761-draft-paragraph{
 margin-top:7px!important;
}
.phase1761-draft-section.guidance,
.phase1761-draft-section.note{
 margin:9px 0;
 padding:12px;
 border:1px solid #dce9f2;
 border-radius:10px;
 background:#f6fafc;
}
.phase1761-draft-section.guidance>header>span{
 background:#e4f2fb;
 color:#1f74ac;
}
.phase1761-draft-section.note{
 border-color:#eadfbd;
 background:#fffaf0;
}
.phase1761-draft-section.note>header>span{
 background:#fff0ca;
 color:#a97817;
}
.phase1761-draft-footer{
 min-height:43px;
 padding:9px 20px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 border-top:1px solid #e8edf1;
 background:#fafcfd;
}
.phase1761-draft-footer span{
 color:#2d678f;
 font-size:8px!important;
 font-weight:850;
}
.phase1761-draft-footer small{
 color:#8b99a3;
 font-size:7.5px!important;
 text-align:right;
}

/* Full professional preview modal */
.phase1761-preview-overlay[hidden]{display:none!important}
.phase1761-preview-overlay{
 position:fixed;
 z-index:1100;
 inset:0;
 padding:18px;
 display:grid;
 place-items:center;
 background:rgba(13,31,47,.54);
 backdrop-filter:blur(5px);
}
.phase1761-preview-shell{
 width:min(1040px,96vw);
 height:min(860px,94dvh);
 min-height:0;
 overflow:hidden;
 display:grid;
 grid-template-rows:auto minmax(0,1fr);
 border:1px solid rgba(255,255,255,.72);
 border-radius:16px;
 background:#f1f4f7;
 box-shadow:0 30px 80px rgba(6,27,43,.30);
 animation:phase1761PreviewIn .20s ease;
}
@keyframes phase1761PreviewIn{
 from{opacity:0;transform:scale(.98) translateY(6px)}
 to{opacity:1;transform:scale(1) translateY(0)}
}
.phase1761-preview-toolbar{
 min-height:58px;
 padding:9px 13px 9px 16px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 border-bottom:1px solid #dce5ec;
 background:#fff;
}
.phase1761-preview-toolbar>div:first-child>span{
 display:block;
 color:#2a75aa;
 font-size:7px!important;
 font-weight:900;
 letter-spacing:.11em;
}
.phase1761-preview-toolbar h2{
 margin:2px 0 0;
 color:#234a67;
 font-size:14px!important;
}
.phase1761-preview-toolbar>div:last-child{
 display:flex;
 gap:6px;
}
.phase1761-preview-toolbar button{
 min-height:34px;
 padding:0 10px;
 border:1px solid #dbe5ec;
 border-radius:8px;
 background:#fff;
 color:#43647c;
 font-size:8.5px!important;
 font-weight:800;
 cursor:pointer;
}
.phase1761-preview-toolbar button.primary{
 border-color:#196eaa;
 background:#196eaa;
 color:#fff;
}
.phase1761-preview-stage{
 min-height:0;
 overflow:auto;
 padding:24px;
 overscroll-behavior:contain;
}
.phase1761-preview-paper{
 width:min(820px,100%);
 min-height:100%;
 margin:0 auto;
}
.phase1761-preview-paper .phase1761-draft-document{
 border-radius:3px;
 box-shadow:0 12px 34px rgba(22,50,73,.12);
}
body.phase1761-preview-open{
 overflow:hidden;
}

/* Result output no longer looks like a raw developer/code block. */
.phase176-result-shell>pre[hidden]{display:none!important}
.phase176-result-shell .phase176-result-sources{
 padding:10px 12px;
 border:1px solid #e0e8ee;
 border-radius:10px;
 background:#fafcfd;
}
.phase176-result-shell .teacher-output-sources>strong{
 color:#2d526d!important;
}

@media(max-width:800px){
 .phase1761-result-preview{
   margin-top:10px;
   padding:8px;
 }
 .phase1761-draft-cover{
   padding:14px 14px 12px;
 }
 .phase1761-draft-cover h2{
   font-size:18px!important;
 }
 .phase1761-draft-sections{
   padding:5px 14px 10px;
 }
 .phase1761-draft-section{
   padding:11px 0;
 }
 .phase1761-draft-footer{
   padding:8px 14px;
 }
 .phase1761-preview-overlay{
   padding:8px;
 }
 .phase1761-preview-shell{
   width:100%;
   height:96dvh;
   border-radius:12px;
 }
 .phase1761-preview-stage{
   padding:12px;
 }
}

@media(max-width:520px){
 .phase1761-draft-cover h2{
   font-size:16px!important;
 }
 .phase1761-draft-section>header>span{
   width:29px;
   height:29px;
   flex-basis:29px;
 }
 .phase1761-draft-section h3{
   font-size:11px!important;
 }
 .phase1761-draft-section li p,
 .phase1761-draft-paragraph{
   font-size:9px!important;
 }
 .phase1761-draft-footer{
   align-items:flex-start;
   flex-direction:column;
   gap:2px;
 }
 .phase1761-draft-footer small{
   text-align:left;
 }
 .phase1761-preview-toolbar{
   min-height:54px;
   padding:7px 9px;
 }
 .phase1761-preview-toolbar>div:first-child>span{
   display:none;
 }
 .phase1761-preview-toolbar h2{
   font-size:12px!important;
 }
 .phase1761-preview-toolbar>div:last-child button:first-child{
   display:none;
 }
 .phase1761-preview-toolbar button{
   min-height:32px;
   padding:0 8px;
 }
 .phase176-result-actions{
   display:grid!important;
   grid-template-columns:1fr 1fr!important;
 }
 .phase176-result-actions>a.btn{
   grid-column:1/-1;
 }
}

@media(prefers-reduced-motion:reduce){
 .phase1761-preview-shell{animation:none!important}
}


/* ========================================================================
   Phase 17.7 — Teacher Dashboard Simplification & Responsive Density
   ======================================================================== */

/* Dashboard rhythm: more information above the fold without crowding. */
.teacher-dashboard-page .content{
 padding-top:12px!important;
}
.teacher-mockup-dashboard{
 gap:12px!important;
}
.teacher-mockup-main,
.teacher-mockup-aside{
 gap:10px!important;
}
.teacher-mockup-section{
 padding:12px 14px!important;
 border-radius:12px!important;
}
.teacher-mockup-section-head{
 margin-bottom:8px!important;
}
.teacher-mockup-section-head h2{
 font-size:15px!important;
}
.teacher-mockup-section-head p{
 margin-top:2px!important;
 font-size:9.5px!important;
 line-height:1.35!important;
}

/* Compact summary cards. */
.teacher-experience-stats{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:7px!important;
}
.teacher-experience-stats>a{
 min-height:62px!important;
 padding:8px 9px!important;
 grid-template-columns:30px minmax(0,1fr)!important;
 gap:7px!important;
 border-radius:10px!important;
}
.teacher-experience-stats>a>span{
 width:30px!important;
 height:30px!important;
 border-radius:8px!important;
 font-size:13px!important;
}
.teacher-experience-stats strong{
 font-size:15px!important;
}
.teacher-experience-stats small{
 margin-top:2px!important;
 font-size:8.5px!important;
 line-height:1.2!important;
}

/* Quick teaching tools: 4 compact cards on desktop rather than wrapping 3+1. */
.teacher-v10-tool-shortcuts{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:7px!important;
}
.teacher-v10-tool-shortcuts>a{
 min-height:62px!important;
 padding:8px 9px!important;
 grid-template-columns:30px minmax(0,1fr) auto!important;
 gap:7px!important;
 border-radius:10px!important;
}
.teacher-v10-tool-shortcuts>a>span{
 width:30px!important;
 height:30px!important;
 border-radius:8px!important;
 font-size:13px!important;
}
.teacher-v10-tool-shortcuts strong{
 font-size:9.5px!important;
 line-height:1.2!important;
}
.teacher-v10-tool-shortcuts small{
 margin-top:2px!important;
 font-size:7.8px!important;
 line-height:1.25!important;
}
.teacher-v10-tool-shortcuts b{
 font-size:8px!important;
}

/* On desktop, the personalised assistant card is the single AI entry point.
   The hero AI button is reserved for mobile/tablet where the side card is hidden. */
.teacher-mobile-ai-action{
 display:none!important;
}

/* ------------------------------------------------------------------------
   Compact resource discovery — only active categories appear.
   ------------------------------------------------------------------------ */
.teacher-dashboard-explore{
 overflow:hidden;
}
.teacher-dashboard-eyebrow{
 display:block;
 margin-bottom:2px;
 color:#2b74aa;
 font-size:8px!important;
 font-weight:900;
 letter-spacing:.10em;
}
.teacher-dashboard-category-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:7px;
}
.teacher-dashboard-category-card{
 position:relative;
 min-width:0;
 min-height:66px;
 padding:8px 9px;
 display:grid;
 grid-template-columns:34px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 border:1px solid #e0e8ef;
 border-radius:9px;
 background:#fbfcfd;
 color:inherit;
 transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.teacher-dashboard-category-card:hover{
 transform:translateY(-1px);
 border-color:#b9d1e2;
 box-shadow:0 5px 13px rgba(29,75,108,.06);
}
.teacher-dashboard-category-card:before{
 content:"";
 position:absolute;
 top:0;
 left:10px;
 right:10px;
 height:2px;
 border-radius:0 0 3px 3px;
 background:#2b72ad;
}
.teacher-dashboard-category-icon{
 width:34px;
 height:34px;
 display:grid;
 place-items:center;
 border-radius:8px;
 background:#eef5fa;
 overflow:hidden;
}
.teacher-dashboard-category-icon img{
 width:27px;
 height:27px;
 object-fit:contain;
}
.teacher-dashboard-category-copy{
 min-width:0;
}
.teacher-dashboard-category-copy strong{
 display:block;
 overflow:hidden;
 white-space:nowrap;
 text-overflow:ellipsis;
 color:#244c69;
 font-size:10px!important;
 line-height:1.2;
}
.teacher-dashboard-category-copy small{
 display:block;
 margin-top:3px;
 color:#7c8d9a;
 font-size:8px!important;
}
.teacher-dashboard-category-card>em{
 padding:3px 5px;
 border-radius:999px;
 background:#e9f7ef;
 color:#27855b;
 font-size:7px!important;
 font-style:normal;
 font-weight:850;
}
.teacher-dashboard-category-card>b{
 color:#2b73a9;
 font-size:16px!important;
 line-height:1;
}
.teacher-dashboard-category-empty{
 min-height:70px;
 padding:10px;
 display:grid;
 grid-template-columns:32px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 border:1px dashed #cadbe6;
 border-radius:9px;
 background:#fafcfd;
}
.teacher-dashboard-category-empty>span{
 width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#edf5fa;color:#2674aa
}
.teacher-dashboard-category-empty strong{
 font-size:10px!important;color:#31556e
}
.teacher-dashboard-category-empty p{
 margin:2px 0 0!important;font-size:8.5px!important;color:#7d8e9a
}
.teacher-dashboard-category-empty>a{
 font-size:8.5px!important;font-weight:800;color:#256da2;white-space:nowrap
}
.teacher-dashboard-discovery-links{
 margin-top:7px;
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:6px;
}
.teacher-dashboard-discovery-links>a{
 min-width:0;
 min-height:44px;
 padding:6px 8px;
 display:grid;
 grid-template-columns:26px minmax(0,1fr);
 gap:6px;
 align-items:center;
 border-radius:8px;
 background:#f6f9fb;
 color:inherit;
}
.teacher-dashboard-discovery-links>a>span{
 width:26px;height:26px;display:grid;place-items:center;border-radius:7px;background:#eaf4fa;color:#2772a8;font-size:11px!important
}
.teacher-dashboard-discovery-links strong{
 display:block;color:#365b74;font-size:8.8px!important;line-height:1.15
}
.teacher-dashboard-discovery-links small{
 display:block;margin-top:1px;color:#8997a1;font-size:7.2px!important;line-height:1.15
}

/* Hide dashboard-only duplicated notification UI permanently; the header bell
   remains the single notification centre. */
.teacher-mockup-notifications{
 display:none!important;
}

/* Tablet */
@media(max-width:1180px){
 .teacher-experience-stats{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 .teacher-v10-tool-shortcuts{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .teacher-dashboard-category-grid{
   grid-template-columns:repeat(2,minmax(0,1fr));
 }
}

/* At the point the dashboard becomes one column, remove the large desktop AI
   card and expose the compact hero AI action instead. */
@media(max-width:980px){
 .teacher-mobile-ai-action{
   display:flex!important;
 }
 .teacher-mockup-assistant{
   display:none!important;
 }
 .teacher-mockup-aside{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .teacher-mockup-popular,
 .teacher-mockup-saved{
   grid-column:auto!important;
 }
}

/* Phone / small tablet */
@media(max-width:760px){
 .teacher-dashboard-page .content{
   padding:8px!important;
 }
 .teacher-mockup-dashboard{
   gap:8px!important;
 }
 .teacher-mockup-main{
   gap:8px!important;
 }

 /* Three compact stats per row when width allows. */
 .teacher-experience-stats{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:6px!important;
 }
 .teacher-experience-stats>a,
 .teacher-experience-stats>a:last-child{
   grid-column:auto!important;
   min-height:68px!important;
   padding:7px!important;
   grid-template-columns:1fr!important;
   gap:4px!important;
   justify-items:center;
   text-align:center;
 }
 .teacher-experience-stats>a>span{
   width:28px!important;
   height:28px!important;
 }
 .teacher-experience-stats strong{
   font-size:14px!important;
 }
 .teacher-experience-stats small{
   margin-top:2px!important;
   font-size:8px!important;
 }

 /* Two tools per row instead of four full-width stacked rows. */
 .teacher-v10-tool-shortcuts{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:6px!important;
 }
 .teacher-v10-tool-shortcuts>a{
   min-height:68px!important;
   padding:7px!important;
   grid-template-columns:28px minmax(0,1fr)!important;
   grid-template-rows:auto auto!important;
   gap:5px 7px!important;
 }
 .teacher-v10-tool-shortcuts>a>span{
   width:28px!important;
   height:28px!important;
 }
 .teacher-v10-tool-shortcuts>a>b{
   display:none!important;
 }
 .teacher-v10-tool-shortcuts small{
   display:none!important;
 }
 .teacher-v10-tool-shortcuts strong{
   font-size:9px!important;
 }

 .teacher-dashboard-category-grid{
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:6px;
 }
 .teacher-dashboard-category-card{
   min-height:62px;
   padding:7px;
   grid-template-columns:30px minmax(0,1fr) auto;
   gap:6px;
 }
 .teacher-dashboard-category-icon{
   width:30px;height:30px
 }
 .teacher-dashboard-category-icon img{
   width:24px;height:24px
 }
 .teacher-dashboard-category-copy strong{
   font-size:9px!important;
 }
 .teacher-dashboard-category-copy small{
   font-size:7.5px!important;
 }
 .teacher-dashboard-category-card>em{
   display:none;
 }
 .teacher-dashboard-discovery-links{
   grid-template-columns:repeat(3,minmax(0,1fr));
 }
 .teacher-dashboard-discovery-links>a{
   min-height:40px;
   padding:5px;
   grid-template-columns:22px minmax(0,1fr);
 }
 .teacher-dashboard-discovery-links>a>span{
   width:22px;height:22px;font-size:9px!important
 }
 .teacher-dashboard-discovery-links strong{
   font-size:7.8px!important;
 }
 .teacher-dashboard-discovery-links small{
   display:none!important;
 }

 .teacher-mockup-aside{
   grid-template-columns:1fr!important;
 }
}

/* Typical phone widths: two stat cards per row = three short rows for five
   indicators, matching the user's requested compact arrangement. */
@media(max-width:520px){
 .teacher-experience-stats{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .teacher-experience-stats>a:last-child{
   grid-column:1/-1!important;
   grid-template-columns:28px auto!important;
   justify-content:center!important;
   text-align:left!important;
 }
 .teacher-mockup-hero{
   padding:14px 12px!important;
 }
 .teacher-mockup-hero h1{
   font-size:21px!important;
 }
 .teacher-mockup-hero p{
   margin-bottom:12px!important;
   font-size:10.5px!important;
   line-height:1.4!important;
 }
 .teacher-mockup-actions{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:6px!important;
 }
 .teacher-mockup-actions a,
 .teacher-mockup-actions button{
   min-width:0!important;
   min-height:36px!important;
   padding:0 8px!important;
   font-size:9px!important;
 }
 .teacher-mobile-ai-action{
   grid-column:1/-1;
 }
 .teacher-dashboard-category-grid{
   grid-template-columns:1fr!important;
 }
 .teacher-dashboard-category-card{
   min-height:58px;
 }
 .teacher-dashboard-discovery-links{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}

/* Only extremely narrow devices fall back further. */
@media(max-width:340px){
 .teacher-experience-stats,
 .teacher-v10-tool-shortcuts{
   grid-template-columns:1fr!important;
 }
 .teacher-experience-stats>a:last-child{
   grid-column:auto!important;
 }
 .teacher-dashboard-discovery-links{
   grid-template-columns:1fr!important;
 }
}


/* Additional mobile content-density refinements. */
@media(max-width:760px){
 .teacher-mockup-recommendations{
   display:flex!important;
   overflow-x:auto!important;
   gap:8px!important;
   padding-bottom:2px!important;
   scroll-snap-type:x proximity;
   scrollbar-width:none;
 }
 .teacher-mockup-recommendations::-webkit-scrollbar{display:none}
 .teacher-mockup-recommendation{
   flex:0 0 min(270px,82vw)!important;
   scroll-snap-align:start;
 }
}

/* Keep active resource categories in two columns on normal phones. */
@media(max-width:520px) and (min-width:341px){
 .teacher-dashboard-category-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .teacher-dashboard-category-card{
   grid-template-columns:28px minmax(0,1fr) auto!important;
   gap:5px!important;
   padding:6px!important;
 }
 .teacher-dashboard-category-icon{
   width:28px!important;
   height:28px!important;
 }
 .teacher-dashboard-category-icon img{
   width:22px!important;
   height:22px!important;
 }
 .teacher-dashboard-category-copy strong{
   font-size:8.5px!important;
 }
 .teacher-dashboard-category-copy small{
   font-size:7px!important;
 }
 .teacher-dashboard-category-card>b{
   font-size:13px!important;
 }
}


/* ========================================================================
   V17.7.1 — Global Responsive & Typography Stabilization
   ======================================================================== */

:root{
 --lsv-text-xs:12px;
 --lsv-text-sm:13px;
 --lsv-text-base:15px;
 --lsv-text-md:16px;
 --lsv-text-lg:18px;
 --lsv-heading-sm:20px;
 --lsv-heading-md:24px;
 --lsv-heading-lg:30px;
}

body.design-system-v12{
 font-size:16px!important;
 line-height:1.5!important;
 text-rendering:optimizeLegibility;
 -webkit-font-smoothing:antialiased;
}
body.design-system-v12 input:not([type="checkbox"]):not([type="radio"]),
body.design-system-v12 select,
body.design-system-v12 textarea{
 font-size:15px!important;
 line-height:1.4!important;
}
body.design-system-v12 button,
body.design-system-v12 .btn{
 font-size:14px!important;
 line-height:1.25!important;
}
body.design-system-v12 label{
 font-size:14px!important;
 line-height:1.35!important;
}
body.design-system-v12 small{
 font-size:12px!important;
 line-height:1.35!important;
}
body.design-system-v12 table{
 font-size:14px!important;
}
body.design-system-v12 .nav-item,
body.design-system-v12 .teacher-primary-nav .nav-item{
 font-size:14px!important;
 line-height:1.3!important;
}
body.design-system-v12 .brand-copy strong{
 font-size:14px!important;
}
body.design-system-v12 .brand-copy small,
body.design-system-v12 .user-copy small{
 font-size:12px!important;
}
body.design-system-v12 .user-copy strong{
 font-size:13px!important;
}
body.design-system-v12 .breadcrumbs li{
 font-size:12px!important;
}

.teacher-portal-page .content p{
 font-size:14px!important;
 line-height:1.5!important;
}
.teacher-portal-page .content small{
 font-size:12px!important;
 line-height:1.4!important;
}
.teacher-portal-page .content input,
.teacher-portal-page .content select,
.teacher-portal-page .content textarea{
 font-size:15px!important;
}
.teacher-portal-page .content .btn,
.teacher-portal-page .content button{
 font-size:14px!important;
}

html,
body{
 max-width:100%;
}
.design-system-v12 .layout,
.design-system-v12 .main-shell,
.design-system-v12 .content,
.teacher-portal-page .teacher-mockup-dashboard,
.teacher-portal-page .teacher-mockup-main,
.teacher-portal-page .teacher-mockup-aside,
.teacher-portal-page .teacher-mockup-section,
.teacher-portal-page .card{
 min-width:0!important;
 max-width:100%;
}
.design-system-v12 img,
.design-system-v12 svg{
 max-width:100%;
}
.teacher-portal-page .content{
 width:100%;
 overflow-wrap:anywhere;
}

.design-system-v12 .topbar{
 min-width:0!important;
}
.design-system-v12 .authenticated-brand,
.design-system-v12 .global-search,
.design-system-v12 .header-actions{
 min-width:0!important;
}
.design-system-v12 .global-search{
 flex:1 1 360px!important;
 width:auto!important;
 max-width:610px;
}
.design-system-v12 .global-search input{
 min-width:0!important;
 font-size:15px!important;
}
.design-system-v12 .teacher-header-filter{
 white-space:nowrap;
}

@media(max-width:760px){
 .design-system-v12 .topbar{
   width:100%!important;
   min-width:0!important;
   padding:0 8px!important;
   gap:6px!important;
 }
 .design-system-v12 .menu-btn{
   display:block!important;
   flex:0 0 40px!important;
   width:40px!important;
 }
 .design-system-v12 .authenticated-brand{
   flex:0 0 44px!important;
   min-width:44px!important;
   width:44px!important;
   gap:0!important;
 }
 .design-system-v12 .authenticated-logo{
   width:40px!important;
   height:40px!important;
   flex-basis:40px!important;
 }
 .design-system-v12 .brand-copy{
   display:none!important;
 }
 .design-system-v12 .global-search{
   flex:1 1 auto!important;
   min-width:0!important;
   width:0!important;
   max-width:none!important;
   margin:0!important;
 }
 .design-system-v12 .global-search input{
   width:100%!important;
   min-width:0!important;
   padding-left:37px!important;
   padding-right:38px!important;
   font-size:14px!important;
   text-overflow:ellipsis;
 }
 .design-system-v12 .teacher-header-filter{
   width:34px!important;
   min-width:34px!important;
   padding:0!important;
   display:grid!important;
   place-items:center;
 }
 .design-system-v12 .teacher-header-filter span{
   display:none!important;
 }
 .design-system-v12 .header-actions{
   flex:0 0 auto!important;
   gap:3px!important;
   margin-left:0!important;
 }
 .design-system-v12 .notification-button,
 .design-system-v12 .icon-btn{
   width:38px!important;
   height:38px!important;
 }
 .design-system-v12 .profile-menu>summary{
   padding:2px!important;
 }
 .design-system-v12 .profile-menu .user-copy,
 .design-system-v12 .profile-caret{
   display:none!important;
 }
}
@media(max-width:390px){
 .design-system-v12 .topbar{
   padding:0 5px!important;
   gap:4px!important;
 }
 .design-system-v12 .menu-btn{
   flex-basis:36px!important;
   width:36px!important;
   height:36px!important;
 }
 .design-system-v12 .authenticated-brand{
   flex-basis:38px!important;
   min-width:38px!important;
   width:38px!important;
 }
 .design-system-v12 .authenticated-logo{
   width:36px!important;
   height:36px!important;
   flex-basis:36px!important;
 }
 .design-system-v12 .global-search input{
   font-size:13px!important;
   padding-left:34px!important;
   padding-right:32px!important;
 }
 .design-system-v12 .notification-button{
   width:36px!important;
   height:36px!important;
 }
 .design-system-v12 .avatar{
   width:36px!important;
   height:36px!important;
 }
}

.teacher-dashboard-page .content{
 width:100%!important;
 max-width:none!important;
 padding:12px!important;
}
.teacher-dashboard-page .teacher-mockup-dashboard{
 width:100%!important;
 max-width:1480px!important;
 grid-template-columns:minmax(0,1fr) minmax(280px,340px)!important;
 gap:12px!important;
}
.teacher-dashboard-page .teacher-mockup-main,
.teacher-dashboard-page .teacher-mockup-aside{
 width:100%!important;
}
.teacher-dashboard-page .teacher-mockup-aside{
 position:sticky;
 top:84px;
}

.teacher-dashboard-page .teacher-mockup-hero{
 min-width:0!important;
}
.teacher-dashboard-page .teacher-mockup-hero h1{
 font-size:28px!important;
 line-height:1.15!important;
}
.teacher-dashboard-page .teacher-mockup-hero p{
 font-size:14px!important;
 line-height:1.5!important;
}
.teacher-dashboard-page .teacher-mockup-search input{
 font-size:15px!important;
 min-width:0!important;
}
.teacher-dashboard-page .teacher-mockup-search button{
 font-size:14px!important;
}
.teacher-dashboard-page .teacher-mockup-actions{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:8px!important;
}
.teacher-dashboard-page .teacher-mockup-actions>a,
.teacher-dashboard-page .teacher-mockup-actions>button{
 min-width:0!important;
 font-size:13px!important;
}
.teacher-dashboard-page .teacher-mobile-ai-action{
 display:none!important;
}

.teacher-dashboard-page .teacher-experience-stats{
 display:grid!important;
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
 gap:8px!important;
 width:100%!important;
}
.teacher-dashboard-page .teacher-experience-stats>a{
 min-width:0!important;
 min-height:72px!important;
 padding:10px!important;
 grid-template-columns:34px minmax(0,1fr)!important;
 gap:8px!important;
 align-items:center!important;
}
.teacher-dashboard-page .teacher-experience-stats>a>span{
 width:34px!important;
 height:34px!important;
}
.teacher-dashboard-page .teacher-experience-stats strong{
 font-size:18px!important;
 line-height:1!important;
}
.teacher-dashboard-page .teacher-experience-stats small{
 font-size:12px!important;
 line-height:1.25!important;
}

.teacher-dashboard-page .teacher-v10-tool-shortcuts{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:8px!important;
 width:100%;
}
.teacher-dashboard-page .teacher-v10-tool-shortcuts>a{
 min-width:0!important;
 min-height:72px!important;
 padding:9px 10px!important;
}
.teacher-dashboard-page .teacher-v10-tool-shortcuts strong{
 font-size:13px!important;
 line-height:1.25!important;
}
.teacher-dashboard-page .teacher-v10-tool-shortcuts small{
 font-size:12px!important;
 line-height:1.3!important;
}
.teacher-dashboard-page .teacher-v10-tool-shortcuts b{
 font-size:12px!important;
}

.teacher-dashboard-page .teacher-mockup-reading-row,
.teacher-dashboard-page .teacher-mockup-recommendations,
.teacher-dashboard-page .teacher-mockup-recent-row{
 min-width:0!important;
 max-width:100%!important;
}
.teacher-dashboard-page .teacher-mockup-reading-info h3,
.teacher-dashboard-page .teacher-mockup-recommendation h3{
 font-size:15px!important;
 line-height:1.3!important;
}
.teacher-dashboard-page .teacher-mockup-reading-info p,
.teacher-dashboard-page .teacher-mockup-recommendation p{
 font-size:13px!important;
}

.teacher-dashboard-explore{
 padding:14px!important;
}
.teacher-dashboard-explore-head{
 margin-bottom:10px!important;
}
.teacher-dashboard-eyebrow{
 font-size:11px!important;
 letter-spacing:.09em!important;
}
.teacher-dashboard-explore .teacher-mockup-section-head h2{
 font-size:20px!important;
}
.teacher-dashboard-explore .teacher-mockup-section-head p{
 font-size:13px!important;
}
.teacher-dashboard-explore .teacher-mockup-section-head>a{
 font-size:13px!important;
 white-space:nowrap;
}
.teacher-dashboard-category-grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:9px!important;
}
.teacher-dashboard-category-card{
 min-width:0!important;
 min-height:78px!important;
 padding:10px 11px!important;
 grid-template-columns:40px minmax(0,1fr) auto!important;
 gap:9px!important;
 border-radius:11px!important;
 background:#fff!important;
 box-shadow:0 3px 10px rgba(34,71,99,.035);
}
.teacher-dashboard-category-card:before{
 left:0!important;
 right:0!important;
 height:3px!important;
 border-radius:11px 11px 0 0!important;
}
.teacher-dashboard-category-icon{
 width:40px!important;
 height:40px!important;
 border-radius:10px!important;
}
.teacher-dashboard-category-icon img{
 width:31px!important;
 height:31px!important;
}
.teacher-dashboard-category-copy strong{
 font-size:14px!important;
 line-height:1.25!important;
 white-space:normal!important;
 overflow:visible!important;
 text-overflow:clip!important;
}
.teacher-dashboard-category-copy small{
 margin-top:3px!important;
 font-size:12px!important;
}
.teacher-dashboard-category-card>em{
 font-size:11px!important;
 padding:4px 7px!important;
}
.teacher-dashboard-category-card>b{
 font-size:18px!important;
}
.teacher-dashboard-explore-by{
 margin-top:10px;
 padding-top:10px;
 display:flex;
 align-items:center;
 gap:8px;
 flex-wrap:wrap;
 border-top:1px solid #e7edf2;
}
.teacher-dashboard-explore-by>span{
 margin-right:2px;
 color:#708494;
 font-size:12px!important;
 font-weight:800;
}
.teacher-dashboard-explore-by>a{
 min-height:36px;
 padding:0 10px;
 display:inline-flex;
 align-items:center;
 gap:7px;
 border:1px solid #dce7ee;
 border-radius:9px;
 background:#f7fafc;
 color:#335a76;
}
.teacher-dashboard-explore-by>a:hover{
 border-color:#b5d0e1;
 background:#f0f7fb;
}
.teacher-dashboard-explore-by i{
 width:24px;
 height:24px;
 display:grid;
 place-items:center;
 border-radius:7px;
 background:#e6f2f9;
 color:#2474a9;
 font-size:12px!important;
 font-style:normal;
}
.teacher-dashboard-explore-by strong{
 font-size:13px!important;
}
.teacher-dashboard-explore-by b{
 color:#2976a9;
 font-size:15px!important;
}
.teacher-dashboard-category-empty strong{
 font-size:14px!important;
}
.teacher-dashboard-category-empty p{
 font-size:12px!important;
}
.teacher-dashboard-category-empty>a{
 font-size:12px!important;
}

.teacher-dashboard-page .teacher-mockup-assistant{
 display:block!important;
}
.teacher-dashboard-page .teacher-mockup-assistant h2{
 font-size:18px!important;
}
.teacher-dashboard-page .teacher-mockup-assistant p{
 font-size:13px!important;
}
.teacher-dashboard-page .teacher-mockup-assistant-prompts button{
 font-size:13px!important;
}
.teacher-dashboard-page .teacher-mockup-assistant-input{
 font-size:13px!important;
}

@media(max-width:1100px){
 .teacher-dashboard-page .teacher-mockup-dashboard{
   grid-template-columns:minmax(0,1fr)!important;
 }
 .teacher-dashboard-page .teacher-mockup-aside{
   position:static!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   gap:10px!important;
 }
 .teacher-dashboard-page .teacher-mockup-assistant{
   display:block!important;
   order:1;
 }
 .teacher-dashboard-page .teacher-mockup-popular{
   order:2;
 }
 .teacher-dashboard-page .teacher-mockup-saved{
   order:3;
 }
 .teacher-dashboard-page .teacher-experience-stats{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 .teacher-dashboard-page .teacher-v10-tool-shortcuts{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

@media(max-width:760px){
 .teacher-dashboard-page{
   overflow-x:clip;
 }
 .teacher-dashboard-page .content{
   width:100%!important;
   max-width:100vw!important;
   padding:8px!important;
 }
 .teacher-dashboard-page .teacher-mockup-dashboard,
 .teacher-dashboard-page .teacher-mockup-main,
 .teacher-dashboard-page .teacher-mockup-aside{
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
 }
 .teacher-dashboard-page .teacher-mockup-hero{
   width:100%!important;
   padding:16px 13px!important;
   border-radius:12px!important;
 }
 .teacher-dashboard-page .teacher-mockup-hero h1{
   font-size:24px!important;
   line-height:1.18!important;
 }
 .teacher-dashboard-page .teacher-mockup-hero p{
   font-size:14px!important;
   line-height:1.45!important;
 }
 .teacher-dashboard-page .teacher-mockup-search{
   width:100%!important;
   min-width:0!important;
   grid-template-columns:20px minmax(0,1fr) 72px!important;
 }
 .teacher-dashboard-page .teacher-mockup-search input{
   width:100%!important;
   min-width:0!important;
   font-size:14px!important;
 }
 .teacher-dashboard-page .teacher-mockup-search button{
   width:auto!important;
   min-width:68px!important;
   padding:0 8px!important;
   font-size:13px!important;
 }
 .teacher-dashboard-page .teacher-mockup-actions{
   display:grid!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   width:100%!important;
   gap:7px!important;
 }
 .teacher-dashboard-page .teacher-mockup-actions>a{
   width:100%!important;
   min-width:0!important;
   min-height:40px!important;
   justify-content:center!important;
   padding:0 8px!important;
   font-size:12px!important;
   white-space:normal!important;
   text-align:center;
 }

 .teacher-dashboard-page .teacher-experience-stats{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:7px!important;
   width:100%!important;
 }
 .teacher-dashboard-page .teacher-experience-stats>a,
 .teacher-dashboard-page .teacher-experience-stats>a:last-child{
   grid-column:auto!important;
   width:100%!important;
   min-width:0!important;
   min-height:84px!important;
   padding:9px!important;
   grid-template-columns:1fr!important;
   justify-items:center!important;
   align-content:center!important;
   gap:5px!important;
   text-align:center!important;
 }
 .teacher-dashboard-page .teacher-experience-stats strong{
   font-size:18px!important;
 }
 .teacher-dashboard-page .teacher-experience-stats small{
   font-size:12px!important;
 }

 .teacher-dashboard-page .teacher-v10-tool-shortcuts{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   width:100%!important;
   gap:7px!important;
 }
 .teacher-dashboard-page .teacher-v10-tool-shortcuts>a{
   width:100%!important;
   min-width:0!important;
   min-height:74px!important;
   padding:9px!important;
   grid-template-columns:32px minmax(0,1fr)!important;
 }
 .teacher-dashboard-page .teacher-v10-tool-shortcuts strong{
   font-size:12px!important;
 }
 .teacher-dashboard-page .teacher-v10-tool-shortcuts small,
 .teacher-dashboard-page .teacher-v10-tool-shortcuts b{
   display:none!important;
 }

 .teacher-dashboard-page .teacher-mockup-section{
   width:100%!important;
   max-width:100%!important;
   padding:11px!important;
 }
 .teacher-dashboard-page .teacher-mockup-section-head h2{
   font-size:18px!important;
 }
 .teacher-dashboard-page .teacher-mockup-section-head p{
   font-size:12px!important;
 }

 .teacher-dashboard-page .teacher-mockup-reading-row,
 .teacher-dashboard-page .teacher-mockup-recommendations,
 .teacher-dashboard-page .teacher-mockup-recent-row{
   display:flex!important;
   width:100%!important;
   max-width:100%!important;
   overflow-x:auto!important;
   overflow-y:hidden!important;
   gap:9px!important;
   padding:0 1px 4px!important;
   scroll-snap-type:x mandatory;
   scrollbar-width:none;
 }
 .teacher-dashboard-page .teacher-mockup-reading-row::-webkit-scrollbar,
 .teacher-dashboard-page .teacher-mockup-recommendations::-webkit-scrollbar,
 .teacher-dashboard-page .teacher-mockup-recent-row::-webkit-scrollbar{
   display:none;
 }
 .teacher-dashboard-page .teacher-mockup-reading-card{
   flex:0 0 min(82vw,310px)!important;
   width:min(82vw,310px)!important;
   max-width:310px!important;
   scroll-snap-align:start;
 }
 .teacher-dashboard-page .teacher-mockup-recommendation{
   flex:0 0 min(82vw,300px)!important;
   width:min(82vw,300px)!important;
   max-width:300px!important;
   scroll-snap-align:start;
 }
 .teacher-dashboard-page .teacher-mockup-recent-row>a{
   flex:0 0 min(64vw,220px)!important;
   width:min(64vw,220px)!important;
   max-width:220px!important;
   scroll-snap-align:start;
 }

 .teacher-dashboard-page .teacher-dashboard-category-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:7px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-card{
   min-height:86px!important;
   padding:9px!important;
   grid-template-columns:34px minmax(0,1fr) auto!important;
   gap:7px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-icon{
   width:34px!important;
   height:34px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-icon img{
   width:27px!important;
   height:27px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-copy strong{
   font-size:13px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-copy small{
   font-size:11px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-card>em{
   display:none!important;
 }
 .teacher-dashboard-page .teacher-dashboard-explore-by{
   display:grid!important;
   grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)!important;
   gap:6px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-explore-by>span{
   align-self:center;
 }
 .teacher-dashboard-page .teacher-dashboard-explore-by>a{
   width:100%!important;
   min-width:0!important;
   padding:0 7px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-explore-by strong{
   overflow:hidden;
   white-space:nowrap;
   text-overflow:ellipsis;
   font-size:12px!important;
 }

 .teacher-dashboard-page .teacher-mockup-aside{
   margin-top:2px;
 }
 .teacher-dashboard-page .teacher-mockup-assistant{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   border-radius:12px!important;
 }
 .teacher-dashboard-page .teacher-mockup-assistant-prompts{
   display:grid!important;
   grid-template-columns:1fr!important;
 }
 .teacher-dashboard-page .teacher-mockup-assistant-prompts button{
   min-height:42px!important;
   font-size:13px!important;
 }
 .teacher-dashboard-page .teacher-mockup-assistant-input{
   min-height:44px!important;
   font-size:13px!important;
 }
}

@media(max-width:430px){
 .teacher-dashboard-page .teacher-dashboard-category-grid{
   grid-template-columns:minmax(0,1fr)!important;
 }
 .teacher-dashboard-page .teacher-dashboard-category-card{
   min-height:64px!important;
 }
 .teacher-dashboard-page .teacher-dashboard-explore-by{
   grid-template-columns:1fr 1fr!important;
 }
 .teacher-dashboard-page .teacher-dashboard-explore-by>span{
   grid-column:1/-1;
 }
 .teacher-dashboard-page .teacher-mockup-reading-card,
 .teacher-dashboard-page .teacher-mockup-recommendation{
   flex-basis:min(88vw,300px)!important;
   width:min(88vw,300px)!important;
 }
 .teacher-dashboard-page .teacher-mockup-recent-row>a{
   flex-basis:min(72vw,220px)!important;
   width:min(72vw,220px)!important;
 }
}

.digital-knowledge-hub-page .teacher-page-intro-copy>span,
.phase17-library-page .teacher-page-intro-copy>span,
.phase17-library-page .phase174-resource-discovery-head span,
.digital-knowledge-hub-page .knowledge-section-heading>div>span{
 font-size:11px!important;
}
.digital-knowledge-hub-page .teacher-page-intro-copy h1,
.phase17-library-page .teacher-page-intro-copy h1{
 font-size:24px!important;
}
.digital-knowledge-hub-page .teacher-page-intro-copy p,
.phase17-library-page .teacher-page-intro-copy p{
 font-size:14px!important;
}
.digital-knowledge-hub-page .teacher-page-search input,
.phase17-library-page .teacher-page-search input{
 font-size:15px!important;
}
.digital-knowledge-hub-page .teacher-page-search button,
.phase17-library-page .teacher-page-search button{
 font-size:14px!important;
}
.digital-knowledge-hub-page .teacher-page-quicklinks>a,
.phase17-library-page .teacher-page-quicklinks>a{
 font-size:13px!important;
}
.digital-knowledge-hub-page .knowledge-hub-mini-stats span,
.phase17-library-page .teacher-page-intro-side span{
 font-size:12px!important;
}
.digital-knowledge-hub-page .knowledge-section-heading h2,
.phase17-library-page .phase174-resource-discovery-head h2{
 font-size:20px!important;
}
.digital-knowledge-hub-page .knowledge-section-heading p,
.phase17-library-page .phase174-resource-discovery-head p{
 font-size:13px!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card h3{
 font-size:15px!important;
}
.digital-knowledge-hub-page .knowledge-highlight-card p{
 font-size:13px!important;
}
.phase17-library-page .phase174-resource-tabs a{
 font-size:13px!important;
}
.phase17-library-page .phase174-discovery-summary strong,
.phase17-library-page .phase174-explore-grid strong,
.phase17-library-page .phase174-lsv-explore header h3{
 font-size:13px!important;
}
.phase17-library-page .phase174-discovery-summary small,
.phase17-library-page .phase174-explore-grid small,
.phase17-library-page .phase174-taxonomy-chips strong{
 font-size:12px!important;
}
.phase17-library-page .p17-filter-panel form>label,
.phase17-library-page .phase174-filter-group label,
.phase17-library-page .p175-more-filter-fields label{
 font-size:13px!important;
}
.phase17-library-page .p17-filter-panel select{
 font-size:14px!important;
}
.phase17-library-page .p17-resource-card h2{
 font-size:16px!important;
}
.phase17-library-page .p17-resource-card p,
.phase17-library-page .p17-card-meta,
.phase17-library-page .p17-resource-card footer small{
 font-size:12px!important;
}
.phase17-library-page .p17-resource-card footer>a{
 font-size:13px!important;
}

.phase176-ai-wizard-page .phase176-wizard-header>div>span,
.phase176-ai-wizard-page .phase176-step-intro>span,
.phase176-ai-wizard-page .phase176-review-card header small,
.phase176-ai-wizard-page .phase176-analysis-modal>span{
 font-size:11px!important;
}
.phase176-ai-wizard-page .phase176-wizard-header h2{
 font-size:20px!important;
}
.phase176-ai-wizard-page .phase176-wizard-header p,
.phase176-ai-wizard-page .phase176-step-intro p,
.phase176-ai-wizard-page .phase176-guidance-note p,
.phase176-ai-wizard-page .phase176-generation-note p{
 font-size:13px!important;
}
.phase176-ai-wizard-page .phase176-progress button span{
 font-size:12px!important;
}
.phase176-ai-wizard-page .phase176-tool-option strong,
.phase176-ai-wizard-page .phase176-learning-card strong,
.phase176-ai-wizard-page .phase176-generation-note strong{
 font-size:14px!important;
}
.phase176-ai-wizard-page .phase176-tool-option small,
.phase176-ai-wizard-page .phase176-learning-card small{
 font-size:12px!important;
}
.phase176-ai-wizard-page .phase176-field{
 font-size:13px!important;
}
.phase176-ai-wizard-page .phase176-field .input,
.phase176-ai-wizard-page .phase176-learning-card select{
 font-size:15px!important;
}
.phase176-ai-wizard-page .phase176-review-grid span{
 font-size:12px!important;
}
.phase176-ai-wizard-page .phase176-review-grid strong{
 font-size:14px!important;
}
.phase176-ai-wizard-page .phase176-wizard-actions small,
.phase176-ai-wizard-page .phase176-validation-message{
 font-size:12px!important;
}
.phase176-ai-wizard-page .phase176-back,
.phase176-ai-wizard-page .phase176-next,
.phase176-ai-wizard-page .phase176-generate{
 font-size:14px!important;
}

.p172-protected-reader .viewer-toolbar button,
.p172-protected-reader .premium-viewer-toolbar button,
.p172-protected-reader .viewer-toolbar select{
 font-size:13px!important;
}
.p172-protected-reader .content small{
 font-size:12px!important;
}

.teacher-portal-page .teacher-tool-heading p,
.teacher-portal-page .teacher-tool-form p,
.teacher-portal-page .teacher-tool-aside p,
.teacher-portal-page .library-page p,
.teacher-portal-page .analytics-page p{
 font-size:14px!important;
}
.teacher-portal-page .teacher-tool-heading h1,
.teacher-portal-page .library-page h1,
.teacher-portal-page .analytics-page h1{
 font-size:26px!important;
}

@media(max-width:760px){
 body.design-system-v12{
   overflow-x:clip;
 }
}

/* ========================================================================
   V17.8.0 — Premium Secure Login UI
   Presentation-only login refinement. Authentication logic remains in
   login.php/app/auth.php and is intentionally unchanged by this style block.
   ======================================================================== */
.lsv-login-v18-body{
 --lsv18-navy:#0b2748;
 --lsv18-navy-2:#123d6d;
 --lsv18-blue:#1765cf;
 --lsv18-gold:#d7aa4f;
 --lsv18-text:#1d3148;
 --lsv18-muted:#667a90;
 --lsv18-line:#dce5ee;
 --lsv18-soft:#f5f8fb;
 --lsv18-green:#167653;
 min-height:100vh;
 background:
  radial-gradient(circle at 10% 8%,rgba(215,170,79,.12),transparent 25%),
  radial-gradient(circle at 90% 78%,rgba(23,101,207,.08),transparent 27%),
  #f5f7fa!important;
 color:var(--lsv18-text);
}
.lsv-login-v18-body main,
.lsv-login-v18-body section,
.lsv-login-v18-body form,
.lsv-login-v18-body label,
.lsv-login-v18-body span,
.lsv-login-v18-body div{box-sizing:border-box}
.lsv-login-v18-shell{
 flex:1 0 auto;
 width:min(1010px,calc(100% - 36px));
 min-height:590px;
 margin:32px auto 24px;
 border:1px solid rgba(11,39,72,.09);
 border-radius:24px;
 background:#fff;
 display:grid;
 grid-template-columns:minmax(330px,.92fr) minmax(430px,1.08fr);
 overflow:hidden;
 box-shadow:0 25px 70px rgba(11,39,72,.14);
 position:relative;
 z-index:1;
}
.lsv-login-v18-brand{
 min-width:0;
 padding:38px 38px 32px;
 color:#fff;
 background:
  radial-gradient(circle at 88% 10%,rgba(255,255,255,.09),transparent 22%),
  linear-gradient(145deg,var(--lsv18-navy),var(--lsv18-navy-2));
 display:flex;
 flex-direction:column;
 justify-content:space-between;
 position:relative;
 overflow:hidden;
 isolation:isolate;
}
.lsv-login-v18-brand::before{
 content:"";
 position:absolute;
 width:290px;
 height:290px;
 right:-145px;
 top:-135px;
 border:1px solid rgba(255,255,255,.13);
 border-radius:50%;
 box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 85px rgba(255,255,255,.017);
 z-index:-1;
}
.lsv-login-v18-brand::after{
 content:"";
 position:absolute;
 width:190px;
 height:190px;
 left:-98px;
 bottom:-105px;
 border-radius:50%;
 background:rgba(215,170,79,.10);
 z-index:-1;
}
.lsv-login-v18-brand-top,
.lsv-login-v18-brand-main,
.lsv-login-v18-brand-foot{position:relative;z-index:3}
.lsv-login-v18-brandmark{
 display:flex;
 align-items:center;
 gap:13px;
 min-width:0;
 color:#fff!important;
 text-decoration:none!important;
}
.lsv-login-v18-logo{
 width:51px;
 height:51px;
 padding:3px;
 border-radius:14px;
 background:#fff;
 display:grid;
 place-items:center;
 flex:0 0 51px;
 box-shadow:0 8px 22px rgba(0,0,0,.13);
 overflow:hidden;
}
.lsv-login-v18-logo img{width:100%;height:100%;object-fit:contain;display:block}
.lsv-login-v18-brandcopy{display:grid;min-width:0}
.lsv-login-v18-brandcopy strong{
 color:#fff!important;
 font-size:17px!important;
 line-height:1.2!important;
 font-weight:850!important;
}
.lsv-login-v18-brandcopy small{
 margin-top:4px;
 color:rgba(255,255,255,.70)!important;
 font-size:12px!important;
 line-height:1.25!important;
 font-weight:600!important;
}
.lsv-login-v18-brand-main{
 max-width:390px;
 margin:36px 0 96px;
}
.lsv-login-v18-kicker{
 display:inline-flex;
 align-items:center;
 gap:9px;
 color:#f1d28a!important;
 font-size:12px!important;
 line-height:1.2!important;
 font-weight:850!important;
 text-transform:uppercase;
 letter-spacing:.085em;
}
.lsv-login-v18-kicker i{width:24px;height:2px;border-radius:2px;background:var(--lsv18-gold)}
.lsv-login-v18-brand-main h1{
 max-width:390px;
 margin:17px 0 15px!important;
 color:#fff!important;
 font-size:clamp(34px,3.2vw,43px)!important;
 line-height:1.07!important;
 letter-spacing:-1.25px!important;
 font-weight:850!important;
}
.lsv-login-v18-brand-main>p{
 max-width:370px;
 margin:0!important;
 color:rgba(255,255,255,.78)!important;
 font-size:15px!important;
 line-height:1.65!important;
}
.lsv-login-v18-trust{
 margin-top:27px;
 display:grid;
 gap:11px;
}
.lsv-login-v18-trust>div{
 display:grid;
 grid-template-columns:25px minmax(0,1fr);
 gap:10px;
 align-items:start;
}
.lsv-login-v18-trust>div>span{
 width:24px;
 height:24px;
 margin-top:1px;
 border-radius:50%;
 background:rgba(255,255,255,.10);
 color:#f4d789!important;
 display:grid;
 place-items:center;
 font-size:13px!important;
 font-weight:900!important;
}
.lsv-login-v18-trust p{margin:0!important;display:grid;gap:1px}
.lsv-login-v18-trust strong{color:#fff!important;font-size:13px!important;line-height:1.3!important}
.lsv-login-v18-trust small{color:rgba(255,255,255,.64)!important;font-size:11.5px!important;line-height:1.4!important}
.lsv-login-v18-art{
 position:absolute;
 left:43%;
 right:-18px;
 bottom:-30px;
 height:220px;
 z-index:1;
 opacity:.13;
 pointer-events:none;
 display:flex;
 align-items:flex-end;
 justify-content:center;
 overflow:hidden;
}
.lsv-login-v18-art::before{
 content:"";
 position:absolute;
 width:285px;
 height:285px;
 border-radius:50%;
 background:rgba(255,255,255,.13);
}
.lsv-login-v18-art img{
 position:relative;
 width:min(280px,100%);
 max-height:210px;
 object-fit:contain;
 display:block;
}
.lsv-login-v18-brand-foot{
 color:rgba(255,255,255,.50)!important;
 font-size:11px!important;
 line-height:1.3!important;
}
.lsv-login-v18-form-panel{
 min-width:0;
 padding:48px clamp(34px,5vw,62px);
 background:#fff;
 display:grid;
 place-items:center;
}
.lsv-login-v18-form-inner{width:min(420px,100%);margin:auto}
.lsv-login-v18-mobile-brand{display:none}
.lsv-login-v18-security-pill{
 width:max-content;
 padding:7px 11px;
 border-radius:999px;
 background:#edf8f3;
 color:var(--lsv18-green)!important;
 display:inline-flex;
 align-items:center;
 gap:7px;
 font-size:12px!important;
 line-height:1!important;
 font-weight:850!important;
}
.lsv-login-v18-security-pill svg{width:16px;height:16px;flex:0 0 16px}
.lsv-login-v18-heading{margin:18px 0 28px}
.lsv-login-v18-heading h2{
 margin:0 0 7px!important;
 color:var(--lsv18-navy)!important;
 font-size:31px!important;
 line-height:1.15!important;
 letter-spacing:-.6px!important;
 font-weight:850!important;
}
.lsv-login-v18-heading p{
 margin:0!important;
 color:var(--lsv18-muted)!important;
 font-size:14px!important;
 line-height:1.55!important;
}
.lsv-login-v18-card{width:100%;display:grid;gap:18px}
.lsv-login-v18-error{
 margin:0!important;
 padding:11px 12px!important;
 border-radius:10px!important;
 font-size:13px!important;
 line-height:1.45!important;
}
.lsv-login-v18-field{
 display:grid!important;
 gap:8px!important;
 margin:0!important;
 color:#2d425a!important;
 font-size:13px!important;
 line-height:1.3!important;
 font-weight:750!important;
}
.lsv-login-v18-input-wrap{
 min-height:50px;
 border:1px solid var(--lsv18-line);
 border-radius:12px;
 background:#fff;
 display:grid;
 grid-template-columns:21px minmax(0,1fr);
 align-items:center;
 gap:9px;
 padding:0 13px;
 transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
 overflow:hidden;
}
.lsv-login-v18-input-wrap:focus-within{
 border-color:#7698bd;
 box-shadow:0 0 0 4px rgba(18,61,109,.08);
 background:#fcfdff;
}
.lsv-login-v18-input-wrap>svg{width:18px;height:18px;color:#72849a;display:block}
.lsv-login-v18-input-wrap input{
 width:100%;
 min-width:0;
 height:48px!important;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 outline:0!important;
 box-shadow:none!important;
 background:transparent!important;
 color:var(--lsv18-text)!important;
 font:inherit!important;
 font-size:15px!important;
 line-height:1!important;
}
.lsv-login-v18-input-wrap input::placeholder{color:#98a5b4!important;opacity:1}
.lsv-login-v18-password-wrap{grid-template-columns:21px minmax(0,1fr) auto;padding-right:7px}
.lsv-login-v18-password-toggle{
 min-width:46px;
 height:36px;
 padding:0 8px;
 border:0;
 border-radius:9px;
 background:transparent;
 color:#5e738a;
 font-size:12px!important;
 line-height:1!important;
 font-weight:800!important;
 cursor:pointer;
}
.lsv-login-v18-password-toggle:hover{background:#f1f4f7;color:var(--lsv18-navy)}
.lsv-login-v18-search-note{
 margin-top:-2px;
 padding:10px 11px;
 border:1px solid #d9e8fb;
 border-radius:10px;
 background:#f2f7fe;
 color:#516a84!important;
 font-size:12.5px!important;
 line-height:1.45!important;
}
.lsv-login-v18-submit{
 width:100%;
 min-height:50px;
 padding:0 18px;
 border:0;
 border-radius:12px;
 background:var(--lsv18-navy);
 color:#fff;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:8px;
 box-shadow:0 10px 25px rgba(11,39,72,.18);
 font-size:14px!important;
 line-height:1!important;
 font-weight:850!important;
 cursor:pointer;
 transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
}
.lsv-login-v18-submit svg{width:18px;height:18px}
.lsv-login-v18-submit:hover{
 background:#11385f;
 transform:translateY(-1px);
 box-shadow:0 13px 29px rgba(11,39,72,.22);
}
.lsv-login-v18-form-foot{
 margin-top:-2px;
 display:grid;
 justify-items:center;
 gap:8px;
 text-align:center;
}
.lsv-login-v18-form-foot p{
 margin:0!important;
 color:#7a899a!important;
 font-size:11.5px!important;
 line-height:1.45!important;
}
.lsv-login-v18-form-foot a{
 color:#536b84!important;
 font-size:12px!important;
 line-height:1.3!important;
 font-weight:750!important;
 text-decoration:none!important;
}
.lsv-login-v18-form-foot a:hover{color:var(--lsv18-blue)!important}
.lsv-login-v18-security-note{
 margin-top:22px;
 padding-top:18px;
 border-top:1px solid #e8edf2;
 color:#75869a;
 display:grid;
 grid-template-columns:17px minmax(0,1fr);
 gap:8px;
 align-items:start;
 font-size:11.5px!important;
 line-height:1.5!important;
}
.lsv-login-v18-security-note svg{width:16px;height:16px;margin-top:1px;color:var(--lsv18-green)}
.lsv-login-v18-footer .partner-footer-inner{max-width:1010px!important}
.lsv-login-v18-body a:focus-visible,
.lsv-login-v18-body button:focus-visible,
.lsv-login-v18-body input:focus-visible{
 outline:3px solid rgba(23,101,207,.26)!important;
 outline-offset:2px!important;
}
@media(max-width:900px){
 .lsv-login-v18-shell{
  width:min(760px,calc(100% - 28px));
  grid-template-columns:1fr;
  min-height:0;
 }
 .lsv-login-v18-brand{
  min-height:240px;
  padding:25px 28px;
 }
 .lsv-login-v18-brand-main{max-width:610px;margin:27px 0 22px}
 .lsv-login-v18-brand-main h1{max-width:600px;font-size:34px!important}
 .lsv-login-v18-brand-main>p{max-width:590px}
 .lsv-login-v18-trust{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .lsv-login-v18-trust>div{grid-template-columns:22px minmax(0,1fr);gap:7px}
 .lsv-login-v18-trust small{display:none}
 .lsv-login-v18-art{left:auto;right:-30px;width:260px;opacity:.07}
 .lsv-login-v18-brand-foot{display:none}
 .lsv-login-v18-form-panel{padding:38px 30px 42px}
}
@media(max-width:640px){
 .lsv-login-v18-body{background:#fff!important}
 .lsv-login-v18-shell{
  width:100%;
  min-height:0;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  display:block;
 }
 .lsv-login-v18-brand{display:none}
 .lsv-login-v18-form-panel{
  min-height:calc(100vh - 130px);
  padding:28px 21px 32px;
  align-items:start;
 }
 .lsv-login-v18-form-inner{margin:0 auto}
 .lsv-login-v18-mobile-brand{
  margin-bottom:27px;
  color:var(--lsv18-navy)!important;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none!important;
 }
 .lsv-login-v18-mobile-brand>span{
  width:45px;
  height:45px;
  padding:2px;
  border:1px solid #e2e8ef;
  border-radius:12px;
  background:#fff;
  display:grid;
  place-items:center;
  flex:0 0 45px;
  overflow:hidden;
 }
 .lsv-login-v18-mobile-brand img{width:100%;height:100%;object-fit:contain;display:block}
 .lsv-login-v18-mobile-brand p{margin:0!important;display:grid;gap:2px}
 .lsv-login-v18-mobile-brand strong{color:var(--lsv18-navy)!important;font-size:14px!important;line-height:1.2!important}
 .lsv-login-v18-mobile-brand small{color:var(--lsv18-muted)!important;font-size:11px!important;line-height:1.2!important}
 .lsv-login-v18-heading{margin:17px 0 25px}
 .lsv-login-v18-heading h2{font-size:28px!important}
 .lsv-login-v18-footer .partner-footer-inner{padding-left:12px!important;padding-right:12px!important}
}
@media(max-width:390px){
 .lsv-login-v18-form-panel{padding-left:18px;padding-right:18px}
 .lsv-login-v18-input-wrap{min-height:49px}
 .lsv-login-v18-input-wrap input{height:47px!important}
 .lsv-login-v18-submit{min-height:49px}
}
@media(prefers-reduced-motion:reduce){
 .lsv-login-v18-body *,
 .lsv-login-v18-body *::before,
 .lsv-login-v18-body *::after{
  transition:none!important;
  animation:none!important;
  scroll-behavior:auto!important;
 }
}

/* ========================================================================
   V17.9.0 — Refined Premium Login + Password Recovery
   Uses the LISP navy/gold direction with high-legibility system typography.
   ======================================================================== */
.lsv-login-v19-body{
 --lsv19-navy:#0b2748;
 --lsv19-navy-2:#123d6d;
 --lsv19-gold:#d7aa4f;
 --lsv19-blue:#1765cf;
 --lsv19-text:#243b53;
 --lsv19-muted:#66788a;
 --lsv19-line:#d9e3ec;
 --lsv19-soft:#f5f8fb;
 min-height:100vh;
 margin:0;
 background:#f6f8fb!important;
 color:var(--lsv19-text)!important;
 font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;
 font-size:16px!important;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility;
}
.lsv-login-v19-body *,
.lsv-login-v19-body *::before,
.lsv-login-v19-body *::after{box-sizing:border-box}
.lsv-login-v19-body button,
.lsv-login-v19-body input{font-family:inherit!important}
.lsv-login-v19-shell{
 width:min(960px,calc(100% - 36px));
 min-height:560px;
 margin:34px auto 24px;
 border:1px solid rgba(11,39,72,.09);
 border-radius:24px;
 background:#fff;
 display:grid;
 grid-template-columns:minmax(315px,.86fr) minmax(420px,1.14fr);
 overflow:hidden;
 box-shadow:0 24px 64px rgba(11,39,72,.13);
 position:relative;
 z-index:1;
}
.lsv-login-v19-brand{
 min-width:0;
 padding:38px 38px 32px;
 position:relative;
 overflow:hidden;
 isolation:isolate;
 background:linear-gradient(150deg,var(--lsv19-navy) 0%,var(--lsv19-navy-2) 100%);
 color:#fff!important;
 display:flex;
 flex-direction:column;
}
.lsv-login-v19-brand::before{
 content:"";
 position:absolute;
 width:270px;
 height:270px;
 right:-145px;
 top:-125px;
 border:1px solid rgba(255,255,255,.13);
 border-radius:50%;
 box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 82px rgba(255,255,255,.018);
 z-index:-1;
}
.lsv-login-v19-brand::after{
 content:"";
 position:absolute;
 left:38px;
 top:109px;
 width:44px;
 height:3px;
 border-radius:99px;
 background:var(--lsv19-gold);
}
.lsv-login-v19-brandmark{
 width:max-content;
 max-width:100%;
 color:#fff!important;
 display:flex;
 align-items:center;
 gap:12px;
 text-decoration:none!important;
 position:relative;
 z-index:3;
}
.lsv-login-v19-brandmark>span,
.lsv-login-v19-mobile-brand>span{
 width:49px;
 height:49px;
 padding:3px;
 border-radius:13px;
 background:#fff;
 display:grid;
 place-items:center;
 overflow:hidden;
 flex:0 0 49px;
}
.lsv-login-v19-brandmark img,
.lsv-login-v19-mobile-brand img{width:100%;height:100%;object-fit:contain;display:block}
.lsv-login-v19-brandmark strong{color:#fff!important;font-size:17px!important;line-height:1.25!important;font-weight:750!important;letter-spacing:-.1px}
.lsv-login-v19-brand-copy{
 max-width:360px;
 margin:auto 0 176px;
 position:relative;
 z-index:3;
}
.lsv-login-v19-brand-copy>span{
 display:block;
 margin-bottom:8px;
 color:#f1d28a!important;
 font-size:13px!important;
 line-height:1.3!important;
 font-weight:750!important;
 letter-spacing:.035em;
}
.lsv-login-v19-brand-copy h1{
 margin:0 0 13px!important;
 color:#fff!important;
 font-size:clamp(32px,3.1vw,42px)!important;
 line-height:1.08!important;
 letter-spacing:-1.05px!important;
 font-weight:760!important;
}
.lsv-login-v19-brand-copy p{
 margin:0!important;
 max-width:310px;
 color:rgba(255,255,255,.79)!important;
 font-size:15px!important;
 line-height:1.55!important;
 font-weight:400!important;
}
.lsv-login-v19-brand-art{
 position:absolute;
 right:-14px;
 bottom:66px;
 width:285px;
 max-height:200px;
 object-fit:contain;
 opacity:.14;
 z-index:1;
 pointer-events:none;
}
.lsv-login-v19-brand-partners{
 position:absolute;
 left:0;
 right:0;
 bottom:0;
 min-height:86px;
 padding:14px 24px;
 background:#fff;
 border-top:1px solid rgba(11,39,72,.10);
 display:flex;
 align-items:center;
 justify-content:center;
 gap:30px;
 z-index:2;
}
.lsv-login-v19-brand-partners img{display:block;max-width:100%;object-fit:contain}
.lsv-login-v19-brand-partners img:first-child{width:148px;height:50px}
.lsv-login-v19-brand-partners img:last-child{width:118px;height:40px}
.lsv-login-v19-panel{
 min-width:0;
 padding:50px clamp(38px,5.4vw,66px);
 background:#fff;
 display:grid;
 place-items:center;
}
.lsv-login-v19-inner{width:min(420px,100%);margin:auto}
.lsv-login-v19-mobile-brand{display:none}
.lsv-login-v19-mobile-partners{display:none}
.lsv-login-v19-heading{margin:0 0 27px!important}
.lsv-login-v19-secure{
 width:max-content;
 display:inline-flex!important;
 align-items:center;
 gap:7px;
 margin-bottom:16px;
 color:var(--lsv19-blue)!important;
 font-size:12.5px!important;
 line-height:1!important;
 font-weight:750!important;
}
.lsv-login-v19-secure svg{width:17px;height:17px;flex:0 0 17px}
.lsv-login-v19-heading h2{
 margin:0 0 7px!important;
 color:var(--lsv19-navy)!important;
 font-size:32px!important;
 line-height:1.15!important;
 letter-spacing:-.75px!important;
 font-weight:760!important;
}
.lsv-login-v19-heading p{
 margin:0!important;
 color:var(--lsv19-muted)!important;
 font-size:15px!important;
 line-height:1.55!important;
 font-weight:400!important;
}
.lsv-login-v19-form{width:100%;display:grid;gap:18px}
.lsv-login-v19-message{
 margin:0!important;
 padding:11px 13px!important;
 border-radius:10px!important;
 font-size:14px!important;
 line-height:1.45!important;
}
.lsv-login-v19-field{
 margin:0!important;
 display:grid!important;
 gap:8px!important;
 color:var(--lsv19-text)!important;
 font-size:14px!important;
 line-height:1.3!important;
 font-weight:650!important;
}
.lsv-login-v19-label-row{display:flex;justify-content:space-between;align-items:center;gap:16px}
.lsv-login-v19-label-row label{color:var(--lsv19-text)!important;font-size:14px!important;font-weight:650!important}
.lsv-login-v19-label-row a{
 color:var(--lsv19-blue)!important;
 font-size:13px!important;
 line-height:1.3!important;
 font-weight:650!important;
 text-decoration:none!important;
}
.lsv-login-v19-label-row a:hover{text-decoration:underline!important}
.lsv-login-v19-input{
 width:100%;
 min-height:52px;
 padding:0 14px;
 border:1px solid var(--lsv19-line);
 border-radius:12px;
 background:#fff;
 display:grid!important;
 grid-template-columns:21px minmax(0,1fr);
 align-items:center;
 gap:9px;
 overflow:hidden;
 transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.lsv-login-v19-input:focus-within{
 border-color:#7193ba;
 box-shadow:0 0 0 4px rgba(23,101,207,.08);
 background:#fdfefe;
}
.lsv-login-v19-input>svg{width:18px;height:18px;color:#6f8296!important;display:block}
.lsv-login-v19-input input{
 width:100%!important;
 min-width:0;
 height:50px!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 outline:0!important;
 box-shadow:none!important;
 background:transparent!important;
 color:var(--lsv19-navy)!important;
 font-size:16px!important;
 line-height:1.2!important;
 font-weight:450!important;
}
.lsv-login-v19-input input::placeholder{color:#8b99a8!important;opacity:1}
.lsv-login-v19-password{grid-template-columns:21px minmax(0,1fr) auto;padding-right:7px}
.lsv-login-v19-toggle{
 min-width:48px;
 height:38px;
 padding:0 8px;
 border:0;
 border-radius:9px;
 background:transparent;
 color:#526b83!important;
 font-size:13px!important;
 line-height:1!important;
 font-weight:700!important;
 cursor:pointer;
}
.lsv-login-v19-toggle:hover{background:#f0f4f7;color:var(--lsv19-navy)!important}
.lsv-login-v19-search-note{
 margin-top:-3px;
 color:#5d7389!important;
 font-size:13px!important;
 line-height:1.4!important;
}
.lsv-login-v19-submit{
 width:100%;
 min-height:52px;
 padding:0 18px;
 border:0;
 border-radius:12px;
 background:var(--lsv19-navy);
 color:#fff!important;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 text-align:center;
 font-size:15px!important;
 line-height:1!important;
 font-weight:750!important;
 text-decoration:none!important;
 cursor:pointer;
 box-shadow:0 9px 22px rgba(11,39,72,.18);
 transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
}
.lsv-login-v19-submit:hover{background:#11385f;color:#fff!important;transform:translateY(-1px);box-shadow:0 12px 26px rgba(11,39,72,.22)}
.lsv-login-v19-button-link{text-decoration:none!important}
.lsv-login-v19-back{
 justify-self:center;
 color:#536b84!important;
 font-size:13px!important;
 line-height:1.3!important;
 font-weight:600!important;
 text-decoration:none!important;
}
.lsv-login-v19-back:hover{color:var(--lsv19-blue)!important}
.lsv-login-v19-copyright{
 margin-top:14px;
 text-align:center;
 color:#7a8b9e!important;
 font-size:12px!important;
 line-height:1.45!important;
 font-weight:500!important;
}
.lsv-login-v19-footer{border-top:0!important;background:transparent!important}
.lsv-login-v19-footer .partner-footer-inner{max-width:960px!important;min-height:auto!important;grid-template-columns:1fr!important;justify-items:center!important;gap:2px!important;padding-top:4px!important;padding-bottom:0!important}
.lsv-login-v19-footer .partner-footer-logos{display:none!important}
.lsv-login-v19-footer .developer-credit{margin:12px auto 0!important;justify-self:center!important;align-self:end!important;text-align:center!important;padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
.lsv-login-v19-footer .developer-credit:hover{background:transparent!important;transform:none!important}
.lsv-login-v19-footer .developer-credit span{font-size:12px!important}
.lsv-login-v19-footer .partner-footer-meta{display:none!important}
.lsv-login-v19-body a:focus-visible,
.lsv-login-v19-body button:focus-visible,
.lsv-login-v19-body input:focus-visible{
 outline:3px solid rgba(23,101,207,.24)!important;
 outline-offset:2px!important;
}
@media(max-width:860px){
 .lsv-login-v19-shell{width:min(680px,calc(100% - 28px));grid-template-columns:1fr;min-height:0}
 .lsv-login-v19-brand{min-height:260px;padding:28px 30px 90px}
 .lsv-login-v19-brand::after{top:96px;left:30px}
 .lsv-login-v19-brand-copy{margin:47px 0 26px;max-width:520px}
 .lsv-login-v19-brand-copy h1{font-size:32px!important}
 .lsv-login-v19-brand-copy p{max-width:500px}
 .lsv-login-v19-brand-art{right:-16px;bottom:66px;width:220px;opacity:.08}
 .lsv-login-v19-brand-partners{min-height:72px;padding:12px 18px;gap:22px}
 .lsv-login-v19-brand-partners img:first-child{width:128px;height:44px}
 .lsv-login-v19-brand-partners img:last-child{width:102px;height:34px}
 .lsv-login-v19-panel{padding:40px 34px 44px}
}
@media(max-width:620px){
 .lsv-login-v19-body{background:#fff!important;font-size:16px!important}
 .lsv-login-v19-shell{width:100%;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;display:block}
 .lsv-login-v19-brand{display:none}
 .lsv-login-v19-panel{min-height:calc(100vh - 120px);padding:30px 21px 24px;align-items:start}
 .lsv-login-v19-inner{margin:0 auto}
 .lsv-login-v19-mobile-brand{
  margin-bottom:31px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--lsv19-navy)!important;
  text-decoration:none!important;
 }
 .lsv-login-v19-mobile-brand>span{width:45px;height:45px;flex-basis:45px;border:1px solid #e0e8ef;border-radius:12px}
 .lsv-login-v19-mobile-brand strong{color:var(--lsv19-navy)!important;font-size:15px!important;line-height:1.25!important;font-weight:750!important}
 .lsv-login-v19-mobile-partners{margin-top:24px;padding-top:18px;border-top:1px solid #e8eef4;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
 .lsv-login-v19-mobile-partners img{display:block;max-width:100%;object-fit:contain}
 .lsv-login-v19-mobile-partners img:first-child{width:126px;height:44px}
 .lsv-login-v19-mobile-partners img:last-child{width:104px;height:36px}
 .lsv-login-v19-copyright{margin-top:12px;font-size:11.5px!important}
 .lsv-login-v19-heading h2{font-size:29px!important}
 .lsv-login-v19-heading p{font-size:15px!important}
 .lsv-login-v19-footer .partner-footer-inner{padding-left:12px!important;padding-right:12px!important}
 .lsv-login-v19-footer .developer-credit{margin-top:8px!important}
 .lsv-login-v19-footer .partner-footer-meta{padding-bottom:14px!important}
}
@media(max-width:390px){
 .lsv-login-v19-panel{padding-left:18px;padding-right:18px}
 .lsv-login-v19-input,.lsv-login-v19-submit{min-height:50px}
 .lsv-login-v19-input input{height:48px!important}
 .lsv-login-v19-label-row{gap:10px}
}
@media(prefers-reduced-motion:reduce){
 .lsv-login-v19-body *,
 .lsv-login-v19-body *::before,
 .lsv-login-v19-body *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* V17.10.3 — Admin visual UX polish: clear hierarchy, icons, states and responsive context navigation */
.admin-ui-page .topbar{
 background:rgba(255,255,255,.97);
 box-shadow:0 1px 0 rgba(15,47,94,.05),0 6px 20px rgba(15,47,94,.04);
}
.admin-ui-page .authenticated-brand{min-width:258px}
.admin-ui-page .brand-copy strong{color:#0b2748;letter-spacing:-.01em}
.admin-ui-page .brand-copy small{color:#7a8a9e}
.admin-ui-page .global-search input{background:#f7f9fc;border-color:#dfe7f0}
.admin-ui-page .global-search input:hover{border-color:#c9d7e7}
.admin-ui-page .global-search input:focus{background:#fff}
.admin-ui-page .admin-primary-nav{gap:3px}
.admin-ui-page .sidebar{background:linear-gradient(180deg,#fff 0%,#f8fbfe 100%);box-shadow:4px 0 18px rgba(15,47,94,.025)}
.admin-ui-page .sidebar-nav-label{padding-top:5px}
.admin-ui-page .admin-primary-nav .nav-item{position:relative;min-height:44px;padding:9px 12px!important;border:1px solid transparent!important}
.admin-ui-page .admin-primary-nav .nav-item:focus-visible{outline:3px solid rgba(23,101,207,.18);outline-offset:2px}
.admin-ui-page .admin-primary-nav .nav-icon{display:grid;place-items:center;width:23px;height:23px;color:#6a7e95}
.admin-ui-page .admin-primary-nav .nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-ui-page .admin-primary-nav .nav-item.active{background:linear-gradient(135deg,#eef5ff,#e6f0ff)!important;color:#125db5!important;border-color:#d2e2f5!important;box-shadow:0 7px 18px rgba(23,101,207,.08)!important}
.admin-ui-page .admin-primary-nav .nav-item.active:before{content:"";position:absolute;left:-13px;top:8px;bottom:8px;width:3px;border-radius:0 4px 4px 0;background:#1765cf}
.admin-ui-page .admin-primary-nav .nav-item.active .nav-icon{color:#1765cf}
.admin-ui-page .sidebar-footer{font-size:10.5px;padding:12px 6px 4px}
.admin-ui-page .context-nav{min-height:60px;padding:0 24px;gap:18px;background:#fff;border-bottom:1px solid #e5ebf2;box-shadow:0 3px 12px rgba(15,47,94,.035)}
.admin-ui-page .context-heading{display:flex;align-items:center;gap:10px}
.admin-ui-page .context-title{display:flex;align-items:center;min-height:34px;padding:0 11px;border-radius:9px;background:#f4f7fb;color:#284967;font-size:11px!important;letter-spacing:.07em}
.admin-ui-page .context-links{gap:4px;scrollbar-width:none}
.admin-ui-page .context-links::-webkit-scrollbar{display:none}
.admin-ui-page .context-direct,.admin-ui-page .context-dropdown>summary{display:flex;align-items:center;gap:7px;min-height:60px;padding:0 11px!important;border-bottom:2px solid transparent!important;border-radius:8px 8px 0 0;color:#536a82!important;font-size:12px!important;font-weight:650!important;cursor:pointer}
.admin-ui-page .context-direct:hover,.admin-ui-page .context-dropdown>summary:hover{background:#f7faff;color:#1765cf!important}
.admin-ui-page .context-direct.active,.admin-ui-page .context-dropdown.active>summary{background:#f4f8fe;color:#1765cf!important;border-bottom-color:#1765cf!important}
.admin-ui-page .context-nav-icon{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;color:#7b8ea4}
.admin-ui-page .context-nav-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-ui-page .context-direct.active .context-nav-icon,.admin-ui-page .context-dropdown.active .context-nav-icon{color:#1765cf}
.admin-ui-page .dropdown-caret{margin-left:2px;color:#8b9bad;font-size:11px}
.admin-ui-page .context-dropdown-menu{top:calc(100% - 1px);min-width:225px;padding:7px;border:1px solid #dfe7f0;border-radius:0 12px 12px 12px;background:#fff;box-shadow:0 18px 38px rgba(15,47,94,.13)}
.admin-ui-page .context-dropdown-menu a{display:flex;align-items:center;min-height:38px;padding:8px 11px!important;border-radius:8px!important;color:#4f647b!important;font-size:12px!important}
.admin-ui-page .context-dropdown-menu a:hover,.admin-ui-page .context-dropdown-menu a.active{background:#edf5ff!important;color:#1765cf!important}
.admin-ui-page .breadcrumbs{background:#fbfcfe;border-bottom:1px solid #eef2f6;min-height:38px;padding:7px 24px}
.admin-ui-page .breadcrumbs li{font-size:11.5px!important}
.admin-ui-page .breadcrumbs li:last-child span{font-weight:700;color:#385675}
.admin-ui-page .page-head,.admin-ui-page .admin-page-heading,.admin-ui-page .governance-heading,.admin-ui-page .repository-health-heading,.admin-ui-page .production-readiness-heading{margin-bottom:18px}
.admin-ui-page .page-head h1,.admin-ui-page .admin-page-heading h1,.admin-ui-page .governance-heading h1,.admin-ui-page .repository-health-heading h1,.admin-ui-page .production-readiness-heading h1{letter-spacing:-.025em;color:#0b2748}
.admin-ui-page .page-head p,.admin-ui-page .admin-page-heading p,.admin-ui-page .governance-heading p,.admin-ui-page .repository-health-heading p,.admin-ui-page .production-readiness-heading p{max-width:760px;color:#6f8094;line-height:1.55}
.admin-ui-page .page-head-actions,.admin-ui-page .admin-page-actions{gap:8px}
.admin-ui-page .page-head-actions .btn,.admin-ui-page .admin-page-actions .btn{border-radius:9px}
.admin-ui-page .metric-card,.admin-ui-page .admin-kpi-strip>article,.admin-ui-page .dashboard-health-card{border-color:#e2e9f1;box-shadow:0 8px 24px rgba(15,47,94,.045)}
.admin-ui-page .metric-card:hover,.admin-ui-page .admin-kpi-strip>article:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(15,47,94,.07)}
@media(max-width:800px){
 .admin-ui-page .topbar{height:64px}
 .admin-ui-page .authenticated-brand{min-width:0}
 .admin-ui-page .context-nav{top:64px;min-height:52px;padding:7px 12px;display:block}
 .admin-ui-page .context-heading{justify-content:space-between;width:100%}
 .admin-ui-page .context-title{min-height:34px}
 .admin-ui-page .context-menu-toggle{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe5ef;background:#fff;color:#48617a;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700}
 .admin-ui-page .context-links{display:none;width:100%;height:auto;max-height:calc(100vh - 150px);overflow:auto;margin-top:7px;padding:5px;background:#f7f9fc;border:1px solid #e1e8f0;border-radius:10px;box-shadow:0 12px 24px rgba(15,47,94,.08)}
 .admin-ui-page .context-links.open{display:flex;flex-direction:column;align-items:stretch;gap:2px}
 .admin-ui-page .context-direct,.admin-ui-page .context-dropdown>summary{min-height:42px;height:42px;border:0!important;border-radius:8px!important;padding:0 10px!important;justify-content:flex-start}
 .admin-ui-page .context-dropdown-menu{position:static;box-shadow:none;border:0;border-radius:8px;padding:3px 4px;background:#fff}
 .admin-ui-page .context-dropdown-menu a{min-height:36px}
 .admin-ui-page .breadcrumbs{padding:6px 12px}
 .admin-ui-page .content{padding:20px 14px}
 .admin-ui-page .page-head,.admin-ui-page .admin-page-heading,.admin-ui-page .governance-heading,.admin-ui-page .repository-health-heading,.admin-ui-page .production-readiness-heading{gap:12px}
 .admin-ui-page .page-head h1,.admin-ui-page .admin-page-heading h1,.admin-ui-page .governance-heading h1,.admin-ui-page .repository-health-heading h1,.admin-ui-page .production-readiness-heading h1{font-size:25px!important}
}

/* V17.10.4 — Executive admin dashboard hierarchy and quick-action rail */
.admin-home-dashboard .content{padding:22px 24px 34px}
.admin-dashboard-hero{padding:2px 2px 4px;margin-bottom:16px}
.admin-dashboard-eyebrow{font-size:10.5px!important;letter-spacing:.7px}
.admin-dashboard-hero h1{font-size:clamp(27px,2.1vw,34px)!important;letter-spacing:-.03em}
.admin-dashboard-hero p{font-size:13px!important;color:#718196}
.admin-dashboard-hero-actions .btn{min-height:40px;padding:0 14px;border-radius:9px;font-weight:750}
.admin-dashboard-action-rail{display:grid;grid-template-columns:180px repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px;align-items:stretch}
.admin-dashboard-action-heading{padding:12px 14px;border:1px solid #dfe7f1;border-radius:11px;background:#f8fbff;display:flex;flex-direction:column;justify-content:center}
.admin-dashboard-action-heading span{color:#173b68;font-size:12px!important;font-weight:850}
.admin-dashboard-action-heading small{margin-top:3px;color:#7b8a9b;font-size:10.5px!important;line-height:1.4}
.admin-dashboard-action-rail>a{min-height:68px;padding:10px 11px;border:1px solid #dfe7f1;border-radius:11px;background:#fff;display:grid;grid-template-columns:32px minmax(0,1fr) 14px;gap:9px;align-items:center;color:inherit;box-shadow:0 3px 12px rgba(16,53,96,.025);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.admin-dashboard-action-rail>a:hover{border-color:#c5d7ec;box-shadow:0 8px 20px rgba(16,53,96,.07);transform:translateY(-1px)}
.admin-dashboard-action-rail .action-icon{width:31px;height:31px;border-radius:8px;background:#edf4ff;color:#1765cf;display:grid;place-items:center;font-size:14px!important;font-weight:800}
.admin-dashboard-action-rail a strong{display:block;color:#294a6d;font-size:11.5px!important;line-height:1.2}
.admin-dashboard-action-rail a small{display:block;margin-top:3px;color:#7a899b;font-size:10px!important;line-height:1.25}
.admin-dashboard-action-rail a>b{color:#8aa0b8;font-size:13px}
.admin-dashboard-kpis{gap:10px;margin-bottom:14px}
.admin-dashboard-kpi{min-height:108px;border-radius:12px}
.admin-dashboard-main{gap:14px;margin-bottom:14px}
.admin-dashboard-secondary{gap:14px;margin-bottom:14px}
.admin-dashboard-main>.card,.admin-dashboard-priorities>.card,.admin-dashboard-secondary>.card,.admin-dashboard-tasks{box-shadow:0 4px 18px rgba(16,53,96,.035)}
@media(max-width:1180px){.admin-dashboard-action-rail{grid-template-columns:1fr 1fr}.admin-dashboard-action-heading{grid-column:1/-1;min-height:54px;flex-direction:row;align-items:center;justify-content:space-between}.admin-dashboard-action-heading small{margin-top:0}}
@media(max-width:760px){.admin-home-dashboard .content{padding:14px}.admin-dashboard-action-rail{grid-template-columns:1fr}.admin-dashboard-action-heading{grid-column:auto}.admin-dashboard-action-rail>a{min-height:62px}.admin-dashboard-hero{padding:0;margin-bottom:14px}.admin-dashboard-hero h1{font-size:27px!important}.admin-dashboard-hero p{max-width:620px}.admin-dashboard-kpi{min-height:98px}}

/* V17.11.0 — Plus-tier executive intelligence layer. Presentation-only; existing data services remain authoritative. */
.admin-home-dashboard .admin-dashboard-intelligence{margin:0 0 15px;border:1px solid #dfe7f1;border-radius:14px;background:linear-gradient(180deg,#fbfdff 0%,#f7faff 100%);box-shadow:0 5px 22px rgba(16,53,96,.035);overflow:hidden}
.admin-command-center{margin:0 0 15px;border:1px solid #dbe5ef;border-radius:15px;background:#fff;box-shadow:0 6px 24px rgba(16,53,96,.045);overflow:hidden}
.admin-command-center-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px 13px;background:linear-gradient(180deg,#fbfdff 0%,#f7faff 100%);border-bottom:1px solid #e6edf4}
.admin-command-center-head>div>span{display:block;color:#6c7e92;font-size:9.5px!important;font-weight:850;letter-spacing:1.15px}
.admin-command-center-head h2{margin:3px 0 2px;color:#173b68;font-size:18px!important;letter-spacing:-.018em}
.admin-command-center-head p{margin:0;color:#718196;font-size:10.5px!important;line-height:1.45;max-width:760px}
.admin-command-center-head>a{white-space:nowrap}
.admin-command-state-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px}
.admin-command-state{min-height:86px;display:grid;grid-template-columns:7px minmax(0,1fr) 14px;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e1e9f1;border-radius:11px;background:#fff;color:inherit;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.admin-command-state:hover{border-color:#bfd2e8;box-shadow:0 8px 20px rgba(16,53,96,.07);transform:translateY(-1px)}
.admin-command-dot{width:7px;height:42px;border-radius:99px;background:#2fa67c}.state-watch .admin-command-dot{background:#e3a72f}.state-critical .admin-command-dot{background:#d95778}.state-healthy .admin-command-dot{background:#2fa67c}
.admin-command-state small{display:block;color:#718196;font-size:9.5px!important;font-weight:800;text-transform:uppercase;letter-spacing:.3px}
.admin-command-state strong{display:block;margin-top:2px;color:#173b68;font-size:20px!important;line-height:1.05}
.admin-command-state p{margin:4px 0 0;color:#7a899b;font-size:9.5px!important;line-height:1.28}
.admin-command-state>b{color:#91a4b9;font-size:13px}
@media(max-width:1050px){.admin-command-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-command-center-head{align-items:flex-start;flex-direction:column;gap:10px}.admin-command-center-head>a{align-self:flex-start}.admin-command-state-grid{grid-template-columns:1fr}.admin-command-state{min-height:76px}}
.admin-dashboard-intelligence-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px 12px;border-bottom:1px solid #e6edf4}
.admin-dashboard-intelligence-head span{display:block;color:#6c7e92;font-size:9.5px!important;font-weight:850;letter-spacing:1.15px}
.admin-dashboard-intelligence-head h2{margin:3px 0 2px;color:#173b68;font-size:17px!important;letter-spacing:-.015em}
.admin-dashboard-intelligence-head p{margin:0;color:#718196;font-size:11px!important}
.admin-dashboard-intelligence-head>a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#1765cf;font-size:11px!important;font-weight:800}
.admin-dashboard-intelligence-head>a b{font-size:14px}
.admin-dashboard-priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}
.admin-priority-card{min-height:82px;display:grid;grid-template-columns:7px minmax(0,1fr) 14px;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e0e8f1;border-radius:11px;background:#fff;color:inherit;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.admin-priority-card:hover{border-color:#bfd2e8;box-shadow:0 8px 20px rgba(16,53,96,.07);transform:translateY(-1px)}
.admin-priority-status{width:6px;height:38px;border-radius:99px;background:#2f6fec}
.priority-green .admin-priority-status{background:#2fa67c}.priority-amber .admin-priority-status{background:#e3a72f}.priority-rose .admin-priority-status{background:#d95778}.priority-purple .admin-priority-status{background:#8a5de8}.priority-blue .admin-priority-status{background:#2f6fec}
.admin-priority-card small{display:block;color:#718196;font-size:9.5px!important;font-weight:750}
.admin-priority-card strong{display:block;margin-top:2px;color:#173b68;font-size:18px!important;line-height:1.05}
.admin-priority-card p{margin:4px 0 0;color:#7a899b;font-size:9.5px!important;line-height:1.25}
.admin-priority-card>b{color:#91a4b9;font-size:13px}
@media(max-width:1050px){.admin-dashboard-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-dashboard-intelligence-head{align-items:flex-start;flex-direction:column;gap:9px}.admin-dashboard-intelligence-head>a{align-self:flex-start}.admin-dashboard-priority-grid{grid-template-columns:1fr;padding:9px}.admin-priority-card{min-height:76px}}

/* ========================================================================
   V17.13.0 — Consolidated Enterprise Admin Suite
   Unified action intelligence, operational pulse and command-centre alignment
   ======================================================================== */
.admin-action-center{
 margin:0 0 16px;
 border:1px solid #dbe5ef;
 border-radius:16px;
 background:#fff;
 box-shadow:0 8px 28px rgba(16,53,96,.05);
 overflow:hidden;
}
.admin-action-center-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:22px;
 padding:18px 20px 15px;
 border-bottom:1px solid #e5edf5;
 background:linear-gradient(180deg,#fcfdff 0%,#f7faff 100%);
}
.admin-action-center-head>div:first-child{min-width:0}
.admin-action-center-head>div:first-child>span,
.admin-system-pulse-head>span{
 display:block;
 color:#71839a;
 font-size:9.5px!important;
 line-height:1.2;
 font-weight:850;
 letter-spacing:1.05px;
 text-transform:uppercase;
}
.admin-action-center-head h2{
 margin:4px 0 3px!important;
 color:#123b68;
 font-size:19px!important;
 line-height:1.2!important;
 letter-spacing:-.025em;
}
.admin-action-center-head p{
 max-width:760px;
 margin:0!important;
 color:#6f8095;
 font-size:11px!important;
 line-height:1.5!important;
}
.admin-action-summary,
.command-admin-summary{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:6px;
 flex-wrap:wrap;
}
.admin-action-summary>span,
.command-admin-summary>span{
 min-width:76px;
 padding:7px 9px;
 border:1px solid #e1e9f1;
 border-radius:9px;
 background:#fff;
 color:#66788d;
 font-size:9px!important;
 line-height:1.15!important;
 font-weight:700;
 text-align:center;
 white-space:nowrap;
}
.admin-action-summary b,
.command-admin-summary b{
 display:block;
 margin-bottom:2px;
 color:#173b68;
 font-size:16px!important;
 line-height:1!important;
}
.admin-action-summary .summary-critical,
.command-admin-summary .summary-critical{border-color:#f4c8ca;background:#fff7f7;color:#a63c44}
.admin-action-summary .summary-action,
.command-admin-summary .summary-action{border-color:#f1d2a0;background:#fffaf1;color:#9a6716}
.admin-action-summary .summary-watch,
.command-admin-summary .summary-watch{border-color:#d9d2f2;background:#faf8ff;color:#6752a2}
.admin-action-summary .summary-healthy,
.command-admin-summary .summary-healthy{border-color:#c9e8d9;background:#f5fcf8;color:#267050}
.admin-action-center-layout{
 display:grid;
 grid-template-columns:minmax(0,1.75fr) minmax(250px,.72fr);
 min-width:0;
}
.admin-action-list{
 padding:11px;
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;
 min-width:0;
}
.admin-action-item{
 min-width:0;
 min-height:112px;
 display:grid;
 grid-template-columns:7px minmax(0,1fr) auto;
 gap:11px;
 align-items:center;
 padding:12px 13px;
 border:1px solid #e1e9f1;
 border-radius:12px;
 background:#fff;
 color:inherit!important;
 text-decoration:none!important;
 transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.admin-action-item:hover{
 border-color:#bfd1e4;
 box-shadow:0 8px 20px rgba(16,53,96,.065);
 transform:translateY(-1px);
}
.admin-action-severity{
 width:7px;
 height:44px;
 border-radius:99px;
 background:#9eb0c4;
}
.action-critical .admin-action-severity{background:#d94f59}
.action-action .admin-action-severity{background:#e7a226}
.action-watch .admin-action-severity{background:#7e66c6}
.action-healthy .admin-action-severity{background:#2fa374}
.admin-action-item-copy{min-width:0}
.admin-action-item-copy small,
.command-admin-signal small{
 display:block;
 color:#7a899b;
 font-size:9px!important;
 line-height:1.2!important;
 font-weight:820!important;
 letter-spacing:.48px;
 text-transform:uppercase;
}
.admin-action-item-copy strong,
.command-admin-signal strong{
 display:block;
 margin-top:3px;
 color:#173b68;
 font-size:13px!important;
 line-height:1.25!important;
 font-weight:780!important;
}
.admin-action-item-copy p,
.command-admin-signal p{
 margin:4px 0 0!important;
 color:#748498;
 font-size:10px!important;
 line-height:1.4!important;
}
.admin-action-item-copy em{
 display:block;
 margin-top:7px;
 color:#1765cf;
 font-size:9.5px!important;
 line-height:1.25!important;
 font-style:normal;
 font-weight:800;
}
.admin-action-metric{
 min-width:52px;
 padding:6px 7px;
 border-radius:9px;
 background:#f4f7fb;
 color:#173b68;
 font-size:15px!important;
 line-height:1!important;
 font-weight:850!important;
 text-align:center;
}
.admin-system-pulse{
 min-width:0;
 padding:16px;
 border-left:1px solid #e5edf5;
 background:#fbfcfe;
}
.admin-system-pulse-head h3{
 margin:4px 0 3px!important;
 color:#173b68;
 font-size:16px!important;
 line-height:1.2!important;
}
.admin-system-pulse-head p{
 margin:0 0 15px!important;
 color:#76869a;
 font-size:10px!important;
 line-height:1.45!important;
}
.admin-system-pulse-list{display:grid;gap:11px}
.admin-system-pulse-list>a{display:block;color:inherit!important;text-decoration:none!important}
.admin-system-pulse-list>a>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}
.admin-system-pulse-list strong{color:#435a72;font-size:10px!important;font-weight:750!important}
.admin-system-pulse-list span{color:#173b68;font-size:10px!important;font-weight:850!important}
.admin-system-pulse-list i{
 height:6px;
 display:block;
 overflow:hidden;
 border-radius:99px;
 background:#e7edf4;
}
.admin-system-pulse-list i b{height:100%;display:block;border-radius:inherit;background:#3a85d8}
.admin-system-pulse-list .pulse-healthy i b{background:#2fa374}
.admin-system-pulse-list .pulse-watch i b{background:#e1a229}
.admin-system-pulse-list .pulse-critical i b{background:#d94f59}
.admin-pulse-command-link{
 display:block;
 margin-top:17px;
 padding-top:12px;
 border-top:1px solid #e3eaf2;
 color:#1765cf!important;
 font-size:10px!important;
 line-height:1.35!important;
 font-weight:800!important;
 text-decoration:none!important;
}
.command-admin-operations{margin:0 0 16px!important;padding:0!important;overflow:hidden}
.command-admin-operations>.geo-card-header{padding:16px 18px 12px;margin:0;border-bottom:1px solid #e5edf5;background:#fbfdff}
.command-admin-summary{padding:10px 12px 2px;justify-content:flex-start}
.command-admin-signal-grid{padding:10px 12px 13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.command-admin-signal{
 min-height:95px;
 display:grid;
 grid-template-columns:7px minmax(0,1fr) auto;
 gap:10px;
 align-items:center;
 padding:11px 12px;
 border:1px solid #e1e9f1;
 border-radius:11px;
 background:#fff;
 color:inherit!important;
 text-decoration:none!important;
}
.command-admin-signal>b{min-width:48px;color:#173b68;font-size:15px!important;text-align:center}
@media(max-width:1120px){
 .admin-action-center-layout{grid-template-columns:1fr}
 .admin-system-pulse{border-left:0;border-top:1px solid #e5edf5}
 .admin-system-pulse-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 18px}
 .command-admin-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
 .admin-action-center-head{flex-direction:column;gap:12px}
 .admin-action-summary{justify-content:flex-start}
 .admin-action-list{grid-template-columns:1fr}
 .admin-system-pulse-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .admin-action-center{border-radius:13px}
 .admin-action-center-head{padding:15px 14px 13px}
 .admin-action-center-head h2{font-size:17px!important}
 .admin-action-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .admin-action-summary>span{min-width:0}
 .admin-action-list{padding:8px}
 .admin-action-item{min-height:102px;padding:11px}
 .admin-system-pulse{padding:14px}
 .admin-system-pulse-list{grid-template-columns:1fr}
 .command-admin-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .command-admin-summary>span{min-width:0}
 .command-admin-signal-grid{grid-template-columns:1fr;padding:8px}
}

/* ========================================================================
   V17.14.0 — Clean Responsive Admin Dashboard + Infographic Motion
   Removes repeated dashboard blocks; adds concise visual summaries.
   ======================================================================== */
.admin-home-dashboard .content{max-width:1540px;margin:0 auto;padding:22px 24px 36px}
.admin-dashboard-hero{margin-bottom:18px;padding:2px 0 0}
.admin-dashboard-hero p{max-width:680px!important}
.admin-action-center{margin-bottom:14px;box-shadow:0 7px 24px rgba(16,53,96,.045)}
.admin-action-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-action-item{min-height:98px}
.admin-dashboard-kpis{margin-bottom:14px}
.admin-dashboard-kpi{position:relative;overflow:hidden;animation:adminCardIn .42s ease both}
.admin-dashboard-kpi:nth-child(2){animation-delay:.04s}.admin-dashboard-kpi:nth-child(3){animation-delay:.08s}.admin-dashboard-kpi:nth-child(4){animation-delay:.12s}.admin-dashboard-kpi:nth-child(5){animation-delay:.16s}
.admin-dashboard-kpi::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,#1765cf,#63a5ed);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.admin-dashboard-kpi:hover::after{transform:scaleX(1)}

.admin-dashboard-infographics{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(320px,1.2fr) minmax(280px,.98fr);gap:12px;margin-bottom:14px}
.admin-dashboard-infographics>.card{min-width:0;min-height:235px;padding:16px;border:1px solid #dfe7f1;border-radius:13px;background:#fff;box-shadow:0 4px 18px rgba(16,53,96,.035);animation:adminCardIn .48s ease both}
.admin-dashboard-infographics>.card:nth-child(2){animation-delay:.07s}.admin-dashboard-infographics>.card:nth-child(3){animation-delay:.14s}
.admin-info-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}
.admin-info-head span{display:block;color:#7b8ba0;font-size:9px!important;font-weight:850;letter-spacing:.85px}
.admin-info-head h2{margin:3px 0 0!important;color:#173b68;font-size:15px!important;line-height:1.2!important}
.admin-info-head>a{color:#1765cf!important;font-size:10px!important;font-weight:800;white-space:nowrap;text-decoration:none!important}
.admin-health-visual{display:grid;grid-template-columns:126px minmax(0,1fr);gap:16px;align-items:center}
.admin-health-ring{--ring:#2f83d6;width:118px;height:118px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ring) calc(var(--score)*1%),#e9eff5 0);position:relative;animation:adminRingIn .75s ease both}
.admin-health-ring::after{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #eef2f6}
.admin-health-ring>div{position:relative;z-index:1;text-align:center}
.admin-health-ring strong{display:block;color:#173b68;font-size:24px!important;line-height:1!important}
.admin-health-ring span{display:block;margin-top:5px;color:#738398;font-size:9px!important;font-weight:750}
.admin-health-facts{display:grid;gap:7px}
.admin-health-facts p{margin:0!important;padding:8px 0;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:10px}
.admin-health-facts p:last-child{border-bottom:0}.admin-health-facts span{color:#75869a;font-size:10px!important}.admin-health-facts strong{color:#294d73;font-size:10.5px!important;text-align:right}
.admin-category-bars{display:grid;gap:11px}.admin-category-bars>a{color:inherit!important;text-decoration:none!important}.admin-category-bars>a>div,.admin-metadata-meter>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.admin-category-bars span,.admin-metadata-meter span{color:#526980;font-size:10.5px!important;font-weight:700}.admin-category-bars strong,.admin-metadata-meter strong{color:#173b68;font-size:10.5px!important}
.admin-category-bars i,.admin-metadata-meter i{height:7px;display:block;overflow:hidden;border-radius:99px;background:#edf1f5}.admin-category-bars i b,.admin-metadata-meter i b{display:block;height:100%;width:var(--bar);border-radius:inherit;background:linear-gradient(90deg,#2f73c9,#66a4e7);transform-origin:left;animation:adminBarGrow .72s ease both;animation-delay:var(--delay,0ms)}
.admin-workflow-visual{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:18px}.admin-workflow-visual>a{min-width:0;padding:12px 8px;border:1px solid #e4ebf2;border-radius:10px;background:#f9fbfd;text-align:center;color:inherit!important;text-decoration:none!important;transition:transform .16s ease,border-color .16s ease}.admin-workflow-visual>a:hover{transform:translateY(-2px);border-color:#c8d9ea}.admin-workflow-visual span{display:block;min-height:26px;color:#738398;font-size:9px!important;line-height:1.3}.admin-workflow-visual strong{display:block;margin-top:5px;color:#173b68;font-size:21px!important;line-height:1}
.admin-metadata-meter{padding-top:12px;border-top:1px solid #edf1f5}
.admin-dashboard-main{grid-template-columns:minmax(0,1.8fr) minmax(270px,.7fr);gap:12px}.admin-dashboard-priorities{display:block}.admin-dashboard-priorities>.card{min-height:100%}.admin-dashboard-secondary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-dashboard-secondary>.card{min-width:0}
.enterprise-series{stroke-dasharray:1100;stroke-dashoffset:1100;animation:adminLineDraw 1.05s ease forwards}.enterprise-area{opacity:0;animation:adminAreaIn .65s .35s ease forwards}.enterprise-point{opacity:0;animation:adminPointIn .28s .65s ease forwards}
@keyframes adminCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes adminBarGrow{from{width:0}to{width:var(--bar)}}
@keyframes adminRingIn{from{opacity:.25;transform:scale(.94) rotate(-10deg)}to{opacity:1;transform:none}}
@keyframes adminLineDraw{to{stroke-dashoffset:0}}
@keyframes adminAreaIn{to{opacity:.10}}
@keyframes adminPointIn{to{opacity:1}}
@media(max-width:1180px){.admin-dashboard-infographics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-info-workflow{grid-column:1/-1}.admin-dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.admin-dashboard-infographics{grid-template-columns:1fr}.admin-info-workflow{grid-column:auto}.admin-dashboard-main{grid-template-columns:1fr}.admin-dashboard-priorities>.card{min-height:0}.admin-dashboard-secondary{grid-template-columns:1fr}.admin-action-list{grid-template-columns:1fr}}
@media(max-width:700px){.admin-home-dashboard .content{padding:14px 12px 28px}.admin-dashboard-hero{gap:12px}.admin-dashboard-hero-actions{width:100%}.admin-dashboard-hero-actions .btn{flex:1;justify-content:center}.admin-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-dashboard-kpi{min-height:92px;padding:11px;grid-template-columns:34px minmax(0,1fr)}.admin-dashboard-kpi-icon{width:33px;height:33px}.admin-dashboard-kpi strong{font-size:21px!important}.admin-dashboard-infographics>.card{min-height:0;padding:14px}.admin-health-visual{grid-template-columns:104px minmax(0,1fr);gap:12px}.admin-health-ring{width:100px;height:100px}.admin-health-ring strong{font-size:21px!important}.admin-workflow-visual{gap:5px}.admin-workflow-visual>a{padding:10px 5px}.admin-action-center-head p{display:none}}
@media(max-width:430px){.admin-dashboard-kpis{grid-template-columns:1fr 1fr}.admin-dashboard-kpi{grid-template-columns:1fr;gap:5px}.admin-dashboard-kpi-icon{display:none}.admin-health-visual{grid-template-columns:1fr}.admin-health-ring{margin:0 auto}.admin-workflow-visual{grid-template-columns:1fr}.admin-workflow-visual span{min-height:0}.admin-action-summary{grid-template-columns:1fr 1fr!important}}
@media(prefers-reduced-motion:reduce){.admin-dashboard-kpi,.admin-dashboard-infographics>.card,.admin-health-ring,.admin-category-bars i b,.admin-metadata-meter i b,.enterprise-series,.enterprise-area,.enterprise-point{animation:none!important;transition:none!important}.enterprise-series{stroke-dasharray:none;stroke-dashoffset:0}.enterprise-area{opacity:.1}.enterprise-point{opacity:1}}


/* ========================================================================
   V17.14.1 — Repository Activity infographic reliability fix
   Server-rendered first paint + live JS enhancement.
   ======================================================================== */
.admin-activity-infographic{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;min-height:260px;margin-top:8px}
.admin-activity-y-axis{height:218px;padding:2px 0 18px;display:flex;flex-direction:column;justify-content:space-between;text-align:right;color:#8a98a9;font-size:10px!important;font-weight:700}
.admin-activity-plot{position:relative;min-width:0;height:236px}
.admin-activity-grid{position:absolute;inset:0 0 28px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}
.admin-activity-grid i{display:block;width:100%;border-top:1px dashed #e4eaf2}
.admin-activity-days{position:absolute;inset:0 0 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end}
.admin-activity-day{height:236px;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) 25px;align-items:end;text-align:center}
.admin-activity-bars-group{height:208px;display:flex;align-items:end;justify-content:center;gap:clamp(3px,.55vw,7px);padding:0 clamp(2px,.35vw,5px)}
.admin-activity-bar{display:block;width:clamp(7px,1.15vw,14px);height:var(--activity-height);min-height:0;border-radius:5px 5px 2px 2px;transform-origin:bottom;transition:filter .16s ease,transform .16s ease;animation:adminActivityGrow .72s cubic-bezier(.2,.72,.25,1) both;animation-delay:var(--activity-delay)}
.admin-activity-bar:hover{filter:brightness(.94);transform:translateY(-2px)}
.admin-activity-day>span{align-self:end;color:#748397;font-size:10.5px!important;font-weight:650;white-space:nowrap}
.admin-activity-empty{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:min(360px,85%);padding:16px 18px;border:1px dashed #d8e1ec;border-radius:12px;background:rgba(248,250,253,.94);color:#758397;text-align:center;font-size:12px!important;z-index:3}
.admin-activity-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px;padding-left:46px}
.admin-activity-summary span{padding:6px 9px;border:1px solid #e4eaf1;border-radius:999px;background:#fafbfd;color:#6e7e91;font-size:10.5px!important}
.admin-activity-summary b{color:#173b68;font-size:11.5px!important}
@keyframes adminActivityGrow{from{transform:scaleY(0);opacity:.25}to{transform:scaleY(1);opacity:1}}
@media(max-width:760px){.admin-activity-infographic{grid-template-columns:30px minmax(0,1fr);min-height:224px}.admin-activity-y-axis{height:184px;font-size:9px!important}.admin-activity-plot{height:202px}.admin-activity-days{gap:4px}.admin-activity-day{height:202px}.admin-activity-bars-group{height:174px;gap:3px;padding:0 1px}.admin-activity-bar{width:8px}.admin-activity-day>span{font-size:9px!important}.admin-activity-summary{padding-left:38px}}
@media(max-width:430px){.admin-dashboard-activity{padding:12px}.activity-legend{gap:8px;flex-wrap:wrap}.admin-activity-infographic{grid-template-columns:26px minmax(0,1fr)}.admin-activity-bars-group{gap:2px}.admin-activity-bar{width:6px}.admin-activity-day>span{font-size:8px!important}.admin-activity-summary{padding-left:0;justify-content:center}.admin-activity-summary span{font-size:9.5px!important}}
@media(prefers-reduced-motion:reduce){.admin-activity-bar{animation:none!important;transition:none!important}}

/* ========================================================================
   V17.14.2 — Premium Repository Activity wave infographic
   Smooth server-rendered first paint + live JS refresh.
   ======================================================================== */
.admin-dashboard-wave-activity{overflow:hidden}
.admin-wave-legend{margin:2px 0 8px}
.admin-wave-chart{position:relative;width:100%;min-height:275px;padding:0 0 4px}
.admin-wave-chart svg{display:block;width:100%;height:245px;overflow:visible}
.admin-wave-grid line{stroke:#e5ebf3;stroke-width:1;stroke-dasharray:4 5;vector-effect:non-scaling-stroke}
.admin-wave-ylabels text{fill:#8795a7;font-size:10px;font-weight:700;text-anchor:end;font-family:inherit}
.admin-wave-line{fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 4px rgba(27,63,108,.10));stroke-dasharray:1500;stroke-dashoffset:1500;animation:adminWaveDraw 1.15s cubic-bezier(.22,.72,.25,1) forwards}
.admin-wave-area{opacity:0;animation:adminWaveArea .7s .35s ease forwards}
.admin-wave-point{stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke;opacity:0;animation:adminWavePoint .3s .72s ease forwards;transform-box:fill-box;transform-origin:center;transition:r .16s ease,filter .16s ease}
.admin-wave-point:hover{r:5.4px;filter:drop-shadow(0 2px 3px rgba(17,55,98,.25))}
.admin-wave-line.wave-resources{stroke:#2f6fec}.admin-wave-area.wave-resources,.admin-wave-point.wave-resources{fill:#2f6fec}.admin-wave-area.wave-resources{fill-opacity:.075}
.admin-wave-line.wave-views{stroke:#22a87d}.admin-wave-area.wave-views,.admin-wave-point.wave-views{fill:#22a87d}.admin-wave-area.wave-views{fill-opacity:.07}
.admin-wave-line.wave-saved{stroke:#8756d8}.admin-wave-area.wave-saved,.admin-wave-point.wave-saved{fill:#8756d8}.admin-wave-area.wave-saved{fill-opacity:.065}
.admin-wave-labels{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 18px 0 46px;margin-top:-25px;position:relative;z-index:2}
.admin-wave-labels span{text-align:center;color:#748397;font-size:10.5px!important;font-weight:650;white-space:nowrap}
.admin-dashboard-wave-activity .admin-activity-summary{padding-left:46px;margin-top:10px}
.admin-dashboard-wave-activity .admin-activity-empty{top:48%;background:rgba(255,255,255,.92);backdrop-filter:blur(3px)}
@keyframes adminWaveDraw{to{stroke-dashoffset:0}}
@keyframes adminWaveArea{to{opacity:1}}
@keyframes adminWavePoint{from{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}
@media(max-width:760px){.admin-wave-chart{min-height:230px}.admin-wave-chart svg{height:205px}.admin-wave-labels{padding-left:34px;padding-right:10px;margin-top:-22px}.admin-wave-labels span{font-size:9px!important}.admin-dashboard-wave-activity .admin-activity-summary{padding-left:34px}.admin-wave-line{stroke-width:2.4}}
@media(max-width:430px){.admin-dashboard-wave-activity{padding:12px}.admin-wave-chart{min-height:215px}.admin-wave-chart svg{height:190px}.admin-wave-labels{padding-left:27px;padding-right:6px}.admin-wave-labels span{font-size:8px!important}.admin-dashboard-wave-activity .admin-activity-summary{padding-left:0;justify-content:center}.admin-wave-line{stroke-width:2.2}.admin-wave-point{r:3px}}
@media(prefers-reduced-motion:reduce){.admin-wave-line,.admin-wave-area,.admin-wave-point{animation:none!important;transition:none!important}.admin-wave-line{stroke-dasharray:none;stroke-dashoffset:0}.admin-wave-area{opacity:1}.admin-wave-point{opacity:1}}

/* V17.15 Intelligent Admin Operations Suite */
.admin-workqueue-head{gap:20px}.admin-workqueue-head-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.admin-workqueue-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.queue-summary{min-height:88px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--navy);box-shadow:0 6px 20px rgba(15,52,94,.045);position:relative;overflow:hidden}
.queue-summary:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#7b8da4}.queue-summary span{font-size:11px;font-weight:800}.queue-summary strong{font-size:25px;line-height:1}.queue-summary.queue-critical:before{background:#c83c3c}.queue-summary.queue-action:before{background:#e58a21}.queue-summary.queue-watch:before{background:#d2a01f}.queue-summary.queue-healthy:before{background:#2a9b70}
.admin-workqueue-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px;padding:13px 14px;border:1px solid var(--border);border-radius:14px;background:#f9fbfd}.admin-workqueue-filters label{display:grid;gap:5px;min-width:180px;color:#586a80;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.admin-workqueue-filters select{height:38px;border:1px solid #d9e2ec;border-radius:9px;background:#fff;padding:0 32px 0 10px;color:var(--navy);font:inherit;text-transform:none;letter-spacing:0}
.admin-workqueue-list{display:grid;gap:10px}.admin-workqueue-item{display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:15px;align-items:center;padding:17px 18px;background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:0 5px 18px rgba(15,52,94,.04)}.admin-workqueue-status{align-self:stretch;border-radius:99px;background:#7b8da4}.admin-workqueue-item.queue-critical .admin-workqueue-status{background:#c83c3c}.admin-workqueue-item.queue-action .admin-workqueue-status{background:#e58a21}.admin-workqueue-item.queue-watch .admin-workqueue-status{background:#d2a01f}.admin-workqueue-item.queue-healthy .admin-workqueue-status{background:#2a9b70}.admin-workqueue-copy{min-width:0}.admin-workqueue-copy>div{display:flex;gap:8px;align-items:center}.admin-workqueue-copy small{font-size:8px;font-weight:900;color:#72839a;text-transform:uppercase;letter-spacing:.08em}.admin-workqueue-copy>div>span{font-size:7.5px;font-weight:850;padding:3px 7px;border-radius:999px;background:#f0f3f7;color:#53657b}.admin-workqueue-copy h2{margin:5px 0 3px;font-size:14px!important;color:var(--navy)}.admin-workqueue-copy p{margin:0;color:#617188;font-size:10px;line-height:1.5}.admin-workqueue-copy>strong{display:block;margin-top:7px;color:#354a64;font-size:9px}.admin-workqueue-metric{min-width:110px;text-align:right;display:grid;justify-items:end;gap:8px}.admin-workqueue-metric>strong{font-size:20px;color:var(--navy)}.admin-workqueue-empty{min-height:220px;border:1px dashed #ccd8e5;border-radius:15px;background:#fbfcfe;display:grid;place-items:center;align-content:center;text-align:center;padding:28px}.admin-workqueue-empty>span{width:42px;height:42px;border-radius:50%;background:#e9f8f1;color:#23845f;display:grid;place-items:center;font-weight:900}.admin-workqueue-empty h2{margin:9px 0 2px;font-size:14px!important}.admin-workqueue-empty p{margin:0;color:var(--muted);font-size:10px}
@media(max-width:900px){.admin-workqueue-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workqueue-item{grid-template-columns:5px minmax(0,1fr)}.admin-workqueue-metric{grid-column:2;grid-template-columns:auto auto;align-items:center;justify-content:start;text-align:left}}
@media(max-width:560px){.admin-workqueue-head-actions{width:100%;justify-content:flex-start}.admin-workqueue-summary{grid-template-columns:1fr 1fr;gap:8px}.queue-summary{min-height:72px;padding:12px}.queue-summary strong{font-size:21px}.admin-workqueue-filters{display:grid;grid-template-columns:1fr 1fr}.admin-workqueue-filters label{min-width:0;grid-column:1/-1}.admin-workqueue-item{padding:14px 12px;gap:11px}.admin-workqueue-copy h2{font-size:13px!important}.admin-workqueue-metric{grid-template-columns:auto 1fr}.admin-workqueue-metric>strong{font-size:18px}}
.admin-operational-alerts .notification-centre-item.operational-critical{border-left:3px solid #c83c3c}.admin-operational-alerts .notification-centre-item.operational-action{border-left:3px solid #e58a21}.admin-operational-alerts .notification-centre-item.operational-watch{border-left:3px solid #d2a01f}


/* ========================================================================
   V17.15.1 — Compact Executive Dashboard Layout
   Approved mockup alignment: compact Command Center, aligned Operational
   Health, six KPI cards, and three-column activity/insight/recent workspace.
   ======================================================================== */
.admin-home-dashboard .content{max-width:1580px!important}
.admin-action-center-compact{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
.admin-action-center-compact .admin-action-center-layout{
 display:grid!important;
 grid-template-columns:minmax(0,3.05fr) minmax(270px,.95fr)!important;
 gap:12px!important;
 align-items:stretch!important;
}
.admin-action-primary{
 min-width:0;
 overflow:hidden;
 border:1px solid #dbe5ef;
 border-radius:14px;
 background:#fff;
 box-shadow:0 6px 22px rgba(16,53,96,.04);
}
.admin-action-center-compact .admin-action-center-head{
 min-height:82px;
 padding:13px 16px 11px!important;
 align-items:center!important;
 gap:16px!important;
 background:#fff!important;
}
.admin-action-center-compact .admin-action-center-head h2{font-size:17px!important;margin:3px 0 2px!important}
.admin-action-center-compact .admin-action-center-head p{font-size:10px!important;line-height:1.35!important}
.admin-action-center-compact .admin-action-summary{flex-wrap:nowrap!important;gap:6px!important}
.admin-action-center-compact .admin-action-summary>span{min-width:68px!important;padding:6px 7px!important;border-radius:8px!important;font-size:8px!important}
.admin-action-center-compact .admin-action-summary b{font-size:15px!important}
.admin-action-center-compact .admin-action-list{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:7px!important;
 padding:9px!important;
}
.admin-action-center-compact .admin-action-item{
 min-height:132px!important;
 grid-template-columns:6px minmax(0,1fr)!important;
 grid-template-rows:auto 1fr!important;
 gap:8px 9px!important;
 align-items:start!important;
 padding:11px 10px!important;
 border-radius:11px!important;
}
.admin-action-center-compact .admin-action-severity{grid-row:1/3;width:5px!important;height:38px!important;margin-top:3px}
.admin-action-center-compact .admin-action-item-copy strong{font-size:12px!important;line-height:1.22!important}
.admin-action-center-compact .admin-action-item-copy p{font-size:9px!important;line-height:1.32!important;margin-top:3px!important}
.admin-action-center-compact .admin-action-item-copy em{font-size:9px!important;margin-top:6px!important}
.admin-action-center-compact .admin-action-metric{
 position:absolute;
 top:10px;
 right:9px;
 min-width:39px!important;
 padding:5px 6px!important;
 font-size:13px!important;
 border-radius:8px!important;
}
.admin-action-center-compact .admin-action-item{position:relative}
.admin-action-center-compact .admin-action-item-copy{padding-right:38px}
.admin-action-center-compact .admin-system-pulse{
 border:1px solid #dbe5ef!important;
 border-radius:14px!important;
 background:#fff!important;
 padding:14px 15px!important;
 box-shadow:0 6px 22px rgba(16,53,96,.04);
}
.admin-action-center-compact .admin-system-pulse-head h3{font-size:15px!important}
.admin-action-center-compact .admin-system-pulse-head p{font-size:9px!important;margin-bottom:10px!important}
.admin-action-center-compact .admin-system-pulse-list{gap:8px!important}
.admin-action-center-compact .admin-system-pulse-list i{height:5px!important}
.admin-action-center-compact .admin-pulse-command-link{margin-top:11px!important;padding-top:9px!important}
.admin-dashboard-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin-top:2px!important}
.admin-dashboard-kpi{min-height:88px!important;padding:11px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important}
.admin-dashboard-kpi-icon{width:33px!important;height:33px!important}
.admin-dashboard-kpi strong{font-size:21px!important}
.admin-dashboard-main-compact{
 display:grid!important;
 grid-template-columns:minmax(0,1.55fr) minmax(250px,.78fr) minmax(270px,.85fr)!important;
 gap:10px!important;
 align-items:stretch!important;
 margin-bottom:14px!important;
}
.admin-dashboard-main-compact>.card{min-width:0!important;height:100%!important}
.admin-dashboard-main-compact .admin-dashboard-activity{min-height:355px!important}
.admin-dashboard-main-compact .admin-dashboard-insights,
.admin-dashboard-main-compact .admin-dashboard-list-card{min-height:355px!important}
.admin-dashboard-main-compact .admin-wave-chart{min-height:220px}
.admin-dashboard-main-compact .admin-dashboard-panel-head p{display:none}
.admin-dashboard-main-compact .admin-dashboard-recent-list article{padding-top:9px!important;padding-bottom:9px!important}

@media(max-width:1320px){
 .admin-action-center-compact .admin-action-center-layout{grid-template-columns:minmax(0,2.35fr) minmax(250px,.8fr)!important}
 .admin-action-center-compact .admin-action-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .admin-action-center-compact .admin-action-item{min-height:94px!important}
 .admin-dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .admin-dashboard-main-compact{grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr)!important}
 .admin-dashboard-main-compact>.admin-dashboard-list-card{grid-column:1/-1}
}
@media(max-width:980px){
 .admin-action-center-compact .admin-action-center-layout{grid-template-columns:1fr!important}
 .admin-action-center-compact .admin-system-pulse{border-radius:13px!important}
 .admin-action-center-compact .admin-system-pulse-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 16px!important}
 .admin-dashboard-main-compact{grid-template-columns:1fr!important}
 .admin-dashboard-main-compact>.admin-dashboard-list-card{grid-column:auto}
 .admin-dashboard-main-compact>.card{min-height:0!important}
}
@media(max-width:720px){
 .admin-action-center-compact .admin-action-center-head{align-items:flex-start!important;flex-direction:column!important;min-height:0!important}
 .admin-action-center-compact .admin-action-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important}
 .admin-action-center-compact .admin-action-list{grid-template-columns:1fr!important}
 .admin-action-center-compact .admin-action-item{min-height:86px!important}
 .admin-action-center-compact .admin-system-pulse-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .admin-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:430px){
 .admin-action-center-compact .admin-action-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .admin-action-center-compact .admin-system-pulse-list{grid-template-columns:1fr!important}
 .admin-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .admin-dashboard-kpi{grid-template-columns:1fr!important}
 .admin-dashboard-kpi-icon{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 .admin-action-center-compact .admin-action-item{transition:none!important}
}


/* V17.15.2 — Live Users KPI */
.admin-live-users-kpi{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;background:linear-gradient(145deg,#fff 0%,#f8fffb 100%)!important;border-color:#cfe9dc!important}
.admin-live-users-icon svg{width:19px;height:19px;stroke:#16895e;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-live-users-copy{min-width:0}
.admin-live-users-copy>small{display:flex!important;align-items:center;gap:5px;color:#60768a!important}
.admin-live-dot{width:7px;height:7px;border-radius:50%;background:#20b779;box-shadow:0 0 0 4px rgba(32,183,121,.11);animation:adminLivePulse 2.2s ease-in-out infinite}
.admin-live-users-values{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1.4fr);align-items:center;gap:8px;margin-top:3px}
.admin-live-users-values>span{min-width:0;display:grid;gap:0}
.admin-live-users-values strong{font-size:20px!important;line-height:1.05!important;color:#103a68!important;white-space:nowrap}
.admin-live-users-values em{font-style:normal;font-size:9px!important;color:#75889a!important;line-height:1.2!important;white-space:nowrap}
.admin-live-users-values>i{height:31px;width:1px;background:#dde7ef}
.admin-live-users-copy>a,.admin-live-window{display:block;margin-top:4px;font-size:9px!important;font-weight:700;color:#1765cf!important;text-decoration:none!important;white-space:nowrap}
.admin-live-users-copy>a:hover{text-decoration:underline!important}
@keyframes adminLivePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.82)}}
@media(max-width:720px){.admin-live-users-kpi{grid-template-columns:34px minmax(0,1fr)!important}.admin-live-users-values{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:6px}.admin-live-users-values strong{font-size:19px!important}}
@media(max-width:430px){.admin-live-users-kpi{grid-template-columns:1fr!important}.admin-live-users-icon{display:none!important}.admin-live-users-values strong{font-size:18px!important}}
@media(prefers-reduced-motion:reduce){.admin-live-dot{animation:none!important}}


/* ========================================================================
   V17.15.3 — Balanced Priority Command Center
   Removes dead whitespace while preserving the V17.15 operational model.
   ======================================================================== */
@media(min-width:1321px){
 .admin-action-center-compact .admin-action-list{
  min-height:218px!important;
  align-items:stretch!important;
 }
 .admin-action-center-compact .admin-action-item{
  min-height:218px!important;
  height:100%!important;
  grid-template-columns:5px 42px minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  gap:0 11px!important;
  padding:16px 13px 14px!important;
  align-items:start!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
 }
 .admin-action-center-compact .admin-action-severity{grid-row:1!important;height:48px!important;margin-top:0!important}
 .admin-action-center-compact .admin-action-item-copy{padding-right:0!important;height:100%;display:flex;flex-direction:column;min-width:0}
 .admin-action-center-compact .admin-action-metric{top:15px!important;right:12px!important}
}
.admin-action-card-icon{
 width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
 background:#eef5ff;color:#1765cf;border:1px solid #e4edf8;
}
.admin-action-card-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.action-critical .admin-action-card-icon{background:#fff1f2;color:#d94f59;border-color:#fde0e3}
.action-action .admin-action-card-icon{background:#fff7e8;color:#d99017;border-color:#f8e7c3}
.action-watch .admin-action-card-icon{background:#f5f1ff;color:#7657c6;border-color:#e9e0ff}
.action-healthy .admin-action-card-icon{background:#edfbf5;color:#25976c;border-color:#d9f3e7}
.admin-action-card-meta{display:flex;align-items:center;gap:7px;padding-right:43px;min-width:0}
.admin-action-card-meta small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-action-card-meta span{
 display:inline-flex;align-items:center;min-height:20px;padding:3px 6px;border-radius:999px;
 background:#f3f6fa;color:#73859a;font-size:7.8px!important;font-weight:820;white-space:nowrap;text-transform:none;
}
.action-critical .admin-action-card-meta span{background:#fff0f1;color:#bd3d48}
.action-action .admin-action-card-meta span{background:#fff5df;color:#a66c05}
.action-watch .admin-action-card-meta span{background:#f2edff;color:#6848b4}
.action-healthy .admin-action-card-meta span{background:#eaf9f2;color:#217d5b}
.admin-action-card-track{height:5px;margin-top:auto;margin-bottom:9px;border-radius:99px;background:#e9eef4;overflow:hidden}
.admin-action-card-track i{display:block;height:100%;width:48%;border-radius:inherit;background:#8fa4ba}
.action-critical .admin-action-card-track i{width:65%;background:#d94f59}
.action-action .admin-action-card-track i{width:52%;background:#e1a229}
.action-watch .admin-action-card-track i{width:38%;background:#7e66c6}
.action-healthy .admin-action-card-track i{width:86%;background:#2fa374}
.admin-action-center-compact .admin-action-item-copy>strong{margin-top:9px!important;padding-right:43px;font-size:12.5px!important}
.admin-action-center-compact .admin-action-item-copy>p{margin-top:7px!important;font-size:9.4px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.admin-action-center-compact .admin-action-item-copy>em{margin-top:0!important}

@media(max-width:1320px) and (min-width:721px){
 .admin-action-center-compact .admin-action-item{
  grid-template-columns:5px 38px minmax(0,1fr)!important;
  min-height:126px!important;padding:13px 12px!important;
 }
 .admin-action-card-icon{width:36px;height:36px;border-radius:10px}
 .admin-action-card-icon svg{width:18px;height:18px}
 .admin-action-center-compact .admin-action-item-copy{padding-right:38px!important}
 .admin-action-card-track{margin-top:10px}
}
@media(max-width:720px){
 .admin-action-center-compact .admin-action-item{grid-template-columns:5px 38px minmax(0,1fr)!important;grid-template-rows:1fr!important;min-height:118px!important}
 .admin-action-center-compact .admin-action-severity{grid-row:1!important}
 .admin-action-card-icon{width:36px;height:36px}
 .admin-action-center-compact .admin-action-item-copy{padding-right:36px!important;height:100%;display:flex;flex-direction:column}
 .admin-action-card-track{margin-top:auto}
}
@media(max-width:430px){
 .admin-action-card-meta span{display:none}
 .admin-action-center-compact .admin-action-item-copy>strong{padding-right:34px}
}


/* ========================================================================
   V17.15.4 — Large-screen Priority Card Header Fix
   Keeps icon, domain, severity and metric in dedicated grid space.
   ======================================================================== */
@media(min-width:1321px){
 .admin-action-center-compact .admin-action-item{
  grid-template-columns:5px 38px minmax(0,1fr) auto!important;
  grid-template-rows:1fr!important;
  column-gap:10px!important;
  min-height:190px!important;
  padding:15px 12px 13px!important;
  align-items:start!important;
 }
 .admin-action-center-compact .admin-action-severity{
  grid-column:1!important;
  grid-row:1!important;
  width:5px!important;
  height:48px!important;
  margin-top:0!important;
 }
 .admin-action-center-compact .admin-action-card-icon{
  grid-column:2!important;
  grid-row:1!important;
  width:38px!important;
  height:38px!important;
  align-self:start!important;
 }
 .admin-action-center-compact .admin-action-item-copy{
  grid-column:3!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
  height:100%!important;
  padding-right:0!important;
  display:flex!important;
  flex-direction:column!important;
 }
 .admin-action-center-compact .admin-action-metric{
  grid-column:4!important;
  grid-row:1!important;
  position:static!important;
  top:auto!important;
  right:auto!important;
  align-self:start!important;
  justify-self:end!important;
  min-width:42px!important;
  margin:0!important;
  padding:5px 7px!important;
 }
 .admin-action-card-meta{
  width:100%!important;
  min-width:0!important;
  padding-right:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px 6px!important;
 }
 .admin-action-card-meta small{
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  line-height:1.15!important;
 }
 .admin-action-card-meta span{
  flex:0 0 auto!important;
  min-height:18px!important;
  padding:2px 5px!important;
  font-size:7.4px!important;
 }
 .admin-action-center-compact .admin-action-item-copy>strong{
  margin-top:7px!important;
  padding-right:0!important;
  line-height:1.22!important;
 }
 .admin-action-center-compact .admin-action-item-copy>p{
  margin-top:6px!important;
  -webkit-line-clamp:3!important;
 }
 .admin-action-center-compact .admin-action-card-track{
  margin-top:auto!important;
  margin-bottom:8px!important;
 }
}

/* ========================================================================
   V17.15.5 — Admin Sidebar Fit & Visual Rhythm
   Presentation-only refinement. Keeps V17.10.2 information architecture.
   ======================================================================== */
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar{
  padding:10px 10px 10px!important;
  border-right:1px solid #e4eaf1!important;
  background:#fff!important;
  box-shadow:3px 0 16px rgba(15,47,94,.025)!important;
  overflow:hidden!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav{
  flex:1 1 auto;
  min-height:0;
  gap:2px!important;
  padding:2px 2px 8px;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:#d7e1ec transparent;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav::-webkit-scrollbar{width:4px}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav::-webkit-scrollbar-track{background:transparent}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav::-webkit-scrollbar-thumb{background:#d7e1ec;border-radius:99px}
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar-nav-label{
  display:flex;
  align-items:center;
  min-height:22px;
  margin:10px 10px 3px!important;
  padding:0!important;
  color:#8a98a9!important;
  font-size:9.5px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:.075em!important;
  white-space:nowrap;
}
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar-nav-label:first-child{margin-top:2px!important}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr);
  align-items:center!important;
  gap:9px!important;
  min-height:40px!important;
  margin:0!important;
  padding:7px 10px!important;
  border-radius:9px!important;
  font-size:12.5px!important;
  line-height:1.22!important;
  font-weight:650!important;
  color:#40546b!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item>span:last-child{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-icon{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  color:#71849a!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-icon svg{width:17px!important;height:17px!important}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item:hover{
  background:#f5f8fc!important;
  color:#164f88!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item.active{
  background:#edf5ff!important;
  color:#125db5!important;
  border-color:#d7e6f8!important;
  box-shadow:none!important;
  font-weight:750!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item.active:before{
  left:-2px!important;
  top:7px!important;
  bottom:7px!important;
  width:3px!important;
  border-radius:4px!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item.active .nav-icon{color:#1765cf!important}
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar-footer{
  flex:0 0 auto;
  min-height:38px;
  margin:5px 2px 0!important;
  padding:9px 8px 7px!important;
  border-top:1px solid #edf1f5!important;
  background:#fff!important;
  display:flex;
  align-items:center;
  white-space:nowrap;
  font-size:10px!important;
  line-height:1.2!important;
  color:#77889b!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar-footer .status-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  margin-right:7px;
}
@media(min-width:1101px){
  :is(.admin-ui-page,.admin-sidebar-ui) .layout{grid-template-columns:244px minmax(0,1fr)!important}
}
@media(min-width:801px) and (max-width:1100px){
  :is(.admin-ui-page,.admin-sidebar-ui) .layout{grid-template-columns:228px minmax(0,1fr)!important}
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{font-size:12px!important;padding-left:9px!important;padding-right:9px!important}
}
@media(max-width:800px){
  :is(.admin-ui-page,.admin-sidebar-ui) .sidebar{
    width:min(294px,86vw)!important;
    padding:0 12px 12px!important;
    overflow-y:auto!important;
  }
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav{overflow:visible!important;padding-top:6px}
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{
    min-height:44px!important;
    padding:9px 11px!important;
    font-size:13px!important;
  }
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item>span:last-child{white-space:normal;overflow:visible;text-overflow:clip}
  :is(.admin-ui-page,.admin-sidebar-ui) .sidebar-nav-label{margin-top:13px!important;font-size:10px!important}
  :is(.admin-ui-page,.admin-sidebar-ui) .sidebar-footer{margin-top:10px!important}
}

/* ========================================================================
   V17.15.6 — Single-Line Admin Sidebar Labels
   Presentation-only refinement. No route, RBAC or information-architecture changes.
   ======================================================================== */
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{
  grid-template-columns:22px minmax(0,1fr)!important;
  gap:9px!important;
  font-size:12.25px!important;
  letter-spacing:-.005em!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item>span:last-child{
  display:block!important;
  min-width:0!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar-nav-label{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(min-width:1101px){
  :is(.admin-ui-page,.admin-sidebar-ui) .layout{grid-template-columns:270px minmax(0,1fr)!important}
  :is(.admin-ui-page,.admin-sidebar-ui) .sidebar{padding-left:11px!important;padding-right:11px!important}
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{padding-left:11px!important;padding-right:11px!important}
}
@media(min-width:801px) and (max-width:1100px){
  :is(.admin-ui-page,.admin-sidebar-ui) .layout{grid-template-columns:252px minmax(0,1fr)!important}
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{
    font-size:11.75px!important;
    gap:8px!important;
    padding-left:9px!important;
    padding-right:9px!important;
  }
}
@media(max-width:800px){
  :is(.admin-ui-page,.admin-sidebar-ui) .sidebar{width:min(304px,88vw)!important}
  :is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item>span:last-child{
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}

/* ========================================================================
   V17.16.0 — Global Typography & Visual Hierarchy Standardization
   Presentation-only typography layer for authenticated portal surfaces.
   Reduces oversized headings and heavy weights while preserving layouts.
   ======================================================================== */
:root{
  --lsv-type-xs:12px;
  --lsv-type-sm:13px;
  --lsv-type-base:14px;
  --lsv-type-md:16px;
  --lsv-type-lg:20px;
  --lsv-type-xl:28px;
  --lsv-weight-regular:400;
  --lsv-weight-medium:500;
  --lsv-weight-semibold:600;
}

/* Consistent, dependency-free UI font stack across the authenticated portal. */
body.design-system-v12,
body.admin-sidebar-ui{
  font-family:"Segoe UI",Inter,Roboto,Arial,sans-serif!important;
  font-size:var(--lsv-type-base)!important;
  font-weight:var(--lsv-weight-regular)!important;
  line-height:1.5!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.design-system-v12 button,
body.design-system-v12 input,
body.design-system-v12 select,
body.design-system-v12 textarea{
  font-family:inherit!important;
}

/* Page hierarchy — restrained and consistent. */
body.design-system-v12 .content h1,
body.design-system-v12 .page-head h1,
body.design-system-v12 .admin-page-heading h1,
body.design-system-v12 .governance-heading h1,
body.design-system-v12 .repository-health-heading h1,
body.design-system-v12 .production-readiness-heading h1,
body.design-system-v12 .admin-dashboard-hero h1{
  font-size:clamp(26px,2vw,30px)!important;
  line-height:1.18!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:-.02em!important;
}
body.design-system-v12 .content h2,
body.design-system-v12 .card>h2,
body.design-system-v12 .card-header h2,
body.design-system-v12 .section-heading h2,
body.design-system-v12 .admin-command-center-head h2{
  font-size:20px!important;
  line-height:1.28!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:-.012em!important;
}
body.design-system-v12 .content h3,
body.design-system-v12 .card h3,
body.design-system-v12 .panel h3{
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:-.006em!important;
}
body.design-system-v12 .content h4,
body.design-system-v12 .content h5,
body.design-system-v12 .content h6{
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:var(--lsv-weight-semibold)!important;
}

/* Supporting text remains readable without competing with headings. */
body.design-system-v12 .page-head p,
body.design-system-v12 .admin-page-heading p,
body.design-system-v12 .governance-heading p,
body.design-system-v12 .repository-health-heading p,
body.design-system-v12 .production-readiness-heading p,
body.design-system-v12 .admin-dashboard-hero p,
body.design-system-v12 .muted,
body.design-system-v12 .text-muted{
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:var(--lsv-weight-regular)!important;
}

/* Navigation — medium weight instead of heavy/bold. */
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item{
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:var(--lsv-weight-medium)!important;
  letter-spacing:0!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .admin-primary-nav .nav-item.active{
  font-weight:var(--lsv-weight-semibold)!important;
}
:is(.admin-ui-page,.admin-sidebar-ui) .sidebar-nav-label{
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:.07em!important;
}
.admin-ui-page .context-title{
  font-size:11px!important;
  font-weight:var(--lsv-weight-semibold)!important;
}
.admin-ui-page .context-direct,
.admin-ui-page .context-dropdown>summary{
  font-size:13px!important;
  font-weight:var(--lsv-weight-medium)!important;
}
.admin-ui-page .context-dropdown-menu a{
  font-size:13px!important;
  font-weight:var(--lsv-weight-regular)!important;
}
.admin-ui-page .breadcrumbs li{
  font-size:12px!important;
  font-weight:var(--lsv-weight-regular)!important;
}
.admin-ui-page .breadcrumbs li:last-child span{
  font-weight:var(--lsv-weight-medium)!important;
}

/* Top bar and account controls. */
body.design-system-v12 .brand-copy strong,
body.design-system-v12 .topbar strong{
  font-weight:var(--lsv-weight-semibold)!important;
}
body.design-system-v12 .brand-copy small,
body.design-system-v12 .topbar small{
  font-weight:var(--lsv-weight-regular)!important;
}

/* Buttons and form controls use consistent readable sizing. */
body.design-system-v12 .btn,
body.design-system-v12 button:not(.icon-btn):not(.menu-toggle):not(.chat-close):not(.chat-minimize),
body.design-system-v12 input,
body.design-system-v12 select,
body.design-system-v12 textarea{
  font-size:14px!important;
}
body.design-system-v12 .btn,
body.design-system-v12 button:not(.icon-btn):not(.menu-toggle):not(.chat-close):not(.chat-minimize){
  font-weight:var(--lsv-weight-semibold)!important;
}
body.design-system-v12 label,
body.design-system-v12 .form-label{
  font-size:13px!important;
  font-weight:var(--lsv-weight-medium)!important;
}

/* Cards and dashboard labels — remove unnecessarily thick typography. */
body.design-system-v12 .card-title,
body.design-system-v12 .admin-dashboard-kpi small,
body.design-system-v12 .metric-card small,
body.design-system-v12 .admin-kpi-strip small,
body.design-system-v12 .admin-command-state small,
body.design-system-v12 .admin-action-card-meta,
body.design-system-v12 .admin-action-card-meta small{
  font-weight:var(--lsv-weight-medium)!important;
}
body.design-system-v12 .admin-dashboard-kpi strong,
body.design-system-v12 .metric-card>strong,
body.design-system-v12 .admin-kpi-strip>article>strong,
body.design-system-v12 .admin-command-state strong,
body.design-system-v12 .admin-live-users-values strong{
  font-size:24px!important;
  line-height:1.12!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:-.015em!important;
}
body.design-system-v12 .admin-dashboard-kpi small,
body.design-system-v12 .metric-card small,
body.design-system-v12 .admin-kpi-strip small{
  font-size:12px!important;
  line-height:1.35!important;
}

/* Tables and dense management screens. */
body.design-system-v12 table{
  font-size:13px!important;
}
body.design-system-v12 th{
  font-size:12px!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:.01em!important;
}
body.design-system-v12 td{
  font-weight:var(--lsv-weight-regular)!important;
}
body.design-system-v12 strong,
body.design-system-v12 b{
  font-weight:var(--lsv-weight-semibold)!important;
}

/* Dashboard-specific labels and operational cards. */
body.design-system-v12 .admin-dashboard-eyebrow,
body.design-system-v12 .admin-command-center-head>div>span,
body.design-system-v12 .admin-action-card-meta small{
  font-weight:var(--lsv-weight-semibold)!important;
}
body.design-system-v12 .admin-command-center-head p,
body.design-system-v12 .admin-command-state p,
body.design-system-v12 .admin-action-item-copy>p{
  font-weight:var(--lsv-weight-regular)!important;
}

/* Login is kept aligned with the portal scale without changing its layout. */
.lsv-login-v19-body{
  font-family:"Segoe UI",Inter,Roboto,Arial,sans-serif!important;
  font-weight:var(--lsv-weight-regular)!important;
}
.lsv-login-v19-heading h2{
  font-size:28px!important;
  line-height:1.18!important;
  font-weight:var(--lsv-weight-semibold)!important;
  letter-spacing:-.02em!important;
}
.lsv-login-v19-heading p,
.lsv-login-v19-field,
.lsv-login-v19-input input{
  font-weight:var(--lsv-weight-regular)!important;
}
.lsv-login-v19-field>span:first-child,
.lsv-login-v19-label-row label,
.lsv-login-v19-label-row a,
.lsv-login-v19-submit{
  font-weight:var(--lsv-weight-medium)!important;
}

/* Responsive type scale. */
@media(max-width:900px){
  body.design-system-v12 .content h1,
  body.design-system-v12 .page-head h1,
  body.design-system-v12 .admin-page-heading h1,
  body.design-system-v12 .governance-heading h1,
  body.design-system-v12 .repository-health-heading h1,
  body.design-system-v12 .production-readiness-heading h1,
  body.design-system-v12 .admin-dashboard-hero h1{
    font-size:26px!important;
  }
  body.design-system-v12 .content h2,
  body.design-system-v12 .card>h2,
  body.design-system-v12 .card-header h2{
    font-size:19px!important;
  }
}
@media(max-width:620px){
  body.design-system-v12{
    font-size:14px!important;
  }
  body.design-system-v12 .content h1,
  body.design-system-v12 .page-head h1,
  body.design-system-v12 .admin-page-heading h1,
  body.design-system-v12 .governance-heading h1,
  body.design-system-v12 .repository-health-heading h1,
  body.design-system-v12 .production-readiness-heading h1,
  body.design-system-v12 .admin-dashboard-hero h1{
    font-size:23px!important;
    line-height:1.22!important;
  }
  body.design-system-v12 .content h2,
  body.design-system-v12 .card>h2,
  body.design-system-v12 .card-header h2{
    font-size:18px!important;
  }
  body.design-system-v12 .content h3,
  body.design-system-v12 .card h3{
    font-size:15px!important;
  }
  body.design-system-v12 .admin-dashboard-kpi strong,
  body.design-system-v12 .metric-card>strong,
  body.design-system-v12 .admin-kpi-strip>article>strong,
  body.design-system-v12 .admin-command-state strong,
  body.design-system-v12 .admin-live-users-values strong{
    font-size:21px!important;
  }
  .lsv-login-v19-heading h2{font-size:25px!important}
}

/* ========================================================================
   V17.16.1 — Compact Digital Library Header & Discovery
   Removes repeated introductory UI and brings results above the fold.
   ======================================================================== */
.phase17-library-page .p17-resource-intro{
  padding:14px 16px!important;
  gap:10px 14px!important;
  min-height:0!important;
}
.phase17-library-page .p17-resource-intro .teacher-page-intro-copy h1{
  margin:2px 0 0!important;
  font-size:24px!important;
  line-height:1.16!important;
  font-weight:600!important;
}
.phase17-library-page .p17-resource-intro .teacher-page-intro-copy>span{
  font-size:10px!important;
  font-weight:600!important;
}
.phase17-library-page .p17-resource-intro .teacher-page-search{
  min-height:42px!important;
  margin-top:0!important;
}
.phase17-library-page .p17-resource-intro .teacher-page-search input{
  min-height:42px!important;
  font-size:14px!important;
}
.phase17-library-page .p17-resource-intro .teacher-page-search button{
  min-height:38px!important;
  padding:0 18px!important;
  font-size:13px!important;
  font-weight:600!important;
}
.phase17-library-page .phase174-resource-discovery{
  margin:8px 0 12px!important;
  padding:6px!important;
  border-radius:11px!important;
}
.phase17-library-page .phase174-resource-tabs{
  margin:0!important;
  padding:3px!important;
  min-height:36px!important;
}
.phase17-library-page .phase174-resource-tabs a{
  min-height:30px!important;
  padding:0 13px!important;
  font-size:12.5px!important;
  font-weight:500!important;
}
.phase17-library-page .phase174-explore-grid,
.phase17-library-page .phase174-lsv-explore,
.phase17-library-page .phase174-topic-explore{
  margin-top:7px!important;
}
@media (max-width:767px){
  .phase17-library-page .p17-resource-intro{padding:12px!important;gap:9px!important}
  .phase17-library-page .p17-resource-intro .teacher-page-intro-copy h1{font-size:21px!important}
  .phase17-library-page .phase174-resource-discovery{padding:5px!important;margin-top:7px!important}
  .phase17-library-page .phase174-resource-tabs{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}
  .phase17-library-page .phase174-resource-tabs::-webkit-scrollbar{display:none}
  .phase17-library-page .phase174-resource-tabs a{white-space:nowrap;flex:0 0 auto}
}


/* ========================================================================
   V17.16.2 — Compact Knowledge Hub
   Reduce duplicate/oversized introductory space while preserving functions.
   ======================================================================== */
.knowledge-hub-v17162 .teacher-page-intro{
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:
    "copy stats"
    "search links"!important;
  gap:7px 12px!important;
  padding:11px 13px!important;
  margin-bottom:7px!important;
  border-radius:11px!important;
  min-height:0!important;
}
.knowledge-hub-v17162 .teacher-page-intro-copy{grid-area:copy!important;align-self:center!important;max-width:720px!important}
.knowledge-hub-v17162 .teacher-page-intro-copy>span{margin-bottom:2px!important;font-size:8.5px!important;font-weight:600!important;letter-spacing:.085em!important}
.knowledge-hub-v17162 .teacher-page-intro-copy h1{margin:0!important;font-size:20px!important;line-height:1.12!important;font-weight:600!important;letter-spacing:-.3px!important}
.knowledge-hub-v17162 .teacher-page-intro-copy p{margin:3px 0 0!important;font-size:10.5px!important;line-height:1.3!important;color:#687b8d!important}
.knowledge-hub-v17162 .knowledge-hub-mini-stats{grid-area:stats!important;align-self:center!important;min-width:210px!important;grid-template-columns:repeat(3,64px)!important;gap:4px!important}
.knowledge-hub-v17162 .knowledge-hub-mini-stats article{padding:5px 4px!important;border-radius:7px!important;min-height:42px!important}
.knowledge-hub-v17162 .knowledge-hub-mini-stats strong{font-size:15px!important;font-weight:600!important}
.knowledge-hub-v17162 .knowledge-hub-mini-stats span{font-size:8px!important;font-weight:400!important}
.knowledge-hub-v17162 .teacher-page-search{grid-area:search!important;grid-column:auto!important;max-width:none!important;min-height:36px!important;height:36px!important;padding:2px 3px 2px 9px!important;grid-template-columns:17px minmax(0,1fr) 72px!important;border-radius:8px!important}
.knowledge-hub-v17162 .teacher-page-search input{height:30px!important;font-size:10.5px!important}
.knowledge-hub-v17162 .teacher-page-search button{height:30px!important;font-size:10px!important;font-weight:600!important}
.knowledge-hub-v17162 .knowledge-hub-shortcuts{grid-area:links!important;grid-column:auto!important;max-width:465px!important;gap:4px!important;align-self:center!important}
.knowledge-hub-v17162 .knowledge-hub-shortcuts>a{min-height:25px!important;padding:0 7px!important;font-size:8.8px!important;font-weight:500!important}
.knowledge-hub-v17162 .knowledge-featured-heading{margin:8px 0 5px!important;min-height:0!important}
.knowledge-hub-v17162 .knowledge-featured-heading>div>span{font-size:7.5px!important;font-weight:600!important}
.knowledge-hub-v17162 .knowledge-featured-heading h2{margin:1px 0 0!important;font-size:15px!important;font-weight:600!important;line-height:1.15!important}
.knowledge-hub-v17162 .knowledge-featured-heading>a{font-size:8.5px!important;font-weight:500!important}
.knowledge-hub-v17162 .knowledge-highlight-grid{margin-top:0!important}

@media(max-width:1020px){
 .knowledge-hub-v17162 .teacher-page-intro{grid-template-areas:"copy stats" "search search" "links links"!important}
 .knowledge-hub-v17162 .knowledge-hub-shortcuts{justify-content:flex-start!important;max-width:100%!important}
}
@media(max-width:760px){
 .knowledge-hub-v17162 .teacher-page-intro{
   grid-template-columns:1fr!important;
   grid-template-areas:"copy" "stats" "search" "links"!important;
   padding:10px 11px!important;
   gap:6px!important;
 }
 .knowledge-hub-v17162 .teacher-page-intro-copy h1{font-size:18px!important}
 .knowledge-hub-v17162 .teacher-page-intro-copy p{font-size:10px!important}
 .knowledge-hub-v17162 .knowledge-hub-mini-stats{width:100%!important;min-width:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .knowledge-hub-v17162 .knowledge-hub-shortcuts{overflow-x:auto!important;flex-wrap:nowrap!important;justify-content:flex-start!important;padding-bottom:2px!important}
 .knowledge-hub-v17162 .knowledge-hub-shortcuts>a{flex:0 0 auto!important}
 .knowledge-hub-v17162 .knowledge-featured-heading{margin-top:7px!important}
}
@media(max-width:420px){
 .knowledge-hub-v17162 .teacher-page-intro-copy p{display:none!important}
 .knowledge-hub-v17162 .teacher-page-intro-copy h1{font-size:17px!important}
 .knowledge-hub-v17162 .teacher-page-search{grid-template-columns:17px minmax(0,1fr) 64px!important}
}

/* ========================================================================
   V17.16.6 — Professional M&E Results Dashboard
   Presentation-only refinement of reporting-period toolbar and KPI summary.
   ======================================================================== */
.admin-ui-page .me-overview-panel{
 margin:0 0 14px!important;
 padding:14px!important;
 border:1px solid #dde6ee!important;
 border-radius:14px!important;
 background:#fff!important;
 box-shadow:0 6px 18px rgba(31,61,90,.045)!important;
}
.admin-ui-page .me-period-toolbar{
 margin:0!important;
 padding:0 0 13px!important;
 border-bottom:1px solid #edf1f5!important;
 display:flex!important;
 align-items:flex-end!important;
 gap:10px!important;
}
.admin-ui-page .me-period-toolbar label{
 flex:1 1 420px!important;
 max-width:620px!important;
 display:grid!important;
 gap:6px!important;
 color:#536a80!important;
 font-size:12px!important;
 font-weight:500!important;
}
.admin-ui-page .me-period-toolbar label>span{
 color:#526a80!important;
 font-size:12px!important;
 font-weight:500!important;
}
.admin-ui-page .me-period-toolbar .input{
 min-height:42px!important;
 font-size:13px!important;
 font-weight:400!important;
}
.admin-ui-page .me-period-toolbar .btn{
 min-height:42px!important;
 padding:0 17px!important;
 font-size:13px!important;
 font-weight:600!important;
}
.admin-ui-page .me-summary-heading{
 padding:13px 2px 10px!important;
 display:flex!important;
 justify-content:space-between!important;
 align-items:flex-end!important;
 gap:16px!important;
}
.admin-ui-page .me-summary-heading>div{min-width:0!important}
.admin-ui-page .me-summary-heading span{
 display:block!important;
 margin-bottom:3px!important;
 color:#1765b2!important;
 font-size:10px!important;
 line-height:1.2!important;
 font-weight:600!important;
 letter-spacing:.08em!important;
 text-transform:uppercase!important;
}
.admin-ui-page .me-summary-heading strong{
 display:block!important;
 color:#173b60!important;
 font-size:16px!important;
 line-height:1.25!important;
 font-weight:600!important;
}
.admin-ui-page .me-summary-heading small{
 max-width:420px!important;
 color:#7b8d9f!important;
 font-size:12px!important;
 line-height:1.45!important;
 font-weight:400!important;
 text-align:right!important;
}
.admin-ui-page .me-summary-strip{
 display:grid!important;
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
 gap:9px!important;
 margin:0!important;
}
.admin-ui-page .me-summary-card{
 min-width:0!important;
 min-height:92px!important;
 padding:11px!important;
 border:1px solid #e3e9ef!important;
 border-radius:12px!important;
 background:#fbfcfd!important;
 display:grid!important;
 grid-template-columns:34px minmax(0,1fr)!important;
 gap:9px!important;
 align-items:start!important;
 box-shadow:none!important;
 overflow:hidden!important;
 position:relative!important;
 animation:meSummaryIn .34s ease both;
}
.admin-ui-page .me-summary-card:nth-child(2){animation-delay:.035s}
.admin-ui-page .me-summary-card:nth-child(3){animation-delay:.07s}
.admin-ui-page .me-summary-card:nth-child(4){animation-delay:.105s}
.admin-ui-page .me-summary-card:nth-child(5){animation-delay:.14s}
.admin-ui-page .me-summary-card:nth-child(6){animation-delay:.175s}
.admin-ui-page .me-summary-icon{
 width:34px!important;
 height:34px!important;
 border-radius:10px!important;
 display:grid!important;
 place-items:center!important;
 background:#eef4fb!important;
 color:#1765b2!important;
}
.admin-ui-page .me-summary-icon svg{width:18px!important;height:18px!important;display:block!important}
.admin-ui-page .me-summary-card>div{min-width:0!important}
.admin-ui-page .me-summary-card strong{
 display:block!important;
 margin:0 0 5px!important;
 color:#486178!important;
 font-size:11px!important;
 line-height:1.25!important;
 font-weight:500!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
.admin-ui-page .me-summary-value{
 display:block!important;
 margin:0 0 2px!important;
 color:#163d66!important;
 font-size:24px!important;
 line-height:1!important;
 font-weight:600!important;
 letter-spacing:-.025em!important;
}
.admin-ui-page .me-summary-card small{
 display:block!important;
 color:#8392a1!important;
 font-size:10px!important;
 line-height:1.3!important;
 font-weight:400!important;
}
.admin-ui-page .me-summary-card.achieved{border-color:#d7ebe0!important;background:#f9fcfa!important}
.admin-ui-page .me-summary-card.achieved .me-summary-icon{background:#eaf7ef!important;color:#2c8b55!important}
.admin-ui-page .me-summary-card.achieved .me-summary-value{color:#237848!important}
.admin-ui-page .me-summary-card.on-track{border-color:#dbe8f4!important;background:#fafcff!important}
.admin-ui-page .me-summary-card.on-track .me-summary-icon{background:#eaf3fb!important;color:#2c74b5!important}
.admin-ui-page .me-summary-card.watch{border-color:#f0dfb5!important;background:#fffdf9!important}
.admin-ui-page .me-summary-card.watch .me-summary-icon{background:#fff4dc!important;color:#a66c00!important}
.admin-ui-page .me-summary-card.watch .me-summary-value{color:#976300!important}
.admin-ui-page .me-summary-card.off-track{border-color:#efdad7!important;background:#fffafa!important}
.admin-ui-page .me-summary-card.off-track .me-summary-icon{background:#fdeceb!important;color:#b14e47!important}
.admin-ui-page .me-summary-card.off-track .me-summary-value{color:#a8423b!important}
.admin-ui-page .me-summary-card.verified{border-color:#e4def2!important;background:#fcfbfe!important}
.admin-ui-page .me-summary-card.verified .me-summary-icon{background:#f1edfa!important;color:#7055a6!important}
.admin-ui-page .me-summary-card.verified .me-summary-value{color:#624895!important}
.admin-ui-page .me-overview-panel + .card{
 margin-top:0!important;
 border-radius:14px!important;
}
@keyframes meSummaryIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1280px){
 .admin-ui-page .me-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
 .admin-ui-page .me-overview-panel{padding:12px!important}
 .admin-ui-page .me-period-toolbar{align-items:stretch!important}
 .admin-ui-page .me-period-toolbar label{max-width:none!important;flex:1 1 100%!important}
 .admin-ui-page .me-period-toolbar .btn{width:100%!important}
 .admin-ui-page .me-summary-heading{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}
 .admin-ui-page .me-summary-heading small{text-align:left!important;max-width:none!important}
 .admin-ui-page .me-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:470px){
 .admin-ui-page .me-summary-strip{grid-template-columns:1fr!important}
 .admin-ui-page .me-summary-card{min-height:78px!important;grid-template-columns:32px minmax(0,1fr)!important;padding:10px!important}
 .admin-ui-page .me-summary-icon{width:32px!important;height:32px!important}
 .admin-ui-page .me-summary-value{font-size:22px!important}
}
@media(prefers-reduced-motion:reduce){
 .admin-ui-page .me-summary-card{animation:none!important}
}

/* ========================================================================
   V17.16.8 — Geographic Intelligence KPI Layout Fix
   Self-contained geographic KPI component to avoid generic admin-grid regressions.
   ======================================================================== */
.geo-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 0 18px!important;
  align-items:stretch!important;
}
.geo-kpi-grid>article{
  min-width:0!important;
  min-height:104px!important;
  padding:15px 14px!important;
  border:1px solid #e1e8f0!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(22,55,91,.04)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:4px!important;
  overflow:hidden!important;
}
.geo-kpi-grid>article>span{
  display:block!important;
  margin:0 0 2px!important;
  color:#123f70!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
.geo-kpi-grid>article>strong{
  display:block!important;
  margin:0!important;
  color:#203d5a!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:600!important;
}
.geo-kpi-grid>article>small{
  display:block!important;
  margin-top:1px!important;
  color:#718398!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.geo-kpi-grid>article:nth-child(1){border-top:3px solid #1f78d1!important}
.geo-kpi-grid>article:nth-child(2){border-top:3px solid #2f9f74!important}
.geo-kpi-grid>article:nth-child(3){border-top:3px solid #7658c9!important}
.geo-kpi-grid>article:nth-child(4){border-top:3px solid #4e8ebc!important}
.geo-kpi-grid>article:nth-child(5){border-top:3px solid #2c8f80!important}
.geo-kpi-grid>article:nth-child(6){border-top:3px solid #d59a22!important}
.geo-kpi-grid>article.geo-kpi-warning{
  border-color:#f0d8a2!important;
  border-top-color:#d59a22!important;
  background:#fffaf2!important;
}
.geo-kpi-grid>article.geo-kpi-warning>span{color:#a86b00!important}
@media(max-width:1320px){
  .geo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:860px){
  .geo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .geo-kpi-grid{grid-template-columns:1fr!important;gap:9px!important;margin-bottom:14px!important}
  .geo-kpi-grid>article{min-height:82px!important;padding:12px 13px!important}
  .geo-kpi-grid>article>span{font-size:22px!important}
}


/* ========================================================================
   V17.16.9 — Geography & Beneficiary Analytics Stability
   Dedicated Geography & Map KPI cards; isolated from generic admin grid rules.
   ======================================================================== */
.geography-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 0 18px!important;
  align-items:stretch!important;
}
.geography-kpi-grid>article{
  min-width:0!important;
  min-height:96px!important;
  padding:14px 15px!important;
  border:1px solid #e1e8f0!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(22,55,91,.04)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:4px!important;
  overflow:hidden!important;
}
.geography-kpi-grid>article>span{
  display:block!important;
  margin:0 0 2px!important;
  color:#123f70!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
.geography-kpi-grid>article>strong{
  display:block!important;
  margin:0!important;
  color:#203d5a!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:600!important;
}
.geography-kpi-grid>article>small{
  display:block!important;
  margin-top:1px!important;
  color:#718398!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.geography-kpi-grid>article:nth-child(1){border-top:3px solid #1f78d1!important}
.geography-kpi-grid>article:nth-child(2){border-top:3px solid #2f9f74!important}
.geography-kpi-grid>article:nth-child(3){border-top:3px solid #7658c9!important}
.geography-kpi-grid>article:nth-child(4){border-top:3px solid #4e8ebc!important}
@media(max-width:1050px){
  .geography-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .geography-kpi-grid{grid-template-columns:1fr!important;gap:9px!important;margin-bottom:14px!important}
  .geography-kpi-grid>article{min-height:80px!important;padding:12px 13px!important}
  .geography-kpi-grid>article>span{font-size:22px!important}
}


/* ========================================================================
   V17.16.10 — Beneficiary Reach KPI Presentation Stability
   Self-contained summary component; avoids generic admin KPI dependencies.
   ======================================================================== */
.reach-summary-kpis{
 display:grid;
 grid-template-columns:repeat(6,minmax(0,1fr));
 gap:10px;
 margin:0 0 16px;
}
.reach-summary-card{
 min-width:0;
 min-height:112px;
 padding:14px 13px;
 border:1px solid #e1e8f0;
 border-radius:13px;
 background:#fff;
 box-shadow:0 5px 16px rgba(18,57,104,.035);
 display:grid;
 grid-template-columns:36px minmax(0,1fr);
 gap:10px;
 align-items:start;
}
.reach-summary-icon{
 width:36px;
 height:36px;
 border-radius:10px;
 display:grid;
 place-items:center;
 background:#eef5fd;
 color:#1769c2;
 font-size:17px!important;
 font-weight:600!important;
 line-height:1!important;
}
.reach-summary-card>div{min-width:0}
.reach-summary-card strong{
 display:block;
 color:#11395f!important;
 font-size:24px!important;
 line-height:1!important;
 font-weight:600!important;
 letter-spacing:-.02em;
}
.reach-summary-card h3{
 margin:7px 0 0!important;
 color:#294a69!important;
 font-size:13px!important;
 line-height:1.25!important;
 font-weight:600!important;
}
.reach-summary-card small{
 display:block;
 margin-top:4px;
 color:#77899a!important;
 font-size:11px!important;
 line-height:1.35!important;
 font-weight:400!important;
}
.reach-summary-primary .reach-summary-icon{background:#edf5ff;color:#075fcf}
.reach-summary-inclusion .reach-summary-icon{background:#f2f0ff;color:#6651b8}
@media(max-width:1320px){
 .reach-summary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
 .reach-summary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .reach-summary-card{min-height:104px}
}
@media(max-width:520px){
 .reach-summary-kpis{grid-template-columns:1fr;gap:8px}
 .reach-summary-card{min-height:0;padding:12px}
 .reach-summary-card strong{font-size:22px!important}
}


/* ========================================================================
   V17.16.11 — M&E KPI Stability + CSS Cache Refresh
   ======================================================================== */
.dqa-summary-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin:0 0 16px!important}
.dqa-summary-card{min-width:0!important;min-height:106px!important;padding:13px!important;border:1px solid #e1e8f0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 16px rgba(18,57,104,.035)!important;display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
.dqa-summary-icon{width:36px!important;height:36px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:#edf5ff!important;color:#1769c2!important;font-size:15px!important;font-weight:600!important;line-height:1!important}
.dqa-summary-card>div{min-width:0!important}
.dqa-summary-card strong{display:block!important;color:#11395f!important;font-size:23px!important;line-height:1!important;font-weight:600!important}
.dqa-summary-card h3{margin:7px 0 0!important;color:#294a69!important;font-size:13px!important;line-height:1.25!important;font-weight:600!important}
.dqa-summary-card small{display:block!important;margin-top:4px!important;color:#77899a!important;font-size:11px!important;line-height:1.35!important;font-weight:400!important}
.dqa-score .dqa-summary-icon{background:#edf9f4!important;color:#16845f!important}
.dqa-action .dqa-summary-icon,.dqa-high .dqa-summary-icon{background:#fff7e8!important;color:#b77700!important}
.dqa-critical .dqa-summary-icon{background:#fff0f1!important;color:#cf3f4e!important}
/* Reinforce beneficiary component against older generic KPI declarations. */
.admin-sidebar-shell .reach-summary-kpis{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:0 0 16px!important}
.admin-sidebar-shell .reach-summary-card{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;min-height:112px!important;padding:14px 13px!important;border:1px solid #e1e8f0!important;border-radius:13px!important;background:#fff!important}
@media(max-width:1320px){.dqa-summary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.admin-sidebar-shell .reach-summary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:820px){.dqa-summary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-sidebar-shell .reach-summary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.dqa-summary-kpis,.admin-sidebar-shell .reach-summary-kpis{grid-template-columns:1fr!important;gap:8px!important}.dqa-summary-card,.admin-sidebar-shell .reach-summary-card{min-height:0!important;padding:12px!important}}

/* ========================================================================
   V17.16.12 — Professional M&E Data Quality Workspace
   ======================================================================== */
.dqa-page-heading{margin-bottom:14px!important}
.dqa-page-heading p{max-width:760px!important}
.dqa-control-bar{margin:0 0 12px!important;padding:12px 14px!important;display:flex;align-items:end;justify-content:space-between;gap:16px;border-radius:14px!important}
.dqa-period-filter{display:flex;align-items:end;gap:9px;flex-wrap:wrap}
.dqa-period-filter label{display:grid;gap:5px;color:#52697f;font-size:12px!important;font-weight:500!important}
.dqa-period-filter .input{min-width:230px;min-height:40px!important}
.dqa-period-filter .btn{min-height:40px!important}
.dqa-control-note{display:flex;align-items:center;gap:7px;color:#708396;font-size:12px;font-weight:500;white-space:nowrap}
.dqa-live-dot{width:8px;height:8px;border-radius:50%;background:#26a269;box-shadow:0 0 0 4px rgba(38,162,105,.10)}
.dqa-summary-kpis{margin-bottom:14px!important}
.dqa-summary-card{min-height:94px!important;padding:12px!important;align-items:center!important}
.dqa-summary-card strong{font-size:22px!important}
.dqa-summary-card h3{margin-top:5px!important}
.dqa-summary-card small{font-size:10.5px!important}
.dqa-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.62fr);gap:16px;align-items:start}
.dqa-register-card{padding:0!important;overflow:hidden}
.dqa-register-head{padding:16px 17px 14px;border-bottom:1px solid #e8edf3;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.dqa-register-head h2{margin:3px 0 3px!important;font-size:18px!important;font-weight:600!important;color:#173d65!important}
.dqa-register-head p{margin:0!important;color:#74869a!important;font-size:12px!important;line-height:1.45!important}
.dqa-eyebrow{color:#1769c2;font-size:10px!important;line-height:1!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.07em}
.dqa-count-badge{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#eef5fc;color:#456987;font-size:11px;font-weight:500}
.dqa-table-wrap{margin:0!important}
.dqa-table{margin:0!important}
.dqa-table th{padding:10px 12px!important;background:#f8fafc!important;color:#6b7f92!important;font-size:10.5px!important;font-weight:600!important;white-space:nowrap}
.dqa-table td{padding:12px!important;vertical-align:middle!important;font-size:12px!important}
.dqa-table td:first-child strong{font-size:12.5px!important;font-weight:600!important;color:#254c70!important}
.dqa-table td:first-child small{font-size:10px!important;margin-top:3px!important}
.dqa-score-cell{min-width:108px}
.dqa-score-cell>strong{display:block;margin-bottom:6px;color:#274e71;font-size:12px!important;font-weight:600!important}
.dqa-score-cell>span{display:block;height:5px;border-radius:999px;background:#e8edf3;overflow:hidden}
.dqa-score-cell i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2b75d6,#20a36b)}
.dqa-issue-count{display:inline-grid;place-items:center;min-width:28px;height:26px;padding:0 7px;border-radius:8px;background:#eef3f7;color:#607489;font-size:11px;font-weight:600}
.dqa-issue-count.has-issues{background:#fff3e4;color:#ad6900}
.dqa-status-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef3f7;color:#587086;font-size:10px;font-weight:600;text-transform:capitalize}
.dqa-status-badge.completed{background:#eaf8f1;color:#187a58}.dqa-status-badge.action_required{background:#fff3e4;color:#a96700}
.dqa-row-action{display:block;margin-top:6px;color:#1769c2!important;font-size:10.5px!important;font-weight:600!important;text-decoration:none!important}
.dqa-empty-state{min-height:270px;padding:42px 22px;display:grid;place-items:center;align-content:center;text-align:center}
.dqa-empty-state>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#edf7f3;color:#16845f;font-size:20px;font-weight:600}
.dqa-empty-state h3{margin:12px 0 4px!important;color:#294b69!important;font-size:16px!important;font-weight:600!important}
.dqa-empty-state p{max-width:390px;margin:0 0 14px!important;color:#74869a!important;font-size:12px!important}
.dqa-action-panel{display:grid;gap:12px;position:sticky;top:92px}
.dqa-action-card{padding:0!important;overflow:hidden}
.dqa-action-card>summary{list-style:none;cursor:pointer;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff}
.dqa-action-card>summary::-webkit-details-marker{display:none}
.dqa-action-card>summary span:first-child{display:grid;gap:2px}
.dqa-action-card>summary small{color:#7b8d9e;font-size:9.5px!important;font-weight:500!important;text-transform:uppercase;letter-spacing:.06em}
.dqa-action-card>summary strong{color:#244b70;font-size:14px!important;font-weight:600!important}
.dqa-chevron{color:#71869a;font-size:18px;transition:transform .18s ease}.dqa-action-card[open] .dqa-chevron{transform:rotate(180deg)}
.dqa-form{padding:0 15px 15px!important;border-top:1px solid #edf1f5;display:grid!important;gap:10px!important}
.dqa-form>label:first-child,.dqa-form>.dqa-form-grid:first-child{margin-top:13px}
.dqa-form label{gap:5px!important;color:#52697f!important;font-size:11.5px!important;font-weight:500!important}
.dqa-form .input{min-height:39px!important;font-size:12px!important}
.dqa-form textarea.input{min-height:64px!important}
.dqa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dqa-dimensions{padding:10px;border:1px solid #e7edf3;border-radius:11px;background:#f8fafc;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dqa-dimensions>span{grid-column:1/-1;color:#42637f;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.dqa-dimensions label{position:relative;display:grid!important;gap:4px!important}
.dqa-dimensions label small{position:absolute;right:9px;bottom:10px;color:#8191a1;font-size:10px!important}
.dqa-dimensions .input{padding-right:25px!important}
@media(max-width:1180px){.dqa-workspace{grid-template-columns:1fr}.dqa-action-panel{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.dqa-action-card:only-child{grid-column:1/-1}}
@media(max-width:760px){.dqa-control-bar{align-items:stretch;flex-direction:column}.dqa-period-filter{display:grid;grid-template-columns:1fr auto}.dqa-period-filter label{grid-column:1/-1}.dqa-period-filter .input{min-width:0;width:100%}.dqa-action-panel{grid-template-columns:1fr}.dqa-register-head{align-items:flex-start;flex-direction:column}.dqa-count-badge{align-self:flex-start}.dqa-table{min-width:760px}.dqa-form-grid{grid-template-columns:1fr}}
@media(max-width:520px){.dqa-control-bar{padding:11px!important}.dqa-period-filter{grid-template-columns:1fr}.dqa-period-filter .btn{width:100%}.dqa-dimensions{grid-template-columns:1fr}.dqa-summary-card{min-height:0!important}}
@media(prefers-reduced-motion:reduce){.dqa-chevron{transition:none!important}}


/* V17.17.0 — Professional M&E module navigation and workspace hierarchy */
.admin-ui-page .me-context-nav{
 min-height:58px;
 padding-left:22px;
 padding-right:22px;
 gap:16px;
 background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.admin-ui-page .me-context-nav .context-title{
 background:#eef5ff;
 color:#234d78!important;
 border:1px solid #dfeaf7;
 font-weight:600!important;
 letter-spacing:.055em;
}
.admin-ui-page .me-context-nav .context-links{gap:3px;flex:1;overflow:visible}
.admin-ui-page .me-context-nav .context-dropdown{flex:0 0 auto}
.admin-ui-page .me-context-nav .context-dropdown>summary{
 min-height:58px;
 padding:0 13px!important;
 font-size:12.5px!important;
 font-weight:600!important;
 color:#526a82!important;
}
.admin-ui-page .me-context-nav .context-dropdown.active>summary{
 color:#145fb8!important;
 background:#f2f7fd;
 border-bottom-color:#1765cf!important;
}
.admin-ui-page .me-context-nav .context-nav-icon{
 width:19px;
 height:19px;
 color:#738ba4;
}
.admin-ui-page .me-context-nav .context-dropdown-menu{
 min-width:245px;
 padding:8px;
 border-radius:0 12px 12px 12px;
}
.admin-ui-page .me-context-nav .context-dropdown-menu a{
 min-height:39px;
 padding:8px 11px!important;
 font-size:12.25px!important;
 font-weight:500!important;
}
.admin-ui-page .me-context-nav .context-dropdown-menu a.active{
 position:relative;
 padding-left:27px!important;
 font-weight:600!important;
}
.admin-ui-page .me-context-nav .context-dropdown-menu a.active:before{
 content:"";
 position:absolute;
 left:11px;
 top:50%;
 width:7px;
 height:7px;
 margin-top:-3.5px;
 border-radius:50%;
 background:#1765cf;
}
@media(max-width:1050px){
 .admin-ui-page .me-context-nav{padding-left:14px;padding-right:14px;gap:9px}
 .admin-ui-page .me-context-nav .context-dropdown>summary{padding:0 9px!important;font-size:11.75px!important}
}
@media(max-width:800px){
 .admin-ui-page .me-context-nav{min-height:52px;padding:7px 12px}
 .admin-ui-page .me-context-nav .context-links{overflow:auto}
 .admin-ui-page .me-context-nav .context-dropdown>summary{min-height:42px;padding:0 10px!important;font-size:12px!important}
 .admin-ui-page .me-context-nav .context-dropdown-menu{min-width:0}
}

/* ========================================================================
   V17.17.1 — Professional M&E Dashboard Workspace
   ======================================================================== */
.admin-ui-page .me-dashboard-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;margin-bottom:14px!important}
.admin-ui-page .me-dashboard-heading>div:first-child{min-width:0!important}
.admin-ui-page .me-dashboard-quick-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.admin-ui-page .me-dashboard-quick-actions .btn{min-height:38px!important;padding:8px 13px!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important}
.admin-ui-page .me-dashboard-controlbar{padding:12px 14px!important;margin-bottom:12px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important}
.admin-ui-page .me-dashboard-controlbar .me-period-toolbar{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:flex!important;align-items:flex-end!important;gap:8px!important;flex:1!important}
.admin-ui-page .me-dashboard-controlbar .me-period-toolbar label{min-width:min(430px,100%)!important;margin:0!important}
.admin-ui-page .me-dashboard-controlbar .me-period-toolbar label>span{display:block!important;margin-bottom:5px!important;font-size:12px!important;font-weight:600!important;color:#536b84!important}
.admin-ui-page .me-period-status{display:flex!important;align-items:center!important;gap:9px!important;padding:7px 10px!important;border-left:1px solid #e4ebf2!important}
.admin-ui-page .me-live-dot{width:8px!important;height:8px!important;border-radius:50%!important;background:#31a46c!important;box-shadow:0 0 0 5px rgba(49,164,108,.09)!important}
.admin-ui-page .me-period-status strong,.admin-ui-page .me-period-status small{display:block!important}.admin-ui-page .me-period-status strong{font-size:13px!important;font-weight:600!important;color:#183c60!important}.admin-ui-page .me-period-status small{font-size:11px!important;color:#788a9d!important;margin-top:1px!important}
.admin-ui-page .me-dashboard-summary-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}
.admin-ui-page .me-dashboard-stat{position:relative!important;min-height:100px!important;padding:12px 13px!important;border:1px solid #dfe7f0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 16px rgba(20,55,91,.035)!important;overflow:hidden!important}
.admin-ui-page .me-dashboard-stat:before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:3px!important;background:#8da3b8!important}
.admin-ui-page .me-dashboard-stat.success:before{background:#31a46c!important}.admin-ui-page .me-dashboard-stat.info:before{background:#377fc1!important}.admin-ui-page .me-dashboard-stat.warning:before{background:#dfa323!important}.admin-ui-page .me-dashboard-stat.danger:before{background:#d2545b!important}.admin-ui-page .me-dashboard-stat.verified:before{background:#7458b4!important}
.admin-ui-page .me-dashboard-stat>span{display:block!important;color:#6f8296!important;font-size:11px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.04em!important}.admin-ui-page .me-dashboard-stat>strong{display:block!important;margin:5px 0 2px!important;color:#12385d!important;font-size:26px!important;line-height:1!important;font-weight:600!important}.admin-ui-page .me-dashboard-stat>small{display:block!important;color:#7d8e9f!important;font-size:11px!important;line-height:1.35!important}
.admin-ui-page .me-dashboard-main-grid{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;gap:12px!important;margin-bottom:12px!important}.admin-ui-page .me-dashboard-main-grid>.card{margin:0!important;padding:14px!important}
.admin-ui-page .me-section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}.admin-ui-page .me-section-head span{display:block!important;color:#1870bd!important;font-size:10.5px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.055em!important}.admin-ui-page .me-section-head h2{margin:2px 0 0!important;font-size:18px!important;font-weight:600!important;color:#173c61!important}.admin-ui-page .me-section-head>a,.admin-ui-page .me-section-head>small{font-size:11.5px!important;font-weight:600!important;color:#2874b6!important;text-decoration:none!important;white-space:nowrap!important}
.admin-ui-page .me-priority-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.admin-ui-page .me-priority-list>a{min-width:0!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;padding:10px!important;border:1px solid #e4ebf2!important;border-radius:11px!important;background:#fbfcfe!important;text-decoration:none!important;color:inherit!important}.admin-ui-page .me-priority-list>a:hover{border-color:#cbdbea!important;background:#fff!important;box-shadow:0 5px 16px rgba(21,63,103,.05)!important}.admin-ui-page .me-priority-icon{width:32px!important;height:32px!important;border-radius:9px!important;display:grid!important;place-items:center!important;font-size:15px!important;font-weight:600!important;background:#edf3f8!important;color:#466986!important}.admin-ui-page .me-priority-icon.danger{background:#fdeeee!important;color:#b94850!important}.admin-ui-page .me-priority-icon.warning{background:#fff5df!important;color:#a67200!important}.admin-ui-page .me-priority-icon.info{background:#eaf3fb!important;color:#2e75b6!important}.admin-ui-page .me-priority-icon.verified{background:#f0ecfa!important;color:#6b51a4!important}.admin-ui-page .me-priority-list strong{display:block!important;color:#234867!important;font-size:12.5px!important;font-weight:600!important;line-height:1.25!important}.admin-ui-page .me-priority-list small{display:block!important;margin-top:2px!important;color:#7b8c9d!important;font-size:10.5px!important;line-height:1.3!important}.admin-ui-page .me-priority-list b{font-size:10.5px!important;font-weight:600!important;color:#1f70b3!important;white-space:nowrap!important}
.admin-ui-page .me-performance-row{display:grid!important;grid-template-columns:120px minmax(0,1fr) 45px!important;gap:10px!important;align-items:center!important;margin:11px 0!important}.admin-ui-page .me-performance-row>div:first-child{display:flex!important;justify-content:space-between!important;gap:8px!important}.admin-ui-page .me-performance-row span,.admin-ui-page .me-performance-row strong,.admin-ui-page .me-performance-row small{font-size:11.5px!important}.admin-ui-page .me-performance-row strong{font-weight:600!important;color:#294e6d!important}.admin-ui-page .me-performance-row small{text-align:right!important;color:#718397!important}.admin-ui-page .me-performance-track{height:7px!important;border-radius:999px!important;background:#edf2f6!important;overflow:hidden!important}.admin-ui-page .me-performance-track>span{display:block!important;height:100%!important;border-radius:inherit!important;transition:width .55s ease!important}.admin-ui-page .me-performance-track .success{background:#36a66e!important}.admin-ui-page .me-performance-track .info{background:#3b83c5!important}.admin-ui-page .me-performance-track .warning{background:#e0a426!important}.admin-ui-page .me-performance-track .danger{background:#d4565d!important}
.admin-ui-page .me-dashboard-pulse-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}.admin-ui-page .me-pulse-card{margin:0!important;padding:12px 13px!important;text-decoration:none!important;min-height:86px!important}.admin-ui-page .me-pulse-card:hover{border-color:#cbdceb!important;box-shadow:0 6px 18px rgba(20,62,101,.05)!important}.admin-ui-page .me-pulse-card>span{display:block!important;color:#6f8294!important;font-size:11px!important;font-weight:600!important}.admin-ui-page .me-pulse-card>strong{display:block!important;margin:5px 0 2px!important;color:#153e64!important;font-size:23px!important;font-weight:600!important;line-height:1!important}.admin-ui-page .me-pulse-card>small{display:block!important;color:#7c8d9e!important;font-size:10.5px!important;line-height:1.3!important}
.admin-ui-page #scorecard{scroll-margin-top:90px!important}.admin-ui-page #scorecard .geo-card-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:15px!important}
@media(max-width:1180px){.admin-ui-page .me-dashboard-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.admin-ui-page .me-dashboard-main-grid{grid-template-columns:1fr!important}.admin-ui-page .me-dashboard-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){.admin-ui-page .me-dashboard-heading{align-items:flex-start!important;flex-direction:column!important}.admin-ui-page .me-dashboard-quick-actions{justify-content:flex-start!important}.admin-ui-page .me-dashboard-controlbar{align-items:stretch!important;flex-direction:column!important}.admin-ui-page .me-period-status{border-left:0!important;border-top:1px solid #e4ebf2!important;padding-left:0!important}.admin-ui-page .me-priority-list{grid-template-columns:1fr!important}}
@media(max-width:620px){.admin-ui-page .me-dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-ui-page .me-dashboard-pulse-grid{grid-template-columns:1fr!important}.admin-ui-page .me-dashboard-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}.admin-ui-page .me-dashboard-quick-actions .btn{justify-content:center!important}.admin-ui-page .me-performance-row{grid-template-columns:95px minmax(0,1fr) 38px!important}.admin-ui-page .me-dashboard-controlbar .me-period-toolbar{flex-direction:column!important;align-items:stretch!important}.admin-ui-page .me-dashboard-controlbar .me-period-toolbar label{min-width:0!important;width:100%!important}.admin-ui-page .me-dashboard-controlbar .me-period-toolbar .btn{width:100%!important}}
@media(max-width:420px){.admin-ui-page .me-dashboard-summary-grid{grid-template-columns:1fr!important}.admin-ui-page .me-dashboard-quick-actions{grid-template-columns:1fr!important}.admin-ui-page .me-dashboard-stat{min-height:84px!important}.admin-ui-page .me-priority-list>a{grid-template-columns:32px minmax(0,1fr)!important}.admin-ui-page .me-priority-list b{grid-column:2!important}}
@media(prefers-reduced-motion:reduce){.admin-ui-page .me-performance-track>span{transition:none!important}}

/* ========================================================================
   V17.17.2 — Global Premium Context Navigation
   One compact icon-led navigation language across authenticated modules.
   ======================================================================== */
.design-system-v12 .premium-context-nav{
 min-height:56px;
 height:auto;
 padding:0 22px;
 gap:16px;
 align-items:stretch;
 background:rgba(255,255,255,.98);
 border-bottom:1px solid #e5ebf2;
 box-shadow:0 3px 12px rgba(15,47,94,.028);
}
.design-system-v12 .premium-context-nav .context-heading{
 display:flex;
 align-items:center;
 flex:0 0 auto;
 min-width:0;
}
.design-system-v12 .premium-context-nav .context-title{
 display:flex;
 align-items:center;
 gap:8px;
 min-height:56px;
 padding:0 10px;
 border-radius:9px;
 color:#435d77!important;
 font-size:11px!important;
 line-height:1.2!important;
 font-weight:600!important;
 letter-spacing:.075em!important;
 text-transform:uppercase;
 white-space:nowrap;
 text-decoration:none!important;
 transition:background-color .16s ease,color .16s ease;
}
.design-system-v12 .premium-context-nav .context-title:hover{
 background:#f5f8fc;
 color:#174f93!important;
}
.design-system-v12 .premium-context-nav .context-title-icon,
.design-system-v12 .premium-context-nav .context-nav-icon{
 display:grid;
 place-items:center;
 width:19px;
 height:19px;
 flex:0 0 19px;
 color:#6f849c;
}
.design-system-v12 .premium-context-nav .context-title-icon svg,
.design-system-v12 .premium-context-nav .context-nav-icon svg{
 display:block;
 width:15px;
 height:15px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.75;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.design-system-v12 .premium-context-nav .context-title-icon{
 width:22px;
 height:22px;
 flex-basis:22px;
 border-radius:7px;
 background:#edf5ff;
 color:#1765cf;
}
.design-system-v12 .premium-context-nav .context-title-icon svg{
 width:14px;
 height:14px;
}
.design-system-v12 .premium-context-nav .context-links{
 display:flex;
 align-items:stretch;
 gap:3px;
 min-height:56px;
 height:auto;
 flex:1;
 min-width:0;
 overflow:visible;
 scrollbar-width:none;
}
.design-system-v12 .premium-context-nav .context-links::-webkit-scrollbar{display:none}
.design-system-v12 .premium-context-nav .context-direct,
.design-system-v12 .premium-context-nav .context-dropdown>summary{
 display:flex;
 align-items:center;
 gap:6px;
 min-height:56px;
 height:56px;
 padding:0 10px!important;
 border:0!important;
 border-bottom:2px solid transparent!important;
 border-radius:8px 8px 0 0!important;
 background:transparent;
 color:#50677e!important;
 font-size:12px!important;
 line-height:1.2!important;
 font-weight:550!important;
 white-space:nowrap;
 text-decoration:none!important;
 cursor:pointer;
 transition:background-color .15s ease,color .15s ease,border-color .15s ease;
}
.design-system-v12 .premium-context-nav .context-direct:hover,
.design-system-v12 .premium-context-nav .context-dropdown>summary:hover{
 background:#f6f9fd!important;
 color:#1765cf!important;
}
.design-system-v12 .premium-context-nav .context-direct.active,
.design-system-v12 .premium-context-nav .context-dropdown.active>summary,
.design-system-v12 .premium-context-nav .context-dropdown[open]>summary{
 background:#f3f7fd!important;
 color:#1765cf!important;
 border-bottom-color:#1765cf!important;
}
.design-system-v12 .premium-context-nav .context-direct.active .context-nav-icon,
.design-system-v12 .premium-context-nav .context-dropdown.active>summary .context-nav-icon,
.design-system-v12 .premium-context-nav .context-dropdown[open]>summary .context-nav-icon{
 color:#1765cf!important;
}
.design-system-v12 .premium-context-nav .dropdown-caret{
 display:inline-grid;
 place-items:center;
 margin-left:1px;
 color:#8da0b3;
 font-size:11px!important;
 line-height:1;
 transition:transform .16s ease;
}
.design-system-v12 .premium-context-nav .context-dropdown[open] .dropdown-caret{transform:rotate(180deg)}
.design-system-v12 .premium-context-nav .context-dropdown{position:relative;flex:0 0 auto}
.design-system-v12 .premium-context-nav .context-dropdown-menu{
 top:calc(100% - 1px);
 left:0;
 min-width:230px;
 max-width:320px;
 padding:7px;
 display:grid;
 gap:2px;
 background:#fff;
 border:1px solid #dfe7f0;
 border-radius:0 12px 12px 12px;
 box-shadow:0 18px 40px rgba(15,47,94,.13);
 z-index:95;
}
.design-system-v12 .premium-context-nav .context-dropdown-menu a{
 position:relative;
 display:flex;
 align-items:center;
 min-height:38px;
 padding:8px 11px 8px 25px!important;
 border:0!important;
 border-radius:8px!important;
 color:#4f647b!important;
 background:transparent;
 font-size:12px!important;
 line-height:1.25!important;
 font-weight:500!important;
 text-decoration:none!important;
 white-space:normal;
}
.design-system-v12 .premium-context-nav .context-dropdown-menu a::before{
 content:"";
 position:absolute;
 left:11px;
 top:50%;
 width:5px;
 height:5px;
 border-radius:50%;
 background:#c2cede;
 transform:translateY(-50%);
}
.design-system-v12 .premium-context-nav .context-dropdown-menu a:hover{
 background:#f4f8fd!important;
 color:#174f93!important;
}
.design-system-v12 .premium-context-nav .context-dropdown-menu a.active{
 background:#edf5ff!important;
 color:#1765cf!important;
 font-weight:600!important;
}
.design-system-v12 .premium-context-nav .context-dropdown-menu a.active::before{
 background:#1765cf;
 box-shadow:0 0 0 3px rgba(23,101,207,.10);
}
.design-system-v12 .premium-context-nav .context-menu-toggle{
 min-height:36px;
 padding:0 11px;
 gap:6px;
 border:1px solid #dce5ef;
 border-radius:9px;
 background:#fff;
 color:#4f657b;
 font-size:12px!important;
 font-weight:550!important;
}

/* Maintain the same premium navigation language on M&E instead of a separate style. */
.design-system-v12 .premium-context-nav.me-context-nav{
 min-height:56px;
 padding:0 22px;
 gap:16px;
}
.design-system-v12 .premium-context-nav.me-context-nav .context-title,
.design-system-v12 .premium-context-nav.me-context-nav .context-dropdown>summary{
 min-height:56px;
 height:56px;
 padding-top:0!important;
 padding-bottom:0!important;
}

@media(max-width:1180px){
 .design-system-v12 .premium-context-nav{padding-left:14px;padding-right:14px;gap:9px}
 .design-system-v12 .premium-context-nav .context-title{padding-left:8px;padding-right:8px}
 .design-system-v12 .premium-context-nav .context-direct,
 .design-system-v12 .premium-context-nav .context-dropdown>summary{padding-left:8px!important;padding-right:8px!important;font-size:11.5px!important}
 .design-system-v12 .premium-context-nav .context-nav-icon{width:17px;height:17px;flex-basis:17px}
 .design-system-v12 .premium-context-nav .context-nav-icon svg{width:14px;height:14px}
}
@media(max-width:860px){
 .design-system-v12 .premium-context-nav,
 .design-system-v12 .premium-context-nav.me-context-nav{
  display:block;
  min-height:52px;
  padding:7px 12px;
  overflow:visible;
 }
 .design-system-v12 .premium-context-nav .context-heading{min-height:38px;justify-content:space-between;gap:10px}
 .design-system-v12 .premium-context-nav .context-title{min-height:38px;height:38px;padding:0 8px;font-size:10.5px!important}
 .design-system-v12 .premium-context-nav .context-menu-toggle{display:flex}
 .design-system-v12 .premium-context-nav .context-links{
  display:none;
  width:100%;
  min-height:0;
  max-height:calc(100vh - 150px);
  overflow:auto;
  margin-top:6px;
  padding:5px;
  flex-direction:column;
  align-items:stretch;
  gap:2px;
  background:#f7f9fc;
  border:1px solid #e1e8f0;
  border-radius:10px;
  box-shadow:0 12px 24px rgba(15,47,94,.08);
 }
 .design-system-v12 .premium-context-nav .context-links.open{display:flex}
 .design-system-v12 .premium-context-nav .context-direct,
 .design-system-v12 .premium-context-nav .context-dropdown>summary,
 .design-system-v12 .premium-context-nav.me-context-nav .context-dropdown>summary{
  width:100%;
  min-height:42px;
  height:42px;
  padding:0 10px!important;
  border:0!important;
  border-radius:8px!important;
  justify-content:flex-start;
  font-size:12px!important;
 }
 .design-system-v12 .premium-context-nav .dropdown-caret{margin-left:auto}
 .design-system-v12 .premium-context-nav .context-dropdown{width:100%}
 .design-system-v12 .premium-context-nav .context-dropdown-menu{
  position:static;
  min-width:0;
  max-width:none;
  margin-top:3px;
  padding:4px;
  border:0;
  border-radius:8px;
  box-shadow:none;
  background:#fff;
 }
 .design-system-v12 .premium-context-nav .context-dropdown-menu a{min-height:36px}
}
@media(max-width:520px){
 .design-system-v12 .premium-context-nav .context-title>span:last-child{max-width:190px;overflow:hidden;text-overflow:ellipsis}
 .design-system-v12 .premium-context-nav .context-title-icon{width:20px;height:20px;flex-basis:20px}
}


/* V17.18 APR M&E scope */
.apr-me-scope-note{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d8e7f5;border-radius:10px;background:#f7fbff;color:#526a82;font-size:12px;line-height:1.35}
.apr-me-scope-note strong{color:#123f70;font-size:12px;font-weight:600;white-space:nowrap}
.apr-me-scope-note span{font-weight:400}
body.admin-ui-page .context-module-title[data-section="me"]{color:#0f4f86}

/* V17.20 Ask LSV related concepts and answer feedback */
.lsv-chat-related{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:9px;padding-top:8px;border-top:1px solid #e7edf4}.lsv-chat-related small{width:100%;color:#6f7f91;font-weight:700}.lsv-chat-related button{border:1px solid #dbe6f3;background:#f7faff;color:#185abd;border-radius:999px;padding:4px 8px;font:inherit;font-size:11px;cursor:pointer}.lsv-chat-related button:hover{background:#edf5ff}.lsv-chat-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;padding-top:8px;border-top:1px solid #e7edf4}.lsv-chat-feedback small{color:#6f7f91;font-weight:700}.lsv-chat-feedback button{border:1px solid #dbe3ec;background:#fff;border-radius:8px;padding:4px 7px;font:inherit;font-size:11px;cursor:pointer}.lsv-chat-feedback button:hover{background:#f5f8fb}.lsv-chat-feedback button:disabled{opacity:.55;cursor:default}.lsv-chat-feedback-state{width:100%;font-size:10px;color:#62758a}.ai-related-topics{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ai-related-topics span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f2f7fd;border:1px solid #dbe7f4;color:#254d78;font-size:12px;font-weight:650}

/* V17.27 Life Skills & Values Knowledge Explorer */
.lsv27-explorer-intro{margin-top:12px;padding:18px 20px;border:1px solid #dce8ef;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px}
.lsv27-explorer-intro span,.lsv27-detail-hero span,.lsv27-section-card header span,.lsv27-primary-knowledge header span{display:block;color:#2b74a8;font-size:9px!important;font-weight:900;letter-spacing:.12em}
.lsv27-explorer-intro h2{margin:3px 0 5px;color:#244b68;font-size:22px!important}.lsv27-explorer-intro p{margin:0;max-width:760px;color:#6f8290;font-size:12px!important;line-height:1.6}
.lsv27-summary-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0}
.lsv27-summary-strip article{padding:11px 12px;border:1px solid #e0e9ef;border-radius:12px;background:#fff}.lsv27-summary-strip strong{display:block;color:#244d69;font-size:19px!important}.lsv27-summary-strip span{display:block;margin-top:2px;color:#778c9b;font-size:9px!important;font-weight:800}
.phase174-lsv-explore.lsv27-explore-grid{grid-template-columns:1fr;gap:12px}.lsv27-explore-grid>section{padding:16px}.lsv27-explore-grid>section>header p{margin:3px 0 12px;color:#8294a0;font-size:10px!important}
.lsv27-domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lsv27-domain-card{display:flex;flex-direction:column;min-height:138px;padding:13px;border:1px solid #dce7ee;border-radius:12px;background:#fff;color:#315a75;transition:.18s ease}.lsv27-domain-card:hover{transform:translateY(-1px);border-color:#a5c9df;box-shadow:0 8px 20px rgba(37,86,117,.07)}.lsv27-domain-card>strong{font-size:12px!important;color:#284f6b}.lsv27-domain-card>p{margin:5px 0 10px;color:#778b99;font-size:9.5px!important;line-height:1.45;flex:1}.lsv27-domain-card>div{display:flex;flex-wrap:wrap;gap:5px}.lsv27-domain-card>div span{padding:4px 6px;border-radius:7px;background:#f2f7fa;color:#668194;font-size:8px!important}.lsv27-domain-card>div b{color:#286f9e}
.lsv27-detail-hero{padding:20px 22px;border:1px solid #dbe7ee;border-radius:16px;background:#fff;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.lsv27-back{display:inline-block;margin-bottom:12px;color:#4f7894;font-size:10px!important;font-weight:800}.lsv27-detail-hero h1{margin:3px 0 7px;color:#234b68;font-size:28px!important}.lsv27-detail-hero p{margin:0;max-width:820px;color:#6c8291;font-size:12px!important;line-height:1.65}.lsv27-detail-nav{display:flex;gap:6px;overflow:auto;margin:10px 0;padding:7px;border:1px solid #e2e9ee;border-radius:12px;background:#fff}.lsv27-detail-nav a{white-space:nowrap;padding:7px 10px;border-radius:8px;color:#56768c;font-size:9px!important;font-weight:800}.lsv27-detail-nav a:hover{background:#eef6fa;color:#2b6f9d}
.lsv27-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.7fr);gap:10px}.lsv27-primary-knowledge,.lsv27-section-card{margin-top:0}.lsv27-knowledge-block{padding:14px 0;border-top:1px solid #edf1f4}.lsv27-knowledge-block:first-of-type{border-top:0}.lsv27-knowledge-block h3{margin:0 0 6px;color:#2c526c;font-size:14px!important}.lsv27-knowledge-block p{color:#536e80;font-size:11px!important;line-height:1.7}.lsv27-knowledge-block>small{display:block;margin-top:8px;color:#81929e;font-size:8.5px!important}.lsv27-practice-note{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f4f8fb}.lsv27-practice-note strong{font-size:9px!important;color:#2d739f}.lsv27-practice-note p{margin:3px 0 0}.lsv27-related-list{display:grid;gap:7px}.lsv27-related-list span{padding:9px;border:1px solid #e3ebf0;border-radius:9px;background:#fbfcfd}.lsv27-related-list strong,.lsv27-related-list small{display:block}.lsv27-related-list strong{color:#355d76;font-size:10px!important}.lsv27-related-list small{margin-top:2px;color:#8998a2;font-size:8px!important}
.lsv27-section-card{margin-top:10px}.lsv27-section-card>header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.lsv27-section-card>header h2{margin:3px 0 3px}.lsv27-section-card>header p{margin:0;color:#7b8e9b;font-size:10px!important}.lsv27-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.lsv27-context-grid>article{padding:12px;border:1px solid #e2e9ee;border-radius:11px}.lsv27-context-grid>article>h3{margin:0 0 8px;color:#2d607f;font-size:11px!important;text-transform:capitalize}.lsv27-context-grid>article>div{padding:8px 0;border-top:1px solid #edf1f4}.lsv27-context-grid>article>div:first-of-type{border-top:0}.lsv27-context-grid strong{font-size:9.5px!important;color:#3b5f76}.lsv27-context-grid p{margin:3px 0;color:#6c808e;font-size:9.5px!important;line-height:1.55}.lsv27-context-grid small{font-size:8px!important;color:#93a0a8}
.lsv27-question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.lsv27-question-grid a{padding:10px;border:1px solid #e2e9ee;border-radius:10px;background:#fff}.lsv27-question-grid strong{display:block;color:#365e78;font-size:9.5px!important;line-height:1.4}.lsv27-question-grid small{display:block;margin-top:4px;color:#8b9aa4;font-size:8px!important}.lsv27-resource-list{display:grid;gap:7px;margin-top:12px}.lsv27-resource-list>a{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 12px;border:1px solid #e1e9ee;border-radius:10px}.lsv27-resource-list strong{display:block;color:#355c75;font-size:10.5px!important}.lsv27-resource-list small{display:block;margin-top:2px;color:#8898a3;font-size:8.5px!important}.lsv27-resource-list p{margin:4px 0 0;color:#6f8492;font-size:9px!important}.lsv27-gap-state{margin-top:10px;padding:14px;border:1px dashed #c9d9e3;border-radius:11px;background:#fafcfd}.lsv27-gap-state strong{color:#4a687a;font-size:10px!important}.lsv27-gap-state p{margin:4px 0 0;color:#81909a;font-size:9.5px!important}.lsv27-source-list{display:grid;gap:7px;margin-top:11px}.lsv27-source-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e3e9ed;border-radius:10px}.lsv27-source-list strong{font-size:10px!important;color:#355f79}.lsv27-source-list p{margin:2px 0;color:#748895;font-size:9px!important}.lsv27-source-list small{font-size:8px!important;color:#94a1a8}.lsv27-source-list>a{font-size:9px!important;font-weight:800}
@media(max-width:1050px){.lsv27-summary-strip{grid-template-columns:repeat(3,1fr)}.lsv27-domain-grid,.lsv27-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lsv27-detail-grid{grid-template-columns:1fr}}
@media(max-width:680px){.lsv27-explorer-intro,.lsv27-detail-hero{align-items:flex-start;flex-direction:column}.lsv27-summary-strip{grid-template-columns:repeat(2,1fr)}.lsv27-domain-grid,.lsv27-question-grid,.lsv27-context-grid{grid-template-columns:1fr}.lsv27-source-list article{grid-template-columns:auto 1fr}.lsv27-source-list article>a{grid-column:2}.lsv27-detail-hero h1{font-size:22px!important}}

/* V17.29.0 Ask LSV Premium Intelligent Assistant */
.ask-lsv-premium-page{background:#f4f7fb}.ask-lsv-premium-page .content{padding:14px 16px 22px;max-width:none}.ask-lsv-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}.ask-lsv-page-head h1{margin:0;color:#112f59;font-size:25px;line-height:1.1}.ask-lsv-page-head p{margin:4px 0 0;color:#6e7d91;font-size:12px}.ask-lsv-head-actions{display:flex;align-items:center;gap:9px}.ask-lsv-secure-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #cfe9dc;background:#f3fbf7;color:#217b55;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:750}
.ask-lsv-shell{display:grid;grid-template-columns:minmax(220px,280px) minmax(460px,1fr) minmax(240px,300px);gap:12px;align-items:stretch;min-height:calc(100vh - 145px)}.ask-lsv-shell>.card,.ask-lsv-context-panel>.card{border:1px solid #dde6f0;box-shadow:0 7px 24px rgba(19,55,99,.055);border-radius:15px;background:#fff}.ask-lsv-faq-panel{padding:13px;display:flex;flex-direction:column;min-height:0}.ask-lsv-panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.ask-lsv-panel-title small{text-transform:uppercase;letter-spacing:.08em;color:#7f8ca0;font-weight:800;font-size:8px}.ask-lsv-panel-title h2{margin:2px 0 0;color:#17375f;font-size:14px}.ask-lsv-panel-title>span{display:grid;place-items:center;min-width:27px;height:27px;border-radius:9px;background:#edf4ff;color:#2164bd;font-size:10px;font-weight:800}.ask-lsv-faq-search{display:flex;align-items:center;gap:7px;border:1px solid #dbe5f1;border-radius:10px;padding:0 10px;margin:12px 0 9px;background:#fbfdff}.ask-lsv-faq-search span{color:#68809c;font-size:18px}.ask-lsv-faq-search input{border:0;outline:0;background:transparent;width:100%;padding:9px 0;font:inherit;font-size:11px;color:#233b59}.ask-lsv-faq-scroll{overflow:auto;padding-right:3px;min-height:0}.ask-lsv-faq-group{margin:0 0 13px}.ask-lsv-faq-group h3{margin:0 0 7px;color:#425a76;font-size:10px;text-transform:none}.ask-lsv-faq-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e0e8f2;background:#fbfdff;color:#1f426f;border-radius:9px;padding:8px 9px;margin:0 0 6px;text-align:left;font:inherit;font-size:10.5px;line-height:1.3;cursor:pointer;transition:.15s}.ask-lsv-faq-item:hover{background:#edf5ff;border-color:#c8dcef;transform:translateX(1px)}.ask-lsv-faq-item b{color:#2a6ed0;font-size:16px}.ask-lsv-faq-item[hidden],.ask-lsv-faq-group[hidden]{display:none!important}
.ask-lsv-chat{display:grid;grid-template-rows:auto minmax(260px,1fr) auto auto auto;min-height:0;overflow:hidden}.ask-lsv-welcome{display:grid;grid-template-columns:auto 1fr;gap:13px;padding:15px 16px;border-bottom:1px solid #e4ebf3;background:linear-gradient(180deg,#fff,#fbfdff)}.ask-lsv-bot-avatar,.ask-lsv-message-avatar.bot{display:grid;place-items:center;background:linear-gradient(145deg,#0a57c7,#2680ea);color:#fff;font-weight:900;box-shadow:0 6px 16px rgba(27,102,201,.22)}.ask-lsv-bot-avatar{width:46px;height:46px;border-radius:50%;font-size:11px}.ask-lsv-welcome h2{margin:0;color:#17365d;font-size:17px}.ask-lsv-welcome p{margin:5px 0 8px;color:#5f7187;font-size:11px;line-height:1.45}.ask-lsv-quick-actions{display:flex;flex-wrap:wrap;gap:6px}.ask-lsv-quick-actions button,.ask-lsv-followups button{border:1px solid #d5e2f1;background:#fff;color:#2763ad;border-radius:999px;padding:6px 9px;font:inherit;font-size:9.5px;cursor:pointer}.ask-lsv-quick-actions button:hover,.ask-lsv-followups button:hover{background:#edf5ff}
.ask-lsv-conversation{overflow:auto;padding:15px;background:linear-gradient(180deg,#f8fbff,#f6f9fd);scroll-behavior:smooth}.ask-lsv-empty{display:grid;place-items:center;text-align:center;min-height:240px;color:#728299}.ask-lsv-empty strong{display:block;color:#23476f;font-size:14px}.ask-lsv-empty p{margin:5px 0 0;font-size:11px}.ask-lsv-message{display:flex;gap:9px;align-items:flex-start;margin:0 0 13px}.ask-lsv-message.user{flex-direction:row-reverse}.ask-lsv-message-avatar{flex:0 0 auto;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e8eff8;color:#405b78;font-size:8px;font-weight:800}.ask-lsv-message-card{max-width:85%;border:1px solid #dce6f1;background:#fff;border-radius:13px 13px 13px 4px;padding:10px 12px;box-shadow:0 3px 10px rgba(26,58,94,.04);font-size:11px;line-height:1.55;color:#29435f}.ask-lsv-message.user .ask-lsv-message-card{background:#e8f2ff;border-color:#cfe2f9;border-radius:13px 13px 4px 13px}.ask-lsv-message-card p{margin:0}.ask-lsv-answer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.ask-lsv-answer-head>strong{color:#173a66;font-size:12px}.ask-lsv-answer-head>span{padding:4px 7px;border-radius:999px;background:#f3f5f8;color:#63758a;font-size:8px;font-weight:800;text-transform:capitalize}.ask-lsv-answer-head>span.verified{background:#eaf8f1;color:#258158}.ask-lsv-answer-text{white-space:normal}.ask-lsv-answer-context{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.ask-lsv-answer-context span{padding:4px 7px;border-radius:999px;background:#f2f6fb;color:#47637f;font-size:8.5px}.ask-lsv-answer-sources{display:grid;gap:5px;margin-top:10px;padding-top:9px;border-top:1px solid #e6edf4}.ask-lsv-answer-sources>strong{font-size:9px;color:#566b82}.ask-lsv-answer-sources a,.ask-lsv-answer-sources span{color:#1e63bb;font-size:9px;text-decoration:none}.ask-lsv-answer-actions{display:flex;gap:6px;margin-top:9px;padding-top:8px;border-top:1px solid #edf1f5}.ask-lsv-answer-actions button{border:1px solid #dbe4ee;background:#fff;color:#526a84;border-radius:7px;padding:4px 7px;font:inherit;font-size:8.5px;cursor:pointer}.ask-lsv-feedback-state{display:block;margin-top:5px;color:#63809d;font-size:8px}.assistant-card.error{border-color:#f0cccc;background:#fff8f8}
.ask-lsv-thinking-card{width:min(610px,90%);border:1px solid #dbe6f1;background:#fff;border-radius:13px 13px 13px 4px;padding:12px 13px;box-shadow:0 5px 16px rgba(28,62,103,.06)}.ask-lsv-thinking-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.ask-lsv-thinking-top strong{color:#2b4869;font-size:10px}.ask-lsv-dots{display:flex;gap:4px;margin-top:7px}.ask-lsv-dots i{width:6px;height:6px;border-radius:50%;background:#2b7de0;animation:askLsvDot 1.15s infinite ease-in-out}.ask-lsv-dots i:nth-child(2){animation-delay:.14s}.ask-lsv-dots i:nth-child(3){animation-delay:.28s}.ask-lsv-note-scan{position:relative;width:48px;height:54px;border:2px solid #6ea5e7;border-radius:8px;background:#f8fbff;overflow:hidden;transform:rotate(3deg)}.ask-lsv-note-scan:before{content:"";position:absolute;left:8px;right:8px;top:-20px;height:18px;background:linear-gradient(180deg,transparent,rgba(44,126,224,.17),transparent);animation:askLsvScan 1.35s linear infinite}.ask-lsv-note-scan span,.ask-lsv-note-scan i{position:absolute;left:9px;right:9px;height:3px;border-radius:9px;background:#a9c8ee}.ask-lsv-note-scan span{top:13px}.ask-lsv-note-scan i:nth-of-type(1){top:23px}.ask-lsv-note-scan i:nth-of-type(2){top:33px}.ask-lsv-note-scan i:nth-of-type(3){top:43px;right:20px}.ask-lsv-stage-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:5px}.ask-lsv-stage-list li{position:relative;padding-left:19px;color:#8a98a8;font-size:8.5px}.ask-lsv-stage-list li:before{content:"";position:absolute;left:0;top:2px;width:9px;height:9px;border:1.5px solid #b8c7d7;border-radius:50%}.ask-lsv-stage-list li.active{color:#315b8c;font-weight:700}.ask-lsv-stage-list li.active:before{border-color:#2c7fe2;box-shadow:0 0 0 3px rgba(44,127,226,.11)}.ask-lsv-stage-list li.done{color:#3d765d}.ask-lsv-stage-list li.done:before{content:"✓";display:grid;place-items:center;background:#2ca36c;border-color:#2ca36c;color:#fff;font-size:6px}
.ask-lsv-followups{padding:8px 14px 0;background:#fff}.ask-lsv-followups small{display:block;color:#536981;font-size:8.5px;font-weight:750;margin-bottom:6px}.ask-lsv-followups>div{display:flex;flex-wrap:wrap;gap:5px}.ask-lsv-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px 12px 7px;background:#fff}.ask-lsv-input-wrap{position:relative}.ask-lsv-input-wrap textarea{width:100%;min-height:43px;max-height:150px;resize:none;border:1px solid #d9e4ef;border-radius:12px;padding:10px 12px 19px;font:inherit;font-size:11px;line-height:1.45;outline:0;background:#fbfdff}.ask-lsv-input-wrap textarea:focus{background:#fff;border-color:#2c79d9;box-shadow:0 0 0 3px rgba(44,121,217,.1)}.ask-lsv-input-hint{position:absolute;left:12px;bottom:5px;color:#9aa6b3;font-size:7px;pointer-events:none}.ask-lsv-send{width:45px;height:45px;border:0;border-radius:12px;background:#1f6ed3;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 7px 14px rgba(31,110,211,.2)}.ask-lsv-send:hover{background:#1559b2}.ask-lsv-send:disabled{opacity:.55;cursor:wait}.ask-lsv-send svg{width:20px;height:20px;fill:currentColor}.ask-lsv-composer-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 13px 9px;color:#8a97a6;font-size:7.5px;background:#fff}.ask-lsv-composer-foot button{border:0;background:transparent;color:#2d68b1;font:inherit;font-size:8px;cursor:pointer}
.ask-lsv-context-panel{display:grid;grid-template-rows:auto auto 1fr;gap:12px;min-height:0}.ask-lsv-side-card{padding:12px}.ask-lsv-side-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.ask-lsv-side-card h2{margin:0;color:#1d3e68;font-size:12px}.ask-lsv-side-card header a{color:#2165bd;font-size:8px;text-decoration:none}.ask-lsv-source,.ask-lsv-resource{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #edf1f5;text-decoration:none}.ask-lsv-source:last-child,.ask-lsv-resource:last-child{border-bottom:0}.ask-lsv-source-mark,.ask-lsv-resource-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#edf4ff;color:#2568be;font-size:9px;font-weight:900}.ask-lsv-source div:nth-child(2),.ask-lsv-resource div:nth-child(2){min-width:0}.ask-lsv-source strong,.ask-lsv-resource strong{display:block;color:#284765;font-size:9px;line-height:1.25}.ask-lsv-source span,.ask-lsv-resource span{display:block;color:#8490a0;font-size:7.5px;margin-top:2px}.ask-lsv-source>b,.ask-lsv-resource>b{padding:3px 5px;border-radius:999px;background:#e9f8f0;color:#28815b;font-size:6.5px}.ask-lsv-verification>#askLsvVerification{display:flex;gap:9px;align-items:flex-start}.ask-lsv-verified-icon{flex:0 0 auto;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e7f8ef;color:#1b8759;font-weight:900}.ask-lsv-verification strong{color:#236341;font-size:10px}.ask-lsv-verification p{margin:3px 0 7px;color:#708095;font-size:8px;line-height:1.4}.ask-lsv-verification-bar{height:5px;background:#e8edf3;border-radius:99px;overflow:hidden}.ask-lsv-verification-bar i{display:block;height:100%;background:#29a46c;border-radius:99px}.ask-lsv-verification small{display:block;margin-top:5px;color:#748398;font-size:7.5px}
@keyframes askLsvDot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}@keyframes askLsvScan{0%{transform:translateY(0)}100%{transform:translateY(76px)}}
@media(max-width:1180px){.ask-lsv-shell{grid-template-columns:220px minmax(0,1fr)}.ask-lsv-context-panel{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto}.ask-lsv-side-card{min-width:0}}
@media(max-width:820px){.ask-lsv-page-head{align-items:flex-start}.ask-lsv-head-actions{flex-wrap:wrap;justify-content:flex-end}.ask-lsv-shell{grid-template-columns:1fr}.ask-lsv-faq-panel{order:2;max-height:360px}.ask-lsv-chat{order:1;min-height:650px}.ask-lsv-context-panel{order:3;grid-template-columns:1fr}.ask-lsv-message-card{max-width:91%}}
@media(max-width:560px){.ask-lsv-premium-page .content{padding:9px}.ask-lsv-page-head{display:block}.ask-lsv-head-actions{margin-top:8px;justify-content:flex-start}.ask-lsv-shell{gap:9px;min-height:auto}.ask-lsv-welcome{grid-template-columns:1fr}.ask-lsv-bot-avatar{width:40px;height:40px}.ask-lsv-chat{min-height:calc(100dvh - 160px)}.ask-lsv-conversation{padding:11px}.ask-lsv-message-card,.ask-lsv-thinking-card{max-width:94%;width:auto}.ask-lsv-input-hint{display:none}.ask-lsv-input-wrap textarea{padding-bottom:10px}.ask-lsv-composer-foot{font-size:7px}.ask-lsv-context-panel{display:grid}}
@media(prefers-reduced-motion:reduce){.ask-lsv-dots i,.ask-lsv-note-scan:before{animation:none!important}.ask-lsv-faq-item{transition:none!important}.ask-lsv-conversation{scroll-behavior:auto}}
.lsv-chat-thinking{display:grid;gap:7px;padding:10px 12px;border-radius:15px 15px 15px 5px;background:#fff;border:1px solid #dfe7f0;color:#66798e;font-size:10px;box-shadow:0 4px 13px rgba(21,54,95,.05)}.lsv-chat-thinking .lsv-chat-typing{padding:0;border:0;background:transparent}.lsv-chat-thinking>span{font-weight:650}


/* V17.30 Ask LSV Smart Explore — packaged floating assistant navigation */
.lsv-chat-explore{margin:7px 0 14px;border:1px solid #d9e4f1;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(21,54,95,.07);overflow:hidden}
.lsv-chat-explore-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px 9px;background:linear-gradient(180deg,#fff,#f9fbfe);border-bottom:1px solid #e8eef5}.lsv-chat-explore-head>div{min-width:0}.lsv-chat-explore-head small{display:block;color:#2771c9;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.lsv-chat-explore-head strong{display:block;margin-top:2px;color:#27445f;font-size:11.5px;line-height:1.3}.lsv-chat-explore-head button{flex:0 0 auto;width:28px;height:28px;border:1px solid #dce6f2;border-radius:9px;background:#fff;color:#41617f;cursor:pointer;font:inherit}
.lsv-chat-explore-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:7px;background:#f4f7fb;border-bottom:1px solid #e6edf5}.lsv-chat-explore-tabs button{border:0;border-radius:9px;padding:8px 5px;background:transparent;color:#62758a;font:inherit;font-size:10px;font-weight:750;cursor:pointer}.lsv-chat-explore-tabs button.active{background:#fff;color:#175fb9;box-shadow:0 2px 8px rgba(28,75,127,.09)}
.lsv-chat-explore-content{padding:9px 10px 10px;max-height:245px;overflow:auto}.lsv-chat-explore.collapsed .lsv-chat-explore-tabs,.lsv-chat-explore.collapsed .lsv-chat-explore-content{display:none}.lsv-chat-explore.collapsed .lsv-chat-explore-head{border-bottom:0}.lsv-chat-explore-pane[hidden]{display:none!important}.lsv-chat-explore-label{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:7px}.lsv-chat-explore-label span{color:#48617a;font-size:9.5px;font-weight:800}.lsv-chat-explore-label a{color:#1c67bf;font-size:8.5px;text-decoration:none;font-weight:700}.lsv-chat-explore-label small{color:#8a98a8;font-size:8px}
.lsv-chat-explore-list{display:grid;gap:5px}.lsv-chat-explore-list>p,.lsv-chat-topic-grid>p{margin:5px;color:#7a8999;font-size:9px}.lsv-chat-explore-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e2eaf3;background:#fbfdff;color:#264d78;border-radius:10px;padding:8px 9px;text-align:left;font:inherit;font-size:9.5px;line-height:1.3;cursor:pointer}.lsv-chat-explore-item:hover{border-color:#cbdff5;background:#edf5ff}.lsv-chat-explore-item b{color:#2672cf;font-size:14px}
.lsv-chat-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.lsv-chat-topic-grid button{display:flex;align-items:center;gap:6px;border:1px solid #e0e9f3;border-radius:10px;padding:8px;background:#fbfdff;color:#345471;font:inherit;font-size:9px;text-align:left;cursor:pointer}.lsv-chat-topic-grid button:hover{background:#edf5ff;border-color:#c9dff5}.lsv-chat-topic-grid button span{display:grid;place-items:center;flex:0 0 auto;width:20px;height:20px;border-radius:7px;background:#edf4ff;color:#276fc3;font-size:9px}.lsv-chat-topic-grid.compact{margin-bottom:8px}
.lsv-chat-resource-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;padding:7px;border:1px solid #e1e9f2;border-radius:10px;background:#fbfdff}.lsv-chat-resource-row>a{display:flex;gap:7px;align-items:center;min-width:0;color:#36546f;text-decoration:none}.lsv-chat-resource-row>a>span:first-child{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#edf4ff;color:#1e68bf}.lsv-chat-resource-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.lsv-chat-resource-row small{display:block;color:#8795a5;font-size:7.5px;margin-top:1px}.lsv-chat-resource-row>button{border:1px solid #cfe0f4;background:#fff;color:#1d67bd;border-radius:8px;padding:5px 7px;font:inherit;font-size:8px;font-weight:750;cursor:pointer}.lsv-chat-start-chat{width:100%;border:0;border-radius:10px;padding:9px 10px;background:#1769c9;color:#fff;font:inherit;font-size:10px;font-weight:800;cursor:pointer;box-shadow:0 5px 12px rgba(23,105,201,.18)}
@media(max-width:390px){.lsv-chat-explore-content{max-height:220px}.lsv-chat-explore-tabs button{padding:7px 3px;font-size:9px}.lsv-chat-topic-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.lsv-chat-explore-item,.lsv-chat-topic-grid button,.lsv-chat-start-chat{transition:none!important}}


/* ==========================================================================
   V17.30.1 — Global Dropdown & Select Control Polish
   Centralized presentation only. Existing values, names, IDs and JS behavior
   remain unchanged.
   ========================================================================== */
:root{
  --apr-select-border:#cbd7e6;
  --apr-select-border-hover:#9eb6d4;
  --apr-select-focus:#2468dc;
  --apr-select-text:#243b5a;
  --apr-select-disabled:#f2f5f8;
}

/* Native selects: retain native semantics while replacing the weak browser arrow. */
select:not([multiple]):not([size]),
.form-select:not([multiple]):not([size]){
  min-height:42px;
  padding:9px 42px 9px 12px;
  border:1px solid var(--apr-select-border);
  border-radius:10px;
  background-color:#fff;
  color:var(--apr-select-text);
  line-height:1.35;
  cursor:pointer;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c579f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  background-size:16px 16px;
  transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;
}
select:not([multiple]):not([size]):hover,
.form-select:not([multiple]):not([size]):hover{
  border-color:var(--apr-select-border-hover);
}
select:not([multiple]):not([size]):focus,
.form-select:not([multiple]):not([size]):focus{
  border-color:var(--apr-select-focus);
  box-shadow:0 0 0 3px rgba(36,104,220,.12);
  outline:0;
}
select:not([multiple]):not([size]):disabled,
.form-select:not([multiple]):not([size]):disabled{
  background-color:var(--apr-select-disabled);
  color:#7b8798;
  cursor:not-allowed;
  opacity:1;
}
select.is-invalid,.form-select.is-invalid{
  border-color:#c43f4b;
}
select.is-valid,.form-select.is-valid{
  border-color:#27855b;
}

/* Preserve compact dashboard/filter controls while keeping the chevron visible. */
.dashboard-period select,
.dashboard-widget-head select,
.widget-period,
.resource-results-toolbar select{
  padding-right:32px!important;
  background-position:right 9px center!important;
  background-size:13px 13px!important;
}
.dashboard-period select{
  min-height:30px;
}
.dashboard-widget-head select,.widget-period{
  min-height:32px;
}
.resource-results-toolbar select{
  min-height:34px;
}

/* Details/summary and application dropdown chevrons: visible and immediate. */
.context-dropdown>summary{
  cursor:pointer;
}
.context-dropdown>summary::-webkit-details-marker{display:none}
.context-dropdown>summary::marker{content:""}
.dropdown-caret{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:16px;
  font-size:14px!important;
  font-weight:800;
  color:#1c579f;
  margin-left:8px;
  transition:transform .15s ease!important;
}
.context-dropdown[open] .dropdown-caret{transform:rotate(180deg)}

/* Standard dropdown surfaces. */
.context-dropdown-menu,
.profile-dropdown,
.notification-dropdown,
.quick-action-menu{
  background:#fff;
  border-color:#d9e3ef;
  box-shadow:0 14px 34px rgba(18,49,91,.13);
}
.context-dropdown-menu a,
.profile-dropdown a,
.quick-action-menu a{
  transition:background-color .14s ease,color .14s ease!important;
}

/* Touch-safe controls on smaller screens. */
@media(max-width:800px){
  select:not([multiple]):not([size]),
  .form-select:not([multiple]):not([size]){
    min-height:44px;
    padding-right:42px;
    background-position:right 13px center;
  }
}

/* Accessibility: retain state changes without motion. */
@media(prefers-reduced-motion:reduce){
  select,.form-select,.dropdown-caret,
  .context-dropdown-menu a,.profile-dropdown a,.quick-action-menu a{
    transition:none!important;
  }
}


/* ==========================================================================\n   V17.30.2 — Explicit navigation + Ask LSV chevrons\n   Fixes component-specific overrides that made the previous global caret\n   treatment too faint/small. Uses SVG icons instead of font glyphs.\n   ========================================================================== */
/* Top context navigation */
.admin-ui-page .context-dropdown>summary,
.design-system-v12 .premium-context-nav .context-dropdown>summary,
.admin-ui-page .me-context-nav .context-dropdown>summary{
  gap:8px!important;
}
.admin-ui-page .dropdown-caret,
.design-system-v12 .premium-context-nav .dropdown-caret,
.admin-ui-page .me-context-nav .dropdown-caret{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  margin-left:3px!important;
  border:1px solid #c8d7e8!important;
  border-radius:8px!important;
  background:#f8fbff!important;
  color:#185eae!important;
  opacity:1!important;
  transition:background-color .12s ease,border-color .12s ease,color .12s ease,transform .12s ease!important;
}
.admin-ui-page .dropdown-caret svg,
.design-system-v12 .premium-context-nav .dropdown-caret svg,
.admin-ui-page .me-context-nav .dropdown-caret svg{
  display:block!important;
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.admin-ui-page .context-dropdown>summary:hover .dropdown-caret,
.design-system-v12 .premium-context-nav .context-dropdown>summary:hover .dropdown-caret,
.admin-ui-page .me-context-nav .context-dropdown>summary:hover .dropdown-caret{
  border-color:#9bbbe0!important;
  background:#edf5ff!important;
  color:#0f58a8!important;
}
.admin-ui-page .context-dropdown[open] .dropdown-caret,
.design-system-v12 .premium-context-nav .context-dropdown[open] .dropdown-caret,
.admin-ui-page .me-context-nav .context-dropdown[open] .dropdown-caret{
  transform:rotate(180deg)!important;
  border-color:#8eb3df!important;
  background:#eaf4ff!important;
  color:#0b5fbd!important;
}

/* Ask LSV Explore collapse/expand button */
#lsvChatExploreToggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:1px solid #bcd0e6!important;
  border-radius:10px!important;
  background:#f8fbff!important;
  color:#155da9!important;
  box-shadow:0 1px 3px rgba(23,70,121,.06)!important;
  cursor:pointer!important;
  transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease!important;
}
#lsvChatExploreToggle svg{
  width:17px!important;
  height:17px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  transition:transform .12s ease!important;
}
#lsvChatExploreToggle:hover,
#lsvChatExploreToggle:focus-visible{
  background:#edf5ff!important;
  border-color:#8fb3dc!important;
  color:#0e58a4!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(36,104,220,.11)!important;
}
#lsvChatExploreToggle.is-collapsed svg{transform:rotate(180deg)!important}

@media(max-width:800px){
 .admin-ui-page .dropdown-caret,
 .design-system-v12 .premium-context-nav .dropdown-caret,
 .admin-ui-page .me-context-nav .dropdown-caret{flex-basis:28px!important;width:28px!important;height:28px!important;min-width:28px!important}
 #lsvChatExploreToggle{width:36px!important;height:36px!important;flex-basis:36px!important}
}
@media(prefers-reduced-motion:reduce){
 .admin-ui-page .dropdown-caret,
 .design-system-v12 .premium-context-nav .dropdown-caret,
 .admin-ui-page .me-context-nav .dropdown-caret,
 #lsvChatExploreToggle,
 #lsvChatExploreToggle svg{transition:none!important}
}


/* ==========================================================================
   V17.30.3 — Ask LSV Explore + Menu Placement
   Moves FAQs / Topics / Resources / Chat out of the conversation flow and
   behind a clear + button in the assistant header.
   ========================================================================== */
.lsv-chat-panel{position:absolute!important}
.lsv-chat-header{
  grid-template-columns:auto minmax(0,1fr) auto auto auto auto!important;
  position:relative;
  z-index:6;
}
.lsv-chat-explore-trigger{
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:10px;
  background:rgba(255,255,255,.10);
  color:#fff;
  display:grid;
  place-items:center;
  padding:0;
  cursor:pointer;
  transition:background-color .13s ease,border-color .13s ease,transform .13s ease;
}
.lsv-chat-explore-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.lsv-chat-explore-trigger:hover,.lsv-chat-explore-trigger:focus-visible,.lsv-chat-explore-trigger.active{
  background:rgba(255,255,255,.20);
  border-color:rgba(255,255,255,.32);
  outline:none;
}
.lsv-chat-explore-trigger.active svg{transform:rotate(45deg)}
.lsv-chat-explore-popover{
  position:absolute!important;
  top:65px;
  right:10px;
  left:10px;
  margin:0!important;
  z-index:12;
  border-radius:15px!important;
  box-shadow:0 18px 46px rgba(7,30,66,.24)!important;
  overflow:hidden;
  max-height:min(420px,calc(100% - 145px));
}
.lsv-chat-explore-popover[hidden]{display:none!important}
.lsv-chat-explore-popover .lsv-chat-explore-head{
  padding:10px 11px 9px;
}
.lsv-chat-explore-popover .lsv-chat-explore-head button{
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  color:#49677f!important;
}
.lsv-chat-explore-popover .lsv-chat-explore-head button svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  transition:none!important;
}
.lsv-chat-explore-popover .lsv-chat-explore-tabs{
  padding:6px 7px;
}
.lsv-chat-explore-popover .lsv-chat-explore-content{
  max-height:min(300px,calc(100vh - 330px));
  overflow:auto;
}
.lsv-chat-body{position:relative;z-index:1}
.lsv-chat-composer,.lsv-chat-footer{position:relative;z-index:5}

/* Keep Explore discoverable but out of the conversation space. */
@media(max-width:760px){
  .lsv-chat-explore-popover{
    top:65px;
    right:8px;
    left:8px;
    max-height:calc(100dvh - 160px);
  }
  .lsv-chat-explore-popover .lsv-chat-explore-content{
    max-height:calc(100dvh - 290px);
  }
}
@media(max-width:390px){
  .lsv-chat-header{
    grid-template-columns:auto minmax(0,1fr) auto auto auto auto!important;
    gap:6px!important;
  }
  .lsv-chat-explore-trigger,
  .lsv-chat-history-clear,.lsv-chat-minimize,.lsv-chat-close{
    width:30px!important;height:30px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .lsv-chat-explore-trigger,.lsv-chat-explore-trigger svg{transition:none!important}
}


/* ==========================================================================
   V17.30.4 — Ask LSV Permanent Top Explore Navigation
   Keeps FAQs / Topics / Resources / Chat permanently visible below the header.
   ========================================================================== */
.lsv-chat-explore-trigger{display:none!important}

.lsv-chat-explore-fixed{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  margin:0!important;
  z-index:5!important;
  border-radius:0!important;
  box-shadow:none!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  max-height:none!important;
  overflow:visible!important;
  background:#fff!important;
}
.lsv-chat-explore-fixed[hidden]{display:block!important}

.lsv-chat-explore-fixed .lsv-chat-explore-head{
  display:none!important;
}

.lsv-chat-explore-fixed .lsv-chat-explore-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:4px!important;
  padding:7px 9px!important;
  border-bottom:1px solid #e3ebf4!important;
  background:#f8fbff!important;
  position:sticky;
  top:0;
  z-index:3;
}
.lsv-chat-explore-fixed .lsv-chat-explore-tabs button{
  min-height:34px!important;
  padding:7px 6px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:#5a6d84!important;
  font-size:11px!important;
  font-weight:750!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:background-color .13s ease,color .13s ease,border-color .13s ease!important;
}
.lsv-chat-explore-fixed .lsv-chat-explore-tabs button:hover{
  background:#edf4ff!important;
  color:#1765cf!important;
}
.lsv-chat-explore-fixed .lsv-chat-explore-tabs button.active{
  background:#fff!important;
  color:#1765cf!important;
  border-color:#cfe0f4!important;
  box-shadow:0 2px 8px rgba(31,91,167,.08)!important;
}

.lsv-chat-explore-fixed .lsv-chat-explore-content{
  max-height:260px!important;
  overflow:auto!important;
  background:#fff!important;
}

/* Keep conversation space usable. */
.lsv-chat-body{
  min-height:120px!important;
}
@media(max-width:760px){
  .lsv-chat-explore-fixed .lsv-chat-explore-tabs{
    gap:3px!important;
    padding:6px!important;
  }
  .lsv-chat-explore-fixed .lsv-chat-explore-tabs button{
    font-size:10px!important;
    min-height:36px!important;
  }
  .lsv-chat-explore-fixed .lsv-chat-explore-content{
    max-height:220px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .lsv-chat-explore-fixed .lsv-chat-explore-tabs button{
    transition:none!important;
  }
}


/* ==========================================================================
   V17.30.5 — Ask LSV Full-Height Section Workspace
   One central workspace below the permanent tabs. FAQs, Topics and Resources
   use it while browsing; Chat uses the same space for loading and responses.
   Legacy role shortcut chips have been removed.
   ========================================================================== */

/* The panel is a fixed-height flex column so the middle workspace receives
   all remaining height while header/tabs/composer/footer stay predictable. */
.lsv-chat-panel{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.lsv-chat-header{
  flex:0 0 auto!important;
}
.lsv-chat-explore-fixed{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.lsv-chat-explore-fixed .lsv-chat-explore-tabs{
  flex:0 0 auto!important;
  position:relative!important;
  top:auto!important;
}
.lsv-chat-explore-fixed .lsv-chat-explore-content{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.lsv-chat-explore-fixed .lsv-chat-explore-pane{
  min-height:100%;
  padding-bottom:10px;
}

/* In Chat mode the browse content disappears and the real conversation takes
   the exact same central space; answers are never pushed below browse cards. */
.lsv-chat-mode-chat .lsv-chat-explore-fixed{
  flex:0 0 auto!important;
  min-height:auto!important;
}
.lsv-chat-mode-chat .lsv-chat-explore-content{
  display:none!important;
}
.lsv-chat-body{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding-bottom:14px!important;
}
.lsv-chat-body[hidden]{
  display:none!important;
}
.lsv-chat-mode-chat .lsv-chat-body{
  display:block!important;
}

/* While browsing, the real conversation is not rendered underneath the
   selected section. This prevents the old vertical stacking problem. */
.lsv-chat-mode-explore .lsv-chat-body{
  display:none!important;
}

/* Composer remains permanently available at the bottom in every mode. */
.lsv-chat-composer{
  flex:0 0 auto!important;
  margin-top:auto!important;
  position:relative!important;
  bottom:auto!important;
  background:#fff!important;
  border-top:1px solid #e4ebf3!important;
}
.lsv-chat-footer{
  flex:0 0 auto!important;
}

/* Make each selected browse section use the available width and height. */
.lsv-chat-explore-list,
.lsv-chat-topic-grid{
  width:100%!important;
}
.lsv-chat-explore-item,
.lsv-chat-resource-row{
  width:100%!important;
}

/* Old V17.30.x shortcut/chip area is deliberately suppressed defensively in
   case customized legacy markup survives in a local installation. */
.lsv-chat-topic-grid.compact,
.lsv-chat-start-chat{
  display:none!important;
}

/* Loading state sits near the top of the full Chat workspace. */
.lsv-chat-typing{
  margin-bottom:10px!important;
}

/* Mobile: retain the same one-workspace model and maximize usable height. */
@media(max-width:760px){
  .lsv-chat-explore-fixed .lsv-chat-explore-content{
    max-height:none!important;
  }
  .lsv-chat-body{
    max-height:none!important;
  }
}


/* ==========================================================================
   V17.30.7 — Ask LSV Reliable Close / Page-Local Open State
   [hidden] must override all full-height/flex layout rules.
   ========================================================================== */
.lsv-chat-panel[hidden]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.lsv-chat-panel:not([hidden]){
  visibility:visible;
  pointer-events:auto;
}
body:not(.lsv-chat-open){
  overflow:auto;
}


/* ==========================================================================
   V17.31.0 — Performance & Scalability Hardening
   ========================================================================== */
.lsv-chat-lazy-state{
  margin:14px 10px;
  padding:12px;
  border:1px solid #e3ebf4;
  border-radius:10px;
  background:#f8fbff;
  color:#65758a;
  font-size:11px;
  text-align:center;
}
.resource-card img,.resource-cover img,img[loading="lazy"]{
  content-visibility:auto;
}
.lsv-chat-panel,.card,.table-wrap{
  contain:layout style;
}


/* ==========================================================================
   V17.32.0 — Top Navigation Information Architecture Polish
   Long context menus use a compact two-column surface on desktop so top
   navigation stays concise without removing destinations.
   ========================================================================== */
.context-dropdown-menu-wide{
  min-width:420px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:5px!important;
  align-items:start!important;
}
.context-dropdown-menu-wide a{
  min-width:0;
}
@media(max-width:800px){
  .context-dropdown-menu-wide{
    min-width:0!important;
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   V17.33.0 — Insights & Reports Module UX Redesign
   Compact, interpretable, data-first presentation across the whole module.
   ========================================================================== */

.insights-ui-page{
  --insight-ink:#18324d;
  --insight-muted:#6c7d91;
  --insight-border:#e2e9f1;
  --insight-soft:#f7fafe;
  --insight-blue:#1765cf;
  --insight-green:#2f8a65;
  --insight-amber:#b6761b;
  --insight-red:#bd4149;
}

/* Main content uses more of the viewport without feeling crowded. */
.insights-ui-page .content{
  padding-top:14px!important;
  padding-left:18px!important;
  padding-right:18px!important;
  padding-bottom:28px!important;
  max-width:1600px;
  width:100%;
  margin-inline:auto;
}

/* Compact page heading: reduce vertical dominance and keep actions useful. */
.insights-ui-page .admin-page-heading,
.insights-ui-page .geographic-intelligence-heading,
.insights-ui-page .governance-heading{
  min-height:0!important;
  margin:0 0 12px!important;
  padding:0 0 11px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  border-bottom:1px solid var(--insight-border)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.insights-ui-page .admin-page-heading>div:first-child,
.insights-ui-page .geographic-intelligence-heading>div:first-child,
.insights-ui-page .governance-heading>div:first-child{
  min-width:0;
  max-width:850px;
}
.insights-ui-page .admin-page-heading>div:first-child>span,
.insights-ui-page .geographic-intelligence-heading>div:first-child>span,
.insights-ui-page .governance-heading>div:first-child>span{
  display:inline-block;
  margin:0 0 3px!important;
  color:#6b7f98!important;
  font-size:8.5px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.insights-ui-page .admin-page-heading h1,
.insights-ui-page .geographic-intelligence-heading h1,
.insights-ui-page .governance-heading h1{
  margin:0!important;
  color:var(--insight-ink)!important;
  font-size:clamp(20px,2vw,27px)!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
.insights-ui-page .admin-page-heading p,
.insights-ui-page .geographic-intelligence-heading p,
.insights-ui-page .governance-heading p{
  margin:5px 0 0!important;
  max-width:760px!important;
  color:var(--insight-muted)!important;
  font-size:10.5px!important;
  line-height:1.48!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.insights-ui-page .admin-page-actions,
.insights-ui-page .page-head-actions,
.insights-ui-page .geo-export-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  flex:0 0 auto;
}
.insights-ui-page .admin-page-actions .btn,
.insights-ui-page .page-head-actions .btn,
.insights-ui-page .geo-export-actions .btn{
  min-height:33px!important;
  padding:7px 10px!important;
  border-radius:8px!important;
  font-size:9px!important;
}

/* Compact filters/presets near top. */
.insights-ui-page form.card,
.insights-ui-page .executive-filter,
.insights-ui-page .action-filter,
.insights-ui-page .donor-builder-filter,
.insights-ui-page .rf-preset-bar,
.insights-ui-page .geo-analytics-tabs{
  margin-bottom:12px!important;
}
.insights-ui-page form.card:not(.action-create-form):not(.rf-form-card){
  padding:11px!important;
}
.insights-ui-page .rf-preset-bar,
.insights-ui-page .geo-analytics-tabs{
  min-height:0!important;
  padding:5px!important;
  border:1px solid var(--insight-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  gap:4px!important;
}
.insights-ui-page .rf-preset-bar a,
.insights-ui-page .geo-analytics-tabs a{
  padding:7px 10px!important;
  border-radius:7px!important;
  font-size:9px!important;
}

/* KPI cards: compact infographic cards, not oversized dashboard blocks. */
.insights-ui-page .admin-kpi-grid,
.insights-ui-page .admin-kpi-strip,
.insights-ui-page .geo-kpi-grid,
.insights-ui-page .donor-reach-grid,
.insights-ui-page .executive-governance-kpis{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:8px!important;
  margin:0 0 12px!important;
}
.insights-ui-page .admin-kpi-grid article,
.insights-ui-page .admin-kpi-strip article,
.insights-ui-page .geo-kpi-grid article,
.insights-ui-page .donor-reach-grid article,
.insights-ui-page .executive-governance-kpis article{
  position:relative;
  min-height:88px!important;
  padding:11px 12px 10px!important;
  border:1px solid var(--insight-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(18,49,91,.045)!important;
  overflow:hidden;
}
.insights-ui-page .admin-kpi-grid article::before,
.insights-ui-page .admin-kpi-strip article::before,
.insights-ui-page .geo-kpi-grid article::before,
.insights-ui-page .donor-reach-grid article::before,
.insights-ui-page .executive-governance-kpis article::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,#2a70d7,#79a9eb);
}
.insights-ui-page .admin-kpi-grid article>span,
.insights-ui-page .admin-kpi-strip article>span,
.insights-ui-page .geo-kpi-grid article>strong,
.insights-ui-page .donor-reach-grid article>strong,
.insights-ui-page .executive-governance-kpis article>span{
  display:block;
  margin:0 0 5px!important;
  color:var(--insight-ink)!important;
  font-size:clamp(20px,1.8vw,27px)!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}
.insights-ui-page .admin-kpi-grid article>strong,
.insights-ui-page .admin-kpi-strip article>strong,
.insights-ui-page .geo-kpi-grid article>span,
.insights-ui-page .donor-reach-grid article>span,
.insights-ui-page .executive-governance-kpis article>strong{
  display:block;
  color:#314b67!important;
  font-size:9.5px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
.insights-ui-page .admin-kpi-grid article>small,
.insights-ui-page .admin-kpi-strip article>small,
.insights-ui-page .geo-kpi-grid article>small,
.insights-ui-page .executive-governance-kpis article>small{
  display:block;
  margin-top:3px!important;
  color:#7c8b9d!important;
  font-size:8px!important;
  line-height:1.35!important;
}
.insights-ui-page .traffic-red::before{background:var(--insight-red)!important}
.insights-ui-page .traffic-amber::before{background:var(--insight-amber)!important}

/* Cards and sections: smaller title areas, more room for useful content. */
.insights-ui-page .card,
.insights-ui-page .admin-data-card,
.insights-ui-page .admin-analytics-panel,
.insights-ui-page .executive-panel,
.insights-ui-page .smart-quality-card{
  border-color:var(--insight-border)!important;
  border-radius:12px!important;
  box-shadow:0 5px 18px rgba(17,48,88,.045)!important;
}
.insights-ui-page .card{
  padding:13px!important;
}
.insights-ui-page .card>header,
.insights-ui-page .geo-card-header,
.insights-ui-page .admin-data-card>header{
  min-height:0!important;
  padding:0 0 9px!important;
  margin:0 0 10px!important;
  border-bottom:1px solid #edf1f5!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.insights-ui-page .card>header h2,
.insights-ui-page .geo-card-header h2,
.insights-ui-page .admin-data-card>header h2{
  margin:0!important;
  color:var(--insight-ink)!important;
  font-size:13px!important;
  line-height:1.25!important;
}
.insights-ui-page .card>header p,
.insights-ui-page .geo-card-header p,
.insights-ui-page .admin-data-card>header p{
  margin:3px 0 0!important;
  color:var(--insight-muted)!important;
  font-size:8.5px!important;
  line-height:1.4!important;
}
.insights-ui-page .geo-card-header>div>span,
.insights-ui-page .card>header>div>span{
  font-size:7.5px!important;
  font-weight:800!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
  color:#7890aa!important;
}

/* Tables: denser, easier to scan and interpret. */
.insights-ui-page .table-wrap{
  border:1px solid var(--insight-border)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  max-width:100%;
  overflow:auto!important;
}
.insights-ui-page .table{
  font-size:9px!important;
}
.insights-ui-page .table th{
  position:sticky;
  top:0;
  z-index:1;
  padding:8px 9px!important;
  background:#f5f8fc!important;
  color:#51677f!important;
  font-size:7.5px!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  white-space:nowrap;
  border-bottom:1px solid #dce5ef!important;
}
.insights-ui-page .table td{
  padding:8px 9px!important;
  line-height:1.35!important;
  vertical-align:middle!important;
}
.insights-ui-page .table tbody tr:nth-child(even){background:#fbfcfe}
.insights-ui-page .table tbody tr:hover{background:#f2f7fd!important}
.insights-ui-page .table td small{
  display:block;
  margin-top:2px;
  color:#7d8b9b;
  font-size:7.5px;
}

/* Forms: compact, consistent and easy to scan. */
.insights-ui-page label{
  color:#51657c;
  font-size:8.5px;
  font-weight:750;
}
.insights-ui-page .input,
.insights-ui-page select,
.insights-ui-page textarea{
  min-height:36px;
  padding-top:7px!important;
  padding-bottom:7px!important;
  border-radius:8px!important;
  font-size:9.5px!important;
}
.insights-ui-page textarea{min-height:78px}
.insights-ui-page .form-grid{
  gap:8px!important;
}
.insights-ui-page .btn{
  border-radius:8px!important;
  font-size:9px!important;
}

/* Multi-column layouts use balanced space. */
.insights-ui-page .admin-two-column,
.insights-ui-page .executive-governance-grid,
.insights-ui-page .smart-admin-grid,
.insights-ui-page .geo-quality-layout,
.insights-ui-page .action-tracker-layout,
.insights-ui-page .command-centre-grid{
  gap:12px!important;
}

/* Report catalogue becomes a compact visual selector. */
.insights-ui-page .enterprise-report-catalogue{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;
  gap:7px!important;
  margin-bottom:12px!important;
}
.insights-ui-page .enterprise-report-catalogue a{
  min-height:58px!important;
  padding:9px 10px!important;
  border-radius:10px!important;
  border:1px solid var(--insight-border)!important;
  background:#fff!important;
}
.insights-ui-page .enterprise-report-catalogue a>span{
  width:28px!important;height:28px!important;
  border-radius:8px!important;
  font-size:13px!important;
}
.insights-ui-page .enterprise-report-catalogue strong{font-size:9.5px!important}
.insights-ui-page .enterprise-report-catalogue small{font-size:7.5px!important;line-height:1.3!important}
.insights-ui-page .enterprise-report-catalogue a.active{
  border-color:#aac8ef!important;
  background:#f3f8ff!important;
}

/* Empty and quality states are compact and actionable. */
.insights-ui-page .admin-empty-state,
.insights-ui-page .geo-quality-clean{
  padding:16px!important;
  min-height:0!important;
  border-radius:10px!important;
}
.insights-ui-page .admin-empty-state strong,
.insights-ui-page .geo-quality-clean strong{font-size:10px!important}
.insights-ui-page .admin-empty-state p,
.insights-ui-page .geo-quality-clean p{font-size:8.5px!important}

/* Report preview: reduce decorative cover height and prioritize actual report. */
.insights-ui-page .donor-report-cover{
  min-height:0!important;
  padding:18px!important;
  border-radius:12px!important;
}
.insights-ui-page .donor-report-cover h1{
  font-size:22px!important;
  margin:4px 0!important;
}
.insights-ui-page .donor-report-section{
  padding:15px 0!important;
  gap:12px!important;
}
.insights-ui-page .donor-section-number{
  width:30px!important;height:30px!important;
  font-size:8px!important;
}
.insights-ui-page .donor-report-section h2{font-size:13px!important}
.insights-ui-page .donor-report-section p{font-size:9px!important}

/* Progress/health indicators read as infographics with smooth reveal. */
.insights-ui-page .action-progress i,
.insights-ui-page .geo-progress,
.insights-ui-page .command-health-meter i,
.insights-ui-page [class*="progress"] i{
  overflow:hidden;
}
.insights-ui-page .action-progress b,
.insights-ui-page .geo-progress b,
.insights-ui-page .command-health-meter b,
.insights-ui-page [class*="progress"] b{
  transform-origin:left center;
  animation:insightBarReveal .58s cubic-bezier(.2,.75,.25,1) both;
}
@keyframes insightBarReveal{
  from{transform:scaleX(0);opacity:.45}
  to{transform:scaleX(1);opacity:1}
}

/* Subtle page/card reveal — fast, useful and not decorative noise. */
.insights-ui-page .admin-kpi-grid article,
.insights-ui-page .admin-kpi-strip article,
.insights-ui-page .card,
.insights-ui-page .admin-data-card{
  animation:insightCardIn .28s ease-out both;
}
.insights-ui-page .admin-kpi-grid article:nth-child(2),
.insights-ui-page .admin-kpi-strip article:nth-child(2){animation-delay:.025s}
.insights-ui-page .admin-kpi-grid article:nth-child(3),
.insights-ui-page .admin-kpi-strip article:nth-child(3){animation-delay:.05s}
.insights-ui-page .admin-kpi-grid article:nth-child(4),
.insights-ui-page .admin-kpi-strip article:nth-child(4){animation-delay:.075s}
@keyframes insightCardIn{
  from{opacity:0;transform:translateY(4px)}
  to{opacity:1;transform:none}
}

/* Status indicators should communicate quickly. */
.insights-ui-page .performance-status,
.insights-ui-page .action-status,
.insights-ui-page .action-priority,
.insights-ui-page .admin-status-pill{
  border-radius:999px!important;
  padding:4px 7px!important;
  font-size:7.5px!important;
  font-weight:800!important;
  white-space:nowrap;
}

/* Keep large map/chart regions useful but not oversized. */
.insights-ui-page .geo-analytics-map-shell,
.insights-ui-page .admin-analytics-kenya-map{
  min-height:300px!important;
  max-height:520px;
}
.insights-ui-page canvas,
.insights-ui-page svg{
  max-width:100%;
}

/* Responsive layouts. */
@media(max-width:1050px){
  .insights-ui-page .admin-page-heading,
  .insights-ui-page .geographic-intelligence-heading,
  .insights-ui-page .governance-heading{
    align-items:flex-start!important;
  }
}
@media(max-width:800px){
  .insights-ui-page .content{
    padding:10px 10px 22px!important;
  }
  .insights-ui-page .admin-page-heading,
  .insights-ui-page .geographic-intelligence-heading,
  .insights-ui-page .governance-heading{
    display:block!important;
    padding-bottom:9px!important;
  }
  .insights-ui-page .admin-page-actions,
  .insights-ui-page .page-head-actions,
  .insights-ui-page .geo-export-actions{
    justify-content:flex-start!important;
    margin-top:8px!important;
  }
  .insights-ui-page .admin-kpi-grid,
  .insights-ui-page .admin-kpi-strip,
  .insights-ui-page .geo-kpi-grid,
  .insights-ui-page .donor-reach-grid,
  .insights-ui-page .executive-governance-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .insights-ui-page .enterprise-report-catalogue{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:480px){
  .insights-ui-page .admin-kpi-grid,
  .insights-ui-page .admin-kpi-strip,
  .insights-ui-page .geo-kpi-grid,
  .insights-ui-page .donor-reach-grid,
  .insights-ui-page .executive-governance-kpis,
  .insights-ui-page .enterprise-report-catalogue{
    grid-template-columns:1fr!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .insights-ui-page *,
  .insights-ui-page *::before,
  .insights-ui-page *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}


/* Insights navigation stays present but consumes less vertical space. */
.insights-ui-page .context-nav{
  min-height:46px!important;
}
.insights-ui-page .context-title,
.insights-ui-page .context-direct,
.insights-ui-page .context-dropdown>summary{
  min-height:36px!important;
}
.insights-ui-page .breadcrumbs{
  min-height:28px!important;
  padding-top:3px!important;
  padding-bottom:3px!important;
  font-size:8.5px!important;
}
