/* Tami Gestão: estilos isolados da Home, da Minha Conta e do WooCommerce. */
.tg-root{--tg-ink:#40182b;--tg-soft:#f8f2f5;--tg-accent:#d989ae;--tg-line:#eadde4;--tg-muted:#765967;--tg-white:#fff;font:400 15px/1.55 Montserrat,Arial,sans-serif;color:var(--tg-ink);margin:24px auto 64px;max-width:1240px}
.tg-root *{box-sizing:border-box}
.tg-root h1,.tg-root h2,.tg-root p{margin:0 0 14px;color:var(--tg-ink)}
.tg-root h1{font-size:clamp(23px,3vw,31px);font-weight:750;line-height:1.2}
.tg-root h2{font-size:19px;font-weight:700;line-height:1.35}
.tg-root p{line-height:1.65}
.tg-root a{color:var(--tg-ink);text-decoration:none}
.tg-root a:hover{text-decoration:underline}
.tg-root button,.tg-root input,.tg-root select,.tg-root textarea{font:inherit}
.tg-root input:not([type=checkbox]),.tg-root select,.tg-root textarea{display:block;width:100%;min-width:0;padding:11px 13px;color:var(--tg-ink);background:#fff;border:1px solid #d9c8d2;border-radius:10px;line-height:1.4;min-height:42px}
.tg-root input:focus,.tg-root select:focus,.tg-root textarea:focus{outline:2px solid #bc6991;outline-offset:2px}
.tg-root label:not(.tg-checkbox):not(.screen-reader-text){display:block;font-size:12px;font-weight:700;margin:14px 0 6px}
.tg-root .tg-button,.tg-root button.tg-button{background:var(--tg-ink);border:1px solid var(--tg-ink);color:#fff;padding:11px 18px;border-radius:10px;font-weight:700;cursor:pointer;line-height:1.3;min-height:43px;box-shadow:none}
.tg-root .tg-button:hover,.tg-root button.tg-button:hover{color:#fff;background:#672744;text-decoration:none}
.tg-root .tg-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#a4567b;text-transform:uppercase;margin-bottom:9px}
.tg-root .tg-muted{color:var(--tg-muted);font-size:13px}
.tg-root .tg-login-card{max-width:450px;margin:55px auto;background:var(--tg-white);border:1px solid var(--tg-line);border-radius:19px;padding:clamp(22px,4vw,36px);box-shadow:0 10px 35px rgba(68,25,45,.045)}
.tg-root .tg-login-card form{display:block;margin-top:20px}
.tg-root .tg-login-card label{display:block}
.tg-root .tg-checkbox{display:flex!important;align-items:center;gap:9px;font-size:13px;margin:15px 0}
.tg-root .tg-checkbox input{accent-color:var(--tg-accent)}
.tg-root .tg-login-card .tg-button{width:100%}
.tg-root .tg-footnote{font-size:12px;margin-top:20px;text-align:center}
.tg-root .tg-app{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}
.tg-root .tg-sidebar{background:var(--tg-soft);border:1px solid var(--tg-line);border-radius:15px;padding:18px;position:sticky;top:28px;min-width:0}
.tg-root .tg-brand{display:flex;align-items:center;gap:10px;margin-bottom:22px;padding:7px 4px}
.tg-root .tg-brand-mark{width:39px;height:39px;background:var(--tg-accent);color:white;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px}
.tg-root .tg-brand strong,.tg-root .tg-brand small,.tg-root .tg-sidefoot small,.tg-root .tg-sidefoot span{display:block}
.tg-root .tg-brand strong{font-size:16px}
.tg-root .tg-brand small{font-size:11px;color:var(--tg-muted)}
.tg-root .tg-nav-link{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:10px 11px;margin:1px 0;border-radius:10px;font-size:12px;font-weight:650}
.tg-root .tg-nav-link:hover,.tg-root .tg-nav-link.is-active{background:#fff;text-decoration:none}
.tg-root .tg-nav-link.is-active{border:1px solid var(--tg-line)}
.tg-root .tg-nav-later{white-space:nowrap;font-size:9px;font-weight:500;color:#805a70}
.tg-root .tg-sidefoot{border-top:1px solid var(--tg-line);margin-top:18px;padding-top:16px;font-size:11px;color:var(--tg-muted)}
.tg-root .tg-sidefoot span{color:var(--tg-ink);font-weight:700;margin-bottom:3px}
.tg-root .tg-sidefoot a{display:inline-block;margin-top:14px;text-decoration:underline;font-weight:700}
.tg-root .tg-main{min-width:0}
.tg-root .tg-main-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 20px}
.tg-root .tg-main-head h1{margin-bottom:0}
.tg-root .tg-badge,.tg-root .tg-pill{display:inline-block;border-radius:100px;background:#f7e5ee;color:#783b59;padding:4px 10px;font-weight:700;font-size:10px;white-space:nowrap}
.tg-root .tg-pill-warn{background:#fff0d8;color:#8b5515}
.tg-root .tg-notice{border-left:4px solid #5b936c;background:#f4faf5;padding:12px 15px;border-radius:8px;margin:12px 0 20px;font-size:13px}
.tg-root .tg-notice-error{border-color:#b44c5e;background:#fff3f5}
.tg-root .tg-card{border:1px solid var(--tg-line);background:#fff;border-radius:15px;padding:clamp(16px,3vw,25px);margin-bottom:17px}
.tg-root .tg-card h2{margin-bottom:10px}
.tg-root .tg-grid{display:grid;gap:13px}
.tg-root .tg-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg-root .tg-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:17px}
.tg-root .tg-stat{padding:18px;background:var(--tg-soft);border-radius:14px;border:1px solid var(--tg-line)}
.tg-root .tg-stat small{font-size:11px;color:var(--tg-muted);display:block;margin-bottom:8px}
.tg-root .tg-stat strong{font-size:18px;display:block;overflow-wrap:anywhere}
.tg-root .tg-list{padding-left:20px;margin:0}
.tg-root .tg-list li{margin-bottom:7px}
.tg-root .tg-form{margin-top:15px}
.tg-root .tg-form .tg-button{margin-top:18px}
.tg-root .tg-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tg-root .tg-table{width:100%;border-collapse:collapse;border-spacing:0;min-width:540px;font-size:12px;background:#fff;text-align:left}
.tg-root .tg-table th,.tg-root .tg-table td{padding:11px 10px;border-bottom:1px solid var(--tg-line);vertical-align:middle;color:var(--tg-ink)}
.tg-root .tg-table th{font-weight:700;background:#fbf6f8}
.tg-root .tg-table small{display:block;color:var(--tg-muted);font-size:10px}
.tg-root .tg-center{text-align:center}
.tg-root .tg-table .tg-inline{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap;margin:3px 5px 3px 0}
.tg-root .tg-table select{font-size:11px;min-height:34px;padding:5px;max-width:190px}
.tg-root .tg-linkbutton{padding:7px 9px;color:white;background:var(--tg-ink);border:0;border-radius:7px;cursor:pointer;font-size:11px;min-height:33px}
.tg-root .tg-button-neutral{background:#f5e6ee;color:var(--tg-ink)}
.tg-root .tg-dl{margin:0}
.tg-root .tg-dl>div{display:grid;grid-template-columns:minmax(160px,35%) 1fr;gap:12px;padding:11px 0;border-bottom:1px solid var(--tg-line)}
.tg-root .tg-dl dt{font-weight:700;font-size:12px}
.tg-root .tg-dl dd{margin:0;color:var(--tg-muted);font-size:12px}
@media(max-width:960px){.tg-root .tg-app{grid-template-columns:1fr}.tg-root .tg-sidebar{position:static}.tg-root .tg-sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.tg-root .tg-nav-link{flex:0 0 auto}.tg-root .tg-sidefoot{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.tg-root .tg-sidefoot a{margin-top:0}}
@media(max-width:640px){.tg-root{margin:10px 0 45px}.tg-root .tg-main-head{flex-wrap:wrap}.tg-root .tg-grid-three,.tg-root .tg-grid-two{grid-template-columns:1fr}.tg-root .tg-stat{padding:14px}.tg-root .tg-dl>div{grid-template-columns:1fr;gap:4px}.tg-root .tg-sidebar,.tg-root .tg-card{border-radius:11px}.tg-root .tg-login-card{margin:25px auto}.tg-root .tg-table{min-width:560px}}

.tg-root .tg-secondary-link{display:inline-block;padding:10px 12px;font-size:12px;font-weight:700;text-decoration:underline}.tg-root .tg-card input[type=number]{appearance:textfield}.tg-root .tg-card .tg-checkbox{display:flex!important;align-items:center;gap:8px;font-size:12px;margin:18px 0}.tg-root .tg-card .tg-checkbox input{width:auto;min-width:auto}

/* Redefinição individual de senhas da equipe */
.tg-root .tg-password-reset{margin-top:10px;max-width:270px}
.tg-root .tg-password-reset summary{cursor:pointer;font-size:12px;font-weight:700;text-decoration:underline;list-style-position:inside}
.tg-root .tg-password-reset form{background:var(--tg-soft);padding:12px;border:1px solid var(--tg-line);border-radius:10px;margin-top:10px}
.tg-root .tg-password-reset label{margin:8px 0 5px;font-size:11px}
.tg-root .tg-password-reset input[type=password]{min-width:190px;font-size:12px}
.tg-root .tg-password-reset button{margin-top:12px}

/* Formulários: validação contextual e salvamento sem recarregar a tela inteira. */
.tg-root .tg-field-error{display:block;margin:5px 0 10px;color:#9a324a;font-size:12px;font-weight:650}
.tg-root input[aria-invalid="true"],.tg-root select[aria-invalid="true"],.tg-root textarea[aria-invalid="true"]{border-color:#b44c5e!important;box-shadow:0 0 0 2px rgba(180,76,94,.12)}
.tg-root button[aria-busy="true"]{opacity:.65;cursor:progress}
.tg-root .tg-notice-warn{border-color:#a67a25;background:#fff8e8}
.tg-root .tg-async-toast{position:fixed;bottom:24px;right:24px;max-width:min(440px,calc(100vw - 30px));background:#fff;border:1px solid #eadde4;box-shadow:0 8px 30px rgba(64,24,43,.15);border-left:4px solid #5b936c;z-index:2147483000;padding:14px 18px;border-radius:12px;font-size:13px}
/* Tami Gestão 2.5: editor comercial + venda em preparação. */
.tg-root .tg-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}
.tg-root .tg-button-outline,.tg-root button.tg-button-outline{background:#fff;color:var(--tg-ink);border:1px solid var(--tg-accent)}
.tg-root .tg-button-outline:hover{background:var(--tg-soft);color:var(--tg-ink)}
.tg-root .tg-pos-search{position:relative;margin-bottom:17px}
.tg-root .tg-pos-results{display:grid;gap:6px;margin-top:9px;max-height:270px;overflow:auto}
.tg-root .tg-pos-search-result{width:100%;background:var(--tg-soft);border:1px solid var(--tg-line);border-radius:9px;padding:9px 13px;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}
.tg-root .tg-pos-search-result:hover{background:#f3dfe9;border-color:#d989ae}
.tg-root .tg-pos-search-result small{font-size:11px;white-space:nowrap}
.tg-root .tg-pos-cart input.tg-pos-qty{width:74px;min-width:74px;padding:5px;min-height:36px}
.tg-root .tg-pos-remove{background:transparent;color:#963a58;border:1px solid #d9b7ca;padding:7px 9px;border-radius:8px;font-size:11px;cursor:pointer}
.tg-root .tg-pos-total{background:var(--tg-soft);padding:15px;border-radius:10px;text-align:right;margin:12px 0}
.tg-root .tg-pos-total strong{font-size:20px}
.tg-root .tg-pos-payment-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,90px) auto;align-items:end;gap:10px;margin:10px 0;padding:9px;border:1px solid var(--tg-line);border-radius:10px}
.tg-root .tg-pos-payment-summary{font-size:12px;color:var(--tg-muted);margin:10px 0}
.tg-root .tg-pos-overpay{color:#a02c48;font-weight:700}
.tg-root .tg-pos-form h3{font-size:16px;margin:22px 0 7px}
@media(max-width:750px){.tg-root .tg-pos-payment-row{grid-template-columns:1fr 1fr}.tg-root .tg-pos-search-result{align-items:flex-start;flex-direction:column}.tg-root .tg-pos-cart{min-width:580px}}

/* Tami Gestão 2.6 — caixa, confirmação operacional e recuperação local. */
.tg-root .tg-pos-connection{font-size:12px;background:#eff7f1;border-left:3px solid #5d996a;padding:9px 12px;border-radius:8px;margin:12px 0 16px}
.tg-root .tg-pos-connection.tg-pos-offline{background:#fff0de;border-color:#be8440;color:#744414}
.tg-root .tg-pos-finalize,.tg-root .tg-pos-local-tools{padding:17px;background:var(--tg-soft);border:1px solid var(--tg-line);border-radius:12px;margin:18px 0}
.tg-root .tg-pos-local-tools h3,.tg-root .tg-pos-finalize h3{margin:0 0 10px}
.tg-root .tg-pos-local-status{min-height:1.4em;font-size:12px;color:#694257}
.tg-root .tg-pos-confirm{display:flex!important;align-items:flex-start;gap:10px;line-height:1.45;font-weight:600!important}
.tg-root .tg-pos-confirm input[type=checkbox]{flex:0 0 auto;margin:3px 0 0;accent-color:var(--tg-accent);min-height:auto}
.tg-root .tg-stat{padding:14px;background:var(--tg-soft);border:1px solid var(--tg-line);border-radius:10px}
.tg-root .tg-stat span,.tg-root .tg-stat strong{display:block}
.tg-root .tg-stat strong{font-size:19px}
.tg-root button:disabled{opacity:.45;cursor:not-allowed}

/* Tami Gestão 2.7 — PDV operacional, prioridade em leitura e velocidade. */
.tg-root .tg-pos-workspace{padding:clamp(14px,2vw,24px)}
.tg-root .tg-pos-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.tg-root .tg-pos-header h2{font-size:clamp(23px,2.5vw,31px);margin:0 0 4px}
.tg-root .tg-pos-header .tg-muted{margin:0}
.tg-root .tg-pos-state{font-weight:800;font-size:12px;padding:10px 15px;border-radius:100px;background:#edf7f0;border:1px solid #8eb99b;color:#225735}
.tg-root .tg-pos-cash-required{background:#fff8e9;border:1px solid #dbb67b;border-radius:14px;padding:22px;max-width:620px}
.tg-root .tg-pos-cash-required h3{margin:0 0 6px;font-size:20px;color:#542a18}
.tg-root .tg-pos-cash-required form{max-width:380px}
.tg-root .tg-pos-cash-strip{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center;background:#eef8f1;border:1px solid #9bbfab;border-radius:12px;padding:13px 16px;color:#244c31;font-size:13px;margin-bottom:13px}
.tg-root .tg-pos-cash-buttons{display:flex;flex-wrap:wrap;gap:7px}
.tg-root .tg-pos-cash-buttons button{min-height:37px;padding:8px 10px;font-size:12px}
.tg-root .tg-pos-cash-panel{padding:15px 18px;border:1px solid #cdb5c2;border-radius:12px;margin:0 0 13px;background:#fffbfd;max-width:660px}
.tg-root .tg-pos-cash-panel[hidden],.tg-root .tg-pos-new-customer[hidden]{display:none!important}
.tg-root .tg-pos-cash-panel h3{font-size:17px;margin-bottom:0}
.tg-root .tg-pos-cash-panel form{max-width:480px}
.tg-root .tg-pos-connection{margin:10px 0}
.tg-root .tg-pos-key-guide{background:#f7f7f9;color:#3d3340;border:1px solid #dcd7db;border-radius:10px;padding:10px 13px;font-size:11px;line-height:2}
.tg-root .tg-pos-key-guide kbd{border:1px solid #b9a9b3;border-radius:5px;padding:3px 5px;background:#fff;font:700 11px/1.3 monospace;color:#2b1520;white-space:nowrap}
.tg-root .tg-pos-form{margin-top:15px}
.tg-root .tg-pos-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.85fr);gap:18px;align-items:start}
.tg-root .tg-pos-left,.tg-root .tg-pos-right{min-width:0}
.tg-root .tg-pos-left>div,.tg-root .tg-pos-checkout{background:#fff;border:1px solid #e4d1da;border-radius:13px;padding:15px;margin-bottom:14px}
.tg-root .tg-pos-checkout{position:sticky;top:18px;background:#fffafc;box-shadow:0 3px 15px rgba(64,24,43,.045)}
.tg-root .tg-pos-checkout h3{font-size:19px;margin:0 0 10px}
.tg-root .tg-pos-section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tg-root .tg-pos-section-top h3{margin:0!important}
.tg-root .tg-pos-section-top .tg-button{font-size:11px;padding:6px 10px;min-height:35px;margin:0}
.tg-root .tg-pos-search{margin:0 0 14px!important}
.tg-root .tg-pos-search label{color:#311321;font-size:14px;font-weight:800}
.tg-root input.tg-pos-search-input{font-size:15px;min-height:53px;border:2px solid #9f6885;background:#fff;color:#25111c;font-weight:650}
.tg-root input.tg-pos-search-input::placeholder{font-size:13px;color:#765b69;font-weight:450;opacity:1}
.tg-root .tg-pos-results{max-height:370px;margin-top:7px;gap:6px;scrollbar-width:thin}
.tg-root button.tg-pos-search-result{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:4px 12px;align-items:center;background:#fff;border:1.5px solid #c7aebc;border-radius:10px;min-height:64px;color:#25101b;padding:12px 14px;text-align:left;font-size:13px;line-height:1.5}
.tg-root button.tg-pos-search-result:hover,.tg-root button.tg-pos-search-result:focus-visible{background:#fff0f7;border-color:#b05683;outline:2px solid #b05683;outline-offset:1px}
.tg-root .tg-pos-search-result strong{font-size:13px;color:#25101b;font-weight:800;grid-column:1;overflow-wrap:anywhere}
.tg-root .tg-pos-search-result .tg-pos-result-sku{font-size:12px;color:#624757;grid-column:1;font-weight:650}
.tg-root .tg-pos-search-result .tg-pos-result-price{font-size:15px;color:#341326;font-weight:800;grid-column:2;grid-row:1/3;justify-self:end}
.tg-root .tg-pos-search-result small{font-size:11px;color:#7a4758;grid-column:1/3}
.tg-root .tg-pos-no-results{background:#fff8ee;padding:12px;color:#623e22;border-radius:9px}
.tg-root .tg-pos-help{display:block;color:#5d4652;font-size:11px;line-height:1.5;margin-top:7px}
.tg-root .tg-pos-cart-wrap{margin:0 0 14px}
.tg-root .tg-pos-cart{min-width:500px}
.tg-root .tg-pos-cart td strong,.tg-root .tg-pos-cart td small{display:block}
.tg-root .tg-pos-cart td small{color:#6e5361;font-size:11px}
.tg-root .tg-pos-empty{padding:25px!important;text-align:center;background:#faf5f8;color:#594151}
.tg-root .tg-pos-customer-chosen{padding:9px 12px;border-radius:9px;background:#f4f9f4;color:#22492d;font-size:12px;font-weight:750}
.tg-root .tg-pos-customer-results{display:grid;gap:6px;max-height:240px;overflow:auto;margin-top:8px}
.tg-root .tg-pos-customer-result{border:1px solid #d6b9c8;border-radius:8px;background:#fff;cursor:pointer;text-align:left;padding:8px 12px;min-height:45px}
.tg-root .tg-pos-customer-result:hover{background:#fff0f7}
.tg-root .tg-pos-customer-result strong,.tg-root .tg-pos-customer-result small{display:block;color:#3e1a2d}
.tg-root .tg-pos-customer-result small{font-size:11px;color:#64505c}
.tg-root .tg-pos-customer-clear{padding:6px 10px;min-height:33px;font-size:11px;margin-top:8px!important}
.tg-root .tg-pos-discount-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tg-root .tg-pos-discount-grid input,.tg-root .tg-pos-discount-grid select{min-height:43px}
.tg-root .tg-pos-math{border-bottom:1px solid #d9c2ce;padding:5px 0 12px}
.tg-root .tg-pos-math>div{display:flex;justify-content:space-between;gap:8px;color:#4c3341;font-size:13px;padding:3px 0}
.tg-root .tg-pos-math span{font-weight:700}
.tg-root .tg-pos-total{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:16px 12px;margin:12px 0 18px;background:#40182b;color:#fff;border-radius:11px;font-weight:700;text-align:left}
.tg-root .tg-pos-total strong{font-size:clamp(19px,2.2vw,27px);color:#fff;white-space:nowrap}
.tg-root .tg-pos-checkout h4{font-size:15px;margin:12px 0 5px}
.tg-root .tg-pos-quick-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}
.tg-root .tg-pos-quick-methods button{padding:11px 6px;border:1.5px solid #b5839c;background:#fff;border-radius:9px;color:#3e1a2d;font-size:12px;font-weight:750;cursor:pointer}
.tg-root .tg-pos-quick-methods button:hover:not(:disabled){background:#ffeaf3;border-color:#944466}
.tg-root .tg-pos-quick-methods button:disabled{color:#7d7178;background:#efeced;border-color:#d4ced0}
.tg-root .tg-pos-payment-row{grid-template-columns:minmax(0,1fr) minmax(100px,.6fr);padding:10px;align-items:end;gap:7px}
.tg-root .tg-pos-payment-row>div:nth-child(3){grid-column:1}
.tg-root .tg-pos-payment-row .tg-pos-remove{grid-column:2;justify-self:end;align-self:end}
.tg-root .tg-pos-payment-row label{margin:0 0 5px;font-size:11px}
.tg-root .tg-pos-payment-summary{margin:10px 0;font-weight:700;color:#3f2d37}
.tg-root .tg-pos-payment-summary.tg-pos-overpay,.tg-root .tg-pos-payment-alert.tg-pos-error{color:#9f2949}
.tg-root .tg-pos-payment-alert{font-size:12px;font-weight:700;margin:6px 0;min-height:1em}
.tg-root button.tg-pos-save-main{width:100%;background:#40182b;color:#fff;font-size:14px;margin-top:14px}
.tg-root .tg-pos-new-customer{background:#fff;border:1px solid #d1adbf;border-radius:13px;padding:19px;margin:15px 0}
.tg-root .tg-pos-new-customer h3{margin:0 0 4px;font-size:18px}
.tg-root .tg-pos-client-status{font-size:12px;color:#9f2949;font-weight:650;min-height:1.5em}
.tg-root .tg-pos-admin-settings{background:#f8f2f5;padding:14px;border-radius:9px;border:1px solid #e4cbd9;margin:16px 0}
.tg-root .tg-pos-admin-settings summary{cursor:pointer;font-weight:700}
.tg-root .tg-pos-finalize{scroll-margin-top:20px}
@media(max-width:1100px){.tg-root .tg-pos-layout{grid-template-columns:1fr}.tg-root .tg-pos-checkout{position:static}.tg-root .tg-pos-quick-methods{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.tg-root .tg-pos-quick-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-root .tg-pos-discount-grid{grid-template-columns:1fr}.tg-root .tg-pos-key-guide{font-size:10px}.tg-root .tg-pos-header{align-items:flex-start}.tg-root .tg-pos-cash-buttons button{font-size:11px}.tg-root .tg-pos-search-result .tg-pos-result-price{white-space:nowrap}}

/* v2.8 Financeiro gerencial */
.tg-root .tg-span-2{grid-column:1/-1}
.tg-root .tg-card .tg-table-wrap{overflow:auto}
.tg-root .tg-card .tg-form label{display:block;font-weight:600;margin-bottom:5px}
.tg-root .tg-card .tg-form select,.tg-root .tg-card .tg-form input{max-width:100%}
@media(max-width:640px){.tg-root .tg-span-2{grid-column:auto}}

/* Tami Gestão 2.9: busca precisa, resultados descartáveis e produtos avulsos. */
.tg-root .tg-pos-results[hidden],.tg-root .tg-pos-manual-fields[hidden]{display:none!important}
.tg-root .tg-pos-results{background:#fff;position:relative;z-index:12;padding:7px;border:1px solid #c79bb1;border-radius:12px;box-shadow:0 8px 22px rgba(64,24,43,.08)}
.tg-root .tg-pos-search-result{background:#fff;color:#28141f;border:1px solid #bfa6b4}
.tg-root .tg-pos-manual-fields{padding:12px;border:1px solid #ecd5e0;background:#fffafc;border-radius:10px;margin-top:12px}
.tg-root .tg-pos-manual-status{font-size:12px;font-weight:600;color:#7b3957;margin:9px 0}
.tg-root .tg-pos-credit-date{grid-column:1/3}
.tg-root .tg-pos-discount{background:#fff;border:1px solid #d8bdcc;border-radius:10px;padding:13px;margin:12px 0 15px}
.tg-root .tg-pos-discount h3{margin:0 0 8px;font-size:15px}
@media(max-width:600px){.tg-root .tg-pos-credit-date{grid-column:1/-1}}

/* Tami Gestão 3.0 — aplicativo independente, sem elementos do tema ou WooCommerce. */
html:has(body.tami-gestao-standalone){scrollbar-gutter:stable}
body.tami-gestao-standalone{margin:0!important;padding:0!important;min-height:100vh;background:#fbf8fa!important;color:#40182b;overflow-x:hidden}
body.tami-gestao-standalone #wpadminbar{display:none!important}
body.tami-gestao-standalone.admin-bar{margin-top:0!important}
.tg-standalone-shell{min-height:100dvh;width:100%;margin:0;padding:0}
.tg-standalone-shell .tg-root{margin:0;max-width:none;width:100%;min-height:100dvh;font-family:Montserrat,system-ui,Arial,sans-serif;color:#40182b}
.tg-standalone-shell .tg-root .tg-app{min-height:100dvh;display:grid;grid-template-columns:246px minmax(0,1fr);gap:0;align-items:stretch}
.tg-standalone-shell .tg-root .tg-sidebar{border:0;border-radius:0;background:#f7edf2;border-right:1px solid #eadce4;padding:20px 12px;position:sticky;top:0;height:100dvh;overflow-y:auto;display:flex;flex-direction:column}
.tg-standalone-shell .tg-root .tg-brand{margin:0 0 22px;padding:7px 10px}
.tg-standalone-shell .tg-root .tg-sidebar nav{display:block;flex:1}
.tg-standalone-shell .tg-root .tg-menu-group{border-bottom:1px solid #e9dbe3;padding:5px 0 9px;margin-bottom:6px}
.tg-standalone-shell .tg-root .tg-menu-group:last-child{border:0}
.tg-standalone-shell .tg-root .tg-menu-group summary{font-size:12px;cursor:pointer;color:#68445a;font-weight:800;letter-spacing:.025em;min-height:42px;padding:12px 12px;list-style:none;display:flex;align-items:center;justify-content:space-between}
.tg-standalone-shell .tg-root .tg-menu-group summary::-webkit-details-marker{display:none}
.tg-standalone-shell .tg-root .tg-menu-group summary:after{content:'⌄';font-size:16px;opacity:.7;transform:rotate(-90deg);transition:transform .15s}
.tg-standalone-shell .tg-root .tg-menu-group[open] summary:after{transform:rotate(0)}
.tg-standalone-shell .tg-root .tg-menu-items{padding:1px 0 7px}
.tg-standalone-shell .tg-root .tg-nav-link{font-size:12px;padding:11px 12px;margin:3px 0;border:1px solid transparent;color:#482236;line-height:1.4;min-height:40px}
.tg-standalone-shell .tg-root .tg-nav-link.is-active{color:#40182b;background:#fff;border-color:#dfc2d1;box-shadow:0 1px 7px rgba(74,27,51,.045)}
.tg-standalone-shell .tg-root .tg-nav-link:hover{background:#fff;color:#40182b}
.tg-standalone-shell .tg-root .tg-sidefoot{margin-top:auto;padding:15px 10px 4px}
.tg-standalone-shell .tg-root .tg-main{padding:clamp(18px,2.2vw,38px);max-width:1750px;width:100%;margin:0 auto}
.tg-standalone-shell .tg-root .tg-main-head{margin:0 0 23px;padding:3px 0 20px;border-bottom:1px solid #eddee5}
.tg-standalone-shell .tg-root .tg-main-heading,.tg-standalone-shell .tg-root .tg-head-actions{display:flex;align-items:center;gap:12px}
.tg-standalone-shell .tg-root .tg-main-head h1{font-size:clamp(24px,2.5vw,31px)}
.tg-standalone-shell .tg-root .tg-eyebrow{margin:0 0 4px;letter-spacing:1.5px}
.tg-standalone-shell .tg-root .tg-card{box-shadow:0 2px 16px rgba(66,21,46,.025)}
.tg-standalone-shell .tg-root .tg-header-pos{min-height:38px;padding:10px 14px;white-space:nowrap;font-size:12px}
.tg-standalone-shell .tg-root .tg-launch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.tg-standalone-shell .tg-root .tg-launch{padding:17px;background:white;border:1px solid #eadde4;border-radius:14px;display:grid;gap:5px;min-height:94px;align-content:center;text-decoration:none}
.tg-standalone-shell .tg-root .tg-launch:hover{border-color:#ce8eaf;background:#fffafd;text-decoration:none}
.tg-standalone-shell .tg-root .tg-launch strong{font-size:14px;color:#40182b}
.tg-standalone-shell .tg-root .tg-launch span{font-size:12px;color:#755366}
.tg-standalone-shell .tg-root .tg-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.tg-standalone-shell .tg-root .tg-readiness-grid>div{border:1px solid #eadde4;border-radius:10px;padding:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.tg-standalone-shell .tg-root .tg-readiness-grid strong{font-size:12px}
.tg-standalone-shell .tg-root .tg-readiness{font-size:11px;text-align:right}
.tg-standalone-shell .tg-root .tg-ready{color:#26653c}
.tg-standalone-shell .tg-root .tg-attention{color:#9a6613}
.tg-standalone-shell .tg-root .tg-report-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.tg-standalone-shell .tg-root .tg-report-title h2{margin:0}
.tg-standalone-shell .tg-root .tg-report-title a{font-size:12px;font-weight:700;text-decoration:underline}
.tg-standalone-shell .tg-root .tg-login-card{margin:clamp(45px,8vh,120px) auto;width:min(450px,calc(100% - 32px))}
.tg-skip-link{position:absolute;top:-100px;left:12px;z-index:9999;background:white;padding:10px 16px;border-radius:7px}
.tg-skip-link:focus{top:12px}
.tg-standalone-shell .tg-root .tg-pos-search-result{background:#fff;color:#40182b;border:1px solid #d9b6c9;min-height:52px}
.tg-standalone-shell .tg-root .tg-pos-search-result:hover,.tg-standalone-shell .tg-root .tg-pos-search-result:focus{background:#fbe8f1;border-color:#b95e8a}
.tg-standalone-shell .tg-root .tg-pos-search-result strong{color:#40182b;font-weight:750}
.tg-standalone-shell .tg-root input,.tg-standalone-shell .tg-root select,.tg-standalone-shell .tg-root button{color-scheme:light}
.tg-standalone-shell .tg-root .tg-pos-right{align-self:start}
.tg-standalone-shell .tg-root .tg-pos-layout{align-items:start}
.tg-standalone-shell .tg-root .tg-menu-toggle{display:none;padding:5px 10px;background:white;border:1px solid #e2cdd9;border-radius:8px;color:#40182b;font-size:21px;min-width:42px;min-height:42px;cursor:pointer}
.tg-standalone-shell .tg-root .tg-mobile-scrim{display:none}
@media(max-width:1040px){
.tg-standalone-shell .tg-root .tg-app{grid-template-columns:215px minmax(0,1fr)}
.tg-standalone-shell .tg-root .tg-main{padding:20px}
.tg-standalone-shell .tg-root .tg-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg-standalone-shell .tg-root .tg-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
.tg-standalone-shell .tg-root .tg-app{display:block}
.tg-standalone-shell .tg-root .tg-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
.tg-standalone-shell .tg-root .tg-sidebar{position:fixed;inset:0 auto 0 0;width:min(300px,85vw);height:100dvh;z-index:10002;transform:translateX(-102%);transition:transform .2s ease;box-shadow:10px 0 20px rgba(50,17,36,.12)}
.tg-standalone-shell .tg-root.tg-nav-open .tg-sidebar{transform:translateX(0)}
.tg-standalone-shell .tg-root.tg-nav-open .tg-mobile-scrim{display:block;position:fixed;inset:0;z-index:10001;background:rgba(27,7,17,.45)}
.tg-standalone-shell .tg-root .tg-menu-group{width:100%}
.tg-standalone-shell .tg-root .tg-sidebar nav{display:block}
.tg-standalone-shell .tg-root .tg-nav-link{display:flex;width:100%}
.tg-standalone-shell .tg-root .tg-main{padding:20px 16px}
.tg-standalone-shell .tg-root .tg-main-head h1{font-size:22px}
.tg-standalone-shell .tg-root .tg-header-pos{padding:10px 9px}
.tg-standalone-shell .tg-root .tg-badge{display:none}
}
@media(max-width:520px){
.tg-standalone-shell .tg-root .tg-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tg-standalone-shell .tg-root .tg-launch{padding:12px;min-height:84px}
.tg-standalone-shell .tg-root .tg-grid-three{grid-template-columns:1fr}
.tg-standalone-shell .tg-root .tg-readiness-grid{grid-template-columns:1fr}
.tg-standalone-shell .tg-root .tg-main-head{gap:6px;align-items:flex-start}
.tg-standalone-shell .tg-root .tg-main-heading{gap:8px}
.tg-standalone-shell .tg-root .tg-header-pos{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.tg-standalone-shell .tg-root .tg-sidebar{transition:none!important}}
