/* Shared screen layer. Physical labels and PDF layouts retain their print rules. */
@media screen{
html,body,input,select,textarea,button{font-family:var(--app-font,'Inter','Segoe UI',sans-serif)}
body{font-size:14px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.app-shell .page-content{width:100%;max-width:none;padding:22px clamp(16px,2vw,32px) 30px}
.app-shell .settings-panel,.app-shell .purchase-workspace{max-width:none;width:100%}
.app-shell .page-header{gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.app-shell h1{font-size:clamp(23px,2vw,30px);line-height:1.2;letter-spacing:-.025em;margin-bottom:7px}
.app-shell h2{letter-spacing:-.02em}.app-shell h3{letter-spacing:-.01em}
.app-shell .panel{border:1px solid #dfE7f0;border-radius:12px;box-shadow:0 3px 14px #15365205}
.app-shell .panel-title{padding:14px 18px;min-height:48px;gap:10px}
.app-shell .panel-body{padding:18px}
.app-shell .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;min-height:36px;padding:9px 13px;font-size:12px;font-weight:600;line-height:1.2;box-shadow:none;transition:background .12s,border-color .12s;white-space:normal}
.app-shell .btn.secondary{background:#fff;border-color:#d2e0ed;color:#24648e}
.app-shell .btn.secondary:hover{background:#eff6fc;border-color:#9cc4e6}
.app-shell .btn.danger,.app-shell .trash{background:#fff7f7;border-color:#efd4d4;color:#ba3d46}
.app-shell .btn.danger:hover,.app-shell .trash:hover{background:#ffebed}
.app-shell .small-btn{min-height:30px;padding:6px 9px;font-size:11px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{font:inherit;font-size:13px;color:#173d5c;border:1px solid #d2dfeb;border-radius:7px;padding:9px 10px;background:#fff;min-height:36px;max-width:100%;box-sizing:border-box}
input[readonly],textarea[readonly]{background:#f5f8fb!important;color:#60778c}
input[type=checkbox],input[type=radio]{accent-color:#1487e9;width:16px;height:16px;vertical-align:middle}
input[type=color]{width:100%;height:36px;min-height:36px;padding:3px;border:1px solid #d2dfeb;border-radius:7px;background:#fff}
input[type=range]{accent-color:#1487e9;min-height:24px;padding:0;width:100%}
input[type=file]::file-selector-button{border:0;border-radius:5px;padding:7px 10px;background:#edf5fd;color:#17689e;margin-right:10px;font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2998ee;outline-offset:2px}
.app-shell table{font-variant-numeric:tabular-nums}.app-shell th{font-size:11px;font-weight:600;line-height:1.35;color:#59728a;background:#f5f8fc}.app-shell td{font-size:12px;line-height:1.45}.app-shell th,.app-shell td{padding:10px 12px}
.app-shell .row-actions{align-items:center;gap:6px;flex-wrap:wrap}.app-shell .row-actions form{margin:0}
.app-shell .sidebar{box-shadow:1px 0 0 #dce5ee}.app-shell .side-link,.app-shell .side-parent{font-weight:500;line-height:1.35}.app-shell .side-submenu .side-link{font-size:13px;border-radius:7px}
.app-shell .top-header{height:auto;min-height:68px;padding:12px 22px;gap:16px}.app-shell .top-actions{gap:9px;min-width:0;flex-wrap:wrap;justify-content:flex-end}.app-shell .company-name{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.app-shell .brand-logo-wrap{width:72px;height:44px;flex:0 0 72px;padding:3px;background:white;border-radius:7px}.app-shell .sidebar-brand{gap:10px}.app-shell .brand-copy{min-width:0}.app-shell .brand-copy strong{font-size:19px}.app-shell .brand-copy span{font-size:11px}
.app-shell .search-panel .action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.app-shell .search-panel input[name=q]{flex:1;max-width:none!important;min-width:180px}
.app-shell .settings-section>.panel-body{padding:18px}.app-shell .settings-section>summary{padding:15px 18px;min-height:52px}
.app-shell .settings-logo-grid{grid-template-columns:minmax(180px,25%) minmax(0,1fr);gap:24px}.app-shell .logo-preview-box{min-height:170px}.app-shell .logo-preview{max-width:100%;max-height:145px}
.app-shell .logo-upload-form{display:grid;gap:12px;margin:12px 0}.app-shell .logo-upload-form .input{max-width:none;width:100%}.app-shell .logo-upload-form>button{justify-self:start}.logo-file-label{display:grid;gap:6px;font-size:12px;color:#57738b}
.logo-adjustments{display:grid;gap:10px;max-width:760px}.logo-adjustments[hidden]{display:none!important}#logo-canvas{display:block;width:100%;height:auto;aspect-ratio:2/1;border:1px solid #d5e2ee;border-radius:8px;background:repeating-conic-gradient(#f0f3f7 0% 25%,#fff 0% 50%) 50%/16px 16px}.logo-sliders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.logo-sliders label{display:grid;gap:4px;font-size:12px}.logo-adjustments small{color:#6a8195}.logo-adjustments .btn{justify-self:start}
.app-shell #appearance .price-name-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;align-items:start}.app-shell #appearance label{display:grid;gap:6px;font-size:12px;color:#486b85}.app-shell #appearance input,.app-shell #appearance select{margin:0;width:100%}.app-shell #appearance label:has(input[type=checkbox]){display:flex;align-items:center;min-height:36px}.app-shell #appearance input[type=checkbox]{width:16px}.app-shell #appearance small{font-size:10px;color:#788c9e;line-height:1.5}
.app-shell .ruc-create-grid{grid-template-columns:minmax(240px,2fr) minmax(160px,1.1fr) repeat(3,minmax(110px,.75fr)) auto;gap:12px}.app-shell #rucs table td:first-child{width:31%;min-width:230px}.app-shell #rucs table td:nth-child(2){width:19%;min-width:160px}.app-shell #rucs input{width:100%;min-width:0}.app-shell #rucs table select{min-width:95px;width:100%}
.app-shell .upload-zone{padding:26px;border:1px dashed #aacbe7;background:#f8fbff}.app-shell .purchase-upload-page,.app-shell .purchase-upload-page>.panel{max-width:none!important;width:100%}
.ui-help{position:relative;display:inline-flex;vertical-align:middle;margin-left:6px;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none}.ui-help-toggle{display:grid;place-items:center;width:22px;height:22px;padding:0;border:1px solid #cadbea;border-radius:50%;color:#66859d;background:#f5f9fd;cursor:pointer;font:600 12px var(--app-font,sans-serif)}.ui-help-text{position:absolute;z-index:60;top:28px;left:0;width:280px;max-width:70vw;padding:12px;border:1px solid #d0dfea;border-radius:8px;box-shadow:0 8px 25px #173b5720;color:#385b76;background:white;font:12px/1.55 var(--app-font,sans-serif);text-align:left;white-space:normal}.ui-help-text[hidden]{display:none}.ui-icon{flex:none;width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ui-icon-only{width:32px;padding:6px!important}
.app-shell .table-wrap,.app-shell .table-panel{overflow-x:auto;max-width:100%}.app-shell .notice{border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.5}
@media(min-width:1600px){.app-shell .product-hero{gap:24px}.app-shell .grid.three{gap:18px}.app-shell .product-page,.app-shell .product-detail{max-width:none}}
@media(max-width:1200px){.app-shell .ruc-create-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .top-actions .company-name{max-width:230px}}
@media(max-width:800px){.app-shell .settings-logo-grid{grid-template-columns:1fr}.logo-sliders{grid-template-columns:1fr}.app-shell .ruc-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .top-header{padding:12px 14px}.app-shell .page-content{padding:16px 12px 24px}.app-shell .company-name{display:none}.ui-help-text{left:auto;right:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
}

body[data-role=vendedor] .catalog-profit-cell,body[data-role=vendedor] .catalog-profit-head,body[data-role=vendedor] #catalog-sync-images{display:none!important}
