.cv-workspace{max-width:1040px;margin:auto}.cv-workspace .page-head h1{font-size:clamp(25px,3vw,34px)}.cv-workspace .panel{padding:24px}.cv-section{margin-top:20px}.cv-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.cv-counts>div{display:flex;flex-direction:column;gap:6px;background:var(--surface-soft,#f2f6f4);padding:16px;border-radius:14px;color:var(--muted,#5b6e67)}.cv-counts strong{font-size:32px;line-height:1.2;color:var(--text,#233e35)}.cv-routes{margin-top:20px}.cv-workspace button[aria-pressed=true]{background:var(--accent,#2b7861);border-color:var(--accent,#2b7861);color:#fff}.cv-card{max-width:720px;margin:20px auto}.cv-card .cv-lemma{font-size:clamp(34px,5vw,46px);overflow-wrap:anywhere;margin:24px 0 10px}.cv-meaning{font-size:21px;line-height:1.7;margin:18px 0}.cv-material{border-top:1px solid var(--border,#dde8e2);margin-top:20px;padding-top:16px;line-height:1.75}.cv-material p{margin:8px 0}.cv-actions{margin-top:22px;align-items:end}.cv-progress{width:100%;height:6px;margin-top:14px;accent-color:var(--accent,#2b7861)}.cv-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border,#dde8e2);padding:14px 0}.cv-list-row p{margin:5px 0}.cv-list-row strong{font-size:19px}.cv-total{font-size:46px;margin:20px 0}.cv-total small{font-size:16px}.cv-workspace .inline-check{margin-top:16px}.cv-workspace summary{cursor:pointer;color:var(--accent,#2b7861)}.cv-card label{display:block;margin-top:20px}.cv-card input{min-height:50px}.cv-mode button,.cv-routes button{min-height:44px}@media(max-width:600px){.cv-workspace .panel{padding:18px}.cv-counts{gap:8px}.cv-counts>div{padding:12px 9px}.cv-counts strong{font-size:26px}.cv-counts span{font-size:12px}.cv-routes{gap:6px}.cv-routes button{font-size:13px;padding:10px 12px}.cv-actions button{flex:1 1 auto}.cv-list-row{gap:10px}}

.cv-audit{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:var(--surface-soft,#f2f6f4);padding:14px;border-radius:10px;max-height:360px;overflow:auto}.cv-actions .grow{flex:1 1 250px}

.cv-workspace,.cv-workspace .panel,.cv-list-row>div{min-width:0}.cv-list-row>div{overflow-wrap:anywhere}.cv-list-row>button{flex-shrink:0}.cv-workspace .cv-material{overflow-wrap:anywhere}.cv-workspace .cv-audit{max-width:100%}
.cv-card>.btn,.cv-material>.btn{margin:6px 8px 8px 0}.cv-card .cv-lemma{word-break:normal}

/* Keep the practice identity and its controls on shared rows. */
.cv-workspace .cv-head{align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.cv-heading-title,.cv-word-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;min-width:0}
.cv-heading-title .eyebrow{margin:0;white-space:nowrap}
.cv-workspace .cv-session-status{display:flex;flex:1 1 220px;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;font-size:13px;color:var(--muted)}
.cv-workspace .cv-head-actions{margin-left:auto;flex-wrap:wrap;gap:8px}
.cv-workspace .cv-progress{display:block;margin-top:0}
.cv-card .cv-word-identity{margin-bottom:10px}
.cv-card .cv-word-identity .cv-lemma{margin:0}
.cv-word-identity>.muted{font-size:15px;overflow-wrap:anywhere}
.cv-overview .cv-mode-line,.cv-overview .cv-route-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.cv-overview .cv-mode-line{margin-bottom:12px}
.cv-overview .cv-mode,.cv-overview .cv-routes{margin:0;gap:8px}
.cv-overview .cv-route-line>p{flex:1 1 240px;margin:0;font-size:12px}
.cv-overview .inline-check{margin-top:10px}
.cv-overview .cv-overview-start{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.cv-overview .cv-counts{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.cv-overview .cv-counts>div{flex-direction:row;align-items:baseline;gap:7px;padding:8px 10px}
.cv-overview .cv-counts strong{font-size:24px}
.cv-overview .cv-counts span{font-size:12px;white-space:nowrap}
.cv-overview .cv-actions{align-items:center;gap:8px;margin:0}
.cv-overview .cv-actions label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;white-space:nowrap}
.cv-overview .cv-actions select{width:auto;min-width:68px;margin:0;min-height:44px}
@media(max-width:600px){
 .cv-workspace .cv-head{gap:10px}
 .cv-heading-title h1{font-size:23px}
 .cv-workspace .cv-session-status{flex:0 1 auto;justify-content:flex-start}
 .cv-workspace .cv-head-actions{margin-left:0}
 .cv-overview .cv-overview-start{gap:12px}
 .cv-overview .cv-counts,.cv-overview .cv-actions{width:100%}
 .cv-overview .cv-counts{justify-content:space-between;gap:6px}
 .cv-overview .cv-counts>div{padding:7px 8px;gap:5px}
 .cv-overview .cv-counts strong{font-size:21px}
 .cv-overview .cv-counts span{font-size:11px}
 .cv-overview .cv-actions label{flex:1 1 100%}
 .cv-overview .cv-actions select{flex:1}
}
