.oafl-toolkit{
	--oafl-accent:#ff4d3d;--oafl-secondary:#ffb44d;--oafl-bg:#0b0f17;--oafl-panel:#141b27;--oafl-text:#f7f8fa;--oafl-muted:#aeb8c8;--oafl-line:#2b3a50;--oafl-good:#5fd39b;
	box-sizing:border-box;color:var(--oafl-text);font-family:inherit;line-height:1.5
}
.oafl-toolkit *,.oafl-toolkit *:before,.oafl-toolkit *:after{box-sizing:inherit}
.oafl-toolkit h2,.oafl-toolkit h3,.oafl-toolkit p{margin-top:0}
.oafl-calculator,.oafl-tool-hub{max-width:1120px;margin:32px auto;padding:clamp(18px,4vw,30px);border:1px solid var(--oafl-line);border-radius:22px;background:linear-gradient(145deg,var(--oafl-bg),#101827);box-shadow:0 18px 46px rgba(0,0,0,.18)}
.oafl-eyebrow{margin:0 0 8px!important;color:var(--oafl-secondary);font-size:.78rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.oafl-calculator>h2,.oafl-tool-hub>h2{margin:0 0 10px!important;color:var(--oafl-text);font-size:clamp(1.55rem,4vw,2.65rem)!important;line-height:1.12}
.oafl-intro{max-width:800px;color:var(--oafl-muted)}
.oafl-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.oafl-panel{padding:20px;border:1px solid var(--oafl-line);border-radius:16px;background:rgba(20,27,39,.94)}
.oafl-full{grid-column:1/-1}
.oafl-panel h3{color:var(--oafl-text)}
.oafl-panel label,.oafl-checker-controls label{display:block;margin-bottom:12px;color:var(--oafl-text);font-weight:700}
.oafl-panel input,.oafl-panel select,.oafl-checker-controls input,.oafl-checker-controls select{display:block;width:100%;min-height:46px;margin-top:7px;padding:10px 12px;border:1px solid #40516a;border-radius:10px;background:#0e1520;color:var(--oafl-text);font:inherit}
.oafl-panel input:focus,.oafl-panel select:focus,.oafl-checker-controls input:focus,.oafl-checker-controls select:focus{outline:3px solid color-mix(in srgb,var(--oafl-accent) 30%,transparent);border-color:var(--oafl-accent)}
.oafl-result-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0}
.oafl-result-card{min-height:108px;padding:14px;border:1px solid var(--oafl-line);border-radius:12px;background:#1b2534}
.oafl-result-card span,.oafl-result-card small{display:block;color:var(--oafl-muted);font-size:.84rem}
.oafl-result-card strong{display:block;margin:6px 0 2px;color:var(--oafl-text);font-size:1.25rem}
.oafl-result-card strong.is-accent{color:var(--oafl-secondary)}
.oafl-table-wrap{overflow-x:auto}
.oafl-table-wrap table{width:100%;min-width:760px;border-collapse:collapse;color:var(--oafl-text)}
.oafl-table-wrap th,.oafl-table-wrap td{padding:11px 10px;border-bottom:1px solid var(--oafl-line);text-align:right;white-space:nowrap}
.oafl-table-wrap th:first-child,.oafl-table-wrap td:first-child{text-align:left}
.oafl-table-wrap th{color:var(--oafl-muted);font-size:.8rem;text-transform:uppercase}
.oafl-status{margin-top:14px;padding:15px;border-left:4px solid var(--oafl-secondary);border-radius:8px;background:#101824}
.oafl-status.is-good{border-left-color:var(--oafl-good)}.oafl-status.is-warning{border-left-color:var(--oafl-accent)}
.oafl-progress{height:12px;margin-top:16px;overflow:hidden;border-radius:999px;background:#0e1520}.oafl-progress span{display:block;height:100%;width:0;max-width:100%;background:linear-gradient(90deg,var(--oafl-secondary),var(--oafl-accent));transition:width .25s ease}
.oafl-source-note{margin-top:22px;padding-top:16px;border-top:1px solid var(--oafl-line);color:var(--oafl-muted);font-size:.88rem}
.oafl-source-note>span{display:inline-block;margin:4px 6px 4px 0;padding:5px 9px;border:1px solid var(--oafl-line);border-radius:999px}
.oafl-checker-controls{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin:20px 0}
.oafl-checker-results{display:grid;gap:12px}
.oafl-checker-card{padding:18px;border:1px solid var(--oafl-line);border-left:5px solid var(--oafl-secondary);border-radius:13px;background:var(--oafl-panel)}
.oafl-checker-card.is-excluded{border-left-color:var(--oafl-good)}.oafl-checker-card.is-relevant{border-left-color:var(--oafl-accent)}.oafl-checker-card.is-conditional{border-left-color:var(--oafl-secondary)}
.oafl-checker-card h3{display:inline;margin:0 0 0 10px;color:var(--oafl-text)}
.oafl-checker-card p{margin:10px 0;color:var(--oafl-muted)}.oafl-checker-card small{color:var(--oafl-muted)}
.oafl-status-pill{display:inline-block;padding:4px 8px;border:1px solid var(--oafl-line);border-radius:999px;font-size:.76rem;font-weight:800;text-transform:uppercase}
.oafl-bars{display:grid;gap:13px}.oafl-bar-row>div:first-child{display:flex;justify-content:space-between;gap:12px;color:var(--oafl-muted);font-size:.9rem}.oafl-bar-track{height:10px;margin-top:5px;overflow:hidden;border-radius:999px;background:#0e1520}.oafl-bar-track span{display:block;height:100%;background:linear-gradient(90deg,var(--oafl-secondary),var(--oafl-accent))}
.oafl-verification,.oafl-quick-take,.oafl-fact-analysis,.oafl-rule-change{margin:28px 0;padding:22px;border:1px solid var(--oafl-line);border-left:5px solid var(--oafl-accent);border-radius:14px;background:linear-gradient(145deg,var(--oafl-bg),#111a29);box-shadow:0 14px 34px rgba(0,0,0,.14)}
.oafl-callout-header{display:flex;align-items:center;gap:11px;margin-bottom:14px}.oafl-callout-header h2{margin:0!important;color:var(--oafl-text);font-size:1.22rem!important}.oafl-callout-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:var(--oafl-accent);font-weight:900}
.oafl-verification dl{margin:0}.oafl-verification dl>div{display:grid;grid-template-columns:minmax(155px,.8fr) minmax(0,2fr);gap:18px;padding:10px 0;border-top:1px solid var(--oafl-line)}.oafl-verification dt{color:var(--oafl-muted);font-weight:700}.oafl-verification dd{margin:0}
.oafl-callout-notes,.oafl-source-link{padding-top:13px;border-top:1px solid var(--oafl-line);color:var(--oafl-muted)}.oafl-source-link a,.oafl-rule-change a,.oafl-tool-hub a{color:var(--oafl-secondary);font-weight:800}
.oafl-quick-take h2{color:var(--oafl-text)}.oafl-quick-take li{margin:7px 0}
.oafl-fact-analysis{display:grid;grid-template-columns:1fr 1fr;gap:18px}.oafl-fact-analysis>div+div{padding-left:18px;border-left:1px solid var(--oafl-line)}.oafl-fact-analysis h2{color:var(--oafl-secondary);font-size:1.05rem!important}
.oafl-rule-change-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.oafl-rule-change-grid>div{padding:14px;border:1px solid var(--oafl-line);border-radius:10px;background:var(--oafl-panel)}.oafl-rule-change-grid strong{color:var(--oafl-secondary)}.oafl-rule-change-grid p{margin:5px 0 0}
.oafl-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.oafl-hub-grid article{padding:18px;border:1px solid var(--oafl-line);border-radius:13px;background:var(--oafl-panel)}.oafl-hub-grid h3{color:var(--oafl-text)}.oafl-hub-grid p{color:var(--oafl-muted)}
.oafl-editor-preview{min-height:170px;padding:22px;border:1px dashed var(--oafl-line);border-radius:14px;background:var(--oafl-bg)}
@media(max-width:820px){.oafl-grid-two,.oafl-checker-controls,.oafl-fact-analysis,.oafl-rule-change-grid,.oafl-hub-grid,.oafl-result-cards{grid-template-columns:1fr}.oafl-fact-analysis>div+div{padding:18px 0 0;border-left:0;border-top:1px solid var(--oafl-line)}.oafl-verification dl>div{grid-template-columns:1fr;gap:3px}.oafl-calculator,.oafl-tool-hub{padding:16px}}

/* =========================================================
   OAFL TOOLKIT 2.1 — COMPACT CALCULATOR LAYOUT
   ========================================================= */

.oafl-calculator {
	max-width: 1040px !important;
	margin: 24px auto !important;
	padding: 20px !important;
	border-radius: 16px !important;
}

.oafl-calculator > .oafl-eyebrow {
	margin-bottom: 5px !important;
	font-size: 0.7rem !important;
	letter-spacing: 0.09em !important;
}

.oafl-calculator > h2 {
	margin-bottom: 7px !important;
	font-size: clamp(1.45rem, 3vw, 2.15rem) !important;
	line-height: 1.08 !important;
}

.oafl-calculator > .oafl-intro {
	max-width: 760px !important;
	margin-bottom: 18px !important;
	font-size: 0.94rem !important;
	line-height: 1.55 !important;
}

.oafl-calculator .oafl-grid-two {
	gap: 12px !important;
}

.oafl-calculator .oafl-panel {
	padding: 15px !important;
	border-radius: 12px !important;
}

.oafl-calculator .oafl-panel h3 {
	margin-bottom: 11px !important;
	font-size: 1rem !important;
	line-height: 1.25 !important;
}

.oafl-calculator .oafl-panel label {
	margin-bottom: 9px !important;
	font-size: 0.88rem !important;
	line-height: 1.35 !important;
}

/* Override theme form styles inside toolkit calculators */
.oafl-calculator .oafl-panel input,
.oafl-calculator .oafl-panel select {
	min-height: 40px !important;
	height: 40px !important;
	margin-top: 5px !important;
	margin-bottom: 8px !important;
	padding: 7px 10px !important;
	border: 1px solid #40516a !important;
	border-radius: 8px !important;
	background: #0e1520 !important;
	background-color: #0e1520 !important;
	background-image: none !important;
	color: var(--oafl-text) !important;
	-webkit-text-fill-color: var(--oafl-text) !important;
	font-size: 0.91rem !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}

/* Three balanced result columns in each ATR team panel */
.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin: 8px 0 0 !important;
}

.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-card {
	min-height: 82px !important;
	padding: 10px !important;
	border-radius: 9px !important;
}

.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-card span,
.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-card small {
	font-size: 0.72rem !important;
	line-height: 1.3 !important;
	overflow-wrap: anywhere !important;
}

.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-card strong {
	margin: 4px 0 1px !important;
	font-size: 1.08rem !important;
	line-height: 1.1 !important;
}

/* Compact result cards used by the other calculators */
.oafl-calculator .oafl-full .oafl-result-cards,
.oafl-cost-cap .oafl-result-cards,
.oafl-prize .oafl-result-cards,
.oafl-revenue .oafl-result-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin: 8px 0 !important;
}

.oafl-calculator .oafl-full .oafl-result-card,
.oafl-cost-cap .oafl-result-card,
.oafl-prize .oafl-result-card,
.oafl-revenue .oafl-result-card {
	min-height: 82px !important;
	padding: 10px !important;
	border-radius: 9px !important;
}

.oafl-calculator .oafl-full .oafl-result-card span,
.oafl-calculator .oafl-full .oafl-result-card small {
	font-size: 0.73rem !important;
	line-height: 1.3 !important;
}

.oafl-calculator .oafl-full .oafl-result-card strong {
	margin: 4px 0 1px !important;
	font-size: 1.08rem !important;
	line-height: 1.15 !important;
}

/* Prevent the site theme from turning calculator tables white */
.oafl-calculator .oafl-table-wrap {
	margin-top: 6px !important;
	border: 1px solid var(--oafl-line) !important;
	border-radius: 9px !important;
	background: #0e1520 !important;
}

.oafl-calculator .oafl-table-wrap table {
	min-width: 680px !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	background: #0e1520 !important;
	background-color: #0e1520 !important;
	color: var(--oafl-text) !important;
	font-size: 0.82rem !important;
}

.oafl-calculator .oafl-table-wrap thead,
.oafl-calculator .oafl-table-wrap thead tr,
.oafl-calculator .oafl-table-wrap thead th {
	background: #202b3b !important;
	background-color: #202b3b !important;
	background-image: none !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.oafl-calculator .oafl-table-wrap th,
.oafl-calculator .oafl-table-wrap td {
	padding: 9px 10px !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 1px solid var(--oafl-line) !important;
	border-bottom: 1px solid var(--oafl-line) !important;
	background: #111b2a !important;
	background-color: #111b2a !important;
	background-image: none !important;
	color: var(--oafl-text) !important;
	-webkit-text-fill-color: var(--oafl-text) !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
}

.oafl-calculator .oafl-table-wrap th {
	background: #202b3b !important;
	background-color: #202b3b !important;
	font-size: 0.73rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.015em !important;
}

.oafl-calculator .oafl-table-wrap tbody tr:nth-child(even) td {
	background: #172235 !important;
	background-color: #172235 !important;
}

.oafl-calculator .oafl-table-wrap th:last-child,
.oafl-calculator .oafl-table-wrap td:last-child {
	border-right: 0 !important;
}

.oafl-calculator .oafl-table-wrap tbody tr:last-child td {
	border-bottom: 0 !important;
}

/* Compact overuse/result message */
.oafl-calculator .oafl-status {
	margin-top: 8px !important;
	padding: 11px 12px !important;
	border-radius: 7px !important;
	font-size: 0.84rem !important;
	line-height: 1.45 !important;
}

/* Compact source/version footer */
.oafl-calculator .oafl-source-note {
	margin-top: 15px !important;
	padding-top: 12px !important;
	font-size: 0.76rem !important;
	line-height: 1.45 !important;
}

.oafl-calculator .oafl-source-note > span {
	margin: 2px 4px 3px 0 !important;
	padding: 3px 7px !important;
	font-size: 0.7rem !important;
}

.oafl-calculator .oafl-source-note p {
	margin: 6px 0 0 !important;
}

/* Slightly smaller progress and chart elements */
.oafl-calculator .oafl-progress {
	height: 9px !important;
	margin-top: 10px !important;
}

.oafl-calculator .oafl-bars {
	gap: 10px !important;
}

/* Tablet */
@media (max-width: 900px) {
	.oafl-calculator {
		padding: 16px !important;
	}

	.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.oafl-calculator .oafl-full .oafl-result-cards,
	.oafl-cost-cap .oafl-result-cards,
	.oafl-prize .oafl-result-cards,
	.oafl-revenue .oafl-result-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Mobile */
@media (max-width: 620px) {
	.oafl-calculator {
		margin: 18px 0 !important;
		padding: 13px !important;
		border-radius: 13px !important;
	}

	.oafl-calculator > h2 {
		font-size: 1.45rem !important;
	}

	.oafl-calculator .oafl-grid-two {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	.oafl-atr > .oafl-grid-two > .oafl-panel:not(.oafl-full) .oafl-result-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.oafl-calculator .oafl-full .oafl-result-cards,
	.oafl-cost-cap .oafl-result-cards,
	.oafl-prize .oafl-result-cards,
	.oafl-revenue .oafl-result-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.oafl-calculator .oafl-panel {
		padding: 12px !important;
	}
}

/* =========================================================
   OAFL TOOLKIT 2.2 — COMPACT VERIFICATION BOX
   ========================================================= */

.oafl-verification {
	max-width: 1040px !important;
	margin: 24px auto !important;
	padding: 15px 18px !important;
	border-left-width: 4px !important;
	border-radius: 12px !important;
}

.oafl-verification .oafl-callout-header {
	gap: 9px !important;
	margin-bottom: 9px !important;
}

.oafl-verification .oafl-callout-icon {
	width: 25px !important;
	height: 25px !important;
	flex: 0 0 25px !important;
	font-size: 0.82rem !important;
}

.oafl-verification .oafl-callout-header h2 {
	font-size: 1.05rem !important;
	line-height: 1.2 !important;
}

/* Two compact columns on desktop */
.oafl-verification dl {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 28px !important;
	margin: 0 !important;
}

.oafl-verification dl > div {
	display: grid !important;
	grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.55fr) !important;
	gap: 10px !important;
	align-items: start !important;
	padding: 8px 0 !important;
	border-top: 1px solid var(--oafl-line) !important;
}

.oafl-verification dt,
.oafl-verification dd {
	font-size: 0.82rem !important;
	line-height: 1.38 !important;
}

.oafl-verification dt {
	font-weight: 750 !important;
}

.oafl-verification dd {
	overflow-wrap: anywhere !important;
}

/* Make the final editorial row span the width when there is an odd count */
.oafl-verification dl > div:last-child:nth-child(odd) {
	grid-column: 1 / -1 !important;
	grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1.65fr) !important;
}

/* Compact notes and source footer */
.oafl-verification .oafl-callout-notes,
.oafl-verification .oafl-source-link {
	margin: 9px 0 0 !important;
	padding-top: 9px !important;
	font-size: 0.78rem !important;
	line-height: 1.4 !important;
}

.oafl-verification .oafl-source-link a {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 30px !important;
	padding: 5px 9px !important;
	border: 1px solid var(--oafl-line) !important;
	border-radius: 7px !important;
	background: #111b2a !important;
	text-decoration: none !important;
	font-size: 0.78rem !important;
	line-height: 1.2 !important;
}

/* Tablet: retain two information columns but stack labels above values */
@media (max-width: 900px) {
	.oafl-verification dl > div {
		grid-template-columns: 1fr !important;
		gap: 2px !important;
	}

	.oafl-verification dl > div:last-child:nth-child(odd) {
		grid-template-columns: 1fr !important;
	}
}

/* Mobile: one full-width item per row */
@media (max-width: 640px) {
	.oafl-verification {
		margin: 20px 0 !important;
		padding: 13px 14px !important;
	}

	.oafl-verification dl {
		grid-template-columns: 1fr !important;
		column-gap: 0 !important;
	}

	.oafl-verification dl > div,
	.oafl-verification dl > div:last-child:nth-child(odd) {
		grid-column: auto !important;
		grid-template-columns: minmax(112px, 0.75fr) minmax(0, 1.45fr) !important;
		gap: 8px !important;
		padding: 7px 0 !important;
	}

	.oafl-verification dt,
	.oafl-verification dd {
		font-size: 0.78rem !important;
	}
}

@media (max-width: 430px) {
	.oafl-verification dl > div,
	.oafl-verification dl > div:last-child:nth-child(odd) {
		grid-template-columns: 1fr !important;
		gap: 2px !important;
	}
}

/* =========================================================
   OAFL TOOLKIT 2.3 — TOOL PAGE REFINEMENTS
   ========================================================= */

/* ---------- Cost-cap inclusion checker ---------- */

.oafl-checker {
	max-width: 1040px !important;
}

.oafl-checker .oafl-checker-controls {
	display: grid !important;
	grid-template-columns: minmax(0, 2fr) minmax(210px, 0.8fr) !important;
	gap: 12px !important;
	margin: 15px 0 8px !important;
}

.oafl-checker .oafl-checker-controls label {
	margin: 0 !important;
	font-size: 0.84rem !important;
}

.oafl-checker .oafl-checker-controls input,
.oafl-checker .oafl-checker-controls select {
	min-height: 40px !important;
	height: 40px !important;
	margin-top: 5px !important;
	padding: 7px 10px !important;
	border: 1px solid #40516a !important;
	border-radius: 8px !important;
	background: #0e1520 !important;
	background-color: #0e1520 !important;
	background-image: none !important;
	color: var(--oafl-text) !important;
	-webkit-text-fill-color: var(--oafl-text) !important;
	font-size: 0.88rem !important;
	box-shadow: none !important;
}

.oafl-checker .oafl-checker-controls input::placeholder {
	color: #8593a8 !important;
	-webkit-text-fill-color: #8593a8 !important;
	opacity: 1 !important;
}

.oafl-checker-meta {
	display: flex;
	justify-content: flex-end;
	min-height: 24px;
	margin-bottom: 7px;
	color: var(--oafl-muted);
	font-size: 0.74rem;
}

.oafl-checker-results {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
}

.oafl-checker-card {
	min-height: 0 !important;
	padding: 13px 14px !important;
	border-left-width: 4px !important;
	border-radius: 10px !important;
}

.oafl-checker-card__top {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.oafl-checker-card h3 {
	display: block !important;
	margin: 0 !important;
	font-size: 0.95rem !important;
	line-height: 1.25 !important;
}

.oafl-checker-card p {
	margin: 7px 0 !important;
	font-size: 0.8rem !important;
	line-height: 1.42 !important;
}

.oafl-checker-card small {
	display: block;
	margin-top: 8px;
	font-size: 0.68rem !important;
	line-height: 1.3 !important;
}

.oafl-checker .oafl-status-pill {
	flex: 0 0 auto;
	padding: 3px 6px !important;
	font-size: 0.63rem !important;
	line-height: 1.1 !important;
}

.oafl-checker-actions {
	display: flex;
	justify-content: center;
	margin: 14px 0 2px;
}

.oafl-tool-button {
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid var(--oafl-line);
	border-radius: 8px;
	background: #172235;
	color: var(--oafl-text);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 750;
	cursor: pointer;
}

.oafl-tool-button:hover,
.oafl-tool-button:focus {
	border-color: var(--oafl-secondary);
	color: var(--oafl-secondary);
}

.oafl-tool-button[hidden] {
	display: none !important;
}

.oafl-checker-empty {
	grid-column: 1 / -1;
	padding: 18px;
	border: 1px solid var(--oafl-line);
	border-radius: 10px;
	background: var(--oafl-panel);
	color: var(--oafl-muted);
}

/* ---------- Team revenue calculator ---------- */

.oafl-revenue {
	max-width: 1040px !important;
}

.oafl-revenue > .oafl-grid-two {
	grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.3fr) !important;
	align-items: stretch !important;
}

.oafl-revenue .oafl-panel {
	padding: 14px !important;
}

.oafl-revenue .oafl-panel label {
	margin-bottom: 7px !important;
	font-size: 0.78rem !important;
}

.oafl-revenue .oafl-panel input {
	height: 37px !important;
	min-height: 37px !important;
	margin-top: 4px !important;
	margin-bottom: 5px !important;
	padding: 6px 9px !important;
	font-size: 0.84rem !important;
}

.oafl-revenue .oafl-result-cards {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 9px !important;
	margin: 0 0 12px !important;
}

.oafl-revenue .oafl-result-card {
	min-height: 96px !important;
	padding: 12px !important;
}

.oafl-revenue .oafl-result-card strong {
	font-size: 1.15rem !important;
	line-height: 1.18 !important;
	overflow-wrap: anywhere !important;
}

.oafl-revenue .oafl-result-card span,
.oafl-revenue .oafl-result-card small {
	font-size: 0.72rem !important;
}

.oafl-revenue .oafl-bar-row {
	margin-bottom: 8px;
}

.oafl-revenue .oafl-bar-row > div:first-child {
	align-items: baseline;
	font-size: 0.73rem !important;
	line-height: 1.28 !important;
}

.oafl-revenue .oafl-bar-row > div:first-child span {
	max-width: 58%;
}

.oafl-revenue .oafl-bar-row > div:first-child strong {
	text-align: right;
	font-size: 0.72rem;
	white-space: nowrap;
}

.oafl-revenue .oafl-bar-track {
	height: 7px !important;
	margin-top: 4px !important;
}

/* ---------- Clickable tools hub ---------- */

.oafl-tool-hub {
	max-width: 1040px !important;
	margin: 24px auto !important;
	padding: 20px !important;
	border-radius: 16px !important;
}

.oafl-tool-hub > h2 {
	margin-bottom: 16px !important;
	font-size: clamp(1.55rem, 3.2vw, 2.35rem) !important;
}

.oafl-hub-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)) !important;
	gap: 12px !important;
}

.oafl-hub-card {
	position: relative;
	display: flex;
	min-height: 190px;
	flex-direction: column;
	padding: 17px;
	overflow: hidden;
	border: 1px solid var(--oafl-line);
	border-radius: 12px;
	background: var(--oafl-panel);
	color: var(--oafl-text) !important;
	text-decoration: none !important;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.oafl-hub-card::after {
	content: "";
	position: absolute;
	inset: auto -45px -65px auto;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--oafl-accent) 13%, transparent);
	pointer-events: none;
}

.oafl-hub-card:hover,
.oafl-hub-card:focus-visible {
	transform: translateY(-3px);
	border-color: var(--oafl-secondary);
	background: #19263a;
	outline: none;
}

.oafl-hub-card__label {
	margin-bottom: 14px;
	color: var(--oafl-secondary);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.oafl-hub-card h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 8px !important;
	color: var(--oafl-text) !important;
	font-size: 1rem !important;
	line-height: 1.3 !important;
}

.oafl-hub-card p {
	position: relative;
	z-index: 1;
	margin: 0 0 18px !important;
	color: var(--oafl-muted) !important;
	font-size: 0.82rem !important;
	line-height: 1.45 !important;
}

.oafl-hub-card__action {
	position: relative;
	z-index: 1;
	margin-top: auto;
	color: var(--oafl-secondary);
	font-size: 0.78rem;
	font-weight: 800;
}

@media (max-width: 820px) {
	.oafl-checker-results {
		grid-template-columns: 1fr !important;
	}

	.oafl-revenue > .oafl-grid-two {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 620px) {
	.oafl-checker .oafl-checker-controls {
		grid-template-columns: 1fr !important;
	}

	.oafl-hub-grid {
		grid-template-columns: 1fr !important;
	}

	.oafl-hub-card {
		min-height: 155px;
	}
}

/* =========================================================
   OAFL TOOLKIT 2.4 — NUMBER FORMATTING
   ========================================================= */

.oafl-calculator [data-oafl-number] {
	font-variant-numeric: tabular-nums !important;
	letter-spacing: 0.01em;
	text-align: right !important;
}

.oafl-result-card strong,
.oafl-table-wrap td,
.oafl-bar-row strong,
.oafl-status strong {
	font-variant-numeric: tabular-nums;
}

