/* Estilos compartidos de los mockups del sistema de operación de Jh (sistema de diseño del panel: Inter, neutros, acento #99aaff) */
body{margin:0;background:#f7f7f7;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#0a0a0a;font-size:14px;line-height:20px;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
a{color:#0a0a0a}a:hover{color:#000}
.app{display:flex;flex-wrap:wrap;min-height:960px}
.side{flex:1 1 232px;max-width:232px;background:#f2f2f2;border-right:1px solid #e6e6e6;padding:12px 8px;display:flex;flex-direction:column;gap:2px;box-sizing:border-box}
.brand{display:flex;align-items:center;gap:10px;padding:8px 12px 14px}
.logo{width:28px;height:28px;border-radius:4.8px;background:#131313;color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.bt{display:flex;flex-direction:column}.bt b{font-size:14px;font-weight:600}.bt span{font-size:12px;color:#666}
.sec{font-size:12px;line-height:16px;font-weight:500;color:#666;padding:12px 12px 4px;margin:0}
.nav{display:flex;align-items:center;gap:10px;font-size:14px;color:#303030;text-decoration:none;border-radius:4.8px;padding:8px 12px}
.nav:hover{background:#d9d9d9;color:#131313}
.nav.on{background:#e6e6e6;color:#1b1b1b;font-weight:500}
.nav .n{margin-left:auto;font-size:12px;color:#666;font-weight:500}
.nav .tag{margin-left:auto;font-size:11px;color:#007a52;font-weight:500}
.ico{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px;border-top:1px solid #e6e6e6}
.av{width:28px;height:28px;border-radius:50%;background:#ccc;color:#1b1b1b;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;flex:none}
.main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column}
.top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 16px;min-height:48px;border-bottom:1px solid #e6e6e6;box-sizing:border-box}
.search{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid #d9d9d9;border-radius:4.8px;background:#fff;flex:0 1 320px;color:#666;box-sizing:border-box}
.search input{border:0;outline:0;font:inherit;font-size:12px;flex:1;min-width:0;background:transparent}
.demo{font-size:12px;font-weight:500;padding:2px 8px;border-radius:4.8px;background:rgba(153,170,255,.25);color:#2c3a99;box-shadow:inset 0 0 0 1px rgba(153,170,255,.5)}
.tright{margin-left:auto;display:flex;gap:8px;align-items:center}
.iconbtn{width:32px;height:32px;border-radius:4.8px;border:1px solid #e6e6e6;background:#fff;display:flex;align-items:center;justify-content:center;color:#4a4a4a;cursor:pointer}
.content{padding:24px 16px 40px;max-width:1132px;width:100%;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;gap:16px}
h1{font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.02em;margin:0}
.crumb{margin:0 0 4px;font-size:13px;color:#767676}
.subt{margin:2px 0 0;font-size:14px;color:#767676}
.phead{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pacts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:32px;padding:0 12px;border-radius:4.8px;background:#1a1a1a;color:#fff;border:1px solid #1a1a1a;font:inherit;font-size:12px;font-weight:500;cursor:pointer;text-decoration:none;box-sizing:border-box;white-space:nowrap}
.btn.sec{background:#fff;color:#4a4a4a;border-color:#e6e6e6}
.btn.ok{background:#007a52;border-color:#007a52;color:#fff}
.btn.bad{background:#fff;color:#c4000a;border-color:#f6c4c7}
.btn.lg{height:40px;padding:0 16px;font-size:13px}
.card{background:#fff;border:1px solid #e6e6e6;border-radius:4.8px}
.ch{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px 8px;flex-wrap:wrap}
.ch h2{margin:0;font-size:14px;line-height:20px;font-weight:500}
.cb{padding:4px 16px 16px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.kpi{padding:14px 16px;display:flex;flex-direction:column;gap:4px;text-decoration:none}
.kl{font-size:12px;color:#666}
.kv{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.01em}
.ks{font-size:12px;color:#767676}
.muted{color:#767676}.small{font-size:12px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:16px;font-weight:500;border-radius:4.8px;padding:2px 8px;background:#f2f2f2;color:#4a4a4a;box-shadow:inset 0 0 0 1px #e6e6e6;white-space:nowrap}
.p-ok{background:#f2fbf7;color:#007a52;box-shadow:inset 0 0 0 1px #bfe8d9}
.p-bad{background:#fff5f5;color:#c4000a;box-shadow:inset 0 0 0 1px #f6c4c7}
.p-info{background:rgba(153,170,255,.25);color:#2c3a99;box-shadow:inset 0 0 0 1px rgba(153,170,255,.5)}
.p-warn{background:#fff7ed;color:#9a4a00;box-shadow:inset 0 0 0 1px #fbd5a8}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:28px;padding:0 10px;border-radius:4.8px;border:1px solid #e6e6e6;background:#fff;font:inherit;font-size:12px;color:#4a4a4a;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}
.chip.on{background:#131313;color:#fff;border-color:#131313}
.tw{overflow-x:auto}
table{width:100%;border-collapse:separate;border-spacing:0}
th{font-size:12px;font-weight:400;color:#666;text-align:left;padding:8px 12px;border-bottom:1px solid #e6e6e6;white-space:nowrap}
td{font-size:14px;padding:10px 12px;border-bottom:1px solid #e6e6e6;white-space:nowrap}
tr:last-child td{border-bottom:0}
.r{text-align:right}
.cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;align-items:start}
.cols.eq{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.stack{display:flex;flex-direction:column;gap:16px}
.kvs{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 12px;padding:4px 16px 16px;margin:0}
.kvs dt{color:#666;font-size:13px}.kvs dd{margin:0}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:4px 16px 16px}
.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.f{display:flex;flex-direction:column;gap:4px;min-width:0}
.f.full{grid-column:1/-1}
.f label{font-size:12px;line-height:16px;font-weight:500;color:#4a4a4a}
.f input,.f select,.f textarea{font:inherit;font-size:14px;min-height:36px;padding:0 10px;border:1px solid #d9d9d9;border-radius:4.8px;background:#fff;color:#0a0a0a;box-sizing:border-box;width:100%}
.f textarea{padding:8px 10px;min-height:72px;resize:vertical}
.f .hint{font-size:12px;color:#767676}
.notice{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:4.8px;background:#fff7ed;box-shadow:inset 0 0 0 1px #fbd5a8;color:#5c2e00;font-size:13px}
.notice.info{background:rgba(153,170,255,.15);box-shadow:inset 0 0 0 1px rgba(153,170,255,.5);color:#1f2a73}
.notice.bad{background:#fff5f5;box-shadow:inset 0 0 0 1px #f6c4c7;color:#7a0006}
.notice.ok{background:#f2fbf7;box-shadow:inset 0 0 0 1px #bfe8d9;color:#004d33}
.line{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid #e6e6e6}
.line.tot{font-weight:600}
.tl{list-style:none;margin:0;padding:4px 16px 16px;display:flex;flex-direction:column}
.tl li{display:flex;gap:12px;padding:8px 0}
.tl .d{width:10px;height:10px;border-radius:50%;background:#131313;margin-top:5px;flex:none}
.tl .d.p{background:#fff;border:2px solid #99aaff;box-sizing:border-box}
.tl .d.w{background:#f59e0b}
.tl .x{display:flex;flex-direction:column}.tl .x b{font-weight:500}.tl .x span{font-size:12px;color:#767676}
.steps{display:flex;gap:0;padding:14px 16px}
.stp{flex:1;display:flex;align-items:center;gap:10px;font-size:13px;color:#666}
.stp .c{width:26px;height:26px;border-radius:50%;border:1.5px solid #d9d9d9;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;background:#fff;flex:none;box-sizing:border-box}
.stp.done{color:#303030}.stp.done .c{background:#131313;border-color:#131313;color:#fff}
.stp.now{color:#0a0a0a;font-weight:600}.stp.now .c{border:2px solid #99aaff;color:#2c3a99;box-shadow:0 0 0 4px rgba(153,170,255,.3)}
.stp .bar{flex:1;height:2px;background:#e6e6e6;margin-right:10px}
.opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e6e6e6;border-radius:4.8px;background:#fff;cursor:pointer;text-align:left;font:inherit;width:100%;box-sizing:border-box}
.opt.on{border:2px solid #131313;padding:11px 13px}
.opt .t{flex:1;display:flex;flex-direction:column}.opt .t b{font-weight:500}.opt .t span{font-size:12px;color:#767676}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ph{aspect-ratio:4/3;max-width:100%;border:1px dashed #ccc;border-radius:4.8px;background:#fafafa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px;color:#666}
.sig{height:120px;border:1px dashed #ccc;border-radius:4.8px;background:#fafafa;display:flex;align-items:center;justify-content:center;color:#999;font-size:13px}
.hb{display:flex;flex-direction:column;gap:12px;padding:6px 16px 16px}
.hr{display:grid;grid-template-columns:120px minmax(0,1fr) 80px;align-items:center;gap:12px;font-size:13px}
.hr .trk{height:12px;border-radius:3px;background:#f2f2f2;overflow:hidden}
.hr .trk span{display:block;height:12px;background:#99aaff}
.hr .v{text-align:right;font-weight:500}
.ok-t{color:#007a52}.bad-t{color:#c4000a}.warn-t{color:#9a4a00}
.toggle{width:36px;height:20px;border-radius:10px;background:#131313;position:relative;flex:none}
.toggle::after{content:"";position:absolute;top:2px;left:18px;width:16px;height:16px;border-radius:50%;background:#fff}
.toggle.off{background:#ccc}.toggle.off::after{left:2px}
.set{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid #e6e6e6}
.set .t{display:flex;flex-direction:column}.set .t b{font-weight:500}.set .t span{font-size:12px;color:#767676}
.set .val{font-weight:500}
.pdf{background:#fafafa;border:1px solid #e6e6e6;border-radius:4.8px;padding:24px;display:flex;flex-direction:column;gap:10px;font-size:12px;color:#4a4a4a}
.pdf .row{display:flex;justify-content:space-between;gap:12px}
.qr{width:72px;height:72px;background:repeating-linear-gradient(45deg,#131313 0 4px,#fff 4px 8px);border:4px solid #131313;box-sizing:border-box}
@media(max-width:820px){.side{max-width:none;flex-basis:100%;border-right:0;border-bottom:1px solid #e6e6e6}.cols,.cols.eq,.grid2,.grid3,.fields,.fields.three{grid-template-columns:1fr}.steps{flex-wrap:wrap;gap:8px}}

/* Pestañas de módulo del demo navegable */
.mtabs{display:flex;gap:4px;border-bottom:1px solid #e6e6e6;margin:0 0 20px;overflow-x:auto}
.mtabs a{padding:10px 14px;font-size:13px;color:#5a5a5a;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.mtabs a:hover{color:#0a0a0a}
.mtabs a.on{color:#0a0a0a;font-weight:600;border-bottom-color:#131313}
a.btn,a.tab{text-decoration:none}
