:root{--bg:#f5f7fb;--panel:#fff;--panel-2:#f0f5fc;--panel-3:#f0f5fc;--text:#172b4d;--muted:#52647c;--line:#dce4ef;--accent:#1877f2;--accent-2:#1877f2;--ok:#3bc48d;--warn:#f5b84b;--danger:#f06c6c;--info:#68a8ff;--shadow:0 8px 28px #1f3d6914;--radius:14px;--radius-sm:12px;--max:1460px}*{box-sizing:border-box}html{background:var(--bg)}body{background:var(--bg);color:var(--text);min-height:100vh;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.hidden{display:none!important}.boot{min-height:100vh;color:var(--muted);letter-spacing:.02em;place-items:center;font-weight:700;display:grid}.auth-shell{background:radial-gradient(circle at 18% 18%,#1877f221,#0000 30%),linear-gradient(135deg,#f0f5fc,#f0f5fc 65%,#f5f7fb);grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);min-height:100vh;display:grid}.auth-hero{border-right:1px solid #1877f214;flex-direction:column;justify-content:space-between;min-height:100vh;padding:clamp(34px,6vw,90px);display:flex}.brand{align-items:center;gap:14px;display:flex}.brand-mark{background:linear-gradient(145deg,var(--accent),#1877f2);color:#fff;border-radius:14px;place-items:center;width:48px;height:48px;font-weight:900;display:grid;box-shadow:0 10px 28px #1877f22e}.brand-copy strong{letter-spacing:.04em;font-size:17px;display:block}.brand-copy span{color:var(--muted);margin-top:2px;font-size:13px;display:block}.auth-hero h1{letter-spacing:-.055em;max-width:780px;margin:70px 0 20px;font-size:clamp(42px,6vw,78px);line-height:.95}.auth-hero h1 em{color:var(--accent-2);font-style:normal}.auth-hero p{color:#52647c;max-width:680px;font-size:18px;line-height:1.6}.hero-foot{color:#52647c;font-size:13px}.auth-panel{place-items:center;padding:30px;display:grid}.auth-card{width:min(100%,480px);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffffa;border:1px solid #1877f21a;border-radius:26px;padding:30px}.auth-card h2{margin:0 0 8px;font-size:28px}.auth-card>p{color:var(--muted);margin:0 0 24px}.auth-tabs{border:1px solid var(--line);background:#f0f5fc;border-radius:12px;grid-template-columns:1fr 1fr;margin-bottom:20px;padding:4px;display:grid}.auth-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px;font-weight:800}.auth-tabs button.active{background:var(--panel-3);color:var(--text)}.field{flex-direction:column;gap:7px;margin-bottom:15px;display:flex}.field label{text-transform:uppercase;letter-spacing:.07em;color:#52647c;font-size:12px;font-weight:800}.input,.select,.textarea{width:100%;color:var(--text);background:#fff;border:1px solid #dce4ef;border-radius:12px;outline:none;padding:12px 13px;transition:all .16s}.textarea{resize:vertical;min-height:90px}.hint{color:var(--muted);font-size:12px;line-height:1.45}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.btn{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:11px 15px;font-weight:850;transition:all .15s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:linear-gradient(145deg,var(--accent-2),#1877f2);color:#fff}.btn-secondary{color:var(--text);background:#f0f5fc;border-color:#dce4ef}.btn-ghost{color:#52647c;background:0 0;border-color:#dce4ef}.btn-danger{color:#b42332;background:#f06c6c1f;border-color:#f06c6c59}.btn-success{color:#176b47;background:#3bc48d24;border-color:#3bc48d59}.btn-sm{min-height:34px;padding:7px 10px;font-size:13px}.w-full{width:100%}.app-shell{grid-template-columns:264px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);z-index:20;background:#1877f2;flex-direction:column;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0}.sidebar .brand{padding:6px 8px 20px}.nav{flex-direction:column;flex:1;gap:5px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.nav button{color:#52647c;text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:10px;padding:11px 12px;font-weight:750;display:flex}.nav button:hover{color:#172b4d;background:#eaf2ff}.nav button.active{color:#fff;box-shadow:inset 3px 0 0 var(--accent);background:#eaf2ff}.nav-ico{text-align:center;width:22px}.sidebar-foot{background:#1877f2;flex-shrink:0;margin-top:8px;padding:12px 8px 4px}.user-mini{border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:9px;padding:12px}.user-mini strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.user-mini span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.main{min-width:0}.topbar{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;border-bottom:1px solid #1877f214;justify-content:space-between;align-items:center;height:72px;padding:0 26px;display:flex;position:sticky;top:0}.topbar h2{margin:0;font-size:18px}.top-actions{align-items:center;gap:10px;display:flex}.content{max-width:var(--max);margin:0 auto;padding:26px}.page-head{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px;display:flex}.page-head h1{letter-spacing:-.03em;margin:0;font-size:30px}.page-head p{color:var(--muted);margin:6px 0 0}.page-actions{flex-wrap:wrap;gap:9px;display:flex}.grid{gap:16px;display:grid}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 10px #1f3d690a}.card-pad,.metric{padding:18px}.metric span{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-size:12px;font-weight:800;display:block}.metric strong{letter-spacing:-.04em;margin-top:9px;font-size:32px;display:block}.metric small{color:#52647c;margin-top:7px;display:block}.section-title{justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.section-title h3{margin:0;font-size:17px}.section-title span{color:var(--muted);font-size:12px}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.toolbar .input,.toolbar .select{width:auto;min-width:190px}.grow{flex:1}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.table-wrap{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:auto}.table{border-collapse:collapse;width:100%;min-width:760px}.table th{color:#52647c;text-transform:uppercase;letter-spacing:.065em;text-align:left;border-bottom:1px solid var(--line);z-index:1;background:#f0f5fc;padding:11px 12px;font-size:11px;position:sticky;top:0}.table td{vertical-align:middle;border-bottom:1px solid #dce4ef;padding:12px;font-size:14px}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#1877f20a}.td-actions{justify-content:flex-end;gap:6px;display:flex}.num{text-align:right;white-space:nowrap}.badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:850;display:inline-flex}.badge.recebido{color:#145fc0;background:#68a8ff1c;border-color:#68a8ff40}.badge.digitacao{color:#885700;background:#f5b84b1c;border-color:#f5b84b40}.badge.finalizado{color:#176b47;background:#3bc48d1c;border-color:#3bc48d40}.badge.cancelado{color:#b42332;background:#f06c6c1c;border-color:#f06c6c40}.badge.verificar{color:#885700;background:#f5b84b29;border-color:#f5b84b6b;box-shadow:0 0 0 2px #f5b84b0f}.badge.active{color:#176b47;background:#3bc48d1c}.badge.pending{color:#885700;background:#f5b84b1c}.empty{text-align:center;color:var(--muted);padding:34px}.empty strong{color:#172b4d;margin-bottom:5px;display:block}.divider{background:var(--line);height:1px;margin:18px 0}.stepper{gap:8px;margin-bottom:18px;display:flex;overflow:auto}.step{border:1px solid var(--line);background:#f0f5fc;border-radius:12px;flex:1;min-width:145px;padding:11px}.step span{color:#52647c;text-transform:uppercase;font-size:11px;font-weight:800;display:block}.step strong{margin-top:3px;font-size:13px;display:block}.step.done{border-color:#3bc48d47}.products-grid{grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:16px;display:grid}.product-list{max-height:62vh;overflow:auto}.product-row{border-bottom:1px solid #dce4ef;grid-template-columns:90px minmax(0,1fr) 90px 92px;align-items:center;gap:10px;padding:11px 12px;display:grid}.product-row:last-child{border-bottom:0}.product-row:hover{background:#1877f20a}.product-code{color:#52647c;font:12px ui-monospace,monospace}.product-name{font-size:13px;font-weight:750}.product-meta{color:var(--muted);margin-top:3px;font-size:11px}.product-price{text-align:right;font-weight:850}.cart{position:sticky;top:90px}.cart-list{max-height:42vh;overflow:auto}.cart-item{border-bottom:1px solid #dce4ef;padding:11px 0}.cart-item:last-child{border-bottom:0}.cart-item-head{justify-content:space-between;gap:10px;display:flex}.cart-item-name{font-size:13px;font-weight:750}.cart-controls{grid-template-columns:1fr auto auto;align-items:center;gap:8px;margin-top:8px;display:grid}.qty{width:100%;padding:8px 9px}.cart-total{justify-content:space-between;margin-top:15px;font-size:18px;font-weight:900;display:flex}.customer-box{background:#3bc48d0f;border:1px solid #3bc48d38;border-radius:14px;padding:14px}.customer-box strong{display:block}.customer-box span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.company-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.company-card{padding:17px}.company-card h3{margin:0 0 8px}.company-meta{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;display:grid}.company-meta div{background:#f0f5fc;border-radius:10px;padding:10px}.company-meta span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800;display:block}.company-meta strong{margin-top:3px;font-size:13px;display:block}.company-actions{flex-wrap:wrap;gap:7px;margin-top:14px;display:flex}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000a6;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #dce4ef;border-radius:20px;width:min(960px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #1f3d6933}.modal-lg{width:min(1180px,100%)}.modal-head{z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);background:#fffffffa;justify-content:space-between;align-items:center;padding:17px 19px;display:flex;position:sticky;top:0}.modal-head h3{margin:0}.modal-body{padding:19px}.modal-foot{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);background:#fffffffa;justify-content:flex-end;gap:9px;padding:14px 19px;display:flex;position:sticky;bottom:0}.icon-btn{border:1px solid var(--line);color:#172b4d;background:#f0f5fc;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.toast{z-index:120;color:#172b4d;max-width:min(420px,100vw - 40px);box-shadow:var(--shadow);opacity:0;pointer-events:none;background:#fff;border:1px solid #dce4ef;border-radius:13px;padding:13px 15px;transition:all .2s;position:fixed;bottom:20px;right:20px;transform:translateY(16px)}.toast.show{opacity:1;transform:none}.toast.error{background:#fff0f1;border-color:#f06c6c80}.toast.success{background:#eaf8f0;border-color:#3bc48d73}.pending-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.pending-card{text-align:center;max-width:620px;padding:32px}.pending-card .brand-mark{margin:0 auto 18px}.pending-card h1{margin:0 0 10px}.pending-card p{color:var(--muted);line-height:1.6}.pending-actions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:20px;display:flex}.import-drop{text-align:center;background:#f0f5fc;border:1px dashed #dce4ef;border-radius:15px;padding:22px}.import-drop input{max-width:100%}.mapping{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0;display:grid}.preview-table{max-height:360px;overflow:auto}.notice{color:#52647c;background:#f0f5fc;border:1px solid #dce4ef;border-radius:12px;padding:12px 13px;font-size:13px;line-height:1.5}.notice.warn{color:#885700;background:#f5b84b0f;border-color:#f5b84b52}.notice.danger{color:#b42332;background:#f06c6c12;border-color:#f06c6c57}.notice.success{color:#176b47;background:#3bc48d0f;border-color:#3bc48d4d}.mobile-menu{display:none}.skeleton{background:linear-gradient(90deg,#f0f5fc,#f0f5fc,#f0f5fc) 0 0/200% 100%;border-radius:8px;height:18px;animation:1.4s infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}@media (max-width:1080px){.grid-4,.grid-3,.company-cards{grid-template-columns:repeat(2,1fr)}.products-grid{grid-template-columns:1fr}.cart{position:static}.auth-shell{grid-template-columns:1fr}.auth-hero{min-height:auto;padding:38px}.auth-hero h1{margin:60px 0 18px;font-size:56px}.auth-panel{padding:26px}.auth-card{margin-bottom:30px}}@media (max-width:760px){.app-shell{display:block}.sidebar{width:280px;box-shadow:var(--shadow);transition:all .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-104%)}.sidebar.open{transform:none}.mobile-menu{display:grid}.topbar{padding:0 14px}.content{padding:18px 14px}.grid-4,.grid-3,.grid-2,.company-cards,.form-row,.mapping{grid-template-columns:1fr}.page-head{flex-direction:column;align-items:flex-start}.page-actions{width:100%}.page-actions .btn{flex:1}.product-row{grid-template-columns:72px minmax(0,1fr) 82px}.product-row .btn{grid-column:2/4}.toolbar .input,.toolbar .select{width:100%;min-width:0}.table{min-width:680px}.auth-hero{display:none}.auth-panel{min-height:100vh}.auth-card{padding:24px}.modal-backdrop{padding:8px}.modal{border-radius:14px}.metric strong{font-size:28px}}.nav-count{color:#fff;background:#b63f3f;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:11px;font-weight:900;display:inline-grid;box-shadow:0 0 0 2px #b63f3f24}.order-attention{color:#885700;cursor:pointer;background:linear-gradient(90deg,#f5b84b24,#f5b84b0f);border:1px solid #f5b84b73;border-radius:14px;flex-direction:column;gap:4px;margin:0 0 16px;padding:14px 16px;display:flex;box-shadow:0 10px 26px #0000001f}.order-attention strong{font-size:14px}.order-attention span{color:#885700;font-size:12px}.order-row-attention{background:#f5b84b0e!important}.order-row-attention td:first-child{box-shadow:inset 3px 0 #f5b84be6}.count-list{flex-direction:column;gap:12px;display:flex}.count-row{border-bottom:1px solid #dce4ef;padding:10px 0}.count-row:last-child{border-bottom:0}.count-row-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px;display:flex}.count-row-head strong{font-size:13px}.count-row-head span{color:#52647c;white-space:nowrap;font-size:12px}.count-bar{background:#1877f214;border-radius:999px;height:7px;overflow:hidden}.count-bar i{background:linear-gradient(90deg,#1877f2,#1877f2);border-radius:999px;height:100%;display:block}.history-status-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.history-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.history-view-tabs{max-width:620px;margin-bottom:16px}.history-report-paper{background:#fff;border:1px solid #383838;border-radius:4px;overflow:hidden;box-shadow:0 16px 40px #0003}.history-report-banner{background:#050505;grid-template-columns:130px 1fr 130px;align-items:center;min-height:76px;padding:8px 14px;display:grid}.history-report-brand{color:#1877f2;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}.history-report-brand-mark{letter-spacing:-1px;border:2px solid #1877f2;border-radius:10px;place-items:center;width:42px;height:42px;font-size:19px;font-weight:950;display:grid}.history-report-brand small{letter-spacing:1px;font-size:7px}.history-report-caption{color:#fff;text-align:center;letter-spacing:.2px;text-transform:uppercase;font-size:15px;font-weight:700}.history-report-scroll{background:#fff;overflow:auto}.history-report-table{border-collapse:collapse;color:#111;width:100%;font-size:13px;line-height:1.2}.history-report-table-wide{min-width:820px}.history-report-table-seller{max-width:640px;margin:0 auto}.history-report-table th,.history-report-table td{border:1px solid #383838;padding:9px 10px}.history-report-table thead th{color:#fff;text-align:center;text-transform:uppercase;background:#5b5b5b;font-size:11px}.history-report-table tbody td{background:#f3f3f3}.history-report-table tbody td:first-child{text-align:left;background:#d2d0d0;font-weight:800}.history-report-table .num,.history-report-table td:not(:first-child){text-align:center}.history-report-table tfoot th,.history-report-table .report-total-row td{font-weight:900;color:#fff!important;background:#363636!important}.history-report-table tfoot th:first-child,.history-report-table .report-total-row td:first-child{text-align:left}.history-total-note{text-align:right;color:#52647c;margin-top:10px;font-size:12px}@media (max-width:720px){.history-report-banner{grid-template-columns:84px 1fr 20px;min-height:64px;padding:7px 8px}.history-report-brand-mark{width:34px;height:34px;font-size:15px}.history-report-brand small{display:none}.history-report-caption{font-size:11px}}.db-usage-card{overflow:hidden}.db-usage-card .section-title>div{flex-direction:column;gap:3px;display:flex}.db-usage-card .section-title span{color:#52647c;font-size:12px;font-weight:500}.db-usage-main{justify-content:space-between;align-items:flex-end;gap:16px;margin:14px 0 10px;display:flex}.db-usage-main>div{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.db-usage-main strong{font-size:28px;line-height:1}.db-usage-main span{color:#52647c;font-size:13px}.db-usage-status{text-transform:uppercase;letter-spacing:.5px;border:1px solid #0000;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900}.db-usage-status.normal{color:#176b47;background:#2ebe851f;border-color:#2ebe853d}.db-usage-status.warning{color:#885700;background:#f5b84b24;border-color:#f5b84b52}.db-usage-status.critical{color:#b42332;background:#f06c6c21;border-color:#f06c6c4d}.db-usage-track{background:#1877f214;border:1px solid #dce4ef;border-radius:999px;height:12px;overflow:hidden}.db-usage-track i{border-radius:999px;min-width:2px;height:100%;transition:width .25s;display:block}.db-usage-track i.normal{background:linear-gradient(90deg,#2c9f78,#47c99a)}.db-usage-track i.warning{background:linear-gradient(90deg,#c8952d,#f0c55d)}.db-usage-track i.critical{background:linear-gradient(90deg,#b94444,#ef6c6c)}.db-usage-meta{color:#52647c;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;display:flex}.db-usage-thresholds{color:#52647c;border-top:1px solid #dce4ef;flex-wrap:wrap;gap:18px;margin-top:13px;padding-top:12px;font-size:11px;display:flex}.db-usage-card.warning{border-color:#f5b84b59}.db-usage-card.critical{border-color:#f06c6c66}@media (max-width:720px){.db-usage-main{flex-direction:column;align-items:flex-start}.db-usage-main strong{font-size:24px}.db-usage-meta{flex-direction:column;gap:4px}}.count-edit-help{color:#52647c;background:#1877f212;border:1px solid #1877f247;border-radius:10px;margin:0 0 14px;padding:10px 12px;font-size:12px}.count-edit-help strong{color:#885700}.count-edit-input{color:#111;text-align:center;width:66px;max-width:100%;font:inherit;background:#fff;border:1px solid #1877f2;border-radius:7px;outline:none;padding:6px 7px;font-weight:800}.count-edit-input:focus{border-color:#1877f2;box-shadow:0 0 0 3px #1877f233}.count-edit-input:disabled{opacity:.55}.badge.locked{color:#b42332;background:#f06c6c24;border-color:#f06c6c57}.warn-text{color:#885700;margin-top:5px}.orders-filter-bar{grid-template-columns:minmax(0,1fr) 220px 260px;align-items:end;gap:10px;margin-bottom:14px;display:grid}.orders-filter-bar>div{min-width:0}.orders-filter-bar label{letter-spacing:.05em;text-transform:uppercase;color:#52647c;margin:0 0 6px;font-size:10px;font-weight:800;display:block}.orders-filter-bar .input,.orders-filter-bar .select{width:100%;min-width:0;max-width:100%}@media (max-width:1100px){.orders-filter-bar{grid-template-columns:minmax(0,1fr) 190px 220px}}.whatsapp-copy-btn{min-height:48px;margin-top:14px}textarea#order-notes{resize:vertical;height:auto;min-height:88px;padding-top:12px;padding-bottom:12px;font-family:inherit;line-height:1.45}.order-notification-controls{align-items:center;gap:5px;margin-left:auto;margin-right:10px;display:flex}.order-bell{white-space:nowrap}.order-bell span{font-weight:800}.order-notification-panel{z-index:75;width:min(440px,100vw - 24px);max-height:75vh;box-shadow:var(--shadow);position:fixed;top:78px;right:16px;overflow:auto}.order-notification-panel h3{font-size:17px}.order-alert-list{gap:8px;display:grid}.order-alert-item{text-align:left;border:1px solid var(--line);background:var(--panel,#fff);width:100%;color:var(--text,#172b4d);cursor:pointer;border-radius:10px;gap:5px;padding:12px;display:grid}.order-alert-item span,.order-alert-item small{overflow-wrap:anywhere}.order-alert-item small{color:var(--muted)}.order-notification-alerts{z-index:74;width:min(390px,100vw - 24px);position:fixed;bottom:24px;right:18px}.order-notification-banner{border:1px solid var(--accent);box-shadow:var(--shadow)}.order-notification-banner p{overflow-wrap:anywhere}.order-notification-banner>div{gap:8px;display:flex}.topbar>div:first-child{min-width:0}@media (max-width:900px){.order-notification-controls{margin:0 0 0 auto}.order-notification-panel{top:64px;right:12px}.order-notification-alerts{bottom:16px;right:12px}.order-sound{padding:8px;font-size:11px}.order-bell{padding:8px}.topbar h2{max-width:38vw}}.company-actions{align-items:center}.company-catalog-update{min-width:0;color:var(--muted);flex:150px;font-size:12px;line-height:1.5}.company-catalog-update span,.company-catalog-update strong{display:block}.company-catalog-update strong{color:var(--text);font-size:12px;font-weight:600}.products-grid{align-items:start}.order-catalog{min-width:0}.product-selection-legend{color:#52647c;flex-wrap:wrap;gap:8px 20px;margin-top:13px;font-size:12px;display:flex}.product-selection-legend span:last-child{color:#1877f2}.order-product-list{scrollbar-gutter:stable;gap:12px;max-height:70vh;padding:0 14px 16px;display:grid}.order-product-list .product-row{background:#fff;border:1px solid #dce4ef;border-radius:14px;grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"code info price""code info add";gap:10px 14px;padding:18px 14px;transition:border-color .15s,background .15s}.order-product-list .product-row:nth-child(2n){background:#f5f8fd;border-color:#dce4ef}.order-product-list .product-row:hover{border-color:#1877f2}.order-product-list .product-row.is-in-cart{background:#eaf2ff;border:2px solid #1877f2;padding:17px 13px}.order-product-list .product-code{color:#172b4d;overflow-wrap:anywhere;text-align:center;background:#eaf2ff;border:1px solid #dce4ef;border-radius:10px;grid-area:code;align-self:start;place-items:center;min-height:48px;padding:9px 5px;font-size:15px;font-weight:850;display:grid}.order-product-list .product-row>div:nth-child(2){grid-area:info;min-width:0}.order-product-list .product-name{overflow-wrap:anywhere;font-size:15px;line-height:1.4}.order-product-list .product-meta{color:#52647c;margin:6px 0;font-size:12px;line-height:1.5}.order-product-list .product-row .small{line-height:1.5}.order-product-list .product-price{white-space:nowrap;grid-area:price;align-self:end;font-size:20px}.product-price-unit{color:#52647c;margin-left:2px;font-size:13px;font-weight:500}.order-product-list .product-price .small{white-space:normal;max-width:140px;margin-top:5px;font-size:11px}.order-product-list .product-row>[data-add-product]{grid-area:add;align-self:start;min-width:120px;min-height:42px;font-size:13px}.order-product-list .is-in-cart>[data-add-product]{color:#fff;background:#1877f2;border-color:#1877f2}.product-selection-status{color:#176b47;background:#eaf8f0;border:1px solid #529877;border-radius:20px;align-items:center;margin-top:8px;padding:4px 9px;font-size:11px;font-weight:750;display:inline-flex}.products-grid .cart{border-color:#1877f2;min-width:0}.products-grid .cart-list{scrollbar-gutter:stable;gap:14px;max-height:65vh;padding:2px 4px 2px 0;display:grid}.products-grid .cart-item{background:#fff;border:1px solid #dce4ef;border-radius:13px;min-width:0;padding:15px}.products-grid .cart-item:nth-child(2n){background:#f5f8fd}.products-grid .cart-item:last-child{border-bottom:1px solid #dce4ef}.products-grid .cart-item-head{border-bottom:1px solid #dce4ef;flex-wrap:wrap;gap:12px;margin-bottom:12px;padding-bottom:12px;display:flex}.cart-product-identity{flex:170px;align-items:flex-start;gap:10px;min-width:0;display:flex}.cart-product-identity>div{min-width:0}.cart-product-code{overflow-wrap:anywhere;color:#172b4d;background:#eaf2ff;border:1px solid #dce4ef;border-radius:8px;flex:none;max-width:80px;padding:8px;font:800 14px ui-monospace,monospace}.products-grid .cart-item-name{overflow-wrap:anywhere;margin-bottom:4px;font-size:14px;line-height:1.4}.cart-item-subtotal{text-align:right;margin-left:auto}.cart-item-subtotal>span{color:#52647c;margin-bottom:3px;font-size:11px;display:block}.cart-item-subtotal>strong{color:#1877f2;white-space:nowrap;font-size:19px;display:block}.products-grid .cart-item .field label,.products-grid .cart-item>label{color:#172b4d;letter-spacing:.025em;font-size:12px;font-weight:750}.products-grid .cart-controls{grid-template-columns:minmax(0,1fr) auto;margin:8px 0 10px}.products-grid .cart-controls .qty{border-color:#dce4ef;min-height:44px;font-size:18px;font-weight:800}.products-grid .cart-item [data-equivalence]{color:#52647c;border-top:1px solid #dce4ef;padding-top:8px;line-height:1.5}.products-grid .cart-item [data-cart-error]:not(:empty){color:#a63b12;margin-top:8px}.products-grid .cart-total{border-top:1px solid #dce4ef;gap:10px;padding-top:15px;font-size:21px}@media (min-width:901px) and (max-width:1250px){.products-grid{grid-template-columns:minmax(0,1fr)}.products-grid .cart{position:static}.products-grid .cart-list{max-height:65vh}.order-product-list{max-height:60vh}}@media (max-width:900px){.order-product-list{scrollbar-gutter:auto;gap:12px;max-height:none;padding:0 10px 12px;overflow:visible}.order-product-list .product-row{grid-template-columns:70px minmax(0,1fr);grid-template-areas:"code price""info info""add add";gap:12px;padding:16px 13px}.order-product-list .product-row.is-in-cart{padding:15px 12px}.order-product-list .product-row>[data-add-product]{width:100%;min-height:46px}.order-product-list .product-price{align-self:center;font-size:22px}.order-product-list .product-name{font-size:16px}.products-grid .cart-list{scrollbar-gutter:auto;max-height:none;padding:0;overflow:visible}.products-grid .cart-item{padding:14px}.products-grid .cart-item .cart-controls{grid-template-columns:minmax(0,1fr) auto}.products-grid .cart-controls .btn{grid-column:auto;width:auto;min-width:80px;padding:10px}.product-selection-legend{gap:8px 12px;font-size:11px}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--action:#166fe5;--accent-hover:#1265d1;--focus-ring:#1877f238}body{line-height:1.45}button,input,select,textarea{accent-color:var(--accent)}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.input::placeholder,.textarea::placeholder{color:#748399;opacity:1}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}.btn{font-weight:650}.btn-primary{background:var(--action);color:#fff;box-shadow:0 2px 5px #1877f21f}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary,.btn-ghost,.icon-btn{color:#34506e}.btn-secondary:hover,.btn-ghost:hover,.icon-btn:hover{background:#eaf2ff;border-color:#aacbf5}.sidebar{color:#fff;background:var(--action);border-right:0}.sidebar .brand{gap:10px;padding-bottom:26px}.sidebar .brand-mark{color:#fff;width:42px;height:42px;box-shadow:none;background:#ffffff2e;flex-shrink:0}.sidebar .brand-copy strong{letter-spacing:.015em;font-size:14px}.sidebar .brand-copy span,.sidebar .user-mini span{color:#e4efff}.sidebar .nav button{color:#fff;min-height:44px;font-weight:600}.sidebar .nav button:hover{color:#fff;background:#ffffff21}.sidebar .nav button.active{color:#fff;background:#ffffff3b;box-shadow:inset 3px 0 #fff}.nav-ico{font-size:21px;font-weight:500;line-height:1}.sidebar-foot{background:0 0}.sidebar-signature{text-align:center;color:#fff;margin-top:6px;font-size:10px;font-weight:400;line-height:1.4}.sidebar .user-mini{background:#ffffff1a;border-color:#fff3}.sidebar .btn-ghost{color:#fff;border-color:#fff6}.sidebar .btn-ghost:hover{background:#ffffff21}.nav-count{color:#145fc0;box-shadow:none;background:#fff}.topbar{border-bottom:1px solid var(--line);gap:12px}.page-head{margin-bottom:26px}.page-head h1{color:#172b4d;font-size:30px;line-height:1.2}.card-pad{padding:22px}.metric{min-width:0;padding:22px}.metric span{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}.metric strong{overflow-wrap:anywhere;font-size:clamp(23px,2.2vw,32px)}.metric small{font-size:12px}.accent-line{border-top:1px solid var(--line)}.section-title h3{letter-spacing:-.02em;font-weight:700}.table th{color:#52647c;font-weight:650}.table td{padding-top:15px;padding-bottom:15px}.auth-shell{background:#f5f7fb}.auth-hero{background:var(--action);color:#fff;border-right:0}.auth-hero .brand-mark{color:#fff;box-shadow:none;background:#ffffff2e}.auth-hero .brand-copy span,.auth-hero p,.auth-hero .hero-foot{color:#e4efff}.auth-hero h1 em{color:#fff}.auth-card{border:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:18px}.auth-tabs button.active{color:#145fc0;background:#fff;box-shadow:0 1px 4px #1f3d6914}.step.active{background:#eaf2ff;border-color:#9ac4fa}.order-product-list .product-row.is-in-cart{border-color:var(--accent);background:#eaf2ff}.order-product-list .is-in-cart>[data-add-product]{background:var(--action);color:#fff}.order-product-list .is-in-cart>[data-add-product]:hover{background:var(--accent-hover)}.order-product-list .product-code,.cart-product-code{color:#145fc0;border-color:#c7dcf7}.products-grid .cart{border-color:#c7dcf7}.product-selection-status{border-color:#b8dfc9}.products-grid .cart-item-head{border-bottom-color:var(--line)}.products-grid .cart-controls .qty{border-color:#bfd0e5}.products-grid .cart-item [data-equivalence],.products-grid .cart-total{border-top-color:var(--line)}.history-report-banner{background:#050505}.history-report-brand,.history-report-brand-mark{color:#fff;border-color:#fff}.order-attention{box-shadow:none}@media (max-width:900px){.card-pad{padding:16px}.metric{padding:18px}.topbar{gap:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.dashboard-panels{grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr)}@media (max-width:1200px){.dashboard-panels{grid-template-columns:minmax(0,1fr)}}.catalog-panel{min-width:0;padding:22px}.catalog-filters{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,1fr) minmax(170px,.85fr) minmax(220px,1.55fr);align-items:end;gap:12px;padding-bottom:16px;display:grid}.catalog-filter{min-width:0}.catalog-filter label{color:#52647c;margin-bottom:7px;font-size:12px;font-weight:650;display:block}.catalog-filter .input,.catalog-filter .select{min-height:42px;padding:10px 12px;font-size:14px}.catalog-results-head{justify-content:space-between;align-items:center;gap:12px;margin:16px 0 12px;display:flex}.catalog-results-head h2{color:#172b4d;margin:0;font-size:16px}.catalog-count{color:#145fc0;font-variant-numeric:tabular-nums;background:#eaf2ff;border-radius:999px;flex-shrink:0;padding:5px 10px;font-size:12px;font-weight:650}.catalog-caption{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.catalog-panel .catalog-table-wrap{border:1px solid var(--line);scrollbar-gutter:auto;background:#fff;border-radius:12px;max-height:none;overflow:auto}.catalog-panel .catalog-table{table-layout:fixed;border-collapse:collapse;border-spacing:0;min-width:740px;display:table}.catalog-panel .catalog-all-companies{min-width:880px}.catalog-col-code{width:80px}.catalog-col-product{width:auto}.catalog-col-company{width:160px}.catalog-col-unit{width:70px}.catalog-col-weight{width:90px}.catalog-col-stock{width:80px}.catalog-col-price{width:140px}.catalog-panel .catalog-table thead th{letter-spacing:.025em;color:#425a78;border-bottom:1px solid var(--line);background:#edf3fb;padding:12px;font-size:11px;font-weight:650}.catalog-panel .catalog-table tbody td{border:0;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere;background:#fff;padding:10px 12px;font-size:13px;line-height:1.4}.catalog-panel .catalog-table tbody tr:nth-child(2n) td{background:#f5f8fd}.catalog-panel .catalog-table tbody tr:hover td{background:#eaf2ff}.catalog-panel .catalog-table tbody tr:last-child td{border-bottom:0}.catalog-panel .catalog-code-cell{z-index:1;position:sticky;left:0}.catalog-panel .catalog-table thead th:first-child{z-index:3;left:0}.catalog-code{color:#145fc0;overflow-wrap:anywhere;background:#eaf2ff;border:1px solid #d0e1fa;border-radius:6px;max-width:100%;padding:3px 5px;font-size:12px;font-weight:650;line-height:1.4;display:inline-block}.catalog-panel .catalog-description strong{color:#172b4d;font-size:14px;font-weight:650;line-height:1.45;display:block}.catalog-company-name{color:#425a78;font-size:12px;font-weight:500;line-height:1.4;display:block}.catalog-brand{color:#52647c;margin-top:3px;font-size:11px;display:block}.catalog-unit{color:#425a78;background:#fff;border:1px solid #dce4ef;border-radius:6px;padding:2px 6px;font-size:12px;font-weight:500;display:inline-block}.catalog-panel .catalog-weight-cell,.catalog-panel .catalog-stock-cell{font-variant-numeric:tabular-nums;white-space:nowrap}.catalog-price{color:#145fc0;background:0 0;border-radius:0;flex-direction:column;align-items:flex-end;gap:1px;padding:0;display:flex}.catalog-price strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px;font-weight:750;line-height:1.3}.catalog-price-unit{color:#52647c;font-size:11px;font-weight:400}.catalog-cell-label{display:none}.catalog-scroll-hint{color:#52647c;margin:0 0 10px;font-size:12px;display:none}@media (max-width:1050px){.catalog-filters{grid-template-columns:1fr 1fr}.catalog-filter-search{grid-column:1/-1}}@media (max-width:900px){.catalog-scroll-hint{display:block}}@media (max-width:650px){.catalog-panel{padding:14px}.catalog-filters{grid-template-columns:minmax(0,1fr);gap:10px;padding-bottom:14px}.catalog-filter-search{grid-column:auto}.catalog-filter .input,.catalog-filter .select{min-height:44px;font-size:16px}.catalog-results-head h2{font-size:15px}}.table:not(.catalog-table) td{padding:16px 14px;line-height:1.55}.table:not(.catalog-table) tbody tr:nth-child(2n){background:#f5f8fd}.table:not(.catalog-table) tbody tr:hover{background:#eaf2ff}.table:not(.catalog-table) th{letter-spacing:.035em;padding:13px 14px}.customers-toolbar{gap:10px;margin-bottom:14px}.customers-toolbar .input,.customers-toolbar .select{min-height:42px}.customers-toolbar #customer-status-filter{min-width:180px;max-width:220px}.customers-toolbar #customer-count{white-space:nowrap}.customers-panel .customers-table{table-layout:fixed;min-width:860px}.customer-col-cnpj{width:165px}.customer-col-seller{width:155px}.customer-col-actions{width:310px}.customers-panel .customers-table th{letter-spacing:.025em;padding:12px}.customers-panel .customers-table tbody td{vertical-align:middle;padding:10px 12px;font-size:13px;line-height:1.4}.customers-panel .customer-name strong{overflow-wrap:anywhere;font-size:14px;font-weight:650;line-height:1.45;display:block}.customers-panel .customer-cnpj{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.customers-panel .customer-seller{color:#425a78;overflow-wrap:anywhere}.customer-actions{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.customers-panel .customer-actions .btn{white-space:nowrap;border-radius:9px;flex:none;min-height:34px;padding:6px 9px;font-size:12px;line-height:1.3}@media (max-width:1100px){.customers-panel .customers-table{min-width:0;display:block}.customers-table colgroup{display:none}.customers-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.customers-table tbody{gap:10px;display:grid}.customers-table tbody tr{border:1px solid var(--line);border-radius:10px;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px;display:grid}.customers-panel .customers-table tbody td{border:0;min-width:0;padding:0;display:block}.customers-table td[data-label]:before{content:attr(data-label) ": ";color:#52647c;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:11px;font-weight:650}.customers-panel .customer-cnpj{font-size:13px}.customer-actions{flex-wrap:wrap;gap:6px;padding-top:3px}.customers-panel .customer-actions .btn{min-height:40px;padding:8px 10px}.customers-table-wrap{background:0 0;border:0;border-radius:0}}@media (max-width:900px){.customers-panel .customers-toolbar{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.customers-panel .customers-toolbar #customer-status-filter{min-width:0;max-width:none}.customers-panel .customers-toolbar .input,.customers-panel .customers-toolbar .select{min-height:44px;font-size:16px}}.customers-stats .metric{padding:16px}.customers-stats .metric strong{margin-top:6px;font-size:28px}@media (max-width:900px){.customers-stats{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))!important}.customers-stats .metric{padding:12px}.customers-stats .metric span{overflow-wrap:anywhere;min-height:29px;font-size:11px;line-height:1.3}.customers-stats .metric strong{margin-top:5px;font-size:24px}}.catalog-sticky-header{z-index:9;pointer-events:none;background:#edf3fb;border-bottom:1px solid #c7d6ea;position:fixed;overflow:hidden;box-shadow:0 3px 8px #1f3d691a}.catalog-sticky-header[hidden]{display:none}.catalog-panel .catalog-sticky-header .catalog-table{min-width:0;margin:0}.catalog-sticky-header .catalog-table thead th{border-bottom:0}.history-report-paper .count-edit-input{color:#111;background:#fff;border-color:#707070}.history-report-paper .count-edit-input:focus{border-color:#333;box-shadow:0 0 0 3px #0000001f}.table-sticky-header .table{table-layout:fixed;min-width:0;margin:0}.table-sticky-header .table thead th{border-bottom:0}@media (max-width:650px){.table-sticky-header:has(.customers-table){display:none}}.orders-list-panel{container:orders-list/inline-size}.orders-list-panel .orders-list-table{table-layout:fixed;min-width:0}.orders-list-table :is(th,td){overflow-wrap:anywhere;padding-inline:clamp(6px,.75cqi,10px)}.orders-list-date{overflow-wrap:normal;margin-top:3px}.orders-list-table :is(th,td):nth-child(2){overflow-wrap:normal}.orders-list-table :is(th,td):nth-child(7){white-space:normal}.orders-list-table th:first-child{width:13%}.orders-list-table th:nth-child(2),.orders-list-table th:nth-child(4),.orders-list-table th:nth-child(5),.orders-list-table th:nth-child(6){width:11%}.orders-list-table th:nth-child(7){width:12%}.orders-list-table th:last-child{width:80px}.orders-list-table [data-view-order]{white-space:nowrap}.orders-list-summary{display:none}@container orders-list (max-width:759px){.orders-list-table :is(th,td):not(:nth-child(3),:last-child){display:none}.orders-list-table td:last-child{vertical-align:top}.orders-list-summary{gap:4px;margin-top:6px;display:grid}.orders-list-panel>.table-sticky-header:has(.orders-list-table){display:none}}.badge.cadastro_analise{color:#59338c;background:#eee8fb;border-color:#d1c0eb}.orders-filter-label{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 6px;font-size:10px;font-weight:800;display:block}.orders-company-filter{min-width:0;position:relative}.orders-company-filter>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;list-style:none;display:flex}.orders-company-filter>summary::-webkit-details-marker{display:none}.orders-company-filter>summary:after{content:"⌄";flex-shrink:0}.orders-company-filter>summary span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.orders-company-filter[open]>summary{outline:2px solid var(--accent);outline-offset:2px}.orders-company-options{z-index:30;background:var(--panel);border:1px solid var(--line);width:max(100%,280px);max-width:min(360px,100vw - 48px);box-shadow:var(--shadow);border-radius:12px;padding:12px;position:absolute;top:calc(100% + 8px);right:0}.orders-company-options fieldset{border:0;max-height:260px;margin:10px 0;padding:0;overflow-y:auto}.orders-company-options legend{color:var(--muted);padding:0 4px 6px;font-size:12px}.orders-filter-bar .orders-company-option{letter-spacing:normal;text-transform:none;color:var(--text);cursor:pointer;border-radius:6px;align-items:center;gap:10px;margin:0;padding:9px 6px;font-size:13px;font-weight:500;display:flex}.orders-company-option:hover{background:var(--panel-2)}.orders-company-option input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.orders-company-option span{overflow-wrap:anywhere}
@media (max-width:900px){html,body{max-width:100%;overflow-x:hidden}.app-shell{min-height:100vh;display:block}.sidebar{z-index:60;width:min(86vw,300px);height:100dvh;transition:all .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-104%);box-shadow:0 18px 48px #1f3d692e}.sidebar.open{transform:none}.mobile-menu{display:grid}.mobile-nav-backdrop{z-index:55;opacity:0;pointer-events:none;background:#142a4959;border:0;transition:all .18s;display:block;position:fixed;inset:0}.sidebar.open+.mobile-nav-backdrop{opacity:1;pointer-events:auto}.topbar{gap:8px;height:58px;padding:0 10px}.topbar h2{white-space:nowrap;text-overflow:ellipsis;font-size:17px;overflow:hidden}.top-actions{display:none}.content{max-width:100%;padding:12px 9px 24px}.page-head{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:14px}.page-head h1{font-size:23px}.page-head p{font-size:12px;line-height:1.45}.page-actions{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;width:100%;display:grid}.page-actions .btn{width:100%;min-height:46px}.grid-4,.grid-3,.grid-2,.company-cards,.form-row,.mapping{grid-template-columns:minmax(0,1fr)!important}.card{border-radius:14px}.card-pad{padding:13px}.toolbar{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.toolbar .input,.toolbar .select,.toolbar .btn{width:100%;min-width:0;max-width:100%}.stepper{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid;overflow:visible}.step{min-width:0;padding:8px 6px}.step span{font-size:9px}.step strong{white-space:normal;font-size:10px;line-height:1.2}.products-grid{grid-template-columns:minmax(0,1fr);gap:10px}.product-list{max-height:none;overflow:visible}.product-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"code price""info info""add add";gap:7px 10px;padding:12px 11px}.product-code{grid-area:code;width:max-content;max-width:100%}.product-row>div:nth-child(2){grid-area:info;min-width:0}.product-name{white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:14px;line-height:1.32}.product-meta{overflow-wrap:anywhere;font-size:11px;line-height:1.4}.product-price{text-align:right;white-space:nowrap;grid-area:price;font-size:16px}.product-row .btn{grid-area:add;width:100%;min-height:46px}.cart{position:static;top:auto}.cart-list{max-height:none;overflow:visible}.cart-item{padding:12px 0}.cart-item-head{display:block}.cart-item-head>strong{margin-top:7px;font-size:17px;display:block}.cart-item-name{white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:14px;line-height:1.35}.cart-item .field{margin:10px 0!important}.cart-item .select,.cart-item .input{width:100%;min-width:0;max-width:100%;min-height:46px;font-size:16px}.cart-controls{grid-template-columns:minmax(0,1fr) auto 46px;gap:7px}.cart-controls .btn{width:46px;height:46px;padding:0}.cart-total{margin-top:14px;font-size:20px;position:static}#submit-order{width:100%;min-height:52px;font-size:16px;position:static}.customer-box span{overflow-wrap:anywhere;word-break:break-word}.table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.table{min-width:680px}.history-report-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.modal-backdrop{place-items:end center;padding:0}.modal,.modal-lg{border-bottom:0;border-left:0;border-right:0;border-radius:18px 18px 0 0;width:100%;max-width:100%;max-height:94dvh}.modal-head,.modal-body{padding:14px}.modal-foot{padding:12px 14px calc(12px + env(safe-area-inset-bottom))}}@media (max-width:420px){.content{padding-left:7px;padding-right:7px}.page-head h1{font-size:21px}.cart-controls{grid-template-columns:minmax(0,1fr) 34px}.cart-controls .btn{grid-column:1/-1;width:100%}}@media (max-width:900px){.orders-filter-bar{gap:8px;margin-bottom:12px;display:grid;grid-template-columns:minmax(0,1fr)!important}.orders-filter-bar .input,.orders-filter-bar .select{width:100%;min-height:46px}.whatsapp-copy-btn{width:100%;min-height:50px;margin-top:12px}textarea#order-notes{resize:vertical;width:100%;min-height:96px;font-size:16px}}
.pix-directory{--pix-ink:#243a32;--pix-muted:#586b62;--pix-line:#637b70;container-type:inline-size}.pix-directory-toolbar,.pix-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pix-directory-toolbar{justify-content:space-between;margin-bottom:20px}.pix-directory-toolbar h2{color:var(--pix-ink);margin:0;font-size:1.35rem}.pix-directory #pix-search{width:100%;margin-bottom:24px}.pix-directory .pix-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.pix-directory .pix-record-card{border:1px solid var(--pix-line);min-width:0;color:var(--pix-ink);overflow-wrap:anywhere;background:#fff;border-radius:14px;flex-direction:column;padding:18px;display:flex}.pix-record-card h3{margin:0 0 6px;font-size:1.1rem}.pix-record-card p{margin:0 0 5px;line-height:1.45}.pix-card-meta,.pix-empty{color:var(--pix-muted)}.pix-card-key{font-weight:600}.pix-record-actions{margin-top:auto;padding-top:12px}.pix-record-card .pix-payment-badge{border:1px solid;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;margin:0 0 12px;padding:4px 10px;font-size:.875rem;font-weight:700;display:inline-flex}.pix-record-card .pix-payment-pending{color:#991b1b;background:#fef2f2;border-color:#fecaca}.pix-record-card .pix-payment-paid{color:#166534;background:#dcfce7;border-color:#86efac}.pix-record-card .pix-mark-paid{color:#fff;background:#166534;border-color:#166534}.pix-record-card .pix-mark-paid:hover:not(:disabled){background:#14532d;border-color:#14532d}.pix-record-card .pix-mark-paid:focus-visible{outline-offset:2px;outline:2px solid #166534}#pix-payment-status:empty{display:none}@container (max-width:660px){.pix-directory .pix-card-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:700px){.pix-directory .pix-card-grid{grid-template-columns:minmax(0,1fr)}}
:root{--accent:#1266df;--accent-2:#1266df;--bg:#f5f7fb;--shadow:0 3px 14px #172b4d09}:focus-visible{outline-offset:3px;outline:3px solid #1266df}.input:focus,.select:focus,.textarea:focus{border-color:#1266df;box-shadow:0 0 0 3px #1266df1a}.btn-primary{color:#fff;background:#1266df}.btn-primary:hover{background:#0d55be}.btn{min-height:44px}.btn-sm{min-height:40px}.icon-btn{min-width:44px;min-height:44px}.btn:hover{transform:none}.app-shell{grid-template-columns:232px minmax(0,1fr)}.sidebar,.sidebar-foot{color:var(--text);background:#fff!important}.sidebar{border-right:1px solid var(--line)}.sidebar .brand-copy strong{color:var(--text);letter-spacing:0;font-size:13px}.sidebar .brand-copy span{color:var(--muted)}.sidebar .brand{gap:9px;padding:8px 4px 24px}.sidebar .brand-mark{width:40px;height:40px;box-shadow:none;border-radius:11px;flex-shrink:0}.sidebar .nav button{color:var(--muted);min-height:46px;font-size:14px}.sidebar .nav button.active{color:#fff;box-shadow:none;background:#1266df}.sidebar .nav button:hover:not(.active){color:#172b4d;background:#edf3fd}.sidebar .user-mini{background:#f5f7fb;border-color:#0000}.sidebar .sidebar-foot .btn{color:var(--muted);border-color:var(--line)}.sidebar-signature{color:var(--muted)!important}.topbar{height:66px;padding-inline:24px}.content{max-width:1680px;margin-inline:auto;padding:24px}.page-head h1{letter-spacing:-.035em;font-size:27px}.page-head p{line-height:1.5}.card{box-shadow:var(--shadow);border-color:var(--line)}.bottom-nav,.mobile-order-total,.mobile-nav-backdrop{display:none}.dashboard-metrics{gap:12px}.dashboard-metrics .metric{min-height:112px;padding:18px}.dashboard-metrics .metric strong{letter-spacing:-.03em;font-size:26px}.dashboard-metrics .metric small{font-size:11px}.dashboard-panels{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.recent-orders{gap:9px;display:grid}.recent-order{text-align:left;border:1px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) auto 10px;align-items:center;gap:12px;padding:14px;display:grid}.recent-order:hover{background:#f7faff;border-color:#b7ccee}.recent-order-info,.recent-order-value{gap:5px;min-width:0;display:grid}.recent-order-info strong{overflow-wrap:anywhere;font-size:13px}.recent-order-info span,.recent-order-info small{color:var(--muted);font-size:12px}.recent-order-value{text-align:right;justify-items:end}.recent-order-value strong{white-space:nowrap;font-size:15px}.recent-order .badge{font-size:10px}.order-steps{gap:12px;margin:0 0 20px;display:flex}.order-steps button{border:0;border-bottom:2px solid var(--line);color:var(--muted);text-align:left;background:0 0;flex:1;align-items:center;gap:9px;min-width:0;padding:10px 4px 14px;font-size:13px;display:flex}.order-steps button span{border:1px solid var(--line);background:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.order-steps button.active{color:var(--accent);border-color:var(--accent)}.order-steps button.active span{color:#fff;background:var(--accent);border-color:var(--accent)}.order-steps button.done{color:#14734d}.order-steps button.done span{background:#e5f6ed;border-color:#c5ead7}.order-setup{max-width:950px;margin-bottom:12px}.order-setup>.form-row{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-next{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 24px;display:flex}.order-context{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:14px 18px;display:flex}.order-context strong,.order-context span{display:block}.order-context strong{overflow-wrap:anywhere;font-size:14px}.order-context span{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5}.order-context .btn{flex-shrink:0}.order-workspace .products-grid{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:18px}.order-products-main{min-width:0}.order-workspace .cart{border-color:var(--line);box-shadow:none;align-self:start;top:82px}.order-summary h3{font-size:17px}.order-summary .cart-total{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding-top:16px}.order-summary #cart-total{letter-spacing:-.03em;font-size:25px}.summary-line{border-bottom:1px solid var(--line);overflow-wrap:anywhere;gap:5px;padding:12px 0;font-size:12px;line-height:1.5;display:grid}.summary-line strong{font-size:13px}.summary-line span{color:var(--muted)}.summary-line b{text-align:right}.order-summary>p{margin-bottom:0}.order-search-head{border-bottom:1px solid var(--line);padding:16px}.order-search-head .toolbar{margin-bottom:12px}.product-tabs{gap:8px;display:flex}.product-tabs button{border:1px solid var(--line);min-height:40px;color:var(--muted);background:#fff;border-radius:20px;padding:9px 14px;font-size:12px;font-weight:700}.product-tabs button.active{background:var(--accent);border-color:var(--accent);color:#fff}.order-workspace .product-list{gap:8px;max-height:none;padding:0 14px 14px;overflow:visible}.order-workspace .order-product-list .product-row{border-radius:10px;grid-template-columns:42px minmax(0,1fr) auto;gap:8px 10px;padding:12px}.order-workspace .product-code{border-radius:7px;min-width:0;padding:6px;font-size:11px}.order-workspace .product-name{font-size:13px;line-height:1.5}.order-workspace .product-price{font-size:16px}.order-workspace .product-price-unit{font-size:11px}.order-workspace .product-row .btn{min-width:105px;min-height:40px}.order-workspace .product-meta{font-size:11px}.order-workspace .product-row.is-in-cart,.only-selected #product-list{display:none}.selected-products{padding:0 14px 14px}.selected-products>h3{margin-bottom:5px;font-size:14px}:is(.selected-products:has(.empty)>h3,.selected-products:has(.empty)>p){display:none}.order-workspace .products-grid .cart-list{scrollbar-gutter:auto;gap:10px;max-height:none;padding:0;display:grid;overflow:visible}.order-workspace .products-grid .cart-item{border:1px solid #b7d2f7;border-left:3px solid var(--accent);background:#f9fbff;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;padding:14px;display:grid}.order-workspace .cart-item-head{grid-column:1/-1;margin-bottom:2px;padding-bottom:10px;display:flex}.order-workspace .cart-item .field{min-width:0}.order-workspace .cart-item-head .cart-product-code{font-size:11px}.order-workspace .cart-item-name{font-size:13px}.order-workspace .cart-item-subtotal strong{font-size:18px}.order-workspace .cart-item>.small,.order-workspace .cart-item>[data-packaging-pending],.order-workspace .cart-item>[data-review-product-packaging],.order-workspace .cart-item>.notice{grid-column:1/-1;line-height:1.5}.order-workspace .cart-item>label{grid-column:1/-1}.order-workspace .cart-controls{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;margin:5px 0 8px}.order-workspace .cart-controls .btn{grid-column:auto;width:auto;height:auto;min-height:44px}.order-workspace .cart-item .input,.order-workspace .cart-item .select{min-height:44px;font-size:14px}.order-workspace [data-equivalence]{color:#244b80;background:#eaf2ff;border-radius:8px;padding:8px 10px}.order-workspace [data-cart-error]:not(:empty){color:#b42332;margin-top:8px;font-weight:700}.order-workspace[data-order-step="1"] :is(.products-grid,.order-context,.mobile-order-total),.order-workspace:not([data-order-step="1"]) :is(.order-setup,.setup-next),.order-workspace:not([data-order-step="3"]) :is(.order-review,#submit-order),.order-workspace[data-order-step="3"] :is(.order-catalog,#review-order){display:none}.review-details{grid-template-columns:1fr 1fr;gap:14px;display:grid}.review-details div{min-width:0}.review-details dt{color:var(--muted);margin-bottom:4px;font-size:12px}.review-details dd{overflow-wrap:anywhere;margin:0;font-size:14px}.review-line{border-top:1px solid var(--line);gap:6px;padding:16px 0;font-size:13px;display:grid}.review-line span{color:var(--muted);line-height:1.5}.review-line b{text-align:right}.order-review h2{font-size:21px}.order-review>.btn{margin-top:15px}.customers-stats{gap:8px}.customers-stats .metric{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;min-height:0;padding:12px 16px;display:flex}.customers-stats .metric span{font-size:12px}.customers-stats .metric strong{margin:0;font-size:22px}.catalog-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:18px 0 0;font-size:12px;display:flex}.catalog-pagination>div{gap:8px;display:flex}.catalog-description [data-packaging-ready],.catalog-description [data-packaging-pending]{color:var(--muted);margin-top:5px;font-size:11px;font-weight:400;line-height:1.5}.catalog-description .catalog-mobile-company,.auth-card .auth-mobile-brand{display:none}.auth-card .password-wrap{position:relative}.auth-card .password-wrap input{padding-right:78px}.password-toggle{min-height:42px;color:var(--accent);background:0 0;border:0;padding:8px;font-size:12px;font-weight:700;position:absolute;top:3px;right:6px}.auth-card #forgot-password{box-shadow:none;color:var(--accent);background:0 0;border:0;font-size:13px}@media (min-width:901px) and (max-width:1200px){.app-shell{grid-template-columns:208px minmax(0,1fr)}.content{padding:20px 16px}.order-workspace .products-grid{grid-template-columns:minmax(0,1fr) 260px;gap:12px}.order-summary #cart-total{font-size:22px}.order-workspace .products-grid .cart-item{grid-template-columns:1fr}.order-workspace .cart-item-head{display:block}.order-workspace .cart-item-subtotal{margin-top:8px}.order-workspace .product-row{grid-template-columns:36px minmax(0,1fr)!important;grid-template-areas:"code info""price add"!important}.dashboard-panels{grid-template-columns:1fr}}@media (max-width:900px){.app-shell{display:block}.sidebar{z-index:80}.sidebar.open+.mobile-nav-backdrop{opacity:1;pointer-events:auto;z-index:75;display:block}.sidebar:not(.open){visibility:hidden}.sidebar.open{visibility:visible}.topbar{height:58px;padding:0 12px}.topbar h2{font-size:16px}.content{padding:16px 12px calc(88px + env(safe-area-inset-bottom));max-width:100%}.page-head{gap:8px;margin-bottom:14px}.page-head h1{font-size:23px}.page-head p{margin:5px 0 0;font-size:12px}.card-pad{padding:14px}.page-actions .btn{min-height:46px}.bottom-nav{z-index:30;padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-height:53px;color:var(--muted);background:0 0;border:0;border-radius:9px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:650;display:flex}.bottom-nav button.active{color:var(--accent);background:#f0f6ff}.bottom-nav-icon{width:22px;height:22px;display:block}.bottom-nav-icon svg{width:100%;height:100%}.dashboard-metrics{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-metrics .metric{min-height:104px;padding:13px}.dashboard-metrics .metric span{font-size:11px}.dashboard-metrics .metric strong{font-size:23px}.dashboard-metrics .metric small{font-size:10px}.dashboard-panels{gap:12px;grid-template-columns:1fr!important}.dashboard-panels>.card:first-child{padding:12px}.recent-order{gap:8px;padding:11px}.recent-order-info small{font-size:10px}.recent-order-info strong{font-size:12px}.recent-order-value strong{font-size:14px}.customers-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-bottom:12px!important}.customers-stats .metric{gap:4px;padding:10px;display:grid}.customers-stats .metric span{font-size:10px;line-height:1.4}.customers-stats .metric strong{font-size:21px}.order-steps{gap:6px;margin-bottom:14px}.order-steps button{align-items:center;gap:5px;padding:7px 1px 11px;font-size:10px}.order-steps button span{width:23px;height:23px;font-size:11px}.order-steps button strong{line-height:1.4}.order-setup>.form-row{grid-template-columns:1fr}.setup-next{display:grid}.setup-next .btn{width:100%}.order-setup .field{margin-bottom:12px}.order-context{align-items:flex-start;margin-bottom:12px;padding:11px 12px}.order-context span{font-size:11px}.order-context strong{font-size:13px}.order-context .btn{min-height:40px;padding:6px 8px;font-size:11px}.order-workspace .page-head #clear-order{min-height:40px;font-size:12px}.order-workspace .page-head .page-actions{width:auto;display:block}.order-workspace .page-head{gap:6px}.order-workspace .products-grid{grid-template-columns:1fr;gap:12px}.order-workspace .order-search-head{z-index:9;background:#fff;border-radius:14px 14px 0 0;padding:12px;position:sticky;top:58px}.order-workspace .order-catalog{overflow:visible}.order-workspace .products-grid .cart-item{grid-template-columns:1fr;gap:4px;padding:12px}.order-workspace .cart-item-head{flex-wrap:wrap;gap:8px;display:flex!important}.order-workspace .cart-item-head .cart-product-identity{min-width:0}.order-workspace .cart-product-code{display:none}.order-workspace .cart-item-name{font-size:14px}.order-workspace .cart-item .field{margin:6px 0!important}.order-workspace .cart-item .field label{font-size:11px}.order-workspace .cart-item .input,.order-workspace .cart-item .select{font-size:16px}.order-workspace .cart-item-subtotal{margin-left:auto}.order-workspace .cart-item-subtotal>strong{font-size:17px}.order-workspace .products-grid .cart-controls{grid-template-columns:minmax(0,1fr) auto!important}.order-workspace .cart-controls .btn{grid-column:auto!important;width:auto!important}.order-workspace .selected-products,.order-workspace .product-list{padding:0 10px 10px}.order-workspace .order-product-list .product-row{grid-template-areas:"info info""code price""add add";padding:12px;grid-template-columns:minmax(0,1fr) auto!important}.order-workspace .product-row .product-name{font-size:14px}.order-workspace .product-row .btn{width:100%;min-height:44px}.order-workspace .product-code{font-size:11px}.order-workspace .product-price{font-size:17px}.order-workspace .product-row .small{font-size:11px}.order-workspace:not([data-order-step="1"]){padding-bottom:104px}.order-workspace:not([data-order-step="1"]) .mobile-order-total{bottom:calc(64px + env(safe-area-inset-bottom));z-index:25;border-top:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex;position:fixed;left:0;right:0;box-shadow:0 -5px 16px #172b4d08}.mobile-order-total>div{gap:3px;min-width:0;display:grid}.mobile-order-total span{color:var(--muted);font-size:11px}.mobile-order-total strong{white-space:nowrap;font-size:20px}.mobile-order-total .btn{min-height:48px;padding:10px 13px;font-size:13px}.order-workspace[data-order-step="2"] .order-summary{display:none}.order-workspace[data-order-step="3"] .order-summary{position:static}.order-workspace[data-order-step="3"] .order-summary #order-summary-items{display:none}.review-details{grid-template-columns:1fr}.order-workspace #order-draft-status{font-size:10px}.catalog-filters{grid-template-columns:1fr 1fr!important;gap:9px!important;display:grid!important}.catalog-filter-search{grid-area:1/1/auto/-1}.catalog-filters .catalog-filter label{font-size:11px}.catalog-filters .input,.catalog-filters .select{min-height:46px;font-size:16px}.catalog-panel{padding:12px}.catalog-scroll-hint{display:none}.catalog-table-wrap{border:0;overflow:visible}.catalog-table.catalog-table{table-layout:auto;width:100%;display:block;min-width:0!important}.catalog-table colgroup,.catalog-table thead{display:none}.catalog-table caption{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.catalog-table tbody{display:block}.catalog-table tbody tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"description price""code stock""weight unit";gap:6px 12px;padding:14px 0;display:grid;background:#fff!important}.catalog-table tbody tr td{white-space:normal;overflow-wrap:anywhere;min-width:0;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important;position:static!important}.catalog-table .catalog-description{grid-area:description;font-size:13px}.catalog-table .catalog-description strong{font-size:13px;line-height:1.5}.catalog-table .catalog-description .catalog-mobile-company{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.5;display:block}.catalog-table .catalog-code-cell{color:var(--muted);grid-area:code;font-size:11px}.catalog-table .catalog-code{color:var(--muted);background:0 0;border:0;padding:0;font-size:11px}.catalog-table .catalog-code:before{content:"Cód. ";font-family:inherit}.catalog-table .catalog-company-cell{display:none}.catalog-table .catalog-price-cell{grid-area:price;align-self:start;min-width:86px}.catalog-table .catalog-price{text-align:right;gap:3px;display:grid}.catalog-table .catalog-price strong{font-size:16px}.catalog-table .catalog-price-unit{font-size:11px}.catalog-table .catalog-stock-cell{color:var(--muted);grid-area:stock;font-size:10px}.catalog-table .catalog-stock-cell:before{content:"Estoque: "}.catalog-table .catalog-weight-cell{color:var(--muted);text-align:left;grid-area:weight;font-size:10px}.catalog-table .catalog-weight-cell:before{content:"Peso ref.: "}.catalog-table .catalog-unit-cell{color:var(--muted);text-align:right;grid-area:unit;font-size:10px}.catalog-table .catalog-unit-cell:before{content:"Cobrança: "}.catalog-table .catalog-cell-label{display:none}.catalog-sticky-header{display:none!important}.catalog-pagination{flex-direction:column;align-items:flex-start}.catalog-pagination>div{justify-content:space-between;width:100%}.orders-filter-bar{grid-template-columns:1fr 1fr!important;gap:8px!important}.orders-filter-search{grid-column:1/-1}.orders-list-summary>span:nth-child(2){display:none}.orders-list-summary{gap:5px!important;font-size:11px!important}.orders-list-table td:nth-child(3)>strong{font-size:13px}.orders-list-table td:nth-child(3)>.small.muted{font-size:10px}.orders-list-table td:last-child .btn{min-height:44px}.orders-list-table td{padding-block:13px!important}.orders-filter-bar label{font-size:10px}.orders-filter-bar .select{font-size:14px}.order-items-table,.order-items-table tbody{width:100%;min-width:0;display:block}.order-items-table thead{display:none}.order-items-table tbody tr{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:10px;padding:12px;display:grid}.order-items-table tbody td{overflow-wrap:anywhere;border:0;padding:0;font-size:12px;display:block;text-align:left!important}.order-items-table tbody td:nth-child(2){grid-area:1/1/auto/-1}.order-items-table tbody td:first-child:before{content:"Código: "}.order-items-table tbody td:nth-child(3):before{content:"Unidade: "}.order-items-table tbody td:nth-child(4):before{content:"Quantidade: "}.order-items-table tbody td:nth-child(5):before{content:"Apresentação: "}.order-items-table tbody td:nth-child(6):before{content:"Preço: "}.order-items-table tbody td:nth-child(7):before{content:"Subtotal: "}.auth-shell{background:var(--bg);display:block}.auth-panel{min-height:100dvh;padding:32px 16px;display:block}.auth-card{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 auto;padding:20px 10px}.auth-card .auth-mobile-brand{align-items:center;gap:10px;margin-bottom:30px;font-size:14px;display:flex}.auth-mobile-brand .brand-mark{border-radius:10px;width:38px;height:38px}.auth-card h2{font-size:25px}.auth-card .auth-tabs{margin-bottom:20px}.auth-tabs button{white-space:nowrap;min-height:44px}.auth-card .field{margin-bottom:16px}.auth-card .input{min-height:50px;font-size:16px}.auth-card .password-toggle{top:4px}.auth-card .btn-primary{min-height:50px}.toast{bottom:calc(80px + env(safe-area-inset-bottom))}.modal-backdrop{z-index:100}.modal{max-height:94dvh}.modal-foot .btn{min-height:46px}}@media (max-width:360px){.content{padding-inline:10px}.dashboard-metrics .metric{padding:11px}.dashboard-metrics .metric strong{font-size:20px}.order-context{flex-direction:column;gap:6px}.order-context .btn{min-height:36px}.order-steps button{font-size:9px}.mobile-order-total strong{font-size:18px}.mobile-order-total .btn{padding-inline:10px;font-size:12px}.recent-order{gap:6px;padding:9px}.recent-order-value strong{font-size:13px}.catalog-table tbody tr{gap:6px 8px}.catalog-table .catalog-price strong{font-size:14px}.catalog-table .catalog-price-cell{min-width:76px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.cart-price-settings{border-bottom:1px solid var(--line);grid-column:1/-1;min-width:0;margin:3px 0;padding:0 0 8px}.cart-price-settings summary{cursor:pointer;min-height:36px;color:var(--muted);padding:8px 0;font-size:12px;font-weight:650}.cart-price-settings summary span{color:var(--accent);margin-left:8px}.cart-price-settings[open]{padding-bottom:10px}.order-workspace .cart-item>.field:has([data-presentation]){grid-column:1/-1}.sidebar .user-mini span{color:var(--muted)!important}.sidebar .brand-mark{visibility:visible;background:#1266df;color:#fff!important}.order-workspace .cart-item-subtotal>strong{color:var(--accent)}@media (max-width:900px){.cart-price-settings summary{min-height:40px;font-size:12px}.order-workspace .cart-item .field label{font-size:11px}.order-workspace .order-search-head{scroll-margin-top:58px}.catalog-table-wrap .catalog-table{border:0!important}.catalog-pagination{scroll-margin-top:70px}}.order-workspace [hidden]{display:none!important}.app-shell{min-height:100dvh;display:block}.app-shell>.sidebar{z-index:80;visibility:hidden;width:min(310px,88vw);height:100dvh;padding:16px 12px;transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:10px 0 35px #172b4d14}.app-shell>.sidebar.open{visibility:visible;transform:translate(0)}.drawer-head{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding-bottom:14px;display:flex}.sidebar .drawer-head .brand{gap:9px;padding:0}.drawer-head .icon-btn{background:0 0;border-color:#0000;flex-shrink:0;font-size:24px}.sidebar .sidebar-foot{border-top:1px solid var(--line);margin-top:10px!important;padding:10px!important}.sidebar .nav{overscroll-behavior:contain;scrollbar-width:thin}.app-shell>.mobile-nav-backdrop{z-index:75;opacity:0;pointer-events:none;background:#172b4d55;border:0;transition:opacity .18s;display:block;position:fixed;inset:0}.app-shell>.sidebar.open+.mobile-nav-backdrop{opacity:1;pointer-events:auto}.shell-menu-open{overflow:hidden}.app-shell .topbar{z-index:40;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);background:#fffffff5;gap:14px;height:60px;padding:0 20px;display:flex;position:sticky;top:0}.topbar-heading{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.topbar-heading #menu-btn{color:var(--muted);background:0 0;border-color:#0000;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.topbar-heading #menu-btn:hover{background:#edf3fd}.topbar-heading #menu-btn svg{width:21px;height:21px}.topbar-heading h2{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:16px;line-height:1.3;overflow:hidden}.topbar-tools{flex-shrink:0;align-items:center;gap:12px;display:flex}.topbar-tools #customer-notifications:empty{display:none}.topbar-tools .order-notification-controls{gap:0;margin:0}.topbar-tools .order-bell{color:#315882;background:#f1f6ff;border:1px solid #dce6f5;border-radius:12px;gap:7px;min-width:58px;height:42px;min-height:42px;padding:8px 11px}.order-bell svg{flex-shrink:0;width:20px;height:20px}.order-bell span{min-width:14px;font-size:12px}.topbar-tools .order-bell[aria-expanded=true]{border-color:var(--accent);background:#eaf2ff}.account-menu{position:relative}.account-trigger{max-width:290px;min-height:44px;color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:10px;padding:4px 8px 4px 4px;display:flex}.account-trigger:hover,.account-trigger[aria-expanded=true]{border-color:var(--line);background:#f2f6fc}.account-avatar{color:#1266df;background:#eaf2ff;border:1px solid #d4e4fa;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:12px;font-weight:800;display:grid}.account-trigger-copy{gap:3px;min-width:0;display:grid}.account-trigger-copy strong{white-space:nowrap;text-overflow:ellipsis;max-width:190px;font-size:12px;font-weight:750;overflow:hidden}.account-trigger-copy>span{color:var(--muted);font-size:11px}.account-chevron{color:var(--muted);margin-left:2px;font-size:17px}.account-panel{border:1px solid var(--line);background:#fff;border-radius:14px;width:300px;max-width:calc(100vw - 24px);padding:16px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 12px 40px #172b4d1f}.account-panel[hidden]{display:none!important}.account-details{align-items:center;gap:10px;display:flex}.account-details>div{min-width:0}.account-details strong{overflow-wrap:anywhere;font-size:14px;line-height:1.5;display:block}.account-role{color:#315882;background:#edf3fd;border-radius:6px;margin-top:4px;padding:2px 7px;font-size:11px;line-height:1.5;display:inline-block}.account-email{color:var(--muted);overflow-wrap:anywhere;border-bottom:1px solid var(--line);margin:14px 0;padding-bottom:14px;font-size:12px;line-height:1.5}.account-email:empty{display:none}.account-panel #logout-btn{color:#b42332;background:#fff;border:0;justify-content:flex-start;min-height:44px}.account-panel #logout-btn:hover{background:#fff1f2}.notification-preferences{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 0;font-size:12px;display:flex}.order-notification-panel{z-index:70;overscroll-behavior:contain;max-height:calc(100dvh - 94px);top:70px;right:20px}.order-notification-panel .section-title{gap:8px}.order-notification-panel h3{font-size:16px}.order-notification-alerts{z-index:65;bottom:18px}.order-workspace .order-search-head{top:60px}@media (max-width:900px){.app-shell .topbar{gap:8px;height:56px;padding:0 10px}.topbar-heading{gap:5px}.topbar-heading h2{font-size:15px}.topbar-heading #menu-btn{width:40px;min-width:40px}.topbar-tools{gap:6px}.account-trigger{justify-content:center;min-width:44px;padding:3px}.account-trigger-copy,.account-chevron{display:none}.account-avatar{width:34px;height:34px}.topbar-tools .order-bell{min-width:52px;height:40px;min-height:40px;padding:7px 9px}.order-notification-panel{max-height:calc(100dvh - 150px);top:64px;right:12px}.order-notification-alerts{bottom:calc(78px + env(safe-area-inset-bottom));right:12px}.order-notification-banner{padding:12px}.account-panel{top:calc(100% + 8px);right:0}.order-workspace .order-search-head{top:56px}}@media (prefers-reduced-motion:reduce){.app-shell>.sidebar,.app-shell>.mobile-nav-backdrop{transition:none}}
:root{--bg:#e9eef4;--panel:#f7f9fc;--panel-2:#edf2f8;--panel-3:#edf2f8;--text:#28384c;--muted:#536579;--line:#d2dbe6;--accent:#2b61aa;--accent-2:#2b61aa;--surface:#f7f9fc;--surface-alt:#edf2f8;--control-border:#8392a3;--shadow:0 2px 10px #28384c04}html,body{background:var(--bg);color:var(--text)}.card,.auth-card,.account-panel,.recent-order,.order-context,.order-alert-item{background:var(--surface);color:var(--text)}.app-shell>.sidebar,.sidebar-foot{background:var(--surface)!important}.app-shell .topbar{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}.bottom-nav,.mobile-order-total,.order-workspace:not([data-order-step="1"]) .mobile-order-total{background:var(--surface)}.input,.select,.textarea{background:var(--surface);color:var(--text);border-color:var(--control-border)}.input::placeholder,.textarea::placeholder{color:#607185;opacity:1}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2b61aa1c}:focus-visible{outline-color:var(--accent)}.btn-primary,.product-tabs button.active,.sidebar .nav button.active{background:var(--accent);color:#fff}.btn-primary:hover{background:#244f89}.btn-secondary{background:var(--surface-alt);color:#344d6c;border-color:#c1cddd}.btn-ghost{color:#465d78}.btn-ghost:hover,.recent-order:hover{background:#e9f0f8}.sidebar .brand-mark,.auth-mobile-brand .brand-mark{background:var(--accent);box-shadow:none}.sidebar .nav button:hover:not(.active){background:var(--surface-alt);color:var(--text)}.bottom-nav button.active,.account-avatar,.product-code,.account-role,.catalog-count{color:#29558e;background:#e4edf8}.account-avatar{border-color:#cad9eb}.topbar-tools .order-bell{color:#345575;background:#eaf0f8;border-color:#c7d5e7}.account-trigger:hover,.account-trigger[aria-expanded=true],.topbar-heading #menu-btn:hover{background:var(--surface-alt)}.order-workspace .order-search-head,.product-tabs button{background:var(--surface)}.product-tabs button.active{background:var(--accent);color:#fff}.order-workspace .order-product-list .product-row,.order-workspace .products-grid .cart-item{background:var(--surface)}.order-workspace .order-product-list .product-row:nth-child(2n),.order-workspace .products-grid .cart-item:nth-child(2n){background:#f0f4f9}.order-workspace .products-grid .cart-item{border-color:#b9cce4;border-left-color:var(--accent)}.order-workspace [data-equivalence]{color:#385675;background:#e5edf7}.order-workspace .cart-item-subtotal>strong,.cart-price-settings summary span,.password-toggle,.auth-card #forgot-password,.catalog-table .catalog-price strong,.catalog-code,.product-price{color:var(--accent)}.table th{color:#455c78;background:#e7edf5}.table tbody tr:nth-child(2n){background:#f0f4f9}.table tbody tr:hover{background:#eaf0f8}.table td{color:var(--text)}.catalog-table tbody tr .catalog-code-cell{background:var(--surface)}.notice:not(.success):not(.error){background:var(--surface-alt);color:#455d77}.badge.recebido{color:#29558e;background:#e3ecf8}.badge.finalizado,.badge.active,.badge.approved{color:#1c6b51;background:#e3f0e9}.badge.cancelado,.badge.refused{color:#a4313d;background:#f7e9eb}.badge.verificar,.badge.pending{color:#80590e;background:#f7efdc}.auth-shell{background:var(--bg)}.auth-tabs{background:var(--surface-alt)}.auth-tabs button.active{background:var(--surface);color:var(--accent)}@media (max-width:900px){.catalog-table tbody tr{background:var(--surface)!important}.catalog-table tbody tr:nth-child(2n){background:#f0f4f9!important}.order-workspace .order-search-head{background:var(--surface)}.auth-card{background:0 0}.account-panel #logout-btn{background:var(--surface)}}
.crm-sections{background:var(--surface);border-bottom:1px solid var(--line);gap:20px;padding:0 26px;display:flex}.crm-sections button{color:var(--muted);background:0 0;border:0;border-bottom:3px solid #0000;min-height:44px;padding:10px 8px;font-size:13px;font-weight:700}.crm-sections button.active{color:var(--accent);border-bottom-color:var(--accent)}.crm-metrics .metric{min-height:105px;padding:16px}.crm-metrics .metric strong{font-size:25px}.crm-metrics .metric small{font-size:10px}.orders-list-panel{container-type:normal!important}.crm-secondary-filters{gap:12px;margin:0 0 18px;display:flex}.crm-secondary-filters>div{flex:1;min-width:180px;max-width:300px}.crm-secondary-filters label{color:var(--muted);margin-bottom:6px;font-size:11px;font-weight:700;display:block}.crm-workspace{grid-template-columns:minmax(0,1fr) 305px;align-items:start;gap:18px;display:grid}.crm-flow{min-width:0}.crm-desktop-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.crm-column{border:1px solid var(--line);background:var(--surface-alt);border-radius:12px;min-width:0;overflow:hidden}.crm-column-title{border-bottom:1px solid var(--line);background:#e6eef8;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:12px;font-size:13px;display:flex}.crm-column-title.verificar{color:#76520c;background:#f5eddd}.crm-column-title.finalizado{color:#24624b;background:#e1eee7}.crm-column-title.cadastro_analise{color:#59338c;background:#eee8f6}.crm-column-title.cancelado{color:#93404b;background:#f3e8eb}.crm-column-title span{background:#ffffff80;border-radius:20px;padding:3px 7px;font-size:11px}.crm-column-items{overscroll-behavior:contain;gap:10px;max-height:660px;padding:10px;display:grid;overflow:auto}.crm-order{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:0;overflow:hidden}.crm-order.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.crm-order-select{text-align:left;width:100%;min-width:0;color:var(--text);background:0 0;border:0;gap:8px;padding:12px;display:grid}.crm-card-meta{color:var(--muted);justify-content:space-between;gap:6px;font-size:11px;display:flex}.crm-card-meta strong{color:var(--text)}.crm-client-name{overflow-wrap:anywhere;font-size:13px;line-height:1.5}.crm-supplier{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.5}.crm-order-select .badge{justify-self:start;font-size:10px}.crm-card-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;margin:0 10px;padding:9px 0;display:flex}.crm-card-foot>strong{white-space:nowrap;font-size:14px}.crm-card-foot .btn{min-height:40px;padding:7px 10px;font-size:11px}.crm-empty{color:var(--muted);padding:10px;font-size:12px;line-height:1.5}.crm-other-status{margin-top:14px}.crm-other-status>summary{cursor:pointer;color:var(--muted);border:1px solid var(--line);border-radius:9px;padding:12px;font-size:12px;font-weight:650;line-height:1.5}.crm-other-status[open]>.crm-desktop-board{margin-top:12px}.crm-record-count{margin-top:14px}.crm-customer{min-width:0;box-shadow:none;padding:18px;position:sticky;top:76px}.crm-customer h3{color:var(--muted);margin:0 0 14px;font-size:13px}.crm-customer-title{overflow-wrap:anywhere;margin-bottom:10px;font-size:19px;font-weight:800;line-height:1.4}.crm-customer .hint{line-height:1.7}.crm-selected-facts{background:var(--surface-alt);border-radius:10px;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0;padding:12px;display:grid}.crm-selected-facts span{color:var(--muted);margin-bottom:5px;font-size:10px;display:block}.crm-selected-facts strong{font-size:14px}.crm-customer>.btn{white-space:normal;min-height:44px;font-size:12px}.crm-customer-history button{border:0;border-bottom:1px solid var(--line);text-align:left;width:100%;color:var(--text);background:0 0;grid-template-columns:1fr auto;gap:8px;min-height:44px;padding:11px 0;font-size:11px;display:grid}.crm-customer-history .badge{justify-self:start;font-size:9px}.crm-mobile-status,.crm-mobile-orders{display:none}@media (min-width:901px) and (max-width:1180px){.crm-workspace{grid-template-columns:minmax(0,1fr) 255px;gap:12px}.crm-desktop-board{gap:8px}.crm-column-items{padding:7px}.crm-order-select{padding:10px}.crm-card-foot{flex-wrap:wrap}.crm-card-foot .btn{width:100%}.crm-customer{padding:14px}.crm-column-title{padding:10px 7px;font-size:12px}}@media (max-width:900px){.crm-sections{display:none}.crm-metrics{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.crm-metrics .metric{min-height:94px;padding:12px}.crm-metrics .metric span{font-size:11px}.crm-metrics .metric strong{font-size:22px}.crm-metrics .metric small{font-size:9px}.crm-workspace{grid-template-columns:1fr;gap:16px}.crm-secondary-filters{grid-template-columns:1fr 1fr;gap:9px;display:grid}.crm-secondary-filters>div{min-width:0;max-width:none}.crm-secondary-filters select{font-size:14px}.crm-desktop-board,.crm-other-status{display:none}.crm-mobile-status{scrollbar-width:thin;gap:8px;max-width:100%;padding:4px 1px 12px;display:flex;overflow-x:auto}.crm-mobile-status button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--muted);border-radius:9px;flex-shrink:0;padding:8px 12px;font-size:12px;font-weight:700}.crm-mobile-status button.active{border-color:var(--accent);color:var(--accent);background:#e6eef8}.crm-mobile-status span{margin-left:5px}.crm-mobile-orders{gap:12px;margin-top:6px;display:grid}.crm-order-select{gap:7px;padding:13px}.crm-client-name{font-size:14px}.crm-card-meta,.crm-supplier{font-size:12px}.crm-card-foot{margin:0 13px}.crm-card-foot>strong{font-size:16px}.crm-card-foot .btn{min-height:44px;font-size:12px}.crm-customer{padding:15px;position:static}.crm-customer-title{font-size:18px}.crm-flow>.hint:first-child,.crm-record-count{font-size:11px}.orders-list-panel{padding:12px!important}.crm-metrics+.orders-list-panel .orders-filter-bar{grid-template-columns:1fr 1fr!important}}.crm-filter-toggle{display:none}@media (max-width:900px){.app-shell[data-page=orders] .page-actions{grid-template-columns:1fr 1fr}.app-shell[data-page=orders] .page-actions>[data-new-order]{grid-area:1/1/auto/-1}.app-shell[data-page=orders] .page-actions .btn{min-height:44px;padding:10px 8px;font-size:12px}.crm-metrics .metric{min-height:80px}.crm-metrics .metric small{display:none}.crm-filter-toggle{float:right;z-index:1;min-height:40px;margin-bottom:8px;padding:8px 12px;font-size:12px;display:flex;position:relative}.orders-list-panel:not(.crm-filters-open) .orders-filter-bar>div:not(.orders-filter-search),.orders-list-panel:not(.crm-filters-open) .crm-secondary-filters{display:none}.orders-list-panel:not(.crm-filters-open) .orders-filter-bar{clear:both;display:block!important}.crm-secondary-filters{clear:both}.crm-flow>.hint:first-child{clear:both;margin-top:5px}}.crm-mobile-text,.crm-shell-brand,.crm-header-search{display:none}.app-shell[data-page=orders] .crm-shell-brand{white-space:nowrap;align-items:center;gap:10px;display:flex}.app-shell[data-page=orders] .crm-shell-brand .brand-mark{width:32px;height:32px;box-shadow:none;background:var(--accent);border-radius:8px;font-size:12px}.crm-shell-brand strong{font-size:15px}.app-shell[data-page=orders] .topbar-heading h2{display:none}.app-shell[data-page=orders] .topbar-heading{flex:0 auto}.app-shell[data-page=orders] .crm-header-search{flex:1;max-width:400px;margin-left:auto;margin-right:16px;display:block}.crm-header-search .input{border-color:var(--line);min-height:36px;padding:8px 12px;font-size:12px}.app-shell[data-page=orders] .content{max-width:1680px;padding:22px 24px 30px}.app-shell[data-page=orders] .page-head{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:18px}.app-shell[data-page=orders] .page-head h1{margin:0;font-size:25px}.app-shell[data-page=orders] .page-head p{margin:5px 0 0;font-size:12px}.app-shell[data-page=orders] .page-head>.page-actions{display:none}.crm-top-filters{flex-wrap:wrap;align-items:center;gap:9px;min-width:0;max-width:100%;margin-left:auto;display:flex}.crm-top-filters>div{width:155px;min-width:0}.crm-top-filters>div>label,.crm-top-filters .orders-filter-label{display:none}.crm-top-filters .select{border-color:var(--line);border-radius:8px;min-height:36px;padding:8px 10px;font-size:11px}.crm-top-filters>.btn{border-radius:8px;min-height:38px;padding:9px 14px;font-size:12px}.crm-metrics{gap:12px;margin-bottom:16px}.crm-metrics .metric{flex-direction:column;justify-content:center;gap:5px;min-height:75px;padding:12px 16px;display:flex}.crm-metrics .metric span{font-size:12px;font-weight:500}.crm-metrics .metric strong{margin:0;font-size:23px;line-height:1.2}.crm-metrics .metric small{display:none}.app-shell[data-page=orders] .orders-list-panel{box-shadow:none;background:0 0;border:0;padding:0!important}.orders-list-panel>.orders-filter-bar,.orders-list-panel>.crm-secondary-filters{display:none!important}.crm-workspace{grid-template-columns:minmax(0,1fr) 320px;gap:12px}.crm-flow{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:12px}.crm-flow>.hint:first-of-type{margin:0 0 12px;font-size:10px}.crm-flow #crm-board-search{align-items:center;gap:8px;min-width:0;margin-bottom:12px;display:flex}.crm-flow #crm-board-search>label{display:none}.crm-flow #order-search{border-color:var(--line);border-radius:8px;max-width:420px;min-height:36px;padding:8px 12px;font-size:12px}.crm-flow .crm-filter-toggle{float:none;min-height:36px;margin:0;padding:7px 10px;font-size:11px;display:flex;position:static}.crm-advanced-filters{background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:12px;padding:12px}.crm-advanced-filters[hidden]{display:none!important}.crm-advanced-filters>div{vertical-align:bottom;align-items:center;gap:8px;margin-right:12px;display:inline-flex}.crm-advanced-filters label{font-size:11px}.crm-advanced-filters .select{min-height:36px;padding:8px;font-size:12px}.crm-advanced-filters .btn{min-height:36px;padding:8px 12px;font-size:12px}.crm-column{background:var(--surface-alt);border-radius:9px}.crm-column-title{padding:10px 12px;font-size:13px}.crm-column-items{align-content:start;gap:10px;max-height:540px;padding:9px}.crm-order-select{gap:5px;padding:10px}.crm-card-meta{font-size:10px}.crm-client-name{font-size:13px;line-height:1.35}.crm-supplier{font-size:11px}.crm-desktop-board .crm-order-select>.badge{display:none}.crm-card-foot{gap:6px;margin:0 10px;padding:7px 0}.crm-card-foot>strong{font-size:13px}.crm-card-foot .btn{min-height:32px;color:var(--accent);border-color:#b6c9e2;border-radius:6px;padding:5px 9px;font-size:10px}.crm-other-status>summary{padding:9px 10px;font-size:11px}.crm-record-count{margin-bottom:0;font-size:10px}.crm-customer{padding:16px;top:72px}.crm-customer h3{color:var(--text);margin-bottom:10px;font-size:13px}.crm-customer-title{margin-bottom:7px;font-size:18px;line-height:1.3}.crm-customer>.badge{font-size:10px}.crm-customer>.hint{margin:7px 0;font-size:11px;line-height:1.5}.crm-selected-facts{margin:12px 0;padding:10px}.crm-selected-facts span{font-size:10px}.crm-customer>.btn{border-radius:7px;min-height:36px;padding:8px;font-size:11px}.crm-customer #crm-new-customer-order{color:var(--accent);background:0 0;border-color:#a8c0df}.crm-customer h4{margin:16px 0 5px;font-size:12px}.crm-history-scope{margin:0 0 4px!important;font-size:9px!important}.crm-customer-history{margin-bottom:8px}.crm-customer-history button{grid-template-columns:1fr auto;min-height:35px;padding:9px 0;font-size:10px}.crm-customer #crm-open-customer{color:var(--accent);background:0 0;border:0;justify-content:flex-start;padding-left:0}@media (min-width:901px) and (max-width:1180px){.crm-workspace{grid-template-columns:minmax(0,1fr) 270px}.crm-top-filters>div{width:135px}.crm-top-filters{gap:6px}.crm-card-foot .btn{width:auto}.crm-card-foot{flex-wrap:wrap}.crm-column-items{padding:7px}.crm-client-name{font-size:12px}.app-shell[data-page=orders] .page-head{align-items:flex-start}.crm-top-filters{margin-left:0}}@media (max-width:900px){.crm-desktop-text{display:none}.crm-mobile-text{display:inline}.app-shell[data-page=orders] .content{padding:16px 14px calc(90px + env(safe-area-inset-bottom))}.app-shell[data-page=orders] .topbar{gap:6px;padding:0 12px}.app-shell[data-page=orders] .topbar-heading{flex:1;gap:6px}.app-shell[data-page=orders] .crm-shell-brand{gap:7px}.crm-shell-brand strong{font-size:13px}.app-shell[data-page=orders] .crm-shell-brand .brand-mark{border-radius:6px;width:27px;height:27px;font-size:10px}.app-shell[data-page=orders] .crm-header-search{display:none}.app-shell[data-page=orders] .page-head{min-height:38px;margin-bottom:12px;padding-right:125px;display:block;position:relative}.app-shell[data-page=orders] .page-head h1{font-size:23px;line-height:38px}.app-shell[data-page=orders] .page-head p{display:none}.crm-top-filters{margin:0;display:contents}.crm-top-filters>div{display:none}.crm-top-filters>[data-new-order]{min-height:38px;padding:8px 11px;font-size:12px;position:absolute;top:0;right:0}.app-shell[data-page=orders] .content:has(.crm-filters-open) .page-head{padding-right:0}.content:has(.crm-filters-open) .crm-top-filters{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.content:has(.crm-filters-open) .crm-top-filters>div{width:auto;display:block}.crm-top-filters>div>label,.crm-top-filters .orders-filter-label{display:none}.crm-top-filters .select{width:100%;min-height:44px;font-size:12px}.crm-metrics{display:none!important}.crm-workspace{grid-template-columns:1fr;gap:14px}.crm-flow{background:0 0;border:0;padding:0}.crm-flow>.hint:first-of-type{display:none}.crm-flow #crm-board-search{gap:7px;margin-bottom:10px;padding:0}.crm-flow #order-search{border-radius:8px;max-width:none;min-height:44px;padding:10px 11px;font-size:14px}.crm-flow .crm-filter-toggle{flex-shrink:0;min-height:44px;padding:8px;font-size:11px}.crm-mobile-status{gap:7px;margin-bottom:2px;padding:0 0 10px}.crm-mobile-status button{border-radius:8px;min-height:40px;padding:8px 10px;font-size:12px}.crm-mobile-status button.active{background:#e2ecfa}.crm-mobile-orders{gap:12px;margin:0}.crm-order{border-radius:9px;position:relative}.crm-order-select{gap:5px;padding:12px 12px 5px}.crm-card-meta{font-size:10px}.crm-client-name{padding-right:4px;font-size:14px;line-height:1.35}.crm-supplier{font-size:12px}.crm-mobile-orders .crm-order-select>.badge{margin-top:2px;font-size:10px}.crm-card-foot{border:0;margin:0 12px;padding:6px 0 10px}.crm-card-foot>strong{font-size:16px}.crm-card-foot .btn{min-height:40px;padding:7px 11px;font-size:11px}.crm-customer{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 14px;display:grid;position:static}.crm-customer h3{grid-column:1/-1;margin:0;font-size:11px}.crm-customer-title{margin:0;font-size:15px;line-height:1.4}.crm-customer>.badge,.crm-customer>.hint,.crm-customer>.crm-selected-facts,.crm-customer>#crm-new-customer-order,.crm-customer>h4,.crm-customer>.crm-customer-history{display:none}.crm-customer #crm-open-customer{white-space:nowrap;grid-area:2/2;align-self:center;min-height:40px;padding:5px 0;font-size:12px}.crm-record-count{margin:10px 0 0;font-size:10px}.crm-advanced-filters{margin-bottom:10px;padding:10px}.crm-advanced-filters>div{flex-wrap:wrap;margin:0 0 8px;display:flex}.crm-advanced-filters .page-actions{display:flex!important}.crm-advanced-filters .btn,.crm-desktop-board .crm-card-foot .btn{min-height:40px}}@media (max-width:360px){.crm-shell-brand strong{font-size:11px}.app-shell[data-page=orders] .topbar-heading #menu-btn{width:32px;min-width:32px}.app-shell[data-page=orders] .content{padding-left:11px;padding-right:11px}.crm-mobile-status button{padding:8px;font-size:11px}.crm-flow .crm-filter-toggle{padding:7px;font-size:10px}.crm-customer-title{font-size:13px}.crm-customer #crm-open-customer{font-size:11px}}.crm-mobile-reference{display:none}@media (max-width:900px){.crm-customer>.crm-mobile-reference{color:var(--muted);grid-area:3/1;margin:0;font-size:11px;display:block}.crm-customer #crm-open-customer{grid-row:2/4}.crm-customer.is-empty>.hint{grid-column:1/-1;margin:0;font-size:12px;display:block}}.crm-mobile-number,.crm-mobile-list-count{display:none}@media (max-width:900px){.crm-mobile-number{display:inline}.crm-mobile-orders .crm-card-meta{display:none}.crm-mobile-orders .crm-order-select{gap:4px;padding:11px 12px 2px}.crm-mobile-orders .crm-order-select>.badge{padding:3px 8px;line-height:1.2}.crm-mobile-list-count{color:var(--muted);margin:0 0 10px;font-size:11px;display:block}.crm-mobile-orders .crm-card-foot{padding:4px 0 9px}.crm-mobile-orders .crm-order-select .crm-client-name{font-size:14px}}
.app-shell[data-page=orders]{background:linear-gradient(120deg,#f3f7fc,#eaf1f9);min-height:100dvh}.app-shell[data-page=orders] .content{max-width:1460px;padding:20px 24px 28px}.app-shell[data-page=orders] .topbar,.app-shell[data-page=orders] .crm-sections{background:#f8faff}.app-shell[data-page=orders] .crm-header-search{max-width:400px;margin-left:clamp(12px,6vw,110px);margin-right:auto}.app-shell[data-page=orders] .crm-sections{gap:20px;padding:0 25px}.crm-sections button{font-size:14px}.crm-workspace{grid-template-columns:minmax(0,2.5fr) minmax(285px,1fr);gap:14px}.crm-metrics{gap:13px;margin-bottom:16px}.crm-metrics .metric{min-height:84px;box-shadow:none;background:#f9fbfe;border-color:#dbe3ee;border-radius:10px;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;padding:14px;display:flex}.crm-metric-icon{color:#2769b4;background:#e7f1ff;border-radius:10px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.crm-metric-icon svg{width:25px;height:25px}.crm-metric-icon.tone-1{color:#ac711e;background:#fff3e1}.crm-metric-icon.tone-2{color:#44814c;background:#edf6e7}.crm-metric-icon.tone-3{color:#687487;background:#edf0f6}.crm-metric-copy{gap:4px;min-width:0;display:grid}.crm-metric-copy>span{color:#28384c;font-size:13px}.crm-metric-copy>strong{letter-spacing:-.035em;white-space:nowrap;font-size:25px;font-weight:800}.crm-flow{background:#f9fbfe;border-color:#d6e0ec;border-radius:10px;padding:12px;box-shadow:0 2px 6px #203b5b03}.crm-flow>.hint:first-of-type{color:#52647c;margin-bottom:12px;font-size:11px}.crm-desktop-board{align-items:stretch;gap:12px}.crm-column{background:linear-gradient(#f5f8fc,#f0f4fa);border-color:#e0e6ef;border-radius:8px}.crm-column-title{color:#163a64;background:linear-gradient(100deg,#cfe3ff,#e8f2ff);border:0;padding:10px 12px;font-size:15px;font-weight:750}.crm-column-title.verificar{color:#513615;background:linear-gradient(100deg,#ffe3ba,#fff0d8)}.crm-column-title.finalizado{color:#274e2b;background:linear-gradient(100deg,#d4eccb,#e9f6e5)}.crm-column-items{gap:12px;max-height:520px;padding:8px}.crm-order{background:#fbfcff;border-color:#d3dce9;border-radius:7px;box-shadow:0 1px 3px #233d5e05}.crm-order.selected{border-color:#2463bb;box-shadow:0 0 0 1px #2463bb}.crm-order-select{color:#1c2f47;gap:6px;padding:10px 11px 9px}.crm-card-meta,.crm-card-meta strong{font-size:12px}.crm-client-name{font-size:14px;font-weight:750;line-height:1.4}.crm-supplier{color:#485c75;font-size:12px}.crm-card-foot{border-color:#d5dfea;margin:0 11px;padding:8px 0 9px}.crm-card-foot>strong{font-size:14px;font-weight:800}.crm-card-foot .btn{color:#1e589d;background:0 0;border-color:#80a4d1;border-radius:5px;min-height:30px;padding:4px 9px;font-size:11px}.crm-note-warning{color:#875214;background:#ffedd5;border-radius:5px;justify-self:start;padding:3px 7px;font-size:11px;line-height:1.4}.crm-show-column{color:#245fa8;background:0 0;border:0;width:100%;min-height:36px;margin:0;padding:8px;font-size:12px;font-weight:650;display:block}.crm-other-status{margin-top:12px}.crm-other-status>summary{color:#435a75;background:#edf3fb;border-color:#d7e1ee;padding:8px 11px;font-size:11px;font-weight:500}.crm-record-count{color:#64758a;font-size:10px}.crm-customer{background:#f9fbfe;border-color:#d6e0ec;border-radius:10px;padding:16px;top:76px}.crm-customer h3{color:#24364c;margin-bottom:10px;font-size:14px;font-weight:750}.crm-customer-title{letter-spacing:-.02em;font-size:19px;font-weight:800}.crm-customer>.badge{padding:3px 7px;font-size:10px;line-height:1.4}.crm-selected-facts{background:#eaf0f8;border-radius:8px;margin:12px 0;padding:11px}.crm-selected-facts strong{font-size:14px}.crm-customer>.btn{min-height:36px;font-size:12px}.crm-customer h4{margin-top:16px;font-size:14px}.crm-history-scope{display:none!important}.crm-customer-history button{min-height:35px;font-size:12px}.crm-customer #crm-open-customer{color:#245fa8;font-size:12px}.crm-customer #crm-new-customer-order{color:#245fa8;background:0 0;border-color:#7ba3d4}.crm-top-filters .select{background:#f9fbfe;border-color:#cbd7e7;min-height:38px;font-size:12px}.crm-top-filters>[data-new-order]{background:#2865b1;min-height:38px;font-size:13px}.crm-top-filters>div{width:160px}.app-shell[data-page=orders] .page-head h1{color:#24364c;font-size:26px;font-weight:800}.app-shell[data-page=orders] .page-head p{font-size:13px}.crm-flow #order-search{background:#f8fbff;border-color:#c9d6e7;min-height:36px;font-size:12px}.crm-flow #crm-board-search{margin-bottom:12px}@media (min-width:901px) and (max-width:1220px){.app-shell[data-page=orders] .content{padding:18px}.crm-workspace{grid-template-columns:minmax(0,2.45fr) minmax(260px,1fr)}.crm-top-filters>div{width:140px}.crm-top-filters{gap:7px}.crm-column-title{padding:10px;font-size:13px}.crm-client-name{font-size:13px}.crm-metric-copy>strong{font-size:23px}.crm-metric-copy>span{font-size:12px}.crm-metric-icon{width:38px;height:38px}.crm-metrics .metric{gap:10px;padding:12px}}@media (max-width:900px){.app-shell[data-page=orders]{background:#f4f7fc}.app-shell[data-page=orders] .content{padding:16px 14px calc(92px + env(safe-area-inset-bottom))}.app-shell[data-page=orders] .topbar{background:#f8faff;height:58px;padding:0 10px}.app-shell[data-page=orders] .crm-header-search{display:none}.app-shell[data-page=orders] .page-head{margin-bottom:12px}.app-shell[data-page=orders] .page-head h1{font-size:24px;line-height:38px}.app-shell[data-page=orders] .crm-shell-brand .brand-mark{background:#2865aa}.crm-top-filters>[data-new-order]{border-radius:6px;min-height:36px;padding:8px 11px;font-size:12px}.crm-metrics{display:none!important}.crm-workspace{grid-template-columns:1fr;gap:14px;display:grid}.crm-flow{box-shadow:none;background:0 0;border:0;padding:0}.crm-flow #crm-board-search{gap:7px;margin-bottom:14px}.crm-flow #order-search{background:#f9fbfe;border-color:#c6d3e4;min-height:44px;font-size:14px}.crm-flow .crm-filter-toggle{background:#edf3fb;min-height:44px;padding:8px;font-size:11px}.crm-mobile-status{scrollbar-width:none;gap:8px;margin-bottom:5px;padding-bottom:7px}.crm-mobile-status button{border-color:#ccd9e9;border-radius:6px;min-height:40px;padding:8px 10px;font-size:12px;font-weight:500}.crm-mobile-status button[data-crm-status=recebido]{color:#245c9e;background:#e6f0ff;border-color:#b5cfee}.crm-mobile-status button[data-crm-status=verificar]{color:#72502a;background:#fff1de;border-color:#f0d6b5}.crm-mobile-status button[data-crm-status=finalizado]{color:#36663c;background:#e8f3e7;border-color:#c4dfc1}.crm-mobile-status button.active{border-color:#3570c2;box-shadow:inset 0 0 0 1px #3570c2}.crm-mobile-list-count{margin:0 0 11px;font-size:12px}.crm-mobile-orders{gap:12px}.crm-mobile-orders .crm-order{background:#fbfcff;border-radius:8px}.crm-mobile-orders .crm-order-select{gap:5px;padding:12px 12px 5px;position:relative}.crm-mobile-orders .crm-client-name{padding-right:63px;font-size:14px;line-height:1.4}.crm-mobile-orders .crm-supplier{font-size:13px}.crm-mobile-orders .crm-order-select>.badge{max-width:95px;padding:4px 7px;font-size:10px;font-weight:500;line-height:1.3;position:absolute;top:12px;right:10px}.crm-mobile-orders .crm-order:has(.badge.cadastro_analise) .crm-client-name{padding-right:99px}.crm-mobile-orders .crm-card-foot{border:0;margin:0 12px;padding:8px 0 10px}.crm-mobile-orders .crm-card-foot>strong{font-size:17px}.crm-mobile-orders .crm-card-foot .btn{border-color:#7e9fc9;min-height:40px;padding:6px 11px;font-size:12px}.crm-mobile-orders .crm-note-warning{display:none}.crm-customer{background:#f3f7fc;border-radius:8px;gap:5px 10px;padding:13px;position:static}.crm-customer h3{margin:0;font-size:12px}.crm-customer-title{font-size:16px}.crm-customer .crm-mobile-reference{font-size:11px}.crm-customer #crm-open-customer{min-height:44px;font-size:12px}.crm-customer-history,.crm-record-count{display:none}.app-shell[data-page=orders] .bottom-nav{background:#f9fbfe}.app-shell[data-page=orders] .bottom-nav button.active{color:#215ea7;background:0 0}.app-shell[data-page=orders] .bottom-nav button.active:after{content:"";background:#2865b1;border-radius:3px;width:24px;height:3px;position:absolute;bottom:5px}.app-shell[data-page=orders] .bottom-nav button{position:relative}.crm-desktop-board,.crm-other-status{display:none}}.crm-flow .crm-filter-toggle{width:36px;min-width:36px;padding:7px}.crm-filter-toggle svg{width:18px;height:18px}@media (max-width:900px){.crm-flow .crm-filter-toggle{width:44px;min-width:44px;padding:10px}.crm-filter-toggle svg{width:19px;height:19px}}.crm-contact-slot{margin-top:16px}.crm-next-contact{background:linear-gradient(120deg,#e2edfc,#edf4ff);border:1px solid #d4e2f7;border-radius:8px;padding:13px}.crm-next-heading{align-items:center;gap:8px;font-size:13px;display:flex}.crm-agenda-icon{color:#2b61aa;font-size:22px}.crm-next-date{margin:6px 0;font-size:13px;display:block}.crm-next-contact p{overflow-wrap:anywhere;margin:6px 0;font-size:12px;line-height:1.5}.crm-next-actions{flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0 6px;display:flex}.crm-next-actions .btn{min-height:36px;padding:7px 9px;font-size:11px}.crm-next-contact>.hint{font-size:10px}.crm-agenda-toolbar{justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px;display:flex}.crm-agenda-toolbar label{gap:7px;font-size:12px;display:grid}.crm-agenda-entry{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:16px 0;display:grid}.crm-agenda-entry strong,.crm-agenda-entry span{overflow-wrap:anywhere;display:block}.crm-agenda-entry span{color:var(--muted);margin-top:5px;font-size:12px}.crm-agenda-entry p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.crm-agenda-actions{flex-wrap:wrap;place-content:start flex-end;gap:7px;display:flex}.crm-agenda-pagination{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:12px;display:flex}#crm-contact-date{width:100%;min-width:0;max-width:100%}@media (max-width:900px){.crm-contact-slot{grid-column:1/-1;margin-top:10px;display:block}.crm-next-contact{padding:11px}.crm-next-heading{font-size:12px}.crm-next-actions .btn{min-height:44px;font-size:12px}.crm-agenda-toolbar{grid-template-columns:1fr;gap:10px;display:grid}.crm-agenda-entry{grid-template-columns:1fr;gap:8px}.crm-agenda-actions{justify-content:flex-start}.crm-agenda-actions .btn{min-height:44px}.crm-agenda-toolbar .select{font-size:16px}.crm-next-contact .hint{font-size:11px}.crm-contact-slot{display:none!important}}@media (min-width:901px){.crm-customer{padding:13px;position:sticky}.crm-customer h3{margin-bottom:6px;font-size:13px}.crm-customer-title{margin-bottom:4px;padding-right:66px;font-size:18px}.crm-customer>.badge{font-size:9px;position:absolute;top:42px;right:13px}.crm-customer>.hint{margin:5px 0;font-size:11px;line-height:1.4}.crm-selected-facts{margin:9px 0;padding:8px}.crm-selected-facts span{margin-bottom:3px;font-size:9px}.crm-selected-facts strong{font-size:13px;line-height:1.3}.crm-customer>.btn{min-height:30px;padding:5px;font-size:11px}.crm-customer h4{margin:12px 0 4px;font-size:13px}.crm-customer-history button{min-height:31px;padding:7px 0;font-size:11px}.crm-customer #crm-open-customer{min-height:29px;padding:5px 0;font-size:11px}.crm-contact-slot{margin-top:9px}.crm-next-contact{padding:10px;position:relative}.crm-next-heading{gap:6px;font-size:12px}.crm-agenda-icon{font-size:19px}.crm-next-date{margin:4px 0;font-size:12px}.crm-next-contact p{margin:4px 0;font-size:11px;line-height:1.4}.crm-next-contact.has-contact .crm-next-heading{padding-right:76px}.crm-next-contact.has-contact .crm-next-actions{margin:0;position:absolute;top:8px;right:8px}.crm-next-actions .btn{min-height:28px;padding:5px 7px;font-size:10px}.crm-next-contact>.hint{font-size:9px}}.crm-header-search .input,.crm-flow #order-search{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536579' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");background-position:11px;background-repeat:no-repeat;background-size:15px 15px;padding-left:33px!important}@media (min-width:901px){.crm-top-filters>div:has(#crm-period){width:130px}.crm-top-filters>div:has(#company-filter){width:170px}.crm-top-filters>div:has(#crm-seller){width:185px}}
