.self-attendance-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2fr);gap:22px;margin-top:18px}
.self-attendance-layout .card{margin-bottom:20px}
.self-attendance-layout h2{font-size:21px;margin:0 0 12px}
.self-attendance-layout h3{font-size:18px;margin:0 0 18px}
.self-attendance-avatar{width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:#e3eee8;color:#235e46;font-size:28px;font-weight:700;margin:0 auto 16px}
.self-attendance-detail{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--border,#e6e4db)}
.self-attendance-detail>span{color:var(--text-3,#687d73)}
.self-attendance-detail>strong{text-align:right;overflow-wrap:anywhere}
.self-attendance-camera{position:relative;width:100%;min-height:300px;aspect-ratio:4/3;max-height:460px;background:#111815;border-radius:12px;overflow:hidden;display:grid;place-items:center}
.self-attendance-camera video,.self-attendance-camera img{width:100%;height:100%;max-height:460px;object-fit:contain;transform:scaleX(-1)}
.self-attendance-camera-empty{color:#fff;text-align:center;padding:24px;max-width:420px}
.self-attendance-camera-empty p{color:#c5d4cd;line-height:1.6}
.self-attendance-face-guide{position:absolute;pointer-events:none;inset:14% 30%;border:2px dashed #c9e9d9;border-radius:50%;opacity:.7}
.self-attendance-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.self-attendance-submit{width:100%;justify-content:center;min-height:48px}
@media(max-width:800px){.self-attendance-layout{grid-template-columns:1fr;gap:0}.self-attendance-camera{min-height:220px}.self-attendance-layout .card{padding:18px}}

.self-attendance-camera video{grid-area:1/1}
.self-attendance-camera-empty{grid-area:1/1;z-index:1}
.self-attendance-camera img{position:absolute;inset:0}
.self-attendance-error{color:#a12626;background:#fff0f0;padding:12px;border-radius:8px;overflow-wrap:anywhere}
