/* HanyTech Universal R2 — progressive visual layer. No business rules. */
.ht-r2-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media screen{
.ht-v3 .sidebar-nav .sidebar-link{border-radius:10px;min-height:40px;font-weight:600}
.ht-v3 .sidebar-nav .sidebar-section-title{font-size:10px;letter-spacing:.08em}
.ht-r2-nav-search{margin:0 0 12px;display:grid;gap:6px}
.ht-r2-nav-search input{background:#fff;color:#182433;border:1px solid #cbd5e1;border-radius:9px;width:100%;min-height:38px;padding:8px 10px;font-size:13px}
.ht-r2-nav-search input::placeholder{color:#64748b}
.ht-r2-nav-search p{font-size:11px;color:inherit;margin:0}
.sidebar-collapsed .ht-r2-nav-search{display:none}
.ht-r2-menu-filtering .sidebar-section-title{display:none!important}
.ht-v3 .ht-r2-launch-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:16px;border:1px solid var(--ht-border);border-radius:14px;background:var(--ht-surface)}
.ht-r2-launch-tools h2{font-size:18px;font-weight:750;color:var(--ht-text)}
.ht-r2-launch-tools p{font-size:13px;color:var(--ht-muted)}
.ht-r2-launch-tools [role=status]{width:100%}
.ht-r2-launch-controls{display:flex;gap:8px;flex-wrap:wrap;max-width:100%}
.ht-r2-launch-controls :is(input,select){min-height:42px;border:1px solid var(--ht-border);border-radius:9px;padding:8px 12px;background:var(--ht-surface);color:var(--ht-text);font-size:14px;max-width:100%}
.ht-r2-empty{padding:24px;border:1px dashed var(--ht-border);border-radius:12px;color:var(--ht-muted);text-align:center}
.ht-v3.ht-launcher .module-item{border-radius:16px;padding:18px;box-shadow:0 2px 10px #142b180a}
.ht-v3.ht-launcher .module-item>div:first-child{margin-bottom:12px}
.ht-v3.ht-launcher .module-item>p{margin-bottom:10px;line-height:1.55}
.ht-v3.ht-launcher .module-item h3{font-size:16px;font-weight:750}
.ht-v3.ht-launcher .module-item>div:last-child :is(a,button){border-radius:9px;box-shadow:none;min-height:40px;letter-spacing:.02em}
.ht-v3 [data-r2-customer-form]{max-width:900px;width:100%;border-radius:16px;box-shadow:0 2px 10px #142b180a}
.ht-v3 [data-r2-customer-form] .ht-form-grid{gap:14px 18px}
.ht-v3 [data-r2-customer-form] label{font-weight:650;margin-bottom:5px}
.ht-v3 [data-r2-customer-form] :is(input:not([type=hidden]),select,textarea){border-radius:9px;min-height:42px;padding-block:9px}
.ht-r2-form-heading{font-size:14px;font-weight:750;color:var(--ht-text);margin:0 0 12px;letter-spacing:.01em}
.ht-r2-document-type{font-size:12px;color:var(--ht-muted);margin-top:4px}
.ht-v3 [data-r2-settings] :is(form,div.rounded-\[30px\],a.rounded-\[30px\]){border-radius:16px}
.ht-v3 [data-r2-settings] input{border-radius:9px}
.ht-v3 [data-r2-settings] h1{font-size:26px}
.ht-v3.ht-auth :is(input,button){border-radius:12px}
@media(min-width:1024px){.ht-v3 .sidebar-nav .sidebar-link{padding-block:9px}.ht-v3.ht-launcher main{padding-top:96px}.ht-v3.ht-launcher main>.mb-10{margin-bottom:24px}}
@media(max-width:767px){.ht-r2-launch-controls{width:100%;display:grid;grid-template-columns:1fr}.ht-r2-launch-controls :is(input,select){width:100%;min-height:44px;font-size:16px}.ht-v3 [data-r2-customer-form] :is(input:not([type=hidden]),select,textarea){min-height:44px}.ht-v3 .sidebar-nav .sidebar-link{min-height:44px}}
}
@media print{.ht-r2-nav-search,.ht-r2-launch-tools,.ht-r2-document-type{display:none!important}}

/* R3: PDV and inventory - screen only, no layout override of kiosk grid. */
@media screen {
.ht-r3-terminal-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 8px;font-size:12px;color:inherit}
.ht-r3-terminal-brand{font-weight:800;margin-right:auto;overflow-wrap:anywhere}.ht-r3-terminal-brand small{font-weight:500;opacity:.8}
.ht-r3-terminal-tools button{border:1px solid currentColor;border-radius:8px;padding:6px 10px;font-weight:650;min-height:34px}
.ht-r3-terminal-tools button:focus-visible{outline:2px solid #10b981;outline-offset:2px}
.ht-r3-cart-count{font-size:11px;font-weight:600;opacity:.8;white-space:nowrap}
.ht-r3-empty-brand{font-size:clamp(25px,5vw,54px);font-weight:850;letter-spacing:-.04em;overflow-wrap:anywhere;max-width:100%;padding:12px}
[data-ht-page="pdv-pages-frente-caixa"] .cart-item{border-radius:10px}
[data-ht-page="pdv-pages-frente-caixa"] .cart-qty-input:focus-visible,[data-ht-page="pdv-pages-frente-caixa"] .cart-price-input:focus-visible{outline:2px solid #10b981;outline-offset:1px}
[data-ht-page="pdv-pages-dashboard"] .stat-card{border-radius:16px;padding:18px}
[data-ht-page="pdv-pages-dashboard"] .period-btn{white-space:nowrap}
[data-ht-page="pdv-pages-dashboard"] .hany-glass:has(.period-btn){flex-wrap:wrap}
:is([data-ht-page="cadastros-pages-produtos"],[data-ht-page="cadastros-pages-fornecedores"],[data-ht-page="pdv-pages-vendas"]) [data-ht-filters]{border-radius:12px}
:is([data-ht-page="cadastros-pages-produto-form"],[data-ht-page="cadastros-pages-fornecedor-form"]) form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){border-radius:9px}
@media(max-width:640px){.ht-r3-terminal-tools button{min-height:40px}.ht-r3-terminal-brand{flex-basis:100%}}
}
@media print{.ht-r3-terminal-tools{display:none!important}}
