/* Reference data below the 3d.zibadis.ir tools — standards and tables restored from the older tool
   pages, styled in the app palette (--ink, --muted, --orange accent, --border, --bg from each page). */
.zb-ref { margin-top: 48px; }
.zb-ref-head h2 { margin: 0 0 6px; font-size: 22px; }
.zb-ref-head p { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; }

.zb-ref .frame,
.zb-ref .ref-section {
  margin: 0 0 22px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.zb-ref .ref-section .frame { margin: 0; padding: 0; border: 0; border-radius: 0; }
.zb-ref .frame,
.zb-ref .ref-wrap { overflow-x: auto; }

.zb-ref h2 { margin: 0 0 12px; font-size: 16px; }
.zb-ref h3 { margin: 16px 0 8px; font-size: 14px; }
.zb-ref p,
.zb-ref li { color: #5a5a70; font-size: 13.5px; line-height: 1.65; }
.zb-ref ul,
.zb-ref ol { margin: 8px 0 0; padding-left: 20px; }

.zb-ref .ref-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.zb-ref .ref-table th,
.zb-ref .ref-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.zb-ref .ref-table th { background: var(--bg); color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.zb-ref .ref-table tbody tr:hover td { background: color-mix(in srgb, var(--orange) 4%, #fff); }
.zb-ref .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }

/* rating cells */
.zb-ref .good,
.zb-ref .yes { color: #1f8a4c; font-weight: 700; }
.zb-ref .mid,
.zb-ref .partial { color: #b7791f; font-weight: 700; }
.zb-ref .low,
.zb-ref .no { color: #c0392b; font-weight: 700; }

.zb-ref .tag-cell { color: var(--orange); font-weight: 700; }
