/* Online diagnostic for the Vilenkin grade 6 course. Shared by admin, parent and teacher portals. */
:root {
  --v6-plum: #5f2580;
  --v6-violet: #7109aa;
  --v6-gold: #ffd300;
  --v6-ink: #211247;
  --v6-soft: #f6f1fb;
  --v6-line: #e5d9ee;
  --v6-good: #20835b;
  --v6-attention: #a66700;
  --v6-danger: #b53b51;
}

/* Administrator */
.v6-online-admin {
  margin: 12px 0 18px;
  padding: 18px;
  border: 1px solid #e3d6ec;
  border-radius: 16px;
  background: linear-gradient(135deg, #fcfaff, #f7f2fb);
}
.v6-online-admin.is-active { border-color: #c9ade0; background: linear-gradient(135deg, #fbf7ff, #f1e8f8); }
.v6-online-admin.is-completed { border-color: #badbcf; background: linear-gradient(135deg, #fbfffd, #f1faf6); }
.v6-online-admin>header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.v6-online-admin h4 { margin: 8px 0 5px; font-size: 18px; }
.diagnostic-percent-large { display: inline-block; margin-left: 12px; color: #8b3fd0; font-size: 32px; font-weight: 900; line-height: 1; vertical-align: middle; }
.sp3-pilot-metrics > div:first-child b { color: #7d35bf; font-size: 32px; font-weight: 900; line-height: 1.05; }
.v6-online-admin p { margin: 0; color: #6d6675; line-height: 1.45; }
.v6-online-state { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eee8f3; color: #6b567c; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.v6-online-state.is-assigned,.v6-online-state.is-progress { background: #e8daf3; color: #64258e; }
.v6-online-state.is-completed { background: #dff2ea; color: #176847; }
.v6-online-admin-actions,.v6-online-assign { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.v6-online-assign { margin-top: 16px; }
.v6-online-assign label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.v6-online-assign input { min-width: 180px; height: 42px; padding: 0 12px; border: 1px solid #d8cbe2; border-radius: 10px; background: #fff; font: inherit; }
.v6-online-meta,.v6-online-summary-grid,.v6-online-review-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 15px; }
.v6-online-meta>span,.v6-online-summary-grid>article,.v6-online-review-groups>article { padding: 13px; border: 1px solid #e4dae9; border-radius: 12px; background: #fff; }
.v6-online-meta small,.v6-online-meta b,.v6-online-summary-grid small,.v6-online-summary-grid b,.v6-online-review-groups small,.v6-online-review-groups b { display: block; }
.v6-online-meta small,.v6-online-summary-grid small,.v6-online-review-groups small { color: #797080; font-size: 11px; }
.v6-online-summary-grid b { margin-top: 4px; font-size: 17px; }
.v6-online-summary-grid ul { margin: 9px 0 0; padding-left: 17px; color: #625a68; font-size: 12px; }
.v6-online-summary-grid>article.is-good { border-top: 3px solid var(--v6-good); }
.v6-online-summary-grid>article.is-attention { border-top: 3px solid #d9931a; }
.v6-online-summary-grid>article.is-danger { border-top: 3px solid var(--v6-danger); }
.v6-online-admin>footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e1e7e4; color: #686f6c; font-size: 12px; }

.v6-online-review-modal { width: min(960px,calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: hidden; }
.v6-online-review-scroll { max-height: calc(100vh - 180px); padding: 18px 22px 26px; overflow: auto; }
.v6-online-review-groups { margin-top: 0; }
.v6-online-review-groups b { margin-top: 7px; font-size: 20px; }
.v6-online-review-groups span { float: right; margin-top: -23px; color: #6d477e; font-weight: 800; }
.v6-online-review-list { display: grid; gap: 12px; margin-top: 16px; }
.v6-online-review-list>article { overflow: hidden; border: 1px solid #e5dce9; border-left-width: 4px; border-radius: 13px; background: #fff; }
.v6-online-review-list>article.is-good { border-left-color: var(--v6-good); }
.v6-online-review-list>article.is-attention { border-left-color: #d9931a; }
.v6-online-review-list>article.is-danger { border-left-color: var(--v6-danger); }
.v6-online-review-list>article>header { display: flex; justify-content: space-between; gap: 14px; padding: 13px 15px; background: #fbf9fc; }
.v6-online-review-list header b,.v6-online-review-list header small { display: block; }
.v6-online-review-list header small { margin-top: 3px; color: #7c7480; }
.v6-online-review-list header strong { white-space: nowrap; }
.v6-online-review-list>article>div { display: grid; gap: 1px; }
.v6-online-review-list p { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 2px 9px; margin: 0; padding: 10px 15px; border-top: 1px solid #f0ebf2; }
.v6-online-review-list p>span { grid-row: 1/4; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e5f5ee; color: var(--v6-good); font-weight: 900; }
.v6-online-review-list p.is-wrong>span { background: #fde8ec; color: var(--v6-danger); }
.v6-online-review-list p small,.v6-online-review-list p em { grid-column: 2; font-size: 12px; }
.v6-online-review-list p em { color: #8b3242; font-style: normal; font-weight: 700; }

/* Parent dashboard invitation and result card */
.v6-parent-invitation { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; margin-bottom: 16px; padding: 22px 24px; overflow: hidden; border: 1px solid #d8c2e8; border-radius: 20px; background: radial-gradient(circle at 86% -20%, #ffd30055, transparent 33%), linear-gradient(130deg, #4a076f, #7109aa); color: #fff; box-shadow: 0 18px 36px #48036f24; }
.v6-parent-invitation-mark { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid #ffffff38; border-radius: 20px; background: #ffffff18; color: var(--v6-gold); font: 900 25px/1 Georgia,serif; transform: rotate(-3deg); }
.v6-parent-invitation-copy>span { color: var(--v6-gold); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.v6-parent-invitation h2 { margin: 5px 0; color: #fff; font-size: 23px; }
.v6-parent-invitation p,.v6-parent-invitation small { display: block; margin: 0; color: #f1e5f7; }
.v6-parent-invitation small { margin-top: 6px; font-size: 12px; }
.v6-parent-invitation-action { min-width: 225px; }
.v6-parent-invitation-action>b { display: block; margin-bottom: 8px; font-size: 12px; }
.v6-parent-invitation-action>div { height: 6px; overflow: hidden; border-radius: 999px; background: #ffffff30; }
.v6-parent-invitation-action>div i { display: block; height: 100%; border-radius: inherit; background: var(--v6-gold); }
.v6-parent-invitation-action button,.v6-parent-result-card header button { width: 100%; margin-top: 12px; padding: 11px 16px; border: 0; border-radius: 11px; background: var(--v6-gold); color: #3e1250; font: inherit; font-weight: 900; cursor: pointer; }
.v6-home-result>div>i { background: linear-gradient(145deg,#5f2580,#8f41b8)!important; }
.v6-parent-results { display: grid; gap: 14px; margin-top: 14px; }
.v6-parent-result-card { overflow: hidden; border: 1px solid #dfd0e9; border-radius: 17px; background: #fff; }
.v6-parent-result-card>header { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; background: linear-gradient(135deg,#faf6fd,#fffdf4); }
.v6-parent-result-card>header span { color: var(--v6-violet); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.v6-parent-result-card h3 { margin: 5px 0; color: #2e173c; font-size: 28px; }
.v6-parent-result-card header p { margin: 0; color: #74677c; }
.v6-parent-result-card header button { align-self: center; width: auto; min-width: 160px; margin: 0; }
.v6-parent-result-columns,.v6-online-result-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 14px 18px; }
.v6-parent-result-columns section,.v6-online-result-columns section { padding: 14px; border: 1px solid #e7e0ea; border-radius: 13px; }
.v6-parent-result-columns section.is-good,.v6-online-result-columns section.is-good { background: #f3fbf7; border-color: #cfe9dc; }
.v6-parent-result-columns section.is-attention,.v6-online-result-columns section.is-attention { background: #fffaf0; border-color: #f0dcae; }
.v6-parent-result-columns section.is-danger,.v6-online-result-columns section.is-danger { background: #fff5f6; border-color: #efced4; }
.v6-parent-result-columns ul,.v6-online-result-columns ul { margin: 9px 0 0; padding-left: 17px; color: #655d69; font-size: 12px; }
.v6-parent-result-card>footer { padding: 13px 20px; border-top: 1px solid #eee7f1; background: #fcfafc; }
.v6-parent-result-card>footer p { margin: 5px 0 0; color: #62596a; }

/* Full-screen pupil test */
body.v6-online-open { overflow: hidden; }
.v6-online-overlay { position: fixed; inset: 0; z-index: 1000; overflow: auto; background: #f7f2fa; color: #261533; }
.v6-online-loading { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; }
.v6-online-loading i { width: 44px; height: 44px; border: 4px solid #ddcce8; border-top-color: var(--v6-violet); border-radius: 50%; animation: v6-spin .8s linear infinite; }
@keyframes v6-spin { to { transform: rotate(360deg); } }
.v6-online-app { min-height: 100vh; background: linear-gradient(180deg,#fff 0 112px,#f7f2fa 112px); }
.v6-online-header { position: sticky; top: 0; z-index: 5; min-height: 96px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 20px; padding: 15px max(22px,calc((100vw - 1260px)/2)); border-bottom: 1px solid #e5d9eb; background: #fffdffed; backdrop-filter: blur(12px); }
.v6-online-header h1 { margin: 2px 0; font-size: 24px; }
.v6-online-header p { margin: 0; color: #736978; font-size: 13px; }
.v6-online-kicker { color: var(--v6-violet); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.v6-online-header>[data-v6-exit],.v6-online-result-view>[data-v6-close],.v6-online-result-view header>[data-v6-close] { width: 42px; height: 42px; border: 1px solid #ded2e4; border-radius: 12px; background: #fff; color: #3c2746; font-size: 25px; cursor: pointer; }
.v6-online-save-state { padding: 8px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.v6-online-save-state.is-saved { background: #e4f5ed; color: #18704c; }
.v6-online-save-state.is-saving,.v6-online-save-state.is-pending { background: #fff1cf; color: #8b5c00; }
.v6-online-save-state.is-error { background: #fde5e9; color: #9d2f43; }
.v6-online-progress { position: sticky; top: 96px; z-index: 4; height: 24px; background: #efe5f4; }
.v6-online-progress i { display: block; height: 4px; background: linear-gradient(90deg,var(--v6-violet),#d94cc4,var(--v6-gold)); transition: width .2s ease; }
.v6-online-progress span { display: block; padding: 4px max(22px,calc((100vw - 1260px)/2)); color: #6d6272; font-size: 10px; }
.v6-online-layout { width: min(1260px,calc(100% - 36px)); display: grid; grid-template-columns: 238px minmax(0,1fr); gap: 20px; margin: 24px auto; }
.v6-online-layout>aside { position: sticky; top: 140px; align-self: start; padding: 18px; border: 1px solid #e4d7ea; border-radius: 17px; background: #fff; box-shadow: 0 14px 32px #48036f0e; }
.v6-online-layout>aside>div { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-top: 13px; }
.v6-online-layout>aside button { aspect-ratio: 1; border: 1px solid #dfd3e5; border-radius: 9px; background: #fff; color: #493153; font-weight: 800; cursor: pointer; }
.v6-online-layout>aside button.is-current { border-color: var(--v6-violet); background: var(--v6-violet); color: #fff; box-shadow: 0 5px 12px #7109aa35; }
.v6-online-layout>aside button.is-done { border-color: #80c5a9; background: #eaf8f1; color: #18704c; }
.v6-online-layout>aside button.is-partial { border-color: #ebc66d; background: #fff8e8; color: #8a5d04; }
.v6-online-layout>aside p { margin: 13px 0 0; color: #827687; font-size: 11px; line-height: 1.4; }
.v6-online-layout>main { min-width: 0; padding: 24px; border: 1px solid #e4d7ea; border-radius: 20px; background: #fff; box-shadow: 0 16px 38px #48036f10; }
.v6-online-section { color: var(--v6-violet); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.v6-online-task-heading { display: flex; justify-content: space-between; gap: 20px; margin: 8px 0 18px; }
.v6-online-task-heading h2 { margin: 0; font-size: 25px; }
.v6-online-task-heading p { margin: 6px 0 0; color: #756b79; }
.v6-online-task-heading>b { min-width: 76px; align-self: start; padding: 8px 10px; border-radius: 10px; background: #f1e7f6; color: var(--v6-violet); text-align: center; }
.v6-online-parts { display: grid; gap: 12px; }
.v6-online-parts>section { padding: 16px; border: 1px solid #e9e1ec; border-radius: 15px; background: #fdfbfe; }
.v6-online-parts>section>header { display: flex; align-items: flex-start; gap: 11px; }
.v6-online-parts>section>header>span { flex: 0 0 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: #eadef0; color: var(--v6-plum); font-weight: 900; }
.v6-online-parts header b,.v6-online-parts header small { display: block; }
.v6-online-parts header small { margin-top: 3px; color: #85798a; }
.v6-online-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 10px; margin-top: 13px; }
.v6-online-field { display: grid; gap: 6px; color: #5e5264; font-size: 12px; font-weight: 700; }
.v6-online-field input,.v6-online-field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d9cce0; border-radius: 10px; background: #fff; color: #281632; font: inherit; outline: 0; }
.v6-online-field input:focus,.v6-online-field select:focus { border-color: var(--v6-violet); box-shadow: 0 0 0 3px #7109aa17; }
.v6-online-field.is-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.v6-online-field.is-choice legend { margin-bottom: 10px; color: #4d3458; font-size: 13px; font-weight: 900; }
.v6-online-choice-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.v6-online-choice-list label { position: relative; display: block; cursor: pointer; }
.v6-online-choice-list input[type="radio"] { position: absolute; width: 1px; min-height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.v6-online-choice-list span { min-height: 54px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; padding: 9px 12px; border: 2px solid #e2d7e7; border-radius: 12px; background: #fff; color: #35243e; transition: border-color .15s,background .15s,box-shadow .15s; }
.v6-online-choice-list span b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #f0e5f5; color: var(--v6-violet); font-size: 13px; }
.v6-online-choice-list span em { min-width: 0; font-size: 15px; font-style: normal; font-weight: 800; line-height: 1.35; }
.v6-online-choice-list label:hover span { border-color: #c49bd7; background: #fdf9ff; }
.v6-online-choice-list input:focus-visible+span { box-shadow: 0 0 0 4px #7109aa22; }
.v6-online-choice-list input:checked+span { border-color: var(--v6-violet); background: #f4eaf9; box-shadow: 0 8px 20px #7109aa18; }
.v6-online-choice-list input:checked+span b { background: var(--v6-violet); color: #fff; }
.v6-online-task-actions { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; margin-top: 20px; }
.v6-online-task-actions button,.v6-online-result-view>footer button { min-height: 44px; padding: 10px 17px; border: 1px solid #dacde1; border-radius: 11px; background: #fff; color: #4d3458; font: inherit; font-weight: 900; cursor: pointer; }
.v6-online-task-actions button:disabled { opacity: .45; cursor: default; }
.v6-online-task-actions .is-next { border-color: var(--v6-violet); background: var(--v6-violet); color: #fff; }
.v6-online-task-actions .is-finish { justify-self: center; border-color: #e0b900; background: var(--v6-gold); color: #3d164e; }

.v6-online-result-view { width: min(1120px,calc(100% - 32px)); margin: 24px auto; overflow: hidden; border: 1px solid #dfd1e6; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px #48036f20; }
.v6-online-result-view>header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 26px; background: radial-gradient(circle at 90% 0,#ffd30033,transparent 35%),linear-gradient(135deg,#f7effc,#fff); }
.v6-online-result-view h1 { margin: 4px 0; }
.v6-online-result-view header p { margin: 0; color: #6e6174; }
.v6-online-result-score { width: 112px; height: 112px; display: grid; place-content: center; border-radius: 50%; background: var(--v6-violet); color: #fff; text-align: center; box-shadow: inset 0 0 0 8px #ffffff22,0 10px 28px #7109aa35; }
.v6-online-result-score span { font-size: 27px; font-weight: 900; }
.v6-online-result-score small { color: #eadcf0; }
.v6-online-result-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 18px; }
.v6-online-result-groups article { padding: 14px; border: 1px solid #e9e0ed; border-radius: 13px; }
.v6-online-result-groups article>div { display: flex; justify-content: space-between; gap: 12px; }
.v6-online-result-groups article span { color: #756a79; white-space: nowrap; }
.v6-online-result-groups article>i { display: block; height: 7px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #eee7f0; }
.v6-online-result-groups article>i em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--v6-violet),#c744b5); }
.v6-online-result-tasks { padding: 0 18px 20px; }
.v6-online-result-tasks>div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.v6-online-result-tasks span { display: flex; justify-content: space-between; gap: 9px; padding: 10px; border-left: 4px solid #d49b28; border-radius: 8px; background: #faf7fb; font-size: 11px; }
.v6-online-result-tasks span.is-good { border-left-color: var(--v6-good); }
.v6-online-result-tasks span.is-danger { border-left-color: var(--v6-danger); }
.v6-online-result-view>footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; border-top: 1px solid #e9e1ec; background: #fbf9fc; }
.v6-online-result-view>footer p { margin: 0; color: #6f6574; font-size: 12px; }
.v6-online-result-view>footer button { border-color: var(--v6-violet); background: var(--v6-violet); color: #fff; white-space: nowrap; }

/* Teacher review */
.v6-teacher-result-card { cursor: pointer; border-left: 4px solid #d8a21d!important; transition: transform .16s ease,box-shadow .16s ease; }
.v6-teacher-result-card.is-approved { border-left-color: var(--v6-good)!important; }
.v6-teacher-result-card:hover,.v6-teacher-result-card:focus { transform: translateY(-2px); box-shadow: 0 15px 32px #29157a18; outline: 0; }
.v6-teacher-score { display: grid; grid-template-columns: auto auto minmax(80px,1fr) auto; align-items: center; gap: 7px; margin: 13px 0; }
.v6-teacher-score strong { color: #3914af; font-size: 30px; line-height: 1; }
.v6-teacher-score>span,.v6-teacher-score>b { font-size: 12px; }
.v6-teacher-score i,.v6-teacher-review-groups i { display: block; height: 7px; overflow: hidden; border-radius: 999px; background: #ece8f7; }
.v6-teacher-score i em,.v6-teacher-review-groups i em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3914af,#876ed7); }
.v6-teacher-result-card>footer { display: flex; justify-content: space-between; gap: 12px; color: #68607a; }
.v6-teacher-result-card>footer b { color: #3914af; }
.teacher-modal:has(.v6-teacher-review) { width: min(980px,100%); }
.v6-teacher-review { display: grid; gap: 15px; }
.v6-teacher-review-summary { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 14px; }
.v6-teacher-review-summary>div { display: grid; place-content: center; padding: 18px; border-radius: 15px; background: linear-gradient(145deg,#200772,#6a48d7); color: #fff; text-align: center; }
.v6-teacher-review-summary>div span { color: #dcd5ff; font-size: 11px; }
.v6-teacher-review-summary>div strong { font-size: 38px; }
.v6-teacher-review-summary>div>b { margin-top: 5px; color: #fff; font-size: 34px; font-weight: 900; line-height: 1; }
.v6-teacher-review-summary>div strong small { font-size: 13px; }
.v6-teacher-review:not(.oge8-teacher-review) .v6-teacher-review-summary { grid-template-columns: 170px minmax(0,1fr); align-items: start; }
.v6-teacher-review:not(.oge8-teacher-review) .v6-teacher-review-summary>div { min-height: 122px; align-self: start; padding: 14px; }
.v6-teacher-review:not(.oge8-teacher-review) .v6-teacher-review-summary>div strong { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-top: 9px; color: #fff; font-size: 30px; line-height: 1; }
.v6-teacher-review:not(.oge8-teacher-review) .v6-teacher-review-summary>div strong span { color: inherit; font-size: inherit; }
.v6-teacher-review:not(.oge8-teacher-review) .v6-teacher-review-summary>div>b { margin-top: 8px; font-size: 28px; }
.v6-teacher-review:not(.oge8-teacher-review) .v6-teacher-review-summary>div strong small { font-size: 12px; }
.v6-teacher-review-summary>article { padding: 17px; border: 1px solid #e5e0f3; border-radius: 15px; background: #faf9ff; }
.v6-teacher-review-summary h3 { margin: 10px 0 5px; }
.v6-teacher-review-summary p { margin: 0; color: #6d6680; }
.v6-teacher-review-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.v6-teacher-review-groups article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; padding: 12px; border: 1px solid #e3def0; border-radius: 12px; }
.v6-teacher-review-groups small,.v6-teacher-review-groups i { grid-column: 1/-1; }
.v6-teacher-review-groups span { color: #6f6780; font-size: 11px; }
.v6-teacher-review-columns { display: grid; grid-template-columns: minmax(210px,.65fr) minmax(0,1.35fr); align-items: start; gap: 10px; }
.v6-teacher-review-columns section { align-self: start; padding: 14px; border: 1px solid #cfe7db; border-radius: 13px; background: #f4fbf7; }
.v6-teacher-review-columns section.is-attention { border-color: #efdbb0; background: #fffaf0; }
.v6-teacher-review-columns h3 { margin: 0; }
.v6-teacher-review-columns p { margin: 10px 0 0; color: #645d70; }
.v6-topic-chip-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 9px; margin: 11px 0 0; padding: 0; list-style: none; color: #645d70; }
.v6-topic-chip-list.is-strength { grid-template-columns: 1fr; }
.v6-topic-chip-list li { min-width: 0; padding: 7px 10px; border: 1px solid #ead9ba; border-radius: 9px; background: #fffdf8; line-height: 1.25; }
.v6-topic-chip-list.is-strength li { border-color: #cfe7db; background: #fbfffd; }
.v6-topic-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 11px; border: 1px solid #e7cfa2; border-radius: 9px; background: #fff9ed; color: #27134e; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; }
.v6-topic-toggle:hover { border-color: #d5aa5e; background: #fff4df; }
.v6-topic-toggle span { color: #786f82; font-size: 14px; line-height: 1; }
.v6-teacher-answer-details { border: 1px solid #ded8ed; border-radius: 13px; }
.v6-teacher-answer-details>summary { padding: 14px 16px; color: #3914af; font-weight: 900; cursor: pointer; }
.v6-teacher-answer-details>div { max-height: 460px; display: grid; gap: 9px; padding: 0 12px 12px; overflow: auto; }
.v6-teacher-answer-details article { overflow: hidden; border: 1px solid #e4e0ec; border-left: 4px solid #d39a22; border-radius: 10px; }
.v6-teacher-answer-details article.is-good { border-left-color: var(--v6-good); }
.v6-teacher-answer-details article.is-danger { border-left-color: var(--v6-danger); }
.v6-teacher-answer-details article>header { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #f8f7fc; }
.v6-teacher-answer-details p { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 2px 8px; margin: 0; padding: 9px 12px; border-top: 1px solid #eeeaf3; }
.v6-teacher-answer-details p>span { grid-row: 1/4; font-weight: 900; color: var(--v6-good); }
.v6-teacher-answer-details p.is-wrong>span,.v6-teacher-answer-details p em { color: var(--v6-danger); }
.v6-teacher-answer-details p small,.v6-teacher-answer-details p em { grid-column: 2; font-size: 11px; }
.v6-teacher-answer-details p em { font-style: normal; font-weight: 700; }
.v6-teacher-review-form { padding: 15px; border-radius: 13px; background: #f6f4fc; }
.v6-teacher-review-form>p { margin: 8px 0 0; color: #716a80; font-size: 11px; }
.v6-online-field textarea { width:100%; min-height:190px; resize:vertical; border:1px solid #d9d7e6; border-radius:12px; padding:14px; font:inherit; line-height:1.55; background:#fff; }
.oge-parent-route>header { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.oge-parent-route>section { margin-top:18px; padding-top:16px; border-top:1px solid #ece9f2; }
.oge-parent-route h4 { margin:0 0 10px; font-size:17px; }
.oge-parent-phases { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin-top:12px; }
.oge-parent-phases span { padding:11px; border-radius:12px; background:#f7f3fb; display:grid; gap:4px; }
.oge-parent-lessons { display:grid; gap:9px; }
.oge-parent-lessons details { border:1px solid #e3dcec; border-radius:13px; padding:12px 14px; }
.oge-parent-lessons summary { cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.oge-parent-lessons summary span { display:grid; gap:3px; }
.oge-parent-lessons li.is-done { color:#24845f; }
.oge-parent-route>footer { margin-top:15px; color:#7c3db7; }
.oge8-teacher-review .v6-teacher-review-summary em { display:block; margin-top:7px; font-style:normal; color:#eee9ff; }
.oge8-checklist-form { margin-top:22px; padding-top:20px; border-top:1px solid #e7e0ef; }

@media (max-width: 760px) {
  .v6-online-admin>header,.v6-online-admin>footer,.v6-parent-result-card>header,.v6-online-result-view>footer { align-items: stretch; flex-direction: column; }
  .v6-online-meta,.v6-online-summary-grid,.v6-online-review-groups,.v6-parent-result-columns,.v6-online-result-columns,.v6-online-result-groups,.v6-teacher-review-groups { grid-template-columns: 1fr; }
  .v6-parent-invitation { grid-template-columns: auto minmax(0,1fr); gap: 13px; padding: 17px; }
  .v6-parent-invitation-mark { width: 52px; height: 52px; border-radius: 14px; font-size: 19px; }
  .v6-parent-invitation h2 { font-size: 19px; }
  .v6-parent-invitation-action { grid-column: 1/-1; min-width: 0; }
  .v6-parent-result-card header button { width: 100%; }
  .v6-online-header { min-height: 82px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 10px 12px; }
  .v6-online-header h1 { font-size: 18px; }
  .v6-online-header p { font-size: 11px; }
  .v6-online-save-state { grid-column: 1; grid-row: 2; justify-self: start; padding: 3px 7px; }
  .v6-online-header>[data-v6-exit] { grid-column: 2; grid-row: 1/3; }
  .v6-online-progress { top: 93px; }
  .v6-online-layout { width: calc(100% - 16px); display: block; margin: 12px 8px; }
  .v6-online-layout>aside { position: static; padding: 12px; }
  .v6-online-layout>aside>div { grid-template-columns: repeat(10,1fr); gap: 4px; }
  .v6-online-layout>aside p { display: none; }
  .v6-online-layout>main { margin-top: 8px; padding: 16px 13px; border-radius: 15px; }
  .v6-online-task-heading { display: block; }
  .v6-online-task-heading h2 { font-size: 20px; }
  .v6-online-task-heading>b { display: inline-block; margin-top: 9px; }
  .v6-online-fields { grid-template-columns: 1fr; }
  .v6-online-choice-list { grid-template-columns: 1fr; }
  .v6-online-task-actions { grid-template-columns: 1fr 1fr; }
  .v6-online-task-actions .is-finish { grid-column: 1/-1; grid-row: 2; justify-self: stretch; }
  .v6-online-result-view { width: calc(100% - 16px); margin: 8px; border-radius: 16px; }
  .v6-online-result-view>header { grid-template-columns: 80px minmax(0,1fr) auto; gap: 10px; padding: 15px; }
  .v6-online-result-score { width: 76px; height: 76px; }
  .v6-online-result-score span { font-size: 20px; }
  .v6-online-result-view h1 { font-size: 20px; }
  .v6-online-result-tasks>div { grid-template-columns: 1fr; }
  .v6-teacher-review-summary { grid-template-columns: 1fr; }
  .v6-teacher-review-columns { grid-template-columns: 1fr; }
  .v6-topic-chip-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .v6-online-loading i { animation-duration: 1.8s; }
  .v6-teacher-result-card { transition: none; }
}
