/* TempEDU Instructor Cards 0.2.0. All component styles are scoped to .teic. */
.teic {
  --teic-ink: #192e46;
  --teic-muted: #526173;
  --teic-orange: #ad411a;
  --teic-orange-hover: #883115;
  --teic-warm: #fff4e9;
  --teic-paper: #ffffff;
  --teic-canvas: #faf8f4;
  --teic-line: #dcdedc;
  --teic-focus: #1955a6;
  --teic-radius: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1160px;
  margin: 32px auto;
  padding: clamp(16px, 3vw, 36px);
  color: var(--teic-ink);
  background: var(--teic-canvas);
  border-radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-align: start;
  overflow-wrap: anywhere;
  color-scheme: light;
}
.teic *, .teic *::before, .teic *::after { box-sizing: inherit; }
.teic [hidden] { display: none !important; }
.teic h1, .teic h2, .teic h3, .teic h4, .teic p, .teic ul, .teic ol, .teic figure { margin: 0; }
.teic h1, .teic h2, .teic h3, .teic h4 { color: var(--teic-ink); font-family: inherit; line-height: 1.35; font-weight: 750; letter-spacing: -.02em; text-transform: none; }
.teic h1 { font-size: clamp(30px, 4vw, 48px); }
.teic h2 { font-size: clamp(23px, 3vw, 30px); }
.teic h3 { font-size: 21px; }
.teic h4 { font-size: 18px; }
.teic p + p { margin-top: 12px; }
.teic a { color: var(--teic-orange); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.teic a:hover { color: var(--teic-orange-hover); }
.teic :where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--teic-focus); outline-offset: 4px; }
.teic button, .teic input, .teic textarea, .teic select { font: inherit; }
.teic img { display: block; max-width: 100%; height: auto; }
.teic .teic-eyebrow { color: var(--teic-orange); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.teic .teic-intro { margin: 0 0 28px; max-width: 720px; }
.teic .teic-intro h1, .teic .teic-intro h2 { margin: 6px 0 12px; }
.teic .teic-lead { color: var(--teic-muted); font-size: 18px; line-height: 1.85; }
.teic .teic-muted, .teic .teic-meta { color: var(--teic-muted); }
.teic .teic-meta { font-size: 14px; }
.teic .teic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); gap: 24px; align-items: stretch; }
.teic .teic-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--teic-paper); border: 1px solid var(--teic-line); border-radius: var(--teic-radius); box-shadow: 0 6px 20px rgb(25 46 70 / 4%); }
.teic .teic-card-top { display: flex; gap: 18px; align-items: center; padding: 26px 24px 22px; background: var(--teic-warm); border-top: 5px solid #e3a372; }
.teic .teic-card-top h2, .teic .teic-card-top h3 { font-size: 24px; margin-bottom: 5px; }
.teic .teic-card-body { display: flex; flex: 1; flex-direction: column; gap: 18px; padding: 24px; }
.teic .teic-card-body > .teic-actions:last-child { margin-top: auto; padding-top: 6px; }
.teic .teic-card-footer { margin-top: auto; padding: 18px 24px; border-top: 1px solid var(--teic-line); }
.teic .teic-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 92px; height: 92px; overflow: hidden; border: 4px solid var(--teic-paper); border-radius: 50%; background: #ebddcb; color: var(--teic-ink); font-weight: 800; font-size: 30px; box-shadow: 0 3px 12px rgb(25 46 70 / 8%); object-fit: cover; }
.teic .teic-avatar img { width: 100%; height: 100%; object-fit: cover; }
.teic .teic-avatar--large { width: 132px; height: 132px; font-size: 42px; }
.teic .teic-avatar--small { width: 56px; height: 56px; border-width: 2px; font-size: 20px; }
.teic .teic-hero { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 32px; align-items: center; overflow: hidden; padding: clamp(22px, 4vw, 42px); border: 1px solid #e9d6c4; border-top: 6px solid #d98646; border-radius: var(--teic-radius); background: var(--teic-warm); }
.teic .teic-identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.teic .teic-identity-text { flex: 1; min-width: 0; }
.teic .teic-identity h1, .teic .teic-identity h2 { margin: 5px 0 8px; }
.teic .teic-title { color: var(--teic-muted); font-size: 17px; line-height: 1.7; }
.teic .teic-tagline { margin-top: 22px; font-size: 18px; line-height: 1.85; }
.teic .teic-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.teic .teic-chips li, .teic .teic-chip { display: inline-flex; align-items: center; width: fit-content; padding: 5px 12px; border: 1px solid #e4cfb9; border-radius: 999px; color: #733411; background: #fff8ef; font-size: 14px; font-weight: 650; line-height: 1.6; }
.teic .teic-hero .teic-chips { margin-top: 20px; }
.teic .teic-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; background: var(--teic-paper); border: 1px solid #e9d6c4; border-radius: 16px; text-align: center; }
.teic .teic-qr img, .teic .teic-qr svg { display: block; width: 156px; max-width: 100%; height: auto; aspect-ratio: 1; background: white; }
.teic .teic-qr figcaption { color: var(--teic-muted); font-size: 13px; line-height: 1.7; }
.teic .teic-qr strong { display: block; color: var(--teic-ink); font-size: 15px; }
.teic .teic-canonical { font-size: 13px; word-break: break-all; }
.teic .teic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.teic .teic-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; }
.teic .teic-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; margin: 0; padding: 10px 18px; border: 1px solid var(--teic-orange); border-radius: 9px; background: var(--teic-orange); color: white; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; transition: background-color .16s ease, border-color .16s ease; }
.teic .teic-button:hover { background: var(--teic-orange-hover); border-color: var(--teic-orange-hover); color: white; text-decoration: none; }
.teic .teic-button--secondary { color: var(--teic-ink); background: white; border-color: #a4adb5; }
.teic .teic-button--secondary:hover { color: var(--teic-ink); background: #eff2f4; border-color: var(--teic-ink); }
.teic .teic-button--quiet { color: var(--teic-orange); background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.teic .teic-button--quiet:hover { color: var(--teic-orange-hover); background: var(--teic-warm); border-color: transparent; }
.teic .teic-button--danger { color: #8f2424; background: white; border-color: #b57777; }
.teic .teic-button--danger:hover { color: white; background: #8f2424; border-color: #8f2424; }
.teic .teic-button:disabled, .teic .teic-button[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.teic .teic-button svg { flex: 0 0 18px; width: 18px; height: 18px; }
.teic .teic-feedback { min-height: 1.7em; color: #286141; font-size: 14px; }
.teic .teic-feedback[data-tone="error"] { color: #9b2929; }
.teic .teic-section { margin-top: 28px; padding: clamp(22px, 3vw, 32px); background: var(--teic-paper); border: 1px solid var(--teic-line); border-radius: var(--teic-radius); }
.teic .teic-section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--teic-line); }
.teic .teic-section > :where(h2, h3) { margin-bottom: 16px; }
.teic .teic-profile-body { min-width: 0; }
.teic .teic-profile-body > .teic-actions { margin-top: 28px; }
.teic .teic-share-url { margin-top: 18px; color: var(--teic-muted); font-size: 14px; }
.teic .teic-card-body .teic-section { margin: 0; padding: 0; border: 0; border-radius: 0; }
.teic .teic-card-body .teic-section > h3 { font-size: 16px; margin-bottom: 10px; }
.teic .teic-card-body .teic-bio { color: var(--teic-muted); font-size: 15px; line-height: 1.8; }
.teic .teic-card-top .teic-identity { gap: 16px; }
.teic .teic-card-top h2 a { color: var(--teic-ink); text-decoration: none; }
.teic .teic-card-top h2 a:hover { color: var(--teic-orange); text-decoration: underline; }
.teic .teic-bio { max-width: 76ch; line-height: 1.95; }
.teic .teic-bio :where(ul, ol) { margin: 12px 0; padding-inline-start: 24px; }
.teic .teic-bio :where(h2, h3, h4) { margin: 24px 0 12px; }
.teic .teic-bio a { font-weight: 650; }
.teic .teic-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; padding: 0; list-style: none; }
.teic .teic-section .teic-meta + .teic-courses { margin-top: 20px; }
.teic ul.teic-courses > li:not(.teic-course) { display: flex; margin: 0; padding: 0; border: 1px solid var(--teic-line); border-radius: 12px; background: #fffcf8; }
.teic ul.teic-courses > li:not(.teic-course) > a { display: flex; align-items: center; width: 100%; min-height: 100px; padding: 22px; color: var(--teic-ink); font-size: 18px; font-weight: 700; }
.teic ul.teic-courses > li:not(.teic-course) > a:hover { color: var(--teic-orange); background: var(--teic-warm); border-radius: 12px; }
.teic .teic-course { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--teic-line); border-radius: 14px; background: white; }
.teic .teic-course-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #eee7dc; }
.teic .teic-course-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
.teic .teic-course-body h3 { font-size: 20px; }
.teic .teic-course-body > :last-child { margin-top: auto; }
.teic .teic-course-category { color: var(--teic-orange); font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.teic .teic-contact { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; list-style: none; }
.teic .teic-empty { padding: 28px; color: var(--teic-muted); background: #f6f7f8; border: 1px dashed #aeb6bc; border-radius: 12px; text-align: center; }
.teic .teic-status { display: flex; align-items: flex-start; gap: 14px; margin: 20px 0; padding: 18px 20px; background: #f1f5fa; border: 1px solid #becce0; border-inline-start: 4px solid #43648c; border-radius: 12px; color: #294666; }
.teic .teic-status > svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; }
.teic .teic-status h2, .teic .teic-status h3, .teic .teic-status strong { color: inherit; }
.teic .teic-status p + p { margin-top: 6px; }
.teic .teic-status--success { color: #205435; background: #eef7f0; border-color: #aed1b9; border-inline-start-color: #32764d; }
.teic .teic-status--pending, .teic .teic-status--warning { color: #694610; background: #fff8e8; border-color: #dbc69a; border-inline-start-color: #9e6b18; }
.teic .teic-status--error { color: #862828; background: #fff2f1; border-color: #dfb7b3; border-inline-start-color: #b44b43; }
.teic .teic-badge { display: inline-block; width: fit-content; padding: 3px 10px; border: 1px solid #d1d7de; border-radius: 999px; color: #45556a; background: #f1f4f7; font-size: 12px; font-weight: 750; }
.teic .teic-badge--published { color: #205435; border-color: #aed1b9; background: #eef7f0; }
.teic .teic-badge--pending { color: #694610; border-color: #dbc69a; background: #fff8e8; }
.teic .teic-badge--rejected { color: #862828; border-color: #dfb7b3; background: #fff2f1; }
.teic .teic-form { margin-top: 20px; }
.teic .teic-form fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.teic .teic-form legend { width: 100%; margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--teic-line); font-size: 21px; font-weight: 750; }
.teic .teic-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.teic .teic-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; margin-bottom: 20px; }
.teic .teic-form-grid .teic-field { margin-bottom: 0; }
.teic .teic-field--full { grid-column: 1 / -1; }
.teic .teic-field > label { color: var(--teic-ink); font-size: 15px; font-weight: 750; }
.teic .teic-required { color: #9b2929; font-size: 13px; font-weight: 600; }
.teic .teic-field :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select) { display: block; width: 100%; min-height: 46px; max-width: 100%; margin: 0; padding: 11px 13px; border: 1px solid #8d9aa6; border-radius: 8px; background: white; color: var(--teic-ink); box-shadow: none; line-height: 1.6; }
.teic .teic-field textarea { min-height: 144px; resize: vertical; }
.teic .teic-field textarea.teic-textarea--short { min-height: 96px; }
.teic .teic-field :where(input, textarea)::placeholder { color: #657385; opacity: 1; }
.teic .teic-field :where(input, textarea, select)[readonly] { background: #f1f3f5; color: #536174; }
.teic .teic-field :where(input, textarea, select)[aria-invalid="true"] { border: 2px solid #ad3939; }
.teic .teic-help { color: var(--teic-muted); font-size: 13px; line-height: 1.7; }
.teic .teic-error { color: #9b2929; font-size: 14px; }
.teic .teic-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-size: 15px; cursor: pointer; }
.teic .teic-check input { flex-shrink: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--teic-orange); }
.teic .teic-form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--teic-line); }
.teic .teic-review { margin-top: 20px; padding: 24px; border: 1px solid var(--teic-line); border-radius: 14px; background: white; }
.teic .teic-review-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.teic .teic-review-summary h3 { font-size: 21px; }
.teic .teic-review details { margin-top: 18px; }
.teic .teic-review summary { padding: 10px 0; color: var(--teic-orange); font-weight: 700; cursor: pointer; }
.teic .teic-review details[open] > summary { margin-bottom: 10px; }
.teic .teic-review-data { display: grid; grid-template-columns: minmax(100px, 160px) minmax(0, 1fr); margin: 0; }
.teic .teic-review-data dt, .teic .teic-review-data dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--teic-line); }
.teic .teic-review-data dt { padding-inline-end: 16px; font-weight: 700; }
.teic .teic-review-data dd { white-space: pre-wrap; }
.teic .teic-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.teic .teic-pagination :where(a, span) { display: inline-grid; min-width: 44px; min-height: 44px; padding: 8px 13px; place-items: center; border: 1px solid #a4adb5; border-radius: 8px; background: white; }
.teic .teic-pagination [aria-current="page"] { color: white; background: var(--teic-ink); border-color: var(--teic-ink); }
.teic .teic-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.teic .teic-copy-buffer { position: fixed; top: 0; inset-inline-start: -9999px; width: 2px; height: 2px; }
/* Compatibility aliases for the plugin's server-rendered shell. */
.teic .teic-container, .teic .teic-profile { width: 100%; min-width: 0; margin: 0 auto; }
.teic .teic-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.teic .teic-tag { display: inline-flex; align-items: center; width: fit-content; padding: 5px 12px; border: 1px solid #e4cfb9; border-radius: 999px; color: #733411; background: #fff8ef; font-size: 14px; font-weight: 650; line-height: 1.6; }
.teic .teic-notice { margin: 20px 0; padding: 18px 20px; background: #f1f5fa; border: 1px solid #becce0; border-inline-start: 4px solid #43648c; border-radius: 12px; color: #294666; }
.teic .teic-notice--success { color: #205435; background: #eef7f0; border-color: #aed1b9; border-inline-start-color: #32764d; }
.teic .teic-notice--pending, .teic .teic-notice--warning { color: #694610; background: #fff8e8; border-color: #dbc69a; border-inline-start-color: #9e6b18; }
.teic .teic-notice--error { color: #862828; background: #fff2f1; border-color: #dfb7b3; border-inline-start-color: #b44b43; }
.teic .teic-input, .teic .teic-textarea { display: block; width: 100%; min-height: 46px; max-width: 100%; margin: 0; padding: 11px 13px; border: 1px solid #8d9aa6; border-radius: 8px; background: white; color: var(--teic-ink); box-shadow: none; line-height: 1.6; }
.teic .teic-textarea { min-height: 144px; resize: vertical; }
.teic .teic-form fieldset.teic-photo-editor { margin: 32px 0; padding: 26px; border: 1px solid var(--teic-line); border-radius: 16px; background: #fffcf8; }
.teic .teic-form fieldset.teic-photo-editor > legend { width: auto; padding: 0 8px; border: 0; margin: 0; }
.teic .teic-photo-steps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 24px; padding-inline-start: 24px; color: var(--teic-orange); font-size: 14px; font-weight: 750; }
.teic .teic-photo-steps li { padding-inline-start: 3px; }
.teic .teic-photo-comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 22px; margin: 22px 0; align-items: start; }
.teic .teic-photo-preview { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--teic-line); border-radius: 12px; background: white; }
.teic .teic-photo-preview > img { display: block; width: 100%; max-width: 280px; height: auto; aspect-ratio: 1; margin: 0 auto; border-radius: 8px; object-fit: contain; background: #f3f4f5; }
.teic .teic-photo-preview--draft { border: 2px solid #c98250; }
.teic .teic-photo-preview figcaption { margin-top: 12px; color: var(--teic-ink); font-size: 14px; font-weight: 750; text-align: center; }
.teic .teic-photo-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; width: 100%; max-width: 280px; aspect-ratio: 1; margin: 0 auto; padding: 18px; border-radius: 8px; color: var(--teic-muted); background: #f3f4f5; text-align: center; }
.teic .teic-photo-placeholder > span { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; color: var(--teic-ink); background: #e7ddce; font-size: 30px; font-weight: 750; }
.teic .teic-photo-placeholder > p { font-size: 14px; }
.teic .teic-photo-confirm { margin: 20px 0; padding: 16px 18px; background: #eef5f0; border: 1px solid #b9d4c0; border-radius: 10px; }
.teic .teic-photo-confirm .teic-check { margin-top: 0; }
.teic .teic-photo-quota { margin: 24px 0 4px; font-size: 15px; }
.teic .teic-form fieldset.teic-photo-options { margin: 24px 0 0; }
.teic .teic-form fieldset.teic-photo-options > legend { font-size: 17px; }
.teic .teic-photo-options > .teic-check { margin: 20px 0; padding: 12px 14px; border: 1px solid #e1ddd5; border-radius: 10px; background: white; }
.teic .teic-photo-options input[type="radio"] { accent-color: var(--teic-orange); }
.teic .teic-photo-upload { margin: 0 0 24px 36px; }
.teic .teic-photo-upload input[type="file"] { display: block; width: 100%; min-width: 0; padding: 12px; border: 1px dashed #8d9aa6; background: white; color: var(--teic-ink); font-size: 14px; }
.teic .teic-photo-upload input[type="file"]::file-selector-button { min-height: 40px; margin-inline-end: 12px; padding: 8px 14px; border: 1px solid #a4adb5; border-radius: 6px; background: #f1f3f5; color: var(--teic-ink); font: inherit; cursor: pointer; }
.teic .teic-form fieldset.teic-photo-library { margin: 0 0 24px 36px; }
.teic .teic-form fieldset.teic-photo-library > legend { font-size: 15px; }
.teic .teic-photo-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 14px; }
.teic .teic-photo-choice { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--teic-line); border-radius: 10px; background: white; cursor: pointer; }
.teic .teic-photo-choice:has(input:checked) { outline: 2px solid var(--teic-orange); outline-offset: 1px; }
.teic .teic-photo-choice:focus-within { outline: 3px solid var(--teic-focus); outline-offset: 3px; }
.teic .teic-photo-choice img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 6px; background: #f3f4f5; }
.teic .teic-photo-choice > span { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; }
.teic .teic-photo-choice input { width: 20px; height: 20px; margin: 0; }
.teic .teic-photo-review .teic-photo-comparison { max-width: 740px; }
@media (max-width: 760px) {
  .teic { margin: 20px auto; border-radius: 16px; }
  .teic .teic-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .teic .teic-qr { flex-direction: row; justify-content: center; text-align: start; }
  .teic .teic-qr img, .teic .teic-qr svg { width: 112px; flex: 0 0 112px; }
  .teic .teic-avatar--large { width: 104px; height: 104px; font-size: 36px; }
  .teic .teic-form-grid { grid-template-columns: minmax(0, 1fr); }
  .teic .teic-form-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
  .teic { padding: 14px; }
  .teic .teic-hero { padding: 22px 18px; }
  .teic .teic-identity { align-items: flex-start; flex-direction: column; gap: 15px; }
  .teic .teic-card-top { padding: 22px 18px; gap: 14px; }
  .teic .teic-card-body, .teic .teic-card-footer { padding: 20px 18px; }
  .teic .teic-section, .teic .teic-review { padding: 22px 18px; }
  .teic .teic-form fieldset.teic-photo-editor { padding: 18px 14px; }
  .teic .teic-photo-upload, .teic .teic-form fieldset.teic-photo-library { margin-inline-start: 0; }
  .teic .teic-photo-comparison { gap: 14px; }
  .teic .teic-avatar { width: 76px; height: 76px; }
  .teic .teic-avatar--large { width: 104px; height: 104px; }
  .teic .teic-actions { align-items: stretch; }
  .teic .teic-actions > .teic-button { flex: 1 1 auto; }
  .teic .teic-review-data { grid-template-columns: minmax(0, 1fr); }
  .teic .teic-review-data dt { padding-bottom: 0; border-bottom: 0; }
  .teic .teic-review-data dd { padding-top: 5px; }
}
@media (prefers-reduced-motion: reduce) { .teic *, .teic *::before, .teic *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (forced-colors: active) {
  .teic .teic-button, .teic .teic-chip, .teic .teic-chips li, .teic .teic-status, .teic .teic-card, .teic .teic-section { border: 1px solid ButtonText; }
  .teic .teic-qr img, .teic .teic-qr svg { forced-color-adjust: none; }
}
@media print {
  .teic { max-width: none; margin: 0; padding: 0; background: white; color: #111; font-size: 11pt; box-shadow: none; }
  .teic .teic-no-print, .teic .teic-toolbar, .teic .teic-form, .teic .teic-review, .teic .teic-feedback, .teic .teic-pagination, .teic [data-teic-copy], .teic [data-teic-print] { display: none !important; }
  .teic .teic-hero { grid-template-columns: minmax(0, 1fr) 170px; padding: 22px; gap: 20px; border-color: #aaa; background: white; break-inside: avoid; }
  .teic .teic-identity { flex-direction: row; align-items: center; }
  .teic .teic-avatar--large { width: 90px; height: 90px; }
  .teic .teic-qr { flex-direction: column; padding: 10px; border-color: #aaa; text-align: center; }
  .teic .teic-qr img, .teic .teic-qr svg { width: 128px; max-width: 128px; flex-basis: auto; }
  .teic .teic-section { padding: 22px 0; margin-top: 14px; border: 0; border-top: 1px solid #aaa; border-radius: 0; }
  .teic .teic-card, .teic .teic-course { break-inside: avoid; box-shadow: none; }
  .teic a { color: #111; }
  .teic .teic-chips li { border-color: #aaa; background: white; color: #111; }
  .teic h1 { font-size: 26pt; }
  .teic h2 { font-size: 18pt; }
  .teic h3 { font-size: 15pt; }
}
