/* Shared table designs - used by the admin editor AND the public website.
   Classes are the only styling the sanitiser allows, so every design is safe. */
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.5em 0;max-width:100%}
table.tbl{--h-bg:#142240;--h-tx:#fff;--line:#e3e8f2;--stripe:transparent;--cell:#fff;--cell-tx:#1a2540;--accent:#fa8604;--first:#f5f7fc;--pad-y:12px;--pad-x:16px;
  width:100%;margin:0;border-collapse:separate;border-spacing:0;font-size:.97rem;line-height:1.5;color:var(--cell-tx);background:var(--cell)}
.tbl-wrap>table.tbl{min-width:480px}
table.tbl caption{caption-side:top;text-align:left;font:700 1.02rem/1.3 var(--hf,inherit);color:inherit;padding:0 2px 10px}
table.tbl th,table.tbl td{padding:var(--pad-y) var(--pad-x);text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);background:var(--cell);color:var(--cell-tx);min-width:48px}
table.tbl thead th{background:var(--h-bg);color:var(--h-tx);font-weight:700;border-bottom:0}
table.tbl tbody tr:nth-child(even)>td,table.tbl tbody tr:nth-child(even)>th{background:var(--stripe)}
table.tbl tbody th{font-weight:700}
table.tbl thead tr:first-child th:first-child{border-top-left-radius:12px}table.tbl thead tr:first-child th:last-child{border-top-right-radius:12px}
table.tbl{border:1px solid var(--line);border-radius:12px;overflow:hidden}
/* modifiers */
table.tbl.tbl-compact{--pad-y:6px;--pad-x:10px;font-size:.9rem}
table.tbl.tbl-hover tbody tr:hover>td,table.tbl.tbl-hover tbody tr:hover>th{background:#fff4e6}
table.tbl.tbl-auto{width:auto;min-width:0}.tbl-wrap>table.tbl.tbl-auto{min-width:0}
table.tbl.tbl-center{margin-left:auto;margin-right:auto}
table.tbl.tbl-firstcol tbody td:first-child,table.tbl.tbl-firstcol tbody th:first-child{font-weight:700;background:var(--first)}
/* designs */
table.tbl-clean{}
table.tbl-striped{--stripe:#f4f7fc}
table.tbl-grid{border-collapse:collapse;border-radius:0}
table.tbl-grid th,table.tbl-grid td{border:1px solid #cfd7e6}
table.tbl-grid thead th{border-color:#142240}
table.tbl-grid thead th:first-child,table.tbl-grid thead th:last-child{border-radius:0}
table.tbl-minimal{--h-bg:transparent;--h-tx:#142240;border:0;border-radius:0;border-collapse:collapse}
table.tbl-minimal thead th{border-bottom:2px solid var(--accent);text-transform:uppercase;font-size:.8em;letter-spacing:.06em}
table.tbl-minimal th,table.tbl-minimal td{padding-left:6px;padding-right:6px}
table.tbl-minimal thead th:first-child,table.tbl-minimal thead th:last-child{border-radius:0}
table.tbl-dark{--h-bg:#0b1428;--h-tx:#fff;--line:#2b3f6b;--cell:#16264a;--cell-tx:#e4ebfb;--stripe:#1c2f5a;--first:#1f3463;border-color:#2b3f6b}
table.tbl-dark.tbl-hover tbody tr:hover>td{background:#27407a}
table.tbl-orange{--h-bg:#fa8604;--h-tx:#fff;--stripe:#fff7ee;--line:#f1e0cc;--first:#fff1e0}
table.tbl-soft{--h-bg:#eaf0fb;--h-tx:#142240;--line:#e8edf7;--stripe:#fafbfe;border-radius:16px;border-color:#e1e8f5}
table.tbl-soft thead th{border-bottom:2px solid #d4def2;text-transform:none}
table.tbl-compare{--stripe:#fafbfe;border-collapse:collapse;border-radius:0}
table.tbl-compare th,table.tbl-compare td{text-align:center}
table.tbl-compare tbody td:first-child,table.tbl-compare tbody th:first-child,table.tbl-compare thead th:first-child{text-align:left}
table.tbl-compare tbody td:first-child,table.tbl-compare tbody th:first-child{font-weight:600;background:var(--first)}
table.tbl-compare thead th{border-right:1px solid rgba(255,255,255,.18)}
table.tbl-compare thead th:first-child,table.tbl-compare thead th:last-child{border-radius:0}
table.tbl-cards{--h-bg:transparent;--h-tx:#142240;border:0;border-radius:0;border-spacing:0 10px;background:transparent;overflow:visible}
table.tbl-cards thead th{text-transform:uppercase;font-size:.78em;letter-spacing:.07em;color:#5c6985;padding-bottom:2px;border:0}
table.tbl-cards tbody td,table.tbl-cards tbody th{background:#fff!important;border:0;box-shadow:0 1px 0 #e3e8f2,0 6px 16px rgba(20,34,64,.06)}
table.tbl-cards tbody td:first-child,table.tbl-cards tbody th:first-child{border-radius:12px 0 0 12px}
table.tbl-cards tbody td:last-child,table.tbl-cards tbody th:last-child{border-radius:0 12px 12px 0}
table.tbl-cards thead th:first-child,table.tbl-cards thead th:last-child{border-radius:0}
/* last row: no bottom rule */
table.tbl:not(.tbl-cards):not(.tbl-grid) tbody tr:last-child>td,table.tbl:not(.tbl-cards):not(.tbl-grid) tbody tr:last-child>th{border-bottom:0}
/* cell formatting (set from the editor) */
table.tbl .ta-l{text-align:left!important}table.tbl .ta-c{text-align:center!important}table.tbl .ta-r{text-align:right!important}
table.tbl .va-t{vertical-align:top!important}table.tbl .va-m{vertical-align:middle!important}table.tbl .va-b{vertical-align:bottom!important}
table.tbl .hl{font-weight:800!important;color:#c76a00!important}
table.tbl-dark .hl{color:#ffb35c!important}
table.tbl td.bg-1,table.tbl th.bg-1{background:#fff1dc!important;color:#1a2540!important}
table.tbl td.bg-2,table.tbl th.bg-2{background:#e3eeff!important;color:#1a2540!important}
table.tbl td.bg-3,table.tbl th.bg-3{background:#dff5e8!important;color:#1a2540!important}
table.tbl td.bg-4,table.tbl th.bg-4{background:#fde4e4!important;color:#1a2540!important}
table.tbl td.bg-5,table.tbl th.bg-5{background:#efe5fd!important;color:#1a2540!important}
table.tbl td.bg-6,table.tbl th.bg-6{background:#fff7c9!important;color:#1a2540!important}
table.tbl td.bg-7,table.tbl th.bg-7{background:#ddf6f8!important;color:#1a2540!important}
table.tbl td.bg-8,table.tbl th.bg-8{background:#e9edf4!important;color:#1a2540!important}
/* legacy tables without a design class */
.prose table:not(.tbl){width:100%;border-collapse:collapse;margin:1.4em 0}.prose table:not(.tbl) th,.prose table:not(.tbl) td{border:1px solid #e3e8f2;padding:10px 14px;text-align:left}.prose table:not(.tbl) th{background:#142240;color:#fff}

/* rich-text formatting classes (editor + public pages): text colours, highlights, block alignment */
.tc-1{color:#c76a00}.tc-2{color:#1f5fd1}.tc-3{color:#188a4a}.tc-4{color:#d6362f}.tc-5{color:#7a3fd1}.tc-6{color:#142240}.tc-7{color:#6b778f}.tc-8{color:#0e8a96}
.mk-1{background:#fff1b8;border-radius:3px;padding:0 2px}.mk-2{background:#ffe1bd;border-radius:3px;padding:0 2px}.mk-3{background:#d8f3e2;border-radius:3px;padding:0 2px}.mk-4{background:#dbe8ff;border-radius:3px;padding:0 2px}.mk-5{background:#fbdada;border-radius:3px;padding:0 2px}.mk-6{background:#ebe0fb;border-radius:3px;padding:0 2px}
p.ta-l,h2.ta-l,h3.ta-l,h4.ta-l,li.ta-l,blockquote.ta-l{text-align:left}p.ta-c,h2.ta-c,h3.ta-c,h4.ta-c,li.ta-c,blockquote.ta-c{text-align:center}p.ta-r,h2.ta-r,h3.ta-r,h4.ta-r,li.ta-r,blockquote.ta-r{text-align:right}p.ta-j,h2.ta-j,h3.ta-j,h4.ta-j,li.ta-j,blockquote.ta-j{text-align:justify}
td .tc-1,th .tc-1{color:#c76a00}
.faq-list .ans p{margin:0 0 .7em}.faq-list .ans p:last-child{margin-bottom:0}.faq-list .ans ul,.faq-list .ans ol{margin:.4em 0 .8em 1.2em}.faq-list .ans a{color:var(--or2);text-decoration:underline}
.faqs{scroll-margin-top:90px}
