/* Vendra · Cuenta abierta. Interfaz reconstruida, sin estilos heredados. */
.workbench{--sidebar:214px;min-height:100vh}.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}h1,h2,h3,p{margin-top:0}.sidebar{width:var(--sidebar);height:100dvh;position:fixed;inset:0 auto 0 0;padding:29px 18px 0;background:#f9f9f5;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar>.brand{padding:0 9px;margin-bottom:37px}.workspace{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 7px}.workspace-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;background:#ffe577;font-size:11px;font-weight:800;color:#3b3b2b;border-radius:3px}.workspace strong{font-size:11px;font-weight:600;display:block}.workspace small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.connected{margin-left:auto;width:6px;height:6px;background:var(--green);border-radius:50%}.nav-label{padding:22px 10px 9px;color:#747a76;font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:600}#nav{overflow:auto;scrollbar-width:thin;margin-bottom:14px}#nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;color:#68706a;text-align:left;min-height:41px;padding:10px;border-radius:4px;font-size:12px;position:relative;transition:background .18s,color .18s}#nav button svg{width:17px;height:17px}#nav button:hover{background:#ebeee7;color:var(--ink)}#nav button.active{color:#086c4d;background:#e5ede3;font-weight:700}#nav button.active:before{content:'';position:absolute;left:-18px;top:9px;bottom:9px;width:3px;background:var(--green)}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:13px}.sidebar-foot>a{display:flex;align-items:center;gap:8px;font-size:10px;text-decoration:none;padding:8px 5px 22px}.sidebar-foot>a svg{width:15px;height:15px}.sidebar-foot>a>span:last-child{margin-left:auto}.account{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border:0;border-top:1px solid var(--line);background:none;padding:20px 0}.avatar{width:31px;height:31px;border-radius:50%;background:#1b332a;color:#fff;display:grid;place-items:center;font-size:12px;flex:none}.account strong{display:block;font-size:10px;font-weight:600}.account small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.account>span:last-child{margin-left:auto}.page{margin-left:var(--sidebar);min-width:0}.utility{display:flex;align-items:center;justify-content:space-between;height:75px;border-bottom:1px solid var(--line);padding:0 36px;background:#f7f7f3e8}.utility-left,.utility-right{display:flex;align-items:center;gap:20px}.bread{font-size:10px;color:var(--muted)}.bread span{padding:0 14px;color:#b9bdb5}.bread strong{font-weight:500;color:var(--ink)}.demo-label{display:flex;align-items:center;gap:7px;background:none;border:0;color:var(--muted);font-size:10px}.demo-label svg{width:13px;height:13px}.sample-dot{width:5px;height:5px;background:#ab7935;border-radius:50%}.icon-button{border:0;background:none;color:var(--ink);min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:7px;border-radius:4px}.icon-button:hover{background:#e8ebe4}.icon-button svg{width:18px;height:18px}#menu,.mobile-brand{display:none}#main{padding:32px 36px 0;max-width:1590px;margin:auto;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading .eyebrow{font-size:11px;margin-bottom:6px;color:var(--muted);letter-spacing:.13em}.page-heading h1{font-size:30px;line-height:1.2;letter-spacing:-1.3px;font-weight:700;margin:0}.page-actions{display:flex;align-items:center;gap:10px}.period-control{display:flex;align-items:center;gap:10px;background:#fff;padding:0 12px;border:1px solid var(--line);border-radius:5px;min-height:40px}.period-control svg{width:16px;height:16px;color:#626c64}.period-control select{background:none;border:0;color:var(--ink);font-size:11px;min-height:38px;font-weight:500;outline:none;max-width:140px}.page-actions .button{min-height:40px;font-size:11px;padding:9px 12px;background:#fff}.refresh{border:1px solid var(--line);min-height:40px;background:white}.refresh.busy svg{animation:spin .6s ease}@keyframes spin{to{transform:rotate(360deg)}}
/* Un único plano principal: fotografía documental + cifras. */
.result-board{position:relative;isolation:isolate;background:#14241e;color:#f7f8f3;border-radius:7px;overflow:hidden;padding:22px 26px 18px;box-shadow:0 12px 30px #182a2510}.result-board:before{content:'';position:absolute;z-index:-2;inset:0 0 0 35%;background:url('assets/warehouse.jpg') center 53%/cover;filter:saturate(.2);opacity:.35}.result-board:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#14241e 0%,#14241ef2 33%,#14241e75 78%,#14241e25),url('assets/grain.svg');background-blend-mode:normal,soft-light;pointer-events:none}.board-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:21px;border-bottom:1px solid #c6ddc42b;color:#bdcec0}.board-meta .eyebrow{font-size:11px;letter-spacing:.12em;display:flex;align-items:center;gap:8px}.board-meta .market-dot{background:#f4d874;width:5px;height:5px;border-radius:50%}.board-meta time{font-size:10px;letter-spacing:.02em}.board-meta .barcode{opacity:.45;height:12px;width:35px}.board-date{display:flex;align-items:center;gap:17px}.result-grid{display:grid;grid-template-columns:1.22fr 1fr 1.05fr;padding:26px 0 22px;gap:23px}.result-grid>div+div{border-left:1px solid #c6ddc42b;padding-left:25px}.metric-name{font-size:11px;font-weight:500;color:#c1cfc4;margin-bottom:9px;display:flex;align-items:center;gap:8px}.metric-help{background:none;border:0;color:#a7bbae;padding:0;opacity:.8}.metric-help svg{width:12px;height:12px}.metric-value{font-size:clamp(30px,3vw,47px);font-weight:500;line-height:1.25;white-space:nowrap}.metric-value .currency{font-size:.62em;margin-right:5px;color:#b9d7c8}.metric-value.positive{color:#69dfaa}.metric-value.negative{color:#ffac98}.metric-caption{font-size:10px;color:#a7bcad;margin-top:12px;margin-bottom:0;line-height:1.5}.metric-caption strong{font-weight:500;color:#d5dfd3}.result-sales .metric-value{font-size:clamp(27px,2.7vw,39px);margin-top:15px}.margin-box{display:flex;gap:24px;align-items:center}.margin-ring{flex:none;width:150px;height:150px;overflow:visible;transform:rotate(-90deg)}.margin-ring circle{fill:none;stroke-width:8}.margin-ring .ring-track{stroke:#92ac9a30}.margin-ring .ring-value{stroke:url(#ringGrad);stroke-linecap:round;stroke-dasharray:var(--arc) 283;animation:ringIn 1.2s cubic-bezier(.2,.7,.2,1) both,ringGlow 2.6s ease-in-out 1.2s infinite}.margin-ring .ring-loss{stroke:#ffac98}.ring-wrap{position:relative}.ring-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-inner strong{font-size:31px;font-weight:600;line-height:1}.ring-inner span{font-size:10px;letter-spacing:.16em;margin-top:2px;color:#9fc3ad}.margin-copy{font-size:10px;color:#b9cbbd;max-width:120px;line-height:1.7}.margin-copy strong{display:block;color:white;font-weight:500;font-size:13px}.board-foot{border-top:1px solid #c6ddc42b;padding-top:13px;display:flex;justify-content:space-between;align-items:center;color:#a6bdaa;font-size:11px;gap:12px}.board-foot button{font-size:11px;color:#d6e2d7;border:0;background:none;display:flex;align-items:center;gap:8px;padding:3px 0}.board-foot button:hover{color:#fff}.board-foot svg{width:12px;height:12px}.status-inline{display:flex;align-items:center;gap:6px}.status-inline:before{content:'';width:4px;height:4px;border-radius:50%;background:#69dfaa}.status-inline.partial:before{background:#f4c46a}@keyframes ringIn{from{stroke-dasharray:0 283}to{stroke-dasharray:var(--arc) 283}}
/* Información continua, sin convertir cada dato en una tarjeta. */
.quick-facts{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);margin:0 0 27px;padding:19px 0}.quick-facts>div{display:flex;align-items:center;gap:11px;padding:0 18px;border-right:1px solid var(--line)}.quick-facts>div:first-child{padding-left:0}.quick-facts>div:last-child{border:0}.quick-facts strong{font-size:17px;font-weight:500;white-space:nowrap}.quick-facts span{font-size:10px;color:var(--muted);line-height:1.5}.quick-facts svg{width:16px;height:16px;color:#7b877d;flex:none}.review-strip{display:flex;align-items:center;gap:12px;background:#f2eee1;border-left:2px solid #b58a43;padding:11px 14px;margin:-10px 0 24px;font-size:11px;line-height:1.5}.review-strip svg{width:15px;height:15px;color:#917039;flex:none}.review-strip>span{flex:1}.review-strip button{display:flex;align-items:center;gap:6px;font-weight:600;border:0;background:none;white-space:nowrap;font-size:10px}.analysis-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:24px;align-items:start;margin-bottom:28px}.panel{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:21px 22px 17px}.panel-heading h2,.section-heading h2{font-size:16px;font-weight:600;letter-spacing:-.4px;margin:0}.panel-heading p,.section-heading p{font-size:10px;color:var(--muted);margin:6px 0 0}.section-index{font-size:11px;color:#9a9f97;letter-spacing:.04em;margin-right:8px}.chart-key{display:flex;gap:15px;padding:0 22px 13px;align-items:center;font-size:11px;color:#747c73}.chart-key button{background:none;border:0;padding:0;color:inherit;font-size:11px;display:flex;align-items:center;gap:5px;min-height:26px}.chart-key button[aria-pressed=false]{opacity:.4}.chart-key i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--key-color)}.chart-key .chart-unit{margin-left:auto;font-size:11px}.chart-mode{display:flex;background:#f4f5f0;border:1px solid #e4e7dd;padding:3px;border-radius:4px}.chart-mode button{background:none;border:0;padding:5px 7px;font-size:11px;color:#768074;min-height:26px;border-radius:2px}.chart-mode button[aria-pressed=true]{background:#fff;color:#172e21;box-shadow:0 1px 3px #0001}.chart-box{padding:0 17px;position:relative}.chart-svg{width:100%;height:235px;overflow:visible}.chart-svg text{font-family:var(--font-number);font-size:11px;fill:#959e94;letter-spacing:-.04em}.chart-grid{stroke:#e9ece5;stroke-width:1}.chart-zero{stroke:#b2baaf;stroke-width:1}.chart-area{fill:url(#areaGradient)}.chart-path{fill:none;stroke:#0e9f6e;stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1200;stroke-dashoffset:0;animation:drawLine 1.3s ease both}.chart-sales{stroke:#9aa79d;stroke-width:1.5;stroke-dasharray:3 5;fill:none}.chart-dot{fill:white;stroke:var(--green);stroke-width:1.6}.chart-negative{fill:#fff;stroke:var(--negative)}.chart-point{cursor:crosshair}.chart-point:hover circle,.chart-point:focus circle{r:5;stroke-width:2.5}.chart-point:focus{outline:none}.chart-tooltip{position:absolute;top:8px;right:25px;padding:8px 11px;background:#16271f;color:white;border-radius:4px;font-size:10px;box-shadow:0 3px 12px #0002;pointer-events:none;min-width:145px;z-index:2}.chart-tooltip small{display:block;color:#b3cdbd;font-size:11px;margin-bottom:3px}.chart-tooltip strong{font-weight:500}.chart-bottom{display:flex;justify-content:space-between;gap:12px;padding:12px 22px;border-top:1px solid #edf0e7;font-size:11px;color:var(--muted)}.chart-bottom button{background:none;border:0;color:#5d6e60;font-size:11px;display:flex;align-items:center;gap:6px}.chart-bottom button svg{width:12px;height:12px}@keyframes drawLine{from{stroke-dashoffset:1200}to{stroke-dashoffset:0}}
/* Comprobante: un vocabulario gráfico propio del comercio. */
.receipt{position:relative;background:#edece5;padding:23px 23px 18px;border:1px solid #dddfd2;border-bottom:0;isolation:isolate;box-shadow:0 8px 12px #2a35230a;min-height:389px}.receipt:before{content:'';position:absolute;inset:0;z-index:-1;background:url('assets/grain.svg');opacity:.23}.receipt:after{content:'';position:absolute;top:100%;left:-1px;right:-1px;height:8px;background:linear-gradient(135deg,#edece5 25%,transparent 25%) -4px 0/8px 8px,linear-gradient(225deg,#edece5 25%,transparent 25%) -4px 0/8px 8px}.receipt-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed #b9c0af;padding-bottom:14px}.receipt-top h2{font-size:14px;letter-spacing:-.3px;font-weight:600;margin:0}.receipt-top .barcode{width:33px;height:12px;opacity:.65}.receipt-intro{font-size:11px;color:#788170;margin:12px 0 17px}.receipt-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:11px 0;font-size:10px}.receipt-row span{color:#56614f;display:flex;gap:7px;align-items:center}.receipt-row i{width:4px;height:4px;border-radius:50%;background:var(--dot,#97a18d)}.receipt-row strong{font-size:11px;font-weight:500;white-space:nowrap}.receipt-row.income{padding-bottom:10px;border-bottom:1px dashed #b9c0af;margin-top:0;margin-bottom:13px}.receipt-row.income span{color:var(--ink);font-weight:600}.receipt-total{margin-top:17px;border-top:1px dashed #adb8a4;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.receipt-total span{font-weight:600;font-size:10px}.receipt-total strong{font-size:21px;font-weight:500;color:#08724f}.receipt-note{font-size:10px;line-height:1.5;color:#79836f;margin:10px 0 0}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:17px}.text-button{display:inline-flex;align-items:center;gap:10px;background:none;border:0;color:#596651;font-size:10px;font-weight:500;padding:5px 0;text-decoration:none}.text-button:hover{color:var(--green)}.text-button svg{width:13px;height:13px}.products-section{margin-bottom:27px}.table-wrap{overflow:auto;scrollbar-width:thin}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;background:#fff;font-size:11px}.data-table th{font-size:11px;font-weight:500;letter-spacing:.01em;color:#7c8378;border-bottom:1px solid var(--line);padding:13px 16px;background:#fafbf7}.data-table td{padding:14px 16px;border-bottom:1px solid #eceee7}.data-table tr:last-child td{border-bottom:0}.data-table th:not(:first-child),.data-table td:not(:first-child){text-align:right}.data-table tbody tr{transition:background .15s}.data-table tbody tr:hover{background:#f6f8f0}.data-table .numeric{font-size:11px;font-weight:500}.product-cell{display:flex;gap:11px;align-items:center}.product-initial{width:29px;height:34px;display:grid;place-items:center;flex:none;background:#eceee5;border:1px solid #e0e5d6;font-size:10px;color:#75816d;position:relative}.product-initial:after{content:'';position:absolute;width:8px;height:1px;background:#bbc6ad;bottom:5px}.product-title{font-weight:500;white-space:normal;max-width:320px;line-height:1.5}.product-sub{display:block;font-size:11px;color:#8a9282;margin-top:2px}.positive{color:#08724f}.negative{color:var(--negative)}.table-note{font-size:11px;color:#7b8473;line-height:1.5;border-top:1px solid var(--line);padding:11px 16px;background:#fafbf7}.operation-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:27px;margin-bottom:25px}.operation-grid button{background:none;border:0;border-right:1px solid var(--line);padding:21px 22px;text-align:left;display:grid;grid-template-columns:1fr auto;gap:7px}.operation-grid button:last-child{border-right:0}.operation-grid button:hover{background:#e9eee3}.operation-label{display:flex;align-items:center;gap:8px;font-size:10px;color:#677361}.operation-label svg{width:15px;height:15px}.operation-grid strong{font-size:20px;font-weight:500;grid-column:1;letter-spacing:-.06em}.operation-grid small{font-size:11px;color:#8b9382;grid-column:1}.operation-arrow{grid-column:2;grid-row:1/4;align-self:center;color:#85947b}.app-footer{padding:18px 0 24px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);color:#959b8e;font-size:11px;gap:15px}.app-footer>span{display:flex;align-items:center;gap:7px}.app-footer img{width:11px;height:13px;opacity:.6}.app-footer button{font-size:11px}.empty{padding:40px 24px;text-align:center;color:var(--muted)}.empty h2{font-size:20px;color:var(--ink);letter-spacing:-.5px}.empty p{font-size:12px}.view-enter{animation:screenIn .4s ease both}@keyframes screenIn{from{transform:translateY(5px)}to{transform:none}}.filter-bar{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap;align-items:center}.filter-bar label{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:4px}.filter-bar input,.filter-bar select{border:0;background:none;outline:none;font-size:12px;min-height:24px;max-width:100%}.filter-bar input{width:240px}.filter-bar svg{width:15px;height:15px;color:#949e8b}.scope-note{background:#e9ede1;border-left:2px solid #94a580;padding:13px 17px;font-size:11px;line-height:1.65;margin:0 0 20px;color:#67735b}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid var(--line);border-radius:5px;margin-bottom:24px}.detail-metrics>div{padding:24px;border-right:1px solid var(--line)}.detail-metrics>div:last-child{border:0}.detail-metrics span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.detail-metrics strong{display:block;font-size:28px;font-weight:500}.detail-metrics small{display:block;font-size:10px;color:var(--muted);margin-top:8px}.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;margin-bottom:24px}.detail-list{margin:0;padding:0;list-style:none}.detail-list li{display:flex;justify-content:space-between;gap:12px;padding:15px 22px;border-top:1px solid #e7ebdf;font-size:12px}.detail-list strong{font-weight:500}.cost-input{border:1px solid #cbd3c2;padding:9px 10px;max-width:115px;width:100%;border-radius:3px;text-align:right;font-family:var(--font-number);font-size:12px;background:#fff}.cost-input[aria-invalid=true]{border-color:var(--negative);background:#fff4ee}.cost-state{color:#7c8972;font-size:11px;display:block;margin-top:6px}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.settings-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:5px}.settings-card h2{font-size:16px;margin-bottom:8px}.settings-card p{font-size:11px;color:var(--muted)}.settings-card label{display:block;font-size:11px;margin:16px 0 6px}.settings-card input,.settings-card select{width:100%;border:1px solid var(--line);padding:11px;border-radius:3px;background:#fff}.settings-card .button{margin-top:18px}.settings-card .connected-profile{display:flex;align-items:center;gap:10px;margin:24px 0}.settings-card .connected-profile strong{font-size:13px}.settings-card .connected-profile small{display:block;color:var(--muted);font-size:10px}.dialog-actions{display:flex;gap:10px;margin-top:23px;flex-wrap:wrap}dialog .equation{font-size:12px;padding:12px 0;border-block:1px dashed #b4c1a7;line-height:2.3}dialog select{padding:10px;width:100%;background:white;border:1px solid var(--line);border-radius:3px}dialog .small{font-size:11px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#172a20;color:#fff;padding:12px 20px;max-width:calc(100% - 32px);border-radius:4px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}.data-check-list{padding:0;list-style:none}.data-check-list li{padding:12px 0;border-bottom:1px solid var(--line)}.data-check-list strong{font-size:12px}.data-check-list p{font-size:11px;margin:6px 0}.bar-series{display:flex;align-items:end;gap:8px;height:200px;padding:15px 22px 0;border-bottom:1px solid var(--line)}.bar-series span{flex:1;min-width:0;background:#0e9f6e;opacity:.75;height:var(--bar);position:relative}.bar-series span:hover{opacity:1}.bar-series small{position:absolute;left:0;right:0;bottom:100%;text-align:center;font-size:10px;white-space:nowrap;color:var(--muted);opacity:0}.bar-series span:hover small{opacity:1}.date-edges{display:flex;justify-content:space-between;padding:10px 22px;font-size:11px;color:var(--muted)}
@media(min-width:1600px){.metric-value{font-size:49px}.result-sales .metric-value{font-size:40px}.result-board{padding:25px 32px 20px}.result-grid{padding-top:30px;padding-bottom:27px}.chart-svg{height:260px}}
@media(max-width:1200px){.workbench{--sidebar:190px}.sidebar{padding-inline:13px}.sidebar>.brand{padding-inline:8px}.brand span{font-size:28px}.utility{padding-inline:25px}#main{padding:27px 25px 0}.result-board{padding:20px}.result-grid{gap:14px;grid-template-columns:1.12fr .94fr 1fr}.result-grid>div+div{padding-left:17px}.metric-value{font-size:35px}.result-sales .metric-value{font-size:29px}.margin-box{gap:10px}.margin-ring{width:79px;height:79px}.ring-inner strong{font-size:20px}.margin-copy{font-size:11px}.margin-copy strong{font-size:11px}.quick-facts>div{padding-inline:12px;gap:7px}.quick-facts strong{font-size:15px}.quick-facts span{font-size:11px}.analysis-layout{gap:18px;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr)}.receipt{padding:20px 18px}.metric-caption{font-size:11px}}
@media(max-width:1020px){.margin-copy{display:none}.result-grid{grid-template-columns:1.1fr 1fr .65fr}.margin-box{justify-content:center}.metric-value{font-size:33px}.quick-facts svg{display:none}.utility-avatar{display:none}.analysis-layout{grid-template-columns:minmax(0,1.4fr) minmax(245px,1fr)}.receipt-row strong{font-size:10px}.panel-heading{padding:18px}.chart-key{padding-inline:18px}.chart-box{padding-inline:10px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .22s}.sidebar.open{transform:none;box-shadow:8px 0 40px #0003}.menu-shade:not([hidden]){display:block;position:fixed;inset:0;border:0;background:#101b1499;z-index:19}.page{margin:0}.utility{padding:0 20px;height:65px}.bread,.utility-avatar,.account-shortcut{display:none}#menu{display:inline-flex}.mobile-brand{display:inline-flex}.mobile-brand img{width:22px;height:25px}.mobile-brand span{font-size:25px}.utility-left{gap:10px}.utility-right{gap:8px}.demo-label{font-size:11px}.demo-label svg{display:none}#main{padding:23px 20px 0}.page-heading h1{font-size:27px}.page-actions{gap:6px}.page-actions .export>span:last-child{display:none}.page-actions .export{padding:9px}.page-actions select{font-size:10px}.result-grid{grid-template-columns:1.12fr 1fr .7fr}.analysis-layout{grid-template-columns:1.65fr 1fr;gap:17px}.operation-grid button{padding-inline:14px}.operation-grid strong{font-size:18px}.detail-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){#main{padding:23px 15px 0}.utility{padding:0 11px}.utility-left{gap:3px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:18px}.page-heading>div:first-child{width:100%}.page-heading .eyebrow{font-size:10px}.page-heading h1{font-size:28px}.page-actions{width:100%;justify-content:space-between}.period-control{flex:1}.period-control select{width:100%;max-width:none}.page-actions .export>span:last-child{display:block}.page-actions .export{padding:9px 12px}.result-board{padding:17px 18px 15px;border-radius:5px}.result-board:before{inset:0;background-position:55% 40%;opacity:.27}.result-board:after{background:linear-gradient(100deg,#14241ef7,#14241eb3 55%,#14241e55),url('assets/grain.svg')}.board-meta{padding-bottom:15px}.board-meta .eyebrow{font-size:10px;letter-spacing:.08em}.board-meta time{font-size:10px}.board-meta .barcode{display:none}.result-grid{grid-template-columns:1fr 1fr;gap:0;padding:21px 0 15px}.result-primary{grid-column:1/-1;padding-bottom:22px;border-bottom:1px solid #c6ddc42b;margin-bottom:21px}.result-grid>div+div{padding-left:0;border-left:0}.result-grid>div:last-child{border-left:1px solid #c6ddc42b;padding-left:20px}.metric-value{font-size:47px}.metric-name{font-size:10px;margin-bottom:8px}.metric-caption{font-size:11px;margin-top:8px}.result-sales .metric-value{font-size:27px;margin-top:15px}.margin-ring{width:85px;height:85px}.ring-inner strong{font-size:21px}.margin-box{justify-content:flex-start}.margin-copy{display:none}.board-foot{font-size:10px;align-items:flex-start}.board-foot button{font-size:10px;max-width:115px;line-height:1.6;flex-shrink:0;text-align:right}.board-foot svg{display:none}.quick-facts{grid-template-columns:repeat(2,1fr);padding:4px 0 13px;margin-bottom:23px;gap:0}.quick-facts>div{padding:14px 9px!important;border:0}.quick-facts>div:nth-child(odd){padding-left:0!important;border-right:1px solid var(--line)}.quick-facts>div:nth-child(even){padding-left:19px!important}.quick-facts strong{font-size:17px}.quick-facts span{font-size:11px;max-width:95px}.quick-facts svg{display:none}.review-strip{gap:9px;padding:10px;margin-bottom:22px;font-size:10px}.review-strip button{font-size:11px;max-width:75px;white-space:normal}.analysis-layout{grid-template-columns:1fr;gap:22px;margin-bottom:32px}.panel-heading{padding:19px 17px 16px}.panel-heading h2{font-size:16px}.chart-svg{height:245px}.chart-key{padding-inline:17px;gap:12px}.chart-bottom{padding:12px 16px}.receipt{padding:21px 22px 17px;min-height:0;margin-bottom:8px}.receipt-top h2{font-size:15px}.receipt-intro{font-size:10px}.receipt-row{font-size:11px;margin-block:12px}.receipt-row strong{font-size:12px}.receipt-total strong{font-size:24px}.receipt-total span{font-size:11px}.receipt-note{font-size:11px}.section-heading{align-items:start}.section-heading h2{font-size:16px}.section-heading p{font-size:10px}.section-heading .text-button{font-size:11px;white-space:nowrap}.data-table{min-width:590px}.data-table th,.data-table td{padding:12px 14px}.data-table .product-title{max-width:200px}.table-note{font-size:11px;line-height:1.7}.table-wrap:before{content:'Deslizá para ver todas las columnas →';display:block;font-size:10px;color:#7e8972;padding:8px 14px;background:#fafbf7}.operation-grid{grid-template-columns:1fr;margin-top:23px}.operation-grid button{grid-template-columns:1fr auto auto;align-items:center;padding:17px 5px;border-right:0;border-bottom:1px solid var(--line);gap:6px 14px}.operation-grid button:last-child{border-bottom:0}.operation-grid strong{grid-column:2;grid-row:1/3;font-size:20px}.operation-label{grid-column:1;font-size:11px}.operation-grid small{grid-column:1;font-size:11px}.operation-arrow{grid-column:3;grid-row:1/3}.app-footer{align-items:start;font-size:10px;flex-direction:column;gap:5px;padding-bottom:25px}.app-footer .text-button{font-size:10px}.detail-metrics{grid-template-columns:1fr}.detail-metrics>div{border-right:0;border-bottom:1px solid var(--line);padding:20px;display:grid;grid-template-columns:1fr auto;gap:10px}.detail-metrics strong{font-size:23px}.detail-metrics small{grid-column:1/-1;margin:0}.detail-metrics span{margin:0;align-self:center}.filter-bar{gap:8px}.filter-bar label{flex:1;min-width:0}.filter-bar label:first-child{width:100%;flex-basis:100%}.filter-bar input{width:100%}.filter-bar select{max-width:100%;font-size:11px}.scope-note{font-size:10px}.settings-grid{grid-template-columns:1fr}.settings-card{padding:23px}.cost-table{min-width:0}.cost-table thead{display:none}.cost-table tbody,.cost-table tr{display:block}.cost-table tr{padding:16px;border-bottom:1px solid var(--line)}.cost-table td{display:block;text-align:left!important;border:0;padding:5px 0}.cost-table td:nth-child(2){display:inline-block;width:45%}.cost-table td:nth-child(3){display:inline-block;width:55%;text-align:right!important}.cost-table td:nth-child(2):before{content:'Precio de venta';display:block;font:9px var(--font);color:var(--muted);margin:8px 0}.cost-table td:nth-child(3):before{content:'Costo de producto';display:block;font:9px var(--font);color:var(--muted);margin:8px 0}.cost-table .product-title{max-width:none}.cost-input{max-width:135px}.table-wrap:has(.cost-table):before{display:none}.chart-mode button{padding:5px 6px}.chart-tooltip{right:18px;top:0}}
@media(max-width:360px){.metric-value{font-size:39px}.result-sales .metric-value{font-size:22px}.board-meta .eyebrow{font-size:10px}.board-meta time{font-size:10px}.result-board{padding:16px}.result-grid>div:last-child{padding-left:18px}.margin-ring{width:76px;height:76px}.ring-inner strong{font-size:19px}.quick-facts strong{font-size:14px}.quick-facts span{font-size:10px}.panel-heading h2{font-size:14px}.chart-mode button{font-size:10px;padding:5px}.demo-label{font-size:10px}.mobile-brand span{font-size:23px}.mobile-brand img{width:20px;height:23px}}
/* El detalle de productos se lee completo, sin desplazar la tabla en móvil. */
@media(max-width:620px){
 .table-wrap:has(.product-table):before,.table-wrap:has(.sales-table):before{display:none}
 .product-table,.sales-table{min-width:0;white-space:normal}
 .product-table thead,.sales-table thead{display:none}
 .product-table tbody,.sales-table tbody{display:block}
 .product-table tr{display:grid;grid-template-columns:.65fr 1.2fr 1.2fr;padding:16px;gap:14px 10px;border-bottom:1px solid var(--line)}
 .product-table td{padding:0!important;border:0;text-align:left!important;min-width:0}
 .product-table td:first-child{grid-column:1/-1}
 .product-table .product-title{max-width:none;font-size:12px}
 .product-table td:nth-child(2):before{content:'Unidades'}
 .product-table td:nth-child(3):before{content:'Facturación'}
 .product-table td:nth-child(4):before{content:'Res. parcial'}
 .product-table td:nth-child(n+2):before{display:block;font:10px/1.5 var(--font);letter-spacing:0;color:var(--muted);margin-bottom:5px}
 .product-table td:last-child:nth-child(5){grid-column:1/-1;text-align:right!important}
 .product-table .numeric{font-size:12px;letter-spacing:-.05em;white-space:nowrap}
 .sales-table tr{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:12px;border-bottom:1px solid var(--line)}
 .sales-table td{border:0;padding:0!important;text-align:left!important;min-width:0}
 .sales-table td:first-child{grid-column:1/-1}
 .sales-table td:nth-child(2):before{content:'Unidades'}
 .sales-table td:nth-child(3):before{content:'Importe'}
 .sales-table td:nth-child(4):before{content:'Comisión'}
 .sales-table td:nth-child(5):before{content:'Costo cargado'}
 .sales-table td:nth-child(n+2):before{display:block;font:10px/1.5 var(--font);color:var(--muted);margin-bottom:5px}
 .sales-table .product-title{max-width:none;font-size:12px}
 .sales-table td:last-child{grid-column:1/-1}
 .chart-key{font-size:11px}.metric-caption{font-size:11px}.metric-name{font-size:11px}
 .board-meta time{font-size:10px}.board-meta .eyebrow{font-size:9px;letter-spacing:.025em}
 .quick-facts span{font-size:10px}.chart-svg text{font-size:10px}.board-foot button{font-size:10px}
}
.chart-svg text{fill:#69706d}.chart-key,.chart-key button,.chart-unit,.receipt-intro,.receipt-note,.product-sub,.table-note,.section-index,.nav-label,.chart-bottom,.chart-bottom button,.date-edges{color:#69706d}
.period-control:focus-within,.filter-bar label:focus-within{outline:3px solid var(--green);outline-offset:3px}
.chart-point.inspected circle{r:5;fill:var(--green);stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 3px #0e9f6e66)}
.hover-guide{stroke:#3f8b68;stroke-width:1;stroke-dasharray:3 4;opacity:.45;pointer-events:none}
@media(prefers-reduced-motion:no-preference){.chart-point.inspected circle{animation:pointGlow 1s ease infinite}@keyframes pointGlow{50%{filter:drop-shadow(0 0 5px #0e9f6eaa)}}}

.review-strip button{white-space:nowrap;flex-shrink:0}


@media(max-width:360px){.filter-bar label{flex-basis:100%}.filter-bar select{width:100%;font-size:12px}}

/* Jerarquía tipográfica de Vendra; sin pesos intermedios no definidos. */
h1{font-weight:800;letter-spacing:-.035em}h2,h3{font-weight:700;letter-spacing:-.02em}

/* Hero · anillo de margen: centrado + glow latiendo SOLO en el arco (ajuste 24-nov) */
.result-margin{display:flex;flex-direction:column;justify-content:center}
@keyframes ringGlow{0%,100%{filter:drop-shadow(0 0 3px #61dca455)}50%{filter:drop-shadow(0 0 13px #61dca4f0)}}
@media (prefers-reduced-motion:reduce){.margin-ring .ring-value{animation:ringIn 1.2s cubic-bezier(.2,.7,.2,1) both}}
