.seat-api-settings{max-width:1180px;margin:0 auto}.seat-api-title{display:flex;align-items:center;justify-content:space-between;gap:18px}.seat-api-title h1{font-size:27px;margin:8px 0}.seat-api-settings p{color:#65748a;line-height:1.65;font-size:14px}.seat-api-card{background:white;border:1px solid #e1e7ee;border-radius:15px;padding:24px;margin:18px 0}.seat-api-card h2{font-size:18px;margin:0 0 14px;color:#17263d}.seat-api-card h2 span{font-size:14px;color:#6c7c90}.seat-api-card a{color:#008979;font-weight:700}.seat-api-btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid #d6dee8;background:white;border-radius:9px;padding:10px 14px;min-height:42px;font:inherit;font-size:13px;font-weight:650;color:#25364c;cursor:pointer}.seat-api-btn.primary{color:white;background:#0a947e;border-color:#0a947e}.seat-api-btn:disabled{opacity:.5;cursor:wait}.seat-api-copy{display:flex;align-items:center;gap:12px;padding:12px;background:#f5f8fb;border-radius:10px;margin:12px 0}.seat-api-copy code{overflow-wrap:anywhere;flex:1 1;font-size:13px}.seat-api-form{display:flex;gap:20px;align-items:end;flex-wrap:wrap}.seat-api-form label{display:grid;gap:8px;font-size:13px;font-weight:700}.seat-api-settings input:not([type=checkbox]){border:1px solid #d9e1eb;border-radius:8px;padding:12px;color:#17263d;min-height:44px;font:inherit}.seat-api-form .seat-api-check{display:flex;align-items:center;min-height:43px}.seat-api-check input{width:18px;height:18px;accent-color:#0a947e}.seat-api-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.seat-api-client{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0;border-top:1px solid #edf0f5}.seat-api-client p{margin:8px 0}.seat-api-client code{font-size:12px;overflow-wrap:anywhere}.seat-api-tag{margin-left:12px;background:#edf1f6;color:#617087;border-radius:6px;padding:4px 7px;font-size:11px}.seat-api-tag.active{background:#e4f5ee;color:#08785e}.seat-api-secret{margin-top:20px;padding:20px;background:#effaf6;border:1px solid #bee6d5;border-radius:12px}.seat-api-secret h3{font-size:16px}.seat-api-secret label{display:grid;gap:7px;font-size:12px;margin-bottom:12px}.seat-api-secret input{width:100%;font-family:monospace!important;font-size:12px!important}.seat-api-error,.seat-api-notice{padding:12px 16px;border-radius:9px;background:#fff0ed;color:#9b3723!important}.seat-api-notice{background:#eaf7f1;color:#087358!important}.seat-api-table{overflow:auto;max-height:380px;margin:18px 0}.seat-api-table table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.seat-api-table th{position:sticky;top:0;background:#f2f6fa;padding:12px}.seat-api-table td{padding:11px 12px;border-bottom:1px solid #edf0f5}.seat-api-table td button{border:0;color:#536981;background:none;cursor:pointer;padding:6px;vertical-align:middle}.seat-api-table td code{overflow-wrap:anywhere;font-size:12px}.seat-api-settings a:focus-visible,.seat-api-settings button:focus-visible{outline:3px solid #60c9b8;outline-offset:2px}@media(max-width:760px){.seat-api-card{padding:18px}.seat-api-client,.seat-api-copy,.seat-api-title{align-items:flex-start;flex-direction:column}.seat-api-form{align-items:stretch;flex-direction:column;gap:10px}.seat-api-form input:not([type=checkbox]){width:100%}.seat-api-table td,.seat-api-table th{padding:10px 6px}}.message-templates-page{max-width:1240px;margin:0 auto;color:var(--ink,#24334a)}.message-templates-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 25px}.message-templates-heading h1{display:flex;align-items:center;gap:11px;font-size:var(--font-title,28px);margin:8px 0}.message-templates-heading p{font-size:var(--font-body,14px);color:#68788f;margin:10px 0;line-height:1.7}.mt-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 15px;border:1px solid #d4dfea;background:white;border-radius:9px;font:inherit;font-size:var(--font-body,14px);color:#36506e;cursor:pointer;white-space:nowrap}.mt-button.mt-save{background:#294f8f;border-color:#294f8f;color:white;font-weight:700}.message-templates-page button:disabled{opacity:.5;cursor:not-allowed}.message-templates-page :focus-visible{outline:3px solid #9cbde9;outline-offset:2px}.message-templates-layout{display:grid;grid-template-columns:192px minmax(0,1fr);gap:20px;align-items:start}.mt-list{border:1px solid #dee5ee;background:white;border-radius:14px;padding:16px 10px}.mt-list-caption{display:block;padding:0 12px 10px;font-size:var(--font-caption,12px);font-weight:700;color:#8592a4}.mt-operation-label{border-top:1px solid #e6ecf2;margin-top:12px;padding-top:17px}.mt-list button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;padding:12px;border-radius:8px;background:transparent;color:#51657f;text-align:left;font:inherit;font-size:var(--font-body,14px);cursor:pointer}.mt-list button[aria-current]{background:#edf3fc;color:#254f91;font-weight:750}.mt-list button:hover{background:#f1f5fa}.mt-list i{display:inline-block;width:6px;height:6px;background:#dc9431;border-radius:50%;margin-left:7px;vertical-align:middle}.mt-editor{border:1px solid #dce4ee;border-radius:15px;background:white;padding:25px;min-width:0}.mt-editor>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.mt-editor h2{font-size:var(--font-section,21px);margin:0 0 8px}.mt-editor>header p{font-size:var(--font-caption,12px);color:#78869a;margin:0}.mt-variants{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}.mt-variants button{padding:9px 12px;border:1px solid #dbe4ee;border-radius:8px;background:#fff;color:#526a88;font:inherit;font-size:var(--font-caption,12px);cursor:pointer}.mt-variants button[aria-pressed=true]{background:#edf3ff;border-color:#7e9ec9;color:#254c84;font-weight:700}.mt-edit-grid{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:25px}.mt-writing{min-width:0}.mt-writing>label{display:block;font-size:var(--font-body,14px);font-weight:700;margin-bottom:10px}.mt-writing textarea{width:100%;box-sizing:border-box;border:1px solid #b9cce1;border-radius:10px;padding:14px;min-height:205px;resize:vertical;font:inherit;font-size:var(--font-body,14px);line-height:1.8;color:#24364e;background:#fff;scroll-margin-bottom:120px}.mt-hint{font-size:var(--font-caption,12px);color:#738399;line-height:1.7;margin:12px 0 8px}.mt-tokens{display:flex;flex-wrap:wrap;gap:6px}.mt-tokens button{border:1px solid #dce6f2;border-radius:6px;padding:6px 9px;background:#f4f7fc;color:#41628c;font:inherit;font-size:var(--font-caption,12px);cursor:pointer}.mt-preview{background:#f4f6fa;border:1px solid #e4eaf1;border-radius:12px;padding:17px;min-width:0}.mt-preview-label{display:block;font-size:var(--font-body,14px);font-weight:700}.mt-preview-example{display:block;font-size:var(--font-caption,12px);color:#8391a4;margin-top:6px}.mt-message-bubble{background:white;border:1px solid #e2e8f0;border-radius:2px 13px 13px 13px;padding:16px;margin:20px 0 16px;font-size:var(--font-body,14px);line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.mt-preview>p{line-height:1.8;color:#8090a4;margin-bottom:0}.message-size,.mt-preview>p{font-size:var(--font-caption,12px)}.message-size{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;line-height:1.5}.message-size b{padding:4px 8px;border-radius:6px;font-weight:700;white-space:nowrap}.message-size.sms b{background:#e9f5ef;color:#25714e}.message-size.lms b{background:#fff2dc;color:#92611a}.message-size.over b{background:#fee7e7;color:#ab3636}.message-size>span{color:#728198;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.mt-editor>header .message-size{justify-content:flex-end}.mt-length-guide{display:flex;gap:13px;flex-wrap:wrap;align-items:center;background:#f7f9fc;border-radius:8px;padding:12px 14px;margin:20px 0;font-size:var(--font-caption,12px);color:#5a708c}.mt-length-guide small{font-size:inherit;color:#8390a2}.mt-editor footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e8edf3;padding-top:19px}.mt-bottom-note{font-size:var(--font-caption,12px);line-height:1.7;color:#8290a2;margin:16px 0 0}.mt-error{background:#fff0ee;color:#a44235;border-radius:8px;padding:12px 14px;line-height:1.7;font-size:var(--font-body,14px)}.mt-error button{margin-left:12px;border:1px solid #ddb1a9;border-radius:6px;padding:6px 9px;color:inherit;background:white;cursor:pointer}.mt-notice{display:flex;align-items:center;gap:7px;border-radius:8px;padding:12px 14px;background:#edf7ef;color:#286a47;font-size:var(--font-body,14px)}@media(max-width:1000px){.message-templates-layout{grid-template-columns:155px minmax(0,1fr);gap:14px}.mt-editor{padding:19px}.mt-edit-grid{grid-template-columns:1fr;gap:18px}.mt-message-bubble{margin:12px 0}.mt-preview{padding:15px}}@media(max-width:600px){.message-templates-heading{align-items:flex-start;gap:10px}.message-templates-heading h1{font-size:23px}.message-templates-heading>.mt-button{padding:9px;font-size:12px}.message-templates-layout{grid-template-columns:1fr}.mt-list{display:flex;overflow-x:auto;gap:4px;padding:9px}.mt-list-caption{display:none}.mt-list>div{flex:none}.mt-list button{white-space:nowrap;padding:10px}.mt-list svg{display:none}.mt-editor{padding:16px}.mt-editor>header{align-items:flex-start}.mt-editor footer{position:sticky;bottom:0;background:#fff;padding:12px 0;margin-top:12px}.mt-editor footer button{padding:11px;font-size:13px}.mt-length-guide{gap:7px 13px}}.student-profile-dialog{width:min(580px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:0;margin:auto;border:1px solid #d5deec;border-radius:16px;background:white;color:#213955;box-shadow:0 22px 80px #09234b33;overflow:auto}.student-profile-dialog::backdrop{background:#12253d77}.student-profile-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #e2e8f1}.student-profile-dialog h2{margin:6px 0 0;font-size:var(--font-section)}.student-profile-dialog header small{color:var(--muted);font-size:var(--font-caption)}.student-profile-dialog header button{border:0;background:#f1f4f9;border-radius:8px;color:#516986;padding:8px;cursor:pointer}.student-profile-dialog .student-profile-form{padding:20px 22px}.student-profile-form fieldset{margin:0;padding:0;border:0;min-width:0}.student-profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.student-profile-fields label{display:flex;flex-direction:column;gap:7px;font-size:var(--font-caption);font-weight:650;color:#566b85;min-width:0}.student-profile-fields input,.student-profile-fields select{min-width:0;width:100%;padding:11px;border:1px solid #cbd7e6;border-radius:8px;background:white;color:#20334f;font:inherit;font-size:var(--font-body)}.student-profile-fields .student-profile-wide{grid-column:1/-1}.student-profile-fields small{font-size:var(--font-caption);font-weight:400;line-height:1.6;color:#718197}.student-profile-grade select{border-color:#7896c8;background:#f4f7ff}.student-profile-change{margin:14px 0 0;padding:11px 13px;border-radius:9px;background:#edf4ff;font-size:var(--font-caption);line-height:1.7;color:#2e568c}.student-profile-change span{display:block;margin-top:5px}.student-profile-error{padding:12px;border-radius:8px;background:#fff0ee;color:#a63e35;font-size:var(--font-caption);line-height:1.6}.student-profile-form footer{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}.student-profile-form footer button{display:inline-flex;gap:6px;align-items:center;justify-content:center;padding:11px 14px;border:1px solid #ccd8e9;border-radius:9px;background:white;color:#345171;font-size:var(--font-body);cursor:pointer}.student-profile-form footer .student-profile-save{order:2;background:#2e56a2;border-color:#2e56a2;color:white}.student-profile-form button:disabled,.student-profile-form select:disabled{opacity:.55;cursor:default}.student-profile-fields input:focus-visible,.student-profile-fields select:focus-visible,.student-profile-form button:focus-visible{outline:2px solid #6081c2;outline-offset:2px}.list-profile-link{display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:5px 8px;border:1px solid #c6d6ed;border-radius:6px;background:#edf3ff;color:#28599c;font-size:var(--font-caption);cursor:pointer}.seat-profile-shortcut{display:flex;justify-content:flex-end;margin:8px 0 12px}.seat-profile-shortcut button{display:flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #c6d6ed;border-radius:8px;background:#edf3ff;color:#28599c;font-size:var(--font-caption);font-weight:650;cursor:pointer}@media(max-width:480px){.student-profile-dialog .student-profile-form,.student-profile-dialog>header{padding:16px}.student-profile-fields{gap:10px}.student-profile-form footer button{flex:1 1}}.center-timetable-dialog{width:min(900px,calc(100vw - 28px));max-height:90dvh;border:1px solid #dce4ef;border-radius:18px;padding:24px;color:#24334a;box-shadow:0 24px 90px #14213b33;overflow:auto}.center-timetable-dialog::backdrop{background:#14213b70}.center-timetable-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.center-timetable-dialog header button{border:0;background:#f1f5f9;padding:9px;border-radius:10px}.center-timetable-dialog h2{display:flex;align-items:center;gap:9px;margin:4px 0;font-size:23px}.timetable-eyebrow{font-size:12px;font-weight:700;color:#2d64a2}.timetable-intro{color:#63738a;font-size:14px;line-height:1.7}.timetable-current{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;padding:13px 16px;background:#f1f5fa;border-radius:10px;font-size:13px;margin:18px 0}.timetable-current>span:first-child{font-weight:700;color:#2d64a2}.timetable-editor{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:26px}.timetable-controls label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:13px}.timetable-fields,.timetable-meal-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.timetable-controls input,.timetable-controls select{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #cdd8e5;background:white;border-radius:8px;padding:9px;color:#23344d;font:inherit}.timetable-input-unit{position:relative}.timetable-input-unit input{padding-right:38px}.timetable-input-unit span{position:absolute;right:12px;top:12px;color:#708097;font-size:12px;pointer-events:none}.timetable-date>svg{display:none}.timetable-date small,.timetable-help{font-size:12px;line-height:1.7;color:#6a788c;font-weight:400}.timetable-default{background:#f4f7fb;border:1px solid #d9e3ef;border-radius:8px;padding:11px;width:100%;font-size:12px;color:#32567f}.timetable-preview{background:#f7f9fc;border:1px solid #e1e7f0;border-radius:12px;padding:16px;min-width:0}.timetable-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.timetable-preview h3,.timetable-upcoming h3{font-size:14px;margin:0}.timetable-preview-head>span{font-size:12px;color:#6a788c}.timetable-totals{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:14px 0;font-size:12px;color:#61738d}.timetable-totals strong{font-size:17px;color:#1d4d82}.timetable-preview ol{list-style:none;padding:0;margin:0;max-height:365px;overflow:auto;scrollbar-width:thin}.timetable-segment{display:grid;grid-template-columns:55px 1fr 38px;gap:6px;align-items:center;margin:5px 0;padding:9px 11px;background:white;border:1px solid #e4eaf2;border-radius:7px;font-size:12px}.timetable-segment small{text-align:right;color:#738097}.timetable-segment.break{background:none;border-color:transparent;padding-top:3px;padding-bottom:3px;color:#8490a0;font-size:11px}.timetable-segment.meal{background:#fff6e6;border-color:#f4dfb6;color:#886120}.timetable-upcoming{padding-top:18px;margin-top:18px;border-top:1px solid #e1e7f0}.timetable-upcoming>div{display:flex;align-items:center;gap:8px;padding:10px 0;font-size:12px}.timetable-upcoming>div>span{flex:1 1}.timetable-upcoming b{display:block;margin-bottom:3px}.timetable-error button,.timetable-upcoming button{border:1px solid #d8e1ed;border-radius:7px;background:white;padding:7px 10px;font-size:12px}.timetable-error{background:#fff1f1;color:#ab3b3b;padding:12px;border-radius:8px;line-height:1.65;font-size:13px}.timetable-error button{margin:6px}.center-timetable-dialog footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #e1e7f0}.center-timetable-dialog footer p{flex:1 1;font-size:12px;line-height:1.65;color:#63738a}.center-timetable-dialog footer button{display:flex;align-items:center;gap:7px;padding:11px 15px;border:1px solid #d6e0ec;border-radius:9px;background:white;white-space:nowrap}.center-timetable-dialog footer .timetable-save{background:#285f9f;color:white;border-color:#285f9f;font-weight:700}.center-timetable-dialog button:disabled{opacity:.55;cursor:not-allowed}.center-timetable-dialog :focus-visible{outline:3px solid #8db6e4;outline-offset:2px}.timetable-sheet-note{color:#60758d;font-size:12px;margin:10px 0 16px}.timetable-sheet-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap}@media(max-width:650px){.center-timetable-dialog{padding:18px}.timetable-editor{grid-template-columns:1fr;gap:16px}.center-timetable-dialog footer{flex-wrap:wrap}.center-timetable-dialog footer p{flex-basis:100%;margin:0}.timetable-preview ol{max-height:280px}.center-timetable-dialog h2{font-size:20px}}.timetable-reset-notice{margin-top:18px;padding:14px;border:1px solid #f0cb8c;border-radius:10px;background:#fff8eb;color:#824b16;font-size:12px;line-height:1.7}.timetable-reset-notice strong{display:block;font-size:13px}.timetable-reset-notice p{margin:6px 0 0}