/* URSY.live places the shared estate components inside the app's reading flow. */
.ul-estate-footer{margin-top:32px;min-width:0;border-top:1px solid var(--border)}
.ul-estate-footer .ueb-foot{background:transparent;padding:28px 0 8px;color:var(--text);font-size:12px}
.ul-estate-footer .ueb-foot__inner{max-width:none;margin:0;padding:0}
.ul-estate-footer .ueb-foot__head{font-size:10px;letter-spacing:.12em;color:var(--muted);margin:0 0 12px}
.ul-estate-footer .ueb-net{display:flex;flex-wrap:wrap;gap:7px}
.ul-estate-footer .ueb-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;min-height:36px;border:1px solid var(--border);border-radius:9px;color:var(--muted);font-size:11px;text-decoration:none}
.ul-estate-footer .ueb-pill:hover{color:var(--text);border-color:var(--accent)}
.ul-estate-footer .ueb-foot__bottom{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:10px}
.ul-estate-footer .ueb-foot__ad{margin-top:24px;display:flex;justify-content:center;min-width:0}
.ul-estate-footer .estate-ad{max-width:100%;box-sizing:border-box}
.ul-ad-section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;border-top:1px solid var(--border);margin-top:30px;padding:28px 0;min-width:0}
.ul-ad-section>div{max-width:540px}.ul-ad-section h2{font-size:22px;letter-spacing:-.6px;margin:10px 0}.ul-ad-section p{color:var(--muted);line-height:1.8;font-size:13px}
.ul-ad-section .estate-ad{margin:0;float:none;max-width:100%;box-sizing:border-box}
.ul-ad-section{padding-inline:24px}.ul-estate-footer{padding-inline:24px}
.machine-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.machine-door{display:block;padding:16px;border:1px solid var(--border);border-radius:12px;text-decoration:none;color:var(--text);background:var(--panel)}
.machine-door b{display:block;margin-bottom:6px}.machine-door span{font-size:12px;line-height:1.6;color:var(--muted)}
.api-examples pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:16px}
.api-examples details{border-bottom:1px solid var(--border);padding:12px 0}.api-examples summary{cursor:pointer;min-height:36px;display:flex;align-items:center;font-weight:600}
.api-examples code,.docs-table code{overflow-wrap:anywhere}
.ueb-consent{z-index:3000!important;max-width:calc(100vw - 32px);box-sizing:border-box}
.ueb-consent__actions button{min-width:90px;min-height:44px}
.consent-settings{min-height:44px;border:1px solid var(--border);background:var(--panel);color:var(--text);padding:8px 14px;border-radius:9px;cursor:pointer}
@media(max-width:760px){.machine-doors{grid-template-columns:1fr 1fr}.ul-ad-section{grid-template-columns:minmax(0,1fr)}.ul-ad-section .estate-ad{justify-self:center}.ul-estate-footer .ueb-pill{min-height:44px}.ul-estate-footer .ueb-foot__bottom{line-height:1.8}}
@media(max-width:640px){.ueb-consent{bottom:calc(84px + env(safe-area-inset-bottom))!important}.ul-estate-footer{margin-top:24px}.ul-estate-footer .estate-ad{width:100%;max-width:320px}.ul-estate-footer .estate-ad-link{min-width:0}.ul-ad-section{gap:16px}.machine-doors{grid-template-columns:1fr}.docs-table th,.docs-table td{overflow-wrap:anywhere}}
@media(max-width:640px){.ul-ad-section,.ul-estate-footer{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.estate-ad *,.ueb-consent *{transition:none!important;animation:none!important}}

.ul-ad-section .estate-ad{min-width:0}
.ul-ad-section .estate-ad-provenance{flex-wrap:wrap;white-space:normal;gap:2px 8px}
/* The app frame leaves less room than a full-width phone banner. Give every label its own row. */
@media(max-width:640px){
 .ul-estate-footer .estate-ad-320x100{height:auto;min-height:154px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:8px}
 .ul-estate-footer .estate-ad-320x100 .estate-ad-label{grid-column:1;grid-row:1}
 .ul-estate-footer .estate-ad-320x100 .estate-ad-provenance{grid-column:1;grid-row:3;justify-content:flex-start}
 .ul-estate-footer .estate-ad-320x100 .estate-ad-link{grid-column:1;grid-row:2;grid-template-columns:48px minmax(0,1fr);row-gap:8px}
 .ul-estate-footer .estate-ad-320x100 .estate-ad-imgwrap{grid-column:1;grid-row:1;order:0}
 .ul-estate-footer .estate-ad-320x100 .estate-ad-copy{grid-column:2;grid-row:1;order:0}
 .ul-estate-footer .estate-ad-320x100 .estate-ad-ctarow{grid-column:1/-1;grid-row:2;order:0;flex-direction:row;justify-content:space-between;align-items:center}
}
