  body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; 
    background-color: #f7fafc; 
    color: #1a202c; 
    margin: 0; 
    padding: 20px; 
  }
  
  .container { 
    max-width: 1000px; 
    margin: 30px auto; 
    background: #ffffff; 
    padding: 20px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(26, 32, 44, 0.04); 
  }
  
  h1 { 
    font-size: 2.2em; 
    color: #1a1f36; 
    margin-bottom: 8px; 
    font-weight: 700;
    text-align: left; 
  }
  
  p.intro { 
    color: #4f566b; 
    font-size: 1.1em; 
    line-height: 1.6; 
    margin-top: 0; 
    margin-bottom: 30px; 
    text-align: left; 
  }
  
  .laws-grid { 
    display: flex; 
    gap: 20px; 
    margin-top: 35px; 
    margin-bottom: 20px; 
  }
  
  .law-card { 
    flex: 1; 
    border: 1px solid #e2e8f0; 
    padding: 24px; 
    border-radius: 10px; 
    background: #f8fafc;
    text-align: left; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .law-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.03);
  }
  
  .law-icon { 
    font-size: 26px; 
    margin-bottom: 12px; 
  }
  
  .law-card h3 { 
    margin: 0 0 10px 0; 
    font-size: 1.15em; 
    color: #0066cc;
    font-weight: 600;
  }
  
  .law-card p { 
    margin: 0; 
    font-size: 0.92em; 
    color: #4a5568; 
    line-height: 1.55; 
  }
  
  .legal-alert-box { 
    padding: 16px 22px; 
    border-radius: 8px; 
    font-size: 0.95em; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    text-align: left; 
    box-sizing: border-box; 
  }
  
  .alert-danger { 
    background-color: #fff5f5; 
    border: 1px solid #fed7d7; 
    color: #c53030; 
  }
  
  .alert-success { 
    background-color: #f0fff4; 
    border: 1px solid #c6f6d5; 
    color: #22543d; 
  }
  
  .legal-general-notice { 
    font-size: 0.88em; 
    color: #718096; 
    text-align: center; 
    margin-bottom: 30px; 
    line-height: 1.5; 
    padding: 0 10px;
  }
/* ================================================= */
/* INTERACTIVE AUDITOR LEDGER UI STYLES              */
/* ================================================= */

.med-calc-box { 
  background: #ffffff; 
  border: 1px solid #e2e8f0; 
  border-radius: 12px; 
  padding: 35px; 
  margin-bottom: 30px; 
  box-shadow: 0 10px 25px rgba(0,0,0,0.02); 
  text-align: left; 
  box-sizing: border-box; 
}

.med-calc-title { 
  font-size: 1.6em; 
  color: #1a1f36; 
  margin: 0 0 5px 0; 
  font-weight: 700; 
}

.med-calc-desc { 
  color: #4f566b; 
  font-size: 1em; 
  margin-bottom: 25px; 
  line-height: 1.5; 
}

.med-form-row { 
  display: flex; 
  gap: 15px; 
  margin-bottom: 15px; 
  align-items: flex-end; 
}

.med-form-group { 
  margin-bottom: 20px; 
  display: block; 
  width: 100%; 
  box-sizing: border-box; 
}

.flex-2 { flex: 2; } 
.flex-1 { flex: 1; }

.med-label { 
  display: block; 
  font-weight: 600; 
  font-size: 0.95em; 
  color: #1a1f36; 
  margin-bottom: 8px; 
}

.med-input, .med-select { 
  width: 100%; 
  padding: 14px; 
  border: 1px solid #d9e2ec; 
  border-radius: 8px; 
  font-size: 16px; 
  background-color: #f8fafc; 
  color: #1a202c; 
  box-sizing: border-box; 
  transition: border-color 0.2s; 
}

.med-input:focus, .med-select:focus { 
  border-color: #0066cc; 
  background-color: #ffffff; 
  outline: none; 
}

.search-suggest-box { 
  position: relative; 
  width: 100%; 
}

.suggest-dropdown { 
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 0; 
  width: 100%; 
  background: #ffffff; 
  border: 1px solid #d9e2ec; 
  border-radius: 8px; 
  max-height: 220px; 
  overflow-y: auto; 
  z-index: 999; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.08); 
  margin-top: 4px; 
}

.suggest-item { 
  padding: 12px 15px; 
  cursor: pointer; 
  font-size: 0.92em; 
  border-bottom: 1px solid #f0f4f8; 
  color: #2d3748; 
}

.suggest-item:last-child { 
  border-bottom: none; 
}

.suggest-item:hover { 
  background: #f0f7ff; 
  color: #0066cc; 
}

.basket-wrapper { 
  background: #f8fafc; 
  border: 1px solid #e2e8f0; 
  border-radius: 10px; 
  padding: 20px; 
  margin-bottom: 25px; 
}

.basket-empty-text { 
  color: #718096; 
  font-style: italic; 
  font-size: 0.95em; 
  text-align: center; 
  margin: 10px 0; 
}

.basket-table { 
  width: 100%; 
  border-collapse: collapse; 
  display: none; 
  margin-top: 10px; 
}

.basket-table th { 
  text-align: left; 
  padding: 10px; 
  font-size: 0.88em; 
  color: #718096; 
  font-weight: 600; 
  border-bottom: 2px solid #e2e8f0; 
}

.basket-table td { 
  padding: 12px 10px; 
  font-size: 0.92em; 
  color: #2d3748; 
  border-bottom: 1px solid #edf2f7; 
  vertical-align: middle; 
}

.basket-delete-btn { 
  background: none; 
  border: none; 
  color: #e53e3e; 
  font-size: 18px; 
  cursor: pointer; 
  padding: 0 5px; 
  font-weight: 700; 
  transition: color 0.1s; 
}

.basket-delete-btn:hover { 
  color: #c53030; 
}

.med-checklist { 
  background: #ffffff; 
  border-radius: 8px; 
  padding: 20px; 
  margin-top: 25px; 
  margin-bottom: 25px; 
  border: 1px solid #e2e8f0; 
}

.med-checklist-title { 
  font-weight: 600; 
  font-size: 1em; 
  color: #1a1f36; 
  margin-bottom: 15px; 
  display: block; 
}

.med-check-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
  margin-bottom: 12px; 
  cursor: pointer; 
  font-size: 0.92em; 
  color: #4a5568; 
  line-height: 1.4; 
  user-select: none; 
}

.med-check-item input[type="checkbox"] { 
  width: 18px; 
  height: 18px; 
  margin-top: 2px; 
  cursor: pointer; 
  flex-shrink: 0; 
}

.med-results-panel { 
  display: none; 
  background: #f0fff4; 
  border: 1px solid #c6f6d5; 
  border-radius: 8px; 
  padding: 25px; 
  margin-top: 25px; 
  text-align: center; 
  box-sizing: border-box; 
}

.med-res-row { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 0; 
  border-bottom: 1px dashed #c6f6d5; 
  font-size: 1.05em; 
}

.med-res-row:last-child { 
  border-bottom: none; 
  font-size: 1.3em; 
  font-weight: 700; 
  color: #22543d; 
  padding-top: 15px; 
}

.med-btn-primary { 
  width: 100%; 
  background: #0066cc; 
  color: #ffffff; 
  border: none; 
  padding: 16px; 
  border-radius: 8px; 
  font-size: 18px; 
  font-weight: 700; 
  cursor: pointer; 
  transition: background 0.2s, transform 0.1s; 
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15); 
}

.med-btn-primary:hover { 
  background: #0052a3; 
}

.med-btn-secondary { 
  background: #edf2f7; 
  color: #2d3748; 
  border: 1px solid #cbd5e0; 
  padding: 14px 20px; 
  border-radius: 8px; 
  font-size: 16px; 
  font-weight: 600; 
  cursor: pointer; 
  box-sizing: border-box; 
  height: 50px; 
}

.med-btn-secondary:hover { 
  background: #e2e8f0; 
}

.med-btn-slash { 
  background: #ff2e2e !important; 
  box-shadow: 0 4px 12px rgba(255, 46, 46, 0.15) !important; 
  margin-top: 20px; 
}

.med-btn-slash:hover { 
  background: #cc1f1f !important; 
}

.med-modal-overlay { 
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(26, 31, 54, 0.6); 
  z-index: 10000; 
  align-items: center; 
  justify-content: center; 
  padding: 20px; 
  box-sizing: border-box; 
  backdrop-filter: blur(4px); 
}

.med-modal-window { 
  background: #ffffff; 
  max-width: 500px; 
  width: 100%; 
  border-radius: 12px; 
  padding: 35px; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
  position: relative; 
  box-sizing: border-box; 
  text-align: left; 
}

.med-modal-close { 
  position: absolute; 
  top: 15px; 
  right: 20px; 
  font-size: 28px; 
  color: #a0aec0; 
  cursor: pointer; 
  line-height: 1; 
}
/* ================================================= */
/* END INTERACTIVE AUDITOR LEDGER UI STYLES          */
/* ================================================= */

/* FAQ Accordion */
.faq-container { margin-top: 30px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; background: #ffffff; }
.faq-item { border-bottom: 1px solid #edf2f7; }
.faq-item:last-child { border-bottom: none; }
.faq-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none; padding: 18px 0; font-size: 15px; font-weight: 600; color: #2d3748; text-align: left; cursor: pointer; }
.faq-icon { font-size: 18px; color: #3182ce; transition: transform 0.2s; }
.faq-trigger.active .faq-icon { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; font-size: 14px; color: #4a5568; line-height: 1.6; padding-bottom: 0; }
.faq-trigger.active + .faq-content { padding-bottom: 18px; }

/* Interlinking Grid */
.links-container { margin-top: 30px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; background: #ffffff; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 20px; margin-top: 20px; }
.interlink-item { font-size: 13px; color: #3182ce; text-decoration: none; transition: color 0.15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.interlink-item:hover { color: #2b6cb0; text-decoration: underline; }

/* Footer Links */
.footer-container { margin-top: 40px; padding: 20px 0; border-top: 1px solid #e2e8f0; text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 15px; font-size: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.footer-link-btn { background: none; border: none; color: #4a5568; cursor: pointer; text-decoration: underline; font-size: 12px; padding: 0; }
.footer-link-btn:hover { color: #2b6cb0; }
.footer-copy { font-size: 11px; color: #a0aec0; }

/* Modal Box with Mandatory Scroll */
.legal-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99999; justify-content: center; align-items: center; padding: 15px; }
.legal-modal { background: #ffffff; width: 100%; max-width: 550px; border-radius: 12px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); overflow: hidden; }
.legal-modal-header { background: #f7fafc; padding: 15px 20px; font-weight: 700; border-bottom: 1px solid #e2e8f0; font-size: 16px; color: #2d3748; }
.legal-scroll-box { padding: 20px; max-height: 250px; overflow-y: scroll; font-size: 13px; color: #4a5568; line-height: 1.6; border-bottom: 1px solid #e2e8f0; background: #fafafa; }
.legal-modal-footer { padding: 15px 20px; display: flex; justify-content: flex-end; background: #f7fafc; }
.legal-accept-btn { background: #38a169; color: white; border: none; padding: 10px 25px; font-size: 14px; font-weight: 600; border-radius: 6px; cursor: pointer; transition: background 0.2s; }
.legal-accept-btn:disabled { background: #cbd5e0; cursor: not-allowed; opacity: 0.6; }
/* END FAQ Accordion */

.links-container { 
    margin-top: 40px; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 25px; 
    background: #ffffff; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.links-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 12px 20px; 
    margin-top: 20px; 
}

.interlink-item { 
    font-size: 13.5px; 
    color: #3182ce; 
    text-decoration: none; 
    transition: color 0.15s, text-decoration 0.15s; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    font-weight: 500;
}

.interlink-item:hover { 
    color: #2b6cb0; 
    text-decoration: underline; 
}

.footer-container { 
    margin-top: 50px; 
    padding: 25px 0; 
    border-top: 1px solid #e2e8f0; 
    text-align: center; 
}

.footer-nav { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 12px; 
    flex-wrap: wrap; 
}

.footer-link-btn { 
    background: none; 
    border: none; 
    color: #4a5568; 
    cursor: pointer; 
    text-decoration: underline; 
    font-size: 13px; 
    padding: 0; 
    font-weight: 500;
}

.footer-link-btn:hover { 
    color: #3182ce; 
}

.footer-copy { 
    font-size: 12px; 
    color: #a0aec0; 
}

.legal-modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.5); 
    z-index: 99999; 
    justify-content: center; 
    align-items: center; 
    padding: 15px; 
    box-sizing: border-box;
}

.legal-modal { 
    background: #ffffff; 
    width: 100%; 
    max-width: 550px; 
    border-radius: 12px; 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); 
    overflow: hidden; 
}

.legal-modal-header { 
    background: #f7fafc; 
    padding: 16px 20px; 
    font-weight: 700; 
    border-bottom: 1px solid #e2e8f0; 
    font-size: 16px; 
    color: #2d3748; 
}

.legal-scroll-box { 
    padding: 20px; 
    max-height: 240px; 
    overflow-y: scroll; 
    font-size: 13.5px; 
    color: #4a5568; 
    line-height: 1.6; 
    border-bottom: 1px solid #e2e8f0; 
    background: #fafafa; 
    box-sizing: border-box;
}

.legal-modal-footer { 
    padding: 15px 20px; 
    display: flex; 
    justify-content: flex-end; 
    background: #f7fafc; 
}

.legal-accept-btn { 
    background: #38a169; 
    color: white; 
    border: none; 
    padding: 10px 28px; 
    font-size: 14px; 
    font-weight: 600; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: background 0.15s; 
}

.legal-accept-btn:hover:not(:disabled) { 
    background: #2f855a; 
}

.legal-accept-btn:disabled { 
    background: #cbd5e0; 
    cursor: not-allowed; 
    opacity: 0.6; 
}
.footer-static-link {
    color: #4a5568;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
}
.footer-static-link:hover {
    color: #3182ce;
}

@media (max-width: 768px) {
  .laws-grid {
    flex-direction: column;
}
  .container, .sitemap-container {
    max-width: none!important;
    margin: 0!important;
    background: none!important;
    padding: 0!important;
    border-radius: none!important;
    box-shadow: none!important;
}
  .proc {
    padding: 0 !important;
}
}