@import url('./base.css');
@import url('./reference.css');
/* Adapt only the viewport, live-data controls, and safe-area behavior of the HTML reference. */
:root{color-scheme:light;--green:#147a50;--muted:#6d7f76;--line:#d8e6df;--gold:#ffe47d;color:#20352f;background:#f1f6f3}
#vet-exam-prototype{color-scheme:light;display:block;padding:0;font-size:14px}
#vet-exam-prototype .vet-phone{width:100%;max-width:430px;min-height:100dvh;margin:0 auto;border-radius:0;background:#f7fbf8}
#vet-exam-prototype .brand{padding:18px 18px 12px;background:#fff;border-bottom:0}
.brand a{font-size:16px;font-weight:500}.brand small{font-size:11px;margin-top:3px}.brand-mark{background:#d8f5e4;color:#11794b}.vet-svg{width:21px;height:21px;display:block;flex-shrink:0}
#view{padding:20px 18px 100px;min-height:572px}h1{font-size:23px;font-weight:500;letter-spacing:0}h2{font-size:20px;font-weight:500}h3{font-weight:500}
#vet-exam-prototype .vet-subject p{font-size:12px;line-height:1.7}#vet-exam-prototype .vet-subject-foot{font-size:12px}.vet-discipline-list small{display:block;line-height:1.6;margin-top:3px}
#vet-exam-prototype .vet-continue.resume-card{margin:20px 0 0;width:100%}.trial-note{margin-top:18px}.trial-note .text-btn{display:block}.bank-shortcut{display:block;margin-top:20px}
.bottom-nav{max-width:428px;padding:8px 6px calc(10px + env(safe-area-inset-bottom));background:#fffffffa}.bottom-nav a{gap:4px;font-size:12px;padding:0 12px}.bottom-nav a.active{font-weight:500;color:#147a50}.bottom-nav .vet-svg{width:22px;height:22px}
#vet-exam-prototype .vet-ai-fab{position:fixed;bottom:calc(85px + env(safe-area-inset-bottom));right:max(18px,calc((100vw - 430px)/2 + 18px));z-index:6;width:58px;height:58px;font-size:12px}
#vet-exam-prototype .vet-phone.vet-nav-hidden .vet-ai-fab{bottom:20px}
#vet-exam-prototype .vet-path .vet-node{flex-shrink:0}#vet-exam-prototype .vet-node-label span{display:block;font-size:12px;margin-top:5px}.vet-node-row a:focus-visible{outline:3px solid #aa6200;outline-offset:6px}
#view[data-page="path"],#view[data-page="journey"],#view[data-page="chapter"]{padding:0 0 86px}.vet-course-head small,.vet-flow-title small{color:#d5eee0}.vet-course-head .vet-page-head,.vet-flow-title .vet-page-head{margin-bottom:12px}.vet-course-head h2,.vet-flow-title h2{color:#fff}.vet-course-head .vet-progress>span{width:0}
#vet-exam-prototype .vet-stage-list{padding-bottom:20px}#view>.notice{margin:20px 18px}.vet-activity-card strong{display:block;font-weight:500}.vet-activity-card small{display:block;margin-top:4px}.vet-activity-card .badge{font-size:10px}
.card{border-radius:16px}.option{border-radius:14px}.btn{background:#147a50;font-weight:500}.btn.ghost{background:#e8f5ed}.option.selected{background:#e7f6ed;border-color:#26865d}.chapter .number{letter-spacing:0}.card.hero{background:#147a50}
.chapter-toolbar{padding:16px 18px 0}.chapter-toolbar .notice{margin:10px 0}.path-empty{padding:24px 18px}.learning-choice{display:block;padding:14px;border:1px solid var(--line);border-radius:12px;margin:12px 0}.learning-choice small{display:block;margin-top:5px}
.original-tools{margin:18px 0}.original-tools .vet-quick-action strong{font-size:14px}.original-tools .vet-quick-action span{font-size:12px}.profile-links{margin:18px 0}.profile-links a{display:flex;gap:12px;align-items:center;margin:10px 0;padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px}
@media(min-width:600px){#vet-exam-prototype{padding:8px 0}#vet-exam-prototype .vet-phone{border-radius:28px;min-height:calc(100dvh - 8px)}}
@media(max-width:360px){#view{padding-left:14px;padding-right:14px}#vet-exam-prototype .vet-subject{padding:12px}#vet-exam-prototype .vet-path{padding-left:24px;padding-right:24px}}
[hidden]{display:none!important}
/* Phone-first bank: one title, large row targets, secondary controls collapsed. */
.bank-focused>.brand{display:none!important}.compact-heading{display:flex;align-items:center;gap:10px;margin:0 0 16px}.compact-heading>a{display:grid;place-items:center;min-width:44px;min-height:48px;font-size:32px;border-radius:12px;background:#e8f1ed}.compact-heading h1{font-size:20px;margin:0;line-height:1.45}.menu-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;padding:15px 16px;margin:0;border-radius:0;border:0;border-bottom:1px solid var(--line);background:#fff}.menu-row h3{font-size:16px;line-height:1.5;margin:0;font-weight:600}.menu-row small{margin-top:5px;font-size:12px}.menu-chevron{font-size:24px;color:#83948b}.practice-tools{margin:14px 0}.practice-tools>summary,.page-more>summary{min-height:44px;display:flex;align-items:center;color:#64786b;cursor:pointer}.page-more>summary{justify-content:center}.bank-pagination .btn.small{min-height:46px;min-width:88px}.original-tools .vet-quick-action{min-height:48px;display:flex;align-items:center;justify-content:center}.bank-chapter>.text-btn{display:inline-flex;min-height:44px;align-items:center}.bank-chapter>h1{font-size:20px;line-height:1.45}.bank-focused #view{padding-bottom:28px}
.bank-chapter{padding:20px 18px}.bank-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.bank-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0;font-size:12px}.bank-jump{display:flex;justify-content:center;align-items:center;gap:10px;margin:12px 0}.bank-jump label{display:flex;align-items:center;gap:8px;margin:0}.bank-jump input{width:70px}.answer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.answer-grid button{padding:12px 4px;border:1px solid #cfdad0;border-radius:9px;background:white;color:#20352f}.answer-grid .correct{background:#def5e6;color:#145d36}.answer-grid .wrong{background:#ffe8e8;color:#a63232}
