/* =============================================================================
   LENTERA - Jurnal Literasi SD Negeri Kowang (Kelas 2)
   Desain Claymorphism: Puffy 3D Plasticine, Tactile, Fun, Unik & Tanpa Emoji
   ============================================================================= */

:root {
  /* Palet Warna Claymorphism */
  --clay-bg-canvas: #F5F1E9;
  --clay-card-white: #FFFFFF;
  --clay-text-main: #2D3436;
  --clay-text-muted: #636E72;
  
  --clay-orange: #FF9F43;
  --clay-orange-dark: #EE5A24;
  --clay-orange-light: #FFEAA7;

  --clay-mint: #2ED573;
  --clay-mint-dark: #10AC84;
  --clay-mint-light: #E3FCEF;

  --clay-blue: #54A0FF;
  --clay-blue-dark: #2E86DE;
  --clay-blue-light: #EBF3FF;

  --clay-pink: #FF6B81;
  --clay-pink-dark: #EE5253;
  --clay-pink-light: #FFE8EC;

  /* Font Families */
  --f-heading: 'Fredoka', cursive, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, sans-serif;

  /* Clay Radii */
  --clay-r-sm: 14px;
  --clay-r-md: 22px;
  --clay-r-lg: 30px;
  --clay-r-pill: 999px;

  /* Efek Bayangan Claymorphism (3D Plastisin) */
  --clay-shadow-card: 
    8px 8px 18px rgba(180, 170, 155, 0.45),
    -8px -8px 18px rgba(255, 255, 255, 0.95),
    inset 3px 3px 6px rgba(255, 255, 255, 0.8),
    inset -3px -3px 6px rgba(180, 170, 155, 0.15);

  --clay-shadow-inset: 
    inset 4px 4px 8px rgba(180, 170, 155, 0.25),
    inset -4px -4px 8px rgba(255, 255, 255, 0.9);

  --clay-shadow-btn-orange: 
    5px 6px 14px rgba(238, 90, 36, 0.4),
    inset 2px 2px 4px rgba(255, 255, 255, 0.6),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);

  --clay-shadow-btn-mint: 
    5px 6px 14px rgba(16, 172, 132, 0.35),
    inset 2px 2px 4px rgba(255, 255, 255, 0.6),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);

  --clay-shadow-item: 
    4px 5px 12px rgba(190, 180, 165, 0.35),
    -4px -4px 10px rgba(255, 255, 255, 0.9),
    inset 2px 2px 4px rgba(255, 255, 255, 0.7);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--f-body);
  color: var(--clay-text-main);
  background-color: var(--clay-bg-canvas);
  background-image: 
    radial-gradient(#E8E0D2 1.8px, transparent 1.8px),
    radial-gradient(#FFFFFF 1.8px, var(--clay-bg-canvas) 1.8px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.5;
}

/* =============================================================================
   CONTAINER UTAMA MOBILE-ONLY (CLAYMORPHIC SHELL)
   ============================================================================= */
.clay-mobile-container {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background: #FCFAF6;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 441px) {
  body {
    padding: 16px 10px;
  }
  .clay-mobile-container {
    min-height: calc(100vh - 32px);
    border-radius: var(--clay-r-lg);
    box-shadow: 
      12px 14px 30px rgba(180, 168, 150, 0.4),
      -8px -8px 24px rgba(255, 255, 255, 0.9);
    border: 3px solid #EFEAE0;
  }
}

/* =============================================================================
   HEADER CLAYMORPHISM
   ============================================================================= */
.clay-header {
  background: #FFFDF9;
  border-bottom: 2px solid #EFE8DA;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(190, 180, 165, 0.12);
}

.header-inner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.brand-logo-clay {
  width: 42px;
  height: 42px;
  border-radius: var(--clay-r-sm);
  background: #FFFFFF;
  box-shadow: var(--clay-shadow-item);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #F0E8DC;
}

.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--f-heading);
  font-size: 20px;
  font-weight: 700;
  color: #D9480F;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #795548;
}

.header-actions-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clay-btn-icon {
  background: #FFFDF9;
  border: 2px solid #F0E6D6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #795548;
  cursor: pointer;
  box-shadow: var(--clay-shadow-item);
  transition: all 0.15s ease;
}

.clay-btn-icon:active {
  transform: translateY(2px) scale(0.94);
  box-shadow: var(--clay-shadow-inset);
}

.clay-pill-btn {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--clay-r-pill);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-role-clay {
  background: linear-gradient(135deg, #54A0FF 0%, #2E86DE 100%);
  color: #FFFFFF;
  box-shadow: 
    3px 4px 10px rgba(46, 134, 222, 0.35),
    inset 1px 1px 3px rgba(255, 255, 255, 0.6);
}

.btn-role-clay:active {
  transform: translateY(2px) scale(0.96);
}

/* =============================================================================
   PENGATURAN MULTI-SCREEN
   ============================================================================= */
.view-screen {
  display: none;
  padding: 16px;
  flex: 1;
}

.view-screen.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: clayPopIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes clayPopIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* =============================================================================
   LAYAR 1: HERO BANNER & DAFTAR 28 MURID
   ============================================================================= */
.clay-hero-card {
  background: #FFFDF9;
  border-radius: var(--clay-r-md);
  box-shadow: var(--clay-shadow-card);
  padding: 18px 16px;
  text-align: center;
  border: 2px solid #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-frame {
  width: 100%;
  max-width: 260px;
  border-radius: var(--clay-r-md);
  overflow: hidden;
  box-shadow: 
    6px 8px 16px rgba(190, 180, 165, 0.4),
    inset 2px 2px 4px rgba(255, 255, 255, 0.8);
  border: 4px solid #FFFFFF;
  margin-bottom: 12px;
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-badge-pill {
  display: inline-block;
  background: linear-gradient(135deg, #10AC84, #059669);
  color: #FFFFFF;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--clay-r-pill);
  box-shadow: 0 3px 8px rgba(16, 172, 132, 0.3);
  margin-bottom: 8px;
}

.hero-heading {
  font-family: var(--f-heading);
  font-size: 17px;
  font-weight: 700;
  color: #9A3412;
  margin-bottom: 2px;
}

.hero-subtext {
  font-size: 12px;
  color: var(--clay-text-muted);
}

/* Kotak Pencarian Clay */
.clay-search-box {
  background: #FFFDF9;
  border-radius: var(--clay-r-pill);
  box-shadow: var(--clay-shadow-inset);
  border: 2px solid #EFE7DA;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-svg {
  color: #94A3B8;
  flex-shrink: 0;
}

.clay-search-box input {
  width: 100%;
  padding: 8px 0;
  border: none;
  background: transparent;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--clay-text-main);
  outline: none;
}

.clay-clear-btn {
  background: #CBD5E1;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
}

.clay-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.info-title {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.info-date-pill {
  font-size: 11px;
  font-weight: 700;
  color: #D9480F;
  background: #FFF3EB;
  padding: 3px 10px;
  border-radius: var(--clay-r-pill);
  box-shadow: var(--clay-shadow-item);
}

/* Grid Kartu Murid */
.clay-students-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clay-student-card {
  background: #FFFDF9;
  border-radius: var(--clay-r-md);
  box-shadow: var(--clay-shadow-item);
  border: 2px solid #FFFFFF;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
}

.clay-student-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    6px 8px 16px rgba(180, 170, 155, 0.4),
    -4px -4px 12px rgba(255, 255, 255, 0.95);
}

.clay-student-card:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: var(--clay-shadow-inset);
}

.card-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.clay-avatar-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  border: 2.5px solid #FFFFFF;
  flex-shrink: 0;
}

.student-clay-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-name-text {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--clay-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clay-tag-gender {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--clay-r-pill);
}

.tag-p { background: #FFE4E6; color: #BE123C; }
.tag-l { background: #DBEAFE; color: #1E40AF; }

.card-meta-text {
  font-size: 11px;
  color: var(--clay-text-muted);
}

.card-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Clay Status Badges */
.clay-status-pill {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--clay-r-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pill-done {
  background: #E3FCEF;
  color: #059669;
  box-shadow: 0 2px 6px rgba(16, 172, 132, 0.2);
}

.pill-pending {
  background: #F1F5F9;
  color: #64748B;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.svg-arrow-chevron {
  color: #CBD5E1;
}

/* =============================================================================
   LAYAR 2: FORMULIR JURNAL CLAY
   ============================================================================= */
.nav-back-bar {
  display: flex;
  align-items: center;
}

.clay-back-btn {
  background: #FFFDF9;
  border: 1.5px solid #F0E6D6;
  border-radius: var(--clay-r-pill);
  padding: 6px 14px;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  color: #D9480F;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--clay-shadow-item);
  transition: all 0.15s ease;
}

.clay-back-btn:active {
  transform: translateY(2px) scale(0.96);
  box-shadow: var(--clay-shadow-inset);
}

/* Profil Murid Terpilih */
.clay-profile-card {
  background: #FFFDF9;
  border-radius: var(--clay-r-md);
  box-shadow: var(--clay-shadow-card);
  border: 2px solid #FFFFFF;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar-frame {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 3px solid #FFFFFF;
  flex-shrink: 0;
}

.clay-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text-content {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.profile-name-title {
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 700;
  color: #7A3306;
}

.clay-badge-gender {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--clay-r-pill);
}

.profile-sub-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5C6274;
}

.clay-absen-tag {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 800;
  color: #1E40AF;
  background: #DBEAFE;
  padding: 2px 8px;
  border-radius: var(--clay-r-pill);
}

.profile-meta-line {
  font-size: 10px;
  color: #64748B;
  margin-top: 3px;
}

/* Card Form Clay */
.clay-card {
  background: #FFFDF9;
  border-radius: var(--clay-r-md);
  box-shadow: var(--clay-shadow-card);
  border: 2px solid #FFFFFF;
  padding: 16px;
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #F0E8DA;
}

.header-icon-book {
  width: 42px;
  height: 42px;
  border-radius: var(--clay-r-sm);
  box-shadow: var(--clay-shadow-item);
  object-fit: cover;
  flex-shrink: 0;
}

.form-title {
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  color: #D9480F;
}

.form-subtitle {
  font-size: 11px;
  color: var(--clay-text-muted);
}

.form-dual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.clay-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.clay-input-group label {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.clay-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #EFE7DA;
  border-radius: var(--clay-r-sm);
  background: #FFFDFB;
  box-shadow: var(--clay-shadow-inset);
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--clay-text-main);
  outline: none;
  transition: all 0.15s ease;
}

.clay-input:focus {
  border-color: #FF9F43;
  box-shadow: 
    inset 3px 3px 6px rgba(255, 159, 67, 0.2),
    0 0 0 3px rgba(255, 159, 67, 0.15);
}

.clay-textarea {
  resize: vertical;
  min-height: 85px;
}

.clay-hint-text {
  font-size: 11px;
  color: #64748B;
  line-height: 1.3;
}

/* Tombol Simpan Claymorphism */
.clay-btn-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #FF9F43 0%, #EE5A24 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--clay-r-pill);
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--clay-shadow-btn-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  transition: all 0.15s ease;
}

.clay-btn-submit:active {
  transform: translateY(3px) scale(0.97);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.25);
}

/* Riwayat Bacaan Clay */
.history-clay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.history-title-flex {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hist-head-svg {
  color: #059669;
}

.history-title-flex h4 {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.clay-counter-badge {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #E3FCEF;
  padding: 2px 8px;
  border-radius: var(--clay-r-pill);
  box-shadow: var(--clay-shadow-item);
}

.clay-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clay-history-item {
  background: #FFFDF9;
  border-radius: var(--clay-r-sm);
  box-shadow: var(--clay-shadow-item);
  border: 1.5px solid #F0EAE0;
  padding: 10px 12px;
}

.hist-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.hist-day-badge {
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 700;
  color: #EA580C;
  background: #FFF3EB;
  padding: 1px 7px;
  border-radius: 4px;
}

.hist-date-text {
  font-size: 10px;
  color: #64748B;
  font-weight: 600;
}

.hist-book-heading {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
}

.hist-info-bubble {
  background: #F8FAFC;
  border-left: 3px solid var(--clay-mint);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  white-space: pre-wrap;
  margin-bottom: 6px;
}

.clay-btn-delete {
  background: none;
  border: none;
  color: #EF4444;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.empty-clay-state {
  text-align: center;
  padding: 20px 10px;
  color: #94A3B8;
  font-size: 12px;
}

/* =============================================================================
   LAYAR 3: DASBOR PANTAUAN GURU (CLAYMORPHISM)
   ============================================================================= */
.teacher-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-print-clay {
  background: linear-gradient(135deg, #10AC84, #059669);
  color: #FFFFFF;
  box-shadow: var(--clay-shadow-btn-mint);
}

.teacher-clay-banner {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.teacher-banner-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--clay-r-sm);
  background: #FFFFFF;
  padding: 3px;
  box-shadow: var(--clay-shadow-item);
  flex-shrink: 0;
}

.teacher-banner-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.teacher-banner-info h2 {
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  color: #312E81;
}

.teacher-banner-info p {
  font-size: 11px;
  color: #4338CA;
  font-weight: 600;
}

/* Filter Card Guru */
.teacher-filter-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filter-date-row label {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.filter-date-row input {
  max-width: 170px;
  padding: 7px 10px;
}

.clay-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.clay-stat-pill {
  border-radius: var(--clay-r-sm);
  padding: 8px;
  text-align: center;
  box-shadow: var(--clay-shadow-item);
  border: 1.5px solid #FFFFFF;
}

.stat-total { background: #F8FAFC; color: #1E293B; }
.stat-done { background: #E3FCEF; color: #059669; }
.stat-pending { background: #FFF3EB; color: #C2410C; }

.stat-digit {
  font-family: var(--f-heading);
  font-size: 19px;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

.stat-caption {
  font-size: 10px;
  font-weight: 700;
}

/* Tab Segmented Filter */
.clay-tab-segmented {
  display: flex;
  gap: 6px;
  background: #EFE8DA;
  padding: 4px;
  border-radius: var(--clay-r-pill);
  box-shadow: var(--clay-shadow-inset);
}

.seg-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 6px 4px;
  border-radius: var(--clay-r-pill);
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.seg-btn.active {
  background: #FFFFFF;
  color: #1E293B;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Daftar Pantauan Siswa Guru */
.teacher-monitor-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.monitor-info-label {
  font-size: 11px;
  color: #64748B;
  padding: 0 4px;
}

.clay-teacher-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clay-teacher-row {
  background: #FFFDF9;
  border-radius: var(--clay-r-md);
  box-shadow: var(--clay-shadow-item);
  border: 2px solid #FFFFFF;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.clay-teacher-row:hover {
  transform: translateY(-2px);
}

.clay-teacher-row.status-done {
  border-left: 5px solid var(--clay-mint);
}

.clay-teacher-row.status-pending {
  border-left: 5px solid #CBD5E1;
}

.t-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-student-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.t-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-num-badge {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 800;
  color: #1E40AF;
  background: #DBEAFE;
  padding: 1px 6px;
  border-radius: 4px;
}

.t-name-txt {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--clay-text-main);
}

.t-body-content {
  font-size: 12px;
  padding-left: 40px;
}

.t-book-title {
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.t-info-bubble {
  color: #475569;
  background: #F8FAFC;
  padding: 5px 8px;
  border-radius: 4px;
  line-height: 1.3;
}

.t-empty-notice {
  color: #94A3B8;
  font-style: italic;
  font-size: 11px;
}

/* =============================================================================
   FOOTER & TOAST CLAY
   ============================================================================= */
.clay-footer {
  text-align: center;
  padding: 14px 16px;
  font-size: 11px;
  color: #94A3B8;
  border-top: 1.5px dashed #EAE2D2;
  margin-top: auto;
}

.clay-toast-box {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1E293B;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--clay-r-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2000;
}

.clay-toast-box.show {
  transform: translateX(-50%) translateY(0);
}

.toast-check-svg {
  color: #10B981;
}

/* =============================================================================
   PRINT REKAP A4 KHUSUS GURU
   ============================================================================= */
@media print {
  body {
    background: #FFFFFF !important;
    padding: 0 !important;
  }
  .clay-mobile-container {
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
  }
  .no-print, .clay-header, .nav-back-bar, .teacher-nav-row, .clay-tab-segmented, .filter-date-row {
    display: none !important;
  }
  #view-student-list, #view-student-form {
    display: none !important;
  }
  #view-teacher-dashboard {
    display: block !important;
    padding: 0 !important;
  }
  .clay-teacher-row {
    border: 1px solid #999 !important;
    box-shadow: none !important;
    break-inside: avoid;
    margin-bottom: 6px;
  }
}
