.bo-adm { --bg: #05040f; --surface: rgba(18, 14, 40, .72); --surface-2: rgba(36, 28, 76, .55); --border: rgba(139, 124, 255, .22); --border-2: rgba(139, 124, 255, .4); --t1: #eeeaff; --t2: #a29cc9; --t3: #8f88b8; --accent: #c084fc; --accent-bg: rgba(168, 85, 247, .12);
  --green: #34f5a6; --green-bg: rgba(52, 245, 166, .1); --green-bd: rgba(52, 245, 166, .35); --green-t: #34f5a6; --amber: #ffc53d; --amber-bg: rgba(255, 197, 61, .1); --amber-bd: rgba(255, 197, 61, .35); --amber-t: #ffc53d; --red: #ff4d7d; --red-bg: rgba(255, 77, 125, .12); --red-bd: rgba(255, 77, 125, .4);
  position: fixed; inset: 0; z-index: 60; color: var(--t1); overflow-y: auto; -webkit-overflow-scrolling: touch; color-scheme: dark;
  background: radial-gradient(1100px 520px at 85% -8%, rgba(124, 58, 237, .28), transparent 60%), radial-gradient(900px 480px at -5% 0%, rgba(244, 63, 94, .16), transparent 60%), radial-gradient(800px 600px at 50% 120%, rgba(34, 211, 238, .10), transparent 60%), linear-gradient(rgba(139, 124, 255, .045) 1px, transparent 1px) 0 0 / 100% 32px, #05040f; }
.bo-adm[hidden] { display: none !important; }
.bo-adm ::selection { background: rgba(192, 132, 252, .35); }
html.bo-abierta { overflow: hidden; }
.bo-cab { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 12px max(16px, calc((100% - 880px) / 2)); background: rgba(8, 6, 22, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.bo-cab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #f43f5e, #a855f7, #22d3ee, transparent); opacity: .75; }
.bo-tit { flex: 1; min-width: 0; }
.bo-cab h2 { margin: 0 0 2px; font-size: 20px; }
.bo-nom { background: var(--marca-fuerte, linear-gradient(135deg, #e11d48, #9333ea)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bo-cab .cf-sub { margin: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-tabs { position: sticky; top: 62px; z-index: 2; display: flex; gap: 6px; overflow-x: auto; padding: 8px max(16px, calc((100% - 880px) / 2)); background: rgba(8, 6, 22, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); scrollbar-width: none; }
.bo-tabs::-webkit-scrollbar { display: none; }
.bo-tab { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--t2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bo-tab.bo-on { background: linear-gradient(135deg, #f43f5e, #a855f7); color: #fff; border-color: transparent; box-shadow: 0 0 18px -2px rgba(217, 70, 239, .6); }
.bo-tab:not(.bo-on):hover { border-color: var(--accent); color: var(--t1); }
.bo-num { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--marca-a, #f43f5e) 18%, transparent); color: var(--t1); }
.bo-tab.bo-on .bo-num { background: rgba(255,255,255,.25); color: #fff; }
.bo-cuerpo { max-width: 880px; margin: 0 auto; padding: 14px 16px 60px; display: grid; gap: 12px; }
.bo-card { padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(30, 22, 66, .72), rgba(10, 8, 26, .82) 60%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 10px; }
.bo-card h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.bo-card h4 { margin: 4px 0 0; font-size: 14px; color: var(--t2); }
.bo-card summary { cursor: pointer; }
.bo-card p { margin: 0; }
.bo-aviso { padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); font-size: 14px; line-height: 1.45; }
.bo-vacio { padding: 30px 14px; text-align: center; color: var(--t2); font-size: 15px; }
.bo-cierre { padding: 10px 14px; border-radius: 12px; background: var(--green-bg); border: 1px solid var(--green-bd); color: var(--green-t, var(--green)); font-size: 14px; }
.bo-cierre.bo-cerrada { background: var(--surface-2); border-color: var(--border); color: var(--t2); }
.bo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bo-stock { --c: #a855f7; position: relative; overflow: hidden; padding: 16px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, rgba(16, 12, 36, .85)), rgba(10, 8, 26, .88) 60%); display: grid; gap: 6px; }
.bo-stock:nth-child(1) { --c: #f43f5e; } .bo-stock:nth-child(2) { --c: #a855f7; } .bo-stock:nth-child(3) { --c: #22d3ee; } .bo-stock:nth-child(4) { --c: #34f5a6; }
.bo-stock.bo-ojo { --c: #ffc53d; } .bo-stock.bo-mal { --c: #ff4d7d; }
.bo-stock::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); box-shadow: 0 0 14px var(--c); }
.bo-stock-n { font-size: 36px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 22px color-mix(in srgb, var(--c) 70%, transparent); }
.bo-stock.bo-ojo .bo-stock-n, .bo-stock.bo-mal .bo-stock-n { color: var(--c); }
.bo-stock-t { font-weight: 700; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bo-stock-d { font-size: 12.5px; color: var(--t2); }
.bo-barra { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bo-barra i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--c, #a855f7) 60%, #fff 0%), var(--c, #a855f7)); box-shadow: 0 0 10px var(--c, #a855f7); transition: width .4s ease; }
.bo-alerta { padding: 8px 10px; border-radius: 10px; background: var(--red-bg); border: 1px solid var(--red-bd); color: var(--red); font-size: 13px; font-weight: 600; }
.bo-plata { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); font-size: 15px; }
.bo-plata b { font-size: 22px; }
.bo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bo-kpi { position: relative; display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(30, 22, 66, .72), rgba(10, 8, 26, .85) 60%); color: var(--t1); font: inherit; text-align: left; }
.bo-kpi span, .bo-stock-t, .bo-card h3 { letter-spacing: .02em; }
button.bo-kpi { cursor: pointer; }
button.bo-kpi:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.bo-kpi b { font-size: 24px; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(192, 132, 252, .55); }
.bo-kpi span { font-size: 13px; font-weight: 600; }
.bo-kpi small { font-size: 12px; color: var(--t2); }
.bo-fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; border-bottom: 1px dashed var(--border); }
.bo-fila:last-of-type { border-bottom: 0; }
.bo-fila > span:first-child { color: var(--t2); }
.bo-fila > b { white-space: nowrap; text-align: right; }
.bo-rojo { color: var(--red); } .bo-ambar { color: var(--amber-t, var(--amber)); } .bo-verde { color: var(--green-t, var(--green)); }
.bo-progreso { display: grid; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); font-size: 15px; }
.bo-check { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 10px 8px; border: 0; border-radius: 12px; background: none; color: var(--t1); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.bo-check:hover { background: var(--surface-2); }
.bo-caja { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border-2, var(--border)); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--surface); cursor: pointer; font-size: 15px; }
.bo-hecha .bo-caja { background: var(--marca-fuerte, linear-gradient(135deg, #e11d48, #9333ea)); border-color: transparent; }
.bo-check-t { display: grid; gap: 2px; line-height: 1.35; }
.bo-check-t small { font-size: 12px; color: var(--t2); }
.bo-check.bo-hecha .bo-check-t { color: var(--t2); }
.bo-mat { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.bo-mat:last-child { border-bottom: 0; }
.bo-barra-acc { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.bo-ped { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.bo-ped:last-child { border-bottom: 0; }
.bo-ped-btn { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--border); color: var(--t1); font: inherit; text-align: left; cursor: pointer; }
.bo-ped.bo-hecha .bo-ped-t { opacity: .6; }
.bo-ped-t { display: grid; gap: 3px; font-size: 14px; min-width: 0; }
.bo-ped-t small { font-size: 12px; color: var(--t2); }
.bo-ped-u { font-weight: 600; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bo-regalo { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--marca-a, #f43f5e) 14%, transparent); border: 1px solid color-mix(in srgb, var(--marca-a, #f43f5e) 40%, transparent); }
.bo-pasos { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 13.5px; color: var(--t2); line-height: 1.4; }
.bo-lab { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--t2); }
.bo-adm .cf-input { font-size: 16px; min-height: 42px; width: 100%; box-sizing: border-box; }
.bo-adm textarea.cf-input { min-height: 60px; resize: vertical; }
.bo-tareas-txt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px !important; }
.bo-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.bo-item { display: grid; gap: 4px; padding: 8px; border-radius: 12px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.bo-item small { display: block; font-weight: 400; color: var(--t2); }
.bo-dif { font-style: normal; font-size: 13px; font-weight: 700; min-height: 16px; }
.bo-chk .cf-chip { min-height: 36px; }
.bo-fotos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bo-foto { position: relative; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.bo-foto img { width: 100%; height: 100%; object-fit: cover; }
.bo-foto button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.bo-subir { cursor: pointer; }
.bo-mini { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; margin: 4px 4px 0 0; border: 1px solid var(--border); }
.bo-ancho { width: 100%; min-height: 46px; font-size: 16px; }
.bo-adm .cf-btn-primary { background: var(--marca-fuerte, linear-gradient(135deg, #e11d48, #9333ea)); color: #fff; border-color: transparent; }
.bo-adm .cf-btn-primary:disabled { opacity: .55; }
.bo-hist { font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed var(--border); display: grid; gap: 2px; }
.bo-hist:last-child { border-bottom: 0; }
.bo-tabla { display: grid; font-size: 13px; overflow-x: auto; }
.bo-tr { display: grid; grid-template-columns: minmax(120px, 2fr) repeat(5, minmax(56px, 1fr)); gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.bo-th { color: var(--t2); font-weight: 600; }
.bo-dia { padding: 10px; border-radius: 12px; border: 1px solid var(--border); display: grid; gap: 6px; }
.bo-dia.bo-hoy { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.bo-rol { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.bo-rol > span:first-child { min-width: 100px; color: var(--t2); font-weight: 600; }
.bo-rec { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.bo-rec:last-child { border-bottom: 0; }
html.cf-hx-listo #cf-app .cf-header-actions [data-ico="bodega"]::before, .cf-mmenu-ico[data-ico="bodega"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%208.35V20a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V8.35A2%202%200%200%201%203.26%206.5l8-3.2a2%202%200%200%201%201.48%200l8%203.2A2%202%200%200%201%2022%208.35Z%22%2F%3E%3Cpath%20d%3D%22M6%2018h12M6%2014h12%22%2F%3E%3Crect%20width%3D%2212%22%20height%3D%2212%22%20x%3D%226%22%20y%3D%2210%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%208.35V20a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V8.35A2%202%200%200%201%203.26%206.5l8-3.2a2%202%200%200%201%201.48%200l8%203.2A2%202%200%200%201%2022%208.35Z%22%2F%3E%3Cpath%20d%3D%22M6%2018h12M6%2014h12%22%2F%3E%3Crect%20width%3D%2212%22%20height%3D%2212%22%20x%3D%226%22%20y%3D%2210%22%2F%3E%3C%2Fsvg%3E"); }
.bo-mat > span:first-child { display: grid; gap: 2px; }
.bo-mat-q { font-size: 12px; color: var(--t2); font-weight: 400; }
.bo-sub { border: 1px dashed var(--border); border-radius: 12px; padding: 10px; }
.bo-sub summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.bo-sub[open] summary { margin-bottom: 8px; }
.bo-matrow { display: grid; grid-template-columns: minmax(130px, 2fr) repeat(3, minmax(80px, 1fr)) auto; gap: 8px; align-items: end; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.bo-matrow label { display: grid; gap: 2px; font-size: 12px; color: var(--t2); }
.bo-cols { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 18px; overflow-x: auto; }
.bo-col { flex: 1 0 22px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; position: relative; }
.bo-col i { display: block; width: 70%; min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--marca, linear-gradient(135deg, #f43f5e, #a855f7)); }
.bo-col i.bo-i-ambar { background: var(--amber); } .bo-col i.bo-i-rojo { background: var(--red); }
.bo-col small { font-size: 11px; color: var(--t2); white-space: nowrap; }
.bo-col-n { font-size: 11px; font-weight: 700; color: var(--t1); }
.bo-tr7 { grid-template-columns: minmax(120px, 2fr) repeat(6, minmax(50px, 1fr)); }
.bo-tr5 { grid-template-columns: minmax(130px, 2fr) repeat(4, minmax(56px, 1fr)); }
.bo-tr6 { grid-template-columns: minmax(90px, 1.5fr) repeat(5, minmax(50px, 1fr)); }
@media (max-width: 700px) {
  .bo-matrow { grid-template-columns: 1fr 1fr 1fr auto; }
  .bo-matrow > input:first-child { grid-column: 1 / -1; }
  .bo-tabla { font-size: 12px; }
  .bo-tr7 { min-width: 520px; } .bo-tr6 { min-width: 460px; } .bo-tr5 { min-width: 420px; } .bo-tr { min-width: 440px; }
  .bo-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-grid { grid-template-columns: minmax(0, 1fr); }
  .bo-tabs { top: 58px; }
  .bo-cab h2 { font-size: 18px; }
}
@media print { .bo-adm { display: none !important; } }
.bo-adm .cf-input { background: rgba(8, 6, 24, .75); border-color: var(--border-2); color: var(--t1); }
.bo-adm .cf-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(192, 132, 252, .25); }
.bo-adm .cf-btn:not(.cf-btn-primary) { background: rgba(18, 14, 40, .8); border-color: var(--border-2); color: var(--t1); }
.bo-adm .cf-chip { background: rgba(18, 14, 40, .8); border-color: var(--border-2); color: var(--t2); }
.bo-adm .cf-chip.cf-chip-on { background: linear-gradient(135deg, #f43f5e, #a855f7); color: #fff; border-color: transparent; }
.bo-escena { position: relative; height: 340px; overflow: hidden; border-bottom: 1px solid var(--border); background: #2a2723; }
.bo-escena[hidden] { display: none !important; }
.bo3-canvas { display: block; width: 100%; height: 100%; }
.bo3-tit { position: absolute; z-index: 2; left: max(16px, calc((100% - 880px) / 2)); bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; background: rgba(8, 6, 22, .7); border: 1px solid var(--border); font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; color: #d8b4fe; pointer-events: none; }
.bo3-tit i { width: 8px; height: 8px; border-radius: 50%; background: #34f5a6; box-shadow: 0 0 10px #34f5a6; animation: bo3late 1.6s ease-in-out infinite; }
@keyframes bo3late { 50% { opacity: .35; } }
.bo3-lbls { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bo3-lbl { --c: #c084fc; position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 1px; padding: 6px 11px; border-radius: 12px; background: rgba(8, 6, 22, .74); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 18px -4px var(--c); color: #fff; text-align: center; white-space: nowrap; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); will-change: transform; }
.bo3-lbl b { font-size: 19px; line-height: 1.05; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px var(--c); }
.bo3-lbl span { font-size: 11px; color: #d6d0f5; max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo3-lbl small { font-size: 10.5px; color: #a29cc9; }
.bo3-lbl.bo3-est { --c: #34d27b; }
.bo3-lbl.bo3-conft { grid-template-columns: auto auto; column-gap: 9px; justify-items: start; }
.bo3-lbl.bo3-conft img { grid-row: span 3; align-self: center; width: 42px; height: 42px; object-fit: contain; border-radius: 9px; background: #fff; padding: 2px; }
.bo3-lbl.bo3-bajo { --c: #ff3b5c; animation: bo3late 1.2s ease-in-out infinite; }
.bo3-lbl.bo3-tr b { font-size: 16px; }
@media (max-width: 700px) { .bo3-lbl.bo3-conft img { width: 28px; height: 28px; border-radius: 6px; } .bo-escena { height: 290px; } .bo3-lbl { padding: 3px 7px; border-radius: 9px; } .bo3-lbl b { font-size: 14px; } .bo3-lbl span { font-size: 9.5px; max-width: 74px; overflow: hidden; text-overflow: ellipsis; } .bo3-lbl small { display: none; } .bo3-tit { font-size: 9.5px; letter-spacing: .16em; padding: 3px 9px; } }
@media (prefers-reduced-motion: reduce) { .bo3-tit i, .bo3-lbl.bo3-bajo { animation: none; } }
