:root{font-family:"Segoe UI",Arial,sans-serif;color:#222833;background:#f5f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible{outline:3px solid #d45a94;outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;min-height:660px;display:flex;flex-direction:column;background:#191d25;color:#f6f6f7;border-right:1px solid #2f333c;z-index:5}
.brand-block{padding:22px 22px 0}
.brand-logo{display:block;width:208px;height:auto;object-fit:contain;border-radius:5px;background:#fff}
.brand-block p{margin:12px 0 34px;padding-left:7px;color:#a5aab4;font-size:.76rem;letter-spacing:.11em;text-transform:uppercase}
.side-nav{display:grid;gap:7px;padding:0 14px}
.nav-link{width:100%;height:48px;display:flex;gap:13px;align-items:center;padding:0 16px;border:0;border-radius:11px;background:transparent;color:#aeb3bd;text-align:left;font-size:.94rem;font-weight:600;transition:background .2s,color .2s}
.nav-link:hover{background:#292e38;color:#fff}
.nav-link.is-active{background:linear-gradient(105deg,#af1e62,#7d1c50);color:#fff;box-shadow:0 7px 19px #0003}
.nav-link svg,.preview-access svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sidebar-bottom{margin-top:auto;padding:20px 14px 24px}
.sidebar-note{display:flex;gap:11px;align-items:flex-start;padding:18px 14px 22px;border-bottom:1px solid #353943;color:#a7abb3;font-size:.82rem;line-height:1.55}
.note-mark{font-size:1.1rem;color:#d64082;line-height:1.1}
.preview-access{width:100%;display:flex;gap:12px;align-items:center;margin-top:12px;padding:12px 15px;color:#e2e4e8;background:transparent;border:0;border-radius:10px;font-size:.88rem;text-align:left}
.preview-access:hover{background:#2a2e37}
.main-content{min-width:0}
.topbar{height:74px;display:flex;align-items:center;gap:16px;padding:0 clamp(24px,4vw,56px);border-bottom:1px solid #e8eaee;background:#fff}
.topbar-spacer{flex:1}
.mobile-brand{display:none}
.demo-badge{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border:1px solid #ebdde5;border-radius:99px;background:#fdf5f9;color:#8b2459;font-size:.79rem;font-weight:700;white-space:nowrap}
.demo-badge span{width:7px;height:7px;border-radius:50%;background:#c12a70}
.user-chip{display:flex;gap:10px;align-items:center;padding:0 0 0 17px;border:0;border-left:1px solid #e1e4e8;background:transparent;color:#3d4450;font-size:.88rem;font-weight:600;white-space:nowrap}
.user-avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#ece1e9;color:#8e2859;font-size:.73rem;font-weight:800}
.content-wrap{width:min(100%,1420px);margin:auto;padding:34px clamp(24px,4vw,56px) 20px}
.welcome{position:relative;min-height:188px;display:flex;align-items:center;overflow:hidden;padding:31px 38px;border-left:4px solid #bd2a70;border-radius:16px;background:#292e35;color:#fff;box-shadow:0 9px 24px #171a2610}
.welcome>div:first-child{position:relative;z-index:1;max-width:620px}
.eyebrow{margin:0 0 10px;color:#bb2c70;font-size:.71rem;font-weight:800;letter-spacing:.15em}
.welcome .eyebrow{color:#f198be}
.welcome h1{margin:0 0 9px;font-size:clamp(1.7rem,2.7vw,2.45rem);line-height:1.15;letter-spacing:-.035em;font-weight:750}
.intro{max-width:610px;margin:0;color:#d1d3d9;font-size:.95rem;line-height:1.6}
.applications{scroll-margin-top:30px;margin-top:34px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section-head h2{margin:0;font-size:1.55rem;letter-spacing:-.028em;line-height:1.2}
.section-head .eyebrow{margin-bottom:6px}
.app-count{color:#7b828d;font-size:.84rem;white-space:nowrap}
.toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}
.search-field{position:relative;display:flex;align-items:center;min-width:220px;width:min(360px,100%)}
.search-field svg{position:absolute;left:15px;width:19px;height:19px;fill:none;stroke:#8a9099;stroke-width:1.9;stroke-linecap:round}
.search-field input{width:100%;height:44px;padding:0 14px 0 43px;border:1px solid #dee1e6;border-radius:10px;background:#fff;color:#222833;font-size:.87rem;outline:none;transition:border-color .2s,box-shadow .2s}
.search-field input:focus{border-color:#b62c71;box-shadow:0 0 0 3px #c423711a}
.search-field input::placeholder{color:#9b9fa8}
.filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.filter{flex:none;padding:9px 14px;border:1px solid transparent;border-radius:9px;background:transparent;color:#7b818c;font-size:.84rem;font-weight:650;white-space:nowrap}
.filter:hover{background:#e9ebef;color:#313641}
.filter.is-selected{border-color:#ebd7e1;background:#f9eaf1;color:#9c275d}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:18px}
.tool-card{min-width:0;min-height:360px;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid #e4e6ea;border-radius:16px;background:#fff;box-shadow:0 7px 22px #252c3809;transition:transform .22s,border-color .22s,box-shadow .22s}
.tool-card:hover{transform:translateY(-4px);border-color:#d8c7d1;box-shadow:0 15px 30px #252c3815}
.card-media{flex:none;width:100%;height:180px;overflow:hidden;background:#e9ecef}
.card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.card-content{min-width:0;flex:1;display:flex;flex-direction:column;padding:16px 18px 15px}
.category{align-self:flex-start;padding:7px 9px;border-radius:6px;background:#f7eef3;color:#a02b64;font-size:.72rem;font-weight:700}
.card-copy{flex:1;padding-top:12px}
.card-copy h3{margin:0 0 8px;font-size:1.34rem;letter-spacing:-.02em}
.card-copy p{margin:0;color:#6c7380;font-size:.84rem;line-height:1.55}
.card-action{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:17px;padding:15px 0 0;border:0;border-top:1px solid #eceef1;background:transparent;color:#a42a65;font-size:.85rem;font-weight:750;text-align:left}
.card-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.card-action:hover svg{transform:translateX(4px)}
.empty-state{padding:45px 20px;border:1px dashed #d8dce2;border-radius:17px;text-align:center;background:#fff}
.empty-state>span{display:block;color:#b13172;font-size:2rem}.empty-state h3{margin:5px 0;font-size:1.1rem}.empty-state p{margin:0;color:#737b86;font-size:.88rem}.empty-state button{margin-top:17px;padding:10px 16px;border:0;border-radius:8px;background:#a62b67;color:#fff;font-size:.85rem;font-weight:700}
.future-note{display:flex;gap:16px;align-items:center;margin-top:23px;padding:17px 20px;border:1px dashed #d9dce2;border-radius:14px;background:#f9fafb}
.future-icon{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;background:#f1e3eb;color:#ae2b6c;font-size:1.3rem}
.future-note div{display:flex;flex-direction:column;gap:3px}.future-note strong{font-size:.83rem;color:#424855}.future-note div span{font-size:.8rem;color:#7c838d;line-height:1.4}
.page-footer{display:flex;justify-content:space-between;gap:16px;margin-top:35px;padding:18px 0 0;border-top:1px solid #e5e8ec;color:#969da7;font-size:.75rem}
.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}
.login-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:26px clamp(32px,5vw,80px) 65px;background:#1b1e24;color:#fff}
.login-brand img{position:relative;z-index:1;width:min(295px,80%);height:auto;object-fit:contain;border-radius:6px;background:#fff}
.login-brand-copy{position:relative;z-index:1;max-width:540px}.login-line{display:block;width:46px;height:4px;margin-bottom:25px;background:#d43b80;border-radius:9px}.login-brand-copy h2{margin:0 0 16px;font-size:clamp(2rem,3.8vw,3.8rem);line-height:1.12;letter-spacing:-.045em}.login-brand-copy p{max-width:400px;color:#c9cbd1;font-size:1rem;line-height:1.6}
.login-panel{display:flex;flex-direction:column;padding:38px clamp(30px,6vw,95px) 33px}.back-link{align-self:flex-start;border:0;background:transparent;color:#8a325f;font-size:.86rem;font-weight:700}.back-link:hover{text-decoration:underline}.login-form-wrap{width:min(100%,410px);margin:auto}.login-kicker{font-size:.75rem;letter-spacing:.16em;color:#ae2b6c;font-weight:800}.login-form-wrap h1{margin:13px 0 8px;font-size:clamp(2rem,2.7vw,2.7rem);letter-spacing:-.045em;line-height:1.1}.login-form-wrap>p{margin:0 0 36px;color:#818893;font-size:.96rem}.login-form-wrap form{display:grid;gap:21px}.demo-label{display:grid;gap:9px;color:#48505b;font-size:.86rem;font-weight:700}.demo-input{display:flex;align-items:center;width:100%;height:48px;padding:0 14px;border:1px solid #dfe2e7;border-radius:9px;background:#fff;color:#a7adb6;font-size:.93rem;font-weight:400}.login-form-wrap form button{display:flex;justify-content:space-between;align-items:center;height:49px;margin-top:4px;padding:0 17px;border:0;border-radius:9px;background:#af286a;color:#fff;font-size:.91rem;font-weight:750}.login-form-wrap form button:hover,.dialog-button:hover{background:#932055}.login-form-wrap form button span{font-size:1.3rem}.login-form-wrap small{display:block;margin-top:18px;color:#8d949d;font-size:.75rem;line-height:1.5}.login-footer{color:#a2a8b0;font-size:.75rem}
.app-dialog{width:min(440px,calc(100vw - 32px));padding:29px;border:1px solid #e2e5e9;border-radius:18px;box-shadow:0 30px 80px #1316204d;color:#252b35}.app-dialog::backdrop{background:#1519239c;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:14px;right:18px;border:0;background:transparent;color:#89909a;font-size:1.7rem;line-height:1}.dialog-kicker{color:#b52f71;font-size:.7rem;font-weight:800;letter-spacing:.14em}.app-dialog h2{margin:12px 0 8px;font-size:1.5rem}.app-dialog p{margin:0;color:#69717d;font-size:.9rem;line-height:1.5}.dialog-info{margin:22px 0;padding:14px 16px;border-radius:9px;background:#f7f1f5;color:#7b3b5c;font-size:.85rem;line-height:1.5}.dialog-button{width:100%;padding:12px;border:0;border-radius:9px;background:#af286a;color:#fff;font-size:.88rem;font-weight:750}
@media(max-width:1320px){.toolbar{align-items:flex-start}.filters{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:1200px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.brand-block{padding-left:10px;padding-right:10px}.brand-logo{width:185px}.brand-block p{font-size:.67rem}.content-wrap{padding:26px 24px 20px}.topbar{padding:0 24px}.welcome{padding:27px}.toolbar{flex-direction:column;align-items:stretch}.search-field{width:100%}.filters{justify-content:flex-start;flex-wrap:nowrap}.cards{grid-template-columns:1fr}}
@media(max-width:650px){.app-shell{display:block}.sidebar{display:none}.topbar{height:72px;padding:0 17px;gap:10px}.mobile-brand{display:block;flex:none;width:95px;height:64px;overflow:hidden;background:#fff}.mobile-brand img{display:block;width:95px;height:auto;object-fit:contain}.demo-badge{padding:7px 9px;font-size:.68rem}.user-chip{padding-left:8px}.user-name{display:none}.user-avatar{width:30px;height:30px}.content-wrap{padding:18px 16px}.welcome{min-height:185px;padding:25px;border-radius:15px}.welcome h1{font-size:1.85rem}.intro{font-size:.88rem}.applications{margin-top:29px}.section-head h2{font-size:1.4rem}.toolbar{gap:13px}.cards{gap:12px}.tool-card{min-height:360px}.card-content{padding:18px}.card-action{margin-top:18px}.future-note{margin-top:15px}.page-footer{margin-top:23px}.login-screen{grid-template-columns:1fr}.login-brand{min-height:210px;padding:14px 24px 20px}.login-brand img{width:160px;height:auto}.login-brand-copy h2{font-size:1.6rem}.login-brand-copy p{display:none}.login-line{margin-bottom:13px}.login-panel{min-height:calc(100vh - 210px);padding:22px 24px}.login-form-wrap{margin:35px auto}.login-footer{margin-top:auto}}
@media(max-width:390px){.demo-badge{font-size:0;padding:8px}.demo-badge span{margin:0}.welcome h1{font-size:1.65rem}.intro{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tool-card,.card-action svg{transition:none}}
/* PWA: botón «Instalar app» (solo visible cuando el navegador permite instalar) */
.install-app{display:inline-flex;gap:7px;align-items:center;padding:8px 12px;border:1px solid #ebd7e1;border-radius:99px;background:#fff;color:#a42a65;font-size:.79rem;font-weight:700;white-space:nowrap}
.install-app:hover{background:#f9eaf1}
.install-app svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media(max-width:850px){.install-app{padding:7px}.install-app span{display:none}}
