/* Hostel dashboard — React shell (this page only) */
.hst-react-mount {
    min-height: 8rem;
}
.hst-react-mount__loading {
    margin: 0;
    padding: 1.5rem 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}
.hst-react {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    font-family: Inter, system-ui, sans-serif;
}
.hst-react h2,
.hst-react h3 {
    font-family: Poppins, Inter, system-ui, sans-serif;
}
.hst-react__hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.6rem;
    border-radius: 1.15rem;
    color: #fff;
    background: linear-gradient(105deg, #0f766e 0%, #0d9488 48%, #4f6ef7 100%);
    box-shadow: 0 14px 36px rgba(15, 118, 110, 0.22);
}
.hst-react__hero::after {
    content: "";
    position: absolute;
    right: -12%;
    top: -55%;
    width: 48%;
    height: 180%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}
.hst-react__hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
}
.hst-react__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
}
.hst-react__title {
    margin: 0.35rem 0 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.hst-react__meta {
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    opacity: 1;
}
.hst-react__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.hst-react__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}
.hst-react__btn:hover {
    transform: translateY(-1px);
}
.hst-react__btn--primary {
    background: #fff;
    color: #0f766e;
}
.hst-react__btn--ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.hst-react__ring {
    position: relative;
    z-index: 1;
    width: 6.1rem;
    height: 6.1rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#fff var(--occ, 0%), rgba(255, 255, 255, 0.22) 0);
    box-shadow: inset 0 0 0 8px rgba(15, 118, 110, 0.18);
}
.hst-react__ring-inner {
    width: 4.35rem;
    height: 4.35rem;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hst-react__ring-val {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}
.hst-react__ring-lbl {
    margin-top: 0.15rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}
.hst-react__kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .hst-react__kpis--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .hst-react__kpis--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .hst-react__kpis--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Tablet range (768-1023px) — self-fitting instead of stuck at 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .hst-react__kpis {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }
}
.hst-react__kpi {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 5.6rem;
    padding: 0.95rem 1.05rem;
    border-radius: 0.9rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.hst-react__kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}
.hst-react__kpi::before,
.hst-react__kpi::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}
.hst-react__kpi::before {
    right: -18%;
    top: -70%;
    width: 58%;
    height: 210%;
}
.hst-react__kpi::after {
    right: -12%;
    bottom: -80%;
    width: 50%;
    height: 160%;
    background: rgba(255, 255, 255, 0.1);
}
.hst-react__kpi-icon {
    position: relative;
    z-index: 1;
    font-size: 1.65rem;
    color: rgba(255, 255, 255, 0.42);
}
.hst-react__kpi-body {
    position: relative;
    z-index: 1;
    text-align: right;
    min-width: 0;
}
.hst-react__kpi-val {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.hst-react__kpi-val a {
    color: #fff;
    text-decoration: none;
}
.hst-react__kpi-lbl {
    margin: 0.28rem 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.94;
}
.hst-react__kpi-link {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}
.hst-react__kpi-link:hover {
    text-decoration: underline;
    opacity: 1;
}
.hst-react__kpi--amber { background: linear-gradient(90deg, #ff7a4d 0%, #f7c948 100%); }
.hst-react__kpi--pink { background: linear-gradient(90deg, #e11d73 0%, #fb7185 100%); }
.hst-react__kpi--teal { background: linear-gradient(90deg, #0f766e 0%, #4ade80 100%); }
.hst-react__kpi--indigo { background: linear-gradient(90deg, #4f6ef7 0%, #8b5cf6 100%); }
.hst-react__kpi--sky { background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%); }
.hst-react__panel {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 1rem;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.045);
}
.hst-react__panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}
.hst-react__panel-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}
.hst-react__panel-sub {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}
.hst-react__link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f766e;
    text-decoration: none;
}
.hst-react__link:hover { text-decoration: underline; }
.hst-react__hub-group + .hst-react__hub-group { margin-top: 1.1rem; }
.hst-react__hub-title {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}
.hst-react__hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}
@media (min-width: 700px) {
    .hst-react__hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .hst-react__hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hst-react__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 8.5rem;
    padding: 1rem 1.05rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid #e8edf5;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.hst-react__card:hover {
    transform: translateY(-3px);
    border-color: #99f6e4;
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.12);
}
.hst-react__card--soon {
    opacity: 0.62;
    cursor: default;
}
.hst-react__card--soon:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hst-react__card-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d9488, #4f6ef7);
    color: #fff;
    font-size: 0.9rem;
}
.hst-react__card-title {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}
.hst-react__card-desc {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    flex: 1;
}
.hst-react__card-cta {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #0f766e;
}
.hst-react__stage {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.hst-react__stage:last-child { border-bottom: 0; }
.hst-react__stage-num {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    background: #e2e8f0;
    color: #64748b;
}
.hst-react__stage-num--done { background: #0d9488; color: #fff; }
.hst-react__stage-num--active { background: #f59e0b; color: #fff; }
.hst-react__tip {
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(180deg, #f0fdfa, #fff);
    border: 1px solid #ccfbf1;
}
.hst-react__tip ol {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    color: #334155;
    font-size: 0.8125rem;
    line-height: 1.55;
}
#hostel-react-root.hst-react-mounted > .hostel-v2-hero,
#hostel-react-root.hst-react-mounted > .grid,
#hostel-react-root.hst-react-mounted > .hostel-v2-panel,
#hostel-react-root.hst-react-mounted > .hostel-v2-roadmap,
#hostel-react-root.hst-react-mounted > .hostel-v2-tip {
    display: none;
}

/* School dashboard Live metrics — light pastel cards (nipun-franchise-dashboard-standalone.html).
   Scoped to #dash-metrics-react-root + --dash; hostel KPI boxes unchanged. */
#dash-metrics-react-root .hst-react__kpis--dash {
    gap: 0.65rem;
}
@media (min-width: 768px) {
    #dash-metrics-react-root .hst-react__kpis--dash {
        gap: 0.75rem;
    }
}
#dash-metrics-react-root .hst-react__kpi--dash {
    min-height: auto;
    padding: 12px;
    border-radius: 14px;
    gap: 10px;
    border: none !important;
    background: var(--dash-pc-bg, #f8f8fd) !important;
    color: var(--dash-pc-value, #0f172a);
    box-shadow: none !important;
    flex-direction: row-reverse;
    align-items: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#dash-metrics-react-root .hst-react__kpi--dash:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}
#dash-metrics-react-root .hst-react__kpi--dash::before,
#dash-metrics-react-root .hst-react__kpi--dash::after {
    display: none;
}
#dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-body {
    flex: 1;
    min-width: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}
#dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-lbl {
    order: 1;
    margin: 0 0 0.15rem;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--dash-pc-label, #7b7699) !important;
    opacity: 1;
}
#dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-val {
    order: 2;
    margin: 0;
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--dash-pc-value, #0f172a) !important;
    text-shadow: none !important;
}
#dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-link {
    order: 3;
    margin-top: 0.2rem;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--dash-pc-link, var(--dash-pc-value, #4338ca)) !important;
    opacity: 1;
}
#dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff !important;
    background: var(--dash-pc-icon, #64748b) !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}
/* 8-box palette — standalone light colors, shuffled across metrics */
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(1) {
    --dash-pc-bg: #e8f0ff;
    --dash-pc-label: #4d5b7c;
    --dash-pc-value: #1e3a8a;
    --dash-pc-icon: #3b82f6;
    --dash-pc-link: #1e3a8a;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(2) {
    --dash-pc-bg: #fef3c7;
    --dash-pc-label: #7a5321;
    --dash-pc-value: #92400e;
    --dash-pc-icon: #eab308;
    --dash-pc-link: #92400e;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(3) {
    --dash-pc-bg: #f6f4ff;
    --dash-pc-label: #6b6194;
    --dash-pc-value: #5b34d6;
    --dash-pc-icon: #7c3aed;
    --dash-pc-link: #5b34d6;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(4) {
    --dash-pc-bg: #fdeaf3;
    --dash-pc-label: #7c3f5d;
    --dash-pc-value: #be185d;
    --dash-pc-icon: #ec4899;
    --dash-pc-link: #be185d;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(5) {
    --dash-pc-bg: #fff3e2;
    --dash-pc-label: #7a5321;
    --dash-pc-value: #b45309;
    --dash-pc-icon: #f59e0b;
    --dash-pc-link: #b45309;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(6) {
    --dash-pc-bg: #e8f8ee;
    --dash-pc-label: #3f6b52;
    --dash-pc-value: #15803d;
    --dash-pc-icon: #22c55e;
    --dash-pc-link: #15803d;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(7) {
    --dash-pc-bg: #ede9ff;
    --dash-pc-label: #5c5489;
    --dash-pc-value: #4526ae;
    --dash-pc-icon: #6366f1;
    --dash-pc-link: #4526ae;
}
#dash-metrics-react-root .hst-react__kpi--dash:nth-child(8) {
    --dash-pc-bg: #ecfdf5;
    --dash-pc-label: #047857;
    --dash-pc-value: #065f46;
    --dash-pc-icon: #10b981;
    --dash-pc-link: #065f46;
}
body.fr-portal.fr-dash-nipunindia-fonts #dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-val {
    font-family: Poppins, Inter, system-ui, sans-serif !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}
body.fr-portal.fr-dash-nipunindia-fonts #dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-lbl {
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.25 !important;
}
body.fr-portal.fr-dash-nipunindia-fonts #dash-metrics-react-root .hst-react__kpi--dash .hst-react__kpi-link {
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
}
