@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --sh-ink: #17322d;
  --sh-muted: #6f827d;
  --sh-line: #e3ebe8;
  --sh-soft: #f5f8f7;
  --sh-white: #fff;
  --sh-green: #14745e;
  --sh-green-deep: #0d5847;
  --sh-green-soft: #e5f4ee;
  --sh-gold: #e5aa45;
  --sh-danger: #c64e5b;
  --sh-shadow: 0 12px 35px rgba(30, 67, 58, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f4f7f6; }
body { margin: 0; min-height: 100vh; color: var(--sh-ink); background: #f4f7f6; font: 14px/1.55 "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }

.sh-app { min-height: 100vh; }
.sh-sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 270px; display: flex; flex-direction: column; padding: 24px 18px; color: #ecfbf6; background: linear-gradient(175deg, #123d34 0%, #0d5847 58%, #14745e 100%); overflow-y: auto; }
.sh-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.sh-brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(0,0,0,.15)); }
.sh-brand span { display: grid; gap: 1px; }
.sh-brand strong { font: 800 17px/1.2 Manrope, sans-serif; }
.sh-brand small { color: rgba(255,255,255,.64); font-size: 11px; }
.sh-role-card { display: grid; gap: 3px; margin: 22px 4px; padding: 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); }
.sh-role-card span, .sh-role-card small { color: rgba(255,255,255,.68); font-size: 11px; }
.sh-role-card strong { font: 700 14px Manrope, sans-serif; }
.sh-nav { display: grid; gap: 7px; }
.sh-nav-title { margin: 5px 12px 7px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.sh-nav a { position: relative; display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px; color: rgba(255,255,255,.76); font-weight: 600; transition: .2s ease; }
.sh-nav a i { width: 19px; text-align: center; }
.sh-nav a:hover, .sh-nav a.active { color: #fff; background: rgba(255,255,255,.13); transform: translateX(2px); }
.sh-nav a.active:before { content: ""; position: absolute; left: -6px; width: 3px; height: 22px; border-radius: 5px; background: #f0c167; }
.sh-side-note { display: flex; gap: 10px; margin-top: auto; padding: 15px 10px 2px; color: rgba(255,255,255,.62); font-size: 11px; }
.sh-side-note i { margin-top: 3px; color: #f0c167; }
.sh-main { min-height: 100vh; margin-left: 270px; }
.sh-topbar { position: sticky; z-index: 20; top: 0; height: 74px; display: flex; align-items: center; gap: 14px; padding: 0 34px; border-bottom: 1px solid var(--sh-line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.sh-menu-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; color: var(--sh-ink); background: var(--sh-soft); }
.sh-top-title { display: grid; margin-right: auto; }
.sh-top-title strong { font: 700 16px Manrope, sans-serif; }
.sh-top-title span { color: var(--sh-muted); font-size: 11px; }
.sh-user { display: flex; align-items: center; gap: 10px; }
.sh-user > span:last-child { display: grid; }
.sh-user strong { font-size: 13px; }
.sh-user small { color: var(--sh-muted); font-size: 11px; }
.sh-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--sh-green-deep); background: var(--sh-green-soft); font-weight: 800; }
.sh-logout { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--sh-line); border-radius: 10px; color: var(--sh-muted); transition: .2s; }
.sh-logout:hover { color: var(--sh-danger); border-color: #f1cdd1; background: #fff5f6; }
.sh-content { width: 100%; max-width: 1540px; margin: auto; padding: 34px; }

.sh-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.sh-page-head h1 { margin: 5px 0 5px; font: 800 clamp(25px, 3vw, 34px)/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.sh-page-head p { margin: 0; color: var(--sh-muted); }
.sh-kicker { color: var(--sh-green); font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 17px; border: 0; border-radius: 11px; font-weight: 700; transition: .2s ease; }
.sh-btn:hover { transform: translateY(-1px); }
.sh-btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.sh-btn-primary { color: #fff; background: linear-gradient(135deg, var(--sh-green), var(--sh-green-deep)); box-shadow: 0 8px 20px rgba(20,116,94,.2); }
.sh-btn-dark { align-self: end; color: #fff; background: var(--sh-ink); }
.sh-btn-soft { color: var(--sh-green-deep); border: 1px solid #cfe0da; background: #f3f8f6; }
.sh-btn-block { width: 100%; }
.sh-panel { overflow: hidden; border: 1px solid var(--sh-line); border-radius: 17px; background: var(--sh-white); box-shadow: var(--sh-shadow); }
.sh-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--sh-line); }
.sh-panel-head h2 { margin: 0 0 3px; font: 750 17px Manrope, sans-serif; }
.sh-panel-head p { margin: 0; color: var(--sh-muted); font-size: 12px; }
.sh-date-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 9px; color: var(--sh-green); background: var(--sh-green-soft); font-size: 11px; font-weight: 700; white-space: nowrap; }

.sh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.sh-stat { display: flex; align-items: center; gap: 14px; min-height: 126px; padding: 20px; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-shadow); }
.sh-stat-icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 14px; font-size: 19px; }
.sh-stat > div { display: grid; }
.sh-stat small { color: var(--sh-muted); font-size: 11px; font-weight: 600; }
.sh-stat strong { margin: 1px 0; font: 800 29px Manrope, sans-serif; }
.sh-stat > div > span { color: var(--sh-muted); font-size: 10px; }
.sh-stat-green .sh-stat-icon { color: #15765e; background: #e4f5ee; }
.sh-stat-teal .sh-stat-icon { color: #167e85; background: #e1f4f5; }
.sh-stat-amber .sh-stat-icon { color: #b8750a; background: #fff2d9; }
.sh-stat-rose .sh-stat-icon { color: #bd4653; background: #fdebed; }
.sh-grid { display: grid; gap: 20px; }
.sh-grid-main { grid-template-columns: minmax(0, 1.8fr) minmax(285px, .72fr); }
.sh-prayer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 20px; }
.sh-prayer-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--sh-line); border-radius: 13px; transition: .2s; }
.sh-prayer-card:hover { border-color: #a9d1c5; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(26,78,64,.08); }
.sh-prayer-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; color: var(--sh-green); background: var(--sh-green-soft); }
.sh-prayer-copy { display: grid; min-width: 0; flex: 1; }
.sh-prayer-copy strong { font-size: 13px; }
.sh-prayer-copy small { color: var(--sh-muted); font-size: 10px; }
.sh-prayer-card > b { color: var(--sh-green); font-size: 11px; }
.sh-progress { display: block; height: 4px; margin-top: 6px; border-radius: 5px; background: #e9efed; overflow: hidden; }
.sh-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #25a27f, #e5aa45); }
.sh-quick-list { display: grid; gap: 10px; padding: 18px; }
.sh-quick-list a { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 12px; background: var(--sh-soft); transition: .2s; }
.sh-quick-list a:hover { color: var(--sh-green); background: var(--sh-green-soft); }
.sh-quick-list a > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--sh-green); background: #fff; }
.sh-quick-list a > span { display: grid; flex: 1; }
.sh-quick-list strong { font-size: 12px; }
.sh-quick-list small { color: var(--sh-muted); font-size: 10px; }
.sh-reminder { display: flex; gap: 11px; margin: 0 18px 18px; padding: 14px; border-radius: 12px; color: #785912; background: #fff6df; }
.sh-reminder > i { margin-top: 4px; color: #d48d18; }
.sh-reminder p { display: grid; margin: 0; }
.sh-reminder span { font-size: 10px; }

.sh-filter-panel { margin-bottom: 20px; padding: 18px; overflow: visible; }
.sh-filter-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap: 14px; align-items: end; }
.sh-report-filter { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(190px, 1.4fr) auto; gap: 12px; align-items: end; }
.sh-field { display: grid; gap: 6px; }
.sh-field > span:first-child { color: #526a64; font-size: 11px; font-weight: 700; }
.sh-field input, .sh-field select, .sh-status-select, .sh-note-cell input { width: 100%; height: 42px; padding: 8px 11px; border: 1px solid #d8e3df; border-radius: 10px; color: var(--sh-ink); outline: 0; background: #fff; transition: .2s; }
.sh-field input:focus, .sh-field select:focus, .sh-status-select:focus, .sh-note-cell input:focus { border-color: #52a78e; box-shadow: 0 0 0 3px rgba(46,147,119,.1); }
.sh-attendance-head { align-items: flex-start; }
.sh-bulk-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 5px; }
.sh-bulk-actions > span { margin-right: 3px; color: var(--sh-muted); font-size: 10px; }
.sh-bulk-actions button { padding: 6px 9px; border: 1px solid var(--sh-line); border-radius: 8px; color: #49605a; background: #fff; font-size: 10px; font-weight: 700; }
.sh-bulk-actions button:hover { color: var(--sh-green); border-color: #9fcdbf; background: var(--sh-green-soft); }
.sh-table-wrap { width: 100%; overflow-x: auto; }
.sh-table { width: 100%; border-collapse: collapse; }
.sh-table th { padding: 11px 15px; color: #6b7e79; background: #f8faf9; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.sh-table td { padding: 12px 15px; border-top: 1px solid #edf2f0; vertical-align: middle; }
.sh-table tbody tr:hover { background: #fbfdfc; }
.sh-student { display: flex; align-items: center; gap: 10px; min-width: 225px; }
.sh-student-avatar { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 10px; color: var(--sh-green); background: var(--sh-green-soft); font-weight: 800; }
.sh-student > span:last-child { display: grid; }
.sh-student small, .sh-cell-sub { display: block; color: var(--sh-muted); font-size: 10px; }
.sh-status-select { min-width: 130px; height: 38px; }
.sh-note-cell { display: flex; align-items: center; min-width: 170px; }
.sh-note-cell input { height: 38px; }
.sh-note-cell button { display: none; }
.sh-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 20px; border-top: 1px solid var(--sh-line); background: #fbfdfc; }
.sh-form-footer > span { color: var(--sh-muted); font-size: 11px; }

.sh-report-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.sh-report-stats article { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--sh-line); border-radius: 13px; background: #fff; }
.sh-report-stats article > div { display: grid; }
.sh-report-stats small { color: var(--sh-muted); font-size: 10px; }
.sh-report-stats strong { font: 800 20px Manrope, sans-serif; }
.sh-status-dot { width: 10px; height: 10px; border-radius: 50%; }
.sh-status-dot.success { background: #2f9c70; box-shadow: 0 0 0 5px #e8f7f0; }
.sh-status-dot.info { background: #3184b7; box-shadow: 0 0 0 5px #e9f4fa; }
.sh-status-dot.warning { background: #d69528; box-shadow: 0 0 0 5px #fff4df; }
.sh-status-dot.danger { background: #c7505c; box-shadow: 0 0 0 5px #fcebed; }
.sh-status-dot.purple { background: #8c62b6; box-shadow: 0 0 0 5px #f2ebfa; }
.sh-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; }
.sh-badge.success { color: #17704d; background: #e6f6ee; }
.sh-badge.info { color: #276f9a; background: #e8f3f9; }
.sh-badge.warning { color: #98620b; background: #fff2d8; }
.sh-badge.danger { color: #a53945; background: #fce8ea; }
.sh-badge.purple { color: #704696; background: #f0e8f8; }
.sh-muted { color: var(--sh-muted); }

.sh-report-tabs { display: inline-flex; gap: 5px; padding: 4px; border-radius: 11px; background: #e8efec; }
.sh-report-tabs a { padding: 8px 13px; border-radius: 8px; color: var(--sh-muted); font-size: 11px; font-weight: 800; }
.sh-report-tabs a:hover { color: var(--sh-green); }
.sh-report-tabs a.active { color: #fff; background: var(--sh-green); box-shadow: 0 5px 14px rgba(20,116,94,.18); }
.sh-recap-filter { grid-template-columns: 1fr 1fr 1.35fr auto; }
.sh-recap-summary { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 20px; padding: 14px 17px; border: 1px solid #cfe5dc; border-radius: 13px; background: var(--sh-green-soft); }
.sh-recap-summary span { display: inline-flex; align-items: center; gap: 7px; color: #526a64; font-size: 11px; }
.sh-recap-summary i, .sh-recap-summary strong { color: var(--sh-green-deep); }
.sh-recap-panel-head { align-items: flex-start; }
.sh-recap-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sh-btn-export { min-height: 36px; padding: 7px 11px; border: 1px solid var(--sh-line); background: #fff; font-size: 10px; box-shadow: none; }
.sh-btn-pdf { color: #b43e4a; }
.sh-btn-excel { color: #17704d; }
.sh-btn-export:hover { border-color: currentColor; background: #fbfdfc; }
.sh-recap-table th:nth-child(1), .sh-recap-table td:nth-child(1), .sh-recap-table th:nth-child(4), .sh-recap-table td:nth-child(4), .sh-recap-table th:nth-child(5), .sh-recap-table td:nth-child(5), .sh-recap-table th:nth-child(6), .sh-recap-table td:nth-child(6) { text-align: center; }
.sh-recap-score { display: inline-flex; align-items: baseline; justify-content: center; min-width: 52px; padding: 6px 8px; border-radius: 9px; font-weight: 800; }
.sh-recap-score small { margin-left: 2px; font-size: 9px; font-weight: 600; opacity: .75; }
.sh-recap-score.complete { color: #17704d; background: #e6f6ee; }
.sh-recap-score.missing { color: #98620b; background: #fff2d8; }
.sh-recap-note { display: grid; justify-items: start; gap: 6px; min-width: 245px; }
.sh-recap-note > span { font-size: 11px; font-weight: 700; }
.sh-recap-note.complete > span { color: #17704d; }
.sh-recap-note.missing > span { color: #98620b; }
.sh-recap-note button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: var(--sh-green); background: transparent; font-size: 10px; font-weight: 800; }
.sh-recap-detail-row[hidden] { display: none; }
.sh-recap-detail-row > td { padding: 0 15px 15px; background: #fbfdfc; }
.sh-recap-details { margin-left: 44px; padding: 13px 15px; border-left: 3px solid var(--sh-gold); border-radius: 0 11px 11px 0; background: #fff7e7; }
.sh-recap-detail-title { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #5f4818; font-size: 11px; }
.sh-recap-detail-list { display: grid; gap: 7px; }
.sh-recap-detail-item { display: grid; grid-template-columns: 75px minmax(155px, 1fr) auto; gap: 10px; align-items: center; }
.sh-recap-detail-item > strong { color: #98620b; font-size: 11px; }
.sh-recap-detail-item > span:nth-child(2) { font-size: 11px; }
.sh-recap-detail-item > small { grid-column: 2 / -1; color: var(--sh-muted); font-size: 10px; }
.sh-recap-footnote { display: flex; align-items: flex-start; gap: 7px; margin: 12px 2px 0; color: var(--sh-muted); font-size: 10px; }
.sh-recap-footnote i { margin-top: 3px; color: var(--sh-green); }

.sh-scan-filter { grid-template-columns: 1fr 1.35fr auto; }
.sh-scan-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 20px; }
.sh-scanner-body { padding: 20px; }
.sh-scan-code-form { margin-bottom: 14px; }
.sh-scan-input-wrap { position: relative; display: flex; }
.sh-scan-input-wrap > i { position: absolute; z-index: 1; left: 14px; top: 50%; color: #78908a; transform: translateY(-50%); }
.sh-scan-input-wrap input { height: 48px; padding-left: 42px; padding-right: 100px; border-radius: 12px; }
.sh-scan-input-wrap button { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 15px; border: 0; border-radius: 8px; color: #fff; background: var(--sh-green); font-weight: 700; }
.sh-scan-message { display: flex; align-items: center; gap: 9px; min-height: 47px; margin-bottom: 14px; padding: 11px 13px; border: 1px solid; border-radius: 11px; font-size: 12px; }
.sh-scan-message.info { color: #286b8e; border-color: #bfdeeb; background: #edf7fb; }
.sh-scan-message.success { color: #197250; border-color: #b8decf; background: #ebf8f2; }
.sh-scan-message.error { color: #a23c47; border-color: #ebc0c5; background: #fdf0f1; }
.sh-camera-frame { position: relative; min-height: 350px; border-radius: 16px; background: #0a1714; overflow: hidden; }
.sh-camera-frame video { display: block; width: 100%; min-height: 350px; max-height: 480px; object-fit: cover; }
.sh-camera-guide { position: absolute; inset: 17%; pointer-events: none; }
.sh-camera-guide:before, .sh-camera-guide:after, .sh-camera-guide span:before, .sh-camera-guide span:after { content: ""; position: absolute; width: 36px; height: 36px; border-color: #f2c365; border-style: solid; }
.sh-camera-guide:before { left: 0; top: 0; border-width: 3px 0 0 3px; border-radius: 8px 0 0; }
.sh-camera-guide:after { right: 0; top: 0; border-width: 3px 3px 0 0; border-radius: 0 8px 0 0; }
.sh-camera-guide span:before { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 8px; }
.sh-camera-guide span:after { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-radius: 0 0 8px; }
.sh-scan-line { position: absolute; left: 19%; right: 19%; top: 20%; height: 2px; opacity: 0; background: #43e0ac; box-shadow: 0 0 12px #43e0ac; }
.sh-camera-frame.running .sh-scan-line { opacity: 1; animation: shScanLine 1.8s linear infinite; }
@keyframes shScanLine { from { top: 20%; } to { top: 80%; } }
.sh-camera-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.sh-live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 20px; color: #197250; background: #e9f7f1; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.sh-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #23a775; box-shadow: 0 0 0 4px rgba(35,167,117,.12); }
.sh-count-chip { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 9px; color: var(--sh-green); background: var(--sh-green-soft); font-weight: 800; }
.sh-recent-scans { max-height: 620px; padding: 7px 18px 18px; overflow-y: auto; }
.sh-recent-row { display: flex; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--sh-line); }
.sh-recent-row > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.sh-recent-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sh-recent-row small { color: var(--sh-muted); font-size: 10px; }
.sh-recent-row time { color: var(--sh-green); font: 700 11px Manrope, sans-serif; }
.sh-recent-row.is-new { animation: shNewScan 1.1s ease; }
@keyframes shNewScan { 0% { background: #dff5eb; transform: translateY(-5px); } 100% { background: transparent; transform: none; } }
.sh-empty { display: grid; place-items: center; gap: 5px; padding: 55px 20px; border: 1px dashed #bfd1cb; border-radius: 15px; color: var(--sh-muted); text-align: center; background: rgba(255,255,255,.7); }
.sh-empty > i { margin-bottom: 4px; color: #84aa9f; font-size: 25px; }
.sh-empty strong { color: var(--sh-ink); }
.sh-empty-inline { padding: 35px 15px; border: 0; background: transparent; }
.sh-alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid; border-radius: 11px; }
.sh-alert.success { color: #176c4b; border-color: #b8e0cf; background: #ebf8f2; }
.sh-alert.error { color: #9c3541; border-color: #edbdc2; background: #fdf0f1; }
.sh-alert.info { color: #256c95; border-color: #c5dfed; background: #edf7fb; }
.sh-overlay { display: none; }

.sh-login-page { background: #103f35; }
.sh-login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(430px, .85fr); }
.sh-login-hero { position: relative; display: grid; align-items: center; min-height: 100vh; padding: 8vw; color: #fff; background: radial-gradient(circle at 20% 18%, rgba(240,193,103,.22), transparent 24%), linear-gradient(145deg, #0d4b3e 0%, #126853 60%, #0d5948 100%); overflow: hidden; }
.sh-login-hero:before { content: ""; position: absolute; inset: auto -8vw -15vw auto; width: 38vw; height: 38vw; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 5vw rgba(255,255,255,.025), 0 0 0 11vw rgba(255,255,255,.018); }
.sh-login-hero-copy { position: relative; z-index: 2; max-width: 680px; }
.sh-login-hero .sh-kicker { display: inline-flex; align-items: center; gap: 8px; color: #f3c872; }
.sh-login-hero h1 { max-width: 660px; margin: 17px 0; font: 800 clamp(37px, 5vw, 66px)/1.05 Manrope, sans-serif; letter-spacing: -.055em; }
.sh-login-hero p { max-width: 600px; color: rgba(255,255,255,.74); font-size: 16px; }
.sh-feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sh-feature-list span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); font-size: 11px; }
.sh-feature-list i { color: #f3c872; }
.sh-ornament { position: absolute; right: 7%; top: 12%; color: rgba(255,255,255,.07); font-size: 170px; transform: rotate(-15deg); }
.sh-login-panel { display: grid; place-items: center; min-height: 100vh; padding: 45px; background: #f5f8f7; }
.sh-login-card { width: 100%; max-width: 430px; padding: 34px; border: 1px solid var(--sh-line); border-radius: 20px; background: #fff; box-shadow: 0 25px 70px rgba(25,67,57,.12); }
.sh-login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.sh-login-brand img { width: 48px; height: 48px; object-fit: contain; }
.sh-login-brand span { display: grid; }
.sh-login-brand strong { font: 800 16px Manrope, sans-serif; }
.sh-login-brand small { color: var(--sh-muted); }
.sh-login-card h2 { margin: 0 0 4px; font: 800 27px Manrope, sans-serif; }
.sh-login-card > .sh-muted { margin: 0 0 23px; }
.sh-login-form { display: grid; gap: 16px; }
.sh-input-wrap { position: relative; display: block; }
.sh-input-wrap i { position: absolute; left: 13px; top: 50%; color: #879a95; transform: translateY(-50%); }
.sh-field .sh-input-wrap input { height: 48px; padding-left: 39px; }
.sh-login-form .sh-btn { min-height: 48px; margin-top: 4px; }
.sh-login-foot { margin: 22px 0 0; color: var(--sh-muted); font-size: 10px; text-align: center; }
.sh-login-foot i { color: var(--sh-green); }

@media (max-width: 1180px) {
  .sh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-report-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-report-filter .sh-btn { width: 100%; }
  .sh-scan-layout { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); }
  .sh-recap-panel-head { align-items: stretch; flex-direction: column; }
  .sh-recap-actions { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .sh-sidebar { transform: translateX(-100%); transition: .25s ease; }
  .sh-menu-open .sh-sidebar { transform: translateX(0); }
  .sh-overlay { position: fixed; z-index: 25; inset: 0; background: rgba(6,29,24,.5); }
  .sh-menu-open .sh-overlay { display: block; }
  .sh-main { margin-left: 0; }
  .sh-menu-toggle { display: inline-grid; place-items: center; }
  .sh-grid-main { grid-template-columns: 1fr; }
  .sh-scan-layout { grid-template-columns: 1fr; }
  .sh-login-shell { grid-template-columns: 1fr; }
  .sh-login-hero { min-height: auto; padding: 65px 8vw; }
  .sh-login-hero h1 { font-size: clamp(34px, 8vw, 52px); }
  .sh-login-panel { min-height: auto; padding: 50px 25px; }
}

@media (max-width: 680px) {
  .sh-topbar { height: 64px; padding: 0 15px; }
  .sh-top-title span, .sh-user > span:last-child { display: none; }
  .sh-content { padding: 22px 15px 38px; }
  .sh-page-head { align-items: stretch; flex-direction: column; }
  .sh-page-head .sh-btn { width: 100%; }
  .sh-report-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; text-align: center; }
  .sh-stats, .sh-prayer-grid, .sh-report-stats { grid-template-columns: 1fr 1fr; }
  .sh-stat { min-height: 105px; padding: 15px; }
  .sh-stat-icon { flex-basis: 40px; height: 40px; }
  .sh-stat strong { font-size: 23px; }
  .sh-filter-grid, .sh-report-filter { grid-template-columns: 1fr; }
  .sh-recap-filter { grid-template-columns: 1fr; }
  .sh-panel-head, .sh-attendance-head { align-items: stretch; flex-direction: column; }
  .sh-bulk-actions { justify-content: flex-start; }
  .sh-form-footer { align-items: stretch; flex-direction: column; }
  .sh-form-footer .sh-btn { width: 100%; }
  .sh-table thead { display: none; }
  .sh-table, .sh-table tbody, .sh-table tr, .sh-table td { display: block; width: 100%; }
  .sh-table tr { padding: 12px 14px; border-top: 1px solid var(--sh-line); }
  .sh-table td { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 0; border: 0; }
  .sh-table td:before { content: attr(data-label); color: var(--sh-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
  .sh-table td[colspan] { display: block; }
  .sh-recap-detail-row { padding-top: 0 !important; }
  .sh-recap-detail-row > td { padding: 0 !important; }
  .sh-recap-details { margin: 0 0 5px; }
  .sh-recap-detail-item { grid-template-columns: 65px minmax(120px, 1fr); }
  .sh-recap-detail-item .sh-badge { justify-self: start; grid-column: 2; }
  .sh-recap-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .sh-recap-actions .sh-date-chip { grid-column: 1 / -1; justify-content: center; }
  .sh-recap-actions .sh-btn { width: 100%; }
  .sh-status-select, .sh-note-cell { min-width: 0; }
  .sh-note-cell input { display: none; }
  .sh-note-cell button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--sh-line); border-radius: 9px; color: var(--sh-green); background: #fff; }
  .sh-attendance-table tr.show-note .sh-note-cell input { display: block; }
  .sh-attendance-table tr.show-note .sh-note-cell { gap: 6px; }
  .sh-login-hero { padding: 50px 24px; }
  .sh-feature-list { display: grid; }
  .sh-login-panel { padding: 30px 15px; }
  .sh-login-card { padding: 25px 20px; }
  .sh-camera-frame, .sh-camera-frame video { min-height: 285px; }
  .sh-camera-actions .sh-btn { flex: 1 1 145px; }
}

@media (max-width: 430px) {
  .sh-stats, .sh-prayer-grid, .sh-report-stats { grid-template-columns: 1fr; }
  .sh-login-hero h1 { font-size: 34px; }
}
