/* Shared indigo editorial hierarchy for AlgoLiq, AlgoSpectrum and AlgoSlope. Staging only. */
body.aq-indigo.aq-editorial-product .aqc-page { width:100%; max-width:none; margin:0; background:#fff; color:#29263e; font:400 16px/1.8 Manrope,sans-serif; }
.aqc-page * { box-sizing:border-box; }
.aqc-page [hidden] { display:none!important; }
.aqc-page .aqc-wrap { width:min(1160px,calc(100% - 64px)); margin-inline:auto; }
.aqc-page .aqc-section { padding:52px 0; }
body.aq-indigo.aq-editorial-product .aqc-page :is(h1,h2,h3) { color:#29263e; font-family:Manrope,sans-serif; font-weight:600; letter-spacing:-.035em; margin:0 0 16px; }
body.aq-indigo.aq-editorial-product .aqc-page h1 { font-size:46px; line-height:1.2; }
body.aq-indigo.aq-editorial-product .aqc-page h2 { font-size:30px; line-height:1.3; }
body.aq-indigo.aq-editorial-product .aqc-page h3 { font-size:21px; line-height:1.4; }
body.aq-indigo.aq-editorial-product .aqc-page p { font-size:16px; line-height:1.8; color:#696278; margin:0 0 18px; }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-overline { color:#5145cd; font-size:12px; font-weight:700; letter-spacing:.065em; text-transform:uppercase; margin-bottom:14px; }
.aqc-hero { padding:44px 0 48px; text-align:center; background:linear-gradient(180deg,#f6f3ff,#faf9fd); }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-hero-title { max-width:840px; margin:0 auto 18px; color:#5145cd; font-size:21px; line-height:1.5; font-weight:500; letter-spacing:-.03em; }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-hero-lead { max-width:780px; margin:0 auto 22px; }
.aqc-actions { display:flex; justify-content:center; gap:13px; flex-wrap:wrap; }
.aqc-page .aq3-button { display:inline-flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 19px; font:600 14px/1.5 Manrope,sans-serif; border-radius:10px; text-decoration:none; }
.aqc-page .aqc-outline { background:white; border:1px solid #d8d1ee; color:#5145cd; }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-hero-note { font-size:12px; margin:18px auto 24px; }
.aqc-figure { width:100%; background:#fff; border:1px solid #e2ddeb; border-radius:13px; overflow:hidden; margin:22px 0 0; text-align:left; }
.aqc-figure a { text-decoration:none; display:block; }
.aqc-page .aqc-figure img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; border:0; border-radius:0; }
.aqc-figure figcaption { padding:11px 17px; color:#716781; font-size:12px; line-height:1.7; }
.aqc-image-open { display:block; text-align:right; padding:10px 17px; color:#5145cd; font:600 12px/1.6 Manrope,sans-serif; background:#f5f2fc; border-top:1px solid #e9e3f2; }
.aqc-hero-screen { max-width:1050px; margin-inline:auto; background:#eeebf6; }
.aqc-screen-heading { padding:16px 22px; color:#716781; font-size:12px; }
.aqc-hero-screen>a { margin:0 22px 10px; }
.aqc-hero-screen img { border-radius:7px!important; }
.aqc-hero-screen .aqc-image-open { background:none; border:0; padding-inline:0; }
.aqc-heading { display:grid; grid-template-columns:1.05fr 1fr; align-items:end; gap:40px; margin-bottom:26px; }
.aqc-heading h2 { margin-bottom:0!important; }
.aqc-heading>p { margin-bottom:0!important; }
.aqc-heading br { display:none; }
.aqc-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding:20px 0; border-block:1px solid #e7e1ef; margin-bottom:20px; }
.aqc-steps article>span { display:block; color:#8574cf; font-size:12px; margin-bottom:8px; }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-steps h3 { font-size:19px; margin-bottom:10px; }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-steps p { font-size:14px; margin:0; }
.aqc-tinted { background:#f8f6fc; }
body.aq-indigo.aq-editorial-product .aqc-page .aqc-results { background:#272151; color:#d8d2ed; }
body.aq-indigo.aq-editorial-product .aqc-results>.aqc-wrap>.aqc-heading h2,body.aq-indigo.aq-editorial-product .aqc-results .aqc-steps h3 { color:#fff; }
body.aq-indigo.aq-editorial-product .aqc-results>.aqc-wrap>.aqc-heading .aqc-overline { color:#c2b8ff; }
body.aq-indigo.aq-editorial-product .aqc-results>.aqc-wrap>.aqc-heading>p,body.aq-indigo.aq-editorial-product .aqc-results .aqc-steps p { color:#d1cae5; }
.aqc-results .aqc-steps { border-color:#ffffff25; }
.aqc-results .aqc-steps article>span { color:#b5a9fb; }
.aqc-gallery { border:1px solid #ede8f8; border-radius:16px; background:#fff; color:#29263e; overflow:hidden; }
.aqc-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding:12px; background:#f0ecfa; }
.aqc-tabs button { min-height:46px; border:0; border-radius:9px; background:transparent; color:#716781; padding:10px 12px; font:600 13px/1.5 Manrope,sans-serif; cursor:pointer; }
.aqc-tabs button[aria-selected="true"] { background:#5145cd; color:#fff; box-shadow:0 3px 9px #5145cd1c; }
.aqc-tabs button:hover:not([aria-selected="true"]) { background:#e5def7; }
.aqc-panel { padding:22px; }
.aqc-panel .aqc-figure { margin-top:20px; }
.aqc-disclosure { border:1px solid #e2ddeb; background:#fff; border-radius:11px; margin:12px 0 0; overflow:hidden; color:#29263e; }
.aqc-page .aqc-disclosure>summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; min-height:56px; list-style:none; cursor:pointer; font:600 14px/1.6 Manrope,sans-serif; color:#5145cd; }
.aqc-disclosure>summary::-webkit-details-marker,.aqc-release-item>summary::-webkit-details-marker { display:none; }
.aqc-disclosure[open]>summary { border-bottom:1px solid #e7e1f0; }
.aqc-page .aqc-disclosure>summary>span { font-size:inherit; font-weight:inherit; transform:none; }
.aqc-page .aqc-disclosure>summary>.aqc-plus,.aqc-plus { flex-shrink:0; font-size:22px; font-weight:400; color:#7363bf; }
.aqc-page .aqc-disclosure[open]>summary>.aqc-plus,.aqc-release-item[open]>summary>.aqc-plus { transform:rotate(45deg); }
.aqc-page .aqc-disclosure>summary>.aqc-topic-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:9px; background:#f0ecfb; color:#5145cd; flex-shrink:0; }
.aqc-topic-label { flex:1; min-width:0; }
.aqc-topic-label strong { display:block; font-size:16px; font-weight:650; color:#393247; }
.aqc-topic-label small { display:block; color:#776d86; font-size:14px; font-weight:400; line-height:1.7; margin-top:4px; }
.aqc-disclosure-body { padding:24px; }
body.aq-indigo.aq-editorial-product .aqc-copy :is(p,li) { font-size:15px; line-height:1.85; color:#696278; }
.aqc-copy>p:last-child { margin-bottom:0!important; }
.aqc-copy :is(ul,ol) { padding-left:24px; margin:0 0 18px; }
.aqc-copy li { margin:7px 0; }
.aqc-copy a { color:#5145cd; }
.aqc-subheading { margin-top:32px; }
.aqc-application-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
.aqc-application-grid .aqc-disclosure { margin:0; }
.aqc-application-grid summary { min-height:126px!important; }
.aqc-application-image { padding:16px; }
.aqc-application-image .aq4-technical-art { margin:0!important; }
.aqc-application-image .aq4-technical-art a { border:0; }
.aqc-output { margin-top:20px; }
.aqc-output .aqc-copy ul { columns:2; column-gap:38px; }
.aqc-output .aqc-copy li { break-inside:avoid; padding-right:12px; }
.aqc-year>summary { min-height:104px!important; }
.aqc-release-list { padding:8px 24px 16px; }
.aqc-release-item { border-bottom:1px solid #ece7f3; }
.aqc-release-item:last-child { border-bottom:0; }
.aqc-release-item>summary { display:flex; align-items:center; gap:16px; padding:17px 0; list-style:none; cursor:pointer; color:#393247; }
.aqc-small-icon { display:grid; place-items:center; background:#f3f0fb; color:#7363bf; border-radius:8px; width:36px; height:36px; flex-shrink:0; align-self:flex-start; }
.aqc-small-icon svg { width:22px; height:22px; }
.aqc-release-item>summary>span:nth-child(2) { flex:1; min-width:0; }
.aqc-release-item strong { display:block; font-size:16px; font-weight:600; line-height:1.6; }
.aqc-release-item small { display:block; color:#7a708d; font-size:11px; line-height:1.5; margin-bottom:4px; letter-spacing:.035em; text-transform:uppercase; }
.aqc-feature-summary { display:block; font-size:14px; line-height:1.7; color:#776d86; margin-top:4px; }
.aqc-release-item>.aqc-copy { padding:4px 0 22px 52px; }
.aqc-release-item>.aqc-copy h3 { font-size:17px!important; }
.aqc-about-releases>summary { padding-block:14px!important; }
.aqc-video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.aqc-video-grid>a { display:flex; align-items:center; gap:14px; border:1px solid #e5dfef; border-radius:10px; padding:18px; text-decoration:none; }
.aqc-video-grid>a>span:nth-child(2) { flex:1; }
.aqc-video-grid small { display:block; font-size:11px; color:#8a7d9c; margin-bottom:5px; }
.aqc-video-grid strong { display:block; font-size:15px; line-height:1.5; font-weight:600; }
.aqc-play { display:grid; place-items:center; background:#f0ecfb; color:#5145cd; border-radius:50%; width:38px; height:38px; flex-shrink:0; }
.aqc-original .elementor-section,.aqc-original .e-con,.aqc-original .elementor-widget-wrap { padding:0!important; margin:0!important; width:100%!important; background:none!important; }
.aqc-original .elementor-widget-heading { display:none; }
.aqc-licence-note { margin-top:22px; }
.aqc-page .aqsh-edition { padding:26px; border-radius:15px; }
.aqc-page .aqsh .aqsh-diagram { max-height:105px; margin-block:14px; }
.aqc-page .aqsh .aqsh-edition h3 { margin-top:12px; }
.aqc-page .aqsh .aqsh-price { font-size:32px; margin-top:18px; }
.aqc-page .aqsh .aqsh-edition-description { min-height:0; }
.aqc-compare .aqsh-comparison { margin:0; border:0; border-radius:0; }
.aqc-demo { display:flex; align-items:center; gap:32px; justify-content:space-between; border-top:1px solid #e3dced; padding-top:24px; margin-top:24px; }
.aqc-demo>div { max-width:760px; }
.aqc-demo .aq3-button { flex-shrink:0; }
.aqc-demo h3 { margin:0 0 10px!important; }
.aqc-demo .aqc-overline { margin-bottom:8px!important; }
.aqc-logos { display:flex; align-items:center; justify-content:center; gap:60px; margin-top:20px; }
.aqc-logos a { display:block; max-width:210px; }
.aqc-logos img { display:block; width:100%; height:65px; object-fit:contain; }
.aqc-users { text-align:center; border-top:1px solid #eee9f5; }
.aqc-page :is(a,button,summary):focus-visible { outline:3px solid #a99af3; outline-offset:4px; }
.aqc-dialog { max-width:96vw; width:1500px; max-height:94vh; border:1px solid #e0d9f0; border-radius:13px; padding:0; background:#fff; color:#29263e; }
.aqc-dialog::backdrop { background:#1b1539d6; backdrop-filter:blur(5px); }
.aqc-dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px 20px; border-bottom:1px solid #ebe4f5; }
.aqc-dialog-toolbar h2 { font-size:16px!important; margin:0!important; }
.aqc-dialog-toolbar button { border:1px solid #dcd4ee; color:#5145cd; background:#f5f2fc; border-radius:6px; padding:9px 15px; font:600 13px/1.5 Manrope,sans-serif; cursor:pointer; }
.aqc-dialog-image { overflow:auto; max-height:calc(94vh - 115px); }
.aqc-dialog-image img { display:block; width:auto; max-width:none; height:auto; }
.aqc-dialog>p { padding:10px 20px; margin:0!important; font-size:12px!important; }
.aqc-anchor { display:block; }
@media(max-width:767px) {
 .aqc-page .aqc-wrap { width:calc(100% - 40px); }
 .aqc-page .aqc-section { padding:36px 0; }
 .aqc-hero { padding:34px 0 38px; }
 body.aq-indigo.aq-editorial-product .aqc-page h1 { font-size:36px; }
 body.aq-indigo.aq-editorial-product .aqc-page h2 { font-size:26px; }
 body.aq-indigo.aq-editorial-product .aqc-page .aqc-hero-title { font-size:19px; }
 .aqc-hero-screen>a { margin-inline:12px; }
 .aqc-screen-heading { padding:13px; }
 .aqc-heading { grid-template-columns:1fr; gap:18px; }
 .aqc-steps { grid-template-columns:1fr; gap:18px; }
 .aqc-steps article { padding-left:32px; position:relative; }
 .aqc-steps article>span { position:absolute; left:0; top:3px; }
 body.aq-indigo.aq-editorial-product .aqc-page .aqc-steps h3 { font-size:18px; margin-bottom:5px; }
 .aqc-application-grid,.aqc-video-grid { grid-template-columns:1fr; }
 .aqc-application-grid summary { min-height:0!important; }
 .aqc-page .aqc-disclosure>summary { gap:13px; padding:18px 16px; }
 .aqc-page .aqc-disclosure>summary>.aqc-topic-icon { width:34px; height:34px; }
 .aqc-topic-icon svg { width:21px; height:21px; }
 .aqc-topic-label strong { font-size:15px; }
 .aqc-topic-label small { font-size:13px; }
 .aqc-disclosure-body { padding:20px 16px; }
 .aqc-output .aqc-copy ul { columns:1; }
 .aqc-tabs { padding:7px; gap:3px; }
 .aqc-tabs button { padding:10px 5px; font-size:11px; min-height:52px; line-height:1.5; }
 .aqc-panel { padding:18px 14px; }
 .aqc-panel h3 { font-size:20px!important; }
 .aqc-release-list { padding:5px 16px 12px; }
 .aqc-feature-summary { font-size:13px; }
 .aqc-release-item>summary { gap:12px; }
 .aqc-release-item>.aqc-copy { padding-left:0; }
 .aqc-demo { display:block; }
 .aqc-demo .aq3-button { margin-top:20px; }
 .aqc-logos { flex-wrap:wrap; gap:24px; }
 .aqc-logos a { max-width:130px; }
 .aqc-logos img { height:48px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } }

/* Shared sequential result links; no result view is hidden. */
.aqc-result-links a { display:flex; align-items:center; justify-content:center; gap:12px; min-height:46px; border-radius:9px; color:#655781; padding:10px 12px; font:600 13px/1.5 Manrope,sans-serif; text-decoration:none; }
.aqc-result-links a:hover,.aqc-result-links a:focus-visible { background:#e5def7; color:#5145cd; }
.aq-product-liq .aqc-result-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
.aqc-gallery-expanded>.aqc-panel+.aqc-panel { border-top:1px solid #e3dced; }
.aqc-gallery-expanded>.aqc-panel { display:block; }
body.aq-indigo.aq-editorial-product .aqc-hero-lead p { font-size:16px; }
.aqc-copy h3 { font-size:19px!important; margin:24px 0 14px!important; }
.aqc-copy li>p { margin-bottom:10px!important; }
.aqe-intro { max-width:1000px; }
/* AlgoSlope retains its reviewed template, with all galleries visible sequentially. */
.aq-editorial-product .aqs-gallery-panel+.aqs-gallery-panel { border-top:1px solid #e3dced; }
.aqe-slope-view-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.aqe-slope-view-links a { display:flex; align-items:center; justify-content:center; gap:8px; color:#655781; font:600 12px/1.6 Manrope,sans-serif; text-decoration:none; padding:12px 10px; min-height:46px; border-radius:8px; }
.aqe-slope-view-links a:hover,.aqe-slope-view-links a:focus-visible { color:#5145cd; background:#e5def7; }
.aqs-light-gallery .aqe-slope-view-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:767px) {
 .aqc-result-links a { min-height:52px; padding:10px 5px; font-size:11px; line-height:1.5; gap:4px; }
 .aqe-slope-view-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .aqe-slope-view-links a { font-size:11px; padding:10px 6px; }
}

.aqe-result-copy { margin-top:24px; }

/* AlgoSpectrum: visible method and references, matching the open product hierarchy. */
.aqe-zs9-method { margin-top:28px; padding:30px; border:1px solid #e2ddeb; border-radius:16px; background:#fff; color:#29263e; }
.aqe-zs9-method-heading { max-width:900px; }
.aqe-zs9-cases { margin:26px 0; padding:0; list-style:none; counter-reset:zs9; }
.aqe-zs9-cases>li { counter-increment:zs9; position:relative; padding:22px 0 22px 48px; border-top:1px solid #e7e1ef; }
.aqe-zs9-cases>li::before { content:counter(zs9,decimal-leading-zero); position:absolute; left:0; top:24px; color:#5145cd; font:600 13px/1.8 Manrope,sans-serif; }
body.aq-indigo.aq-editorial-product .aqe-zs9-method h4 { font:600 18px/1.5 Manrope,sans-serif; color:#393247; margin:0 0 12px; letter-spacing:-.02em; }
.aqe-zs9-equation { margin:18px 0; padding:20px 24px; border:1px solid #e0d8f2; border-radius:10px; background:#f6f3fc; }
.aqe-zs9-math { display:block; color:#3f35a4; font:500 clamp(19px,3vw,26px)/1.8 Manrope,sans-serif; margin-bottom:10px; }
.aqe-zs9-math sub { font-size:.65em; }
body.aq-indigo.aq-editorial-product .aqe-zs9-equation p { font-size:14px; margin:0; }
.aqe-zs9-context { padding-top:20px; border-top:1px solid #e7e1ef; }
.aqe-zs9-references { margin-top:24px; padding-top:24px; border-top:1px solid #e7e1ef; }
.aqe-zs9-references ul { margin:0; padding-left:20px; }
body.aq-indigo.aq-editorial-product .aqe-zs9-references li { font-size:13px; margin-bottom:12px; overflow-wrap:anywhere; }
body.aq-indigo.aq-editorial-product .aqe-zs9-method a { color:#5145cd; text-decoration:underline; text-underline-offset:3px; }
body.aq-indigo.aq-editorial-product .aqe-zs9-method a:hover { color:#342685; }
@media(max-width:767px) {
 .aqe-zs9-method { padding:22px 16px; margin-top:20px; }
 .aqe-zs9-cases>li { padding-left:32px; }
 .aqe-zs9-equation { padding:16px 12px; }
}
