
:root{--ink:#203e36;--green:#24594a}body{background:#f6f7f2;color:var(--ink)}.student-shell .main{max-width:960px;margin:auto}.student-shell .topbar{margin-bottom:16px}.student-shell .topbar>.muted,.student-shell .topbar>.pill,.student-shell .session-strip{display:none}.prototype-notice{position:relative;padding:calc(6px + env(safe-area-inset-top,0px)) 12px 6px;font-size:11px;background:#e9eee6;color:#476052}.prototype-notice small{display:none}.student-shell h1{font-size:clamp(26px,5vw,38px);line-height:1.4;letter-spacing:-.025em}.student-shell h2{font-size:22px;line-height:1.5}.student-shell p{line-height:1.8}.welcome{margin:16px 0 24px}.welcome p{color:#62746a;font-size:15px}.study-start{background:#214f42;border-radius:24px;padding:28px;color:#fff}.study-start h2{font-size:30px;color:#fff;margin:18px 0 12px}.study-start p{color:#d7e6dd;font-size:15px}.study-start .primary{width:100%;background:#f6eed9;color:#214f42;border:0;margin-top:16px;min-height:54px}.study-start .pill{background:#ffffff1c;color:#e3eee8}.continue-card{margin-top:20px;border-radius:20px}.continue-card h2{font-size:19px}.learning-destinations{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 30px}.learning-destinations a{background:white;border:1px solid #dce4db;border-radius:18px;padding:20px;text-decoration:none;color:#214f42}.learning-destinations span{display:block;font-size:19px;font-weight:700}.learning-destinations small{display:block;margin-top:10px;line-height:1.7}.student-shell button,.student-shell .button-link{min-height:46px}.student-shell .eyebrow{letter-spacing:.08em}.student-shell .chat-aside .advice{display:none}.hub-chat{border:0;border-top:1px solid #dce4db;border-radius:0;margin:0;box-shadow:none}.quick{gap:8px}.quick-caption{display:none}.student-shell footer{font-size:11px;color:#758279}.student-shell #question-form aside{display:none}.student-shell #question-form .grid2{grid-template-columns:1fr}.student-shell #question-form .card{padding:22px}.student-shell .photo-intake{background:#f2f5ee;border:1px dashed #a9bcae}.student-shell .photo-choice{background:white}.student-shell .messages{background:#fff}.student-shell .message.assistant .bubble{font-size:17px;line-height:1.95}.student-shell .message-label{font-size:12px}.student-shell .composer{background:#f8f9f5}.student-shell textarea{font-size:16px!important}.student-shell .hub-record h3{font-size:18px}.student-shell .hub-record .actions button{font-size:14px}.student-shell .mobile-brand img{max-height:44px;width:auto}.student-shell .stats strong{font-size:28px}@media(max-width:700px){.student-shell .main{padding:18px 18px 110px!important}.student-shell .topbar{min-height:40px}.student-shell .chat-head{padding:16px}.student-shell .chat-head .profile strong{font-size:15px}.student-shell .reader-tools{gap:4px}.student-shell .reader-tools button{font-size:12px}.student-shell .messages{padding:16px}.student-shell .composer{padding:16px}.learning-destinations a{padding:16px}.student-shell .card{border-radius:18px}.student-shell .chat-layout{display:block}.student-shell .form-foot{flex-wrap:wrap}.student-shell #send-question{width:100%}.student-shell .recent-learning .section-head h2{font-size:20px}}

.student-shell .study-start button.primary{background:#f6eed9!important;color:#214f42!important;opacity:1}

.student-shell #understood{display:none}
/* Contrast must be explicit: the base upload label uses white text. */
.student-shell .photo-choice,.student-shell .photo-choice strong,.student-shell .photo-choice small{color:#24594a!important}
/* Keep the status-bar region opaque even when the document scrolls. */
body:before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:#f6f7f2;z-index:10000;pointer-events:none}
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 16px)}
#dialog{max-width:min(92vw,520px);width:100%;box-sizing:border-box;padding:24px;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 40px)}
.student-shell .composer .actions{grid-template-columns:1fr}
.student-shell .photo-intake{padding:16px;margin-top:0}
.student-shell .photo-intake-heading h3{font-size:19px;margin:0}
.student-shell .photo-intake-heading p{font-size:13px;margin:6px 0}
.student-shell .photo-choice span{padding:12px 14px}
.student-shell .photo-choice{min-height:68px;border-radius:14px}
.student-shell .quick button{min-height:76px}
.student-shell .quick .quick-caption{display:none}
.student-shell .hub-chat .actions{grid-template-columns:1fr}
.student-shell .reader-tools{flex-wrap:wrap}
.student-shell .topbar .mobile-brand{overflow:visible;height:auto}

.photo-awaiting-confirmation #message-form,.photo-awaiting-confirmation .hub-chat > :not(#hub-photo-confirm){display:none!important}

#dialog input[type="datetime-local"]{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
body:before{transform:translateY(var(--visual-top,0px))}
.hub-weekly .stats{display:grid;grid-template-columns:1fr;gap:10px}.hub-weekly .stat{display:block;font-size:14px;line-height:1.7;padding:16px}.hub-weekly .stat strong{display:block;font-size:30px;margin:6px 0 0}.hub-weekly .stat strong+span{font-size:14px}
@media(min-width:600px){.hub-weekly .stats{grid-template-columns:repeat(3,1fr)}}

.hub-weekly .stat{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:78px}.hub-weekly .stat strong{display:inline;margin:0;font-size:28px}.hub-weekly .stat-value{white-space:nowrap}#hub-reminder-form{width:100%;min-width:0;overflow:hidden}#hub-reminder-form label{width:100%;min-width:0}#hub-reminder-form input{appearance:none;-webkit-appearance:none;min-width:0;width:100%;max-width:100%;box-sizing:border-box}

.student-shell .welcome h1 span{display:inline-block}
@media(max-width:700px){.student-shell .nav a{font-size:11px}}
.student-shell #start{display:inline-flex;justify-content:center;align-items:center;gap:8px}
.student-shell #start svg,.learning-destinations .learning-destination-icon svg{width:21px;height:21px;flex:none}
.learning-destinations .learning-destination-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e7f0e9;color:#24594a}
.learning-destinations #home-weekly .learning-destination-icon{background:#f6eed9;color:#5c522f}

/* Give the three reply actions a shared icon and label alignment. */
.student-shell .quick button:has(.quick-label) {
  align-items: center;
  text-align: center;
}

.student-shell .quick button .quick-label {
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .student-shell .quick button:has(.quick-label) {
    padding-inline: 4px;
  }
}

@media (max-width: 395px) {
  .student-shell .quick {
    grid-template-columns: 1fr;
  }

  .student-shell .quick button:has(.quick-label) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 10px;
    justify-content: stretch;
    min-height: 58px;
    padding: 8px 24px 8px 12px;
    text-align: left;
  }

  .student-shell .quick button .quick-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }
}
