.teacher-note-laptop {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #e8eef9;
    font: inherit;
    gap: 8px;
}

.teacher-note-laptop *,
.teacher-note-laptop *::before,
.teacher-note-laptop *::after {
    box-sizing: border-box;
}

.teacher-note-laptop__trigger {
    position: relative;
    display: grid;
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    white-space: nowrap;
}

.teacher-note-laptop__trigger svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.teacher-note-laptop__trigger:focus-visible {
    outline: 2px solid rgba(112, 199, 255, .9);
    outline-offset: 2px;
}

.teacher-note-laptop__flyout {
    position: fixed;
    z-index: 10040;
    width: min(240px, calc(100vw - 32px));
    min-height: 72px;
    padding: 12px;
    border: 1px solid rgba(132, 186, 255, .34);
    border-radius: 12px;
    background: rgba(12, 19, 31, .98);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .36);
}

.teacher-note-laptop__qr {
    display: grid;
    place-items: center;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
}

.teacher-note-laptop__qr svg {
    display: block;
    width: min(192px, 100%);
    height: auto;
}

.teacher-note-laptop__qr-status,
.teacher-note-laptop__qr-error {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.teacher-note-laptop__qr-status {
    color: rgba(232, 238, 249, .72);
}

.teacher-note-laptop__qr-error {
    color: #ffb4b4;
}

.teacher-note-laptop__copy-action {
    position: relative;
    display: grid;
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    animation: teacher-note-laptop-copy-pulse 1.9s ease-in-out infinite;
}

.teacher-note-laptop__copy-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.teacher-note-laptop__copy-action--loading {
    cursor: wait;
    opacity: .72;
}

.teacher-note-laptop__copy-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    place-items: center;
    border: 2px solid #0c131f;
    border-radius: 999px;
    background: #70c7ff;
    color: #08111e;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.teacher-note-laptop__copy-status {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@keyframes teacher-note-laptop-copy-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(112, 199, 255, 0);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(112, 199, 255, .24);
    }
}

@media (prefers-reduced-motion: reduce) {
    .teacher-note-laptop__copy-action {
        animation: none;
    }
}
