/* Final tool presentation; calculations and report content are unchanged. */
html { scroll-behavior:smooth;scroll-padding-top:80px; }
html,body { max-width:100%;overflow-x:clip!important; }
/* Mobile: remove the thin dark seam between the shared header and page. */
@media(max-width:760px){
  html body .site-header,html body .header.unified-tool-header{box-shadow:none!important;margin-bottom:0!important}
  html body .site-header + .hero,html body .header.unified-tool-header + .hero{margin-top:0!important;padding-top:10px!important}
}
html body .site-header,html body .header.unified-tool-header,html body.owner-mode > .header {
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
  box-sizing:border-box!important;position:sticky!important;top:0!important;z-index:9500!important;
}
html body .ruh-brand-orbit,html body .ruh-brand-orbit img,
html body .brand-orbit,html body .brand-mark,html body .brand-mark img,html body .brand img {
  border-radius:50%!important;overflow:hidden!important;
}
html body .ruh-brand-orbit img,html body .brand-mark img { object-fit:cover!important;opacity:1!important;display:block!important; }
html body .lang-pills,html body .lang-switch,html body .langs { display:flex!important;flex-shrink:0!important;gap:5px!important; }
html body .lang-pills button,html body .lang-switch button { min-width:40px!important;white-space:nowrap!important; }
html body .ruh-time12 { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(52px,1fr)!important;gap:5px!important;min-width:0!important;width:100%!important; }
html body .ruh-time12 select { min-width:0!important;width:100%!important;padding:8px 3px!important;font-size:14px!important;height:42px!important; }
html body input.ruh-time-source { position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important; }
/* Owner controls belong to the report flow.  Only the primary site header is
   sticky; keeping the report switcher fixed wastes space and covers reports. */
html body.owner-mode .owner-sticky-stack { position:static!important;top:auto!important;z-index:auto!important;box-sizing:border-box!important;width:100%!important;background:#fffaf0!important; }
html body.owner-mode .owner-toolbar { width:100%!important;margin:0!important; }
html body.owner-mode .owner-toolbar-inner { width:100%!important;max-width:1500px!important;margin:auto!important;min-height:44px!important;height:auto!important;grid-template-columns:auto minmax(150px,1fr) auto!important; }
html body.owner-mode .owner-tool-select { min-width:0!important;max-width:100%!important; }
html body.owner-mode .owner-external-shell { min-height:0!important; }
html body.owner-mode .owner-external-shell iframe { display:block!important;width:100%!important;height:2500px!important;min-height:900px!important;border:0!important; }
html.owner-embed body .site-header,html.owner-embed body .header { display:none!important; }
html.owner-embed body .hero { margin-top:10px!important; }
@media(min-width:1000px) {
  html body .tool-shell,html body .shell,html body .wrap,html body .calendar-shell { width:min(1500px,calc(100% - 32px))!important;max-width:1500px!important;margin-inline:auto!important; }
}
@media(max-width:760px) {
  html body .site-header { flex-wrap:wrap!important;gap:8px!important; }
  html body .site-header .nav { margin-left:auto!important; }
  html body.owner-mode .owner-sticky-stack { top:auto!important; }
  html body.owner-mode .owner-toolbar-inner { grid-template-columns:minmax(0,1fr) auto!important; }
  html body.owner-mode .owner-toolbar strong { grid-column:1/-1!important; }
  html body.owner-mode .owner-external-shell iframe { height:2200px!important;min-height:800px!important; }
}

/* Shared consultation footer: action order and alignment stay identical on
   every tool and do not create an oversized empty panel. */
.client-contact{min-height:0!important;padding:16px 18px!important}
.client-contact-actions{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:8px!important}
.client-link.wa{order:-1!important;margin:0!important}
.client-link.book{margin:0!important}
@media(max-width:560px){.client-contact-actions{align-items:stretch!important}.client-link.wa,.client-link.book{width:100%!important;text-align:center!important}}
