/* =========================================================
   SELF-EMOTIONAL CHECK UNTUK GURU
   STYLE.CSS LENGKAP
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}


/* =========================================================
   BACKGROUND UMUM
   ========================================================= */

.site-bg {
    background: #f5f7fb;
}


/* =========================================================
   AUTH / LOGIN / REGISTER
   CSS LAMA TETAP DIPERTAHANKAN
   ========================================================= */

.auth-bg {
    background: linear-gradient(135deg, #eaf1ff, #f8fbff);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-card {
    background: #fff;
    width: min(450px, 94%);
    margin: 60px auto;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}


/* =========================================================
   HERO LAMA
   Tetap dipertahankan untuk halaman lain
   ========================================================= */

.hero {
    padding: 70px 0;
    background: #f5f7fb;
    min-height: calc(100vh - 60px);
}

.hero-card {
    background: linear-gradient(135deg, #3659d8, #2745b8);
    color: #fff;
    border-radius: 24px;
    padding: 55px;
    box-shadow: 0 20px 50px rgba(37, 68, 170, .25);
}

.hero-card h1 {
    font-weight: 800;
}


/* =========================================================
   FEATURE CARD LAMA
   ========================================================= */

.feature-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 8px;
}


/* =========================================================
   CONTENT CARD
   ========================================================= */

.content-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}


/* =========================================================
   QUIZ HEADER
   ========================================================= */

.quiz-header,
.result-header {
    background: #2d6cdf;
    color: #fff;
    border-radius: 8px;
    padding: 14px 18px;
}


/* =========================================================
   INFO BOX
   ========================================================= */

.info-box {
    background: #dff7fb;
    border-left: 5px solid #25b7c4;
    padding: 18px;
    border-radius: 8px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
    font-weight: 800;
    font-size: 18px;
    color: #263238;
    border-bottom: 2px solid #e6eaf0;
    padding-bottom: 8px;
}


/* =========================================================
   QUESTION CARD
   ========================================================= */

.question-card {
    position: relative;
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    padding: 20px 20px 16px 55px;
    background: #fff;
}

.question-number {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2d6cdf;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.question-text {
    font-size: 16px;
    margin-bottom: 14px;
}

.answer-option {
    border-top: 1px solid #f0f2f5;
    padding: 8px 0;
}


/* =========================================================
   RESULT
   ========================================================= */

.result-circle {
    width: fit-content;
    min-width: 230px;
    max-width: 200%;
    min-height: 80px;
    margin: 0 auto;
    padding: 18px 30px;

    border-radius: 20px;
    border: 3px solid #dbe5f1;
    background: #f8fbff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1f5fae;
    font-size: 20px;
    font-weight: 700;
    text-align: center;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.result-label {
    color: #2c9b61;
}

.result-progress {
    max-width: 700px;
    height: 12px;
}

.result-box {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    padding: 18px;
}


/* =========================================================
   STAT CARD
   ========================================================= */

.stat-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
}

.stat-card b {
    display: block;
    font-size: 30px;
    color: #2d6cdf;
}

.stat-card span {
    color: #6c757d;
}


/* =========================================================
   =========================================================
   BERANDA BARU
   DESAIN MENGIKUTI GAMBAR KEDUA
   =========================================================
   ========================================================= */


/* =========================================================
   NAVBAR BERANDA
   ========================================================= */

.navbar-peace {
    background: #ffffff;
    min-height: 82px;
    border-bottom: 1px solid #e5edf8;
    box-shadow: 0 2px 12px rgba(30, 80, 150, 0.05);

    position: relative;
    z-index: 100;
}


/* Container navbar */

.navbar-peace .container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;

    transition: 0.3s;
}

.brand-wrapper:hover {
    text-decoration: none;
}


/* Logo Tarakanita */

.logo-tarakanita {
    width: 100px;
    height: 100px;

    object-fit: contain;

    display: block;
}


/* Tulisan brand */

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}


/* Nama aplikasi */

.brand-title {
    font-size: 40px;

    font-weight: 800;

    color: #0754b8;

    letter-spacing: 0.5px;
}


/* Subjudul */

.brand-subtitle {
    font-size: 10px;

    font-weight: 700;

    color: #4b76a8;

    margin-top: 5px;

    letter-spacing: 0.7px;
}


/* =========================================================
   BUTTON NAVBAR
   ========================================================= */

.navbar-buttons {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* Button Login */

.btn-login {
    border: 1.5px solid #1769d5;

    color: #1769d5;

    background: #ffffff;

    border-radius: 25px;

    padding: 9px 24px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #1769d5;

    color: #ffffff;

    transform: translateY(-1px);
}


/* Button Daftar */

.btn-register {
    border-radius: 25px;

    padding: 10px 26px;

    font-weight: 600;

    color: #ffffff;

    background: #1976ed;

    border: none;

    box-shadow: 0 6px 15px rgba(25, 118, 237, 0.25);

    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #075bc4;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 9px 20px rgba(25, 118, 237, 0.30);
}


/* =========================================================
   HERO BERANDA BARU
   ========================================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    padding: 60px 0 45px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(99, 179, 255, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8fcff 0%,
            #edf7ff 100%
        );
}


/* Efek dekorasi bagian atas */

.hero-section::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(35, 135, 235, 0.05);

    top: -120px;
    left: -100px;
}


/* Efek dekorasi bagian bawah */

.hero-section::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: rgba(255, 205, 70, 0.08);

    right: -80px;
    bottom: -100px;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 3;
}


/* Label kecil */

.small-label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #1976ed;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 17px;
}

.small-label i {
    font-size: 17px;
}


/* =========================================================
   JUDUL HERO
   ========================================================= */

.hero-content h1 {
    font-size: clamp(40px, 5vw, 62px);

    line-height: 1.08;

    font-weight: 800;

    color: #123d78;

    margin-bottom: 22px;

    letter-spacing: -1.5px;
}


/* Bagian judul berwarna biru */

.hero-content h1 span {
    display: block;

    color: #1473df;
}


/* =========================================================
   DESKRIPSI HERO
   ========================================================= */

.hero-description {
    max-width: 570px;

    font-size: 17px;

    line-height: 1.8;

    color: #5b7595;

    margin-bottom: 30px;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}


/* =========================================================
   BUTTON UTAMA
   ========================================================= */

.btn-primary-main {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #1976ed;

    color: #ffffff;

    border-radius: 30px;

    padding: 14px 25px;

    font-size: 15px;

    font-weight: 700;

    border: none;

    box-shadow:
        0 9px 20px rgba(25, 118, 237, 0.25);

    transition: all 0.3s ease;
}

.btn-primary-main:hover {
    background: #075bc4;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(25, 118, 237, 0.30);
}


/* =========================================================
   BUTTON LOGIN HERO
   ========================================================= */

.btn-secondary-main {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    background: #ffffff;

    color: #1769d5;

    border: 1.5px solid #1976ed;

    border-radius: 30px;

    padding: 13px 25px;

    font-size: 15px;

    font-weight: 700;

    transition: all 0.3s ease;
}

.btn-secondary-main:hover {
    background: #1976ed;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   INFO DI BAWAH BUTTON
   ========================================================= */

.hero-info {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    color: #55779f;

    font-size: 13px;

    font-weight: 600;
}

.hero-info span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}

.hero-info i {
    color: #1976ed;
}

.hero-info .separator {
    color: #a4bad3;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image-wrapper {
    position: relative;

    min-height: 440px;

    display: flex;

    justify-content: center;

    align-items: center;
}


/* Gambar guru */

.hero-image {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 600px;

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 25px rgba(30, 80, 140, 0.12)
        );

    transition: transform 0.4s ease;
}


/* Sedikit efek ketika cursor diarahkan */

.hero-image:hover {
    transform: translateY(-5px);
}


/* =========================================================
   DEKORASI HERO
   ========================================================= */

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    z-index: 1;
}


/* Lingkaran besar */

.decoration-one {
    width: 330px;

    height: 330px;

    right: 30px;

    top: 40px;

    background: rgba(75, 166, 255, 0.10);
}


/* Lingkaran kecil */

.decoration-two {
    width: 150px;

    height: 150px;

    left: 40px;

    bottom: 20px;

    background: rgba(255, 205, 70, 0.14);
}


/* =========================================================
   FEATURES SECTION
   ========================================================= */

.features-section {
    background: #f5faff;

    padding: 35px 0 55px;

    position: relative;
}


/* =========================================================
   FEATURE CARD BERANDA BARU
   ========================================================= */

/*
   Menggunakan selector khusus supaya tidak
   merusak feature-card lama.
*/

.features-section .feature-card {
    height: 100%;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #e1edf8;

    border-radius: 18px;

    padding: 23px 20px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    box-shadow:
        0 8px 25px rgba(40, 100, 160, 0.06);

    transition: all 0.3s ease;
}


/* Hover card */

.features-section .feature-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 30px rgba(40, 100, 160, 0.12);

    border-color: #d4e6f7;
}


/* =========================================================
   FEATURE ICON
   ========================================================= */

.features-section .feature-icon {
    min-width: 65px;

    width: 65px;

    height: 65px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

    margin-bottom: 0;

    flex-shrink: 0;
}


/* Icon biru */

.icon-blue {
    background: #e5f2ff;

    color: #1473df;
}


/* Icon hijau */

.icon-green {
    background: #e7f8ed;

    color: #22a45a;
}


/* Icon kuning */

.icon-yellow {
    background: #fff6d9;

    color: #e8a800;
}


/* Icon ungu */

.icon-purple {
    background: #eee9ff;

    color: #7451d8;
}


/* =========================================================
   FEATURE TITLE
   ========================================================= */

.features-section .feature-card h5 {
    color: #1264c5;

    font-size: 16px;

    font-weight: 750;

    margin-bottom: 7px;

    line-height: 1.4;
}


/* =========================================================
   FEATURE DESCRIPTION
   ========================================================= */

.features-section .feature-card p {
    color: #68819d;

    font-size: 13px;

    line-height: 1.6;

    margin: 0;
}


/* =========================================================
   FOOTER BERANDA
   ========================================================= */

.footer {
    background: #ffffff;

    border-top: 1px solid #e5edf8;

    text-align: center;

    padding: 20px 0;

    color: #7790ab;

    font-size: 13px;
}

.footer p {
    margin: 0;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 991px) {

    /* Navbar */

    .navbar-peace {
        min-height: 115px;
    }

    .navbar-peace .container {
        min-height: 115px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 9px;
    }


    /* Hero */

    .hero-section {
        padding: 45px 0;
    }

    .hero-content {
        text-align: center;
    }

    .small-label {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-info {
        justify-content: center;
    }


    /* Image */

    .hero-image-wrapper {
        min-height: auto;

        margin-top: 30px;
    }

    .hero-image {
        max-width: 520px;
    }
}


/* =========================================================
   RESPONSIVE HP
   ========================================================= */

@media (max-width: 576px) {

    /* =========================
       NAVBAR
       ========================= */

    .navbar-peace .container {
        padding-left: 15px;

        padding-right: 15px;
    }


    /* Logo */

    .logo-tarakanita {
        width: 42px;

        height: 42px;
    }


    /* Brand */

    .brand-wrapper {
        gap: 8px;
    }

    .brand-title {
        font-size: 14px;
    }

    .brand-subtitle {
        font-size: 8px;

        letter-spacing: 0.3px;
    }


    /* Navbar buttons */

    .navbar-buttons {
        gap: 5px;
    }

    .btn-login,
    .btn-register {
        padding: 7px 12px;

        font-size: 12px;
    }


    /* =========================
       HERO
       ========================= */

    .hero-section {
        padding: 35px 0;
    }


    /* Hero title */

    .hero-content h1 {
        font-size: 37px;

        letter-spacing: -0.8px;
    }


    /* Description */

    .hero-description {
        font-size: 15px;

        line-height: 1.7;
    }


    /* Buttons */

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn-primary-main,
    .btn-secondary-main {
        justify-content: center;

        width: 100%;
    }


    /* Info */

    .hero-info {
        font-size: 11px;

        gap: 6px;

        justify-content: center;
    }


    /* Decoration */

    .hero-decoration {
        display: none;
    }


    /* Image */

    .hero-image {
        max-width: 100%;
    }


    /* Feature */

    .features-section .feature-card {
        padding: 20px 16px;
    }
}


/* =========================================================
   RESPONSIVE EXTRA SMALL
   ========================================================= */

@media (max-width: 400px) {

    .brand-title {
        font-size: 12px;
    }

    .brand-subtitle {
        font-size: 7px;
    }

    .logo-tarakanita {
        width: 80px;

        height: 80px;
    }

    .btn-login,
    .btn-register {
        padding: 6px 9px;

        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
    }
}


/* =========================================================
   MEDIA QUERY LAMA
   ========================================================= */

@media (max-width: 768px) {

    .hero-card {
        padding: 30px 20px;
    }

    .content-card {
        padding: 18px;
    }

}
/* =========================================================
   HISTORY / RIWAYAT - GRAFIK 1 MINGGU & 1 BULAN
   ========================================================= */
.history-page-card {
    overflow: hidden;
}

.history-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.history-period-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.history-period-filter .btn {
    min-width: 105px;
    border-radius: 10px;
    font-weight: 700;
}

.history-period-note {
    background: #f3f7ff;
    border: 1px solid #dce8ff;
    border-radius: 10px;
    padding: 12px 14px;
    color: #45526a;
}

.history-summary-card {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 5px 18px rgba(26, 55, 99, 0.05);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-summary-title {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.history-summary-value {
    font-size: 30px;
    line-height: 1.15;
    color: #1f5fae;
}

.history-summary-text {
    font-size: 22px;
}

.history-summary-date {
    font-size: 18px;
}

.history-summary-card small {
    color: #8a94a6;
}

.history-chart-card {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 5px 18px rgba(26, 55, 99, 0.05);
}

.history-chart-heading h5 {
    font-weight: 800;
    color: #263238;
}

.history-chart-wrap {
    position: relative;
    width: 100%;
    margin-top: 18px;
}

.history-bar-wrap {
    height: 360px;
}

.history-pie-wrap {
    height: 315px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.history-category-summary {
    margin-top: 15px;
    display: grid;
    gap: 9px;
}

.history-category-summary > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #525b67;
    font-size: 14px;
}

.history-category-summary strong {
    margin-left: auto;
    color: #263238;
}

.history-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 10px;
}

.dot-good {
    background: #2c9b61;
}

.dot-medium {
    background: #f0ad4e;
}

.dot-attention {
    background: #dc6b6b;
}

.history-empty-state {
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    margin-top: 18px;
    background: #f8fafc;
    border: 1px dashed #d8e0ea;
    border-radius: 12px;
    color: #7a8594;
}

.history-table-section {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 5px 18px rgba(26, 55, 99, 0.05);
}

.history-table thead th {
    background: #f5f8fc;
    color: #475569;
    border-bottom: 1px solid #dfe6ef;
    font-size: 13px;
    white-space: nowrap;
}

.history-table tbody td {
    border-color: #edf1f5;
    vertical-align: middle;
}

.history-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.history-badge-good {
    background: #e8f7ef;
    color: #227949;
}

.history-badge-medium {
    background: #fff6df;
    color: #9a6a00;
}

.history-badge-attention {
    background: #fdecec;
    color: #a94444;
}

@media (max-width: 767.98px) {
    .history-topbar {
        align-items: stretch;
    }

    .history-period-filter {
        width: 100%;
    }

    .history-period-filter .btn {
        flex: 1;
    }

    .history-bar-wrap {
        height: 320px;
    }

    .history-pie-wrap {
        height: 290px;
    }

    .history-chart-card,
    .history-table-section {
        padding: 16px;
    }
}


/* HALAMAN TENTANG: style khusus, mengikuti file sebelumnya */
.info-page {
    --peace-blue: #0f74df;
    --peace-blue-dark: #0a4f9e;
    --peace-text: #526d8b;
    background: #f8fcff;
    color: #173b64;
    overflow-x: hidden;
}

.info-page .container {
    max-width: 1180px;
}

.info-page .peace-navbar,
.home-page .peace-navbar {
    background: rgba(255,255,255,.97);
}

.info-page .peace-brand,
.info-page .peace-brand-copy,
.info-page .peace-menu,
.info-page .peace-nav-actions,
.info-page .peace-logo,
.info-page .peace-toggler,
.info-page .peace-btn-login,
.info-page .peace-btn-register,
.info-page .peace-btn-primary,
.info-page .peace-btn-outline,
.info-page .peace-kicker,
.info-page .peace-section-heading,
.info-page .peace-benefit-card,
.info-page .peace-feature-icon,
.info-page .peace-step-card,
.info-page .peace-step-number,
.info-page .peace-step-image,
.info-page .peace-footer,
.info-page .peace-footer-inner {
    /* style utamanya diwarisi melalui selector tambahan di bawah */
}

/* Duplikasi selector penting agar komponen yang awalnya scoped .home-page
   tetap memiliki tampilan sama pada halaman tentang. */
.info-page .peace-navbar {
    border-bottom: 1px solid #e8f0f7;
    box-shadow: 0 4px 18px rgba(24,76,120,.06);
    backdrop-filter: blur(12px);
    padding: 10px 0;
}

.info-page .peace-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    margin-right: 28px;
}

.info-page .peace-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.info-page .peace-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.info-page .peace-brand-copy strong {
    color: #0758aa;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .5px;
}

.info-page .peace-brand-copy small {
    color: #5580a9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
    margin-top: 6px;
}

.info-page .peace-menu {
    gap: 7px;
}

.info-page .peace-menu .nav-link {
    color: #315f8b;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 13px;
    border-radius: 12px;
    transition: .25s ease;
}

.info-page .peace-menu .nav-link:hover,
.info-page .peace-menu .nav-link.active,
.home-page .peace-menu .nav-link.active {
    background: #eef7ff;
    color: #0d6fd4;
}

.info-page .peace-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-page .peace-btn-login,
.info-page .peace-btn-register {
    min-width: 90px;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 800;
}

.info-page .peace-btn-login {
    border: 1.5px solid #0f74df;
    color: #0f67c5;
    background: #fff;
}

.info-page .peace-btn-register {
    border: 1.5px solid #0f74df;
    background: linear-gradient(135deg,#0f7ae6,#0870d8);
    color: #fff;
    box-shadow: 0 9px 18px rgba(15,116,223,.22);
}

.info-page .peace-btn-primary,
.info-page .peace-btn-outline {
    min-height: 50px;
    border-radius: 999px;
    padding: 13px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 850;
    transition: .25s ease;
}

.info-page .peace-btn-primary {
    color: #fff;
    border: 1.5px solid #0f78e1;
    background: linear-gradient(135deg,#0c83ee,#0871d7);
    box-shadow: 0 12px 25px rgba(13,119,224,.24);
}

.info-page .peace-btn-outline {
    color: #0b62bd;
    border: 1.5px solid #0f78e1;
    background: #fff;
}

.info-page .peace-kicker {
    display: inline-block;
    color: #0d73d6;
    background: #eaf6ff;
    border: 1px solid #d5ebfb;
    border-radius: 999px;
    padding: 7px 13px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.info-page .peace-section-heading {
    max-width: 680px;
    margin: 0 auto 38px;
    text-align: center;
}

.info-page .peace-section-heading h2 {
    color: #0b3f7e;
    font-size: clamp(30px,3vw,42px);
    font-weight: 900;
    letter-spacing: -1px;
}

.info-page .peace-section-heading h2 span {
    color: #0b7ce4;
}

.info-page .peace-section-heading p {
    color: #69819a;
    font-size: 15px;
}

.info-page .peace-benefit-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 25px 23px;
    background: #fff;
    border: 1px solid #e3eef7;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(31,91,143,.06);
}

.info-page .peace-feature-icon {
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.info-page .peace-feature-blue {
    background:#e8f4ff;
    color:#1475d6;
}

.info-page .peace-feature-green {
    background:#e8f9ef;
    color:#20a364;
}

.info-page .peace-feature-yellow {
    background:#fff6da;
    color:#e7a400;
}


.info-page .peace-benefit-card h3 {
    color: #0b4b92;
    font-size: 17px;
    font-weight: 850;
    margin: 3px 0 7px;
}

.info-page .peace-benefit-card p {
    color: #6c8299;
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

.info-page .peace-step-card {
    position: relative;
    height: 100%;
    min-height: 320px;
    text-align: center;
    padding: 24px 22px 26px;
    background: #fff;
    border: 1px solid #e3eef7;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(31,91,143,.06);
    overflow: hidden;
}

.info-page .peace-step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #0d79df;
    font-size: 20px;
    font-weight: 900;
}

.info-page .peace-step-purple {
    background:#7d58e8;
}

.info-page .peace-step-orange {
    background:#f39a2a;
}


.info-page .peace-step-image {
    width: 175px;
    height: 155px;
    object-fit: contain;
    margin: 20px auto 10px;
}

.info-page .peace-step-card h3 {
    color: #0c4a91;
    font-size: 18px;
    font-weight: 850;
}

.info-page .peace-step-card p {
    color: #6d8297;
    font-size: 13px;
    line-height: 1.65;
}

.info-page .peace-footer {
    background: #fff;
    border-top: 1px solid #e3edf6;
    padding: 22px 0;
    color: #7690a9;
}

.info-page .peace-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.info-page .peace-footer-inner > div {
    display: flex;
    flex-direction: column;
}

.info-page .peace-footer strong {
    color: #0b5bab;
}

/* BERANDA RINGKAS */
.home-page .peace-home-highlight {
    padding: 52px 0 68px;
    background: #f8fcff;
}

.home-page .peace-home-highlight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid #deedf8;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(31,91,143,.07);
}

.home-page .peace-home-highlight-card h2 {
    color: #0b3f7e;
    font-size: clamp(25px,3vw,34px);
    font-weight: 900;
    margin-bottom: 8px;
}

.home-page .peace-home-highlight-card p {
    max-width: 650px;
    margin: 0;
    color: #69819a;
    line-height: 1.7;
}

/* HALAMAN TENTANG */
.info-page .peace-about-hero {
    padding: 72px 0 58px;
    background:
        radial-gradient(circle at 82% 20%, rgba(104,190,255,.20), transparent 30%),
        linear-gradient(135deg,#f5fbff,#eaf6ff);
}

.info-page .peace-about-hero h1 {
    color: #0b3f7e;
    font-size: clamp(42px,5vw,64px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -1.8px;
    margin-bottom: 20px;
}

.info-page .peace-about-hero h1 span {
    color: #0b7ce4;
}

.info-page .peace-about-hero p {
    max-width: 700px;
    color: #58738f;
    font-size: 17px;
    line-height: 1.8;
}

.info-page .peace-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.info-page .peace-about-visual {
    position: relative;
    text-align: center;
}

.info-page .peace-about-visual img {
    width: min(100%,460px);
    filter: drop-shadow(0 18px 24px rgba(29,91,148,.12));
}

.info-page .peace-about-section {
    padding: 72px 0;
    background: #fff;
}

.info-page .peace-about-soft {
    background: #f4faff;
}

.info-page .peace-about-intro,
.info-page .peace-info-box {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
    padding: 34px;
    background: #fff;
    border: 1px solid #dfedf8;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(31,91,143,.06);
}

.info-page .peace-about-icon,
.info-page .peace-info-box-icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 29px;
    color: #0f74df;
    background: #e9f5ff;
}

.info-page .peace-about-intro h2,
.info-page .peace-info-box h2 {
    color: #0b3f7e;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 14px;
}

.info-page .peace-about-intro p,
.info-page .peace-info-box p {
    color: #657f98;
    line-height: 1.8;
    margin-bottom: 10px;
}

.info-page .peace-about-cta {
    padding: 70px 0;
    background: #f4faff;
}

.info-page .peace-about-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 40px;
    border-radius: 26px;
    background: linear-gradient(135deg,#e7f5ff,#d9efff);
    border: 1px solid #d2e9f8;
}

.info-page .peace-about-cta-card h2 {
    color: #0b3f7e;
    font-size: 31px;
    font-weight: 900;
    margin-bottom: 8px;
}

.info-page .peace-about-cta-card p {
    color: #5e7892;
    margin: 0;
}

@media (max-width: 991.98px) {
    .home-page .peace-home-highlight-card,
    .info-page .peace-about-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-page .peace-navbar .navbar-collapse {
        margin-top: 10px;
        padding: 13px;
        background: #fff;
        border: 1px solid #e4eef7;
        border-radius: 16px;
    }

    .info-page .peace-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .home-page .peace-home-highlight-card {
        padding: 25px 22px;
    }

    .info-page .peace-logo {
        width: 47px;
        height: 47px;
    }

    .info-page .peace-brand-copy strong {
        font-size: 20px;
    }

    .info-page .peace-about-hero {
        padding: 48px 0 40px;
        text-align: center;
    }

    .info-page .peace-about-actions {
        flex-direction: column;
    }

    .info-page .peace-about-actions .btn {
        width: 100%;
    }

    .info-page .peace-about-intro,
    .info-page .peace-info-box {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }

    .info-page .peace-about-icon,
    .info-page .peace-info-box-icon {
        margin: 0 auto;
    }

    .info-page .peace-about-intro,
    .info-page .peace-info-box {
        text-align: center;
    }

    .info-page .peace-about-cta-card {
        padding: 28px 22px;
        text-align: center;
        align-items: stretch;
    }
}


/* =========================================================
   TAMBAHAN TERBATAS: BUTTON TENTANG PEACE
   Warna dan bentuk mengikuti button Login di style sebelumnya.
   ========================================================= */
.navbar-peace .btn-about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1.5px solid #1769d5;
    border-radius: 25px;
    padding: 9px 24px;
    background: #eaf3ff;
    color: #0754b8;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(25, 118, 237, .08);
    transition: background-color .25s ease, color .25s ease,
                transform .25s ease, box-shadow .25s ease;
}
.navbar-peace .btn-about:hover,
.navbar-peace .btn-about.active {
    color: #fff;
    background: #1769d5;
    border-color: #1769d5;
    box-shadow: 0 6px 15px rgba(25, 118, 237, .2);
}
.navbar-peace .btn-about:hover {
    transform: translateY(-2px);
}
.navbar-peace .btn-about:focus-visible {
    outline: 3px solid #86b9ff;
    outline-offset: 3px;
}
.info-page .peace-about-actions .btn,
.info-page .peace-about-cta-card .btn {
    white-space: normal;
    text-align: center;
}
.info-page .peace-about-cta-card .btn {
    flex-shrink: 0;
}
.info-page .peace-about-visual img {
    max-height: 380px;
    object-fit: contain;
}
@media (max-width: 767px) {
    .navbar-peace .container:has(.btn-about) {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .navbar-peace .navbar-buttons:has(.btn-about) {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media (max-width: 576px) {
    .navbar-peace .btn-about {
        padding: 7px 12px;
        font-size: 12px;
    }
}
@media (max-width: 400px) {
    .navbar-peace .btn-about {
        padding: 6px 9px;
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .navbar-peace .btn-about {
        transition: none;
    }
    .navbar-peace .btn-about:hover {
        transform: none;
    }
}


/* =========================================================
   DASHBOARD GURU PEACE
   Ukuran diselaraskan dengan beranda dan Tentang PEACE.
   Aturan khusus body.peace-dashboard-page.
   ========================================================= */
.peace-dashboard-page {
    color: #224364;
    background: linear-gradient(180deg, #f3f8ff 0%, #f7faff 75%, #f5f7fb 100%);
    min-height: 100vh;
}
.peace-dashboard-page .container {
    max-width: 1180px;
}

.peace-dashboard-page .dash-navbar {
    background: #fff;
    border-bottom: 1px solid #e3edf8;
    box-shadow: 0 2px 14px rgba(31, 88, 140, .04);
}
.peace-dashboard-page .dash-nav-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.peace-dashboard-page .dash-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

/* UKURAN LOGO TARAKANITA DASHBOARD — LAYAR BIASA
   Ukuran default 100 x 100px, mengikuti logo beranda. Ubah width dan height sesuai kebutuhan. */
.peace-dashboard-page .dash-brand img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.peace-dashboard-page .dash-brand > span {
    display: flex;
    flex-direction: column;
}

.peace-dashboard-page .dash-brand strong {
    color: #0754b8;
    font-size: 40px;
    letter-spacing: .5px;
    line-height: 1.1;
    font-weight: 800;
}

.peace-dashboard-page .dash-brand small {
    color: #6786a5;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: .4px;
}

.peace-dashboard-page .dash-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.peace-dashboard-page .dash-greeting {
    color: #64809b;
    font-size: 15px;
    overflow-wrap: anywhere;
    min-width: 0;
}

.peace-dashboard-page .dash-greeting strong {
    color: #315779;
    font-weight: 600;
}

.peace-dashboard-page .dash-nav-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.peace-dashboard-page .dash-nav-buttons .btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
}

.peace-dashboard-page .dash-main {
    padding-top: 36px;
    padding-bottom: 24px;
}

.peace-dashboard-page .dash-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 42px 44px;
    border: 1px solid #dbeaf8;
    border-radius: 28px;
    background: radial-gradient(ellipse at 82% 35%, rgba(126, 194, 250, .15), transparent 48%), linear-gradient(110deg, #fff 15%, #f1f8ff 75%, #eaf5ff 100%);
    box-shadow: 0 12px 35px rgba(28, 82, 136, .06);
    position: relative;
    overflow: hidden;
}
.peace-dashboard-page .dash-welcome-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.peace-dashboard-page .dash-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #1769d5;
    background: #eef6ff;
    border: 1px solid #dbeafb;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 17px;
}

.peace-dashboard-page .dash-status-dot {
    width: 7px;
    height: 7px;
    background: #1769d5;
    border-radius: 50%;
}

.peace-dashboard-page .dash-welcome h1 {
    font-size: clamp(36px, 3.6vw, 44px);
    line-height: 1.2;
    letter-spacing: -.8px;
    color: #143e71;
    font-weight: 800;
    margin: 0 0 20px;
    overflow-wrap: break-word;
}

.peace-dashboard-page .dash-welcome h1 span {
    color: #1269cd;
}

.peace-dashboard-page .dash-description {
    color: #607b96;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 26px;
    max-width: 590px;
}

.peace-dashboard-page .dash-question-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #35648e;
    font-size: 15px;
    background: #eaf4ff;
    border: 1px solid #d4e7fa;
    border-radius: 12px;
    padding: 13px 16px;
    margin-bottom: 26px;
}

.peace-dashboard-page .dash-question-note strong {
    color: #105caf;
}

.peace-dashboard-page .dash-question-note svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.peace-dashboard-page .dash-main-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.peace-dashboard-page .dash-main-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.peace-dashboard-page .dash-main-actions svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.peace-dashboard-page .dash-primary {
    background: #1976ed;
    border-color: #1976ed;
    color: #fff;
    box-shadow: 0 7px 18px rgba(25, 118, 237, .18);
}

.peace-dashboard-page .dash-primary:hover {
    background: #075bc4;
    border-color: #075bc4;
    color: #fff;
    box-shadow: 0 10px 23px rgba(25, 118, 237, .24);
    transform: translateY(-2px);
}

.peace-dashboard-page .dash-secondary {
    background: #fff;
    color: #1769d5;
    border-color: #aacbf1;
}

.peace-dashboard-page .dash-secondary:hover {
    color: #0754b8;
    background: #eaf4ff;
    border-color: #1769d5;
    transform: translateY(-2px);
}

.peace-dashboard-page .dash-welcome-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 430px;
    padding: 4px 0 62px;
}

.peace-dashboard-page .dash-art-circle {
    position: absolute;
    width: 340px;
    height: 340px;
    max-width: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbedff, #e8f5ff);
    border: 1px solid #d6eafa;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.peace-dashboard-page .dash-teacher-image {
    width: auto;
    height: auto;
    max-height: 380px;
    max-width: 100%;
    position: relative;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(48, 95, 137, .1));
}

.peace-dashboard-page .dash-art-spark {
    color: #efb536;
    font-size: 26px;
    font-weight: 700;
    position: absolute;
    z-index: 1;
}

.peace-dashboard-page .dash-art-spark-one {
    right: 18%;
    top: 6px;
}

.peace-dashboard-page .dash-art-spark-two {
    left: 10%;
    bottom: 100px;
    color: #6ba7e7;
    font-size: 18px;
}

.peace-dashboard-page .dash-art-caption {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #dce9f6;
    box-shadow: 0 7px 20px rgba(31, 88, 140, .07);
    z-index: 2;
}

.peace-dashboard-page .dash-art-caption > span {
    font-size: 28px;
    line-height: 1;
    color: #4da586;
}

.peace-dashboard-page .dash-art-caption strong {
    display: block;
    font-size: 15px;
    color: #315779;
}

.peace-dashboard-page .dash-art-caption small {
    display: block;
    font-size: 13px;
    color: #60778d;
    margin-top: 2px;
}

.peace-dashboard-page .dash-guide {
    margin-top: 26px;
    background: #fff;
    border: 1px solid #e1ebf5;
    border-radius: 22px;
    padding: 28px 30px;
    box-shadow: 0 6px 24px rgba(31, 88, 140, .035);
}

.peace-dashboard-page .dash-guide-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.peace-dashboard-page .dash-guide-heading h2 {
    color: #214d7b;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px;
}

.peace-dashboard-page .dash-guide-heading p {
    color: #60778d;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.peace-dashboard-page .dash-guide-tag {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #4a9079;
    border-radius: 999px;
    background: #eff8f4;
    padding: 8px 12px;
}

.peace-dashboard-page .dash-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.peace-dashboard-page .dash-guide-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.peace-dashboard-page .dash-guide-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.peace-dashboard-page .dash-step-label {
    color: #607c98;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
}

.peace-dashboard-page .dash-guide-item h3 {
    color: #2d567d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 5px 0;
}

.peace-dashboard-page .dash-guide-item p {
    color: #60778d;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.peace-dashboard-page .dash-footer {
    text-align: center;
    color: #60778d;
    font-size: 13px;
    line-height: 1.6;
    padding: 24px 0 5px;
}

.peace-dashboard-page .dash-footer span {
    margin: 0 5px;
}

.peace-dashboard-page a:focus-visible {
    outline: 3px solid #8ebdf3;
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    /* LOGO DAN BRAND DASHBOARD — TABLET */
    .peace-dashboard-page .dash-nav-inner {
        min-height: 100px;
        flex-wrap: wrap;
    }

    .peace-dashboard-page .dash-brand img {
        width: 76px;
        height: 76px;
    }

    .peace-dashboard-page .dash-brand strong {
        font-size: 32px;
    }

    .peace-dashboard-page .dash-welcome {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 22px;
        padding: 34px 30px;
    }

    .peace-dashboard-page .dash-welcome h1 {
        font-size: 34px;
    }

    .peace-dashboard-page .dash-description {
        font-size: 16px;
    }

    .peace-dashboard-page .dash-teacher-image {
        max-height: 310px;
    }

    .peace-dashboard-page .dash-art-circle {
        width: 260px;
        height: 260px;
    }

    .peace-dashboard-page .dash-welcome-art {
        min-height: 375px;
    }

    .peace-dashboard-page .dash-guide-grid {
        gap: 22px;
    }

    .peace-dashboard-page .dash-guide-item {
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .peace-dashboard-page .dash-guide-item img {
        width: 70px;
        height: 70px;
        margin-top: 0;
    }

}
@media (max-width: 767.98px) {
    /* UKURAN LOGO TARAKANITA DASHBOARD — HP */
    .peace-dashboard-page .dash-brand img {
        width: 64px;
        height: 64px;
    }

    .peace-dashboard-page .dash-brand strong {
        font-size: 30px;
    }

    .peace-dashboard-page .dash-brand small {
        font-size: 11px;
    }


    .peace-dashboard-page .dash-nav-inner {
        flex-wrap: wrap;
        gap: 12px;
        min-height: 92px;
    }

    .peace-dashboard-page .dash-nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .peace-dashboard-page .dash-greeting {
        font-size: 14px;
    }

    .peace-dashboard-page .dash-main {
        padding-top: 20px;
    }

    .peace-dashboard-page .dash-welcome {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 24px 26px;
        border-radius: 22px;
    }

    .peace-dashboard-page .dash-welcome-copy {
        text-align: left;
    }

    .peace-dashboard-page .dash-welcome h1 {
        font-size: clamp(32px, 7vw, 36px);
    }

    .peace-dashboard-page .dash-welcome-art {
        min-height: 355px;
        padding-bottom: 60px;
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
    }

    .peace-dashboard-page .dash-teacher-image {
        max-height: 295px;
    }

    .peace-dashboard-page .dash-art-circle {
        width: 270px;
        height: 270px;
        top: 12px;
    }

    .peace-dashboard-page .dash-art-spark-one {
        right: 18%;
        top: 4px;
    }

    .peace-dashboard-page .dash-guide {
        padding: 25px 24px;
    }

    .peace-dashboard-page .dash-guide-heading {
        margin-bottom: 18px;
    }

    .peace-dashboard-page .dash-guide-tag {
        display: none;
    }

    .peace-dashboard-page .dash-guide-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .peace-dashboard-page .dash-guide-item {
        align-items: center;
        gap: 16px;
        padding: 18px 0;
        flex-direction: row;
    }

    .peace-dashboard-page .dash-guide-item:first-child {
        padding-top: 0;
    }

    .peace-dashboard-page .dash-guide-item:last-child {
        padding-bottom: 0;
    }

    .peace-dashboard-page .dash-guide-item + .dash-guide-item {
        border-top: 1px solid #edf2f8;
    }

    .peace-dashboard-page .dash-guide-item img {
        width: 72px;
        height: 72px;
        margin-top: 0;
    }

    .peace-dashboard-page .dash-guide-item h3 {
        font-size: 16px;
    }

    .peace-dashboard-page .dash-guide-item p {
        font-size: 14px;
    }

}
@media (max-width: 399.98px) {
    .peace-dashboard-page .dash-brand {
        gap: 10px;
    }

    /* UKURAN LOGO TARAKANITA DASHBOARD — LAYAR KECIL
       Layar di bawah 400px: ukuran logo 56 x 56px. */
    .peace-dashboard-page .dash-brand img {
        width: 56px;
        height: 56px;
    }

    .peace-dashboard-page .dash-brand strong {
        font-size: 28px;
    }

    .peace-dashboard-page .dash-brand small {
        font-size: 11px;
    }

    .peace-dashboard-page .dash-nav-buttons .btn {
        font-size: 13px;
        padding: 9px 14px;
    }

    .peace-dashboard-page .dash-nav-buttons {
        gap: 6px;
    }

    .peace-dashboard-page .dash-welcome {
        padding: 27px 20px 24px;
    }

    .peace-dashboard-page .dash-main-actions {
        gap: 10px;
    }

    .peace-dashboard-page .dash-main-actions .btn {
        width: 100%;
    }

    .peace-dashboard-page .dash-welcome h1 {
        font-size: 30px;
    }

}
@media (prefers-reduced-motion: reduce) {
    .peace-dashboard-page .dash-main-actions .btn {
        transition: none;
    }

    .peace-dashboard-page .dash-main-actions .btn:hover {
        transform: none;
    }

}


/* =========================================================
   CATATAN POPUP + MINI GAME HARIAN (RESULT)
   Tambahan ini berdiri sendiri agar style lama tetap aman.
   ========================================================= */
.peace-floating-tools {
    position: relative;
    z-index: 1090;
}

.peace-float-launcher {
    position: fixed;
    z-index: 1093;
    bottom: 22px;
    width: 74px;
    min-height: 64px;
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    color: #165da9;
    box-shadow: 0 12px 30px rgba(25, 67, 112, .20);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 800;
    transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease;
}

.peace-float-launcher > span:first-child {
    font-size: 24px;
    line-height: 1;
}

.peace-float-launcher:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(25, 67, 112, .26);
}

.peace-note-launcher { left: 22px; }
.peace-mission-launcher { right: 22px; }
.peace-float-launcher.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.peace-float-panel {
    position: fixed;
    z-index: 1092;
    bottom: 22px;
    width: min(460px, calc(100vw - 44px));
    max-height: min(610px, calc(100vh - 44px));
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce7f3;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(28, 64, 103, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.98);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.peace-float-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.peace-note-panel { left: 22px; }
.peace-mission-panel { right: 22px; width: min(480px, calc(100vw - 44px)); }

.peace-float-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 18px 13px;
    background: linear-gradient(135deg, #f4f9ff, #eaf3ff);
    border-bottom: 1px solid #dce8f5;
}

.peace-float-panel-head > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.peace-float-panel-head strong {
    color: #204a76;
    font-size: 17px;
}

.peace-float-panel-head small {
    color: #7288a0;
    font-size: 12px;
}

.peace-panel-minimize {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #d4e1ef;
    border-radius: 10px;
    background: #fff;
    color: #416787;
    font-size: 20px;
    line-height: 1;
    display: grid;
    place-items: center;
}

.peace-float-panel-body {
    padding: 16px 18px 18px;
    overflow-y: auto;
    max-height: calc(min(610px, calc(100vh - 44px)) - 70px);
}

#dailyNoteText {
    width: 100%;
    min-height: 190px;
    max-height: 340px;
    resize: vertical;
    border: 1px solid #d5e1ee;
    border-radius: 14px;
    padding: 14px;
    color: #2d4054;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#dailyNoteText:focus {
    border-color: #4f92dd;
    box-shadow: 0 0 0 4px rgba(65, 139, 220, .12);
}

.peace-note-footer,
.peace-mission-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.peace-note-footer small { color: #7a8da1; }

.peace-mission-question {
    margin: 0 0 13px;
    color: #294866;
    font-weight: 700;
    line-height: 1.55;
}

.peace-mission-options {
    display: grid;
    gap: 9px;
}

.peace-mission-option {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 11px 12px;
    border: 1px solid #e2e9f1;
    border-radius: 12px;
    background: #fff;
    color: #364e65;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.peace-mission-option:hover {
    border-color: #b9d6f1;
    background: #f8fbff;
    transform: translateY(-1px);
}

.peace-mission-option.is-selected {
    border-color: #bdd8f2;
    background: #edf6ff;
}

.peace-mission-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.peace-mission-check {
    width: 23px;
    height: 23px;
    border: 1.5px solid #a9b8c8;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: transparent;
    background: #fff;
    font-size: 14px;
    font-weight: 900;
}

.peace-mission-option.is-selected .peace-mission-check {
    color: #1f6bb7;
    border-color: #66a3dd;
    background: #fff;
}

.peace-mission-progress {
    height: 9px;
    margin-top: 14px;
    background: #e7edf4;
    border-radius: 999px;
    overflow: hidden;
}

.peace-mission-progress > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #2d78d2;
    transition: width .28s ease;
}

.peace-mission-complete {
    display: none;
    color: #247a34;
    font-size: 13px;
    text-align: right;
}

.peace-mission-complete.is-visible { display: inline; }

.peace-save-status {
    min-height: 18px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
}

.peace-save-status.is-saving { color: #6f8195; }
.peace-save-status.is-success { color: #247a34; }
.peace-save-status.is-error { color: #b74242; }

/* =========================================================
   HISTORY - RIWAYAT CATATAN & MISI HARIAN
   ========================================================= */
.history-reflection-section {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 5px 18px rgba(26, 55, 99, 0.05);
}

.history-reflection-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef6ff;
    color: #2369ae;
    border: 1px solid #d7e8f8;
    font-size: 12px;
    font-weight: 800;
}

.history-reflection-list {
    display: grid;
    gap: 14px;
}

.history-reflection-card {
    border: 1px solid #e2e9f1;
    border-radius: 14px;
    padding: 15px;
    background: #fbfdff;
}

.history-reflection-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-reflection-date-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf4ff;
    font-size: 18px;
}

.history-reflection-date > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-reflection-date strong { color: #264d73; }
.history-reflection-date small { color: #8090a0; font-size: 11px; }

.history-reflection-box {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 14px;
}

.history-reflection-box h6 {
    margin-bottom: 9px;
    color: #294b6a;
    font-weight: 800;
}

.history-reflection-box p {
    margin-bottom: 0;
    color: #53687b;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.history-mission-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.history-mission-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #edf7ef;
    color: #2b7540;
    border: 1px solid #d4ead9;
    font-size: 12px;
    font-weight: 700;
}

.history-empty-reflection {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    background: #f8fafc;
    border: 1px dashed #d8e0ea;
    border-radius: 12px;
    color: #728093;
}

.history-empty-reflection > span { font-size: 30px; }

@media (max-width: 767.98px) {
    .peace-float-panel {
        left: 14px !important;
        right: 14px !important;
        bottom: 88px;
        width: auto;
        max-height: calc(100vh - 115px);
    }

    .peace-float-panel-body {
        max-height: calc(100vh - 190px);
    }

    .peace-note-launcher { left: 14px; }
    .peace-mission-launcher { right: 14px; }

    .peace-float-launcher {
        bottom: 14px;
        width: 68px;
        min-height: 58px;
        border-radius: 16px;
    }

    #dailyNoteText { min-height: 160px; }

    .peace-mission-actions,
    .peace-note-footer {
        align-items: flex-start;
    }

    .history-reflection-section { padding: 16px; }
    .history-reflection-date { flex-wrap: wrap; }
    .history-reflection-date .btn { width: 100%; margin-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
    .peace-float-launcher,
    .peace-float-panel,
    .peace-mission-option,
    .peace-mission-progress > span {
        transition: none;
    }
}



/* =========================================================
   BACKSOUND PEACE - tombol musik global
   ========================================================= */
.peace-music-toggle {
    position: fixed;
    z-index: 1096;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    border: 1px solid #d8e5f3;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #165da9;
    min-height: 46px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 10px 28px rgba(25,67,112,.18);
    backdrop-filter: blur(8px);
    transition: transform .2s ease, box-shadow .2s ease;
}
.peace-music-toggle:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 14px 32px rgba(25,67,112,.24);
}
.peace-music-toggle .peace-music-icon { font-size: 18px; line-height: 1; }
.peace-music-toggle.is-paused { color: #6c7f91; }
.peace-music-toggle.is-waiting { border-color: #f3d795; color: #8b6814; }
@media (max-width: 767.98px) {
    .peace-music-toggle {
        bottom: 94px;
        min-height: 42px;
        padding: 8px 13px;
        font-size: 12px;
    }
}


/* =========================================================
   RESULT PEACE - RESPONSIVE HP / MOBILE
   Tambahan khusus halaman result.php.
   Tidak mengubah tampilan desktop dan halaman lain.
   ========================================================= */

.peace-result-page {
    overflow-x: hidden;
}

@media (max-width: 767.98px) {

    /* Navbar Result */
    .peace-result-page > .navbar .container {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .peace-result-page > .navbar .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 82px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
    }

    .peace-result-page > .navbar .btn {
        flex-shrink: 0;
        font-size: 11px;
        padding: 6px 10px;
    }

    /* Container utama */
    .peace-result-page > .container.py-4 {
        padding-top: 14px !important;
        padding-bottom: 105px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .peace-result-page .content-card {
        padding: 14px;
        border-radius: 14px;
    }

    .peace-result-page .result-header {
        padding: 12px 14px;
        border-radius: 10px;
        text-align: center;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.4;
    }

    /* Ringkasan hasil */
    .peace-result-page .result-header + .text-center {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .peace-result-page .result-circle {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 66px;
        padding: 14px 16px;
        border-radius: 16px;
        font-size: 18px;
        line-height: 1.35;
    }

    .peace-result-page .result-header + .text-center h2 {
        font-size: 19px;
        line-height: 1.45;
        margin-top: 14px !important;
    }

    .peace-result-page .result-header + .text-center p {
        font-size: 13px;
    }

    .peace-result-page .result-progress {
        width: 100%;
        max-width: 100%;
        height: 10px;
    }

    /* Kartu hasil */
    .peace-result-page .result-box {
        padding: 15px;
        border-radius: 12px;
    }

    .peace-result-page .result-box h5 {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .peace-result-page .result-box p {
        font-size: 13px;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .peace-result-page .section-title {
        font-size: 16px;
    }

    /* Chart bawaan result.php memakai inline height 330px,
       sehingga perlu !important agar lebih proporsional di HP. */
    .peace-result-page .result-box > div[style*="height:330px"],
    .peace-result-page .result-box > div[style*="height: 330px"] {
        height: 255px !important;
    }

    /* Tombol bawah */
    .peace-result-page a[href="quiz.php"],
    .peace-result-page a[href="history.php"] {
        width: 100%;
        display: block;
        margin: 8px 0 0 !important;
    }

    /* Launcher Catatan & Misi */
    .peace-result-page .peace-float-launcher {
        bottom: 12px;
        width: 62px;
        min-height: 54px;
        border-radius: 15px;
        font-size: 10px;
        box-shadow: 0 8px 22px rgba(25, 67, 112, .20);
    }

    .peace-result-page .peace-float-launcher > span:first-child {
        font-size: 21px;
    }

    .peace-result-page .peace-note-launcher {
        left: 12px;
    }

    .peace-result-page .peace-mission-launcher {
        right: 12px;
    }

    /* Popup Catatan & Misi */
    .peace-result-page .peace-float-panel {
        left: 10px !important;
        right: 10px !important;
        bottom: 76px;
        width: auto !important;
        max-width: none;
        max-height: calc(100dvh - 96px);
        border-radius: 16px;
    }

    .peace-result-page .peace-float-panel-head {
        padding: 13px 14px 11px;
        gap: 10px;
    }

    .peace-result-page .peace-float-panel-head strong {
        font-size: 15px;
    }

    .peace-result-page .peace-float-panel-head small {
        font-size: 11px;
    }

    .peace-result-page .peace-panel-minimize {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .peace-result-page .peace-float-panel-body {
        padding: 13px 14px 15px;
        max-height: calc(100dvh - 165px);
    }

    .peace-result-page #dailyNoteText {
        min-height: 145px;
        max-height: 240px;
        padding: 12px;
        font-size: 14px;
    }

    .peace-result-page .peace-mission-question {
        font-size: 13px;
        line-height: 1.55;
    }

    .peace-result-page .peace-mission-option {
        grid-template-columns: 22px minmax(0, 1fr);
        padding: 10px;
        gap: 9px;
        font-size: 13px;
        line-height: 1.45;
    }

    .peace-result-page .peace-mission-check {
        width: 21px;
        height: 21px;
        font-size: 12px;
    }

    .peace-result-page .peace-note-footer,
    .peace-result-page .peace-mission-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .peace-result-page .peace-note-footer .btn,
    .peace-result-page .peace-mission-actions .btn {
        width: 100%;
    }

    .peace-result-page .peace-mission-complete {
        text-align: center;
    }
}

@media (max-width: 399.98px) {

    .peace-result-page > .navbar .navbar-brand {
        font-size: 12px;
    }

    .peace-result-page .content-card {
        padding: 11px;
    }

    .peace-result-page .result-header {
        font-size: 14px;
    }

    .peace-result-page .result-circle {
        font-size: 16px;
        padding: 12px;
    }

    .peace-result-page .result-header + .text-center h2 {
        font-size: 17px;
    }

    .peace-result-page .result-box {
        padding: 13px;
    }

    .peace-result-page .result-box > div[style*="height:330px"],
    .peace-result-page .result-box > div[style*="height: 330px"] {
        height: 225px !important;
    }

    .peace-result-page .peace-float-panel {
        left: 7px !important;
        right: 7px !important;
        bottom: 72px;
    }

    .peace-result-page .peace-note-launcher {
        left: 8px;
    }

    .peace-result-page .peace-mission-launcher {
        right: 8px;
    }
}


/* =========================================================
   CATATAN & MISI RESULT - MOBILE COMPATIBILITY FIX
   Dibuat agar popup konsisten di Android/iPhone dan ukuran HP
   yang berbeda. Hanya aktif pada layar <= 820px.
   ========================================================= */

/* Pengaman umum untuk komponen floating */
.peace-floating-tools,
.peace-float-panel,
.peace-float-launcher,
.peace-float-panel *,
.peace-float-launcher * {
    box-sizing: border-box;
}

.peace-float-panel,
.peace-float-launcher {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 820px) {

    /* Launcher Catatan dan Misi */
    .peace-float-launcher {
        position: fixed !important;
        bottom: 12px !important;
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        min-height: 56px !important;
        padding: 7px 5px !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        font-size: 10px !important;
        line-height: 1.15 !important;
        background: #ffffff !important;
        color: #165da9 !important;
        box-shadow: 0 8px 24px rgba(25, 67, 112, .22) !important;
        z-index: 1093 !important;
    }

    .peace-float-launcher > span:first-child {
        font-size: 21px !important;
        line-height: 1 !important;
    }

    .peace-note-launcher {
        left: 10px !important;
        right: auto !important;
    }

    .peace-mission-launcher {
        right: 10px !important;
        left: auto !important;
    }

    /* Panel popup utama.
       Pakai 100vh sebagai fallback karena beberapa browser HP lama
       belum mengenali satuan dvh. */
    .peace-float-panel,
    .peace-note-panel,
    .peace-mission-panel {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 78px !important;
        top: auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        max-height: calc(100vh - 100px) !important;

        margin: 0 !important;
        overflow: hidden !important;

        border: 1px solid #dce7f3 !important;
        border-radius: 17px !important;
        background: #ffffff !important;
        box-shadow: 0 16px 42px rgba(28, 64, 103, .24) !important;

        z-index: 1094 !important;
    }

    .peace-float-panel.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto !important;
    }

    /* Header popup */
    .peace-float-panel-head {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 13px 14px 11px !important;
        background: linear-gradient(135deg, #f4f9ff, #eaf3ff) !important;
        border-bottom: 1px solid #dce8f5 !important;
    }

    .peace-float-panel-head > div {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .peace-float-panel-head strong {
        display: block !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        color: #204a76 !important;
        overflow-wrap: anywhere !important;
    }

    .peace-float-panel-head small {
        display: block !important;
        margin-top: 3px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        color: #7288a0 !important;
        overflow-wrap: anywhere !important;
    }

    .peace-panel-minimize {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        flex: 0 0 32px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        display: grid !important;
        place-items: center !important;
    }

    /* Body popup bisa discroll ketika keyboard HP terbuka */
    .peace-float-panel-body {
        width: 100% !important;
        padding: 13px 14px 15px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-height: calc(100vh - 170px) !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    /* Textarea Catatan.
       Font 16px mencegah Safari iPhone melakukan auto zoom. */
    #dailyNoteText {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 145px !important;
        max-height: 230px !important;
        margin: 0 !important;
        padding: 12px !important;

        resize: none !important;

        border: 1px solid #d5e1ee !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        color: #2d4054 !important;

        font-family: inherit !important;
        font-size: 16px !important;
        line-height: 1.55 !important;

        -webkit-appearance: none;
        appearance: none;
    }

    #dailyNoteText:focus {
        border-color: #4f92dd !important;
        box-shadow: 0 0 0 3px rgba(65, 139, 220, .12) !important;
        outline: none !important;
    }

    /* Footer Catatan */
    .peace-note-footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .peace-note-footer small {
        display: block !important;
        text-align: right !important;
        font-size: 11px !important;
        color: #7a8da1 !important;
    }

    .peace-note-footer .btn,
    #saveDailyNote {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 42px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    /* Status proses/simpan */
    .peace-save-status {
        width: 100% !important;
        margin-top: 9px !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }

    /* Misi */
    .peace-mission-question {
        margin-bottom: 11px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere !important;
    }

    .peace-mission-options {
        display: grid !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .peace-mission-option {
        display: grid !important;
        grid-template-columns: 22px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 9px !important;
        width: 100% !important;
        padding: 10px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }

    .peace-mission-check {
        width: 21px !important;
        height: 21px !important;
        font-size: 12px !important;
        flex: 0 0 21px !important;
    }

    .peace-mission-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .peace-mission-actions .btn,
    #saveDailyMission {
        width: 100% !important;
        min-height: 42px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .peace-mission-complete {
        display: none;
        width: 100% !important;
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .peace-mission-complete.is-visible {
        display: block !important;
    }
}

/* Browser modern: gunakan tinggi viewport dinamis agar lebih nyaman
   ketika address bar atau keyboard HP muncul. */
@supports (height: 100dvh) {
    @media (max-width: 820px) {
        .peace-float-panel,
        .peace-note-panel,
        .peace-mission-panel {
            max-height: calc(100dvh - 100px) !important;
        }

        .peace-float-panel-body {
            max-height: calc(100dvh - 170px) !important;
        }
    }
}

/* HP kecil */
@media (max-width: 480px) {
    .peace-float-panel,
    .peace-note-panel,
    .peace-mission-panel {
        left: 7px !important;
        right: 7px !important;
        bottom: 72px !important;
        border-radius: 15px !important;
    }

    .peace-float-panel-head {
        padding: 11px 12px 10px !important;
    }

    .peace-float-panel-body {
        padding: 11px 12px 13px !important;
    }

    .peace-float-panel-head strong {
        font-size: 14px !important;
    }

    .peace-float-panel-head small {
        font-size: 10px !important;
    }

    #dailyNoteText {
        min-height: 130px !important;
        max-height: 200px !important;
        padding: 11px !important;
    }

    .peace-note-launcher {
        left: 8px !important;
    }

    .peace-mission-launcher {
        right: 8px !important;
    }

    .peace-float-launcher {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 52px !important;
    }
}

/* HP sangat kecil / mode landscape pendek */
@media (max-width: 360px), (max-height: 620px) and (max-width: 820px) {
    .peace-float-panel,
    .peace-note-panel,
    .peace-mission-panel {
        bottom: 66px !important;
        max-height: calc(100vh - 76px) !important;
    }

    .peace-float-panel-body {
        max-height: calc(100vh - 140px) !important;
    }

    #dailyNoteText {
        min-height: 105px !important;
        max-height: 150px !important;
    }
}

/* Safe area iPhone dengan notch/home indicator */
@supports (padding: max(0px)) {
    @media (max-width: 820px) {
        .peace-float-launcher {
            bottom: max(12px, env(safe-area-inset-bottom)) !important;
        }

        .peace-float-panel,
        .peace-note-panel,
        .peace-mission-panel {
            bottom: max(72px, calc(62px + env(safe-area-inset-bottom))) !important;
        }
    }
}
