:root{--ink:#17243a;--muted:#718096;--bg:#f5f8fc;--card:#fff;--brand:#176b87;--dark:#102d3b;--line:#e5ebf2;--green:#27825d;--orange:#b95630;--blue:#326985}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#102d3b,#176b87)}.auth-box{width:min(920px,100%);min-height:560px;display:grid;grid-template-columns:.9fr 1.1fr;overflow:hidden;background:#fff;border-radius:18px;box-shadow:0 25px 80px #071a2555}.auth-side{padding:48px 42px;display:flex;flex-direction:column;color:#edf9f8;background:#123a48}.brand{font-size:21px;font-weight:850;letter-spacing:-.6px;display:flex;gap:10px;align-items:center}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#7cc5b3;color:#10303e;font-size:20px}.auth-side h1{font-size:34px;line-height:1.08;letter-spacing:-1.2px;margin:34px 0 14px}.auth-side p{margin:0;color:#c6dde0;line-height:1.6}.benefits{display:grid;gap:15px;margin-top:auto;font-size:14px}.benefits span{display:flex;align-items:center;gap:9px}.check{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#7cc5b3;color:#123a48;font-weight:900}.auth-form{padding:52px 54px;display:flex;flex-direction:column;justify-content:center}.auth-form h2{font-size:27px;letter-spacing:-.7px;margin:0 0 7px}.auth-form>p{margin:0 0 23px;color:var(--muted);line-height:1.5}.form-grid{display:grid;gap:4px}.field-label{display:block;margin:11px 0 5px;color:var(--muted);font-size:13px;font-weight:700}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #d7e1eb;border-radius:8px;background:#fff;color:var(--ink)}textarea{min-height:92px;resize:vertical}.btn{border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:#fff;color:var(--ink);font-weight:750}.btn.primary{color:#fff;border-color:var(--brand);background:var(--brand)}.btn.danger{color:#a84226;background:#fff2ed;border-color:#ffdacb}.btn:hover{filter:brightness(.97)}.error{min-height:20px;margin-top:12px;color:#a84226;font-size:13px;font-weight:700}.helper{margin-top:17px;color:var(--muted);font-size:14px}.text-button{border:0;padding:0;background:transparent;color:var(--brand);font-weight:800}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{padding:28px 18px;display:flex;flex-direction:column;gap:34px;background:var(--dark);color:#c5dce0}.sidebar .brand{padding:0 9px;color:#fff}.nav{display:grid;gap:6px}.nav button{border:0;border-radius:9px;padding:12px;background:transparent;color:#bdd3d9;text-align:left;font-weight:700}.nav button:hover,.nav button.active{background:#1c4555;color:#fff}.account{margin-top:auto;padding:14px 10px;border-top:1px solid #315363;font-size:13px;line-height:1.5}.account strong{display:block;color:#fff}.content{width:100%;max-width:1440px;margin:auto;padding:30px 38px 46px}.top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}.eyebrow{margin:0 0 5px;color:var(--brand);font-size:13px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.top h1{margin:0;font-size:29px;letter-spacing:-.8px}.actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.stat,.panel{background:var(--card);border:1px solid var(--line);border-radius:13px}.stat{padding:18px}.stat-label{font-size:13px;font-weight:700;color:var(--muted)}.stat-value{font-size:28px;font-weight:850;letter-spacing:-.8px;margin:8px 0 4px}.stat-foot{font-size:12px;color:var(--green);font-weight:700}.stat-foot.neutral{color:var(--muted)}.layout{display:grid;grid-template-columns:1.35fr .85fr;gap:20px}.panel{padding:21px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.panel h2{margin:0;font-size:17px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:610px}th{padding:0 8px 11px;text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}td{padding:13px 8px;border-top:1px solid var(--line);vertical-align:middle}.name{font-weight:800}.detail{display:block;margin-top:3px;color:var(--muted);font-size:12px}.tag{display:inline-block;padding:5px 8px;border-radius:100px;font-size:11px;font-weight:800}.tag.confirmada,.tag.resolvida{background:#e8f6ef;color:#247354}.tag.a_confirmar,.tag.aberta{background:#fff2e8;color:#b95630}.tag.cancelada{background:#f0f2f5;color:#667085}.tag.admin{background:#e8f2fa;color:var(--blue)}.queue{display:grid}.queue-item{padding:13px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:11px}.queue-item:first-child{padding-top:0;border-top:0}.avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#e6f1f4;color:var(--brand);font-size:12px;font-weight:850}.queue-time{margin-left:auto;color:var(--muted);font-size:12px}.search{width:min(300px,100%)}.empty{margin:10px 0;color:var(--muted);text-align:center;padding:26px}.page-note{margin:-15px 0 22px;color:var(--muted);line-height:1.5}.panel+.panel{margin-top:20px}dialog{width:min(520px,calc(100% - 30px));border:0;padding:0;border-radius:14px;box-shadow:0 20px 70px #17243a55}dialog::backdrop{background:#102d3b88}.modal{padding:25px}.modal h2{margin:0 0 7px}.modal p{margin:0 0 15px;color:var(--muted);line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}#toast{position:fixed;right:22px;bottom:22px;z-index:30;max-width:360px;padding:13px 16px;border-radius:9px;background:var(--dark);color:#fff;box-shadow:0 12px 28px #17243a40;opacity:0;pointer-events:none;transform:translateY(12px);transition:.2s}#toast.show{opacity:1;transform:translateY(0)}.auth-contact{margin-top:24px;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:4px;color:var(--muted);font-size:13px}.auth-contact strong{color:var(--ink)}.subscribe-auth{align-items:start;padding-block:34px}.subscribe-box{width:min(1000px,100%);overflow:hidden;background:#fff;border-radius:18px;box-shadow:0 25px 80px #071a2555}.subscribe-header{padding:22px 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.subscribe-copy{padding:38px 42px;background:#123a48;color:#effafa}.subscribe-copy h1{max-width:660px;margin:0 0 12px;font-size:34px;line-height:1.1;letter-spacing:-1px}.subscribe-copy p{max-width:750px;margin:0;color:#c6dde0;line-height:1.55}.trial-note{display:inline-block;margin-top:18px;padding:8px 11px;border:1px solid #6da89e;border-radius:8px;color:#e5f8f2;font-size:13px;font-weight:700}.subscribe-form{padding:36px 42px}.subscribe-form h2{margin:0 0 14px;font-size:24px}.plan-choice{display:block;margin:10px 0;border:1px solid var(--line);border-radius:10px;padding:13px;cursor:pointer}.plan-choice:has(input:checked){border-color:var(--brand);background:#f0f8fa}.plan-choice input{width:auto;margin:0 10px 0 0;vertical-align:top}.plan-choice span{display:inline-grid;gap:3px;width:calc(100% - 28px)}.plan-choice strong{font-size:16px}.plan-choice b{color:var(--brand);font-size:17px}.plan-choice small{color:var(--muted)}.two-columns{grid-template-columns:1fr 1fr;gap:0 16px}.accept-terms{display:flex;align-items:flex-start;gap:8px;margin-top:14px;color:var(--muted);font-size:13px;line-height:1.4}.accept-terms input{width:auto;margin-top:2px}.payment-pending{padding:13px;border-radius:8px;background:#fff2e8;color:#94502d;font-size:14px;font-weight:700}@media(max-width:920px){.shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:24px 18px}.stats{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr}.auth-box{grid-template-columns:1fr}.auth-side{display:none}.auth-form{padding:37px 28px}.subscribe-copy,.subscribe-form{padding:28px}.two-columns{grid-template-columns:1fr}}@media(max-width:480px){.top{align-items:flex-start;flex-direction:column}.actions{width:100%}.actions .btn{flex:1}.stats{grid-template-columns:1fr}.panel{padding:16px}.subscribe-header{padding:18px}.subscribe-copy h1{font-size:28px}}
.assistant-panel{max-width:860px}.assistant-chat{display:grid;gap:11px;max-height:440px;overflow:auto;padding:4px}.assistant-message{max-width:min(680px,92%);padding:12px 14px;border-radius:12px;line-height:1.5;white-space:pre-wrap}.assistant-message.bot{justify-self:start;background:#eef5f7;color:var(--ink);border:1px solid #dcebed}.assistant-message.user{justify-self:end;background:var(--brand);color:#fff}.assistant-suggestions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.assistant-suggestions .text-button{padding:7px 10px;border:1px solid var(--line);border-radius:999px}.assistant-form{display:flex;gap:10px}.assistant-form input{flex:1}@media(max-width:480px){.assistant-form{display:grid}.assistant-form .btn{width:100%}}
.sidebar-logo{width:32px;height:32px;object-fit:contain;border-radius:8px;background:#fff;padding:2px}.logo-preview{min-height:150px;border:1px dashed var(--line);border-radius:12px;background:#f8fafc;display:grid;place-items:center;color:var(--muted);overflow:hidden}.logo-preview-image{width:min(230px,82%);max-height:125px;object-fit:contain}.report-brand{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.report-brand strong,.report-brand span{display:block}.report-brand span{font-size:12px;color:var(--muted);margin-top:3px}.report-logo{width:54px;height:54px;object-fit:contain;border-radius:8px;background:#f8fafc;padding:3px}.contracts-panel{margin-top:20px}@media print{.sidebar{display:none!important}.shell{display:block}.content{padding:0;max-width:none}.report-brand{break-inside:avoid}.sidebar-logo{display:none}}
.mobile-navigation{display:none}.ticket-cards{display:none}.modal-wide{width:min(760px,calc(100vw - 30px))}.ticket-table-panel{margin-top:20px}@media(max-width:920px){body{font-size:16px}.content{padding:12px 14px 30px}.mobile-navigation{position:sticky;top:0;z-index:20;display:block;margin:-12px -14px 20px;padding:10px 14px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.mobile-navigation-head{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center}.mobile-navigation-head strong{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mobile-menu-toggle,.mobile-logout{border:0;border-radius:10px;background:var(--card);color:var(--ink);font-weight:800;min-height:40px}.mobile-menu-toggle{font-size:21px}.mobile-logout{padding:0 10px;font-size:13px}.mobile-navigation-items{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}.mobile-navigation.open .mobile-navigation-items{display:grid}.mobile-navigation-items button{min-height:43px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font-weight:750;text-align:left}.mobile-navigation-items button.active{color:#fff;background:var(--brand);border-color:var(--brand)}.mobile-logo{width:28px;height:28px;object-fit:contain;border-radius:7px;background:#fff;padding:2px}.top{margin-bottom:20px}.top h1{font-size:25px;line-height:1.12}.eyebrow{font-size:11px}.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.actions .btn{min-height:44px;padding:9px;font-size:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.stat{padding:14px}.stat-value{font-size:24px}.layout{gap:14px}.panel{padding:16px;border-radius:12px}.panel-head{align-items:flex-start;margin-bottom:14px}.page-note{margin:-10px 0 18px;font-size:14px}.table-wrap{margin-inline:-16px;padding-inline:16px}.ticket-table-panel{display:none}.ticket-cards{display:grid;gap:11px}.ticket-card{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 5px 18px #17243a0d}.ticket-card-head{display:flex;justify-content:space-between;gap:9px;align-items:flex-start}.ticket-card-head strong,.ticket-card-head span{display:block}.ticket-card-head strong{color:var(--brand);font-size:13px}.ticket-card-head div>span{margin-top:4px;font-weight:800;line-height:1.3}.ticket-card-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.ticket-card-meta span{padding:5px 7px;border-radius:8px;background:#f2f6fa;color:var(--muted);font-size:12px}.ticket-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.ticket-card-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.ticket-card-actions .btn{min-height:42px}.modal-wide,.modal{padding:20px}.modal-wide .two-columns{grid-template-columns:1fr;gap:0}.modal-actions{position:sticky;bottom:-20px;margin:20px -20px -20px;padding:12px 20px;background:#fff;border-top:1px solid var(--line)}dialog{max-height:calc(100dvh - 22px);overflow:auto;width:calc(100% - 20px);border-radius:14px}.logo-preview{min-height:120px}.contracts-panel{margin-top:16px}}@media(max-width:480px){.mobile-navigation-items{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.stat-label{font-size:12px}.stat-value{font-size:22px}.top{gap:12px}.top h1{font-size:23px}.actions .btn{font-size:13px}.ticket-card-actions{align-items:stretch;flex-direction:column}.ticket-card-actions .btn,.ticket-card-actions .text-button{width:100%;text-align:center}.form-grid.two-columns{grid-template-columns:1fr}.subscribe-form{padding:24px 18px}.auth-form{padding:30px 22px}}
.recurring-stat{border-color:#cde2ea;background:linear-gradient(135deg,#fff,#f1f9fb)}
.ticket-revenue-stat{border-color:#d9e7d7;background:linear-gradient(135deg,#fff,#f4fbf1)}.auth-kicker{margin:30px 0 -20px!important;color:#8fd8ca!important;font-size:11px;font-weight:850;letter-spacing:.12em;line-height:1.2!important}.auth-segments{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.auth-segments span{padding:7px 10px;border:1px solid #4c727f;border-radius:999px;background:#ffffff0d;color:#e6f5f4;font-size:12px;font-weight:750}.auth-segments+.benefits{margin-top:auto}.shoficina-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:-8px 0 14px}.shoficina-toolbar label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:750}.shoficina-toolbar input{width:165px}.period-tabs{display:flex;flex-wrap:wrap;gap:7px}.period-tabs .btn{padding:8px 11px}.shoficina-layout{margin-top:20px;grid-template-columns:1.1fr .9fr}.sales-trend{height:210px;display:flex;align-items:end;gap:5px;padding:15px 0 0;border-bottom:1px solid var(--line);overflow-x:auto}.sales-bar{height:100%;min-width:24px;display:grid;grid-template-rows:1fr auto;align-items:end;gap:6px;text-align:center}.sales-bar span{display:block;min-height:5px;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#38a1bd,var(--brand))}.sales-bar small{color:var(--muted);font-size:10px}.status-summary{display:grid;gap:8px}.status-summary>div{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:11px 0;border-top:1px solid var(--line)}.status-summary>div:first-child{padding-top:0;border-top:0}.status-summary strong{font-size:14px}.status-summary small{grid-column:1/-1;color:var(--muted);font-size:12px}.cash-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:11px}.cash-methods>div{display:grid;gap:4px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fbfdff}.cash-methods span{color:var(--green);font-weight:750}.cash-methods small{color:var(--muted)}.shoficina-empty{max-width:700px;margin:40px auto}.shoficina-empty p{line-height:1.6;color:var(--muted)}@media(max-width:920px){.mobile-menu-toggle{display:none}.mobile-navigation-head{grid-template-columns:1fr auto}.mobile-navigation-items,.mobile-navigation.open .mobile-navigation-items{display:flex;max-width:100%;gap:8px;padding:10px 1px 1px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.mobile-navigation-items button{flex:0 0 auto;min-width:max-content;text-align:center}.mobile-navigation-items::-webkit-scrollbar{height:4px}.mobile-navigation-items::-webkit-scrollbar-thumb{background:#b7c8d1;border-radius:999px}.shoficina-toolbar{align-items:stretch;flex-direction:column}.shoficina-toolbar label,.shoficina-toolbar input{width:100%}.shoficina-layout{grid-template-columns:1fr}.sales-trend{height:180px}.shoficina-stats .stat-value{font-size:21px}} 

/* Módulo FogoPDV: dados e navegação isolados por negócio. */
body[data-business="pdv"]{--ink:#203027;--muted:#6e7b72;--bg:#f4f6f2;--card:#fff;--brand:#1d6947;--dark:#173f2e;--line:#dfe6e0;--green:#21714d;--orange:#b56b24;--blue:#2d8960}body[data-business="pdv"] .sidebar{background:linear-gradient(180deg,#173f2e,#0d2c1e)}body[data-business="pdv"] .nav button:hover,body[data-business="pdv"] .nav button.active{background:#285b43}body[data-business="pdv"] .brand-mark{background:#eab15f;color:#143b29}
.pdv-sale-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:20px;align-items:start}.pdv-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.pdv-product-card{min-height:126px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#fff,#f5f8f4);color:var(--ink);text-align:left}.pdv-product-card:hover:not(:disabled){border-color:var(--brand);box-shadow:0 8px 20px #173f2e14;transform:translateY(-1px)}.pdv-product-card:disabled{opacity:.48;cursor:not-allowed}.pdv-product-card>span{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.pdv-product-card strong{font-size:16px;line-height:1.2}.pdv-product-card b{margin-top:auto;color:var(--brand);font-size:17px}.pdv-product-card small{color:var(--muted);font-size:12px}.pdv-checkout{position:sticky;top:20px}.pdv-cart-list{display:grid;gap:0;max-height:310px;overflow:auto;border-block:1px solid var(--line)}.pdv-cart-item{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.pdv-cart-item:last-child{border-bottom:0}.pdv-cart-item>div:first-child{display:grid;gap:3px}.pdv-cart-item span{font-size:12px;color:var(--muted)}.pdv-quantity{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden}.pdv-quantity button{width:29px;height:29px;border:0;background:#f1f5f1;color:var(--brand);font-size:18px}.pdv-quantity b{min-width:28px;text-align:center;font-size:13px}.pdv-total{display:flex;align-items:center;justify-content:space-between;margin:18px 0;padding-top:16px;border-top:1px dashed var(--line)}.pdv-total span{font-weight:800}.pdv-total strong{font-size:26px;color:var(--brand)}
.pdv-table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:15px}.pdv-table-card{min-height:178px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.pdv-table-card.occupied{border-color:#edc183;background:#fff8ed}.pdv-table-card>span{font-size:11px;font-weight:900;letter-spacing:.09em;color:var(--green)}.pdv-table-card.occupied>span{color:#a65d11}.pdv-table-card strong{font-size:24px}.pdv-table-card small{color:var(--muted);line-height:1.4}.pdv-table-card>div{display:flex;align-items:center;gap:12px;margin-top:auto}.pdv-table-card .btn{padding:8px 11px;font-size:13px}
@media(max-width:920px){.pdv-sale-layout{grid-template-columns:1fr}.pdv-checkout{position:static}.pdv-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-product-card{min-height:116px}.pdv-table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-cart-list{max-height:none}.pdv-shell .mobile-navigation-items{padding-bottom:4px}}@media(max-width:480px){.pdv-product-grid,.pdv-table-grid{grid-template-columns:1fr 1fr;gap:10px}.pdv-product-card{padding:12px}.pdv-product-card strong{font-size:14px}.pdv-product-card b{font-size:15px}.pdv-cart-item{grid-template-columns:1fr auto;gap:8px}.pdv-cart-item>strong{grid-column:2;grid-row:1}.pdv-quantity{grid-column:1;grid-row:2}.pdv-cart-item>div:first-child{grid-column:1;grid-row:1}.pdv-table-card{padding:14px;min-height:165px}}
.pdv-delivery-fields{margin-top:18px;padding:16px;border:1px solid #cfe4d6;border-radius:12px;background:#f5fbf6}.pdv-delivery-fields h3{margin:0;color:var(--brand);font-size:16px}.pdv-delivery-fields .detail{margin-bottom:7px}.pdv-subtotal,.pdv-fee-summary{display:flex;justify-content:space-between;align-items:center;padding-top:12px;color:var(--muted);font-size:13px}.pdv-fee-summary{color:#a65d11}.pdv-delivery-receipt{max-width:330px;margin:auto;padding:16px;border:1px dashed #829589;border-radius:8px;background:#fff;color:#17241c;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.pdv-delivery-receipt header{text-align:center;padding-bottom:11px;border-bottom:1px dashed #829589}.pdv-delivery-receipt header strong,.pdv-delivery-receipt header span{display:block}.pdv-delivery-receipt header strong{font-size:16px}.pdv-delivery-receipt header span{margin-top:4px;font-size:11px;font-weight:800;letter-spacing:.08em}.receipt-line,.receipt-item,.receipt-totals p{display:flex;justify-content:space-between;gap:8px}.pdv-delivery-receipt section{padding:10px 0;border-bottom:1px dashed #829589}.pdv-delivery-receipt h3{margin:0 0 5px;font-size:11px;text-transform:uppercase}.pdv-delivery-receipt p{margin:4px 0;line-height:1.35}.receipt-grand-total{margin-top:10px!important;padding-top:8px;border-top:1px solid #17241c;font-size:16px}.pdv-delivery-receipt footer{padding-top:11px;text-align:center;font-size:11px;font-weight:700}.pdv-receipt-modal{max-width:420px}

/* Checkout do PDV: rolagem independente para telas baixas, sem perder total ou recebimento. */
.pdv-checkout{top:12px;max-height:calc(100dvh - 24px);box-sizing:border-box;overflow-y:scroll;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#6c9981 #edf3ee}.pdv-checkout::-webkit-scrollbar{width:10px}.pdv-checkout::-webkit-scrollbar-track{background:#edf3ee;border-radius:999px}.pdv-checkout::-webkit-scrollbar-thumb{background:#6c9981;border:2px solid #edf3ee;border-radius:999px}.pdv-checkout-footer{position:sticky;bottom:0;z-index:2;margin-top:14px;padding:12px 0 max(2px,env(safe-area-inset-bottom));background:linear-gradient(to bottom,#ffffffea 0%,#fff 18%);box-shadow:0 -10px 14px #fff}.pdv-checkout-footer .pdv-total{margin:12px 0}.pdv-receive-button{position:relative;z-index:1;width:100%;min-height:48px}@media(max-width:920px){.pdv-checkout{position:relative;top:auto;max-height:calc(100dvh - 20px);overflow-y:scroll;overscroll-behavior-y:contain}.pdv-checkout .pdv-cart-list{max-height:210px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}}@media(max-width:480px){.pdv-checkout{max-height:calc(100dvh - 12px);padding:14px}.pdv-checkout .pdv-cart-list{max-height:168px}.pdv-checkout-footer{margin-top:10px;padding-top:10px}.pdv-checkout-footer .pdv-total{margin:10px 0}.pdv-receive-button{min-height:50px}}

/* PDV mobile: navegação de operação, checkout acessível e formulários para toque. */
.pdv-mobile-header,.pdv-mobile-navigation{display:none}.pdv-product-search{display:grid;gap:5px;margin:0 0 14px}.pdv-product-search span{color:var(--muted);font-size:12px;font-weight:800}.pdv-product-search input{min-height:44px}.pdv-product-card[hidden]{display:none!important}
@media(max-width:920px){body[data-business="pdv"]{padding-bottom:86px}body[data-business="pdv"] .pdv-shell .content{padding:0 12px 174px;max-width:none}.pdv-shell .sidebar{display:none}.pdv-mobile-header{position:sticky;top:0;z-index:52;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -12px 14px;padding:10px 12px;background:#173f2ef5;color:#fff;box-shadow:0 4px 16px #102d3b24;backdrop-filter:blur(14px)}.pdv-mobile-header strong{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px}.pdv-mobile-header strong>span:last-child{display:grid;gap:1px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdv-mobile-header small{font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#b8d8c4}.pdv-mobile-header .brand-mark{width:34px;height:34px;flex:0 0 34px;background:#eab15f;color:#143b29}.pdv-mobile-logout{min-width:52px;min-height:44px;padding:0 10px;border:1px solid #779d8b;border-radius:10px;background:#ffffff16;color:#fff;font-weight:800}.pdv-mobile-navigation{position:fixed;right:0;bottom:0;left:0;z-index:70;display:block;padding:7px 0 calc(7px + env(safe-area-inset-bottom));border-top:1px solid #bdd0c3;background:#fffffff7;box-shadow:0 -7px 20px #173f2e1f;backdrop-filter:blur(16px)}.pdv-mobile-navigation-scroll{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 8px;scrollbar-width:thin;scrollbar-color:#6c9981 transparent;scroll-snap-type:x proximity}.pdv-mobile-navigation-scroll::-webkit-scrollbar{height:4px}.pdv-mobile-navigation-scroll::-webkit-scrollbar-thumb{background:#6c9981;border-radius:999px}.pdv-mobile-navigation button{display:grid;grid-template-rows:23px 15px;place-items:center;gap:1px;flex:0 0 68px;min-height:58px;padding:5px 4px;border:1px solid transparent;border-radius:11px;background:transparent;color:#61766a;font-weight:800;scroll-snap-align:center}.pdv-mobile-navigation button>span{font-size:22px;line-height:1}.pdv-mobile-navigation button small{font-size:9px;line-height:1;white-space:nowrap}.pdv-mobile-navigation button.active{border-color:#b7d8c2;background:#e8f5eb;color:#1d6947}.pdv-shell .top{margin-bottom:16px}.pdv-shell .top .actions{gap:8px}.pdv-shell .top .actions .btn{min-height:44px}.pdv-product-search{position:sticky;top:58px;z-index:24;margin:-2px -3px 14px;padding:8px 3px;background:linear-gradient(to bottom,#fff 78%,#ffffff00)}.pdv-product-search input{padding:11px 12px;border-radius:10px;box-shadow:0 3px 8px #173f2e0d}.pdv-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pdv-product-card{min-height:142px;padding:14px;border-radius:14px}.pdv-product-card strong{font-size:15px}.pdv-product-card b{font-size:18px}.pdv-checkout{max-height:calc(100dvh - 88px);padding:16px 14px 144px;overflow-y:scroll;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin}.pdv-checkout::-webkit-scrollbar{width:8px}.pdv-checkout .pdv-cart-list{max-height:192px;overflow-y:auto;overscroll-behavior-y:contain}.pdv-cart-item{gap:10px;padding:14px 0}.pdv-quantity{min-height:44px;border-radius:10px}.pdv-quantity button{width:44px;height:44px;font-size:24px}.pdv-quantity b{min-width:38px;font-size:15px}.pdv-checkout-footer{position:fixed;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;z-index:61;margin:0;padding:10px 14px 12px;border:1px solid #cbe0d0;border-radius:14px;background:#fffffff5;box-shadow:0 10px 28px #173f2e32;backdrop-filter:blur(14px)}.pdv-checkout-footer .pdv-subtotal,.pdv-checkout-footer .pdv-fee-summary{padding-top:5px}.pdv-checkout-footer .pdv-total{margin:7px 0;padding-top:8px}.pdv-checkout-footer .pdv-total strong{font-size:24px}.pdv-receive-button{min-height:52px;border-radius:11px;font-size:16px}.pdv-table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pdv-table-card{min-height:150px;padding:14px}.pdv-shell .table-wrap{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.pdv-shell .table-wrap::-webkit-scrollbar{height:7px}.pdv-shell .table-wrap::-webkit-scrollbar-thumb{background:#8da897;border-radius:999px}.pdv-shell table{min-width:650px}.pdv-shell dialog#modal[open]{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:calc(100dvh - 10px);margin:0;border-radius:20px 20px 0 0}.pdv-shell dialog#modal[open] .modal{max-height:calc(100dvh - 10px);padding:22px 18px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}.pdv-shell dialog#modal[open] .modal .form-grid,.pdv-shell dialog#modal[open] .modal .two-columns{grid-template-columns:1fr}.pdv-shell dialog#modal[open] .modal-actions{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));margin:20px -18px calc(-20px - env(safe-area-inset-bottom));padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}.pdv-shell dialog#modal[open] .btn{min-height:44px}}
@media(max-width:480px){body[data-business="pdv"] .pdv-shell .content{padding-inline:10px;padding-bottom:174px}.pdv-mobile-header{margin-inline:-10px;padding-inline:10px}.pdv-mobile-navigation button{flex-basis:66px;min-height:60px}.pdv-product-search{top:56px}.pdv-product-grid{gap:10px}.pdv-product-card{min-height:148px;padding:13px}.pdv-product-card>span{font-size:10px}.pdv-product-card strong{font-size:14px}.pdv-product-card b{font-size:17px}.pdv-checkout{max-height:calc(100dvh - 76px);padding:14px 12px 146px}.pdv-checkout .pdv-cart-list{max-height:168px}.pdv-checkout-footer{right:10px;left:10px;bottom:calc(74px + env(safe-area-inset-bottom));padding:9px 12px 11px}.pdv-receive-button{min-height:54px}.pdv-cart-item{grid-template-columns:minmax(0,1fr) auto;gap:8px}.pdv-cart-item>strong{align-self:start}.pdv-table-grid{gap:8px}.pdv-table-card{min-height:144px;padding:12px}.pdv-shell dialog#modal[open] .modal{padding-inline:16px}.pdv-shell dialog#modal[open] .modal-actions{margin-inline:-16px;padding-inline:16px}}

@media(max-width:920px){body[data-business="pdv"] dialog#modal[open]{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:calc(100dvh - 10px);margin:0;border-radius:20px 20px 0 0}body[data-business="pdv"] dialog#modal[open] .modal{max-height:calc(100dvh - 10px);padding:22px 18px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}body[data-business="pdv"] dialog#modal[open] .modal .form-grid,body[data-business="pdv"] dialog#modal[open] .modal .two-columns{grid-template-columns:1fr}body[data-business="pdv"] dialog#modal[open] .modal-actions{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));margin:20px -18px calc(-20px - env(safe-area-inset-bottom));padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}body[data-business="pdv"] dialog#modal[open] .btn{min-height:44px}}@media(max-width:480px){body[data-business="pdv"] dialog#modal[open] .modal{padding-inline:16px}body[data-business="pdv"] dialog#modal[open] .modal-actions{margin-inline:-16px;padding-inline:16px}}

/* PDV mobile: os oito módulos operacionais ficam simultaneamente visíveis. */
@media(max-width:920px){
  body[data-business="pdv"]{padding-bottom:126px}
  body[data-business="pdv"] .pdv-shell .content{padding-bottom:284px}
  .pdv-mobile-navigation{height:126px;box-sizing:border-box;padding:5px 8px calc(5px + env(safe-area-inset-bottom))}
  .pdv-mobile-navigation-scroll{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;overflow:hidden;padding:0;scroll-snap-type:none}
  .pdv-mobile-navigation button{min-width:0;height:53px;min-height:53px;padding:4px 2px;overflow:hidden}
  .pdv-mobile-navigation button>span{font-size:19px}
  .pdv-mobile-navigation button small{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:8.5px}
  .pdv-checkout-footer{bottom:calc(136px + env(safe-area-inset-bottom));z-index:71}
  body[data-business="pdv"] #toast{right:10px;bottom:calc(250px + env(safe-area-inset-bottom));left:10px;z-index:80;max-width:none}
}
@media(max-width:480px){
  body[data-business="pdv"] .pdv-shell .content{padding-bottom:284px}
  .pdv-mobile-navigation{height:126px}
  .pdv-mobile-navigation button{height:52px;min-height:52px}
  .pdv-checkout-footer{bottom:calc(136px + env(safe-area-inset-bottom))}
}

/* Consultoria em TI: leitura executiva de tickets e prestação de contas por cliente. */
.ticket-dashboard-toolbar,.ticket-report-controls{display:flex;align-items:end;justify-content:space-between;gap:20px}.ticket-dashboard-toolbar h2,.ticket-report-controls h2{margin:0 0 5px;font-size:17px}.ticket-dashboard-toolbar>div:first-child,.ticket-report-controls>div:first-child{max-width:560px}.ticket-date-controls,.ticket-report-fields{display:flex;flex-wrap:wrap;align-items:end;gap:9px}.ticket-date-controls label,.ticket-report-fields label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:800}.ticket-date-controls input{width:148px}.ticket-report-fields select,.ticket-report-fields input{min-width:145px}.ticket-report-fields label:first-child select{min-width:210px}.ticket-dashboard-period,.ticket-report-period{margin-top:-10px}.ticket-dashboard-layout,.ticket-report-layout{margin-top:20px}.ticket-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ticket-breakdown h3{margin:0 0 9px;font-size:14px}.ticket-breakdown p{display:grid;gap:3px;margin:0;padding:10px 0;border-top:1px solid var(--line)}.ticket-breakdown p:first-of-type{border-top:0;padding-top:0}.ticket-breakdown p span,.ticket-executive-summary span{color:var(--muted);font-size:13px;line-height:1.45}.ticket-executive-summary{display:grid;gap:11px}.ticket-executive-summary p{display:grid;gap:3px;margin:0;padding-bottom:11px;border-bottom:1px solid var(--line)}.ticket-executive-summary p:last-child{padding-bottom:0;border-bottom:0}.ticket-client-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ticket-client-details span{display:grid;gap:4px;min-width:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.ticket-client-details strong{color:var(--ink);font-size:11px;letter-spacing:.06em;text-transform:uppercase}.ticket-report-client-card{margin-top:20px}.ticket-dashboard-stats,.ticket-report-stats{grid-template-columns:repeat(3,1fr)}@media(max-width:920px){.ticket-dashboard-toolbar,.ticket-report-controls{align-items:stretch;flex-direction:column}.ticket-date-controls,.ticket-report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-date-controls input,.ticket-report-fields select,.ticket-report-fields input,.ticket-report-fields label:first-child select{width:100%;min-width:0}.ticket-date-controls .btn,.ticket-report-fields .btn{min-height:44px}.ticket-breakdown{grid-template-columns:1fr}.ticket-client-details{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-dashboard-stats,.ticket-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.ticket-date-controls,.ticket-report-fields,.ticket-client-details{grid-template-columns:1fr}.ticket-dashboard-stats,.ticket-report-stats{grid-template-columns:1fr 1fr}.ticket-dashboard-toolbar .btn,.ticket-report-controls .btn{width:100%}}
@media print{.ticket-dashboard-toolbar,.ticket-report-controls,.ticket-dashboard-period .btn,.ticket-report-period .btn{display:none!important}.ticket-dashboard-layout,.ticket-report-layout{break-inside:avoid}.ticket-report-client-card{break-inside:avoid}}
