/* NEWDB Reports Showcase & Sample Gallery CSS */
.rc-page {
  --rc-accent: #2457d6;
  --rc-accent-hover: #1947bd;
  --rc-accent-light: #eff4ff;
  --rc-ink: #0f172a;
  --rc-slate: #334155;
  --rc-muted: #64748b;
  --rc-line: #e2e8f0;
  --rc-line-subtle: #f1f5f9;
  --rc-bg-alt: #f8fafc;
  --rc-card-bg: #ffffff;
  --rc-green: #10b981;
  --rc-green-bg: #ecfdf5;
  --rc-red: #ef4444;
  --rc-red-bg: #fef2f2;
  --rc-amber: #f59e0b;
  --rc-amber-bg: #fffbeb;
  --rc-radius-lg: 20px;
  --rc-radius-md: 14px;
  --rc-radius-sm: 8px;
  --rc-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --rc-shadow-hover: 0 12px 30px -4px rgba(36, 87, 214, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

.rc-page section[id], .rc-page nav[id] {
  scroll-margin-top: 100px;
}

/* Hero Section */
.or-hero {
  padding: 48px 0 36px;
}
.or-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.or-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--rc-accent-light);
  color: var(--rc-accent);
  border: 1px solid rgba(36, 87, 214, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.or-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rc-accent);
  box-shadow: 0 0 0 3px rgba(36, 87, 214, 0.25);
}
.or-hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 750;
  color: var(--rc-ink);
  margin: 0 0 20px;
}
.or-hero h1 span {
  background: linear-gradient(135deg, var(--rc-accent) 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.or-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--rc-slate);
  margin-bottom: 28px;
  max-width: 620px;
}
.or-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rc-line);
}
.or-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--rc-ink);
  letter-spacing: -0.02em;
}
.or-stat-label {
  font-size: 12px;
  color: var(--rc-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Live Report Interactive Mockup in Hero */
.or-hero-preview {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-lg);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12);
  padding: 24px;
  overflow: hidden;
}
.or-hero-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rc-accent), #6366f1, #10b981);
}
.or-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rc-line);
  margin-bottom: 18px;
}
.or-preview-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--rc-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.or-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--rc-green-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rc-green);
}

/* Quick Nav Tabs */
.or-nav-bar {
  position: sticky;
  top: 70px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rc-line);
  border-bottom: 1px solid var(--rc-line);
  padding: 14px 0;
  margin: 20px 0 40px;
}
.or-nav-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.or-nav-wrap::-webkit-scrollbar {
  display: none;
}
.or-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  color: var(--rc-slate);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.or-nav-item:hover {
  border-color: var(--rc-accent);
  color: var(--rc-accent);
  background: var(--rc-accent-light);
}

/* Interactive Report Sheet Slider / Viewer Section */
.or-viewer-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-lg);
  padding: 40px 32px;
  margin-bottom: 60px;
}
.or-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.or-viewer-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.or-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rc-line);
  background: #ffffff;
  color: var(--rc-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.or-btn-icon:hover {
  border-color: var(--rc-accent);
  color: var(--rc-accent);
  background: var(--rc-accent-light);
}
.or-page-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--rc-muted);
}

/* Slider Canvas & Pages */
.or-slider-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: stretch;
}
.or-thumbs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.or-thumb-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-md);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font: inherit;
  color: inherit;
  width: 100%;
}
.or-thumb-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.or-thumb-btn.is-active {
  border-color: var(--rc-accent);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(36, 87, 214, 0.15);
}
.or-thumb-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--rc-line-subtle);
  color: var(--rc-muted);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.or-thumb-btn.is-active .or-thumb-num {
  background: var(--rc-accent);
  color: #ffffff;
}
.or-thumb-info strong {
  display: block;
  font-size: 13px;
  color: var(--rc-ink);
  line-height: 1.3;
}
.or-thumb-info span {
  font-size: 11px;
  color: var(--rc-muted);
}

/* Active Sheet View */
.or-sheet-stage {
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-md);
  box-shadow: var(--rc-shadow);
  padding: 32px;
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.or-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--rc-ink);
  padding-bottom: 14px;
  margin-bottom: 24px;
}
.or-sheet-meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rc-accent);
  text-transform: uppercase;
}
.or-sheet-brand {
  font-size: 13px;
  font-weight: 800;
  color: var(--rc-ink);
  letter-spacing: 0.04em;
}
.or-sheet-body {
  flex: 1;
}
.or-sheet-title {
  font-size: 22px;
  font-weight: 750;
  color: var(--rc-ink);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.or-sheet-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rc-slate);
  margin-bottom: 24px;
}
.or-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.or-sheet-box {
  padding: 16px;
  background: var(--rc-bg-alt);
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-sm);
}
.or-sheet-box-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rc-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.or-sheet-box-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--rc-ink);
}
.or-sheet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rc-line);
  padding-top: 18px;
  margin-top: auto;
  font-size: 12px;
  color: var(--rc-muted);
}
.or-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rc-accent);
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.or-zoom-btn:hover {
  text-decoration: underline;
}

/* Category Filter Bar */
.or-filters-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 36px 0 28px;
}
.or-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.or-filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rc-muted);
  letter-spacing: 0.05em;
  margin-right: 8px;
}
.or-chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--rc-line);
  background: #ffffff;
  color: var(--rc-slate);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font: inherit;
}
.or-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.or-chip.is-active {
  background: var(--rc-ink);
  color: #ffffff;
  border-color: var(--rc-ink);
}

/* Cases Grid & Cards */
.or-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.or-case-card {
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--rc-shadow);
  position: relative;
}
.or-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rc-shadow-hover);
  border-color: #cbd5e1;
}
.or-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.or-category-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rc-accent);
}
.or-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.or-status-clean {
  background: var(--rc-green-bg);
  color: #059669;
}
.or-status-risk {
  background: var(--rc-red-bg);
  color: #dc2626;
}
.or-status-caution {
  background: var(--rc-amber-bg);
  color: #d97706;
}
.or-status-research {
  background: var(--rc-accent-light);
  color: var(--rc-accent);
}
.or-case-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rc-ink);
  margin: 0 0 12px;
}
.or-case-situation {
  font-size: 13px;
  line-height: 1.55;
  color: var(--rc-slate);
  margin-bottom: 16px;
}
.or-case-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--rc-slate);
}
.or-case-facts li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.45;
}
.or-case-facts li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--rc-accent);
  font-size: 14px;
  font-weight: bold;
}
.or-card-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rc-line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.or-view-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--rc-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.or-view-link:hover {
  text-decoration: underline;
}

.or-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.or-direction-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px -24px rgba(15, 35, 65, .5);
}
.rc-page .or-direction-card .cr-index {
  display: block;
  margin-bottom: 8px;
  color: #2457d6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
}
.rc-page .or-direction-card h3 {
  margin: 0 0 12px;
  color: #15273f;
  font-size: 18px;
  line-height: 1.35;
}
.rc-page .or-direction-card > p {
  margin: 0 0 18px;
  color: #526279;
  font-size: 13px;
  line-height: 1.65;
}
.rc-page .or-direction-card ul {
  margin: 0 0 22px !important;
  padding-left: 18px !important;
  color: #526279 !important;
  font-size: 12px !important;
  line-height: 1.55;
}
.rc-page .or-direction-card li + li { margin-top: 7px; }
.rc-page .or-direction-card > .cr-button,
.rc-page .or-direction-card > button,
.rc-page .or-direction-card > div:last-child { margin-top: auto !important; }
.or-direction-property {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 32px;
  align-items: center;
  margin-top: 20px;
}
.or-property-note {
  padding: 24px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #f4f7fb;
}

/* Comparison Table of Report Formats */
.or-table-card {
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  box-shadow: var(--rc-shadow);
  margin-bottom: 60px;
}
.or-table-wrap {
  overflow-x: auto;
}
.or-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.or-table th {
  background: #f8fafc;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--rc-ink);
  border-bottom: 1px solid var(--rc-line);
}
.or-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rc-line-subtle);
  color: var(--rc-slate);
  vertical-align: top;
}
.or-table tr:hover td {
  background: #fbfcfe;
}
.or-format-name {
  font-weight: 700;
  color: var(--rc-ink);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.or-order-cell { min-width: 160px; }
.or-price {
  display: block;
  color: #15273f;
  font-size: 14px;
  line-height: 1.35;
}
.or-price-note {
  display: block;
  margin: 3px 0 10px;
  color: #718197;
  font-size: 10px;
  line-height: 1.4;
}
.rc-page .or-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #2457d6;
  border-radius: 7px;
  background: #2457d6;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.rc-page .or-order-link:hover { background: #1947bd; }
.rc-page .or-order-link-secondary {
  margin-top: 6px;
  background: #fff;
  color: #2457d6;
}
.rc-page .or-order-link-secondary:hover { background: #eff4ff; }

/* Lightbox Modal */
.or-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.or-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.or-modal-dialog {
  background: #ffffff;
  border-radius: var(--rc-radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
  position: relative;
}
.or-modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--rc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.or-modal-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--rc-ink);
  margin: 0;
}
.or-modal-close {
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--rc-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.or-modal-close:hover {
  background: var(--rc-line);
  color: var(--rc-ink);
}
.or-modal-body {
  padding: 28px;
  overflow-y: auto;
}
.or-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f8fafc;
}

/* Document Reader Modal Enhancements */
.or-modal-dialog.is-reader {
  max-width: 96vw;
  width: 96vw;
  height: 94vh;
  max-height: 94vh;
}
.or-modal-body.is-iframe-body {
  padding: 0 !important;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  display: flex;
}
.or-reader-iframe {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  border: 0;
  display: block;
  background: #ffffff;
}
.or-reader-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.or-reader-tab {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.or-reader-tab:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.or-reader-tab.is-active {
  background: #2457d6;
  border-color: #2457d6;
  color: #ffffff;
}

/* Consultation Banner */
.or-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--rc-radius-lg);
  padding: 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.or-cta-box h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 16px;
}
.or-cta-box p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.or-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--rc-accent);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--rc-radius-md);
  text-decoration: none;
  transition: background 0.15s ease;
}
.or-cta-btn:hover {
  background: #1d4ed8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .or-hero-grid, .or-slider-container, .or-cta-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .or-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .or-cases-grid {
    grid-template-columns: 1fr;
  }
  .or-hero-stats {
    grid-template-columns: 1fr;
  }
  .or-sheet-stage {
    padding: 20px;
  }
  .or-sheet-grid {
    grid-template-columns: 1fr;
  }
  .or-cta-box {
    padding: 28px;
  }
}


/* Corporate document workspace. */
.rc-page .or-report-workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr); margin-top: 30px; overflow: hidden; border: 1px solid #cfd9e7; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px -42px rgba(15, 35, 65, .55); }
.rc-page fieldset.or-report-switcher { min-width: 0; margin: 0; padding: 24px 16px; border: 0; border-right: 1px solid #d7e0eb; background: #f1f5f9; }
.rc-page .or-report-switcher legend { float: left; width: 100%; margin: 0 0 6px; padding: 0 8px; color: #15273f; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rc-page .or-report-switcher-note { clear: both; margin: 0 8px 18px; color: #66788e; font-size: 11px; line-height: 1.55; }
.rc-page .or-report-switcher-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.rc-page label.or-report-toggle { position: relative; display: block; min-width: 0; margin: 0; color: #344a63; cursor: pointer; }
.rc-page .or-report-toggle input[type=radio] { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rc-page .or-report-toggle span { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 1px 8px; min-height: 62px; padding: 11px 28px 10px 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #344a63; line-height: 1.25; transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.rc-page .or-report-toggle span::after { content: '›'; position: absolute; right: 11px; top: 18px; color: #91a0b2; font-size: 20px; font-weight: 300; }
.rc-page .or-report-toggle b { grid-row: 1 / 3; padding-top: 2px; color: #8292a6; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.rc-page .or-report-toggle i { overflow: hidden; color: inherit; font-size: 13px; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rc-page .or-report-toggle small { overflow: hidden; color: #728398; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rc-page .or-report-toggle:hover span { border-color: #c7d4e5; background: #e8eef6; }
.rc-page .or-report-toggle input:checked + span { border-color: #c2d2e9; background: #fff; color: #1748b5; box-shadow: 0 5px 16px rgba(30, 64, 110, .08); }
.rc-page .or-report-toggle input:checked + span::after, .rc-page .or-report-toggle input:checked + span b { color: #2457d6; }
.rc-page .or-report-toggle input:focus-visible + span { outline: 3px solid #85a6f0; outline-offset: 3px; }
.or-report-document { min-width: 0; background: #fff; }
.or-report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding: 16px 20px; background: #15273f; color: #fff; }
.or-report-file-label { display: block; margin-bottom: 5px; color: #9eb4d0; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.rc-page .or-report-toolbar h3 { margin: 0; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.or-report-actions { display: flex; flex: 0 0 auto; gap: 7px; margin: 0; }
.or-report-actions button, .or-report-actions a { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 11px; border: 1px solid #526780; border-radius: 6px; background: transparent; color: #f4f7fb !important; font: inherit; font-size: 10px; font-weight: 650; text-decoration: none !important; cursor: pointer; }
.or-report-actions button:hover, .or-report-actions a:hover { border-color: #8ea7c6; background: #243a56; }
.or-report-frame-wrap { position: relative; height: 720px; max-height: 78vh; min-height: 520px; background: #f5f7fa; }
#generated-report-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.or-report-loading { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #f5f7fa; color: #64748b; font-size: 12px; }
.or-report-loading[hidden] { display: none; }
.or-report-loading span { width: 25px; height: 25px; border: 2px solid #cfdaea; border-top-color: #2457d6; border-radius: 50%; animation: or-report-spin .8s linear infinite; }
.or-report-loading p { margin: 0; }
@keyframes or-report-spin { to { transform: rotate(360deg); } }
.or-report-foot { display: flex; justify-content: space-between; gap: 20px; padding: 13px 20px; border-top: 1px solid #dce4ed; color: #64758a; font-size: 10px; }

@media (max-width: 900px) {
  .rc-page { min-width: 0; overflow: hidden; }
  .or-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .or-hero-preview { max-width: 100%; }
  .or-nav-wrap { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; scrollbar-width: thin; }
  .or-nav-item { flex: 0 0 auto; }
  .or-cases-grid { grid-template-columns: 1fr; }
  .or-directions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .or-direction-property { grid-template-columns: 1fr; }
  .or-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .or-table { min-width: 720px; }
  .rc-page .or-report-workspace { grid-template-columns: 220px minmax(0, 1fr); }
  .rc-page fieldset.or-report-switcher { padding: 18px 10px; }
  .or-report-actions { flex-wrap: wrap; justify-content: flex-end; }
  .or-report-toolbar { align-items: flex-start; }
  .or-modal-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .or-reader-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .or-reader-tab { flex: 0 0 auto; }
}

@media (max-width: 560px) {
  .rc-page { font-size: 15px; }
  .rc-page .cr-section { padding: 38px 0; }
  .rc-page h1 { font-size: clamp(32px, 10vw, 42px); overflow-wrap: anywhere; }
  .rc-page h2 { font-size: clamp(25px, 7.5vw, 32px); overflow-wrap: anywhere; }
  .or-hero { padding-top: 28px; }
  .or-hero-lead { font-size: 16px; line-height: 1.65; }
  .or-hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .rc-page .or-report-workspace { grid-template-columns: 1fr; border-radius: 10px; }
  .rc-page fieldset.or-report-switcher { padding: 14px; border-right: 0; border-bottom: 1px solid #d7e0eb; }
  .rc-page .or-report-switcher-note { margin-bottom: 12px; }
  .rc-page .or-report-switcher-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .rc-page .or-report-toggle span { grid-template-columns: 22px 1fr; min-height: 56px; padding: 9px 8px; }
  .rc-page .or-report-toggle span::after, .rc-page .or-report-toggle small { display: none; }
  .rc-page .or-report-toggle b { grid-row: auto; font-size: 9px; }
  .rc-page .or-report-toggle i { font-size: 11px; white-space: normal; }
  .or-report-toolbar { display: block; min-height: 0; padding: 14px; }
  .or-report-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .or-report-actions button, .or-report-actions a { justify-content: center; padding: 8px 5px; font-size: 9px; }
  .or-report-actions #generated-report-expand { grid-column: 1 / -1; }
  .or-report-frame-wrap { height: 62dvh; min-height: 460px; max-height: 620px; }
  .or-report-foot { display: block; padding: 10px 14px; line-height: 1.5; }
  .or-report-foot span:last-child { display: none; }
  .or-filter-row { align-items: stretch; }
  .or-filter-label { width: 100%; }
  .or-chip { min-height: 44px; }
  .or-case-card { padding: 18px; }
  .or-directions-grid { grid-template-columns: 1fr; }
  .or-direction-card { padding: 20px; }
  .or-card-top, .or-card-actions { align-items: stretch; flex-direction: column; }
  .or-card-actions button, .or-card-actions a { width: 100%; min-height: 44px; text-align: left; }
  .cr-builder, .cr-grid.cr-two, .cr-checks { grid-template-columns: 1fr; }
  .cr-summary { position: static; }
  .or-modal { padding: 6px; }
  .or-modal-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: none; border-radius: 10px; }
  .or-modal-header, .or-modal-footer { padding: 10px; }
  .or-modal-header { align-items: flex-start; }
  .or-modal-subtitle { display: none; }
  .or-modal-footer { flex-direction: column; align-items: stretch; }
  .or-modal-footer > div { display: grid !important; grid-template-columns: 1fr 1fr; width: 100%; }
  .or-modal-footer .cr-button { width: 100%; padding: 9px 7px !important; font-size: 11px !important; }
}
