.grammar-edit-toolbar{display:flex;gap:12px;flex-direction:column;padding:12px;background:#fff7dc;border:2px solid #756047;border-radius:10px;margin:12px 0;color:#433524;font-size:16px}
.grammar-edit-actions{display:flex;gap:8px;flex-wrap:wrap}
.grammar-edit-toolbar button{padding:9px 14px;border:1px solid #756047;border-radius:8px;background:white;color:#433524;cursor:pointer;font:inherit}
.grammar-edit-toolbar button:disabled{opacity:.45;cursor:default}
.grammar-edit-field{outline:2px dashed #94773c;outline-offset:4px;cursor:text;min-width:1em;white-space:pre-wrap}
.grammar-edit-field:focus{outline:3px solid #396bb0}
.grammar-selected{box-shadow:0 0 0 4px #396bb0!important}
.grammar-slide-image,.slide-visual img{max-width:100%;max-height:240px;object-fit:contain;border-radius:10px}
.concept-example .grammar-slide-image{width:120px;max-height:100px;flex-shrink:0}
.grammar-edit-field b,.grammar-edit-field strong{font-weight:900}
.slide-dots{flex-wrap:wrap}
.grammar-deck-admin .slide-stage *{animation:none!important}.concept-example small b,.concept-example small strong,.example-cards small b,.example-cards small strong{font-size:inherit;line-height:inherit}.grammar-edit-actions button:last-of-type{background:#dcecc9;font-weight:700}
/* Example text must form one inline sentence, including browser-created formatting spans. */
.slide-visual .concept-example small,.slide-visual .example-cards small,.slide-visual .type-preview small,.slide-visual .picture-row small{display:block;font-weight:400}
.slide-visual small :is(span,b,strong,em,i,u){display:inline;min-width:0;max-width:none;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent!important;font-size:inherit;line-height:inherit;outline:0;white-space:inherit}
.slide-visual small :is(b,strong){font-weight:900}
