/* baskervville-latin-ext-400-normal */
@font-face {
  font-family: 'Baskervville';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/baskervville-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* baskervville-latin-400-normal */
@font-face {
  font-family: 'Baskervville';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/baskervville-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* baskervville-latin-ext-400-italic */
@font-face {
  font-family: 'Baskervville';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/baskervville-latin-ext-400-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* baskervville-latin-400-italic */
@font-face {
  font-family: 'Baskervville';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/baskervville-latin-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
    --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --display: "Baskervville", Baskerville, Georgia, serif;
    --ink: #40200d;
    --quiet: #6a5641;
    --honey-dark: #75420e;
    --text-main: var(--ink);
    --text-muted: var(--quiet);
    --rim: rgba(130,87,29,.26);
    --clear-glass: linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,246,225,.3) 65%,rgba(255,255,255,.55));
    --liquid: radial-gradient(ellipse at 29% -11%,rgba(255,255,255,.92) 1%,transparent 40%),
              linear-gradient(157deg,#fff0a4 0%,#ffcd58 28%,#f4af37 60%,#df9329 83%,#ffe39a 100%);
    --edge: inset 1px 2px 2px #fff, inset -2px -2px 3px #fff9e8, inset 0 0 6px #fff8, 0 1px 1px #c28e43, 0 6px 12px -5px #986b2e66;
    --ivory-glass: linear-gradient(147deg,#fffdfaeb 0%,#fff5e3e3 54%,#f6e5c8e8 100%);
    --gold-line: #d7b780;
    --sheet-shadow: inset 0 1.5px 1px #fff, 0 12px 32px -15px rgba(97,64,16,.32);
    --paper: url("../img/morning-honey.webp");
}
html { font-size: 100%; }
body {
    min-height: 100vh; height: auto; margin: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    color: var(--ink); background-color: #f7ebdc; background-repeat: no-repeat; background-size: min(100%, 640px) auto; background-position: center top; background-image: var(--paper); background-attachment: fixed;
    font: 16px/1.5 var(--ui-font) !important;
    -webkit-text-size-adjust: 100%; -webkit-user-select: text; user-select: text;
}
button, input, select { font-family: var(--ui-font) !important; }
button, a { touch-action: manipulation; }
a, a:visited, .text-action { color: var(--honey-dark); text-underline-offset: .18em; }
body :focus-visible { outline: 3px solid #77460d !important; outline-offset: 3px; }
::selection { background: #ffda7a; color: var(--ink); }
.container { width: 100%; max-width: none; margin: 0; }
#user_profile_button.utility, #msg-button-div.utility {
    position: static !important; margin: 0 !important; width: 44px !important; height: 44px;
    flex: 0 0 44px; padding: 10px; opacity: 1; border-radius: 50%;
    color: var(--ink); background: var(--clear-glass) !important; border: 1px solid var(--rim) !important; box-shadow: var(--edge) !important;
}
#msg-button-div.utility[style*="none"] { display: none !important; }
.utility svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
#msg-button-div.utility[style*="background-color"] { border-color: #9c4a16 !important; }
.card, #message_front_page_card, .statistics_box, .question_box_shape,
.modal-content-login, .modal-content-register, .modal-content, #user_profile_page > .profile-sheet {
    border: 1px solid var(--rim); border-radius: 26px;
    background: var(--ivory-glass); box-shadow: var(--sheet-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .modal-content-login, .modal-content-register, .modal-content, .utility, #v-cal {
        -webkit-backdrop-filter: blur(16px) saturate(115%); backdrop-filter: blur(16px) saturate(115%);
    }
}
.card, #message_front_page_card, .statistics_box {
    width: 100%; max-width: none; padding: 20px; margin: 14px auto; text-align: left;
}
.card::before, .modal-content::before, .question_box_shape::before { content: none; }
.card > .container > p:first-child {
    color: var(--ink); font: 400 26px/1.15 var(--display); margin: 0 0 12px;
}
.card > .container > p:first-child b { font-weight: inherit; }
.card p, .msg_text, #rules_text { overflow-wrap: anywhere; }
#calendar_page > br { display: none; }
#home_page .button, #user_profile_page .button, .modal button.login_button, .next_question, #from_test_to_home_button {
    background: var(--liquid) !important; color: #382407 !important; box-shadow: var(--edge);
    border: 1px solid #c79647 !important; min-height: 46px; border-radius: 17px !important;
    font: 650 16px/1.3 var(--ui-font); letter-spacing: 0; text-transform: none; text-shadow: none;
}
#home_page .button:disabled, #home_page .button_disabled_readed, button.login_button:disabled {
    color: #655540 !important; background: #efe7d5 !important; border-color: var(--rim) !important; box-shadow: inset 0 1px 0 #fff;
}
#home_page .button, .login_button { padding: 13px 15px; }
#home_page .card .button { margin: 14px 0 0; }
.modal {
    background: rgba(71,50,24,.25) !important;
    padding: max(16px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom)) !important;
}
#rules_div { z-index: 1100; }
#login_div, #forgot_password_div, #register_div {
    background-color: #f7ebdc !important; background-repeat: no-repeat !important; background-size: min(100%, 640px) auto !important; background-position: center top !important; background-image: var(--paper) !important; background-attachment: fixed !important;
}
.modal-content-login, .modal-content-register, .modal-content {
    width: min(100%, 448px); max-width: none; margin: 12px auto;
    position: relative; top: auto; left: auto; transform: none; animation: none;
}
#login_div, #forgot_password_div { align-content: safe center; }
#login_form .honey-masthead { padding: 18px 24px 12px; border-bottom: 1px solid var(--rim); }
.login-fields, .modal-content-login > .container, .modal-content-register > .container { padding: 20px 24px; }
.login-fields h2 { font: 400 28px/1.16 var(--display); margin-bottom: 20px; }
.login-fields label, .modal label { display: inline-block; font: 650 14px/1.4 var(--ui-font); color: var(--ink); margin: 0; }
.modal input:not([type="checkbox"]):not([type="radio"]), .modal select {
    width: 100%; margin: 6px 0 14px; padding: 12px 14px; min-height: 46px;
    color: var(--ink); background-color: rgba(255,253,246,.86); border: 1px solid var(--rim); border-radius: 13px;
    font: 400 16px/1.4 var(--ui-font); box-shadow: inset 0 1px 3px rgba(93,56,16,.06); caret-color: #935a10;
}
.modal input::placeholder { color: #796957; }
.text-action { border: 0; padding: 0 3px; background: transparent; font-size: 14px; font-weight: 650; min-height: 44px; cursor: pointer; }
.recover { display: block; margin: -12px 0 2px auto; }
#login_button { margin: 0; }
.login-footer, #footer_login { padding: 6px 16px; text-align: center; background: rgba(252,237,204,.42) !important; border-top: 1px solid var(--rim); color: var(--quiet); font-size: 14px; }
.modal .imgcontainer, .modal .modal-header {
    background: var(--clear-glass) !important; border-bottom: 1px solid var(--rim); margin: 0; padding: 20px 46px 18px 20px;
    text-align: left; line-height: 1.4;
}
.modal .imgcontainer span, #modal_title { color: var(--ink) !important; text-shadow: none; font-family: Georgia,serif; }
.modal .imgcontainer span:first-of-type { font-weight: 600; }
.modal .close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; border: none; border-radius: 50%; color: var(--ink); background: transparent; }
#full_page_loader_div { left: 0; background: rgba(249,239,216,.7); }
#loading_info { color: var(--ink); background: var(--clear-glass); box-shadow: var(--edge); }
#user_profile_page { padding: 0; background: transparent; }
.profile-sheet { overflow-wrap: anywhere; padding: 18px !important; }
#user_profile_page .profile-sheet > [id^="profile_"] {
    width: 100%; margin: 0; padding: 10px 0; color: var(--ink); text-align: left;
    background: none; border: 0; border-bottom: 1px solid var(--rim); border-radius: 0; box-shadow: none;
}
#user_profile_page .profile-sheet h3#profile_name { width: 100%; margin: 18px 0 0; padding: 8px 0; background: transparent; border: 0; box-shadow: none; text-align: left; font: 500 30px Georgia,serif; }
#user_profile_page .profile-sheet p[id^="profile_"]::before { content: none; }
#user_profile_page .profile-sheet .button { width: 100%; }
#user_profile_page p a { color: var(--honey-dark); }
#app_version_top { color: var(--quiet); font-size: 13px; }

.question_box_shape { height: auto; padding: 16px 20px 20px; display: flex; flex-direction: column; }
#header_question { position: static; order: -1; border-bottom: 1px solid var(--rim); }
.header_question_elements { color: var(--quiet); background: transparent; padding: 7px 0 12px; font-size: 13px; }
.question_div, #reference_div { position: static; height: auto; }
#question { color: var(--ink); font: 400 clamp(25px,6vw,34px)/1.2 var(--display); margin: 20px 0; padding: 0; text-shadow: none; }
#reference { font-size: 14px; }
#options_div { padding: 10px 0; }
.option { -webkit-appearance: none; appearance: none; background: var(--clear-glass); color: var(--ink); box-shadow: var(--edge); border: 1px solid var(--rim); margin: 6px 0; min-height: 48px; }
.option.option_right { background: #325739 !important; }
.option.option_wrong { background: #873e35 !important; }
.option_right::before, .option_wrong::before { display: block; font-size: 12px; font-weight: 500; }
.option_right::before { content: "Răspuns corect"; }
.option_wrong::before { content: "Răspuns greșit"; }
.next_question { width: auto; min-width: 64px; }
.foopicker { max-width: 100%; border-color: var(--rim); border-radius: 14px; background: #fff9eb; }
.foopicker__day--selected, .foopicker__day:not(.foopicker__day--disabled):hover { background: #81500a; color: white; }
.foopicker__day--today:not(.foopicker__day--selected) { background: #ffdf97; color: var(--ink); }
@media (min-width: 600px) {
    #pages_content { padding-top: 8px; }
    #login_form .honey-masthead { padding: 24px 32px 18px; }
    .login-fields { padding: 24px 32px; }
}
@media (prefers-reduced-transparency: reduce) {
    :root { --clear-glass: #fff8e9; }
    .modal-content-login, .modal-content-register, .modal-content, .utility, #v-cal { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
#user_profile_page .profile-sheet > p:empty { display: none; }
#user_profile_page p a {
    padding: 11px 32px 11px 14px; width: 100%; background: var(--clear-glass);
    border: 1px solid var(--rim); border-radius: 14px; box-shadow: var(--edge);
}
#user_profile_page p a::after { color: var(--quiet); right: 12px; }
#social-div { flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
#social-div a {
    width: auto; height: auto; min-height: 44px; margin: 0; padding: 10px 12px;
    background: var(--clear-glass); border: 1px solid var(--rim); border-radius: 14px;
    box-shadow: var(--edge); color: var(--ink); font-size: 13px;
}
#user_profile_page #delete_account_link { color: #842e20 !important; opacity: 1; }

#pages_content { width: calc(100% - 16px); max-width: 580px; margin: 0 auto; padding: 0 0 32px; }
.honey-masthead h1 {
    margin: 0; color: var(--ink); text-align: left;
    font: 400 clamp(32px, 9.7vw, 48px)/.91 var(--display);
    letter-spacing: -.042em; text-transform: none;
}
.honey-masthead h1 em { font-weight: normal; color: #854705; }
.honey-masthead h1 img { width: .43em; height: auto; vertical-align: .17em; margin-left: .05em; }
.home-masthead { padding: clamp(32px,12vw,60px) 5.5% 0; }
.home-toolbar { display: flex; align-items: center; gap: 8px; padding: 16px 3.8% 0 5.5%; }
.reading-progress { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; margin-right: 5%; }
#user_progress { margin: 0; font: 650 18px/1 var(--ui-font); color: var(--ink); font-variant-numeric: tabular-nums; }
#reading_meter {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%);
}
.progress-jar {
    display: inline-block; flex: none; position: relative; width: 56px; height: 56px;
}
.progress-jar img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jar-cavity {
    position: absolute; inset: 31% 0 14%; overflow: hidden;
    clip-path: polygon(29% 0,71% 0,80% 18%,85% 43%,84% 67%,78% 88%,71% 100%,29% 100%,22% 88%,16% 67%,15% 43%,20% 18%);
}
.jar-honey {
    --surface-y: calc(100% - var(--jar-level, 0%));
    position: absolute; inset: 0;
    transform: translateY(var(--surface-y));
}
.jar-honey::before {
    content: ""; position: absolute; inset: 0 -7% -18%;
    border-radius: 48% 55% 0 0 / 4% 5% 0 0;
    transform-origin: 50% 1px;
    background: linear-gradient(180deg,#fff1a0 0%,#ffb620 5%,transparent 13%),
        linear-gradient(105deg,#ac5105 8%,#f0a113 28%,#ffd050 47%,#f4a617 69%,#ae5706 94%);
}
@media (prefers-reduced-motion: no-preference) {
    .progress-jar.filling .jar-honey { animation: jar-pour 1.8s cubic-bezier(.3,.08,.28,1) both; }
    .progress-jar.settling .jar-honey { animation: jar-settle 1.7s ease-in-out both; }
    .progress-jar.partly-full .jar-honey::before { animation: jar-ripple 3.6s ease-in-out infinite alternate; }
    .progress-jar:not(.in-view) .jar-honey,
    .progress-jar:not(.in-view) .jar-honey::before { animation-play-state: paused; }
}
@keyframes jar-pour {
    from { transform: translateY(100%); }
    to { transform: translateY(var(--surface-y)); }
}
@keyframes jar-settle {
    from { transform: translateY(calc(100% - var(--jar-start))); }
    48% { transform: translateY(max(0%, calc(var(--surface-y) - 3.5px))); }
    76% { transform: translateY(min(100%, calc(var(--surface-y) + 1px))); }
    to { transform: translateY(var(--surface-y)); }
}
@keyframes jar-ripple {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}
.daily-reading { padding: 0 5.5%; margin: 25px 0 28px; }
.daily-reading[hidden], .reading-audio[hidden] { display: none; }
.reading-date {
    margin: 0 0 10px; padding-left: 14px; border-left: 3px solid #e8a128;
    font: 660 clamp(12px,3.8vw,16px)/1.45 var(--ui-font); letter-spacing: .13em;
    color: #77543b; text-transform: uppercase;
}
#bibliography_today_p {
    font: italic 400 clamp(38px,12vw,56px)/1.06 var(--display);
    letter-spacing: -.04em; font-variant-numeric: lining-nums; text-align: left; overflow-wrap: anywhere; margin: 0;
}
#bibliography_today_p::after {
    content: ""; display: block; width: 1.45em; height: 8px; margin: 7px 0 0;
    border-top: 2px solid #e7a537; border-radius: 58% 80% 0 0; transform: rotate(-4deg);
}
.reading-actions { display: flex; align-items: center; gap: 5%; margin-top: 20px; }
#home_page #readed_today_button {
    display: inline-flex; flex: 1; min-width: 0; max-width: 74%; align-items: center; justify-content: center; gap: 5%;
    height: clamp(56px,18vw,82px); margin: 0; padding: 4px 12px; border: 0 !important; border-radius: 999px;
    background: transparent url("../img/honey-capsule.webp") center / 100% 100% no-repeat !important;
    box-shadow: none; filter: drop-shadow(0 6px 5px #b2772538); cursor: pointer;
    color: var(--ink); font: 600 clamp(19px,5.5vw,25px)/1.1 var(--ui-font); text-transform: none;
}
#readed_today_button::before {
    content: ""; flex: 0 0 1.15em; height: 1.15em; border-radius: 50%; background: #844b09 url("../img/ui/check.svg") center / 73% no-repeat;
}
#home_page #readed_today_button:disabled {
    opacity: 1; filter: drop-shadow(0 3px 4px #b2772530); cursor: default;
    color: #593106; -webkit-text-fill-color: currentColor;
}
.reading-audio {
    display: grid; place-items: center; width: clamp(56px,17vw,80px); height: clamp(56px,17vw,80px);
    border-radius: 50%; background: var(--clear-glass); box-shadow: var(--edge); border: 1px solid #fffc;
}
.reading-audio img { margin-left: 2px; width: 37%; height: auto; }
#login_form .honey-masthead { padding-block: 34px 26px; }
#login_form { background-color: rgba(255,249,238,.67); }
@media (min-width: 640px) {
    body { background-image: none; isolation: isolate; }
    body::before {
        content: ""; z-index: -1; position: fixed; inset: 0; width: 720px; max-width: 100%; margin: auto;
        pointer-events: none; background: var(--paper) center top / 100% auto no-repeat;
        -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
        mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
    }
}

/* The gold program seal sits alongside the title like a printed medallion. */
.honey-masthead, .section-masthead {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    column-gap: 12px;
}
.program-seal {
    grid-column: 2; grid-row: 1 / span 2;
    display: block; width: clamp(52px,15vw,80px); height: auto; border-radius: 50%;
    box-shadow: 0 0 0 1px #fff2cf, 0 2px 6px #8a581e33;
}
.honey-masthead h1, .section-masthead h1 { grid-column: 1; grid-row: 1; }
.home-masthead { padding-top: clamp(26px,8vw,48px); }
.progress-caption { display: grid; gap: 4px; }
.progress-caption > span { color: #69462c; font: 550 12px/1.15 var(--ui-font); }
.reading-progress { gap: 3px; margin-right: auto; }
#user_progress { font-size: 21px; }
.section-masthead { padding: 22px 5% 18px; row-gap: 8px; }
.section-masthead h1 {
    margin: 0; grid-row: 2; font: 400 clamp(34px,8vw,48px)/1.08 var(--display);
    color: var(--ink); letter-spacing: -.025em; text-align: left;
}
.back-action, .modal .close {
    color: var(--ink); border: 1px solid var(--rim); background: var(--clear-glass);
    box-shadow: var(--edge);
}
.back-action {
    justify-self: start; display: inline-flex; gap: 7px; align-items: center;
    padding: 0 14px 0 10px; border-radius: 99px;
}
.back-action::before { content: ""; width: 14px; height: 14px; background: url(../img/ui/chevron-left.svg) center/contain no-repeat; }
.modal-content-login, .modal-content-register, .modal-content { overflow: hidden; }
.modal .imgcontainer, .modal .modal-header {
    background: linear-gradient(110deg,#fff9ec,#f9e4b7) !important;
    padding: 19px 60px 18px 22px; border-bottom: 1px solid var(--gold-line);
}
.modal .imgcontainer h2, #myModal #modal_title, .field-heading, .reader-activity caption {
    margin: 0; font: 400 25px/1.22 var(--display); text-align: left; color: var(--ink);
}
.modal .close { display: grid; place-items: center; padding: 0; line-height: 1; }
.modal .field-heading { font-size: 21px; margin: 22px 0 14px; padding-top: 15px; border-top: 1px solid var(--rim); }
.modal .consent-row {
    display: flex; align-items: baseline; gap: 10px; padding: 8px 0;
    font: 400 14px/1.45 var(--ui-font);
}
.consent-row input { flex: none; width: 18px; height: 18px; align-self: flex-start; margin: 2px 0 0; accent-color: var(--honey-dark); }
.modal select:focus, .modal input:focus { border-color: var(--honey-dark); }
.modal #delete_account_button { background: #803b29 !important; color: white !important; }
#loading_info {
    top: 50%; left: 50%; transform: translate(-50%,-50%); width: max-content;
    max-width: calc(100% - 32px); padding: 14px 24px;
    background: var(--ivory-glass); border: 1px solid var(--gold-line); border-radius: 28px;
}
#loading_info::before {
    content: ""; display: block; width: 28px; height: 35px; margin: 0 auto 6px;
    background: url(../img/honey-drop.webp) center/contain no-repeat;
}
.profile-library {
    margin: 14px 0; padding: 0 18px; background: var(--ivory-glass);
    border: 1px solid var(--rim); border-radius: 24px; box-shadow: var(--sheet-shadow);
}
.profile-group + .profile-group { border-top: 1px solid var(--rim); }
.profile-group summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 0; font: 400 21px/1.2 var(--display); cursor: pointer; list-style: none;
}
.profile-group summary::-webkit-details-marker { display: none; }
.profile-group summary::after { content: ""; flex: 0 0 14px; height: 14px; background: url(../img/ui/chevron-right.svg) center/contain no-repeat; }
.profile-group[open] summary::after { transform: rotate(90deg); }
.profile-group > div { padding: 0 0 10px; }
#user_profile_page .profile-group p { text-align: left; overflow-wrap: anywhere; }
.profile-group > div > a, .profile-group .text-action { display: flex; align-items: center; min-height: 44px; }
#user_profile_page .profile-sheet h3#profile_name { font: 400 32px/1.1 var(--display); margin-top: 0; }
#user_profile_page .profile-sheet #profile_email { color: var(--quiet); font-size: 15px; padding-top: 0; }
#user_profile_page #change_psw_button { background: var(--clear-glass) !important; }
#user_profile_page .profile-sheet .button { margin: 10px 0 0; }
#user_profile_page .profile-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 4px; }
#user_profile_page .profile-foot .button { width: auto; margin: 0; padding: 10px 22px; }
#social-div { width: auto; }
.reader-activity { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; table-layout: fixed; }
.reader-activity caption { padding: 0 0 14px; }
.reader-activity th, .reader-activity td { text-align: center; padding: 6px 1px; }
.reader-activity th { color: var(--quiet); border-bottom: 1px solid var(--rim); font-size: 12px; }
.reader-activity td { font-weight: 650; }
#total_users { font-size: 14px; color: var(--quiet); }
#messages_list .card { margin-top: 0; }
#messages_list .empty-inbox { padding: 34px 18px; text-align: center; }
.empty-inbox::before { content: ""; display: block; height: 36px; margin-bottom: 10px; background: url(../img/honey-drop.webp) center/auto 100% no-repeat; }
.msg_link:empty { display: none; }
.msg_link a.button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rim); background: var(--clear-glass); color: var(--honey-dark); border-radius: 22px; }
.quiz-masthead h1 { grid-row: 1; }
.quiz-masthead .program-seal { width: 54px; grid-row: 1; }
#header_question { align-items: baseline; justify-content: space-between; border: 0; }
#header_question > div { width: auto !important; font-weight: 600; }
#header_question .quiz-counter-label { font-weight: 400; }
#quiz_meter { order: -1; width: 100%; height: 5px; border: 0; border-radius: 6px; overflow: hidden; appearance: none; background: #e4d3b6; }
#header_question { order: -2; }
#quiz_meter::-webkit-progress-bar { background: #e4d3b6; }
#quiz_meter::-webkit-progress-value { background: var(--liquid); border-radius: 6px; }
#quiz_meter::-moz-progress-bar { background: var(--liquid); border-radius: 6px; }
#question, #reference_div { text-align: left; align-self: stretch; justify-content: flex-start; }
.question_div { display: block; }
#reference { color: var(--honey-dark) !important; }
#options_div .option { border-radius: 18px; text-align: left; padding: 14px 18px; background: var(--ivory-glass); }
#question_page .modal-body, #question_page .modal-footer { background: var(--ivory-glass) !important; }
#myModal #final_score { font: 400 30px/1.2 var(--display); }
#myModal #repeat_test_button { color: var(--ink) !important; background: var(--clear-glass) !important; border: 1px solid var(--rim) !important; }
.small_loader { border-color: #ebd9b8; border-top-color: #946123; }
@media (prefers-reduced-transparency: reduce) {
    :root { --ivory-glass: #fff8eb; }
}
.foopicker { color: var(--ink); font-family: var(--ui-font); overflow: hidden; box-shadow: var(--sheet-shadow); }
.foopicker__header { position: relative; background: linear-gradient(120deg,#fffdfa,#f7e6c6); border-bottom: 1px solid var(--rim); }
.foopicker__header select { width: auto; margin: 0 2px; padding: 5px 2px; color: var(--ink); background: #fffaf0; border: 1px solid var(--rim); }
.foopicker__arrow { top: 50%; transform: translateY(-50%); background-position: center; }
#readed_yesterday_box:not(:empty) { margin-top: 16px; padding: 15px 20px; border-left: 2px solid var(--gold-line); border-radius: 0 18px 18px 0; background: var(--ivory-glass); }

/* Accountability reports arrive as HTML under the calendar, including older inline-styled tables. */
#readed_yesterday_box h3 {
    margin: 0 0 12px; color: var(--ink); text-align: left;
    font: 400 clamp(23px, 6vw, 29px)/1.15 var(--display);
}
#readed_yesterday_box .honey-table-wrap {
    padding: 0; margin: 0; overflow-x: auto; border: 1px solid var(--rim); border-radius: 15px;
    background: var(--ivory-glass); box-shadow: inset 0 1px 0 white;
}
#readed_yesterday_box table {
    width: 100%; margin: 0; border-spacing: 0; border-collapse: separate !important;
    color: var(--ink); font-family: var(--ui-font) !important; background: var(--ivory-glass);
}
#readed_yesterday_box th, #readed_yesterday_box td {
    border: 0 !important; border-radius: 0; padding: 11px 12px !important;
    text-align: left !important; overflow-wrap: anywhere;
}
#readed_yesterday_box th {
    background: #faedce; color: #684927; font-size: 13px; font-weight: 650;
}
#readed_yesterday_box td { border-top: 1px solid var(--rim) !important; font-size: 15px; }
#readed_yesterday_box th:nth-child(2), #readed_yesterday_box td:nth-child(2) { text-align: right !important; }
#readed_yesterday_box .days-badge {
    display: inline-block; min-width: 3ch; padding: 3px 10px; text-align: center;
    font-variant-numeric: tabular-nums; color: #572e08; background: var(--liquid);
    border-radius: 20px; box-shadow: inset 0 1px 1px #fff3bd;
}
#readed_yesterday_box .name-cell { font-weight: 550; }
#readed_yesterday_box .table-empty { padding: 12px; color: var(--quiet); background: var(--ivory-glass); box-shadow: none; }
