/* Advanton Business Idea Reality Check (1.41.0) */
.advh-ic {
	--ink: #1b3047; --ink-2: #44566a; --muted: #6b7a89; --line: #dde3e9; --panel: #f3f6f8; --white: #fff;
	--green: #2f6b4f; --green-2: #e6f0eb; --blue: #0098d8; --blue-2: #e6f5fc; --amber: #a86200; --amber-2: #fbf1e3; --red: #c62828; --red-2: #fbeaea;
	color: var(--ink); margin: 1.5em 0 3em; font-size: 1rem; line-height: 1.55; font-variant-numeric: tabular-nums;
}
.advh-ic *, .advh-ic *::before, .advh-ic *::after { box-sizing: border-box; }
.advh-ic__loading { padding: 3em 1em; text-align: center; color: var(--muted); }
.advh-ic h2, .advh-ic h3 { color: var(--ink); }
.advh-ic__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.advh-ic button, .advh-ic input, .advh-ic select { font: inherit; }
.advh-ic :focus-visible { outline: 3px solid rgba(0, 152, 216, .45); outline-offset: 2px; }

/* Hero */
.advh-ic__hero { padding: 2.2em 2em 1.8em; border-radius: 14px; background: linear-gradient(160deg, #1b3047 0%, #22405c 100%); color: #fff; }
.advh-ic .advh-ic__h { color: #fff; font-size: clamp(1.6em, 3.2vw, 2.2em); line-height: 1.15; margin: 0 0 .35em; letter-spacing: -.01em; }
.advh-ic__lede { margin: 0 0 1.4em; max-width: 40em; color: #d5e0ea; font-size: 1.05em; }
.advh-ic__search { position: relative; max-width: 44em; }
.advh-ic__sicon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.advh-ic__search input { width: 100%; height: 60px; padding: 0 20px 0 50px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font-size: 1.08em; box-shadow: 0 6px 24px rgba(5, 20, 35, .25); }
.advh-ic__search input::placeholder { color: #8796a5; }
.advh-ic__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(5, 20, 35, .22); }
.advh-ic__list li { display: flex; justify-content: space-between; gap: 1em; padding: 12px 14px; border-radius: 8px; color: var(--ink); cursor: pointer; }
.advh-ic__list li span { color: var(--muted); font-size: .88em; text-align: right; }
.advh-ic__list li:hover, .advh-ic__list li.is-active { background: var(--blue-2); }
.advh-ic__list li.is-empty { cursor: default; color: var(--ink-2); }
.advh-ic__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1.1em; }
.advh-ic__chips > span { color: #b9c8d6; font-size: .92em; margin-right: 4px; }
.advh-ic .advh-ic__chip { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; color: #fff; font-size: .9em; cursor: pointer; }
.advh-ic .advh-ic__chip:hover, .advh-ic .advh-ic__chip:focus { background: rgba(255, 255, 255, .12); color: #fff; }

/* Steps */
.advh-ic__steps { display: flex; gap: 0; margin: 1.6em 0 1.4em; padding: 0; list-style: none; counter-reset: ic; }
.advh-ic__steps li { flex: 1; position: relative; padding: 0 0 10px; color: var(--muted); font-size: .95em; counter-increment: ic; border-bottom: 3px solid var(--line); }
.advh-ic__steps li::before { content: counter(ic); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: .8em; font-weight: 700; }
.advh-ic__steps li.is-now { color: var(--ink); font-weight: 600; border-color: var(--blue); }
.advh-ic__steps li.is-now::before { background: var(--blue); color: #fff; }
.advh-ic__steps li.is-done { color: var(--ink-2); border-color: var(--green); }
.advh-ic__steps li.is-done::before { content: "✓"; background: var(--green); color: #fff; }

/* How it works (before an idea is picked) */
.advh-ic__how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 4px 0 8px; }
.advh-ic__how > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; }
.advh-ic__how strong { display: block; margin-bottom: 4px; font-size: 1.02em; }
.advh-ic__how p { margin: 0; color: var(--ink-2); font-size: .93em; }
.advh-ic .advh-ic__src { grid-column: 1 / -1; margin: 2px 0 0; color: var(--muted); font-size: .85em; }
.advh-ic__how[hidden] { display: none; }

/* Workspace */
.advh-ic__work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.advh-ic__results { position: sticky; top: 24px; display: grid; gap: 16px; }
.advh-ic__inputs { display: grid; gap: 18px; }
.advh-ic__panel, .advh-ic__card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 20px; }
.advh-ic__panel h3, .advh-ic__card h3 { margin: 0 0 .8em; font-size: 1.12em; }
.advh-ic__ptitle { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.advh-ic__ptitle h3 { font-size: 1.3em; margin-bottom: .6em; }
.advh-ic .advh-ic__link { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: .92em; }
.advh-ic .advh-ic__link:hover, .advh-ic .advh-ic__link:focus { background: none; color: #0077aa; }
.advh-ic__help { margin: .5em 0 0; color: var(--muted); font-size: .86em; }
.advh-ic__fine { margin: 1em 0 0; color: var(--muted); font-size: .82em; }
.advh-ic__fine a, .advh-ic__help a { color: var(--blue); }

/* Industry facts and survival */
.advh-ic__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5em, 1fr)); gap: 12px; margin: 0 0 18px; }
.advh-ic__facts div { padding: 12px 14px; border-radius: 10px; background: var(--panel); }
.advh-ic__facts dt { color: var(--muted); font-size: .8em; }
.advh-ic__facts dd { margin: 2px 0 0; font-size: 1.3em; font-weight: 700; }
.advh-ic__facts dd small { display: block; font-size: .62em; font-weight: 400; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.advh-ic dd.is-up { color: var(--green); }
.advh-ic dd.is-down { color: var(--red); }
.advh-ic__survival { display: grid; gap: 8px; }
.advh-ic__srow { display: grid; grid-template-columns: 4.6em 1fr 3.4em; gap: 10px; align-items: center; font-size: .9em; }
.advh-ic__srow em { font-style: normal; font-weight: 700; text-align: right; }
.advh-ic__sbar { position: relative; height: 12px; border-radius: 6px; background: var(--panel); }
.advh-ic__sbar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--green); }
.advh-ic__sbar b { position: absolute; top: -4px; width: 2px; height: 20px; background: var(--ink); }
.advh-ic__legend { display: flex; gap: 16px; align-items: center; margin: 4px 0 0; color: var(--muted); font-size: .8em; }
.advh-ic__legend i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; background: var(--green); margin-right: 6px; vertical-align: middle; }
.advh-ic__legend b { display: inline-block; width: 2px; height: 14px; background: var(--ink); margin: 0 6px 0 8px; vertical-align: middle; }
.advh-ic__state { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .92em; font-weight: 600; }
.advh-ic__state select { flex: 1; max-width: 16em; height: 40px; padding: 0 10px; border: 1px solid #c5ced7; border-radius: 8px; background: #fff; color: var(--ink); }
.advh-ic__statenote { margin: .6em 0 0; padding: 10px 12px; border-radius: 8px; background: var(--blue-2); font-size: .88em; }

/* Model cards */
.advh-ic__models { display: grid; gap: 10px; }
.advh-ic .advh-ic__model { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.advh-ic .advh-ic__model strong { grid-column: 1 / -1; font-size: 1em; }
.advh-ic .advh-ic__model span { color: var(--muted); font-size: .86em; }
.advh-ic .advh-ic__model:hover, .advh-ic .advh-ic__model:focus { border-color: #9fb2c4; background: #fff; color: var(--ink); }
.advh-ic .advh-ic__model.is-on { border-color: var(--blue); background: var(--blue-2); box-shadow: inset 0 0 0 1px var(--blue); }

/* Sliders */
.advh-ic__field { padding: 14px 0; border-top: 1px solid #edf1f4; }
.advh-ic__field:first-of-type { border-top: 0; padding-top: 0; }
.advh-ic__fieldhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.advh-ic__fieldhead label { font-weight: 600; font-size: .95em; }
.advh-ic__num { display: inline-flex; align-items: center; gap: 4px; }
.advh-ic__num input { width: 7.2em; height: 36px; padding: 0 10px; border: 1px solid #c5ced7; border-radius: 8px; text-align: right; color: var(--ink); background: #fff; }
.advh-ic__num i { font-style: normal; color: var(--muted); }
.advh-ic input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.advh-ic input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0, var(--blue) var(--p, 50%), #dfe6ec var(--p, 50%)); }
.advh-ic input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #dfe6ec; }
.advh-ic input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--blue); }
.advh-ic input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.advh-ic input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.advh-ic__seg { margin: 0; padding: 14px 0 0; border: 0; border-top: 1px solid #edf1f4; }
.advh-ic__seg legend { padding: 14px 0 8px; font-weight: 600; font-size: .95em; float: left; width: 100%; }
.advh-ic__seg > div { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #c5ced7; border-radius: 10px; overflow: hidden; }
.advh-ic__seg label { position: relative; }
.advh-ic__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.advh-ic__seg span { display: block; padding: 10px 6px; text-align: center; font-size: .9em; cursor: pointer; border-right: 1px solid #c5ced7; }
.advh-ic__seg label:last-child span { border-right: 0; }
.advh-ic__seg input:checked + span { background: var(--ink); color: #fff; font-weight: 600; }
.advh-ic__seg input:focus-visible + span { outline: 3px solid rgba(0, 152, 216, .45); outline-offset: -3px; }
.advh-ic__more { margin-top: 14px; border-top: 1px solid #edf1f4; padding-top: 12px; }
.advh-ic__more summary { cursor: pointer; color: var(--blue); font-size: .92em; }
.advh-ic__more .advh-ic__field { border-top: 0; padding-top: 10px; }

/* Verdict */
.advh-ic__verdict { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 14px; background: var(--ink); color: #fff; }
.advh-ic__ring { position: relative; flex: none; width: 104px; height: 104px; }
.advh-ic__ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.advh-ic__ring strong { font-size: 2em; line-height: 1; }
.advh-ic__ring span { font-size: .72em; color: #b9c8d6; }
.advh-ic__ring .trk { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 9; }
.advh-ic__ring .val { fill: none; stroke-width: 9; stroke-linecap: round; transition: stroke-dasharray .45s ease; }
.advh-ic__verdict.is-good .val { stroke: #5cd39a; }
.advh-ic__verdict.is-ok .val { stroke: #8fd3f1; }
.advh-ic__verdict.is-warn .val { stroke: #f2b45c; }
.advh-ic__verdict.is-risk .val { stroke: #ff8a80; }
.advh-ic .advh-ic__band { margin: 0 0 4px; font-size: 1.25em; font-weight: 700; color: #fff; }
.advh-ic .advh-ic__why { margin: 0; color: #d5e0ea; font-size: .95em; }

/* KPIs */
.advh-ic__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.advh-ic__kpis div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.advh-ic__kpis dt { color: var(--muted); font-size: .8em; }
.advh-ic__kpis dd { margin: 4px 0 0; font-size: 1.3em; font-weight: 700; line-height: 1.2; }
.advh-ic__kpis small { display: block; margin-top: 4px; color: var(--muted); font-size: .72em; line-height: 1.3; }

/* Chart */
.advh-ic__chead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.advh-ic__chead h3 { margin: 0; }
.advh-ic__toggles { display: inline-flex; gap: 6px; }
.advh-ic .advh-ic__toggles button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .8em; cursor: pointer; }
.advh-ic .advh-ic__toggles button::before { content: ""; width: 14px; height: 0; border-top: 3px solid currentColor; }
.advh-ic .advh-ic__toggles .is-exp { color: var(--green); cursor: default; }
.advh-ic .advh-ic__toggles .is-cau { color: var(--amber); }
.advh-ic .advh-ic__toggles .is-cau::before { border-top-style: dashed; }
.advh-ic .advh-ic__toggles .is-str { color: var(--blue); }
.advh-ic .advh-ic__toggles .is-str::before { border-top-style: dotted; }
.advh-ic .advh-ic__toggles button[aria-pressed="false"] { opacity: .45; }
.advh-ic .advh-ic__toggles button:hover, .advh-ic .advh-ic__toggles button:focus { background: var(--panel); }
.advh-ic__chart { display: block; width: 100%; height: auto; }
.advh-ic__chart .g { stroke: #e8edf1; stroke-width: 1; }
.advh-ic__chart .g.z { stroke: var(--ink); stroke-opacity: .5; stroke-width: 1.4; }
.advh-ic__chart .ax { fill: var(--muted); font-size: 11px; }
.advh-ic__chart .valley { fill: var(--red); fill-opacity: .07; }
.advh-ic__chart .ln { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.advh-ic__chart .exp { stroke: var(--green); stroke-width: 3.4; }
.advh-ic__chart .cau { stroke: var(--amber); stroke-dasharray: 7 5; }
.advh-ic__chart .str { stroke: var(--blue); stroke-dasharray: 2 5; }
.advh-ic__chart .pt { stroke: #fff; stroke-width: 2; }
.advh-ic__chart .lowpt { fill: var(--red); }
.advh-ic__chart .paypt { fill: var(--green); }
.advh-ic__chart .lab { fill: var(--ink); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 4px; }

/* What has to be true */
.advh-ic__truth p { margin: 0 0 .6em; }
.advh-ic__gauge { margin: 12px 0 4px; }
.advh-ic__gtrack { position: relative; height: 14px; border-radius: 7px; background: var(--panel); }
.advh-ic__gtrack i { position: absolute; inset: 0 auto 0 0; border-radius: 7px; background: linear-gradient(90deg, #4c9a75, var(--green)); }
.advh-ic__gtrack b { position: absolute; top: -6px; width: 3px; height: 26px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.advh-ic__gauge p { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 0; color: var(--ink-2); font-size: .84em; }

/* Factors */
.advh-ic__factors { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.advh-ic__fhead { display: flex; justify-content: space-between; font-weight: 600; font-size: .94em; }
.advh-ic__fhead em { font-style: normal; color: var(--ink-2); }
.advh-ic__fbar { height: 8px; margin: 6px 0; border-radius: 4px; background: var(--panel); overflow: hidden; }
.advh-ic__fbar i { display: block; height: 100%; border-radius: 4px; transition: width .35s ease; }
.advh-ic__fbar .is-good { background: var(--green); }
.advh-ic__fbar .is-ok { background: #d39226; }
.advh-ic__fbar .is-risk { background: var(--red); }
.advh-ic__factors p { margin: 0; color: var(--ink-2); font-size: .88em; }
.advh-ic__next { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.advh-ic__next a { color: var(--blue); }

/* Actions */
.advh-ic__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.advh-ic .advh-ic__btn { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.advh-ic .advh-ic__btn:hover, .advh-ic .advh-ic__btn:focus { background: var(--panel); color: var(--ink); }
.advh-ic .advh-ic__btn--primary { background: var(--green); border-color: var(--green); color: #fff; }
.advh-ic .advh-ic__btn--primary:hover, .advh-ic .advh-ic__btn--primary:focus { background: #255a42; color: #fff; }
.advh-ic__copied { color: var(--green); font-weight: 600; font-size: .9em; }

/* Prompt card on industry profiles and ideas */
.advh-icp { display: flex; align-items: center; gap: 18px; margin: 1.8em 0; padding: 18px 20px; border-radius: 12px; background: #1b3047; color: #fff; }
.advh-icp__chart { flex: none; color: #5cd39a; }
.advh-icp__body { flex: 1; min-width: 0; }
.advh-icp .advh-icp__title { margin: 0 0 4px; font-weight: 700; font-size: 1.08em; color: #fff; }
.advh-icp .advh-icp__text { margin: 0; color: #d5e0ea; font-size: .93em; }
.advh-icp a.advh-icp__cta { flex: none; padding: 11px 16px; border-radius: 8px; background: #fff; color: #1b3047; font-weight: 700; text-decoration: none; white-space: nowrap; }
.advh-icp a.advh-icp__cta:hover, .advh-icp a.advh-icp__cta:focus { background: #e6f5fc; color: #1b3047; }

.advh-icp-line { margin: 1.2em 0; padding: 12px 16px; border-left: 4px solid #0098d8; border-radius: 6px; background: #e6f5fc; color: #1b3047; }
.advh-icp-line a { color: #006a99; font-weight: 600; }

@media (max-width: 900px) {
	.advh-ic__work { grid-template-columns: 1fr; }
	.advh-ic__results { position: static; }
}
@media (max-width: 600px) {
	.advh-ic__how { grid-template-columns: 1fr; }
	.advh-ic__hero { padding: 1.6em 1.1em 1.3em; border-radius: 12px; }
	.advh-ic__search input { height: 54px; font-size: 1em; }
	.advh-ic__kpis { grid-template-columns: 1fr 1fr; }
	.advh-ic__steps li { font-size: .82em; }
	.advh-ic__panel, .advh-ic__card { padding: 16px; }
	.advh-ic__verdict { padding: 16px; gap: 14px; }
	.advh-ic__list li { flex-direction: column; gap: 2px; }
	.advh-ic__list li span { text-align: left; }
	.advh-icp { flex-wrap: wrap; }
	.advh-icp__chart { display: none; }
}
@media print {
	body.advh-ic-printing * { visibility: hidden; }
	body.advh-ic-printing .advh-ic__work, body.advh-ic-printing .advh-ic__work * { visibility: visible; }
	body.advh-ic-printing .advh-ic__work { position: absolute; left: 0; top: 0; width: 100%; display: block; }
	body.advh-ic-printing .advh-ic__results { position: static; }
	body.advh-ic-printing .advh-ic__actions, body.advh-ic-printing input[type="range"] { display: none; }
	.advh-ic__verdict, .advh-ic__chart, .advh-ic__fbar i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
