﻿/* OCSE x NAMO SHIKSHA — MVC additions on top of ocse.css (design system v5). Keep overrides here, never in ocse.css. */
:root { --pbar-h: 0px; }
body { margin: 0; }
.validation-summary-valid, .field-validation-valid { display: none; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.input-validation-error { border-color: var(--crit) !important; }
.field .hint.err:empty { display: none; }
.mono { font-family: var(--font-mono); }
.spec-ref { margin-top: 28px; opacity: .7; }

/* public homepage */
.hero-mvc { padding: 56px 0 36px; background: linear-gradient(180deg, var(--tint) 0%, var(--canvas) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero-mvc h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 18px 0 12px; color: var(--ink); }
.status-pill { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; text-decoration: none; }
.status-pill .i { width: 16px; height: 16px; color: var(--leaf); }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-art .seal { width: 220px; height: 220px; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; box-shadow: 0 18px 50px rgba(15, 26, 61, .12); }
.hero-art .seal img { width: 78%; height: 78%; object-fit: contain; }
.hero-art .marks { display: flex; gap: 14px; }
.hero-art .marks img { width: 54px; height: 54px; object-fit: contain; }
.figures .kpi .v { font-size: 34px; }
.families { grid-template-columns: repeat(5, 1fr); }
.fam { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.fam img { height: 64px; object-fit: contain; align-self: flex-start; }
.fam h3 { margin: 0; font-size: 16px; }
.fam .explore { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--navy-3); }
.navy-band { background: var(--navy); color: #fff; }
.navy-band h2, .navy-band .lead { color: #fff; }
.navy-band .tbl { background: #fff; color: var(--ink); border-radius: var(--r-sm); }
.info-sec { margin-bottom: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filters .chip { text-decoration: none; }
.filters .chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* apps */
.app .top .logout { margin: 0; }
.app .side a.ph { cursor: default; }
.firewall { display: flex; gap: 8px; align-items: center; padding: 8px 16px; background: var(--maroon); color: #fff; font-size: 12.5px; }
.firewall .i { width: 16px; height: 16px; }

@media (max-width: 1100px) {
    .families { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art .seal { width: 160px; height: 160px; }
    .families, .grid.g4, .grid.g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .families, .grid.g4, .grid.g3, .grid.g2 { grid-template-columns: 1fr; }
}

/* Sidebar "next build step" items use the prototype class .ph, which is also the page-header class
   (.ph = flex, space-between, wrap, margin-bottom). Restore normal sidebar alignment for links. */
.app .side a.ph { justify-content: flex-start; align-items: center; flex-wrap: nowrap; margin-bottom: 0; gap: 10px; opacity: .8; }
.app .side a.ph span { flex: 0 1 auto; min-width: 0; }
.app .side a.ph::after { flex: none; }
