/* Se carga al final. --fw/--fh describen el marco lógico, nunca una escala del escritorio. */
.phone-orientation{display:none}
.phone-rotate-hint{position:fixed;z-index:100;left:18px;right:18px;bottom:24px;margin:0;padding:15px 18px;border-radius:16px;background:#282a27ed;color:#f5f3ec;font:14px/1.5 -apple-system,BlinkMacSystemFont,Arial,sans-serif;box-shadow:0 8px 30px #15271d33;pointer-events:none;text-align:center}
.phone-rotate-hint[hidden]{display:none}
html[data-phone] .phone-orientation{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #d5cdc0;border-radius:50%;background:#f5f3ec;color:#3b3d36;font:12px/1.2 -apple-system,BlinkMacSystemFont,Arial,sans-serif;cursor:pointer;pointer-events:auto}
html[data-phone] .phone-orientation:focus-visible{outline:3px solid #b38b66;outline-offset:2px}
html[data-phone] .phone-orientation-dialog{position:absolute;z-index:35;right:62px;top:9px}
html[data-phone] dialog:not([open]) .phone-orientation{display:none}
html[data-phone] .rail>.phone-orientation{margin:0 0 0 2px;order:5}
html[data-phone-frame=landscape]{height:100%;overflow:hidden;background:#1a1d24}
html[data-phone-frame=landscape] body{position:fixed;inset:0 auto auto 0;width:var(--fw);height:var(--fh);min-width:0;min-height:0;max-width:none;max-height:none;margin:0;overflow:hidden;container:phone/size;--inset-l:env(safe-area-inset-left,0px);--inset-r:env(safe-area-inset-right,0px)}
html[data-phone-forced] body{transform-origin:0 0;transform:rotate(90deg) translateY(-100%);--inset-l:env(safe-area-inset-top,0px);--inset-r:env(safe-area-inset-bottom,0px)}
html[data-phone-frame=landscape] #hostess-home{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:68px;-webkit-overflow-scrolling:touch}
html[data-phone-frame=landscape] .landing-office-active #hostess-home{overflow:hidden}
/* Los diálogos modales salen de la transformación del body en la capa superior. */
html[data-phone-frame=landscape] dialog[open]{position:fixed;inset:0 auto auto 0;width:var(--fw);height:var(--fh);max-width:none;max-height:none;min-width:0;min-height:0;margin:0;border-radius:0;box-sizing:border-box;animation:none!important}
html[data-phone-forced] dialog[open]{transform-origin:0 0!important;transform:rotate(90deg) translateY(-100%)!important}
html[data-phone-frame=landscape] dialog::backdrop{background:#242520ee}
html[data-phone-frame=landscape] .rail,.has-landing html[data-phone-frame=landscape] .rail{position:absolute;inset:0 0 auto;display:flex;align-items:center;flex-wrap:nowrap;gap:10px;height:62px;min-height:62px;padding:8px calc(12px + var(--inset-r)) 8px calc(12px + var(--inset-l));width:100%;box-sizing:border-box;z-index:15}
html[data-phone-frame=landscape] .has-landing .rail{height:62px;padding:8px 12px;gap:10px}
html[data-phone-frame=landscape] .landing-rail-brand,html[data-phone-frame=landscape] .landing-rail-brand img{width:96px;min-width:0;height:29px}
html[data-phone-frame=landscape] .landing-nav{display:none}
html[data-phone-frame=landscape] .account-entry{margin-left:auto;margin-right:0;gap:4px;min-width:0}
html[data-phone-frame=landscape] .account-entry .glass,html[data-phone-frame=landscape] .account-login{min-height:44px;font-size:12px;padding:9px 12px}
html[data-phone-frame=landscape] .account-user{max-width:200px}
html[data-phone-frame=landscape] .lang-switch,html[data-phone-frame=landscape] .has-landing:not(.landing-office-active) .lang-switch{position:static!important;left:auto!important;bottom:auto!important;transform:none!important;order:initial;margin:0!important;min-height:44px;padding:1px}
html[data-phone-frame=landscape] .lang-switch a{min-width:44px!important;min-height:44px!important;font-size:11px}
html[data-phone-frame=landscape] .menu-toggle{min-width:44px;min-height:44px}
/* Continuación editorial debajo de la ciudad original: filas con texto e imagen. */
html[data-phone-frame=landscape] .landing-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
html[data-phone-frame=landscape] .landing-button{min-height:44px;padding:11px 15px;font-size:12px;gap:10px}
html[data-phone-frame=landscape] .landing-proposal-note{font-size:12px;line-height:1.6;margin-top:15px}
html[data-phone-frame=landscape] .landing-brand-strip,html[data-phone-frame=landscape] .landing-wrap,html[data-phone-frame=landscape] .landing-footer{width:calc(100% - 52px)}
html[data-phone-frame=landscape] .landing-brand-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:24px 0;margin-top:28px;gap:18px}
html[data-phone-frame=landscape] .landing-brand-strip button{min-height:44px;min-width:0}
html[data-phone-frame=landscape] .landing-wrap{padding:42px 0;scroll-margin-top:0}
html[data-phone-frame=landscape] .landing-content h2{font-size:32px;line-height:1.12}
html[data-phone-frame=landscape] .landing-section-heading{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:end;margin-bottom:25px}
html[data-phone-frame=landscape] .landing-section-heading>p{font-size:14px;line-height:1.65;max-width:none;margin:0}
html[data-phone-frame=landscape] .landing-company-grid{grid-template-columns:minmax(0,1fr);gap:20px}
html[data-phone-frame=landscape] .landing-company-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-phone-frame=landscape] .landing-company-image{height:100%;min-height:220px;order:2}
html[data-phone-frame=landscape] .landing-company-info{padding:22px;order:1}
html[data-phone-frame=landscape] .landing-company-info h3{font-size:25px}
html[data-phone-frame=landscape] .landing-company-info>p:not(.landing-eyebrow){font-size:14px;line-height:1.6}
html[data-phone-frame=landscape] .landing-step-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
html[data-phone-frame=landscape] .landing-step-grid li{padding:18px 0 0;position:static}
html[data-phone-frame=landscape] .landing-step-grid li>span{position:static;display:block;margin-bottom:15px}
html[data-phone-frame=landscape] .landing-step-grid h3{font-size:21px}
html[data-phone-frame=landscape] .landing-step-grid p{font-size:14px;line-height:1.65}
html[data-phone-frame=landscape] .landing-case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html[data-phone-frame=landscape] .landing-case-card>div{padding:22px}
html[data-phone-frame=landscape] .landing-case-card>img{height:170px;max-height:none;aspect-ratio:auto}
html[data-phone-frame=landscape] .landing-office-grid{grid-template-columns:1fr 1fr;gap:28px}
html[data-phone-frame=landscape] .landing-office-grid figure>img{height:260px}
html[data-phone-frame=landscape] .landing-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px}
html[data-phone-frame=landscape] .landing-faq summary{min-height:48px;font-size:15px}
html[data-phone-frame=landscape] .landing-closing{padding:48px 24px}
html[data-phone-frame=landscape] .landing-closing h2{font-size:38px}
html[data-phone-frame=landscape] .landing-closing>p:last-child{max-width:50ch;font-size:13px}
/* Ciudad y cine siempre usan el ancho lógico. */
html[data-phone-frame=landscape] .city{height:var(--fh);min-height:0;max-height:none;width:100%}
html[data-phone-frame=landscape] .has-landing .city[data-state=idle]{height:var(--fh);min-height:0}
html[data-phone-frame=landscape] .city[data-state=idle]::before{display:none}
html[data-phone-frame=landscape] .city-frame{--w:var(--fw);--h:calc(var(--fw) * .5625);position:absolute;inset:50% auto auto 50%;width:var(--w);min-width:0;height:var(--h);margin:0;transform:translate(-50%,-50%)}
html[data-phone-frame=landscape] .city-poster{mask-image:none;-webkit-mask-image:none}
html[data-phone-frame=landscape] .city .company-entry{min-width:0;min-height:44px;padding:7px 11px;border-radius:12px}
html[data-phone-frame=landscape] .city .company-entry .company-logo{width:76px!important;height:29px!important}
html[data-phone-frame=landscape] .building-1{left:15%;top:31%}html[data-phone-frame=landscape] .building-2{left:33%;top:31%}html[data-phone-frame=landscape] .building-4{left:64%;top:31%}html[data-phone-frame=landscape] .building-5{left:83%;top:31%}
html[data-phone-frame=landscape] .building-3{left:50%;top:52%;width:auto;min-width:210px;min-height:48px;padding:9px 16px;transform:translate(-50%,-50%)}
html[data-phone-frame=landscape] .building-3 .building-sub{display:none}
html[data-phone-frame=landscape] .city .brain{top:75%;left:50%;min-height:44px;transform:translate(-50%,-50%)}
html[data-phone-frame=landscape] .mobile-explore{display:none}
html[data-phone-frame=landscape] .cinema,html[data-phone-frame=landscape] .office-room,html[data-phone-frame=landscape] .office-panorama{height:100%;width:100%;min-height:0}
html[data-phone-frame=landscape] .office-scene,html[data-phone-frame=landscape] .city[data-docked=true] .office-scene{width:max(var(--fw),calc(var(--fh) * 1.77778));min-width:0;position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%)}
html[data-phone-frame=landscape] .office-hint{display:none!important}
html[data-phone-frame=landscape] .city[data-state=office] .cinema-top{position:absolute;inset:8px auto auto 12px;max-width:calc(100% - 140px);flex-wrap:nowrap;gap:7px;visibility:visible!important;z-index:7}
html[data-phone-frame=landscape] .city[data-state=office] .cinema-top .glass{min-height:44px;padding:8px 13px;font-size:12px}
html[data-phone-frame=landscape] .city[data-state=office] .office-chip{position:static;min-height:44px;max-width:260px!important;padding:3px 6px 3px 13px}
html[data-phone-frame=landscape] .office-chip-select select{max-width:160px;font-size:13px}
html[data-phone-frame=landscape] .office-chip-action{min-height:44px}
html[data-phone-frame=landscape] body[data-scene=office] .rail{top:0;bottom:auto;visibility:visible!important;pointer-events:none}
html[data-phone-frame=landscape] body[data-scene=office] .rail .menu-toggle,html[data-phone-frame=landscape] body[data-scene=office] .rail>.phone-orientation{visibility:visible!important;pointer-events:auto}
html[data-phone-frame=landscape] .cinema-bottom{left:12px;right:12px;bottom:10px;gap:9px;min-height:44px}
/* Dirección: carbón cálido, paneles legibles y mesa del recorrido original. */
html[data-phone-frame=landscape] .my-company-layer,html[data-phone-frame=landscape] .my-company-layer:has(.my-company:not([hidden])){inset:62px 10px 9px;width:auto;height:auto;max-height:none;overflow:visible}
html[data-phone-frame=landscape] .my-company-layer .my-company{height:100%;padding:12px;border-radius:12px;overflow:auto}
html[data-phone-frame=landscape] .my-company .my-heading{gap:12px;align-items:center;min-height:44px}
html[data-phone-frame=landscape] .my-company h2{font-size:24px;max-width:none}
html[data-phone-frame=landscape] .my-company .my-eyebrow{display:none}
html[data-phone-frame=landscape] .my-company .my-sync{display:inline-flex;font-size:12px}
html[data-phone-frame=landscape] .my-toolbar{padding:8px 0 12px}
html[data-phone-frame=landscape] .my-tabs{width:auto;justify-content:flex-start;background:transparent;border:0;border-bottom:1px solid #f5f3ec26;border-radius:0;padding:0 0 6px}
html[data-phone-frame=landscape] .my-tabs button{flex:none;min-height:44px;padding:9px 18px;font-size:12px;background:transparent;border-radius:8px;color:#e5e1d5}
html[data-phone-frame=landscape] .my-tabs button[aria-pressed=true]{background:#c89b72;color:#201f1b}
html[data-phone-frame=landscape] .my-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"meetings messages" "work website" "desk desk";gap:10px}
html[data-phone-frame=landscape] .my-company .my-card{padding:14px;border-radius:10px;order:initial}
html[data-phone-frame=landscape] .my-company .my-card h3{font-size:19px}
html[data-phone-frame=landscape] .my-event strong,html[data-phone-frame=landscape] .my-conversation-copy strong{font-size:13px}
html[data-phone-frame=landscape] .my-event small,html[data-phone-frame=landscape] .my-conversation-copy>span{font-size:12px}
html[data-phone-frame=landscape] .my-desk{min-height:230px;align-items:flex-start;padding:24px;order:initial}
html[data-phone-frame=landscape] .my-desk-view{inset:0;background-size:auto 155%;background-position:center bottom}
html[data-phone-frame=landscape] .my-desk::after{background:linear-gradient(90deg,#282a27 8%,#282a2780 45%,transparent 80%)}
html[data-phone-frame=landscape] .my-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-phone-frame=landscape] .my-area-grid button{min-height:48px}
html[data-phone-frame=landscape] .my-area-grid strong{font-size:12px}
html[data-phone-frame=landscape] .my-tools-rows,html[data-phone-frame=landscape] .my-company [data-progress],html[data-phone-frame=landscape] .my-library-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-phone-frame=landscape] .my-company-layer .my-company-fab{position:absolute;inset:auto 0 0 auto;min-height:44px}
/* Las trece áreas: cabecera a la izquierda, directorio legible y herramientas en todo el ancho. */
html[data-phone-frame=landscape] .area-tour{overflow:hidden}
html[data-phone-frame=landscape] .area-tour video{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
html[data-phone-frame=landscape] .tour-header{inset:8px 62px auto 10px;justify-content:space-between;gap:8px}
html[data-phone-frame=landscape] .area-tour .tour-header button{min-height:44px;padding:9px 14px;font-size:12px}
html[data-phone-frame=landscape] .area-tour>.phone-orientation-dialog{right:10px;top:8px}
html[data-phone-frame=landscape] .tour-heading{left:50%;top:70px;max-width:calc(100% - 48px);width:auto;padding:10px 18px}
html[data-phone-frame=landscape] .area-tour[data-state=workspace] .tour-heading,html[data-phone-frame=landscape] .area-tour[data-state=workspace] .tour-status{display:none}
html[data-phone-frame=landscape] .tour-controls{left:12px;right:12px;bottom:12px;display:flex;flex-wrap:nowrap;gap:10px}
html[data-phone-frame=landscape] .tour-progress{order:initial;flex:1;margin:0}
html[data-phone-frame=landscape] .area-tour[data-state=workspace] .workspace-panel,html[data-phone-frame=landscape] .area-tour[data-state=workspace] .workspace-panel-centro{inset:61px 10px 8px;width:auto;height:auto;max-width:none;border-radius:16px;overflow:hidden}
html[data-phone-frame=landscape] .wc-head{padding:7px 12px;gap:10px;min-height:56px;flex-wrap:nowrap}
html[data-phone-frame=landscape] .wc-title{gap:9px;flex:1}html[data-phone-frame=landscape] .wc-title{min-width:0}
html[data-phone-frame=landscape] .wc-title p{display:none}
html[data-phone-frame=landscape] .wc-title h2{font-size:21px;line-height:1.2}
html[data-phone-frame=landscape] .wc-area-number{width:34px;height:36px;flex-basis:34px;font-size:15px}
html[data-phone-frame=landscape] .wc-pickers{flex:0 0 auto;gap:7px}
html[data-phone-frame=landscape] .wc-select select{max-width:180px;font-size:12px;min-height:44px}
html[data-phone-frame=landscape] .workspace-directory>summary{width:auto;min-height:44px;padding:8px 12px}
html[data-phone-frame=landscape] .workspace-directory>summary>span:last-child{display:inline;font-size:12px}
html[data-phone-frame=landscape] .workspace-directory-list{inset:calc(100% - 1px) 6px auto;max-height:calc(var(--fh) - 140px);grid-template-columns:repeat(3,minmax(0,1fr));padding:8px;gap:6px}
html[data-phone-frame=landscape] .workspace-panel .workspace-directory-list button{min-height:62px;padding:10px;grid-template-columns:22px minmax(0,1fr) 12px;gap:7px}
html[data-phone-frame=landscape] .workspace-directory-list strong{font-size:13px}
html[data-phone-frame=landscape] .workspace-directory-list small{font-size:12px;-webkit-line-clamp:1}
html[data-phone-frame=landscape] .wc-grid{display:grid;grid-template-columns:160px minmax(0,1fr);flex:1;min-height:0}
html[data-phone-frame=landscape] .wc-nav{display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;padding:8px;gap:6px;border-right:1px solid #dfe4dc;border-bottom:0;min-height:0;flex:initial}
html[data-phone-frame=landscape] .wc-nav-list{flex-direction:column;gap:6px;flex:none}
html[data-phone-frame=landscape] .workspace-panel .wc-nav button{width:100%;min-height:44px;white-space:normal;padding:9px 10px;border-radius:10px;flex:none}
html[data-phone-frame=landscape] .wc-nav button strong{font-size:12px;line-height:1.4}
html[data-phone-frame=landscape] .wc-nav-kicker,html[data-phone-frame=landscape] .wc-nav button span{display:none}
html[data-phone-frame=landscape] .wc-main{padding:16px;overflow:auto;min-height:0}
html[data-phone-frame=landscape] .workspace-panel .workspace-footer{min-height:44px;padding:0 12px}
html[data-phone-frame=landscape] .workspace-sync{font-size:12px}
html[data-phone-frame=landscape] .workspace-team,html[data-phone-frame=landscape] .workspace-metrics,html[data-phone-frame=landscape] .wp-strip,html[data-phone-frame=landscape] .wp-nums,html[data-phone-frame=landscape] .wp-floors{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-phone-frame=landscape] .workspace-body h3{font-size:24px}
html[data-phone-frame=landscape] .wp-head .wp-description,html[data-phone-frame=landscape] .workspace-lede{font-size:14px}
html[data-phone-frame=landscape] .wp-state,html[data-phone-frame=landscape] .wp-num{padding:16px}
html[data-phone-frame=landscape] .wp-num strong{font-size:29px}
html[data-phone-frame=landscape] .workspace-area-row{padding:10px 14px}
html[data-phone-frame=landscape] .workspace-top{padding:8px 14px}
html[data-phone-frame=landscape] .workspace-tabs{padding:0 10px 8px}
html[data-phone-frame=landscape] .workspace-body{padding:16px}
/* En herramienta se libera la navegación lateral; volver sigue en la cabecera y el selector permanece. */
html[data-phone-frame=landscape] .workspace-panel-centro:has(.wc-main[data-frame]) .wc-grid{grid-template-columns:minmax(0,1fr)}
html[data-phone-frame=landscape] .workspace-panel-centro:has(.wc-main[data-frame]) .wc-nav,html[data-phone-frame=landscape] .workspace-panel-centro:has(.wc-main[data-frame]) .workspace-footer{display:none}
html[data-phone-frame=landscape] .workspace-panel-centro:has(.wc-main[data-frame]) .wc-head{min-height:52px}
html[data-phone-frame=landscape] .wc-main[data-frame]{padding:0;display:flex;overflow:hidden;min-height:0}
html[data-phone-frame=landscape] .wc-frame>header{display:none}
html[data-phone-frame=landscape] .wc-frame .workspace-iframe-wrap{position:relative;flex:1;min-height:0;height:auto;border:0;border-radius:0}
html[data-phone-frame=landscape] .wc-frame iframe{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;max-height:none}
html[data-phone-frame=landscape] .workspace-centro-frame{position:fixed;inset:0;width:100%;height:var(--fh);padding:0;z-index:25}
html[data-phone-frame=landscape] .workspace-centro-frame>header{min-height:54px;padding:5px 65px 5px 12px}
html[data-phone-frame=landscape] .workspace-centro-frame .workspace-iframe-wrap{position:relative;flex:1;min-height:0}
html[data-phone-frame=landscape] .workspace-centro-frame iframe{position:absolute;inset:0;width:100%;height:100%}
/* Menú, propuestas y acceso conservan el scroll dentro de su ventana. */
html[data-phone-frame=landscape] #city-menu{padding:0 22px 22px;overflow:auto}
html[data-phone-frame=landscape] #city-menu .menu-heading{padding-right:105px;min-height:65px;margin-bottom:14px}
html[data-phone-frame=landscape] #city-menu .close-menu{position:absolute;right:0;top:10px;width:44px;height:44px}
html[data-phone-frame=landscape] #city-menu nav.menu-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
html[data-phone-frame=landscape] #city-menu .menu-office-entry{min-height:75px;padding:14px 18px}
html[data-phone-frame=landscape] .content-dialog{display:flex;flex-direction:column;padding:0;overflow:hidden}
html[data-phone-frame=landscape] .content-header{min-height:62px;padding:8px 120px 8px 20px}
html[data-phone-frame=landscape] .content-header .hl-cerrar{top:9px;right:10px;width:44px;height:44px}
html[data-phone-frame=landscape] .content-scroll{padding:22px 26px;min-height:0;overflow:auto;flex:1}
html[data-phone-frame=landscape] .content-footer{padding:0 20px;min-height:44px}
html[data-phone-frame=landscape] .service-list,html[data-phone-frame=landscape] .area-list{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-phone-frame=landscape] .panel-hero h2{font-size:32px}
html[data-phone-frame=landscape] .panel-intro{font-size:15px}
html[data-phone-frame=landscape] .company-evidence-card{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
html[data-phone-frame=landscape] .company-evidence-card>figure{min-height:220px}
html[data-phone-frame=landscape] .account-dialog{padding:22px 26px;overflow:auto}
html[data-phone-frame=landscape] .account-body{max-width:650px;margin:0 auto}
html[data-phone-frame=landscape] .account-close{right:10px;top:9px}
html[data-phone-frame=landscape] .account-eyebrow{margin:0 120px 14px 0;font-size:10px}
html[data-phone-frame=landscape] .account-dialog h2{font-size:28px;max-width:none;padding-right:88px;margin-bottom:12px}
html[data-phone-frame=landscape] .account-intro{font-size:14px;margin-bottom:18px}
html[data-phone-frame=landscape] .account-tabs{margin-bottom:17px}
html[data-phone-frame=landscape] .account-dialog form[data-account-form]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-phone-frame=landscape] .account-field{margin:0}
html[data-phone-frame=landscape] .account-field input{min-height:48px;font-size:16px}
html[data-phone-frame=landscape] .account-submit,html[data-phone-frame=landscape] .account-help,html[data-phone-frame=landscape] .account-feedback{grid-column:1/-1}
html[data-phone-frame=landscape] .privacy-dialog{padding:20px 24px;overflow:auto}
html[data-phone-frame=landscape] .privacy-dialog .phone-orientation-dialog{right:62px;top:8px}
html[data-phone-frame=landscape] .privacy-dialog h2{padding-right:104px}
html[data-phone-frame=landscape] .cookie-banner{position:absolute;left:12px;right:12px;bottom:10px;width:auto;max-width:none;max-height:calc(var(--fh) - 86px);padding:13px 16px;overflow:auto}
html[data-phone-frame=landscape] .cookie-actions{display:flex;gap:8px;flex-wrap:wrap}
html[data-phone-frame=landscape] .cookie-actions button{min-height:44px}
html[data-phone-frame=landscape] .privacy-toggle{position:absolute;bottom:8px;left:10px;min-height:44px}
/* Con teclado OS el marco se ajusta al área visible y conserva su orientación. */
html[data-phone-editing]:not([data-phone-frame=landscape]) dialog[open]{max-height:calc(var(--phone-vh) - 16px);top:calc(var(--phone-vtop) + 8px);bottom:auto}
@container phone (max-width:650px){
 .landing-company-card{grid-template-columns:1fr!important}.landing-company-image{height:200px!important;min-height:0!important}.landing-step-grid,.landing-case-grid,.landing-office-grid,.landing-faq,.landing-section-heading{grid-template-columns:1fr!important}.landing-company-grid{grid-template-columns:1fr!important}.my-dashboard-grid{display:flex!important;flex-direction:column!important}.my-area-grid,.workspace-team,.wp-strip,.wp-nums,.wp-floors{grid-template-columns:1fr!important}.my-company .my-sync{display:none!important}.my-tools-rows,.my-company [data-progress],.my-library-tools{grid-template-columns:1fr!important}.my-company .my-heading h2{font-size:24px!important}.account-entry [data-account=registro]{display:none}.landing-rail-brand,.landing-rail-brand img{width:78px!important}.rail{gap:6px!important}.account-entry .glass,.account-login{padding-inline:8px!important}
}
@media(prefers-reduced-motion:reduce){.phone-rotate-hint{transition:none}}

html[data-phone-frame=landscape] dialog:not([open]){display:none!important}
/* Los IDs heredados de fichas/menú no deben recuperar medidas físicas del viewport. */
html[data-phone-frame=landscape] dialog[open]{inset:0 auto auto 0!important;width:var(--fw)!important;height:var(--fh)!important;max-width:none!important;max-height:none!important;margin:0!important}
html[data-phone-frame=landscape] #content-dialog[open]{display:grid;grid-template-rows:62px minmax(0,1fr) 44px}
html[data-phone-frame=landscape] #content-dialog .content-header{padding:8px 120px 8px 20px}
html[data-phone-frame=landscape] #content-dialog .content-scroll{height:100%;min-height:0;padding:0}
html[data-phone-frame=landscape] #content-dialog .content-footer{padding:0 20px;min-height:44px}
html[data-phone-frame=landscape] #city-menu .menu-heading{padding-right:110px}
.phone-tools-back{display:none}
html[data-phone-frame=landscape] .workspace-panel-centro:has(.wc-main[data-frame]) .phone-tools-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 11px;border:1px solid #d0d8ce;border-radius:10px;background:#f4f7ed;color:#3c5c48;font-size:12px}
html[data-phone-frame=landscape] #content-dialog>.phone-orientation-dialog{right:76px}
html[data-phone-frame=landscape] .landing-footer .privacy-toggle{position:static;inset:auto;min-height:44px}

/* La indicación de continuar ocupa las esquinas; nunca sustituye la portada ni tapa el Cerebro. */
html[data-phone-frame=landscape] .continued-city .cover-cue{position:absolute;right:calc(16px + var(--inset-r));bottom:12px;left:auto;min-height:44px;font-size:12px;padding:10px 14px;transform:none;max-width:240px}
html[data-phone-frame=landscape] .continued-city .cover-caption{position:absolute;left:calc(24px + var(--inset-l));bottom:24px;max-width:240px;margin:0;font-size:12px;line-height:1.5}
@container phone (max-width:650px){.continued-city .cover-caption{display:none}.continued-city .cover-cue{right:12px;bottom:10px;font-size:11px}}
/* En horizontal, título y vistas comparten renglón para dar altura al calendario. */
@container phone (min-width:700px){
 .my-company-layer .my-company{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:max-content;align-content:start;column-gap:14px;row-gap:12px}
 .my-company>.my-heading{grid-column:1;min-width:0;gap:10px}
 html[data-phone-frame=landscape] .my-company>.my-toolbar{grid-column:2;padding:0;align-items:center}
 html[data-phone-frame=landscape] .my-company .my-sync{white-space:nowrap;max-width:none}
 .my-company>.my-toolbar .my-office-date{display:none}
 .my-company>.my-toolbar .my-tabs{padding-bottom:0}
 .my-company>[data-my-view],.my-company>.my-footer{grid-column:1/-1;min-width:0}
 .my-company>.my-footer{margin:0}
}
/* Las fichas responden al ancho lógico, igual con giro físico o con orientación bloqueada. */
@container phone (min-width:700px){
 html[data-phone-frame=landscape] .company-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:24px;padding:22px 26px 32px;min-height:0;align-items:start}
 html[data-phone-frame=landscape] .company-hero-copy{padding:0}
 html[data-phone-frame=landscape] .company-hero-copy .experience-logo{height:24px;width:auto;max-width:145px;margin:0 0 16px}
 html[data-phone-frame=landscape] .company-hero-copy .page-eyebrow{font-size:10px;line-height:1.5;margin-bottom:12px}
 html[data-phone-frame=landscape] #content-dialog .company-hero h2{font-size:30px;line-height:1.08;max-width:none;margin-bottom:14px}
 html[data-phone-frame=landscape] .company-lede{font-size:14px;line-height:1.55}
 html[data-phone-frame=landscape] .company-hero-actions{margin-top:18px;gap:10px 18px}
 html[data-phone-frame=landscape] .company-page .page-button{min-height:44px;padding:11px 16px;font-size:12px}
 html[data-phone-frame=landscape] .company-hero-visual{height:100%;min-height:320px;width:100%;border-radius:4px;aspect-ratio:auto}
 html[data-phone-frame=landscape] .company-hero-visual figcaption{left:14px;bottom:16px;font-size:10px}
 html[data-phone-frame=landscape] .company-visual-mark{right:14px;bottom:24px;font-size:10px}
 html[data-phone-frame=landscape] .company-page .page-wrap{width:calc(100% - 52px);padding-top:38px;padding-bottom:38px}
 html[data-phone-frame=landscape] .company-page .section-heading{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:28px}
 html[data-phone-frame=landscape] .company-page .section-heading>p{max-width:none;margin-top:0;font-size:14px;line-height:1.6}
 html[data-phone-frame=landscape] .company-benefit-grid,html[data-phone-frame=landscape] .company-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
 html[data-phone-frame=landscape] .company-benefit-grid article{padding:0;min-height:0}
 html[data-phone-frame=landscape] .benefit-symbol{position:static;width:44px;height:44px;margin-bottom:16px}
 html[data-phone-frame=landscape] .company-steps{margin-top:24px}
 html[data-phone-frame=landscape] .company-steps li{padding:0 0 20px!important;border:0!important}
 html[data-phone-frame=landscape] .company-step-number{position:static;display:block;margin:0 0 18px;font-size:12px}
 html[data-phone-frame=landscape] .company-delivery{grid-template-columns:1.1fr 1fr;gap:24px;padding:24px}
 html[data-phone-frame=landscape] .company-page .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-phone-frame=landscape] .company-page .offer-card{padding:22px 18px;border-right:1px solid var(--line)}
 html[data-phone-frame=landscape] .company-faq{grid-template-columns:.85fr 1.15fr;gap:28px}
 html[data-phone-frame=landscape] .company-questions summary{font-size:15px;min-height:54px}
 html[data-phone-frame=landscape] .company-page .client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
