/* PERSPECTIVA AR — the home design system extended to reading, tools and services.
   Loaded on inner pages only. Product widgets retain their own interaction geometry. */
body:not(.home) {
    --page-width:1320px; --page-gutter:56px; --page-action:#6d36d9;
    --page-action-hover:#5828b8; --page-radius:12px;
    background:var(--bi-paper); color:var(--bi-ink);
    --bi-accent:#6d36d9; --bi-accent-hover:#5828b8;
}
html[data-bim-theme="dark"] body:not(.home) { --bi-accent:#bc98ff; --bi-accent-hover:#dac7ff; }
html body:not(.home) .header-premium>.container {
    width:min(var(--page-width),calc(100% - var(--page-gutter)*2)); max-width:none; padding-inline:0;
}
html body :is(#bi-guide,#bi-support,#bim-project-fact,.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short,#bim-license) {
    --ink:var(--bi-ink); --muted:var(--bi-muted); --line:var(--bi-line);
    --teal:var(--bi-accent); --blue:var(--bi-accent); --brand:var(--page-action);
    font-family:var(--bi-font); color:var(--bi-ink); background:var(--bi-paper);
    font-size:17px; line-height:1.7;
}
html body :is(#bi-guide,#bi-support,#bim-project-fact,#bim-license) :is(h1,h2,h3),
html body :is(.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short) :is(h1,h2,h3) {
    color:var(--bi-ink); font-weight:600; letter-spacing:-.025em; text-wrap:balance;
}
html body :is(#bi-guide,#bi-support,#bim-project-fact,#bim-license) h1,
html body :is(.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short) h1 {
    margin:0 0 28px; font-size:clamp(42px,4.6vw,66px); line-height:1.08; letter-spacing:-.035em; font-weight:600;
}
html body :is(#bi-guide h1,#bi-support h1,#bim-project-fact h1,.bil h1,.bi-terms-short h1) :is(em,span) {
    color:inherit; font-style:normal; background:none; -webkit-text-fill-color:currentColor;
}
html body :is(#bi-guide,#bi-support,#bim-project-fact,.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short,#bim-license) :is(a,button,summary,input,select,textarea):focus-visible {
    outline:3px solid var(--bi-focus); outline-offset:4px;
}
html body :is(#bi-guide,#bi-support,#bim-project-fact,.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short,#bim-license) a {
    text-underline-offset:.22em; text-decoration-thickness:1px;
}
html body :is(.bg-kicker,.bs-kicker,.pf-kicker,.pd-dev-kicker,.bim-policy-kicker) { display:none; }
html body :is(.bg-breadcrumb,.bs-breadcrumb,.bm-crumb,.pd-dev-breadcrumb,.pf-breadcrumb) {
    font-size:12px; line-height:1.6; color:var(--bi-muted); gap:12px; margin-bottom:44px;
}
html body :is(#bi-guide .bg-primary,.bim-modeling .bm-button,#bi-support .wpcf7 input[type=submit],#bi-support .wpcf7 button[type=submit],.bi-terms-short .btn),
html body #bim-license #bil-pay:not(:disabled),html body .converter-page :is(#btnConvert,.btn-download):not(:disabled) {
    background:var(--page-action)!important; color:#fff!important; border:1px solid transparent;
    border-radius:8px!important; box-shadow:none!important; min-height:48px; padding:14px 22px;
    font:600 15px/1.4 var(--bi-font); letter-spacing:-.015em; text-decoration:none; transform:none;
    transition:background-color .18s,border-color .18s;
}
html body :is(#bi-guide .bg-secondary,.bim-modeling .bm-actions>a:not(.bm-button)) {
    color:var(--bi-accent); font-size:15px; font-weight:550; background:none; border:0; padding:12px 0;
}

/* Guides and articles: a stable navigation rail beside a readable text column. */
html body #bi-guide { padding:112px 0 96px; }
html body #bi-guide .bg-wrap { width:min(var(--page-width),calc(100% - var(--page-gutter)*2)); max-width:none; padding-inline:0; margin-inline:auto; }
html body #bi-guide .bg-breadcrumb { margin-bottom:40px; }
html body #bi-guide .bg-hero { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:72px; padding-block:0 72px; align-items:start; }
html body #bi-guide .bg-lead { font-size:18px; line-height:1.75; color:var(--bi-muted); max-width:62ch; margin:24px 0 0; }
html body #bi-guide .bg-actions { gap:14px 24px; margin-top:28px; }
html body #bi-guide .bg-start { background:var(--bi-night,#171a20); border:0; border-radius:12px; padding:36px; box-shadow:none; }
html body #bi-guide .bg-start h2 { color:#f3f5f8; font-size:28px; font-weight:550; line-height:1.2; letter-spacing:-.025em; margin:0 0 28px; }
html body #bi-guide .bg-start :is(p,li) { color:#f3f5f8; font-size:15px; line-height:1.75; }
html body #bi-guide .bg-start :is(small,.bg-metrics span,.bg-stats span,.ifc-flow span) { color:#c4c9d3; }
html body #bi-guide .bg-start :is(strong,b) { font-weight:600; }
html body #bi-guide .bg-start a { color:#c6a6ff; }
html body #bi-guide .bg-body { display:grid; grid-template-columns:210px minmax(0,1fr); gap:64px; align-items:start; }
html body #bi-guide .bg-article { min-width:0; max-width:880px; }
html body #bi-guide .bg-article>section { padding-block:48px 52px; border-top:1px solid var(--bi-line); }
html body #bi-guide .bg-article h2 { font-size:clamp(28px,2.8vw,40px); line-height:1.18; margin:0 0 24px; letter-spacing:-.03em; }
html body #bi-guide .bg-article h3 { font-size:22px; font-weight:550; line-height:1.3; margin:32px 0 14px; }
html body #bi-guide .bg-article :is(p,li) { font-size:17px; line-height:1.75; color:var(--bi-muted); }
html body #bi-guide .bg-article>section>p { max-width:75ch; margin-block:16px; }
html body #bi-guide .bg-article :is(strong,b) { color:var(--bi-ink); font-weight:600; }
html body #bi-guide .bg-toc { padding-top:14px; }
html body #bi-guide :is(.bg-toc>p,.practice-toc-title) { color:var(--bi-muted); font-size:12px; line-height:1.5; font-weight:550; letter-spacing:0; text-transform:none; margin:0 0 18px; }
html body #bi-guide .bg-toc-links { gap:4px; }
html body #bi-guide .bg-toc-links a { border-radius:6px; padding:10px 12px; font-size:13px; line-height:1.5; color:var(--bi-muted); background:none; }
html body #bi-guide .bg-toc-links a[aria-current=location] { color:var(--bi-accent); background:var(--bi-accent-soft); font-weight:600; }
html body #bi-guide .bg-toc-links a::before { display:none; }
html body #bi-guide .bg-cards { gap:32px; margin-block:32px; }
html body #bi-guide .bg-cards article { border:0; border-top:1px solid var(--bi-line); border-radius:0; padding:24px 0 0; background:none; box-shadow:none; }
html body #bi-guide .bg-cards h3 { margin-top:0; font-size:21px; }
html body #bi-guide .bg-cards p { font-size:15px; }
html body #bi-guide .bg-note { padding:22px 24px; border:1px solid var(--bi-line); border-radius:12px; background:var(--bi-surface); color:var(--bi-ink); margin-block:28px; }
html body #bi-guide .bg-note p { margin:0; font-size:15px; }
html body #bi-guide .bg-axes>div { background:var(--bi-surface); border:1px solid var(--bi-line); border-radius:8px; box-shadow:none; }
html body #bi-guide .bg-settings>div { gap:24px; padding-block:22px; }
html body #bi-guide .bg-settings p { font-size:15px; }
html body #bi-guide .bg-real-screens { gap:32px; margin-block:36px; }
html body #bi-guide :is(.bg-real-screens figcaption,.practice-figure figcaption) { font-size:13px; line-height:1.6; color:var(--bi-muted); }
html body #bi-guide .bg-article summary { color:var(--bi-ink); font-weight:550; font-size:17px; line-height:1.5; padding-block:22px; }
html body #bi-guide .practice-header { padding-block:0 52px; }
html body #bi-guide .practice-header h1 { max-width:24ch; }
html body #bi-guide .practice-summary { max-width:70ch; font-size:18px; line-height:1.75; padding-top:28px; margin-top:28px; color:var(--bi-ink); }
html body #bi-guide :is(.practice-byline,.ifc-byline) { font-size:12px; color:var(--bi-muted); margin-top:24px; }
html body #bi-guide .ifc-flow>div { border:0; border-top:1px solid #3b424c; border-radius:0; padding:20px 0; background:none; }
html body #bi-guide .ifc-flow strong { color:#f3f5f8; font-size:22px; font-weight:550; }
html body #bi-guide .ifc-flow>.ifc-arrow { border:0; padding:0; color:#bc98ff; }
html body #bi-guide :is(.ifc-table-wrap,.practice-table) { border:1px solid var(--bi-line); border-radius:12px; background:var(--bi-surface); overflow-x:auto; scrollbar-color:var(--bi-line) var(--bi-surface); }
html body #bi-guide :is(th,td,caption) { background:var(--bi-surface); border-color:var(--bi-line); color:var(--bi-ink); font-size:15px; line-height:1.65; padding:18px 20px; }
html body #bi-guide :is(thead th,caption) { background:var(--bi-accent-soft); color:var(--bi-ink); }
html body #bi-guide caption { font-size:13px; color:var(--bi-muted); }
html body #bi-guide tbody th { font-weight:600; }
html[data-bim-theme] body #bi-guide.ifc-formats .ifc-table-wrap :is(th,td,caption) { background:var(--bi-surface); color:var(--bi-ink); border-color:var(--bi-line); }
html[data-bim-theme] body #bi-guide.ifc-formats .ifc-table-wrap :is(thead th,caption) { background:var(--bi-accent-soft); }
html[data-bim-theme] body #bi-guide.ifc-formats .ifc-table-wrap caption { color:var(--bi-muted); }

/* The converter exposes the upload task immediately on a wide screen. */
html body .converter-page { padding:136px var(--page-gutter) 96px; }
html body .converter-page .converter-wrapper { max-width:var(--page-width); display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:40px 72px; align-items:start; }
html body .converter-page .converter-header { text-align:left; max-width:none; margin:0; }
html body .converter-page h1 { font-size:64px; margin:0 0 28px; }
html body .converter-page h1>span[style] { font-size:20px!important; font-weight:550!important; margin-bottom:20px!important; color:var(--bi-muted); }
html body .converter-page .subtitle { margin:0; max-width:60ch; font-size:17px; line-height:1.75; }
html body .converter-page .converter-badge { display:block; margin-top:20px; font-size:14px; font-weight:550; color:var(--bi-accent); }
html body .converter-page .converter-card { grid-column:2; grid-row:1 / span 2; border:1px solid var(--bi-line); border-radius:12px; background:var(--bi-surface); box-shadow:none; }
html body .converter-page .converter-card-inner { padding:32px; }
html body .converter-page .drop-zone { background:var(--bi-paper); border:1px dashed var(--bi-accent); border-radius:8px; min-height:240px; padding:32px 20px; }
html body .converter-page .drop-icon { background:none; color:var(--bi-accent); box-shadow:none; margin-bottom:18px; }
html body .converter-page .drop-zone h3 { font-size:22px; font-weight:550; }
html body .converter-page :is(.drop-hint,.converter-trust-item span) { color:var(--bi-muted); }
html body .converter-page .converter-app-info { grid-column:1; margin-top:0; }
html body .converter-page .converter-app-info h2 { font-size:24px; line-height:1.3; margin:24px 0 12px; }
html body .converter-page .converter-footer { grid-column:1/-1; justify-content:flex-start; margin-top:0; border-top:1px solid var(--bi-line); padding-top:24px; }
html body .converter-page :is(.converter-app-info a,.converter-footer a,.btn-reset) { color:var(--bi-accent); }

/* Service, details and support share the same outer grid as the home page. */
html body :is(.bim-modeling,.pd-dev) { width:min(var(--page-width),calc(100% - var(--page-gutter)*2)); max-width:none; padding:112px 0 96px; margin-inline:auto; }
html body .bim-modeling .bm-hero { gap:72px; align-items:start; }
html body .bim-modeling .bm-lead { font-size:18px; line-height:1.75; }
html body .bim-modeling .bm-note { font-size:13px; line-height:1.7; }
html body .bim-modeling .bm-figure { padding-top:16px; }
html body .bim-modeling .bm-section { margin-top:80px; padding-top:48px; }
html body .bim-modeling h2 { font-size:clamp(30px,3.1vw,44px); line-height:1.15; letter-spacing:-.03em; margin:0 0 24px; }
html body .bim-modeling h3 { font-size:22px; line-height:1.3; font-weight:550; }
html body .bim-modeling .bm-list li { font-size:16px; line-height:1.75; padding-block:22px; }
html body .bim-modeling .bm-list li:first-child { padding-top:0; }
html body .bim-modeling .bm-list strong { font-size:17px; margin-bottom:8px; }
html body .bim-modeling .bm-path { gap:32px; }
html body .bim-modeling .bm-path li { border-top:1px solid var(--bi-line); padding-top:24px; }
html body .bim-modeling .bm-path p { font-size:15px; line-height:1.7; }
html body .bim-modeling .bm-form { padding:32px; border-radius:12px; background:var(--bi-surface); border:1px solid var(--bi-line); }
html body .bim-modeling .bm-form :is(input:not([type=checkbox]):not([type=hidden]),textarea,select) { border:1px solid var(--bi-line); border-radius:8px; background:var(--bi-paper); color:var(--bi-ink); padding:12px 14px; font:400 16px/1.5 var(--bi-font); }
html body .bim-modeling .bm-prices { font-variant-numeric:tabular-nums; }
html body .bim-modeling .bm-prices td { padding-block:26px; }
html body #bi-support { padding:112px var(--page-gutter) 96px; }
html body #bi-support .bs-wrap { max-width:var(--page-width); }
html body #bi-support .bs-intro { gap:72px; margin-bottom:56px; }
html body #bi-support .bs-lead { font-size:18px; line-height:1.75; }
html body #bi-support .bs-contact { border:1px solid var(--bi-line); border-radius:12px; background:var(--bi-surface); padding:32px; }
html body #bi-support .bs-icon { background:none; color:var(--bi-accent); border-radius:0; width:32px; height:32px; }
html body #bi-support .bs-shortcuts { gap:32px; margin-bottom:64px; }
html body #bi-support .bs-shortcut { background:none; border:0; border-top:1px solid var(--bi-line); border-radius:0; padding:28px 0; box-shadow:none; }
html body #bi-support .bs-shortcut h2 { font-weight:550; margin-bottom:12px; }
html body #bi-support .bs-shortcut p { font-size:15px; line-height:1.7; }
html body #bi-support .bs-body { gap:72px; }
html body #bi-support .bs-body h2 { font-size:32px; font-weight:550; line-height:1.2; }
html body #bi-support .bs-form-card { padding:32px; border:1px solid var(--bi-line); border-radius:12px; background:var(--bi-surface); box-shadow:none; }
html body #bi-support .wpcf7 :is(input:not([type=checkbox]):not([type=submit]):not([type=file]):not([type=hidden]),textarea,select) { font:400 16px/1.5 var(--bi-font); background:var(--bi-paper); color:var(--bi-ink); border-color:var(--bi-line); border-radius:8px; }
html body #bi-support .bs-faq { margin-top:72px; }
html body .pd-dev .pd-dev-heading { padding-bottom:40px; margin-bottom:0; }
html body .pd-dev .pd-dev-heading h1 { margin-bottom:0; }
html body .pd-dev .pd-dev-owner { padding-block:32px; }
html body .pd-dev .pd-dev-owner h2 { font-size:26px; font-weight:550; }
html body .pd-dev .pd-dev-layout { gap:64px; padding-top:40px; }
html body .pd-dev .pd-dev-section h2 { font-size:23px; font-weight:550; }
html body .pd-dev :is(.pd-dev-data,.pd-dev-contact dl) { font-size:15px; font-variant-numeric:tabular-nums; }
html body .pd-dev .pd-dev-data>div { padding-block:20px; }
html body .pd-dev .pd-dev-contact { border-radius:12px; padding:32px; }
html body .pd-dev .pd-dev-copy { border-radius:8px; padding:13px 20px; font-size:14px; }

/* Legal text is an editorial column, with the same links and tables in both themes. */
html body :is(.bim-policy,.bi-terms-short) { width:min(980px,calc(100% - var(--page-gutter)*2)); max-width:none; padding:128px 0 96px; margin-inline:auto; text-align:left; }
html body :is(.bim-policy,.bi-terms-short) h1 { font-size:clamp(38px,4.1vw,58px); max-width:25ch; margin-bottom:28px; }
html body .bim-policy :is(p,ul,ol) { font-size:17px; line-height:1.8; color:var(--bi-ink); max-width:75ch; margin-block:18px; }
html body .bim-policy h2 { font-size:28px; line-height:1.3; font-weight:550; margin:44px 0 16px; }
html body .bim-policy h3 { font-size:21px; line-height:1.4; font-weight:550; margin:28px 0 12px; }
html body .bim-policy a { color:var(--bi-accent); }
html body .bim-policy time { display:block; color:var(--bi-muted); font-size:13px; margin-bottom:24px; }
html body .bim-policy nav { gap:12px 28px; padding-block:24px; margin-block:32px; border-color:var(--bi-line); font-size:15px; }
html body .bim-policy :is(.bim-legal-contacts,.bim-policy-note) { background:var(--bi-surface); border:1px solid var(--bi-line); border-radius:12px; padding:24px; margin-block:28px; color:var(--bi-ink); }
html body .bim-policy .bim-cookie-table-wrap { border:1px solid var(--bi-line); border-radius:12px; overflow-x:auto; }
html body .bim-policy table { width:100%; border-collapse:collapse; background:var(--bi-surface); }
html body .bim-policy :is(th,td) { padding:18px 20px; font-size:15px; line-height:1.65; color:var(--bi-ink); background:var(--bi-surface); border-color:var(--bi-line); }
html body .bim-policy th { background:var(--bi-accent-soft); font-weight:600; }
/* Terms summary: reading rows, not interactive cards. */
html body .bi-terms-short { --bi-muted:#67717d; }
html[data-bim-theme="dark"] body .bi-terms-short { --bi-muted:#b3bdca; }
html body .bi-terms-short .subtitle { margin:0 0 40px; max-width:65ch; font-size:18px; line-height:1.75; color:var(--bi-muted); }
html body .bi-terms-short .rules-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 40px; margin:0 0 24px; }
html body .bi-terms-short .rule,
html[data-bim-theme="dark"] body .bi-terms-short .rule {
    border:0; border-top:1px solid var(--bi-line); border-radius:0; background:transparent;
    box-shadow:none; padding:28px 24px; margin:0; transform:none; transition:none;
}
html body .bi-terms-short .rule-heading { display:flex; align-items:flex-start; gap:14px; margin:0 0 14px; }
html body .bi-terms-short .rule h2 { margin:0; font-size:23px; line-height:1.35; font-weight:550; text-wrap:initial; }
html body .bi-terms-short .rule p { margin:0; font-size:16px; line-height:1.75; color:var(--bi-muted); }
html body .bi-terms-short .icon { display:flex; flex:0 0 26px; color:var(--bi-accent); background:none; box-shadow:none; padding:2px 0 0; }
html body .bi-terms-short .icon svg { width:26px; height:26px; stroke-width:1.8; }
html body .bi-terms-short a { color:var(--bi-accent); text-decoration:underline; text-underline-offset:.22em; text-decoration-thickness:1px; }
html body .bi-terms-short .full-link,
html[data-bim-theme="dark"] body .bi-terms-short .full-link {
    margin:0; border:0; border-top:1px solid var(--bi-line); padding:24px; border-radius:0; background:transparent; box-shadow:none; text-align:left;
}
html body .bi-terms-short .terms-agreement-link {
    display:inline-flex; align-items:center; gap:20px; min-height:48px; max-width:100%;
    padding:8px 0; font-size:16px; line-height:1.55; font-weight:550; text-decoration:none;
}
html body .bi-terms-short .terms-agreement-link .arrow { display:flex; flex:0 0 20px; }
html body .bi-terms-short .terms-agreement-link svg { width:20px; height:20px; }
@media(hover:hover) and (pointer:fine) {
    html body .bi-terms-short a:hover { color:var(--bi-accent-hover); }
    html body .bi-terms-short .terms-agreement-link:hover>span:first-child { text-decoration:underline; text-underline-offset:.22em; }
}
@media(max-width:760px) {
    html body .bi-terms-short .rules-grid { grid-template-columns:1fr; margin-bottom:8px; }
    html body .bi-terms-short .rule,
    html[data-bim-theme="dark"] body .bi-terms-short .rule { padding:24px 20px; }
    html body .bi-terms-short .rule-heading { gap:12px; margin-bottom:12px; }
    html body .bi-terms-short .rule h2 { font-size:20px; }
    html body .bi-terms-short .icon { flex-basis:24px; padding-top:1px; }
    html body .bi-terms-short .icon svg { width:24px; height:24px; }
    html body .bi-terms-short .full-link,
    html[data-bim-theme="dark"] body .bi-terms-short .full-link { padding:20px; }
}

/* Interactive comparison: retain the canvas, hotspots, controls and slide geometry. */
html body #bim-project-fact {
    --pf-bg:var(--bi-paper); --pf-card:var(--bi-surface); --pf-ink:var(--bi-ink); --pf-muted:var(--bi-muted);
    --pf-line:var(--bi-line); --pf-soft:var(--bi-accent-soft); --pf-blue:var(--bi-accent); --pf-blue-soft:var(--bi-accent-soft);
    padding-block:112px 96px;
}
html body #bim-project-fact .pf-wrap { width:min(var(--page-width),calc(100% - var(--page-gutter)*2)); max-width:none; padding-inline:0; }
html body #bim-project-fact .pf-intro { gap:64px; padding-block:0 44px; align-items:start; }
html body #bim-project-fact .pf-intro h1 { font-size:clamp(42px,4.4vw,64px); }
html body #bim-project-fact .pf-intro p { font-size:18px; line-height:1.75; }
html body #bim-project-fact :is(.pf-guide-heading,.pf-editorial) h2 { font-size:clamp(30px,3.1vw,44px); line-height:1.15; font-weight:600; }
html body #bim-project-fact .pf-toc { border-color:var(--bi-line); padding-block:18px; margin-bottom:32px; }

/* Licensing: visual treatment only, including visible selection and disabled states. */
html body .bi-license-page { background:var(--bi-paper); }
html body #bim-license { width:min(var(--page-width),calc(100% - var(--page-gutter)*2)); max-width:none; padding:128px 0 96px; margin:auto; }
html body #bim-license>h1 { max-width:22ch; }
html body #bim-license .bil-lead { font-size:18px; line-height:1.75; max-width:64ch; margin:24px 0 32px; }
html body #bim-license .bil-free { border:1px solid var(--bi-line); background:var(--bi-surface); border-radius:12px; padding:24px; color:var(--bi-muted); margin-inline:0; }
html body #bim-license .bil-free strong { color:var(--bi-ink); }
html body #bim-license .bil-plans { gap:20px; }
html body #bim-license .bil-plan-content { border:1px solid var(--bi-line); border-radius:12px; box-shadow:none; background:var(--bi-surface); padding:28px; }
html body #bim-license .bil-plan input:checked+.bil-plan-content { border-color:var(--bi-accent); background:var(--bi-accent-soft); box-shadow:none; }
html body #bim-license .bil-plan-content>strong { font-size:20px; line-height:1.3; font-weight:550; color:var(--bi-ink); }
html body #bim-license .bil-price { color:var(--bi-ink); font-size:36px; letter-spacing:-.03em; font-weight:600; font-variant-numeric:tabular-nums; }
html body #bim-license .bil-details { border:1px solid var(--bi-line); background:var(--bi-surface); border-radius:12px; padding:32px; margin-top:40px; }
html body #bim-license .bil-details h2 { font-size:28px; font-weight:550; }
html body #bim-license #bil-email { background:var(--bi-paper); color:var(--bi-ink); border:1px solid var(--bi-line); border-radius:8px; padding:13px 16px; font:400 16px/1.5 var(--bi-font); }

@media(hover:hover) and (pointer:fine) {
    html body :is(#bi-guide .bg-primary,.bim-modeling .bm-button,#bi-support .wpcf7 input[type=submit],.bi-terms-short .btn):hover,
    html body #bim-license #bil-pay:hover:not(:disabled),html body .converter-page :is(#btnConvert,.btn-download):hover:not(:disabled) { background:var(--page-action-hover)!important; color:#fff!important; }
    html body #bi-guide .bg-toc-links a:hover { background:var(--bi-accent-soft); color:var(--bi-accent); }
    html body #bi-support .bs-shortcut:hover { border-color:var(--bi-accent); background:none; text-decoration:none; }
}
@media(max-width:1099px) {
    body:not(.home) { --page-gutter:32px; }
    html body #bi-guide .bg-hero { gap:40px; }
    html body #bi-guide .bg-start { padding:28px; }
    html body #bi-guide .bg-body { grid-template-columns:180px minmax(0,1fr); gap:40px; }
    html body .converter-page .converter-wrapper { display:block; max-width:760px; }
    html body .converter-page .converter-header { margin-bottom:36px; }
    html body .converter-page .converter-app-info { margin-top:40px; }
    html body .converter-page .converter-footer { margin-top:32px; }
    html body .bim-modeling :is(.bm-hero,.bm-split,.bm-form-section),html body #bi-support :is(.bs-intro,.bs-body) { gap:40px; }
    html body .pd-dev .pd-dev-layout { gap:32px; }
    html body #bim-project-fact .pf-intro { gap:40px; }
    html body #bim-license .bil-plan-content { padding:24px; }
}
@media(max-width:760px) {
    body:not(.home) { --page-gutter:20px; }
    html body :is(#bi-guide,#bi-support,#bim-project-fact,.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short,#bim-license) { font-size:15px; padding-top:96px; padding-bottom:56px; }
    html body :is(#bi-guide,#bi-support,#bim-project-fact,#bim-license) h1,
    html body :is(.converter-page,.bim-modeling,.pd-dev,.bim-policy,.bi-terms-short) h1 { font-size:clamp(32px,8.7vw,44px); line-height:1.12; letter-spacing:-.03em; margin-bottom:24px; }
    html body :is(.bg-breadcrumb,.bs-breadcrumb,.bm-crumb,.pd-dev-breadcrumb,.pf-breadcrumb) { margin-bottom:28px; font-size:11px; }
    html body #bi-guide .bg-hero { grid-template-columns:1fr; gap:36px; padding-block:0 40px; }
    html body #bi-guide .bg-breadcrumb { margin-bottom:28px; }
    html body #bi-guide .bg-lead { font-size:16px; line-height:1.75; margin-top:20px; }
    html body #bi-guide .bg-actions { gap:8px 20px; margin-top:24px; }
    html body #bi-guide .bg-start { border-radius:12px; padding:26px; margin:0; }
    html body #bi-guide .bg-start h2 { font-size:25px; margin-bottom:24px; }
    html body #bi-guide .bg-start li { font-size:14px; }
    html body #bi-guide .bg-body { display:block; }
    html body #bi-guide .bg-article>section { padding-block:32px 36px; }
    html body #bi-guide .bg-article h2 { font-size:28px; line-height:1.2; margin-bottom:22px; }
    html body #bi-guide .bg-article h3 { font-size:21px; }
    html body #bi-guide .bg-article :is(p,li) { font-size:15px; line-height:1.75; }
    html body #bi-guide .bg-toc--interactive { position:sticky; top:var(--bg-toc-top,80px); z-index:40; padding:0; background:var(--bi-paper); border-radius:8px; margin-bottom:20px; }
    html body #bi-guide .bg-toc-toggle { display:flex; width:100%; align-items:center; justify-content:space-between; background:var(--bi-surface); color:var(--bi-ink); border:1px solid var(--bi-line); border-radius:8px; padding:12px 14px; min-height:54px; box-shadow:none; }
    html body #bi-guide .bg-toc-toggle :is(small,strong) { color:var(--bi-ink); }
    html body #bi-guide .bg-toc-toggle svg { stroke:var(--bi-accent); }
    html body #bi-guide .bg-toc--interactive .bg-toc-links { display:none; position:absolute; top:calc(100% + 7px); left:0; right:0; max-height:min(62vh,480px); overflow:auto; background:var(--bi-surface); border:1px solid var(--bi-line); border-radius:8px; padding:10px; box-shadow:none; }
    html body #bi-guide .bg-toc--interactive.is-open .bg-toc-links { display:grid; }
    html body #bi-guide .bg-toc--interactive> :is(strong,p,h2) { display:none; }
    html body #bi-guide .bg-toc-links a { font-size:14px; padding:12px; }
    html body #bi-guide .bg-cards { grid-template-columns:1fr; gap:24px; }
    html body #bi-guide .bg-note { padding:20px; margin-block:24px; }
    html body #bi-guide .bg-settings>div { gap:8px; padding-block:20px; }
    html body #bi-guide .bg-real-screens { gap:20px; }
    html body #bi-guide .bg-opacity-comparison { gap:12px; }
    html body #bi-guide .practice-header { padding-bottom:36px; }
    html body #bi-guide .practice-summary { font-size:16px; }
    html body #bi-guide :is(th,td,caption) { padding:14px 16px; font-size:14px; }
    html body .converter-page .converter-header { margin-bottom:28px; }
    html body .converter-page h1 { font-size:46px; }
    html body .converter-page h1>span[style] { font-size:17px!important; margin-bottom:12px!important; }
    html body .converter-page .subtitle { font-size:15px; }
    html body .converter-page .converter-badge { font-size:13px; margin-top:16px; }
    html body .converter-page .converter-card { background:none; border:0; border-radius:0; }
    html body .converter-page .converter-card-inner { padding:0; }
    html body .converter-page .drop-zone { min-height:210px; padding:24px 18px; background:var(--bi-surface); }
    html body .converter-page .converter-app-info { margin-top:32px; }
    html body .bim-modeling :is(.bm-hero,.bm-split,.bm-form-section),html body #bi-support :is(.bs-intro,.bs-body) { grid-template-columns:1fr; gap:32px; }
    html body .bim-modeling .bm-lead,html body #bi-support .bs-lead { font-size:16px; }
    html body .bim-modeling .bm-section { margin-top:48px; padding-top:32px; }
    html body .bim-modeling h2 { font-size:30px; }
    html body .bim-modeling .bm-list li { font-size:15px; padding-block:20px; }
    html body .bim-modeling .bm-list strong { font-size:16px; }
    html body .bim-modeling .bm-form { padding:22px; }
    html body .bim-modeling .bm-prices td { padding-block:6px; }
    html body .bim-modeling .bm-path { gap:28px; }
    html body #bi-support :is(.bs-contact,.bs-form-card) { padding:24px; }
    html body #bi-support .bs-shortcuts { gap:0; margin-bottom:36px; }
    html body #bi-support .bs-shortcut { padding-block:24px; }
    html body #bi-support .bs-body h2 { font-size:28px; }
    html body .pd-dev .pd-dev-heading { padding-bottom:28px; }
    html body .pd-dev .pd-dev-owner h2 { font-size:23px; }
    html body .pd-dev .pd-dev-layout { padding-top:32px; }
    html body .pd-dev .pd-dev-contact { padding:24px; }
    html body :is(.bim-policy,.bi-terms-short) { width:calc(100% - var(--page-gutter)*2); }
    html body .bim-policy :is(p,ul,ol) { font-size:15px; line-height:1.8; }
    html body .bim-policy h2 { font-size:25px; margin-top:36px; }
    html body .bim-policy nav { gap:12px 20px; font-size:14px; padding-block:20px; }
    html body .bim-policy :is(.bim-legal-contacts,.bim-policy-note) { padding:20px; }
    html body .bim-policy :is(th,td) { padding:14px; font-size:14px; }
    html body .bi-terms-short .subtitle { font-size:16px; }
    html body #bim-project-fact .pf-intro { gap:20px; padding-bottom:28px; }
    html body #bim-project-fact .pf-intro p { font-size:16px; }
    html body #bim-license .bil-lead { font-size:16px; }
    html body #bim-license .bil-plans { gap:16px; }
    html body #bim-license :is(.bil-details,.bil-free) { padding:24px; }
}

/* Tools: an unavailable operation must look unavailable. */
html body .converter-page #btnConvert:disabled,
html body #bim-license #bil-pay:disabled {
    background:var(--bi-line)!important; color:var(--bi-muted)!important;
    border:1px solid var(--bi-line)!important; box-shadow:none!important;
    cursor:not-allowed; opacity:1;
}
html body .converter-page .drop-zone:focus-visible {outline:3px solid var(--bi-focus);outline-offset:4px;}

/* Keep a selected annual tariff next to the email/payment step. */
html body .bil-selected-summary {
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;
    border-bottom:1px solid var(--bi-line);padding:0 0 22px;margin:0 0 26px;
}
html body .bil-selected-summary>div {display:grid;gap:6px;}
html body .bil-selected-summary strong {font-size:17px;font-weight:600;color:var(--bi-ink);}
html body .bil-selected-summary span {font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em;}
html body .bil-selected-summary a {display:inline-flex;min-height:44px;align-items:center;color:var(--bi-accent);font-size:14px;}
html body #bi-guide .bg-article :is(p,li) {max-width:72ch;}
@media(max-width:760px) {
    html body #bim-license .bil-plans {gap:12px;grid-auto-rows:auto;}
    html body #bim-license .bil-plan-content {padding:18px 20px;min-height:0;gap:10px;}
    html body #bim-license .bil-plan-content>strong {font-size:17px;}
    html body #bim-license .bil-price {font-size:28px;}
    html body #bim-license .bil-plan input:not(:checked)+.bil-plan-content>span:not(.bil-price):not(.bil-price-offer) {display:none;}
    html body #bim-license .bil-plan input:not(:checked)+.bil-plan-content .bil-price-offer {margin-block:0;}
    html body #bim-license .bil-plan input:checked+.bil-plan-content {border-color:var(--bi-accent);}
    html body #bim-license .bil-details {margin-top:28px;}
    html body .bil-selected-summary {gap:10px;margin-bottom:24px;}
}

html body .converter-page .drop-zone .drop-hint {color:var(--bi-muted);opacity:1;}
html body .converter-page .drop-zone h2 {margin:0 0 12px;font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.02em;}

/* An anonymized plan and its partially opened model form one registered scene. */
html body .bim-modeling .bm-hero--workshop { grid-template-columns:1fr; gap:40px; }
html body .bim-modeling .bm-hero-copy { display:grid; grid-template-columns:1fr 1fr; column-gap:72px; align-items:start; }
html body .bim-modeling .bm-hero-copy h1 { grid-column:1; grid-row:1 / 4; margin-bottom:0; }
html body .bim-modeling .bm-hero-copy :is(.bm-lead,.bm-actions,.bm-note) { grid-column:2; }
html body .bim-modeling .bm-hero-copy .bm-lead { margin-top:0; }
html body .bim-modeling .bm-hero-copy .bm-note { margin-bottom:0; }
html body .bim-modeling .bm-workshop-comparison { margin:0; padding:28px 0 0; border-top:1px solid var(--bi-line); }
html body .bim-modeling .bm-workshop-labels { display:flex; justify-content:space-between; gap:24px; max-width:1120px; margin:auto; }
html body .bim-modeling .bm-workshop-label { display:flex; flex-direction:column; gap:4px; }
html body .bim-modeling .bm-workshop-label:last-child { text-align:right; }
html body .bim-modeling .bm-workshop-label>span { color:var(--bi-ink); font-size:20px; font-weight:550; letter-spacing:-.02em; }
html body .bim-modeling .bm-workshop-label small { color:var(--bi-muted); font-size:12px; letter-spacing:.02em; }
html body .bim-modeling .bm-workshop-scene { position:relative; isolation:isolate; width:100%; max-width:1120px; aspect-ratio:11 / 7; margin:12px auto 0; }
html body .bim-modeling .bm-workshop-scene img { position:absolute; inset:0; display:block; width:100%; max-width:none; height:100%; margin:0; object-fit:contain; transform-origin:50% 50%; }
html body .bim-modeling .bm-workshop-plan { z-index:1; filter:none; }
html[data-bim-theme="dark"] body .bim-modeling .bm-workshop-plan { filter:invert(1); }
html body .bim-modeling .bm-workshop-model { z-index:2; }
html body .bim-modeling .bm-workshop-scene.is-assembling img { will-change:transform; }
@media(prefers-reduced-motion:reduce) {
    html body .bim-modeling .bm-workshop-scene img { transform:none!important; will-change:auto!important; }
}
html body .bim-modeling .bm-workshop-comparison figcaption { margin:16px auto 0; max-width:1120px; font-size:13px; line-height:1.7; color:var(--bi-muted); }
@media(max-width:1000px) {
    html body .bim-modeling .bm-hero-copy { column-gap:40px; }
}
@media(max-width:760px) {
    html body .bim-modeling .bm-hero-copy { display:block; }
    html body .bim-modeling .bm-hero-copy h1 { margin-bottom:24px; }
    html body .bim-modeling .bm-hero--workshop { gap:32px; }
    html body .bim-modeling .bm-workshop-labels { gap:16px; }
    html body .bim-modeling .bm-workshop-label>span { font-size:clamp(15px,4.2vw,18px); }
    html body .bim-modeling .bm-workshop-label small { font-size:11px; }
    html body .bim-modeling .bm-workshop-comparison figcaption { margin-top:20px; }
}

/* Keep the quote's next step beside the actual submission control. */
html body #bim-model-order .bm-request-note {font-size:14px;line-height:1.65;max-width:64ch;margin:16px 0;}
html body .bm-request-note {font-size:14px;line-height:1.65;max-width:64ch;margin:16px 0;}
html body .bm-request-note strong {color:var(--bi-ink);font-weight:600;}
