/* CSS Kustom untuk Aplikasi Pembiasaan Diri */

:root {
    --app-bg: #f4f7f6;
    --surface: #ffffff;
    --surface-soft: #eef7f4;
    --text: #15211f;
    --muted: #66736f;
    --line: #dce5e2;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --danger: #dc3545;
    --shadow: 0 10px 28px rgba(22, 38, 35, 0.08);
    --radius: 14px;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--app-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overscroll-behavior-y: none;
}

input,
button,
select,
textarea {
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

a {
    color: inherit;
}

.btn,
.form-control,
.form-select,
.input-group-text,
.modal-content,
.alert {
    border-radius: var(--radius);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

.form-control,
.form-select {
    border-color: var(--line);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
}

.login-body {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    background:
        radial-gradient(95% 62% at 8% 4%, rgba(16, 185, 129, 0.2), transparent 61%),
        radial-gradient(76% 56% at 94% 2%, rgba(37, 99, 235, 0.18), transparent 58%),
        linear-gradient(145deg, #f0faf7 0%, #f3f8fc 48%, #edf7f4 100%);
}

.login-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(transparent 96%, rgba(21, 33, 31, 0.03) 96%),
        linear-gradient(90deg, transparent 96%, rgba(21, 33, 31, 0.03) 96%);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 92%);
}

.login-screen {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}

.app-splash {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(80% 60% at 20% 15%, rgba(202, 138, 4, 0.24), transparent 62%),
        radial-gradient(70% 50% at 85% 4%, rgba(15, 118, 110, 0.3), transparent 58%),
        linear-gradient(180deg, #f6f8f7, #eef4f2);
    transition: opacity 380ms ease, visibility 380ms ease;
}

.app-splash.hidden {
    opacity: 0;
    visibility: hidden;
}

.app-splash-inner {
    text-align: center;
    animation: splash-enter 600ms ease-out;
}

.app-splash-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(18, 70, 64, 0.2);
}

.app-splash h2 {
    margin: 14px 0 4px;
    font-size: 1.6rem;
    font-family: "Merriweather", Georgia, serif;
    font-weight: 800;
}

.app-splash p {
    margin: 0;
    color: #52635e;
    font-size: 0.9rem;
}

.login-ornament {
    position: absolute;
    z-index: 0;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(15, 118, 110, 0.2);
    font-size: 1.8rem;
    animation: login-float 5s ease-in-out infinite;
}

.login-ornament-left {
    top: clamp(50px, 10vh, 120px);
    left: clamp(16px, 8vw, 110px);
    background: linear-gradient(135deg, #0f766e, #115e59);
}

.login-ornament-right {
    right: clamp(16px, 8vw, 110px);
    bottom: clamp(40px, 12vh, 140px);
    background: linear-gradient(135deg, #2563eb, #0f766e);
    animation-delay: 0.9s;
}

.login-abstract-cloud {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.abstract-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 300px;
    padding: 9px 14px;
    color: #114945;
    background: rgba(242, 250, 247, 0.88);
    border: 1px solid rgba(170, 214, 203, 0.78);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(31, 55, 50, 0.12);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    animation: login-float 7s ease-in-out infinite;
    backdrop-filter: blur(2px);
    opacity: 0.9;
}

.abstract-chip i {
    color: #0f766e;
}

.chip-1 {
    top: clamp(16%, 18vh, 24%);
    left: clamp(2%, 6vw, 10%);
    transform: rotate(-5deg);
}

.chip-2 {
    top: clamp(13%, 15vh, 21%);
    right: clamp(3%, 6vw, 12%);
    transform: rotate(7deg);
    animation-delay: 0.6s;
}

.chip-3 {
    bottom: clamp(15%, 19vh, 21%);
    right: clamp(6%, 12vw, 16%);
    transform: rotate(-6deg);
    animation-delay: 1.1s;
}

.chip-4 {
    bottom: clamp(24%, 30vh, 34%);
    left: clamp(4%, 8vw, 12%);
    transform: rotate(4deg);
    animation-delay: 1.6s;
}

.chip-quote {
    bottom: clamp(8%, 12vh, 14%);
    left: 50%;
    max-width: min(92vw, 460px);
    padding: 12px 16px;
    border-radius: 18px;
    transform: translateX(-50%) rotate(-2deg);
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    background: rgba(247, 252, 249, 0.94);
    border-style: dashed;
    animation-delay: 0.9s;
}

.login-card {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 26px 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(220, 229, 226, 0.78);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.login-card-enhanced {
    width: min(100%, 470px);
    border: 1px solid rgba(215, 226, 222, 0.85);
    box-shadow: 0 24px 52px rgba(20, 39, 36, 0.12);
    backdrop-filter: blur(2px);
    animation: login-enter 600ms ease-out;
}

.login-card-enhanced::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.08), transparent 24%);
}

.pwa-install-wrap {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    text-align: center;
}

.btn-install-app {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 9px 14px 9px 10px;
    overflow: hidden;
    color: #fff;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f766e, #13a89e);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.25);
    text-align: left;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-install-app::after {
    content: "";
    position: absolute;
    top: -45px;
    right: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.btn-install-app:hover,
.btn-install-app:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #0b6861, #0f978e);
    box-shadow: 0 15px 32px rgba(15, 118, 110, 0.32);
    transform: translateY(-2px);
}

.install-app-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.35rem;
}

.install-app-icon .bi-arrow-down-short {
    position: absolute;
    right: 2px;
    bottom: 0;
    font-size: 1rem;
}

.btn-install-app strong,
.btn-install-app small { display: block; }
.btn-install-app strong { font-size: 0.94rem; font-weight: 800; }
.btn-install-app small { margin-top: 2px; color: rgba(255, 255, 255, 0.82); font-size: 0.71rem; }
.install-app-arrow { position: relative; z-index: 1; font-size: 1.05rem; }

.pwa-install-tip {
    margin: 0;
    color: #51605c;
    font-size: 0.78rem;
}

.standalone-mode .pwa-install-wrap {
    display: none;
}

.ios-install-guide img {
    width: 82px;
    height: 82px;
    margin-bottom: 14px;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(3, 46, 42, 0.18);
}

.ios-install-guide ol {
    margin: 18px 0;
    padding-left: 24px;
    color: #51605c;
    text-align: left;
}

.ios-install-guide li { margin-bottom: 12px; }
.ios-install-guide .btn { width: 100%; min-height: 48px; }

.login-bismillah {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    color: #115e59;
    background: #e8f6f2;
    border: 1px solid #cfe9e2;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.login-brand {
    text-align: center;
}

.login-logo-shell {
    width: 118px;
    height: 118px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    overflow: visible;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 10px 26px rgba(15, 118, 110, 0.18);
    position: relative;
}

.login-logo-shell::before {
    content: "";
    position: absolute;
    width: 122px;
    height: 122px;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.34) 0%, rgba(245, 158, 11, 0.14) 42%, rgba(245, 158, 11, 0) 72%);
    z-index: 0;
    transform: translate(16px, -14px);
    filter: blur(0.5px);
}

.login-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    z-index: 1;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 12px;
    font-size: 1.8rem;
}

.login-card h1 {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    font-weight: 800;
    font-family: "Merriweather", Georgia, serif;
    letter-spacing: 0;
}

.login-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

.login-card .form-label {
    font-weight: 700;
    color: var(--text);
}

.login-card .form-control,
.login-card .input-group-text,
.login-card .btn {
    min-height: 50px;
}

.login-form {
    display: grid;
    gap: 0;
}

.login-sticky-action {
    position: sticky;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 4;
    padding-top: 8px;
}

.login-sticky-action .btn {
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
}

@keyframes login-enter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes login-chip-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes login-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes splash-enter {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.app-body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
    background:
        radial-gradient(70rem 38rem at -8% -8%, rgba(16, 185, 129, 0.22), transparent 62%),
        radial-gradient(66rem 36rem at 108% 4%, rgba(37, 99, 235, 0.2), transparent 61%),
        radial-gradient(46rem 30rem at 82% 92%, rgba(13, 148, 136, 0.13), transparent 68%),
        linear-gradient(145deg, #eef9f5 0%, #f4f9fc 48%, #edf7f5 100%);
    background-attachment: fixed;
}

.app-body::before,
.app-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.app-body::before {
    opacity: 0.72;
    background-image:
        linear-gradient(30deg, rgba(15, 118, 110, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(15, 118, 110, 0.035) 87.5%),
        linear-gradient(150deg, rgba(37, 99, 235, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(37, 99, 235, 0.03) 87.5%),
        linear-gradient(30deg, rgba(15, 118, 110, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(15, 118, 110, 0.035) 87.5%),
        linear-gradient(150deg, rgba(37, 99, 235, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(37, 99, 235, 0.03) 87.5%);
    background-position: 0 0, 0 0, 36px 63px, 36px 63px;
    background-size: 72px 126px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%);
}

.app-body::after {
    inset: auto -120px 12% auto;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(37, 99, 235, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(15, 118, 110, 0.025),
        0 0 0 84px rgba(37, 99, 235, 0.018);
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    background: linear-gradient(100deg, rgba(248, 255, 252, 0.94), rgba(247, 251, 255, 0.94));
    border-bottom: 1px solid rgba(116, 157, 151, 0.24);
    box-shadow: 0 5px 22px rgba(31, 78, 73, 0.055);
    backdrop-filter: blur(18px) saturate(130%);
}

.app-topbar > div {
    min-width: 0;
    flex: 1 1 auto;
}

.app-topbar h1 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-topbar p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 7px 14px rgba(18,35,31,.2), inset 0 1px rgba(255,255,255,.35);
    transform: perspective(220px) rotateX(3deg) rotateY(-3deg);
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 1.2rem;
}

.icon-btn.danger {
    color: var(--danger);
}

.app-shell {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 16px 14px 24px;
}

.welcome-panel {
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #256d85);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.welcome-panel.student {
    background: linear-gradient(135deg, #0f766e, #6b7d2c);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.welcome-panel h2 {
    margin: 0 0 8px;
    max-width: 640px;
    font-size: clamp(1.35rem, 6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: 0;
}

.welcome-panel p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

/* Identitas ringkas siswa di halaman Home. */
.student-identity-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 38px;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid #dbe8e4;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fff, #f0faf7);
    box-shadow: 0 8px 26px rgba(22, 38, 35, 0.08);
}

.student-identity-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.06);
}

.student-identity-photo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    overflow: hidden;
    color: #fff;
    border: 4px solid #fff;
    border-radius: 28px;
    background: linear-gradient(145deg, #0f766e, #68b92e);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
    font-size: 2.2rem;
    font-weight: 800;
}

.student-identity-photo img { width: 100%; height: 100%; object-fit: cover; }
.student-identity-main { position: relative; z-index: 1; min-width: 0; }
.student-identity-main .eyebrow { margin-bottom: 0; color: #0f766e; }
.student-identity-main h2 { margin: 3px 0 11px; color: #102522; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 850; }
.student-identity-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.student-identity-meta > span { display: grid; grid-template-columns: 24px auto; column-gap: 7px; align-items: center; min-width: 150px; padding: 8px 12px; border-radius: 13px; background: #e9f6f2; }
.student-identity-meta i { grid-row: 1 / 3; color: #0f766e; font-size: 1.15rem; }
.student-identity-meta small { color: #71807c; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.student-identity-meta strong { overflow: hidden; color: #173b36; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.student-identity-link { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; color: #0f766e; border-radius: 13px; background: #fff; box-shadow: 0 6px 16px rgba(15, 118, 110, .12); }

.student-attendance-status { display: flex; gap: 14px; align-items: center; padding: 16px 18px; color: #fff; border-radius: 18px; box-shadow: 0 12px 28px rgba(20, 75, 68, .16); }
.student-attendance-status.present { background: linear-gradient(135deg, #15803d, #0f766e); }
.student-attendance-status.absent { background: linear-gradient(135deg, #b4232f, #d97706); }
.student-attendance-status.unmarked { background: linear-gradient(135deg, #475569, #256d85); }
.attendance-status-icon { display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.2); border-radius: 17px; background: rgba(255,255,255,.14); font-size: 1.55rem; }
.student-attendance-status span { color: rgba(255,255,255,.78); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.student-attendance-status h2 { margin: 2px 0 0; font-size: 1.25rem; font-weight: 850; }
.student-attendance-status p { margin: 3px 0 0; color: rgba(255,255,255,.86); font-size: .82rem; }

.attendance-hero { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 20px; color: #fff; border-radius: 20px; background: linear-gradient(135deg, #0f766e, #256d85); box-shadow: 0 15px 32px rgba(15, 90, 100, .18); }
.attendance-hero .eyebrow { margin-bottom: 3px; }
.attendance-hero h2 { margin: 0; font-size: 1.55rem; font-weight: 850; }
.attendance-hero p { margin: 4px 0 0; color: rgba(255,255,255,.82); }
.attendance-hero form { min-width: 190px; }
.attendance-hero label { display: block; margin-bottom: 5px; color: rgba(255,255,255,.82); font-size: .72rem; font-weight: 750; }
.attendance-hero .form-control { color: #173b36; background: rgba(255,255,255,.94); }
.attendance-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.attendance-metrics article { display: grid; justify-items: center; padding: 13px 8px; border: 1px solid #d9e7e3; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 7px 20px rgba(22,38,35,.06); }
.attendance-metrics strong { color: #334155; font-size: 1.45rem; }
.attendance-metrics span { color: #71807c; font-size: .72rem; }
.attendance-metrics .present strong { color: #15803d; }
.attendance-metrics .absent strong { color: #b4232f; }
.attendance-list { display: grid; gap: 12px; }
.attendance-student-card { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px 18px; align-items: center; padding: 13px; border: 1px solid #dce8e5; border-radius: 17px; background: rgba(248,252,251,.9); }
.attendance-student-profile { display: flex; gap: 11px; align-items: center; min-width: 0; }
.attendance-student-profile > img, .attendance-student-profile > span { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; object-fit: cover; color: #fff; border-radius: 15px; background: linear-gradient(135deg,#0f766e,#256d85); font-weight: 850; }
.attendance-student-profile strong, .attendance-student-profile small { display: block; }
.attendance-student-profile strong { overflow: hidden; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.attendance-student-profile small { margin-top: 2px; color: #71807c; font-size: .72rem; }
.attendance-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.attendance-choice label { cursor: pointer; }
.attendance-choice input { position: absolute; opacity: 0; pointer-events: none; }
.attendance-choice span { display: flex; gap: 6px; align-items: center; justify-content: center; min-height: 42px; padding: 8px 12px; color: #64748b; border: 1px solid #d9e4e1; border-radius: 12px; background: #fff; font-size: .78rem; font-weight: 750; }
.attendance-choice .present input:checked + span { color: #166534; border-color: #86d39b; background: #eaf8ee; }
.attendance-choice .absent input:checked + span { color: #991b1b; border-color: #f0a4a4; background: #fff0f1; }
.attendance-reason { grid-column: 1 / -1; }
.attendance-reason label { display: block; margin-bottom: 5px; color: #991b1b; font-size: .75rem; font-weight: 750; }
.attendance-save { position: sticky; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 15; margin-top: 12px; padding: 10px; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(22,38,35,.15); backdrop-filter: blur(12px); }
.attendance-save .btn { width: 100%; min-height: 50px; font-weight: 800; }

/* Filter, metrik, dan grafik riwayat siswa. */
.history-filter-card .eyebrow { margin-bottom: 5px; color: #0f766e; }
.history-filter-form { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(150px, 1fr)) auto; gap: 12px; align-items: end; }
.history-filter-form .form-label { margin-bottom: 5px; font-size: .78rem; font-weight: 750; }
.history-filter-form .btn { min-height: 46px; padding-inline: 20px; border-radius: 13px; }
.history-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.history-metrics article { display: grid; grid-template-columns: 42px 1fr; column-gap: 10px; align-items: center; padding: 15px; border: 1px solid #dce8e5; border-radius: 18px; background: #fff; box-shadow: 0 7px 22px rgba(22, 38, 35, 0.07); }
.history-metrics i { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; color: #0f766e; border-radius: 14px; background: #e7f6f2; font-size: 1.2rem; }
.history-metrics strong { color: #102522; font-size: 1.35rem; line-height: 1; }
.history-metrics span { color: #71807c; font-size: .76rem; }
.history-bar-chart { display: flex; gap: 10px; align-items: end; min-height: 210px; padding: 18px 8px 5px; overflow-x: auto; border-bottom: 1px solid #dbe7e4; }
.history-bar-column { flex: 1 0 56px; display: grid; grid-template-rows: 20px 145px 20px; gap: 6px; align-items: end; text-align: center; }
.history-bar-column > strong { color: #0f766e; font-size: .75rem; }
.history-bar-column > div { position: relative; height: 145px; overflow: hidden; border-radius: 10px 10px 4px 4px; background: #edf3f1; }
.history-bar-column i { position: absolute; right: 0; bottom: 0; left: 0; height: max(3px, var(--bar-height)); border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, #7ac143, #0f766e); animation: history-chart-rise 700ms ease both; }
.history-bar-column > span { color: #71807c; font-size: .7rem; white-space: nowrap; }
.history-subchart-title { margin: 22px 0 12px; color: #173b36; font-size: .92rem; font-weight: 800; }
.history-activity-chart { display: grid; gap: 10px; }
.history-activity-chart > div { display: grid; grid-template-columns: minmax(120px, 210px) 1fr 30px; gap: 10px; align-items: center; }
.history-activity-chart span { overflow: hidden; font-size: .8rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.history-activity-chart > div > div { height: 10px; overflow: hidden; border-radius: 999px; background: #e7efed; }
.history-activity-chart i { display: block; width: var(--bar-width); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #7ac143); animation: chart-grow 700ms ease both; }
.history-activity-chart strong { color: #0f766e; font-size: .8rem; text-align: right; }
@keyframes history-chart-rise { from { height: 0; } }

@media (max-width: 700px) {
    .student-identity-card { grid-template-columns: 72px minmax(0, 1fr) 30px; gap: 12px; padding: 14px; }
    .student-identity-photo { width: 72px; height: 72px; border-radius: 22px; }
    .student-identity-meta { display: grid; grid-template-columns: 1fr; gap: 6px; }
    .student-identity-meta > span { min-width: 0; padding: 6px 9px; }
    .history-filter-form { grid-template-columns: 1fr 1fr; }
    .history-filter-form > div:first-child, .history-filter-form .btn { grid-column: 1 / -1; }
    .history-metrics { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .history-metrics article { display: flex; flex-direction: column; gap: 5px; padding: 10px 5px; text-align: center; }
    .history-metrics i { width: 36px; height: 36px; }
    .history-metrics strong { font-size: 1.1rem; }
    .attendance-hero { align-items: stretch; flex-direction: column; padding: 16px; }
    .attendance-hero form { min-width: 0; }
    .attendance-student-card { grid-template-columns: 1fr; }
    .attendance-choice { width: 100%; }
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.quick-tile {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(22, 38, 35, 0.05);
    text-decoration: none;
}

.quick-tile i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--surface-soft);
    border-radius: var(--radius);
    font-size: 1.35rem;
}

.quick-tile span {
    font-weight: 800;
}

.quick-tile small {
    color: var(--muted);
}

.quick-tile.muted {
    opacity: 0.62;
}

.panel-section {
    padding: 16px;
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(203, 221, 217, 0.88);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(22, 66, 61, 0.075);
    backdrop-filter: blur(12px) saturate(115%);
}

.habit-form-grid .form-label {
    margin-bottom: 6px;
    font-weight: 700;
}

.habit-form-grid .form-control,
.habit-form-grid .form-select {
    min-height: 46px;
}

#activity-catalog {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 2px;
}

#daily-entries {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 2px;
}

#daily-entries .activity-card {
    margin-bottom: 8px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.section-heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.btn-compact {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.stack-list,
.activity-stack {
    display: grid;
    gap: 12px;
}

.list-card,
.activity-card {
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(22, 38, 35, 0.04);
}

.list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.list-card-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-badge {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--primary);
    border-radius: var(--radius);
    font-weight: 800;
}

.list-card h3,
.activity-card h6 {
    margin: 0 0 2px;
    font-size: 1rem;
    font-weight: 800;
}

.list-card p,
.activity-card .description {
    margin: 0;
    color: var(--muted);
}

.meta-row,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.meta-row {
    margin-top: 7px;
}

.meta-row span {
    padding: 3px 8px;
    color: var(--primary-dark);
    background: var(--surface-soft);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.action-row {
    justify-content: flex-end;
}

.activity-card.completed {
    border-color: rgba(25, 135, 84, 0.32);
    background: #f0faf4;
}

.activity-card .time {
    color: var(--muted);
    font-size: 0.85rem;
}

.btn-check-custom {
    width: 100%;
    min-height: 44px;
    font-weight: 800;
}

.empty-state {
    padding: 22px 14px;
    color: var(--muted);
    background: #f8faf9;
    border: 1px dashed var(--line);
    border-radius: 12px;
    text-align: center;
}

.empty-state.error {
    color: var(--danger);
}

.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    background: #ffffff;
    border: 1px solid var(--line);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 24px rgba(18, 35, 31, 0.10);
}

.bottom-nav-student {
    grid-template-columns: repeat(4, 1fr);
}

.bottom-nav a {
    min-height: 52px;
    display: grid;
    place-items: center;
    gap: 2px;
    color: var(--muted);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
}

.bottom-nav a.active {
    color: var(--primary);
    background: var(--surface-soft);
}

.bottom-nav a,
.bottom-nav a * {
    pointer-events: auto;
}

.bottom-nav i {
    font-size: 1.25rem;
}

.bottom-nav span {
    font-size: 0.72rem;
    font-weight: 700;
}

.student-body {
    padding-bottom: 128px;
}

.admin-body,
body:has(.bottom-nav-admin) {
    padding-bottom: 128px;
}

.admin-insight-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    color: #fff;
    background: linear-gradient(135deg, #087f76 0%, #075f68 100%);
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(8, 95, 104, .2);
    overflow: hidden;
    position: relative;
}

.admin-insight-hero::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -55px;
    top: -75px;
    border: 28px solid rgba(255,255,255,.07);
    border-radius: 50%;
}

.admin-insight-hero h2 {
    margin: 0;
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    font-weight: 850;
}

.admin-insight-hero p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.8);
}

.progress-ring {
    --progress: 0;
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    background: radial-gradient(circle closest-side, #08736e 75%, transparent 76% 99%), conic-gradient(#fbbf24 calc(var(--progress) * 1%), rgba(255,255,255,.18) 0);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    position: relative;
    z-index: 1;
}

.progress-ring strong { font-size: 1.28rem; line-height: 1; }
.progress-ring span { margin-top: 3px; font-size: .68rem; color: rgba(255,255,255,.78); }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.metric-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: 0 6px 18px rgba(22,38,35,.05);
}

.metric-card > i {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 1.2rem;
}

.metric-card div { min-width: 0; display: grid; }
.metric-card strong { font-size: 1.3rem; line-height: 1.1; }
.metric-card span { color: var(--muted); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-card.teal > i { color: #087f76; background: #e5f7f3; }
.metric-card.blue > i { color: #2563eb; background: #eaf1ff; }
.metric-card.amber > i { color: #b45309; background: #fff6dc; }
.metric-card.green > i { color: #15803d; background: #eaf8ee; }

.insight-panel .section-heading h2 i { color: var(--primary); margin-right: 5px; }
.class-chart { display: grid; gap: 13px; }
.chart-row { display: grid; grid-template-columns: 58px 1fr 32px; gap: 10px; align-items: center; }
.chart-row > span { font-weight: 750; font-size: .82rem; }
.chart-row > div { height: 11px; overflow: hidden; background: #e7efed; border-radius: 999px; }
.chart-row i { display: block; width: var(--bar-width); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #2bb5a6); animation: chart-grow 800ms cubic-bezier(.2,.8,.2,1) both; }
.chart-row strong { color: var(--primary-dark); font-size: .82rem; text-align: right; }

.insight-note {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 13px 14px;
    color: #31534e;
    background: #eaf6f3;
    border-radius: 15px;
}
.insight-note i { color: var(--primary); }
.insight-note p { margin: 0; font-size: .83rem; }

.import-guide {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fbfa;
}
.import-guide h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 800; }
.import-guide p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }

.page-enter { animation: page-enter 520ms cubic-bezier(.2,.8,.2,1) both; }
.stagger-1 { animation-delay: 70ms; }
.stagger-2 { animation-delay: 130ms; }
.stagger-3 { animation-delay: 190ms; }
.page-leaving { animation: page-leave 180ms ease both; pointer-events: none; }
.btn, .icon-btn, .quick-tile, .list-card, .activity-admin-card, .student-activity-card, .bottom-nav a { transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, opacity 180ms ease; }
.btn:active, .icon-btn:active, .student-activity-card:active, .bottom-nav a:active { transform: scale(.94); }
.action-pulse { animation: action-pulse 360ms ease; }

.app-toast-stack {
    position: fixed;
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 14px;
    z-index: 2000;
    display: grid;
    justify-items: center;
    pointer-events: none;
}
.app-toast {
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    color: #fff;
    background: #18302d;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
    font-size: .85rem;
    font-weight: 700;
    animation: toast-in 260ms cubic-bezier(.2,.8,.2,1) both;
}
.app-toast.hide { animation: toast-out 220ms ease both; }
.app-toast-info { background: #155e75; }
.app-toast-warning { color: #402d00; background: #fbbf24; }
.app-toast-error { background: #b4232f; }
.modal.show .modal-dialog { animation: modal-rise 300ms cubic-bezier(.2,.8,.2,1) both; }

@keyframes page-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes page-leave { to { opacity: 0; transform: translateY(6px) scale(.995); } }
@keyframes chart-grow { from { width: 0; } }
@keyframes action-pulse { 50% { transform: scale(.96); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(15px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(22px) scale(.985); } }

.report-cover {
    padding: 18px;
    color: #fff;
    background: linear-gradient(145deg, #202064, #0f766e 72%, #7ac143);
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(31,32,100,.2);
    position: relative;
    overflow: hidden;
}
.report-cover::after { content:""; position:absolute; width:190px; height:190px; right:-75px; bottom:-100px; border:30px solid rgba(255,255,255,.08); border-radius:50%; }
.report-cover-brand { display:flex; align-items:center; gap:10px; position:relative; z-index:1; }
.report-cover-brand img { width:52px; height:52px; object-fit:contain; border-radius:10px; background:#fff; }
.report-cover-brand div { display:grid; }
.report-cover-brand span { font-size:.68rem; font-weight:800; letter-spacing:.1em; opacity:.76; }
.report-cover-brand strong { font-size:1.08rem; }
.report-cover-period { display:flex; align-items:center; gap:10px; margin-top:18px; padding:10px 12px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.15); border-radius:14px; width:max-content; max-width:100%; }
.report-cover-period i { font-size:1.2rem; }
.report-cover-period div { display:grid; }
.report-cover-period small { opacity:.7; font-size:.68rem; }
.report-progress-wrap { display:flex; align-items:center; gap:14px; margin-top:18px; position:relative; z-index:1; }
.report-ring { background:radial-gradient(circle closest-side,#242b67 75%,transparent 76% 99%),conic-gradient(#f8c44f calc(var(--progress)*1%),rgba(255,255,255,.18) 0); }
.report-progress-wrap h2 { margin:0; font-size:1.25rem; font-weight:850; }
.report-progress-wrap p { margin:2px 0 8px; opacity:.75; }
.report-status { width:max-content; display:inline-flex; padding:4px 9px; border-radius:999px; font-size:.68rem; font-weight:800; }
.report-status.draft { color:#78350f; background:#fef3c7; }
.report-status.pending { color:#9a3412; background:#ffedd5; }
.report-status.signed { color:#166534; background:#dcfce7; }

.report-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.report-metrics article { min-width:0; display:grid; justify-items:center; gap:2px; padding:14px 8px; text-align:center; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 5px 16px rgba(22,38,35,.05); }
.report-metrics i { color:var(--primary); font-size:1.25rem; }
.report-metrics strong { font-size:1.25rem; }
.report-metrics span { color:var(--muted); font-size:.7rem; }
.report-metrics .attention { border-color:#fed7aa; background:#fffaf3; }
.report-metrics .attention i { color:#ea580c; }

.report-timeline { display:grid; gap:0; }
.report-timeline article { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:10px; padding:11px 0; position:relative; }
.report-timeline article:not(:last-child)::after { content:""; position:absolute; left:16px; top:42px; bottom:-4px; width:2px; background:#d9e8e4; }
.timeline-dot { width:34px; height:34px; display:grid; place-items:center; color:#fff; background:var(--primary); border:5px solid #def2ed; border-radius:50%; z-index:1; }
.report-timeline article > div > strong { font-size:.9rem; }
.report-timeline article > div > p { margin:1px 0 4px; color:var(--muted); font-size:.75rem; }
.report-timeline article > img { width:50px; height:50px; object-fit:cover; border-radius:10px; }

.signature-card { padding:16px; background:linear-gradient(180deg,#fff,#f8fbfa); border:1px solid var(--line); border-radius:18px; box-shadow:0 5px 16px rgba(22,38,35,.05); }
.signature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.signature-box { display:grid; justify-items:center; gap:3px; padding:13px 8px; text-align:center; color:var(--muted); background:#f5f7f6; border:1px dashed #cbd8d4; border-radius:14px; }
.signature-box > i { font-size:1.25rem; }
.signature-box > span,.signature-box > small { font-size:.68rem; }
.signature-box > strong { max-width:100%; color:var(--text); font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.signature-box.signed { color:#15803d; background:#edf9f0; border-style:solid; border-color:#b9e2c4; }
.teacher-note { display:flex; gap:10px; margin-top:13px; padding:12px; color:#4338ca; background:#eef2ff; border-radius:13px; }
.teacher-note p { margin:2px 0 0; color:#4b5563; font-size:.8rem; }

.teacher-report-hero { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:19px; color:#fff; background:linear-gradient(135deg,#262569,#0f766e); border-radius:20px; box-shadow:0 16px 32px rgba(31,32,100,.18); }
.teacher-report-hero h2 { margin:0; font-size:1.3rem; font-weight:850; }
.teacher-report-hero p { margin:4px 0 0; opacity:.75; font-size:.82rem; }
.report-request-list,.class-progress-list { display:grid; gap:10px; }
.report-request-card { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; align-items:center; padding:11px; border:1px solid var(--line); border-radius:15px; background:#fff; }
.report-request-card.pending { border-color:#fed7aa; background:#fffcf8; }
.report-student-avatar { width:44px; height:44px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#0f766e,#262569); border-radius:13px; font-weight:850; }
.report-request-main { min-width:0; }
.report-request-main > div:first-child { display:flex; align-items:center; gap:6px; }
.report-request-main strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.report-request-main p { margin:2px 0 5px; color:var(--muted); font-size:.72rem; }
.report-request-main small { color:var(--muted); font-size:.68rem; }
.mini-progress,.class-progress-track { height:7px; overflow:hidden; background:#e5eeeb; border-radius:999px; }
.mini-progress i,.class-progress-track i { display:block; width:var(--value); height:100%; background:linear-gradient(90deg,#0f766e,#7ac143); border-radius:inherit; animation:chart-grow 700ms ease both; }
.sign-report-btn span { display:none; }
.signed-mark { color:#16a34a; font-size:1.45rem; }
.class-progress-list article { display:grid; grid-template-columns:minmax(110px,1fr) minmax(90px,1.4fr) 38px; gap:10px; align-items:center; padding:9px 0; }
.class-progress-list article > div:first-child { min-width:0; display:grid; }
.class-progress-list article strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:.82rem; }
.class-progress-list article small { color:var(--muted); font-size:.67rem; }
.class-progress-list article b { color:var(--primary-dark); font-size:.78rem; text-align:right; }
.signature-stamp { display:grid; grid-template-columns:58px 1fr auto; gap:11px; align-items:center; padding:13px; color:#fff; background:linear-gradient(135deg,#262569,#0f766e); border-radius:16px; }
.signature-stamp img { width:58px; height:58px; object-fit:contain; background:#fff; border-radius:10px; }
.signature-stamp div { display:grid; }
.signature-stamp small,.signature-stamp span { opacity:.7; font-size:.68rem; }
.signature-stamp > i { color:#bbf7d0; font-size:1.7rem; }
.nav-badge { position:absolute; top:3px; right:calc(50% - 21px); min-width:17px; height:17px; display:grid; place-items:center; color:#fff; background:#ef4444; border-radius:999px; font-size:.58rem; }
.bottom-nav a { position:relative; }

.report-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; }
.report-activity-table { width:100%; min-width:720px; border-collapse:collapse; background:#fff; font-size:.78rem; }
.report-activity-table thead { color:#fff; background:linear-gradient(90deg,#262569,#0f766e); }
.report-activity-table th { padding:10px 9px; font-size:.68rem; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; }
.report-activity-table td { padding:9px; border-bottom:1px solid #e7eeec; color:#34433f; vertical-align:middle; }
.report-activity-table tbody tr:nth-child(even) { background:#f7fbfa; }
.report-activity-table tbody tr:last-child td { border-bottom:0; }
.report-activity-table td:first-child { color:var(--muted); text-align:center; }
.report-activity-table td img { width:42px; height:42px; object-fit:cover; border-radius:8px; box-shadow:0 3px 8px rgba(0,0,0,.12); }

.verification-qr-card { display:grid; grid-template-columns:116px minmax(0,1fr); gap:15px; align-items:center; margin-top:15px; padding:14px; color:#fff; background:linear-gradient(135deg,#242566,#0f766e); border-radius:17px; }
.verification-qr-card #signatureQr { width:116px; height:116px; display:grid; place-items:center; padding:7px; background:#fff; border-radius:11px; }
.verification-qr-card canvas,.verification-qr-card img { max-width:100%; height:auto!important; }
.verification-qr-card span { color:#bbf7d0; font-size:.7rem; font-weight:850; letter-spacing:.06em; }
.verification-qr-card h3 { margin:3px 0; font-size:1rem; }
.verification-qr-card p { margin:0 0 5px; color:rgba(255,255,255,.72); font-size:.76rem; }
.verification-qr-card a { color:#fff; font-size:.75rem; font-weight:750; }

.verification-body { min-height:100dvh; padding:22px 14px; background:radial-gradient(circle at 20% 0,rgba(122,193,67,.2),transparent 35%),linear-gradient(180deg,#edf6f3,#f8faf9); }
.verification-shell { width:min(100%,520px); margin:0 auto; display:grid; gap:14px; }
.verification-brand { display:flex; align-items:center; gap:11px; padding:12px; background:#fff; border:1px solid var(--line); border-radius:17px; box-shadow:var(--shadow); }
.verification-brand img { width:66px; height:66px; object-fit:contain; border-radius:13px; box-shadow:0 8px 16px rgba(20,30,29,.2); }
.verification-brand div { display:grid; }
.verification-brand span { color:var(--primary); font-size:.68rem; font-weight:850; letter-spacing:.09em; }
.verification-brand strong { font-size:1.1rem; }
.verification-valid { display:flex; gap:13px; align-items:center; padding:18px; color:#fff; background:linear-gradient(135deg,#15803d,#0f766e); border-radius:19px; box-shadow:0 16px 34px rgba(21,128,61,.2); }
.valid-icon { width:58px; height:58px; flex:0 0 auto; display:grid; place-items:center; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.2); border-radius:50%; font-size:1.8rem; }
.verification-valid small { opacity:.7; font-weight:800; letter-spacing:.08em; }
.verification-valid h1 { margin:2px 0; font-size:1.45rem; }
.verification-valid p { margin:0; color:rgba(255,255,255,.76); font-size:.8rem; }
.verification-document,.verification-approvers,.verification-seal,.verification-invalid { padding:16px; background:#fff; border:1px solid var(--line); border-radius:17px; box-shadow:0 7px 22px rgba(22,38,35,.06); }
.verification-document-head { display:grid; padding-bottom:11px; border-bottom:1px solid var(--line); }
.verification-document-head span { color:var(--primary); font-size:.68rem; font-weight:850; letter-spacing:.06em; }
.verification-document-head strong { margin-top:3px; }
.verification-document dl { margin:7px 0 0; }
.verification-document dl div { display:flex; justify-content:space-between; gap:12px; padding:7px 0; }
.verification-document dt { color:var(--muted); font-size:.78rem; font-weight:600; }
.verification-document dd { margin:0; text-align:right; font-size:.82rem; font-weight:800; }
.verification-approvers h2 { margin:0 0 10px; font-size:1rem; }
.verification-approvers article { display:grid; grid-template-columns:42px 1fr auto; gap:10px; align-items:center; padding:10px 0; }
.verification-approvers article+article { border-top:1px solid var(--line); }
.verification-approvers article>span { width:42px; height:42px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#262569,#0f766e); border-radius:12px; }
.verification-approvers article div { min-width:0; display:grid; }
.verification-approvers article small { color:var(--muted); font-size:.68rem; }
.verification-approvers article strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.verification-approvers article p { margin:1px 0 0; color:var(--muted); font-size:.68rem; }
.verification-approvers article>i { color:#16a34a; font-size:1.3rem; }
.verification-seal { display:flex; gap:11px; align-items:center; color:#343467; border-style:dashed; }
.verification-seal>i { font-size:1.65rem; }
.verification-seal p { margin:2px 0 0; color:var(--muted); font-size:.68rem; }
.verification-invalid { text-align:center; padding:30px 18px; }
.verification-invalid>i { color:#dc2626; font-size:3rem; }
.verification-invalid h1 { margin:9px 0 4px; font-size:1.35rem; }
.verification-invalid p { margin:0; color:var(--muted); }

@media(max-width:480px){.verification-qr-card{grid-template-columns:96px minmax(0,1fr)}.verification-qr-card #signatureQr{width:96px;height:96px}.verification-qr-card p{display:none}}

.bottom-nav-admin {
    grid-template-columns: repeat(4, 1fr);
}

.bottom-nav-three {
    grid-template-columns: repeat(3, 1fr);
}

.activity-admin-list,
.student-catalog {
    display: grid;
    gap: 12px;
}

.activity-admin-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.activity-admin-thumb {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 13px;
    background: var(--surface-soft);
}

.activity-admin-thumb.placeholder {
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 1.65rem;
}

.activity-admin-main {
    min-width: 0;
}

.activity-admin-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-admin-title h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.activity-admin-title > span {
    padding: 2px 7px;
    color: #fff;
    background: #748087;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
}

.activity-admin-main > p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .86rem;
}

.activity-admin-actions {
    display: flex;
    gap: 6px;
}

.meta-row .evidence-required {
    color: #9a3412;
    background: #fff1e8;
}

.image-preview-wrap img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.evidence-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.evidence-toggle small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
}

.evidence-toggle .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.selected-activity-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 14px;
    padding: 12px;
    border: 1px solid #cfe6df;
    border-radius: 14px;
    background: var(--surface-soft);
}

.selected-activity-detail[hidden] {
    display: none;
}

.selected-activity-detail img {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 12px;
}

.selected-activity-detail p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .84rem;
}

.evidence-upload {
    margin-top: 14px;
    padding: 14px;
    border: 1px dashed #f59e0b;
    border-radius: 14px;
    background: #fffbeb;
}

.evidence-upload[hidden] {
    display: none;
}

.evidence-upload .form-label span {
    margin-left: 5px;
    padding: 2px 7px;
    color: #fff;
    background: #d97706;
    border-radius: 999px;
    font-size: .68rem;
}

.evidence-upload small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.student-activity-card {
    width: 100%;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--text);
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.student-activity-card > img,
.student-activity-icon {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
}

.student-activity-icon {
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--surface-soft);
    font-size: 1.3rem;
}

.student-activity-copy {
    min-width: 0;
    display: grid;
}

.student-activity-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: .76rem;
}

.daily-entry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.daily-entry-card h6 i {
    color: #198754;
}

.evidence-thumb {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 11px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

#weekly-report-view {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 2px;
}

.table {
    margin-bottom: 0;
}

.table th {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

@media (max-width: 767.98px) {
    .login-body {
        overflow-y: auto;
    }

    .login-body::before {
        mask-image: none;
        opacity: 0.55;
    }

    .login-screen {
        align-items: stretch;
        padding: 0;
    }

    .login-card {
        padding: 20px 18px 16px;
    }

    .login-ornament {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 1.4rem;
    }

    .login-ornament-left {
        top: 24px;
        left: 8px;
    }

    .login-ornament-right {
        right: 8px;
        bottom: auto;
        top: 72px;
    }

    .login-card-enhanced {
        width: 100%;
        min-height: 100dvh;
        margin-top: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.9);
        padding-top: max(18px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    .login-bismillah {
        font-size: 0.74rem;
    }

    .login-abstract-cloud {
        display: none;
    }

    .abstract-chip {
        max-width: 54vw;
        padding: 7px 10px;
        font-size: 0.72rem;
        opacity: 0.74;
    }

    .chip-1 {
        top: calc(env(safe-area-inset-top) + 6px);
        left: 8px;
    }

    .chip-2 {
        top: calc(env(safe-area-inset-top) + 48px);
        right: 8px;
    }

    .chip-3 {
        bottom: calc(env(safe-area-inset-bottom) + 16px);
        right: 10px;
    }

    .chip-4 {
        bottom: calc(env(safe-area-inset-bottom) + 58px);
        left: 10px;
    }

    .chip-quote {
        display: none;
    }

    .login-form {
        padding-bottom: max(64px, calc(env(safe-area-inset-bottom) + 52px));
    }

    .login-sticky-action {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 10px 16px max(12px, env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(244, 247, 246, 0), rgba(244, 247, 246, 0.92) 32%, rgba(244, 247, 246, 0.98) 100%);
        backdrop-filter: blur(8px);
    }

    .login-sticky-action .btn {
        min-height: 52px;
        border-radius: 14px;
    }

    .pwa-install-wrap {
        margin: 10px 2px 0;
    }

    .app-splash-logo {
        width: 96px;
        height: 96px;
    }

    .app-splash h2 {
        font-size: 1.36rem;
    }

    .login-brand {
        margin-top: 48px;
    }

    .login-logo-shell {
        width: 96px;
        height: 96px;
    }

    .login-card h1 {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .pwa-install-wrap {
        margin-top: 14px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-tile {
        min-height: 94px;
        display: grid;
        grid-template-columns: 46px 1fr;
        align-items: center;
    }

    .quick-tile small {
        grid-column: 2;
    }

    .panel-section {
        padding: 14px;
    }

    .section-heading {
        align-items: center;
    }

    .btn-compact span {
        display: none;
    }

    .list-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .action-row {
        width: 100%;
    }

    .action-row .icon-btn {
        width: calc(50% - 3px);
    }

    .table-responsive {
        margin: 0 -14px;
        padding: 0 14px;
    }

    .table {
        min-width: 560px;
    }

    #daily-entries {
        max-height: 380px;
    }

    .bottom-nav-student {
        gap: 2px;
    }

    .bottom-nav-student span {
        font-size: 0.68rem;
    }

    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric-card { padding: 12px; }
    .admin-insight-hero { padding: 18px; }
    .progress-ring { width: 82px; height: 82px; }

    .activity-admin-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .activity-admin-thumb {
        width: 64px;
        height: 64px;
    }

    .activity-admin-actions {
        grid-column: 1 / -1;
    }

    .activity-admin-actions .icon-btn {
        width: calc(50% - 3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-fullscreen-sm-down .modal-content {
    max-height: 100dvh;
}

.native-sheet-modal .modal-dialog {
    margin: 0;
    max-width: none;
}

.native-sheet-modal .modal-content {
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #f8faf9 0%, #f3f7f6 100%);
}

.native-sheet-modal .modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    background: rgba(248, 251, 250, 0.9);
    border-bottom: 1px solid #d9e5e1;
    backdrop-filter: blur(12px);
}

.native-sheet-modal .modal-title {
    font-size: 1.2rem;
    font-weight: 800;
}

.native-sheet-modal .sheet-grabber {
    width: 44px;
    height: 5px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: #c6d7d1;
}

.native-sheet-modal .modal-body {
    overflow-y: auto;
    padding: 12px 16px 110px;
    -webkit-overflow-scrolling: touch;
}

.native-sheet-modal .modal-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 16px max(12px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(243, 247, 246, 0), rgba(243, 247, 246, 0.95) 35%, rgba(243, 247, 246, 1) 100%);
    border-top: 0;
}

.native-sheet-modal .modal-footer .btn {
    min-height: 50px;
    border-radius: 12px;
    font-weight: 700;
}

.native-sheet-modal .form-control,
.native-sheet-modal .form-select {
    border-radius: 12px;
}

/* Dialog aplikasi: konfirmasi yang konsisten pada seluruh perangkat. */
.app-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 25, 23, 0.55);
    opacity: 0;
    backdrop-filter: blur(6px);
    transition: opacity 180ms ease;
}

.app-dialog-backdrop.show { opacity: 1; }

.app-dialog {
    width: min(100%, 390px);
    padding: 26px 22px 20px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(3, 25, 23, 0.24);
    text-align: center;
    transform: translateY(16px) scale(0.96);
    transition: transform 200ms cubic-bezier(.2,.85,.32,1.15);
}

.app-dialog-backdrop.show .app-dialog { transform: translateY(0) scale(1); }
.app-dialog-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 20px; color: #087f76; background: #e4f7f3; font-size: 1.65rem; }
.app-dialog-icon.danger { color: #dc3545; background: #fff0f1; }
.app-dialog h2 { margin: 0 0 8px; color: #102522; font-size: 1.25rem; font-weight: 800; }
.app-dialog p { margin: 0 0 20px; color: #667773; line-height: 1.55; }
.app-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-dialog-actions .btn { min-height: 48px; border-radius: 14px; font-weight: 750; }

/* Foto siswa pada daftar kelas dan profil. */
.student-avatar-photo {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border: 3px solid #e4f7f3;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 7px 18px rgba(8, 127, 118, 0.13);
}
.student-avatar-photo-large { width: 68px; height: 68px; border-radius: 22px; }
.student-photo-preview { display: grid; place-items: center; width: 160px; height: 160px; margin: 18px auto 14px; overflow: hidden; border: 5px solid #fff; border-radius: 42px; color: #087f76; background: linear-gradient(145deg, #e4f7f3, #ccece7); box-shadow: 0 18px 38px rgba(8, 127, 118, 0.2); font-size: 4rem; }
.student-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-student-name { margin-bottom: 8px; text-align: center; font-size: 1.35rem; font-weight: 800; }
.photo-modal-actions { grid-template-columns: 1fr 1.2fr !important; }

/* Ringkasan wali kelas, preview laporan, dan hasil absensi. */
.week-activity-chart { display: grid; grid-template-columns: repeat(7, minmax(48px, 1fr)); gap: 12px; min-height: 210px; padding: 18px 8px 4px; overflow-x: auto; }
.week-chart-column { display: grid; grid-template-rows: 24px 140px 24px; gap: 6px; min-width: 48px; color: #60746f; text-align: center; }
.week-chart-column strong { color: #0f766e; font-size: .88rem; }
.week-chart-column > div { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #f3f9f8, #e8f3f1); }
.week-chart-column i { width: min(34px, 72%); height: var(--bar-height); min-height: 6px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #36b9aa, #0f766e); box-shadow: 0 6px 14px rgba(15,118,110,.2); transition: height .4s ease; }
.week-chart-column span { font-size: .76rem; font-weight: 700; white-space: nowrap; }
.dashboard-student-progress { display: grid; gap: 10px; }
.dashboard-student-progress article { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(220px, 1.2fr) 54px; align-items: center; gap: 18px; padding: 14px; border: 1px solid #deebe7; border-radius: 18px; background: #fbfdfc; }
.dashboard-student-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dashboard-student-identity > img, .dashboard-student-identity > span { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 16px; object-fit: cover; color: #fff; background: linear-gradient(145deg,#12857c,#225091); font-weight: 800; }
.dashboard-student-identity div { min-width: 0; }.dashboard-student-identity strong,.dashboard-student-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.dashboard-student-identity small,.dashboard-progress-value small { color: #6a7a76; }
.dashboard-progress-value .mini-progress { margin-bottom: 5px; }.dashboard-student-progress article > b { color: #0f766e; text-align: right; }
.report-preview-profile { display: flex; align-items: center; gap: 15px; padding: 15px; border-radius: 20px; background: linear-gradient(135deg,#edf9f6,#edf4ff); }
.report-preview-avatar { display: grid; place-items: center; flex: 0 0 70px; width: 70px; height: 70px; overflow: hidden; border: 3px solid #fff; border-radius: 22px; color: #fff; background: linear-gradient(145deg,#0f766e,#224b8f); font-size: 1.6rem; font-weight: 800; box-shadow: 0 8px 20px rgba(20,80,72,.14); }.report-preview-avatar img { width: 100%; height: 100%; object-fit: cover; }.report-preview-profile h3 { margin: 0; font-size: 1.18rem; font-weight: 800; }.report-preview-profile p,.report-preview-profile small { margin: 3px 0 0; color: #657771; }
.report-preview-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }.report-preview-metrics article { display: grid; padding: 13px; border: 1px solid #deebe7; border-radius: 16px; text-align: center; }.report-preview-metrics strong { color: #0f766e; font-size: 1.1rem; }.report-preview-metrics span { color: #6a7a76; font-size: .75rem; }
.report-preview-progress { margin-top: 12px; }.report-preview-progress small { display: block; margin-top: 6px; color: #64736f; }.report-preview-heading { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; }.report-preview-heading h4 { margin: 0; font-size: 1rem; font-weight: 800; }.report-preview-heading span { color: #0f766e; font-size: .82rem; font-weight: 700; }
.report-preview-entries { display: grid; gap: 8px; max-height: 280px; overflow-y: auto; }.report-preview-entries article { display: grid; grid-template-columns: minmax(160px,1fr) auto auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #deebe7; border-radius: 14px; background: #fbfdfc; }.report-preview-entries strong,.report-preview-entries small { display: block; }.report-preview-entries small { color: #6b7b77; font-size: .76rem; }.report-entry-tags { display: flex; flex-wrap: wrap; gap: 5px; }.report-entry-tags span,.report-preview-entries a { padding: 5px 8px; border-radius: 9px; color: #0f766e; background: #e8f6f3; font-size: .72rem; font-weight: 700; text-decoration: none; }
.attendance-result-list { display: grid; gap: 10px; }.attendance-result-list article { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px; border: 1px solid #deebe7; border-radius: 17px; background: #fbfdfc; }.attendance-result-person { display: flex; align-items: center; gap: 11px; min-width: 0; }.attendance-result-person > img,.attendance-result-person > span { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 15px; object-fit: cover; color: #fff; background: linear-gradient(145deg,#0f766e,#315a96); font-weight: 800; }.attendance-result-person strong,.attendance-result-person small { display: block; }.attendance-result-person small,.attendance-result-detail small { color: #6a7a76; }.attendance-result-detail { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; text-align: right; }.attendance-result-badge { padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }.attendance-result-badge.present { color: #18713c; background: #e5f7e9; }.attendance-result-badge.absent { color: #a3222a; background: #fff0f1; }
.download-template-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; border-radius: 16px; text-align: left; }.download-template-btn > i { font-size: 1.55rem; }.download-template-btn span,.download-template-btn small { display: block; }.download-template-btn small { opacity: .72; font-weight: 500; }

@media (max-width: 700px) {
    .dashboard-student-progress article { grid-template-columns: 1fr 46px; gap: 10px; }.dashboard-progress-value { grid-column: 1 / -1; grid-row: 2; }.report-preview-metrics { grid-template-columns: 1fr; }.report-preview-entries article { grid-template-columns: 1fr; }.attendance-result-list article { align-items: flex-start; }.attendance-result-detail { flex: 0 0 auto; }.week-activity-chart { gap: 7px; }
}
