/* Exports app: market cards, requirement tables, status marks and the Arabic notice.
   Uses the tokens of static/css/site.css; never edits it. */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(56px, 7vw, 100px); background: var(--line); border: 1px solid var(--line); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid > .hair-card { border: 0; min-height: 320px; background: var(--paper); }
.card-grid.on-bone > .hair-card { background: var(--bone); }
.card-grid > .hair-card h3 { margin-top: 48px; }
.card-grid > .hair-card > .kicker { margin: 10px 0 0; }
.card-grid.light { background: var(--line-light); border-color: var(--line-light); }
.card-grid.light > .hair-card { background: var(--ink); }
.card-grid.light > .hair-card > p { color: var(--white-70); }
.card-grid.light > .hair-card > .index { color: var(--gold); }
.card-grid.light > .hair-card > .kicker { color: var(--white-60); }

.market-status { display: inline-block; margin: 0 0 18px; padding: 4px 10px; border: 1px solid var(--line); color: var(--muted-dark); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.market-status.active { border-color: #7c2e4366; color: var(--oxblood); }
.card-grid.light .market-status { border-color: var(--line-light); color: var(--white-70); }
.card-grid.light .market-status.active { border-color: #ddb74680; color: var(--gold); }

.req-table { margin-top: 0; }
.req-table th { width: 30%; }
.req-table td { color: #2b2d29; line-height: 1.6; }
.req-table tr:last-child th, .req-table tr:last-child td { border-bottom: 0; }
.fact-row td { line-height: 1.6; }

.arabic-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 clamp(40px, 5vw, 70px); }
.arabic-notice a { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.arabic-notice a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4px; }
.arabic-notice .arabic-name { font-size: 16px; }

.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.doc-list li:first-child { border-top: 1px solid var(--ink); }
.aside-box + .aside-box { margin-top: 24px; }
.aside-box .fact-table { margin: 0; font-size: 14px; }
.aside-box .fact-table th { width: 42%; }
.aside-box .fact-table tr:last-child th, .aside-box .fact-table tr:last-child td { border-bottom: 0; }
.aside-box > p { font-size: 15px; line-height: 1.65; color: var(--muted-dark); }
.aside-box > p + p, .aside-box > p + a { margin-top: 14px; }
.export-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 38px; }
.record-table { margin-top: clamp(50px, 6vw, 90px); }

@media (width <= 1220px) {
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .card-grid > .hair-card { min-height: 0; }
}
