#soma-launcher{font:14px/1.5 Quicksand,Arial,sans-serif;background:#110b18;color:#fff;border-radius:12px;overflow:hidden;color-scheme:dark}
#soma-launcher *{box-sizing:border-box}#soma-launcher [hidden]{display:none!important}
#soma-launcher .sl-home{background:linear-gradient(105deg,#08091e 0%,#260b19 36%,#700d0b 100%);min-height:600px;display:flex;flex-direction:column}
#soma-launcher .sl-brand{margin:0;padding:15px 30px;border-bottom:1px solid #ffffff15;background:#ffffff03}
#soma-launcher .sl-brand img{width:248px;max-width:100%;height:68px;object-fit:cover;object-position:center;display:block;border-radius:4px}
#soma-launcher .sl-content{padding:32px 42px 70px;flex:1}
#soma-launcher .sl-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:12px}
#soma-launcher h2{margin:0;font-size:20px;font-weight:500;color:#f0e9e8}
#soma-launcher .sl-corp{font-size:var(--soma-text-control, 16px);letter-spacing:.15em;color:#d0b8b7}
#soma-launcher .sl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:30px;align-items:start}
#soma-launcher .sl-tile{font:inherit;color:#fff;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:17px;padding:9px 0 16px;cursor:pointer;max-width:180px;border-radius:15px}
#soma-launcher .sl-icon{width:126px;height:126px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f5de80,#dbbb2b 65%,#b28b23);color:#3d2c12;border:1px solid #f3de85;border-radius:29px;box-shadow:0 14px 32px #0005,inset 0 1px 0 #fff8;transition:transform .15s ease}
#soma-launcher .sl-icon svg{width:66px!important;height:66px!important;stroke-width:1.4}
#soma-launcher .sl-tile:hover .sl-icon{transform:translateY(-4px)}
#soma-launcher .sl-name{font-size:18px;font-weight:600;letter-spacing:.02em}
#soma-launcher .sl-app{background:light-dark(#f5f5f2,#20211e);color:light-dark(#292b25,#f2f2e9);color-scheme:light dark}
#soma-launcher .sl-bar{padding:14px 22px;display:flex;justify-content:space-between;align-items:center;gap:14px;background:#180c1b;color:#fff;flex-wrap:wrap}
#soma-launcher .sl-back{font:inherit;padding:9px 14px;border:1px solid #765a63;color:#fff;background:transparent;border-radius:7px;cursor:pointer}
#soma-launcher .sl-caption{font-size:var(--soma-text-secondary, 14px);color:#ded2d4}
#soma-launcher #tpo-proposal .tpo-header,#soma-launcher #tpo-proposal .tpo-foot,#soma-launcher #tpo-switch{display:none!important}
#soma-launcher #tpo-proposal{border-radius:0}
#soma-launcher .sl-footer{padding:18px 24px;text-align:center;font-size:var(--soma-text-secondary, 14px);color:#d9c6c9;border-top:1px solid #ffffff12}
#soma-launcher .sl-ingots{position:relative;display:block;width:94px;height:76px}
#soma-launcher .sl-ingot{position:absolute;width:48px;height:33px;background:#65460e;clip-path:polygon(19% 0,81% 0,100% 78%,90% 100%,10% 100%,0 78%)}
#soma-launcher .sl-ingot:before{content:"";position:absolute;inset:3px 4px 10px;background:linear-gradient(145deg,#fff0a6,#d9a824);clip-path:polygon(17% 0,83% 0,100% 100%,0 100%)}
#soma-launcher .sl-ingot:after{content:"";position:absolute;left:5px;right:5px;bottom:3px;height:6px;background:#be8919;clip-path:polygon(0 0,100% 0,90% 100%,10% 100%)}
#soma-launcher .sl-upper{top:4px;left:23px}#soma-launcher .sl-left{left:0;bottom:5px}#soma-launcher .sl-right{right:0;bottom:5px}
@media(max-width:600px){#soma-launcher .sl-brand{padding:12px 20px}.sl-brand img{width:220px;height:62px}#soma-launcher .sl-content{padding:20px 24px 70px}#soma-launcher .sl-home{min-height:570px}#soma-launcher .sl-heading{align-items:start;flex-direction:column}#soma-launcher .sl-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:18px}#soma-launcher .sl-icon{width:112px;height:112px}#soma-launcher .sl-icon svg{width:60px!important;height:60px!important}}
@media(prefers-reduced-motion:reduce){#soma-launcher .sl-icon{transition:none}}

html,body{margin:0;min-height:100%;background:#110b18}#soma-launcher{border-radius:0;font-family:Arial,sans-serif}#soma-launcher .sl-home{min-height:100vh}#soma-launcher .sl-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.account{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.button{font:inherit;padding:12px 20px;border-radius:8px;border:1px solid #dbc16e;background:#dbbb2b;color:#281b15;cursor:pointer}.button:disabled{opacity:.5;cursor:wait}.subtle{background:transparent;color:#f7efe6;border-color:#ffffff55}#status{max-width:650px;padding:18px;border:1px solid #dbc16e66;border-radius:10px;line-height:1.6}#welcome{max-width:560px;padding:50px 0 25px}#welcome h1{font-size:28px;font-weight:500}#welcome p,.muted{color:#decdce;line-height:1.7}#workspace{max-width:720px}#workspace h1{font-size:26px;font-weight:500}button:focus-visible{outline:3px solid white;outline-offset:5px}

/* Marca integrada: archivo oficial transparente, sin recorte ni tarjeta. */
#soma-launcher .sl-brand{padding:20px 42px;min-height:88px;background:transparent;border-bottom:1px solid #ffffff12;gap:24px}
#soma-launcher .sl-brand img{width:210px;height:auto;max-width:100%;object-fit:contain;border-radius:0;flex-shrink:0}
@media(max-width:600px){#soma-launcher .sl-brand{padding:18px 24px;gap:18px}#soma-launcher .sl-brand img{width:180px;height:auto}#soma-launcher .account{font-size:var(--soma-text-control, 16px);gap:12px}}

/* Roles del proceso: resumen primero, asignaciones a demanda. */
.roles-tabs{display:flex;gap:1.2rem;border-bottom:1px solid #d8ded4;margin:1rem 0 1.5rem}.roles-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:.8rem .25rem;color:#587067;font:inherit;font-weight:600;cursor:pointer}.roles-tabs button[aria-current=page]{color:#20554a;border-bottom-color:#b58c38}.roles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.roles-card{background:#fff;border:1px solid #dce2d8;border-radius:16px;padding:1.3rem;display:flex;align-items:flex-start;flex-direction:column;gap:.6rem}.roles-card h2{font-size:1.05rem;margin:0}.roles-card p{color:#60756d;font-size:.9rem;margin:0}.roles-count{font-size:.8rem;border-radius:20px;background:#edf2e9;padding:.25rem .65rem;color:#385e50}.roles-card ul{padding-left:1.1rem;margin:.1rem 0;font-size:.88rem}.roles-card button{margin-top:auto}.roles-editor{margin-top:1.5rem;max-width:760px}.roles-editor fieldset{border:0;padding:0;margin:1rem 0}.roles-editor legend{font-weight:600;margin-bottom:.8rem}.roles-person{display:flex!important;align-items:center;gap:.8rem;padding:.7rem;border-bottom:1px solid #edf0e9}.roles-person input{width:20px!important;height:20px;flex:0 0 20px}.roles-person small{display:block;color:#60756d;font-size:.8rem}.roles-actions{display:flex;gap:.6rem;margin-top:1rem}.roles-editor textarea{min-height:72px}.roles-editor #role-lookup{display:flex;gap:.7rem;align-items:end}.roles-editor #role-lookup label{flex:1}@media(max-width:600px){.roles-grid{grid-template-columns:1fr}.roles-editor #role-lookup{display:block}.roles-tabs{gap:.8rem}}
