/* Parent enrollment shares the tutorial check-in page's cards and site tokens. */
.te [hidden] { display: none !important; }
.te-skip { position: absolute; left: 1rem; top: -6rem; z-index: 10000; padding: .8rem; background: #fff; color: #352074; }
.te-skip:focus { top: 1rem; }
.te-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1rem; font-size: .9rem; }
.te .te-intro { margin: .25rem 0 1.5rem; }
.te .tsi-fieldset legend { font-size: 1.05rem; margin-bottom: .6rem; }
.te-sessions { display: grid; gap: .6rem; margin: .7rem 0 1.1rem; }
.te-session { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem; border: 1px solid var(--line-strong, #cbd2e1); border-radius: 12px; cursor: pointer; background: var(--paper, #fbfbfd); }
.te-session:has(input:checked) { border-color: var(--accent, #5b3fd6); background: rgba(91, 63, 214, .06); }
.te-check input, .te-session input { appearance: auto; width: 20px; height: 20px; flex: 0 0 20px; margin-top: .15rem; accent-color: var(--accent, #5b3fd6); }
.te-session strong, .te-session small { display: block; }
.te-session small { color: var(--ink-2, #3a4463); font-size: .9rem; margin-top: .2rem; }
.te-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(125px, .65fr); gap: .85rem; }
.te .tsi-field select { width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1px solid var(--line-strong, #cbd2e1); border-radius: 10px; background: #fff; color: var(--ink, #1c2437); font: inherit; }
.te select:focus-visible, .te input:focus-visible, .te summary:focus-visible, .te a:focus-visible { outline: 3px solid var(--accent, #5b3fd6); outline-offset: 3px; }
.te-step { padding-top: .5rem; }
.te-optional { margin-bottom: 1rem; }
.te-optional summary { cursor: pointer; min-height: 44px; padding: .5rem 0; font-weight: 500; }
.te-optional .tsi-field { margin-top: .5rem; }
.te-notice { padding: 1rem; border-radius: 12px; background: var(--paper, #fbfbfd); border: 1px solid var(--line, #e3e6ef); }
.light-band .te-notice p { margin: 0 0 .8rem; font-size: .9rem; color: var(--ink-2, #3a4463); }
.te-check { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; font-size: .9rem; }
.te .te-access-note { margin: .8rem 0 1rem; }
.te-next { margin: 1rem 0; padding-left: 1.25rem; }
.te-next li { margin: .7rem 0; padding-left: .2rem; color: var(--ink-2, #3a4463); }
.te #te-invite-intro { font-size: .95rem; margin: .7rem 0; }
.te #te-auth-controls > .tsi-btn, .te #te-claim { width: 100%; }
.te .te-or { margin: .85rem 0; color: var(--muted, #5d6679); font-size: .85rem; text-align: center; }
.te .te-code-field { margin-top: 1rem; }
.te-account-message { margin: 1rem 0 0; padding: .8rem; border-radius: 10px; background: #eef0f6; color: #2b3450; font-size: .9rem; overflow-wrap: anywhere; }
.te-account-message[data-error="true"] { background: rgba(192, 71, 59, .1); color: #8e3128; }
.te-account-email { overflow-wrap: anywhere; margin: .75rem 0; }
.te #te-mine { border-top: 1px solid var(--line, #e3e6ef); padding-top: 1rem; margin-top: 1rem; }
.te #te-mine h3 { font-weight: 700; }
.te-enrollment { border-bottom: 1px solid var(--line, #e3e6ef); padding: .9rem 0; margin-bottom: .9rem; }
.te-enrollment h4 { font-weight: 600; margin: 0 0 .35rem; overflow-wrap: anywhere; }
.te .te-enrollment p { margin: .4rem 0; font-size: .9rem; }
.te-summary { padding-left: 1.2rem; margin: 1rem 0; color: var(--ink-2, #3a4463); }
.te-summary li { margin: .55rem 0; }
.te #te-success h2 { font-size: 1.6rem; margin-top: .5rem; }
.te #te-success p { margin: .8rem 0; }
.te #te-success .tsi-btn { margin: .5rem .5rem 0 0; }
@media (max-width: 520px) { .te-fields { grid-template-columns: 1fr; gap: 0; } .te #te-submit { width: 100%; } }

.te-invitation .tsi-grid { display: flex; flex-direction: column; align-items: stretch; max-width: 720px; }
.te-invitation .tsi-side { order: 0; }
.te-invitation .tsi-main { order: 1; }
.te-session:has(input:disabled) { cursor: default; background: #f1f2f6; }
.te-session:has(input:disabled) small { color: var(--muted, #5d6679); }

.te-cancel-confirm { padding: .8rem; border: 1px solid var(--line-strong, #cbd2e1); border-radius: 10px; background: var(--paper, #fbfbfd); }
.te-cancel-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
