.training-workspace .training-tabs{gap:8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#edf3f5;padding:5px;border:1px solid #dce5ea;border-radius:9px;margin:18px 0}
.training-workspace .training-tabs button{min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:6px;font-size:13px;color:#405966}
.training-workspace .training-tabs button[aria-pressed=true]{background:#173e51;color:#fff;border-color:#173e51}
.training-workspace .training-detail{border-top:0;margin-top:10px;padding-top:0}
.training-workspace .training-back{margin:0 0 14px;min-height:40px;color:#195a65;font-weight:600}
.training-workspace .training-overview{grid-template-columns:minmax(0,1fr);padding:20px;background:#fff;border:1px solid #dce5ea;border-radius:9px;gap:16px}
.training-workspace .training-overview .training-facts{grid-template-columns:90px minmax(0,1fr) 90px minmax(0,1fr);padding-bottom:16px;border-bottom:1px solid #e3eaee}
.training-workspace .training-receipt-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:20px;align-items:start}
.training-workspace .training-section-card{min-width:0;border:1px solid #dce5ea;border-radius:9px;background:#fff;padding:20px}
.training-workspace .training-section-card>h3{font-size:15px;color:#173e51;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #e4ebef}
.training-workspace .training-receipt-grid .training-qr-panel{border:1px solid #dce5ea;border-radius:9px;background:#f5faf9;padding:20px}
.training-workspace .training-actions button,.training-workspace .training-file-button{min-height:40px;font-size:13px;font-weight:600}
.training-workspace .training-actions>button:first-child{background:#173e51;color:#fff;border-color:#173e51}
.training-workspace button:disabled{opacity:1;background:#eef1f3;color:#87939c;border-color:#dce2e6;cursor:not-allowed}
.training-workspace .training-editor-page{margin-top:12px}
.training-workspace .training-inline-editor{position:static;width:100%;max-width:none;height:auto;max-height:none;overflow:visible;padding:0;background:transparent;box-shadow:none}
.training-workspace .training-inline-editor>header{position:static;background:transparent;padding:0 0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.training-workspace .training-inline-editor>header h2{font-size:22px;margin:4px 0}
.training-workspace .training-inline-editor>header p{margin:0;color:#6b7f8c}
.training-workspace .training-inline-editor .training-editor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;padding:0;margin:0;border:0;align-items:start}
.training-workspace .training-inline-editor label{font-size:13px;display:flex;flex-direction:column;gap:7px;margin-bottom:14px}
.training-workspace .training-inline-editor input:not([type=checkbox]),.training-workspace .training-inline-editor select,.training-workspace .training-inline-editor textarea{width:100%;font-size:13px;min-height:42px}
.training-workspace .training-inline-editor label.training-check{flex-direction:row;align-items:flex-start;line-height:1.6}
.training-workspace .training-inline-editor .training-form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.training-workspace .training-inline-editor .training-hq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none;overflow:visible;padding:12px;border:1px solid #dce5ea;border-radius:7px;margin:0 0 16px}
.training-workspace .training-inline-editor .training-hq label{flex-direction:row;align-items:center;gap:8px;margin:0;min-height:32px;overflow-wrap:anywhere}
.training-workspace .training-inline-editor .training-hq legend{font-size:13px;padding:0 4px}
.training-workspace .training-inline-editor .training-publication{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 24px}
.training-workspace .training-inline-editor .training-publication>h3,.training-workspace .training-inline-editor .training-publication>p,.training-workspace .training-inline-editor .training-publication>.training-publication-preview{grid-column:1/-1;margin-top:0}
.training-workspace .training-inline-editor footer{position:sticky;bottom:0;z-index:2;background:#fff;border:1px solid #dce5ea;border-radius:9px;box-shadow:0 -3px 12px #173e5110;padding:12px 18px;margin-top:18px;display:flex;justify-content:flex-end;gap:10px}
.training-workspace .training-inline-editor footer button{min-height:44px;min-width:96px;font-size:14px;font-weight:600}
.training-workspace .training-inline-editor footer button.training-primary{background:#173e51;color:white;border-color:#173e51}
.training-workspace .training-inline-editor footer button:disabled{background:#eef1f3;color:#87939c;border-color:#dce2e6}
.training-workspace .training-checkin-open{font-size:14px;min-height:44px}
.training-workspace .training-editor-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.training-workspace .training-inline-editor [hidden]{display:none!important}
.training-workspace .training-inline-editor .training-editor-grid{grid-template-columns:minmax(0,1fr)}
.training-workspace .training-inline-editor .training-editor-basic,.training-workspace .training-inline-editor .training-editor-receipt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.training-workspace .training-inline-editor .training-editor-basic>h3,.training-workspace .training-inline-editor .training-editor-receipt>h3,.training-workspace .training-inline-editor .training-editor-basic>.training-form-pair,.training-workspace .training-inline-editor .training-editor-receipt>.training-form-pair,.training-workspace .training-inline-editor .training-editor-basic>label:last-child,.training-workspace .training-inline-editor .training-editor-receipt>p{grid-column:1/-1}
.training-workspace .training-inline-editor label:has([data-publication-confirmation]){background:#edf7f4;border:1px solid #8bbbae;border-radius:7px;padding:14px;font-weight:600;color:#195e54;min-height:48px}
.training-workspace .training-receipt-grid>.training-publication{margin:0;border:1px solid #dce5ea;border-radius:9px;padding:20px;background:#f5faf9;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.training-workspace .training-receipt-grid>.training-publication>h3,.training-workspace .training-receipt-grid>.training-publication>p,.training-workspace .training-receipt-grid>.training-publication>.training-actions{flex-basis:100%;margin:0}
.training-workspace .training-receipt-grid>.training-publication .training-actions{gap:10px;align-items:center}
.training-workspace .training-receipt-grid>.training-publication a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #173e51;border-radius:6px;background:#173e51;color:#fff;text-decoration:none;font-size:14px;font-weight:600}
.training-workspace .training-receipt-grid>.training-publication button{min-height:40px;font-size:13px}
.training-workspace .training-editor-top-actions{display:flex;gap:10px;align-items:center}
.training-workspace .training-editor-top-actions button{min-height:44px;font-size:14px;font-weight:600}
.training-workspace:has(.training-inline-editor)>.training-connection{display:none}
@media(max-width:760px){
 .training-workspace .training-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .training-workspace .training-tabs button{padding:10px 7px}
 .training-workspace .training-receipt-grid,.training-workspace .training-inline-editor .training-editor-grid,.training-workspace .training-inline-editor .training-form-pair,.training-workspace .training-inline-editor .training-publication{grid-template-columns:minmax(0,1fr)}
 .training-workspace .training-overview .training-facts{grid-template-columns:80px minmax(0,1fr)}
 .training-workspace .training-section-card,.training-workspace .training-overview{padding:16px}
 .training-workspace .training-detail-title{align-items:flex-start;flex-wrap:wrap}
 .training-workspace .training-inline-editor footer{position:static;padding:12px;justify-content:stretch}
 .training-workspace .training-inline-editor footer button{flex:1}
 .training-workspace .training-inline-editor .training-editor-basic,.training-workspace .training-inline-editor .training-editor-receipt{grid-template-columns:minmax(0,1fr)}
 .training-workspace .training-editor-tabs{grid-template-columns:minmax(0,1fr)}
 .training-workspace .training-inline-editor footer{flex-wrap:wrap}
 .training-workspace .training-inline-editor footer .training-confirm-link{flex-basis:100%}
}

/* Report screen styles only; print styles remain in the unchanged report renderer. */
@media screen {

.education-result-document{--report-ink:#172b4d;--report-rule:#cbd5e1;color:var(--report-ink);background:#fff;box-sizing:border-box;font:14px/1.6 "Malgun Gothic","Apple SD Gothic Neo",sans-serif;max-width:1100px;margin:20px auto;border:1px solid var(--report-rule);padding:32px 36px;box-shadow:0 4px 16px #152b4b0a}
.education-result-document *{box-sizing:border-box}.education-result-document .report-header{border-bottom:3px solid #203b64;padding-bottom:18px;margin-bottom:24px}.education-result-document .report-eyebrow{font-size:12px;letter-spacing:.12em;margin:0 0 6px;color:#526580}.education-result-document h1{font-size:27px;letter-spacing:.06em;margin:0}.education-result-document .report-title{font-size:19px;font-weight:700;margin:7px 0 0;overflow-wrap:anywhere}.education-result-document .report-section{margin:24px 0}.education-result-document h2{font-size:17px;border-bottom:1px solid #9baec5;padding:0 0 7px;margin:0 0 12px;break-after:avoid}.education-result-document h3{font-size:14px;margin:16px 0 8px;break-after:avoid}.education-result-document p{margin:6px 0}.education-result-document .report-note{font-size:12px;color:#526077;line-height:1.65}.education-result-document .report-body-text{white-space:pre-wrap;overflow-wrap:anywhere}.education-result-document .report-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px}.education-result-document .report-field{display:block;min-width:0;padding:11px 12px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:3px}.education-result-document .report-field-title{display:block;font-size:13px;font-weight:700;margin:0 0 7px}.education-result-document .report-field textarea{display:block;width:100%;min-height:72px;max-width:100%;resize:vertical;border:1px solid #a5b4c7;border-radius:3px;padding:9px;font:inherit;color:#172b4d;background:#fff}.education-result-document .report-field textarea:disabled{opacity:1;color:#334155;background:#f8fafc}.education-result-document .report-field textarea:focus-visible{outline:2px solid #285ca1;outline-offset:2px}.education-result-document .report-wide{grid-column:1/-1}.education-result-document .report-table-wrap{overflow-x:auto;margin:10px 0}.education-result-document table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.education-result-document caption{text-align:left;font-size:13px;font-weight:700;margin-bottom:7px}.education-result-document th,.education-result-document td{border:1px solid var(--report-rule);padding:9px 10px;vertical-align:top;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.education-result-document th{background:#eef3f8;font-weight:700}.education-result-document .report-facts th{width:18%}.education-result-document .report-number{text-align:right;font-variant-numeric:tabular-nums}.education-result-document .report-total th,.education-result-document .report-total td{background:#e7eef8;font-weight:700;border-top:2px solid #7087a5}.education-result-document .report-summary th{width:64%}.education-result-document .report-receipts{text-align:center}.education-result-document .report-receipts td,.education-result-document .report-receipts th{text-align:center}.education-result-document .report-expenses{min-width:690px}.education-result-document .report-expenses th:nth-child(1){width:15%}.education-result-document .report-expenses th:nth-child(2){width:16%}.education-result-document .report-expenses th:nth-child(3){width:21%}.education-result-document .report-expenses th:nth-child(4){width:17%}.education-result-document .report-expenses th:nth-child(5){width:31%}.education-result-document .report-footer{border-top:1px solid var(--report-rule);margin-top:28px;padding-top:10px;font-size:12px;color:#526077}.education-report-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:1100px;margin:16px auto}.education-report-feedback{max-width:1100px;margin:8px auto}.education-result-document .report-balance{font-weight:600}
@media(max-width:720px){.education-result-document{padding:20px 16px}.education-result-document .report-grid{grid-template-columns:minmax(0,1fr)}.education-result-document h1{font-size:23px}.education-result-document .report-facts th{width:26%}.education-result-document th,.education-result-document td{padding:7px}}
.education-result-document .report-plan{border:1px solid #9baec5;background:#f3f7fc;padding:14px 16px;margin:12px 0}.education-result-document .report-plan-total{font-size:22px;font-weight:700;margin:0 0 4px}.education-result-document .report-status-note{font-size:11px;color:#526077;font-weight:400;display:block;line-height:1.55;margin-top:3px}.education-result-document .report-attendance-summary th:first-child{width:25%}.education-result-document .report-attendance-summary th:last-child{width:30%}.education-result-document .report-attendance-summary td{font-variant-numeric:tabular-nums}.education-result-document .report-attendance-detail th:nth-child(1){width:18%}.education-result-document .report-attendance-detail th:nth-child(2){width:17%}.education-result-document .report-attendance-detail th:nth-child(3){width:20%}.education-result-document .report-attendance-person{margin:22px 0}.education-result-document .report-attendance-person h3{border-bottom:1px solid #cbd5e1;padding-bottom:6px}.education-result-document .report-attendance-unavailable{padding:12px;border-left:3px solid #9baec5;background:#f7f9fc}.education-result-document .report-attendance-status-review,.education-result-document .report-attendance-status-pending{font-weight:700;color:#714b16}

}

/* Screen-only report summary tables: retain labels and keyboard-accessible internal scrolling. */
@media screen {
.education-result-document .report-attendance-scroll{max-width:100%;overflow-x:auto}
.education-result-document .report-attendance-scroll:focus-visible{outline:2px solid #285ca1;outline-offset:2px}
.education-result-document .report-attendance-compact{display:table;width:100%;min-width:720px;table-layout:fixed}
.education-result-document .report-attendance-compact caption{display:table-caption}
.education-result-document .report-attendance-compact thead{display:table-header-group}
.education-result-document .report-attendance-compact tbody{display:table-row-group;width:auto}
.education-result-document .report-attendance-compact tr{display:table-row;padding:0}
.education-result-document .report-attendance-compact th,.education-result-document .report-attendance-compact td{display:table-cell}
.education-result-document .report-attendance-compact td::before{display:none;content:none}
}

/* Attendance list only. Screen layout does not alter reports or print rules. */
@media screen {
  .training-workspace .newcomer-memo-panel .training-table-wrap {display:block!important;min-width:0;max-width:100%;overflow-x:auto!important;}
  .training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table {display:table!important;table-layout:fixed!important;}
  .training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table thead {display:table-header-group!important;visibility:visible!important;}
  .training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table tbody {display:table-row-group!important;visibility:visible!important;}
  .training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table tr {display:table-row!important;visibility:visible!important;}
  .training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table th,.training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table td {display:table-cell!important;visibility:visible!important;position:static!important;grid-column:auto!important;grid-row:auto!important;}
  .training-workspace .newcomer-memo-panel .training-table-wrap .roster-priority-table td::before {display:none!important;}
  .newcomer-memo-panel .roster-priority-table {table-layout:fixed;min-width:860px;width:100%;}
  .newcomer-memo-panel .roster-priority-table th,.newcomer-memo-panel .roster-priority-table td {box-sizing:border-box;vertical-align:middle;text-align:center;display:table-cell!important;}
  .newcomer-memo-panel .roster-priority-table tbody td {padding-top:6px;padding-bottom:6px;}
  .newcomer-memo-panel .roster-priority-table .roster-number {width:56px;text-align:center;white-space:nowrap;}
  .newcomer-memo-panel .roster-priority-table .roster-name {width:110px;overflow-wrap:anywhere;}
  .newcomer-memo-panel .roster-priority-table .roster-date {width:118px;white-space:nowrap;text-align:center;}
  .newcomer-memo-panel .roster-priority-table .roster-time {width:112px;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums;}
  .newcomer-memo-panel .roster-priority-table .roster-state {width:92px;text-align:center;white-space:nowrap;}
  .newcomer-memo-panel .roster-priority-table .roster-confirm {width:88px;text-align:center;}
  .newcomer-memo-panel .roster-priority-table .roster-note {min-width:260px;}
  .newcomer-memo-panel .roster-priority-table textarea {box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:38px;min-height:38px;padding:6px 8px;resize:vertical;overflow-y:auto;text-align:center;}
  .newcomer-memo-panel .roster-priority-table details {white-space:normal;overflow-wrap:anywhere;}
  .newcomer-memo-panel .roster-priority-table .roster-confirm button {white-space:nowrap;min-height:36px;}
  .training-workspace .growth-receipt-workflow .training-actions > .growth-receipt-next {margin:0 0 0 auto;align-self:flex-start;}
}
