.lch-page {
   padding: 30px 0 70px;
   background: #f5f5f5;
   min-height: 80vh;
}

.lch-date-nav {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   margin-bottom: 20px;
   position: relative;
   z-index: 1;
}

.lch-nav-btn {
   height: 42px !important;
   padding: 0 20px;
   background: #fff;
   border: 1px solid #ddd;
   border-radius: 6px;
   color: #555;
   text-decoration: none;
   font-size: 14px;
   font-weight: 500;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 6px;
   transition: all 0.2s;
   white-space: nowrap;
   box-sizing: border-box;
   position: relative;
   z-index: 10;
   cursor: pointer;
}

.lch-nav-btn:hover {
   background: #0084ff;
   color: #fff;
   border-color: #0084ff;
}

.lch-nav-btn.today {
   background: #0084ff;
   color: #fff;
   border-color: #0084ff;
}

.lch-input-wrapper {
   position: relative;
   z-index: 1;
}

.lch-date-input-visible {
   height: 42px !important;
   width: 160px !important;
   max-width: 160px !important;
   padding: 0 15px;
   background: #fff;
   border: 1px solid #ddd;
   border-radius: 6px;
   color: #333;
   font-size: 14px;
   font-weight: 600;
   cursor: pointer;
   -webkit-appearance: none;
   text-align: center;
   box-sizing: border-box;
   margin: 0;
   display: block;
}

.lch-date-input-visible:hover {
   border-color: #0084ff;
}

.lch-header {
   display: flex;
   align-items: center;
   gap: 30px;
   background: #0084ff;
   padding: 35px 40px;
   border-radius: 8px;
   color: #fff;
   margin-bottom: 24px;
   box-shadow: 0 4px 20px rgba(0, 132, 255, 0.25);
}

.lch-date-box {
   background: rgba(255, 255, 255, 0.1);
   padding: 18px 28px;
   border-radius: 6px;
   text-align: center;
   border: 1px solid rgba(255, 255, 255, 0.15);
}

.lch-day-number {
   display: block;
   font-size: 48px;
   font-weight: 700;
   line-height: 1;
   color: #ffffff !important;
}

.lch-month {
   font-size: 13px;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   margin-top: 5px;
   display: block;
   color: #ffffff !important;
   opacity: 1 !important;
}

.lch-info {
   flex: 1;
}

.lch-title {
   font-size: 28px;
   font-weight: 700;
   margin: 0 0 6px;
   color: #ffffff !important;
   opacity: 1 !important;
}

.lch-subtitle {
   font-size: 16px;
   margin: 0 0 12px;
   color: #ffffff !important;
   opacity: 1 !important;
}

.lch-meta {
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 14px;
   color: #ffffff !important;
   opacity: 1 !important;
}

.lch-separator {
   color: #ffffff !important;
   opacity: 1 !important;
}

.lch-mass-tabs {
   display: flex;
   gap: 8px;
   margin-bottom: 20px;
   flex-wrap: wrap;
}

.lch-mass-tab {
   padding: 12px 24px;
   background: #fff;
   border: 1px solid #ddd;
   border-radius: 6px;
   font-size: 14px;
   font-weight: 500;
   color: #555;
   cursor: pointer;
   transition: all 0.2s;
}

.lch-mass-tab:hover {
   border-color: #0084ff;
   color: #0084ff;
}

.lch-mass-tab.active {
   background: #0084ff;
   color: #fff;
   border-color: #0084ff;
}

.lch-mass-content {
   display: none;
}

.lch-mass-content.active {
   display: block;
}

.lch-mass-title {
   font-size: 20px;
   font-weight: 600;
   color: #0084ff;
   margin: 0 0 20px;
   padding-bottom: 12px;
   border-bottom: 2px solid #0084ff;
}

.lch-readings {
   display: flex;
   flex-direction: column;
   gap: 16px;
}

.lch-reading-card {
   background: #fff;
   border-radius: 6px;
   overflow: hidden;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
   border: 1px solid #e5e5e5;
}

.lch-card-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 15px;
   padding: 16px 24px;
   background: #fafafa;
   border-bottom: 1px solid #e5e5e5;
}

.lch-card-title h3 {
   font-size: 16px;
   font-weight: 600;
   margin: 0 0 2px;
   color: #0084ff;
}

.lch-reference {
   font-size: 14px;
   color: #666;
}

.lch-copy-btn {
   padding: 8px 16px;
   border-radius: 4px;
   border: 1px solid #ddd;
   background: #fff;
   color: #555;
   cursor: pointer;
   transition: all 0.2s;
   font-size: 13px;
   display: flex;
   align-items: center;
   gap: 6px;
}

.lch-copy-btn:hover {
   background: #0084ff;
   color: #fff;
   border-color: #0084ff;
}

.lch-response {
   padding: 14px 24px;
   background: #fefce8;
   font-size: 15px;
   color: #854d0e;
   border-bottom: 1px solid #fef08a;
}

.lch-card-content {
   padding: 24px;
   font-size: 16px;
   line-height: 1.85;
   color: #333;
   text-align: justify;
}

.lch-gospel-card {
   border-left: 4px solid #991b1b;
}

.lch-gospel-card .lch-card-title h3 {
   color: #991b1b;
}

.lch-alleluia-card .lch-card-content {
   text-align: center;
   font-style: italic;
   color: #854d0e;
   background: #fefce8;
}

.lch-actions {
   margin-top: 24px;
   display: flex;
   justify-content: center;
}

.lch-copy-all-btn {
   padding: 14px 28px;
   background: #0084ff;
   color: #fff;
   border: none;
   border-radius: 6px;
   font-size: 15px;
   font-weight: 500;
   cursor: pointer;
   transition: all 0.2s;
   display: flex;
   align-items: center;
   gap: 8px;
}

.lch-copy-all-btn:hover {
   background: #0070dd;
}

.lch-source {
   margin-top: 30px;
   text-align: center;
}

.lch-source-link {
   color: #666;
   font-size: 14px;
   text-decoration: none;
}

.lch-source-link:hover {
   color: #0084ff;
   text-decoration: underline;
}

.lch-no-content {
   text-align: center;
   padding: 60px 20px;
   background: #fff;
   border-radius: 6px;
}

.lch-no-content h2 {
   font-size: 22px;
   color: #333;
   margin-bottom: 10px;
}

.lch-no-content p {
   color: #666;
   margin-bottom: 20px;
}

.lch-btn-primary {
   display: inline-block;
   padding: 12px 24px;
   background: #0084ff;
   color: #fff;
   border-radius: 6px;
   text-decoration: none;
   font-weight: 500;
}

.lch-toast {
   position: fixed;
   bottom: 30px;
   left: 50%;
   transform: translateX(-50%) translateY(100px);
   background: #0084ff;
   color: #fff;
   padding: 14px 24px;
   border-radius: 6px;
   font-size: 14px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
   opacity: 0;
   transition: all 0.3s ease;
   z-index: 9999;
}

.lch-toast.show {
   opacity: 1;
   transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
   .lch-page {
      padding: 20px 0 50px;
   }

   .lch-date-nav {
      flex-wrap: wrap;
      gap: 8px;
   }

   .lch-nav-btn {
      padding: 8px 14px;
      font-size: 13px;
   }

   .lch-header {
      flex-direction: column;
      text-align: center;
      padding: 25px 20px;
      gap: 15px;
   }

   .lch-date-box {
      padding: 12px 20px;
   }

   .lch-day-number {
      font-size: 36px;
   }

   .lch-title {
      font-size: 22px;
   }

   .lch-meta {
      justify-content: center;
      flex-wrap: wrap;
   }

   .lch-mass-tabs {
      justify-content: center;
   }

   .lch-mass-tab {
      padding: 10px 18px;
      font-size: 13px;
   }

   .lch-card-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 14px 18px;
   }

   .lch-copy-btn {
      align-self: flex-end;
   }

   .lch-card-content {
      padding: 18px;
      font-size: 15px;
      text-align: left;
   }

   .lch-copy-all-btn {
      width: 100%;
      justify-content: center;
   }
}

[data-theme="dark"] .lch-page {
   background: #111827;
}

[data-theme="dark"] .lch-nav-btn {
   background: #1f2937;
   border-color: #374151;
   color: #d1d5db;
}

[data-theme="dark"] .lch-nav-btn:hover,
[data-theme="dark"] .lch-nav-btn.today {
   background: #0084ff;
   color: #fff;
}

[data-theme="dark"] .lch-date-input-visible {
   background: #1f2937;
   border-color: #374151;
   color: #e5e7eb;
}

[data-theme="dark"] .lch-header {
   background: #1f2937;
}

[data-theme="dark"] .lch-mass-tab {
   background: #1f2937;
   border-color: #374151;
   color: #d1d5db;
}

[data-theme="dark"] .lch-mass-tab:hover {
   border-color: #60a5fa;
   color: #60a5fa;
}

[data-theme="dark"] .lch-mass-tab.active {
   background: #374151;
   border-color: #374151;
}

[data-theme="dark"] .lch-mass-title {
   color: #60a5fa;
   border-color: #374151;
}

[data-theme="dark"] .lch-reading-card {
   background: #1f2937;
   border-color: #374151;
}

[data-theme="dark"] .lch-card-header {
   background: #111827;
   border-color: #374151;
}

[data-theme="dark"] .lch-card-title h3 {
   color: #60a5fa;
}

[data-theme="dark"] .lch-reference {
   color: #9ca3af;
}

[data-theme="dark"] .lch-card-content {
   color: #d1d5db;
}

[data-theme="dark"] .lch-copy-btn {
   background: #374151;
   border-color: #4b5563;
   color: #d1d5db;
}

[data-theme="dark"] .lch-copy-btn:hover {
   background: #4b5563;
   color: #fff;
}

[data-theme="dark"] .lch-response {
   background: #422006;
   border-color: #854d0e;
   color: #fcd34d;
}

[data-theme="dark"] .lch-gospel-card {
   border-left-color: #b91c1c;
}

[data-theme="dark"] .lch-gospel-card .lch-card-title h3 {
   color: #fca5a5;
}

[data-theme="dark"] .lch-alleluia-card .lch-card-content {
   background: #422006;
   color: #fcd34d;
}

[data-theme="dark"] .lch-no-content {
   background: #1f2937;
}

[data-theme="dark"] .lch-no-content h2 {
   color: #e5e7eb;
}

[data-theme="dark"] .lch-source-link {
   color: #9ca3af;
}

[data-theme="dark"] .lch-copy-all-btn {
   background: #374151;
}

[data-theme="dark"] .lch-copy-all-btn:hover {
   background: #4b5563;
}