/* Monthly All-India mocks: calendar, rank list, my result and the shareable rank card. Prefix: ai- */
.ai-cal { display: grid; gap: 10px; margin: 0 0 20px; }
.ai-cal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 2px; }
.ai-cal__head h2 { margin: 0; font-size: 18px; font-weight: 800; color: #0d1b2a; }
.ai-cal__head span { color: #6a7687; font-size: 13px; }
.ai-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fff; }
.ai-row.is-live { border-color: #f3c7c7; box-shadow: 0 0 0 3px rgba(198, 40, 40, .06); }
.ai-date { display: grid; place-items: center; height: 64px; border-radius: 12px; background: #0b2236; color: #fff; line-height: 1; }
.ai-date b { font-size: 24px; font-weight: 800; }
.ai-date span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #f2a52b; margin-top: -10px; }
.ai-row.is-past .ai-date { background: #e9edf3; color: #3d4a5c; }
.ai-row.is-past .ai-date span { color: #6a7687; }
.ai-row h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; color: #0d1b2a; }
.ai-row p { margin: 0; font-size: 13px; color: #6a7687; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ai-row p i { margin-right: 4px; }
.ai-row .is-live-txt { color: #c62828; font-weight: 800; }
.ai-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ai-remind[aria-pressed="true"] { background: #fff6e6 !important; border-color: #f2a52b !important; color: #9a5b00 !important; }
@media (max-width: 640px) { .ai-row { grid-template-columns: 52px minmax(0, 1fr); } .ai-date { height: 52px; } .ai-date b { font-size: 20px; } .ai-acts { grid-column: 1 / -1; justify-content: flex-start; } }

/* My result */
.ai-me { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #0b2236, #123f63); color: #fff; margin-bottom: 20px; }
.ai-me__rank { display: grid; align-content: center; justify-items: start; gap: 4px; }
.ai-me__rank small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f2a52b; }
.ai-me__rank strong { font-size: 56px; line-height: 1; font-weight: 800; }
.ai-me__rank span { color: #b9c9da; font-size: 14px; }
.ai-me__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.ai-me__grid div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.ai-me__grid dt { font-size: 12px; color: #b9c9da; font-weight: 700; margin: 0 0 4px; }
.ai-me__grid dd { margin: 0; font-size: 20px; font-weight: 800; }
.ai-me__grid dd small { font-size: 12.5px; font-weight: 600; color: #b9c9da; }
@media (max-width: 720px) { .ai-me { grid-template-columns: 1fr; } .ai-me__rank strong { font-size: 44px; } }

.ai-share { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.ai-share .el-btn--wa { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }

/* Rank list */
.ai-board { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.ai-board th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6a7687; padding: 10px 12px; border-bottom: 1px solid #e3e8ef; background: #f8fafc; }
.ai-board td { padding: 10px 12px; border-bottom: 1px solid #eef1f6; color: #0d1b2a; }
.ai-board tr.is-me td { background: #fff6e6; font-weight: 800; }
.ai-board .ai-n { width: 64px; font-weight: 800; }
.ai-medal { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; }
.ai-medal--1 { background: #d4a017; } .ai-medal--2 { background: #9aa5b1; } .ai-medal--3 { background: #b06f3c; }
.ai-wait { display: grid; justify-items: center; gap: 8px; padding: 34px 16px; text-align: center; color: #3d4a5c; }
.ai-wait i { font-size: 30px; color: #f2a52b; }
.ai-wait strong { font-size: 18px; color: #0d1b2a; }

/* Public rank card page */
.ai-cardpage { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px 80px; background: #f4f6fa; }
.ai-card { width: min(440px, 100%); border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #0b2236 0%, #123f63 70%, #1b5a86 100%); color: #fff; box-shadow: 0 24px 60px -24px rgba(11, 34, 54, .6); text-align: center; padding: 30px 26px 26px; position: relative; }
.ai-card__brand { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; }
.ai-card__brand img { width: 30px; height: 32px; }
.ai-card__kicker { margin: 18px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #f2a52b; }
.ai-card h1 { margin: 0; font-size: 20px !important; color: #fff !important; line-height: 1.3; }
.ai-card__rank { margin: 22px auto 6px; font-size: 76px; font-weight: 800; line-height: 1; }
.ai-card__of { color: #b9c9da; font-size: 15px; }
.ai-card__name { margin: 16px 0 0; font-size: 18px; font-weight: 800; }
.ai-card__facts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.ai-card__facts span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; }
.ai-card__cta { margin-top: 18px; font-size: 13px; color: #b9c9da; }
.ai-cardpage__acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }

/* Current affairs page (ca-) */
.ca-today { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #0b2236, #123f63); color: #fff; margin-bottom: 24px; }
.ca-today small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f2a52b; margin-bottom: 6px; }
.ca-today h2 { margin: 0 0 6px; font-size: 22px !important; color: #fff !important; }
.ca-today p { margin: 0; color: #b9c9da; font-size: 14px; }
.ca-today .ca-done { color: #7ee2a8; font-weight: 800; }
.ca-streak { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(242, 165, 43, .16); color: #ffcf70; font-weight: 800; font-size: 13px; margin-top: 10px; }
.ca-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ca-grid h2 { font-size: 18px !important; margin: 0 0 12px !important; }
.ca-pdf { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fff; margin-bottom: 10px; }
.ca-pdf i.fa-file-pdf { font-size: 26px; color: #c62828; }
.ca-pdf div { flex: 1; min-width: 0; }
.ca-pdf strong { display: block; color: #0d1b2a; font-size: 14.5px; }
.ca-pdf span { color: #6a7687; font-size: 12.5px; }
.ai-row .is-done-txt { color: #128a4e; font-weight: 800; }
@media (max-width: 900px) { .ca-grid { grid-template-columns: 1fr; } .ca-today { grid-template-columns: 1fr; } }

/* Learning loop: practice builder, revision, progress (lp-) */
.lp-rev { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e3e8ef; margin-bottom: 20px; }
.lp-rev.is-due { border-color: #f2c46b; background: #fffaf0; }
.lp-rev__n { display: grid; justify-items: center; min-width: 68px; padding: 8px; border-radius: 12px; background: #0b2236; color: #fff; line-height: 1.1; }
.lp-rev__n b { font-size: 26px; }
.lp-rev__n span { font-size: 11px; color: #f2a52b; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.lp-rev strong { color: #0d1b2a; font-size: 15.5px; }
.lp-rev p { margin: 2px 0 0; color: #6a7687; font-size: 13.5px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.lp-grid .el-form { display: grid; gap: 14px; }
.lp-sizes { display: flex; gap: 6px; }
.lp-sizes label { margin: 0; cursor: pointer; }
.lp-sizes input { position: absolute; opacity: 0; }
.lp-sizes span { display: grid; place-items: center; min-width: 46px; height: 42px; border: 1.5px solid #e3e8ef; border-radius: 10px; font-weight: 800; color: #3d4a5c; }
.lp-sizes input:checked + span { background: #0b2236; border-color: #0b2236; color: #fff; }
.lp-sizes input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242, 165, 43, .45); }
.lp-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #eef1f6; }
.lp-item:first-of-type { border-top: 0; }
.lp-item div { flex: 1; min-width: 0; }
.lp-item strong { display: block; font-size: 14px; color: #0d1b2a; }
.lp-item small { color: #6a7687; font-size: 12px; }
.lp-score { font-weight: 800; color: #128a4e; font-size: 13.5px; white-space: nowrap; }
.lp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.lp-kpis div { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #e3e8ef; }
.lp-kpis span { display: block; font-size: 12.5px; color: #6a7687; font-weight: 700; }
.lp-kpis b { font-size: 24px; color: #0d1b2a; }
.lp-kpis small { display: block; color: #6a7687; font-size: 11.5px; }
.lp-kpis .is-up, .lp-sec .is-up { color: #128a4e; } .lp-kpis .is-down, .lp-sec .is-down { color: #c62828; }
.lp-band { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; margin-bottom: 18px; border: 1px solid; }
.lp-band i { font-size: 22px; margin-top: 2px; }
.lp-band p { margin: 4px 0 0; font-size: 14px; }
.lp-band.is-above { background: #e7f6ee; border-color: #b7e4c9; color: #0f6b3c; }
.lp-band.is-near { background: #fff6e6; border-color: #f6dfb5; color: #7a4b00; }
.lp-band.is-below { background: #fdecec; border-color: #f3c7c7; color: #8a1c1c; }
.lp-chart { width: 100%; height: auto; display: block; margin: 4px 0 10px; }
.lp-chart .lp-area { fill: rgba(22, 104, 196, .1); }
.lp-chart .lp-line { fill: none; stroke: #1668c4; stroke-width: 2.5; stroke-linejoin: round; }
.lp-chart .lp-dot { fill: #fff; stroke: #1668c4; stroke-width: 2; }
.lp-chart .lp-cut { stroke: #c62828; stroke-dasharray: 5 5; stroke-width: 1.5; }
.lp-chart .lp-cut-t { fill: #c62828; font-size: 11px; font-weight: 700; }
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.lp-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: baseline; }
.lp-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0d1b2a; }
.lp-list small { color: #6a7687; } .lp-list em { font-style: normal; color: #6a7687; font-size: 12px; }
.lp-sec { padding: 10px 0; border-top: 1px solid #eef1f6; }
.lp-sec:first-of-type { border-top: 0; }
.lp-sec__top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.lp-sec__top em { font-style: normal; font-size: 12px; font-weight: 800; }
.lp-sec small { color: #6a7687; font-size: 12px; }
.lp-bar { height: 8px; border-radius: 999px; background: #eef1f6; overflow: hidden; margin: 6px 0; }
.lp-bar span { display: block; height: 100%; border-radius: inherit; }
.lp-bar .is-good { background: #128a4e; } .lp-bar .is-mid { background: #f2a52b; } .lp-bar .is-low { background: #c62828; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: 1fr; } .lp-rev { grid-template-columns: auto minmax(0, 1fr); } .lp-rev form { grid-column: 1 / -1; } }
