/* Identidad aprobada por el usuario: enlaces y tres destellos. */
@font-face{font-family:TuLinkPoppins;src:url('fonts/Poppins-Light.woff2') format('woff2');font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:TuLinkPoppins;src:url('fonts/Poppins-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:TuLinkPoppins;src:url('fonts/Poppins-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:TuLinkPoppins;src:url('fonts/Poppins-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:TuLinkPoppins;src:url('fonts/Poppins-Bold.woff2') format('woff2');font-style:normal;font-weight:700 900;font-display:swap}
.launch-body,.landing:has(.launch-site),.auth-body,.app-body{--tulnk-font-ui:TuLinkPoppins,Poppins,sans-serif;--tulnk-font-display:TuLinkPoppins,Poppins,sans-serif;--tulnk-ui:var(--tulnk-font-ui);--tulnk-display:var(--tulnk-font-display);--tulnk-bone:#f7faf6;--tulnk-ink:#053d2e;--tulnk-acid:#a7d0b2;--tulnk-cyan:#2e7d5b;font-family:var(--tulnk-ui)}
.launch-body,.landing:has(.launch-site),.auth-body{background:#f7faf6;color:#17372d}
.launch-site{--launch-green:#053d2e;--launch-line:#e4e9e4}
.launch-site h1 em,.launch-kicker,.launch-gallery-card .launch-text-link{color:#2e7d5b}
.launch-button,.annual-promo .launch-button{background:#053d2e;border-color:#053d2e;color:#f7faf6!important}
.launch-button:hover,.annual-promo .launch-button:hover{background:#2e7d5b;border-color:#2e7d5b}
.launch-preview-area.design-hero,.launch-benefits article>svg,.launch-pricing,.menu-price-note,.menu-qr-use{background:#e4e9e4}
.annual-promo{background:#edf5ee;border-color:#d4e3d7;color:#053d2e}
.auth-panel .primary-button,.app-body .primary-button{background:#053d2e;color:#f7faf6}
.auth-panel input:focus{outline-color:#2e7d5b}.auth-panel a,.auth-panel .eyebrow,.app-body .input-prefix{color:#2e7d5b}
.app-body{--bg:#f7faf6;--surface:#fff;--surface-2:#e4e9e4;--ink:#17372d;--muted:#54665a;--line:#d7e1d8;--accent:#053d2e;--accent-2:#2e7d5b;background:var(--bg);color:var(--ink)}
.app-body .sidebar{background:#053d2e}.app-body .sidebar .nav-item.active{background:#2e7d5b60;border-left-color:#a7d0b2}.app-body .sidebar .nav-item{color:#f7faf6}
:root[data-theme="dark"] .app-body{--bg:#102b22;--surface:#173b2e;--surface-2:#244b39;--ink:#f7faf6;--muted:#c0d2c4;--line:#476354;--tulnk-bone:#102b22;--tulnk-ink:#f7faf6}
.brand-signature{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#2e7d5b}
/* Controles legibles en ambos temas del espacio de trabajo. */
.auth-body{--surface:#fff;--ink:#17372d;--muted:#54665a;--accent:#053d2e;--line:#d7e1d8;color-scheme:light}
.auth-panel .stack-form{gap:16px}.auth-panel label{font-size:13px}.auth-panel .auth-note,.auth-panel label small{font-size:12px;font-weight:400;color:#54665a;line-height:1.6}
.auth-panel .slug-input{display:flex;align-items:center;gap:0;border:1px solid #c8d8ce;border-radius:10px;background:#fff;overflow:hidden;margin-top:7px}
.auth-panel .slug-input>span{padding-left:12px;white-space:nowrap;color:#315b46;font-size:14px;font-weight:500}
.auth-panel .slug-input input{min-width:0;width:100%;border:0;margin:0;padding-left:3px;border-radius:0;font-size:14px;box-shadow:none}
.auth-panel .slug-input:focus-within{outline:2px solid #2e7d5b;outline-offset:2px}.auth-panel .slug-field small{display:block;margin-top:7px}.auth-panel [data-slug-result]{color:#053d2e;font-weight:500;overflow-wrap:anywhere}
.app-body .email-verify-panel{background:#fff9e9;color:#533d0c;border-color:#dfc780}.app-body .email-verify-panel h2,.app-body .email-verify-panel p{color:inherit}
.app-body .page-intro,.app-body .setup-steps small,.app-body .preview-caption,.app-body .stack-form small{color:var(--muted)}
.app-body .visit-card>strong{color:var(--ink)}.app-body .setup-steps>a>b{background:var(--surface-2);color:var(--ink)}.app-body .setup-steps>a{border-color:var(--line)}
:root[data-theme="dark"] .app-body{color-scheme:dark}
:root[data-theme="dark"] .app-body .email-verify-panel{background:#3e3520;color:#fff2cc;border-color:#867044}
:root[data-theme="dark"] .app-body .input-prefix{color:#b5ddc3}
:root[data-theme="dark"] .app-body input:not([type=checkbox]):not([type=radio]):not([type=color]),:root[data-theme="dark"] .app-body textarea,:root[data-theme="dark"] .app-body select{background:var(--bg);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .app-body input::placeholder,:root[data-theme="dark"] .app-body textarea::placeholder{color:#adbfaf;opacity:1}
.welcome-panel>.status{margin-right:8px}
.flash-stack{width:min(420px,calc(100vw - 32px));pointer-events:none}.flash{display:flex;align-items:flex-start;gap:12px;pointer-events:auto;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;color:var(--ink)}
.flash-message{flex:1;min-width:0}.flash-close{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}.flash-close:hover{background:var(--surface-2)}
.customer-editor .phone-preview{width:100%;min-width:0;display:block}.customer-editor .live-preview{width:min(100%,360px);margin-inline:auto}.customer-editor .design-frame{width:100%;aspect-ratio:auto;overflow:hidden}.customer-editor .live-preview a{pointer-events:none}
.saved-images{display:flex;gap:16px;flex-wrap:wrap}.saved-images:empty{display:none}.saved-images figure{margin:0;display:grid;gap:6px;font-size:12px;color:var(--muted)}.saved-images img{width:72px;height:72px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
[data-mobile-preview]:empty{display:none}
@media(max-width:1180px){.customer-editor [data-mobile-preview] .phone-preview{position:static;margin:0}.customer-editor .panel{padding:20px}.customer-editor .template-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-height:480px}}
@media(max-width:420px){.customer-editor .panel{padding:16px}.customer-editor .two-cols{grid-template-columns:1fr}.customer-editor h2{font-size:20px}.auth-panel{padding:24px 20px}}
/* El fondo del perfil cubre también el cambio de alto de la barra del navegador móvil. */
html:has(.design-public){background:#263b37;overscroll-behavior-y:none}.public-body:has(.design-public){min-height:100dvh;background:#263b37}
.design-public,.design-public .design-canvas{min-height:100dvh}.design-public .design-content{min-height:max(100dvh,178cqw)}
.design-public .composition-card .design-content{min-height:max(calc(100dvh - 40cqw),140cqw)}.design-public .composition-menu .design-content{min-height:max(calc(100dvh - 16cqw),162cqw)}
.status-body{background:#f7faf6!important;color:#17372d!important;font-family:TuLinkPoppins,Poppins,sans-serif;--accent:#053d2e;--surface:#fff;--ink:#17372d}
.status-page{min-height:100dvh;padding:32px 20px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:36px;text-align:center;background:radial-gradient(ellipse at 50% 38%,#e7f1e6,transparent 60%)}
.status-brand{display:block}.status-card{width:min(100%,560px);margin-block:auto;padding:36px 24px}.status-art{width:100px;height:100px;margin:0 auto 28px;display:grid;place-items:center;border-radius:32px;background:#e3eee2;color:#2e7d5b;transform:rotate(-7deg);box-shadow:12px 12px 0 #d0e3d333}.status-art svg{width:44px;height:44px;transform:rotate(7deg)}
.status-kicker{font-size:11px;letter-spacing:.12em;color:#426e54;font-weight:600}.status-card h1{font-size:clamp(27px,5vw,38px);line-height:1.2;letter-spacing:-.03em;margin:16px 0}.status-card p{color:#54665a;font-size:15px;line-height:1.8;margin:0 0 28px}.status-card .primary-button{background:#053d2e;color:#fff}.status-page footer{font-size:12px;color:#54665a}
@media(max-width:640px){.launch-nav .brand-logo{width:120px}.launch-actions{column-gap:8px}.launch-actions .launch-button,.launch-actions .launch-text-link{font-size:11px}}
/* Los contenidos largos deben ajustarse a la columna del panel. */
.app-body .app-main { min-width: 0; max-width: 100%; }
.app-body .topbar { flex-wrap: wrap; }
.app-body .topbar > *, .app-body .panel, .app-body .customer-home > * { min-width: 0; }
.app-body .topbar-actions { max-width: 100%; }

/* Espacio del cliente: navegación corta y herramientas sin repetir el logo. */
.customer-workspace .sidebar--customer nav{display:flex;flex-direction:column;gap:12px}
.customer-nav-primary,.customer-nav-secondary{display:flex;flex-direction:column;gap:6px}
.customer-logout{margin:0}.customer-logout button{width:42px;height:42px;padding:10px;border:0;border-radius:10px;color:#f7faf6;background:transparent;cursor:pointer;display:grid;place-items:center}
.customer-logout button:hover{background:#2e7d5b60}.customer-logout svg{width:20px;height:20px}
.customer-workspace .topbar-actions{display:flex;flex-wrap:nowrap;gap:6px;width:auto}
.customer-workspace .topbar-actions>.ghost-button{flex:0 0 36px;width:36px;height:36px;padding:8px;border-radius:10px}
.customer-workspace .topbar-actions svg{width:18px;height:18px}
.menu-trial-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);font-size:12px}
.menu-trial-notice span{min-width:0}.menu-trial-notice small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.menu-trial-notice a{font-weight:600;white-space:nowrap}
@media(max-width:900px){
 .customer-workspace .sidebar--customer{padding:6px 10px}
 .customer-workspace .sidebar--customer nav{gap:4px}
 .customer-nav-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 40px;align-items:center;gap:4px}
 .customer-workspace .customer-nav-primary .nav-item{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:48px;padding:6px 2px;border:0;border-radius:8px;font-size:12px;line-height:1.2;white-space:nowrap}
 .customer-workspace .customer-nav-primary .nav-item svg{width:18px;height:18px}
 .customer-logout button{width:40px;height:44px}
 .customer-nav-secondary{display:flex;flex-direction:row;justify-content:center;gap:12px;border-top:1px solid #ffffff20}
 .customer-workspace .customer-nav-secondary .nav-item{padding:6px 4px;border:0;font-size:11px;gap:5px;min-width:0}
 .customer-workspace .customer-nav-secondary .nav-item svg{width:14px;height:14px}
 .customer-workspace .app-main{padding:14px 12px 28px}
 .customer-workspace .topbar{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px;margin-bottom:14px}
 .customer-workspace .topbar h1{font-size:22px;line-height:1.2;margin:0}
 .customer-workspace .panel{padding:18px}.customer-workspace .panel h2{font-size:22px}
}
@media(max-width:340px){.customer-workspace .customer-nav-primary .nav-item{font-size:11px}}
.app-body .panel a { overflow-wrap: anywhere; }
