.connected-shell{padding:0!important;display:block!important;min-height:100vh;background:#f4f7f9}.connected-top{height:72px;background:#082032;border-bottom:2px solid #e7b94b;display:flex;align-items:center;gap:24px;padding:0 5%;color:#fff}.connected-top img{max-height:44px;width:auto}.connected-company{display:grid;gap:5px}.connected-company small{color:#91adc0}.connected-actions{display:flex;gap:9px;margin-left:auto}.connected-actions button{border:1px solid #335162;background:transparent;color:#e0ebf1;border-radius:11px;padding:10px 14px}.connected-shell>.page{margin:0!important;width:90%!important;max-width:none!important;padding:24px 0 115px!important;min-height:calc(100vh - 72px)}.connected-bottom{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);display:flex;background:#fff;border:1px solid #e4ebf1;border-radius:22px;box-shadow:0 10px 30px #08203208;padding:8px;z-index:40;max-width:95vw;gap:7px}.connected-bottom button{display:grid;justify-items:center;gap:7px;min-width:110px;border:0;padding:10px 14px;background:transparent;color:#506c80;border-radius:14px;font-size:12px;font-weight:700}.connected-bottom svg{width:21px;height:21px}.connected-bottom [aria-current=page]{background:#fbf3de;color:#987006}.connected-shell~.ux-nav-backdrop{display:none!important}.connected-shell .page-title,.connected-shell .menu-hub-header{margin-bottom:18px}.connected-shell .menu-hub-card{box-shadow:none;border-radius:16px}.connected-shell .error,[role=alert]{color:#b32640}.connected-shell .support-footer{display:none}.connected-delivery-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.connected-delivery-column{background:#eaf0f3;border-radius:18px;padding:14px}.connected-delivery-column>h2{font-size:16px;margin:0 0 12px}.connected-delivery-column .panel{padding:16px;margin:0 0 12px;border-radius:15px;background:#fff}.connected-delivery-column .actions{display:grid}.connected-delivery-column .v3-ticket-number{font-size:25px}.connected-shell[data-theme=dark],html[data-theme=dark] .connected-shell{background:#122632}html[data-theme=dark] .connected-bottom,html[data-theme=dark] .connected-delivery-column .panel{background:#193344;color:#e5eef4}html[data-theme=dark] .connected-delivery-column{background:#122b3b}@media(max-width:760px){.connected-top{gap:10px;padding:10px 14px;height:auto;flex-wrap:wrap}.connected-company{font-size:12px}.connected-actions{gap:5px}.connected-actions button{padding:8px;font-size:11px}.connected-bottom button{min-width:0;padding:9px 11px;font-size:10px}.connected-shell>.page{width:94%!important}.connected-delivery-board{grid-template-columns:1fr}}
.connected-shell>.page{margin:0 auto!important}.connected-company strong{color:#fff!important}.connected-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px}.connected-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.connected-metrics .panel{padding:20px;display:grid;gap:12px;border-radius:16px}.connected-metrics strong{font-size:23px}.connected-dashboard-aside{display:flex;flex-direction:column;gap:12px}.connected-dashboard-aside>button,.connected-support{padding:18px;border:1px solid #e3eaf0;background:#fff;color:#082032;border-radius:14px;text-align:left}.connected-dashboard-aside>button.primary{background:#e2f4eb;color:#14785f;border-color:#bfe6d7}.connected-dashboard-aside h3{font-size:14px;margin:5px 0}.connected-review,.connected-recent{padding:18px;border-radius:16px}.connected-recent .heading{margin-bottom:16px}.connected-rate .daily-rates{position:static!important;display:block!important;height:auto!important;padding:15px!important;margin:0!important}.connected-rate .daily-rates>*{position:static!important}.connected-recent small{display:block;margin-top:5px}.connected-dashboard .heading{margin-bottom:20px}.connected-support{text-decoration:none}.connected-dashboard .panel{box-shadow:none}.connected-metrics span{font-size:13px}@media(max-width:900px){.connected-dashboard-grid{grid-template-columns:1fr}.connected-metrics{grid-template-columns:1fr}.connected-dashboard-aside{display:grid;grid-template-columns:1fr 1fr}.connected-metrics strong{font-size:20px}}

.connected-shell~.ux-floating-theme{display:none!important}html[data-theme=light] .connected-shell{--ux-bg:#f4f7f9;--ux-surface:#fff}.connected-dashboard-aside .panel{min-height:0!important;}
.connected-delivery-line{display:block;margin:7px 0}.connected-paid{color:#14785f}.connected-delivery-column{max-height:calc(100dvh - 280px);overflow:auto}.connected-delivery-board~p{color:inherit}.connected-dashboard-aside button{box-shadow:none!important}@media(max-width:760px){.connected-delivery-column{max-height:none}}

.connected-purchase-line{display:grid;grid-template-columns:80px 44px minmax(0,1fr) 160px;gap:10px;align-items:end;grid-column:1/-1}.connected-purchase-line label{min-width:0}.connected-scan-slot{position:relative}.connected-scan-slot button{height:40px}.connected-scan-slot .purchase-scan-entry{position:absolute;top:45px;left:0;background:#fff;border:1px solid #dbe5ec;padding:14px;min-width:230px;z-index:50;border-radius:12px}.connected-purchase-line .purchase-product-control{display:block}.connected-purchase-line select{width:100%}.purchase-sale-prices small{grid-column:1/-1}.purchase-scan-entry[hidden]{display:none}@media(max-width:650px){.connected-purchase-line{grid-template-columns:80px 44px minmax(0,1fr)}.connected-purchase-line label:last-child{grid-column:1/-1}}

.connected-excel-action{display:inline-flex;gap:8px;align-items:center;background:#e3f3eb;color:#14785f;border:1px solid #b8dfcd;border-radius:12px;padding:10px 15px}.connected-excel-drop{border:1px dashed #8cc6b2;border-radius:16px;background:#f2fbf6;padding:20px;margin:15px 0;display:grid;justify-items:center;gap:10px}.connected-excel-drop.dragging{background:#daf2e5}.connected-excel-dialog{width:min(1100px,94vw)}.connected-excel-dialog [role=alert]:empty{display:none}
.connected-shell .table-wrap{max-width:100%;overflow:auto}.connected-shell .purchase-history-filters{position:static!important;min-width:0;max-width:100%;display:flex;flex-wrap:wrap;gap:12px;align-items:end}.connected-shell .purchase-history-filters>h1{flex-basis:100%;margin:0}.connected-shell .purchase-history-filters label{min-width:0;flex:1 1 160px}.connected-shell .purchase-history-filters input{max-width:100%}@media(max-width:760px){.connected-shell .purchase-history-filters{display:grid;grid-template-columns:minmax(0,1fr)}.connected-shell .purchase-history-filters>*{max-width:100%;min-width:0}.connected-shell .page{min-width:0}.connected-shell .table-wrap{width:100%}}
.connected-bottom{left:0;right:0;transform:none;margin:0 auto;width:max-content;max-width:95vw}
.connected-shell .table-wrap{position:relative}.connected-shell .v1-sr-only{left:0!important;top:0!important}

/* Local editions use the approved dashboard proportions and sale dialog. */
.quick-access-arrow{margin-left:auto}.connected-dashboard-aside>button>svg{box-sizing:content-box;padding:10px;background:#edf2f6;border-radius:10px;width:20px;height:20px}html[data-theme=dark] .quick-sale-dialog{background:#193344;color:#e5eef4}html[data-theme=dark] .quick-sale-dialog input,html[data-theme=dark] .quick-sale-dialog select,html[data-theme=dark] .quick-price-options button{background:#122b3b;color:#e5eef4}html[data-theme=dark] .quick-summary,html[data-theme=dark] .quick-unit-price{background:#122b3b;color:#e5eef4}html[data-theme=dark] .connected-metrics>.panel,html[data-theme=dark] .connected-dashboard-aside>button{background:#193344;color:#e5eef4}
.connected-shell>.page{background:transparent!important;box-shadow:none!important;border:0!important}
.connected-shell .page h1{font-size:27px;line-height:1.2}.connected-top{height:68px}.connected-top-brand img{max-width:150px}
.connected-dashboard-grid{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.connected-metrics>.panel{border:1px solid #deE7ee;box-shadow:none;min-height:105px;background:#fff}.connected-metrics strong{font-size:24px}.connected-recent{min-height:360px}.connected-recent>p{padding:55px 20px;text-align:center}.connected-dashboard-aside>h3{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#647d90;margin:4px 0 -3px}.connected-dashboard-aside>button{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #dee7ee;min-height:68px;font-weight:600}.connected-dashboard-aside>button svg{flex-shrink:0;color:#526c7e}.connected-dashboard-aside>button.primary{color:#147a62;background:#e2f4ed}.connected-bottom svg{width:21px;height:21px}.connected-review,.connected-rate>.panel{border:1px solid #dee7ee}.connected-dashboard-aside .daily-rates{font-size:13px}.connected-dashboard .panel{box-shadow:none}
dialog.quick-sale-dialog{box-sizing:border-box;width:min(1020px,calc(100vw - 40px))!important;max-width:1020px!important;max-height:calc(100dvh - 32px)!important;padding:26px!important;border:1px solid #dce5ed;border-radius:20px;background:var(--panel,#fff);color:var(--ink,#082032);overflow:auto}
.quick-sale-dialog::backdrop{background:rgba(8,32,50,.43)}.quick-sale-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.quick-sale-dialog h2{font-size:23px;margin:0}.quick-sale-dialog h3{font-size:16px;margin:0 0 12px}.quick-sale-dialog>header p{margin:7px 0 0;font-size:13px}.quick-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px}.quick-fields{min-width:0}.quick-fields>h3:not(:first-child){margin-top:24px}.quick-sale-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#526c7e;font-weight:600}.quick-sale-dialog input,.quick-sale-dialog select{box-sizing:border-box;width:100%;min-width:0;height:46px;padding:10px 12px;border:1px solid #dce5ed;border-radius:10px;background:var(--panel,#fff);color:var(--ink,#082032);font:inherit;font-size:14px}.quick-sale-dialog input:focus-visible,.quick-sale-dialog select:focus-visible,.quick-sale-dialog button:focus-visible{outline:2px solid #358aca;outline-offset:2px}.quick-client-search{display:flex;gap:8px}.quick-client-search button{width:46px;flex-shrink:0;padding:10px}.quick-client-selected{font-size:12px;color:#647d90;margin:8px 0}.quick-client-link{padding:4px 0!important;background:transparent!important;border:0!important;color:#397695;font-size:12px}.quick-client-matches{display:grid;gap:5px;max-height:180px;overflow:auto}.quick-client-matches button{text-align:left}.quick-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}.quick-fields>[hidden]{display:none!important}.quick-fields>.error:empty{display:none}.quick-price-label{display:flex;justify-content:space-between;font-size:12px;color:#647d90;margin:18px 0 8px}.quick-price-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.quick-price-options button{display:flex;justify-content:center;align-items:center;gap:9px;min-height:58px;padding:9px;border:1px solid #dce5ed;border-radius:10px;background:var(--panel,#fff);font-size:12px}.quick-price-options button[aria-pressed=true]{background:#e2f4ed;border-color:#95cfbd;color:#16775e}.quick-unit-price{display:flex;align-items:center;min-height:46px;box-sizing:border-box;padding:10px 12px;background:#f4f7f9;border:1px solid #dce5ed;border-radius:10px;color:#082032;font-size:14px}.quick-add{width:100%;min-height:46px;background:#e2f4ed!important;color:#16775e!important;border:1px solid #b9e3d3!important;font-weight:700}.quick-summary{display:flex;flex-direction:column;gap:15px;min-width:0;padding:20px;border:1px solid #dce5ed;border-radius:16px;background:#f6f8fa;color:#082032}.quick-summary>header{display:flex;align-items:baseline;justify-content:space-between;font-size:12px}.quick-summary h3{margin:0}.quick-cart-items{flex:1;min-height:170px}.quick-empty{font-size:13px;text-align:center;line-height:1.8;color:#7890a6;padding:65px 8px}.quick-cart-line{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid #dce5ed;font-size:13px}.quick-cart-line>div{display:flex;align-items:center;justify-content:space-between}.quick-total{display:flex;justify-content:space-between;align-items:center;gap:8px}.quick-total strong{font-size:25px}.quick-summary>small{font-size:11px;color:#647d90}.quick-summary>button{min-height:46px}.quick-sale-dialog button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px){dialog.quick-sale-dialog{width:calc(100vw - 16px)!important;padding:18px!important}.quick-layout{grid-template-columns:1fr;gap:18px}.quick-summary{min-height:280px}.quick-empty{padding:20px 8px}.quick-cart-items{min-height:60px}.quick-pair{gap:9px}.quick-price-options button{gap:4px;flex-direction:column}.connected-dashboard-grid{grid-template-columns:1fr}.connected-metrics{grid-template-columns:1fr}.connected-shell .page h1{font-size:23px}}










/* Reference: approved 8128 management, purchases and report screens. */
.connected-shell .menu-hub-eyebrow,.connected-shell .menu-hub-arrow{display:none}.connected-shell .menu-hub-header{padding:0;background:transparent;border:0;box-shadow:none;align-items:center}.connected-shell .menu-hub-card{min-height:170px;padding:22px;border:1px solid #dfe7ee;background:#fff;text-align:left}.connected-shell .menu-hub-icon{width:48px;height:48px;border-radius:15px}.connected-shell .menu-hub-card strong{font-size:17px}.connected-shell .menu-hub-card-description{font-size:13px;color:#71879b}.connected-shell .menu-hub-grid{gap:18px}.connected-shell .menu-hub-section>h2{font-size:12px;color:#71879b;text-transform:uppercase;letter-spacing:.04em}.connected-shell .menu-hub-search{max-width:250px}.connected-shell .menu-back{margin-bottom:16px}
.connected-shell .table-wrap{border:1px solid #dfe7ee;border-radius:16px;overflow:auto;background:#fff}.connected-shell table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.connected-shell th{background:#f8fafc;color:#71879b;font-size:11px;font-weight:600;padding:12px 16px;white-space:nowrap}.connected-shell td{border-top:1px solid #edf1f5;padding:12px 16px}.connected-shell td small{display:block;color:#71879b;margin-top:5px;font-size:11px}.connected-shell tbody tr:hover{background:#f8fafc}.connected-shell td button{border:1px solid #dfe7ee;border-radius:9px;color:#315f83;background:transparent;padding:8px 12px;min-height:36px;font-size:12px}.connected-shell .ux-table-tools{background:transparent;border:0;font-size:12px;color:#71879b}.connected-shell .form-panel{box-shadow:none;border:1px solid #dfe7ee;border-radius:16px}.connected-shell input,.connected-shell select{border-radius:10px;border-color:#dfe7ee;min-height:42px}.connected-shell .heading>div>p{font-size:14px}.connected-shell .heading h1{margin:0 0 10px}
.approved-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.approved-controls>input{flex:1;min-width:220px}.approved-controls label{font-size:12px;color:#647d90;gap:6px}.approved-controls input,.approved-controls select{height:42px}.approved-controls>button{min-height:42px}.approved-summary{display:flex;gap:12px;margin-bottom:14px}.approved-summary>div{flex:1;border:1px solid #dfe7ee;border-radius:12px;background:#fff;padding:14px 16px;color:#71879b;font-size:12px}.approved-summary strong{display:block;color:#082032;margin-top:7px;font-size:19px}.approved-empty{text-align:center;padding:35px 20px;background:#fff;border:1px solid #dfe7ee;border-radius:14px;color:#71879b}.approved-report-filters{max-width:none!important;padding:18px!important}.approved-report-filters .fields{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.approved-report-filters .fields>.span{grid-column:auto!important}.approved-report-filters .report-field-caption{color:#526c7e;font-size:12px}.approved-report>.heading{align-items:center}.approved-report .report-totals{display:flex;gap:24px;padding:18px}.approved-report .actions{justify-content:flex-end}.approved-report>section:last-child{margin-top:18px}
dialog.approved-purchase-dialog{width:min(1300px,calc(100vw - 32px))!important;max-width:1300px!important;max-height:calc(100dvh - 30px);overflow:auto;padding:26px!important;border-radius:20px;background:#fff;color:#082032}.approved-purchase-dialog>header{display:flex;justify-content:space-between;align-items:center}.approved-purchase-dialog h2{font-size:27px;margin:0}.approved-import-actions{display:flex;margin:12px 0 20px}.approved-import-pdf{font-size:13px;color:#315f83}.approved-purchase-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px}.approved-purchase-fields{min-width:0}.approved-purchase-fields .purchase-document-line{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.approved-purchase-dialog label{font-size:13px;min-width:0;color:#526c7e}.approved-purchase-dialog input,.approved-purchase-dialog select{box-sizing:border-box;width:100%;min-width:0;height:45px;border:1px solid #dfe7ee;border-radius:10px;padding:10px 12px;background:#fff;color:#082032}.approved-purchase-dialog [hidden]{display:none!important}.approved-purchase-fields .purchase-items{display:flex;flex-direction:column;gap:18px}.approved-purchase-fields .purchase-item{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:16px 0!important;border:0;border-bottom:1px solid #e6edf2;border-radius:0;background:transparent}.approved-purchase-fields .connected-purchase-line{grid-column:1/-1;grid-template-columns:80px 44px minmax(0,1fr) 140px;gap:10px}.approved-purchase-fields .purchase-sale-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1/-1;gap:12px;padding:0;background:none;border:0}.approved-purchase-fields .purchase-sale-prices strong,.approved-purchase-fields .purchase-sale-prices small{grid-column:1/-1}.approved-purchase-fields .purchase-small-action{margin:14px 8px 10px 0}.approved-purchase-fields>h3{margin:24px 0 12px;font-size:18px}.approved-purchase-summary{display:flex;flex-direction:column;gap:14px;min-width:0;border:1px solid #dce5ed;border-radius:16px;padding:22px;background:#f6f8fa}.approved-purchase-summary h3{margin:0;font-size:18px}.approved-purchase-list{flex:1}.approved-purchase-summary-line{display:grid;gap:7px;padding:15px 0;border-bottom:1px solid #dce5ed;font-size:13px}.approved-purchase-summary .purchase-totals{display:flex;flex-direction:column;gap:10px;padding:0;margin:0}.approved-purchase-summary .purchase-totals>div{display:flex;justify-content:space-between;background:transparent;padding:0;border:0;font-size:13px}.approved-purchase-summary .purchase-totals>div:last-child{margin-top:12px;font-size:20px}.approved-purchase-summary .actions{display:flex;flex-direction:column}.approved-purchase-summary .actions button{width:100%;min-height:46px}.approved-purchase-dialog form>.error{margin:16px 0 0}.approved-detail{width:min(1100px,calc(100vw - 32px))!important}
html[data-theme=dark] .connected-shell .menu-hub-card,html[data-theme=dark] .connected-shell .table-wrap,html[data-theme=dark] .approved-summary>div,html[data-theme=dark] .approved-empty{background:#193344;color:#e5eef4;border-color:#335162}html[data-theme=dark] .connected-shell th,html[data-theme=dark] .connected-shell tbody tr:hover{background:#122b3b;color:#bdccd8}html[data-theme=dark] .approved-summary strong{color:#e5eef4}
@media(max-width:900px){.approved-purchase-layout{grid-template-columns:1fr}.approved-report-filters .fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.approved-purchase-summary{min-height:260px}.approved-purchase-list{min-height:50px}}@media(max-width:600px){.approved-purchase-fields .purchase-document-line{grid-template-columns:repeat(2,minmax(0,1fr))!important}.approved-purchase-fields .connected-purchase-line{grid-template-columns:65px 40px minmax(0,1fr)}.approved-purchase-fields .connected-purchase-line>label:last-child{grid-column:1/-1}.approved-purchase-fields .purchase-item{grid-template-columns:repeat(2,minmax(0,1fr))!important}.approved-controls>input{flex-basis:100%}.approved-report>.heading{align-items:start}.connected-shell .menu-hub-header{flex-wrap:wrap}.connected-shell .menu-hub-card{min-height:145px;padding:18px}.approved-purchase-dialog{padding:18px!important}}
#dialog.approved-purchase-dialog .purchase-items .purchase-item{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end}
#dialog.approved-purchase-dialog .purchase-item .connected-purchase-line{display:grid;grid-column:1/-1;grid-template-columns:80px 44px minmax(0,1fr) 140px;min-width:0}
#dialog.approved-purchase-dialog .purchase-item .purchase-sale-prices{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#dialog.approved-purchase-dialog .purchase-item .purchase-sale-prices>strong{display:block;grid-column:1/-1}
#dialog.approved-purchase-dialog .purchase-item .purchase-sale-prices>small{grid-column:1/-1;margin:0;padding:8px 0;background:none;border:0}
#dialog.approved-purchase-dialog .purchase-items .purchase-item>button{grid-column:3;grid-row:auto;justify-self:end;width:auto}
#dialog.approved-purchase-dialog .purchase-item label{grid-column:auto;min-width:0}
@media(max-width:600px){#dialog.approved-purchase-dialog .purchase-item .connected-purchase-line{grid-template-columns:65px 40px minmax(0,1fr)}#dialog.approved-purchase-dialog .purchase-item .connected-purchase-line>label:last-child{grid-column:1/-1}}
/* Match the approved web purchase and invoice review. */
#dialog.reference-purchase,#dialog.reference-invoice-review{box-sizing:border-box;width:min(1320px,calc(100vw - 40px));max-width:1500px;max-height:calc(100dvh - 30px);overflow:auto;padding:28px;border:1px solid #dfe7ee;border-radius:20px;background:#fff;color:#082032;font-family:Arial,sans-serif}
#dialog.reference-invoice-review{width:min(1560px,calc(100vw - 40px))}
#dialog.reference-purchase>header,#dialog.reference-invoice-review>header{display:flex;align-items:flex-start;gap:20px;margin-bottom:22px}#dialog.reference-purchase>header>div,#dialog.reference-invoice-review>header>div{flex:1}#dialog.reference-purchase h2,#dialog.reference-invoice-review h2{font-size:27px;margin:0 0 10px}#dialog.reference-purchase header p,#dialog.reference-invoice-review header p{color:#71879b;font-size:14px;margin:0}
.reference-purchase-layout{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(280px,1fr);gap:30px}.reference-document-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.reference-purchase-layout label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#526b7e;min-width:0}.reference-purchase-layout input,.reference-purchase-layout select,.reference-invoice-review input,.reference-invoice-review select{box-sizing:border-box;width:100%;min-width:0;height:49px;padding:10px 12px;border:1px solid #dce5ed;border-radius:11px;background:white;color:#082032;font:inherit}.reference-purchase-layout input:focus,.reference-purchase-layout select:focus{outline:2px solid #3687c7;outline-offset:1px}.reference-purchase-layout h3{font-size:20px;margin:26px 0 18px}.reference-item-grid{display:grid;grid-template-columns:95px 50px minmax(0,1fr) 155px;gap:14px;align-items:end}.reference-scan{position:relative}.reference-scan>button{width:50px;height:49px;color:#526b7e;font-size:27px;background:#fff;border:1px solid #dce5ed;border-radius:11px}.reference-scan-panel{position:absolute;z-index:5;top:55px;left:0;width:240px;padding:20px;background:#fff;border:1px solid #dce5ed;border-radius:12px}.reference-price-title{display:flex;justify-content:space-between;gap:10px;margin:23px 0 14px;font-size:14px}.reference-price-title small,.reference-tax small,.reference-note{color:#71879b;font-size:12px}.reference-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reference-note{line-height:1.5;margin:10px 0}.reference-tax{display:flex;align-items:end;gap:18px;margin:18px 0 24px}.reference-tax label{width:160px}.reference-extra{display:flex;gap:14px}.reference-add{width:100%;min-height:54px;background:#e1f3ec!important;color:#08785a!important;border:1px solid #b7e2d4!important;border-radius:12px;font-size:16px;font-weight:bold}.reference-summary{display:flex;flex-direction:column;gap:15px;border:1px solid #dce5ed;border-radius:20px;background:#f6f8fa;padding:26px}.reference-summary h3{display:flex;justify-content:space-between;align-items:center;margin:0;font-size:20px}.reference-summary h3 span{font-size:12px;font-weight:normal;color:#71879b}.reference-purchase-lines{flex:1;min-height:250px;max-height:370px;overflow:auto}.reference-cart-empty{max-width:230px;text-align:center;margin:90px auto;color:#71879b;line-height:1.7}.reference-cart-line{display:grid;grid-template-columns:1fr auto;gap:8px;padding:15px 0;border-bottom:1px solid #dce5ed}.reference-cart-line strong{grid-column:1/-1}.reference-cart-line button{padding:4px 10px}.reference-total{display:flex;align-items:center;justify-content:space-between;font-size:18px}.reference-total strong{font-size:29px}.reference-summary>button{min-height:52px;border-radius:12px}.reference-summary>button:last-child{background:none;border:0;color:#526b7e}.reference-summary .primary:disabled{background:#e1e6eb;color:#899dad;opacity:1}.reference-supplier-results,.reference-product-results{position:relative;z-index:4}.reference-supplier-results:empty,.reference-product-results:empty{display:none}.reference-supplier-results button,.reference-product-results button{display:block;width:100%;padding:9px;background:white;border:1px solid #dfe7ee;text-align:left}.reference-invoice-meta{display:flex;gap:24px;align-items:center;margin:30px 0 20px;font-size:14px}.reference-invoice-meta strong:last-child{margin-left:auto;font-size:23px}.reference-warning{padding:18px 20px;color:#c32743;background:#fae9ed;border:1px solid #f4b9c4;border-radius:14px;font-size:13px}.reference-invoice-table{overflow:auto;border:1px solid #dce5ed;border-radius:18px;margin:18px 0}.reference-invoice-table table{width:100%;border-collapse:collapse;min-width:1050px}.reference-invoice-table th{background:#f7f9fb;color:#71879b;font-size:12px;text-align:left;font-weight:normal;padding:14px 12px}.reference-invoice-table td{border-top:1px solid #e6edf3;padding:14px 12px;font-size:14px;vertical-align:middle}.reference-invoice-table td:first-child{width:27%}.reference-invoice-table td:nth-child(2){width:23%}.reference-invoice-table td:nth-child(n+5){width:10%}.reference-invoice-table td small{display:block;color:#71879b;font-size:12px;margin-top:8px}.reference-invoice-table td:nth-child(2)>div>button{padding:5px 0;font-size:12px;border:0;background:none;color:#526b7e}.reference-invoice-review .actions{display:flex;justify-content:flex-end;gap:14px;margin-top:20px}.reference-invoice-review .actions>button{border-radius:12px;padding:16px 24px}.reference-invoice-review input{font-size:13px}.reference-purchase [hidden],.reference-invoice-review [hidden]{display:none!important}
@media(max-width:900px){.reference-purchase-layout{grid-template-columns:1fr}.reference-purchase-lines{min-height:120px}.reference-cart-empty{margin:25px auto}.reference-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.reference-item-grid{grid-template-columns:70px 45px minmax(0,1fr)}.reference-item-grid>label:last-child{grid-column:1/-1}#dialog.reference-purchase,#dialog.reference-invoice-review{padding:18px}.reference-purchase>header{flex-wrap:wrap}.reference-price-title{flex-wrap:wrap}}

.reference-invoice-table th{text-transform:none;letter-spacing:normal}.reference-invoice-table .reference-product-results+small{color:#248d79}
#dialog.reference-purchase>header>button:not(.close-icon-button){flex:none;width:auto;height:40px;min-width:190px;margin:0;padding:8px 12px;white-space:nowrap;border:1px solid #dce5ed;border-radius:9px;background:#f7f9fb;color:#526b7e;font-size:12px;font-weight:600;position:static;line-height:1.3}#dialog.reference-purchase>header>.close-icon-button,#dialog.reference-invoice-review>header>.close-icon-button{position:static;flex:none;width:28px;height:32px;padding:0;font-size:24px;border:0;background:transparent}#dialog.reference-purchase label{font-weight:400}#dialog.reference-purchase input,#dialog.reference-purchase select{font-weight:500}

dialog.approved-invoice-review{width:min(1500px,calc(100vw - 30px));max-width:1500px;max-height:calc(100dvh - 30px);overflow:auto;padding:26px;border-radius:20px}.approved-invoice-review table{min-width:1050px}.approved-invoice-review td{vertical-align:top;padding:10px}.approved-invoice-review input{min-width:90px;width:100%;box-sizing:border-box}.approved-invoice-review td:nth-child(2){min-width:230px}.approved-invoice-review small{display:block}.approved-invoice-review .fields{margin:18px 0}.approved-invoice-review .actions{margin-top:18px}

/* Authentication always owns the full viewport, including after logout. */
#app.access-shell{display:block!important;padding:0!important;margin:0!important;width:100%!important;min-height:100dvh;background:var(--ux-bg)}
#app.access-shell .internal-access{box-sizing:border-box;min-height:100dvh;width:100%;display:grid;place-items:center;padding:32px 20px;margin:0}
#app.access-shell .internal-card{box-sizing:border-box;width:min(440px,100%);max-width:100%;margin:0;min-width:0}
#app.access-shell .internal-card input{min-width:0;width:100%;box-sizing:border-box}
#app.access-shell .internal-card .fields{grid-template-columns:minmax(0,1fr)}
#app.access-shell .quick-brand{background:#082032;border-radius:12px;padding:20px;display:flex;justify-content:center}
#app.access-shell .quick-brand img{max-width:220px;width:100%;height:auto}
/* Match the approved reference, with Cloud subscription notices still available. */
#app.connected-shell{--ux-canvas:#f4f7f9;--ux-bg:#f4f7f9;--ux-surface:#fff;--ux-text:#082032;--ux-border:#e0e8f0;background:var(--ux-bg);color:var(--ux-text)}
#app.connected-shell>.page{background:transparent!important;box-sizing:border-box}
.connected-top{box-sizing:border-box;height:74px;flex-shrink:0}
.connected-top .brand-logo{width:170px;max-height:48px;object-fit:contain}
.connected-top .connected-company{min-width:0}.connected-company strong{overflow-wrap:anywhere}
.connected-shell .connected-metrics .panel{border:1px solid var(--ux-border);background:var(--ux-surface);gap:8px}
.connected-metrics small{color:#71899e;font-size:12px}
.connected-shell .menu-hub-eyebrow,.connected-shell .menu-hub-arrow{display:none}
.connected-shell .menu-hub-header{margin-bottom:28px}.connected-shell .menu-hub-header h1{font-size:30px}
.connected-shell .menu-hub-search{max-width:230px}.connected-shell .menu-hub-card{min-height:174px}
.connected-shell .menu-hub-section>h2{font-size:12px;letter-spacing:.04em}
.connected-shell .connected-location{text-align:center;color:#7c93a7;font-size:12px;padding:28px 0 8px}
.connected-account-actions{display:flex;gap:10px;justify-content:center;margin-top:24px;flex-wrap:wrap}
.connected-shell .connected-dashboard-aside>button:first-child{min-height:78px;font-size:15px;font-weight:700}
.connected-shell .connected-dashboard-aside>button:first-child svg{width:28px;height:28px}
.connected-recent{padding:0!important;overflow:hidden}.connected-recent>.heading{padding:18px 20px;margin:0!important}
.connected-recent>p{padding:30px 20px}.connected-recent td,.connected-recent th{padding:14px 18px}
.connected-shell .daily-rates{box-shadow:none!important;border:1px solid var(--ux-border)!important;border-radius:16px}
html[data-theme=dark] #app.connected-shell{--ux-canvas:#102532;--ux-bg:#102532;--ux-surface:#193344;--ux-text:#e4edf4;--ux-border:#36505f}
html[data-theme=dark] .connected-shell .connected-dashboard-aside>button,html[data-theme=dark] .connected-support{background:#193344;color:#e4edf4;border-color:#36505f}
@media(max-width:760px){.connected-top{height:auto;min-height:74px}.connected-top .brand-logo{width:135px}.connected-top .connected-company{flex:1}.connected-top .connected-actions{margin-left:0;width:100%;justify-content:flex-end}.connected-shell .connected-dashboard-aside{display:flex}.connected-shell .menu-hub-header h1{font-size:25px}.connected-bottom{box-sizing:border-box}.connected-bottom button{padding:9px 7px}.connected-shell .menu-hub-card{min-height:145px}#app.access-shell .internal-access{padding:20px 16px}.connected-recent td,.connected-recent th{padding:12px}}
@media print{.connected-top,.connected-bottom,.connected-location,.connected-account-actions{display:none!important}}

#app.connected-shell{margin:0!important;width:100%;max-width:none}
.connected-recent .heading h1{font-size:18px}.connected-recent .heading p{font-size:12px}
/* Dashboard: aligned columns, readable status colors and a daily-rate reminder. */
.connected-dashboard-primary{min-width:0;display:flex;flex-direction:column;gap:16px}
.connected-dashboard .connected-metrics{margin:0;flex-shrink:0}
.connected-dashboard .connected-recent{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
.connected-dashboard .connected-recent>.heading{flex-shrink:0}
.connected-dashboard .connected-recent>.table-wrap{border:0;border-top:1px solid var(--ux-border);border-radius:0;max-height:clamp(260px,calc(100dvh - 370px),540px);overflow:auto;scrollbar-gutter:stable}
.connected-recent th{position:sticky;top:0;z-index:1;background:var(--ux-surface)}
.connected-recent tbody tr:nth-child(even){background:#f6f9fb}
.connected-recent td:nth-child(3),.connected-recent th:nth-child(3){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.connected-recent td:nth-child(3){font-weight:700}
.connected-recent td:last-child{width:46px;text-align:right}
.connected-sale-status{display:inline-flex;flex-direction:column;gap:4px;padding:7px 10px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.connected-sale-status--approved{background:#e2f4ed;border-color:#bfe6d7;color:#11634e}
.connected-sale-status--pending{background:#fff3d6;border-color:#ead393;color:#795608}
.connected-sale-status--rejected{background:#fce8ec;border-color:#efc1ca;color:#a32239}
.connected-sale-status--neutral{background:#edf2f6;border-color:#d7e2ea;color:#415d71}
.connected-sale-status strong,.connected-sale-status small{color:inherit!important;font-size:inherit;margin:0}
.connected-sale-status small{font-size:11px;font-weight:400}
.connected-dashboard .connected-dashboard-aside{display:flex;flex-direction:column;gap:10px;min-width:0}
.connected-shell .connected-dashboard-aside>button{min-height:60px;padding:12px 16px}
.connected-shell .connected-dashboard-aside>button:first-child{min-height:72px}
.connected-dashboard .connected-support{display:flex;align-items:center;gap:10px;padding:13px 16px;margin-top:auto;font-size:13px;font-weight:600}
.connected-support svg{width:19px;height:19px;flex-shrink:0}.connected-support>span:last-child{margin-left:auto}
.connected-rate .daily-rates h2{font-size:18px;margin:0 0 8px}.connected-rate .daily-rates p{margin:5px 0;line-height:1.45}
.connected-rate .daily-rates>button{width:100%;margin-top:9px}
.daily-rates.is-pending{position:relative!important}
.daily-rates.is-pending .daily-rate-status{color:#a32239;font-weight:600}
/* A slow opacity pulse signals missing daily confirmation without flashing the text. */
.daily-rates.is-pending::after{content:"";position:absolute;inset:0;border:2px solid #cf4054;border-radius:inherit;pointer-events:none;animation:daily-rate-reminder 2.4s ease-in-out infinite}
@keyframes daily-rate-reminder{0%,100%{opacity:.3}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.daily-rates.is-pending::after{animation:none;opacity:.65}}
html[data-theme=dark] .connected-recent tbody tr:nth-child(even){background:#16303f}
html[data-theme=dark] .connected-sale-status--approved{background:#173e37;border-color:#2e6858;color:#98e4c7}
html[data-theme=dark] .connected-sale-status--pending{background:#493a19;border-color:#76602a;color:#f6d889}
html[data-theme=dark] .connected-sale-status--rejected{background:#4d2632;border-color:#79404b;color:#ffb9c5}
html[data-theme=dark] .connected-sale-status--neutral{background:#263f50;border-color:#476171;color:#c5d9e7}
html[data-theme=dark] .daily-rates.is-pending .daily-rate-status{color:#ffb9c5}
@media(min-width:901px) and (max-height:820px){
 .connected-shell>.page.connected-dashboard{padding-top:16px!important;padding-bottom:100px!important}
 .connected-dashboard>.heading{margin-bottom:16px}.connected-dashboard-primary{gap:12px}
 .connected-dashboard .connected-metrics>.panel{min-height:88px;padding:14px 18px}
 .connected-dashboard-grid{height:calc(100dvh - 290px);min-height:440px}
 .connected-dashboard-primary,.connected-dashboard .connected-recent>.table-wrap{min-height:0}
 .connected-dashboard .connected-recent>.table-wrap{flex:1;max-height:none}
 .connected-dashboard .connected-dashboard-aside{gap:8px}
 .connected-shell .connected-dashboard-aside>button{min-height:48px;padding:8px 12px}
 .connected-shell .connected-dashboard-aside>button:first-child{min-height:52px}
 .connected-dashboard-aside>button>svg{padding:5px}
 .connected-rate .daily-rates{padding:10px!important;font-size:12px}.connected-rate .daily-rates h2{font-size:16px;margin-bottom:5px}
 .connected-rate .daily-rates p{margin:3px 0}.connected-rate .daily-rates>button{padding:9px;margin-top:6px}
 .connected-dashboard .connected-support{padding:9px 12px}
}
@media(max-width:900px){
 .connected-dashboard-grid{grid-template-columns:minmax(0,1fr)}
 .connected-dashboard .connected-recent>.table-wrap{max-height:none}
 .connected-dashboard .connected-dashboard-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .connected-dashboard-aside>h3,.connected-dashboard-aside>button:first-child,.connected-dashboard-aside>.connected-rate,.connected-dashboard-aside>.connected-support{grid-column:1/-1}
}
@media(max-width:520px){
 .connected-dashboard .connected-dashboard-aside{display:flex}
 .connected-recent table,.connected-recent tbody{display:block;min-width:0}
 .connected-recent thead{display:none}
 .connected-recent tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:14px;border-bottom:1px solid var(--ux-border)}
 .connected-recent td{display:block;height:auto;padding:0;border:0}
 .connected-recent td:nth-child(2){grid-column:1/-1;grid-row:1}
 .connected-recent td:first-child{grid-column:1;font-size:12px;color:#647d90}
 .connected-recent td:nth-child(3){grid-column:1;text-align:left}
 .connected-recent td:nth-child(4){grid-column:1/-1}
 .connected-recent td:last-child{grid-column:2;grid-row:2/4;align-self:center;width:auto}
 .connected-recent .heading{align-items:flex-start;gap:10px}
}
.connected-shell #page[data-view="issue"] .menu-hub-search,.connected-shell #page[data-view="reports"] .menu-hub-search{display:none!important}
.connected-shell .menu-hub-section>h2:empty{display:none}
#app.connected-shell>.subscription-banner[hidden],#app.access-shell>.subscription-banner[hidden]{display:none!important}
.connected-shell #page .menu-hub-header h1{font-size:30px}
html[data-theme=dark] .connected-bottom button[aria-current=page]{background:#e7b94b!important;color:#082032!important}
@media(max-width:760px){.connected-shell #page .menu-hub-header h1{font-size:25px}}

.pdf-print-pages canvas{display:block;width:100%;height:auto;break-after:page}.pdf-print-pages canvas:last-child{break-after:auto}
/* Caja: payment choices first, received amount and change together at the bottom. */
#dialog.checkout-simple{width:min(850px,calc(100vw - 24px));padding:24px;max-height:calc(100dvh - 24px)}
#dialog.checkout-simple [hidden]{display:none!important}
.checkout-simple .fields{gap:18px 20px}.checkout-customer{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:0 0 16px;border-bottom:1px solid #dce5ed}.checkout-customer strong{font-size:18px;overflow-wrap:anywhere}.checkout-customer>span{white-space:nowrap;font-size:13px;color:#637d92}
.checkout-optional{border-bottom:1px solid #dce5ed;padding:0 0 14px}.checkout-optional summary{cursor:pointer;font-size:14px;font-weight:600;color:#526b80;padding:4px 0}.checkout-optional-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}.checkout-optional .muted{font-size:12px;margin:12px 0 0}
.checkout-counter{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:20px;align-items:center;background:#f4f7fa;border:1px solid #dce5ed;border-radius:14px;padding:22px}
.checkout-total,.checkout-change{display:flex;flex-direction:column;gap:7px;min-width:0}.checkout-total>span,.checkout-change>span{font-size:14px;font-weight:600}.checkout-total-value{font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-.03em;overflow-wrap:anywhere}.checkout-conversion{font-size:13px;color:#526b80}.checkout-conversion:empty{display:none}
#dialog.checkout-simple .checkout-counter label{margin:0;min-width:0;font-size:14px}#dialog.checkout-simple .checkout-counter input{height:56px;font-size:25px!important;font-weight:700;padding:10px;min-width:0;width:100%}
.checkout-change-value{font-size:29px;line-height:1.2;overflow-wrap:anywhere}.checkout-counter strong,.checkout-counter input{font-variant-numeric:tabular-nums}.checkout-change.is-ready{color:#087454}.checkout-change.is-short{color:#b42332}.checkout-message{grid-column:1/-1;margin:0;font-size:12px;color:#526b80}.checkout-message:empty{display:none}.checkout-counter:has(.is-short) .checkout-message{color:#b42332}
#dialog .checkout-change .checkout-change-value{color:inherit!important}.checkout-total:only-child{grid-column:1/-1}
#dialog.checkout-simple input[aria-invalid=true]{border-color:#b42332;background:#fff5f6}.checkout-credit{margin:0;font-size:14px;line-height:1.6}.checkout-simple .actions{margin-top:18px}.checkout-simple .actions>button{min-height:48px}
html[data-theme=dark] .checkout-counter{background:#142f40;border-color:#355161}html[data-theme=dark] .checkout-customer,html[data-theme=dark] .checkout-optional{border-color:#355161}html[data-theme=dark] .checkout-customer>span,html[data-theme=dark] .checkout-optional summary,html[data-theme=dark] .checkout-conversion,html[data-theme=dark] .checkout-message{color:#adc1d0}html[data-theme=dark] .checkout-change.is-ready{color:#80d9b7}html[data-theme=dark] .checkout-change.is-short,html[data-theme=dark] .checkout-counter:has(.is-short) .checkout-message{color:#ffacb9}html[data-theme=dark] #dialog.checkout-simple input[aria-invalid=true]{border-color:#ffacb9;background:#40272b}
@media(max-width:600px){#dialog.checkout-simple{padding:18px 14px}.checkout-customer{align-items:start}.checkout-customer strong{font-size:16px}.checkout-counter{grid-template-columns:1fr 1fr;padding:18px;gap:16px}.checkout-total{grid-column:1/-1}.checkout-total-value{font-size:36px}.checkout-change-value{font-size:26px}.checkout-optional-fields{grid-template-columns:1fr}.checkout-simple .actions>button{width:100%}}
#dialog.checkout-mixed{width:min(960px,calc(100vw - 24px));max-width:960px}
.register-content{margin-top:18px}.register-status{display:flex;align-items:center;justify-content:space-between;gap:16px}.register-status p{margin:8px 0 0}.register-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.register-totals .card{display:flex;flex-direction:column;gap:10px;padding:18px}.register-totals strong{font-size:28px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.register-totals small{line-height:1.6;color:var(--muted)}.register-history-filters{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:14px;align-items:end}.register-page .daily-rates{margin-top:16px}.register-page .daily-rates.is-pending{border-color:#b42332}.register-page .daily-rates.is-pending .daily-rate-status{color:#b42332;font-weight:650}
#dialog.register-dialog{width:min(960px,calc(100vw - 24px));max-width:960px}.register-owner{font-size:17px;font-weight:650;margin:14px 0}.register-count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.register-count-grid input{font-size:24px;font-variant-numeric:tabular-nums;font-weight:650}.register-differences{display:flex;gap:20px;flex-wrap:wrap}.register-differences>div{display:flex;flex-direction:column;gap:8px}.register-balanced{color:#16805b}.register-report details{margin:18px 0}.register-report .table-wrap{max-width:100%;overflow:auto}.register-dialog form{margin-top:20px}html[data-theme=dark] .register-balanced{color:#80d9b7}html[data-theme=dark] .register-page .daily-rates.is-pending .daily-rate-status{color:#ffacb9}
@media(max-width:600px){#dialog.register-closing>.table-wrap{display:none}.register-status{display:block}.register-status .actions{margin-top:16px}.register-totals{grid-template-columns:1fr}.register-history-filters{grid-template-columns:1fr 1fr}.register-history-filters label:last-of-type{grid-column:1/-1}.register-count-grid{grid-template-columns:1fr}.register-dialog .actions{flex-wrap:wrap}.register-dialog .actions button{flex:1}.register-dialog .table-wrap{overflow:auto;max-width:100%}}
.checkout-mixed .fields{gap:14px 18px}.checkout-rate-line{margin:0;font-size:12px;color:#526b80}.checkout-rate-line.is-pending{color:#b42332}
.checkout-currencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.checkout-currency{padding:14px;border:1px solid #dce5ed;border-radius:12px;background:#f7f9fb;min-width:0}.checkout-currency.has-amount{border-color:#87bba8;background:#f0faf6}.checkout-currency-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.checkout-currency-heading strong{font-size:15px}.checkout-currency small{display:block;font-size:12px;line-height:1.4;color:#526b80;overflow-wrap:anywhere}
.checkout-currency label{font-size:12px}.checkout-currency-input{display:flex;gap:6px;min-width:0}.checkout-currency-input input{width:100%;min-width:0;font-size:22px!important;font-weight:650;font-variant-numeric:tabular-nums;height:46px!important;padding:8px!important}.checkout-currency-input button{flex:0 0 40px;width:40px;padding:8px;display:grid;place-items:center}.checkout-currency-balance{margin-top:9px;font-variant-numeric:tabular-nums}
.checkout-electronic{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkout-electronic label:last-child{grid-column:1/-1}.checkout-received-equivalent{font-size:24px;overflow-wrap:anywhere}.checkout-return-currency{grid-column:1/-1;max-width:320px}.checkout-mixed .checkout-counter{padding:18px;gap:14px}.checkout-mixed .checkout-total-value{font-size:32px}.checkout-mixed .checkout-counter select{min-height:40px}
html[data-theme=dark] .checkout-currency{background:#142f40;border-color:#355161}html[data-theme=dark] .checkout-currency.has-amount{background:#173a35;border-color:#4d9c85}html[data-theme=dark] .checkout-currency small,html[data-theme=dark] .checkout-rate-line{color:#adc1d0}html[data-theme=dark] .checkout-rate-line.is-pending{color:#ffacb9}
@media(max-width:600px){.checkout-currencies{grid-template-columns:1fr;gap:8px}.checkout-currency{display:grid;grid-template-columns:1fr 1.25fr;column-gap:10px;padding:10px 12px;align-items:center}.checkout-currency-heading{margin:0}.checkout-currency-balance{grid-column:1/-1;margin-top:5px}.checkout-currency-input input{font-size:20px!important}.checkout-currency-heading strong{font-size:14px}.checkout-return-currency{max-width:none}.checkout-electronic{grid-template-columns:1fr}.checkout-mixed .checkout-total-value{font-size:30px}.checkout-received-equivalent{font-size:22px}.checkout-mixed .checkout-received{grid-column:auto}}
@media print{#dialog.pdf-print-dialog,#dialog.pdf-print-dialog .pdf-print-pages{border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important}}
.commerce-photo-field{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px;border:1px dashed var(--line,#d7e2ec);border-radius:12px}.commerce-product-photo{width:90px;height:90px;object-fit:contain;background:white;border-radius:8px}.commerce-photo-field strong{flex-basis:100%}.commerce-document-dialog{width:min(1050px,95vw);max-width:1050px}.commerce-document{color:#082032;background:#fff}.commerce-document-header{display:flex!important;justify-content:space-between;gap:20px;align-items:start!important}.commerce-document-logo{width:130px;height:55px;object-fit:contain}.commerce-document-client,.commerce-document-terms{padding:12px;border:1px solid #d7e2ec;margin:12px 0}.commerce-document p{margin:5px 0;font-size:12px}.commerce-document h1{font-size:20px}.commerce-document h2{font-size:18px}.commerce-document table{font-size:11px;table-layout:auto}.commerce-document th,.commerce-document td{padding:7px 5px;overflow-wrap:anywhere}.commerce-line-photo{width:54px;height:60px;object-fit:contain;background:white}.commerce-document-total{text-align:right}.commerce-signatures{margin-top:35px!important}.commerce-quotation-form{width:min(1100px,95vw);max-width:1100px}.commerce-checkout{width:min(850px,95vw);max-width:850px}.commerce-document small{display:block}
@media print{.commerce-document{width:100%!important;max-width:100%!important;padding:0!important;font-size:10px}.commerce-document-header{break-inside:avoid}.commerce-document tr{break-inside:avoid}.commerce-document thead{display:table-header-group}.commerce-document button{display:none!important}.commerce-document .table-wrap{overflow:visible!important}.commerce-document table{width:100%!important}.commerce-document th{background:#edf2f5!important;color:#082032!important}.commerce-document td{padding:5px 3px!important}.commerce-document .commerce-line-photo{width:42px;height:48px}.commerce-signatures{break-inside:avoid}}

.quotation-catalog{border:1px solid var(--border,#dce5eb);border-radius:12px;padding:14px}.quotation-catalog summary{cursor:pointer;font-weight:700}.quotation-catalog-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.quotation-catalog-filters>label:last-child{grid-column:1/-1}.quotation-catalog-results{max-height:280px;overflow:auto}.quotation-catalog-results td{padding:10px!important}.quotation-catalog-results .actions{margin:0}@media(max-width:700px){.quotation-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep forms reachable with the mobile keyboard open, without disabling zoom. */
@media screen and (max-width:700px){
 #dialog.commerce-quotation-form,#dialog.commerce-checkout,#dialog.commerce-document-dialog{box-sizing:border-box;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px 14px calc(16px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain}
 .commerce-quotation-form .fields,.commerce-checkout .fields{grid-template-columns:minmax(0,1fr)!important;min-width:0}
 .commerce-quotation-form .fields>.span,.commerce-checkout .fields>.span{grid-column:1/-1!important;min-width:0}
 .commerce-quotation-form .quotation-item{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;min-width:0!important;width:100%;box-sizing:border-box}
 .commerce-quotation-form .quotation-item>label:first-child{grid-column:1/-1}.commerce-quotation-form .quotation-item>button{justify-self:end;grid-column:2}
 .commerce-quotation-form label,.commerce-checkout label,.quotation-catalog{min-width:0}
 .quotation-catalog{padding:10px}.quotation-catalog-filters{gap:10px}.quotation-catalog-filters>label:nth-child(-n+2){grid-column:1/-1}
 .quotation-catalog-results table,.quotation-catalog-results tbody{display:block;min-width:0;width:100%}.quotation-catalog-results thead{display:none}
 .quotation-catalog-results tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;padding:10px;border-bottom:1px solid #dce5eb}.quotation-catalog-results td{display:block;border:0!important;padding:4px!important;min-width:0;height:auto!important;min-height:0;white-space:normal;overflow-wrap:anywhere}
 .quotation-catalog-results td:nth-child(2){grid-column:1;grid-row:1;font-weight:700}.quotation-catalog-results td:first-child{grid-column:1;grid-row:2;font-size:12px}.quotation-catalog-results td:nth-child(3){grid-column:1;grid-row:3;font-size:12px}.quotation-catalog-results td:nth-child(4){grid-column:1;grid-row:4}.quotation-catalog-results td:nth-child(4)::before{content:'Disponible: '}.quotation-catalog-results td:nth-child(5){grid-column:1;grid-row:5}.quotation-catalog-results td:nth-child(6){grid-column:2;grid-row:1/6;align-self:center}
 .commerce-document{min-width:0;max-width:100%;padding:0}.commerce-document-header{flex-wrap:wrap;gap:10px}.commerce-document-logo{width:100px;height:42px}
 .commerce-document .table-wrap{max-width:100%;overflow:auto;overscroll-behavior:contain}.commerce-document table{min-width:680px}
 .commerce-document-dialog>.actions,.commerce-quotation-form form>.actions,.commerce-checkout form>.actions{flex-wrap:wrap}.commerce-document-dialog>.actions>button{flex:1 1 150px}
 .commerce-document p,.commerce-document h1,.commerce-document h2{overflow-wrap:anywhere}.commerce-document h1{font-size:19px}
 .connected-top{padding-top:calc(12px + env(safe-area-inset-top,0px))}.connected-bottom{bottom:max(8px,env(safe-area-inset-bottom,0px))}
}
@media(pointer:coarse){
 #app input,#app select,#app textarea,#dialog input,#dialog select,#dialog textarea{font-size:16px!important}
 #app button,#dialog button,#dialog summary{min-height:44px;touch-action:manipulation;user-select:none;-webkit-user-select:none}
 #dialog .sale-icon,#dialog .v1-row-action{min-width:44px}#dialog{overscroll-behavior:contain}
}
/* Document identity: company at left, product branding only in the footer. */
.receipt-print .issuer-print-logo{display:block;width:auto;max-width:150px!important;height:auto;max-height:72px!important;object-fit:contain;object-position:left center;margin:0 0 12px!important;filter:none}
.receipt-ticket .issuer-print-logo{max-width:40mm!important;max-height:20mm!important;margin-left:0!important;margin-right:auto!important}
.receipt-print .document-brand-footer{display:block;background:none;border:0;margin:24px 0 0;padding:8px 0 0;color:#556671;font-size:10px;break-inside:avoid}
.commerce-document .commerce-document-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) minmax(125px,180px);gap:20px;align-items:start!important;background:white!important;color:#082032!important;padding:0!important;border:0!important}
.commerce-document-header:not(:has(.issuer-print-logo)){grid-template-columns:minmax(0,1fr) minmax(125px,180px)}
.commerce-document-header .issuer-print-logo{width:130px!important;max-width:130px!important;max-height:75px!important;margin:0!important}
.commerce-document .commerce-document-title{font-size:17px;margin:0;text-align:right;line-height:1.35}.commerce-document-title small{font-size:14px}.commerce-company-details{min-width:0}.commerce-company-details h2{margin:0;font-size:16px}
.quotation-brand-strip{display:flex;align-items:center;justify-content:space-around;gap:8px;margin:20px 0 10px;break-inside:avoid;background:white}.quotation-brand-strip img{flex:1 1 0;min-width:0;max-width:min(160px,calc((100% - (var(--brand-count) - 1)*8px)/var(--brand-count)));height:42px;object-fit:contain}.quotation-brand-strip img:only-child{max-width:160px}
.quotation-logo-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:18px 0}.quotation-logo-card{border:1px solid var(--line,#d7e2ec);border-radius:12px;padding:14px;min-width:0}.quotation-logo-card>img{width:100%;height:68px;object-fit:contain;background:#fff;border-radius:4px}.quotation-logo-card>span{display:block;margin:8px 0;overflow-wrap:anywhere}.quotation-logo-card .actions{display:flex;flex-wrap:wrap;gap:6px}.quotation-branding-panel .v1-row-action{min-width:44px;min-height:44px}
@media(max-width:650px){.commerce-document .commerce-document-header{grid-template-columns:80px minmax(0,1fr);gap:10px}.commerce-document-header:not(:has(.issuer-print-logo)){grid-template-columns:minmax(0,1fr)}.commerce-document-header .issuer-print-logo{width:80px!important;max-width:80px!important;max-height:60px!important}.commerce-document .commerce-document-title{grid-column:1/-1;text-align:right;font-size:16px}.quotation-brand-strip{gap:4px;margin-top:14px}.quotation-brand-strip img{max-width:min(130px,calc((100% - (var(--brand-count) - 1)*4px)/var(--brand-count)));height:28px}.quotation-branding-panel{padding:16px}.quotation-logo-list{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}}
@media print{.commerce-document .commerce-document-header{grid-template-columns:auto minmax(0,1fr) 140px!important;gap:16px!important}.commerce-document-header:not(:has(.issuer-print-logo)){grid-template-columns:minmax(0,1fr) 140px!important}.commerce-document .commerce-document-title{grid-column:auto!important}.commerce-document-header .issuer-print-logo{width:110px!important;max-width:110px!important;max-height:65px!important}.quotation-brand-strip{gap:6px}.quotation-brand-strip img{max-width:min(140px,calc((100% - (var(--brand-count) - 1)*6px)/var(--brand-count)));height:36px}.receipt-print .document-brand-footer{color:#555!important;background:transparent!important}}

.quotation-branding-panel .checks{display:flex;align-items:center;gap:10px}.quotation-branding-panel .checks input{width:20px;height:20px;margin:0}.quotation-logo-card .actions{justify-content:flex-start}.quotation-logo-card .actions .v1-row-action{box-sizing:border-box;width:44px;height:44px;min-width:44px;padding:10px;margin:0}

/* Product entry: labels share rows; icons do not displace input borders. */
#dialog.reference-product-editor{width:min(1000px,calc(100vw - 32px));max-width:1000px}
#dialog.reference-product-editor .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:start}
#dialog.reference-product-editor .fields>label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;grid-column:auto}
#dialog.reference-product-editor .fields>label>input,#dialog.reference-product-editor .fields>label>select{box-sizing:border-box;width:100%;height:48px;min-width:0;margin:0}
#dialog.reference-product-editor .fields>.span{grid-column:1/-1;min-width:0}
#dialog.reference-product-editor .product-category-help{margin:0;font-size:13px}
#dialog.reference-product-editor .commerce-photo-field .actions{margin:0}
#dialog.reference-product-editor [hidden]{display:none!important}
#dialog.product-category-editor{width:min(520px,calc(100vw - 32px));max-width:520px}
#dialog.product-category-editor .fields{grid-template-columns:minmax(0,1fr)}
.product-catalog-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.product-catalog-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px);gap:16px;align-items:end;margin-bottom:16px}
.product-catalog-filters>input{width:100%;height:48px;box-sizing:border-box}.product-catalog-filters label{min-width:0}
@media(max-width:700px){
 #dialog.reference-product-editor{box-sizing:border-box;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:20px 16px}
 #dialog.reference-product-editor .fields{grid-template-columns:minmax(0,1fr);gap:16px}
 .product-catalog-filters{grid-template-columns:minmax(0,1fr);gap:12px}.product-catalog-actions{width:100%}
}

#dialog.reference-product-editor .product-field-error{display:block;min-height:2.7em;line-height:1.35;font-size:12px;font-weight:400;color:#b42332;overflow-wrap:anywhere}
#dialog.reference-product-editor input[aria-invalid="true"]{border-color:#b42332!important;outline-color:#b42332!important;background:#fff7f8!important}
html[data-theme=dark] #dialog.reference-product-editor .product-field-error{color:#ffacb9}
html[data-theme=dark] #dialog.reference-product-editor input[aria-invalid="true"]{border-color:#ffacb9!important;outline-color:#ffacb9!important;background:#40272b!important}
html[data-theme=dark] #dialog.reference-product-editor .product-category-help{background:#213746;color:#edf3f8}

/* Product photos keep the same footprint, including missing/unavailable images. */
.product-catalog-table td[data-label="Foto"]{width:76px;min-width:76px}
.product-catalog-photo{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;vertical-align:middle;box-sizing:border-box;border:1px solid #dbe4ed;border-radius:8px;background:#f3f6f9;color:#718391;overflow:hidden}
.product-catalog-photo>svg{width:28px;height:28px}
.product-catalog-photo>img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
html[data-theme=dark] .product-catalog-photo{background:#263641;border-color:#53616c;color:#b4c2cd}
.product-catalog-table .v1-row-action-danger{color:#b42332!important}
html[data-theme=dark] .product-catalog-table .v1-row-action-danger{color:#ffacb9!important}

/* Quotation list prices and inline cost validation. */
#dialog .quotation-priced-item{display:grid;grid-template-columns:minmax(220px,2fr) minmax(160px,1fr) minmax(90px,.6fr) minmax(150px,1fr) 44px;gap:12px;align-items:start}
#dialog .quotation-priced-item>label{min-width:0}#dialog .quotation-priced-item>button{margin-top:28px;padding:10px;min-width:44px}
.quotation-catalog-price{min-width:190px}.quotation-catalog-price label{font-size:12px}.quotation-catalog-price select{width:100%}
.quotation-price-error{display:block;margin-top:6px;color:#b42332;font-size:12px;line-height:1.4;font-weight:500}
.quotation-price-error[hidden]{display:none!important}
#dialog .quotation-priced-item [aria-invalid=true],#dialog .quotation-catalog-price [aria-invalid=true]{border-color:#b42332!important;background:#fff5f6!important;outline-color:#b42332!important}
html[data-theme=dark] .quotation-price-error{color:#ffacb9}
html[data-theme=dark] #dialog .quotation-priced-item [aria-invalid=true],html[data-theme=dark] #dialog .quotation-catalog-price [aria-invalid=true]{border-color:#ffacb9!important;background:#40272b!important}
@media(max-width:1000px){#dialog .quotation-priced-item{grid-template-columns:repeat(2,minmax(0,1fr))}#dialog .quotation-priced-item>label:first-child{grid-column:1/-1}#dialog .quotation-priced-item>button{grid-column:2;justify-self:end;margin-top:0}}
.order-ticket-dialog{width:min(480px,calc(100vw - 16px));max-width:480px;box-sizing:border-box;padding:16px;max-height:calc(100dvh - 16px)}
.order-ticket-dialog>.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.order-ticket-dialog>.actions button{flex:1 1 180px}
#dialog .order-ticket{--ux-text:#000;--ux-muted:#000;--ux-surface:#fff;box-sizing:border-box;width:80mm;max-width:100%;padding:3mm;margin:12px auto;background:#fff!important;color:#000!important;font:12px/1.35 Arial,sans-serif;font-variant-numeric:tabular-nums;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
#dialog .order-ticket.receipt-ticket-58{width:58mm;font-size:11.33px}
#dialog .order-ticket *{color:#000!important;box-shadow:none;background-color:transparent!important}
#dialog .order-ticket h1,#dialog .order-ticket h2{font-size:14px;line-height:1.3;margin:6px 0;font-weight:700}
#dialog .order-ticket h1,.order-ticket-company,.order-ticket-status{text-align:center}
#dialog .order-ticket p{font:inherit;margin:3px 0}.order-ticket-status{font-weight:700!important}
.order-ticket-details{border-top:1px dashed #000;padding:6px 0;margin-top:6px}
.order-ticket-items{border-top:1px dashed #000}.order-ticket-columns{display:grid;grid-template-columns:25% 15% 29% 31%;align-items:start}
.order-ticket-items.preparation .order-ticket-columns{grid-template-columns:65% 35%}
.order-ticket-columns>span{min-width:0;padding:0 2px;text-align:right;overflow-wrap:anywhere}.order-ticket-columns>span:first-child{text-align:left;padding-left:0}
.order-ticket-head{font-size:.88em;font-weight:700;border-bottom:1px dashed #000;padding:5px 0}
.order-ticket-line{padding:5px 0;border-bottom:1px dashed #000;break-inside:avoid}
#dialog .order-ticket .order-ticket-description{margin:3px 0 0}
#dialog .order-ticket .order-ticket-total{font-size:16px;border-top:1px dashed #000;padding-top:6px;text-align:right;break-inside:avoid}
#dialog .order-ticket .order-ticket-disclaimer{font-size:10px;border-top:1px dashed #000;padding-top:6px}
#dialog .order-ticket .document-brand-footer{font:9.33px Arial,sans-serif;margin:8px 0 0;padding:0}
#dialog .order-ticket .document-barcode{display:block;width:auto;max-width:100%;height:auto;margin:6px auto}
#dialog .order-ticket .issuer-print-logo{max-width:38mm!important;max-height:16mm!important;margin:0 auto 6px 0!important}
@media print{
 html:has(.order-ticket),body:has(.order-ticket){margin:0!important;padding:0!important;min-width:0!important;background:#fff!important;page:orderNote80!important}
 html:has(.order-ticket.receipt-ticket-58),body:has(.order-ticket.receipt-ticket-58){page:orderNote58!important}
 body:has(.order-ticket) #dialog[open]{display:block!important;position:static!important;width:74mm!important;max-width:74mm!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important;max-height:none!important;page:orderNote80!important;background:#fff!important}
 #dialog .order-ticket{width:74mm!important;max-width:74mm!important;margin:0!important;padding:0!important;page:orderNote80!important}
 body:has(.order-ticket.receipt-ticket-58) #dialog[open],#dialog .order-ticket.receipt-ticket-58{width:52mm!important;max-width:52mm!important;page:orderNote58!important}
 @page orderNote80{size:80mm 280mm;margin:3mm}
 @page orderNote58{size:58mm 280mm;margin:3mm}
}
.processed-notes-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(160px,1fr));gap:10px;align-items:center}
.processed-notes-filters input,.processed-notes-filters select{width:100%;margin:0;min-width:0}
.processed-notes-page>p[role=status]{margin:12px 0;font-size:13px;color:var(--ux-muted)}
.processed-notes-list{display:grid;gap:8px}
.processed-note-row{display:flex;align-items:flex-start;border:1px solid var(--ux-border,#d7e2ec);border-radius:12px;background:var(--ux-surface,#fff);color:var(--ux-text,#082032);min-width:0}
.processed-note-details{flex:1;min-width:0}.processed-note-details>summary{display:flex;align-items:center;gap:14px;cursor:pointer;padding:14px;list-style:none;min-height:68px;box-sizing:border-box}.processed-note-details>summary::-webkit-details-marker{display:none}
.processed-note-details>summary::before{content:'›';font-size:22px;color:var(--ux-muted);flex:none}.processed-note-details[open]>summary::before{transform:rotate(90deg)}
.processed-note-number{font-size:13px;flex:none}.processed-note-customer{min-width:0;flex:1}.processed-note-customer strong{display:block;font-size:14px;overflow-wrap:anywhere}.processed-note-customer small{display:block;font-size:12px;color:var(--ux-muted);margin-top:4px}
.processed-note-total{font-size:14px;font-weight:700;text-align:right;flex:none}.processed-note-state{display:block;font-size:11px;font-weight:500;color:var(--ux-muted);margin-top:5px}.processed-note-state.complete{color:#218466}
.processed-note-actions{display:flex;gap:6px;align-items:center;padding:12px 12px 12px 0}.processed-note-actions button{width:40px;height:40px;padding:9px}.processed-note-actions svg{width:20px;height:20px}
.processed-note-content{padding:0 14px 14px;font-size:13px}.processed-note-content p{margin:8px 0}.processed-note-content .table-wrap{margin:8px 0}.processed-note-content th,.processed-note-content td{padding:8px 10px!important}
@media(max-width:650px){
 .processed-notes-filters{grid-template-columns:1fr 1fr;gap:8px}.processed-notes-filters>input{grid-column:1/-1}.processed-notes-filters select{font-size:13px}
 .processed-note-row{position:relative;display:block}.processed-note-details>summary{display:grid;grid-template-columns:10px minmax(0,1fr);gap:5px 8px;padding:12px 100px 12px 12px}.processed-note-number{display:none}.processed-note-customer{grid-column:2}.processed-note-customer small{font-size:11px}.processed-note-total{grid-column:2;text-align:left;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px}.processed-note-state{margin:0}
 .processed-note-actions{position:absolute;right:0;top:12px;padding:0 10px 0 0;gap:4px}.processed-note-actions button{width:38px;height:40px;padding:8px}
 .connected-bottom{overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}.connected-bottom button{flex:0 0 auto}
}

html[data-theme=dark] .processed-note-state.complete{color:#80d9b7}

/* Caja: cotización visible en la entrada y controles agrupados. */
.connected-shell>.cashier-page{padding-top:16px!important}
.cashier-page>.heading{margin:0 0 14px}.cashier-page>.heading h1{margin-bottom:5px}
.daily-rate-values>span{display:inline-block;margin-right:14px;font-variant-numeric:tabular-nums}.daily-rate-values>span:last-child{margin-right:0}
.connected-shell .daily-rates--compact{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px 20px;margin:12px 0 14px!important;padding:12px 16px!important}
.daily-rates--compact h2{grid-column:1;grid-row:1;margin:0;font-size:16px;white-space:nowrap}
.daily-rates--compact .daily-rate-date{grid-column:1;grid-row:2;margin:0;font-size:12px}
.daily-rates--compact .daily-rate-values{grid-column:2;grid-row:1;margin:0;font-size:14px;line-height:1.65}
.daily-rates--compact .daily-rate-status{grid-column:2;grid-row:2;margin:0;font-size:13px;line-height:1.4}
.daily-rates--compact>button{grid-column:3;grid-row:1/3;min-height:44px}
.daily-rates--compact.is-pending .daily-rate-values,.daily-rates--compact.is-pending .daily-rate-values strong{color:#b42332}
.orders-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,230px) auto;gap:10px;align-items:center;margin:12px 0 4px}.orders-filters>*{min-width:0}.orders-feedback{margin:8px 0;color:#b42332}.orders-list .ux-table-tools{padding:6px 0}.orders-list td{padding-top:14px;padding-bottom:14px}.orders-list td small{display:block;margin-top:4px}
.cashier-page .register-content{margin-top:0}.cashier-page .register-status{padding:14px 18px}.cashier-page .register-status p{margin-top:4px}.cashier-page .register-content>h2{margin:18px 0 10px;font-size:18px}.cashier-page .register-history-filters{padding:14px 18px}
.cashier-page .connected-account-actions{margin-top:16px}.cashier-page .connected-location{padding-top:16px}
.orders-list td>.actions{margin:0;gap:8px}.cashier-page .register-content td.empty{padding:36px 16px}
.sifen-attention--dismissible{position:relative;padding-right:66px}.sifen-attention--dismissible .sifen-attention__close{position:absolute;right:10px;top:10px;display:grid;place-items:center;min-width:44px;width:44px;height:44px;padding:0;font-size:26px;line-height:1;border-color:transparent;background:transparent;color:inherit}.sifen-attention__close:hover{background:#0820320d}
html[data-theme=dark] .daily-rates--compact.is-pending .daily-rate-values,html[data-theme=dark] .daily-rates--compact.is-pending .daily-rate-values strong{color:#ffb9c5}html[data-theme=dark] .sifen-attention--dismissible strong{color:inherit}
@media(max-width:1000px){.daily-rates--compact>button{max-width:175px}.daily-rates--compact .daily-rate-values>span{margin-right:10px}.orders-filters{grid-template-columns:minmax(0,1fr) 180px}.orders-filters>button{grid-column:1/-1}}
@media(max-width:600px){
 .connected-shell>.cashier-page{padding-top:12px!important}.cashier-page>.heading h1{font-size:23px}
 .connected-shell .daily-rates--compact{grid-template-columns:1fr auto;gap:7px 10px;padding:12px!important}
 .daily-rates--compact h2{grid-column:1;grid-row:1;font-size:15px}.daily-rates--compact .daily-rate-date{grid-column:2;grid-row:1;font-size:11px;text-align:right}
 .daily-rates--compact .daily-rate-values{grid-column:1/-1;grid-row:2;font-size:13px}.daily-rates--compact .daily-rate-status{grid-column:1/-1;grid-row:3;font-size:12px}.daily-rates--compact>button{grid-column:1/-1;grid-row:4;max-width:none;width:100%}
 .orders-filters{grid-template-columns:1fr;margin-top:10px;gap:8px}.orders-filters input,.orders-filters select{font-size:16px;min-height:44px}
 .orders-list table,.orders-list tbody{display:block;min-width:0!important;width:100%}.orders-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .orders-list tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:14px;border-bottom:1px solid var(--ux-border)}.orders-list tbody tr:last-child{border-bottom:0}
 .orders-list td{display:block;min-width:0;min-height:0!important;height:auto!important;padding:0!important;border:0!important;overflow-wrap:anywhere}.orders-list td[data-label="Pedido"]{grid-column:1;grid-row:1;color:var(--ux-muted)!important}.orders-list td[data-label="Pedido"]:not(.empty)::before{content:'Pedido '}
 .orders-list td[data-label="Nombre / cliente"]{grid-column:1/-1;grid-row:2;font-size:16px}.orders-list td[data-label="Vendedor"]{grid-column:1;grid-row:3;font-size:12px}.orders-list td[data-label="Vendedor"]::before{content:'Vendedor: ';color:var(--ux-muted)}
 .orders-list td[data-label="Total"]{grid-column:2;grid-row:1;text-align:right;font-size:16px;font-weight:650}.orders-list td[data-label="Estado"]{grid-column:2;grid-row:3;text-align:right;font-size:12px}
 .orders-list td[data-label="Acciones"]{grid-column:1/-1;grid-row:4}.orders-list td>.actions{display:flex;flex-wrap:wrap;justify-content:stretch}.orders-list td>.actions>button{flex:1;min-height:44px;margin:0}.orders-list td.empty{grid-column:1/-1;padding:20px 0!important}
 .cashier-page .register-status{padding:12px}.cashier-page .register-status .actions{margin-top:10px}.cashier-page .register-history-filters{padding:12px}
 .sifen-attention--dismissible{align-items:flex-start;padding:14px 60px 14px 14px;gap:8px}.sifen-attention--dismissible p{flex-basis:100%}.sifen-attention--dismissible .sifen-attention__close{right:6px;top:6px}
}

/* El arqueo ocupa espacio según su contenido, incluso cuando está vacío. */
.register-report-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0!important}.register-report-filters>label{flex:1 1 150px;min-width:0}.register-report-filters>label:has([name=staffId]){flex-grow:2}.register-report-filters [hidden]{display:none!important}.register-report-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.register-overview-report>.panel{padding:16px}.register-report-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.register-report-totals .panel{padding:14px;display:flex;flex-direction:column;gap:7px}.register-report-totals strong{font-size:24px;font-variant-numeric:tabular-nums}.register-report-totals small{line-height:1.4}.register-report-help{color:var(--ux-muted);font-size:13px;margin:12px 0}.register-report-results h2{font-size:18px;margin:18px 0 10px}.register-report-results .table-wrap{overflow:auto}.register-report-results td{white-space:nowrap}.register-report-results .error{color:#b42332}html[data-theme=dark] .register-report-results .error{color:#ffacb9}
@media(min-width:800px){.register-report-totals>.panel:only-child{display:grid;grid-template-columns:minmax(160px,1fr) minmax(240px,1.5fr) minmax(160px,1fr);column-gap:24px;align-items:center}.register-report-totals>.panel:only-child>span{grid-column:1;grid-row:1}.register-report-totals>.panel:only-child>strong{grid-column:1;grid-row:2}.register-report-totals>.panel:only-child>small:nth-child(3){grid-column:2;grid-row:1}.register-report-totals>.panel:only-child>small:nth-child(4){grid-column:2;grid-row:2}.register-report-totals>.panel:only-child>small:nth-child(5){grid-column:3;grid-row:1/3}}
@media(max-width:600px){.register-report-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.register-report-filters>label:has([name=staffId]),.register-report-actions{grid-column:1/-1}.register-report-actions>button{flex:1;min-height:44px}.register-report-totals{grid-template-columns:1fr}.register-overview-report>.panel{padding:12px}.register-report-filters input,.register-report-filters select{font-size:16px}}
.register-overview{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,2fr);gap:12px;align-items:stretch}
.register-overview .register-status{margin:0;flex-wrap:wrap;gap:8px 12px;min-width:0}.register-overview .register-status>.actions{margin:0;gap:6px}
.connected-shell .register-overview .daily-rates--compact{margin:0!important;column-gap:12px;align-content:center}.register-overview .daily-rates--compact>button{max-width:160px}
.cashier-page .register-history-filters{padding:0;gap:10px;grid-template-columns:160px 160px minmax(0,1fr) auto}.cashier-page .register-history-filters>*{min-width:0}
.register-empty{padding:18px 16px;margin:14px 0 0;border:1px solid var(--ux-border);border-radius:12px;background:var(--ux-surface);color:var(--ux-muted);font-size:14px;text-align:center}
.cashier-page>.heading>button{flex-shrink:0;padding:8px 12px;font-size:12px}.orders-list .actions>button.primary{background:#e7b94b!important;border-color:#e7b94b!important;color:#082032!important}
@media(max-width:1100px){.register-overview{grid-template-columns:1fr}.register-overview .daily-rates--compact>button{max-width:none}}
@media(max-width:600px){
 .cashier-page>.heading{flex-direction:row!important;gap:10px;align-items:flex-start}.cashier-page>.heading>div{min-width:0;flex:1}.cashier-page>.heading>button{max-width:95px;line-height:1.3;min-height:44px}
 .cashier-page .register-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.cashier-page .register-history-filters>label:nth-child(3){grid-column:1/-1}.cashier-page .register-history-filters>button{grid-column:1/-1}
 .orders-list tbody tr{position:relative;height:auto!important;min-height:0!important;align-content:start;gap:8px 12px}.orders-list td:not([data-label]):not(.empty){position:absolute;left:14px;top:14px}.orders-list tr:has(input[type=checkbox]) td[data-label="Pedido"]{padding-left:26px!important}
 .orders-list td input[type=checkbox]{display:block;margin:0;padding:0;width:18px;height:18px;min-height:18px}.register-report-filters>label:has([name=currency]){grid-column:1/-1}
 .register-empty{padding:16px 12px}.register-overview{gap:10px}
}

/* Mi caja: lista y búsqueda directa; edición de cotización con icono. */
.register-search{margin:16px 0 4px}.register-search input{width:100%;min-height:44px}.register-search+p:empty{display:none}.register-list .ux-table-tools{padding:6px 0}.daily-rates--compact>button.daily-rate-edit{width:44px;min-width:44px;height:44px;padding:10px;justify-self:end}.daily-rate-edit svg{width:20px;height:20px}
@media(max-width:600px){.daily-rates--compact:has(.daily-rate-edit){grid-template-columns:1fr 44px}.daily-rates--compact:has(.daily-rate-edit) .daily-rate-date{grid-column:1;grid-row:2;text-align:left}.daily-rates--compact:has(.daily-rate-edit) .daily-rate-values{grid-row:3}.daily-rates--compact:has(.daily-rate-edit) .daily-rate-status{grid-row:4}.daily-rates--compact>button.daily-rate-edit{grid-column:2;grid-row:1/3}.register-search input{font-size:16px}}

.register-totals>.card{background:var(--ux-surface)!important;color:var(--ux-text)!important;border-color:var(--ux-border)!important}

/* Approved billing interface · 10/10/2026. Scoped to billing shells. */
:root{--billing-navy:#14213d;--billing-ink:#101318;--billing-muted:#596574;--billing-page:#f5f5f5;--billing-panel:#fff;--billing-line:#e1e5eb;--billing-green:#168455;--billing-red:#bd2642;--billing-ease:cubic-bezier(.22,1,.36,1)}
html[data-theme=dark]{--billing-ink:#f4f6fa;--billing-muted:#b5c0cf;--billing-page:#101722;--billing-panel:#1a2433;--billing-line:#334154;--billing-green:#5ccc96;--billing-red:#ff9eac}
.connected-shell,.v0-shell,.v0-layout{background:var(--billing-page)!important;color:var(--billing-ink)}
.connected-top,.v0-top{background:#14213d!important;border-bottom:0!important;color:white;min-height:60px;height:auto;padding:10px 3%;gap:20px}
.connected-top .connected-company small{color:#c6d0df}.connected-top button,.v0-top button{color:#fff;border-color:#657188;background:transparent}
.connected-shell>.page{width:94%!important;padding:24px 0 110px!important;color:var(--billing-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.connected-shell .panel,.connected-shell .menu-hub-card,.v0-shell .v0-task{background:var(--billing-panel);border:1px solid var(--billing-line);border-radius:16px;color:var(--billing-ink);box-shadow:0 2px 5px #14213d03}
.connected-shell :is(h1,h2,h3,strong,label),.v0-shell :is(h1,h2,h3,strong,label){color:var(--billing-ink)}
.connected-shell .connected-company strong{color:white!important}
.connected-shell :is(.muted,.hint,.menu-hub-description,.menu-hub-card-description),.v0-shell .v0-task small{color:var(--billing-muted)}
.connected-shell :is(input,select,textarea),.v0-shell :is(input,select,textarea){color:var(--billing-ink);background:var(--billing-panel);border-color:var(--billing-line);border-radius:10px}
.connected-shell button,.v0-shell button{font-family:inherit;transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,transform 180ms var(--billing-ease),box-shadow 180ms ease}
.connected-shell button.primary,.v0-shell .v0-primary{background:var(--billing-navy);color:#fff;border-color:var(--billing-navy)}
.connected-shell button:focus-visible,.v0-shell button:focus-visible,.billing-search input:focus-visible{outline:3px solid #628bbc;outline-offset:3px}
.connected-shell button:active:not(:disabled),.v0-shell button:active:not(:disabled){transform:translateY(1px)}
.connected-bottom,.v0-nav{position:fixed;inset:auto auto max(14px,env(safe-area-inset-bottom)) 50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);display:flex;gap:4px;padding:6px;background:var(--billing-panel)!important;border:1px solid var(--billing-line);border-radius:999px!important;box-shadow:0 8px 30px #14213d18;z-index:40;overflow-x:auto}
.connected-bottom button,.v0-nav .v0-button{background:transparent!important;color:var(--billing-muted)!important;border:0;border-radius:999px!important;min-width:94px;padding:10px 17px;display:grid;justify-items:center;gap:4px;font-size:12px;white-space:nowrap;box-shadow:none}
.connected-bottom [aria-current=page],.v0-nav [aria-current=page]{background:#0e1116!important;color:#fff!important;box-shadow:0 4px 12px #0e111621}
.connected-bottom svg,.v0-nav svg{width:19px;height:19px;transition:transform 200ms var(--billing-ease)}
.menu-hub-header{align-items:center}.connected-shell .menu-hub-eyebrow{color:var(--billing-muted);letter-spacing:.08em}
.connected-shell .menu-hub-card{padding:18px;min-height:148px}.connected-shell .menu-hub-icon,.v0-shell .v0-task-icon{color:var(--billing-navy);background:#edf1f7;border:0;box-shadow:none;border-radius:12px}
.connected-shell .menu-hub-card :is(strong,.menu-hub-card-description){color:var(--billing-ink)}
.connected-shell .menu-hub-card-description{opacity:.75;line-height:1.5}
.connected-shell .menu-hub-badge{background:#edf1f7;color:#33435a;border:0}
.connected-shell .menu-hub-card[data-tone=receipt] .menu-hub-icon,.v0-shell .v0-tone-receipt .v0-task-icon{background:#eaf7f0;color:#168455}
.connected-shell .menu-hub-card.is-caution .menu-hub-icon,.v0-shell .v0-tone-cancel .v0-task-icon{background:#fff0f3;color:#bd2642}
.connected-shell .menu-hub-arrow,.v0-task>svg{transition:transform 220ms var(--billing-ease);color:var(--billing-muted)}
.connected-shell .menu-hub-card:focus-visible{border-color:#8fa3bd}.connected-shell .menu-hub-card[hidden]{display:none}
.billing-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 18px}.billing-intro h1{font-size:clamp(23px,2.2vw,30px);letter-spacing:-.035em;line-height:1.2;margin:0 0 5px}.billing-intro p{margin:0;color:var(--billing-muted);font-size:14px}
.billing-motion-control{color:var(--billing-muted)!important;font-size:11px!important;padding:7px 10px!important;background:transparent!important;border:1px solid var(--billing-line)!important;border-radius:999px!important;white-space:nowrap}
.billing-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 18px;max-width:820px}.billing-search{display:flex;gap:6px;align-items:center;flex:1;min-width:0;padding:5px;background:var(--billing-panel);border:1px solid var(--billing-line);border-radius:13px;margin:0!important}
.billing-search input{width:100%;min-width:0;border:0!important;box-shadow:none!important;height:36px!important;padding:0 10px!important;font-size:13px}.billing-search-button{background:#14213d!important;border:0!important;color:#fff!important;border-radius:9px!important;padding:10px 17px!important;white-space:nowrap;min-height:36px}
.billing-quick-sale{position:relative;isolation:isolate;flex:0 0 192px;width:192px;height:44px;overflow:hidden;border:1px solid #168455!important;border-radius:12px!important;background:var(--billing-panel)!important;color:var(--billing-ink)!important;display:flex;align-items:center;justify-content:center;padding:0 8px 0 48px!important;gap:6px;box-shadow:0 2px 8px #1684550b}
.billing-sale-fill{position:absolute;inset:3px;z-index:-1;background:#168455;border-radius:9px;clip-path:inset(0 calc(100% - 39px) 0 0 round 9px);transition:clip-path 320ms var(--billing-ease)}
.billing-sale-arrow{position:absolute;left:13px;top:8px;font-size:24px;line-height:24px;color:#fff;transition:transform 320ms var(--billing-ease)}
.billing-sale-label{font-size:13px;font-weight:700;z-index:1;transition:color 180ms ease}.billing-quick-sale kbd{font-size:9px;font-family:inherit;background:transparent;color:inherit;opacity:.65;padding:0;border:0;z-index:1}
.billing-quick-sale:focus-visible .billing-sale-fill{clip-path:inset(0 round 9px)}.billing-quick-sale:focus-visible{color:white!important}
.billing-search-results{margin:0 0 18px;padding:12px;max-width:820px;background:var(--billing-panel);border:1px solid var(--billing-line);border-radius:14px;box-shadow:0 8px 20px #14213d09}.billing-search-results[hidden]{display:none}.billing-search-results p{font-size:12px;color:var(--billing-muted);margin:0 0 8px}.billing-search-results button{display:block;text-align:left;width:100%;padding:10px;border:0;background:transparent;color:var(--billing-ink);border-radius:8px}
.billing-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.billing-metrics .billing-metric{padding:16px 18px;min-height:114px;margin:0;display:flex;flex-direction:column;gap:8px;text-align:left;min-width:0}.billing-metric-top{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--billing-muted)}
.billing-metric-icon{display:grid;place-items:center;width:27px;height:27px;background:#edf1f7;color:#14213d;border-radius:50%;flex-shrink:0}.billing-metric-icon svg{width:17px;height:17px}.billing-positive .billing-metric-icon{background:#168455;color:white}.billing-negative .billing-metric-icon{background:#bd2642;color:white}
.billing-metrics .billing-value{font-size:clamp(20px,2vw,29px);font-weight:750;line-height:1.15;letter-spacing:-.03em;color:var(--billing-ink);font-variant-numeric:tabular-nums}.billing-metric-detail{font-size:11px;color:var(--billing-muted);margin-top:auto}.billing-delta{font-size:11px;font-weight:700;margin-left:auto;color:var(--billing-muted);white-space:nowrap}.billing-positive .billing-delta{color:var(--billing-green)}.billing-negative .billing-delta{color:var(--billing-red)}
.billing-comparison-bar{height:5px;background:var(--billing-line);border-radius:999px;position:relative;margin:1px 0}.billing-comparison-bar span{height:5px;background:var(--billing-muted);display:block;border-radius:inherit}.billing-positive .billing-comparison-bar span{background:#168455}.billing-negative .billing-comparison-bar span{background:#bd2642}.billing-comparison-bar i{width:1px;height:9px;background:var(--billing-muted);position:absolute;top:-2px;transform:translateX(-1px)}
.billing-stock:disabled{opacity:.7;cursor:default}.billing-stock .billing-metric-top{justify-content:space-between;flex-direction:row-reverse}.billing-stock:not(.billing-negative) .billing-metric-top{justify-content:flex-end}
.billing-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,25%);gap:16px;align-items:stretch}.billing-home .billing-recent{padding:18px;min-width:0;margin:0;border-radius:16px}.billing-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.billing-home h2{font-size:16px;line-height:1.35;margin:0}.billing-section-heading button{background:transparent;border:0;color:var(--billing-navy);font-size:12px;padding:6px}.billing-caption{font-size:12px;color:var(--billing-muted);margin:6px 0 15px}
.billing-recent .table-wrap{border:1px solid var(--billing-line);border-radius:10px;max-height:340px;overflow:auto}.billing-recent table{font-size:12px;width:100%;border-collapse:collapse;margin:0}.billing-recent th{text-transform:uppercase;letter-spacing:.03em;font-size:10px;font-weight:600;color:var(--billing-muted);background:var(--billing-page);padding:12px 10px;white-space:nowrap}.billing-recent td{padding:12px 10px;border-bottom:1px solid var(--billing-line);color:var(--billing-ink);vertical-align:middle}.billing-recent tr:last-child td{border-bottom:0}.billing-recent td:nth-child(4){font-weight:700;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.billing-recent td small{display:block;color:var(--billing-muted);margin-top:4px;font-size:10px}.billing-empty{padding:32px 0;color:var(--billing-muted);text-align:center;font-size:13px}
.billing-sifen{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:10px;max-width:220px;background:#eef0f3;color:#596574}.billing-sifen-positive{background:#e8f6ee;color:#116542}.billing-sifen-pending{background:#fff5d9;color:#775800}.billing-sifen-negative{background:#ffedf1;color:#a31834}.billing-sifen .sifen-status{background:none!important;border:0!important;padding:0!important;color:inherit!important}.billing-sifen .sifen-status strong,.billing-sifen .sifen-status small{color:inherit!important;font-size:10px}.billing-sifen .billing-alert-symbol{width:16px;height:16px;font-size:12px;flex-shrink:0}
.billing-open-sale{border:0!important;background:transparent!important;color:var(--billing-muted)!important;padding:8px!important}.billing-aside{display:flex;flex-direction:column;gap:14px;min-width:0}.billing-home .billing-shortcuts{padding:14px;margin:0}.billing-shortcuts h2{font-size:11px!important;text-transform:uppercase;color:var(--billing-muted)!important;margin-bottom:10px}.billing-shortcuts>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px;background:var(--billing-panel);border:1px solid var(--billing-line);border-radius:8px;font-size:12px;color:var(--billing-ink);margin-top:6px}.billing-shortcuts svg{width:19px;height:19px;color:var(--billing-navy)}.billing-arrow{margin-left:auto;transition:transform 220ms var(--billing-ease)}
.billing-aside .connected-rate{margin-top:auto}.billing-aside .daily-rates{border-radius:16px!important;border:1px solid var(--billing-line)!important;background:var(--billing-panel)!important;padding:16px!important}.billing-aside .daily-rate-date{font-size:11px}.billing-aside .daily-rate-values{font-size:12px!important;line-height:1.9}.billing-aside .daily-rate-values>span{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-right:0}.billing-aside .daily-rate-values strong{white-space:nowrap;text-align:right}.billing-aside .daily-rates button{font-size:11px;width:100%;border-radius:9px}.billing-aside .daily-rates.is-pending{border-color:#e8b4bf!important}.billing-aside .daily-rate-status{font-size:12px}.billing-aside .daily-rates.is-pending .daily-rate-status{color:var(--billing-red);display:flex;gap:8px;align-items:center}.billing-aside .daily-rates.is-pending button{background:#fff0f3;color:#a31834;border-color:#f1c5ce}
.billing-alert-symbol,.billing-aside .daily-rates.is-pending .daily-rate-status::before{position:relative;display:inline-grid;place-items:center;background:#bd2642;color:white!important;border-radius:50%;width:21px;height:21px;font-size:14px;font-weight:800;flex-shrink:0}.billing-aside .daily-rates.is-pending .daily-rate-status::before{content:'!';animation:billing-alert-glow 2.6s ease-in-out infinite}
.billing-alert-symbol::after{content:'';position:absolute;inset:-4px;border-radius:50%;background:#bd264220;animation:billing-alert-breathe 2.6s ease-in-out infinite;pointer-events:none}
.billing-feedback{color:var(--billing-red);font-size:12px}.billing-feedback:empty{display:none}.billing-support{display:inline-block;color:var(--billing-muted);font-size:11px;margin-top:12px;text-decoration:none}
.billing-stock-list{padding:0;list-style:none}.billing-stock-list li{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--billing-line)}
#dialog.billing-stock-dialog{width:min(560px,94vw);max-height:85vh;overflow:auto;background:var(--billing-panel);color:var(--billing-ink);border:1px solid var(--billing-line);border-radius:18px;padding:22px}
.billing-home>.menu-hub-grid{margin-bottom:20px}.billing-home>.menu-hub-grid .menu-hub-card>svg{width:26px;height:26px;color:var(--billing-navy)}.billing-home>.connected-rate{max-width:360px}
.billing-delivery-tools{display:flex;justify-content:flex-end;margin:0 0 12px}.billing-arrival{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff1f4;color:#8e1730;border:1px solid #efbac5;border-radius:14px;margin-bottom:16px;animation:billing-arrive 200ms var(--billing-ease)}.billing-arrival[hidden]{display:none}.billing-arrival>span:nth-child(2){font-weight:600;font-size:14px}.billing-arrival button{margin-left:auto;background:white;border:1px solid #efbac5;color:#8e1730;font-size:12px;border-radius:9px}
.billing-delivery .connected-delivery-column{background:transparent;border:1px solid var(--billing-line);border-radius:16px}.billing-delivery .connected-delivery-column>h2{font-size:13px}.billing-delivery .connected-delivery-column:nth-child(1)>h2{color:#7b5900}.billing-delivery .connected-delivery-column:nth-child(2)>h2{color:var(--billing-muted)}.billing-delivery .connected-delivery-column:nth-child(3)>h2{color:var(--billing-green)}.billing-delivery .connected-paid{color:var(--billing-green)}
.billing-delivery button.primary,.billing-process-note{background:#168455!important;border-color:#168455!important;color:white!important}.billing-delivery .actions button.primary::after{content:' →';display:inline-block;margin-left:5px;transition:transform 220ms var(--billing-ease)}
.billing-process-note{position:relative;overflow:hidden}.billing-process-note svg{color:inherit}.billing-process-note::after{content:' →';display:inline-block;margin-left:6px;transition:transform 220ms var(--billing-ease)}
.v0-shell .v0-main{color:var(--billing-ink);padding-bottom:100px}.v0-shell .v0-task{transition:transform 200ms var(--billing-ease),border-color 200ms ease,box-shadow 200ms ease}.v0-shell .v0-task strong{color:var(--billing-ink)}
@keyframes billing-alert-breathe{0%,100%{opacity:.25;transform:scale(.88)}50%{opacity:.75;transform:scale(1.12)}}
@keyframes billing-alert-glow{0%,100%{box-shadow:0 0 0 3px #bd264212}50%{box-shadow:0 0 0 6px #bd264226}}
@keyframes billing-arrive{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.connected-shell .menu-hub-card:hover,.v0-shell .v0-task:hover{transform:translateY(-2px);border-color:#9cacc1;box-shadow:0 7px 18px #14213d0a}.connected-shell .menu-hub-card:hover .menu-hub-arrow,.v0-task:hover>svg,.billing-shortcuts button:hover .billing-arrow,.billing-delivery .actions button.primary:hover::after,.billing-process-note:hover::after{transform:translateX(3px)}.connected-bottom button:hover svg,.v0-nav button:hover svg{transform:translateY(-2px)}.billing-quick-sale:hover .billing-sale-fill{clip-path:inset(0 round 9px)}.billing-quick-sale:hover .billing-sale-arrow{transform:translateX(4px)}.billing-quick-sale:hover{color:white!important}.billing-shortcuts button:hover,.billing-search-results button:hover{background:var(--billing-page)}.billing-stock:hover{border-color:#9cacc1;transform:translateY(-1px)}}
html[data-theme=dark] .billing-search-button{background:#14213d!important}html[data-theme=dark] .billing-section-heading button{color:#c5d8f1}html[data-theme=dark] .billing-shortcuts svg{color:#c5d8f1}html[data-theme=dark] .billing-arrival{background:#39232d;color:#ffb2c1;border-color:#69404d}html[data-theme=dark] .billing-arrival button{background:#2b1b24;color:#ffb2c1;border-color:#69404d}
html[data-alerts-paused=true] .connected-shell *,html[data-alerts-paused=true] .connected-shell *::before,html[data-alerts-paused=true] .connected-shell *::after,html[data-alerts-paused=true] .v0-shell *,html[data-alerts-paused=true] .v0-shell *::before,html[data-alerts-paused=true] .v0-shell *::after{animation:none!important;transition:none!important}
@media(max-width:1050px){.billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-dashboard-grid{grid-template-columns:minmax(0,1fr) 270px}.billing-recent table{min-width:620px}.connected-bottom button{min-width:82px;padding:9px 12px}}
@media(max-width:760px){.connected-top,.v0-top{gap:10px;padding:10px 14px}.connected-company{font-size:12px}.connected-actions{gap:5px}.connected-actions button{font-size:11px;padding:8px}.connected-bottom button,.v0-nav .v0-button{min-width:0;padding:9px 12px;font-size:10px}.billing-dashboard-grid{grid-template-columns:1fr}.billing-toolbar{max-width:none}.billing-search-button{padding:10px!important;font-size:12px}.billing-quick-sale{flex-basis:166px;width:166px}.billing-quick-sale kbd{display:none}.billing-intro{flex-wrap:wrap}.billing-home .billing-recent{padding:14px}.billing-arrival{flex-wrap:wrap}.billing-arrival button{margin-left:33px}.billing-aside{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.billing-aside .connected-rate{margin-top:0}.billing-aside .daily-rates{height:100%!important}}
@media(max-width:500px){.billing-toolbar{flex-wrap:wrap}.billing-search{flex-basis:100%}.billing-quick-sale{margin-left:auto}.billing-metrics{gap:10px}.billing-metrics .billing-metric{padding:12px;min-height:114px}.billing-metric-top{font-size:11px;flex-wrap:wrap;gap:5px}.billing-value{font-size:22px!important}.billing-delta{font-size:10px}.billing-aside{grid-template-columns:1fr}.connected-bottom{gap:0}.connected-bottom button{padding:9px 10px}.connected-shell>.page{width:94%!important}}
@media(prefers-reduced-motion:reduce){.connected-shell *,.connected-shell *::before,.connected-shell *::after,.v0-shell *,.v0-shell *::before,.v0-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.billing-sale-fill{clip-path:inset(0 calc(100% - 39px) 0 0 round 9px)!important}.billing-quick-sale:hover,.billing-quick-sale:focus-visible{color:var(--billing-ink)!important}}

/* 1.0.46: one palette for the whole billing UI, including legacy menu rules. */
:root{--ux-canvas:var(--billing-page);--ux-surface:var(--billing-panel);--ux-soft:#f0f2f5;--ux-text:var(--billing-ink);--ux-muted:var(--billing-muted);--ux-border:var(--billing-line);--ux-accent:#14213d;--ux-focus:#628bbc}
:root[data-theme=dark]{--ux-canvas:var(--billing-page);--ux-surface:var(--billing-panel);--ux-soft:#263243;--ux-text:var(--billing-ink);--ux-muted:var(--billing-muted);--ux-border:var(--billing-line);--ux-accent:#a9bfdc;--ux-focus:#91b7e6}
#app.connected-shell #page .menu-hub-header{gap:16px;margin-bottom:22px!important;align-items:center}
#app.connected-shell #page .menu-hub-header h1{color:var(--billing-ink)!important;font-size:28px;margin-bottom:7px}
#app.connected-shell #page .menu-hub-description{font-size:14px;color:var(--billing-muted)!important}
#app.connected-shell #page .menu-hub-section{margin-top:22px}
#app.connected-shell #page .menu-hub-grid{gap:14px!important}
#app.connected-shell #page .menu-hub-card,#app.v0-shell #page .v0-task{--task-soft:#edf1f6;--task-ink:#14213d;--task-border:#96a8bd;background:var(--billing-panel)!important;color:var(--billing-ink)!important;border:1px solid var(--billing-line)!important;border-radius:14px!important;padding:18px!important;min-height:134px!important;box-shadow:0 2px 5px #14213d06!important;transition:transform 160ms var(--billing-ease),border-color 160ms ease,box-shadow 160ms ease!important;position:relative;overflow:hidden}
#app.connected-shell #page .menu-hub-card[data-tone=invoice],#app.connected-shell #page .menu-hub-card[data-tone=receipt],#app.v0-shell #page .v0-tone-invoice,#app.v0-shell #page .v0-tone-receipt{--task-soft:#e9f5ee;--task-ink:#168455;--task-border:#7ab89b}
#app.connected-shell #page .menu-hub-card.is-caution,#app.v0-shell #page .v0-tone-cancel{--task-soft:#fff0f3;--task-ink:#bd2642;--task-border:#d58998}
#app.connected-shell #page .menu-hub-card-top{min-height:36px;margin-bottom:12px}
#app.connected-shell #page .menu-hub-card .menu-hub-icon,#app.v0-shell #page .v0-task-icon{width:36px;height:36px;border-radius:10px;background:var(--task-soft)!important;color:var(--task-ink)!important}
#app.connected-shell #page .menu-hub-icon svg,#app.v0-shell #page .v0-task-icon svg{width:21px;height:21px;transform:none!important}
#app.connected-shell #page .menu-hub-card strong,#app.v0-shell #page .v0-task strong{font-size:16px!important;font-weight:650;color:var(--billing-ink)!important}
#app.connected-shell #page .menu-hub-card-description,#app.v0-shell #page .v0-task small{font-size:12px!important;line-height:1.5;color:var(--billing-muted)!important;opacity:1}
#app.connected-shell #page .menu-hub-arrow{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;background:var(--task-soft);color:var(--task-ink);width:29px;height:29px;border-radius:50%;transition:transform 160ms var(--billing-ease)}
#app.connected-shell #page .menu-hub-arrow svg{width:17px;height:17px;transform:none!important}
#app.connected-shell #page .menu-hub-card::after,#app.v0-shell #page .v0-task::after{content:'';position:absolute;bottom:0;left:18px;right:18px;height:2px;background:var(--task-ink);opacity:.65;transform:scaleX(0);transform-origin:left;transition:transform 160ms var(--billing-ease)}
#app.connected-shell #page .menu-hub-card:focus-visible,#app.v0-shell #page .v0-task:focus-visible{outline:3px solid var(--ux-focus)!important;outline-offset:3px;border-color:var(--task-border)!important}
#app.connected-shell #page .menu-hub-card:active,#app.v0-shell #page .v0-task:active{transform:scale(.99)!important;background:var(--billing-panel)!important}
#app.connected-shell #page .menu-hub-badge{background:var(--ux-soft);color:var(--billing-muted)}
#app.connected-shell #page .menu-hub-header>.billing-motion-control{margin-left:auto;align-self:center}
#app.connected-shell #page .menu-hub-search{display:flex!important;max-width:270px;margin-left:auto}
#app.connected-shell #page .menu-hub-search input{height:42px;font-size:13px;box-shadow:none;border-color:var(--billing-line)}
#app.connected-shell #page .menu-hub-empty{background:var(--billing-panel);color:var(--billing-muted);border-color:var(--billing-line)}
html[data-theme=dark] #app.connected-shell #page .menu-hub-card,html[data-theme=dark] #app.v0-shell #page .v0-task{--task-soft:#26374d;--task-ink:#c6d8ef;--task-border:#6786ac}
html[data-theme=dark] #app.connected-shell #page .menu-hub-card[data-tone=invoice],html[data-theme=dark] #app.connected-shell #page .menu-hub-card[data-tone=receipt],html[data-theme=dark] #app.v0-shell #page .v0-tone-invoice,html[data-theme=dark] #app.v0-shell #page .v0-tone-receipt{--task-soft:#203d32;--task-ink:#81d6ab;--task-border:#529979}
html[data-theme=dark] #app.connected-shell #page .menu-hub-card.is-caution,html[data-theme=dark] #app.v0-shell #page .v0-tone-cancel{--task-soft:#472b35;--task-ink:#ffafbf;--task-border:#b16a7b}
html[data-theme=dark] #app .connected-bottom [aria-current=page],html[data-theme=dark] #app .v0-nav [aria-current=page]{background:#f5f7fa!important;color:#101318!important}
.billing-product-search{min-width:0;display:grid;gap:6px;width:100%}.billing-product-search>input{width:100%;min-width:0;font:inherit}.billing-product-count{font-size:12px;color:var(--billing-muted);margin:0}.billing-product-count:empty{display:none}.billing-product-results{display:grid;gap:5px;max-height:240px;overflow:auto;overscroll-behavior:contain;padding:2px}.billing-product-results[hidden]{display:none!important}
#dialog .billing-product-result,.billing-product-result{display:grid;grid-template-columns:1fr auto;gap:3px 12px;min-height:48px;padding:9px 12px!important;border:1px solid var(--billing-line)!important;background:var(--billing-panel)!important;border-radius:9px!important;text-align:left;color:var(--billing-ink)!important;white-space:normal}
.billing-product-result strong{font-size:13px;color:var(--billing-ink)!important}.billing-product-result small{font-size:11px;color:var(--billing-muted)!important}.billing-product-arrow{grid-column:2;grid-row:1/3;align-self:center;color:var(--billing-green)}.purchase-product-control:has(.billing-product-search){align-items:start}.purchase-product-control .billing-product-search{flex:1}
.billing-product-search input:focus-visible,.billing-product-result:focus-visible{outline:3px solid var(--ux-focus)!important;outline-offset:2px}
/* Red means action needed. Pulse the symbol, keeping numbers and labels still. */
#app .billing-alert-symbol,#app .daily-rates.is-pending .daily-rate-status::before{animation:billing-alert-mark 1.8s ease-in-out infinite!important}
#app .billing-alert-symbol::after{background:transparent;border:2px solid #bd2642;inset:-5px;animation:billing-alert-ring 1.8s ease-in-out infinite!important}
#app .daily-rates.is-pending .daily-rate-status{display:flex;align-items:center;gap:10px;text-align:left}
#app .daily-rates.is-pending .daily-rate-status::before{content:'!';display:inline-grid;place-items:center;position:relative;flex-shrink:0;width:21px;height:21px;border-radius:50%;background:#bd2642;color:white;font-size:14px;font-weight:800;line-height:1;box-shadow:0 0 0 4px #bd264225;margin-right:0}
#app .daily-rates.is-pending::after{animation:daily-rate-reminder 1.8s ease-in-out infinite!important;border-color:#bd2642}
@keyframes billing-alert-mark{0%,100%{opacity:1}50%{opacity:.42}}
@keyframes billing-alert-ring{0%,100%{opacity:.18;transform:scale(.88)}50%{opacity:.55;transform:scale(1.18)}}
@media(hover:hover) and (pointer:fine){#app.connected-shell #page .menu-hub-card:hover,#app.v0-shell #page .v0-task:hover{transform:translateY(-2px)!important;border-color:var(--task-border)!important;box-shadow:0 6px 16px #14213d10!important;background:var(--billing-panel)!important}#app.connected-shell #page .menu-hub-card:hover::after,#app.v0-shell #page .v0-task:hover::after{transform:scaleX(1)}#app.connected-shell #page .menu-hub-card:hover .menu-hub-arrow{transform:translateX(3px);color:var(--task-ink)}.billing-product-result:hover,#dialog .billing-product-result:hover{border-color:#168455!important;background:var(--ux-soft)!important}}
@media(max-width:760px){#app.connected-shell #page .menu-hub-header{flex-wrap:wrap}#app.connected-shell #page .menu-hub-card{min-height:124px!important;padding:16px!important}#app.connected-shell #page .menu-hub-search{max-width:none;flex-basis:100%;order:3}#app.connected-shell #page .menu-hub-header>.billing-motion-control{margin-left:0}.billing-product-search input{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){#app.connected-shell #page .menu-hub-card,#app.v0-shell #page .v0-task,#app.connected-shell #page .menu-hub-arrow{transition:none!important;transform:none!important}#app .billing-alert-symbol,#app .daily-rates.is-pending .daily-rate-status::before{animation:billing-alert-mark 3s ease-in-out infinite!important}#app .billing-alert-symbol::after{animation:none!important;transform:none;opacity:.2}#app .daily-rates.is-pending::after{animation:none!important;opacity:.65}}
html[data-alerts-paused=true] #app *,html[data-alerts-paused=true] #app *::before,html[data-alerts-paused=true] #app *::after{animation:none!important;transition:none!important}

@media(max-width:400px){#app .connected-bottom,#app .v0-nav{width:calc(100vw - 24px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:visible}#app .connected-bottom button,#app .v0-nav .v0-button{min-width:0;padding:9px 2px;font-size:9px;letter-spacing:-.1px}}

/* The same warning mark in SIFEN lists, details and V0, without duplicating the home badge. */
#app :where(.sifen-status--error:not(.billing-sifen .sifen-status--error),.v0-pill.v0-error,.v0-pill.v0-rejected){position:relative;padding-left:29px!important}
#app :where(.sifen-status--error:not(.billing-sifen .sifen-status--error),.v0-pill.v0-error,.v0-pill.v0-rejected)::before,:where(.sifen-alert--error .sifen-alert__eyebrow)::before{content:'!';display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#bd2642;color:#fff;font-weight:800;font-size:12px;animation:billing-alert-mark 1.8s ease-in-out infinite!important;box-shadow:0 0 0 3px #bd26421a}
#app :where(.sifen-status--error:not(.billing-sifen .sifen-status--error),.v0-pill.v0-error,.v0-pill.v0-rejected)::before{position:absolute;left:3px;top:50%;margin-top:-9px}
.sifen-alert--error .sifen-alert__eyebrow::before{margin-right:8px}
@media(max-width:400px){#app .v0-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#app :where(.sifen-status--error:not(.billing-sifen .sifen-status--error),.v0-pill.v0-error,.v0-pill.v0-rejected)::before,:where(.sifen-alert--error .sifen-alert__eyebrow)::before{animation:billing-alert-mark 3s ease-in-out infinite!important}}
html[data-alerts-paused=true] .sifen-alert--error .sifen-alert__eyebrow::before{animation:none!important}

#app.v0-shell #page .v0-task>svg{display:block!important;position:absolute;right:18px;top:18px;box-sizing:content-box;width:17px;height:17px;padding:6px;border-radius:50%;background:var(--task-soft);color:var(--task-ink);transition:transform 160ms var(--billing-ease)}

html[data-alerts-paused=true] #app .daily-rates.is-pending .daily-rate-status::before,html[data-alerts-paused=true] #app .daily-rates.is-pending::after{animation:none!important}

/* Primary dialog actions sit outside the application shell: keep navy/white contrast. */
#dialog button.primary{background:#14213d;color:#fff;border-color:#14213d}

/* Presupuesto follows the approved Venta rápida layout. */
.quick-quotation-picker{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(0,1.3fr);gap:14px;align-items:start}
.quick-quotation-search-row{display:flex;align-items:stretch;gap:7px;min-width:0}.quick-quotation-search-row input{flex:1;min-width:0}.quick-quotation-search-row .quick-quotation-show-all{flex-shrink:0;padding:8px 10px;font-size:12px;color:var(--billing-navy);background:var(--billing-panel);border:1px solid var(--billing-border,#dce5ed);white-space:nowrap}
.quick-quotation-dialog .billing-product-more{font-size:12px;color:var(--billing-ink);background:var(--billing-panel);border:1px solid var(--billing-border,#dce5ed)}
html[data-theme=dark] .quick-quotation-search-row .quick-quotation-show-all{color:#f4f6fa}
.quick-quotation-details{margin-top:20px;border-top:1px solid var(--billing-border,#dce5ed);padding-top:15px}
.quick-quotation-details>summary{cursor:pointer;font-size:13px;font-weight:600;padding:5px 0;color:var(--billing-ink,#101318)}
.quick-quotation-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.quick-quotation-options>[hidden]{display:none!important}
.quick-quotation-options>label:last-child{grid-column:1/-1}
.quick-quotation-dialog .quick-price-options button[aria-invalid=true]{border-color:#e43f5a}
.quick-quotation-dialog .quick-summary{align-self:stretch;position:static;min-height:550px}.quick-quotation-dialog .quick-cart-items{flex:1 1 0;min-height:170px;overflow:auto;overscroll-behavior:contain}
.quick-quotation-dialog .quick-fields>.error{font-size:13px}
@media(max-width:760px){.quick-quotation-picker,.quick-quotation-options{grid-template-columns:1fr}.quick-quotation-dialog .quick-summary{position:static;min-height:280px}}

html[data-theme=dark] .quick-sale-dialog label,html[data-theme=dark] .quick-sale-dialog .quick-price-label,html[data-theme=dark] .quick-sale-dialog .quick-client-selected{color:#c1ccd8}

/* Category selection stays separate from choosing an individual product/price. */
.quick-quotation-product{min-width:0;display:grid;gap:7px}.quick-product-label{font-size:13px;color:#526c7e;font-weight:600}
.quick-quotation-bulk{display:grid;gap:8px;padding:10px 0}.quick-quotation-bulk-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.quick-quotation-bulk small{font-size:11px}
.quick-quotation-dialog .quick-quotation-select-all{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer;font-size:12px;color:var(--billing-ink)}
.quick-quotation-dialog input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#168455;cursor:pointer}
.quick-quotation-dialog .quick-quotation-bulk-add{min-height:38px;font-size:12px}
.billing-product-choice{display:flex;align-items:center;gap:9px;padding-left:4px}.billing-product-choice .billing-product-result{flex:1;min-width:0}.billing-product-choice.is-selected .billing-product-result{border-color:#168455!important;background:var(--ux-soft)!important}
html[data-theme=dark] .quick-product-label{color:#c1ccd8}
@media(max-width:760px){.quick-quotation-dialog .quick-cart-items{flex-basis:auto;max-height:350px}}

/* Recibos uses the SIFEN filter pattern and keeps its results above the footer. */
.receipts-page>.heading{margin-bottom:14px}.receipts-page .receipts-filters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(130px,1fr)) minmax(120px,.8fr) auto;margin:0 0 10px;padding:14px;overflow:visible}
.receipts-page .receipts-feedback{font-size:12px;margin:8px 0}.receipts-results{min-width:0}.receipts-results .ux-table-tools{padding:4px 0 8px}.receipts-page>.connected-location{padding-top:18px}
@media(max-width:1100px){.receipts-page .receipts-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.receipts-filters>label:first-child{grid-column:1/-1}.receipts-filters>.actions{grid-column:1/-1}}
@media(max-width:600px){.receipts-page .receipts-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.receipts-filters>label:nth-child(4){grid-column:1/-1}.receipts-filters>.actions button{flex:1}.receipts-filters input{font-size:16px}}

/* Fit the application to the available screen, not the monitor's physical size.
   Long records scroll inside the workspace; navigation and sale actions stay in view.
   Screen-only rules deliberately leave invoice and 80 mm printing unchanged. */
@media screen and (min-width:900px){
 body:has(#app.connected-shell),body:has(#app.v0-shell){padding-bottom:0}
 #app.connected-shell,#app.v0-shell>.v0-layout{box-sizing:border-box;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;height:calc(100dvh - 20px);min-height:0!important;padding:0!important;overflow:hidden}
 #app.v0-shell{min-height:0!important;padding:0!important}
 #app.connected-shell>.page,#app.v0-shell .v0-main{box-sizing:border-box;width:96%!important;height:100%;min-height:0!important;min-width:0;max-width:none!important;margin:0 auto!important;padding:16px 8px!important;overflow:auto;scroll-padding:16px;scrollbar-gutter:stable}
 #app .connected-bottom,#app .v0-nav{position:relative!important;inset:auto!important;transform:none!important;justify-self:center;margin:6px auto!important;flex-shrink:0;max-width:calc(100vw - 24px)}
 body:has(#app.connected-shell) .app-version,body:has(#app.v0-shell) .app-version{position:fixed!important;height:20px;box-sizing:border-box;padding:2px 16px;font-size:10px;line-height:16px}
 #app .connected-location{padding:10px 0 0;font-size:11px}
 #app.v0-shell .v0-checkout{bottom:0}
 #app.connected-shell #page form:has(>.fields)>.actions{position:sticky;bottom:0;z-index:2;padding:10px 0;background:var(--billing-panel,#fff)}
 #app.connected-shell .heading{margin-bottom:14px}
 #app.connected-shell .page>.ux-back{margin-bottom:10px}
 #app.connected-shell .page>.table-wrap{max-height:calc(100dvh - 270px);overflow:auto}
 #app .table-wrap{scrollbar-gutter:stable}
 #app .table-wrap thead th{position:sticky;top:0;z-index:1}
 #app.connected-shell #page.menu-hub-page .menu-hub-header{margin-bottom:12px!important}
 #app.connected-shell #page .menu-hub-section{margin-top:16px}
 #app.connected-shell #page .menu-hub-section h2{margin-bottom:8px}
 #app.connected-shell #page .menu-hub-grid{gap:12px!important}
 #app.connected-shell #page .menu-hub-card{min-height:120px!important;padding:16px!important}
 #app.connected-shell #page .menu-hub-card-top{margin-bottom:8px;min-height:34px}
 #app.connected-shell #page .menu-hub-icon{width:34px!important;height:34px!important;border-radius:10px}
 #app.connected-shell #page .menu-hub-icon svg{width:20px;height:20px}
 #app.connected-shell #page .menu-hub-card strong{font-size:16px!important}
 #app.connected-shell #page .menu-hub-card-description{font-size:12px!important;line-height:1.4}
 #dialog.quick-sale-dialog[open]{display:flex;flex-direction:column;box-sizing:border-box;height:min(780px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)!important;overflow:hidden;padding:20px!important}
 #dialog.quick-sale-dialog>header{flex-shrink:0;margin-bottom:14px}
 #dialog.quick-sale-dialog .quick-layout{flex:1;min-height:0;gap:20px}
 #dialog.quick-sale-dialog .quick-fields{overflow:auto;min-height:0;padding:2px 8px 8px 2px;scrollbar-gutter:stable;scroll-padding:10px}
 #dialog.quick-sale-dialog .quick-fields>.quick-add{position:sticky;bottom:0;z-index:2;box-shadow:0 -5px 0 var(--billing-panel,#fff)}
 #dialog.quick-sale-dialog .quick-summary{align-self:stretch;min-height:0;max-height:none;position:static;padding:16px;gap:12px;overflow:hidden}
 #dialog.quick-sale-dialog .quick-summary>:not(.quick-cart-items){flex-shrink:0}
 #dialog.quick-sale-dialog .quick-cart-items{min-height:60px;flex:1 1 0;overflow:auto;overscroll-behavior:contain}
 #dialog.quick-sale-dialog .quick-empty{padding:20px 4px}
 #dialog:not(.pdf-print-dialog):not(.invoice-dialog){max-height:calc(100dvh - 24px)}
 #dialog:not(.pdf-print-dialog):not(.invoice-dialog)>form>.actions{position:sticky;bottom:0;z-index:2;padding:10px 0 0;background:var(--billing-panel,#fff)}
}
@media screen and (min-width:900px) and (max-height:850px){
 #app .connected-top,#app .v0-top{height:54px;min-height:54px;box-sizing:border-box;padding:6px 2%;gap:18px}
 #app .connected-top img,#app .v0-top img{max-height:36px;height:36px;width:auto;object-fit:contain}
 #app .connected-top button,#app .v0-top button{padding:7px 10px;font-size:12px;min-height:32px}
 #app .connected-company{gap:2px;font-size:13px}
 #app .connected-bottom button,#app .v0-nav .v0-button{padding:7px 14px;gap:3px;min-height:44px;font-size:11px}
 #app .connected-bottom svg,#app .v0-nav svg{height:17px;width:17px}
 #app.connected-shell>.page,#app.v0-shell .v0-main{padding:10px 6px!important}
 #app .page h1,#app .v0-main h1{font-size:23px!important;margin-top:0}
 #app.connected-shell #page .menu-hub-header{flex-direction:row;flex-wrap:nowrap;gap:12px}
 #app.connected-shell #page .menu-hub-description{font-size:13px;line-height:1.4;margin:4px 0 0}
 #app.connected-shell #page .menu-hub-search{flex:1;max-width:340px;min-width:180px}
 #app.connected-shell #page .menu-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
 #app.connected-shell #page .menu-hub-card{display:grid;grid-template-columns:38px minmax(0,1fr);align-content:center;column-gap:12px;min-height:88px!important;padding:12px!important}
 #app.connected-shell #page .menu-hub-card-top{grid-row:1/3;align-self:center;margin:0;min-height:0}
 #app.connected-shell #page .menu-hub-card-top .menu-hub-arrow{position:absolute;right:9px;top:10px}
 #app.connected-shell #page .menu-hub-card-top .menu-hub-badge{position:absolute;right:10px;bottom:7px;font-size:8px}
 #app.connected-shell #page .menu-hub-card strong{grid-column:2;font-size:15px!important;padding-right:12px}
 #app.connected-shell #page .menu-hub-card-description{grid-column:2;margin-top:4px;line-height:1.35}
 #app .v0-task{min-height:110px!important;padding:14px!important;gap:10px}
 #dialog.quick-sale-dialog[open]{padding:16px!important}
 #dialog.quick-sale-dialog h2{font-size:21px}
 #dialog.quick-sale-dialog h3{font-size:15px;margin-bottom:8px}
 #dialog.quick-sale-dialog>header p{margin-top:4px}
 #dialog.quick-sale-dialog input,#dialog.quick-sale-dialog select{height:38px;padding:7px 10px}
 #dialog.quick-sale-dialog .quick-client-search button{width:40px}
 #dialog.quick-sale-dialog .quick-client-selected{margin:4px 0}
 #dialog.quick-sale-dialog .quick-pair{margin:8px 0;gap:12px}
 #dialog.quick-sale-dialog .quick-fields>h3:not(:first-child){margin-top:12px}
 #dialog.quick-sale-dialog .quick-price-label{margin-top:8px}
 #dialog.quick-sale-dialog .quick-price-options button{min-height:40px}
 #dialog.quick-sale-dialog .quick-unit-price,#dialog.quick-sale-dialog .quick-add{min-height:38px;padding:7px 10px}
 #dialog.quick-sale-dialog .quick-summary>button{min-height:40px}
}
@media screen and (min-width:1180px) and (max-height:850px){
 #app.connected-shell #page .menu-hub-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media screen and (min-width:900px) and (min-height:580px){
 #app.connected-shell #page.billing-home:has(.billing-dashboard-grid){display:grid;grid-template-columns:minmax(260px,.9fr) minmax(450px,1.4fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px 16px;align-content:stretch;position:relative}
 #app .billing-home .billing-intro{grid-column:1;grid-row:1;margin:0;align-self:center;gap:8px}
 #app .billing-home .billing-intro h1{font-size:23px!important}
 #app .billing-home .billing-intro p{font-size:12px}
 #app .billing-home .billing-intro .billing-motion-control{position:absolute;right:8px;bottom:5px;padding:4px 8px!important}
 #app .billing-home .billing-toolbar{grid-column:2;grid-row:1;margin:0;max-width:none;align-self:center}
 #app .billing-home .billing-metrics{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
 #app .billing-home .billing-dashboard-grid{grid-column:1/-1;grid-row:3;min-height:0;gap:12px}
 #app .billing-home .billing-recent{display:flex;flex-direction:column;min-height:0;padding:14px!important}
 #app .billing-home .billing-recent .table-wrap{min-height:0;flex:1;max-height:none}
 #app .billing-home .billing-recent th{position:sticky;top:0;z-index:1}
 #app .billing-home .billing-support{grid-column:1;grid-row:4;margin:0;align-self:center}
 #app .billing-home .connected-location{grid-column:2;grid-row:4;padding:0;text-align:left;align-self:center}
 #app .billing-home .billing-aside{min-height:0;overflow:auto;gap:10px;scrollbar-gutter:stable}
 #app .billing-home .billing-search-results{position:absolute;top:75px;right:8px;width:60%;max-height:calc(100% - 100px);overflow:auto;z-index:6}
 #app .billing-home .billing-feedback:not(:empty){grid-column:1/-1;grid-row:4;background:var(--billing-panel);z-index:2;margin:0;padding:5px}
}
@media screen and (min-width:900px) and (min-height:580px) and (max-height:850px){
 #app .billing-home .billing-metrics .billing-metric{min-height:94px;padding:8px 12px;gap:4px}
 #app .billing-home .billing-metric-icon{width:22px;height:22px}
 #app .billing-home .billing-value{font-size:24px!important}
 #app .billing-home .billing-caption{margin:4px 0 9px}
 #app .billing-home .billing-recent td{padding:9px 8px}
 #app .billing-home .billing-open-sale{height:28px;min-height:28px!important;padding:4px!important}
 #app .billing-home .billing-recent th{padding:9px 8px}
 #app .billing-home .billing-shortcuts{padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #app .billing-home .billing-shortcuts h2{grid-column:1/-1;margin-bottom:0}
 #app .billing-home .billing-shortcuts>button{min-width:0;display:flex;flex-direction:row;justify-content:center;gap:4px;padding:6px 3px;margin:0;font-size:11px;line-height:1.25;text-align:center}
 #app .billing-home .billing-shortcuts svg{width:15px;height:15px;flex-shrink:0}
 #app .billing-home .billing-shortcuts .billing-arrow{display:none}
 #app .billing-home .billing-aside .daily-rates{padding:10px!important}
 #app .billing-home .billing-aside .daily-rate-date{margin:4px 0}
 #app .billing-home .billing-aside .daily-rate-values{margin:4px 0;line-height:1.5}
 #app .billing-home .billing-aside .daily-rate-status{font-size:11px;margin:5px 0}
 #app .billing-home .billing-aside .daily-rates button{min-height:32px;padding:6px}
}
@media screen and (min-width:900px) and (max-height:680px){
 #app .connected-top,#app .v0-top{height:50px;min-height:50px}
 #app .connected-bottom,#app .v0-nav{margin:4px auto!important;padding:4px}
 #app.connected-shell #page.billing-home:has(.billing-dashboard-grid){gap:8px 12px}
 #app .billing-home .billing-intro h1{font-size:21px!important}
 #app .billing-home .billing-shortcuts{padding:7px;gap:4px}
 #app .billing-home .billing-aside{gap:6px}
 #app .billing-home .billing-aside .daily-rates{padding:8px!important}
}
/* Very short windows / strong zoom keep every field reachable in normal flow. */
@media screen and (min-width:900px) and (max-height:499px){
 #dialog.quick-sale-dialog[open]{display:block;height:auto;overflow:auto}
 #dialog.quick-sale-dialog .quick-layout{grid-template-columns:1fr}
 #dialog.quick-sale-dialog .quick-fields{overflow:visible;padding:2px}
 #dialog.quick-sale-dialog .quick-fields>.quick-add{position:static}
 #dialog.quick-sale-dialog .quick-summary{min-height:280px;overflow:visible;margin-top:16px}
 #dialog.quick-sale-dialog .quick-cart-items{flex-basis:auto;max-height:180px}
}

/* Sale items use one compact row; the full product name remains in its tooltip. */
.quick-quantity-only{max-width:180px;margin:14px 0}
.quick-client-name{margin-top:12px;padding-right:54px}.quick-client-name input[readonly]{background:var(--billing-panel,#fff);color:var(--billing-ink,#101318)}
.quick-item-tax{font-size:10px;font-weight:700;white-space:nowrap;padding:5px 6px;border-radius:6px;background:#e8edf5;color:#14213d}
.quick-stock-status{display:grid;gap:4px;margin-top:6px;font-size:12px;color:var(--billing-ink,#111)}.quick-stock-status:empty{display:none}.quick-stock-status small{color:var(--billing-muted,#526c7e)}
.quick-equivalents{border-top:1px solid var(--billing-border,#dce5ed);padding-top:8px}.quick-equivalent-values{display:grid;gap:8px}.quick-equivalent-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.quick-equivalent-row>span{font-size:13px}.quick-equivalent-row>strong{font-size:25px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.2}.quick-equivalents>small{display:block;font-size:11px;margin-top:8px}
.quick-sale-dialog .quick-client-search{align-items:stretch}
.quick-sale-dialog .quick-client-search>button{box-sizing:border-box;flex:0 0 46px;width:46px;height:46px;min-height:46px;padding:0;display:grid;place-items:center}
.quick-sale-dialog .quick-client-search>button svg{width:22px;height:22px}
@media screen and (min-width:900px) and (max-height:850px){#dialog.quick-sale-dialog .quick-client-search>button{flex-basis:38px;width:38px;height:38px;min-height:38px;padding:0}}
.quick-lookup-dialog{box-sizing:border-box;width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid var(--billing-border,#dce5ed);border-radius:18px;background:var(--billing-panel,#fff);color:var(--billing-ink,#111);overflow:auto}
.quick-lookup-dialog::backdrop{background:rgba(8,20,35,.45)}
.quick-lookup-dialog[open]{display:flex;flex-direction:column}.quick-lookup-dialog>header,.quick-lookup-dialog>.quick-lookup-toolbar,.quick-lookup-dialog>p{flex-shrink:0}.quick-lookup-dialog>.quick-lookup-results{min-height:0;overflow:auto}
.quick-lookup-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.quick-lookup-dialog h2{font-size:21px;margin:0}
.quick-lookup-toolbar{display:flex;gap:10px}.quick-lookup-toolbar input{flex:1;min-width:0;height:44px;padding:10px 12px;border:1px solid var(--billing-border,#dce5ed);border-radius:10px;font:inherit;background:var(--billing-panel,#fff);color:inherit}
.quick-lookup-dialog .quick-lookup-toolbar>button.primary{background:#14213d!important;color:#fff!important;border:1px solid #14213d!important;min-height:44px;padding:10px 16px;font-weight:700;white-space:nowrap;border-radius:10px}.quick-lookup-dialog .quick-lookup-toolbar>button.primary:hover{background:#233758!important;color:#fff!important}.quick-lookup-dialog .quick-lookup-toolbar>button.primary:focus-visible{outline:3px solid #1783c1;outline-offset:3px}
.quick-lookup-results{display:grid;gap:6px}.quick-lookup-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;text-align:left;padding:12px;border:1px solid var(--billing-border,#dce5ed);border-radius:10px;background:var(--billing-panel,#fff);color:inherit}.quick-lookup-row strong{overflow-wrap:anywhere}.quick-lookup-row small{grid-column:1}.quick-lookup-row>span{grid-column:2;grid-row:1/3;align-self:center}.quick-lookup-empty{padding:20px 4px}
.quick-cart-line-compact{grid-template-columns:minmax(60px,1fr) auto auto auto 30px;align-items:center;gap:7px;padding:7px 0;min-height:36px;font-size:13px}
.quick-cart-line-compact>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-cart-line-compact>small{white-space:nowrap;font-size:12px}
.quick-cart-line-compact>div{display:contents}
.quick-cart-line-compact>div>strong{white-space:nowrap;font-size:12px}
.quick-cart-line-compact>div>button{width:30px;min-width:30px;min-height:30px;height:30px;padding:5px}
@media screen and (min-width:900px){#dialog.quick-sale-dialog .quick-layout{grid-template-columns:minmax(0,1.1fr) minmax(400px,1fr)}}
@media screen and (min-width:900px) and (max-height:499px){#dialog.quick-sale-dialog .quick-layout{grid-template-columns:1fr}}
@media(max-width:480px){.quick-cart-line-compact{grid-template-columns:minmax(40px,1fr) auto auto auto 30px;gap:4px;font-size:11px}.quick-item-tax{font-size:9px;padding:4px}.quick-cart-line-compact>small{font-size:9px}.quick-cart-line-compact>div>strong{font-size:11px}}
@media screen and (min-width:900px) and (max-height:850px){#dialog.quick-sale-dialog .quick-client-name{padding-right:46px}}

/* Gross purchase and net unit cost stay adjacent; A/B/C remain manual final prices. */
.purchase-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;grid-column:1/-1;width:100%}
.purchase-net-cost-value{display:flex;align-items:center;min-height:46px;padding:10px 14px;border:1px solid var(--edge,#dce4ee);border-radius:10px;background:#f4f7fa;color:#14213d;font-variant-numeric:tabular-nums}
.purchase-unit-profit{display:block;margin-top:6px;font-size:12px;color:#52677d;line-height:1.4}
@media(max-width:640px){.purchase-cost-grid{grid-template-columns:1fr}.purchase-net-cost-value{min-height:42px}}

/* All reports share the reference form and action rhythm; only their filters differ. */
.approved-report-filters .fields>[hidden]{display:none!important}
.approved-report-filters .actions{justify-content:flex-end;gap:14px;flex-wrap:wrap}
.approved-report-results{margin-top:18px}
.approved-report-results>.hint{border-left:2px solid #fca311;padding:16px 18px;background:#f5f7fa;color:#5a6a7e}
.approved-report.register-overview-report .fields>label{min-width:0}
.approved-report.register-overview-report .fields>label:has([name=currency]){grid-column:auto}
html[data-theme=dark] .approved-report-filters .report-field-caption{background:var(--ux-surface,#172337);color:var(--ux-muted,#aebcd0)}
html[data-theme=dark] .approved-report-results>.hint{background:var(--ux-surface,#172337);color:var(--ux-muted,#aebcd0)}
@media(max-width:600px){.approved-report-filters .actions>button{flex:1;min-width:0}.approved-report-filters .report-field input,.approved-report-filters .report-field select{font-size:16px}}
.approved-report-filters .actions button.primary{background:#14213d!important;border-color:#14213d!important;color:#fff!important}
.approved-report-filters .actions button.primary:hover{background:#22365c!important;border-color:#22365c!important}
.approved-report-filters .actions button.primary:focus-visible{outline:3px solid #fca311;outline-offset:3px}

/* Approved delivery ribbons: one pending order per vertical ticket. */
.v3-delivery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start;margin-top:18px}
.v3-delivery-card{min-width:0;background:var(--billing-panel,#fff);border:1px solid var(--billing-border,#dce3eb);border-radius:14px;overflow:hidden;box-shadow:0 3px 10px #14213d08;border-top:6px solid #14213d}
.v3-delivery-card.is-new{border-top-color:#168455}.v3-ribbon-head{padding:18px;border-bottom:1px dashed var(--billing-border,#cbd4de)}.v3-ribbon-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.v3-ticket-number{font-size:23px;color:var(--billing-ink,#14213d)}.v3-ribbon-state{font-size:10px;font-weight:700;padding:6px 8px;border-radius:5px;background:#edf1f6;color:#14213d}.is-new .v3-ribbon-state{background:#e4f4ec;color:#168455}.v3-ribbon-head h2{font-size:17px;margin:16px 0 7px;overflow-wrap:anywhere}.v3-ribbon-seller,.v3-ribbon-delivery{font-size:12px;color:var(--billing-muted,#637486);margin:6px 0}.v3-ribbon-items{padding:3px 18px 10px;min-height:220px}.v3-ribbon-item{display:flex;gap:12px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--billing-border,#edf0f4)}.v3-ribbon-quantity{flex:0 0 auto;min-width:34px;padding:5px;border-radius:8px;background:#edf1f6;color:#14213d;text-align:center;font-size:19px}.v3-ribbon-item>div{min-width:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.v3-ribbon-item small{display:block;color:var(--billing-muted,#77899b);font-size:11px;margin-top:5px}.v3-ribbon-item.is-complete{opacity:.55}.v3-ribbon-foot{padding:17px 18px 20px;border-top:1px dashed var(--billing-border,#cbd4de);display:grid;gap:8px}.v3-ribbon-progress{display:flex;justify-content:space-between;gap:8px;color:var(--billing-muted,#647486);font-size:12px;margin-bottom:5px}.v3-ribbon-foot button{width:100%;min-height:40px;font-size:12px}.v3-ribbon-foot button.primary{background:#14213d;color:#fff}
@media(max-width:1200px){.v3-delivery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.v3-delivery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.v3-delivery-grid{grid-template-columns:1fr}}
.billing-delivery .v3-delivery-card{padding:0;display:flex;flex-direction:column;max-height:calc(100dvh - 295px)}.v3-ribbon-head,.v3-ribbon-foot{flex-shrink:0}.v3-ribbon-items{flex:1 1 auto;min-height:80px;overflow:auto;overscroll-behavior:contain}@media(max-width:550px){.billing-delivery .v3-delivery-card{max-height:none}}
@media(min-width:551px) and (max-height:850px){.billing-delivery .v3-delivery-card{max-height:calc(100dvh - 370px)}.v3-ribbon-head{padding:12px 16px}.v3-ribbon-head h2{margin:10px 0 5px}.v3-ribbon-foot{padding:10px 16px;gap:6px}.v3-ribbon-foot button{min-height:34px}.v3-ribbon-items{min-height:40px;padding:0 16px}.v3-ribbon-item{padding:10px 0}}
/* Login primary action keeps white text on the approved navy in both themes. */
#app .login-box button.primary,#app .internal-access button.primary{background:#14213d;color:#fff;border-color:#14213d}

.cloud-google{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:12px 0;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:4px;font:500 14px Inter,Arial,sans-serif;text-decoration:none}.cloud-google:focus-visible{outline:3px solid #a6c9ec;outline-offset:3px}

/* Shared ERP navigation: keep all areas reachable on narrow screens. */
.connected-bottom.connected-bottom-expanded{flex-wrap:nowrap!important;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin;max-width:calc(100vw - 24px)}
.connected-bottom.connected-bottom-expanded button{flex:0 0 auto;min-width:88px;white-space:nowrap}
@media(max-width:760px){.connected-bottom.connected-bottom-expanded button{min-width:68px}.connected-bottom.connected-bottom-expanded{border-radius:22px}}
#app .connected-bottom.connected-bottom-expanded{display:flex;overflow-x:auto;overflow-y:hidden}#app .connected-bottom.connected-bottom-expanded button{flex-shrink:0;min-width:68px;padding:9px 12px}


.journal-editor{width:min(1120px,calc(100vw - 32px));padding:24px;max-height:92dvh}.journal-editor header{display:flex;justify-content:space-between}.journal-tabs{display:flex;gap:8px;border-bottom:1px solid #dce5ed;padding-bottom:12px}.journal-tabs [aria-pressed=true]{color:#0866ff;border-color:#0866ff;background:#edf4ff}.journal-body{min-height:240px;padding:18px 0}.journal-entry{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.journal-entry label:first-child{flex:1;min-width:220px}.journal-entry input[type=number]{max-width:140px}.journal-editor label{display:grid;gap:6px;font-weight:600}.journal-editor textarea{width:100%;min-height:80px}.journal-totals{position:sticky;bottom:0;background:#f4f7fb;display:flex;gap:24px;padding:16px;border:1px solid #dce5ed;border-radius:10px;flex-wrap:wrap}.journal-totals div{display:grid;gap:6px}.journal-totals strong{font-variant-numeric:tabular-nums;font-size:20px}.journal-balanced{color:#097d50;align-self:center}.journal-editor .num{text-align:right;font-variant-numeric:tabular-nums}.journal-editor .table-wrap{max-height:35vh;overflow:auto}.journal-editor td{padding:10px}.journal-editor td button{margin-right:6px}.journal-editor [hidden]{display:none!important}@media(max-width:600px){.journal-editor{padding:14px}.journal-tabs{overflow:auto}.journal-totals{gap:12px}.journal-totals strong{font-size:16px}}

.journal-editor>header{position:static;display:flex;align-items:flex-start;gap:16px}.journal-editor>header>button{position:static!important;flex:0 0 auto;margin-left:auto;font-size:14px;padding:8px 12px}

/* The accounting registers keep documents and amounts on one line. */
.accounting-book-table{max-width:100%;overflow-x:auto}.accounting-book-table table{min-width:1080px;font-size:12px}.accounting-book-table td,.accounting-book-table th{white-space:nowrap}.accounting-book-table td:nth-last-child(2){white-space:normal;min-width:160px;max-width:240px}

.accounting-book-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.accounting-book-actions>input{flex:1 1 280px;min-width:180px;width:auto}.accounting-book-actions>button{flex:0 0 auto;white-space:nowrap}.accounting-expense-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.accounting-expense-dialog>header>button{position:static!important;transform:none!important;width:auto!important;max-width:none!important;flex-shrink:0;font-size:14px}.accounting-expense-dialog .fields{margin-bottom:12px}
/* Reference supplied by the user: compact accounting register and entry sheet. */
.accounting-register-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:12px 0 20px}.accounting-register-toolbar>button{white-space:nowrap;padding:9px 12px}.accounting-register-toolbar>input{flex:1 1 250px;min-width:160px}.accounting-register-toolbar>label{display:flex;align-items:center;gap:6px;white-space:nowrap}.accounting-register-toolbar>label input{width:80px}.accounting-register-toolbar>label select{width:130px}.accounting-register .accounting-book-table{margin-top:14px;border:1px solid #dae5eb;border-radius:0;background:white}.accounting-register .accounting-book-table table{border-collapse:collapse;width:100%;font-size:13px}.accounting-register .accounting-book-table th{background:#edf3f6;padding:9px;text-align:left}.accounting-register .accounting-book-table td{padding:10px 9px;border-bottom:1px solid #e2e9ef}.accounting-book-table tr[aria-selected=true]{background:#deedff}.accounting-book-table tr[tabindex]{cursor:pointer}.accounting-book-table tr[tabindex]:focus-visible{outline:2px solid #0065ed;outline-offset:-2px}.accounting-book-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #dae5eb;margin-top:32px;padding:12px 0}.accounting-book-pager .actions{align-items:center}
.accounting-entry-reference{padding:0!important;width:min(900px,calc(100vw - 24px))!important;max-width:900px!important;border-radius:22px!important;border:1px solid #d1dce3!important;overflow:auto;max-height:94vh}.accounting-entry-reference>header{background:#1c2d35;color:white;padding:22px 28px;margin:0!important;display:flex;align-items:center;justify-content:space-between}.accounting-entry-reference>header h2{color:white;margin:0;font-size:23px}.accounting-entry-reference>header span{font-size:14px}.accounting-entry-reference form{margin:0;padding:0;display:block}.accounting-entry-body{padding:15px 22px 10px}.accounting-entry-row{display:grid;grid-template-columns:185px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:5px}.accounting-entry-controls{display:flex;gap:10px;align-items:center;min-width:0}.accounting-entry-controls>input,.accounting-entry-controls>select{flex:1;min-width:0;width:100%}.accounting-entry-controls>strong{white-space:nowrap;font-size:14px}.accounting-entry-reference input,.accounting-entry-reference select{height:42px;padding:8px 12px;font-size:14px;border-radius:6px}.accounting-entry-reference input[readonly]{background:#f0f4f7}.accounting-entry-reference strong{font-size:14px}.accounting-entry-extra{display:flex;flex-wrap:wrap;gap:12px}.accounting-entry-extra>label{flex:1 1 200px}.accounting-entry-extra>label[hidden]{display:none!important}.accounting-entry-taxes{display:grid;grid-template-columns:185px minmax(100px,1fr) 105px 66px 66px;gap:5px 8px;align-items:center;border-top:1px solid #d7e3eb;border-bottom:1px solid #d7e3eb;padding:12px 0;margin:12px 0 18px}.accounting-entry-taxes input,.accounting-entry-taxes select{width:100%;min-width:0}.accounting-entry-switches{display:flex;gap:20px;border-top:1px solid #d7e3eb;padding-top:10px;margin-top:10px}.accounting-entry-switches label{flex:1;display:flex;justify-content:space-between;align-items:center;gap:8px}.accounting-entry-switches input{appearance:none;width:42px;height:25px;border-radius:20px;background:#e2e8ec;flex:none}.accounting-entry-footer{background:#1c2d35;color:white;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 12px 12px;padding:12px;border-radius:12px}.accounting-entry-footer p{margin:0;color:white}.accounting-entry-footer button{white-space:nowrap}.accounting-entry-footer button.primary{background:white;color:#0065ed}
@media(max-width:650px){.accounting-entry-row{grid-template-columns:1fr;gap:4px;margin-bottom:10px}.accounting-entry-controls{flex-wrap:wrap}.accounting-entry-controls>input,.accounting-entry-controls>select{flex:1 1 120px}.accounting-entry-taxes{grid-template-columns:85px minmax(75px,1fr) 70px 43px 43px;gap:4px}.accounting-entry-taxes input,.accounting-entry-taxes select{padding:4px;font-size:12px}.accounting-entry-reference strong{font-size:12px}.accounting-entry-body{padding:12px}.accounting-entry-reference>header{padding:16px}.accounting-entry-reference>header h2{font-size:18px}.accounting-entry-reference>header span{display:none}.accounting-entry-switches,.accounting-entry-footer{flex-wrap:wrap}.accounting-entry-footer .actions{margin-left:auto}}
.accounting-entry-reference [hidden]{display:none!important}.accounting-entry-reference input,.accounting-entry-reference select{height:36px;padding:6px 10px}.accounting-entry-reference>header{padding:17px 24px}.accounting-entry-reference>header h2{font-size:21px}.accounting-entry-body{padding:12px 22px 6px}.accounting-entry-row{margin-bottom:4px}.accounting-entry-taxes{padding:9px 0;margin:10px 0 12px}.accounting-entry-switches input{height:25px}.accounting-entry-reference .accounting-entry-footer{position:sticky;bottom:0;z-index:1}.accounting-entry-reference .accounting-entry-footer .actions{flex-wrap:nowrap}
@media(max-width:650px){.accounting-entry-body{padding:12px}.accounting-entry-taxes{grid-template-columns:70px minmax(55px,1fr) 55px 34px 34px;gap:4px}.accounting-entry-taxes input,.accounting-entry-taxes select{padding:3px;font-size:11px}.accounting-entry-reference>header h2{font-size:18px}}
.accounting-account-picker{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.accounting-account-picker>input[type=text]{flex:1;min-width:0}.accounting-account-picker>button{flex:none;white-space:nowrap}.accounting-account-search{width:min(720px,calc(100vw - 24px))!important}.accounting-account-results{max-height:48vh;overflow:auto;display:flex;flex-direction:column;gap:5px}.accounting-account-results>button{text-align:left;white-space:normal;width:100%;padding:10px 12px}.accounting-account-results>button:focus-visible{outline:2px solid #0065ed;outline-offset:-2px;background:#e7f0ff}

/* Plan de cuentas: reference supplied by the user, shared V1/V2/V3. */
.real-account-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.real-account-toolbar>label:first-of-type{flex:1;min-width:220px}.real-account-toolbar>label{display:flex;flex-direction:column;gap:5px}.real-account-chart table{width:100%;font-size:14px}.real-account-chart td{padding:10px}.real-account-chart td:first-child{white-space:nowrap}.real-account-chart tr[aria-selected=true]{background:#e1eff7;box-shadow:inset 3px 0 #0065ef}.real-account-chart tbody tr{cursor:pointer}.real-account-chart tbody tr:focus-visible{outline:2px solid #0065ef;outline-offset:-2px}.real-account-chart>.actions{justify-content:flex-end;margin-top:12px}

.finance-content.real-account-chart .table-wrap table td,.finance-content.real-account-chart .table-wrap table th{padding:11px 12px;font-size:14px;text-align:left;height:auto}.finance-content.real-account-chart .table-wrap table td:nth-child(2){width:65%}.finance-content.real-account-chart .table-wrap{margin-top:8px}


/* Compact home actions on phones. */
.billing-motion-control{display:none!important}
@media(max-width:760px){
 .billing-toolbar{flex-wrap:nowrap!important;gap:8px!important}
 .billing-toolbar .billing-search{flex:1 1 0!important;min-width:0!important;width:auto!important}
 .billing-toolbar .billing-search input{min-width:0!important;width:100%!important;font-size:16px!important}
 .billing-toolbar .billing-search-button{flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:44px!important;padding:0!important;font-size:0!important}
 .billing-toolbar .billing-search-button::after{content:'→';font-size:22px}
 .billing-toolbar .billing-quick-sale{flex:0 0 120px!important;width:120px!important;min-width:0!important;margin:0!important;padding:0 8px!important;height:54px!important}
 .billing-toolbar .billing-sale-arrow,.billing-toolbar .billing-sale-fill,.billing-toolbar .billing-quick-sale kbd{display:none!important}
 .billing-toolbar .billing-sale-label{white-space:nowrap;font-size:13px}
}

/* Journal reference: single work area, persistent balanced totals. */
.journal-reference{padding:0!important;width:min(1120px,calc(100vw - 24px));background:var(--panel,#f1f5f9);overflow:auto;border:1px solid #d9e2eb;border-radius:14px;color:var(--text,#1b303b)}
.journal-reference>header{position:sticky!important;top:0;z-index:2;align-items:center!important;padding:14px 20px;background:#1b303b;color:#fff;margin:0!important}.journal-reference header h2{margin:0;font-size:17px;color:inherit}.journal-reference header button{color:#fff;background:transparent;border:0}.journal-mode{margin-left:auto;font-size:12px;opacity:.8}
.journal-reference .journal-body{padding:20px;min-height:0;display:grid;gap:16px}.journal-heading-fields{display:grid;grid-template-columns:180px minmax(150px,1fr) minmax(180px,1fr);gap:16px;padding:16px;background:var(--surface,#fff);border:1px solid #dce5ed;border-radius:12px}
.journal-entry-grid{display:grid;grid-template-columns:1.2fr 1.5fr 1fr 1fr 1.2fr;gap:10px;padding:16px;background:var(--surface,#fff);border:1px solid #dce5ed;border-radius:12px;align-items:end}.journal-entry-grid>label{min-width:0}.journal-reference input,.journal-reference select{width:100%;min-width:0;box-sizing:border-box;height:40px;font-size:14px}.journal-entry-grid input[aria-label=Debe],.journal-entry-grid input[aria-label=Haber]{text-align:right;font-variant-numeric:tabular-nums}.journal-currency{grid-column:1/4;display:flex;gap:12px}.journal-currency label{max-width:180px}.journal-entry-grid>.actions{grid-column:4/6;justify-content:end}
.journal-reference label{font-size:13px;font-weight:400}.journal-reference .table-wrap{max-height:36dvh;border:1px solid #dce5ed;border-radius:12px}.journal-reference table{min-width:760px;width:100%;border-collapse:collapse}.journal-reference th{background:#e7f0ff;color:#0866ff;font-weight:500;white-space:nowrap}.journal-reference td,.journal-reference th{padding:10px;font-size:13px}.journal-reference .num{font-variant-numeric:tabular-nums}.journal-reference .journal-review{display:flex;align-items:center;gap:8px}.journal-review input{width:18px;height:18px;flex:none}
.journal-reference .journal-totals{position:static;margin:0 20px;padding:0;border:0;background:transparent;gap:12px}.journal-reference .journal-totals>div{padding:12px 16px;background:var(--surface,#fff);border:1px solid #dce5ed;border-radius:12px;min-width:130px}.journal-reference .journal-totals strong{font-size:18px}.journal-reference .journal-totals .journal-balanced{background:#e7f5ec;color:#086c40}.journal-reference>footer{padding:16px 20px;display:flex;justify-content:flex-end;gap:10px}.journal-reference>.error{margin:0 20px}.journal-reference button:focus-visible,.journal-reference input:focus-visible,.journal-reference select:focus-visible{outline:2px solid #0866ff;outline-offset:2px}
[data-theme=dark] .journal-reference{background:#101d26;color:#e4edf2}[data-theme=dark] .journal-reference .journal-heading-fields,[data-theme=dark] .journal-reference .journal-entry-grid,[data-theme=dark] .journal-reference .journal-totals>div{background:#1b303b;border-color:#3a5362}[data-theme=dark] .journal-reference th{background:#203c51;color:#8dc7ff}[data-theme=dark] .journal-reference .journal-totals .journal-balanced{background:#153e30;color:#9aefc0}
@media(max-width:650px){.journal-reference .journal-body{padding:12px}.journal-heading-fields{grid-template-columns:1fr 1fr;padding:12px;gap:10px}.journal-heading-fields>label:last-child{grid-column:1/-1}.journal-entry-grid{grid-template-columns:1fr 1fr;padding:12px}.journal-entry-grid>label:first-child,.journal-entry-grid>label:nth-of-type(2),.journal-entry-grid>label:nth-of-type(5){grid-column:1/-1}.journal-currency{grid-column:1/-1}.journal-entry-grid>.actions{grid-column:1/-1}.journal-reference input,.journal-reference select{font-size:16px}.journal-reference .journal-totals{margin:0 12px;gap:6px}.journal-reference .journal-totals>div{min-width:0;flex:1;padding:10px}.journal-reference .journal-totals strong{font-size:14px}.journal-reference>footer{flex-wrap:wrap;padding:12px}.journal-reference .table-wrap{max-height:28dvh}}
.journal-reference,.journal-reference .journal-body,.journal-reference .journal-body>*{box-sizing:border-box;min-width:0;max-width:100%}.journal-reference .table-wrap{width:100%;min-width:0;overflow:auto}.journal-reference .journal-heading-fields,.journal-reference .journal-entry-grid{min-width:0}.journal-reference .journal-heading-fields>label{min-width:0}@media(max-width:650px){.journal-reference{max-width:calc(100vw - 24px)}.journal-reference .journal-heading-fields,.journal-reference .journal-entry-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
dialog.journal-reference[open]{display:flex;flex-direction:column;overflow:hidden;max-height:92dvh}.journal-reference>.journal-body{overflow:auto;min-height:0;flex:1}.journal-reference>header,.journal-reference>footer,.journal-reference>div{flex-shrink:0}.journal-reference>.journal-body{flex-shrink:1}

.journal-reference .journal-heading-fields{grid-template-columns:160px minmax(100px,1fr) minmax(180px,2fr) 100px}.journal-reference .journal-heading-fields>label:last-child{grid-column:auto}.journal-account-control{display:flex;gap:6px;min-width:0}.journal-account-control input{flex:1;width:0!important}.journal-account-control button{flex:none;padding:8px}.journal-account-picker{width:min(760px,calc(100vw - 24px));max-height:85dvh;padding:20px;background:var(--panel,#fff);color:var(--text,#1b303b);border:1px solid #879ba9;border-radius:14px}.journal-account-picker header{display:flex;align-items:center;justify-content:space-between;position:static}.journal-account-picker h2{font-size:20px}.journal-account-picker input{width:100%;box-sizing:border-box;font-size:16px}.journal-account-results{max-height:45dvh;overflow:auto;display:grid;gap:4px}.journal-account-option{text-align:left;white-space:normal;padding:12px}.journal-account-option[aria-current=true]{outline:2px solid #0866ff;outline-offset:-2px}.journal-account-picker .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}[data-theme=dark] .journal-account-picker{background:#1b303b;color:#e4edf2}@media(max-width:650px){.journal-reference .journal-heading-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.journal-reference .journal-heading-fields>label:nth-child(3){grid-column:auto}.journal-account-picker{padding:12px}}

/* Compact journal: keyboard entry and ten visible desktop lines. */
.journal-fast .journal-totals>div{display:flex;align-items:center;gap:10px;padding:8px 12px;min-width:0;border-radius:8px}
.journal-fast .journal-totals{gap:10px;flex-wrap:wrap}
.journal-fast .journal-totals strong{font-size:16px}
.journal-fast .journal-totals small{font-size:12px}
.journal-fast>.error:empty{display:none}
.journal-fast>header{padding:8px 16px}
.journal-fast>footer{padding:8px 16px}
.journal-fast .journal-heading-fields,.journal-fast .journal-entry-grid{padding:10px;gap:8px;border-radius:8px}
.journal-fast .journal-body{padding:12px 16px;gap:10px}
.journal-fast .journal-entry-grid>.actions{margin:0;gap:8px}
.journal-fast .journal-entry-grid button{padding:6px 10px;min-height:30px}
.journal-fast .journal-review{margin:0;font-size:12px}
.journal-fast input,.journal-fast select{height:34px}
.journal-fast label{gap:3px}
.journal-fast .journal-lines .table-wrap{max-height:none;border-radius:8px}
.journal-fast .journal-lines td,.journal-fast .journal-lines th{padding:5px 8px;line-height:20px}
.journal-fast .journal-lines td button{padding:2px 6px;min-height:24px;font-size:12px}
.journal-fast .journal-lines thead{position:sticky;top:0;z-index:1}
@media(min-width:900px){
 dialog.journal-fast[open]{height:94dvh;max-height:94dvh;width:min(1400px,calc(100vw - 32px))}
 .journal-fast>.journal-body{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}
 .journal-fast .journal-lines{min-height:0;overflow:hidden}
 .journal-fast .journal-lines .table-wrap{height:100%;box-sizing:border-box;overflow:auto}
 .journal-fast .journal-entry-grid{grid-template-columns:1.3fr 1.6fr .9fr .9fr 1.5fr}
}
@media(max-width:650px){.journal-fast input,.journal-fast select{height:40px;font-size:16px}.journal-fast .journal-totals>div{flex-wrap:wrap;gap:4px;padding:6px}.journal-fast .journal-lines .table-wrap{max-height:40dvh}}

@media(min-width:900px){.journal-fast .journal-lines td{white-space:nowrap;height:30px;box-sizing:border-box}.journal-fast .journal-lines td:last-child{width:165px}.journal-fast .journal-lines td button{display:inline-block;margin:0 4px 0 0;height:24px;line-height:18px}.journal-fast .journal-lines th{height:30px}}

/* Shared compact catalog/search header, following Suppliers. */
.catalog-search-bar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;background:var(--surface,#fff);border:1px solid #dce5ed;border-radius:14px;margin:0 0 14px;box-sizing:border-box}
.catalog-search-bar h1{font-size:24px;margin:0;align-self:center;line-height:1.2}
.catalog-search-bar .catalog-search-field{display:grid;gap:4px;flex:1 1 260px;min-width:0;font-size:12px;font-weight:600}
.catalog-search-bar input[type=search]{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}
.catalog-search-bar>label{display:grid;gap:4px;font-size:12px;min-width:110px}
.catalog-search-bar>button{white-space:nowrap;flex-shrink:0}
.journal-register.panel{background:transparent;border:0;padding:0;box-shadow:none}
.journal-register .table-wrap{background:var(--surface,#fff);border-radius:12px;border:1px solid #dce5ed}
[data-theme=dark] .catalog-search-bar,[data-theme=dark] .journal-register .table-wrap{background:#1b303b;border-color:#3a5362}
@media(max-width:650px){.catalog-search-bar{padding:12px;gap:10px}.catalog-search-bar h1{width:100%}.catalog-search-bar .catalog-search-field{flex-basis:100%}.catalog-search-bar input,.catalog-search-bar select{font-size:16px}.catalog-search-bar .product-catalog-actions{display:flex;flex-wrap:wrap;gap:8px}}

/* One uninterrupted toolbar, matching the Suppliers reference. */
.catalog-search-bar{flex-wrap:nowrap;align-items:end;overflow-x:auto;gap:8px;padding:12px}
.catalog-search-bar h1{width:auto!important;flex:none;white-space:nowrap;font-size:22px}
.catalog-search-bar .catalog-search-field{flex:1 0 160px;min-width:160px}
.catalog-search-bar>label:not(.catalog-search-field){flex:0 0 112px;min-width:0}
.catalog-search-bar>label input,.catalog-search-bar>label select{width:100%;box-sizing:border-box;min-width:0}
.catalog-search-bar>button,.catalog-search-bar .product-catalog-actions button{padding:9px 10px;font-size:12px}
.catalog-search-bar .product-catalog-actions{flex:none;display:flex;flex-wrap:nowrap;gap:8px}
.catalog-search-bar>select{flex:0 0 145px;width:145px;min-width:0}
.catalog-search-bar input,.catalog-search-bar select{height:38px}
@media(max-width:650px){.catalog-search-bar .catalog-search-field{flex-basis:220px}.catalog-search-bar h1{font-size:20px}.catalog-search-bar{max-width:100%}.catalog-search-bar .product-catalog-actions{flex-wrap:nowrap}}

.current-branch{font-weight:650;display:block}.branch-report-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}.branch-report-controls label{flex:1;min-width:130px}.branch-report-controls input,.branch-report-controls select{width:100%}.branch-net{font-size:1.65rem;font-variant-numeric:tabular-nums}.branch-profit-output{overflow-x:auto}.branch-settings-row{display:flex;align-items:center;gap:20px}.branch-settings-row>label:first-child{flex:1}.branch-settings-row input[type=radio]{width:auto}

/* 1.0.177: approved company access, original brand and compact mobile layout. */
#app.access-shell .company-access-card{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;padding:0;overflow:hidden;border:1px solid #d7e0e8;border-top:3px solid #e7b94b;border-radius:18px;background:#fff;box-shadow:0 12px 30px #0820320c}
.company-access-card .access-brand-panel{padding:32px 28px;background:#1c2e36;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:42px;min-width:0}
#app.access-shell .company-access-card .quick-brand{padding:0;background:transparent;justify-content:flex-start;border-radius:0}
#app.access-shell .company-access-card .quick-brand img{width:165px;max-width:100%;height:auto}
.access-welcome h2{font-size:25px;line-height:1.2;margin:0 0 12px;color:#fff}.access-welcome p{font-size:14px;line-height:1.5;color:#e5edf2;margin:0}
.access-company{display:flex;align-items:center;gap:12px;border:1px solid #ffffff25;background:#ffffff06;padding:14px;border-radius:12px;flex-wrap:wrap}.access-company-avatar{width:46px;height:46px;display:grid;place-items:center;background:#fff;color:#1c2e36;border-radius:9px;flex-shrink:0;font-weight:700}.access-company-avatar img{width:100%;height:100%;object-fit:contain;border-radius:9px}.access-company-name{flex:1;min-width:100px;overflow-wrap:anywhere}.access-company-name strong{display:block;font-size:14px;color:#fff}.access-company-name small{display:block;color:#bbcbd7;font-size:12px;margin-top:5px}.access-company button{padding:4px 0;border:0;background:none;color:#8cc5ff;font-size:12px;box-shadow:none}
.access-form-panel{padding:32px 28px;min-width:0;color:#082032}.access-form-panel h1{font-size:25px;margin:0 0 8px;text-align:left}.access-form-panel>p{font-size:14px;margin:0 0 18px}.access-role-labels{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}.access-role-labels span{font-size:11px;background:#edf2f6;color:#334756;border-radius:20px;padding:5px 8px}.access-form-panel form{margin:0}.access-form-panel .fields{gap:18px}.access-help{display:block;text-align:center;font-size:11px;margin-top:20px;color:#60768c}.access-form-panel button.primary{width:100%;background:#1c2e36!important;border-color:#1c2e36!important}
.access-pin-wrap{position:relative;padding-right:65px;min-width:0;height:52px}.access-pin-cells{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;height:52px;pointer-events:none}.access-pin-cells>span{display:grid;place-items:center;border:1px solid #c6d2dd;border-radius:8px;background:#fff;font-size:22px;color:#082032}.access-pin-wrap:focus-within .access-pin-cells>span{border-color:#0066dd}.access-pin-wrap .access-pin-input{position:absolute;inset:0 auto 0 0;width:calc(100% - 65px)!important;height:52px;opacity:0;z-index:1;cursor:text}.access-pin-toggle{position:absolute;right:0;top:7px;font-size:11px!important;padding:8px 4px!important;border:0!important;background:transparent!important;color:#406080!important}.access-pin-wrap.long-password .access-pin-input{opacity:1}.access-pin-wrap.long-password .access-pin-cells{visibility:hidden}
html[data-theme=dark] .company-access-card .access-form-panel{background:#172a35;color:#e7eff5}html[data-theme=dark] .access-form-panel h1{color:#fff}html[data-theme=dark] .access-pin-cells>span{background:#112330;color:#fff}html[data-theme=dark] .access-role-labels span{background:#293e4c;color:#e7eff5}
@media(max-width:640px){#app.access-shell .internal-access{padding:18px 12px}#app.access-shell .company-access-card{grid-template-columns:1fr;max-width:440px}.company-access-card .access-brand-panel{padding:22px;gap:20px}.company-access-card .access-welcome{display:none}.access-form-panel{padding:24px 22px}.access-role-labels{margin-bottom:18px}.access-form-panel h1{font-size:23px}}

/* Seller dashboard: one row of actions and no repeated call-to-action. */
.seller-day-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.seller-day-heading .heading{margin:0}.seller-day-heading h1{font-size:27px}.seller-day-metrics{display:flex;gap:22px;flex-wrap:wrap}.seller-day-total{border-left:3px solid #0066dd;padding-left:18px;min-width:145px}.seller-day-total strong{display:block;font-size:28px;margin-top:6px}.seller-day-total span{font-size:13px}
.seller-workday .seller-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.seller-shortcuts .seller-action-card{min-height:128px;display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr auto;gap:14px;padding:20px;text-align:left;border:1px solid #d5e1ed;border-radius:14px;background:#fff;color:#1c2e36;box-shadow:none}.seller-action-card svg{width:28px;height:28px;color:#0066dd}.seller-action-card strong{grid-row:2;font-size:17px}.seller-action-card kbd{grid-column:2;grid-row:1;align-self:start;font:inherit;font-size:12px;padding:3px 8px;border:1px solid #d5e1ed;border-radius:5px;color:#50677b;background:#f4f7fa}.seller-shortcuts .seller-action-card:hover{border-color:#0066dd;background:#f6faff}.seller-action-card:focus-visible{outline:3px solid #0066dd;outline-offset:3px}.seller-day-results{min-width:0;overflow-x:auto}.seller-day-results h2{font-size:19px;margin:0}.seller-day-empty{display:grid;justify-items:center;text-align:center;padding:36px 16px;gap:12px}.seller-day-empty>svg{width:32px;height:32px;color:#688397}.seller-day-empty h3{font-size:17px}.seller-day-empty h3,.seller-day-empty p{margin:0}.seller-key-help{font-size:12px;margin-top:14px}
html[data-theme=dark] .seller-shortcuts .seller-action-card{background:#1c303a;color:#e7eff5;border-color:#425965}html[data-theme=dark] .seller-action-card kbd{background:#112330;color:#8cc5ff;border-color:#425965}
@media(max-width:700px){.seller-day-heading{align-items:flex-start;flex-direction:column;gap:16px}.seller-workday .seller-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.seller-shortcuts .seller-action-card{min-height:116px;padding:14px;gap:10px}.seller-action-card strong{font-size:14px}.seller-day-empty{padding:24px 8px}.seller-day-total strong{font-size:24px}}

.quotation-reference{color:#111}.quotation-reference .commerce-document-client,.quotation-reference .commerce-document-terms{border:1px solid #666;border-radius:0;padding:8px 10px;margin:6px 0;display:grid;grid-template-columns:3fr 2fr;column-gap:20px;break-inside:avoid}.quotation-reference .commerce-document-client p,.quotation-reference .commerce-document-terms p{margin:3px 0}.quotation-reference .table-wrap{border:0;border-radius:0;overflow:visible}.quotation-reference table{table-layout:fixed;font-size:10px}.quotation-reference th{background:#e8e8e8;color:#111;padding:5px 3px;border-top:1px solid #555;border-bottom:1px solid #555;font-size:9px}.quotation-reference td{padding:6px 3px;overflow-wrap:anywhere;border:0}.quotation-reference tbody tr:nth-child(even){background:#f4f4f4}.quotation-reference tr{break-inside:avoid}.quotation-reference th:nth-child(1){width:7%}.quotation-reference th:nth-child(2){width:6%}.quotation-reference th:nth-child(3){width:9%}.quotation-reference th:nth-child(4){width:25%}.quotation-reference th:nth-child(5){width:8%}.quotation-reference th:nth-child(6){width:10%}.quotation-reference th:nth-child(7){width:5%}.quotation-reference th:nth-child(8){width:5%}.quotation-reference th:nth-child(9){width:12%}.quotation-reference th:nth-child(10){width:13%}.quotation-reference td:nth-last-child(-n+2){text-align:right}.quotation-reference .commerce-line-photo{width:100%;height:48px;object-fit:contain}.quotation-reference thead{display:table-header-group}
@media print{.quotation-reference table,.quotation-reference th,.quotation-reference td{font-family:Arial,sans-serif!important}.quotation-reference tbody tr:nth-child(even){background:#f4f4f4!important;print-color-adjust:exact}.quotation-reference .commerce-document-header{display:grid!important}}

.quotation-reference .quotation-price-validity{grid-column:1/-1;font-weight:600;border-top:1px solid #ddd;padding-top:6px}

@media print{html body dialog.sy-document-progress,html body dialog.sy-document-progress *{display:none!important;visibility:hidden!important}html body dialog.sy-document-progress::backdrop{display:none!important}}

@media print{
 html:has(.quotation-reference),body:has(.quotation-reference){background:#fff!important;margin:0!important;padding:0!important;height:auto!important;min-height:0!important}
 body #dialog:has(.quotation-reference){position:static!important;display:block!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;background:#fff!important;overflow:visible!important;box-shadow:none!important;border:0!important}
 body #dialog:has(.quotation-reference)::backdrop{background:transparent!important;display:none!important}
 body #dialog:has(.quotation-reference)>header,body #dialog:has(.quotation-reference)>.actions{display:none!important}
 body #dialog .quotation-reference{margin:0!important;padding:0!important;background:#fff!important}
 body #dialog .quotation-reference table{font-size:10px!important}
 body #dialog .quotation-reference th{font-size:8px!important;overflow-wrap:normal!important}
 body #dialog .quotation-reference td{font-size:10px!important}
}

/* Unified on-screen typography. Printed documents retain their own fonts. */
@media screen {
 :root,body,#app,body dialog {font-family:Inter,"Segoe UI",Arial,sans-serif!important}
 body {text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
 body :is(button,input,select,textarea) {font-family:inherit}
 :is(.numeros-alineados,td,.number,.metric,.sales-metrics,.v0-total,.v177-total,.quick-cart-total,.billing-stat,.billing-total,input[type=number],input[inputmode=decimal],input[inputmode=numeric]) {font-variant-numeric:tabular-nums}
}

/* CDC editions 1.0.246: bundled in the existing public stylesheet. */
/* SYNGPRO CDC V1 V2 V3 1.0.245 — scoped away from V0 and printable documents. */
@media screen {
 #app.edition-cdc .connected-bottom .edition-nav-more{display:none}
 #app.edition-cdc .edition-more-glyph{font-size:17px;line-height:20px;letter-spacing:2px}
 html[data-syngpro-palette] body #app.edition-cdc :is(.billing-metric-icon,.billing-shortcuts svg,.menu-hub-card-icon){color:var(--edition-ink)!important}
 html[data-syngpro-palette] body:has(#app.edition-cdc) dialog:not(.invoice-dialog):not(.pdf-print-dialog):not(:has(.commerce-document)) button.primary{background:#f5c84c!important;color:#0b1f33!important;border-color:#f5c84c!important}
 html[data-syngpro-palette] body:has(#app.edition-cdc) dialog:not(.invoice-dialog):not(.pdf-print-dialog) :is(h2,h3){color:#0b1f33}
 .edition-nav-dialog{width:min(430px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:22px;border-radius:22px;border:1px solid #dce6f0;background:#fff;color:#0b1f33;box-shadow:0 20px 70px #07182733}
 .edition-nav-dialog::backdrop{background:#07182788}
 .edition-nav-dialog h2{font-size:20px;margin:0}.edition-nav-dialog header{margin-bottom:16px}.edition-nav-dialog button{border-radius:12px;min-height:44px;color:inherit;background:#f4f7fb;border:1px solid #dce6f0}
 .edition-nav-options{display:grid;gap:9px}.edition-nav-options button{min-height:50px;text-align:left;padding:12px 16px}.edition-nav-options button[aria-current=page]{background:#fff7e3}
 html[data-theme=dark] .edition-nav-dialog{background:#102b40;color:#e2edf7;border-color:#31495e}html[data-theme=dark] .edition-nav-dialog button{background:#0a1b2b;color:#e2edf7;border-color:#31495e}
 html[data-syngpro-palette][data-theme=dark] body:has(#app.edition-cdc) dialog:not(.invoice-dialog):not(.pdf-print-dialog) :is(h2,h3){color:#e2edf7}
html[data-syngpro-palette] body #app.edition-cdc.connected-shell{--meta-action:#f5c84c;--meta-top:#0b1f33;--meta-header:#0b1f33;--meta-primary:#f5c84c}
html[data-syngpro-palette] body #app.edition-cdc.connected-shell{--meta-bg:var(--edition-soft);--meta-surface:var(--edition-surface);--meta-soft:var(--edition-soft);--meta-ink:var(--edition-ink);--meta-muted:var(--edition-muted);--meta-border:var(--edition-line);--meta-hover:#e8bc40;--billing-panel:var(--edition-surface);--billing-ink:var(--edition-ink);--billing-muted:var(--edition-muted);--billing-line:var(--edition-line)}
html[data-syngpro-palette] body #app.edition-cdc.connected-shell .connected-top{background:#0b1f33!important}
html[data-syngpro-palette] body #app.edition-cdc.connected-shell :is(.billing-search-button,.billing-quick-sale,button.primary){background:#f5c84c!important;border-color:#f5c84c!important;color:#0b1f33!important}
html[data-syngpro-palette] body #app.edition-cdc.connected-shell .daily-rates button{background:var(--edition-gold-soft)!important;color:var(--edition-ink)!important;border:1px solid #d3ad4d!important;box-shadow:none!important}
body:has(#app.edition-cdc){background:#f4f7fb}
#app.edition-cdc{--edition-ink:#0b1f33;--edition-muted:#627d97;--edition-line:#dce6f0;--edition-surface:#fff;--edition-soft:#f4f7fb;--edition-gold:#f5c84c;--edition-gold-soft:#fff7e3;--primary:#0b1f33;--accent:#f5c84c;background:var(--edition-soft);color:var(--edition-ink);min-height:100dvh;height:auto;overflow:visible}
#app.edition-cdc .connected-top{background:#0b1f33!important;color:#fff;min-height:68px;padding:10px max(24px,calc((100% - 1480px)/2));border:0}
#app.edition-cdc .connected-top>img{width:145px;height:46px;object-fit:contain}
#app.edition-cdc .connected-top .connected-company strong{color:#fff}
#app.edition-cdc .connected-company small{color:#b7cfe3}
#app.edition-cdc .connected-top button{background:#ffffff05;border:1px solid #ffffff25;color:#dceaf5;border-radius:12px;min-height:42px}
#app.edition-cdc #page{width:calc(100% - 48px)!important;max-width:1480px!important;margin:0 auto!important;padding:24px 0 118px!important;min-height:calc(100dvh - 68px);height:auto;max-height:none;overflow:visible}
#app.edition-cdc #page.edition-home{display:block!important}
#app.edition-cdc .connected-bottom{position:fixed!important;bottom:max(14px,env(safe-area-inset-bottom))!important;left:50%!important;transform:translateX(-50%)!important;top:auto!important;width:max-content;max-width:calc(100% - 28px);padding:6px;gap:3px;border-radius:999px;border:1px solid var(--edition-line);background:var(--edition-surface);box-shadow:0 6px 30px #0b1f3314;z-index:40;overflow-x:auto}
#app.edition-cdc .connected-bottom button{border:0!important;border-radius:999px!important;background:transparent;color:var(--edition-muted);min-height:52px;padding:6px 14px;box-shadow:none!important;flex-shrink:0}
html[data-syngpro-palette] body #app.edition-cdc.connected-shell .connected-bottom button[aria-current=page]{background:var(--edition-gold)!important;color:#0b1f33!important}
#app.edition-cdc .connected-bottom button[aria-current=page]::before,#app.edition-cdc .connected-bottom button[aria-current=page]::after{display:none!important}
#app.edition-cdc .panel,#app.edition-cdc .menu-hub-card{background:var(--edition-surface);color:var(--edition-ink);border-color:var(--edition-line);border-radius:18px;box-shadow:none}
#app.edition-cdc :is(h1,h2,h3){color:var(--edition-ink)}
#app.edition-cdc button.primary,#app.edition-cdc .billing-search-button,#app.edition-cdc .billing-quick-sale{background:var(--edition-gold)!important;border-color:var(--edition-gold)!important;color:#0b1f33!important;border-radius:11px}
#app.edition-cdc .billing-quick-sale .billing-sale-fill{background:var(--edition-gold)}
#app.edition-cdc :is(input,select,textarea):not([type=checkbox]):not([type=radio]){background:var(--edition-soft);color:var(--edition-ink);border-color:var(--edition-line);border-radius:10px;min-height:42px}
#app.edition-cdc :is(button,input,select,textarea,a):focus-visible{outline:2px solid #987211;outline-offset:3px}
#app.edition-cdc .edition-welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center;gap:28px;background-color:#0b1f33;background-image:linear-gradient(#ffffff02 1px,transparent 1px),linear-gradient(90deg,#ffffff02 1px,transparent 1px);background-size:48px 48px;border-radius:20px;padding:22px 26px;margin-bottom:16px}
#app.edition-cdc .edition-welcome .billing-intro{margin:0;padding:0;background:none;min-width:0;display:block}
#app.edition-cdc .edition-welcome h1{color:#fff;font-size:28px;line-height:1.2;margin:0 0 9px;overflow-wrap:anywhere}
#app.edition-cdc .edition-welcome p{color:#b7cfe3;margin:0;font-size:13px}
#app.edition-cdc .edition-welcome .billing-toolbar{margin:0;min-width:0;display:flex;flex-wrap:wrap;gap:10px}
#app.edition-cdc .edition-welcome .billing-search{flex:1 1 220px;min-width:0;width:auto;margin:0;background:#fff;border-radius:13px;padding:5px;border:0;display:flex}
#app.edition-cdc .edition-welcome .billing-search input{background:#fff;color:#0b1f33;border:0;min-width:0;flex:1;width:0;padding-inline:12px}
#app.edition-cdc .edition-welcome .billing-search-button{padding:10px 14px;min-height:42px;flex:none}
#app.edition-cdc .edition-welcome .billing-quick-sale{min-height:48px;flex:0 0 155px;width:auto}
#app.edition-cdc .billing-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px}
#app.edition-cdc .billing-metric{padding:16px 18px;min-height:0;border-radius:16px}
#app.edition-cdc .billing-value{font-size:28px;line-height:1.2;margin:10px 0 8px;color:var(--edition-ink)}
#app.edition-cdc .billing-metric-top{font-size:12px;gap:8px}
#app.edition-cdc .billing-metric-detail{font-size:11px;color:var(--edition-muted)}
#app.edition-cdc .billing-dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px;align-items:stretch}
#app.edition-cdc .billing-dashboard-grid>.billing-aside{display:contents}
#app.edition-cdc .billing-recent{grid-column:1;grid-row:1;padding:20px;min-height:0;max-height:none;overflow:visible}
#app.edition-cdc .billing-aside>.connected-rate{grid-column:2;grid-row:1;min-width:0}
#app.edition-cdc .billing-shortcuts{grid-column:1;grid-row:2;padding:18px 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start}
#app.edition-cdc .billing-shortcuts h2{grid-column:1/-1;margin:0 0 4px;font-size:16px}
#app.edition-cdc .billing-shortcuts button{margin:0;background:var(--edition-soft);border:1px solid var(--edition-line);border-radius:12px;min-height:50px;color:var(--edition-ink)}
#app.edition-cdc .billing-aside>.personal-memo,#app.edition-cdc .edition-authorizations{grid-column:2;grid-row:2;margin:0;padding:18px 20px}
#app.edition-cdc .personal-memo textarea{min-height:70px}
#app.edition-cdc .billing-recent .branch-report-controls{display:grid;grid-template-columns:minmax(120px,1.3fr) minmax(85px,.7fr) minmax(140px,1fr) auto auto;gap:10px;align-items:end;margin:14px 0}
#app.edition-cdc .branch-report-controls label{min-width:0;font-size:11px}
#app.edition-cdc .branch-report-controls :is(select,input){width:100%;min-width:0;font-size:13px}
#app.edition-cdc .branch-report-controls>button{min-height:42px;padding-inline:12px;border-radius:10px}
#app.edition-cdc .branch-report-controls>button:first-of-type{background:var(--edition-gold);color:#0b1f33;border-color:var(--edition-gold)}
#app.edition-cdc .billing-recent h2{font-size:18px;margin:0}
#app.edition-cdc .branch-net{font-size:32px;display:block;margin-top:20px}
#app.edition-cdc .branch-profit-output p,#app.edition-cdc .billing-recent>p{font-size:12px;line-height:1.6}
#app.edition-cdc .billing-recent>p:empty{display:none}
#app.edition-cdc .daily-rates{padding:20px;margin:0;height:100%;min-height:0}
#app.edition-cdc .daily-rates h2{font-size:17px;margin:0 0 10px}
#app.edition-cdc .daily-rate-date{font-size:11px}
#app.edition-cdc .daily-rate-values{margin:12px 0;display:grid;gap:0}
#app.edition-cdc .daily-rate-values>span{display:flex;align-items:center;gap:6px;padding:10px 0;border-bottom:1px solid var(--edition-line);font-size:12px}
#app.edition-cdc .daily-rate-values strong{margin-left:auto;display:flex;gap:6px;align-items:center;font-size:15px}
.edition-currency-flag{width:22px;height:16px;object-fit:cover;border-radius:2px;flex:none;border:1px solid #8394a43d}
#app.edition-cdc .daily-rate-status{font-size:11px;line-height:1.5}
#app.edition-cdc .daily-rates.is-pending{border-color:#e5b2bd}
#app.edition-cdc .daily-rates button{border-radius:10px}
#app.edition-cdc .daily-rates .primary{background:var(--edition-gold-soft)!important;color:var(--edition-ink)!important;border:1px solid #d3ad4d!important;box-shadow:none!important}
#app.edition-cdc .billing-aside>.connected-rate{margin:0!important}
#app.edition-cdc .edition-authorization-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#app.edition-cdc .edition-authorizations h2{font-size:16px;margin:0}
#app.edition-cdc .edition-notification-count{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;min-width:30px;height:30px;padding-inline:8px;background:#c62d46;color:white;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums;flex:none}
#app.edition-cdc .edition-authorization-status{font-size:12px;color:var(--edition-muted);margin:10px 0}
#app.edition-cdc .edition-review{background:none;color:var(--edition-ink);border:0;padding:6px 0;min-height:38px;font-size:12px;text-align:left}
#app.edition-cdc .edition-authorizations.has-pending{border-color:#edb8c2}
#app.edition-cdc .has-pending .edition-authorization-status,#app.edition-cdc .has-pending .edition-review{color:#a32940}
#app.edition-cdc .edition-notification-count[hidden]{display:none}
#app.edition-cdc .billing-support{display:inline-block;margin-top:18px}
#app.edition-cdc .billing-feedback:empty{display:none}
html[data-theme=dark] #app.edition-cdc{--edition-ink:#e2edf7;--edition-muted:#a8bfd3;--edition-line:#31495e;--edition-surface:#102b40;--edition-soft:#0a1b2b;--edition-gold-soft:#4b4025}
html[data-theme=dark] body:has(#app.edition-cdc){background:#0a1b2b}
html[data-theme=dark] #app.edition-cdc .has-pending :is(.edition-authorization-status,.edition-review){color:#ffb9c6}
@media(min-width:901px) and (max-height:780px){#app.edition-cdc .connected-top{min-height:58px;padding-block:6px}#app.edition-cdc #page{padding-top:14px!important}#app.edition-cdc .edition-welcome{padding:17px 22px;margin-bottom:12px}#app.edition-cdc .edition-welcome h1{font-size:25px}#app.edition-cdc .billing-metrics{margin-bottom:12px;gap:12px}#app.edition-cdc .billing-metric{padding:12px 16px}#app.edition-cdc .billing-value{font-size:25px;margin:7px 0}#app.edition-cdc .billing-dashboard-grid{gap:12px}#app.edition-cdc .billing-recent,#app.edition-cdc .daily-rates{padding:16px 18px}#app.edition-cdc .daily-rate-values>span{padding-block:7px}#app.edition-cdc .connected-bottom button{min-height:46px}}
@media(max-width:1200px){#app.edition-cdc .billing-recent .branch-report-controls{grid-template-columns:1.3fr .7fr 1fr}#app.edition-cdc .branch-report-controls>button{grid-row:2}#app.edition-cdc .billing-shortcuts{grid-template-columns:1fr}#app.edition-cdc .connected-bottom button{padding-inline:11px;font-size:10px}}
@media(max-width:900px){#app.edition-cdc #page{width:calc(100% - 28px);padding-top:16px}#app.edition-cdc .edition-welcome{grid-template-columns:1fr;gap:18px;padding:22px}#app.edition-cdc .billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#app.edition-cdc .billing-dashboard-grid{grid-template-columns:minmax(0,1fr);gap:12px}#app.edition-cdc .billing-dashboard-grid>.billing-recent,#app.edition-cdc .billing-aside>*{grid-column:1;grid-row:auto}#app.edition-cdc .billing-aside>.connected-rate{grid-row:2}#app.edition-cdc .billing-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}#app.edition-cdc .connected-top{padding:10px 14px;gap:12px}#app.edition-cdc .connected-top>img{width:112px}#app.edition-cdc .connected-company{min-width:0}#app.edition-cdc .connected-company small{font-size:10px}#app.edition-cdc .connected-top .connected-actions{gap:6px}#app.edition-cdc .connected-top button{padding:8px;font-size:11px}#app.edition-cdc .connected-bottom{border-radius:999px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;max-width:calc(100% - 20px);padding:5px}}
@media(max-width:600px){#app.edition-cdc #page{padding-bottom:115px}#app.edition-cdc .edition-welcome{padding:20px 17px}#app.edition-cdc .edition-welcome h1{font-size:25px}#app.edition-cdc .edition-welcome .billing-quick-sale{flex-basis:100%}#app.edition-cdc .edition-welcome .billing-search input{font-size:16px}#app.edition-cdc .billing-metric{padding:14px 12px}#app.edition-cdc .billing-value{font-size:25px}#app.edition-cdc .billing-metric-top{font-size:11px;flex-wrap:wrap}#app.edition-cdc .billing-metric-detail{font-size:10px}#app.edition-cdc .billing-recent,#app.edition-cdc .daily-rates{padding:18px 15px}#app.edition-cdc .billing-recent .branch-report-controls{grid-template-columns:1fr 1fr}#app.edition-cdc .branch-report-controls>label:first-child{grid-column:1/-1}#app.edition-cdc .branch-report-controls>button{grid-row:auto}#app.edition-cdc .branch-report-controls :is(input,select){font-size:16px}#app.edition-cdc .billing-shortcuts{grid-template-columns:1fr;padding:18px 15px}#app.edition-cdc .connected-top{flex-wrap:wrap;gap:5px 12px}#app.edition-cdc .connected-top>img{width:100px;height:40px}#app.edition-cdc .connected-company{flex:1}#app.edition-cdc .connected-actions{margin-left:auto}#app.edition-cdc .connected-bottom button{min-width:65px;min-height:53px;padding:6px 9px;font-size:10px}#app.edition-cdc .connected-bottom svg{width:19px;height:19px}#app.edition-cdc .billing-recent .table-wrap{max-width:100%;overflow-x:auto}#app.edition-cdc :is(input,select,textarea):not([type=checkbox]):not([type=radio]){font-size:16px}}
}
@media screen {
 html[data-syngpro-palette] body #app.edition-cdc .billing-metric{display:block;padding:14px 18px!important;min-height:0!important;height:auto;line-height:1.3}
 html[data-syngpro-palette] body #app.edition-cdc .billing-metric-top{min-height:0;height:auto;line-height:1.3}
 html[data-syngpro-palette] body #app.edition-cdc .billing-value{font-size:28px!important;line-height:1.2;margin:10px 0 7px!important}
 html[data-syngpro-palette] body #app.edition-cdc .billing-metric-detail{display:block;margin:0!important;line-height:1.4}
 html[data-syngpro-palette] body #app.edition-cdc .billing-comparison-bar{margin:7px 0!important;height:4px}
 html[data-syngpro-palette] body #app.edition-cdc .billing-recent .branch-net{margin:12px 0 8px!important;font-size:29px!important;line-height:1.2}
 html[data-syngpro-palette] body #app.edition-cdc .billing-recent>p{margin:10px 0!important;line-height:1.45}
 html[data-syngpro-palette] body #app.edition-cdc .branch-profit-output p{margin:10px 0!important;line-height:1.45}
 html[data-syngpro-palette] body #app.edition-cdc .edition-welcome h1{color:white!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell .connected-bottom{background:#102b40!important;border-color:#31495e!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell .connected-bottom button{color:#b6cee2!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell .connected-bottom button[aria-current=page]{background:#f5c84c!important;color:#0b1f33!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell :is(.billing-stock,.billing-shortcuts button,.branch-report-controls>button:not(:first-of-type)){background:#102b40!important;color:#e2edf7!important;border-color:#31495e!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell .daily-rates button{background:#4b4025!important;color:#fff2d0!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell .edition-welcome .billing-search{background:#102b40!important}
 html[data-theme=dark][data-syngpro-palette] body #app.edition-cdc.connected-shell .edition-welcome input{background:#102b40!important;color:#e2edf7!important}
}
@media screen and (max-width:900px){
 #app.edition-cdc .connected-bottom.edition-nav-with-more>button:nth-child(n+5):not(.edition-nav-more){display:none!important}
 #app.edition-cdc .connected-bottom .edition-nav-more{display:grid}
 #app.edition-cdc .connected-bottom.edition-nav-with-more{width:min(540px,calc(100% - 20px));gap:2px;overflow:visible}
 #app.edition-cdc .connected-bottom.edition-nav-with-more>button{flex:1;min-width:0;padding-inline:6px}
 #app.edition-cdc #page{width:calc(100% - 28px)!important;padding-top:16px!important}
 #app.edition-cdc .billing-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;gap:12px!important}
 #app.edition-cdc .billing-dashboard-grid>.billing-recent,#app.edition-cdc .billing-dashboard-grid .billing-aside>*{grid-column:1/-1!important;grid-row:auto!important;width:auto!important;min-width:0!important;max-width:none!important}
 #app.edition-cdc .billing-dashboard-grid>.billing-aside{display:contents!important}
 #app.edition-cdc .billing-recent .branch-report-controls{display:grid!important;grid-template-columns:1fr 1fr!important;min-width:0}
 #app.edition-cdc .branch-report-controls>label:first-child{grid-column:1/-1}
 #app.edition-cdc .branch-report-controls>label{min-width:0}
 #app.edition-cdc .branch-report-controls>button{grid-row:auto}
 #app.edition-cdc .billing-dashboard-grid .billing-aside>.connected-rate{order:1}
 #app.edition-cdc .billing-dashboard-grid .billing-aside>.billing-shortcuts{order:2}
 #app.edition-cdc .billing-dashboard-grid .billing-aside>.edition-authorizations,#app.edition-cdc .billing-dashboard-grid .billing-aside>.personal-memo{order:3}
}

/* Ingreso simple Nube: scoped to employee access, including small notebooks. */
#app.access-shell:has(.access-simple){background:#f3f6fa}
#app.access-shell .internal-access:has(.access-simple){min-height:100svh;min-height:100dvh;padding:28px 16px;align-content:center;grid-template-columns:minmax(0,1fr);background:transparent}
body:has(#app .access-simple)>.app-version{position:static;width:auto;padding:8px 16px;text-align:right}
#app.access-shell .company-access-card.access-simple{display:block;width:min(480px,100%);max-width:480px;border:1px solid #dce4ed;border-radius:20px;box-shadow:0 12px 40px #0b1f330b;padding:0;overflow:hidden;background:#fff}
#app.access-shell .access-simple .access-brand-panel{display:flex;padding:20px 28px;background:#0b1f33;border:0;min-height:0;gap:0}
#app.access-shell .access-simple .quick-brand{padding:0;margin:0;background:transparent;justify-content:flex-start}
#app.access-shell .access-simple .quick-brand .product-brand{width:150px;height:48px;background-size:contain}
#app.access-shell .access-simple .quick-brand img{width:150px;height:auto;max-width:100%}
.access-simple .access-company{margin:0;padding:18px 28px;gap:12px;flex-wrap:nowrap;border:0;border-bottom:1px solid #e3e9ef;border-radius:0;background:#f8fafc;color:#0b1f33}
.access-simple .access-company-avatar{width:40px;height:40px;border:1px solid #dce4ed;border-radius:10px;font-size:14px;color:#335168}
.access-simple .access-company-name{min-width:0}
.access-simple .access-company-name strong{font-size:15px;line-height:1.4;color:#0b1f33}
.access-simple .access-company-name small{font-size:12px;line-height:1.4;color:#52697d;margin:0 0 3px}
.access-simple .access-company .access-change-company{flex-shrink:0;min-height:44px;padding:8px 0 8px 8px;background:transparent;color:#294c65;font-size:13px;text-decoration:underline;text-underline-offset:3px;border:0}
.access-simple .access-form-panel{padding:24px 28px 22px;background:#fff;color:#0b1f33}
#app.access-shell .access-simple h1{font-size:26px!important;line-height:1.2!important;letter-spacing:-.6px;text-align:left!important;margin:0 0 8px!important;color:#0b1f33}
.access-simple .access-form-panel>p{font-size:14px;line-height:1.5;color:#52697d;margin:0 0 24px}
.access-simple .fields{gap:18px!important}
.access-simple form{gap:0}
.access-simple .fields label,.access-simple .access-field>label{display:block;font-size:14px;font-weight:600;line-height:1.4;color:#263f52}
#app.access-shell .access-simple input,#app.access-shell .access-simple select{display:block;width:100%;min-width:0;height:48px;margin-top:7px;border:1px solid #cbd7e2;border-radius:10px;padding:10px 12px;background:#fff;color:#0b1f33;font:inherit;font-size:16px;box-shadow:none;box-sizing:border-box}
.access-simple input::placeholder{color:#6c7e8d;opacity:1;font-weight:400}
.access-simple .access-pin-wrap{position:relative;height:auto;padding:0}
#app.access-shell .access-simple .access-pin-input{position:static;inset:auto;width:100%!important;height:48px;opacity:1;padding-right:84px}
.access-simple .access-pin-wrap .access-pin-toggle{right:4px;top:2px;min-height:44px;min-width:76px;padding:8px!important;border:0!important;border-radius:8px;background:transparent!important;color:#294c65!important;font-size:13px!important;font-weight:600}
.access-simple .error:empty{display:none}
.access-simple .error:not(:empty){margin:16px 0 0;border-radius:8px;padding:10px 12px;background:#fff1f0;color:#a52222;font-size:14px;line-height:1.4}
.access-simple .actions{margin-top:22px!important;padding:0!important}
#app.access-shell .access-simple button.primary{width:100%;min-height:48px;border:1px solid #f7ca46!important;border-radius:10px;background:#f7ca46!important;color:#0b1f33!important;font-size:16px;font-weight:700;box-shadow:none}
#app.access-shell .access-simple button.primary:disabled{opacity:.65;cursor:wait}
.access-simple .access-help{margin:18px 0 0;line-height:1.5;font-size:12px;color:#52697d;text-align:center}
#app.access-shell .access-simple :is(input,select,button):focus-visible{outline:2px solid #a47504;outline-offset:3px}
@media(hover:hover){#app.access-shell .access-simple button.primary:hover:not(:disabled){background:#f1bf2f!important}.access-simple .access-change-company:hover,.access-simple .access-pin-toggle:hover{text-decoration:underline}}
html[data-theme=dark] #app.access-shell:has(.access-simple){background:#091723}
html[data-theme=dark] #app.access-shell .access-simple{background:#142939;border-color:#354c5e}
html[data-theme=dark] .access-simple .access-company{background:#102333;border-color:#354c5e}
html[data-theme=dark] .access-simple .access-form-panel{background:#142939}
html[data-theme=dark] #app.access-shell .access-simple h1,html[data-theme=dark] .access-simple .access-company-name strong,html[data-theme=dark] .access-simple .fields label{color:#f4f7fa}
html[data-theme=dark] .access-simple :is(.access-help,.access-company-name small,.access-form-panel>p){color:#b3c4d2}
html[data-theme=dark] #app.access-shell .access-simple :is(input,select){background:#0c2030;border-color:#526a7c;color:#f4f7fa}
html[data-theme=dark] .access-simple input::placeholder{color:#a4b7c7}
html[data-theme=dark] .access-simple .access-company .access-change-company,html[data-theme=dark] .access-simple .access-pin-wrap .access-pin-toggle{color:#d0dfe9!important}
html[data-theme=dark] #app.access-shell .access-simple :is(input,select,button):focus-visible{outline-color:#f7ca46}
@media(max-width:520px){#app.access-shell .internal-access:has(.access-simple){padding:64px 14px 24px;align-content:start}#app.access-shell .access-simple .access-brand-panel{padding:18px 22px}.access-simple .access-company{padding:16px 22px}.access-simple .access-form-panel{padding:22px}#app.access-shell .access-simple h1{font-size:24px!important}}
@media(max-width:350px){.access-simple .access-company,.access-simple .access-form-panel{padding:18px}#app.access-shell .access-simple .access-brand-panel{padding:18px}.access-simple .access-company-avatar{display:none}.access-simple .access-form-panel>p{font-size:13px;margin-bottom:20px}.access-simple .access-help{font-size:12px}}
@media(max-height:700px) and (min-width:521px){#app.access-shell .internal-access:has(.access-simple){padding:20px 16px;align-content:start}#app.access-shell .access-simple .access-brand-panel{padding:14px 28px}#app.access-shell .access-simple .quick-brand .product-brand{width:138px;height:44px}.access-simple .access-company{padding:12px 28px}.access-simple .access-form-panel{padding-top:16px;padding-bottom:16px}#app.access-shell .access-simple h1{font-size:24px!important;margin-bottom:4px!important}.access-simple .access-form-panel>p{margin-bottom:16px}.access-simple .fields{gap:12px!important}.access-simple .actions{margin-top:14px!important}.access-simple .access-help{margin-top:12px}}

/* CDC workspaces 1.0.249: content determines height; product rows never collapse. */
html body #app.edition-cdc #page#page.v177-workspace{
 display:block!important;width:calc(100% - 48px)!important;max-width:1480px!important;height:auto!important;max-height:none!important;min-height:calc(100dvh - 68px)!important;overflow:visible!important;padding:20px 0 125px!important;
 --v177-bg:var(--edition-soft);--v177-card:var(--edition-surface);--v177-ink:var(--edition-ink);--v177-border:var(--edition-line);--v177-muted:var(--edition-muted);
}
html body #app.edition-cdc #page#page.v177-workspace>div:has(>.v177-form),
html body #app.edition-cdc #page#page.v177-workspace :is(.v177-form,.v177-fields){display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html body #app.edition-cdc #page#page.v177-workspace :is(.sale-products,.order-detail,.v177-credit-products){display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html body #app.edition-cdc #page#page.v177-workspace :is(.invoice-items,.related-items){display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html body #app.edition-cdc #page#page.v177-workspace .v177-panel{background:var(--edition-surface)!important;border-color:var(--edition-line)!important;border-radius:14px;padding:14px;margin-bottom:12px}
html body #app.edition-cdc #page#page.v177-workspace :is(h1,h2,h3){color:var(--edition-ink)!important}
html body #app.edition-cdc #page#page.v177-workspace :is(.sale-products>h3,.order-detail>header,.v177-credit-products>h3){background:var(--edition-soft)!important;color:var(--edition-ink)!important;border-color:var(--edition-line)!important;border-radius:13px 13px 0 0;margin:-14px -14px 10px;padding:12px 14px}
html body #app.edition-cdc #page#page.v177-workspace :is(input:not([type=checkbox]):not([type=hidden]),select,.v178-product-trigger,.v177-code){background:var(--edition-soft)!important;color:var(--edition-ink)!important;border-color:var(--edition-line)!important;min-height:42px!important;height:42px!important}
html body #app.edition-cdc #page#page.v177-workspace :is(.v177-code input,.v177-code span){background:transparent!important;color:var(--edition-ink)!important}
html body #app.edition-cdc #page#page.v177-workspace :is(.v177-identity button,.invoice-add button,.v107-add-line){background:var(--edition-gold-soft)!important;border:1px solid #d3ad4d!important;color:var(--edition-ink)!important;min-height:42px}
html body #app.edition-cdc #page#page.v177-workspace :is(input,select,textarea,button):focus-visible{outline:2px solid #987211!important;outline-offset:2px}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout{position:static!important;inset:auto!important;transform:none!important;display:flex!important;flex-wrap:wrap!important;gap:14px;width:auto!important;max-height:none!important;background:#0b1f33!important;color:#fff!important;border-color:#0b1f33!important;padding:16px}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout .v177-equivalents{display:flex;flex-wrap:wrap!important;gap:14px}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout :is(.invoice-total,strong){color:#fff!important}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout :is(small,.muted){color:#bed2e4!important}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout>.actions{display:flex;flex-wrap:wrap!important;gap:8px;margin-left:auto!important;width:auto!important}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout button:not(.primary){background:#142d42!important;border:1px solid #567085!important;color:#fff!important;min-height:42px}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout button.primary{background:var(--edition-gold)!important;border-color:var(--edition-gold)!important;color:#0b1f33!important;min-height:42px}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout .error{color:#ffd2cc!important;flex-basis:100%}
html body #app.edition-cdc #page#page.v177-workspace .v177-checkout :focus-visible{outline-color:#f5c84c!important}
html body #app.edition-cdc #page#page.v177-workspace .v194-quote-extras{max-height:none!important;overflow:visible!important}
html body #app.edition-cdc #page#page.v177-workspace :is(.v194-quote-extras>summary,.v177-heading>button){color:var(--edition-ink)!important}
@media(min-width:901px){
 html body #app.edition-cdc #page#page.v177-workspace .v107-product-first{grid-template-columns:minmax(160px,1fr) 82px 80px 145px 120px 44px!important}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-item>button{min-width:0!important;width:100%;min-height:42px!important;height:42px!important}
}
@media(min-width:1000px){
 html body #app.edition-cdc #page#page.v177-workspace{padding-top:12px!important}
 html body #app.edition-cdc #page#page.v177-workspace .v177-heading{margin-bottom:8px}
 html body #app.edition-cdc #page#page.v177-workspace .v177-panel{padding:10px 14px;margin-bottom:8px}
 html body #app.edition-cdc #page#page.v177-workspace :is(.sale-products>h3,.order-detail>header,.v177-credit-products>h3){margin:-10px -14px 6px;padding:8px 14px}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-items{max-height:clamp(360px,calc(100dvh - 460px),500px)!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;scroll-padding:6px}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-item{padding-block:2px!important;min-height:40px!important;gap:6px!important}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-item :is(input:not([type=hidden]):not([type=checkbox]),.v178-product-trigger),html body #app.edition-cdc #page#page.v177-workspace .invoice-item>button{min-height:36px!important;height:36px!important;font-size:14px!important;padding-block:5px!important}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-item:not(:first-child)>label{font-size:0!important;gap:0!important}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-item :is(output,.invoice-line-amount){font-size:15px!important}
 html body #app.edition-cdc #page#page.v177-workspace .v107-add-line{margin-top:6px;min-height:36px}
 html body #app.edition-cdc #page#page.v177-workspace .invoice-add button{min-height:36px}
 html body #app.edition-cdc #page#page.v177-workspace .v177-checkout{padding:10px 14px!important}
 html body #app.edition-cdc #page#page.v177-workspace .related-items{max-height:clamp(420px,calc(100dvh - 440px),540px)!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}
 html body #app.edition-cdc #page#page.v177-workspace .related-line{padding-block:4px!important;border-radius:0!important;min-height:46px!important;border-width:0 0 1px!important;gap:8px!important}
 html body #app.edition-cdc #page#page.v177-workspace .related-line label{font-size:12px!important;gap:2px!important}
 html body #app.edition-cdc #page#page.v177-workspace .related-line input:not([type=checkbox]):not([type=hidden]){height:34px!important;min-height:34px!important;font-size:14px!important;padding-block:4px!important}
 html body #app.edition-cdc #page#page.v177-workspace .related-description small{font-size:12px!important;line-height:1.35!important}
}
html[data-theme=dark] #app.edition-cdc{--edition-ink:#e2edf7;--edition-muted:#b6cee2;--edition-line:#31495e;--edition-surface:#142939;--edition-soft:#102333;--edition-gold-soft:#4b4025}
html[data-theme=dark] body #app.edition-cdc #page#page.v177-workspace :is(input,select,textarea,button):focus-visible{outline-color:#f5c84c!important}
@media(max-width:700px){
 html body #app.edition-cdc #page#page.v177-workspace{width:calc(100% - 24px)!important;padding-top:12px!important}
 html body #app.edition-cdc #page#page.v177-workspace :is(input:not([type=checkbox]):not([type=hidden]),select,.v178-product-trigger){font-size:16px!important;min-height:44px!important;height:auto!important}
 html body #app.edition-cdc #page#page.v177-workspace .v177-checkout>.actions{width:100%!important}
 html body #app.edition-cdc #page#page.v177-workspace .v177-checkout>.actions>.primary{flex:1 1 100%;white-space:normal}
}

/* SYNGPRO detail space 1.0.250 BEGIN */
/* Reserve the working area before products are added, like the receipt detail. */
@media (min-width:701px){
 html body #app.edition-cdc #page#page.v177-workspace .invoice-items{min-height:320px!important}
 html body #app.edition-cdc #page#page.v177-workspace .v177-credit-products .related-items{min-height:360px!important}
}
@media (min-width:1000px){
 html body #app.edition-cdc #page#page.v177-workspace .invoice-items{min-height:clamp(360px,calc(100dvh - 460px),500px)!important}
 html body #app.edition-cdc #page#page.v177-workspace .v177-credit-products .related-items{min-height:clamp(420px,calc(100dvh - 440px),540px)!important}
}
/* SYNGPRO detail space 1.0.250 END */

/* SYNGPRO quotation layout 1.0.251 BEGIN */
html body #app.edition-cdc #page#page.v194-quotation{margin-inline:auto!important;min-width:0!important}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px 14px}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header h3{flex:1 1 auto;min-width:0}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header .order-item-count{flex:0 0 auto;white-space:nowrap}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header>.v194-quote-extras{flex:0 0 auto;min-width:0!important;max-width:100%;margin:0!important;padding:0!important;border:0!important;border-radius:0;box-shadow:none!important;background:transparent!important}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header>.v194-quote-extras>summary{padding:6px 10px;min-height:30px;box-sizing:border-box;border:1px solid var(--edition-line);border-radius:8px;background:var(--edition-surface);color:var(--edition-ink)!important;font-size:12px;line-height:16px;font-weight:600;cursor:pointer}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header>.v194-quote-extras[open]{flex:1 1 100%;padding-top:4px!important}
html body #app.edition-cdc #page#page.v194-quotation .order-detail>header>.v194-quote-extras[open]>summary{width:max-content;max-width:100%}
html body #app.edition-cdc #page#page.v194-quotation .v194-quote-extras>summary:focus-visible{outline:2px solid #987211;outline-offset:2px}
html body #app.edition-cdc #page#page.v194-quotation .v194-quote-extras>.fields{margin-top:12px;gap:12px}
html body #app.edition-cdc #page#page.v194-quotation .v194-quote-extras>p{margin:10px 0;font-size:13px}
@media(max-width:700px){
 html body #app.edition-cdc #page#page.v194-quotation .order-detail>header>.v194-quote-extras{flex:1 1 100%}
 html body #app.edition-cdc #page#page.v194-quotation .order-detail>header>.v194-quote-extras>summary{min-height:44px;padding:12px;font-size:14px}
 html body #app.edition-cdc #page#page.v194-quotation .v194-quote-extras>.fields{grid-template-columns:minmax(0,1fr)!important}
}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-header{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;background:var(--edition-soft);border-bottom:1px solid var(--edition-line);border-radius:13px 13px 0 0;margin:-14px -14px 10px;padding:12px 14px}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-header>h3{flex:1 1 auto;margin:0;padding:0;background:none;border:0;font-size:14px;min-width:0}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note{flex:0 0 auto;min-width:0;max-width:100%;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note>summary{padding:6px 10px;min-height:30px;box-sizing:border-box;border:1px solid var(--edition-line);border-radius:8px;background:var(--edition-surface);color:var(--edition-ink);font-size:12px;line-height:16px;font-weight:600;cursor:pointer}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note[open]{flex:1 1 100%;padding-top:4px}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note[open]>summary{width:max-content;max-width:100%}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note>label{margin-top:12px}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note textarea{width:100%;min-height:76px;background:var(--edition-surface);color:var(--edition-ink);border-color:var(--edition-line)}
html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note>summary:focus-visible{outline:2px solid #987211;outline-offset:2px}
@media(min-width:1000px){html body #app.edition-cdc #page#page.v177-workspace .v251-credit-header{margin:-10px -14px 6px;padding:8px 14px}}
@media(max-width:700px){
 html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note{flex:1 1 100%}
 html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note>summary{min-height:44px;padding:12px;font-size:14px}
 html body #app.edition-cdc #page#page.v177-workspace .v251-credit-note textarea{font-size:16px}
}
/* SYNGPRO quotation layout 1.0.251 END */

/* SYNGPRO home 1.0.252 BEGIN */
@media screen{
html body #app.edition-cdc #page.home-refined{width:min(1480px,calc(100% - 48px))!important;margin-inline:auto!important;padding-top:20px!important;padding-bottom:110px!important}
html body #app.edition-cdc .home-refined .edition-welcome{grid-template-columns:minmax(250px,.8fr) minmax(0,1.4fr);gap:24px;padding:22px 24px;margin-bottom:14px;border-radius:18px}
html body #app.edition-cdc .home-refined .edition-welcome h1{font-size:25px;line-height:1.2;letter-spacing:-.6px}
html body #app.edition-cdc .home-refined .edition-welcome p{margin-top:8px;font-size:13px}
html body #app.edition-cdc .home-refined .billing-toolbar{gap:10px;min-width:0}
html body #app.edition-cdc .home-refined .billing-search{min-width:0;height:48px;padding:4px;border-radius:12px}
html body #app.edition-cdc .home-refined .billing-search input{min-width:0;font-size:14px}
html body #app.edition-cdc .home-refined .billing-search-button{height:40px;min-height:40px;padding:0 14px;font-size:13px}
html body #app.edition-cdc .home-refined .billing-quick-sale{flex:0 0 166px;min-height:48px;gap:9px;justify-content:center;color:#0b1f33!important;white-space:nowrap;padding:10px 14px!important}
html body #app.edition-cdc .home-refined .billing-sale-label{white-space:nowrap;line-height:1.2}
html body #app.edition-cdc .home-refined .billing-sale-arrow{color:inherit!important;font-size:24px}
html body #app.edition-cdc .home-refined .billing-quick-sale kbd{display:none}
html body #app.edition-cdc .home-refined .billing-metrics{gap:12px;margin-bottom:12px}
html body #app.edition-cdc .home-refined .billing-metric{padding:14px 16px!important;min-width:0;border-radius:14px}
html body #app.edition-cdc .home-refined .billing-value{font-size:26px!important;letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin:8px 0 6px!important}
html body #app.edition-cdc .home-refined>.billing-shortcuts{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 14px;margin:0 0 14px;min-height:0;grid-column:auto;grid-row:auto;border-radius:14px}
html body #app.edition-cdc .home-refined>.billing-shortcuts h2{font-size:12px!important;text-transform:none;letter-spacing:0;color:var(--edition-muted);margin:0 12px 0 0}
html body #app.edition-cdc .home-refined>.billing-shortcuts button{display:flex;align-items:center;gap:10px;flex:1;min-height:42px;min-width:0;padding:8px 12px;margin:0;font-size:13px;border:0;background:var(--edition-soft);border-radius:9px}
html body #app.edition-cdc .home-refined>.billing-shortcuts button>svg{width:18px;height:18px;flex:none}
html body #app.edition-cdc .home-refined>.billing-shortcuts .billing-arrow{margin-left:auto}
html body #app.edition-cdc .home-refined .billing-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,330px);grid-template-rows:auto!important;gap:14px;align-items:start}
html body #app.edition-cdc .home-refined .billing-dashboard-grid>.billing-aside{display:flex!important;flex-direction:column;gap:14px;min-width:0;grid-column:2;grid-row:1;overflow:visible;max-height:none}
html body #app.edition-cdc .home-refined .billing-aside>*{width:100%!important;min-width:0;grid-column:auto!important;grid-row:auto!important;margin:0!important}
html body #app.edition-cdc .home-refined .billing-recent{padding:16px;grid-column:1;grid-row:1;min-height:0;overflow:hidden;border-radius:14px}
html body #app.edition-cdc .home-refined .billing-section-heading{align-items:center;gap:12px}
html body #app.edition-cdc .home-refined .billing-section-heading h2{font-size:18px}
html body #app.edition-cdc .home-refined .billing-section-heading button{min-height:36px;border:1px solid var(--edition-line);border-radius:8px;padding:6px 10px;background:var(--edition-surface);color:var(--edition-ink)!important;font-size:12px;font-weight:600}
html body #app.edition-cdc .home-refined .billing-caption{font-size:12px!important;margin:5px 0 12px!important}
html body #app.edition-cdc .home-refined .billing-recent .table-wrap{max-width:100%;overflow-x:auto}
html body #app.edition-cdc .home-refined .billing-recent :is(th,td){padding:8px 10px;font-size:12px}
html body #app.edition-cdc .home-refined .billing-recent th{font-size:10px;letter-spacing:.02em}
html body #app.edition-cdc .home-refined .billing-recent td:nth-child(1){white-space:nowrap}
html body #app.edition-cdc .home-refined .billing-recent td:nth-child(4){font-variant-numeric:tabular-nums;white-space:nowrap}
html body #app.edition-cdc .home-refined .billing-open-sale{min-width:32px;min-height:36px}
html body #app.edition-cdc .home-refined .daily-rates{padding:16px!important;height:auto!important;border-radius:14px}
html body #app.edition-cdc .home-refined .daily-rates h2{font-size:16px;margin-bottom:6px}
html body #app.edition-cdc .home-refined .daily-rate-date{margin:0;font-size:11px}
html body #app.edition-cdc .home-refined .daily-rate-values{margin:8px 0}
html body #app.edition-cdc .home-refined .daily-rate-values>span{padding:8px 0;font-size:12px}
html body #app.edition-cdc .home-refined .daily-rate-values strong{font-size:14px;font-variant-numeric:tabular-nums}
html body #app.edition-cdc .home-refined .daily-rate-status{margin:8px 0 10px}
html body #app.edition-cdc .home-refined .daily-rates button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:100%;font-size:12px}
html body #app.edition-cdc .home-refined .daily-rate-edit{width:100%!important}
html body #app.edition-cdc .home-refined .edition-authorizations{padding:16px;border-radius:14px;order:-1!important}
html body #app.edition-cdc .home-refined .edition-authorizations h2{font-size:16px;line-height:1.3}
html body #app.edition-cdc .home-refined .edition-notification-count{min-width:34px;height:34px;font-size:17px}
html body #app.edition-cdc .home-refined .edition-authorization-status{margin:10px 0 8px;font-size:12px;line-height:1.5}
html body #app.edition-cdc .home-refined .edition-review{min-height:36px;width:100%;padding:8px 10px;border:1px solid var(--edition-line);border-radius:8px;font-weight:600;background:var(--edition-soft)}
html body #app.edition-cdc .home-refined .has-pending .edition-review{border-color:#e7b4be;background:#fff0f3;color:#9f203a}
html[data-theme=dark] body #app.edition-cdc .home-refined .has-pending .edition-review{background:#421e2b;color:#ffd0d9;border-color:#854455}
html body #app.edition-cdc .home-refined .personal-memo{padding:16px;border-radius:14px;order:2}
html body #app.edition-cdc .home-refined .personal-memo h2{font-size:16px}
html body #app.edition-cdc .home-refined .personal-memo textarea{min-height:60px}
html body #app.edition-cdc .home-refined .billing-profit{padding:0;margin:14px 0 0;border-radius:14px;overflow:hidden}
html body #app.edition-cdc .home-refined .billing-profit>summary{padding:14px 16px;font-size:13px;font-weight:600;cursor:pointer;min-height:44px}
html body #app.edition-cdc .home-refined .billing-profit-content:not(:empty){padding:4px 16px 16px}
html body #app.edition-cdc .home-refined .billing-support{font-size:12px;margin-top:14px}
html body #app.edition-cdc .home-refined :is(button,summary):focus-visible{outline:2px solid #987211;outline-offset:3px}
}
@media screen and (max-width:1100px){
html body #app.edition-cdc .home-refined .edition-welcome{grid-template-columns:1fr;gap:16px;padding:18px}
html body #app.edition-cdc .home-refined .billing-dashboard-grid{grid-template-columns:minmax(0,1fr) 300px}
html body #app.edition-cdc .home-refined>.billing-shortcuts h2{flex-basis:100%}
}
@media screen and (max-width:900px){
html body #app.edition-cdc #page.home-refined{width:calc(100% - 28px)!important}
html body #app.edition-cdc .home-refined .billing-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}
html body #app.edition-cdc .home-refined .billing-dashboard-grid>.billing-aside{grid-column:1;grid-row:2}
html body #app.edition-cdc .home-refined .billing-dashboard-grid>.billing-recent{grid-column:1!important;grid-row:1!important}
html body #app.edition-cdc .home-refined .billing-recent table{min-width:650px}
}
@media screen and (max-width:600px){
html body #app.edition-cdc .home-refined .billing-quick-sale{flex-basis:100%;width:100%;min-height:44px}
html body #app.edition-cdc .home-refined .billing-search input{font-size:16px}
html body #app.edition-cdc .home-refined .billing-metrics{gap:8px}
html body #app.edition-cdc .home-refined .billing-metric{padding:12px!important}
html body #app.edition-cdc .home-refined .billing-value{font-size:clamp(19px,5vw,24px)!important;overflow-wrap:anywhere}
html body #app.edition-cdc .home-refined>.billing-shortcuts{gap:6px;padding:12px}
html body #app.edition-cdc .home-refined>.billing-shortcuts button{flex:1 1 100%;min-height:44px}
html body #app.edition-cdc .home-refined .billing-section-heading button{min-height:44px}
}
/* SYNGPRO home 1.0.252 END */

/* SYNGPRO V1 home 1.0.253 BEGIN */
@media screen{
html body #app.edition-cdc #page.v1-reference-home{--v1-width:1400px;width:100%!important;max-width:none!important;padding:0 0 104px!important;margin:0!important;overflow:visible;background:var(--edition-bg,#f5f7fb)}
html body #app:has(#page.v1-reference-home) .connected-top{min-height:64px;padding:8px max(24px,calc((100% - 1400px)/2));gap:24px;border-bottom:1px solid #ffffff13}
html body #app:has(#page.v1-reference-home) .connected-top>img{width:130px;height:44px;object-fit:contain}
html body #app:has(#page.v1-reference-home) .connected-company{border-left:1px solid #ffffff26;padding-left:24px;line-height:1.35;min-width:0}
html body #app:has(#page.v1-reference-home) .connected-company strong{font-size:14px}
html body #app:has(#page.v1-reference-home) .connected-company small{font-size:10px}
html body #app:has(#page.v1-reference-home) .connected-actions{gap:10px}
html body #app:has(#page.v1-reference-home) .connected-actions>button{font-size:12px;min-height:40px;padding:8px 12px;white-space:nowrap}
html body #app:has(#page.v1-reference-home) .connected-actions>.v1-account{display:flex;align-items:center;gap:8px;background:#ffffff08;border:0;border-radius:999px;padding:4px 12px 4px 4px}
html body #app:has(#page.v1-reference-home) .v1-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f5c84c;color:#0b1f33;font-weight:700;font-size:12px}
html body #app:has(#page.v1-reference-home) .connected-actions>.v1-sifen-pill{border:1px solid #f5c84c66;background:#f5c84c10;color:#f5c84c;border-radius:999px;font-size:11px;min-height:36px}
html body #app:has(#page.v1-reference-home) .v1-sifen-pill::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:8px}
html body #app:has(#page.v1-reference-home) .connected-actions>.v1-sifen-pill[data-severity=urgent]{color:#ffb8c5;border-color:#ffb8c566;background:#661d3033}
html body #app:has(#page.v1-reference-home) #sifen-persistent-alerts:not([data-severity=urgent]):not(.v1-alert-expanded){display:none!important}
html body #app.edition-cdc .v1-reference-home .edition-welcome{width:100%!important;margin:0!important;padding:20px max(24px,calc((100% - 1400px)/2)) 62px!important;min-height:158px;border-radius:0!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;background-color:#0b1f33;background-image:radial-gradient(ellipse at 90% 0%,#f5c84c16,transparent 55%),linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:auto,44px 44px,44px 44px;overflow:visible}
html body #app.edition-cdc .v1-reference-home .edition-welcome::before,html body #app.edition-cdc .v1-reference-home .edition-welcome::after{display:none}
html body #app.edition-cdc .v1-reference-home .billing-intro{margin:0;padding:0;min-width:0}
html body #app.edition-cdc .v1-reference-home .v1-eyebrow{display:block;color:#f5c84c;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;margin:0 0 5px}
html body #app.edition-cdc .v1-reference-home .edition-welcome h1{font-size:25px;line-height:1.2;margin:0!important;letter-spacing:-.6px}
html body #app.edition-cdc .v1-home-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:7px;font-size:11px;line-height:1.4;color:#acc4dc}
html body #app.edition-cdc .v1-reference-home .v1-today::first-letter{text-transform:uppercase}
html body #app.edition-cdc .v1-reference-home .v1-signature{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0;border:0;background:none;color:#5de7ba;font-size:11px;box-shadow:none;text-align:left;white-space:normal}
html body #app.edition-cdc .v1-reference-home .v1-signature::before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
html body #app.edition-cdc .v1-reference-home .v1-signature[data-state=expired]{color:#ffb8c5}
html body #app.edition-cdc .v1-reference-home .v1-signature:is([data-state=missing],[data-state=unknown],[data-state=soon]){color:#ffe08a}
html body #app.edition-cdc .v1-reference-home .billing-toolbar{padding-top:14px;gap:10px;min-width:0}
html body #app.edition-cdc .v1-reference-home .billing-search{height:44px;border:1px solid #ffffff10;background:#ffffff18!important;border-radius:16px;box-shadow:none;flex:1}
html body #app.edition-cdc .v1-reference-home .billing-search input{color:#fff!important;background:transparent!important;font-size:13px;padding:8px 10px}
html body #app.edition-cdc .v1-reference-home .billing-search input::placeholder{color:#b5c5d6;opacity:1}
html body #app.edition-cdc .v1-reference-home .billing-search-button{height:36px;min-height:36px;border-radius:12px;padding:0 13px;font-size:13px}
html body #app.edition-cdc .v1-reference-home .billing-quick-sale{flex:0 0 auto;min-height:44px;border-radius:16px!important;font-size:13px;gap:8px;padding:8px 16px!important}
html body #app.edition-cdc .v1-reference-home .billing-sale-arrow{position:static;transform:none!important;line-height:1;flex:none}
html body #app.edition-cdc .v1-reference-home .billing-quick-sale kbd{display:inline-block;background:#0b1f3311;color:#0b1f33;border:0;border-radius:5px;font-size:10px;padding:2px 6px}
html body #app.edition-cdc .v1-reference-home>:is(.billing-metrics,.billing-dashboard-grid,.billing-shortcuts,.billing-search-results,.billing-feedback,.billing-rate-notice){width:min(var(--v1-width),calc(100% - 48px))!important;margin-inline:auto!important}
html body #app.edition-cdc .v1-reference-home .billing-metrics{position:relative;z-index:1;margin-top:-40px!important;margin-bottom:14px!important;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
html body #app.edition-cdc .v1-reference-home .billing-metric{position:relative;min-height:100px;padding:15px 14px 14px 64px!important;text-align:left;border-radius:16px!important;border:1px solid var(--edition-line);background:var(--edition-surface);box-shadow:0 2px 2px #0b1f3310;overflow:hidden}
html body #app.edition-cdc .v1-reference-home .billing-metric:first-child{border-color:#f5c84c;background-image:radial-gradient(ellipse at 100% 0%,#f5c84c18,transparent 65%)}
html body #app.edition-cdc .v1-reference-home .billing-metric:first-child::before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#f5c84c}
html body #app.edition-cdc .v1-reference-home .billing-metric-top{display:block;font-size:12px;color:var(--edition-muted);line-height:1.35}
html body #app.edition-cdc .v1-reference-home .billing-metric:first-child .billing-metric-top{font-weight:600;color:var(--edition-ink)}
html body #app.edition-cdc .v1-reference-home .billing-metric-icon{position:absolute;left:16px;top:31px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--edition-soft);color:var(--edition-ink)}
html body #app.edition-cdc .v1-reference-home .billing-metric-icon svg{width:18px;height:18px;color:inherit!important}
html body #app.edition-cdc .v1-reference-home .billing-metric:first-child .billing-metric-icon{background:#f5c84c;color:#0b1f33}
html body #app.edition-cdc .v1-reference-home .billing-value{display:block;font-size:26px!important;line-height:1.1;margin:2px 0 4px!important;letter-spacing:-.6px;overflow-wrap:anywhere}
html body #app.edition-cdc .v1-reference-home .v1-unit{font-size:11px;font-weight:600;color:var(--edition-muted);margin-left:4px;letter-spacing:0}
html body #app.edition-cdc .v1-reference-home .billing-metric:first-child .v1-unit{color:#95710f}
html body #app.edition-cdc .v1-reference-home .billing-metric-detail{font-size:10px;margin:0;line-height:1.3}
html body #app.edition-cdc .v1-reference-home :is(.billing-comparison-bar,.billing-delta){display:none}
html body #app.edition-cdc .v1-reference-home .billing-stock .billing-alert-symbol{position:absolute;right:8px;top:8px;width:17px;height:17px;font-size:11px}
html body #app.edition-cdc .v1-reference-home .billing-dashboard-grid{grid-template-columns:minmax(0,1fr) 340px;gap:14px}
html body #app.edition-cdc .v1-reference-home .billing-recent{padding:18px!important;border-radius:18px;box-shadow:0 2px 2px #0b1f3310}
html body #app.edition-cdc .v1-reference-home .billing-section-heading{margin:0 0 14px;align-items:end}
html body #app.edition-cdc .v1-reference-home .billing-section-heading h2{font-size:19px;line-height:1.25;margin:0}
html body #app.edition-cdc .v1-reference-home .billing-section-heading h2::before{content:'VENTAS';display:block;color:#947112;font-size:10px;letter-spacing:.16em;font-weight:700;margin-bottom:6px}
html body #app.edition-cdc .v1-reference-home .billing-section-heading button{background:transparent!important;border:0;color:#8a6710!important;padding:6px 0;min-height:36px}
html body #app.edition-cdc .v1-reference-home .billing-caption{display:none}
html body #app.edition-cdc .v1-reference-home .billing-recent :is(th,td){padding:10px 12px!important;line-height:1.25}
html body #app.edition-cdc .v1-reference-home .billing-recent th{font-size:10px}
html body #app.edition-cdc .v1-reference-home .billing-recent td{font-size:13px;height:54px}
html body #app.edition-cdc .v1-reference-home .billing-recent td small{font-size:10px;margin-top:2px}
html body #app.edition-cdc .v1-reference-home .billing-recent td:first-child,html body #app.edition-cdc .v1-reference-home .billing-recent td:nth-child(3){color:var(--edition-muted)}
html body #app.edition-cdc .v1-reference-home .billing-recent :is(th,td):nth-child(4){text-align:right}
html body #app.edition-cdc .v1-reference-home .billing-sifen{font-size:10px;padding:3px 7px}
html body #app.edition-cdc .v1-reference-home .billing-open-sale{min-height:32px;min-width:28px;padding:4px}
html body #app.edition-cdc .v1-reference-home .daily-rates{position:relative!important;padding:18px!important;border-radius:18px;box-shadow:0 2px 2px #0b1f3310}
html body #app.edition-cdc .v1-reference-home .daily-rates h2{font-size:16px;margin:0 0 12px}
html body #app.edition-cdc .v1-reference-home .daily-rates:not(.is-pending) .daily-rate-date{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body #app.edition-cdc .v1-reference-home .daily-rates:not(.is-pending) .daily-rate-status{position:absolute!important;right:18px;top:17px;width:auto;max-width:145px;padding:3px 6px;margin:0;font-size:9px;line-height:1.3;border-radius:999px;background:#e3f6ef;color:#08685c;text-align:center}
html body #app.edition-cdc .v1-reference-home .daily-rate-values{margin:10px 0}
html body #app.edition-cdc .v1-reference-home .daily-rate-values>span{padding:12px 0;font-size:13px;color:var(--edition-muted)}
html body #app.edition-cdc .v1-reference-home .daily-rate-values strong{font-size:17px;color:var(--edition-ink)}
html body #app.edition-cdc .v1-reference-home .daily-rate-values .edition-currency-flag{width:23px;height:16px;object-fit:cover;border-radius:2px}
html body #app.edition-cdc .v1-reference-home .daily-rates button{min-height:38px;border-radius:13px;justify-content:center;font-size:12px}
html body #app.edition-cdc .v1-reference-home .personal-memo{position:relative;border-radius:18px;padding:18px!important;box-shadow:0 2px 2px #0b1f3310}
html body #app.edition-cdc .v1-reference-home .personal-memo h2{font-size:16px;margin:0 0 12px}
html body #app.edition-cdc .v1-reference-home .personal-memo p{position:absolute;right:18px;top:20px;margin:0;font-size:10px}
html body #app.edition-cdc .v1-reference-home .personal-memo textarea{height:82px;min-height:82px;resize:vertical;font-size:13px;padding:10px 12px;border-radius:14px;background:var(--edition-soft)}
html body #app.edition-cdc .v1-reference-home .personal-memo small{display:block;font-size:10px;line-height:1.4;margin-top:6px}
html body #app.edition-cdc .v1-reference-home>.billing-shortcuts{margin-top:14px!important;margin-bottom:12px!important}
html body #app.edition-cdc .v1-reference-home .billing-support{display:block;margin-left:max(24px,calc((100% - 1400px)/2));font-size:10px}
html body #app:has(#page.v1-reference-home) .connected-bottom{background:#0b1f33f5!important;border:1px solid #ffffff20!important;border-radius:18px!important;box-shadow:0 10px 30px #0b1f3325;padding:6px!important;gap:3px}
html body #app:has(#page.v1-reference-home) .connected-bottom button{color:#b5c8dc!important;border-radius:12px!important;font-size:10px;min-height:48px;min-width:65px;padding:6px 10px!important}
html body #app:has(#page.v1-reference-home) .connected-bottom button[aria-current=page]{color:#0b1f33!important;background:#f5c84c!important;box-shadow:none!important}
html body #app:has(#page.v1-reference-home) .connected-bottom button[data-key=issue]:not([aria-current=page]){background:transparent!important;color:#b5c8dc!important;box-shadow:none!important}
html[data-theme=dark] body #app.edition-cdc .v1-reference-home .billing-section-heading button,html[data-theme=dark] body #app.edition-cdc .v1-reference-home .billing-section-heading h2::before{color:#f5c84c!important}
html[data-theme=dark] body #app.edition-cdc .v1-reference-home .daily-rates:not(.is-pending) .daily-rate-status{background:#163e36;color:#78e2c1}
}
@media screen and (max-width:1150px){
html body #app.edition-cdc .v1-reference-home .edition-welcome{grid-template-columns:1fr;gap:8px;padding-bottom:60px!important}
html body #app.edition-cdc .v1-reference-home .billing-toolbar{padding-top:0}
html body #app.edition-cdc .v1-reference-home .billing-value{font-size:23px!important}
html body #app.edition-cdc .v1-reference-home .billing-metric{padding-left:14px!important}
html body #app.edition-cdc .v1-reference-home .billing-metric-icon{display:none}
html body #app:has(#page.v1-reference-home) .connected-top{gap:14px}
html body #app:has(#page.v1-reference-home) .connected-company{padding-left:14px}
}
@media screen and (max-width:900px){
html body #app.edition-cdc .v1-reference-home .billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
html body #app.edition-cdc .v1-reference-home .billing-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}
html body #app.edition-cdc .v1-reference-home .billing-recent table{min-width:650px}
html body #app:has(#page.v1-reference-home) .connected-top{flex-wrap:wrap;padding:8px 14px;gap:6px 12px}
html body #app:has(#page.v1-reference-home) .connected-top>img{width:104px;height:40px}
html body #app:has(#page.v1-reference-home) .connected-actions{margin-left:auto;gap:6px}
html body #app.edition-cdc .v1-reference-home>:is(.billing-metrics,.billing-dashboard-grid,.billing-shortcuts,.billing-search-results,.billing-feedback,.billing-rate-notice){width:calc(100% - 28px)!important}
html body #app.edition-cdc .v1-reference-home .edition-welcome{padding-inline:14px!important}
}
@media screen and (max-width:600px){
html body #app.edition-cdc .v1-reference-home .edition-welcome h1{font-size:24px}
html body #app.edition-cdc .v1-reference-home .billing-toolbar{flex-wrap:wrap!important}
html body #app.edition-cdc .v1-reference-home .billing-quick-sale{width:100%!important;flex:1 1 100%!important;min-height:44px;height:44px!important}
html body #app.edition-cdc .v1-reference-home .billing-search{flex:1 1 100%!important;width:100%!important;min-height:48px}
html body #app.edition-cdc .v1-reference-home .billing-search input{font-size:16px}
html body #app.edition-cdc .v1-reference-home .billing-metric{padding:12px!important;min-height:98px}
html body #app.edition-cdc .v1-reference-home .billing-value{font-size:23px!important}
html body #app.edition-cdc .v1-reference-home .billing-metric-top{font-size:11px}
html body #app.edition-cdc .v1-reference-home .billing-section-heading button{min-height:44px}
html body #app.edition-cdc .v1-reference-home .billing-open-sale{min-height:44px!important;min-width:44px}
html body #app.edition-cdc .v1-reference-home .v1-signature{min-height:36px}
html body #app.edition-cdc .v1-reference-home .personal-memo textarea{font-size:16px}
html body #app:has(#page.v1-reference-home) .connected-company{flex:1;padding-left:12px}
html body #app:has(#page.v1-reference-home) .v1-account-name{font-size:11px}
html body #app:has(#page.v1-reference-home) .connected-actions>button{font-size:11px;padding:6px 8px}
html body #app:has(#page.v1-reference-home) .connected-bottom button{min-width:55px;min-height:48px;font-size:9px;padding:6px!important}
}
/* SYNGPRO V1 home 1.0.253 END */

/* SYNGPRO V1 SIFEN header 1.0.254 BEGIN */
/* The header remains the single collapsed entry point, including urgent alerts. */
html body #app:has(#page.v1-reference-home) #sifen-persistent-alerts:not(.v1-alert-expanded){display:none!important}
/* SYNGPRO V1 SIFEN header 1.0.254 END */

/* SYNGPRO V1 SIFEN modal 1.0.255 BEGIN */
html body #app:has(#page.v1-reference-home) .connected-top,
html body #app.edition-cdc .v1-reference-home .edition-welcome{
 background:linear-gradient(90deg,#071522 0%,#0b1f33 40%,#163a5c 75%,#1f5080 100%)!important;
 background-size:auto!important;border:0!important;box-shadow:none!important;
}
html body #app:has(#page.v1-reference-home) #sifen-persistent-alerts{display:none!important}
html body dialog.v1-sifen-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #d6e2f0;border-radius:18px;background:#fff;color:#0b1f33;box-shadow:0 24px 80px #07152240;overflow:auto;overscroll-behavior:contain}
html body dialog.v1-sifen-dialog::backdrop{background:#07152299}
html body .v1-sifen-dialog>header{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:22px 24px 18px;background:#0b1f33;color:#fff;margin:0;border:0}
html body dialog.v1-sifen-dialog>header h2{display:block!important;margin:3px 0 12px;color:#fff!important;font-size:23px;line-height:1.25}
html body .v1-sifen-dialog .v1-sifen-eyebrow{color:#f5c84c;text-transform:uppercase;font-size:10px;letter-spacing:.14em;font-weight:700}
html body .v1-sifen-dialog button{min-height:42px;padding:9px 16px;border:1px solid #cfdeeb;background:transparent;color:inherit;border-radius:10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none}
html body .v1-sifen-dialog .v1-sifen-close{width:42px;flex:none;border-color:#ffffff30;font-size:25px;line-height:1;padding:0}
html body .v1-sifen-dialog button:focus-visible{outline:3px solid #b58d19;outline-offset:3px}
html body .v1-sifen-dialog .v1-sifen-status{display:inline-block;border-radius:999px;background:#f5c84c20;color:#ffe18a;padding:5px 10px;font-size:12px}
html body .v1-sifen-dialog .v1-sifen-status[data-severity=urgent]{background:#ffb8c520;color:#ffb8c5}
html body .v1-sifen-content{padding:20px 24px;max-height:55dvh;overflow:auto;overscroll-behavior:contain}
html body .v1-sifen-content .v1-sifen-columns{display:grid;grid-template-columns:1fr 1.6fr 1.1fr;gap:16px;padding:0 0 10px;font-size:11px;font-weight:700;color:#526b7d}
html body .v1-sifen-content .sifen-alert-list{list-style:none;padding:0;margin:0}
html body .v1-sifen-content .sifen-alert-list li{display:grid;grid-template-columns:1fr 1.6fr 1.1fr;gap:5px 16px;padding:16px 0;border-top:1px solid #d6e2f0;font-size:13px;overflow-wrap:anywhere}
html body .v1-sifen-content .sifen-alert-list li>small{grid-column:2/4;color:#526b7d;font-size:12px}
html body .v1-sifen-content h3{font-size:17px;margin:0 0 10px;color:#a92845}
html body .v1-sifen-content p{font-size:14px;line-height:1.55;margin:0}
html body .v1-sifen-dialog>footer{display:block;padding:16px 24px 22px;border-top:1px solid #d6e2f0;background:#f5f7fb}
html body .v1-sifen-help,html body .v1-sifen-storage{font-size:12px;line-height:1.5;margin:0 0 14px;color:#526b7d}
html body .v1-sifen-storage{color:#a92845}
html body .v1-sifen-actions{display:flex;justify-content:flex-end;gap:10px}
html body dialog.v1-sifen-dialog .v1-sifen-ack{background:#f5c84c!important;border-color:#f5c84c!important;color:#0b1f33!important}
html body .v1-sifen-dialog button:disabled{opacity:.5;cursor:default}
html[data-theme=dark] body dialog.v1-sifen-dialog{background:#14293c;color:#e1edf6;border-color:#355168}
html[data-theme=dark] body .v1-sifen-dialog>footer{background:#102438;border-color:#355168}
html[data-theme=dark] body .v1-sifen-content .sifen-alert-list li{border-color:#355168}
html[data-theme=dark] body .v1-sifen-help,html[data-theme=dark] body .v1-sifen-content .v1-sifen-columns,html[data-theme=dark] body .v1-sifen-content .sifen-alert-list li>small{color:#adc4d8}
html[data-theme=dark] body .v1-sifen-content h3,html[data-theme=dark] body .v1-sifen-storage{color:#ffb8c5}
@media(max-width:600px){
 html body dialog.v1-sifen-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
 html body .v1-sifen-dialog>header,html body .v1-sifen-content,html body .v1-sifen-dialog>footer{padding:18px}
 html body .v1-sifen-content .v1-sifen-columns{display:none}
 html body .v1-sifen-content .sifen-alert-list li{grid-template-columns:1fr;gap:7px}
 html body .v1-sifen-content .sifen-alert-list li>small{grid-column:auto}
 html body .v1-sifen-actions button{min-height:44px;flex:1}
}
/* SYNGPRO V1 SIFEN modal 1.0.255 END */

/* SYNGPRO V1 compact alerts 1.0.256 BEGIN */
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates{
 display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:26px 18px 132px 40px;gap:8px;
 box-sizing:border-box;padding:16px!important;margin:0!important;position:relative!important;
 border:1px solid var(--edition-line)!important;background:var(--edition-surface)!important;box-shadow:0 1px 2px #0b1f3310!important;min-height:0!important;
}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates::after{display:none!important;animation:none!important}
html body #app.edition-cdc .v1-reference-home .v1-rate-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
html body #app.edition-cdc .v1-reference-home .v1-rate-heading h2{font-size:15px!important;color:var(--edition-ink)!important;margin:0!important;white-space:nowrap}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-status{
 position:static!important;flex:none;width:auto!important;max-width:none!important;margin:0!important;padding:4px 7px!important;
 font-size:10px!important;font-weight:600;line-height:1.3!important;border-radius:6px;background:#fff0f3!important;color:#9f203a!important;white-space:nowrap;
}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-status::before{display:none!important}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates[data-rate-state=current] .daily-rate-status{background:#e3f6ef!important;color:#08685c!important}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-date{
 position:static!important;width:auto!important;height:auto!important;clip-path:none!important;margin:0!important;
 color:var(--edition-muted)!important;font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-values{display:grid;grid-template-rows:repeat(3,44px);margin:0!important;min-width:0;min-height:0}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-values>span{padding:0!important;min-width:0;gap:6px;font-size:12px;line-height:1.3}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-values strong{font-size:16px;font-variant-numeric:tabular-nums}
html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates>button{width:100%!important;max-width:none;min-height:40px!important;height:40px!important;margin:0!important;padding:8px 12px!important;border-radius:10px}
html body #app:has(#page.v1-reference-home) .connected-actions>button.v1-sifen-pill{
 display:inline-flex;align-items:center;gap:8px;background:#fff!important;color:#0b1f33!important;border:1px solid #ffffffcc!important;
 border-radius:12px;padding:6px 8px 6px 11px;min-height:40px;font-size:12px;font-weight:650;box-shadow:0 2px 4px #07152218;
}
html body #app:has(#page.v1-reference-home) .connected-actions>button.v1-sifen-pill[hidden]{display:none!important}
html body #app:has(#page.v1-reference-home) .v1-sifen-pill::before{display:none!important}
html body #app:has(#page.v1-reference-home) .v1-sifen-pill svg{width:17px;height:17px;color:#0b1f33!important;flex:none}
html body #app:has(#page.v1-reference-home) .v1-sifen-pill .v1-sifen-number{display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;box-sizing:border-box;border-radius:7px;background:#f5c84c;color:#0b1f33;font-size:12px;font-weight:750;line-height:1}
html body #app:has(#page.v1-reference-home) .v1-sifen-pill[data-severity=urgent] .v1-sifen-number{background:#b52843;color:#fff}
html body #app:has(#page.v1-reference-home) .connected-actions>button.v1-sifen-pill:hover{background:#eef3f8!important}
html body #app:has(#page.v1-reference-home) .connected-actions>button.v1-sifen-pill:focus-visible{outline:3px solid #f5c84c!important;outline-offset:3px}
html[data-theme=dark] body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates .daily-rate-status{background:#492431!important;color:#ffd0d9!important}
html[data-theme=dark] body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates[data-rate-state=current] .daily-rate-status{background:#163e36!important;color:#78e2c1!important}
@media(max-width:600px){
 html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates{grid-template-rows:26px 18px 132px 44px}
 html body #app.edition-cdc .v1-reference-home .daily-rates.v1-compact-rates>button{min-height:44px!important;height:44px!important}
 html body #app:has(#page.v1-reference-home) .connected-actions>button.v1-sifen-pill{min-height:44px}
}
/* SYNGPRO V1 compact alerts 1.0.256 END */

/* SYNGPRO 1.0.260 — presentation only. No JavaScript or fiscal engine changes. */
@media screen {
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) {position:relative;background:var(--edition-bg,#f5f7fb)!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-top {height:auto;min-height:64px;box-sizing:border-box;padding:8px max(24px,calc((100% - 1400px)/2));gap:24px;border:0!important;background:linear-gradient(90deg,#071522 0%,#0b1f33 40%,#163a5c 75%,#1f5080 100%)!important;box-shadow:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-top>img {width:130px;height:44px;object-fit:contain}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-company {border-left:1px solid #ffffff26;padding-left:24px;min-width:0;line-height:1.35}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-company strong {font-size:14px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-company small {font-size:10px;color:#b5c8dc}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-actions {gap:10px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-actions button {min-height:40px;font-size:12px;white-space:nowrap;border-color:#ffffff26;color:#e5eef8}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) {width:100%!important;max-width:none!important;margin:0!important;padding:0 0 124px!important;min-height:calc(100dvh - 64px);box-sizing:border-box}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.menu-hub-header {width:100%;max-width:none;box-sizing:border-box;padding:28px max(24px,calc((100% - 1400px)/2)) 38px!important;margin:0 0 26px!important;min-height:156px;gap:28px;display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;background:linear-gradient(90deg,#071522 0%,#0b1f33 40%,#163a5c 75%,#1f5080 100%)!important;border:0;border-radius:0;box-shadow:none}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-intro {min-width:0;flex:1}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-eyebrow {display:block!important;color:#f5c84c!important;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;margin:0 0 7px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-header h1 {color:#fff!important;font-size:28px!important;line-height:1.2;letter-spacing:-.5px;margin:0 0 8px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-description {color:#b5c8dc!important;font-size:14px!important;line-height:1.5;margin:0}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-search {flex:0 1 360px;min-width:220px;max-width:360px!important;margin-left:auto}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-search input {height:46px!important;background:#ffffff16!important;color:white!important;border:1px solid #ffffff30!important;border-radius:14px;font-size:14px!important;box-shadow:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-search input::placeholder {color:#c3d2e2;opacity:1}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-search>svg {color:#c3d2e2!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.menu-hub-section,html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.menu-hub-empty,html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.connected-account-actions,html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.connected-location {width:calc(100% - 48px);max-width:1400px;box-sizing:border-box;margin:0 auto 24px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-section>h2 {font-size:11px;letter-spacing:.1em;color:var(--edition-muted,#526b7d);margin:0 0 12px;line-height:1.5}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-grid {gap:14px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card {display:flex;flex-direction:column;align-items:stretch;min-height:154px!important;padding:22px!important;border:1px solid var(--edition-line,#d6e2f0)!important;border-radius:18px!important;background:var(--edition-surface,#fff)!important;box-shadow:0 2px 3px #0b1f3307!important;transform:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card-top {min-height:40px;margin:0 0 16px!important;position:static}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card .menu-hub-icon {width:40px!important;height:40px!important;border-radius:12px!important;background:#edf2f7!important;color:#1b3a56!important;box-shadow:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card .menu-hub-icon svg {color:inherit!important;stroke:currentColor!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card .menu-hub-arrow {position:static!important;width:28px;height:28px;background:#f4f7fa!important;color:#526b7d!important;border-radius:50%}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card strong {font-size:16px!important;color:var(--edition-ink,#0b1f33)!important;padding:0;line-height:1.3}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card-description {font-size:12px!important;line-height:1.5;color:var(--edition-muted,#526b7d)!important;margin-top:6px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card::after {display:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card.is-caution .menu-hub-icon {background:#fff0f3!important;color:#b52843!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])[data-view="issue"] .menu-hub-section:first-of-type .menu-hub-card:first-child {border-color:#edc44f!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])[data-view="issue"] .menu-hub-section:first-of-type .menu-hub-card:first-child .menu-hub-icon {background:#f5c84c!important;color:#0b1f33!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card:hover {border-color:#a0b3c8!important;box-shadow:0 3px 10px #0b1f330c!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) :is(.menu-hub-card,.menu-hub-search input):focus-visible {outline:3px solid #dfae28!important;outline-offset:3px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card[hidden],html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-section[hidden],html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-empty[hidden] {display:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom {background:#142b3e!important;border:1px solid #ffffff12!important;border-radius:18px!important;box-shadow:0 12px 28px #0b1f3326!important;padding:6px!important;gap:3px;bottom:max(16px,env(safe-area-inset-bottom))!important;max-width:calc(100% - 24px);overflow-x:auto}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom button {color:#b5c8dc!important;border-radius:12px!important;font-size:10px;min-height:48px;min-width:65px;padding:6px 10px!important;flex-shrink:0}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom button[aria-current=page] {color:#0b1f33!important;background:#f5c84c!important;box-shadow:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom button[data-key=issue]:not([aria-current=page]) {background:transparent!important;color:#b5c8dc!important;box-shadow:none!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom button:focus-visible {outline:2px solid #f5c84c!important;outline-offset:-2px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #sifen-persistent-alerts.sifen-acknowledged {width:100%;max-width:none;margin:0!important;padding:0 max(24px,calc((100% - 1400px)/2)) 0;box-sizing:border-box;border:0;border-radius:0;background:linear-gradient(90deg,#071522 0%,#0b1f33 40%,#163a5c 75%,#1f5080 100%)!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #sifen-persistent-alerts.sifen-acknowledged>.sifen-alert-indicator {margin-left:auto;border-radius:9px;background:#fff!important;color:#0b1f33!important;font-weight:650;border-color:#d6e2f0;min-height:36px}
html[data-theme=dark] body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])),html[data-theme=dark] body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) {background:#0b1f2e!important}
html[data-theme=dark] body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card .menu-hub-icon {background:#28445b!important;color:#d5e4f3!important}
html[data-theme=dark] body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card .menu-hub-arrow {background:#28445b!important;color:#d5e4f3!important}
html[data-theme=dark] body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])[data-view="issue"] .menu-hub-section:first-of-type .menu-hub-card:first-child .menu-hub-icon {background:#f5c84c!important;color:#0b1f33!important}
@media(min-width:1100px) {
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #sifen-persistent-alerts.sifen-acknowledged {position:absolute;top:14px;right:calc(max(24px,(100% - 1400px)/2) + 280px);padding:0;width:auto;background:none!important;z-index:2}
}
@media(max-width:900px) {
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-top {padding:10px 14px;gap:12px;flex-wrap:wrap}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-company {padding-left:14px;flex:1}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-actions {margin-left:auto;width:auto}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.menu-hub-header {padding:24px 20px 30px!important;flex-direction:column;align-items:stretch;gap:18px;min-height:0}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-search {flex:auto;width:100%;max-width:none!important;min-width:0;margin:0}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.menu-hub-section,html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.menu-hub-empty,html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.connected-account-actions,html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])>.connected-location {width:calc(100% - 32px)}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px) {
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-top {display:grid!important;grid-template-columns:104px minmax(0,1fr);gap:10px 14px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-company {width:auto!important;min-width:0;padding-left:14px;overflow-wrap:anywhere}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-actions {grid-column:1/-1;justify-self:end;width:auto!important;margin:0!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-top>img {width:104px;height:40px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-actions button {min-height:44px;padding:8px 10px;font-size:11px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-header h1 {font-size:25px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-search input {font-size:16px!important;min-height:48px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-grid {grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card {min-height:140px!important;padding:18px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"]) .menu-hub-card-top {margin-bottom:12px!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom {justify-content:flex-start!important;left:12px;right:12px;transform:none;width:calc(100% - 24px);max-width:none;bottom:max(10px,env(safe-area-inset-bottom))!important}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) .connected-bottom button {min-width:64px;min-height:48px;padding:6px 9px!important;font-size:9px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #sifen-persistent-alerts.sifen-acknowledged {padding-inline:14px}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"],[data-view="catalog-menu"],[data-view="finance-menu"],[data-view="accounting-menu"],[data-view="personnel"],[data-view="reports"],[data-view="settings"])) #sifen-persistent-alerts.sifen-acknowledged>.sifen-alert-indicator {min-height:44px}
}
}

/* Approved invoice: existing SYNGPRO palette, compact summary and three actions. */
.invoice-dialog:has(.invoice-approved-summary){width:min(1000px,calc(100vw - 24px));max-width:1000px;max-height:calc(100dvh - 24px);padding:0;overflow:auto}
.invoice-dialog:has(.invoice-approved-summary)>header{position:sticky;top:0;z-index:2;margin:0;padding:18px 24px;background:var(--billing-panel,#fff);border-bottom:1px solid #d8e2ed}
.invoice-approved-summary{padding:20px 24px;color:var(--billing-text,#0b1f33)}
.invoice-result-overview{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px;border:1px solid #d8e2ed;border-radius:12px;background:var(--billing-panel,#fff)}
.invoice-result-overview h3{font-size:21px;margin:12px 0 6px}.invoice-result-overview p{margin:0}
.invoice-approved-badge{display:inline-block;padding:5px 9px;border-radius:6px;background:#e6f4ee;color:#126749;font-size:13px;font-weight:700}
.invoice-result-total{text-align:right;display:grid;gap:8px;flex-shrink:0}.invoice-result-total strong{font-size:27px;font-variant-numeric:tabular-nums}
.invoice-result-meta{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:16px;padding:20px 0}.invoice-result-meta>div{display:grid;gap:6px;min-width:0}.invoice-result-meta strong{overflow-wrap:anywhere;font-size:14px}
.invoice-section-title{margin:18px 0 10px;font-size:16px}.invoice-approved-summary .table-wrap{margin:0}.invoice-approved-summary td,.invoice-approved-summary th{padding:12px 10px}
.invoice-tax-summary{font-size:13px;text-align:right}.invoice-verification{display:flex;align-items:center;gap:18px;margin-top:22px;padding:16px;background:var(--billing-panel,#f6f8fb);border:1px solid #d8e2ed;border-radius:10px}.invoice-verification>img{width:104px;height:104px;flex-shrink:0}.invoice-verification p{margin:8px 0;overflow-wrap:anywhere;font-size:13px}
.invoice-extra{margin-top:16px;border-top:1px solid #d8e2ed;padding-top:14px}.invoice-extra>summary{cursor:pointer;font-weight:600}.invoice-extra p{font-size:13px;line-height:1.5}
.invoice-dialog>.invoice-result-actions{position:sticky;bottom:0;z-index:2;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:16px 24px;margin:0;border-top:1px solid #d8e2ed;background:var(--billing-panel,#fff)}
.invoice-result-actions button{flex:0 1 auto;min-height:44px;white-space:nowrap;padding:12px 18px}.invoice-result-actions button:first-child{margin-right:auto}.invoice-dialog:has(.invoice-approved-summary)>.error:empty{display:none}
@media(max-width:640px){.invoice-approved-summary{padding:14px}.invoice-result-overview{align-items:flex-start;flex-direction:column;padding:14px}.invoice-result-total{text-align:left}.invoice-result-meta{grid-template-columns:1fr 1fr}.invoice-result-meta>div:last-child{grid-column:1/-1}.invoice-dialog>.invoice-result-actions{padding:12px;gap:8px}.invoice-result-actions button{flex:1 1 140px;white-space:normal}.invoice-result-actions button:first-child{margin:0}.invoice-verification{align-items:flex-start;gap:10px}.invoice-verification>img{width:80px;height:80px}}

/* Compact home action; typing continues to drive the adjacent search. */
@media screen{
html body #app.edition-cdc.connected-shell .billing-toolbar .billing-quick-sale{flex:0 0 166px!important;width:166px!important;min-height:40px!important;height:40px!important;padding:6px 10px!important;gap:6px;border-radius:13px!important;margin-left:auto!important}
html body #app.edition-cdc.connected-shell .billing-toolbar .billing-sale-arrow{position:static;transform:none!important;line-height:1;flex:none}
html body #app.edition-cdc.connected-shell .billing-toolbar .billing-sale-fill{display:none}
}
@media screen and (max-width:760px){
html body #app.edition-cdc.connected-shell .billing-toolbar .billing-quick-sale{min-height:44px!important;height:44px!important}
}

/* 1.0.277 — approved Inicio visual language, real sales forms. Screen-only. */
@media screen{
html body #app.edition-cdc:has(#page.sales-design){background:var(--edition-soft,#f4f7fb)}
html body #app.edition-cdc:has(#page.sales-design) :is(.topbar,.connected-top){display:none!important}
html body #app.edition-cdc:has(#page.sales-design) .connected-bottom{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;width:max-content!important;max-width:calc(100% - 24px)!important;margin:12px auto!important;background:#142a3d!important;border-color:#30485b!important;box-shadow:0 5px 18px #0d294620}
html body #app.edition-cdc:has(#page.sales-design) .connected-bottom button{color:#c1d0de!important;background:transparent!important}
html body #app.edition-cdc:has(#page.sales-design) .connected-bottom button:is(.active,[aria-current=page]){background:#f5cc49!important;color:#0b1f33!important}
html body #app.edition-cdc #page#page.sales-design{--sales-navy:#0b1f33;--sales-gold:#f5cc49;width:calc(100% - 48px)!important;max-width:1328px!important;min-height:0!important;padding:0!important;margin:0 auto!important;overflow:visible!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading){position:relative;isolation:isolate;display:flex!important;flex-wrap:wrap;align-items:center;gap:5px 12px;min-height:89px;padding:16px 0 24px!important;margin:0 0 0!important;background:transparent!important;color:#fff!important;border:0!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading)::before{content:'';position:absolute;z-index:-1;inset:0 calc((min(1328px,100vw - 48px) - 100vw)/2);background:linear-gradient(110deg,#071824,#102c46 65%,#204c77)}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading) :is(h1,h2){font-size:25px!important;line-height:1.15!important;letter-spacing:-.7px;color:#fff!important;margin:0!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading) p{display:none}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading)>button:not(.primary){background:#ffffff0a!important;color:#fff!important;border:1px solid #ffffff40!important;border-radius:9px!important;width:auto!important;min-height:34px!important;padding:5px 12px!important}
html body #app.edition-cdc #page#page.sales-design .sales-eyebrow{flex-basis:100%;font-size:9px!important;font-weight:700;color:#f5cc49!important;letter-spacing:1.4px;order:-1}
html body #app.edition-cdc #page#page.sales-design .v177-panel{border:1px solid var(--edition-line,#dae5f0)!important;border-radius:16px!important;background:var(--edition-surface,#fff)!important;padding:12px 16px!important;margin:0 0 10px!important;box-shadow:0 2px 3px #10273d07}
html body #app.edition-cdc #page#page.sales-design .v177-terms{position:relative;margin-top:-10px!important;grid-template-columns:1.55fr 1fr 1fr 1fr!important;gap:9px 14px!important}
html body #app.edition-cdc #page#page.sales-design .v177-customer{grid-template-columns:1.1fr 1.5fr 1fr 1fr!important;gap:9px 14px!important}
html body #app.edition-cdc #page#page.sales-design .sales-section{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:1px}
html body #app.edition-cdc #page#page.sales-design .sales-section h2{display:flex;align-items:center;gap:9px;margin:0!important;font-size:14px!important;color:var(--edition-ink)!important}
html body #app.edition-cdc #page#page.sales-design .sales-section small{font-size:10px;color:var(--edition-muted)}
.sales-step{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eef3f8;color:#59728e;font-size:10px;font-weight:600;margin-right:8px;flex:none}
html body #app.edition-cdc #page#page.sales-design :is(.v177-terms,.v177-customer)>label{font-size:11px!important;font-weight:550;gap:5px!important;min-width:0}
html body #app.edition-cdc #page#page.sales-design :is(.v177-terms,.v177-customer) :is(input:not([type=checkbox]):not([type=hidden]),.v177-code){min-height:38px!important;height:38px!important;font-size:13px!important;border-radius:8px!important}
html body #app.edition-cdc #page#page.sales-design .v177-code{display:flex!important;align-items:center;overflow:hidden;gap:0!important;padding:0!important;grid-template-columns:none!important}
html body #app.edition-cdc #page#page.sales-design .v177-code input{border:0!important;min-width:0!important;width:0!important;flex:1!important;text-align:left!important;font-weight:450!important;padding:0 10px!important}
html body #app.edition-cdc #page#page.sales-design .v177-code button{display:inline-flex!important;flex:none!important;position:static!important;width:34px!important}
html body #app.edition-cdc #page#page.sales-design .v177-code button{color:var(--edition-ink)!important;background:transparent!important;border:0!important;border-left:1px solid var(--edition-line)!important;padding:0 10px!important;min-height:36px!important}
html body #app.edition-cdc #page#page.sales-design :is(.sale-products>h3,.order-detail>header){display:flex!important;align-items:center;gap:0;background:transparent!important;border:0!important;border-radius:0!important;margin:0 0 9px!important;padding:0!important;font-size:14px!important}
html body #app.edition-cdc #page#page.sales-design .order-detail>header h3{font-size:14px!important;display:flex;align-items:center}
html body #app.edition-cdc #page#page.sales-design .invoice-items{min-height:90px!important;max-height:320px!important;overflow:auto!important;scrollbar-gutter:stable}
html body #app.edition-cdc #page#page.sales-design .invoice-item{border-bottom:1px solid var(--edition-line)!important;background:transparent!important;border-radius:0!important;padding:6px 0!important;min-height:44px!important;gap:7px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-item :is(input:not([type=hidden]),.v178-product-trigger){font-size:13px!important;min-height:34px!important;height:34px!important;background:var(--edition-soft)!important;border:1px solid var(--edition-line)!important;border-radius:7px!important}
html body #app.edition-cdc #page#page.sales-design .v178-product-trigger{text-align:left!important;justify-content:flex-start;white-space:normal!important;overflow-wrap:anywhere;font-weight:500!important;padding:5px 10px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-item>button{font-size:11px!important;background:transparent!important;border:1px solid var(--edition-line)!important;border-radius:7px!important;min-height:34px!important;height:34px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-line-amount{display:flex!important;flex-direction:column;justify-content:center;text-align:right;font-size:11px!important;color:var(--edition-ink)}
html body #app.edition-cdc #page#page.sales-design .invoice-line-total{font-size:13px!important}
html body #app.edition-cdc #page#page.sales-design :is(.invoice-add button,.v107-add-line){background:transparent!important;border:1px dashed #b7cadb!important;border-radius:9px!important;min-height:32px!important;font-size:12px!important;color:var(--edition-muted)!important;margin-top:6px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout{background:linear-gradient(110deg,#0b1f33,#13314a)!important;border-color:#0b1f33!important;padding:13px 16px!important;gap:12px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.muted:empty,html body #app.edition-cdc #page#page.sales-design .v177-checkout>.error:empty{display:none!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout .v177-equivalents{gap:12px!important}
html body #app.edition-cdc #page#page.sales-design .v177-equivalents strong{font-size:20px!important;line-height:1.2}
html body #app.edition-cdc #page#page.sales-design .v177-checkout button.primary{background:#f5cc49!important;color:#0b1f33!important;border-color:#f5cc49!important;border-radius:10px!important;min-height:40px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout button{font-size:12px!important;border-radius:9px!important}
html body #app.edition-cdc #page#page.sales-design :is(.client-search-card,.issued-filters,.table-wrap){background:var(--edition-surface)!important;border:1px solid var(--edition-line)!important;border-radius:16px!important;box-shadow:0 2px 3px #10273d07;overflow:auto}
html body #app.edition-cdc #page#page.sales-design :is(.client-search-card,.issued-filters){margin:12px 0!important;padding:16px!important;gap:12px!important}
html body #app.edition-cdc #page#page.sales-design table th{background:var(--edition-soft)!important;color:var(--edition-muted)!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.35px;padding:12px 15px!important}
html body #app.edition-cdc #page#page.sales-design table td{font-size:13px!important;padding:14px 15px!important;border-bottom:1px solid var(--edition-line)!important}
html body #app.edition-cdc #page#page.sales-design :is(.client-filters button.active,.heading button.primary){background:#f5cc49!important;color:#0b1f33!important;border-color:#f5cc49!important}
html body .v203-code-picker{border-radius:16px!important;border-color:#d8e2ed!important;padding:20px!important;max-width:min(500px,94vw)!important}
html body .v203-code-picker .v203-option{border-radius:9px!important;min-height:44px!important;font-size:14px!important}
html body .v203-code-picker .v203-option.primary{background:#fff3c9!important;color:#142b40!important;border-color:#fff3c9!important}
html[data-theme=dark] .sales-step{background:#203b50;color:#bbcede}
}
@media screen{
html body #app.edition-cdc #page#page.sales-design,html body #app.edition-cdc #page#page.sales-design :is(input,button,select){font-family:Inter,Arial,sans-serif!important}
html body #app.edition-cdc #page#page.sales-design{--edition-soft:#f4f7fb;--edition-surface:#fff;--edition-ink:#10283e;--edition-muted:#57728e;--edition-line:#dae5f0;color:#10283e}
html body #app.edition-cdc #page#page.sales-design .sales-meta{margin-left:auto;display:grid;gap:5px;text-align:right;font-size:11px;color:#bad0e3}
html body #app.edition-cdc #page#page.sales-design .sales-meta .sales-valid{color:#68e4bf}
html body #app.edition-cdc #page#page.sales-design .sales-meta .sales-expired{color:#ffd2cc}
html body #app.edition-cdc #page#page.sales-design .sales-count{font-size:10px;font-weight:400;padding:3px 7px;background:var(--edition-soft);border-radius:6px;color:var(--edition-muted);margin-left:10px}
html body #app.edition-cdc #page#page.sales-design .sales-address{grid-column:1/-1;font-size:11px;color:var(--edition-muted);margin-top:2px}
html body #app.edition-cdc #page#page.sales-design .sales-address>summary{cursor:pointer;padding:4px 0}
html body #app.edition-cdc #page#page.sales-design .sales-columns{display:grid;grid-template-columns:28px minmax(180px,1fr) 85px 125px 105px 60px;gap:7px;background:var(--edition-soft);border-block:1px solid var(--edition-line);padding:10px 0;color:var(--edition-muted);font-size:9px;letter-spacing:.5px}
html body #app.edition-cdc #page#page.sales-design .sales-columns span:nth-child(n+4){text-align:right}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-items{min-height:140px!important}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item{min-height:46px!important}
html body #app.edition-cdc #page#page.sales-design .sales-products .v178-product-trigger{background:transparent!important;border-color:transparent!important;font-weight:400!important}
html body #app.edition-cdc #page#page.sales-design .sales-products .v178-unit-price input{background:transparent!important;border-color:transparent!important;text-align:right!important;font-weight:450!important}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item>button{border:0!important;color:#7890a6!important;font-size:20px!important}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-total{display:flex!important;justify-content:flex-start!important;text-align:left!important;align-items:center!important;gap:22px!important;background:transparent!important;border:0!important;margin:0!important;padding:0!important;flex:1!important}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-total>div{display:grid!important;gap:5px!important;border:0!important;margin:0!important;padding:0!important}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-total>.invoice-grand-total{order:-1!important}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-grand-total strong{font-size:28px!important;line-height:1.15;letter-spacing:-.5px}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-total span{font-size:10px!important;color:#bed2e4!important}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-total>div:not(.invoice-grand-total) strong{font-size:12px!important;font-weight:450!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions{order:3;flex-basis:100%;font-size:10px;color:#bed2e4;margin-top:0}
html body #app.edition-cdc #page#page.sales-design .sales-conversions summary{cursor:pointer;width:max-content}
html body #app.edition-cdc #page#page.sales-design details.sales-conversions:not([open])>.v177-equivalents{display:none!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions[open]>.v177-equivalents{margin-top:8px}
html[data-theme=dark] body #app.edition-cdc #page#page.sales-design{--edition-soft:#172f44;--edition-surface:#13283b;--edition-ink:#e8eff7;--edition-muted:#a0b7cc;--edition-line:#2c4256;color:#e8eff7}
}
@media screen and (min-width:901px){
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item>label{font-size:0!important;gap:0!important}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-line-amount>span{display:none}
}
@media screen and (max-width:650px){
html body #app.edition-cdc #page#page.sales-design .sales-meta,html body #app.edition-cdc #page#page.sales-design .sales-columns{display:none}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-items{min-height:0!important}
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-total{flex-wrap:wrap!important;justify-content:space-between}
}
@media screen and (min-width:901px){
html body #app.edition-cdc #page#page.sales-design .v178-simple-item{grid-template-columns:28px minmax(180px,1fr) 85px 125px 105px 60px!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .invoice-row-number{grid-column:1!important;grid-row:1!important;position:static!important;align-self:center}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .v178-description{grid-column:2!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item>label:has([name=quantity]){grid-column:3!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .v178-unit-price{grid-column:4!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .invoice-line-amount{grid-column:5!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item>button{grid-column:6!important;grid-row:1!important;align-self:end}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .invoice-quantity-error{font-size:11px!important}
}
@media screen and (max-width:1000px){
html body #app.edition-cdc #page#page.sales-design :is(.v177-terms,.v177-customer){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #app.edition-cdc #page#page.sales-design .sales-section small{display:none}
}
@media screen and (max-width:650px){
html body #app.edition-cdc #page#page.sales-design{width:calc(100% - 24px)!important;padding-bottom:0!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading)::before{inset:0 -12px}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading){min-height:84px;padding:12px 0 22px!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading) h1{font-size:22px!important}
html body #app.edition-cdc #page#page.sales-design .v177-panel{padding:12px!important}
html body #app.edition-cdc #page#page.sales-design .v177-customer>label:nth-of-type(-n+2){grid-column:1/-1}
html body #app.edition-cdc #page#page.sales-design :is(.v177-terms,.v177-customer) :is(input:not([type=checkbox]),.v177-code){font-size:16px!important;min-height:42px!important;height:42px!important}
html body #app.edition-cdc #page#page.sales-design .v177-code button{min-height:40px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-items{max-height:none!important;min-height:0!important;overflow:visible!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item{display:grid!important;grid-template-columns:1fr 1fr 60px!important;padding:10px 0!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .v178-description{grid-column:1/3!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item>button{grid-column:3!important;grid-row:1!important;align-self:end}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item>label:has([name=quantity]){grid-column:1!important;grid-row:2!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .v178-unit-price{grid-column:2/4!important;grid-row:2!important}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .invoice-line-amount{grid-column:1/-1!important;grid-row:3!important;flex-direction:row;gap:8px;justify-content:flex-end}
html body #app.edition-cdc #page#page.sales-design .v178-simple-item .invoice-row-number{display:none!important}
html body #app.edition-cdc #page#page.sales-design .invoice-item :is(input:not([type=hidden]),.v178-product-trigger){font-size:16px!important;height:auto!important;min-height:42px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-item>label{font-size:11px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout{display:flex!important;flex-direction:column;align-items:stretch}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.actions{margin:0!important;width:100%!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout .actions button{min-height:44px!important;flex:1 1 auto}
html body #app.edition-cdc #page#page.sales-design .v177-checkout .actions .primary{flex-basis:100%}
}
@media screen{
html body:has(#page.sales-design) .app-version{display:none!important}
html body:has(#page.sales-design) .support-footer{font-size:10px!important;margin:8px!important}
html body #app.edition-cdc #page#page.sales-design .v177-customer>label{grid-column:auto!important}
html body #app.edition-cdc #page#page.sales-design .sales-section{grid-column:1/-1!important;grid-row:auto!important}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item .v178-product-trigger,
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item .v178-unit-price input:not([type=hidden]){background:transparent!important;border-color:transparent!important}
html body #app.edition-cdc #page#page.sales-design .invoice-total>div{justify-items:start!important;text-align:left!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-total{display:grid;gap:5px;flex:1;color:#fff}
html body #app.edition-cdc #page#page.sales-design .sales-order-total small{font-size:10px;color:#bed2e4}
html body #app.edition-cdc #page#page.sales-design .sales-order-total strong{font-size:28px;letter-spacing:-.5px}
html body #app.edition-cdc #page#page.sales-design .order-item-count{display:none}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v192-line-total output{font-size:13px;font-weight:650;text-align:right}
}
@media screen and (min-width:901px){
html body #app.edition-cdc #page#page.sales-design .sales-order-products :is(.sales-columns,.v178-simple-item){grid-template-columns:28px minmax(180px,1fr) 85px 75px 125px 105px 36px!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v178-simple-item .v192-tax{grid-column:4!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v178-simple-item .v178-unit-price{grid-column:5!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v178-simple-item .v192-line-total{grid-column:6!important;grid-row:1!important;align-self:center}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v178-simple-item>button{grid-column:7!important;grid-row:1!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v192-tax input{background:transparent!important;border:0!important;text-align:center;font-size:11px!important}
html body #app.edition-cdc #page#page.sales-design.v192-order .v177-customer{grid-template-columns:1fr 1.4fr .8fr 1fr 1fr!important}
}
@media screen and (max-width:900px){
html body #app.edition-cdc #page#page.sales-design .sales-columns{display:none}
}
@media screen and (max-width:650px){
html body #app.edition-cdc #page#page.sales-design .v177-customer>label:nth-of-type(-n+2){grid-column:1/-1!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v192-tax{grid-column:1!important;grid-row:3!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v192-line-total{grid-column:2/4!important;grid-row:3!important;text-align:right}
}
@media screen{
html body #app.edition-cdc #page#page.sales-design .v177-identity{display:flex!important;gap:0!important;border:1px solid var(--edition-line);border-radius:8px;background:var(--edition-soft);overflow:hidden}
html body #app.edition-cdc #page#page.sales-design .v177-identity input:not([type=hidden]){min-width:0;flex:1;width:0;border:0!important}
html body #app.edition-cdc #page#page.sales-design .v177-identity button{display:flex;align-items:center;justify-content:center;flex:none;width:40px!important;margin:0!important;border:0!important;border-left:1px solid var(--edition-line)!important;border-radius:0!important;background:transparent!important;color:var(--edition-ink)!important;padding:7px!important}
html body #app.edition-cdc #page#page.sales-design .v177-code button{align-items:center!important;justify-content:center!important;padding:7px!important;border-radius:0!important}
html body #app.edition-cdc #page#page.sales-design .sales-order-products .v192-line-total output{background:transparent!important;border:0!important}
}
@media screen and (min-width:1400px){
html body #app.edition-cdc #page#page.sales-design{max-width:1600px!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading){min-height:120px;padding:22px 0 30px!important}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading)::before{inset:0 calc((min(1600px,100vw - 48px) - 100vw)/2)}
html body #app.edition-cdc #page#page.sales-design>:is(.heading,.v177-heading) :is(h1,h2){font-size:32px!important}
html body #app.edition-cdc #page#page.sales-design .sales-eyebrow{font-size:12px!important}
html body #app.edition-cdc #page#page.sales-design .v177-panel{padding:16px 22px!important;margin-bottom:14px!important}
html body #app.edition-cdc #page#page.sales-design :is(.sales-section h2,.sale-products>h3,.order-detail>header h3){font-size:18px!important}
html body #app.edition-cdc #page#page.sales-design :is(.v177-terms,.v177-customer)>label{font-size:14px!important}
html body #app.edition-cdc #page#page.sales-design :is(.v177-terms,.v177-customer) :is(input:not([type=checkbox]):not([type=hidden]),.v177-code){font-size:15px!important;min-height:46px!important;height:46px!important}
html body #app.edition-cdc #page#page.sales-design .sales-section{margin-bottom:6px}
html body #app.edition-cdc #page#page.sales-design .sales-section small{font-size:12px}
html body #app.edition-cdc #page#page.sales-design .sales-columns{font-size:10px;padding-block:13px}
html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item{min-height:54px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-item :is(input:not([type=hidden]),.v178-product-trigger),html body #app.edition-cdc #page#page.sales-design .invoice-line-total{font-size:15px!important}
html body #app.edition-cdc #page#page.sales-design .invoice-add button{min-height:44px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout button{font-size:14px!important;min-height:48px!important}
}

/* 1.0.278: total 25% smaller; exchange equivalents always visible. */
@media screen{
html body #app.edition-cdc #page#page.sales-design .v106-inline-invoice .v177-checkout .invoice-grand-total strong,
html body #app.edition-cdc #page#page.sales-design .sales-order-total strong{font-size:21px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px 20px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.invoice-total,
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.sales-order-total{grid-column:1!important;grid-row:1!important;min-width:0!important;width:auto!important;flex:none!important;order:0!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible{grid-column:2!important;grid-row:1!important;order:1!important;min-width:0!important;width:auto!important;margin:0!important;flex-basis:auto!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.actions{grid-column:3!important;grid-row:1!important;order:2!important;width:auto!important;margin:0!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>:is(.error,.muted){grid-column:1/-1!important;grid-row:auto!important;order:3!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible>.v177-equivalents{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px 12px!important;margin:0!important;min-width:0!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible .v177-equivalents>div{min-width:0!important;max-width:100%;flex-shrink:1!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible .v177-equivalents strong{font-size:14px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible .v177-equivalents small{font-size:10px!important;white-space:normal!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible button.sale-rate-action{font-size:11px!important;min-height:34px!important;padding:6px 9px!important;white-space:normal!important}
}
@media screen and (max-width:1149px){
html body #app.edition-cdc #page#page.sales-design .v177-checkout{grid-template-columns:minmax(0,1fr) auto!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.actions{grid-column:2!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible{grid-column:1/-1!important;grid-row:2!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible>.v177-equivalents{justify-content:flex-start!important}
}
@media screen and (max-width:650px){
html body #app.edition-cdc #page#page.sales-design .v177-checkout{display:flex!important;flex-direction:column!important;align-items:stretch!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible>.v177-equivalents{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible .v177-equivalents>div{padding:0!important;border:0!important}
html body #app.edition-cdc #page#page.sales-design .sales-conversions-visible button.sale-rate-action{grid-column:1/-1;min-height:44px!important}
html body #app.edition-cdc #page#page.sales-design .v177-checkout>.actions{width:100%!important}
}

/* Approved two-row sales layout. Screen only; native controls and printing remain intact. */
@media screen{
html body #app.edition-cdc #page#page.sales-compact{max-width:none!important;padding:0 24px 8px!important}
html body #app.edition-cdc #page#page.sales-compact>.v177-heading{min-height:64px!important;height:64px!important;padding:9px 0!important;margin-bottom:10px!important;align-items:center!important}
html body #app.edition-cdc #page#page.sales-compact>.v177-heading::before{inset:0 -24px!important}
html body #app.edition-cdc #page#page.sales-compact>.v177-heading h1{font-size:23px!important;line-height:1.15!important}
html body #app.edition-cdc #page#page.sales-compact .sales-eyebrow{font-size:9px!important;margin-bottom:4px!important}
html body #app.edition-cdc #page#page.sales-compact .sales-meta{font-size:10px!important;gap:3px!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer){padding:8px 14px!important;margin:0!important;gap:12px!important;min-height:52px!important;box-shadow:none!important}
html body #app.edition-cdc #page#page.sales-compact .v177-terms{border-radius:14px 14px 0 0!important;border-bottom:0!important;grid-template-columns:minmax(260px,1.8fr) minmax(180px,1fr) minmax(155px,.85fr) minmax(180px,1fr)!important}
html body #app.edition-cdc #page#page.sales-compact .v177-customer{border-radius:0 0 14px 14px!important;border-top:0!important;margin-bottom:10px!important;grid-template-columns:minmax(220px,1fr) minmax(260px,2.3fr) auto auto!important;align-items:center!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer)>.sales-section{display:none!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer)>label{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;min-width:0!important;font-size:12px!important;grid-column:auto!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer)>label[hidden]{display:none!important}
html body #app.edition-cdc #page#page.sales-compact .compact-label{flex:none;font-size:12px;font-weight:550;white-space:nowrap}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer) :is(.v177-code,.v177-identity,input:not([type=hidden])){height:36px!important;min-height:36px!important;font-size:13px!important;min-width:0!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer)>label>:is(.v177-code,.v177-identity,input){flex:1;width:0!important}
html body #app.edition-cdc #page#page.sales-compact .v177-code button{width:32px!important;min-width:32px!important}
html body #app.edition-cdc #page#page.sales-compact .compact-operation{font-size:11px;border-radius:5px;background:#e8f6f0;color:#20705c;padding:5px 8px;white-space:nowrap;grid-column:3!important}
html body #app.edition-cdc #page#page.sales-compact .compact-client-extra{grid-column:4!important;grid-row:1!important;font-size:11px}
html body #app.edition-cdc #page#page.sales-compact .sales-address{margin:0!important}
html body #app.edition-cdc #page#page.sales-compact .sales-address[open]{position:relative;z-index:2}
html body #app.edition-cdc #page#page.sales-compact .sales-address[open] .invoice-client-address{position:absolute;right:0;top:25px;width:360px;max-width:80vw;padding:12px;background:var(--edition-card,#fff);border:1px solid var(--edition-line);border-radius:10px;box-shadow:0 8px 22px #08203222}
html body #app.edition-cdc #page#page.sales-compact .v177-credit{grid-column:1/-1!important}
html body #app.edition-cdc #page#page.sales-compact .sales-products{padding:0 14px 8px!important;margin-bottom:10px!important;min-height:0!important}
html body #app.edition-cdc #page#page.sales-compact :is(.sale-products>h3,.order-detail>header){min-height:40px!important;margin:0!important;padding:10px 0!important;font-size:16px!important}
html body #app.edition-cdc #page#page.sales-compact :is(.sale-products>h3,.order-detail>header h3) .sales-step{display:none!important}
html body #app.edition-cdc #page#page.sales-compact .sales-columns{padding-block:8px!important;font-size:10px!important}
html body #app.edition-cdc #page#page.sales-compact .invoice-items{min-height:0!important}
html body #app.edition-cdc #page#page.sales-compact .sales-products .invoice-item{min-height:36px!important;padding-block:2px!important}
html body #app.edition-cdc #page#page.sales-compact .invoice-item :is(input:not([type=hidden]),.v178-product-trigger){font-size:13px!important;min-height:30px!important;height:30px!important;padding-block:4px!important}
html body #app.edition-cdc #page#page.sales-compact .invoice-add{margin-top:8px!important}
html body #app.edition-cdc #page#page.sales-compact .invoice-add button{min-height:32px!important;font-size:12px!important;padding:6px!important}
html body #app.edition-cdc #page#page.sales-compact .v177-checkout{padding:10px 16px!important;gap:12px!important;min-height:66px!important;margin:0!important}
html body #app.edition-cdc #page#page.sales-compact .v177-checkout button{font-size:12px!important;min-height:38px!important;padding:9px 12px!important}
html body #app.edition-cdc #page#page.sales-compact .compact-kind{display:flex;align-items:center;gap:8px;font-size:11px;margin-left:auto;width:250px;max-width:50%}
html body #app.edition-cdc #page#page.sales-compact .compact-kind .v177-code{min-width:0;flex:1}
html body #app.edition-cdc #page#page.sales-compact .export-panel[hidden]{display:none!important}
html[data-theme=dark] body #app.edition-cdc #page#page.sales-compact .compact-operation{background:#173e38;color:#8be1c4}
}
@media screen and (max-width:1050px){
html body #app.edition-cdc #page#page.sales-compact{padding-inline:14px!important}
html body #app.edition-cdc #page#page.sales-compact>.v177-heading::before{inset:0 -14px!important}
html body #app.edition-cdc #page#page.sales-compact .v177-terms{grid-template-columns:1.5fr 1fr!important}
html body #app.edition-cdc #page#page.sales-compact .v177-customer{grid-template-columns:1fr 1.8fr!important}
html body #app.edition-cdc #page#page.sales-compact .compact-operation{grid-column:1!important}
html body #app.edition-cdc #page#page.sales-compact .compact-client-extra{grid-column:2!important;grid-row:auto!important}
}
@media screen and (max-width:650px){
html body #app.edition-cdc #page#page.sales-compact .v177-customer{grid-template-columns:1fr!important}
html body #app.edition-cdc #page#page.sales-compact .v177-customer>label{grid-column:1/-1!important}
html body #app.edition-cdc #page#page.sales-compact .v177-terms>label{display:block!important}
html body #app.edition-cdc #page#page.sales-compact .v177-terms>label:first-of-type{grid-column:1/-1!important}
html body #app.edition-cdc #page#page.sales-compact .v177-terms>label>.v177-code{width:100%!important;margin-top:4px}
html body #app.edition-cdc #page#page.sales-compact .compact-client-extra{grid-column:1!important}
html body #app.edition-cdc #page#page.sales-compact .sales-meta{display:none!important}
html body #app.edition-cdc #page#page.sales-compact .invoice-item :is(input:not([type=hidden]),.v178-product-trigger){min-height:38px!important;height:auto!important}
}

/* Products use the available desktop height; mobile keeps natural page scrolling. */
@media screen and (min-width:1051px){
html body #app.edition-cdc #page#page.v177-workspace.sales-design{max-width:none!important}
html body #app.edition-cdc #page#page.sales-design.sales-compact .sales-products .invoice-items,
html body #app.edition-cdc #page#page.v177-workspace.sales-design .v177-credit-products .related-items{
 min-height:max(220px,calc(100dvh - 520px))!important;
 max-height:max(220px,calc(100dvh - 520px))!important;
 overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;scroll-padding-block:8px;
}
}

/* Match the receipt workspace dimensions, retaining the approved sales design. */
@media screen{
html body #app.edition-cdc #page#page.v177-workspace.sales-design{width:calc(100% - 48px)!important;max-width:1480px!important;padding:0!important;margin:0 auto!important}
html body #app.edition-cdc #page#page.v177-workspace.sales-design>.v177-heading{height:88px!important;min-height:88px!important;padding:10px 0 24px!important;margin:0!important;position:relative}
html body #app.edition-cdc #page#page.v177-workspace.sales-design>.v177-heading::before{inset:0 calc((100% - 100vw)/2)!important}
html body #app.edition-cdc #page#page.v177-workspace.sales-design>.v177-heading h1{font-size:26px!important}
html body #app.edition-cdc #page#page.v177-workspace.sales-design .v177-terms,
html body #app.edition-cdc #page#page.v177-workspace.sales-design>.v177-document-type{position:relative;z-index:1;margin-top:-10px!important}
}
@media screen and (min-width:1051px){
html body #app.edition-cdc #page#page.v177-workspace.sales-design .sales-products .invoice-items,
html body #app.edition-cdc #page#page.v177-workspace.sales-design .v177-credit-products .related-items{
min-height:clamp(220px,calc(100dvh - 520px),360px)!important;max-height:clamp(220px,calc(100dvh - 520px),360px)!important;
}
}
@media screen and (max-width:650px){
html body #app.edition-cdc #page#page.v177-workspace.sales-design{width:calc(100% - 24px)!important}
html body #app.edition-cdc #page#page.v177-workspace.sales-design>.v177-heading h1{font-size:22px!important}
}

/* Direct credit entry hides the document selector: overlap the visible client panel. */
@media screen{
html body #app.edition-cdc #page#page.sales-design:not(.sales-compact):has(>.v177-document-type[hidden]) .v177-form .v177-customer{position:relative;z-index:1;margin-top:-10px!important}
/* Include the existing receipt layout in both distributions. */

.receipt-page-heading{display:flex;align-items:center;gap:12px;max-width:1550px;margin:0 auto 10px}
.receipt-page-heading h1{margin:0}
.receipt-workspace .receipt-client-row>label{grid-column:auto!important}
.receipt-workspace .receipt-client-row>label input{width:100%}
#app.v177-shell #page .receipt-workspace{max-width:1550px;margin:0 auto;padding-bottom:16px}
.receipt-workspace>.fields{display:flex;flex-direction:column;gap:10px}
.receipt-workspace .receipt-client-row,.receipt-workspace .receipt-details{display:grid;grid-template-columns:1fr 2fr;gap:16px;border:1px solid #c8d8e6;background:var(--panel,#fff);border-radius:10px;padding:12px}
.receipt-workspace .receipt-details{grid-template-columns:repeat(4,minmax(0,1fr))}
.receipt-workspace .receipt-client-row label{display:flex;flex-direction:column;gap:4px}
.receipt-workspace .receipt-client-control{display:flex;gap:8px}
.receipt-workspace .receipt-client-control input{flex:1;min-width:0}
.receipt-workspace .receipt-client-control button{flex:none}
.receipt-workspace .receipt-invoice-picker{border:1px solid #c8d8e6;border-radius:10px;background:var(--panel,#fff);padding:12px;overflow:auto;min-height:220px}
.receipt-workspace .receipt-invoice-picker table{width:100%;font-size:13px}
.receipt-workspace .receipt-invoice-picker th,.receipt-workspace .receipt-invoice-picker td{padding:8px;text-align:left;vertical-align:middle}
.receipt-workspace .receipt-invoice-picker small{display:block}
.receipt-workspace .receipt-invoice-picker input[data-invoice]{width:125px;text-align:right}
.receipt-workspace .receipt-invoice-picker tr[hidden],.receipt-workspace .receipt-invoice-picker table[hidden]{display:none!important}
.receipt-workspace .receipt-invoice-picker .credit-invoice-trigger{margin-bottom:12px}
.receipt-workspace .receipt-retentions,.receipt-workspace .receipt-advances{background:var(--panel,#fff);border:1px solid #c8d8e6;border-radius:8px;padding:10px}
.receipt-workspace>.actions{display:flex;align-items:center;justify-content:flex-end;background:#3B505B;color:white;padding:12px;border-radius:9px;gap:10px;flex-wrap:wrap}
.receipt-workspace>.actions .invoice-total{margin:0 auto 0 0;color:white;font-size:14px;max-width:65%}
.receipt-finder .receipt-finder-list{display:flex;flex-direction:column;gap:6px}
.receipt-finder-list>button{display:flex;justify-content:space-between;gap:16px;font:inherit;text-align:left}
.receipt-finder footer{display:flex;justify-content:space-between;gap:8px;margin-top:12px}
@media(max-width:700px){.receipt-workspace .receipt-client-row,.receipt-workspace .receipt-details{grid-template-columns:1fr}.receipt-workspace>.actions .invoice-total{max-width:100%;width:100%}.receipt-finder-list>button{flex-direction:column;gap:4px}}

/* SYNGPRO RECEIPT WORKSPACE 2 */
#app.v177-shell #page .receipt-workspace .receipt-origin{padding:10px 12px;border:1px solid #c8d8e6;background:var(--panel,#fff);border-radius:10px}
.receipt-workspace .receipt-origin>label{display:block;font-weight:600}
.receipt-workspace .receipt-origin .credit-invoice-trigger{max-width:1000px;margin-top:4px}
.receipt-workspace .receipt-origin input{font-weight:400}
.receipt-workspace .receipt-client-control>button,.receipt-workspace .receipt-origin button{background:#0866ed;color:#fff;border-color:#0866ed;width:40px;min-width:40px;padding:0;font-size:24px}
.receipt-workspace .receipt-origin button:disabled{opacity:.55}
.receipt-workspace .receipt-client-control>button,.receipt-workspace .receipt-origin button{position:relative;font-size:0!important}
.receipt-workspace .receipt-client-control>button::before,.receipt-workspace .receipt-origin button::before{content:'';display:block;width:12px;height:12px;border:2px solid currentColor;border-radius:50%;position:absolute;left:13px;top:8px;box-sizing:border-box}
.receipt-workspace .receipt-client-control>button::after,.receipt-workspace .receipt-origin button::after{content:'';position:absolute;width:8px;height:2px;background:currentColor;left:9px;top:22px;transform:rotate(-50deg);transform-origin:right center}
.receipt-workspace .receipt-detail-heading{padding:10px 12px;background:#eaf2ff;color:#0064df;font-size:13px;font-weight:600;border:1px solid #c8d8e6;border-radius:10px 10px 0 0;margin-bottom:-10px}
.receipt-workspace .receipt-invoice-picker{border-top:0;border-radius:0 0 10px 10px;min-height:300px}
dialog.receipt-finder .credit-picker-row{font-size:14px;font-family:inherit;font-weight:400}
dialog.receipt-finder .credit-picker-row strong{font:inherit!important}
dialog.receipt-finder .credit-picker-row.primary{font-weight:600;background:#0866ed;color:white;border-color:#0866ed}
dialog.receipt-finder .credit-picker-row small{display:block;font-weight:400;font-size:12px;margin-top:4px}
dialog.receipt-finder .credit-picker-pager{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:8px}
dialog.receipt-finder .credit-picker-pager p{margin:0;font-size:12px}
dialog.receipt-finder .actions{margin-top:12px}
html[data-theme=dark] .receipt-workspace .receipt-detail-heading{background:#203b52;color:#d1e6ff}

/* SYNGPRO RECEIPT CURRENCY 1 */
.receipt-workspace .receipt-status:empty{display:none!important}
.receipt-workspace .receipt-status{margin:0;padding:0;font-size:13px}

/* SYNGPRO RECEIPT DRAFTS 1 */
#app #page form.receipt-workspace>.actions.receipt-checkout{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;background:#3B505B!important;color:#fff!important;padding:14px 16px!important;border-radius:10px!important;position:relative!important;bottom:auto!important;width:100%!important;box-sizing:border-box!important}
#app #page .receipt-checkout .receipt-summary{display:flex!important;align-items:center;flex-wrap:wrap;gap:18px;margin:0 auto 0 0!important;color:#fff!important;visibility:visible!important}
#app #page .receipt-summary>div{display:flex;flex-direction:column;gap:4px;padding-right:18px;border-right:1px solid #7693a3}
#app #page .receipt-summary>div:last-child{border:0}
#app #page .receipt-summary span{font-size:12px;color:#e0eaf0}
#app #page .receipt-summary strong{font-size:22px;line-height:1.2;color:#fff}
#app #page .receipt-checkout>button{margin:0;min-height:40px;background:#344b57;border:1px solid #55707d;color:white;font-weight:600}
#app #page .receipt-checkout>button.primary{background:#0063df;border-color:#0063df}
.receipt-draft-row{display:flex;gap:8px;margin:6px 0}.receipt-draft-row>button:first-child{flex:1;text-align:left}
@media(max-width:700px){#app #page .receipt-checkout .receipt-summary{width:100%;gap:10px}#app #page .receipt-checkout>button{flex:1}.receipt-draft-row{flex-wrap:wrap}}


html body #app.edition-cdc #page#page.receipt-design .receipt-workspace{max-width:none;margin:0;padding:0}
html body #app.edition-cdc #page#page.receipt-design .receipt-client-row{position:relative;z-index:1;margin-top:-10px!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;background:var(--edition-surface,#fff);border-color:var(--edition-line);border-radius:16px}
html body #app.edition-cdc #page#page.receipt-design .receipt-details{background:var(--edition-surface,#fff);border-color:var(--edition-line)}
html body #app.edition-cdc #page#page.receipt-design .receipt-workspace label{min-width:0}
html body #app.edition-cdc #page#page.receipt-design .receipt-checkout{background:linear-gradient(110deg,#0b1f33,#14334b)!important}
html body #app.edition-cdc #page#page.receipt-design .receipt-checkout>button.primary{background:#f5cc49!important;border-color:#f5cc49!important;color:#0b1f33!important}
}
@media screen and (max-width:700px){
html body #app.edition-cdc #page#page.receipt-design .receipt-client-row{grid-template-columns:minmax(0,1fr)!important}
}

@media screen{
html body #app.edition-cdc #page#page.receipt-design .credit-invoice-trigger{display:flex;gap:8px;align-items:center;width:100%}
html body #app.edition-cdc #page#page.receipt-design .credit-invoice-trigger>input{flex:1;min-width:0}
html body #app.edition-cdc #page#page.receipt-design .credit-invoice-trigger>button{flex:none;width:40px;height:40px}
dialog.receipt-money-dialog{padding:0 20px 20px!important;background:var(--edition-soft,#f4f7fb)}
dialog.receipt-money-dialog>header{margin:0 -20px!important;padding:20px 20px 30px!important;background:linear-gradient(110deg,#071824,#102c46 65%,#204c77);color:white}
dialog.receipt-money-dialog>header h2{color:white!important}
dialog.receipt-money-dialog>form{position:relative;z-index:1;margin-top:-10px!important;padding:16px;background:var(--edition-surface,#fff);border:1px solid var(--edition-line,#dae5f0);border-radius:16px}
}

/* Compact sales controls share one vertical center, including nested RUC input. */
@media screen{
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer) input:not([type=hidden]){padding-block:0!important;line-height:normal!important;margin-block:0!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer) :is(.v177-code,.v177-identity){align-items:center!important}
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer) :is(.v177-code,.v177-identity)>input:not([type=hidden]),
html body #app.edition-cdc #page#page.sales-compact :is(.v177-terms,.v177-customer) :is(.v177-code,.v177-identity)>button{height:100%!important;min-height:0!important;margin-block:0!important}
html body #app.edition-cdc #page#page.sales-compact .compact-label{line-height:20px}
}
/* Facturaciones V1–V3. Inicio y carga de facturas y pedidos. */
@media screen and (min-width: 1000px) {
  #app.edition-cdc:not(.v0-shell) {
    --workspace-width: clamp(1400px, 86vw, 2200px);
    --dock-gap: max(14px, env(safe-area-inset-bottom));
  }
  html body #app.edition-cdc:not(.v0-shell) #page.v1-reference-home {
    --v1-width: var(--workspace-width);
  }
  html body #app.edition-cdc:not(.v0-shell) #page.home-refined:not(.v1-reference-home) {
    width: min(var(--workspace-width), calc(100% - 48px)) !important;
    max-width: var(--workspace-width) !important;
  }
  html body #app.edition-cdc:not(.v0-shell) .home-refined .edition-welcome h1,
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact > .v177-heading h1 {
    font-size: clamp(22px, 1.75vw, 32px) !important;
  }
  html body #app.edition-cdc:not(.v0-shell) .v1-reference-home .billing-support {
    margin-inline-start: max(24px, calc((100% - var(--workspace-width)) / 2));
  }
  html body #app.edition-cdc:not(.v0-shell):has(#page.v1-reference-home) .connected-top,
  html body #app.edition-cdc:not(.v0-shell) .v1-reference-home .edition-welcome {
    padding-inline: max(24px, calc((100% - var(--workspace-width)) / 2)) !important;
  }
  html body #app.edition-cdc:not(.v0-shell):has(#page.home-refined) .connected-bottom,
  html body #app.edition-cdc:not(.v0-shell):has(#page.sales-compact .sales-products) .connected-bottom {
    position: fixed !important;
    inset: auto auto var(--dock-gap) 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.sales-compact:has(.sales-products) {
    display: flex !important;
    flex-direction: column;
    max-width: var(--workspace-width) !important;
    height: calc(100dvh - 78px - var(--dock-gap)) !important;
    min-height: min-content !important;
    margin-bottom: calc(78px + var(--dock-gap)) !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact:has(.sales-products) > .v177-heading {
    flex: none;
    height: clamp(64px, 10dvh, 96px) !important;
    min-height: 0 !important;
    padding-block: 6px 14px !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact:has(.sales-products) :is(div:has(> .v177-form), .v177-form, .v177-fields, .sales-products):not([hidden]) {
    display: flex !important;
    flex-direction: column;
    flex: 1 0 auto !important;
    min-height: min-content !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .sales-products .invoice-items {
    flex: 1 1 0px !important;
    height: 0 !important;
    min-height: 54px !important;
    max-height: none !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .v177-fields > :not(.sales-products),
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .sales-products > :not(.invoice-items) {
    flex: none;
  }
}
@media screen and (min-width: 1000px) and (max-width: 1050px) {
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .v177-terms {
    grid-template-columns: 1.6fr 1fr .9fr 1fr !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .v177-customer {
    grid-template-columns: 1fr 1.5fr auto auto !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .compact-operation { grid-column: 3 !important; }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .compact-client-extra { grid-column: 4 !important; grid-row: 1 !important; }
}
@media screen and (min-width: 1000px) and (max-height: 660px) {
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .sales-products > :is(header, h3) {
    min-height: 32px !important;
    padding-block: 4px !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .sales-products .sales-columns { padding-block: 4px !important; }
}
@media screen and (max-width: 999px) {
  html body #app.edition-cdc:not(.v0-shell):has(#page.sales-compact .sales-products) .connected-bottom {
    position: fixed !important;
    inset: auto auto max(10px, env(safe-area-inset-bottom)) 50% !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact:has(.sales-products) {
    padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }
}

/* Hoja de carga para Facturaciones V1, V2 y V3. */
@media screen {
  html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-design:is(:has(.sales-products), :has(.v177-credit-products), .receipt-design) {
    --sheet-mast: clamp(42px, 6.5dvh, 68px);
    --sheet-pad: clamp(12px, 1.3vw, 24px);
    --sheet-paper: var(--surface, #fff);
    --sheet-ink: var(--text, #102b41);
    --sheet-edge: var(--border, #d7e2ec);
    --sheet-blue: linear-gradient(110deg, #081825, #102b44 58%, #204971);
    isolation: isolate;
    row-gap: 0 !important;
    max-width: var(--workspace-width, 1600px) !important;

    & > .v177-heading {
      display: grid !important;
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-rows: var(--sheet-mast) auto;
      align-items: center !important;
      column-gap: 10px !important;
      row-gap: 0 !important;
      flex: none !important;
      height: auto !important;
      min-height: 0 !important;
      padding: 0 var(--sheet-pad) 8px !important;
      margin: 0 !important;
      position: relative;
      isolation: isolate;
      border: 0 !important;
      background: transparent !important;
    }
    & > .v177-heading::before {
      content: '';
      position: absolute;
      inset: 0 calc((100% - 100vw) / 2) auto !important;
      height: clamp(155px, 23dvh, 275px);
      background: var(--sheet-blue) !important;
      z-index: -2;
      pointer-events: none;
    }
    & > .v177-heading::after {
      content: '';
      position: absolute;
      inset: var(--sheet-mast) 0 0;
      background: var(--sheet-paper);
      border: 1px solid var(--sheet-edge);
      border-bottom: 0;
      border-radius: 16px 16px 0 0;
      z-index: -1;
      pointer-events: none;
    }
    & .sales-eyebrow {
      display: flex !important;
      position: static !important;
      align-items: center;
      gap: clamp(6px, 1vw, 16px);
      grid-area: 1 / 1 / 2 / 3;
      align-self: center;
      margin: 0 !important;
      padding: 0 !important;
      line-height: 1.3;
      letter-spacing: .085em;
      color: #ffda66 !important;
    }
    & .sales-eyebrow::before {
      content: '';
      width: clamp(62px, 8vw, 110px);
      height: clamp(20px, 3vw, 34px);
      flex: none;
      background: url('/logo-facturaciones.svg') center / contain no-repeat;
    }
    & .sales-meta {
      grid-area: 1 / 3;
      position: static !important;
      font-size: clamp(10px, .8vw, 12px) !important;
      margin: 0 !important;
      min-width: 0;
    }
    & > .v177-heading > button, & > .v177-heading > h1 {
      grid-row: 2;
      margin: 12px 0 0 !important;
      color: var(--sheet-ink) !important;
      position: static !important;
    }
    & > .v177-heading > button {
      grid-column: 1;
      border: 1px solid var(--sheet-edge) !important;
      background: transparent !important;
    }
    & > .v177-heading > h1 {
      grid-column: 2 / -1;
      line-height: 1.18;
    }
    & > .v177-heading > .muted { grid-column: 2 / -1; color: var(--sheet-ink) !important; }
    & > div:has(.v177-form), & .v177-form, & .receipt-workspace,
    & > .v177-document-type, & .v177-fields, & .receipt-workspace > .fields {
      background: var(--sheet-paper) !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      margin-block: 0 !important;
    }
    & > div:has(.v177-form), & > .v177-form, & > .receipt-workspace {
      position: relative;
      border-radius: 0 0 16px 16px !important;
    }
    & .v177-fields { gap: 0 !important; }
    & .v177-panel:not(.v177-checkout,.v194-quote-extras), & .receipt-workspace > .fields {
      margin: 0 !important;
      background: var(--sheet-paper) !important;
      box-shadow: none !important;
      border: 0 !important;
      border-inline: 1px solid var(--sheet-edge) !important;
      border-radius: 0 !important;
      padding-inline: var(--sheet-pad) !important;
    }
    & :is(.sales-products, .v177-credit-products).v177-panel { border-top: 1px solid var(--sheet-edge) !important; }
    & :is(.v177-checkout.v177-panel, .receipt-workspace > .receipt-checkout.actions) {
      margin: 0 !important;
      border: 0 !important;
      border-radius: 0 0 16px 16px !important;
      background: linear-gradient(110deg, #0b2032, #15354d) !important;
      color: white !important;
      padding-inline: var(--sheet-pad) !important;
    }
    & :is(.v177-checkout, .receipt-checkout) button.primary {
      background: #f6c849 !important;
      color: #102536 !important;
      border-color: #f6c849 !important;
    }
    & .receipt-workspace .receipt-client-row {
      margin-top: 0 !important;
      border-radius: 0 !important;
      border: 0 !important;
    }
    & .receipt-workspace .receipt-details {
      border: 0 !important;
      border-top: 1px solid var(--sheet-edge) !important;
      border-radius: 0 !important;
    }
    @media (min-width: 1000px) {
      &:has(.v177-credit-products) .related-items {
        height: clamp(80px, calc(100dvh - 530px), 600px) !important;
        min-height: 0 !important;
        overflow-y: auto !important;
      }
      &:has(.v177-credit-products) { padding-bottom: 92px !important; }
      &.receipt-design {
        display: flex !important;
        flex-direction: column;
        height: calc(100dvh - 92px) !important;
        min-height: 0 !important;
        margin-bottom: 92px !important;
      }
      & .receipt-workspace {
        flex: 1 1 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
      }
      & .receipt-workspace > .fields {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        scrollbar-gutter: stable;
      }
      & .receipt-workspace .receipt-invoice-picker {
        min-height: clamp(62px, 15dvh, 250px) !important;
        flex-shrink: 0;
      }
      & .receipt-workspace > .receipt-checkout { flex: none; }
    }
  }
  @media (min-width: 1000px) {
    html body #app.edition-cdc:not(.v0-shell):is(:has(#page.receipt-design), :has(#page .v177-credit-products)) .connected-bottom {
      position: fixed !important;
      inset: auto auto max(10px, env(safe-area-inset-bottom)) 50% !important;
      margin: 0 !important;
      transform: translateX(-50%) !important;
    }
  }
  body:has(#app.edition-cdc:not(.v0-shell) .processed-notes-page) #dialog[open]:has(> header + p + p):has(> p.error + .actions > button.primary:first-child + button:last-child) {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    & > header, & > p, & > label { flex-basis: 100%; }
    & > header + p, & > .actions {
      order: 1;
      margin: 0;
      padding: 12px;
      background: #102b44;
      color: white;
      display: flex;
      align-items: center;
    }
    & > header + p { flex: 1 1 160px; border-radius: 9px 0 0 9px; }
    & > .actions { flex: 1 1 auto; flex-wrap: wrap; border-radius: 0 9px 9px 0; }
    & > .actions > .primary { background: #f6c849 !important; color: #102536 !important; border-color: #f6c849 !important; }
  }
}

/* Mantener recta la unión del campo con la lupa cuando se usa el teclado. */
html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace :is(.v177-code,.v177-identity) > input:not([type=checkbox]):not([type=hidden]) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace :is(.v177-code,.v177-identity) > input:focus-visible {
    outline-offset: -2px !important;
}

/* Gestión > Compras */
#app.edition-cdc:not(.v0-shell):has(#page.approved-purchases) {
  background: linear-gradient(to bottom, #10283d 0 9rem, transparent 9rem) no-repeat, var(--billing-page, #f4f6f8) !important;
}
#app.edition-cdc:not(.v0-shell) #page.approved-purchases {
  box-sizing: border-box;
  width: min(1480px, calc(100% - 32px)) !important;
  max-width: none !important;
  margin: 16px auto 100px !important;
  padding: clamp(14px, 1.5vw, 24px) !important;
  background: var(--billing-panel, white) !important;
  border: 1px solid var(--billing-line, #d7e3ed) !important;
  border-radius: 16px !important;
  align-self: start;
  min-width: 0;
  & .management-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "back title company" "actions actions actions";
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
  }
  & .management-heading > button {grid-area: back;}
  & .management-heading h1 {grid-area: title; margin: 0;}
  & .purchase-company {grid-area: company; font-size: .8rem; font-weight: 650; overflow-wrap: anywhere;}
  & .management-actions {grid-area: actions; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px;}
  & .management-search {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(112px, 145px)) auto;
    align-items: end;
    gap: 8px;
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--billing-line, #d7e3ed);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  & .management-search label, & .management-search input, & .management-search select {min-width: 0; width: 100%; box-sizing: border-box;}
  & .approved-summary {display: flex; flex-wrap: wrap; gap: 6px 0; margin: 12px 0; align-items: baseline;}
  & .approved-summary > div {display: flex; align-items: baseline; gap: 6px; margin: 0; min-height: 0; padding: 0 14px 0 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;}
  & .approved-summary > div {flex: 0 0 auto !important;}
  & .approved-summary > div + div {padding-left: 14px; border-left: 1px solid var(--billing-line, #d7e3ed);}
  & .approved-summary > div :is(span,strong) {margin: 0; font-size: .9rem; line-height: 1.4;}
  & .table-wrap {margin: 0; max-width: 100%; overflow-x: auto; border-radius: 10px;}
  & .table-wrap :is(th,td) {padding: 5px 10px !important; height: auto !important; line-height: 1.3;}
  & .table-wrap td small {display: block; margin: 1px 0 0;}
  & .table-wrap .actions {margin: 0 !important; padding: 0; flex-wrap: nowrap; gap: 5px; justify-content: flex-end;}
  & .table-wrap .actions button {min-height: 30px; height: 30px; padding: 3px 8px; min-width: 32px;}
  & .table-wrap th button {margin: 0; min-height: 32px; padding: 3px;}
  & .table-wrap input[type="checkbox"] {width: 16px; height: 16px; min-height: 0; margin: 0;}
  @media (max-width: 830px) {
    & .management-search {grid-template-columns: repeat(4, minmax(0, 1fr));}
    & .management-search-field {grid-column: 1 / -1;}
  }
  @media (max-width: 560px) {
    width: calc(100% - 16px) !important;
    & .management-search {grid-template-columns: repeat(2, minmax(0, 1fr));}
    & .management-heading {grid-template-columns: auto 1fr; grid-template-areas: "back title" "company company" "actions actions";}
    & .management-heading h1 {font-size: 1.4rem;}
  }
}

/* Purchase entry uses the same compact document layout in create and edit. */
#app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-inline-workspace {
  min-width: 0;
  color: var(--edition-ink, #082032);
}
#app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-title {
  margin: 0 0 10px;
  flex-wrap: wrap;
}
#app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-title h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}
#app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-document-title {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1rem;
}
#app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-checkout .primary {
  background: var(--edition-gold, #e7b94b);
  border-color: var(--edition-gold, #e7b94b);
  color: #082032;
}
@media (max-width: 600px) {
  #app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-checkout .actions {
    flex-wrap: wrap;
  }
}

/* Compras uses the document sheet layout from Emitir comprobantes. */
#app.edition-cdc:not(.v0-shell):has(.purchase-sheet) {
  background: linear-gradient(105deg,#0a1a26,#1c4164) top / 100% 225px no-repeat, #f2f6fa;
}
#app.edition-cdc:not(.v0-shell) #page.purchase-page:has(.purchase-sheet) {
  width: min(96%, 2200px);
  margin-inline: auto;
  background: transparent;
  padding: 0 0 14px;
}
.purchase-sheet-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding-inline: 16px;
  color: #f7ca46;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.purchase-sheet-brand .product-brand {width: 116px; height: 36px; flex: 0 0 116px;}
#page.purchase-page .purchase-sheet {
  display: flex;
  flex-direction: column;
  min-height: max(460px, calc(100dvh - 145px));
  gap: 0;
  padding: 0;
  border: 1px solid #d4e0eb;
  border-radius: 14px;
  background: #fff;
}
#app.edition-cdc:not(.v0-shell) #page.purchase-page .purchase-sheet .purchase-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px 8px;
}
.purchase-sheet .purchase-title > button:first-child {min-width: 34px;}
.purchase-sheet .purchase-title > button:last-child:not(:first-child) {margin-inline-start: auto;}
#page.purchase-page .purchase-sheet > .purchase-panel {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#page.purchase-page .purchase-sheet > .reference-document-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px 12px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #d4e0eb;
}
.purchase-sheet .purchase-sheet-supplier {grid-column: span 2;}
.purchase-sheet .reference-document-grid label {min-width: 0;}
.purchase-sheet .reference-document-grid :is(input,select,.purchase-code) {
  max-width: 100%;
  background-color: #f2f6fa;
}
#page.purchase-page .purchase-sheet .purchase-detail {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 16px 8px;
  min-height: 175px;
}
.purchase-sheet .purchase-detail > header {display:flex; align-items:center; justify-content:flex-start; gap:10px; margin:0 0 8px;}
.purchase-sheet .purchase-detail h2 {margin:0; font-size:1.1rem;}
.purchase-sheet .reference-purchase-lines {display:flex; flex:1; flex-direction:column; min-width:0; min-height:0;}
.purchase-sheet .purchase-sheet-columns,
#page .purchase-sheet .purchase-inline-main {
  display:grid;
  grid-template-columns: 24px minmax(0,1fr) minmax(70px,.13fr) minmax(85px,.17fr) minmax(72px,.13fr) auto 32px;
  align-items:center;
  gap: 8px;
}
.purchase-sheet-columns {background:#f2f6fa; color:#486782; font-size:.68rem; text-transform:uppercase; padding:6px 0; border-block:1px solid #d4e0eb;}
.purchase-sheet .purchase-inline-main > label {min-width:0; margin:0;}
.purchase-sheet .purchase-inline-main > label > span:first-child {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);}
.purchase-sheet .purchase-inline-main input {width:100%; min-width:0;}
.purchase-sheet .purchase-sheet-number {text-align:center; background:#eaf1f7; border-radius:4px; color:#486782;}
.purchase-sheet .purchase-sheet-amount {text-align:right;}
.purchase-sheet .purchase-inline-item {padding:4px 0; margin:0; border:0; border-bottom:1px solid #d4e0eb; border-radius:0; background:transparent;}
.purchase-sheet .purchase-inline-extra {margin:0;}
.purchase-sheet .purchase-inline-extra[open] {grid-column:2/-2; grid-row:2;}
.purchase-sheet .purchase-remove-item {grid-column:7; grid-row:1; padding:0; min-width:0;}
.purchase-sheet .purchase-inline-add {margin-top:auto; width:100%; border:1px dashed #a9bfd3; background:#fff; color:#365875;}
.purchase-sheet .error:empty {display:none;}
.purchase-sheet > p {margin:4px 16px;}
#page.purchase-page .purchase-sheet > .purchase-checkout {
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
  padding:10px 16px;
  border-radius:0 0 13px 13px;
  background:linear-gradient(100deg,#0b2030,#14354c);
  color:#fff;
}
.purchase-sheet .purchase-checkout small {color:#c7dcec;}
.purchase-sheet .purchase-checkout strong {color:#fff;}
.purchase-sheet .purchase-checkout .actions {margin:0 0 0 auto; flex-wrap:wrap;}
.purchase-sheet .purchase-checkout button:not(.primary) {color:#fff; background:transparent; border-color:#627b90;}
@media(max-width:750px) {
  #page.purchase-page .purchase-sheet > .reference-document-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .purchase-sheet .purchase-sheet-columns {display:none;}
  #page .purchase-sheet .purchase-inline-main {
    grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 30px;
  }
  .purchase-sheet .purchase-inline-main > label:first-of-type {grid-column:2/5;}
  .purchase-sheet .purchase-inline-main > label:nth-of-type(2) {grid-column:2;}
  .purchase-sheet .purchase-inline-main > label:not(:first-of-type) > span:first-child {position:static; width:auto; height:auto; clip-path:none;}
  .purchase-sheet .purchase-inline-extra,.purchase-sheet .purchase-inline-extra[open] {grid-column:2/-1; grid-row:3;}
  .purchase-sheet .purchase-remove-item {grid-column:5;}
  .purchase-sheet .purchase-checkout .actions {margin-left:0;}
}

html body #app.edition-cdc:has(.purchase-sheet) :is(.topbar,.connected-top) {display:none!important;}
html body #app.edition-cdc:has(.purchase-sheet) .connected-bottom {
  position:relative!important; inset:auto!important; transform:none!important;
  width:max-content!important; max-width:calc(100% - 24px)!important;
  margin:8px auto 16px!important; background:#142a3d!important; border-color:#30485b!important;
}
html body #app.edition-cdc:has(.purchase-sheet) .connected-bottom button:not(.active):not([aria-current=page]) {
  color:#c1d0de!important; background:transparent!important;
}
html body #app.edition-cdc #page.purchase-page:has(.purchase-sheet) {
  min-height:0!important; margin:0 auto!important; padding:0!important;
  border:0!important; box-shadow:none!important; background:transparent!important; overflow:visible!important;
}
#page.purchase-page .purchase-sheet {min-height:max(450px,calc(100dvh - 135px));}
#app.edition-cdc #page.purchase-page .purchase-sheet .purchase-title h1 {color:#0b2439!important;}
#page .purchase-sheet .reference-document-grid :is(.v177-code,.purchase-supplier-control) {
  display:grid!important; grid-template-columns:minmax(0,1fr) 36px; gap:0; min-width:0; align-items:stretch;
}
#page .purchase-sheet .reference-document-grid label {
  display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:3px;
}
#page .purchase-sheet .reference-document-grid input:not([type=hidden]) {
  box-sizing:border-box; width:100%; height:36px!important; min-height:36px!important; margin:0!important;
  background:#f2f6fa!important;
}
#page .purchase-sheet .reference-document-grid :is(.v177-code,.purchase-supplier-control) > input {
  border-radius:7px 0 0 7px;
}
#page .purchase-sheet .reference-document-grid :is(.v177-code,.purchase-supplier-control) > button {
  width:36px!important; min-width:0!important; min-height:36px!important; height:36px!important;
  padding:0!important; margin:0!important; border-radius:0 7px 7px 0;
  color:#0b2439!important; background:#f2f6fa!important;
}
.purchase-sheet .reference-document-grid .error:empty {display:none;}
@media(max-width:750px) {
  #page.purchase-page .purchase-sheet {min-height:0;}
}

#page .purchase-sheet .reference-document-grid :is(.v177-code,.purchase-supplier-control) {
  grid-template-columns: minmax(0,1fr);
}
#page .purchase-sheet .reference-document-grid :is(.v177-code,.purchase-supplier-control) > button {
  display: none !important;
}
#page .purchase-sheet .reference-document-grid :is(.v177-code,.purchase-supplier-control) > input {
  border-radius: 7px;
}

#page.purchase-page .purchase-sheet > .reference-document-grid {grid-template-columns:repeat(5,minmax(0,1fr));}
#page .purchase-sheet .purchase-sheet-supplier {grid-column:auto;}
#page .purchase-sheet .purchase-detail > header {justify-content:space-between;background:#e9f1fa;padding:8px 10px;border-radius:6px;}
#page .purchase-sheet .purchase-sheet-amount {text-align:right;}
#page .purchase-sheet .purchase-inline-main {
  grid-template-columns:minmax(160px,3fr) repeat(6,minmax(65px,1fr)) 34px;
  align-items:end;
}
#page .purchase-sheet .purchase-inline-main.purchase-three-prices {
  grid-template-columns:minmax(130px,2.5fr) repeat(6,minmax(64px,1fr)) 34px;
}
#page .purchase-sheet .purchase-inline-main > label {
  grid-column:auto;display:grid;gap:4px;align-content:end;
}
#page .purchase-sheet .purchase-inline-main > label > span:first-child {
  position:static;width:auto;height:auto;clip-path:none;
}
#page .purchase-sheet .purchase-inline-main > label > strong {
  display:block;min-height:36px;padding:8px;text-align:right;background:#f2f6fa;border-radius:6px;
}
#page .purchase-sheet .purchase-inline-main > .purchase-remove-item {
  grid-column:-2;grid-row:1;min-height:36px;color:#b71f2d;
}
#page .purchase-sheet .purchase-inline-extra {margin:4px 0 0;}
@media(max-width:800px) {
  #page.purchase-page .purchase-sheet > .reference-document-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  #page .purchase-sheet .purchase-inline-main,
  #page .purchase-sheet .purchase-inline-main.purchase-three-prices {
    grid-template-columns:repeat(3,minmax(0,1fr)) 34px;
  }
  #page .purchase-sheet .purchase-inline-main > label:first-of-type {grid-column:1/-2;}
}

html body #app.edition-cdc #page.purchase-page .purchase-sheet > .purchase-checkout {
  background:linear-gradient(110deg,#0b1f33,#13314a)!important;
  border-color:#0b1f33!important;
  color:#fff!important;
}
html body #app.edition-cdc #page.purchase-page .purchase-sheet .purchase-checkout small {
  color:#bed2e4!important;
}
html body #app.edition-cdc #page.purchase-page .purchase-sheet .purchase-checkout button:not(.primary) {
  background:#142d42!important;border-color:#567085!important;color:#fff!important;
}
html body #app.edition-cdc #page.purchase-page .purchase-sheet .purchase-checkout button.primary {
  background:#f5cc49!important;border-color:#f5cc49!important;color:#0b1f33!important;
}
html body #app.edition-cdc #page.purchase-page .purchase-sheet .reference-purchase-lines {
  display:flex!important; flex:1 0 auto!important; flex-direction:column!important; max-height:none!important;
}
html body #app.edition-cdc #page.purchase-page .purchase-sheet .purchase-inline-add {
  margin-block-start:auto!important;
}
html body #app.edition-cdc #page.purchase-page .purchase-sheet .purchase-inline-main > label:first-of-type input:focus {
  outline:2px solid #0969ff!important; outline-offset:-2px!important;
}

html body #app.edition-cdc:not(.v0-shell):has(#page.approved-purchases,#page[data-view="quotations"],.purchase-sheet) .connected-bottom {
  background:#142a3d!important;
  border-color:#30485b!important;
  box-shadow:0 5px 18px #0d294620;
}
html body #app.edition-cdc:not(.v0-shell):has(#page.approved-purchases,#page[data-view="quotations"],.purchase-sheet) .connected-bottom button {
  color:#c1d0de!important;
  background:transparent!important;
}
html body #app.edition-cdc:not(.v0-shell):has(#page.approved-purchases,#page[data-view="quotations"],.purchase-sheet) .connected-bottom button:is(.active,[aria-current=page]) {
  background:#f5cc49!important;
  color:#0b1f33!important;
}

/* Approved Emitir menu for Facturaciones Nube V1–V3. */
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"].emit-approved,[data-view="catalog-menu"].catalog-approved)) {
  --emit-blue: linear-gradient(112deg,#0a1a29,#1a4269);
  background:var(--emit-blue) top / 100% 270px no-repeat,var(--edition-bg,#f2f6fa)!important;
  & .connected-top {background:transparent!important;}
}
html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"].emit-approved,[data-view="catalog-menu"].catalog-approved)) #page.menu-hub-page:is([data-view="issue"].emit-approved,[data-view="catalog-menu"].catalog-approved) {
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  & .menu-hub-header {
    background:transparent!important;
    min-height:115px;
    margin:0!important;
    padding-block:20px 24px!important;
  }
  & .menu-hub-header h1 {font-size:clamp(24px,3vw,30px)!important;font-weight:750;letter-spacing:-.6px;margin:0!important;}
  & .menu-hub-description:empty {display:none;}
  & .emit-approved-panel {
    width:calc(100% - 48px);max-width:1400px;margin:0 auto 24px;padding:16px;
    box-sizing:border-box;border:1px solid var(--edition-line,#d5e1ed);border-radius:16px;
    background:var(--edition-surface,#fff);box-shadow:0 8px 24px #0a1a2917;
  }
  & .menu-hub-section {width:100%;margin:0!important;}
  & .menu-hub-section + .menu-hub-section:not([hidden]) {margin-top:16px!important;}
  &.emit-approved .menu-hub-section:first-child > h2 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  & .menu-hub-grid {gap:12px!important;}
  & .menu-hub-card {min-height:110px!important;padding:12px 14px!important;border-radius:12px!important;}
  & .menu-hub-card-top {margin-bottom:6px!important;}
  & .menu-hub-card strong {font-size:15px!important;font-weight:700;}
  & .menu-hub-card-description {margin-top:4px;}
  & .menu-hub-card[data-menu-color=blue] {--emit-chip:#e5f0fc;--emit-symbol:#225a8a;}
  & .menu-hub-card[data-menu-color=rose] {--emit-chip:#fae8ed;--emit-symbol:#8d3050;}
  & .menu-hub-card[data-menu-color=violet] {--emit-chip:#efe9fb;--emit-symbol:#654599;}
  & .menu-hub-card[data-menu-color=teal] {--emit-chip:#e2f3ee;--emit-symbol:#1d6a5c;}
  & .menu-hub-card[data-menu-color=slate] {--emit-chip:#eaf0f6;--emit-symbol:#4c657e;}
  & .menu-hub-card:is([data-menu-color=blue],[data-menu-color=rose],[data-menu-color=violet],[data-menu-color=teal],[data-menu-color=slate]) .menu-hub-icon {
    background:var(--emit-chip)!important;color:var(--emit-symbol)!important;
  }
  & .menu-hub-empty {margin:0;padding:10px;}
  @media(max-width:620px) {
    & .emit-approved-panel {width:calc(100% - 28px);padding:12px;}
    & .menu-hub-card {min-height:100px!important;}
  }
}

html body #app.edition-cdc:has(#page.menu-hub-page:is([data-view="issue"].emit-approved,[data-view="catalog-menu"].catalog-approved)) #page.menu-hub-page:is([data-view="issue"].emit-approved,[data-view="catalog-menu"].catalog-approved) {
  & .menu-hub-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  & .menu-hub-card-top {display:flex!important;align-items:center;justify-content:space-between!important;width:100%;}
  @media(max-width:900px) { & .menu-hub-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;} }
  @media(max-width:560px) { & .menu-hub-grid {grid-template-columns:minmax(0,1fr)!important;} }
}

html body #app.edition-cdc:has(#page.menu-hub-page[data-view="catalog-menu"].catalog-approved) #page.menu-hub-page[data-view="catalog-menu"].catalog-approved {
  & .menu-hub-card[data-menu-color=cyan] .menu-hub-icon {background:#e1f2f7!important;color:#20637a!important;}
  & .menu-hub-card[data-menu-color=amber] .menu-hub-icon {background:#fcf0d3!important;color:#82580b!important;}
  & .menu-hub-card[data-menu-color=orange] .menu-hub-icon {background:#fbe9dc!important;color:#8b4b22!important;}
  & .menu-hub-card[data-menu-color=indigo] .menu-hub-icon {background:#e9edf9!important;color:#40598c!important;}
  & .menu-hub-card[data-menu-color=green] .menu-hub-icon {background:#e5f3e9!important;color:#286343!important;}
  & .menu-hub-card.is-caution .menu-hub-icon {background:#fae8ed!important;color:#8d3050!important;}
}

/* syngpro-menu-emitir-2 */
@media screen {
html body #app#app#app.connected-shell .connected-bottom{background:#11283a!important;border-radius:18px!important;padding:8px!important;gap:4px}
html body #app#app#app.connected-shell .connected-bottom button{color:#deebf6!important;border-radius:10px!important;font-size:14px!important;min-height:48px!important;min-width:0!important;padding:8px 14px!important;white-space:nowrap}
html body #app#app#app.connected-shell .connected-bottom button:not(.edition-nav-more) svg{display:none!important}
html body #app#app#app.connected-shell .connected-bottom button:is(.active,[aria-current=page]){background:#ffd04d!important;color:#102638!important;font-weight:750}
html body #app#app#app.connected-shell .connected-bottom button:focus-visible{outline:2px solid #ffdf79!important;outline-offset:-3px}
html body #app.edition-cdc #page.syngpro-menu-emitir-2{width:min(1328px,calc(100% - 48px))!important;max-width:1328px!important;display:grid;grid-template-columns:minmax(0,2fr) minmax(245px,1fr);align-items:start;gap:18px}
html body #app #page.syngpro-menu-emitir-2 .menu-hub-header{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px}
#page.syngpro-menu-emitir-2 :is(.menu-hub-search,.menu-hub-eyebrow,.menu-hub-description){display:none!important}
html body #app #page.syngpro-menu-emitir-2 .issue-main-action{min-height:44px;padding:9px 18px;border-radius:10px;background:#ffd04d!important;color:#102638!important;border:1px solid #ffd04d;font-weight:750;white-space:nowrap}
html body #app #page.syngpro-menu-emitir-2 .menu-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #app #page.syngpro-menu-emitir-2 .menu-hub-section:nth-of-type(2) .menu-hub-grid{grid-template-columns:1fr!important}
#page.syngpro-menu-emitir-2 .connected-location{grid-column:1/-1}
html body #app#app.edition-cdc #page.syngpro-menu-emitir-2.emit-approved{display:block!important}
html body #app#app.edition-cdc #page.syngpro-menu-emitir-2 .emit-approved-panel{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(245px,1fr);gap:18px}
}
@media screen and (max-width:850px){
html body #app#app#app.connected-shell .connected-bottom{overflow-x:auto;justify-content:flex-start!important;max-width:calc(100vw - 24px)!important}
html body #app#app#app.connected-shell .connected-bottom button{font-size:13px!important;padding-inline:10px!important}
html body #app.edition-cdc #page.syngpro-menu-emitir-2{width:calc(100% - 32px)!important;grid-template-columns:1fr}
html body #app#app.edition-cdc #page.syngpro-menu-emitir-2 .emit-approved-panel{grid-template-columns:1fr}
}
@media screen and (max-width:520px){
html body #app #page.syngpro-menu-emitir-2 .menu-hub-grid{grid-template-columns:1fr!important}
html body #app #page.syngpro-menu-emitir-2 .menu-hub-header{flex-wrap:wrap}
}

/* syngpro-emitir-maqueta-v3 */
@media screen {
 html body #app#app#app:has(#page.syngpro-emitir-maqueta-v3) .connected-top{padding-inline:max(24px,calc((100% - var(--workspace-width,1400px))/2))!important}
 html body #app#app#app #page.syngpro-emitir-maqueta-v3{width:100%!important;max-width:none!important}
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.menu-hub-header,
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.issue-menu-panels{width:min(var(--workspace-width,1400px),calc(100% - 48px))!important;margin-inline:auto!important}
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.menu-hub-header h1{font-size:clamp(32px,5vw,52px)!important}
 .issue-intro-copy{margin:7px 0 0;color:#d7e7f5}
 .issue-menu-panels{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:20px;align-items:start}
 .issue-surface{min-width:0;padding:24px;background:var(--edition-surface,#fff);border:1px solid var(--edition-line,#d6e1eb);border-radius:16px;box-shadow:0 8px 22px #132d4610}
 .issue-surface h2{font-size:21px;margin:0 0 16px}
 .issue-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
 html body #app#app .issue-document-action{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:76px;width:100%;padding:12px 4px;text-align:left;border:0;border-top:1px solid var(--edition-line,#d6e1eb);border-radius:0;box-shadow:none;background:transparent;color:inherit}
 .issue-document-action .menu-hub-icon{width:36px;height:36px;margin:0}
 .issue-document-copy>strong,.issue-document-copy>span{display:block}
 .issue-document-copy .menu-hub-card-description{margin-top:4px;line-height:1.4;color:inherit;opacity:.8}
 .issue-draft-summary{border-top:1px solid var(--edition-line,#d6e1eb);padding:14px 0}
 .issue-draft-summary strong{display:block;margin-bottom:10px;overflow-wrap:anywhere}
 html body #app .issue-draft-link{min-height:44px;border:0;padding:4px 0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:4px}
 html body #app .issue-draft-resume{min-height:44px;border-radius:10px;padding:8px 14px}
 .issue-menu-panels button:focus-visible{outline:2px solid #2876bb;outline-offset:2px}
}
@media(max-width:760px){
 .issue-menu-panels,.issue-document-grid{grid-template-columns:1fr}
 .issue-drafts{grid-row:1}
 .issue-surface{padding:18px}
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.menu-hub-header,
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.issue-menu-panels{width:calc(100% - 32px)!important}
}
/* syngpro-emitir-alineacion-v4 */
@media screen {
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.menu-hub-header{
  box-sizing:border-box!important;max-width:none!important;padding-inline:0!important;
 }
 html body #app#app#app #page.syngpro-emitir-maqueta-v3>.menu-hub-header .menu-hub-intro{
  margin:0!important;padding:0!important;text-align:left!important;justify-self:start!important;
 }
 html body #app#app#app.connected-shell .connected-bottom button:not(.edition-nav-more){
  align-content:center!important;align-items:center!important;justify-content:center!important;
  justify-items:center!important;place-content:center!important;line-height:1.2!important;gap:0!important;text-align:center!important;
 }
 html body #app#app#app.connected-shell .connected-bottom button:not(.edition-nav-more)>span{
  align-self:center!important;justify-self:center!important;margin:0!important;transform:none!important;
 }
 #page.syngpro-emitir-maqueta-v3 .issue-menu-panels{align-items:stretch}
 #page.syngpro-emitir-maqueta-v3 .issue-drafts{display:flex;flex-direction:column}
 #page.syngpro-emitir-maqueta-v3 .issue-draft-link{margin-top:auto;align-self:flex-start}
}
/* syngpro-gestion-paneles-1 */
@media screen {
 html body #app#app#app:has(#page.syngpro-gestion-paneles-1) .connected-top{
  padding-inline:max(24px,calc((100% - var(--workspace-width,1400px))/2))!important;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1{width:100%!important;max-width:none!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1>.menu-hub-header,
 html body #app#app#app #page.syngpro-gestion-paneles-1>.emit-approved-panel{
  box-sizing:border-box;width:min(var(--workspace-width,1400px),calc(100% - 48px))!important;
  max-width:none!important;margin-inline:auto!important;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1>.menu-hub-header{padding-inline:0!important;gap:20px}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-intro{margin:0!important;padding:0!important;text-align:left!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-header h1{font-size:clamp(32px,5vw,52px)!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-eyebrow{display:none!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1>.emit-approved-panel{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
  gap:20px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-section:not([hidden]){
  min-width:0;margin:0!important;padding:22px;background:var(--edition-surface,#fff);
  border:1px solid var(--edition-line,#d6e1eb);border-radius:16px;box-shadow:0 8px 22px #132d4610;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-section>h2{
  margin:0 0 14px!important;color:inherit;font-size:20px!important;text-transform:none!important;letter-spacing:normal!important;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-grid{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-card:not([hidden]){
  display:grid!important;grid-template-columns:38px minmax(0,1fr) 20px;grid-template-rows:auto auto;align-content:center;
  min-height:76px!important;padding:10px 0!important;column-gap:12px;row-gap:3px;
  border:0!important;border-top:1px solid var(--edition-line,#d6e1eb)!important;border-radius:0!important;
  background:transparent;box-shadow:none!important;text-align:left;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-card[hidden]{display:none!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-card-top{display:contents!important}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-icon{
  grid-area:1/1/3/2;align-self:center;width:36px;height:36px;margin:0!important;
 }
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-card>strong{grid-area:1/2}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-card-description{grid-area:2/2;margin:0!important;line-height:1.4}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-arrow{grid-area:1/3/3/4;align-self:center;background:none}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-badge{display:none}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-empty{grid-column:1/-1}
 html body #app#app#app #page.syngpro-gestion-paneles-1 .menu-hub-card:focus-visible{outline:2px solid #2876bb!important;outline-offset:2px}
}
@media(max-width:950px){
 html body #app#app#app #page.syngpro-gestion-paneles-1>.emit-approved-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 html body #app#app#app #page.syngpro-gestion-paneles-1>.emit-approved-panel{grid-template-columns:1fr;gap:12px}
 html body #app#app#app #page.syngpro-gestion-paneles-1>.menu-hub-header{display:flex;flex-wrap:wrap}
 html body #app#app#app #page.syngpro-gestion-paneles-1>.menu-hub-header,
 html body #app#app#app #page.syngpro-gestion-paneles-1>.emit-approved-panel{width:calc(100% - 32px)!important}
}
/* syngpro-menus-color-1 */
@media screen {
 html body #app#app#app:has(#page.syngpro-menus-color-1) .connected-top{
  padding-inline:max(24px,calc((100% - var(--workspace-width,1400px))/2))!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1{width:100%!important;max-width:none!important}
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header,
 html body #app#app#app #page.syngpro-menus-color-1>.emit-approved-panel{
  box-sizing:border-box;width:min(var(--workspace-width,1400px),calc(100% - 48px))!important;
  max-width:none!important;margin-inline:auto!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header{padding-inline:0!important;gap:20px}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-intro{margin:0!important;padding:0!important;text-align:left!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-header h1{font-size:clamp(32px,5vw,52px)!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-eyebrow{display:none!important}
 html body #app#app#app #page.syngpro-menus-color-1>.emit-approved-panel{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
  gap:20px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-section:not([hidden]){
  min-width:0;margin:0!important;padding:22px;background:var(--edition-surface,#fff);
  border:1px solid var(--edition-line,#d6e1eb);border-radius:16px;box-shadow:0 8px 22px #132d4610;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-section>h2{
  margin:0 0 14px!important;color:inherit;font-size:20px!important;text-transform:none!important;letter-spacing:normal!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-grid{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card:not([hidden]){
  display:grid!important;grid-template-columns:38px minmax(0,1fr) 20px;grid-template-rows:auto auto;align-content:center;
  min-height:76px!important;padding:10px 0!important;column-gap:12px;row-gap:3px;
  border:0!important;border-top:1px solid var(--edition-line,#d6e1eb)!important;border-radius:0!important;
  background:transparent;box-shadow:none!important;text-align:left;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card[hidden]{display:none!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card-top{display:contents!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-icon{
  grid-area:1/1/3/2;align-self:center;width:36px;height:36px;margin:0!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card>strong{grid-area:1/2}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card-description{grid-area:2/2;margin:0!important;line-height:1.4}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-arrow{grid-area:1/3/3/4;align-self:center;background:none}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-badge{display:none}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-empty{grid-column:1/-1}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card:focus-visible{outline:2px solid #2876bb!important;outline-offset:2px}
}
@media(max-width:950px){
 html body #app#app#app #page.syngpro-menus-color-1>.emit-approved-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 html body #app#app#app #page.syngpro-menus-color-1>.emit-approved-panel{grid-template-columns:1fr;gap:12px}
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header{display:flex;flex-wrap:wrap}
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header,
 html body #app#app#app #page.syngpro-menus-color-1>.emit-approved-panel{width:calc(100% - 32px)!important}
}
@media screen{
html body #app#app#app #page.syngpro-menus-color-1:is(.finance-color,.accounting-color)>.emit-approved-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
html body #app#app#app #page.syngpro-menus-color-1.accounting-color .menu-hub-section{grid-column:1/-1}
html body #app#app#app #page.syngpro-menus-color-1.accounting-color .menu-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:20px!important}
html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-icon{width:44px!important;height:44px!important;border-radius:12px!important;color:#fff!important;background:var(--section-icon,#225ead)!important;box-shadow:0 3px 8px #152c4826}
html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card:not([hidden]){grid-template-columns:44px minmax(0,1fr) 20px}
#page.syngpro-menus-color-1 [data-menu-color=blue]{--section-icon:#005cbf}
#page.syngpro-menus-color-1 [data-menu-color=rose]{--section-icon:#c90048}
#page.syngpro-menus-color-1 [data-menu-color=violet]{--section-icon:#7634cb}
#page.syngpro-menus-color-1 [data-menu-color=teal]{--section-icon:#007681}
#page.syngpro-menus-color-1 [data-menu-color=gold]{--section-icon:#8a6000}
#page.syngpro-menus-color-1 [data-menu-color=amber]{--section-icon:#a74911}
}
@media(max-width:640px){
html body #app#app#app #page.syngpro-menus-color-1:is(.finance-color,.accounting-color)>.emit-approved-panel{grid-template-columns:1fr}
html body #app#app#app #page.syngpro-menus-color-1.accounting-color .menu-hub-grid{grid-template-columns:1fr!important}
}
/* syngpro-menus-final-2 */
@media screen {
 html body #app#app#app.connected-shell:has(#page.syngpro-menus-color-1){
  background:linear-gradient(112deg,#0a1a29,#1a4269) top / 100% var(--menu-hero-depth,255px) no-repeat,var(--edition-bg,#f2f6fa)!important;
 }
 html body #app#app#app.connected-shell:has(#page.syngpro-menus-color-1) .connected-top{background:transparent!important}
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header{
  isolation:auto!important;background:transparent!important;min-height:110px;
  padding-block:20px 24px!important;margin-bottom:12px!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header::before,
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header::after{
  background:none!important;content:none!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1>.menu-hub-header h1{color:#fff!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-description{color:#d1e3f3!important}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card:not([hidden]){
  grid-template-columns:44px minmax(0,1fr) 28px;overflow:visible!important;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-arrow{
  position:static!important;width:24px!important;height:24px!important;justify-self:end;display:grid;place-items:center;
 }
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-card:is(:hover,:focus-visible){background:var(--edition-soft,#eef4fa)}
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-section[hidden],
 html body #app#app#app #page.syngpro-menus-color-1 .menu-hub-empty[hidden]{display:none!important}
 html body #app#app#app #page[data-view=reports].menu-extension>.emit-approved-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 html body #app#app#app.connected-shell:has(#page.syngpro-menus-color-1){--menu-hero-depth:315px}
 html body #app#app#app #page[data-view=reports].menu-extension>.emit-approved-panel{grid-template-columns:1fr}
}
/* syngpro-inicio-catalogos-1 */
@media screen {
 html body #app#app#app .v1-reference-home .billing-toolbar .billing-quick-sale{
  flex:0 0 auto!important;width:auto!important;min-height:44px!important;height:auto!important;
  padding:9px 16px!important;border-radius:10px!important;gap:8px!important;
  background:#ffd04d!important;color:#102638!important;border:1px solid #ffd04d!important;font-weight:750;
 }
 html body #app#app#app .v1-reference-home .billing-toolbar .billing-quick-sale:focus-visible{outline:2px solid #fff;outline-offset:3px}
 html body #app#app#app .v1-reference-home .billing-toolbar .billing-sale-arrow{font-size:19px!important;line-height:1}
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses]){
  max-width:none!important;width:min(var(--workspace-width,1400px),calc(100% - 48px))!important;margin-inline:auto!important;box-sizing:border-box;
 }
 html body #app#app#app.connected-shell:has(#page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses])) .connected-top{
  padding-inline:max(24px,calc((100% - var(--workspace-width,1400px))/2))!important;
 }
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses])>.heading{
  min-height:64px;gap:12px;align-items:center;
 }
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses])>.heading :is(h1,h2){
  font-size:clamp(25px,3vw,32px)!important;letter-spacing:-.035em;
 }
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses])>.heading .primary{
  min-height:44px;border-radius:10px!important;background:#ffd04d!important;color:#102638!important;font-weight:750;
 }
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses])>:is(.toolbar,.client-filters,.product-catalog-filters){
  border-radius:14px;gap:10px;
 }
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses]) :is(th,td){
  vertical-align:middle;padding-block:10px!important;
 }
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses]) :is(th,td):last-child{text-align:right}
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses]) tbody tr:hover{
  background:var(--edition-soft,#eff4f9);
 }
 html body #app#app#app.connected-shell #page[data-view=products] .product-catalog-photo{width:42px!important;height:42px!important}
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses]) button:focus-visible{
  outline:2px solid #2876bb;outline-offset:2px;
 }
}
@media screen and (min-width:1025px){
 html body #app#app#app .v1-reference-home .billing-dashboard-grid:has(.personal-memo){align-items:stretch!important}
 html body #app#app#app .v1-reference-home .billing-dashboard-grid:has(.personal-memo)>:is(.billing-recent,.billing-aside){align-self:stretch!important}
 html body #app#app#app .v1-reference-home .billing-aside>.personal-memo{
  display:flex;flex:1 0 auto;flex-direction:column;box-sizing:border-box;
 }
 html body #app#app#app .v1-reference-home .personal-memo textarea{flex:1 0 68px;height:68px;min-height:68px;resize:none}
}
@media screen and (max-width:760px){
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses]){width:calc(100% - 28px)!important}
 html body #app#app#app.connected-shell #page:is([data-view=clients],[data-view=suppliers],[data-view=products],[data-view=warehouses])>.heading{flex-wrap:wrap}
}
/* syngpro-catalogos-clientes-2 */
@media screen {
 html body #app#app#app.connected-shell:has(#page:is(.client-directory,.syngpro-catalogos-clientes-2)) .connected-bottom{
  position:fixed!important;inset:auto!important;left:50%!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;
  transform:translateX(-50%)!important;margin:0!important;width:max-content!important;max-width:calc(100vw - 24px)!important;overflow-x:auto;
 }
 html body #app#app#app.connected-shell #page:is(.client-directory,.syngpro-catalogos-clientes-2){
  padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;
 }
 html body #app#app#app.connected-shell:has(#page.syngpro-catalogos-clientes-2)>.connected-top{display:none!important}
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading{
  position:relative;isolation:isolate;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:12px;min-height:118px;margin:0 0 12px!important;padding:16px 0 24px!important;background:transparent!important;color:#fff;
 }
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading::before{
  content:'';position:absolute;inset:0;z-index:-1;
  background:linear-gradient(110deg,#0a1a27,#1a4269);
  box-shadow:-100vw 0 #0a1a27,100vw 0 #1a4269;
  clip-path:inset(0 -100vmax);
 }
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading :is(h1,h2){color:#fff!important;margin:0}
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2 .catalog-section-label{
  flex-basis:100%;order:-2;color:#ffd04d;font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;
 }
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading .menu-back{
  order:-1;min-height:36px;background:#ffffff0b!important;color:#fff!important;border:1px solid #ffffff42!important;margin:0;
 }
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading>:is(button:not(.menu-back),.product-catalog-actions){margin-inline-start:auto}
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading .product-catalog-actions>button:not(.primary){
  background:#ffffff14!important;color:#fff!important;border:1px solid #ffffff42!important;
 }
}
@media(max-width:640px){
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2>.heading{gap:8px;min-height:104px}
 html body #app#app#app.connected-shell #page.syngpro-catalogos-clientes-2 .product-catalog-actions{max-width:100%;flex-wrap:wrap}
}
/* syngpro-gestion-operativa-1 */
@media screen {
 html body #app#app#app.connected-shell:has(#page.syngpro-gestion-operativa-1) {
  background:var(--billing-page,#f2f5f9)!important;
  min-height:100vh;
 }
 html body #app#app#app.connected-shell #page.syngpro-gestion-operativa-1 {
  box-sizing:border-box;
  width:min(1960px,calc(100% - 32px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0 0 calc(104px + env(safe-area-inset-bottom,0px))!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
 }
 html body #app#app#app.connected-shell #page.syngpro-gestion-operativa-1>.heading h1{
  font-size:clamp(1.45rem,2.5vw,2rem)!important;
  letter-spacing:-.035em;
 }
 html body #app#app#app.connected-shell #page.syngpro-gestion-operativa-1>.heading>.management-actions{
  display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0 0 0 auto;
 }
 html body #app#app#app.connected-shell #page.syngpro-gestion-operativa-1>.heading .management-actions>button:not(.primary){
  background:#ffffff14!important;color:#fff!important;border-color:#ffffff42!important;
 }
 #page.syngpro-gestion-operativa-1 .purchase-company{display:none}
 #page.syngpro-gestion-operativa-1>.menu-hub-header .menu-hub-description{
  flex-basis:100%;margin:0;color:#c5d8e9;
 }
 html body #app#app#app.connected-shell #page.syngpro-gestion-operativa-1>.management-search{
  padding:12px!important;margin:0 0 14px!important;
  border:1px solid var(--billing-line,#d7e3ed)!important;border-radius:16px;
  background:var(--billing-panel,#fff)!important;
 }
}
@media (max-width:640px){
 html body #app#app#app.connected-shell #page.syngpro-gestion-operativa-1>.heading>.management-actions{
  flex-basis:100%;justify-content:flex-start;
 }
}
 /* syngpro-franja-azul-2 */
 @media screen and (min-width: 901px) {
  html body #app#app#app.connected-shell:has(#page:is(.v1-reference-home[data-view="home"],.syngpro-emitir-maqueta-v3,.syngpro-gestion-paneles-1,.syngpro-menus-color-1:is([data-view=finance-menu],[data-view=accounting-menu],[data-view=personnel],[data-view=reports],[data-view=settings]))) {
   --altura-franja-principal: 240px;
   background:linear-gradient(90deg,#071522 0%,#0b1f33 40%,#163a5c 75%,#1f5080 100%)
    top / 100% var(--altura-franja-principal) no-repeat,var(--edition-bg,#f2f6fa)!important;
  }
  html body #app#app#app.connected-shell:has(#page:is(.v1-reference-home[data-view="home"],.syngpro-emitir-maqueta-v3,.syngpro-gestion-paneles-1,.syngpro-menus-color-1:is([data-view=finance-menu],[data-view=accounting-menu],[data-view=personnel],[data-view=reports],[data-view=settings]))) .connected-top,
  html body #app#app#app.connected-shell #page.v1-reference-home[data-view="home"] .edition-welcome {
   background:transparent!important;
  }
 }
 /* syngpro-buscador-clientes-1 */
 @media screen {
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading {
   position:relative;
   isolation:isolate;
   overflow:visible;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading::after {
   content:'';
   position:absolute;
   inset:100% 0 auto;
   height:36px;
   z-index:-1;
   pointer-events:none;
   background:linear-gradient(110deg,#0a1a27,#1a4269);
   box-shadow:-100vw 0 #0a1a27,100vw 0 #1a4269;
   clip-path:inset(0 -100vmax);
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>:is(.client-search-card,.client-rtc-alert) {
   position:relative;
   z-index:1;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card {
   margin-top:-8px!important;
  }
 }
 /* syngpro-buscador-clientes-2 */
 @media screen {
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading:has(+.client-search-card)::after {
   content:none!important;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::before {
   content:''!important;
   position:absolute;
   inset:-16px -1px 50%;
   pointer-events:none;
   box-shadow:-100vw 0 #0a1a27,100vw 0 #1a4269;
   clip-path:inset(0 -100vmax);
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action-danger,
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action-danger svg {
   color:#b42332!important;
  }
  html[data-theme=dark] body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action-danger,
  html[data-theme=dark] body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action-danger svg {
   color:#ffacb9!important;
  }
 }
 /* syngpro-domicilio-clientes-1 */
 @media screen {
  .client-form-dialog .syngpro-domicilio-clientes-1 {
   display:grid;gap:8px;padding:14px 16px;border:1px solid var(--billing-line,#d7e3ed);
   border-radius:12px;background:var(--edition-soft,#f2f6fa);
  }
  .client-form-dialog .syngpro-domicilio-clientes-1 :is(h3,p) {margin:0}
  .client-form-dialog .syngpro-domicilio-clientes-1 h3 {font-size:1rem}
  .client-form-dialog .syngpro-domicilio-clientes-1 .client-address-list:empty {display:none}
  .client-form-dialog .syngpro-domicilio-clientes-1>button {justify-self:start;margin:0}
  .client-form-dialog .syngpro-domicilio-clientes-1 .client-address-item p {overflow-wrap:anywhere}
 }
 /* syngpro-buscador-clientes-3 */
 @media screen {
  html body #app#app#app.connected-shell:has(#page.client-directory[data-view=clients]) {
   overflow-x:clip!important;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.client-search-card {
   overflow:visible!important;
   display:flex!important;
   flex-wrap:wrap!important;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.client-search-card>input {
   flex:1 1 22rem;
   min-width:0!important;
   width:auto!important;
   max-width:100%;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .client-filters {
   display:flex!important;
   flex-wrap:wrap!important;
   min-width:0;
   max-width:100%;
   overflow:visible!important;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::before,
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::after {
   content:''!important;
   position:absolute;
   top:-16px;
   bottom:50%;
   width:100vw;
   pointer-events:none;
   box-shadow:none;
   clip-path:none;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::before {
   left:auto;
   right:calc(100% + 1px);
   background:#0a1a27;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::after {
   right:auto;
   left:calc(100% + 1px);
   background:#1a4269;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action {
   display:inline-grid!important;place-items:center;
   box-sizing:border-box;width:44px;height:38px;min-width:44px!important;min-height:38px!important;
   padding:0!important;border-radius:9px!important;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action svg {
   width:16px!important;height:16px!important;
  }
 }
 /* syngpro-buscador-clientes-4 */
 @media screen {
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] {
   isolation:isolate;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card {
   z-index:auto!important;
   isolation:auto;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::before,
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::after {
   z-index:-1;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::before {
   right:calc(100% - 24px);
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients]>.heading+.client-search-card::after {
   left:calc(100% - 24px);
  }
 }
 /* syngpro-cabezal-clientes-1 */
 @media screen {
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .table-wrap thead th {
   padding-block:8px!important;
   height:auto!important;
   vertical-align:middle;
   font-size:13px!important;
   font-weight:700!important;
   line-height:1.3;
   color:var(--edition-ink,#142e47)!important;
   background:var(--edition-soft,#eaf1f8)!important;
   border-bottom:1px solid var(--edition-line,#ccdceb);
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .table-wrap thead th button {
   min-height:32px!important;
   height:auto!important;
   padding:4px 0!important;
   font:inherit!important;
   color:inherit!important;
   text-align:left;
   background:transparent!important;
   border:0!important;
   box-shadow:none!important;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .table-wrap thead th button:focus-visible {
   outline:2px solid currentColor;
   outline-offset:2px;
  }
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .table-wrap thead th:last-child {
   text-align:right;
  }
 }
 /* syngpro-lapiz-clientes-1 */
 @media screen {
  html body #app#app#app.connected-shell #page.client-directory[data-view=clients] .actions button.v1-row-action:not(.v1-row-action-danger) svg path {
   d:path('M16 3a2.1 2.1 0 0 1 3 3L8 17l-4 1 1-4z M14 5l3 3');
   stroke-width:1.6;
  }
 }
/* syngpro-visual-catalogos-1 */
/* syngpro-buscador-clientes-2 */
 @media screen {
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading:has(+.management-search)::after {
   content:none!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::before {
   content:''!important;
   position:absolute;
   inset:-16px -1px 50%;
   pointer-events:none;
   box-shadow:-100vw 0 #0a1a27,100vw 0 #1a4269;
   clip-path:inset(0 -100vmax);
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .actions button.v1-row-action-danger,
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .actions button.v1-row-action-danger svg {
   color:#b42332!important;
  }
  html[data-theme=dark] body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .actions button.v1-row-action-danger,
  html[data-theme=dark] body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .actions button.v1-row-action-danger svg {
   color:#ffacb9!important;
  }
 }
/* syngpro-buscador-clientes-3 */
 @media screen {
  html body #app#app#app.connected-shell:has(#page.syngpro-visual-catalogos-1) {
   overflow-x:clip!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.management-search {
   overflow:visible!important;
   display:flex!important;
   flex-wrap:wrap!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.management-search>input {
   flex:1 1 22rem;
   min-width:0!important;
   width:auto!important;
   max-width:100%;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .client-filters {
   display:flex!important;
   flex-wrap:wrap!important;
   min-width:0;
   max-width:100%;
   overflow:visible!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::before,
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::after {
   content:''!important;
   position:absolute;
   top:-16px;
   bottom:50%;
   width:100vw;
   pointer-events:none;
   box-shadow:none;
   clip-path:none;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::before {
   left:auto;
   right:calc(100% + 1px);
   background:#0a1a27;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::after {
   right:auto;
   left:calc(100% + 1px);
   background:#1a4269;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .actions button.v1-row-action {
   display:inline-grid!important;place-items:center;
   box-sizing:border-box;width:44px;height:38px;min-width:44px!important;min-height:38px!important;
   padding:0!important;border-radius:9px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .actions button.v1-row-action svg {
   width:16px!important;height:16px!important;
  }
 }
/* syngpro-buscador-clientes-4 */
 @media screen {
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 {
   isolation:isolate;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search {
   z-index:auto!important;
   isolation:auto;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::before,
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::after {
   z-index:-1;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::before {
   right:calc(100% - 24px);
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading+.management-search::after {
   left:calc(100% - 24px);
  }
 }
/* syngpro-cabezal-clientes-1 */
 @media screen {
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .table-wrap thead th {
   padding-block:8px!important;
   height:auto!important;
   vertical-align:middle;
   font-size:13px!important;
   font-weight:700!important;
   line-height:1.3;
   color:var(--edition-ink,#142e47)!important;
   background:var(--edition-soft,#eaf1f8)!important;
   border-bottom:1px solid var(--edition-line,#ccdceb);
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .table-wrap thead th button {
   min-height:32px!important;
   height:auto!important;
   padding:4px 0!important;
   font:inherit!important;
   color:inherit!important;
   text-align:left;
   background:transparent!important;
   border:0!important;
   box-shadow:none!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .table-wrap thead th button:focus-visible {
   outline:2px solid currentColor;
   outline-offset:2px;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .table-wrap thead th:last-child {
   text-align:right;
  }
 }
 @media screen {
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading {
   box-sizing:border-box;
   min-height:126px;
   margin-bottom:0!important;
   align-content:center;
   overflow:visible;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading h1 {
   font-size:clamp(1.45rem,2.5vw,2rem)!important;
   letter-spacing:-.035em;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading>.management-actions {
   display:flex;flex-wrap:wrap;gap:8px;margin-inline-start:auto;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.heading .management-actions button:not(.primary) {
   color:#fff!important;background:#ffffff14!important;border-color:#ffffff42!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1>.management-search {
   position:relative;box-sizing:border-box;align-items:end;gap:10px;
   margin-top:-8px!important;margin-bottom:14px;padding:14px 16px;
   border:1px solid var(--billing-line,#d7e3ed);border-radius:16px;
   background:var(--billing-panel,#fff);
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .management-search-field {
   flex:1 1 20rem;min-width:0;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1 .management-search-field input {
   width:100%;min-width:0;
  }
 }
 /* syngpro-visual-catalogos-2 */
 @media screen {
  html body #app#app#app.connected-shell:has(>#page.syngpro-visual-catalogos-1) {
   --catalog-surface:var(--edition-bg,#f2f5f9);
   display:grid!important;
   grid-template-rows:minmax(0,1fr) auto;
   height:100dvh;
   min-height:0!important;
   overflow:hidden!important;
   background:var(--catalog-surface)!important;
  }
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1 {
   grid-row:1;
   box-sizing:border-box;
   width:100%!important;
   max-width:none!important;
   min-height:0!important;
   margin:0!important;
   padding:0 max(16px,calc((100% - var(--workspace-width,1960px))/2)) 20px!important;
   overflow:auto!important;
   background:linear-gradient(110deg,#0a1a27,#1a4269) top / 100% 160px no-repeat,var(--catalog-surface)!important;
   background-attachment:local!important;
  }
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1>.heading::before,
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1>.heading::after,
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1>.heading+.management-search::before,
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1>.heading+.management-search::after {
   content:none!important;
  }
  html body #app#app#app.connected-shell:has(>#page.syngpro-visual-catalogos-1)>.connected-bottom {
   grid-row:2;
   justify-self:center;
   position:relative!important;
   inset:auto!important;
   transform:none!important;
   margin:8px auto max(12px,env(safe-area-inset-bottom,0px))!important;
  }
  @media (max-width:640px) {
   html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1 {
    background-size:100% 205px,auto!important;
   }
  }
 }
 /* syngpro-visual-gestion-1 */
 @media screen {
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1.syngpro-gestion-operativa-1 {
   width:100%!important;
   padding:0 max(16px,calc((100% - var(--workspace-width,1960px))/2)) 20px!important;
   background:linear-gradient(110deg,#0a1a27,#1a4269) top / 100% 164px no-repeat,var(--catalog-surface)!important;
   background-attachment:local!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1.syngpro-gestion-operativa-1>.heading {
   margin-bottom:0!important;
   justify-content:flex-start!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1.syngpro-gestion-operativa-1>.management-search {
   align-items:end;
   margin-top:-8px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1.approved-purchases>.heading>.menu-back {
   margin-inline-start:0!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1[data-view=stock-menu]>.heading {
   min-height:164px;
   row-gap:8px;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1[data-view=stock-menu] .menu-hub-description {
   flex-basis:100%;color:#d1e3f3!important;margin:0!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-catalogos-1[data-view=stock-menu]>.menu-hub-section {
   margin-top:18px;
  }
 }
 @media screen and (max-width:640px) {
  html body #app#app#app.connected-shell>#page.syngpro-visual-catalogos-1.syngpro-gestion-operativa-1:not([data-view=stock-menu]) {
   background-size:100% 205px,auto!important;
  }
 }
 /* syngpro-visual-comprobantes-1 */
 @media screen {
  html body #app#app#app.connected-shell>#page.syngpro-visual-comprobantes-1 {
   padding:0 max(16px,calc((100% - var(--workspace-width,1960px))/2)) 20px!important;
   background:linear-gradient(110deg,#0a1a27,#1a4269) top / 100% 164px no-repeat,var(--catalog-surface)!important;
   background-attachment:local!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.heading {
   width:100%!important;box-sizing:border-box;max-width:none!important;
   min-height:126px;align-content:center;justify-content:flex-start!important;
   margin:0!important;padding:16px 0 24px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.heading h1 {
   font-size:clamp(1.45rem,2.5vw,2rem)!important;letter-spacing:-.035em;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.heading .muted {
   display:none;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>:is(.issued-filters,.purchase-history-filters) {
   box-sizing:border-box;display:flex!important;flex-wrap:wrap;align-items:end;
   gap:10px!important;margin:-8px 0 14px!important;padding:14px 16px!important;
   background:var(--edition-surface,#fff)!important;border:1px solid var(--edition-line,#d7e3ed)!important;
   border-radius:16px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>:is(.issued-filters,.purchase-history-filters)>label:first-child {
   flex:2 1 17rem;min-width:0;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>:is(.issued-filters,.purchase-history-filters)>label {
   flex:1 1 9rem;min-width:0;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1 .table-wrap thead th {
   font-size:13px!important;font-weight:700!important;color:var(--edition-ink,#142e47)!important;
   background:var(--edition-soft,#eaf1f8)!important;padding-block:8px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1 .table-wrap thead th button {
   font:inherit!important;color:inherit!important;min-height:32px;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1 .table-wrap tbody td {
   padding-block:10px!important;vertical-align:middle;
  }
 }
 @media screen and (max-width:640px) {
  html body #app#app#app.connected-shell>#page.syngpro-visual-comprobantes-1 {
   background-size:100% 205px,auto!important;
  }
 }
 /* syngpro-visual-finanzas-config-1 */
 @media screen {
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.issued-filters .v177-code {
   display:flex!important;align-items:stretch!important;width:100%;min-width:0;min-height:42px;
   box-sizing:border-box;border:1px solid var(--edition-line,#d7e3ed)!important;
   border-radius:9px!important;overflow:visible!important;
   background:var(--edition-surface,#fff)!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.issued-filters .v177-code:focus-within {
   border-color:#347ac5!important;
   outline:2px solid #347ac5!important;outline-offset:1px;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.issued-filters .v177-code>input {
   flex:1 1 0;min-width:0;width:0!important;
   border:0!important;outline:none!important;box-shadow:none!important;
   border-radius:8px 0 0 8px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.issued-filters .v177-code>button {
   flex:none;border-radius:0 8px 8px 0!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-comprobantes-1>.issued-filters .v177-code>button:focus-visible {
   outline:2px solid #347ac5!important;outline-offset:-3px;
  }
 }
 @media screen {
  html body #app#app#app.connected-shell>#page.syngpro-visual-finanzas-config-1 {
   display:flex!important;flex-direction:column;
  }
  html body #app#app#app.connected-shell>#page.syngpro-visual-finanzas-config-1>.connected-location {order:99}
  html body #app#app#app.connected-shell #page.syngpro-visual-finanzas-config-1>.heading {
   box-sizing:border-box;min-height:160px;margin:0 0 16px!important;
   justify-content:flex-start!important;align-content:center;gap:8px 14px;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-finanzas-config-1>.heading>div>.muted,
  html body #app#app#app.connected-shell #page.syngpro-visual-finanzas-config-1>.heading>.menu-hub-description {
   color:#d1e3f3!important;margin:5px 0 0!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-submenu-layout>.heading {
   display:grid!important;grid-template-columns:auto minmax(0,1fr);
   grid-template-areas:'label label' 'back title' 'desc desc';
  }
  #page.syngpro-submenu-layout>.heading>.catalog-section-label {grid-area:label}
  #page.syngpro-submenu-layout>.heading>.menu-back {grid-area:back;justify-self:start}
  #page.syngpro-submenu-layout>.heading>.menu-hub-intro {grid-area:title;text-align:left;margin:0}
  #page.syngpro-submenu-layout>.heading>.menu-hub-description {grid-area:desc}
  html body #app#app#app.connected-shell #page.syngpro-submenu-layout .menu-hub-grid {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:14px!important;
  }
  html body #app#app#app.connected-shell #page.syngpro-submenu-layout .menu-hub-card:not([hidden]) {
   min-height:116px;padding:16px 18px;
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-finanzas-config-1>.catalog-search-bar {
   display:flex!important;flex-wrap:wrap;align-items:end;gap:10px;padding:14px 16px;
  }
  #page.syngpro-visual-finanzas-config-1>.catalog-search-bar>.catalog-search-field {flex:3 1 16rem;min-width:0}
  #page.syngpro-visual-finanzas-config-1>.catalog-search-bar>label:not(.catalog-search-field) {flex:1 1 9rem;min-width:0}
  #page.syngpro-visual-finanzas-config-1>.management-search>input {width:100%!important;flex:auto}
  #page.syngpro-visual-finanzas-config-1[data-view=v178-currency]>.v177-preferences {
   width:min(100%,780px);box-sizing:border-box;padding:20px;border:1px solid var(--edition-line,#d7e3ed);
   border-radius:16px;background:var(--edition-surface,#fff);
  }
  html body #app#app#app.connected-shell #page.syngpro-visual-finanzas-config-1[data-view=exchange-settings] .daily-rates {
   display:grid!important;grid-template-columns:minmax(0,1fr);justify-items:start;align-content:start;gap:12px!important;
   width:min(100%,780px)!important;min-height:0!important;height:auto!important;padding:20px!important;
   background:var(--edition-surface,#fff)!important;
  }
  #page.syngpro-visual-finanzas-config-1[data-view=exchange-settings] .daily-rate-values {width:100%;max-width:460px;margin:0}
  #page.syngpro-visual-finanzas-config-1[data-view=exchange-settings] .daily-rate-status {margin:0}
  #page.syngpro-visual-finanzas-config-1 .dnit-heading {margin-bottom:16px}
  #page.syngpro-visual-finanzas-config-1 [type=file]::file-selector-button {
   margin-inline-end:10px;padding:6px 10px;border:1px solid var(--edition-line,#d7e3ed);
   border-radius:6px;background:var(--edition-soft,#eef3f8);color:var(--edition-ink,#142e47);
  }
  #page.syngpro-visual-comprobantes-1 .syngpro-comprobante-importe {
   display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;
  }
  #page.syngpro-visual-comprobantes-1 .syngpro-comprobante-importe small {white-space:nowrap}
 }
 @media screen and (max-width:640px) {
  html body #app#app#app.connected-shell #page.syngpro-submenu-layout .menu-hub-grid {grid-template-columns:minmax(0,1fr)!important}
 }
 /* syngpro-columna-guaranies-1 */
 @media screen {
  #page.syngpro-visual-comprobantes-1[data-view=issued] td[data-label="Guaraníes (Gs.)"] {
   white-space:nowrap;font-variant-numeric:tabular-nums;
  }
 }
 /* syngpro-timbrado-1 */
 @media screen {
  html body #app#app#app #page.dnit-approved :is(.dnit-tabs,.dnit-environment) button:is([aria-selected=true],[aria-pressed=true]),
  html body #app#app#app #page.dnit-approved .dnit-enabled-control input.dnit-toggle:checked {
   background:#ffd04d!important;color:#102638!important;border-color:#d4a430!important;
  }
  html body #app#app#app #page.dnit-approved .dnit-enabled-control input.dnit-toggle:checked+span {color:var(--edition-ink,#142e47)!important}
  html body #app#app#app #page.dnit-approved>.dnit-tabs {
   flex-shrink:0;min-height:48px;height:auto!important;overflow-x:auto;
  }
  html body #app#app#app #page.dnit-approved button.dnit-timbrado-link {
   font:inherit;text-align:start;cursor:pointer;
  }
  html body #app#app#app #page.dnit-approved button.dnit-timbrado-link:hover {
   border-color:#d4a430!important;
  }
  html body #app#app#app #page.dnit-approved button.dnit-timbrado-link:focus-visible {
   outline:2px solid #b58716;outline-offset:2px;
  }
 }
 /* syngpro-fichas-timbrado-1 */
 @media screen {
  html body #app#app#app #page.dnit-approved .dnit-branch-toolbar {
   display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:10px 0 16px;
  }
  #page.dnit-approved .dnit-branch-toolbar>label {flex:1 1 18rem;max-width:32rem;min-width:0}
  #page.dnit-approved .dnit-branch-sheet {
   padding:clamp(12px,2vw,20px);border:1px solid var(--edition-line,#d7e3ed);
   border-radius:12px;
  }
  #page.dnit-approved .dnit-branch-sheet>h3 {margin:0 0 12px;font-size:1rem}
  html body #app#app#app #page.dnit-approved .dnit-branch-sheet .dnit-point-fields {
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  html body #app#app#app #page.dnit-approved .dnit-branch-sheet>.fields>.location-fields {
   display:none!important;
  }
  html body #app#app#app #page.dnit-approved .dnit-branch-sheet>.fields:has([name=branchAddress]) {
   grid-template-columns:minmax(0,1fr)!important;
   margin-bottom:14px;
  }
  html body #app#app#app #page.dnit-approved .dnit-branch-sheet label:has([name=branchAddress]) {
   width:100%!important;max-width:none!important;
  }
 }
 @media screen and (max-width:760px) {
  html body #app#app#app #page.dnit-approved .dnit-branch-sheet .dnit-point-fields {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
 }
 @media screen and (max-width:420px) {
  html body #app#app#app #page.dnit-approved .dnit-branch-sheet .dnit-point-fields {
   grid-template-columns:minmax(0,1fr)!important;
  }
 }
/* syngpro-banderas-cotizacion-1 */
.exchange-rate-field-label {
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.exchange-rate-field-label .edition-currency-flag {
 flex:none;width:22px;height:16px;object-fit:cover;margin:0;
}
/* syngpro-aviso-cotizacion-1 */
.billing-rate-notice:not([hidden]) {
 display:flex;align-items:flex-start;gap:12px;margin:12px 0 0;padding:12px 16px;
 border:1px solid #e9ce8d;border-radius:12px;background:#fff8e8;color:#583d18;
 font-size:14px;line-height:1.45;
}
.billing-rate-notice-icon {
 display:grid;place-items:center;flex:0 0 24px;height:24px;
 border-radius:50%;background:#fae5ab;color:#664512;font-weight:800;
}
.billing-rate-notice-copy {display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
html[data-theme=dark] .billing-rate-notice:not([hidden]) {
 border-color:#78613b;background:#30291e;color:#f5deb1;
}
/* syngpro-ancho-aviso-cotizacion-1 */

/* syngpro-selector-idioma-1 */
#app .connected-actions .sy-home-language {
 width:auto;max-width:min(190px,42vw);min-height:40px;
 padding:6px 9px;border:1px solid #ffffff38;border-radius:10px;
 background:#163450;color:#f4f8fc;font:inherit;font-size:13px;
}
#app .connected-actions .sy-home-language:focus-visible {
 outline:2px solid #ffd04d;outline-offset:2px;
}

/* syngpro-idioma-inicio-1 */
html[lang="pt-BR"] body #app.edition-cdc .v1-reference-home .billing-section-heading h2::before{content:'VENDAS'}
html[lang="en"] body #app.edition-cdc .v1-reference-home .billing-section-heading h2::before{content:'SALES'}

/* syngpro-azul-modo-noche-1 */
@media screen {
 html[data-theme=dark]:has(#app.connected-shell),
 html[data-theme=dark] body:has(#app.connected-shell) {
  background-color:#071523;
 }
 html[data-theme=dark] body #app.connected-shell {
  --edition-bg:#071523;
  --billing-page:#071523;
  --ux-canvas:#071523;
  --ux-bg:#071523;
  background-color:#071523;
 }
 html[data-theme=dark] body #app.connected-shell #page.v1-reference-home {
  background-color:transparent;
 }
}

/* syngpro-emision-modo-noche-1 */
@media screen {
 html[data-theme=dark] body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-design:is(:has(.sales-products),:has(.v177-credit-products),.receipt-design) {
  --sheet-paper:#102334;
  --sheet-ink:#edf5fc;
  --sheet-edge:#354d61;
  --sheet-blue:linear-gradient(110deg,#071523,#10283d 65%,#173b59);
  color:var(--sheet-ink);
 }
}

/* syngpro-selector-fondo-cuenta-1 */
@media screen {
 html body #app.connected-shell .connected-top .connected-actions > select.sy-home-language {
  background-color:rgb(255 255 255 / 4%) !important;
  border-color:rgb(255 255 255 / 15%) !important;
  color:#edf5fc !important;
  color-scheme:dark;
 }
 html body #app.connected-shell .connected-top .connected-actions > select.sy-home-language option {
  background-color:#10283d;
  color:#edf5fc;
 }
}

/* syngpro-emision-fila-cliente-1 */
@media screen {
 html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item>button.sales-remove-item {
  display:grid!important;place-items:center;align-self:center!important;justify-self:center;
  width:34px;height:34px;padding:0!important;color:#bc3250!important;
  border:1px solid var(--edition-line)!important;border-radius:8px;background:transparent!important;
 }
 html[data-theme=dark] body #app.edition-cdc #page#page.sales-design .sales-products .invoice-item>button.sales-remove-item {color:#ff9db1!important}
 html body #app.edition-cdc #page#page.sales-design .sales-remove-item svg{width:17px;height:17px;pointer-events:none}
 html body #app.edition-cdc #page#page.sales-design .sales-remove-item:hover{background:#bf304519!important}
 html body #app.edition-cdc #page#page.sales-compact .compact-operation[hidden]{display:none!important}
 html body #app.edition-cdc #page#page.sales-compact .sales-address>summary{display:flex;align-items:center;gap:10px;min-width:0}
 html body #app.edition-cdc #page#page.sales-compact .sales-address-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--edition-ink)}
 html body #app.edition-cdc #page#page.sales-compact .sales-address-edit{flex:none;font-weight:650;text-decoration:underline}
 html body #app.edition-cdc #page#page.sales-compact .sales-address[open] .invoice-client-address{background:var(--sheet-paper,var(--edition-surface,#fff))}
}
@media screen and (min-width:901px) {
 html body #app.edition-cdc #page#page.sales-design .sales-products .v178-simple-item{align-items:center!important}
 html body #app.edition-cdc #page#page.sales-design .sales-products .invoice-line-amount{align-self:center!important;margin-block:0!important}
 html body #app.edition-cdc #page#page.sales-design .sales-products .v178-unit-price input{padding-inline-end:0!important}
 html body #app.edition-cdc #page#page.sales-design .sales-columns span:nth-last-child(2){text-align:right}
 html body #app.edition-cdc:not(.v0-shell) #page#page.v177-workspace.sales-compact .v177-customer {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto minmax(0,1.25fr)!important;
 }
}

/* syngpro-casilla-direccion-emision-1 */
@media screen {
 html body #app#app.connected-shell #page#page.sales-compact .compact-client-extra {
  display:flex;align-items:center;gap:8px;min-width:0;
 }
 html body #app#app.connected-shell #page#page.sales-compact .compact-client-extra::before {
  content:"Dirección";flex:none;font-size:12px;font-weight:550;
 }
 html body #app#app.connected-shell #page#page.sales-compact .compact-client-extra .sales-address {
  flex:1;min-width:0;
 }
 html body #app#app.connected-shell #page#page.sales-compact .sales-address > summary {
  display:flex;align-items:center;gap:0;min-height:36px;padding:0!important;
  border:1px solid var(--edition-line,#d7e2ec);border-radius:8px;
  background:var(--edition-soft,#f2f5f9);font-size:13px;
 }
 html body #app#app.connected-shell #page#page.sales-compact .sales-address-preview {
  flex:1;min-width:0;padding-inline:10px;
 }
 html body #app#app.connected-shell #page#page.sales-compact .sales-address-edit {
  align-self:stretch;display:flex;align-items:center;padding-inline:9px;
  border-inline-start:1px solid var(--edition-line,#d7e2ec);font-size:11px;text-decoration:none;
 }
 html body #app#app.connected-shell #page#page.sales-compact .sales-address > summary:focus-visible {
  outline:2px solid var(--ux-focus,#ad801e);outline-offset:2px;
 }
 html body #app#app.connected-shell #page#page.sales-compact .sales-address[open] .invoice-client-address {
  top:calc(100% + 4px);
 }
}
@media screen and (max-width:900px) {
 html body #app#app.connected-shell #page#page.sales-compact .compact-client-extra {
  grid-column:1/-1!important;grid-row:auto!important;
 }
}

/* syngpro-altura-campos-cliente-1 */
@media screen {
 html body #app#app.connected-shell #page#page.sales-compact .v177-customer {
  --customer-control-height:46px;
 }
 html body #app#app.connected-shell #page#page.sales-compact .v177-customer :is(.v177-identity,.compact-client-extra .sales-address > summary),
 html body #app#app.connected-shell #page#page.sales-compact .v177-customer > label > input:not([type=hidden]):not([type=checkbox]) {
  box-sizing:border-box;
  height:var(--customer-control-height)!important;
  min-height:var(--customer-control-height)!important;
  font-size:15px!important;
 }
 html body #app#app.connected-shell #page#page.sales-compact .v177-customer .v177-identity > :is(input:not([type=hidden]),button) {
  height:100%!important;min-height:0!important;
 }
}

/* syngpro-v0-ancho-listados-1 */
@media screen and (min-width:900px) {
 html body #app#app#app.v0-shell #page:is([aria-label="Clientes"],[aria-label="Productos y servicios"],:has(select[name="documentKind"])) {
  box-sizing:border-box;
  width:calc(100% - 48px)!important;
  max-width:1640px!important;
  margin-inline:auto!important;
  padding-inline:0!important;
 }
}

/* SYNGPRO Compras: menu separado v1 */
@media screen {
  html body #app#app.connected-shell:has(> #page.purchase-page .purchase-sheet) {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100dvh - 20px);
    min-height: 0 !important;
    padding-block: 0 !important;
    overflow: hidden !important;
  }

  html body #app#app.connected-shell > #page.purchase-page:has(.purchase-sheet) {
    grid-row: 1;
    min-height: 0 !important;
    max-height: none !important;
    overflow: auto !important;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scroll-padding-block: 12px;
    padding-bottom: 12px !important;
  }

  html body #app#app.connected-shell:has(> #page.purchase-page .purchase-sheet) > .connected-bottom {
    grid-row: 2;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    justify-self: center;
    margin: 8px auto max(8px, env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* SYNGPRO Compras: menu separado v2 */
@media screen {
  html body #app#app#app.connected-shell:has(> #page.purchase-page .purchase-sheet) {
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    height: calc(100dvh - 20px) !important;
    min-height: 0 !important;
    padding-block: 0 !important;
    overflow: hidden !important;
  }

  html body #app#app#app.connected-shell > #page#page.purchase-page:has(.purchase-sheet) {
    flex: 1 1 0 !important;
    align-self: stretch;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: auto !important;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scroll-padding-block: 12px;
    padding-bottom: 12px !important;
  }

  html body #app#app#app.connected-shell:has(> #page.purchase-page .purchase-sheet) > .connected-bottom {
    flex: 0 0 auto !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    align-self: center;
    margin: 8px auto max(8px, env(safe-area-inset-bottom, 0px)) !important;
  }
}
