:root {
  --p-blue: #2356bb;
  --p-navy: #163e89;
  --p-pale: #e7f0ff;
  --p-border: #c8daf6;
  --p-sky: #a5e1ff;
}
html {
  scroll-behavior: auto;
}
textarea {
  font-family: inherit;
}
textarea:focus-visible {
  outline: 3px solid #e88439;
  outline-offset: 3px;
}
#rail .navitem.active {
  background: var(--p-pale);
  color: var(--p-navy);
}
#rail .navitem:hover {
  background: #eef4ff;
}
#main .eyebrow,
#main .textlink {
  color: var(--p-blue);
}
#main .eyebrow > i,
#main .button.primary,
.dialog .button.primary {
  background: var(--p-blue);
}
#main .button.primary:hover,
.dialog .button.primary:hover {
  background: var(--p-navy);
}
#main .heading {
  margin-bottom: 20px;
}
#main,
.workspace {
  min-width: 0;
}
.pbadge {
  display: inline-flex;
  align-items: center;
  background: var(--p-pale);
  color: var(--p-navy);
  border: 1px solid var(--p-border);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.phead-actions,
.pchange,
.pcoach-link,
.pfilters,
.pselect,
.psearch,
.phero-meta,
.pstat > span,
.pmockmeta,
.ptake strong,
.psolution > strong,
.psave,
.pclock {
  display: flex;
  align-items: center;
}
.phead-actions {
  gap: 14px;
}
.pchange,
.pcoach-link {
  gap: 6px;
  font-size: 14px;
  font-weight: 670;
  white-space: nowrap;
}
.pchange {
  color: #43536a;
}
.pcoach-link {
  background: var(--p-pale);
  color: var(--p-navy);
  padding: 7px 11px;
  border-radius: 7px;
}
.pchange:hover,
.pcoach-link:hover {
  color: #112f6a;
  text-decoration: underline;
}
.phero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(235px, 0.8fr);
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  padding: clamp(24px, 3.4vw, 48px);
  background: linear-gradient(125deg, #173878, #1d4ca1 68%, #226caf);
  color: #fff;
  border-radius: 15px;
}
.phero-copy {
  min-width: 0;
}
.phero-meta {
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
  color: #d3e9ff;
}
.phero h2 {
  font-size: clamp(27px, 2.5vw, 38px);
  margin: 11px 0 8px;
  line-height: 1.2;
  letter-spacing: -0.055em;
}
.phero p {
  color: #e3edf9;
  max-width: 31em;
  font-size: 16px;
}
.phero .actions {
  margin-top: 19px;
}
.pwhite {
  background: #def2ff;
  color: #183969;
}
.pwhite:hover {
  background: #f2fbff;
}
.pquiet {
  font-weight: 650;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 4px;
  color: #e3efff;
}
.pconsole {
  width: 100%;
  max-width: 370px;
  min-width: 0;
  justify-self: end;
  background: #132a4a;
  border: 1px solid #597ca5;
  border-radius: 11px;
  box-shadow: 0 12px 32px #101e4d38;
  overflow: hidden;
}
.pconsole-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #354e73;
  color: #cedef9;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 650;
}
.pconsole-lights {
  display: flex;
  gap: 4px;
}
.pconsole-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69aee0;
}
.pconsole-lights i:nth-child(2) {
  background: #ecb885;
}
.pconsole-lights i:nth-child(3) {
  background: #abd9cf;
}
.psnippet {
  padding: 11px 14px 12px;
  font: 14px/1.8 var(--mono);
  color: #ecf5ff;
}
.psnippet span {
  display: block;
}
.psnippet i {
  font-style: normal;
  color: #95accd;
  margin-right: 9px;
}
.psnippet b {
  font-weight: 600;
  color: #94e4f2;
}
.psnippet em {
  font-style: normal;
  color: #efd58d;
}
.pconsole details {
  border-top: 1px solid #37577d;
  padding: 8px 14px;
  background: #1a355a;
}
.pconsole summary {
  cursor: pointer;
  font-size: 13px;
  color: #d2ecff;
}
.pconsole details p {
  font-size: 13px;
  padding-top: 4px;
}
.pstats,
.pareas {
  display: grid;
  gap: 12px;
}
.pstats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 15px 0 22px;
}
.pstat,
.parea,
.plessoncard {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
}
.pstat {
  padding: 16px 20px;
  min-width: 0;
}
.pstat:hover,
.parea:hover,
.plessoncard:hover {
  border-color: #87a8de;
  background: #f8fbff;
}
.pstat > span {
  gap: 7px;
  color: #4d6182;
  font-size: 14px;
  font-weight: 650;
}
.pstat > b {
  display: block;
  font: 750 clamp(25px, 2.3vw, 34px) / 1.3 var(--mono);
  letter-spacing: -0.07em;
  margin: 8px 0 3px;
}
.pstat > b small {
  font:
    600 14px/1.3 Pretendard,
    sans-serif;
  margin-left: 4px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pstat p,
.parea p,
.pcatch p,
.pfilters p,
.pdaydesc small,
.plessoncard small,
.plessoncard p,
.precordrow small,
.psheet > p {
  color: var(--muted);
  font-size: 14px;
}
.pareas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.parea {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
}
.parea h3 {
  font-size: 17px;
}
.parea-icon {
  display: inline-grid;
  place-items: center;
  color: var(--p-blue);
  background: var(--p-pale);
  width: 39px;
  height: 39px;
  border-radius: 9px;
}
.ptrack {
  display: block;
  width: 100%;
  background: #e1e9f7;
  height: 6px;
  border-radius: 8px;
  overflow: hidden;
}
.ptrack > i {
  display: block;
  height: 100%;
  background: #3e76d4;
}
.parea .ptrack {
  grid-column: 1/-1;
}
.pcatch {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
.pcatch-days,
.psources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pdaychip,
.pstatus {
  font-size: 13px;
  font-weight: 650;
  border-radius: 5px;
  padding: 4px 8px;
  background: #f0f3f7;
  color: #516079;
}
.pdaychip:hover {
  background: var(--p-pale);
}
.pstatus {
  white-space: nowrap;
  align-self: center;
  justify-self: end;
}
.pstatus.pdone {
  color: #22634c;
  background: #e6f4ec;
}
.pstatus.plate {
  color: #80542a;
  background: #fbefdb;
}
.pempty {
  padding: 38px 22px;
  text-align: center;
}
.pempty > .ic {
  color: var(--p-blue);
  margin-bottom: 10px;
}
.pempty p {
  max-width: 38em;
  margin: 7px auto 0;
}
.pempty .actions {
  justify-content: center;
}
.psummary {
  display: grid;
  gap: 13px;
  margin-bottom: 13px;
}
.pplanlist,
.pcourselist {
  display: grid;
  gap: 8px;
}
.pplanrow,
.precordrow {
  display: flex;
  align-items: center;
  gap: 15px;
}
.pplanrow {
  border: 1px solid var(--line);
  background: white;
  padding: 12px 17px;
  border-radius: 8px;
}
.pplanrow:hover,
.pplanrow.ptoday {
  border-color: #78a0df;
}
.pdaynum {
  font: 600 12px/1.2 var(--mono);
  color: var(--p-blue);
  min-width: 40px;
}
.pdaynum b {
  display: block;
  font-size: 21px;
  letter-spacing: -0.06em;
  margin-top: 2px;
}
.pdaydesc {
  flex: 1;
  min-width: 0;
}
.pdaydesc strong,
.plessoncard small,
.precordrow small {
  display: block;
}
.pdaydesc strong {
  font-size: 16px;
}
.pdaydesc small,
.plessoncard small {
  font-size: 13px;
}
.pcourselist,
.pfilters + .pcourselist {
  margin-top: 16px;
}
.pfilters {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pfilters .actions {
  margin: 0;
}
.panel > p + .pfilters {
  margin-top: 18px;
}
.pselect,
.psearch {
  gap: 8px;
  color: #445069;
  font-size: 14px;
  font-weight: 630;
}
.pselect select,
.psearch input {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
  min-height: 40px;
  padding: 7px 9px;
  min-width: 0;
  max-width: 100%;
}
.psearch {
  flex: 1;
  min-width: min(100%, 190px);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  background: #fff;
}
.psearch input {
  border: 0;
  width: 100%;
  padding-left: 0;
}
.psearch:focus-within {
  outline: 2px solid var(--p-blue);
}
.psearch input:focus {
  outline: none;
}
.plessoncard {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 15px;
}
.plessoncard > div {
  flex: 1;
  min-width: 0;
}
.plessoncard .parea-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.plessoncard h3 {
  font-size: 17px;
  margin: 2px 0;
}
.preading {
  max-width: 940px;
}
.pintro,
.ptake {
  background: #edf3ff;
  color: #294679;
  padding: 14px 17px;
  border-radius: 7px;
}
.preading section {
  margin: 24px 0;
}
.preading section h2 {
  font-size: 21px;
}
.preading section p {
  margin: 7px 0;
  color: #38465b;
}
.pcode,
.psolution pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 4;
  font:
    14px/1.65 var(--mono),
    Pretendard,
    sans-serif;
}
.pcode {
  padding: 15px 18px;
  border-radius: 8px;
  margin: 12px 0;
  background: #142b4a;
  color: #edf5ff;
}
.ptake strong,
.psolution > strong {
  gap: 8px;
}
.ptake p {
  margin-top: 4px;
}
.pcheck,
.pscope details {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
summary {
  cursor: pointer;
}
.pcheck summary {
  color: var(--p-navy);
  font-weight: 650;
}
.pcheck p {
  margin-top: 9px;
}
.pmock {
  border-top: 3px solid var(--p-blue);
}
.pmockmeta {
  gap: 9px;
  color: var(--p-navy);
  margin: 0 0 12px;
}
.pmockmeta strong {
  font:
    700 30px/1.15 Pretendard,
    sans-serif;
}
.pmockmeta span {
  color: #4d6182;
  font-size: 14px;
}
.pquizgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(165px, 220px);
  gap: 14px;
  align-items: start;
}
.pquizgrid > .panel {
  margin: 0;
  min-width: 0;
}
.pquestiontop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.pnum {
  font: 700 25px/1 var(--mono);
  color: var(--p-navy);
}
.pnum small {
  font-size: 13px;
  color: #566b88;
}
.pevidence {
  color: #4f6484;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 7px;
}
.pstem {
  font:
    600 17px/1.6 Pretendard,
    var(--mono),
    sans-serif;
  letter-spacing: -0.015em;
  tab-size: 4;
}
.panswerlabel {
  display: block;
  font-weight: 650;
  font-size: 14px;
  margin: 18px 0 4px;
}
.panswer {
  display: block;
  width: 100%;
  min-height: 110px;
  max-height: 50dvh;
  resize: vertical;
  border: 1px solid #91aaca;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fbff;
  font:
    15px/1.55 var(--mono),
    Pretendard,
    sans-serif;
  tab-size: 4;
}
.panswer:read-only {
  background: #f2f5fb;
}
.psave {
  color: #526482;
  font-size: 12px;
  gap: 5px;
  margin-top: 5px;
}
.pquestioncoach {
  margin-top: 8px;
}
.panswergrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 13px 0;
}
.panswergrid button {
  border: 1px solid var(--line);
  padding: 6px 0;
  border-radius: 5px;
  color: #4f5e68;
  font: 600 14px/1.3 var(--mono);
}
.panswergrid .filled {
  background: var(--p-pale);
  color: var(--p-navy);
  border-color: #aac3e5;
}
.panswergrid .current {
  box-shadow: inset 0 0 0 2px var(--p-blue);
}
.psheet h2 {
  font-size: 18px;
}
.pvertical {
  display: grid;
  gap: 3px;
}
.pclock {
  gap: 5px;
  flex-wrap: wrap;
  padding-bottom: 13px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #4e6080;
  font-size: 14px;
}
.pclock b {
  flex-basis: 100%;
  font: 700 26px/1.15 var(--mono);
  color: var(--p-navy);
  font-variant-numeric: tabular-nums;
}
.psolution {
  border: 1px solid #c9d9f1;
  background: #f6f9ff;
  border-radius: 8px;
  margin-top: 12px;
  padding: 13px 15px;
}
.psolution.pmiss {
  background: #fffbf4;
  border-color: #ead8b6;
}
.psolution.pright > strong {
  color: var(--p-navy);
}
.psolution.pmiss > strong {
  color: #80582a;
}
.psolution dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 12px;
  margin: 10px 0;
}
.psolution dt {
  font-size: 13px;
  color: #52605a;
  font-weight: 650;
}
.psolution dd {
  margin: 0;
  min-width: 0;
}
.psolution > p {
  font-size: 15px;
}
.pscore {
  display: flex;
  gap: 25px;
  align-items: center;
}
.pscorering {
  width: 106px;
  height: 106px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--p-blue) var(--score), #e6ecf7 0);
  display: grid;
  place-items: center;
}
.pscorering > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  padding-top: 23px;
}
.pscorering b {
  font: 700 31px/1.25 var(--mono);
  letter-spacing: -0.07em;
}
.pscorering span {
  font-size: 13px;
  padding-left: 2px;
}
.paccuracy {
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
}
.paccuracy > div {
  display: grid;
  grid-template-columns: minmax(125px, 1.1fr) minmax(35px, 2fr) 50px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.paccuracy b {
  text-align: right;
  font: 650 13px var(--mono);
}
.pitemreview + .pitemreview,
.precordrow + .precordrow {
  border-top: 1px solid var(--line);
}
.pitemreview {
  padding: 12px 0;
}
.pitemreview summary {
  display: list-item;
  color: var(--p-navy);
  font-weight: 650;
}
.pitemreview summary small {
  color: #526581;
  font-size: 12px;
}
.pitemreview summary span {
  display: block;
  color: var(--ink);
  padding: 3px 0;
}
.pitemreview[open] > .pstem {
  margin: 12px 0 0;
  font-size: 15px;
}
.precordrow {
  padding: 12px 5px;
  justify-content: space-between;
}
.precordrow:hover {
  color: var(--p-blue);
}
.precordrow > b {
  font: 700 23px var(--mono);
  white-space: nowrap;
}
.precordrow > b small {
  display: inline;
  margin-left: 2px;
  font-weight: 500;
}
.pscope summary small {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}
.pscope li {
  margin: 6px 0;
}
.psources {
  margin-top: 10px;
}
.psources a {
  font-size: 14px;
  color: var(--p-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 1000px) {
  .pquizgrid {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
  .phero {
    padding: 25px;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .phero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }
  .pconsole {
    justify-self: start;
    max-width: none;
  }
  .psnippet {
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 1.55;
  }
  .pquizgrid {
    grid-template-columns: 1fr;
  }
  .psheet .panswergrid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .psheet .pclock b {
    flex-basis: auto;
    margin-left: auto;
  }
  .psheet .pvertical {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .pstat {
    padding: 11px 10px;
  }
  .pstat > span {
    font-size: 13px;
    gap: 4px;
  }
  .pstat p {
    font-size: 12px;
  }
  .pstats {
    gap: 6px;
  }
  .parea {
    padding: 12px;
    gap: 8px;
  }
  .pareas {
    gap: 8px;
  }
  .phead-actions {
    gap: 10px;
  }
  .pcatch {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .pscore {
    gap: 15px;
  }
  .pscorering {
    width: 83px;
    height: 83px;
  }
  .pscorering > div {
    width: 67px;
    height: 67px;
    padding-top: 16px;
  }
}
@media (max-width: 450px) {
  .workspace > header {
    padding-right: 10px;
    padding-left: 7px;
  }
  .crumb {
    gap: 5px;
  }
  .crumb > b {
    font-size: 13px;
  }
  .phead-actions {
    gap: 8px;
  }
  .pchange,
  .pcoach-link {
    font-size: 12px;
  }
  .pcoach-link {
    padding: 6px 7px;
  }
  .pchange .ic {
    display: none;
  }
  .pbadge {
    padding: 2px 6px;
  }
  .phero {
    padding: 18px;
  }
  .phero h2 {
    font-size: 26px;
  }
  .phero p {
    font-size: 15px;
  }
  .pstats {
    margin-top: 10px;
  }
  .pstat p {
    display: none;
  }
  .pstat > b small {
    font-size: 12px;
  }
  .pareas {
    grid-template-columns: minmax(0, 1fr);
  }
  .parea {
    grid-template-columns: auto 1fr 54px;
  }
  .parea .ptrack {
    grid-column: auto;
  }
  .pplanrow {
    padding: 10px;
    gap: 8px;
  }
  .pdaydesc strong {
    font-size: 15px;
  }
  .pstatus {
    font-size: 12px;
    padding: 3px 5px;
  }
  .plessoncard {
    padding: 10px 9px;
    gap: 8px;
  }
  .plessoncard .parea-icon {
    width: 26px;
    height: 26px;
  }
  .pscore {
    align-items: flex-start;
    flex-direction: column;
  }
  .paccuracy > div {
    gap: 6px;
    grid-template-columns: minmax(100px, 1.6fr) 1fr 39px;
  }
  .pscope ul {
    padding-left: 18px;
  }
  .psolution {
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.psolution.preview-needed {
  background: #fff9e9;
  border-color: #d7b961;
}
.psolution .pverdict-summary {
  margin: 8px 0 12px;
}
.pself-review {
  padding: 12px 0;
}
.pself-review > p {
  color: var(--muted);
  font-size: 14px;
}
.pscore-pending {
  background: #f6f2e5;
  color: #61501e;
  border-radius: 12px;
  padding: 13px 17px;
  display: grid;
  gap: 4px;
}
.pscore-pending strong {
  font-size: 22px;
}
.pscore-pending span,
.pscore-pending small {
  font-size: 13px;
}
.pworkstate {
  background: #edf4ff;
  padding: 10px 15px;
  margin: 0 0 12px;
  border-radius: 8px;
}
.pgrading progress {
  width: min(100%, 380px);
  margin-top: 12px;
  accent-color: #2356bb;
}
.pquestioncoach {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.p-coach-explanation:empty {
  min-height: 1px;
}
.p-coach-explanation:not(:empty) {
  margin-top: 15px;
  padding: 12px 15px;
  border-left: 3px solid #5677bd;
  border-radius: 0 8px 8px 0;
  background: #f0f4ff;
  color: #253859;
  overflow-wrap: anywhere;
}
.p-coach-explanation > strong {
  font-size: 13px;
  color: #284e9a;
}
.p-coach-explanation > p {
  margin: 6px 0 0;
  line-height: 1.7;
}
.ppending-row {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
