.ar-editor{width:min(1120px,96vw);max-width:96vw;max-height:94dvh;margin:auto;padding:0;border:1px solid #b9d2df;border-radius:16px;color:#16364c;background:#fff;box-sizing:border-box;font:14px Tahoma,Arial,sans-serif;overflow:auto}.ar-editor *{box-sizing:border-box;min-width:0}.ar-editor::backdrop{background:#102e46aa}.ar-editor header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px;background:#eff7fb;border-bottom:1px solid #d2e3ed}.ar-editor h2{margin:7px 0;font-size:23px}.ar-editor header small{letter-spacing:1.4px;color:#53728a;font-size:10px}.ar-editor header p{margin:10px 0 0;display:flex;gap:20px;flex-wrap:wrap}.ar-editor button{font:inherit;cursor:pointer;border:1px solid #bfd4e2;border-radius:8px;background:#f6faff;color:#184968;padding:10px 14px;white-space:normal}.ar-editor button:hover:not(:disabled){background:#e7f5f3;border-color:#0f766e}.ar-editor button:disabled{opacity:.5;cursor:default}.ar-editor :focus-visible{outline:3px solid #38a2cc;outline-offset:2px}.ar-editor header button{font-size:24px;line-height:1;padding:8px 12px}.ar-content{padding:20px 24px}.ar-case{display:flex;gap:12px 24px;flex-wrap:wrap;background:#fff8e7;border:1px solid #f0d38b;border-radius:9px;padding:14px;line-height:1.7}.ar-case strong{color:#914500}.ar-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0}.ar-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.ar-editor h3{font-size:16px;margin:8px 0 14px}.ar-records{display:grid;gap:8px;margin-bottom:22px}.ar-record{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;background:#f7fafc;border:1px solid #d7e4ed;border-radius:9px;overflow-wrap:anywhere}.ar-record>div{display:flex;gap:5px 12px;flex-wrap:wrap;align-items:center}.ar-record strong{font-size:18px;color:#16364c}.ar-record small{width:100%;font-size:11px;color:#597085;line-height:1.5}.ar-record b{font-size:12px;color:#0f766e}.ar-record button{flex-shrink:0;max-width:130px}.ar-excluded{background:#fff4ee;border-color:#e9baa4}.ar-excluded b{color:#a33e12}.ar-edit-pane{border:1px solid #c8dce7;border-radius:12px;padding:18px;position:sticky;top:0;background:#fff}.ar-edit-pane label{display:flex;flex-direction:column;gap:8px;font-weight:700;line-height:1.6;margin:14px 0}.ar-editor input:not([type=checkbox]),.ar-editor select,.ar-editor textarea{font:inherit;color:inherit;width:100%;border:1px solid #bfd4e2;border-radius:7px;background:#fff;padding:10px;min-height:44px}.ar-editor textarea{resize:vertical}.ar-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ar-edit-pane .ar-exclude{flex-direction:row;align-items:start;font-size:12px;background:#fff7eb;border-radius:7px;padding:10px}.ar-exclude input{flex-shrink:0;width:18px;height:18px;margin-top:2px}.ar-editor .ar-save{background:#0f766e;color:white;border-color:#0f766e;font-weight:bold;width:100%;min-height:46px}.ar-editor .ar-save:hover:not(:disabled){background:#0d645d}.ar-empty{line-height:1.9;color:#60778b;padding:12px}.ar-warning,.ar-message{background:#fff8e7;border:1px solid #e6ca7e;border-radius:8px;padding:12px;line-height:1.8}.ar-status{white-space:pre-wrap}.ar-footnote,.ar-original-note{font-size:12px;line-height:1.8;color:#586f80}.ar-footnote{border-top:1px solid #d7e4ed;padding-top:13px}.attendance-review-table td:last-child button{white-space:normal;line-height:1.5;min-width:74px}.attendance-review-table th:last-child,.attendance-review-table td:last-child{width:100px}
@media(max-width:760px){.ar-editor header,.ar-content{padding:16px}.ar-editor h2{font-size:19px}.ar-columns{grid-template-columns:1fr}.ar-edit-pane{position:static;order:-1}.ar-toolbar button{flex:1 1 130px}.ar-record{padding:10px}.ar-record button{padding:8px;font-size:12px}}
@media(max-width:380px){.ar-fields{grid-template-columns:1fr}.ar-editor header p{gap:8px}.ar-content{padding:12px}}
@media print{.ar-editor{display:none!important}}

.ar-record{flex-wrap:wrap}.ar-record-actions{display:flex;gap:6px;flex-wrap:wrap}.ar-editor .ar-delete,.ar-editor .ar-delete-confirm{color:#b42318;background:#fff3f1;border-color:#efb3aa}.ar-editor .ar-delete-confirm{background:#b42318;color:#fff}.ar-delete-shortcut{width:100%;margin-top:10px}.ar-deleted-history{border:1px solid #e6d0cc;border-radius:8px;padding:12px;line-height:1.6;margin:12px 0;color:#735451}.ar-deleted-history summary{cursor:pointer;font-weight:bold}.ar-deleted-history article{border-top:1px solid #e7d9d6;margin-top:10px;padding-top:10px;overflow-wrap:anywhere}.ar-deleted-history p{margin:4px 0}.ar-deleted-history small{font-size:10px}@media(max-width:760px){.ar-record-actions{flex-basis:100%;justify-content:flex-end}}

.ar-editor .ar-delete-confirm:hover:not(:disabled){background:#981f16;color:#fff;border-color:#981f16}
