.ae-sentence-page,.ae-sentence-save{min-width:0}.ae-sentence-input{width:100%;max-width:100%;box-sizing:border-box}.ae-sentence-list{display:grid;gap:6px;margin-top:16px}.ae-sentence-listrow{display:flex;justify-content:space-between;gap:16px;padding:14px;border:1px solid #dce5f0;border-radius:10px;text-decoration:none}.ae-sentence-listrow small{display:block;color:#65768b;margin-top:5px}.ae-sentence-formgrid{display:flex;gap:15px;flex-wrap:wrap}.ae-sentence-formgrid label{display:grid;gap:3px}.ae-sentence-formgrid input{max-width:145px}.ae-sentence-checks{display:flex;flex-wrap:wrap;gap:15px;padding:10px 0}.ae-sentence-importlist{max-height:360px;overflow:auto;display:grid;gap:7px;margin:15px 0}.ae-sentence-importlist label{padding:9px;border-bottom:1px solid #dce5f0}.ae-sentence-editor{--ae-sentence-node:#edf4ff;max-width:100%;min-width:0}.ae-sentence-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0}.ae-sentence-rolebar,.ae-sentence-tools,.ae-sentence-views,.ae-sentence-export{display:flex;gap:6px;flex-wrap:wrap}.ae-sentence-rolebutton{border:1px solid #8da4bd;background:#eff5ff;border-radius:8px;padding:8px 11px;cursor:pointer;color:#23344a}.ae-sentence-rolebutton.active,.ae-sentence-group.active{background:#163f73;color:white}.ae-sentence-subtype{max-width:220px}.ae-sentence-words{font-size:clamp(1.25rem,2.4vw,1.85rem);line-height:2.8;padding:18px 10px;background:#f9fbff;border:1px solid #d9e5f3;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.ae-sentence-token{position:relative;display:inline-block;border:0;border-radius:4px;padding:0 2px 6px;margin:0;background:transparent;color:inherit;font:inherit;line-height:1.55;cursor:pointer;text-align:inherit}.ae-sentence-token:not(:disabled):hover{background:#e1efff}.ae-sentence-token:focus-visible{outline:3px solid #2b72c7}.ae-sentence-token.ae-sentence-selected{background:#ffefd0}.ae-sentence-mark-A{background-image:linear-gradient(#15385f,#15385f);background-position:center bottom;background-size:100% 2px;background-repeat:no-repeat}.ae-sentence-mark-Á{background-image:linear-gradient(#15385f,#15385f),linear-gradient(#15385f,#15385f);background-position:center calc(100% - 1px),center calc(100% - 5px);background-size:100% 2px,100% 2px;background-repeat:no-repeat}.ae-sentence-mark-T{border-bottom:2px dashed #15385f}.ae-sentence-mark-H{text-decoration:underline wavy #15385f 2px;text-underline-offset:5px}.ae-sentence-mark-J{border-bottom:2px dotted #15385f}.ae-sentence-punctuation{white-space:pre-wrap}.ae-sentence-tip{font-size:13px;margin:10px 0;color:#526b82}.ae-sentence-groups{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.ae-sentence-group{border:1px solid #cbd7e2;background:#fff;color:#263f57;padding:8px;border-radius:8px;cursor:pointer}.ae-sentence-graph{border-top:1px solid #dce5f0;padding-top:15px;margin-top:15px}.ae-sentence-relation{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:10px 0}.ae-sentence-relation select{max-width:200px}.ae-sentence-linklist{width:100%;display:flex;gap:8px;flex-wrap:wrap}.ae-sentence-linklist span{font-size:12px;padding:6px;background:#eef4fc;border-radius:5px}.ae-sentence-linklist button{font-size:12px}.ae-sentence-diagram{width:100%;overflow-x:auto}.ae-sentence-diagram svg{display:block;width:100%;max-width:100%;min-width:360px;touch-action:pan-y}.ae-sentence-export{margin-top:10px}@media(max-width:650px){.ae-sentence-words{font-size:1.25rem}.ae-sentence-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ae-sentence-rolebutton{padding:8px}.ae-sentence-relation select{max-width:130px}}

/* 0.9.111 – interaktív táblán használható tanórai, nagyított szerkesztő */
.ae-sentence-save.ae-sentence-classroom{position:fixed!important;inset:0!important;z-index:999990!important;overflow:auto!important;margin:0!important;padding:26px!important;background:#fff!important;box-sizing:border-box!important}.ae-sentence-classroom .ae-sentence-words{font-size:clamp(1.7rem,3.5vw,3rem)!important}.ae-sentence-classroom .ae-sentence-rolebutton{font-size:1.15rem;padding:12px 18px}.ae-sentence-classroom .ae-sentence-toolbar{position:sticky;top:0;background:#fff;z-index:3;padding:12px 0;border-bottom:1px solid #dde5f0}

/* 0.9.112 – szerkezeti kapcsolattípusok, hiányos ágrajz, két szinkron nézet */
.ae-sentence-graph{min-width:0}.ae-sentence-views{align-items:center;padding:10px 0;gap:8px}.ae-sentence-views .active{background:#163f73!important;color:#fff!important;border-color:#163f73!important}
.ae-sentence-views .ae-sentence-detail{max-width:190px;padding:7px;border:1px solid #a7b7cb;border-radius:6px}
.ae-sentence-relhelp{flex:1 0 100%;margin:0 0 6px;color:#394f66;font-size:12px}
.ae-sentence-relation{align-items:center;gap:8px}.ae-sentence-relation select{flex:1 1 165px;max-width:280px;padding:7px;border-radius:6px}
.ae-sentence-linklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px;width:100%;margin-top:8px}
.ae-sentence-linkitem{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;background:#f2f6fb;border:1px solid #e0e8f1;border-radius:8px;font-size:13px}
.ae-sentence-linkitem span{padding:0;background:none;font-size:13px}.ae-sentence-linkitem small{color:#59687c;white-space:nowrap}
.ae-sentence-token.ae-sentence-fixed{box-shadow:inset 0 -3px #9aa5b8}.ae-sentence-movable{cursor:grab}.ae-sentence-movable:active{cursor:grabbing}
.ae-sentence-nodes>g:focus-visible{outline:none;filter:drop-shadow(0px 1px 5px #557ea9)}
.ae-sentence-diagram{overflow:auto;max-height:68vh;border:1px solid #dbe5f2;border-radius:10px;background:#fff;min-height:150px;scrollbar-width:thin}
.ae-sentence-diagram svg{width:auto!important;height:auto!important;max-width:none!important;min-width:0!important;touch-action:none;display:block}
.ae-sentence-scoring{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border:1px solid #d9e4f0;border-radius:9px;padding:12px;margin:10px 0}
.ae-sentence-scoring legend{font-weight:600;padding:0 6px}.ae-sentence-scoring label{display:flex;align-items:center;gap:7px}.ae-sentence-scoring input{width:70px}
.ae-sentence-preset-groups{padding:12px 15px;border:1px solid #dce5f0;border-radius:8px;margin:12px 0}.ae-sentence-preset-groups summary{cursor:pointer;font-weight:600}
@media(max-width:650px){.ae-sentence-diagram{max-height:52vh}.ae-sentence-linklist{grid-template-columns:1fr}.ae-sentence-relhelp{font-size:11px}}
@media print{.ae-sentence-toolbar,.ae-sentence-relation,.ae-sentence-export,.ae-sentence-views{display:none!important}.ae-sentence-diagram{overflow:visible!important;max-height:none!important;border:0!important}}
.ae-sentence-saved-template{width:min(95%,450px);padding:7px;border:1px solid #bdc9db;border-radius:6px}.ae-sentence-scoring label input{max-width:100px}

/* AuraEdu 0.9.113 – tiszta szöveges kijelölés, külön szerkesztés és munkaterületek.
   A CSS minden szabálya a mondatelemzőn belül marad; a meglévő feladattípusokat nem érinti. */
.ae-sentence-editor [hidden],.ae-sentence-task-section[hidden]{display:none!important}
.ae-sentence-editor{font-family:inherit;color:#20364a}
.ae-sentence-editor .ae-sentence-workspace-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 18px;padding:4px;background:#f0f4f9;border:1px solid #dfe8f3;border-radius:12px}
.ae-sentence-editor .ae-sentence-worktab{appearance:none;background:transparent!important;border:1px solid transparent!important;border-radius:9px!important;color:#43566b!important;padding:10px 17px!important;font:600 14px/1.4 inherit!important;min-height:43px!important;cursor:pointer!important;box-shadow:none!important}
.ae-sentence-editor .ae-sentence-worktab.active{background:#fff!important;border-color:#c8d8e9!important;color:#173e6e!important;box-shadow:0 1px 4px #1234!important}
.ae-sentence-editor .ae-sentence-worktab:focus-visible,.ae-sentence-editor button:focus-visible{outline:3px solid #2660a9!important;outline-offset:2px}
.ae-sentence-editor .ae-sentence-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:11px;margin:0 0 14px}
.ae-sentence-editor .ae-sentence-caption{font-size:13px;font-weight:700;color:#40566e}
.ae-sentence-editor .ae-sentence-rolebar{display:flex;flex-wrap:wrap;gap:8px}
.ae-sentence-editor .ae-sentence-rolebutton{appearance:none!important;border:1px solid #bfd0e1!important;background:#fff!important;color:#193d62!important;border-radius:9px!important;padding:10px 16px!important;box-shadow:none!important;font:600 14px/1.35 inherit!important;min-height:43px!important;cursor:pointer!important}
.ae-sentence-editor .ae-sentence-rolebutton.active{background:#1a4879!important;border-color:#1a4879!important;color:#fff!important}
.ae-sentence-editor .ae-sentence-edit-options{display:flex;align-items:center;gap:12px}
.ae-sentence-editor .ae-sentence-expandbutton{appearance:none!important;border:1px solid #ccd8e6!important;border-radius:8px!important;background:#f7f9fc!important;color:#294563!important;padding:9px 13px!important;box-shadow:none!important;font:500 13px/1.4 inherit!important;cursor:pointer!important}
.ae-sentence-editor .ae-sentence-expandbutton.active{background:#fff0c9!important;border-color:#d2a64f!important;color:#684900!important}
.ae-sentence-editor .ae-sentence-moretools{font-size:13px;color:#546b80}
.ae-sentence-editor .ae-sentence-moretools summary{cursor:pointer;width:max-content;max-width:100%;padding:4px 0}
.ae-sentence-editor .ae-sentence-moretools .ae-sentence-tools{margin:10px 0 3px;display:flex;flex-wrap:wrap;gap:6px}
.ae-sentence-editor .ae-sentence-moretools button,.ae-sentence-editor .ae-sentence-applyrole,.ae-sentence-editor .ae-sentence-chipremove{appearance:none!important;border:1px solid #cedae8!important;background:#fff!important;border-radius:7px!important;color:#234765!important;font:500 13px/1.35 inherit!important;padding:7px 10px!important;box-shadow:none!important;cursor:pointer!important;min-height:31px!important}
.ae-sentence-editor .ae-sentence-words{font-size:clamp(1.35rem,2.6vw,2rem);font-family:inherit;line-height:2.45;white-space:pre-wrap;overflow-wrap:break-word;background:#f7fafe;border:1px solid #d9e6f3;border-radius:12px;padding:22px 18px;min-height:96px;color:#152d43}
/* Theme-agnostic, non-boxed tokens. The underlines use pseudo-elements,
   never the selection background; this fixes the hidden double underline. */
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token{
  display:inline-block!important;position:relative!important;vertical-align:baseline!important;
  box-sizing:content-box!important;appearance:none!important;overflow:visible!important;
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  border:0!important;border-bottom:0!important;outline-offset:3px!important;border-radius:3px!important;
  padding:0 2px 9px!important;margin:0!important;min-width:0!important;min-height:0!important;
  width:auto!important;height:auto!important;max-width:none!important;
  color:inherit!important;font:inherit!important;letter-spacing:inherit!important;
  line-height:1.5!important;text-align:inherit!important;text-transform:none!important;
  text-decoration:none!important;text-shadow:none!important;cursor:pointer!important;
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token.ae-sentence-selected{background:#fff0c8!important}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token:hover:not(:disabled){background:#e9f1fb!important}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token::after{content:"";position:absolute;left:2px;right:2px;bottom:1px;height:7px;pointer-events:none;background:none}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-A::after{background:linear-gradient(#173e69,#173e69) left bottom / 100% 2px no-repeat}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-Á::after{background:linear-gradient(#173e69,#173e69) left bottom / 100% 2px no-repeat,linear-gradient(#173e69,#173e69) left 2px bottom 4px / calc(100% - 4px) 2px no-repeat}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-T::after{background:repeating-linear-gradient(90deg,#173e69 0 7px,transparent 7px 11px) left bottom / 100% 2px no-repeat}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-H::after{background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 -1 8 3 T16 3' stroke='%23173e69' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") left bottom / 16px 6px repeat-x}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-J::after{background:radial-gradient(circle,#173e69 1.2px,transparent 1.5px) left bottom / 7px 3px repeat-x}
.ae-sentence-editor .ae-sentence-token.ae-sentence-fixed{box-shadow:none!important}
.ae-sentence-editor .ae-sentence-token.ae-sentence-fixed::before{content:"";position:absolute;inset:auto 1px 0;box-shadow:inset 0 -1px #8899aa;pointer-events:none}
.ae-sentence-editor .ae-sentence-punctuation{display:inline;white-space:pre-wrap}
.ae-sentence-editor .ae-sentence-tip{margin:9px 0 15px;color:#4c667f;font-size:13px;line-height:1.5}
.ae-sentence-editor .ae-sentence-selection{padding:14px 16px;border:1px solid #cbdbea;background:#fff;border-radius:10px;margin:14px 0}
.ae-sentence-editor .ae-sentence-selection-title{display:block;font-size:15px;color:#173c66;margin-bottom:10px}
.ae-sentence-editor .ae-sentence-selection-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.ae-sentence-editor .ae-sentence-fieldlabel{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#4f6478}
.ae-sentence-editor .ae-sentence-fieldlabel select{min-width:154px;max-width:250px;border:1px solid #bacbdb;border-radius:7px;padding:8px 9px;color:#193b60;background:#fff}
.ae-sentence-editor .ae-sentence-parttokens{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 0}
.ae-sentence-editor .ae-sentence-partchip{display:inline-flex;align-items:center;gap:7px;background:#ecf3fa;padding:4px 5px 4px 10px;border-radius:7px;font-size:13px;color:#193b61}
.ae-sentence-editor .ae-sentence-chipremove{padding:1px 7px!important;min-height:24px!important}
.ae-sentence-editor .ae-sentence-groups{gap:8px}
.ae-sentence-editor .ae-sentence-group{appearance:none!important;border:1px solid #cbd9e8!important;border-radius:8px!important;background:#fff!important;color:#284760!important;padding:8px 12px!important;box-shadow:none!important;cursor:pointer!important;font:500 13px/1.4 inherit!important}
.ae-sentence-editor .ae-sentence-group.active{background:#e8f0fc!important;border-color:#648ebc!important;color:#174372!important}
.ae-sentence-editor .ae-sentence-graph{margin:0;padding:4px 0 12px;border:0}
.ae-sentence-editor .ae-sentence-views{padding:6px 0 16px}
.ae-sentence-editor-card .ae-sentence-editor-intro{font-size:14px;color:#586b7d;line-height:1.5;margin-top:4px}
@media(max-width:640px){
 .ae-sentence-editor .ae-sentence-worktab{flex:1 1 auto;padding:10px!important}
 .ae-sentence-editor .ae-sentence-rolebutton{flex:1 1 28%;padding:10px!important}
 .ae-sentence-editor .ae-sentence-words{padding:17px 11px;font-size:1.38rem;line-height:2.4}
 .ae-sentence-editor .ae-sentence-selection-controls{align-items:stretch}
}
@media print{.ae-sentence-editor .ae-sentence-workspace-tabs,.ae-sentence-editor .ae-sentence-moretools,.ae-sentence-editor .ae-sentence-selection{display:none!important}}

.ae-sentence-editor .ae-sentence-delete-selected{appearance:none!important;border:1px solid #e4cbd0!important;background:#fff!important;border-radius:7px!important;color:#9a3e4e!important;font:500 13px/1.4 inherit!important;padding:8px 12px!important;margin-top:12px!important;box-shadow:none!important;cursor:pointer!important}
.ae-sentence-editor .ae-sentence-delete-selected:disabled{opacity:.45!important;cursor:not-allowed!important}
.ae-sentence-editor-card[data-sentence-workspace="task"] .ae-sentence-editor-intro,.ae-sentence-editor-card[data-sentence-workspace="task"] .ae-sentence-save > .ae-inline-actions{display:none!important}

/* AuraEdu 0.9.114 – a felhasználó által kijelölt tartomány, nem automatikus nyelvtani csoportosítás. */
.ae-sentence-editor .ae-sentence-words{user-select:none;-webkit-user-select:none}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token{touch-action:pan-y!important;user-select:none!important;-webkit-user-select:none!important}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token.ae-sentence-range-preview{background:#cde3ff!important;box-shadow:inset 0 0 0 1px #4384cc!important;border-radius:3px!important}
.ae-sentence-editor .ae-sentence-edit-options{flex-wrap:wrap}
.ae-sentence-editor .ae-sentence-singleword,.ae-sentence-editor .ae-sentence-cancelrange{appearance:none!important;border:1px solid #89a6c5!important;border-radius:8px!important;background:#fff!important;color:#1c4976!important;box-shadow:none!important;font:500 13px/1.4 inherit!important;padding:9px 13px!important;cursor:pointer!important}
.ae-sentence-editor .ae-sentence-singleword[hidden],.ae-sentence-editor .ae-sentence-cancelrange[hidden]{display:none!important}

/* 0.9.115 – feladatkészítő: hétköznapi beállítások elöl, ritka opciók lenyitva. */
.ae-sentence-task-section{max-width:100%;min-width:0}.ae-sentence-task-section .ae-sentence-task-hint{color:#567086;line-height:1.5}
.ae-sentence-approval-summary{display:grid;gap:7px;background:#f5f9ff;border:1px solid #d8e6f5;border-radius:12px;padding:15px;margin:15px 0 19px}
.ae-sentence-approval-summary>strong{color:#193e65;font-size:1.17rem}.ae-sentence-approval-summary small{color:#50697d}.ae-sentence-ready{font-size:12px;font-weight:700;letter-spacing:.02em;color:#1a6952}
.ae-sentence-simple-grid{display:grid;grid-template-columns:minmax(270px,1fr) minmax(205px,.65fr);gap:16px;margin-bottom:16px;max-width:950px}
.ae-sentence-simple-grid label,.ae-sentence-advanced label{display:grid;gap:6px;font-weight:600}
.ae-sentence-task-section select,.ae-sentence-task-section input[type=number]{border-radius:7px;padding:9px;max-width:100%;box-sizing:border-box;font:inherit;color:#20374e;border:1px solid #aabbd0;background:white}
.ae-sentence-auto-toggle{display:flex!important;align-items:flex-start;gap:10px;padding:8px 0;font-weight:500;line-height:1.45}
.ae-sentence-auto-toggle input{margin-top:4px;flex-shrink:0}
.ae-sentence-manual-roles{margin:5px 0 12px;background:#f7fafc;border:1px solid #dae4ec;border-radius:9px;padding:10px 14px}
.ae-sentence-manual-roles[hidden]{display:none!important}.ae-sentence-manual-roles p{margin:0;color:#56697e}
.ae-sentence-points-preview{display:grid;grid-template-columns:1fr auto;gap:4px 18px;align-items:center;background:#f1f7fc;border-radius:12px;padding:17px;margin:17px 0;border:1px solid #d2e3ef}
.ae-sentence-points-preview>span{font-weight:600}.ae-sentence-points-preview>strong{font-size:1.5rem;color:#153b64;white-space:nowrap}.ae-sentence-points-preview>small{grid-column:1/-1;color:#516b83}
.ae-sentence-advanced{margin:10px 0;padding:14px;border:1px solid #d9e4ee;border-radius:10px}.ae-sentence-advanced>summary{cursor:pointer;font-weight:600}
.ae-sentence-advanced[open]>summary{margin-bottom:15px}.ae-sentence-advanced .ae-sentence-formgrid input{width:115px}
.ae-sentence-advanced>label{margin:12px 0}.ae-sentence-task-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}
@media(max-width:650px){.ae-sentence-simple-grid{grid-template-columns:1fr}.ae-sentence-points-preview{grid-template-columns:1fr}.ae-sentence-task-actions .ae-btn{width:100%}}

/* AuraEdu 0.9.116 – rejtett alany, többmondatos feladatsor */
.ae-sentence-editor .ae-sentence-implicit-add{border:1px solid #90a9c6!important;background:#e9f3ff!important;color:#153e65!important;padding:9px 14px!important;border-radius:8px!important;cursor:pointer!important;font-weight:600!important}
.ae-sentence-bulk-options{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0}.ae-sentence-bulk-options label{display:grid;gap:6px;min-width:140px}.ae-sentence-bulk-options input,.ae-sentence-bulk-options select{max-width:280px;padding:9px;border:1px solid #bbcde1;border-radius:8px;background:#fff}
.ae-sentence-bulk-list{display:grid;gap:6px;max-height:460px;overflow:auto;margin:16px 0}.ae-sentence-bulk-list label{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid #dce6f0;border-radius:8px}.ae-sentence-bulk-list label span{flex:1}.ae-sentence-bulk-list label small{display:inline-block;color:#6d4a09;background:#fff4d6;padding:2px 6px;border-radius:5px}.ae-sentence-bulk-note{color:#52677d}.ae-sentence-bulk-preview{background:#f3f8ff;border:1px solid #cbdceb;padding:20px;border-radius:12px;margin-top:24px}.ae-sentence-bulk-preview li{margin:7px 0}

/* 0.9.118 – csak a Tanári központ statisztikai nézetének stílusai. */
.ae-sentence-progress-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0 28px}
.ae-sentence-progress-kpis>div{border:1px solid #d9e3ee;background:#f6f9fc;border-radius:10px;padding:12px}
.ae-sentence-progress-kpis strong{display:block;font-size:25px;color:#1b577e}
.ae-sentence-progress-kpis span{display:block;font-size:13px}
.ae-sentence-progress-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px;background:#f7fafc;border-radius:12px}
.ae-sentence-progress-filter label{font-size:13px;display:flex;flex-direction:column;gap:3px}
.ae-sentence-progress-filter select,.ae-sentence-progress-filter input{padding:8px;border:1px solid #bfd0df;border-radius:7px}
.ae-sentence-progress-tablewrap{max-width:100%;overflow-x:auto}
.ae-sentence-progress-table{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0 20px}
.ae-sentence-progress-table th,.ae-sentence-progress-table td{padding:10px 12px;border-bottom:1px solid #dde6ef;text-align:left;white-space:nowrap}
.ae-sentence-progress-table th{background:#f0f5fa}
.ae-sentence-progress-note{font-size:13px;color:#5a7085}
@media(max-width:600px){.ae-lesson-summary{grid-template-columns:1fr}}

/* 0.9.119: easy-to-review guided questions, scoped to the teacher sentence pane. */
.ae-lesson-teacher .ae-lesson-question-form{max-width:100%;}
.ae-lesson-teacher .ae-lesson-review-summary{background:#fff7e6;border:1px solid #e6cc8d;border-radius:12px;padding:14px 18px;margin:13px 0}
.ae-lesson-teacher .ae-lesson-review-summary p{margin:5px 0 0;color:#705622}
.ae-lesson-teacher .ae-lesson-teacher-step{border:1px solid #d8e5ef;background:#fafdff;border-radius:10px;margin:9px 0;padding:11px 15px}
.ae-lesson-teacher .ae-lesson-teacher-step>summary{cursor:pointer;font-weight:650;color:#244667}
.ae-lesson-teacher .ae-lesson-teacher-step>label{display:block;margin:11px 0;max-width:940px}
.ae-lesson-teacher .ae-lesson-teacher-step input[type=text]{display:block;width:100%;padding:11px;border:1px solid #abc3d4;border-radius:8px;margin-top:4px}
.ae-lesson-teacher .ae-lesson-base{font-size:13px;color:#3c647b;margin:11px 0 3px}
.ae-lesson-teacher .ae-lesson-regenerate{margin:7px 0}

/* AuraEdu 0.9.120 – theme-scoped, school-friendly visual design. Only sentence module UI. */
.ae-sentence-editor .ae-sentence-words{
  text-align:center!important;line-height:2.7!important;font-size:clamp(1.55rem,2.8vw,2.15rem)!important;
  padding:26px 22px!important;background:#f8faff!important;border-radius:18px!important;
  box-shadow:inset 0 1px 6px rgba(29,69,110,.03)
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token[data-part-role]{
  background:var(--ae-part-bg,#ecf3fa)!important;border-radius:6px!important;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-token.ae-sentence-selected{
  outline:2px solid #213c65!important;outline-offset:2px!important;
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-A::after{
  background:linear-gradient(#2563a6,#2563a6) left bottom / 100% 2px no-repeat!important
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-Á::after{
  background:linear-gradient(#b82b40,#b82b40) left bottom / 100% 2px no-repeat,linear-gradient(#b82b40,#b82b40) left 2px bottom 4px / calc(100% - 4px) 2px no-repeat!important
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-T::after{
  background:repeating-linear-gradient(90deg,#247444 0 7px,transparent 7px 11px) left bottom / 100% 2px no-repeat!important
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-H::after{
  background-image:none!important;background-color:#bc651e!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6'%3E%3Cpath d='M0 3 Q4 -1 8 3 T16 3' stroke='black' stroke-width='2' fill='none'/%3E%3C/svg%3E") left bottom / 16px 6px repeat-x;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6'%3E%3Cpath d='M0 3 Q4 -1 8 3 T16 3' stroke='black' stroke-width='2' fill='none'/%3E%3C/svg%3E") left bottom / 16px 6px repeat-x;
}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-mark-J::after{
  background:radial-gradient(circle,#8142b4 1.3px,transparent 1.6px) left bottom / 7px 3px repeat-x!important
}
.ae-sentence-editor .ae-sentence-rolebar{justify-content:center!important}
.ae-sentence-editor .ae-sentence-rolebutton:not(.active){background:var(--ae-part-bg,#fff)!important;border-color:#b3c7d6!important}
.ae-sentence-editor .ae-sentence-rolebutton.active{background:#254c7c!important;color:#fff!important;border-color:#254c7c!important;box-shadow:0 2px 6px rgba(25,66,104,.15)!important}
.ae-sentence-editor .ae-sentence-edit-options{justify-content:center!important}
.ae-sentence-editor .ae-sentence-groups{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:11px!important;margin:17px auto 20px!important}
.ae-sentence-editor .ae-sentence-group{background:var(--ae-part-bg,#eaf1fa)!important;border:1px solid #b9c6d5!important;
  padding:10px 16px!important;border-radius:22px!important;color:#203850!important;font-weight:650!important;max-width:100%;white-space:normal;text-align:center}
.ae-sentence-editor .ae-sentence-group.active{outline:3px solid #3f78ac!important;outline-offset:2px!important}
.ae-sentence-editor .ae-sentence-diagram{display:flex;justify-content:center;align-items:flex-start;background:#fafcff!important}
.ae-sentence-editor .ae-sentence-diagram svg{flex-shrink:0;margin:0 auto}
.ae-sentence-editor .ae-sentence-views{justify-content:center;gap:9px!important}
.ae-sentence-editor .ae-sentence-relation{justify-content:center;gap:12px!important;background:#f6f9fd;border:1px solid #dce8f2;border-radius:14px;padding:14px!important}
.ae-sentence-editor .ae-sentence-relhelp{font-size:13px;text-align:center;line-height:1.6;margin:0!important}
.ae-sentence-editor .ae-sentence-relation select{max-width:300px!important;min-height:45px!important;border:1px solid #bdcadb!important;color:#1b3d5b!important;background:#fff!important}
.ae-sentence-editor button.ae-sentence-addrelation{background:#175c88!important;color:white!important;border:2px solid #175c88!important;border-radius:12px!important;
  font:700 15px/1.4 inherit!important;padding:13px 20px!important;min-height:48px!important;cursor:pointer!important;box-shadow:0 4px 10px rgba(23,92,136,.2)!important}
.ae-sentence-editor button.ae-sentence-addrelation:hover,.ae-sentence-editor button.ae-sentence-addrelation:focus-visible{background:#10466a!important;border-color:#10466a!important}
.ae-sentence-editor .ae-sentence-colormode{border:1px solid #b8cbe0;border-radius:9px;padding:10px;background:white;color:#243b58;max-width:220px}
.ae-sentence-appearance{background:#f8faff;border:1px solid #d6e5f0;border-radius:14px;padding:14px 18px;margin:18px 0}
.ae-sentence-appearance>summary{cursor:pointer;color:#193e65;font-weight:700}
.ae-sentence-appearance form{max-width:860px}
.ae-sentence-appearance input:not([type=color]),.ae-sentence-appearance select{max-width:100%;border:1px solid #bfd0e1;border-radius:9px;padding:9px}
.ae-sentence-color-editor{display:flex;flex-wrap:wrap;gap:11px;margin:15px 0}
.ae-sentence-color-editor label{display:flex;align-items:center;gap:8px;padding:10px 13px;background:#fff;border:1px solid #d2e2ef;border-radius:9px}
.ae-sentence-color-editor input[type=color]{width:50px;height:33px;border:0;padding:0;background:transparent}
@media(max-width:720px){.ae-sentence-editor .ae-sentence-words{padding:20px 10px!important;font-size:clamp(1.4rem,5vw,1.9rem)!important}
.ae-sentence-editor .ae-sentence-relation select,.ae-sentence-editor button.ae-sentence-addrelation{flex:1 1 100%;max-width:100%!important;width:100%}}
@media print{.ae-sentence-editor .ae-sentence-words button.ae-sentence-token[data-part-role]{background:transparent!important}
.ae-sentence-editor .ae-sentence-group{background:#fff!important}}
@media(prefers-reduced-motion:reduce){.ae-sentence-editor *{transition:none!important;animation:none!important}}

/* 0.9.121: always-visible diagram sentence; answers are exclusively student-authored groups. */
.ae-sentence-editor .ae-sentence-diagram-sentence{border:1px solid #c9dced;border-radius:17px;background:#f6f9fd;padding:17px 20px 23px;margin:8px 0 19px;text-align:center;position:relative}
.ae-sentence-editor .ae-sentence-diagram-sentence-heading{display:flex;align-items:center;justify-content:center;gap:8px 16px;flex-wrap:wrap;color:#365572;font-size:13px}
.ae-sentence-editor .ae-sentence-diagram-sentence-heading small{font-size:12px;font-weight:400;color:#637d94}
.ae-sentence-editor .ae-sentence-diagram-sentence-text{font-size:clamp(22px,2.9vw,33px);color:#163753;line-height:2.2;text-align:center;overflow-wrap:anywhere;margin:9px auto 0}
.ae-sentence-editor .ae-sentence-diagram-word{white-space:normal;border-radius:5px;padding:3px 1px 7px}
.ae-sentence-editor .ae-sentence-diagram-mark{background:var(--ae-part-bg,#ebf1fa);text-decoration-thickness:2px;text-underline-offset:7px}
.ae-sentence-editor .ae-sentence-diagram-mark[data-part-role="A"]{text-decoration:underline;text-decoration-color:#2361aa}
.ae-sentence-editor .ae-sentence-diagram-mark[data-part-role="Á"]{text-decoration-line:underline;text-decoration-style:double;text-decoration-color:#b92d49}
.ae-sentence-editor .ae-sentence-diagram-mark[data-part-role="T"]{text-decoration-line:underline;text-decoration-style:dashed;text-decoration-color:#168553}
.ae-sentence-editor .ae-sentence-diagram-mark[data-part-role="H"]{text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#c36a20}
.ae-sentence-editor .ae-sentence-diagram-mark[data-part-role="J"]{text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:#8b43bf}
.ae-sentence-quick-assign{margin-top:18px;border:1px solid #cee1ee!important;background:linear-gradient(135deg,#fbfdff,#f3f8fe)}
.ae-sentence-quick-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin:18px 0}
.ae-sentence-quick-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#31516f}
.ae-sentence-quick-form select{width:100%;max-width:100%;padding:11px 10px;background:#fff;border:1px solid #a7c1d9;border-radius:10px;color:#163b5b;font-size:15px}
.ae-sentence-quick-form .ae-sentence-assign-submit{grid-column:1/-1;justify-self:center;border-radius:12px;padding:13px 24px;font-weight:800;font-size:16px;background:#135c86;color:#fff;border:0}
@media(max-width:810px){.ae-sentence-quick-form{grid-template-columns:1fr}.ae-sentence-quick-form .ae-sentence-assign-submit{width:100%}}
@media print{.ae-sentence-diagram-sentence{background:white!important}}

.ae-sentence-editor .ae-sentence-quick-jump{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:9px 16px;border-radius:11px;border:1px solid #135c86;background:#e5f4ff;color:#164f76!important;font-size:14px;font-weight:800;text-decoration:none!important}
.ae-sentence-editor .ae-sentence-quick-jump:hover,.ae-sentence-editor .ae-sentence-quick-jump:focus-visible{background:#c8e7f8;outline:2px solid #548cb6;outline-offset:2px}
.ae-sentence-quick-assign{scroll-margin-top:110px}

/* 0.9.122 – compact teacher/student diagram, no change to grammar or answer storage */
.ae-sentence-editor .ae-sentence-graph{padding-top:7px!important;margin-top:6px!important}
.ae-sentence-editor .ae-sentence-diagram-sentence{padding:7px 12px 9px!important;margin:4px 0 10px!important;border-radius:12px!important;position:sticky;top:78px;z-index:2}
.ae-sentence-editor .ae-sentence-diagram-sentence-heading{gap:4px 10px!important;font-size:11px!important}
.ae-sentence-editor .ae-sentence-diagram-sentence-heading small{font-size:11px!important}
.ae-sentence-editor .ae-sentence-diagram-sentence-text{font-size:clamp(17px,2vw,23px)!important;line-height:1.65!important;margin:3px auto 0!important}
.ae-sentence-editor .ae-sentence-diagram-word{padding:1px 1px 5px!important}
.ae-sentence-editor .ae-sentence-views{margin:3px auto 9px!important;align-items:center!important;gap:8px!important}
.ae-sentence-editor .ae-sentence-visual-extras{border:1px solid #cad9e6;border-radius:8px;background:#fff;padding:7px 10px;max-width:100%}
.ae-sentence-editor .ae-sentence-visual-extras>summary{font-size:13px;font-weight:700;color:#27547c;cursor:pointer}
.ae-sentence-editor .ae-sentence-visual-controls{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:9px}
.ae-sentence-editor .ae-sentence-relation{padding:9px 11px!important;margin:5px 0 8px!important;gap:7px!important;border-radius:10px!important}
.ae-sentence-editor .ae-sentence-relhelp{font-size:12px!important;line-height:1.3!important;width:100%}
.ae-sentence-editor .ae-sentence-relation select{min-height:38px!important;max-width:235px!important;font-size:13px!important}
.ae-sentence-editor button.ae-sentence-addrelation{min-height:42px!important;padding:8px 14px!important}
.ae-sentence-editor .ae-sentence-connections{flex:1 1 100%;border-top:1px solid #dce6ee;padding-top:6px}
.ae-sentence-editor .ae-sentence-connections>summary{font-weight:700;cursor:pointer;color:#285b82;font-size:13px;padding:2px 3px}
.ae-sentence-editor .ae-sentence-linklist{margin-top:8px}
.ae-sentence-editor .ae-sentence-diagram{min-height:140px!important;padding:10px!important;border:1px solid #e0eaf5;border-radius:12px}
.ae-sentence-editor .ae-sentence-diagram svg{display:block!important;flex-shrink:1!important;width:auto;max-width:100%!important;min-width:0!important;height:auto;margin:0 auto!important}
.ae-sentence-count-builder{border:1px solid #c6e0ed!important;background:linear-gradient(130deg,#fafdff,#f5faff)}
.ae-sentence-count-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:13px;margin:17px 0}
.ae-sentence-count-options label{display:grid;gap:5px;font-weight:650;color:#254a67}
.ae-sentence-count-options input:not([type=radio]),.ae-sentence-count-options select{width:100%;border:1px solid #a9c6da;border-radius:9px;padding:9px;background:#fff}
.ae-sentence-count-options fieldset{border:1px solid #cedfed;border-radius:9px;display:flex;gap:10px;flex-wrap:wrap;padding:7px 11px}
.ae-sentence-count-options fieldset label{display:inline-flex;align-items:center;gap:4px}
.ae-sentence-count-stage{background:#e5f2fb;padding:12px;border-radius:9px;color:#285574}
.ae-sentence-count-pool{margin:10px 0 18px}
.ae-sentence-count-pool summary,.ae-sentence-curriculum-edit summary{cursor:pointer;font-weight:700;color:#265780}
.ae-sentence-curriculum-rows{display:grid;gap:9px;margin:12px 0}
.ae-sentence-curriculum-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(160px,1fr);gap:10px}
.ae-sentence-curriculum-row label{display:grid;gap:4px;font-weight:600}
.ae-sentence-curriculum-row input{width:100%;padding:8px;border:1px solid #b2cce0;border-radius:9px}
@media(max-width:720px){.ae-sentence-editor .ae-sentence-diagram-sentence{top:70px!important;padding:6px 8px!important}.ae-sentence-editor .ae-sentence-relation select{max-width:100%!important}.ae-sentence-curriculum-row{grid-template-columns:1fr}.ae-sentence-editor .ae-sentence-visual-extras{width:100%}}
@media print{.ae-sentence-editor .ae-sentence-diagram-sentence{position:static!important}}
.ae-sentence-legacy-builder{margin:16px 0;border:1px solid #ccdce9;padding:10px 14px;border-radius:12px}
.ae-sentence-legacy-builder>summary{cursor:pointer;font-weight:700;color:#355d82}
.ae-sentence-coverage{margin:8px 0 14px;color:#365873;font-size:13px;line-height:2}
.ae-sentence-coverage span{display:inline-block;border-radius:8px;border:1px solid #cbddec;background:#fff;padding:0 9px;margin:2px}
.ae-sentence-curriculum-row{grid-template-columns:minmax(130px,1fr) minmax(160px,1fr) auto;align-items:end}
.ae-sentence-curriculum-row .ae-stage-move{display:flex;gap:4px}
.ae-sentence-curriculum-row .ae-stage-move button{min-width:30px;min-height:35px;border:1px solid #b2cce0;border-radius:7px;background:#f2f8ff;color:#254f78;cursor:pointer}
@media(max-width:720px){.ae-sentence-curriculum-row{grid-template-columns:1fr auto}.ae-sentence-curriculum-row label:first-child{grid-column:1/-1}}

/* 0.9.123 – student subtype field and stable compact diagram sentence. */
.ae-work-card.ae-sentence-work-card-123{overflow:visible!important}
.ae-sentence-work-card-123 .ae-sentence-editor .ae-sentence-diagram-sentence{position:sticky!important;top:10px!important;z-index:8!important;box-shadow:0 4px 16px rgba(16,51,81,.12);background:#f6f9fd!important}
.ae-sentence-editor-card .ae-sentence-editor .ae-sentence-diagram-sentence{position:sticky;top:82px;z-index:6}
.ae-sentence-editor .ae-sentence-views{margin-bottom:5px!important}
.ae-sentence-editor .ae-sentence-subtype-required{font-weight:800;color:#16496d}
.ae-sentence-editor select.ae-sentence-subtype-missing{border:2px solid #b26822!important;background:#fff8eb!important;color:#6a3b1c!important}
.ae-sentence-editor .ae-sentence-subtype-required:after{content:'A pontos fajtát külön értékeljük.';display:block;font-size:12px;font-weight:500;color:#7b502a;margin-top:3px}
@media(max-width:720px){.ae-sentence-work-card-123 .ae-sentence-editor .ae-sentence-diagram-sentence{top:8px!important}.ae-sentence-editor-card .ae-sentence-editor .ae-sentence-diagram-sentence{top:68px}}
@media print{.ae-sentence-editor .ae-sentence-diagram-sentence{position:static!important;box-shadow:none!important}}

.ae-sentence-editor button.ae-sentence-graph-pick{background:#e9f3ff!important;color:#13476d!important;border:1px solid #91b5d2!important;font-weight:750!important;border-radius:10px!important;padding:9px 12px!important;cursor:pointer!important}
.ae-sentence-editor button.ae-sentence-graph-pick[aria-pressed=true]{background:#194f80!important;color:#fff!important;border-color:#194f80!important}
.ae-sentence-editor .ae-sentence-nodes g[data-node]{cursor:pointer}
.ae-sentence-editor .ae-sentence-nodes g[data-node]:focus-visible{outline:2px solid #175d9e;outline-offset:2px}

/* AuraEdu 0.9.124 – olvasható, teljes ágakat rendező ágrajz. */
.ae-sentence-editor .ae-sentence-diagram{position:relative;justify-content:flex-start!important;align-items:flex-start!important;overflow:auto!important;scrollbar-width:thin;max-height:min(68vh,720px)}
.ae-sentence-editor .ae-sentence-diagram svg{width:auto!important;max-width:none!important;flex:0 0 auto!important;margin:0 auto!important;min-width:0!important;height:auto!important}
.ae-sentence-editor .ae-sentence-nodes g[data-node]{transition:filter .12s ease;cursor:pointer}
.ae-sentence-editor .ae-sentence-nodes g.ae-sentence-node-highlight rect{stroke:#075d9b!important;stroke-width:4!important;filter:drop-shadow(0 1px 5px rgba(27,98,167,.38))}
.ae-sentence-editor .ae-sentence-diagram-word.ae-sentence-word-highlight{outline:3px solid #2566ae;outline-offset:3px;background:#d4eaff!important}
.ae-sentence-editor .ae-sentence-layout-note{font-size:12px;color:#4d6883;max-width:275px;line-height:1.35}
.ae-sentence-editor button.ae-sentence-branch-toggle,.ae-sentence-editor button.ae-sentence-fullscreen-button{background:#eaf2fc!important;color:#164e79!important;border:1px solid #94b4d0!important;font-weight:700!important;border-radius:9px!important}
.ae-sentence-editor .ae-sentence-diagram-fullscreen{position:fixed!important;inset:8px!important;z-index:999999!important;padding:15px!important;margin:0!important;background:#fff!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;overflow:auto!important;box-shadow:0 0 0 10px rgba(0,0,0,.18)}
.ae-sentence-editor .ae-sentence-diagram-fullscreen .ae-sentence-diagram-sentence{position:relative!important;top:auto!important;z-index:1!important}
.ae-sentence-editor .ae-sentence-diagram-fullscreen .ae-sentence-diagram{flex:1 1 auto;max-height:none!important;min-height:0!important}
.ae-sentence-editor .ae-sentence-diagram-fullscreen .ae-sentence-relation{flex-shrink:0}
.ae-sentence-editor .ae-sentence-diagram-fullscreen .ae-sentence-export{flex-shrink:0}
@media(max-width:720px){.ae-sentence-editor .ae-sentence-diagram{max-height:56vh}.ae-sentence-editor .ae-sentence-diagram-fullscreen{inset:0!important;padding:7px!important}.ae-sentence-editor .ae-sentence-diagram-fullscreen .ae-sentence-relation{max-height:26vh;overflow:auto}}
@media print{.ae-sentence-editor .ae-sentence-diagram-fullscreen{position:static!important;box-shadow:none!important}}
@media(prefers-reduced-motion:reduce){.ae-sentence-editor .ae-sentence-nodes g[data-node]{transition:none!important}}
.ae-sentence-editor .ae-sentence-overview:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:7px 0;padding:8px;border:1px dashed #b2cbe0;border-radius:10px;background:#f5faff;color:#264d73}
.ae-sentence-editor .ae-sentence-overview strong{font-size:12px;font-weight:650}
.ae-sentence-editor .ae-sentence-overview svg{display:block;border:1px solid #c2d5e5;border-radius:5px;background:#fff}
.ae-sentence-editor .ae-sentence-overview rect{cursor:pointer}
.ae-sentence-editor .ae-sentence-overview rect:focus-visible{outline:4px solid #2866a8}

/* 0.9.125 – mondatbank karbantartás: csak a mondatelemzőn belüli stílusok */
.ae-sentence-maint-edit{margin:12px 0 18px;padding:13px 16px;border:1px solid #c7d8eb;border-radius:10px;background:#f8fbff}
.ae-sentence-maint-edit>summary{cursor:pointer;font-weight:700;color:#16446c}
.ae-sentence-maint-edit form{margin:12px 0 0}.ae-sentence-maint-edit textarea{display:block;margin:7px 0 10px}.ae-sentence-maint-restore{padding-top:9px;border-top:1px solid #d9e5f3}
.ae-sentence-maint-list{display:grid;gap:7px;max-height:55vh;overflow:auto;margin:14px 0}
.ae-sentence-maint-row{display:flex;gap:12px;align-items:flex-start;border:1px solid #dce6f0;border-radius:9px;padding:12px;background:#fafcff}
.ae-sentence-maint-row input{flex:0 0 auto;margin-top:6px}.ae-sentence-maint-row span{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.ae-sentence-maint-row del{color:#8b4242}.ae-sentence-maint-row strong{color:#174c6e}.ae-sentence-maint-row em{color:#a23e3e;font-style:normal}
.ae-sentence-clean-preview{display:block;margin:5px 0;color:#165677}

/* AuraEdu 0.9.129 – clear teacher scoring configuration, scoped to the sentence task panel. */
.ae-sentence-task-section .ae-sentence-points-baseline{color:#244d71;background:#f4f8fd;border:1px solid #d5e4f0;border-radius:9px;padding:11px 14px;margin:12px 0}
.ae-sentence-task-section .ae-sentence-advanced-description{font-size:.82rem;font-weight:400;color:#667b8d}
.ae-sentence-task-section .ae-sentence-scoring-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:8px 0 14px}
.ae-sentence-task-section .ae-sentence-scoring-head p{margin:3px 0;color:#536a7f;line-height:1.45;font-size:.92rem}
.ae-sentence-task-section .ae-sentence-scoring-fields{border:1px solid #dce8f4;border-radius:11px;overflow:visible;background:#fff}
.ae-sentence-task-section .ae-sentence-score-row{display:grid;grid-template-columns:minmax(170px,1fr) 34px 130px;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #e0e9f1}
.ae-sentence-task-section .ae-sentence-score-row:last-child{border-bottom:0}
.ae-sentence-task-section .ae-sentence-score-row>label{font-weight:600!important;display:block!important;margin:0!important}
.ae-sentence-task-section .ae-sentence-score-input{display:flex;align-items:center;gap:6px}
.ae-sentence-task-section .ae-sentence-score-input input{width:90px!important;min-width:70px}
.ae-sentence-task-section .ae-sentence-score-input span{white-space:nowrap;color:#586e80}
.ae-sentence-task-section .ae-sentence-info{position:relative;display:inline-block;overflow:visible;z-index:10}
.ae-sentence-task-section .ae-sentence-info>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:26px;height:26px;font-size:.84rem;font-weight:800;border-radius:50%;color:#184f7f;background:#e5f1fc;border:1px solid #9fc2e4}
.ae-sentence-task-section .ae-sentence-info>summary::-webkit-details-marker{display:none}
.ae-sentence-task-section .ae-sentence-info>summary:hover,.ae-sentence-task-section .ae-sentence-info>summary:focus-visible{background:#145787;color:white;outline:2px solid #82b9e5;outline-offset:2px}
.ae-sentence-task-section .ae-sentence-info-content{display:none;position:absolute;top:33px;right:-10px;width:min(310px,70vw);padding:12px 14px;background:#fff;color:#243a53;border:1px solid #9fbcd7;border-radius:10px;box-shadow:0 8px 28px #1c39532e;line-height:1.45;font-size:.9rem;font-weight:400}
.ae-sentence-task-section .ae-sentence-info[open] .ae-sentence-info-content,.ae-sentence-task-section .ae-sentence-info:hover .ae-sentence-info-content,.ae-sentence-task-section .ae-sentence-info:focus-within .ae-sentence-info-content{display:block}
.ae-sentence-task-section .ae-sentence-option-caption{display:flex;align-items:center;gap:8px;margin:15px 0 5px;font-weight:600;color:#1e3b59}
.ae-sentence-task-section .ae-sentence-advanced-subheading{margin-top:20px;border-top:1px solid #e2eaf1;padding-top:12px;font-weight:700;color:#1b4e79}
.ae-sentence-task-section .ae-sentence-point-error{color:#9d2338;background:#fff3f4;border:1px solid #e6a3ad;border-radius:8px;padding:10px 12px;margin:12px 0;font-weight:600}
.ae-sentence-task-section .ae-sentence-point-error[hidden]{display:none!important}
.ae-sentence-task-section input[aria-invalid="true"]{border:2px solid #bc2c4e!important;background:#fff7f7!important}
.ae-sentence-task-section .ae-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:690px){.ae-sentence-task-section .ae-sentence-score-row{grid-template-columns:minmax(0,1fr) 30px;gap:7px}.ae-sentence-task-section .ae-sentence-score-input{grid-column:1/-1}.ae-sentence-task-section .ae-sentence-info-content{right:-6px;max-width:75vw}}

/* AuraEdu 0.9.130 – per-assignment scoring; scoped from WordPress theme rules. */
.ae-sentence-quick-assign .ae-sentence-quick-form.ae-sentence-assignment130{display:block;margin:12px 0}
.ae-sentence-assignment130-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.ae-sentence-quick-assign .ae130-scoring-section{border:1px solid #bdd4e8;background:#fff;border-radius:14px;padding:18px;margin:14px 0}
.ae-sentence-quick-assign .ae130-scoring-section h4{color:#123e62;margin:0 0 10px;font-size:17px}
.ae-sentence-quick-assign .ae130-profile-choices{display:flex;gap:14px;flex-wrap:wrap;margin:8px 0 12px}
.ae-sentence-quick-assign .ae130-profile-choices label,.ae-sentence-quick-assign .ae130-check-label{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;font-weight:600;cursor:pointer}
.ae-sentence-quick-assign .ae130-profile-choices label{border:1px solid #cadae8;border-radius:11px;padding:10px 13px;flex:1 1 240px;background:#f8fbff}
.ae-sentence-quick-assign .ae130-profile-choices label:has(input:checked){border-color:#19648c;background:#eaf5ff}
.ae-sentence-quick-assign .ae130-profile-choices small{font-weight:400;color:#47708a}
.ae-sentence-quick-assign input[type="radio"],.ae-sentence-quick-assign input[type="checkbox"]{width:17px;height:17px;flex-shrink:0;accent-color:#175d88}
.ae130-profile-summary{color:#204e70;font-size:14px;margin:6px 0 10px}
.ae130-custom-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.ae-sentence-quick-assign .ae130-custom-points label{font-size:13px}
.ae130-custom-points input{max-width:135px;background:#fff;border:1px solid #9aacc6;border-radius:8px;padding:9px;font-size:15px}
.ae130-custom-points input[aria-invalid="true"]{border-color:#d53e45!important;outline:2px solid #fad3d4}
.ae130-advanced{border-top:1px solid #e1e9f1;margin-top:12px;padding-top:9px}
.ae130-advanced summary{cursor:pointer;color:#234969;font-weight:700}
.ae130-advanced>label,.ae130-advanced>.ae130-incomplete{margin-top:12px!important}
.ae130-advanced select{display:block;width:100%}
.ae130-advanced .ae-sentence-checks{display:flex;flex-wrap:wrap;gap:12px}
.ae130-advanced .ae-sentence-checks label{display:inline-flex;flex-direction:row;align-items:center}
.ae130-point-preview{padding:14px;border-radius:11px;background:#eaf3fa;margin-top:15px;color:#143f61}
.ae130-point-preview strong{display:block;font-size:17px}
.ae130-point-preview small{display:block;margin-top:5px;color:#416e8a;line-height:1.5}
.ae130-point-warning{background:#fff1ef;border:1px solid #e9998e;border-radius:9px;padding:10px;margin:12px 0;color:#952f27;font-weight:700}
.ae-sentence-quick-assign .ae-sentence-assign-submit{display:block;margin:14px auto 0!important;min-width:250px;cursor:pointer}
.ae-sentence-quick-assign .ae-sentence-assign-submit:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:800px){.ae-sentence-assignment130-grid,.ae130-custom-points{grid-template-columns:1fr}.ae-sentence-quick-assign .ae-sentence-assign-submit{width:100%;min-width:0}}
.ae-sentence-quick-assign .ae130-custom-points[hidden],.ae-sentence-quick-assign .ae130-incomplete[hidden],.ae-sentence-quick-assign .ae130-point-warning[hidden]{display:none!important}

/* 0.9.131: quick choices and freely editable sentence count share ONE named input. */
.ae-sentence-count-options .ae-sentence-count-picker{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:180px;margin:0}
.ae-sentence-count-shortcuts{display:flex;flex-wrap:wrap;gap:6px}
.ae-sentence-count-options .ae-sentence-count-quick{cursor:pointer;border:1px solid #9ab9d0;border-radius:8px;background:#fff;color:#15456b;padding:7px 12px;font:inherit;font-weight:700}
.ae-sentence-count-options .ae-sentence-count-quick.is-active,.ae-sentence-count-options .ae-sentence-count-quick[aria-pressed="true"]{background:#164568;color:#fff;border-color:#164568}
.ae-sentence-count-options .ae-sentence-count-quick:focus-visible{outline:3px solid #439bdd;outline-offset:2px}
.ae-sentence-count-options .ae-sentence-count-custom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-weight:600}
.ae-sentence-count-options input#ae-count-target-131{width:100px;max-width:100%;min-width:80px;flex:1}
.ae-sentence-count-help{font-size:.78rem;color:#4c6477;line-height:1.35}
.ae-sentence-count-validation{font-size:.82rem;line-height:1.35;color:#a03e1f}
.ae-sentence-count-validation.is-ok{color:#196140}
.ae-sentence-count-options input#ae-count-target-131[aria-invalid="true"]{border-color:#b73535;box-shadow:0 0 0 2px #fce2e2}
@media(max-width:700px){.ae-sentence-count-options .ae-sentence-count-picker{min-width:0}.ae-sentence-count-options input#ae-count-target-131{min-width:90px}}

/* 0.9.132: a tanuló SAJÁT altípusválasztásának rövid jele, a meglévő aláhúzás felett/alatt, a szó pozíciójának megváltoztatása nélkül. */
.ae-sentence-editor .ae-sentence-words .ae-sentence-has-submark,
.ae-sentence-diagram-sentence-text .ae-sentence-has-submark{position:relative!important}
.ae-sentence-editor .ae-sentence-words button.ae-sentence-has-submark::after{left:var(--ae-submark-line-start,18px)!important}
.ae-sentence-subtype-badge{position:absolute;z-index:1;left:1px;bottom:-3px;display:inline-block;font:700 11px/1.1 system-ui,Arial,sans-serif!important;letter-spacing:0;white-space:nowrap;color:#703d0c;background:#f7fafe;border-radius:2px;padding:0 2px;pointer-events:none;text-decoration:none!important;box-shadow:0 0 0 1px #f7fafe}
.ae-sentence-token.ae-sentence-mark-J .ae-sentence-subtype-badge,.ae-sentence-diagram-word[data-part-role="J"] .ae-sentence-subtype-badge{color:#6e299c}
.ae-sentence-diagram-sentence-text .ae-sentence-subtype-badge{bottom:-12px;background:#f4f8fd;box-shadow:0 0 0 1px #f4f8fd}
.ae-sentence-diagram-sentence-text .ae-sentence-has-submark{margin-bottom:8px}
@media print{.ae-sentence-subtype-badge{color:#111!important;background:#fff!important;box-shadow:none!important}}

/* 0.9.132 – Tanító / Kérdezz–felelek: csak a feloldott válaszok altípusjelölése. */
.ae-lesson-revealed .ae-lesson-mark.ae-lesson-has-submark,.ae-lesson-word.ae-lesson-has-submark{position:relative!important;display:inline-block}
.ae-lesson-subtype-badge{position:absolute;left:0;bottom:-10px;font:700 11px/1 system-ui,Arial,sans-serif;white-space:nowrap;background:#f8fbff;color:#815018;padding:1px 2px;border-radius:2px;pointer-events:none;text-decoration:none!important}
.ae-lesson-mark-j .ae-lesson-subtype-badge{color:#7930a6}

/* AuraEdu 0.9.135 — Kérdésből ágrajz, isolated presentation. */
.ae135-teacher{margin:14px 0;padding:16px;border:1px solid #bad0e9;border-radius:12px;background:#f7fafe}
.ae135-teacher[hidden]{display:none!important}
.ae135-teacher-question{display:flex;flex-direction:column;gap:4px;margin:9px 0}
.ae135-teacher-question input{max-width:100%;width:100%;box-sizing:border-box}
.ae135-teacher-question small{font-weight:normal;color:#58708a}
.ae135-score-inactive{display:none!important}
.ae135-tree{max-width:1050px;margin:auto;border:1px solid #d5e1f0;border-radius:18px;padding:clamp(12px,3vw,24px);background:#f8fbff;color:#183952}
.ae135-sentence{font-size:clamp(19px,2.4vw,30px);text-align:center;padding:15px;background:white;border-radius:10px;line-height:1.6}
.ae135-help{color:#44647e}.ae135-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px 0}
.ae135-selectlabel{flex:1 1 180px;display:flex;flex-direction:column;gap:5px;font-weight:600}
.ae135-selectlabel select{width:100%;min-height:44px;font-size:16px;padding:8px;border-radius:8px}
.ae135-guidedq{flex-basis:100%;font-weight:700;color:#1d547c}.ae135-root{margin:16px 0}
.ae135-fixed{padding:12px 16px;background:#e6f2ff;border:1px solid #abcbe7;border-radius:8px;display:inline-block;font-weight:700}
.ae135-diagram{overflow:auto;border:1px solid #d4dfed;padding:14px;background:#fff;border-radius:12px;min-height:115px}
.ae135-graph-root,.ae135-graph-root ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:12px;align-items:start}
.ae135-graph-root ul{margin-top:32px;position:relative;border-top:2px solid #8da6c4;padding-top:15px;flex-wrap:wrap}
.ae135-graph-root li{display:flex;flex-direction:column;align-items:center;min-width:115px;position:relative}
.ae135-graph-root li>ul:before{content:'';position:absolute;left:50%;top:-31px;height:31px;border-left:2px solid #8da6c4}
.ae135-node{border:2px solid #83a8d0;background:#eaf3ff;color:#19446a;border-radius:10px;display:inline-block;padding:10px 14px;text-align:center;max-width:190px;overflow-wrap:anywhere;font-weight:700}
.ae135-edge{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #d9e5f4;padding:9px 0}
.ae135-notice,.ae135-warning{color:#845118}.ae135-unplaced{font-size:13px;color:#62738a}
@media(max-width:600px){.ae135-graph-root ul{gap:7px}.ae135-graph-root li{min-width:90px}.ae135-node{max-width:120px;padding:7px}.ae135-tree{padding:10px}}

.ae135-task-mode .ae-sentence-auto-toggle,.ae135-task-mode .ae-sentence-manual-roles,.ae135-task-mode .ae-sentence-points-baseline,.ae135-task-mode .ae-sentence-advanced,.ae135-task-mode .ae-sentence-simple-grid label:nth-child(2){display:none!important}

/* 0.9.253: Stable range actions. Never insert/remove buttons while tapping words. */
.ae-sentence-editor .ae253-range-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:43px;margin:6px 0 8px;align-items:stretch;box-sizing:border-box}
.ae-sentence-editor .ae253-range-actions[hidden]{display:none!important}
.ae-sentence-editor .ae253-range-actions button{display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:100%!important;min-height:43px!important;box-sizing:border-box!important;margin:0!important;padding:6px 9px!important;white-space:normal!important;line-height:1.2!important;font-size:clamp(11px,2.9vw,14px)!important}
.ae-sentence-editor .ae253-range-actions button:disabled{opacity:.48!important;cursor:default!important}
@media(max-width:750px){.ae252-practice-active .ae-sentence-editor .ae253-range-actions{min-height:44px;margin:4px 0 7px}.ae252-practice-active .ae-sentence-editor .ae253-range-actions button{height:44px!important;min-height:44px!important}}

/* 0.9.254 – stable, explicit multiword mode on phones. The one-tap path has no conditional toolbar height. */
.ae-sentence-editor .ae254-multiword-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:5px 0;padding:7px 12px;border:1px solid #9bb7d6;border-radius:10px;background:#f2f7ff;color:#1b496e;font-weight:650;box-sizing:border-box}
.ae-sentence-editor .ae254-multiword-toggle.active{background:#245a8d;color:#fff;border-color:#245a8d}
.ae-sentence-editor .ae254-multiword-toggle[hidden]{display:none!important}
@media(max-width:750px){.ae252-practice-active .ae-sentence-editor .ae254-multiword-toggle{width:100%;min-height:44px;margin:5px 0 2px}}

/* 0.9.255 – three selection modes, stable mobile footprint */
.ae-sentence-editor .ae255-selection-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin:5px 0}
.ae-sentence-editor .ae255-selection-modes[hidden]{display:none!important}
.ae-sentence-editor .ae255-selection-modes button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:42px;box-sizing:border-box;border:1px solid #9bb7d6;border-radius:10px;background:#f2f7ff;color:#1b496e;padding:7px 8px;font-weight:650;line-height:1.25;white-space:normal;text-align:center;margin:0}
.ae-sentence-editor .ae255-selection-modes button:last-child{grid-column:1/-1}
.ae-sentence-editor .ae255-selection-modes button.active{background:#245a8d;color:#fff;border-color:#245a8d}
@media(max-width:750px){.ae252-practice-active .ae-sentence-editor .ae255-selection-modes button{font-size:13px!important;min-height:43px!important;width:100%!important;margin:0!important}.ae252-practice-active .ae-sentence-editor .ae254-multiword-toggle{width:100%!important;min-height:43px!important;margin:0!important}}
