:root{--navy:#182f55;--blue:#2653da;--blue-light:#edf2ff;--ink:#192b47;--muted:#65738a;--line:#e2e7ef;--paper:#fff;--bg:#f4f6fa;--green:#167047;--red:#b33942;--amber:#96640e;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:16px;line-height:1.6}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--blue);text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #789cff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.35;letter-spacing:-.5px}h2{font-size:20px;line-height:1.5}h3{font-size:17px}small,.small{font-size:14px}strong{font-weight:650}.muted{color:var(--muted)}.eyebrow{font-size:13px;font-weight:700;letter-spacing:1.3px;color:var(--blue)}.french{font-family:Georgia,"Times New Roman",serif}.skip-link{position:fixed;top:-70px;left:20px;background:var(--paper);padding:12px;z-index:50}.skip-link:focus{top:10px}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:var(--paper);border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:20px;font-weight:700}.brand-mark{width:46px;height:46px;border-radius:13px;background:var(--blue);color:white;text-align:center;font:bold 40px Georgia;line-height:49px}.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:1.8px;margin-top:1px}.nav-caption{margin:46px 12px 12px;color:var(--muted);font-size:12px;letter-spacing:1px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;color:#58677f;font-size:15px;font-weight:550}.sidebar nav a:hover{background:#f5f7fc}.sidebar nav a.active{background:var(--blue-light);color:var(--blue)}.sidebar nav a>span{font-size:22px;width:23px;text-align:center;font-weight:400;line-height:1}.sidebar nav b{margin-left:auto;border-radius:7px;background:#ffebe9;color:var(--red);padding:0 6px;font-size:12px}.sidebar-bottom{margin-top:auto;padding:24px 12px 0;border-top:1px solid var(--line)}.collection-label{font-size:12px;color:var(--muted)}.sidebar-bottom strong{display:block;font-size:28px;margin:5px 0 20px}.sidebar-bottom strong span{font-size:13px;color:var(--muted);font-weight:400}.sidebar-bottom a{display:flex;justify-content:space-between;color:var(--muted);font-size:14px}.shell{margin-left:226px}.topbar{height:78px;padding:0 44px;background:#ffffffb3;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:14px}.topbar-right{display:flex;align-items:center;gap:21px}.topbar-right>span:first-child{color:var(--muted);font-size:13px}.avatar{display:grid;place-items:center;background:var(--navy);border-radius:50%;width:34px;height:34px;color:white;font-size:12px;letter-spacing:1px}main{max-width:1280px;margin:auto;padding:34px 44px 54px;min-height:calc(100vh - 145px)}footer{max-width:1280px;margin:auto;padding:0 44px 22px;display:flex;justify-content:space-between;font-size:12px;color:#7b8798}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head .muted{margin-top:8px;font-size:15px}.date{font-size:14px;color:var(--muted);white-space:nowrap}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:25px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:10px 17px;font-size:15px;font-weight:600;min-height:44px;background:white;color:var(--ink)}.button:hover{background:#f5f7fc}.button.primary{background:var(--blue);border-color:var(--blue);color:white}.button.primary:hover{background:#1c43be}.button.light{color:var(--blue);border-color:#d5defa;background:#f6f8ff}.button.ghost{background:transparent;border-color:transparent;color:var(--muted)}.button.small{font-size:14px;padding:7px 12px;min-height:38px}.button.white{background:white;border-color:white;color:var(--navy)}.button.danger{background:var(--red);border-color:var(--red);color:white}.actions{display:flex;gap:10px;flex-wrap:wrap}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:22px}.today-card{background:var(--navy);border:0;color:white;padding:28px 30px;position:relative;overflow:hidden}.today-card .eyebrow{color:#b5caff}.today-card h2{font-size:26px;margin-top:9px}.today-card p{color:#bdcbe1;font-size:15px;margin-top:8px;max-width:430px}.today-card .actions{margin-top:28px}.today-card .button.ghost{color:#d0dcf1;border-color:#607493}.today-card .progress-rail{margin-top:30px;background:#3b5173}.today-card .progress-rail>span{background:#f3c561}.today-card .rail-label{color:#b6c6df;margin-top:8px}.today-number{font-size:48px;font-weight:650;line-height:1.2;margin-top:23px;letter-spacing:-1px}.today-number small{font-size:16px;font-weight:400;color:#b6c6df;letter-spacing:0}.goal-panel{display:flex;flex-direction:column;justify-content:space-between}.goal-ring{width:130px;height:130px;margin:12px auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) var(--percent),#edf0f6 0);position:relative}.goal-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:white}.goal-ring>div{position:relative;text-align:center;font-size:32px;font-weight:700;line-height:1.4}.goal-ring small{display:block;font-size:13px;color:var(--muted);font-weight:400}.goal-panel p{text-align:center;color:var(--muted);font-size:14px}.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.stat{background:white;border:1px solid var(--line);padding:20px 22px;border-radius:14px}.stat-label{font-size:14px;color:var(--muted)}.stat-number{font-size:29px;font-weight:650;line-height:1.5;margin-top:5px}.stat-note{font-size:12px;color:var(--muted)}.dashboard-bottom{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.core-list{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.word-chip{padding:15px 8px;background:#f7f9fd;border:1px solid #e9edf5;border-radius:10px;color:var(--ink);text-align:center;min-width:0}.word-chip:hover{border-color:#a9bdf2;background:#f0f4ff}.word-chip .french{display:block;font-size:22px}.word-chip small{font-size:12px;color:var(--muted)}.tips-list{list-style:none;padding:0;margin:0;display:grid;gap:16px}.tips-list li{display:flex;gap:12px;font-size:14px}.tip-index{height:25px;min-width:25px;display:grid;place-items:center;background:var(--blue-light);color:var(--blue);border-radius:7px;font-size:12px}.tips-list strong{font-weight:600}.tips-list p{color:var(--muted);margin-top:3px}.progress-rail{height:6px;border-radius:8px;background:#e9edf5;overflow:hidden}.progress-rail>span{display:block;height:100%;background:var(--blue);border-radius:8px}.rail-label{display:flex;justify-content:space-between;font-size:13px}.resume{margin-bottom:20px;background:#fff7e4;border:1px solid #f0dfb6;border-radius:12px;padding:15px 19px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px}.resume strong{display:block;color:var(--amber)}.resume p{color:#826d42;margin-top:2px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:25px 0}label.field{display:grid;gap:8px;font-size:14px;font-weight:600}input[type=search],input[type=text],select{background:#fff;border:1px solid #cbd4e1;border-radius:9px;padding:10px 12px;min-height:45px;max-width:100%;color:var(--ink);width:100%}input::placeholder{color:#8a96a8}.fieldset{border:0;padding:0;margin:20px 0}.fieldset legend{font-size:14px;font-weight:600;margin-bottom:10px}.segments{display:flex;gap:9px;flex-wrap:wrap}.segment{position:relative}.segment input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer;margin:0}.segment span{display:block;padding:10px 18px;border:1px solid var(--line);border-radius:10px;font-size:14px}.segment input:checked+span{background:var(--blue-light);color:var(--blue);border-color:#a7bbee;font-weight:600}.segment input:focus-visible+span{outline:3px solid #789cff;outline-offset:3px}.callout{background:#f2f5fc;border-radius:10px;padding:14px 17px;font-size:14px;color:#55667e}.callout.warning{background:#fff4df;color:#8a6422}.practice-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px}.practice-note p{margin-top:14px;font-size:14px;color:var(--muted)}.practice-note .french{font-size:20px;color:var(--ink)}.review-session{max-width:820px;margin:0 auto}.session-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:14px}.session-meter{margin-bottom:23px}.exercise{padding:30px 40px}.exercise-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}.tag{display:inline-block;padding:3px 9px;border-radius:6px;background:var(--blue-light);color:var(--blue);font-size:12px;white-space:nowrap}.tag.amber{background:#fff3d8;color:var(--amber)}.tag.green{background:#eaf5ee;color:var(--green)}.tag.red{background:#fcecee;color:var(--red)}.question-heading{text-align:center;margin:30px 0 26px}.question-heading h1{font-size:46px;font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-1px;overflow-wrap:anywhere}.question-heading h1.chinese{font-family:inherit;font-size:35px;font-weight:650;letter-spacing:0}.question-heading p{color:var(--muted);margin-top:8px;font-size:15px}.answer-label{display:flex;align-items:center;gap:13px;font-size:18px;margin-bottom:10px}.answer-label .french{font-size:26px;white-space:nowrap;color:var(--blue)}input.answer{font-size:23px;padding:14px 18px;min-height:63px;border-radius:11px}.answer.correct{border-color:var(--green);background:#f7fcf9}.answer.incorrect{border-color:#d98c93;background:#fffafa}.accent-bar{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.accent-key{font-size:16px;background:#f8f9fc;border:1px solid #e0e5ee;padding:5px 9px;min-width:32px;border-radius:6px;color:#536582;min-height:34px}.accent-key:hover{color:var(--blue);border-color:#adc0f1}.exercise-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.feedback{margin-top:20px;padding:17px 20px;background:#edf7f0;border-radius:11px;color:var(--green);font-size:15px}.feedback.incorrect{background:#fff0f0;color:var(--red)}.feedback strong{display:block}.feedback .french{font-size:25px;color:var(--ink);margin-top:4px;display:block;overflow-wrap:anywhere}.feedback p{margin-top:6px;font-size:14px}.question-tip{text-align:center;font-size:13px;color:var(--muted);margin-top:20px}.grid-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid-answer label{display:block;font-size:14px;margin-bottom:5px;color:var(--muted)}.grid-answer input{font-size:18px;padding:11px 13px}.grid-answer .mini-feedback{font-size:14px;margin-top:5px;color:var(--green)}.grid-answer .mini-feedback.wrong{color:var(--red)}.finish{text-align:center;padding:38px}.finish-mark{width:64px;height:64px;border-radius:50%;background:var(--blue-light);color:var(--blue);margin:0 auto 20px;display:grid;place-items:center;font-size:32px}.finish h1{font-size:28px}.finish .actions{justify-content:center;margin-top:24px}.finish-stats{display:flex;justify-content:center;gap:45px;margin:25px 0}.finish-stats strong{display:block;font-size:30px}.finish-stats small{color:var(--muted)}.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:22px}.filters .search{flex:1;min-width:190px}.filters .field{min-width:140px}.list-count{font-size:14px;color:var(--muted);margin-bottom:15px}.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.word-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;border:1px solid var(--line);padding:20px;border-radius:12px;min-height:150px;color:var(--ink);position:relative}.word-card:hover{border-color:#9fb5e9;box-shadow:0 4px 15px #182f5509}.word-card .french{font-size:27px;overflow-wrap:anywhere;line-height:1.3}.word-card .meaning{font-size:14px;margin-top:5px;color:var(--muted)}.word-card .word-meta{display:flex;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:15px}.word-meta small{font-size:12px;color:var(--muted)}.word-card .star{position:absolute;right:17px;top:17px;color:#ad811d;font-size:12px}.empty{padding:44px 24px;text-align:center;border:1px dashed #cbd5e5;background:#fafbfe;border-radius:14px}.empty h2{font-size:20px;margin-bottom:7px}.empty p{color:var(--muted);font-size:15px;margin-bottom:20px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:15px}th,td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left}th{font-size:13px;font-weight:550;color:var(--muted);background:#f9fafe}td .french{font-size:20px}.mistake-item{display:grid;grid-template-columns:1fr 1.1fr auto;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.mistake-item:last-child{border-bottom:0}.mistake-item .french{font-size:23px}.mistake-item .incorrect-answer{font-size:14px;color:var(--red);overflow-wrap:anywhere}.mistake-item .small{color:var(--muted);margin-top:3px}.audio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.audio-panel{padding:23px}.audio-panel .audio-num{color:#91a7cd;font-size:14px;font-family:Georgia;letter-spacing:1px}.audio-panel h2{margin-top:9px;font-size:18px}.audio-panel .audio-caption{font-size:14px;color:var(--muted);margin:4px 0 18px}.audio-panel audio{width:100%;height:44px}.audio-tools{display:flex;gap:8px;align-items:center;margin-top:14px;font-size:13px;color:var(--muted)}.audio-tools select{font-size:13px;width:auto;min-height:35px;padding:4px 8px}.week-chart{height:180px;display:flex;gap:15px;align-items:end;margin:25px 5px 10px}.chart-day{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:6px;height:100%}.chart-day .bar{background:#c9d6f8;border-radius:6px 6px 0 0;width:min(42px,100%);min-height:3px}.chart-day:last-child .bar{background:var(--blue)}.chart-day small{font-size:12px;color:var(--muted)}.chart-day .bar-value{font-size:12px;color:var(--blue)}.records-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.record-lines{display:grid;gap:15px}.record-line .rail-label{margin-bottom:7px}.settings-grid{display:grid;gap:22px;max-width:860px}.settings-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.settings-row select{width:140px}.settings-row .muted{font-size:14px;margin-top:5px}.source-list{padding-left:19px;font-size:14px;display:grid;gap:6px;margin-bottom:0}.toast{position:fixed;bottom:26px;left:calc(50% + 113px);transform:translateX(-50%);padding:12px 20px;background:var(--navy);color:white;border-radius:10px;font-size:14px;box-shadow:0 5px 24px #172d5530;z-index:100;max-width:calc(100vw - 35px)}dialog{border:1px solid var(--line);border-radius:20px;padding:28px;max-width:min(760px,calc(100vw - 30px));width:760px;color:var(--ink);max-height:90vh;overflow:auto;box-shadow:0 25px 90px #13254c30}dialog::backdrop{background:#12274966;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.dialog-head h2{font-size:32px;font-weight:500}.dialog-head p{font-size:15px;color:var(--muted)}.dialog-close{padding:3px 10px;font-size:24px;background:#f0f3f9;border:0;border-radius:8px;color:var(--muted)}.detail-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.detail-note{margin:15px 0}.detail-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:23px}.detail-table td:first-child{width:33%;color:var(--muted)}.detail-table tr:last-child td{border-bottom:0}.confirm-copy{color:var(--muted);margin:15px 0 25px;font-size:15px}.warning-banner{background:#fff3da;border:1px solid #eed49b;padding:12px 17px;border-radius:10px;color:#805c1b;margin-bottom:20px;font-size:14px}.keyboard-hint{font-size:12px;color:var(--muted);margin-top:10px}.storage-error{color:var(--red)!important}
@media(min-width:1500px){.dashboard-grid{grid-template-columns:1.85fr 1fr}main{padding-top:45px}.today-card{min-height:295px}.today-number{margin-top:30px}}
@media(max-width:1100px){.sidebar{width:192px;padding:27px 15px}.shell{margin-left:192px}.brand{font-size:18px}.brand-mark{width:40px;height:42px;font-size:35px;line-height:44px}.topbar{padding:0 28px}main{padding:28px}.dashboard-bottom{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1.5fr 1fr}.stat{padding:15px}.stat-row{gap:11px}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 96px)}footer{padding:0 28px 20px}.practice-layout,.records-grid{grid-template-columns:1fr}.practice-note{display:none}}
@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:17px 18px 12px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:18px;gap:10px}.brand-mark{width:36px;height:36px;border-radius:10px;font-size:31px;line-height:38px}.brand small{font-size:10px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow-x:auto;margin-top:14px;padding-bottom:3px}.sidebar nav a{padding:9px 12px;white-space:nowrap;font-size:14px;gap:6px}.sidebar nav a>span{display:none}.shell{margin:0}.topbar{height:53px;padding:0 20px}.topbar-right{gap:12px}.topbar-right>span:first-child{font-size:12px}.avatar{width:27px;height:27px;font-size:10px}main{padding:24px 18px 38px;min-height:70vh}h1{font-size:26px}.page-head{margin-bottom:21px;align-items:start;flex-wrap:wrap;gap:8px}.page-head .muted{font-size:14px;margin-top:6px}.date{font-size:12px}.dashboard-grid{grid-template-columns:1fr}.today-card{padding:24px}.today-card h2{font-size:24px}.today-number{font-size:40px}.today-card .actions{margin-top:22px}.goal-panel{display:none}.stat-row{grid-template-columns:repeat(2,1fr);gap:11px;margin:17px 0}.stat{padding:15px 18px}.stat-number{font-size:26px}.stat-label{font-size:13px}.dashboard-bottom{gap:17px}.panel{padding:21px}.core-list{gap:8px}.word-chip .french{font-size:20px}.word-chip{padding:13px 5px}.word-chip small{font-size:11px}.form-grid{gap:17px;grid-template-columns:1fr}.exercise{padding:23px 20px}.question-heading{margin:24px 0}.question-heading h1{font-size:39px}.question-heading h1.chinese{font-size:30px}.exercise-actions{margin-top:20px;padding-top:18px}.accent-key{min-height:36px}.grid-answers{gap:12px}.grid-answer input{font-size:16px;padding:10px}.answer-label .french{font-size:22px}input.answer{font-size:20px;min-height:57px}.word-grid{gap:10px}.word-card{padding:16px;min-height:146px}.word-card .french{font-size:23px}.word-card .star{position:static;margin-bottom:3px}.word-meta{flex-wrap:wrap}.filters{gap:11px}.filters .field{min-width:110px;flex:1}.filters .search{flex-basis:100%}.mistake-item{grid-template-columns:1fr;gap:8px}.mistake-item .button{justify-self:start}.audio-grid{grid-template-columns:1fr}.settings-row{flex-wrap:wrap;gap:15px}.settings-row select{width:100%}.resume{align-items:start}.resume .button{white-space:nowrap}.toast{left:50%;bottom:18px}footer{padding:0 18px 20px;display:block;font-size:11px}footer span{display:none}dialog{padding:22px 18px}.finish{padding:28px 18px}.finish-stats{gap:30px}.exercise-meta{font-size:12px}.audio-panel{padding:23px}}
@media(prefers-reduced-motion:no-preference){button,a,input{transition:background .15s,border-color .15s,box-shadow .15s}.toast{animation:appear .2s ease-out}.exercise{animation:appear .2s ease-out}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}

[hidden]{display:none!important}.sidebar nav a.mobile-settings{display:none}@media(max-width:760px){.sidebar nav a.mobile-settings{display:flex}}
.sidebar-bottom .sidebar-sentences{font-size:12px;margin-top:-16px;margin-bottom:20px}.sentence-shortcut{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}.sentence-shortcut h2{margin:7px 0 6px}.sentence-shortcut .button{flex-shrink:0}.sentence-toolbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 24px;font-size:14px}.sentence-toolbar input{accent-color:var(--blue);width:17px;height:17px;vertical-align:middle;margin-right:7px}.sentence-section{margin-bottom:30px}.sentence-group-title{margin:4px 0 15px}.sentence-group-title span{font-size:13px;font-weight:400;color:var(--muted);margin-left:8px}.sentence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.sentence-card{padding:22px;display:flex;flex-direction:column;min-width:0}.sentence-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.sentence-card-head .tag:first-child{max-width:70%;overflow-wrap:anywhere;white-space:normal}.sentence-card h3{font-size:17px;font-weight:600;line-height:1.6}.sentence-card .sentence-french{font-size:24px;line-height:1.45;margin:12px 0 14px;overflow-wrap:anywhere}.sentence-card audio{width:100%;height:38px;margin-top:auto;padding-top:0}.sentence-note{font-size:13px;color:var(--muted);margin:0 0 16px}.sentence-card-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.sentence-card-actions .small{font-size:12px}.sentence-reveal{margin:9px 0 14px}.sentence-reveal summary{font-size:14px;color:var(--blue);cursor:pointer}.sentence-reveal .sentence-french{margin-bottom:0}.pattern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.pattern-card h3{font-size:26px;font-weight:500}.pattern-card>.muted{font-size:14px}.pattern-example{margin:16px 0 4px;font-size:18px}.pattern-card .button{margin-top:17px}.dialogue-lines{display:grid;gap:20px;margin-bottom:24px}.dialogue-line{display:flex;gap:14px;align-items:flex-start}.dialogue-line>div{flex:1;min-width:0}.dialogue-line .french{font-size:24px;line-height:1.45;overflow-wrap:anywhere}.dialogue-line .muted{margin-top:5px}.dialogue-speaker{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:var(--blue-light);color:var(--blue);font-size:13px}.dialogue-audio{width:100%;max-width:500px;height:42px}.mistake-item .french{overflow-wrap:anywhere}.question-heading h1.chinese{overflow-wrap:anywhere;line-height:1.5}.sidebar .nav-caption{margin-top:34px}
@media(max-width:1100px){.sentence-grid,.pattern-grid{gap:14px}.sentence-card{padding:20px}.sentence-card .sentence-french{font-size:22px}}
@media(max-width:760px){.sentence-grid,.pattern-grid{grid-template-columns:1fr}.sentence-shortcut{align-items:flex-start;flex-direction:column;gap:16px}.sentence-shortcut h2{font-size:19px}.sentence-toolbar{gap:10px}.sentence-card .sentence-french{font-size:23px}.sentence-card h3{font-size:16px}.sentence-section>.panel-title{align-items:flex-start;flex-direction:column;gap:5px}.dialogue-line{gap:10px;flex-wrap:wrap}.dialogue-line .french{font-size:22px}.dialogue-line .button{margin-left:40px}.sentence-section{margin-bottom:26px}.sidebar-bottom .sidebar-sentences{display:none}.sidebar .nav-caption{display:none}.question-heading h1.chinese{font-size:27px}}

.vocabulary-card audio{width:100%;height:38px;margin:12px 0}
