.stkv-body {
    background: #f4f6f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    margin: 0;
    padding: 16px;
    font-size: 18px;
    line-height: 1.5;
}

.stkv-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px;
    max-width: 640px;
    margin: 0 auto 16px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.stkv-card h2 { color: #0B3D66; margin-top: 0; }
.stkv-deskripsi { color: #4b5563; }
.stkv-subjudul { color: #0B3D66; border-bottom: 2px solid #eef2ff; padding-bottom: 6px; margin-top: 26px; }

label {
    display: block;
    font-weight: 600;
    margin-bottom: 14px;
    color: #374151;
}
input[type=text], input[type=number], select, textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}
textarea { font-family: inherit; resize: vertical; }

.btn, button[type=submit] {
    display: inline-block;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}
.btn-utama { background: #0B3D66; color: #fff; margin-top: 20px; }

.stkv-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.stkv-notif {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
}
.stkv-notif p { margin: 0 0 8px; }
.stkv-notif-warning {
    background: #fef3c7;
    color: #78350f;
}
.stkv-notif-warning .btn {
    width: auto;
    padding: 8px 16px;
    font-size: 0.95em;
    background: #78350f;
}
.stkv-opsional-tanda {
    font-weight: 400;
    font-size: 0.85em;
    color: #6b7280;
}
.stkv-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.stkv-pertanyaan-blok {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}
.stkv-nomor-pertanyaan { font-weight: 600; margin-bottom: 10px; }

/* Skala Likert — kartu vertikal berwarna, label lengkap, font besar (mobile-first) */
.stkv-likert-vertikal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.stkv-likert-kartu {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    font-size: 1.3em;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    border: 3px solid transparent;
    margin: 0;
    transition: transform 0.1s ease;
    line-height: 1.25;
}
.stkv-likert-kartu:active { transform: scale(0.98); }
.stkv-likert-kartu:has(input:checked) {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15) inset;
}
.stkv-likert-kartu input[type=radio] {
    width: 28px;
    height: 28px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #111827;
}
.stkv-l-ss  { background: #1e3a8a; } /* Biru Tua — Sangat Setuju */
.stkv-l-s   { background: #166534; } /* Hijau Tua — Setuju */
.stkv-l-n   { background: #ca8a04; color: #1f2937; } /* Kuning — Netral/Ragu-ragu */
.stkv-l-ts  { background: #c2410c; } /* Jingga — Tidak Setuju */
.stkv-l-sts { background: #7f1d1d; } /* Merah Tua — Sangat Tidak Setuju */

.stkv-pilihan-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
}
.stkv-pilihan-list input { width: auto; margin: 0; transform: scale(1.2); }

/* Panduan format pertanyaan (admin) */
.stkv-panduan {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 10px;
}
.stkv-panduan summary { font-weight: 700; color: #0B3D66; cursor: pointer; }
.stkv-panduan-isi { margin-top: 8px; }
.stkv-panduan code { background: #fff; padding: 1px 5px; border-radius: 4px; }

/* Tombol Salin (admin) */
.stkv-salin-wrap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stkv-input-salin { flex: 1 1 200px; font-family: monospace; background: #f1f5f9; width: auto; margin-top: 0; }
.stkv-input-salin-besar { font-size: 1.1em; }
.stkv-btn-salin {
    flex: 0 0 auto;
    background: #0B3D66;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
}
.stkv-btn-salin.stkv-tersalin { background: #15803d; }

@media (min-width: 480px) {
    .stkv-body { font-size: 16px; padding: 24px; }
}

/* ===== Halaman hasil publik ([survei_hasil] & [survei_kepuasan]) ===== */
.stkv-hasil-wrap {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.stkv-hasil-judul { color: #0B3D66; }

.stkv-tab-daftar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.stkv-tab-tombol {
    background: #eef2ff;
    border: 2px solid transparent;
    color: #1e293b;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95em;
}
.stkv-tab-tombol.stkv-tab-aktif { background: #0B3D66; color: #fff; }

.stkv-tab-isi { display: none; }
.stkv-tab-isi.stkv-tab-isi-aktif { display: block; }

.stkv-tabel-hasil {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 1em;
}
.stkv-tabel-hasil th, .stkv-tabel-hasil td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
}
.stkv-tabel-hasil th { background: #0B3D66; color: #fff; }
.stkv-tabel-total td { background: #f1f5f9; font-weight: 700; }
.stkv-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.stkv-grafik-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.stkv-grafik-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    height: 300px;
    position: relative;
}
@media (min-width: 700px) {
    .stkv-grafik-grid { grid-template-columns: 1fr 1fr; }
}
.stkv-hasil-judul-kelompok { color: #0B3D66; margin-top: 0; }

/* ===== [survei_admin] — halaman manajemen di front-end ===== */
.stkv-admin-fe { max-width: 720px; margin: 0 auto; }
.stkv-admin-fe .stkv-card { text-align: left; }
.stkv-admin-fe label { margin-top: 14px; }
.stkv-admin-fe select, .stkv-admin-fe input[type=text], .stkv-admin-fe textarea {
    font-size: 0.95em;
}
.stkv-ket { font-size: 0.8em; color: #6b7280; font-weight: 400; margin: 2px 0 8px 0; }
.stkv-cek-baris {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
}
.stkv-cek-baris input { width: auto; margin: 0; transform: scale(1.2); flex-shrink: 0; }

.stkv-baris-kuisioner {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.stkv-judul-kuisioner { font-weight: 700; margin: 0 0 4px 0; }
.stkv-aksi-baris {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.stkv-btn-kecil {
    display: inline-block;
    background: #0B3D66;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.85em;
    cursor: pointer;
    text-decoration: none;
}
.stkv-btn-hapus { background: #dc2626; }
.stkv-btn-hapus:hover, .stkv-btn-hapus:active { background: #b91c1c; }
.stkv-info-partisipasi {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
}
.stkv-info-partisipasi p { margin: 2px 0; }
.stkv-filter-periode {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.stkv-filter-periode label {
    font-weight: 600;
    font-size: 0.9em;
    margin: 0;
}
.stkv-filter-periode select {
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

/* ===== Tren per Tahun Wisuda / Periode ===== */
.stkv-tren-judul { color: #0B3D66; margin: 24px 0 8px 0; }
.stkv-gradebook-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
.stkv-tabel-tren { width: max-content; min-width: 100%; font-size: 0.9em; }
.stkv-tabel-tren th, .stkv-tabel-tren td { white-space: nowrap; }
.stkv-grafik-tren { height: 300px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; position: relative; }
