.suite-header{box-sizing:border-box;min-height:80px;background:#fff;border-bottom:1px solid #dce5f0;display:flex;align-items:center;gap:22px;padding:12px 40px;font:15px/1.5 Inter,"Segoe UI",Arial,sans-serif;color:#203650}.suite-header a{text-decoration:none}.suite-brand{display:flex;gap:7px;font-size:27px;letter-spacing:-1px;white-space:nowrap}.suite-brand b{color:#286bb0}.suite-brand strong{color:#e82a42}.suite-divider{height:26px;border-left:1px solid #dce5f0}.suite-name{display:flex;align-items:center;gap:10px;font-weight:650;color:#203650;white-space:nowrap}.suite-name img{object-fit:contain;width:44px;height:48px}.suite-name small{font-size:9px;vertical-align:top;letter-spacing:1px;background:#e9f1fc;color:#366cae;padding:3px 5px;border-radius:4px;margin-left:4px}.suite-account{margin-left:auto;display:flex;gap:24px;font-size:13px;align-items:center}.suite-account a{color:#60748b;white-space:nowrap}.suite-skip{position:fixed;top:-80px;left:20px;z-index:100}.suite-skip:focus{top:10px;background:white;padding:12px}.suite-header a:focus-visible,.suite-switchbar a:focus-visible,.pegasus-page a:focus-visible,.tec-pegasus-entry:focus-visible{outline:3px solid #4b8ee4;outline-offset:4px}.suite-switchbar{box-sizing:border-box;max-width:1560px;margin:auto;padding:22px 40px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;font:14px/1.5 Inter,"Segoe UI",Arial,sans-serif}.suite-back{color:#60748b;text-decoration:none}.suite-switch{display:flex;gap:4px;padding:4px;border:1px solid #dce5f0;background:#fff;border-radius:11px}.suite-switch a{border-radius:7px;color:#60748b;text-decoration:none;padding:7px 18px}.suite-switch a[aria-current=page]{background:#e7f0ff;color:#205ca8;font-weight:650}.suite-switch a:hover{background:#f0f5fc}
.pegasus-page{margin:0;background:#f6f8fc;color:#203650;font:16px/1.65 Inter,"Segoe UI",Arial,sans-serif}.pegasus-page *{box-sizing:border-box}.pegasus-page a{text-decoration:none}.pegasus-main{max-width:1120px;margin:auto;padding:34px 40px 60px}.pegasus-breadcrumb{font-size:14px;color:#60748b;overflow-wrap:anywhere}.pegasus-welcome{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:38px 0 32px}.pegasus-eyebrow{font-size:11px;font-weight:650;letter-spacing:1.6px;color:#2563b8}.pegasus-welcome h1{max-width:640px;font-size:38px;line-height:1.25;letter-spacing:-1px;margin:16px 0}.pegasus-welcome p{color:#60748b;margin:0 0 20px}.pegasus-emblem{width:210px;height:210px;object-fit:contain;flex:none}.pegasus-class-name{display:inline-block;background:#e9f1fc;color:#275e9f;padding:6px 12px;border-radius:7px;font-size:13px;overflow-wrap:anywhere}.pegasus-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pegasus-choice{display:flex;flex-direction:column;border:1px solid #dce5f0;border-radius:16px;background:#fff;padding:30px;color:#203650;transition:border-color .15s,box-shadow .15s}.pegasus-choice:hover{border-color:#86b1e7;box-shadow:0 6px 22px #1f509010}.pegasus-skill-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#edf4ff;color:#2563b8;font-size:26px;margin-bottom:20px}.pegasus-skill{color:#2563b8;font-size:25px;font-weight:700}.pegasus-choice h2{font-size:19px;margin:10px 0}.pegasus-choice p{font-size:15px;color:#60748b;margin:0 0 26px;max-width:390px}.pegasus-choice-action{display:flex;justify-content:space-between;align-items:center;margin-top:auto;border-top:1px solid #e4ebf5;padding-top:18px;color:#2563b8;font-weight:650}.pegasus-choice.unavailable{opacity:.6;box-shadow:none}.pegasus-note{text-align:center;font-size:13px;color:#60748b;margin-top:26px}.tec-pegasus-entry{box-sizing:border-box;display:flex;align-items:center;gap:20px;padding:22px 26px;margin:4px 0 22px;border:1px solid #cddff5;border-radius:14px;background:#f0f6ff;color:#203650!important;text-decoration:none!important}.tec-pegasus-entry:hover{border-color:#80abe0;background:#eaf3ff}.tec-pegasus-entry img{width:76px;height:76px;object-fit:contain;flex:none}.tec-pegasus-entry>span:nth-child(2){display:grid;gap:6px}.tec-pegasus-entry strong{font-size:22px;color:#245fa8}.tec-pegasus-entry>span:nth-child(2)>span{font-size:14px;color:#60748b}.tec-pegasus-entry-action{display:flex;gap:16px;align-items:center;margin-left:auto;white-space:nowrap;color:#2563b8;font-weight:650;font-size:14px}
@media(max-width:760px){.suite-header{padding:12px 16px;gap:12px;flex-wrap:wrap}.suite-brand{font-size:22px}.suite-divider{height:22px}.suite-name{font-size:14px;gap:6px}.suite-name img{width:34px;height:38px}.suite-name small{display:none}.suite-account{width:100%;justify-content:space-between;gap:12px;font-size:12px}.suite-switchbar{padding:18px 16px 0;font-size:13px;gap:8px}.suite-switch a{padding:7px 12px}.pegasus-main{padding:24px 18px 48px}.pegasus-welcome{gap:12px;padding:24px 0;align-items:flex-start}.pegasus-welcome h1{font-size:28px;letter-spacing:-.6px}.pegasus-emblem{width:84px;height:100px;margin-top:26px}.pegasus-eyebrow{font-size:10px;letter-spacing:1px}.pegasus-welcome p{font-size:14px}.pegasus-choices{grid-template-columns:1fr;gap:16px}.pegasus-choice{padding:24px}.pegasus-skill-icon{margin-bottom:14px}.tec-pegasus-entry{padding:18px;gap:14px;flex-wrap:wrap}.tec-pegasus-entry img{width:58px;height:64px}.tec-pegasus-entry>span:nth-child(2){flex:1;min-width:160px}.tec-pegasus-entry strong{font-size:20px}.tec-pegasus-entry-action{width:100%;justify-content:space-between;margin:0}.pegasus-note{text-align:left}}
@media(prefers-reduced-motion:reduce){.pegasus-choice{transition:none}}
.suite-header,.tec-header{position:sticky!important;top:0;z-index:60;background:#fff;box-shadow:0 2px 12px #20365008}
.suite-header .suite-switch{margin-left:auto;flex-shrink:0;font-size:14px}
.suite-header .suite-switch+.suite-account{margin-left:0}
.suite-header a:focus-visible{outline:3px solid #4b8ee4;outline-offset:3px}
.suite-header~.workspace #notice{top:var(--tec-header-height,80px);z-index:55}
.suite-header~.workspace .topics{top:calc(var(--tec-header-height,80px) + 16px)}
html:has(.suite-header){scroll-padding-top:calc(var(--tec-header-height,80px) + 20px)}
.tec-vocab-view{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 12px;scroll-margin-top:150px}
.tec-vocab-view:has(+[hidden]){display:none}
.tec-vocab-view button[aria-pressed=true]{background:#e7f0ff;color:#205ca8;border-color:#80abe0;font-weight:650}
.tec-vocab-compact{table-layout:fixed;width:100%;border-collapse:collapse;background:#fff;border:1px solid #dce5f0;font-size:15px;line-height:1.4}
.tec-vocab-compact caption{text-align:left;padding:10px 0;color:#60748b;font-size:13px}
.tec-vocab-compact th,.tec-vocab-compact td{padding:9px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #e6edf5;overflow-wrap:anywhere}
.tec-vocab-compact th{background:#edf4ff;color:#245fa8;font-weight:650}.tec-vocab-compact th:first-child{width:30%}.tec-vocab-compact th:nth-child(2){width:15%}.tec-vocab-compact td:first-child{font-weight:600}.tec-vocab-compact tr:nth-child(even){background:#f8faff}
@media(max-width:600px){.tec-vocab-compact{font-size:13px}.tec-vocab-compact th,.tec-vocab-compact td{padding:8px 7px}.tec-vocab-compact th:first-child{width:30%}.tec-vocab-compact th:nth-child(2){width:18%}}
@media(max-width:1000px){.suite-header{gap:14px;padding-left:20px;padding-right:20px}.suite-account{gap:12px}}
@media(max-width:760px){.suite-header{padding:10px 16px;gap:8px 12px}.suite-header .suite-switch{order:4;margin:0;width:100%;justify-content:center;font-size:13px}.suite-header .suite-switch a{flex:1;text-align:center;padding:5px 12px}.suite-account{width:100%;font-size:12px;justify-content:space-between}.suite-name{gap:6px}.suite-brand{font-size:22px}}

@media(max-width:600px){.tec-deck-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tec-deck-actions button{overflow-wrap:normal!important;word-break:normal!important;min-width:0}}
.workspace.writing-draft{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px}
.writing-draft>#results,.writing-draft>.essay-column{min-width:0;background:#fff;border:1px solid #dce5f0;border-radius:16px;overflow:hidden}
.writing-draft>#results{position:sticky;top:calc(var(--tec-header-height,80px) + 16px);max-height:calc(100dvh - var(--tec-header-height,80px) - 32px);overflow:auto}
.writing-draft .topic{border-bottom:0;padding:24px;margin:0}
.writing-draft .topic-image{width:100%;height:auto;max-height:none;object-fit:contain}
.writing-draft .essay-edit{box-sizing:border-box;width:100%;min-height:560px;height:calc(100dvh - var(--tec-header-height,80px) - 170px);resize:vertical;line-height:1.9}
.fix-body .evidence{overflow-wrap:anywhere}.fix-body .evidence p{margin:8px 0 0}
@media(max-width:900px){.workspace.writing-draft{grid-template-columns:minmax(0,1fr);gap:16px}.writing-draft>#results{position:static;max-height:none;overflow:visible}.writing-draft .topic{padding:20px}.writing-draft .essay-edit{height:55dvh;min-height:350px}}
/* Assignment planner shared by class and student assignment pages. */
.assignment-board{padding:8px 4px}.assignment-board-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.assignment-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#37798c}.assignment-board-heading h2{font-size:27px;margin:10px 0 8px}.assignment-board-heading p{font-size:14px;color:#718594;margin:0;line-height:1.7}.assignment-create,.assignment-open{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;border-radius:10px;font-weight:650;font-size:13px;padding:12px 17px;white-space:nowrap}.assignment-create{background:#23697a;color:white}.assignment-open{background:#edf5f8;color:#24677a;border:1px solid #d6e7ed}.assignment-toolbar{display:flex;align-items:flex-end;gap:20px;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid #e2eaf0;padding-bottom:20px}.assignment-tabs{display:flex;background:#eef3f6;padding:5px;border-radius:12px;gap:4px;max-width:100%}.assignment-tabs button{background:transparent;color:#597180;border:0;border-radius:9px;padding:10px 14px;min-height:43px;font-size:13px;white-space:nowrap;box-shadow:none}.assignment-tabs button[aria-pressed=true]{background:#fff;color:#205f71;box-shadow:0 2px 6px #173c5010;font-weight:700}.assignment-tabs button span{font-size:11px;margin-left:5px;background:#e5eef1;border-radius:6px;padding:2px 5px}.assignment-filters{display:flex;gap:12px;align-items:end;flex:1;justify-content:flex-end}.assignment-filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#6e8290;font-weight:500;min-width:0;margin:0}.assignment-filters input,.assignment-filters select{border:1px solid #dae5eb;border-radius:9px;min-height:42px;background:#fff;color:#2a4a5a;font-size:13px;margin:0;padding:10px 12px;max-width:100%;width:auto}.assignment-filters input{width:230px}.assignment-count{font-size:12px;color:#718594;margin:18px 0}.assignment-group{margin:24px 0}.assignment-group-title{display:flex;align-items:center;gap:10px;font-size:15px;color:#456576;margin-bottom:12px}.assignment-group-title>span{font-size:11px;color:#6b8390;background:#eef3f6;border-radius:15px;padding:3px 8px}.assignment-card{display:flex;align-items:center;gap:24px;padding:20px;margin:0 0 12px;background:#fff;border:1px solid #e1e9ee;border-radius:14px;box-shadow:0 3px 12px #22465b03}.assignment-card-main{flex:1;min-width:0}.assignment-card h3{font-size:16px;line-height:1.6;margin:10px 0;color:#26495d;overflow-wrap:anywhere}.assignment-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#718594}.assignment-skill{font-size:10px;font-weight:700;letter-spacing:.2px;background:#edf3fe;color:#356ab6;padding:5px 9px;border-radius:6px}.assignment-skill[data-skill=listening]{background:#e8f5ef;color:#338464}.assignment-skill[data-skill=writing]{background:#f1ecfa;color:#7851aa}.assignment-skill[data-skill=speaking]{background:#fff2df;color:#9c6927}.assignment-skill[data-skill=vocabulary],.assignment-skill[data-skill=foundation]{background:#e8f5f6;color:#317e88}.assignment-detail{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;line-height:1.7;color:#6e8491}.assignment-deadline.soon{color:#8f691a;font-weight:600}.assignment-deadline.overdue{color:#b5564b}.assignment-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;max-width:45%}.assignment-state{font-size:11px;color:#7a8b96;white-space:nowrap}.assignment-state.done{color:#2a8c68}.assignment-card .assignment-remove{border:0;background:transparent;color:#9b6162;font-size:12px;padding:8px;box-shadow:none}.assignment-more{display:block;margin:15px auto;background:transparent;border:1px solid #dbe5eb;border-radius:9px;padding:10px 18px;color:#40677a;font-size:12px}.assignment-empty{padding:35px 20px;background:#f7fafb;border:1px dashed #d9e5eb;border-radius:12px;text-align:center;color:#6e8290;line-height:1.8}.assignment-empty strong{font-size:16px;color:#3b6073}.assignment-empty p{font-size:13px}.assignment-card.compact{padding:15px;align-items:flex-start}.assignment-card.compact h3{font-size:14px}.assignment-card.compact .assignment-card-actions{flex-direction:column;gap:8px}.assignment-card a:focus-visible,.assignment-board button:focus-visible{outline:3px solid #7fb8cc;outline-offset:3px}@media(max-width:800px){.assignment-board-heading{align-items:flex-start}.assignment-toolbar{align-items:stretch;gap:16px}.assignment-tabs{width:100%}.assignment-tabs button{flex:1;padding:10px 8px;font-size:12px}.assignment-filters{justify-content:stretch;width:100%}.assignment-filters label:first-child{flex:1}.assignment-filters input{width:100%}.assignment-filters select{max-width:155px}.assignment-board-heading h2{font-size:23px}.assignment-card{gap:12px;align-items:stretch;flex-direction:column;padding:17px}.assignment-card-actions{max-width:none;justify-content:space-between}.assignment-card h3{font-size:15px}.assignment-open{padding:10px 14px}.assignment-card.compact .assignment-card-actions{flex-direction:row}.assignment-create{font-size:12px;padding:11px 13px}.assignment-board{padding:0}.assignment-board-heading p{font-size:13px}}
.assignment-batch{margin:14px 0;border:1px solid #dce7ed;border-radius:18px;background:#fff;overflow:hidden}
.assignment-batch>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px}
.assignment-batch>summary::-webkit-details-marker{display:none}
.assignment-batch>summary:focus-visible{outline:3px solid #42a9c6;outline-offset:-4px;border-radius:18px}
.assignment-batch-heading{display:grid;gap:8px;min-width:0}
.assignment-batch-heading>strong{font-size:20px;color:#204a5b;overflow-wrap:anywhere}
.assignment-batch-meta{font-size:13px;color:#64808e;line-height:1.6}
.assignment-batch-side{display:grid;justify-items:end;gap:14px;flex-shrink:0}
.assignment-batch-progress{border-radius:20px;background:#edf6f5;color:#25695f;padding:6px 12px;font-size:13px}
.assignment-batch-toggle{display:flex;gap:10px;font-weight:600;color:#22677d;font-size:14px}
.assignment-batch .when-open,.assignment-batch[open] .when-closed{display:none}
.assignment-batch[open] .when-open{display:inline}
.assignment-batch[open]>summary{background:#f5fafb;border-bottom:1px solid #e2edf1}
.assignment-batch-body{padding:0 20px}
.assignment-batch-body>.assignment-card{box-shadow:none;border:0;border-radius:0;border-bottom:1px solid #e8eef2;margin:0;padding:20px 4px}
.assignment-batch-body>.assignment-card:last-child{border-bottom:0}
.assignment-teacher-open{background:#eaf5f6!important;color:#1d6578!important}
@media(max-width:640px){.assignment-batch>summary{padding:18px;align-items:flex-start;gap:14px}.assignment-batch-heading>strong{font-size:17px}.assignment-batch-side{gap:12px;flex-shrink:1;min-width:95px}.assignment-batch-body{padding:0 14px}.assignment-batch-progress{font-size:12px;padding:6px 8px}.assignment-batch-toggle{font-size:12px}.assignment-batch-heading .assignment-eyebrow{font-size:10px}}

/* Keep the assignment board comfortably inside its panel border. */
#tec-assignment-board.assignment-board{padding:28px;min-width:0;box-sizing:border-box}.assignment-batch,.assignment-batch-main{min-width:0}.assignment-batch h3{overflow-wrap:anywhere}@media(max-width:800px){#tec-assignment-board.assignment-board{padding:18px 16px}.assignment-board-heading{gap:12px}.assignment-filters{min-width:0}.assignment-tabs{box-sizing:border-box}}

.essay .mark,.essay .mark.lexical,.essay .mark.task{display:inline;background:transparent;padding:0;border:0;border-radius:0;font:inherit;font-weight:650;line-height:inherit;text-align:inherit;white-space:inherit;word-break:normal;vertical-align:baseline;text-decoration:none;cursor:pointer;box-decoration-break:clone;-webkit-box-decoration-break:clone}.essay .mark[aria-pressed=true]{background:transparent;outline:0;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}.essay .mark:focus-visible{outline:2px solid #0c8d70;outline-offset:2px}.essay{tab-size:4}

/* Compact attendance matrix with full Vietnamese labels, no automatic popup. */
.ca-roll-dialog{width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;padding:26px;border-radius:20px}
.ca-roll-hint{color:#637d89;font-size:14px;line-height:1.6}.ca-table-wrap{overflow:auto;max-height:58dvh;border:1px solid #dce8ed;border-radius:12px;margin:18px 0}
.ca-roll-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}.ca-roll-table th,.ca-roll-table td{padding:10px 8px;border-bottom:1px solid #e9f0f3;text-align:center}
.ca-roll-table thead th{position:sticky;top:0;background:#eef5f7;z-index:2;color:#2e6175}.ca-roll-table abbr{text-decoration:none;font-size:15px}.ca-roll-table th small{display:block;font-size:11px;font-weight:500;margin-top:4px;white-space:nowrap}
.ca-roll-table tbody th{text-align:left;font-weight:600;min-width:150px;max-width:280px;overflow-wrap:anywhere}.ca-roll-table tr:nth-child(even){background:#f8fbfc}.ca-roll-table tr:last-child>*{border-bottom:0}
.ca-roll-number{display:inline-block;width:25px;color:#8aa1ab;font-size:12px;font-weight:400}.ca-roll-table .ca-radio{display:grid;place-items:center;min-width:44px;min-height:44px;position:relative;cursor:pointer;margin:0}
.ca-radio input{width:22px;height:22px;accent-color:#24879a;margin:0;cursor:pointer}.ca-radio:has(:checked){background:#e0f2f0;border-radius:9px}.ca-late:has(:checked){background:#fff1d5}.ca-excused:has(:checked){background:#e9e9fb}.ca-absent:has(:checked){background:#fce9e6}
.ca-roll-table .ca-note{width:100%;min-width:110px;max-width:240px;border:1px solid #dce7ec;border-radius:8px;padding:9px;font-size:13px;background:#fff}.ca-roll-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ca-roll-actions #ca-roll-count{margin-left:auto;font-size:13px;color:#69828e}.ca-roll-footer{justify-content:flex-end;position:sticky;bottom:0;background:#fff;padding-top:12px}
@media(max-width:600px){.ca-roll-dialog{padding:16px}.ca-roll-table thead th:first-child{width:100%}.ca-roll-table thead th:last-child{display:none}.ca-roll-table thead tr{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,44px)}.ca-roll-table tbody{display:block}.ca-roll-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,44px);padding:8px 2px;border-bottom:1px solid #e0e9ed}.ca-roll-table tbody th{min-width:0;padding:12px 4px;font-size:13px}.ca-roll-table td,.ca-roll-table thead th{padding:4px 0;border:0}.ca-roll-table tbody td:last-child{grid-column:1/-1;padding:2px 8px 7px}.ca-roll-table .ca-note{max-width:none}.ca-roll-number{display:none}.ca-roll-table th small{font-size:9px}.ca-roll-footer>button{flex:1}.ca-table-wrap{max-height:56dvh}}
.tec-vocab-add{margin:24px 0;padding:24px;border:1px solid #dce7ec;border-radius:16px;background:#fff;color:#173c4b}
.tec-vocab-add h2{margin:0 0 8px;font-size:23px}.tec-vocab-add p{color:#56717c}
.tec-vocab-add form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:18px}
.tec-vocab-add label{grid-column:1/-1;font-weight:600}.tec-vocab-add input{width:100%;min-width:0;padding:12px 14px;border:1px solid #c9dbe3;border-radius:9px;font:inherit}
.tec-vocab-add button{min-height:44px;padding:10px 18px;border:1px solid #c9dbe3;border-radius:9px;background:#226b7b;color:#fff;font:inherit;cursor:pointer}.tec-vocab-add button:disabled{opacity:.65;cursor:default}
.tec-vocab-add-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}.tec-vocab-add-results .tec-vocab-card{margin:0}
@media(max-width:520px){.tec-vocab-add{padding:18px}.tec-vocab-add form{grid-template-columns:1fr}}
