main { max-width: 1920px; }
.ra-workspace { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:22px; align-items:start; }
.ra-main,.ra-main .card,.ra-main .columns>section { min-width:0; }
.wordbook-card { position:sticky; top:18px; max-height:calc(100vh - 36px); display:flex; flex-direction:column; overflow:hidden; padding:20px; }
.wordbook-card h2 { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:20px; }
.wordbook-count { font-size:12px; font-weight:400; color:var(--muted); white-space:nowrap; }
.wordbook-hint { color:var(--muted); font-size:12px; line-height:1.8; margin:8px 0 15px; }
#wordbookList { overflow-y:auto; min-height:100px; overscroll-behavior:contain; }
.wordbook-empty { text-align:center; color:var(--muted); padding:25px 5px; font-size:13px; }
.wordbook-item { display:flex; align-items:flex-start; gap:6px; padding:14px 0; border-bottom:1px solid var(--line); }
.wordbook-item>div { flex:1; min-width:0; }
.wordbook-word { font-size:17px; font-weight:700; color:#304b72; overflow-wrap:anywhere; }
.wordbook-phonetic { color:#526cb3; font-size:12px; margin-top:6px; overflow-wrap:anywhere; }
.wordbook-meaning { font-size:13px; line-height:1.8; margin-top:6px; white-space:pre-wrap; overflow-wrap:anywhere; }
.wordbook-meta { color:var(--muted); font-size:10px; margin-top:6px; }
.wordbook-speak,.wordbook-remove { padding:5px; min-width:28px; min-height:32px; border:0; background:transparent; flex-shrink:0; }
.wordbook-speak { color:var(--accent); }.wordbook-remove { color:#9b7479; }
.wordbook-actions { display:flex; gap:8px; margin-top:16px; }.wordbook-actions button { flex:1; font-size:12px; padding:8px; }
.wordbook-toast { font-size:12px; line-height:1.7; min-height:21px; margin-top:9px; }
.wordbook-item-focused { outline:2px solid #6c8bd9; outline-offset:-2px; background:#edf2ff; border-radius:8px; }
@media(max-width:1350px){.ra-main .columns{grid-template-columns:1fr}}
@media(max-width:1050px){.ra-workspace{grid-template-columns:1fr}.wordbook-card{position:static;max-height:none}#wordbookList{max-height:420px}}
