/* Algonexis Download Center design (2026-11-05). Matches ea-coder.com: navy header, light page, white cards.
   Part 1: tokens + base. Part 2: frame (header, admin bar, footer). Part 3: components.
   Part 4: compatibility for the old DC markup (divMsg1 boxes, th title rows, input1/button1-4, ns_notify, page_link),
   so pages that still come from templates/default look right too. Part 5: sign-in pages. Part 6: small screens. */

/* ---------- 1. Tokens + base ---------- */
:root {
	--navy: #042d49;
	--navy-2: #0b4166;
	--navy-soft: #e8eef4;
	--text: #2b2f36;
	--muted: #667085;
	--accent: #c22371;
	--accent-hover: #a51d60;
	--tint: #fbeef5;
	--green: #16a149;
	--green-hover: #12873d;
	--link: #0b5cab;
	--link-hover: #c22371;
	--bg: #f6f7f9;
	--card: #ffffff;
	--border: #e4e7ec;
	--border-strong: #d0d5dd;
	--row-alt: #fafbfc;
	--row-hover: #f2f6fa;
	--danger: #d92d20;
	--danger-bg: #fef3f2;
	--warning: #b54708;
	--warning-bg: #fffaeb;
	--success: #067647;
	--success-bg: #ecfdf3;
	--info: #175cd3;
	--info-bg: #eff8ff;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 18px rgba(16, 24, 40, .06);
	--font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; padding: 0;
	font-family: var(--font); font-size: 15px; line-height: 1.55;
	color: var(--text); background: var(--bg);
}
body.is-admin { --wrap: 1600px; }
img { border: 0; max-width: 100%; height: auto; }
img[width][height] { height: auto; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 13px; }
pre { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }

a, a:link, a:visited { color: var(--link); font-weight: 600; text-decoration: none; cursor: pointer; font-size: inherit; }
a:hover { color: var(--link-hover); text-decoration: underline; font-size: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid rgba(11, 92, 171, .35); outline-offset: 2px;
}

/* ---------- 2. Frame ---------- */
.dc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.dc-promo { display: block; background: var(--accent); color: #fff; text-align: center; padding: 10px 16px; font-size: 15px; font-weight: 600; }
a.dc-promo, a.dc-promo:link, a.dc-promo:visited { color: #fff; }
a.dc-promo:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

.dc-header { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; z-index: 20; }
.dc-header .dc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.dc-brand, .dc-brand:link, .dc-brand:visited { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; flex-shrink: 0; }
.dc-brand:hover { text-decoration: none; color: #fff; }
.dc-brand img { display: block; width: 158px; height: auto; }
.dc-brand-name { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b8c7d6; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); white-space: nowrap; }

.dc-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px 2px; margin: 0; padding: 0; list-style: none; }
.dc-nav a, .dc-nav a:link, .dc-nav a:visited {
	display: block; padding: 8px 8px; border-radius: 6px;
	color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap;
}
.dc-nav { flex-wrap: nowrap; }
.dc-nav a:hover { color: #7cc4f2; text-decoration: none; background: rgba(255, 255, 255, .06); }
.dc-nav a.is-active { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 6px 6px 0 0; }
.dc-nav a.dc-nav-logout { color: #b8c7d6; }
.dc-nav-toggle, .dc-nav-burger { display: none; }

.dc-admin { background: #fff; border-bottom: 1px solid var(--border); font-size: 13px; }
.dc-admin .dc-wrap { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.dc-admin-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dc-admin-links { display: flex; flex-wrap: wrap; gap: 2px 4px; flex: 1 1 auto; }
.dc-admin-links a, .dc-admin-links a:link, .dc-admin-links a:visited { color: var(--navy); font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.dc-admin-links a:hover { background: var(--navy-soft); text-decoration: none; color: var(--navy); }
.dc-admin-links a.is-active { background: var(--navy); color: #fff; }
.dc-quicksearch { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dc-quicksearch input[type="text"] { width: 190px; padding: 6px 10px; font-size: 13px; }
.dc-quicksearch button { padding: 6px 12px; font-size: 13px; }

.dc-skin-bar { background: #fff8e6; border-bottom: 1px solid #f5d98a; color: #7a4d00; font-size: 14px; padding: 9px 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; }
.dc-skin-bar form { display: inline; margin: 0; }
.dc-skin-bar button { background: var(--green); color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; font: 600 13px var(--font); cursor: pointer; }
.dc-skin-bar button:hover { background: var(--green-hover); }
.dc-skin-bar a, .dc-skin-bar a:link, .dc-skin-bar a:visited { color: #7a4d00; text-decoration: underline; }

.dc-main { padding: 28px 0 48px; min-height: 60vh; }
.dc-main > .dc-wrap > *:first-child { margin-top: 0; }

.dc-footer { background: var(--navy); color: #c9d6e2; font-size: 14px; padding: 44px 0 32px; }
.dc-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 28px; }
.dc-footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.dc-footer ul { list-style: none; margin: 0; padding: 0; }
.dc-footer li { margin: 0 0 7px; }
.dc-footer a, .dc-footer a:link, .dc-footer a:visited { color: #dbe5ee; font-weight: 500; }
.dc-footer a:hover { color: #7cc4f2; }
.dc-footer-small { font-size: 12.5px; color: #93a8bb; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; margin: 0 0 8px; }
.dc-footer-small + .dc-footer-small { border-top: 0; padding-top: 0; }

/* ---------- 3. Components ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 0 0 24px; }
.card-title { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 14px; }
.card-sub { color: var(--muted); font-size: 14px; margin: -8px 0 16px; }
.card-flush { padding: 0; overflow: hidden; }
.card-flush > .card-title { padding: 18px 24px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stack > * + * { margin-top: 12px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--navy-soft); color: var(--navy); }
.badge-green { background: var(--success-bg); color: var(--success); }
.badge-red { background: var(--danger-bg); color: var(--danger); }
.badge-amber { background: var(--warning-bg); color: var(--warning); }
.license-key { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 16px; font-weight: 700; color: var(--green); word-break: break-all; }

.btn, button, input[type="submit"], input[type="button"], input[type="reset"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.2;
	padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent;
	background: var(--navy); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s;
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
.btn:disabled, button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary, input.btn-primary, button.btn-primary { background: var(--green); }
.btn-primary:hover, input.btn-primary:hover, button.btn-primary:hover { background: var(--green-hover); }
.btn-accent, input.btn-accent, button.btn-accent { background: var(--accent); }
.btn-accent:hover, input.btn-accent:hover, button.btn-accent:hover { background: var(--accent-hover); }
.btn-light, input.btn-light, button.btn-light { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-light:hover, input.btn-light:hover, button.btn-light:hover { background: var(--bg); color: var(--text); }
.btn-danger, input.btn-danger, button.btn-danger { background: var(--danger); }
.btn-danger:hover, input.btn-danger:hover, button.btn-danger:hover { background: #b42318; }
.btn-block { width: 100%; }
a.btn, a.btn:link, a.btn:visited { color: #fff; }
a.btn-light, a.btn-light:link, a.btn-light:visited { color: var(--text); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="datetime-local"],
input[type="time"], input[type="url"], input[type="search"], input[type="tel"], input:not([type]), select, textarea {
	font-family: var(--font); font-size: 14px; color: var(--text); background: #fff;
	border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 8px 10px; line-height: 1.35;
	max-width: 100%;
}
select { padding-right: 28px; }
textarea { min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--link); outline: 0; box-shadow: 0 0 0 3px rgba(11, 92, 171, .15); }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; accent-color: var(--navy); vertical-align: -3px; }
input[readonly] { background: var(--bg); }
label { font-weight: 600; }
.form-row { margin: 0 0 16px; }
.form-row label { display: block; margin: 0 0 6px; font-size: 14px; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="password"] { width: 100%; }
.form-check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form-check label { font-weight: 500; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { font-family: var(--font); font-size: 14px; color: var(--text); border-collapse: collapse; }
.dc-table { width: 100%; border-collapse: collapse; }
.dc-table th, .dc-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.dc-table thead th { background: var(--bg); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dc-table tbody tr:hover { background: var(--row-hover); }

.pager { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }

/* page parts used by the restyled pages (phase 2) */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin: 0 0 20px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-header h2, .card-header h3 { margin: 0; font-size: 17px; }
.card-body { padding: 20px; }
.card-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg); border-radius: 0 0 var(--radius) var(--radius); }
.card-flush .dc-table th:first-child, .card-flush .dc-table td:first-child { padding-left: 20px; }
.card-flush .dc-table th:last-child, .card-flush .dc-table td:last-child { padding-right: 20px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; padding: 14px 20px; background: var(--navy-soft); border-bottom: 1px solid var(--border); }
.toolbar .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toolbar .field > label { font-size: 12px; color: var(--muted); font-weight: 600; }
.toolbar input, .toolbar select { padding: 6px 9px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px 24px; align-items: start; }
.form-grid > .label, .form-grid > label { padding-top: 9px; font-size: 14px; font-weight: 600; }
.form-grid > .field input[type="text"], .form-grid > .field input[type="email"], .form-grid > .field input[type="password"], .form-grid > .field input[type="number"], .form-grid > .field select, .form-grid > .field textarea { width: 100%; max-width: 560px; }
.form-grid > .field textarea.wide, .form-grid > .field input.wide { max-width: none; }
.field-help { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.form-section { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 24px 0 12px; padding-top: 16px; border-top: 1px solid var(--border); grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.dc-table-compact th, .dc-table-compact td { padding: 6px 8px; font-size: 13px; }
.dc-table .num, .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dc-table tr.is-total td { font-weight: 700; background: var(--bg); }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.empty { padding: 28px 20px; text-align: center; color: var(--muted); }
.alert { border: 1px solid var(--border); border-left-width: 4px; border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; background: #fff; font-size: 14px; }
.alert-info { border-color: #84caff; background: var(--info-bg); }
.alert-success { border-color: #75e0a7; background: var(--success-bg); }
.alert-warning { border-color: #fec84b; background: var(--warning-bg); }
.alert-danger { border-color: #fda29b; background: var(--danger-bg); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0 0 24px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.stat-value { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--muted); }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain > li + li { margin-top: 8px; }
.list-links > li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.list-links > li:last-child { border-bottom: 0; }
.product-logo img, img.product-logo { max-width: 120px; max-height: 120px; width: auto; height: auto; border-radius: 10px; }
.media { display: flex; gap: 16px; align-items: flex-start; }
.media > .media-body { flex: 1 1 auto; min-width: 0; }
.highlight { background: #fff6bf; border-radius: 4px; padding: 0 4px; }
.highlight:empty { display: none; } /* 2026-11-14: an empty Comments field left a small yellow pill on Downloads */
.text-danger { color: var(--danger); } .text-success { color: var(--success); } .text-warning { color: var(--warning); }
.icon-actions { display: inline-flex; gap: 6px; align-items: center; }
.icon-actions img { width: 16px; height: 16px; opacity: .75; }
.icon-actions a:hover img { opacity: 1; }
/* row colours that index.php sends as a colour value: <tr data-bg="{list.bgcolor}"> */
tr[data-bg="#eeeeee"], tr[data-bg="#EEEEEE"] { background: var(--row-alt); }
tr[data-bg="#ffffff"], tr[data-bg="#FFFFFF"] { background: #fff; }
tr[data-bg="#ffdddd"], tr[data-bg="#FFDDDD"] { background: var(--danger-bg); }
tr[data-bg="yellow"] { background: #fff6bf; }
tr[data-bg="#f3f4f6"] { background: var(--row-alt); }
tr[data-bg="#eebbbb"], tr[data-bg="#ffbbbb"], tr[data-bg="#f4cccc"] { background: var(--danger-bg); }
tr[data-bg]:hover { background: var(--row-hover); }
.alert[data-bg="#FFCCCC"] { border-color: #fda29b; background: var(--danger-bg); }
.alert[data-bg="#99D67B"] { border-color: #75e0a7; background: var(--success-bg); }

/* review fixes (2026-11-05) */
.dc-table tr.filters td { background: var(--navy-soft); padding: 8px; vertical-align: top; border-bottom: 1px solid var(--border); }
.dc-table tr.filters input, .dc-table tr.filters select { padding: 6px 8px; font-size: 13px; margin: 2px 0; max-width: 100%; }
.form-grid > .field .row-actions input[type="text"], .form-grid > .field .row-actions input[type="password"], .form-grid > .field .row-actions input[type="number"] { width: auto; flex: 1 1 200px; max-width: 360px; }
.card-footer.row-actions, .footer-row { justify-content: space-between; width: 100%; }
.btn-wrap { white-space: normal; text-align: left; }
.card-body iframe, .card iframe { max-width: 100%; }
/* batch e-mail page: audience mode tabs and tag boxes (were a <style> block in PAGE_send_email) */
.recipient-mode-tab.active, .recipient-mode-tab.active:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.tagwrap { max-height: 320px; overflow-y: auto; overflow-x: hidden; column-count: 2; column-gap: 24px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; background: #fff; }
.tagbox { display: block; padding: 2px 0; break-inside: avoid; font-weight: 500; }
@media (max-width: 1100px) {
	.grid-2 .form-grid { grid-template-columns: 1fr; gap: 6px; }
	.grid-2 .form-grid > label, .grid-2 .form-grid > .label { padding-top: 10px; }
}
@media (max-width: 760px) { .tagwrap { column-count: 1; } }

/* Downloads page (PAGE_downloads.html) */
.dl-table td { font-size: 14px; line-height: 1.5; }
.dl-table th { white-space: normal; }
.dl-col-icons { width: 1%; white-space: nowrap; }
.dl-col-tail { width: 1%; padding-left: 0 !important; padding-right: 0 !important; }
.dl-product { min-width: 260px; }
.dl-product > img { max-width: 72px; height: auto; border-radius: 12px; margin: 2px 12px 6px 0; padding: 0 !important; }
.dl-product-info { overflow: hidden; }
.dl-product-info > span:first-child, .dl-product-info > a:first-child { font-size: 15px !important; font-weight: 700; padding-left: 0 !important; color: var(--navy); }
.dl-license { min-width: 250px; }
.dl-license .license-key { display: inline-block; margin-bottom: 4px; }
.dl-lines { font-size: 13.5px; }
.dl-dates { min-width: 200px; font-size: 13.5px !important; }
.dl-owner { min-width: 200px; overflow-wrap: anywhere; }
body.is-user .dl-col-icons, body.is-user .dl-col-tail { display: none; }
.dl-login { min-width: 120px; font-size: 13.5px !important; }
.dl-table tr.filters td { background: var(--navy-soft); padding: 10px 8px; vertical-align: top; border-bottom: 1px solid var(--border); }
.dl-table tr.filters input[type="text"], .dl-table tr.filters input[type="date"], .dl-table tr.filters select { display: block; width: 100%; min-width: 120px; margin: 0 0 6px; padding: 6px 8px; font-size: 13px; }
.dl-table tr.filters input[size="4"], .dl-table tr.filters input[size="7"], .dl-table tr.filters input[size="9"] { min-width: 90px; }
.dl-filter-buttons { white-space: nowrap; }
.dl-filter-buttons .btn { display: flex; width: 100%; margin: 0 0 6px; }
.dl-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 900px) {
	body.is-user .dl-table thead { display: none; }
	body.is-user .dl-table, body.is-user .dl-table tbody, body.is-user .dl-table tr, body.is-user .dl-table td { display: block; width: 100%; }
	body.is-user .dl-table tr.dl-row { border-bottom: 8px solid var(--bg); padding: 14px 16px; }
	body.is-user .dl-table td { border: 0; padding: 6px 0; min-width: 0; }
	body.is-user .dl-table td.dl-col-icons, body.is-user .dl-table td.dl-col-tail { display: none; }
	body.is-user .dl-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
	body.is-user .dl-table td.dl-product::before { display: none; }
}

/* ---------- 4. Compatibility with the old DC markup ---------- */
/* layout tables keep working: no borders or padding on plain tables, only on the data boxes below */
td .gray1, td.gray1 { background: transparent; }
td .gray2, td.gray2 { background: transparent; }
th { font-size: 16px; font-weight: 700; color: var(--navy); background: #fff; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
form { margin: 0; padding: 0; }
center { text-align: center; }

/* the old "divMsg1" box = a card holding one data table */
.divMsg1 {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 0; margin: 0 0 24px !important; width: auto !important; max-width: 100%; overflow-x: auto;
}
.divMsg1 > table, .divMsg1 > form > table { width: 100%; border-collapse: collapse; }
.divMsg1 > table > tbody > tr > th, .divMsg1 > table > tr > th, .divMsg1 > form > table > tbody > tr > th {
	font-size: 17px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--border);
}
.divMsg1 > table > tbody > tr > td, .divMsg1 > table > tr > td, .divMsg1 > form > table > tbody > tr > td {
	padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.divMsg1 > table > tbody > tr:last-child > td { border-bottom: 0; }
.divMsg1 table table td { border-bottom: 0; }
/* column heading rows of old tables (bold first row with a coloured background) */
.divMsg1 > table > tbody > tr[style*="background-color: skyblue"], .divMsg1 > table > tbody > tr[style*="background-color:skyblue"] { background: var(--bg) !important; height: auto !important; }
.divMsg1 > table > tbody > tr[style*="skyblue"] > td { border-bottom: 1px solid var(--border) !important; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; padding-top: 12px; padding-bottom: 10px; }
.divMsg1 > table > tbody > tr[style*="skyblue"] > td b { font-weight: 700; }
/* admin search rows */
.divMsg1 > table > tbody > tr[style*="background: #aaaaaa"] { background: var(--navy-soft) !important; height: auto !important; border: 0 !important; }
.divMsg1 > table > tbody > tr[style*="background: #aaaaaa"] > td { padding: 10px 8px; }
.divMsg1 > table > tbody > tr[style*="background: #aaaaaa"] input, .divMsg1 > table > tbody > tr[style*="background: #aaaaaa"] select { margin: 2px 0; padding: 6px 8px; font-size: 13px; }
/* pager row */
.divMsg1 > table > tbody > tr[style*="#bbbbbb"] { background: var(--bg) !important; }

.qimg { width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px; opacity: .6; border: 0; }
.simple, .simple:link, .simple:visited, .simple:hover { font-weight: 400; }
.simple2, .simple2:link, .simple2:visited { color: var(--muted); font-weight: 400; }
.simple2:hover { color: var(--text); }
.simple3, .simple3:link, .simple3:visited { color: #7a2ea5; }
.simple3:hover { color: var(--accent); }
.course_lesson a, .course_lesson a:link, .course_lesson a:visited { font-size: 16px; }

.page_link, .page_link:link, .page_link:visited {
	display: inline-block; min-width: 32px; padding: 5px 9px; margin: 2px; text-align: center;
	border: 1px solid var(--border-strong); border-radius: 6px; background: #fff; color: var(--text); font-size: 13px; font-weight: 600;
}
.page_link:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.page_link_current { display: inline-block; min-width: 32px; padding: 5px 9px; margin: 2px; text-align: center; border-radius: 6px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }

.menu_link, .menu_link:link, .menu_link:visited { color: var(--navy); }

.input1, .select1 { font-size: 14px; }
.button1, input.button1 { background: var(--green); border-color: var(--green); color: #fff; }
.button1:hover, input.button1:hover { background: var(--green-hover); }
.button2, input.button2 { background: #fff; border-color: var(--border-strong); color: var(--text); }
.button2:hover, input.button2:hover { background: var(--bg); color: var(--text); }
.button3, input.button3 { background: var(--navy); border-color: var(--navy); color: #fff; }
.button3:hover, input.button3:hover { background: var(--navy-2); }
.button4, input.button4 { background: var(--danger); border-color: var(--danger); color: #fff; height: auto; padding-bottom: 9px; }
.button4:hover, input.button4:hover { background: #b42318; }
.link_btn1, .link_btn1:link, .link_btn1:visited { display: inline-block; margin-top: 6px; padding: 7px 12px; border-radius: var(--radius-sm); color: #fff; font-size: 13px; font-weight: 600; }
.link_btn1:hover { color: #fff; text-decoration: none; filter: brightness(1.08); }
.dodgerblue { background-color: var(--link); }
.orangered { background-color: var(--accent); }
.orange { background-color: #e98b00; }

/* message boxes (TABLE_message, ns_notify) */
.ns_notify { position: relative; clear: both; border: 1px solid var(--border); border-left-width: 4px; border-radius: 10px; background: #fff; margin: 0 0 20px; font-size: 14px; box-shadow: var(--shadow); }
.ns_notify .ns_pad { padding: 14px 18px 14px 56px; }
.ns_notify .ns_icon { width: 32px; height: 32px; background: url(images/_sprite-icons.png?1); position: absolute; top: 12px; left: 14px; transform: scale(.8); transform-origin: top left; }
.ns_notify h3 { font-size: 15px !important; margin: 0 0 2px !important; padding: 0 !important; }
.ns_notify p { margin: 0; padding: 0 !important; }
.ns_notify.ns_error { border-color: #fda29b; background: var(--danger-bg); }
.ns_notify.ns_error .ns_icon { background-position: 0 -52px; }
.ns_notify.ns_error h3 { color: var(--danger) !important; }
.ns_notify.ns_warning { border-color: #fec84b; background: var(--warning-bg); }
.ns_notify.ns_warning .ns_icon { background-position: 0 -157px; }
.ns_notify.ns_warning h3 { color: var(--warning) !important; }
.ns_notify.ns_success { border-color: #75e0a7; background: var(--success-bg); }
.ns_notify.ns_success .ns_icon { background-position: 0 0; }
.ns_notify.ns_success h3 { color: var(--success) !important; }
.ns_notify.ns_info { border-color: #84caff; background: var(--info-bg); }
.ns_notify.ns_info .ns_icon { background-position: 0 -104px; }
.ns_notify.ns_info h3 { color: var(--info) !important; }
.ns_notify a.ns_close { position: absolute; top: 6px; right: 10px; font-size: 13px; }
.ns_notify.ns_sticky a.ns_close { display: none; }
.ns_notify .ns_btn { float: right; margin: -6px 16px 0 30px; }

.classic, .warning { background: var(--warning-bg); border: 1px solid #fec84b; border-radius: var(--radius-sm); }
.critical { background: var(--danger-bg); border: 1px solid #fda29b; border-radius: var(--radius-sm); }
.help, .info { background: var(--info-bg); border: 1px solid #84caff; border-radius: var(--radius-sm); }
.classic { padding: .8em 1em; }
.custom { padding: .5em .8em .8em 2em; }

/* tooltips: jQuery Tools (img[title]) and the CSS .tooltip2 */
.tooltip { display: none; background: #101828; color: #fff; border: 0; border-radius: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.45; max-width: 320px; box-shadow: 0 8px 24px rgba(16, 24, 40, .25); z-index: 1000; }
.tooltip2 { border-bottom: 1px dotted var(--muted); color: inherit; cursor: help; text-decoration: none; font-weight: 400; position: relative; }
.tooltip2 span { margin-left: -999em; position: absolute; }
.tooltip2:hover span { position: absolute; left: 1em; top: 2em; z-index: 99; margin-left: 0; width: 260px; border-radius: 8px; box-shadow: var(--shadow); font-family: var(--font); }
.tooltip2:hover img { border: 0; margin: -10px 0 0 -55px; float: left; position: absolute; }
.tooltip2:hover em { font-size: 14px; font-weight: 700; display: block; padding: .2em 0 .6em; font-style: normal; }

/* ---------- 5. Sign-in pages (login, forgot password, reset password) ---------- */
body.dc-auth { display: flex; flex-direction: column; min-height: 100vh; }
.dc-auth .dc-header .dc-wrap { justify-content: center; }
.dc-auth-main { flex: 1 0 auto; display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px 56px; }
.dc-auth-box { width: 100%; max-width: 440px; }
.dc-auth-box .card { padding: 32px; }
.dc-auth-box h1 { font-size: 24px; margin-bottom: 6px; }
.dc-auth-box .card-sub { margin: 0 0 22px; }
.dc-auth-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.dc-auth-help { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.dc-auth-help a { font-weight: 600; }
.dc-auth .dc-footer { padding: 22px 0; }

/* ---------- 6. Small screens ---------- */
@media (max-width: 1320px) {
	.dc-brand-name { display: none; }
}
@media (max-width: 1100px) {
	.dc-header .dc-wrap { flex-wrap: wrap; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
	.dc-nav-burger { display: inline-flex; margin-left: auto; color: #fff; cursor: pointer; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
	.dc-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
	.dc-nav-toggle:checked ~ .dc-nav { display: flex; }
	.dc-nav a { padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
	.dc-nav a.is-active { box-shadow: inset 3px 0 0 var(--accent); }
}
@media (max-width: 760px) {
	body { font-size: 15px; }
	.dc-wrap { padding: 0 16px; }
	.dc-brand img { width: 132px; }
	.dc-brand-name { font-size: 11px; padding-left: 10px; }
	.dc-main { padding: 18px 0 36px; }
	.card { padding: 18px; border-radius: 12px; }
	.grid-2, .grid-3, .dc-footer-cols { grid-template-columns: 1fr; gap: 18px; }
	.form-grid { grid-template-columns: 1fr; gap: 6px; }
	.form-grid > .label, .form-grid > label { padding-top: 10px; }
	.media { flex-direction: column; }
	.dc-quicksearch input[type="text"] { width: 100%; }
	h1 { font-size: 24px; }
	.dc-auth-box .card { padding: 22px; }
	.dc-skin-bar { padding: 8px 16px; }
}

/* 2026-11-06: links with an old button class (e.g. "New sequence" on Sequences) look like buttons */
a.button1, a.button2, a.button3, a.button4 { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; }
a.button1:link, a.button1:visited, a.button1:hover { background: var(--green); color: #fff; text-decoration: none; }
a.button1:hover { background: var(--green-hover); }
a.button2:link, a.button2:visited, a.button2:hover { background: #fff; border-color: var(--border-strong); color: var(--text); text-decoration: none; }
a.button3:link, a.button3:visited, a.button3:hover { background: var(--navy); color: #fff; text-decoration: none; }
a.button4:link, a.button4:visited, a.button4:hover { background: var(--danger); color: #fff; text-decoration: none; }

/* ===== QA fixes 2026-11-06 (owner review of every page, "Fix all 21") ===== */
/* 1. admin icons: the global img{max-width:100%} drew them 0 px wide inside the shrink-to-fit .icon-actions */
.icon-actions { flex: none; }
.icon-actions a { flex: none; display: inline-flex; }
.icon-actions img { max-width: none; width: 16px; height: 16px; flex: none; }
/* 2. Batch Email tag picker: a 2-column grid that scrolls down (the multi-column box cut off all columns after the 2nd) */
.tagwrap { column-count: auto; columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; align-content: start; max-height: 320px; overflow-y: auto; overflow-x: hidden; }
.tagbox { overflow-wrap: anywhere; }
/* 3. admin bar: on phones it folds behind an "Admin" button, like the main menu */
.dc-admin-toggle { display: none; }
.dc-admin-links a, .dc-admin-links a:link, .dc-admin-links a:visited { padding: 3px 7px; }
/* 5. form fields never push the form wider than the card */
.form-grid > * { min-width: 0; }
.form-grid input:not([type="checkbox"]):not([type="radio"]), .form-grid select, .form-grid textarea { min-width: 0; max-width: 100%; }
.row-actions > * { min-width: 0; }
/* 7. long button labels wrap instead of running off the card */
.form-actions .btn, .form-actions button, .form-actions input[type="submit"], .form-actions input[type="button"] { white-space: normal; max-width: 100%; height: auto; text-align: center; }
/* 9. course cards: the cover keeps its 200 px; the text column shrinks instead */
.media > :first-child { flex: none; }
.media > a:first-child > img[width] { max-width: none; }
.media > .media-body { flex: 1 1 auto; min-width: 0; }
/* 10. lesson video: at most 880 px wide, so the whole player fits on a laptop screen */
.lesson-video { max-width: 880px; margin: 0 auto; }
.lesson-video iframe { max-width: 100%; }
/* 13. pages built in PHP (Pulse, Scheduled Tasks, Contacts, Sequences) sit in a white card */
.dc-php-page { max-width: none !important; overflow-x: auto; }
/* 14. Sequences: the many per-row "Delete" buttons are small red outline buttons */
.dc-php-page form[onsubmit*="Delete"] input[type="submit"], .dc-php-page form[onsubmit*="delete"] input[type="submit"] { background: #fff; color: var(--danger); border: 1px solid #f3c5c0; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.dc-php-page form[onsubmit*="Delete"] input[type="submit"]:hover, .dc-php-page form[onsubmit*="delete"] input[type="submit"]:hover { background: var(--danger-bg); color: var(--danger); }
/* 16. actions the page marks as not applicable (class="hidden", e.g. Delete on a completed batch) are hidden */
.dc .hidden { display: none !important; }
/* 21c. "No payment plans" on a licence type is a warning, not a neutral empty list */
.dc-table td.empty-warn { background: var(--danger-bg); color: var(--danger); font-weight: 600; }
@media (max-width: 760px) {
	/* 3. */
	.dc-admin .dc-wrap { padding-top: 6px; padding-bottom: 6px; }
	.dc-admin-label { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 12px; color: var(--navy); }
	.dc-admin-label::after { content: "\25BE"; font-size: 12px; }
	.dc-admin-links, .dc-admin .dc-quicksearch { display: none; width: 100%; }
	.dc-admin-toggle:checked ~ .dc-admin-links, .dc-admin-toggle:checked ~ .dc-quicksearch { display: flex; }
	.dc-admin-toggle:checked + .dc-admin-label::after { content: "\25B4"; }
	/* 4. flush cards keep their full width on phones (no second padding) */
	.card.card-flush { padding: 0; }
	.dc-table td.text-right { white-space: nowrap; font-size: 12px; }
	/* 5. */
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	/* 6. tables of the PHP-built pages scroll inside their card instead of widening the page */
	.dc-php-page table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	/* 2. */
	.tagwrap { grid-template-columns: minmax(0, 1fr); }
	/* 19. the reCAPTCHA badge (bottom right) no longer covers the footer links */
	.dc-auth:has(.grecaptcha-badge) .dc-footer { padding-bottom: 84px; } /* only where the badge is (login) */
	.dc-php-page select, .dc-php-page input[type="text"] { max-width: 100%; }
}

/* ===== 2026-11-06 owner requests ===== */
/* bigger admin icons: 20 px icon in a 34 px tap box (40 px on touch screens) */
.icon-actions { gap: 4px; }
.icon-actions a, .icon-actions a:link, .icon-actions a:visited { width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.icon-actions a:hover { background: var(--navy-soft); border-color: var(--border-strong); text-decoration: none; }
.icon-actions img { width: 20px; height: 20px; opacity: 1; }
@media (pointer: coarse) {
	.icon-actions a, .icon-actions a:link, .icon-actions a:visited { width: 40px; height: 40px; }
	.icon-actions img { width: 22px; height: 22px; }
}
/* Downloads: the admin search row folds behind the "Search filters" button */
.dl-filters-toggle { display: none; }
.dl-card tr.filters { display: none; }
.dl-filters-toggle:checked ~ .table-wrap tr.filters { display: table-row; }
.dl-filters-btn { cursor: pointer; padding: 7px 12px; font-size: 13px; }
.dl-filters-btn::after { content: "\25BE"; margin-left: 6px; }
.dl-filters-toggle:checked ~ .card-header .dl-filters-btn { background: var(--navy-soft); border-color: var(--navy); }
.dl-filters-toggle:checked ~ .card-header .dl-filters-btn::after { content: "\25B4"; }
body.is-user .dl-filters-btn { display: none; }

/* ===== 2026-11-06 owner requests: grouped admin bar, report table ===== */
.dc-admin-links { align-items: center; }
.dc-menu-group { position: relative; }
.dc-menu-group > summary { list-style: none; cursor: pointer; color: var(--navy); font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; user-select: none; }
.dc-menu-group > summary::-webkit-details-marker { display: none; }
.dc-menu-group > summary::after { content: "\25BE"; font-size: 11px; margin-left: 4px; }
.dc-menu-group[open] > summary, .dc-menu-group > summary:hover { background: var(--navy-soft); }
.dc-menu-group.is-active > summary { background: var(--navy); color: #fff; }
.dc-menu-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 230px; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 28px rgba(16, 24, 40, .14); }
.dc-menu-pop a, .dc-menu-pop a:link, .dc-menu-pop a:visited { padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
.report-table tr.sort-head th[data-dir="asc"]::after { content: " \25B2"; font-size: 10px; }
.report-table tr.sort-head th[data-dir="desc"]::after { content: " \25BC"; font-size: 10px; }
.report-table thead tr.is-total td { background: var(--navy-soft); font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--border); }
@media (max-width: 760px) {
	.dc-menu-group { width: 100%; }
	.dc-menu-pop { position: static; min-width: 0; padding: 2px 0 6px 12px; border: 0; box-shadow: none; background: transparent; }
}

/* ===== 2026-11-06: the folding search row (Downloads) also on Invoices, Users, Email Sent, Email Messages, Notifications ===== */
.dl-card > .toolbar { display: none; }
.dl-filters-toggle:checked ~ .toolbar { display: flex; }
.card-header .row-actions .dl-filters-btn { margin: 0; }

/* ===== 2026-11-06: Welcome, Tutorials & Help and AI Assistant pages; report extra rows; fold button (browser review fixes included) ===== */
.welcome-hero { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; align-items: center; }
.welcome-author img { border-radius: 50%; max-width: none; }
.quick-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.quick-tile, .quick-tile:link, .quick-tile:visited { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--navy-soft); color: var(--navy); }
.quick-tile:hover { border-color: var(--navy); background: #fff; text-decoration: none; color: var(--navy); }
.quick-tile b { font-size: 15px; }
.quick-tile span { font-size: 13px; color: #555f70; line-height: 1.4; }
.card-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 14px; }
.card-title-row .card-title { margin: 0; }
.product-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-card, .product-card:link, .product-card:visited { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); }
.product-card:hover { border-color: var(--navy); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.product-card img { flex: none; width: 64px; height: 64px; max-width: none; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.product-card b { display: block; color: var(--navy); margin-bottom: 2px; }
.product-card span span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mastermind-card { align-items: center; }
.mastermind-card img { border-radius: 12px; max-width: none; display: block; }
.mastermind-card .btn { white-space: normal; text-align: center; max-width: 100%; }
.book-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.book { display: flex; gap: 14px; align-items: flex-start; }
.book > a:first-child { flex: none; }
.book img { display: block; width: 110px; height: 165px; object-fit: cover; max-width: none; border-radius: 4px; box-shadow: 0 4px 14px rgba(16, 24, 40, .18); }
.book b { display: block; color: var(--navy); line-height: 1.3; }
.book p { margin: 6px 0 8px; }
.help-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
.help-jump a, .help-jump a:link, .help-jump a:visited { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--navy); }
.help-jump a:hover { border-color: var(--navy); text-decoration: none; }
[id^="help-"] { scroll-margin-top: 16px; }
.alert.mt-16 { margin-top: 16px; }
.help-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.help-tile, .help-tile:link, .help-tile:visited { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; color: var(--text); }
.help-tile:hover { border-color: var(--navy); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.help-tile img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 252; object-fit: cover; background: var(--navy-soft); }
.help-tile b { display: block; padding: 10px 12px 2px; color: var(--navy); line-height: 1.3; }
.help-tile span { display: block; padding: 0 12px 12px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.help-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 28px; align-items: start; }
.help-tiles-stack { grid-template-columns: 1fr; gap: 12px; }
.help-tiles-stack .help-tile, .help-tile-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; }
.help-tiles-stack .help-tile img { grid-row: 1 / span 2; align-self: start; }
.help-tiles-stack .help-tile b { padding: 10px 12px 2px 0; }
.help-tiles-stack .help-tile span { padding: 0 12px 10px 0; }
.help-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
.help-groups h3 { font-size: 15px; margin: 14px 0 4px; }
.help-links li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.help-links li:last-child { border-bottom: 0; }
.help-links li span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.help-links-cols { columns: 2; column-gap: 28px; }
.help-links-cols li { break-inside: avoid; }
.help-product-title { display: flex; align-items: center; gap: 10px; }
.help-product-title img { max-width: none; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.ai-intro { align-items: center; margin-bottom: 16px; }
.ai-intro img { max-width: none; }
.ai-frame { width: 100%; height: calc(100vh - 220px); min-height: 440px; border: 0; border-radius: var(--radius-sm); display: block; background: #f6f8fa; }
.report-table thead tr.is-total td:first-child { white-space: nowrap; }
.report-table thead tr.is-other td { background: #fff; color: var(--text); font-weight: 600; }
.report-table thead tr.is-all td { background: var(--navy); color: #fff; font-weight: 700; }
.grid-2 > .card:only-child { grid-column: 1 / -1; }
.card-header .dl-filters-btn { padding: 9px 14px; font-size: 14px; line-height: 1.2; }
.dl-filters-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.dl-filters-toggle:focus-visible ~ .card-header .dl-filters-btn { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 1100px) {
	.quick-tiles, .product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.help-tiles, .help-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.help-split { grid-template-columns: 1fr; }
	.book { flex-direction: column; }
}
@media (max-width: 760px) {
	.welcome-hero { grid-template-columns: 1fr; }
	.welcome-author { display: flex; align-items: center; gap: 14px; text-align: left; }
	.welcome-author img { width: 64px; height: 64px; }
	.welcome-author-text p.mt-8 { margin-top: 0; }
	.welcome-author-text .muted { margin-bottom: 4px; }
	.product-cards, .help-tiles, .help-groups, .book-list { grid-template-columns: 1fr; }
	.book { flex-direction: row; }
	.help-tiles .help-tile { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; }
	.help-tiles .help-tile img { grid-row: 1 / span 2; align-self: start; }
	.help-tiles .help-tile b { padding: 10px 10px 2px 0; }
	.help-tiles .help-tile span { padding: 0 10px 10px 0; }
	.help-tiles-stack .help-tile { grid-template-columns: 112px minmax(0, 1fr); }
	.help-links-cols { columns: 1; }
	.mastermind-card { align-items: stretch; }
	.mastermind-card > a { align-self: center; }
	.dc-table td.text-right, .dc-table td.num { white-space: normal; overflow-wrap: anywhere; }
	.ai-card { padding-left: 0; padding-right: 0; }
	.ai-card .ai-intro { padding: 0 16px; align-items: flex-start; }
	.ai-intro img { width: 48px; height: 48px; }
	.ai-frame { height: 72vh; min-height: 460px; border-radius: 0; }
}

/* 2026-11-07 (owner): bigger licence key on Downloads */
.dl-license .license-key { font-size: 24px; letter-spacing: .04em; line-height: 1.2; }

/* 2026-11-08 (owner): App ID, Software ID and Plan ID side by side in the Downloads search row */
.dl-table tr.filters .dl-ids { display: flex; gap: 6px; flex-wrap: nowrap; }
.dl-table tr.filters .dl-ids input[type="text"] { display: inline-block; width: auto; min-width: 0; margin: 0 0 6px; }
.dl-table tr.filters .dl-ids #search_app_id { flex: 0 0 64px; }
.dl-table tr.filters .dl-ids #search_software_id { flex: 0 0 84px; }
.dl-table tr.filters .dl-ids #search_plan_id { flex: 1 1 100px; }
