/* DS18: public component contract, loaded after the historical layout sheets. */
:root{--public-gap:24px;--public-radius:14px;--public-surface:#fff;--public-ink:#173b32}
.public-site-body .header-inner{max-width:1320px;gap:20px}
.public-site-body .site-header .brand{min-width:0;flex:0 1 230px}
.public-site-body .site-header .brand strong{font-size:15px;white-space:normal}
.public-site-body .desktop-nav>ul{gap:2px}
.public-site-body .desktop-nav .nav-parent-trigger{font-size:14px;padding:12px 9px;min-height:44px;box-shadow:none}
.public-site-body .desktop-nav>ul>.nav-item>.nav-parent-trigger>svg{display:none}
.public-site-body .header-actions{gap:6px;flex-shrink:0}
.public-site-body .site-header .header-contact,.public-site-body .site-header .header-tinta{display:none}
.public-site-body .desktop-nav .submenu{min-width:240px;max-height:70dvh;overflow-y:auto;border-radius:var(--public-radius)}
.public-site-body .desktop-nav .submenu a{white-space:normal;min-height:44px}
.public-site-body .nav-item.is-open>.submenu{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.ds18-all-menu{margin:16px 0;border-top:1px solid #dbe5df;padding-top:16px}
.ds18-all-menu>summary{cursor:pointer;font-weight:700;padding:14px 4px}
.ds18-all-menu input{width:100%;min-height:44px;margin:10px 0}
.ds18-all-menu ul{list-style:none;padding:0;display:grid;gap:4px}
.ds18-all-menu a{display:block;padding:10px;border-radius:8px;overflow-wrap:anywhere}
.ds18-all-menu [hidden]{display:none}
.ds18-task-section{padding:24px 0;background:var(--surface,#f6f8f7)}
.ds18-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ds18-task-grid a{display:flex;gap:12px;align-items:center;background:var(--public-surface);color:var(--public-ink);border:1px solid #dce6df;border-radius:var(--public-radius);padding:20px;min-height:86px;box-shadow:0 4px 16px #173b3206}
.ds18-task-grid strong,.ds18-task-grid small{display:block}.ds18-task-grid small{font-size:13px;color:#526a61;margin-top:4px}
.ds18-task-grid svg{flex-shrink:0}
.public-site-body .premium-home-hero{padding-top:28px;padding-bottom:12px}
.public-site-body .premium-hero-shell{min-height:0;padding:28px;gap:32px}
.public-site-body .premium-hero-image-wrap{max-height:480px;aspect-ratio:5/4}
.public-site-body .premium-hero-image-wrap img{width:100%;height:100%;object-fit:cover}
.public-site-body .premium-home-hero h1{font-size:clamp(30px,3.6vw,52px)}
.public-site-body .premium-value-bar{display:none}
.public-site-body .premium-home-dashboard{padding-top:28px}
.public-site-body .home-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.public-site-body .home-quick-grid a,.public-site-body .ptsp-service{box-shadow:none;border:1px solid #dce6df;border-radius:var(--public-radius)}
.public-site-body .button,.public-site-body .icon-button{box-shadow:none}
.ds18-inline-notice{padding:14px 0;background:#edf5ef;border-bottom:1px solid #dce6df}
.ds18-inline-notice .container{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ds18-inline-notice p{margin:0;flex:1 1 280px}.ds18-inline-notice strong{display:block}
.ds18-inline-notice a{font-weight:700;text-decoration:underline}
.ds18-form-steps{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px;padding:0;list-style:none}
.ds18-form-steps li{padding:8px 12px;border-radius:8px;background:#edf4f0;color:#36594c;font-size:14px}
.ds18-review{border:1px solid #d5e4db;border-radius:14px;background:#f4f8f5;padding:20px;margin:16px 0}
.ds18-review dl{display:grid;gap:8px}.ds18-review dd{margin:0 0 12px;overflow-wrap:anywhere;white-space:pre-wrap}
.ds18-review dt{font-weight:700}.ds18-review[hidden]{display:none}
.ds18-service-context{border-left:3px solid #0b6b57;padding:12px 16px;background:#f3f7f4;margin-bottom:20px}
.ds18-service-context strong{display:block}
.ds18-pending-services{margin-top:24px}.ds18-pending-services summary{padding:16px;font-weight:700;cursor:pointer}
.ds18-pending-services .ptsp-service{background:#f5f7f6}.ds18-pending-services>p{padding:0 16px}
.ptsp-form [hidden],.ptsp-page [hidden]{display:none}
.ds18-reader-recovery{padding:20px;text-align:center;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.ds18-reader-recovery[hidden]{display:none}
.ds18-reader-recovery button,.ds18-reader-recovery a{padding:10px 16px;background:#fff;color:#173b32;border:1px solid #cbd9d0;border-radius:8px;min-height:44px}
.publication-book-viewer:fullscreen{overflow:auto}.publication-book-viewer:fullscreen .ds18-reader-recovery{position:relative;z-index:10;background:#f1f6f3}
.tinta-public-metrics>span[title]{display:none}
.tinta-site-body .tinta-article-header{padding-block:24px}
.tinta-filter-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-top:20px}
.tinta-filter-form label{display:grid;gap:6px;min-width:160px;flex:1}
.tinta-filter-form select{min-height:44px;width:100%;padding:10px;border:1px solid #d4dcd8;border-radius:10px;background:var(--surface,#fff);color:inherit}
.tinta-filter-form button,.tinta-filter-form>a{min-height:44px;padding:10px 16px}
.ds18-lightbox{border:0;border-radius:14px;background:#102b29;color:white;padding:56px 16px 16px;width:min(1100px,95vw);max-height:94dvh;overflow:auto}
.ds18-lightbox::backdrop{background:#071a16dc}.ds18-lightbox img{display:block;max-width:100%;max-height:74dvh;object-fit:contain;margin:auto}
.ds18-lightbox .ds18-lightbox-close{position:absolute;right:12px;top:8px;min-width:44px;min-height:44px;border:1px solid #c6d7cd;border-radius:8px;color:#173b32;background:#fff}
.ds18-lightbox figcaption{margin:12px 0;text-align:center}.ds18-lightbox figure{margin:0}
/* Short displays and browser zoom must keep all authentication controls reachable. */
html:has(.admin-login-page){height:auto;overflow-y:auto}
body.admin-login-page{height:auto;min-height:100dvh;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:auto}
.admin-login-page .auth-shell{height:auto;min-height:100dvh!important;overflow:visible!important}
.admin-login-page .auth-form-wrap{height:auto;min-height:100dvh!important;overflow:visible!important;padding:24px 16px!important}
.admin-login-page .auth-form-card{width:100%;max-width:440px;flex-shrink:0}
@media(min-width:1200px){
 .public-site-body .site-header .desktop-nav{display:block!important;flex:1 1 auto;min-width:0}
 .public-site-body .site-header .mobile-menu-toggle{display:none!important}
 .public-site-body .header-inner{display:flex;flex-wrap:nowrap}
}
@media(max-width:1199px){.public-site-body .site-header .desktop-nav{display:none!important}.public-site-body .site-header .mobile-menu-toggle{display:inline-flex!important}.public-site-body .site-header .brand{flex:1}.public-site-body .header-inner{gap:12px}}
@media(max-width:767px){
 .ds18-task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ds18-task-grid a{padding:14px;gap:8px;min-height:92px}.ds18-task-grid strong{font-size:14px}.ds18-task-grid small{font-size:12px}
 .public-site-body .premium-hero-shell{padding:20px;gap:20px}.public-site-body .premium-hero-image-wrap{max-height:260px;aspect-ratio:16/9}
 .public-site-body .home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .public-site-body .mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .public-site-body .mobile-bottom-nav__item{min-height:50px}.public-site-body .mobile-bottom-nav__item small{font-size:12px}
 .public-site-body .whatsapp-float{bottom:calc(84px + env(safe-area-inset-bottom,0px));right:12px}
 .public-site-body .mars-player,.public-site-body .mars-orb{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 .public-site-body .header-actions .header-login{display:none}
 .public-site-body .header-inner{padding-inline:14px}.public-site-body .header-actions{gap:4px}
 .tinta-filter-form{display:grid;grid-template-columns:1fr}.tinta-filter-form label{min-width:0}
 .ptsp-columns{display:flex;flex-direction:column}.ptsp-columns>main,.ptsp-columns>aside{width:100%;min-width:0}
 .ds18-review{padding:14px}.ds18-lightbox{padding-inline:8px}.ds18-lightbox img{max-height:68dvh}
}
@media(max-height:700px){.admin-login-page .auth-form-wrap{justify-content:flex-start!important;padding-top:64px!important}}
@media(prefers-reduced-motion:reduce){.ds18-task-grid a{transition:none}}

.ds18-reader-leave{position:absolute;right:12px;top:12px;z-index:50;min-height:44px;padding:10px 14px;background:#fff;border:1px solid #b8d2cb;border-radius:10px;color:#173b32}
.publication-book-status{white-space:normal;overflow:visible;max-width:calc(100% - 24px);width:max-content;border-radius:10px}
.publication-book-viewer.is-fallback .ds18-reader-recovery{position:relative;z-index:40;min-height:80px;background:#f1f6f3}
.publication-book-viewer.is-fallback [data-book-status]{position:relative;left:auto;bottom:auto;transform:none;margin:12px auto}
/* Resolve the old fixed hero geometry within its actual grid, rather than clipping it. */
.public-site-body .premium-hero-shell{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;align-items:center;min-height:0!important}
.public-site-body .premium-hero-copy,.public-site-body .premium-hero-visual{min-width:0;width:auto!important;max-width:100%!important}
.public-site-body .premium-hero-image-wrap{height:420px!important;min-height:0!important;width:100%!important;max-height:420px!important}
.public-site-body .premium-hero-image-wrap img{min-height:0!important;max-height:100%!important;width:100%!important;height:100%!important;object-fit:cover}
.public-site-body .site-header .header-tinta,.public-site-body .site-header .header-contact{display:none!important}
@media(min-width:1200px){.public-site-body .site-header .brand{flex:0 0 240px}.public-site-body .site-header .brand span{max-width:none!important}.public-site-body .site-header .brand strong{white-space:nowrap}}
@media(max-width:900px){.public-site-body .premium-hero-shell{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:767px){.public-site-body .site-header .header-login{display:none!important}.public-site-body .premium-hero-visual{display:none!important}.public-site-body .premium-hero-shell{padding:20px!important}.public-site-body .premium-hero-copy{padding:0!important}.public-site-body .premium-home-hero h1{font-size:30px!important}.public-site-body .premium-hero-lead{font-size:16px!important;line-height:1.6!important}.public-site-body .premium-hero-motto{display:none!important}}
.public-site-body .site-header .header-actions a.header-tinta,.public-site-body .site-header .header-actions a.header-contact{display:none!important}
@media(max-width:767px){.public-site-body .site-header .header-actions a.header-login{display:none!important}}
