/* Board area: inquiry board, RFQ, operators, news, brands, field tools, pages. Uses site.css variables. */
.board-hero { background: radial-gradient(900px 300px at 0% -20%, rgba(13,115,119,.25), transparent), linear-gradient(135deg, #0f2f36, #134950); color: #fff; padding: 36px 0 40px; }
.board-hero h1 { color: #fff; font-weight: 800; }
.board-hero p { color: #cbd5e1; }
.board-hero .stat strong { color: var(--accent); font-size: 26px; display: block; line-height: 1; }
.board-hero .stat { color: #cbd5e1; font-size: 13px; }
.board-hero .btn-outline-light { border-radius: 10px; }

/* Inquiry rows */
.inq-card h3 { font-size: 16px; margin: 6px 0; line-height: 1.35; }
.inq-card .meta { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.inq-card .snippet { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.inq-card.urgent { border-left: 4px solid #dc2626; }
.rtl .inq-card.urgent { border-left: 1px solid var(--border); border-right: 4px solid #dc2626; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.fact-grid div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.fact-grid small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.fact-grid strong { font-size: 15px; }
.quote-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; background: var(--surface); }
.quote-card.accepted { border-color: #16a34a; }
.quote-card.declined { opacity: .7; }
.cta-box { border: 2px dashed var(--accent); border-radius: var(--radius); padding: 18px; background: var(--accent-50); }

/* RFQ */
.rfq-step { display: flex; gap: 12px; margin-bottom: 16px; }
.rfq-step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rfq-row { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-bottom: 8px; }
.rfq-row .row-no { font-weight: 700; font-size: 12px; color: var(--muted); }
.ref-no { font-size: 28px; font-weight: 800; letter-spacing: .06em; color: var(--accent-600); }

/* Operators */
.op-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; height: 100%; display: flex; flex-direction: column; position: relative; transition: .15s; }
.op-card:hover { border-color: var(--accent); }
.op-card h3 { font-size: 16px; margin: 0; }
.op-card h3 a { color: var(--ink); }
.op-card h3 a::after { content: ""; position: absolute; inset: 0; }
.op-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--accent-50); color: var(--accent-600); font-weight: 800; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--accent); }
.op-av.lg { width: 120px; height: 120px; font-size: 40px; }
.op-card .specs { font-size: 13px; color: var(--muted); margin-top: 10px; }
.op-card .specs div { margin-bottom: 3px; }
.badge-avail { background: #dcfce7; color: #166534; }
.badge-busy { background: #f1f5f9; color: #64748b; }

/* News */
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; position: relative; transition: .15s; }
.news-card:hover { border-color: var(--accent); }
.news-img { position: relative; padding-top: 56%; background: linear-gradient(135deg, #0d7377, #095a5d 55%, #134950); overflow: hidden; }
.news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 42px; }
.news-card .body { padding: 14px; flex: 1; }
.news-card h3 { font-size: 16px; line-height: 1.35; margin: 6px 0; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-600); }
.pill-nav a { display: inline-block; padding: 5px 14px; margin: 0 6px 8px 0; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.pill-nav a.active, .pill-nav a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.article-hero { border-radius: var(--radius); overflow: hidden; max-height: 420px; }
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.article-body { font-size: 16px; line-height: 1.75; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body h2, .article-body h3 { margin-top: 1.4em; }
.share-btns .btn { margin: 0 6px 6px 0; }

/* Brands */
.letter-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.letter-nav a, .letter-nav span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 13px; color: var(--ink); }
.letter-nav a:hover { border-color: var(--accent); background: var(--accent-50); }
.letter-nav span { color: var(--muted); opacity: .45; }
.brand-tile { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); height: 100%; transition: .15s; }
.brand-tile:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.brand-logo { width: 48px; height: 48px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--accent-600); flex-shrink: 0; overflow: hidden; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo.lg { width: 96px; height: 96px; font-size: 32px; }
.letter-head { font-size: 22px; font-weight: 800; color: var(--accent-600); border-bottom: 1px solid var(--border); padding-bottom: 4px; margin: 24px 0 12px; scroll-margin-top: 90px; }

/* Field tools */
.tool-card { display: flex; flex-direction: column; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); height: 100%; transition: .15s; }
.tool-card:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.tool-card i.ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-50); color: var(--accent-600); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.tool-card p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 8px; }
.tool-result { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.tool-result .big { font-size: 28px; font-weight: 800; color: var(--accent-600); line-height: 1.1; }
.tool-result .res-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.tool-result .res-line:last-child { border-bottom: 0; }
.tool-result .res-line span:first-child { color: var(--muted); }
.tool-note { font-size: 13px; color: var(--muted); }
.band-ok { background: #dcfce7; color: #166534; }
.band-warn { background: #fef3c7; color: #92400e; }
.band-bad { background: #fee2e2; color: #991b1b; }
.band { border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.load-row .form-control, .load-row .custom-select { height: 36px; font-size: 14px; }

/* Static pages */
.legal h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.contact-line:last-child { border-bottom: 0; }
.contact-line i { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-50); color: var(--accent-600); display: inline-flex; align-items: center; justify-content: center; }
.value-card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); height: 100%; }
.value-card i { color: var(--accent); font-size: 24px; margin-bottom: 10px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Teal accents disappear on the dark teal hero: use light coral there. */
.board-hero .text-brand, .board-hero .stat strong { color: #ffb4a1; }
