:root{--blue:#0b56f0;--green:#118a39;--red:#df3030;--orange:#ee9200;--navy:#0a1d59;--text:#0a1d59;--muted:#5c6d8b;--line:#dbe4ef;--soft:#f7f9fc;--white:#fff}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:var(--soft);font-size:14px}
button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.header{height:74px;background:#fff;border-bottom:1px solid #e5ebf3;display:flex;align-items:center;padding:0 28px;gap:28px;position:sticky;top:0;z-index:20}
.logo{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:800;color:var(--navy)}
.logo b{width:39px;height:39px;border-radius:11px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:17px}
.logo span{color:var(--navy)}
.header-nav{display:flex;gap:24px;font-weight:600}
.header-nav a{padding:27px 0;position:relative}
.header-nav .active{color:var(--blue)}
.header-nav .active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--blue);border-radius:4px}
.icon{margin-left:auto;border:0;background:#fff;color:var(--navy);display:grid;place-items:center}
.icon svg{width:21px}.avatar{width:40px;height:40px;border-radius:50%;border:0;background:var(--blue);color:#fff;font-weight:700}
main{max-width:1400px;margin:auto;padding:20px 28px}
.breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px;color:#536483;margin:0 0 18px}
.breadcrumb svg{width:13px}.breadcrumb span{font-weight:600;color:#17295a}
.page-title-left{display:flex;align-items:center;gap:15px;margin:4px 0 22px}
.title-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);border:1px solid #d5e1f5}
.title-icon svg{width:29px}.page-title-left h1{font-size:29px;line-height:1.2;margin:0 0 7px}.page-title-left p{margin:0;color:#536483}
.app{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 8px 24px rgba(15,38,86,.04)}
.steps{height:62px;border-bottom:1px solid var(--line);display:flex;justify-content:center;gap:60px;align-items:center}
.internal-steps{display:none}.step{display:flex;gap:8px;align-items:center;color:#8793aa}.step span{width:28px;height:28px;border-radius:50%;background:#e8edf5;display:grid;place-items:center}.step.active{color:var(--blue)}.step.active span{background:var(--blue);color:#fff}
.screen{display:none;padding:20px}.screen.show{display:block}#selection.screen{padding:0}
.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);background:#f9fbff}
.tab{height:52px;border:0;background:transparent;font-weight:700;color:#66738f}.tab.active{background:var(--blue);color:#fff}
.chooser{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:22px 22px 0}
.pick{border:1px solid var(--line);border-radius:9px;padding:20px;background:#fff;min-height:300px;transition:.18s}
.pick:not(.active){opacity:.58;background:#fbfcfe}.pick.active{border-color:#9dbaf8;box-shadow:0 7px 20px rgba(11,86,240,.07)}
.pick-heading{display:flex;align-items:flex-start;gap:13px}.pick-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex:0 0 42px}.pick-icon svg{width:20px}
.daily-icon{background:#eaf1ff;color:var(--blue)}.monthly-icon{background:#f1eaff;color:#7c3aed}
.pick h2{font-size:19px;margin:0 0 6px}.pick p{margin:0;color:#65728f;line-height:1.55}
.period-control{margin-top:22px}.period-control label{display:block;font-weight:700;margin-bottom:8px}
.compact-input{width:250px;max-width:100%;height:46px;border:1px solid #cad6e7;border-radius:7px;background:#fff;display:flex;align-items:center;padding:0 11px;gap:8px}
.compact-input svg{width:17px;color:#516b9a}.compact-input input,.compact-input select{width:100%;height:100%;border:0;outline:0;background:transparent;color:#182e63;padding:0}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.stats>div{border:1px solid var(--line);border-radius:7px;padding:15px;text-align:center;background:#fbfcff}.stats b{font-size:24px;display:block}.stats span{font-size:12px;color:#6b7894}
.primary{border:0;background:var(--blue);color:#fff}.start-button{display:flex;width:290px;height:44px;margin:20px auto 0;border-radius:7px;align-items:center;justify-content:center;gap:8px;font-weight:700}.start-button svg{width:17px}
.note{margin:18px 22px 0;padding:12px 14px;border:1px solid #eed38a;background:#fff8e7;border-radius:6px;display:flex;align-items:center;gap:9px;color:#5f4a10}.note svg{width:17px}
.benefit-strip{margin:14px 22px 0;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:repeat(4,1fr);background:#fff}
.benefit-strip article{min-height:112px;padding:20px;display:flex;align-items:center;gap:14px;border-right:1px solid var(--line)}.benefit-strip article:last-child{border-right:0}
.benefit-strip svg{width:32px;height:32px;color:var(--blue);flex:0 0 auto}.benefit-strip article:nth-child(2) svg{color:#0b9b43}.benefit-strip article:nth-child(3) svg{color:#ff7200}.benefit-strip article:nth-child(4) svg{color:#8126b6}
.benefit-strip div{display:flex;flex-direction:column;gap:7px}.benefit-strip b{font-size:14px}.benefit-strip span{font-size:12px;color:#536483;line-height:1.45}
.why-card{margin:14px 22px 0;border:1px solid #d8e4f4;border-radius:8px;min-height:126px;background:linear-gradient(90deg,#f7faff,#f4f8ff);display:flex;align-items:center;justify-content:space-between;padding:20px 28px}
.why-copy{display:flex;gap:16px;align-items:flex-start}.why-copy>svg{width:31px;color:var(--blue)}.why-copy h2{font-size:17px;margin:0 0 10px;color:#0646d7}.why-copy p{margin:0;max-width:620px;color:#35486e;line-height:1.6}
.study-visual{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #dce6f4;border-radius:10px;background:#fff;box-shadow:0 7px 18px rgba(20,45,90,.06)}.visual-step{display:flex;flex-direction:column;align-items:center;gap:5px}.visual-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center}.visual-icon svg{width:20px;height:20px}.visual-icon.blue{background:#eaf1ff;color:#0957ff}.visual-icon.green{background:#e9f8ef;color:#079447}.visual-icon.purple{background:#f1eafe;color:#7236c8}.visual-step small{font-size:9px;color:#536483;font-weight:700}.visual-arrow{width:13px;height:13px;color:#9aa8be}
.recent{margin:16px 22px 22px;border:1px solid var(--line);border-radius:8px}.recent-head{padding:0 20px;height:58px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.recent-head h2{font-size:17px;margin:0}.recent-head button{border:0;background:none;color:var(--blue)}
.recent #recentBox{padding:20px}.empty{min-height:190px;padding:28px;border:1px dashed #cbd6e5;text-align:center;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty h3{margin:0 0 9px}.empty p{margin:0;color:#536483}.empty-start{margin-top:17px;height:40px;padding:0 25px;border:1px solid var(--blue);border-radius:6px;background:#fff;color:var(--blue);font-weight:700}
.recentgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.recentcard{border:1px solid var(--line);border-radius:8px;padding:14px}.recentcard h3{margin:0 0 5px}.recentcard small{color:#6b7894}
.quizgrid{display:grid;grid-template-columns:220px 1fr;border:1px solid var(--line);border-radius:8px;overflow:hidden}.palette{padding:18px;background:#fbfcff;border-right:1px solid var(--line)}.palette h3{margin:0 0 4px}.palette small{color:#687694}
#palette{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:18px}#palette button{height:34px;border:1px solid #cbd6e4;background:#fff;border-radius:5px}#palette button.current{outline:2px solid var(--blue)}#palette button.answered{background:var(--green);color:#fff}#palette button.reviewed{border-color:#7c3aed;color:#6d28d9}
.questionbox{min-height:520px;display:flex;flex-direction:column}.quiztop{height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px}.quiztop .timer{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;margin-right:18px}.quiztop .timer small{font-size:10px;color:#687694}
.danger-outline{height:38px;border:1px solid var(--red);background:#fff;color:var(--red);border-radius:5px;padding:0 14px}
#question{padding:26px;flex:1}#question h2{font-size:18px;line-height:1.5}.option{display:flex;gap:12px;padding:13px;border:1px solid #d2dce9;border-radius:7px;margin:10px 0}.option.selected{border-color:var(--blue);background:#f3f7ff}
.actions{border-top:1px solid var(--line);padding:16px;display:flex;justify-content:space-between}.actions button,.result-actions button,.answer-actions button{height:42px;border-radius:6px;padding:0 20px;font-weight:700;border:1px solid #cbd6e5;background:#fff}.actions .primary{background:var(--blue);color:#fff}
#reviewBtn.active-review{border-color:#7c3aed;background:#f3edff;color:#6d28d9}
.results{display:grid;grid-template-columns:180px repeat(4,1fr);gap:14px}.score{width:150px;height:150px;border-radius:50%;border:13px solid #e4e9f0;border-top-color:var(--green);border-right-color:var(--green);display:grid;place-items:center;align-content:center;margin:auto}.score b{font-size:40px}.metric{border-radius:8px;display:grid;place-items:center;align-content:center;min-height:140px}.metric b{font-size:28px}.metric.green{background:#eef9f1;color:var(--green)}.metric.red{background:#fff0f0;color:var(--red)}.metric.blue{background:#eef4ff;color:var(--blue)}.metric.orange{background:#fff7e8;color:var(--orange)}
.result-actions,.answer-actions{display:flex;justify-content:center;gap:14px;margin-top:18px}.result-actions button,.answer-actions button{min-width:155px}#viewBtn{border-color:var(--blue);color:var(--blue)}#retryBtn{border-color:var(--green);color:var(--green)}#toQuiz{background:var(--blue);color:#fff;border-color:var(--blue)}
.result-guidance{margin:20px auto 0;max-width:680px;color:#61708e;text-align:center;font-size:13px;line-height:1.55}
.filters{display:flex;gap:10px}.filter{height:36px;border:1px solid #cbd6e5;background:#fff;border-radius:5px;padding:0 16px}.filter.active{background:var(--blue);color:#fff}.answercard{border:1px solid var(--line);border-radius:8px;padding:18px;margin-top:14px}.reviewopt{border:1px solid #d7e0eb;border-radius:6px;padding:10px;margin:8px 0}.userwrong{background:#fff0f0;border-color:#eab1b1;color:#b72020}.correctanswer{background:#eef9f1;border-color:#b7dec2;color:#0f7538}.explain{margin-top:12px;border-left:3px solid var(--blue);background:#f5f8ff;padding:10px}
.modal{position:fixed;inset:0;background:rgba(4,18,48,.58);display:grid;place-items:center;z-index:100}.modal[hidden]{display:none}.modalbox{width:min(460px,92vw);background:#fff;border-radius:12px;padding:28px;text-align:center}.modalstats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);margin:18px 0}.modalstats div{padding:12px;border-right:1px solid var(--line)}.modalstats div:last-child{border:0}.modalstats span{display:block;font-size:11px}.modal-actions{display:flex;justify-content:center;gap:10px}.modalbox button{height:40px;border-radius:5px;padding:0 18px;border:1px solid #cbd6e5}.modalbox .danger{background:var(--red);color:#fff;border:0}
button:disabled{opacity:.48;cursor:not-allowed}
.site-footer{display:block;margin-top:34px;padding:44px 46px 0;background:linear-gradient(180deg,#f8faff 0%,#f2f6fb 100%);color:var(--navy);border-top:1px solid #dce5f0}
.footer-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1.35fr .85fr 1fr 1.25fr;gap:48px}.footer-grid section:not(:first-child){border-left:1px solid #dce4ef;padding-left:34px}
.footer-brand-line{display:flex;align-items:center;gap:11px}.footer-symbol{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:var(--blue);color:#fff;font-size:19px;font-weight:800}.footer-brand-line strong{display:block;font-size:23px}.footer-brand-line strong span{color:var(--blue)}.footer-brand-line small{display:block;margin-top:4px;font-size:9px;color:#60708f}
.footer-brand>p{max-width:300px;margin:17px 0;color:#455777;line-height:1.65;font-size:12px}.footer-grid h4{margin:0 0 16px;font-size:14px}.footer-grid a{display:block;margin:10px 0;color:#455777;font-size:12px}.footer-grid a:hover{color:var(--blue)}
.socials{display:flex;gap:10px;margin-top:18px}.socials a{width:32px;height:32px;margin:0;border:1px solid #c9d6e7;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--blue);font-weight:700}
.contact-column p{display:flex;align-items:center;gap:9px;margin:11px 0;color:#455777;font-size:12px}.contact-column p svg{width:16px;color:var(--blue)}.store-row{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.store-row button{height:37px;padding:0 13px;border:0;border-radius:6px;background:#050505;color:#fff;font-size:11px}
.footer-bottom{margin:38px -46px 0;padding:16px 46px;background:#06234f;color:#dce6f4;display:flex;justify-content:space-between;font-size:11px}.footer-bottom b{color:#ef4056}
@media(max-width:900px){.header-nav{display:none}.chooser{grid-template-columns:1fr}.benefit-strip{grid-template-columns:1fr 1fr}.benefit-strip article:nth-child(2){border-right:0}.benefit-strip article{border-bottom:1px solid var(--line)}.quizgrid{grid-template-columns:1fr}.palette{border-right:0;border-bottom:1px solid var(--line)}.results{grid-template-columns:1fr 1fr}.score{grid-column:1/-1}.recentgrid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid section:not(:first-child){border-left:0;padding-left:0}}
@media(max-width:620px){.header{padding:0 15px}.logo span{display:none}main{padding:16px}.page-title-left h1{font-size:24px}.page-title-left p{line-height:1.5}.chooser{padding:14px 14px 0}.pick{min-height:0}.compact-input{width:100%}.benefit-strip{margin:14px;grid-template-columns:1fr}.benefit-strip article{border-right:0}.why-card{margin:14px;align-items:flex-start}.study-visual{display:none}.recent{margin:14px}.filters{overflow:auto}.result-actions,.answer-actions{flex-direction:column}.result-actions button,.answer-actions button{width:100%}.actions{gap:8px;flex-wrap:wrap}.actions button{flex:1}.site-footer{padding:34px 20px 0}.footer-grid{grid-template-columns:1fr}.footer-bottom{margin:28px -20px 0;padding:15px 20px;flex-direction:column;gap:7px}.modalstats{grid-template-columns:1fr}.modalstats div{border-right:0;border-bottom:1px solid var(--line)}}

/* Consistent, professional date and select controls. */
.compact-input{
  position:relative;
  border-color:#cbd7e8;
  transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.compact-input:hover{border-color:#aebfda;background:#fcfdff}
.compact-input:focus-within{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(9,87,255,.11);
  background:#fff;
}
.compact-input input,.compact-input select{
  font-size:13px;
  font-weight:600;
  color:#10265a;
  cursor:pointer;
}
.compact-input select{
  appearance:none;
  -webkit-appearance:none;
  padding-right:4px;
}
.compact-input .field-chevron{
  width:15px;
  height:15px;
  margin-left:auto;
  flex:0 0 15px;
  color:#6c7d9c;
  pointer-events:none;
}
.compact-input.date-input input[type="date"]{color-scheme:light}
.compact-input.date-input input[type="date"]::-webkit-calendar-picker-indicator{
  position:absolute;
  inset:0 0 0 auto;
  width:38px;
  height:100%;
  margin:0;
  padding:0;
  opacity:0;
  cursor:pointer;
}


/* FINAL COMPACT QUIZ CARD CORRECTION */
.chooser{
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 20px;
  padding: 22px 22px 0;
}

.pick{
  width: 100%;
  min-height: 270px;
  padding: 18px;
}

.pick-heading{
  gap: 11px;
}

.pick-icon{
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.pick-icon svg{
  width: 18px;
  height: 18px;
}

.pick h2{
  font-size: 17px;
}

.pick p{
  font-size: 12px;
  line-height: 1.5;
}

.period-control{
  margin-top: 18px;
}

.compact-input{
  width: 220px;
  height: 42px;
}

.stats{
  gap: 12px;
  margin-top: 18px;
}

.stats>div{
  padding: 12px;
}

.stats b{
  font-size: 22px;
}

.read-questions-link{
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid #c8d9f7;
  border-radius: 7px;
  background: #f6f9ff;
  color: #0755e8;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.read-questions-link:hover{
  border-color: #8fb2f3;
  background: #edf4ff;
  box-shadow: 0 4px 12px rgba(9, 87, 255, .08);
  transform: translateY(-1px);
}

.read-questions-link:focus-visible{
  outline: 3px solid rgba(9, 87, 255, .16);
  outline-offset: 2px;
}

.read-questions-link svg{
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.read-questions-link .read-link-arrow{
  width: 15px;
  height: 15px;
  margin-left: auto;
}

@media(max-width: 900px){
  .chooser{
    max-width: 520px;
    grid-template-columns: 1fr;
  }
}

@media(max-width: 620px){
  .chooser{
    max-width: none;
    padding: 14px 14px 0;
  }

  .compact-input{
    width: 100%;
  }
}


/* FINAL CHANGE — COMPACT DAILY / MONTHLY SELECTION TABS ONLY */
.tabs{
  width: 420px;
  max-width: calc(100% - 28px);
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.tab{
  height: 44px;
  font-size: 13px;
}

.quiz-mode-bar{
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px) 1fr;
  align-items: center;
  gap: 18px;
  margin: 18px 22px 0;
}

.quiz-mode-bar .tabs{
  grid-column: 2;
  width: 100%;
  max-width: none;
  margin: 0;
}

.quiz-mode-bar .read-questions-link{
  grid-column: 3;
  justify-self: end;
  min-width: 218px;
  min-height: 40px;
  margin: 0;
  background: #fff;
}

@media(max-width: 900px){
  .quiz-mode-bar{
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 14px 0;
  }

  .quiz-mode-bar .tabs,
  .quiz-mode-bar .read-questions-link{
    grid-column: 1;
  }

  .quiz-mode-bar .tabs{
    width: min(420px, 100%);
    justify-self: center;
  }

  .quiz-mode-bar .read-questions-link{
    min-width: 0;
    width: min(420px, 100%);
    justify-self: center;
  }
}

@media(max-width: 620px){
  .tabs{
    width: calc(100% - 28px);
    margin-top: 14px;
  }
}


/* WEEKLY QUIZ ADDITION — KEEP APPROVED TAB GROUP SIZE */
.tabs{
  width:420px;
  max-width:calc(100% - 28px);
  grid-template-columns:repeat(3,1fr) !important;
}

.chooser{
  max-width:1080px;
  grid-template-columns:repeat(3,minmax(0,340px));
  gap:18px;
}

.weekly-icon{
  background:#eef8f2;
  color:#118a39;
}

@media(max-width:1050px){
  .chooser{
    max-width:760px;
    grid-template-columns:repeat(2,minmax(0,340px));
  }

  .pick[data-card="monthly"]{
    grid-column:1 / -1;
    width:340px;
    justify-self:center;
  }
}

@media(max-width:760px){
  .chooser{
    max-width:520px;
    grid-template-columns:1fr;
  }

  .pick[data-card="monthly"]{
    grid-column:auto;
    width:100%;
  }
}

@media(max-width:620px){
  .tabs{
    width:calc(100% - 28px);
  }

  .tab{
    padding:0 7px;
    font-size:12px;
  }
}


/* FINAL PROFESSIONAL QUESTION PALETTE STATES
   Orange = Not Answered
   Green  = Answered
   Purple = Marked for Review
   Blue outline = Current Question
*/
#palette button{
  height:34px;
  border:1px solid #efb46c;
  background:#fff4e5;
  color:#a85a00;
  border-radius:5px;
  font-weight:700;
  transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}

#palette button:hover{
  border-color:#df9438;
  background:#ffedd4;
}

#palette button.answered{
  border-color:#69b984;
  background:#eaf8ef;
  color:#11733a;
}

#palette button.reviewed{
  border-color:#a98be2;
  background:#f3edff;
  color:#6d28d9;
}

#palette button.answered.reviewed{
  border-color:#7d63c9;
  background:#eee8ff;
  color:#5c28b4;
}

#palette button.current{
  outline:2px solid var(--blue);
  outline-offset:2px;
  box-shadow:0 0 0 1px rgba(11,86,240,.08);
}


/* FINAL PROFESSIONAL VISIT STATUS
   Untouched / Not Visited = neutral white
   Visited but unanswered = soft orange
   Answered = green
   Review = purple
   Current = blue outline
*/
#palette button{
  background:#ffffff;
  border-color:#d8e0eb;
  color:#526173;
}

#palette button:hover{
  background:#f7f9fc;
  border-color:#aebbc9;
}

#palette button.not-answered{
  background:#fff4e5;
  border-color:#efb46c;
  color:#a85a00;
}

#palette button.not-answered:hover{
  background:#ffedd4;
  border-color:#df9438;
}

#palette button.answered{
  background:#eaf8ef;
  border-color:#69b984;
  color:#11733a;
}

#palette button.reviewed{
  background:#f3edff;
  border-color:#a98be2;
  color:#6d28d9;
}

#palette button.answered.reviewed{
  background:#eee8ff;
  border-color:#7d63c9;
  color:#5c28b4;
}

#palette button.current{
  outline:2px solid var(--blue);
  outline-offset:2px;
}
