:root{font-family:Arial,Helvetica,sans-serif;color:#191919;background:#f5f5f6;font-size:14px;--orange:#ff6903;--accent:#ff6200;--text:#191919;--muted:#767d84;--border:#e8e9eb;--panel:#fff;--soft:#f8f9fa;--green:#12ae7a;--blue:#327af0;--amber:#e39704;--red:#e95a56;--purple:#8965e8}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #252525;outline-offset:2px}.app{display:flex;min-height:100vh;max-width:1920px;margin:auto;background:#fff;box-shadow:0 0 16px #0001}.sidebar{width:222px;flex:none;background:linear-gradient(180deg,#ff6903 0%,#ff8611 100%);color:#fff;padding:18px 12px;position:sticky;top:0;height:100vh;overflow:auto}.logo{height:124px;display:grid;place-items:center;margin-bottom:8px}.logo img{width:112px;height:auto;max-height:104px;object-fit:contain;display:block;mix-blend-mode:normal;filter:none;background:transparent}.navlink{display:flex;align-items:center;gap:12px;height:42px;padding:0 14px;border-radius:25px;font-size:13px;font-weight:700;color:#fff}.navlink:hover{background:#ffffff25}.navlink.on{background:#ffffff2a}.navicon{width:18px;height:18px;display:inline-grid;place-items:center;color:#fff;flex:none}.navicon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sidenav-foot{font-size:10px;color:#fff9;line-height:1.5;margin:35px 14px}.workspace{flex:1;min-width:0}.topbar{height:73px;border-bottom:1px solid #ededee;display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#fff;gap:18px}.top-actions{display:flex;align-items:center;gap:16px}.status-select{border:0;border-radius:11px;background:var(--orange);color:#fff;padding:12px 15px;font-weight:700;white-space:nowrap}.global-search{border:0;background:#f1f2f4;padding:10px 14px;border-radius:12px;width:240px;color:#8f969e;text-align:left;font-size:12px;display:flex;align-items:center;gap:9px}.global-search svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-button{width:36px;height:36px;padding:0;border-radius:9px}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.status-caret{font-size:12px;opacity:.85}.profile{text-align:right;line-height:1.05}.profile b{display:block;font-size:13px}.profile small{color:#9aa0a8}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#191919;color:#fff;font-size:11px;font-weight:700}.main{padding:34px 35px 95px;background:#fff;min-height:calc(100vh - 73px)}.eyebrow{font-size:11px;color:#a2a8af;margin-bottom:8px}.title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 27px}.title-row h1{font-size:27px;letter-spacing:-.035em;margin:0 0 5px}.subtitle{font-size:12px;color:#737b83;line-height:1.45;margin:0}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{border:1px solid #d9dce0;border-radius:8px;background:#fff;color:#24272b;padding:10px 15px;font-size:12px;font-weight:700;min-height:36px;display:inline-flex;gap:6px;align-items:center;justify-content:center}.btn:hover{background:#f4f5f6}.btn.cta{background:var(--accent);border-color:var(--accent);color:#fff}.btn.cta:hover{background:#ea5900}.btn.black{background:#202326;color:#fff;border-color:#202326}.btn.subtle{border:0;background:#f3f4f5}.btn.flat{border:0;background:transparent;color:#4e5761}.btn.small{font-size:10px;padding:7px 9px;min-height:27px}.btn:disabled{opacity:.48;cursor:default}.card{border:1px solid #e9eaec;border-radius:11px;background:#fff;box-shadow:0 2px 6px #1d293512;padding:22px;margin-bottom:17px}.card h2{font-size:17px;margin:0 0 5px;letter-spacing:-.02em}.card h3{font-size:13px;margin:0 0 10px}.card p.muted{font-size:11px;color:#838b93}.card.tight{padding:0;overflow:hidden}.card.soft{background:#f8f8f9}.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.g5{grid-template-columns:repeat(5,minmax(0,1fr))}.span2{grid-column:span 2}.metric{border:1px solid #e9eaec;border-radius:12px;box-shadow:0 2px 5px #1111;min-height:125px;padding:21px;background:#fff;display:flex;gap:14px;align-items:flex-start}.bubble{width:35px;height:35px;flex:none;border-radius:50%;display:grid;place-items:center;background:#fff0e5;color:var(--accent)}.bubble svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bubble.green{background:#daf9ec;color:var(--green)}.bubble.red{background:#ffe6e7;color:var(--red)}.bubble.blue{background:#e5ebff;color:var(--blue)}.bubble.purple{background:#eee7ff;color:var(--purple)}.metric small{color:#8c939a;font-size:11px}.metric strong{font-size:25px;letter-spacing:-.035em;display:block;margin:5px 0 3px}.metric span.note{font-size:10px;color:#9ca3aa}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:17px 17px;border-bottom:1px solid #eeeff0}.input,.select,.textarea{border:1px solid #e8eaed;background:#fff;border-radius:6px;min-height:36px;padding:9px 11px;color:#333;width:100%;font-size:12px}.input:disabled,.input[readonly]{background:#f5f6f7;color:#777}.textarea{height:79px;resize:vertical}.input.search{width:min(320px,100%);background:#f8f9fa}.filters .grow{flex:1}.tablewrap{overflow:auto}.table{border-collapse:collapse;width:100%;min-width:680px;text-align:left}.table th{font-size:10px;color:#757d85;font-weight:700;padding:11px 16px;white-space:nowrap}.table td{font-size:11px;padding:11px 16px;color:#4a5056;vertical-align:middle;border-top:1px solid #f1f2f4}.table tbody tr:hover{background:#fafbfc}.table a{font-weight:700;color:#252a2f}.table .code{color:#252a2f;font-weight:700}.table-foot{display:flex;justify-content:flex-end;gap:7px;align-items:center;padding:14px 18px}.pagebtn{border:0;background:#f5f6f7;width:29px;height:29px;border-radius:5px;font-size:11px}.pagebtn.active{background:var(--accent);color:#fff}.pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:30px;white-space:nowrap;background:#f0f1f2;color:#5b6670;font-size:9px;font-weight:700;line-height:1}.pill.green{background:#e5faf0;color:#00a574}.pill.blue{background:#e8f0ff;color:#3478e5}.pill.red{background:#ffe9ea;color:#e64e51}.pill.amber{background:#fff4dd;color:#df8b00}.pill.purple{background:#f0ebff;color:#865ed8}.pill.orange{background:#fff1e7;color:#db6100}.line-row{display:flex;align-items:center;gap:12px;padding:9px 0;font-size:12px}.line-row .line-name{width:110px;color:#8c939b}.track{height:14px;background:#f0f1f3;border-radius:12px;flex:1;overflow:hidden}.track i{display:block;height:100%;background:#66717c;border-radius:12px}.track i.hot{background:var(--accent)}.activity{display:flex;align-items:center;gap:10px;padding:10px 0}.dot{height:9px;width:9px;border-radius:50%;background:var(--green);flex:none}.activity b{font-size:12px}.activity small{display:block;color:#aaa;font-size:10px}.activity .pill{margin-left:auto}.tabs{display:flex;border-bottom:1px solid #e9eaec;gap:17px;overflow:auto;white-space:nowrap;margin-bottom:19px}.tab{border:0;background:none;color:#8c939a;font-size:11px;font-weight:600;padding:12px 2px;border-bottom:2px solid transparent}.tab.current{color:var(--accent);border-color:var(--accent)}.formgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.field label{display:block;color:#808991;font-size:10px;margin:0 0 6px}.field small{display:block;color:#a0a6ad;font-size:10px;margin-top:5px}.section-label{font-size:10px;font-weight:800;letter-spacing:.06em;color:#ef760f;text-transform:uppercase;margin:12px 0 14px}.hero-product{padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.hero-product .sku{font-size:18px;font-weight:700}.hero-product .metadata{display:flex;gap:30px;color:#777e86;font-size:10px}.score{color:#049a74;font-weight:800;font-size:22px}.scorebar{background:#e6e9ed;height:8px;border-radius:9px;overflow:hidden}.scorebar i{display:block;background:#13b981;height:100%}.row-item{padding:13px 0;border-bottom:1px solid #f0f1f2;display:flex;justify-content:space-between;align-items:center;gap:13px;font-size:11px}.row-item:last-child{border:0}.row-item small{color:#a1a7ad;display:block}.row-item strong{font-size:12px}.hint{padding:10px 12px;border-radius:7px;background:#eef5ff;color:#416da4;font-size:11px;line-height:1.45}.hint.warning{background:#fff8ea;color:#9d680a}.hint.danger{background:#ffeff0;color:#a33d3d}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.right{justify-content:flex-end}.stepper{display:flex;gap:5px;background:#fff;margin:7px 0 28px}.step{flex:1;text-align:center;padding:11px 4px;border-radius:5px;background:#f1f2f3;color:#777;font-size:11px}.step.on{background:var(--accent);color:white;font-weight:700}.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.comparebox{background:#fff;border:1px solid #e7e9ec;border-radius:9px;padding:17px;min-height:160px}.comparebox.ai{background:#fbf9ff;border-color:#e9dffb}.comparebox small{color:#8c939a}.comparebox strong{display:block;font-size:14px;margin:16px 0 12px}.source-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.source-card{border:1px solid #eceef0;border-radius:9px;padding:14px;min-height:110px}.source-card.chosen{background:#13ae7b;color:#fff;border-color:#13ae7b}.source-card small{display:block;margin-bottom:10px}.source-card strong{display:block;font-size:17px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.report-tile{border:1px solid #e9eaec;box-shadow:0 2px 5px #1111;border-radius:9px;padding:20px;min-height:125px;display:flex;flex-direction:column}.report-tile .btn{margin-top:auto;align-self:flex-end}.report-tile strong{font-size:13px}.report-tile small{color:#9aa2aa;font-size:10px}.media-placeholder{height:100px;display:grid;place-items:center;color:#929aa2;background:#f7f8f9;border:1px dashed #dfe3e7;border-radius:9px}.media-placeholder svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.pager{position:fixed;bottom:0;left:max(calc((100vw - 1920px)/2 + 222px),222px);right:0;max-width:1698px;height:48px;background:#ffffffed;border-top:1px solid #e8eaec;display:flex;align-items:center;justify-content:space-between;padding:0 35px;backdrop-filter:blur(5px);z-index:10}.pager small{color:#8b939b;font-size:10px}.pager .btn{min-height:28px;padding:6px 9px}.overlay{position:fixed;inset:0;background:#15151584;display:flex;justify-content:flex-end;z-index:30}.drawer{background:#fff;width:min(590px,100%);height:100%;overflow:auto;padding:24px;box-shadow:-10px 0 35px #2223}.drawer h2{font-size:19px}.drawer-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.drawer-list a{padding:10px;border:1px solid #eceef0;border-radius:7px;font-size:11px}.drawer-list a:hover{border-color:var(--accent)}.drawer-head{display:flex;justify-content:space-between;align-items:center}.toast{position:fixed;bottom:62px;right:28px;z-index:40;background:#23272a;color:#fff;padding:11px 17px;border-radius:7px;box-shadow:0 8px 20px #0002;font-size:12px}.login{display:grid;grid-template-columns:50% 50%;min-height:100vh;background:#fff}.login-left{background:#161616;color:#fff;display:flex;align-items:center;justify-content:center;padding:50px}.login-poster{width:min(510px,90%);text-align:center}.login-poster img{width:142px;height:auto;background:transparent;border-radius:0;display:block;margin:0 auto}.login-poster h1{font-size:29px;font-weight:500;line-height:1.12;margin:26px auto;max-width:410px}.login-poster p{font-size:11px;color:#bbb}.login-right{display:flex;align-items:center;justify-content:center;padding:35px}.login-panel{width:min(390px,100%)}.login-panel h2{font-size:25px;margin:0 0 8px}.login-panel .field{margin:20px 0}.login-panel .btn{width:100%;margin-top:10px}.login-panel .subtitle{text-align:center;margin-top:17px}.responsive-note{color:#a4aab0;font-size:10px}.empty-state{text-align:center;padding:55px 20px}.empty-state h2{font-size:16px}.empty-state p{font-size:12px;color:#9ca3a9}@media(max-width:1300px){.sidebar{width:195px}.main{padding:28px}.pager{left:195px}.g5{grid-template-columns:repeat(3,1fr)}.formgrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:1050px){.sidebar{width:65px}.logo img{width:48px;max-width:100%;height:auto;max-height:54px;object-fit:contain}.logo{height:75px}.navlink span:last-child,.sidenav-foot{display:none}.navlink{justify-content:center;padding:0}.pager{left:65px}.g4{grid-template-columns:repeat(2,1fr)}.source-cards{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{position:fixed;z-index:25;transform:translateX(-100%)}.sidebar.open{transform:none;width:200px}.sidebar.open .navlink span:last-child{display:inline}.topbar{padding:0 16px}.main{padding:20px 16px 75px}.g2,.g3,.g4,.g5,.report-grid,.comparison,.formgrid{grid-template-columns:1fr}.source-cards{grid-template-columns:repeat(2,1fr)}.pager{left:0;padding:0 12px}.global-search{width:160px}.profile{display:none}.title-row{flex-direction:column}.login{grid-template-columns:1fr}.login-left{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Formularios y filtros en panel lateral */
body.drawer-open{overflow:hidden}.overlay{background:rgba(21,21,21,.48)}.drawer{width:min(590px,100%);display:flex;flex-direction:column;gap:18px;animation:drawer-in .2s ease-out}.drawer.drawer-wide{width:min(720px,100%)}.drawer-head{position:sticky;top:-24px;background:#fff;z-index:2;padding:15px 0 12px;border-bottom:1px solid var(--border);min-height:58px}.offcanvas-form{display:flex;flex-direction:column;gap:16px;min-height:0;flex:1}.offcanvas-form>.subtitle{margin:0 0 6px}.offcanvas-form .field{margin-bottom:4px}.offcanvas-form .field label{display:block;margin-bottom:6px;font-weight:600;color:#30353a}.offcanvas-form .field input,.offcanvas-form .field select,.offcanvas-form .field textarea{width:100%}.offcanvas-form .textarea{min-height:90px}.offcanvas-form h3,.drawer-section h3{font-size:13px;margin:0 0 14px;color:#282c30}.drawer-section{padding:14px 0;border-top:1px solid var(--border)}.drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.drawer-actions{display:flex;justify-content:flex-end;gap:9px;position:sticky;bottom:-24px;background:#fff;border-top:1px solid var(--border);padding:15px 0 18px;margin-top:auto}.offcanvas-form .row-item{border-bottom:1px solid var(--border)}.offcanvas-form .row-item input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}.drawer .hint{margin:8px 0}.drawer .card{box-shadow:none;border:1px solid var(--border);margin:8px 0}.drawer .drawer-list{margin-top:8px}@keyframes drawer-in{from{transform:translateX(28px);opacity:.75}to{transform:translateX(0);opacity:1}}@media(max-width:600px){.drawer{padding:15px}.drawer-head{top:-15px}.drawer-actions{bottom:-15px}.drawer-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.drawer{animation:none}}

/* Mapa UX y estados para handoff al desarrollo */
.coverage-groups{display:grid;gap:18px;margin-top:18px}.coverage-group{border:1px solid var(--border);border-radius:10px;padding:14px;background:#fff}.coverage-group h3{margin:0 0 9px;font-size:12px;color:#30353a}.coverage-row{display:grid;grid-template-columns:36px minmax(0,1fr) 82px;gap:10px;align-items:center;padding:8px 7px;border-top:1px solid #f1f2f4;font-size:11px}.coverage-row:first-of-type{border-top:0}.coverage-row:hover{background:#fafbfc}.case-id{width:28px;height:24px;border-radius:7px;background:#fff1e7;color:#db6100;display:grid;place-items:center;font-weight:800;font-size:9px}.case-label{color:#343a40}.case-type{justify-self:end;color:#889098;font-size:9px;font-weight:800;letter-spacing:.04em}.state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.state-card{border:1px solid var(--border);border-radius:10px;padding:16px;background:#fff;min-height:120px}.state-card strong{display:block;margin:9px 0 5px;font-size:13px}.state-card small{color:#7d858d;line-height:1.45}.state-icon{width:34px;height:34px;border-radius:50%;background:#fff1e7;color:var(--accent);display:grid;place-items:center}.state-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.report-tile .bubble svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pager .actions{flex-wrap:nowrap}
@media(max-width:900px){.coverage-row{grid-template-columns:32px minmax(0,1fr) 70px}.state-grid{grid-template-columns:1fr}.pager small{display:none}.pager{justify-content:flex-end}}
