.irish-cabinet {
  background: #f7f8fa;
  color: #11141c;
  font-family: var(--font-body, Arial, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}
.irish-cabinet *, .irish-cabinet *::before, .irish-cabinet *::after { box-sizing: border-box; }
.irish-cabinet [hidden] { display: none !important; }
.irish-cabinet button, .irish-cabinet input, .irish-cabinet select { font: inherit; letter-spacing: 0; }
.irish-cabinet button, .irish-cabinet a, .irish-cabinet input, .irish-cabinet select { -webkit-tap-highlight-color: transparent; }
.irish-cabinet button { cursor: pointer; }
.irish-cabinet button:disabled { cursor: wait; opacity: .6; }
.irish-cabinet :focus-visible { outline: 3px solid #4657ff; outline-offset: 3px; }
.irish-cabinet a { color: #4657ff; }
.ij-skip { position: fixed; top: -80px; z-index: 10; padding: 12px; background: white; }
.ij-skip:focus { top: 10px; }
.ij-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 16px max(24px, calc((100% - 1280px) / 2)); background: #11141c; color: white; }
.ij-brand { color: white !important; font-family: var(--font-display, Arial, sans-serif); font-size: 13px; font-weight: 700; line-height: 1.15; text-decoration: none; }
.ij-account { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ij-account > span { max-width: 230px; overflow-wrap: anywhere; }
.ij-account a { color: white; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.ij-main { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 64px; }
.ij-main h1 { margin: 0; font-size: 27px; font-family: var(--font-display, Arial, sans-serif); font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.ij-main h2 { margin: 0 0 16px; font-size: 19px; line-height: 1.35; }
.ij-nav { display: flex; gap: 24px; margin-bottom: 28px; border-bottom: 1px solid #d8dce4; }
.ij-nav button { padding: 12px 0; color: #626978; background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 650; white-space: nowrap; }
.ij-nav button[aria-current="page"] { color: #4657ff; border-bottom-color: #4657ff; }
.ij-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ij-actions, .ij-date, .ij-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ij-button, .ij-primary, .ij-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #cbd0da; border-radius: 6px; background: white; color: #11141c; text-decoration: none; font-weight: 600; }
.ij-primary { background: #4657ff; color: white; border-color: #4657ff; }
.ij-icon { width: 44px; height: 44px; padding: 0; flex: 0 0 44px; }
.ij-button:hover, .ij-icon:hover { background: #eef0f5; }
.ij-primary:hover { background: #3041ed; }
.ij-search-toggle { display: none; }
.ij-danger { color: #ab3434; }
.ij-main label, #ij-dialog label { display: grid; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; }
.ij-main input:not([type="checkbox"]), .ij-main select, #ij-dialog input:not([type="checkbox"]), #ij-dialog select { min-width: 0; width: 100%; height: 46px; border: 1px solid #cbd0da; border-radius: 6px; background: white; color: #11141c; padding: 9px 12px; font-size: 16px; }
.ij-date label { width: 178px; }
.ij-date input { width: 178px !important; }
.ij-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; padding: 20px 0; border-top: 1px solid #d8dce4; border-bottom: 1px solid #d8dce4; margin-bottom: 24px; }
.ij-toolbar > label { flex: 1 1 280px; }
.ij-toolbar > label.ij-search { flex: 0 1 280px; }
.ij-lesson-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 18px; }
.ij-lesson-title p { margin: 3px 0 0; color: #626978; }
.ij-summary { display: flex; flex-wrap: wrap; gap: 0; margin: 20px 0; border-block: 1px solid #d8dce4; background: #fff; }
.ij-summary > div { flex: 1 1 130px; padding: 15px 20px; border-right: 1px solid #e2e5ec; }
.ij-summary > div:last-child { border-right: 0; }
.ij-summary strong { display: block; font-size: 26px; line-height: 1.2; font-weight: 750; }
.ij-summary span { color: #626978; font-size: 13px; }
.ij-roster { border-top: 1px solid #d8dce4; background: white; }
.ij-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 150px; align-items: center; gap: 20px; min-height: 84px; padding: 16px 20px; border-bottom: 1px solid #e2e5ec; }
.ij-student-name { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.ij-meta { font-size: 13px; color: #626978; }
.ij-remaining { text-align: right; }
.ij-remaining strong { font-size: 21px; }
.ij-marks { display: flex; gap: 6px; justify-content: end; }
.ij-marks button { position: relative; }
.ij-marks .ij-icon[aria-pressed="true"][data-status="present"] { background: #ddf3e7; border-color: #2d7858; color: #206a4a; }
.ij-marks .ij-icon[aria-pressed="true"][data-status="absent"] { background: #fae7e5; border-color: #c5756d; color: #9c4035; }
.ij-marks .ij-icon[aria-pressed="true"][data-status="unmarked"] { background: #eef0f5; border-color: #8a93a2; }
.ij-warning { color: #9a4f15; font-size: 13px; font-weight: 600; }
.ij-status { min-height: 24px; margin-bottom: 8px; color: #206a4a; font-size: 14px; }
.ij-status.is-error, .ij-error { color: #a22e2e; }
.ij-empty { padding: 28px 0; color: #626978; }
.ij-empty a { display: inline-block; margin-left: 8px; }
.ij-workspace { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 28px; align-items: start; }
.ij-students { border-right: 1px solid #d8dce4; padding-right: 24px; max-height: calc(100dvh - 220px); overflow-y: auto; position: sticky; top: 24px; }
.ij-students > input { margin-bottom: 12px; }
.ij-student-select { width: 100%; display: block; padding: 12px; border: 0; border-bottom: 1px solid #e2e5ec; background: transparent; text-align: left; border-radius: 4px; font-weight: 600; }
.ij-student-select[aria-current="true"] { color: #4657ff; background: #e9ebff; }
.ij-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d8dce4; }
.ij-pass { display: flex; gap: 14px; justify-content: space-between; align-items: start; padding: 16px 0; border-bottom: 1px solid #e2e5ec; }
.ij-pass strong { display: block; overflow-wrap: anywhere; }
.ij-pass.is-closed { color: #737986; }
.ij-pass-count { white-space: nowrap; font-size: 20px; font-weight: 750; }
.ij-history { width: 100%; border-collapse: collapse; font-size: 14px; }
.ij-history th, .ij-history td { padding: 14px 10px; border-bottom: 1px solid #e2e5ec; text-align: left; vertical-align: top; }
.ij-history th { font-size: 12px; color: #626978; font-weight: 650; }
.ij-history td:first-child, .ij-history th:first-child { padding-left: 0; }
.ij-history .ij-meta { display: block; }
.ij-tag { display: inline-block; padding: 3px 8px; background: #eef0f5; color: #626978; border-radius: 4px; font-size: 12px; font-weight: 650; }
.ij-tag.present { color: #206a4a; background: #ddf3e7; }
.ij-tag.absent { color: #9c4035; background: #fae7e5; }
.ij-access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ij-trainer { padding-top: 20px; border-top: 3px solid #4657ff; }
.ij-trainer form, .ij-login form, #ij-dialog form { display: grid; gap: 18px; }
.ij-checkbox { display: flex !important; align-items: start; gap: 10px !important; font-weight: 500 !important; }
.ij-checkbox input { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #4657ff; }
.ij-checks { display: grid; gap: 12px; }
.ij-login { max-width: 400px; margin: 64px auto; }
.ij-login h1 { margin-bottom: 28px; }
.ij-login .ij-error { margin: 0 0 20px; }
#ij-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid #d8dce4; border-radius: 8px; background: white; color: #11141c; padding: 24px; font-family: var(--font-body, Arial, sans-serif); }
#ij-dialog::backdrop { background: rgba(17, 20, 28, .55); }
.ij-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ij-dialog-heading h2 { margin: 0; font-size: 20px; font-weight: 700; }
.ij-dialog-error { margin: 0; color: #a22e2e; font-size: 14px; }
.ij-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ij-checkbox-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.ij-checkbox-group legend { font-weight: 700; padding: 0 0 12px; }
.ij-audit { margin: 0; padding-left: 18px; color: #626978; font-size: 13px; }
.ij-audit li { padding: 5px 0; }
@media (max-width: 900px) {
  .ij-access { grid-template-columns: 1fr; }
  .ij-workspace { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 650px) {
  .ij-header { padding: 12px 18px; min-height: 68px; }
  .ij-account > span { max-width: 180px; font-size: 13px; }
  .ij-main { width: calc(100% - 32px); padding-top: 16px; }
  .ij-main h1 { font-size: 23px; }
  .ij-nav { gap: 22px; margin-bottom: 22px; }
  .ij-nav button { font-size: 14px; }
  .ij-heading { align-items: start; }
  .ij-date { gap: 8px; }
  .ij-date label { width: 160px; }
  .ij-date input { width: 160px !important; }
  .ij-toolbar > label, .ij-toolbar > label.ij-search { flex-basis: 100%; }
  .ij-toolbar { padding-block: 16px; margin-bottom: 20px; }
  .ij-toolbar > .ij-search:not(.is-open) { display: none; }
  .ij-search-toggle { display: inline-flex; }
  .ij-new-lesson { width: 44px; height: 44px; padding: 0; }
  .ij-new-lesson > span:not(.dashicons) { display: none; }
  .ij-lesson-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .ij-lesson-title h2 { display: none; }
  .ij-lesson-title p { font-size: 13px; }
  .ij-summary > div { flex-basis: 33%; min-width: 0; padding: 12px; }
  .ij-summary strong { font-size: 24px; }
  .ij-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px; }
  .ij-row > div:first-child { grid-column: 1 / -1; }
  .ij-remaining { text-align: left; }
  .ij-marks { align-self: end; }
  .ij-workspace { display: block; }
  .ij-students { padding: 0 0 20px; margin-bottom: 24px; border-right: 0; border-bottom: 1px solid #d8dce4; max-height: 270px; overflow-y: auto; position: static; }
  .ij-student-select { min-height: 44px; }
  .ij-history th, .ij-history td { padding: 12px 6px; font-size: 13px; }
  .ij-history th:nth-child(2), .ij-history td:nth-child(2) { display: none; }
  .ij-login { margin-top: 36px; }
  #ij-dialog { padding: 20px; }
}
