/* Lakshya Digital Library • V8 Enterprise UI */
.v8-page-intro{margin:0 0 24px;padding:27px 30px;border-radius:22px;background:linear-gradient(115deg,#102d47,#17575c);color:#fff;box-shadow:0 16px 35px rgba(20,49,65,.1)}
.v8-page-intro>span{display:block;color:#79e1d0;font:800 11px 'DM Sans',sans-serif;letter-spacing:.12em;margin-bottom:10px}
.v8-page-intro h3{font:800 clamp(23px,3vw,32px) 'Hind',sans-serif;margin:0 0 8px}
.v8-page-intro p{margin:0;font-size:14px;color:#d1e5e5;line-height:1.65}
.v8-system-divider{margin:34px 0 16px;padding-top:20px;border-top:1px solid #dde7ed;display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.v8-system-divider span{font-size:10px;letter-spacing:.15em;font-weight:800;color:#149c91}
.v8-system-divider strong{font-size:20px;color:#143447}
.v8-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:15px 0 24px}
.v8-grid .v7-metric{min-width:0}
.v8-action-strip{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:25px}
.v8-action,.v8-outline{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #cde4e3;background:#fff;color:#17665f;font-weight:800;padding:13px 16px;border-radius:12px;transition:background .18s,transform .18s,border-color .18s}
.v8-action span{font-size:17px}.v8-action:hover,.v8-outline:hover{background:#effaf7;border-color:#61c2b0;transform:translateY(-2px)}
.v8-section{background:#fff;border:1px solid #e5ebf0;border-radius:18px;margin:20px 0;overflow:hidden;box-shadow:0 5px 20px rgba(20,42,70,.035)}
.v8-section-head{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:20px 23px;background:#fafdfe;border-bottom:1px solid #eaf0f4}
.v8-section-head h3{font-size:19px;margin:0 0 4px;color:#16384d;font-weight:800}
.v8-section-head p{font-size:12px;color:#687f8d;margin:0;line-height:1.55}
.v8-section>.v8-history,.v8-section>.v8-queue,.v8-section>.v8-profile-head{margin:14px 20px}
.v8-section>.v8-form,.v8-section>.v8-form-slim,.v8-section>.v8-slot-list,.v8-section>.v8-empty{margin:20px 23px}
.v8-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}
.v8-form label,.v8-form-slim label{display:block;min-width:0;color:#3b6376;font-size:13px;font-weight:800}
.v8-form input,.v8-form select,.v8-form textarea,.v8-form-slim select{display:block;width:100%;min-width:0;border:1px solid #d4e2e8;background:#fff;color:#18384a;border-radius:11px;margin-top:6px;padding:12px;font:600 15px 'Hind',sans-serif;outline-offset:2px}
.v8-form input:focus,.v8-form select:focus,.v8-form textarea:focus,.v8-form-slim select:focus{border-color:#18a998;box-shadow:0 0 0 3px #18a9981e}
.v8-form .v8-full,.v8-form-foot{grid-column:1/-1}.v8-form-foot{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.v8-form-foot small{max-width:370px;color:#768b9a;font-size:12px}
.v8-primary{background:#0d9987;color:#fff;border:1px solid #0d9987;border-radius:10px;padding:12px 21px;font-weight:800;font-size:14px;transition:background .2s,transform .2s;min-height:44px}
.v8-primary:hover{background:#087668;transform:translateY(-1px)}
.v8-badge{display:inline-block;padding:4px 9px;border-radius:15px;font-size:11px;font-weight:800;background:#eef2f6;color:#566c7e}
.v8-badge.good{background:#e0f8eb;color:#137b57}.v8-badge.warm{background:#fff1dc;color:#a56f1d}
.v8-history{border:1px solid #e5eef0;border-radius:12px;background:#fdfefe;padding:15px 17px;margin-bottom:12px;overflow-wrap:anywhere}
.v8-history>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v8-history strong{color:#153a50;font-size:14px}.v8-history small{display:block;color:#8a9ca8;font-size:11px}
.v8-history p{margin:9px 0 0;color:#607d8c;font-size:13px;line-height:1.65}
.v8-history button{margin-top:10px}
.v8-queue{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 15px;border:1px solid #e3ecf2;background:#fff;border-radius:12px;margin-bottom:9px}
.v8-queue b,.v8-queue small{display:block}.v8-queue small{color:#7d8f9d;line-height:1.4}
.v8-avatar{width:47px;height:47px;display:grid;place-items:center;border-radius:13px;background:#d9f7ee;color:#076f5d;font-weight:800;font-size:20px}
.v8-profile-head{display:flex;align-items:center;gap:13px;border:1px solid #dff1ed;background:#f4fcf9;border-radius:14px;padding:16px 21px;margin-bottom:17px}
.v8-profile-head strong,.v8-profile-head small{display:block}.v8-profile-head strong{font-size:20px;color:#173e4f}.v8-profile-head small{font-size:12px;color:#6d8996}
.v8-empty{padding:14px;color:#718996;font-size:13px}.v8-alert{padding:20px 24px;border-radius:14px;background:#fff7e9;border:1px solid #f6ddab;color:#815919;margin:15px 0}
.v8-alert p{margin:6px 0 0}.v8-alert code{white-space:normal;overflow-wrap:anywhere}
.v8-slot-list{display:grid;grid-template-columns:1fr;gap:9px}
.v8-slot-row{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 15px;background:#f5fafc;border:1px solid #e3ebee;border-radius:12px}
.v8-slot-row strong,.v8-slot-row small{display:block}.v8-slot-row strong{font-size:13px;color:#23495e}.v8-slot-row small{color:#71899c;font-size:12px}
.v8-slot-editor{border-top:1px dashed #cadcdd;padding-top:18px}
.v8-section .v8-slot-editor{margin-bottom:26px}
.v8-bars{display:flex;align-items:flex-end;gap:12px;min-height:200px;overflow:auto;max-width:100%;padding:25px;justify-content:flex-start}
.v8-bars>div{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:54px}
.v8-bars span{font-size:10px;color:#667b91;white-space:nowrap}.v8-bars i{display:block;background:linear-gradient(#24cab0,#096f80);width:30px;border-radius:7px 7px 2px 2px}.v8-bars small{font-size:12px;color:#465d70;font-weight:700}
.v8-footnote{font-size:12px;color:#8597a4;line-height:1.6}
.v8-section .data-table-wrap{width:100%}
.v8-section .v8-form+.v8-form{border-top:1px dashed #e0e8eb;padding-top:20px}
@media (max-width:900px){.v8-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:590px){.v8-page-intro{padding:18px 19px;border-radius:14px}.v8-page-intro h3{font-size:23px}.v8-grid{gap:9px}.v8-section-head{padding:16px}.v8-section>.v8-form,.v8-section>.v8-form-slim,.v8-section>.v8-slot-list,.v8-section>.v8-empty{margin:15px}.v8-form{grid-template-columns:1fr;gap:13px}.v8-section>.v8-history,.v8-section>.v8-queue{margin:11px}.v8-action-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.v8-action{font-size:12px;gap:5px;padding:11px}.v8-slot-row{padding:10px}.v8-slot-row strong{font-size:12px}.v8-section-head h3{font-size:17px}}
@media(hover:none){.v8-action:hover,.v8-outline:hover,.v8-primary:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.v8-action,.v8-outline,.v8-primary{transition:none!important;transform:none!important}}
