:root{--gc-bg:#f6f7f9;--gc-surface:#fff;--gc-text:#1c2430;--gc-muted:#5f6b7a;--gc-border:#dde2e8;--gc-accent:var(--group-accent,#2563eb);--gc-error:#b42318}*{box-sizing:border-box}body{background:var(--gc-bg);color:var(--gc-text);margin:0;font-family:system-ui,sans-serif}a{color:var(--gc-accent)}.gc-center{place-items:center;min-height:100vh;padding:16px;display:grid}.gc-card{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;width:100%;max-width:380px;padding:24px}.gc-card h1{margin:0 0 4px;font-size:1.4rem}.gc-muted{color:var(--gc-muted)}.gc-form{gap:12px;margin-top:16px;display:grid}.gc-form label{gap:4px;font-size:.9rem;display:grid}.gc-form input{border:1px solid var(--gc-border);font:inherit;border-radius:6px;padding:8px 10px}.gc-form button{background:var(--gc-accent);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:6px;padding:10px}.gc-error{color:var(--gc-error);margin:0}.gc-list{gap:8px;padding:0;list-style:none;display:grid}.gc-list a{border:1px solid var(--gc-border);border-radius:6px;padding:10px 12px;text-decoration:none;display:block}.gc-link{color:var(--gc-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.gc-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--gc-accent);margin:0 0 4px;font-size:.75rem;font-weight:600}.gc-login{border-top:4px solid var(--gc-accent)}.gc-app{--gc-side-w:256px;--gc-side-bg:#0f172a;--gc-side-line:#1e293b;--gc-side-text:#cbd5e1;--gc-side-muted:#64748b;grid-template-columns:var(--gc-side-w) minmax(0, 1fr);min-height:100vh;display:grid}.gc-sidebar{background:var(--gc-side-bg);height:100vh;color:var(--gc-side-text);border-right:1px solid var(--gc-side-line);flex-direction:column;display:flex;position:sticky;top:0;overflow-y:auto}.gc-sidebar-head{border-bottom:1px solid var(--gc-side-line);text-align:center;gap:10px;padding:20px 16px 16px;display:grid}.gc-sidebar-brand{color:#fff;font-size:1.15rem;font-weight:700;text-decoration:none}.gc-sidebar-company .gc-company-name{color:var(--gc-side-text);font-weight:600}.gc-sidebar-company .gc-select{background:var(--gc-side-line);color:#fff;cursor:pointer;border-color:#334155;width:100%;padding:7px 10px;font-weight:600}.gc-sidebar-company .gc-select:focus{outline:2px solid var(--gc-accent);outline-offset:1px}.gc-sidebar-company .gc-select option{color:var(--gc-text);background:#fff}.gc-nav{flex-direction:column;gap:4px;padding:16px 10px;display:flex}.gc-nav-item{color:var(--gc-side-text);border-left:3px solid #0000;border-radius:6px;align-items:center;gap:12px;padding:10px 12px;font-size:.95rem;font-weight:600;text-decoration:none;display:flex}.gc-nav-item:hover{background:var(--gc-side-line);color:#fff}.gc-nav-active,.gc-nav-active:hover{background:#1e3a5f;background:color-mix(in srgb, var(--gc-accent) 28%, var(--gc-side-bg));border-left-color:var(--gc-accent);color:#fff}.gc-nav-icon{flex:none;width:20px;height:20px}.gc-nav-group{flex-direction:column;gap:4px;display:flex}.gc-nav-toggle{text-align:left;cursor:pointer;background:0 0;border-top:0;border-bottom:0;border-right:0;width:100%;font-family:inherit}.gc-nav-toggle>span:first-child{flex:1}.gc-nav-toggle .gc-nav-count{margin-left:0}.gc-nav-current{border-left-color:var(--gc-accent);color:#fff}.gc-nav-chevron{flex:none;width:16px;height:16px;transition:transform .15s}.gc-nav-toggle[aria-expanded=true] .gc-nav-chevron{transform:rotate(90deg)}.gc-nav-sub{flex-direction:column;gap:2px;padding-left:10px;display:flex}.gc-nav-sub .gc-nav-item{padding:8px 12px;font-size:.9rem;font-weight:500}.gc-nav-heading{letter-spacing:.08em;text-transform:uppercase;color:var(--gc-side-muted);white-space:nowrap;margin:14px 12px 4px;font-size:.7rem;font-weight:600}.gc-sidebar-backdrop{display:none}.gc-body{flex-direction:column;min-width:0;display:flex}.gc-topbar{background:var(--gc-surface);border-bottom:1px solid var(--gc-border);align-items:center;gap:12px;min-height:64px;padding:10px 24px;display:flex}.gc-menu-button{width:40px;height:40px;color:var(--gc-text);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:none}.gc-menu-button:hover{background:var(--gc-bg)}.gc-menu-button svg{width:24px;height:24px}.gc-topbar-title{flex-direction:column;flex:auto;gap:2px;min-width:0;display:none}.gc-topbar-group{white-space:nowrap;text-overflow:ellipsis;letter-spacing:.06em;text-transform:uppercase;color:var(--gc-muted);font-size:.7rem;font-weight:600;overflow:hidden}.gc-topbar-company{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.gc-user{white-space:nowrap;color:var(--gc-muted);flex:0 auto;align-items:center;gap:10px;min-width:0;margin-left:auto;display:flex}@media (max-width:520px){.gc-user{flex:none}}.gc-avatar{background:var(--gc-accent);color:#fff;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.gc-user-name{color:var(--gc-text);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.gc-main{flex:1;min-width:0;padding:24px}@media (max-width:960px){.gc-app{grid-template-columns:minmax(0,1fr)}.gc-sidebar{z-index:40;width:min(var(--gc-side-w), 85vw);visibility:hidden;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.gc-menu-open .gc-sidebar{visibility:visible;transform:none;box-shadow:4px 0 24px #0000004d}.gc-menu-open .gc-sidebar-backdrop{z-index:30;background:#0f172a73;display:block;position:fixed;inset:0}.gc-menu-button{display:grid}.gc-topbar-title{display:flex}.gc-topbar{padding:10px 16px}}@media (max-width:520px){.gc-user-name{display:none}.gc-topbar{gap:8px;padding:8px 12px}}@media (max-width:960px) and (prefers-reduced-motion:no-preference){.gc-sidebar{transition:transform .2s,visibility .2s}}.gc-company-name{font-weight:500}.gc-select{border:1px solid var(--gc-border);font:inherit;background:var(--gc-surface);color:var(--gc-text);border-radius:6px;padding:6px 8px}.gc-title{margin:0 0 4px;font-size:1.5rem}.gc-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:20px;display:grid}.gc-tile{background:var(--gc-surface);border:1px solid var(--gc-border);color:var(--gc-text);border-radius:8px;padding:16px;text-decoration:none;display:block}a.gc-tile:hover{border-color:var(--gc-accent)}.gc-tile h2{margin:0 0 6px;font-size:1rem}.gc-tile p{color:var(--gc-muted);margin:0;font-size:.9rem}.gc-tile-disabled{opacity:.75}.gc-dash-kpis{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));margin-top:0}.gc-kpi h2{color:var(--gc-muted);font-size:.85rem;font-weight:600}.gc-kpi-value{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.35rem;font-weight:700;display:block}.gc-tile.gc-kpi p{margin-top:4px;font-size:.8rem}.gc-kpi-warn{color:#b54708;font-weight:600}.gc-dash-card{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;min-width:0;padding:16px}.gc-dash-card>.gc-section-title,.gc-dash-title{margin-bottom:12px}.gc-dash-card>p{margin:0}.gc-dash-cols{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.gc-dash-list{margin:0;padding:0;list-style:none}.gc-dash-list li{border-bottom:1px solid var(--gc-border);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;display:flex}.gc-dash-list li:last-child{border-bottom:0;padding-bottom:0}.gc-dash-list .gc-badge{margin-left:8px}.gc-seller-bars{gap:4px;margin:0;padding:0;list-style:none;display:grid}.gc-seller-bar{color:inherit;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:6px 4px;text-decoration:none;display:grid}.gc-seller-bar:hover{background:var(--gc-border)}.gc-seller-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gc-seller-track{background:var(--gc-border);border-radius:3px;grid-column:1/-1;height:6px;overflow:hidden}.gc-seller-fill{background:var(--gc-accent);border-radius:3px;height:100%;display:block}.gc-bars{align-items:stretch;gap:6px;height:150px;display:flex}.gc-bar{flex-direction:column;flex:1 1 0;justify-content:flex-end;align-items:center;min-width:0;display:flex}.gc-bar-fill{background:var(--gc-accent);border-radius:4px 4px 0 0;width:100%;max-width:36px;min-height:2px}.gc-bar-label{color:var(--gc-muted);margin-top:4px;font-size:.7rem}.gc-badge{background:var(--gc-bg);border:1px solid var(--gc-border);color:var(--gc-muted);border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.gc-small{font-size:.85rem}.gc-page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.gc-button{background:var(--gc-accent);color:#fff;white-space:nowrap;border-radius:6px;padding:9px 14px;text-decoration:none;display:inline-block}.gc-table-wrap{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;overflow-x:auto}.gc-table{border-collapse:collapse;width:100%;font-size:.9rem}.gc-table th,.gc-table td{text-align:left;border-bottom:1px solid var(--gc-border);vertical-align:top;padding:10px 12px}.gc-table th{color:var(--gc-muted);background:var(--gc-bg);font-weight:600}.gc-table tr:last-child td{border-bottom:0}@media (max-width:640px){.gc-page-head .gc-actions{flex-wrap:wrap;gap:8px;width:100%}.gc-page-head .gc-actions>*{text-align:center;flex:auto}.gc-table-cards thead{display:none}.gc-table-cards,.gc-table-cards tbody,.gc-table-cards td{display:block}.gc-table-cards tr{border-bottom:1px solid var(--gc-border);flex-direction:column;padding:10px 12px;display:flex}.gc-table-cards tr:last-child{border-bottom:0}.gc-table-cards td{white-space:normal;border:0;padding:2px 0;text-align:left!important}.gc-table-cards td:empty{display:none}.gc-table-cards td[data-label]:before{content:attr(data-label) ": ";color:var(--gc-muted)}.gc-table-cards .gc-card-title{order:-1;font-size:1rem;font-weight:600}.gc-table-cards .gc-card-total{font-weight:600}}.gc-badge-ok{color:#067647;background:#ecfdf3;border-color:#abefc6}.gc-tile .gc-badge{margin-top:10px}.gc-form-wide{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;max-width:720px;padding:20px}.gc-form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.gc-form input[aria-invalid=true]{border-color:var(--gc-error)}.gc-field-error{color:var(--gc-error);font-size:.8rem}.gc-form .gc-check{align-items:center;gap:8px;display:flex}.gc-fieldset{border:1px solid var(--gc-border);border-radius:6px;gap:8px;margin:0;padding:12px;display:grid}.gc-fieldset legend{padding:0 4px;font-size:.9rem;font-weight:600}.gc-form .gc-access-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.gc-fieldset p{margin:0;font-size:.85rem}.gc-actions{align-items:center;gap:16px;display:flex}.gc-form .gc-actions button{padding:10px 16px}.gc-form select{font:inherit;width:100%;min-width:0;padding:8px 10px}.gc-form-row{align-items:start}.gc-form-row>*{min-width:0}.gc-form select[aria-invalid=true]{border-color:var(--gc-error)}.gc-form-row-3{grid-template-columns:repeat(3,1fr)}.gc-field{align-content:start;gap:4px;font-size:.9rem;display:grid}.gc-input-group{gap:6px;display:flex}.gc-input-group input{flex:1;min-width:0}.gc-form .gc-button-secondary,.gc-button-secondary{border:1px solid var(--gc-accent);background:var(--gc-surface);color:var(--gc-accent);font:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;padding:8px 12px}.gc-button-secondary:disabled{border-color:var(--gc-border);color:var(--gc-muted);cursor:default}.gc-form .gc-check-inline{align-self:end;padding-bottom:8px}.gc-search{flex-wrap:wrap;gap:8px;max-width:760px;margin-bottom:12px;display:flex}.gc-search select{flex:none;max-width:100%}.gc-search input{border:1px solid var(--gc-border);min-width:0;font:inherit;border-radius:6px;flex:1;padding:8px 10px}.gc-badge-warn{color:#b54708;background:#fffaeb;border-color:#fedf89}.gc-nowrap{white-space:nowrap}.gc-address{border:1px solid var(--gc-border);border-radius:6px;gap:10px;padding:12px;display:grid}.gc-address-fiscal{border-color:var(--gc-accent)}.gc-address-head{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.gc-address-spacer{flex:1}.gc-form button.gc-link{color:var(--gc-accent);background:0 0;padding:0}.gc-radio-row{flex-wrap:wrap;align-items:center;gap:8px 20px;display:flex}.gc-form textarea{font:inherit;border:1px solid var(--gc-border);resize:vertical;border-radius:6px;padding:8px 10px}.gc-tree-child{padding-left:32px!important}.gc-tree-parent td{background:var(--gc-bg)}.gc-badges{flex-wrap:wrap;gap:4px;display:flex}.gc-clamp{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gc-units td{vertical-align:middle}.gc-units input[type=text]{border:1px solid var(--gc-border);width:100%;min-width:60px;font:inherit;border-radius:6px;padding:6px 8px}.gc-units input[type=date]{border:1px solid var(--gc-border);font:inherit;border-radius:6px;padding:5px 8px}.gc-units input.gc-price{text-align:right}.gc-units input[readonly]{background:var(--gc-bg);color:var(--gc-muted)}.gc-notice{color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:6px;max-width:720px;margin:0 0 12px;padding:8px 12px}.gc-form input[type=file]{padding:6px}.gc-unit-suffix{color:var(--gc-muted);align-self:center;min-width:3em;font-size:.85rem}.gc-num{text-align:right!important}.gc-sale{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px;display:grid}.gc-sale-header{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;flex-wrap:wrap;gap:10px 12px;padding:12px;display:flex}.gc-sale-field{color:var(--gc-muted);align-content:start;gap:3px;min-width:0;font-size:.8rem;display:grid}.gc-sale-field>span:first-child{font-weight:600}.gc-sale-field-grow{flex:240px}.gc-weight-hint{max-width:220px;font-size:.75rem}.gc-sale-break{flex-basis:100%;height:0}.gc-sale input,.gc-sale select{font:inherit;border:1px solid var(--gc-border);background:var(--gc-surface);color:var(--gc-text);border-radius:6px;min-width:0;padding:6px 8px;font-size:.9rem}.gc-sale input:focus,.gc-sale select:focus{outline:2px solid var(--gc-accent);outline-offset:-1px}.gc-sale input:disabled,.gc-sale select:disabled,.gc-sale input[readonly]{background:var(--gc-bg);color:var(--gc-muted)}.gc-sale [aria-invalid=true]{border-color:var(--gc-error)}.gc-sale-series{text-transform:uppercase;width:5.5em}.gc-sale-number{width:7em}.gc-sale-short{width:5.5em}.gc-modal:has(.gc-pdf-view){max-width:900px;max-height:calc(100vh - 32px)}.gc-modal:has(.gc-preview){grid-template-rows:auto minmax(0,1fr) auto;max-width:860px;max-height:calc(100dvh - 32px)}.gc-preview{background:#e5e7eb;border-radius:6px;justify-items:center;gap:12px;min-height:200px;max-height:calc(100dvh - 170px);padding:12px;display:grid;overflow-y:auto}.gc-preview-page{aspect-ratio:210/297;background:#fff;width:100%;max-width:794px;height:auto;box-shadow:0 1px 4px #0003}.gc-print-sheet{display:none}.gc-company-logo{border:1px dashed var(--gc-border);box-sizing:border-box;background:#fff;border-radius:8px;place-items:center;width:220px;max-width:100%;height:120px;padding:8px;display:grid;overflow:hidden}.gc-company-logo img{object-fit:contain;width:auto;max-width:204px;height:auto;max-height:104px;display:block}.gc-saved-print{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.gc-saved-print .gc-button{font:inherit;cursor:pointer;border:0;padding:6px 14px}@media (max-width:640px){.gc-modal-backdrop:has(.gc-preview){padding:0}.gc-modal:has(.gc-preview){border-radius:0;height:100dvh;max-height:100dvh;padding:12px}.gc-preview{max-height:none;padding:6px}}@media print{@page{size:A4;margin:0}body.gc-printing-document>:not(.gc-print-sheet){display:none!important}body.gc-printing-document{background:#fff;margin:0}body.gc-printing-document .gc-print-sheet{display:block}.gc-print-sheet img{break-after:page;width:210mm;height:297mm;display:block}.gc-print-sheet img:last-child{break-after:auto}}.gc-pdf-view iframe{border:1px solid var(--gc-border);background:#fff;border-radius:6px;width:100%;height:min(75vh,1100px)}.gc-modal .gc-actions .gc-button{font:inherit;cursor:pointer;border:0}.gc-guide-sunat{justify-items:start;gap:3px;min-width:10em;max-width:22em;display:grid}.gc-sale-sunat-compact{min-width:0;max-width:11em}.gc-badge-error{color:var(--gc-error);background:#fef3f2;border-color:#fecdca}.gc-guide-check{color:var(--gc-text);align-items:center;gap:6px;padding:6px 0;font-size:.9rem;display:flex}.gc-sale-document{width:10em}.gc-sale-body{grid-template-columns:minmax(0,1fr) 340px;gap:12px;display:grid}.gc-sale-search{grid-template-rows:auto 1fr;gap:8px;min-width:0;display:grid}.gc-sale-search-box{align-items:center;gap:8px;display:flex}.gc-sale-search-box input{flex:1;padding:9px 10px;font-size:1rem}.gc-sale-products,.gc-sale-options{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;outline:none;flex-direction:column;max-height:260px;display:flex;overflow-y:auto}.gc-sale-product{text-align:left;border:0;border-bottom:1px solid var(--gc-border);font:inherit;color:var(--gc-text);cursor:pointer;background:0 0;grid-template-columns:8em minmax(0,1fr) auto;align-items:baseline;gap:10px;padding:6px 10px;font-size:.9rem;display:grid}.gc-sale-options .gc-sale-product{grid-template-columns:minmax(0,1fr) auto}.gc-sale-options .gc-sale-product:has(.gc-sale-product-code){grid-template-columns:11em minmax(0,1fr)}.gc-sale-product-active{background:color-mix(in srgb, var(--gc-accent) 14%, transparent)}.gc-sale-lines tr.gc-sale-line-active td{background:color-mix(in srgb, var(--gc-accent) 10%, transparent)}.gc-sale-panel-from{color:var(--gc-accent);margin:0 0 2px;font-weight:600}.gc-sale-mini tr.gc-sale-lot-chosen td{background:color-mix(in srgb, var(--gc-accent) 12%, transparent);font-weight:700}.gc-sale-product-code{color:var(--gc-muted);font-variant-numeric:tabular-nums}.gc-sale-product-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gc-sale-empty{text-align:center;margin:0;padding:10px}.gc-sale-panel{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;max-height:312px;padding:12px;font-size:.9rem;overflow-y:auto}.gc-sale-panel h3{margin:0;font-size:1rem}.gc-sale-panel h4{color:var(--gc-muted);text-transform:uppercase;letter-spacing:.04em;margin:12px 0 4px;font-size:.85rem}.gc-sale-panel p{margin:2px 0}.gc-sale-mini{border-collapse:collapse;width:100%;margin-top:8px;font-size:.85rem}.gc-sale-mini th,.gc-sale-mini td{border-bottom:1px solid var(--gc-border);text-align:left;padding:4px 6px}.gc-sale-mini th{color:var(--gc-muted);font-weight:600}.gc-sale-stock{color:#067647;font-size:1.05rem;font-weight:700}.gc-sale-stock-empty{color:var(--gc-error)}.gc-sale-detail-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.gc-sale-detail-head h2{margin:0;font-size:1.05rem}.gc-sale-detail-head .gc-check{align-items:center;gap:6px;font-size:.9rem;display:flex}.gc-sale-lines{font-size:.85rem}.gc-sale-lines th,.gc-sale-lines td{vertical-align:middle;white-space:nowrap;padding:5px 6px}.gc-sale-lines td.gc-sale-line-name{white-space:normal;min-width:180px}.gc-sale-lines td.gc-num{font-variant-numeric:tabular-nums}.gc-sale-cell{text-align:right;font-variant-numeric:tabular-nums;width:6.5em;padding:4px 6px!important}.gc-sale-lines select{max-width:9em;padding:4px 6px}.gc-sale-change{margin-left:6px;font-size:.8rem}.gc-sale-remove{color:var(--gc-error)}.gc-sale-footer{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.gc-sale-actions{gap:8px;display:grid}.gc-sale-actions .gc-button{font:inherit;cursor:pointer;border:0}.gc-sale-actions .gc-button:disabled{opacity:.6;cursor:default}.gc-sale-totals{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;grid-template-columns:auto 11em;gap:4px 16px;min-width:280px;margin:0;padding:12px 16px;display:grid}.gc-sale-totals dt{color:var(--gc-muted)}.gc-sale-totals dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.gc-sale-totals .gc-sale-total{color:var(--gc-text);border-top:1px solid var(--gc-border);padding-top:4px;font-size:1.1rem;font-weight:700}.gc-modal-backdrop{z-index:50;background:#00000059;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.gc-modal{background:var(--gc-surface);border-radius:8px;gap:10px;width:100%;max-width:560px;padding:16px;display:grid;box-shadow:0 10px 30px #0003}.gc-modal-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.gc-modal-head h2{margin:0;font-size:1.05rem}.gc-modal .gc-sale-options{max-height:320px}.gc-sale-modal-search{border:1px solid var(--gc-border);width:100%;font:inherit;border-radius:6px;padding:8px 10px}.gc-modal p{margin:0}@media (max-width:900px){.gc-sale-body{grid-template-columns:1fr}}@media (max-width:720px){.gc-form-row,.gc-form-row-3{grid-template-columns:1fr}.gc-main{padding:16px}}.gc-m-sale{gap:12px;margin-top:8px;font-size:16px;display:grid}.gc-m-sale input,.gc-m-sale select,.gc-m-sale textarea{font:inherit;border:1px solid var(--gc-border);background:var(--gc-surface);min-height:48px;color:var(--gc-text);box-sizing:border-box;border-radius:10px;width:100%;min-width:0;padding:10px 12px;font-size:16px}.gc-m-sale textarea{resize:vertical;min-height:72px}.gc-m-sale [aria-invalid=true]{border-color:var(--gc-error)}.gc-m-sale button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.gc-m-steps{z-index:5;background:var(--gc-bg);grid-template-columns:repeat(3,1fr);gap:6px;padding:4px 0;display:grid;position:sticky;top:0}.gc-m-step{border:1px solid var(--gc-border);background:var(--gc-surface);min-height:48px;color:var(--gc-text);border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:6px;font-size:.95rem;font-weight:600;display:flex}.gc-m-step-number{background:var(--gc-bg);width:22px;height:22px;color:var(--gc-muted);border-radius:50%;place-items:center;font-size:.8rem;display:inline-grid}.gc-m-step-active{border-color:var(--gc-accent);background:var(--gc-accent);color:#fff}.gc-m-step-active .gc-m-step-number{color:var(--gc-accent);background:#fff}.gc-m-step-error{border-color:var(--gc-error)}.gc-m-step-error:not(.gc-m-step-active){color:var(--gc-error)}.gc-m-step-ok{color:#067647}.gc-m-step-active .gc-m-step-ok{color:#fff}.gc-m-count{background:var(--gc-accent);color:#fff;box-sizing:border-box;border-radius:11px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:.8rem;font-weight:700;display:inline-grid}.gc-m-step-active .gc-m-count{color:var(--gc-accent);background:#fff}.gc-m-section{gap:12px;display:grid}.gc-m-heading{text-transform:uppercase;letter-spacing:.06em;color:var(--gc-muted);margin:8px 0 0;font-size:.8rem}.gc-m-choices{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;display:grid}.gc-m-choice{border:1px solid var(--gc-border);background:var(--gc-surface);min-height:52px;color:var(--gc-text);border-radius:10px;padding:8px 10px;font-weight:600}.gc-m-choice-tall{text-align:left;gap:2px;font-size:.9rem;font-weight:400;display:grid}.gc-m-choice-tall strong{font-size:1rem}.gc-m-choice-active{border:2px solid var(--gc-accent);background:color-mix(in srgb, var(--gc-accent) 12%, var(--gc-surface));color:var(--gc-accent)}.gc-m-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.gc-m-field{min-width:0;color:var(--gc-muted);align-content:start;gap:4px;font-size:.85rem;display:grid}.gc-m-field>span:first-child{font-weight:600}.gc-m-full{grid-column:1/-1}.gc-m-sale .gc-m-search{min-height:52px;font-size:17px}.gc-m-list{gap:8px;display:grid}.gc-m-card{border:1px solid var(--gc-border);background:var(--gc-surface);width:100%;min-height:64px;color:var(--gc-text);text-align:left;box-sizing:border-box;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:12px 14px;display:grid}.gc-m-card:disabled{opacity:.5}button.gc-m-card:active{background:color-mix(in srgb, var(--gc-accent) 10%, var(--gc-surface))}.gc-m-card-selected{border:2px solid var(--gc-accent)}.gc-m-card-error{border-color:var(--gc-error)}.gc-m-card-main{gap:2px;min-width:0;display:grid}.gc-m-card-main strong{overflow-wrap:anywhere}.gc-m-card-main .gc-muted{font-size:.85rem}.gc-m-card-side{white-space:nowrap;font-variant-numeric:tabular-nums;justify-items:end;gap:4px;display:grid}.gc-m-stock{color:#067647;font-size:.85rem;font-weight:600}.gc-m-nostock{color:var(--gc-error);font-size:.85rem}.gc-m-empty{text-align:center;margin:0;padding:16px}.gc-m-link{color:var(--gc-accent);background:0 0;border:0;padding:8px;font-weight:600}.gc-m-line{grid-template-columns:minmax(0,1fr) 48px;gap:0;padding:0}.gc-m-line-body{color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0 12px 14px;display:grid}.gc-m-remove{color:var(--gc-error);background:0 0;border:0;align-self:stretch;font-size:1.1rem}.gc-m-more{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:12px;padding:0 14px}.gc-m-more summary{cursor:pointer;align-items:center;min-height:48px;font-weight:600;display:flex}.gc-m-more[open]{gap:12px;padding-bottom:14px;display:grid}.gc-m-toggle{align-items:center;gap:10px;min-height:48px;display:flex}.gc-m-sale .gc-m-toggle input{flex:none;width:24px;height:24px;min-height:24px}.gc-m-totals{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:12px;grid-template-columns:1fr auto;gap:6px 16px;margin:0;padding:14px;display:grid}.gc-m-totals dt{color:var(--gc-muted)}.gc-m-totals dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.gc-m-bar{z-index:5;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--gc-surface);border-top:1px solid var(--gc-border);gap:6px;margin:0 -16px -16px;display:grid;position:sticky;bottom:0;box-shadow:0 -4px 12px #0000000f}.gc-m-bar-error{font-size:.9rem}.gc-m-bar-row,.gc-m-sheet-foot{align-items:center;gap:10px;display:flex}.gc-m-bar-total{margin-right:auto;display:grid}.gc-m-bar-total .gc-muted{font-size:.8rem}.gc-m-bar-total strong{font-variant-numeric:tabular-nums;font-size:1.3rem}.gc-m-primary{background:var(--gc-accent);color:#fff;border:0;border-radius:12px;min-height:52px;padding:0 22px;font-size:1.05rem;font-weight:700}.gc-m-primary:disabled{opacity:.6}a.gc-m-primary{box-sizing:border-box;place-items:center;text-decoration:none;display:inline-grid}.gc-m-secondary{border:1px solid var(--gc-accent);background:var(--gc-surface);min-height:52px;color:var(--gc-accent);box-sizing:border-box;border-radius:12px;place-items:center;padding:0 18px;font-weight:600;text-decoration:none;display:inline-grid}.gc-m-danger{border-color:var(--gc-error);color:var(--gc-error)}.gc-m-warning{color:#b54708;margin:0;font-size:.9rem}.gc-m-stepper{grid-template-columns:48px minmax(0,1fr) 48px;gap:6px;display:grid}.gc-m-stepper button{border:1px solid var(--gc-border);background:var(--gc-bg);min-height:48px;color:var(--gc-text);border-radius:10px;font-size:1.4rem;font-weight:700}.gc-m-sale .gc-m-stepper input{text-align:center;font-variant-numeric:tabular-nums;padding:10px 4px}.gc-m-sale .gc-m-price{text-align:right;font-variant-numeric:tabular-nums}.gc-m-sheet-backdrop{z-index:60;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.gc-m-sheet{background:var(--gc-surface);box-sizing:border-box;border-radius:16px 16px 0 0;gap:14px;width:100%;max-width:560px;max-height:92vh;padding:16px 16px 0;display:grid;overflow-y:auto;box-shadow:0 -10px 30px #0003}.gc-m-sheet-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.gc-m-sheet-head h2{margin:0;font-size:1.15rem}.gc-m-sheet-head p{margin:2px 0 0;font-size:.85rem}.gc-m-close{background:var(--gc-bg);width:44px;height:44px;color:var(--gc-text);border:0;border-radius:50%;flex:none;font-size:1.1rem}.gc-m-group{gap:8px;display:grid}.gc-m-group h3{text-transform:uppercase;letter-spacing:.06em;color:var(--gc-muted);margin:0;font-size:.8rem}.gc-m-sheet-foot{background:var(--gc-surface);padding:10px 0 calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--gc-border);position:sticky;bottom:0}.gc-m-done{text-align:center;background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:16px;justify-items:center;gap:12px;padding:32px 16px;display:grid}.gc-m-done h2,.gc-m-done p{margin:0}.gc-m-done-check{color:#fff;background:#067647;border-radius:50%;place-items:center;width:64px;height:64px;font-size:2rem;display:grid}.gc-m-done-total{font-variant-numeric:tabular-nums;font-size:1.8rem;font-weight:700}.gc-m-done .gc-m-primary,.gc-m-done .gc-m-secondary{width:100%;max-width:320px}.gc-qc{border-top:1px solid var(--gc-border);gap:10px;padding-top:12px;display:grid}.gc-qc-title{margin:0;font-size:1rem}.gc-qc-row{gap:10px;display:grid}.gc-qc-document{grid-template-columns:minmax(90px,1fr) 3fr}.gc-qc-ubigeo{grid-template-columns:repeat(3,minmax(0,1fr))}.gc-qc .gc-sale-field input,.gc-qc .gc-sale-field select{box-sizing:border-box;width:100%;padding:8px 10px}.gc-qc .gc-qc-submit{font:inherit;cursor:pointer;text-align:center;border:0;padding:10px 14px;font-weight:600}.gc-qc .gc-qc-submit:disabled{opacity:.6;cursor:default}.gc-qc .gc-qc-close{justify-self:start}.gc-modal:has(.gc-qc){max-height:calc(100vh - 32px);overflow-y:auto}.gc-m-sale .gc-m-qc{display:block}.gc-qc-touch{border-top:0;gap:12px;padding-top:0}.gc-qc-touch .gc-qc-ubigeo{grid-template-columns:1fr}.gc-qc-touch .gc-m-primary{width:100%}.gc-qc-touch .gc-m-link{justify-self:center}.gc-topbar-page{align-items:center;min-width:0;display:flex}.gc-topbar-page:empty{display:none}.gc-sale-view-switch{white-space:nowrap;flex:none;margin-left:12px}.gc-topbar-page-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:1.35rem;overflow:hidden}.gc-topbar:has(.gc-topbar-page:not(:empty)) .gc-topbar-title{display:none}.gc-topbar:has(.gc-topbar-page:not(:empty)) .gc-topbar-page{flex:auto}.gc-section-gap{margin-top:24px}.gc-section-title{margin:0;font-size:1.1rem}.gc-qc-lookup{gap:6px;display:flex}.gc-qc-lookup input{flex:1;min-width:0}.gc-qc-search{border:1px solid var(--gc-accent);background:var(--gc-accent);color:#fff;cursor:pointer;border-radius:6px;flex:none;place-items:center;width:40px;display:grid}.gc-qc-search svg{width:18px;height:18px}.gc-qc-search:disabled{opacity:.6;cursor:default}.gc-qc-touch .gc-qc-search{border-radius:10px;width:52px}.gc-qc-existing{color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:8px;gap:8px;padding:10px 12px;display:grid}.gc-shop{background:var(--gc-bg);min-height:100vh}.gc-shop-top{z-index:10;background:var(--gc-surface);border-bottom:1px solid var(--gc-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex;position:sticky;top:0}.gc-shop-brand{color:var(--gc-text);font-size:1.15rem;font-weight:700;text-decoration:none}.gc-shop-nav{align-items:center;gap:16px;display:flex}.gc-shop-nav a{color:var(--gc-muted);font-weight:600;text-decoration:none}.gc-shop-nav a.gc-shop-nav-active{color:var(--gc-accent)}.gc-shop-main{gap:20px;max-width:1200px;margin:0 auto;padding:20px 16px 96px;display:grid}.gc-shop-heading{margin:0 0 12px;font-size:1.15rem}.gc-shop-filters{gap:10px;margin-bottom:12px;display:grid}.gc-shop-filters input{font:inherit;border:1px solid var(--gc-border);background:var(--gc-surface);border-radius:10px;max-width:420px;padding:10px 12px;font-size:16px}.gc-shop-chips{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.gc-shop-chip{border:1px solid var(--gc-border);background:var(--gc-surface);color:var(--gc-text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;padding:8px 14px}.gc-shop-chip-active{background:var(--gc-accent);border-color:var(--gc-accent);color:#fff}.gc-shop-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;display:grid}.gc-shop-card{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:12px;grid-template-rows:auto 1fr;display:grid;overflow:hidden}.gc-shop-photo{aspect-ratio:1;border-bottom:1px solid var(--gc-border);background:#fff;place-items:center;display:grid}.gc-shop-photo img{object-fit:contain;width:100%;height:100%}.gc-shop-nophoto{color:var(--gc-border);font-size:3rem;font-weight:700}.gc-shop-card-body{align-content:start;gap:6px;padding:12px;display:grid}.gc-shop-card-body h3{margin:0;font-size:.95rem;line-height:1.3}.gc-shop-card-body select{font:inherit;border:1px solid var(--gc-border);background:var(--gc-surface);border-radius:8px;padding:6px 8px;font-size:.9rem}.gc-shop-price{color:var(--gc-accent);margin:0;font-size:1.15rem;font-weight:700}.gc-shop-add{align-items:center;gap:8px;display:flex}.gc-shop-qty{border:1px solid var(--gc-border);border-radius:8px;align-items:center;display:inline-flex;overflow:hidden}.gc-shop-qty button{background:var(--gc-bg);width:34px;height:36px;font:inherit;cursor:pointer;border:0;font-size:1.1rem}.gc-shop-qty span{text-align:center;font-variant-numeric:tabular-nums;min-width:32px}.gc-shop-add-button{font:inherit;cursor:pointer;text-align:center;border:0;flex:1;font-weight:600}.gc-shop-cart-button{z-index:20;background:var(--gc-accent);color:#fff;max-width:calc(100% - 32px);font:inherit;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border:0;border-radius:999px;padding:14px 22px;font-weight:700;position:fixed;bottom:16px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 6px 20px #00000040}.gc-shop-cart-lines{gap:10px;margin:0;padding:0;list-style:none;display:grid}.gc-shop-cart-lines li{border-bottom:1px solid var(--gc-border);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding-bottom:10px;display:grid}.gc-shop-notes{color:var(--gc-muted);gap:4px;font-size:.9rem;display:grid}.gc-shop-notes textarea{font:inherit;border:1px solid var(--gc-border);border-radius:8px;padding:8px 10px;font-size:16px}.gc-order-pending{color:#b54708;background:#fffaeb;border-color:#fedf89}.gc-order-invoiced{color:#067647;background:#ecfdf3;border-color:#abefc6}.gc-order-rejected{color:var(--gc-error);background:#fef3f2;border-color:#fecdca}.gc-tabs{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.gc-tab{border:1px solid var(--gc-border);color:var(--gc-text);background:var(--gc-surface);border-radius:999px;padding:7px 14px;text-decoration:none}.gc-tab-active{background:var(--gc-accent);border-color:var(--gc-accent);color:#fff}.gc-button-secondary.gc-danger{border-color:var(--gc-error);color:var(--gc-error)}.gc-product-photo{border:1px solid var(--gc-border);background:#fff;border-radius:8px;place-items:center;width:180px;height:180px;display:grid;overflow:hidden}.gc-product-photo img{object-fit:contain;width:100%;height:100%}.gc-sale-order{margin:0}@media (max-width:520px){.gc-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gc-shop-add{flex-direction:column;align-items:stretch}.gc-shop-qty{justify-content:space-between}}.gc-nav-count{color:#fff;text-align:center;background:#dc2626;border-radius:999px;min-width:22px;margin-left:auto;padding:1px 7px;font-size:.75rem;font-weight:700}.gc-menu-button{position:relative}.gc-menu-dot{border:2px solid var(--gc-surface);background:#dc2626;border-radius:50%;width:10px;height:10px;position:absolute;top:6px;right:6px}.gc-order-alert{z-index:45;background:var(--gc-surface);border:1px solid var(--gc-border);border-left:4px solid #dc2626;border-radius:8px;width:min(360px,100vw - 32px);padding:14px 16px;position:fixed;top:72px;right:16px;box-shadow:0 10px 30px #0f172a2e}.gc-order-alert-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.gc-order-alert-close{color:var(--gc-muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:1.4rem;line-height:1}.gc-order-alert-list{gap:4px;margin:8px 0;padding-left:20px;font-size:.9rem;display:grid}.gc-order-alert p{margin:0 0 8px;font-size:.85rem}.gc-order-alert-all{font-weight:600}.gc-formula-link{color:var(--gc-muted);opacity:.45;border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-flex}.gc-formula-link svg{flex:none;width:18px;height:18px}.gc-formula-link:hover,.gc-formula-link:focus-visible{opacity:1;border-color:var(--gc-border)}.gc-formula-on{opacity:1;color:#067647;background:#ecfdf3;border-color:#abefc6}.gc-formula-form{max-width:980px}.gc-formula-lines{overflow:visible}.gc-formula-lines td:first-child{width:55%}.gc-picker{position:relative}.gc-picker>input[role=combobox]{width:100%}.gc-picker-required{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;bottom:0;left:12px;border:0!important;padding:0!important}.gc-picker-list{z-index:30;background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;max-height:340px;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 2px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #10182824}.gc-picker-list li{cursor:pointer;border-radius:6px;gap:1px;padding:6px 8px;display:grid}.gc-picker-list li.gc-picker-active{background:var(--gc-bg)}.gc-input-group>.gc-suggest{flex:1;min-width:0}.gc-suggest .gc-picker-list{min-width:min(18rem,100vw - 32px);max-width:calc(100vw - 32px);right:auto}.gc-picker-list li.gc-picker-empty{cursor:default;color:var(--gc-muted);font-size:.85rem}.gc-warning{color:#b54708;background:#fffaeb;border:1px solid #fedf89;border-radius:6px;margin:0 0 12px;padding:8px 12px}.gc-sunat-alert{background:#fef3f2;border:1px solid #fecdca;border-radius:6px;margin:0 0 12px;padding:8px 12px}.gc-row-short td{background:#fff4ed}.gc-row-short td strong{color:var(--gc-error)}.gc-shortage-text{color:#b54708;margin-top:2px}.gc-subtitle{margin:24px 0 8px;font-size:1.05rem}.gc-profiles{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;display:grid}.gc-form button.gc-profile{text-align:left;border:1px solid var(--gc-border);background:var(--gc-surface);color:var(--gc-text);font:inherit;cursor:pointer;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.gc-form button.gc-profile .gc-muted{color:var(--gc-muted)}.gc-form button.gc-profile:hover{border-color:var(--gc-accent)}.gc-form button.gc-profile-active{background:var(--gc-accent);border-color:var(--gc-accent);color:#fff}.gc-form button.gc-profile-active .gc-muted{color:#fff;opacity:.92}.gc-permission{align-items:flex-start}.gc-permission input{margin-top:3px}.gc-sales-filters{align-items:flex-end;max-width:none}.gc-sales-filters label{color:var(--gc-muted);gap:2px;font-size:.8rem;display:grid}.gc-sales-filters input[type=date]{flex:none}.gc-sales-filters input[type=search]{flex:280px}.gc-sales-filters select{border:1px solid var(--gc-border);font:inherit;background:var(--gc-surface);color:var(--gc-text);border-radius:6px;padding:8px 10px}.gc-sales-ranges{flex-basis:100%;gap:12px;font-size:.85rem;display:flex}.gc-range-active{font-weight:700;text-decoration:underline}.gc-group-row td{background:var(--gc-bg);border-top:2px solid var(--gc-border)}.gc-group-toggle{cursor:pointer;-webkit-user-select:none;user-select:none}.gc-group-toggle:hover td{background:var(--gc-border)}.gc-group-toggle:focus-visible{outline:2px solid var(--gc-primary,currentColor);outline-offset:-2px}.gc-group-caret{width:1.1em;color:var(--gc-muted);display:inline-block}.gc-kardex-product{flex:320px;min-width:0}.gc-kardex th.gc-kardex-group{text-align:center}.gc-kardex tfoot th{border-top:2px solid var(--gc-border)}.gc-sheet-payments{gap:10px;margin:8px 0;display:grid}.gc-sheet-payment{border:1px solid var(--gc-border);border-radius:8px;justify-items:start;gap:6px;padding:10px;display:grid}.gc-sheet-thumbs{flex-wrap:wrap;gap:8px;display:flex}.gc-sheet-thumb{border:1px solid var(--gc-border);background:var(--gc-surface);border-radius:6px;width:96px;height:96px;position:relative;overflow:hidden}.gc-sheet-thumb>a,.gc-sheet-thumb>span{width:100%;height:100%;color:var(--gc-muted);place-items:center;font-weight:700;text-decoration:none;display:grid}.gc-sheet-thumb img{object-fit:cover;width:100%;height:100%;display:block}.gc-sheet-thumb-remove{color:#fff;cursor:pointer;background:#0009;border:0;border-radius:50%;width:26px;height:26px;padding:0;font-size:13px;line-height:26px;position:absolute;top:2px;right:2px}.gc-sheet-photos-cell{min-width:150px}.gc-sheet-photos-cell .gc-sheet-thumbs{margin-bottom:4px}.gc-sheet-photos-cell .gc-sheet-thumb{width:56px;height:56px}.gc-sheet-photos-cell .gc-sheet-thumb-remove{width:22px;height:22px;font-size:11px;line-height:22px}.gc-sheet-photo-add{white-space:nowrap;padding:4px 10px;font-size:.85rem}.gc-print{align-items:stretch;gap:0;display:inline-flex}.gc-print>button:first-child:not(.gc-link){border-top-right-radius:0;border-bottom-right-radius:0}.gc-print-choose{border:1px solid var(--gc-border);background:var(--gc-surface);color:var(--gc-muted);font:inherit;cursor:pointer;border-left:0;border-radius:0 6px 6px 0;padding:0 8px}.gc-print .gc-link+.gc-print-choose{background:0 0;border:0;padding:0 4px}.gc-print-status{white-space:normal;max-width:260px;margin-top:4px;font-size:.85rem;display:block}.gc-print-options{gap:10px;display:grid}.gc-print-option{border:1px solid var(--gc-border);cursor:pointer;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.gc-print-option:has(input:checked){border-color:var(--gc-accent)}.gc-print-options .gc-check{align-items:center;gap:8px;display:flex}.gc-printer-agent{border:1px solid var(--gc-border);background:var(--gc-surface);border-radius:8px;margin-bottom:16px;padding:16px}.gc-printer-agent-head{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:8px;display:flex}.gc-printer-agent-head h2{margin:0;font-size:1.1rem}.gc-printer-grid{grid-template-columns:minmax(140px,1fr) minmax(180px,2fr) 80px;align-items:center;gap:8px 12px;display:grid}.gc-printer-grid select,.gc-printer-grid input{width:100%}.gc-printer-form{max-width:720px;margin-top:8px}.gc-printer-form .gc-actions{flex-wrap:wrap}@media (max-width:640px){.gc-printer-agent{padding:12px}.gc-printer-grid{grid-template-columns:minmax(0,1fr) 64px}.gc-printer-grid .gc-printer-head{display:none}.gc-printer-grid .gc-printer-doc{grid-column:1/-1;margin-top:4px;font-weight:600}}.gc-assistant{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:16px;display:grid}.gc-assistant-list{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;gap:10px;max-height:calc(100vh - 180px);padding:12px;display:grid;overflow-y:auto}.gc-assistant-new{text-align:center}.gc-assistant-list ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.gc-assistant-list li{border-radius:6px;align-items:center;gap:6px;padding:2px 6px 2px 0;display:flex}.gc-assistant-list li a{min-width:0;color:var(--gc-text);flex:1;gap:2px;padding:6px 8px;text-decoration:none;display:grid}.gc-assistant-list li:hover,.gc-assistant-current{background:var(--gc-bg)}.gc-assistant-current a{font-weight:600}.gc-assistant-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gc-assistant-chat{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;flex-direction:column;min-height:calc(100vh - 180px);display:flex}.gc-assistant-messages{flex-direction:column;flex:1;gap:12px;max-height:calc(100vh - 300px);padding:16px;display:flex;overflow-y:auto}.gc-assistant-msg{overflow-wrap:anywhere;border-radius:10px;max-width:760px;padding:10px 14px;line-height:1.5}.gc-assistant-msg p{margin:0 0 8px}.gc-assistant-msg p:last-child,.gc-assistant-msg ul:last-child,.gc-assistant-msg ol:last-child{margin-bottom:0}.gc-assistant-msg ul,.gc-assistant-msg ol{margin:0 0 8px;padding-left:22px}.gc-assistant-msg li{margin:2px 0}.gc-assistant-msg code{background:var(--gc-bg);border-radius:4px;padding:1px 4px;font-size:.9em}.gc-assistant-heading{font-weight:700}.gc-assistant-user{background:var(--gc-accent);color:#fff;white-space:pre-wrap;align-self:flex-end}.gc-assistant-assistant{background:var(--gc-bg);border:1px solid var(--gc-border);align-self:flex-start}.gc-assistant-thinking{color:var(--gc-muted);font-style:italic}.gc-assistant-empty{text-align:center;max-width:560px;color:var(--gc-muted);margin:auto}.gc-assistant-suggestions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.gc-assistant-suggestions .gc-button-secondary{white-space:normal}.gc-assistant-error{padding:0 16px 8px}.gc-assistant-warning{margin-bottom:12px}.gc-assistant-form{border-top:1px solid var(--gc-border);align-items:flex-end;gap:8px;padding:12px 16px 4px;display:flex}.gc-assistant-form textarea{resize:vertical;border:1px solid var(--gc-border);min-width:0;min-height:44px;max-height:200px;font:inherit;border-radius:6px;flex:1;padding:8px 10px}.gc-assistant-form .gc-button{font:inherit;cursor:pointer;border:0}.gc-assistant-form .gc-button:disabled{opacity:.6;cursor:default}.gc-assistant-note{margin:0;padding:4px 16px 10px}@media (max-width:860px){.gc-assistant{grid-template-columns:minmax(0,1fr)}.gc-assistant-list{order:2;max-height:200px}.gc-assistant-chat{min-height:60vh}.gc-assistant-messages{max-height:none}.gc-assistant-msg{max-width:100%}}.gc-receivables-filters{align-items:center;max-width:none}.gc-receivables-filters input[type=search]{flex:280px}.gc-toggle-group{gap:6px;display:flex}.gc-toggle-group .gc-tab{font:inherit;cursor:pointer}.gc-multiselect{position:relative}.gc-multiselect summary{cursor:pointer;border:1px solid var(--gc-border);background:var(--gc-surface);color:var(--gc-text);white-space:nowrap;border-radius:6px;min-width:190px;padding:8px 30px 8px 10px;list-style:none;position:relative}.gc-multiselect summary::-webkit-details-marker{display:none}.gc-multiselect summary:after{content:"▾";color:var(--gc-muted);position:absolute;right:10px}.gc-multiselect-menu{z-index:20;background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;gap:2px;min-width:260px;max-height:320px;padding:6px;display:grid;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 6px 20px #0000001f}.gc-multiselect-menu label{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex}.gc-multiselect-menu label:hover{background:var(--gc-bg)}.gc-multiselect-menu input[type=checkbox]{flex:none;width:auto;margin:0;padding:0}.gc-multiselect-menu .gc-link{justify-self:start;padding:6px 8px}.gc-multiselect-search{align-content:start;min-width:340px;max-height:380px;left:0;right:auto}.gc-multiselect-search input[type=search]{z-index:1;width:100%;margin-bottom:4px;position:sticky;top:-6px}.gc-chips{flex-wrap:wrap;align-items:center;gap:6px;margin:-4px 0 12px;display:flex}.gc-chip{border:1px solid var(--gc-border);background:var(--gc-surface);border-radius:999px;align-items:center;gap:4px;padding:3px 4px 3px 10px;font-size:.85rem;display:inline-flex}.gc-chip button{color:var(--gc-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:2px 6px;font-size:1rem;line-height:1}.gc-chip button:hover{background:var(--gc-bg);color:var(--gc-text)}@media (max-width:640px){.gc-multiselect,.gc-multiselect summary{width:100%}.gc-multiselect-menu{min-width:100%}}.gc-howto-button{border:1px solid var(--gc-border);background:var(--gc-surface);min-height:32px;color:var(--gc-text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;margin-top:8px;padding:5px 12px;font-size:.85rem;font-weight:700;display:inline-flex}.gc-howto-button svg{color:var(--gc-accent);flex:none}.gc-howto-button:hover,.gc-howto-button:focus-visible{border-color:var(--gc-accent);color:var(--gc-accent)}.gc-topbar-page .gc-howto-button{margin:0 0 0 12px}.gc-howto-modal{grid-template-rows:auto auto minmax(0,1fr) auto;max-width:760px;max-height:calc(100dvh - 32px)}.gc-howto-modal .gc-modal-head{align-items:flex-start}.gc-howto-modal .gc-modal-head h2{font-size:1.2rem}.gc-howto-close{color:var(--gc-muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:1.6rem;line-height:1}.gc-howto-tabs{border-bottom:1px solid var(--gc-border);gap:4px;display:flex;overflow-x:auto}.gc-howto-tabs button{font:inherit;color:var(--gc-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;padding:8px 10px;font-size:.9rem;font-weight:700}.gc-howto-tabs .gc-howto-tab-active{border-bottom-color:var(--gc-accent);color:var(--gc-text)}.gc-howto-body{min-height:0;overflow-y:auto}.gc-howto-foot{border-top:1px solid var(--gc-border);justify-content:flex-end;padding-top:10px;display:flex}.gc-howto-foot a{font-weight:700;text-decoration:none}.gc-guide{gap:10px;display:grid}.gc-guide-video{aspect-ratio:16/9;background:#111;border-radius:8px;overflow:hidden}.gc-guide-video video{object-fit:contain;width:100%;height:100%;display:block}.gc-guide-summary{color:var(--gc-muted);margin:0;font-size:1rem}.gc-guide-heading{letter-spacing:.06em;text-transform:uppercase;color:var(--gc-muted);margin:6px 0 0;font-size:.8rem}.gc-guide-steps{gap:8px;margin:0;padding-left:24px;line-height:1.45;display:grid}.gc-guide-benefits{gap:6px;margin:0;padding-left:22px;line-height:1.45;display:grid}.gc-guide-benefits li::marker{content:"✓  ";color:var(--gc-accent);font-weight:700}.gc-guide-tip{color:#5d4a2d;background:#fffaf0;border-left:3px solid #d69e2e;border-radius:4px;margin:4px 0 0;padding:10px 12px;line-height:1.45}.gc-manual-search{border:1px solid var(--gc-border);background:var(--gc-surface);max-width:520px;color:var(--gc-muted);border-radius:8px;align-items:center;gap:8px;margin-bottom:22px;padding:0 12px;display:flex}.gc-manual-search input{width:100%;min-height:44px;font:inherit;color:var(--gc-text);background:0 0;border:0;outline:none;font-size:1rem}.gc-manual-search:focus-within{border-color:var(--gc-accent)}.gc-manual-category{margin-bottom:26px}.gc-manual-category h2{letter-spacing:.06em;text-transform:uppercase;color:var(--gc-muted);margin:0 0 10px;font-size:.8rem}.gc-manual-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;display:grid}.gc-manual-card{border:1px solid var(--gc-border);background:var(--gc-surface);color:var(--gc-text);font:inherit;text-align:left;cursor:pointer;border-radius:8px;align-content:start;padding:0;display:grid;overflow:hidden}.gc-manual-card:hover,.gc-manual-card:focus-visible{border-color:var(--gc-accent);box-shadow:0 6px 18px #00000014}.gc-manual-thumb{aspect-ratio:16/9;color:var(--gc-muted);background:#eef1f4;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.gc-manual-thumb img{object-fit:cover;object-position:top left;width:100%;height:100%}.gc-manual-thumb-empty{aspect-ratio:auto;height:64px}.gc-manual-play{color:#fff;background:#0000002e;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.gc-manual-play svg{filter:drop-shadow(0 2px 6px #00000073)}.gc-manual-text{gap:5px;padding:12px 14px 14px;display:grid}.gc-manual-text strong{font-size:.98rem}.gc-manual-text small{color:var(--gc-muted);font-size:.85rem;line-height:1.4}.gc-manual-text em{color:var(--gc-accent);font-size:.78rem;font-style:normal;font-weight:800}.gc-manual-selected{border:1px solid var(--gc-border);background:var(--gc-surface);border-radius:8px;max-width:860px;padding:18px 20px 22px}.gc-manual-toolbar{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:16px;display:flex}.gc-manual-selected-title{margin:0 0 12px;font-size:1.35rem}@media (max-width:640px){.gc-howto-modal{max-height:100dvh}.gc-manual-selected{padding:14px}.gc-manual-toolbar>*{text-align:center;flex:1}.gc-topbar-page .gc-howto-button{gap:0;padding:5px 9px;font-size:0}}.gc-howto-modal .gc-guide-video{width:100%;max-width:78.2222vh;margin:0 auto}.gc-assistant-msg{min-width:0;max-width:min(760px,100%)}.gc-assistant-assistant:has(.gc-assistant-chart,.gc-assistant-table,.gc-assistant-guide){width:min(760px,100%)}.gc-assistant-table{margin:0 0 8px;overflow-x:auto}.gc-assistant-table table{border-collapse:collapse;min-width:100%;font-size:.9rem}.gc-assistant-table th,.gc-assistant-table td{border-bottom:1px solid var(--gc-border);text-align:left;white-space:nowrap;padding:5px 10px}.gc-assistant-table th{background:var(--gc-surface);font-weight:700}.gc-assistant-table td.gc-num{text-align:right;font-variant-numeric:tabular-nums}.gc-assistant-msg pre{background:var(--gc-surface);border-radius:6px;padding:8px;font-size:.85rem;overflow-x:auto}.gc-assistant-chart{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;margin:4px 0 10px;padding:10px 12px}.gc-assistant-chart figcaption{margin-bottom:4px;font-weight:700}.gc-assistant-chart svg{width:100%;height:auto;display:block}.gc-assistant-legend{color:var(--gc-muted);flex-wrap:wrap;gap:12px;font-size:.85rem;display:flex}.gc-assistant-legend i{vertical-align:-1px;border-radius:2px;width:10px;height:10px;margin-right:5px;display:inline-block}.gc-chart-grid{stroke:var(--gc-border);stroke-width:1px}.gc-chart-base{stroke:var(--gc-muted);stroke-width:1px}.gc-chart-axis{fill:var(--gc-muted);font-size:13px}.gc-assistant-report{background:var(--gc-surface);border:1px solid var(--gc-border);border-left:3px solid var(--gc-accent);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:4px 0 10px;padding:10px 12px;display:flex}.gc-assistant-report-title{font-weight:700}.gc-assistant-report-actions{flex-wrap:wrap;gap:6px;display:flex}.gc-assistant-guide{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:8px;grid-template-columns:minmax(0,300px) minmax(0,1fr);align-items:start;gap:12px;margin:4px 0 10px;padding:10px;display:grid}.gc-assistant-guide video{border:1px solid var(--gc-border);background:#000;border-radius:6px;width:100%}.gc-assistant-guide-text{align-content:start;gap:4px;display:grid}.gc-assistant-guide:not(:has(video)){grid-template-columns:minmax(0,1fr)}@media (max-width:720px){.gc-assistant-guide{grid-template-columns:minmax(0,1fr)}}.gc-debt-alert{color:#93370d;background:#fffaeb;border:1px solid #fedf89;border-radius:8px;align-items:center;gap:10px;margin:10px 0 12px;padding:10px 12px;display:flex}.gc-debt-alert-overdue{color:#912018;background:#fef3f2;border-color:#fda29b}.gc-debt-icon{font-size:1.3rem;line-height:1}.gc-debt-text{flex:1;gap:2px;min-width:0;display:grid}.gc-debt-button{flex:none}.gc-debt-badge{color:#93370d;font:inherit;text-align:left;cursor:pointer;background:#fffaeb;border:1px solid #fedf89;border-radius:6px;gap:1px;margin-top:4px;padding:3px 8px;font-size:.82rem;font-weight:600;display:grid}.gc-debt-badge-overdue{color:#912018;background:#fef3f2;border-color:#fda29b}.gc-debt-badge:hover{filter:brightness(.97)}.gc-debt-badge-sub{text-underline-offset:2px;font-weight:400;text-decoration:underline}.gc-debt-overdue td{background:#fef3f2}.gc-debt-section{margin-bottom:16px}.gc-debt-details>summary{cursor:pointer;color:var(--gc-accent);margin-bottom:8px;font-weight:600}.gc-modal:has(.gc-debt-table){max-width:920px;max-height:90vh;overflow:auto}@media (max-width:640px){.gc-debt-alert{flex-wrap:wrap}.gc-debt-button{width:100%}}button.gc-button{font:inherit;cursor:pointer;border:0}button.gc-button:disabled{opacity:.6;cursor:default}.gc-seller-change{flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;display:flex}.gc-seller-change select,.gc-seller-change input{border:1px solid var(--gc-border);font:inherit;background:var(--gc-surface);max-width:200px;color:var(--gc-text);border-radius:4px;padding:4px 6px;font-size:.85rem}.gc-button-small{background:var(--gc-accent);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:4px;padding:4px 10px;font-size:.85rem}.gc-button-small:disabled{opacity:.6;cursor:default}
