.phrasebook-heading h1{font-size:clamp(2.4rem,7vw,4.8rem);line-height:1.05;margin:20px 0;color:#622ba5}.phrasebook-heading p{max-width:68ch;line-height:1.6}.phrasebook-controls{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:24px 0}.phrasebook-controls label{display:grid;gap:8px}.phrasebook-controls input,.phrasebook-controls select{min-width:0;padding:14px;border:1px solid #d8c6e7;border-radius:12px;font:inherit;background:#fff;color:#43275f}.phrasebook-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px;margin:24px 0}.phrasebook-card{background:#fff;border:1px solid #ded0ec;border-radius:20px;padding:24px;overflow-wrap:anywhere;color:#43275f}.phrasebook-card h2{font-size:1.5rem}.phrasebook-card small{color:#622ba5}.phrasebook-arabic{font:2.1rem/1.7 sans-serif}.phrasebook-phonetic{font-size:1.3rem;font-weight:700}.phrasebook-card button{background:#622ba5;color:white;border:0;border-radius:12px;padding:12px 18px;font:inherit;cursor:pointer}.phrasebook-card details{margin-top:18px;font-size:.9rem}.phrasebook-card summary{cursor:pointer}.phrasebook-editor label{display:grid;gap:7px;margin:14px 0}.phrasebook-editor input,.phrasebook-editor select,.phrasebook-editor textarea{min-width:0;width:100%;padding:12px;border:1px solid #d8c6e7;border-radius:10px;font:inherit}.phrasebook-editor [type=checkbox]{width:auto}.phrasebook-review{border-top:1px solid #ded0ec;padding:18px 0}.phrasebook-review label{display:flex;align-items:center}.phrasebook-review audio{width:100%;max-width:400px}@media(max-width:520px){.phrasebook-controls{grid-template-columns:1fr}.phrasebook-card{padding:18px}}

.phrasebook-player{width:100%;max-width:600px;margin:12px 0}
.phrasebook-workspace button{font:inherit;cursor:pointer;min-height:42px;border:1px solid #d8c6e7;background:#fff;color:#622ba5;border-radius:10px;padding:10px 16px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}.phrasebook-workspace button:hover{background:#f4edf9}.phrasebook-workspace button:focus-visible{outline:3px solid #ffc629;outline-offset:2px}.phrasebook-workspace button:disabled{opacity:.5;cursor:wait}.phrasebook-workspace .admin-primary,.phrasebook-workspace [data-phrase-publish]{background:#622ba5;color:#fff;border-color:#622ba5}.phrasebook-workspace .field-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.phrasebook-workspace label:has([type=checkbox]){display:flex;align-items:flex-start;gap:10px}.phrasebook-workspace input[type=checkbox]{flex:none;width:18px;height:18px;accent-color:#622ba5;padding:0}.phrasebook-workspace .catalog-list-row{display:flex;justify-content:space-between;width:100%;text-align:start;margin-top:10px}.phrasebook-review>button{margin:4px 8px 4px 0}
