/* FOX O.S · identidade clara compartilhada com o sistema local. */
:root{--ink:#252c29;--slate:#303a34;--muted:#70796f;--line:#e1e7dd;--soft:#f5f7f1;--orange:#607c28;--orange2:#bdf247;--green:#4f7d37;--shadow:0 12px 32px rgba(35,45,31,.07);--lime:#bdf247}
body{background:var(--soft);color:var(--ink);font-size:13px;line-height:1.5}.app-shell{grid-template-columns:238px minmax(0,1fr)}.sidebar{width:238px;background:#fff;color:var(--ink);border-right:1px solid var(--line);padding:24px 15px 15px;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}.side-brand{padding:0 10px 22px;border-color:var(--line)}.side-brand>img,.brand-symbol img,.mobile-logo img{width:42px;height:42px;object-fit:contain;border-radius:11px}.side-brand b{font-size:15px;letter-spacing:.015em}.side-brand small{font-size:8px;color:var(--muted);letter-spacing:.1em}.sidebar nav{padding:18px 0;gap:4px}.sidebar nav a{color:#707b6b;padding:9px 12px;min-height:42px;font-size:12px;border:1px solid transparent;border-radius:10px;box-shadow:none}.sidebar nav a:hover{background:#f4f7ed;color:#3d5030}.sidebar nav a.active{background:#eaf7cf;color:#30421c;box-shadow:none;border-color:#dcebc0}.sidebar nav i{background:#f0f4ea;color:#6e8059;width:28px;height:28px;font-size:11px}.sidebar nav a.active i{background:#cce89f;color:#3b521f}.sync-card{margin-top:auto;background:#f7f9f2;border-color:var(--line);color:var(--ink);padding:13px}.sync-card b{font-size:10px}.sync-card small{font-size:9px;color:var(--muted)}.logout{color:#727c70;font-size:11px;min-height:44px}.logout:hover{color:#973733}.content{padding:0 28px 60px;min-width:0}.topbar{position:relative;height:auto;min-height:88px;gap:12px;padding:18px 0;flex-wrap:wrap;border-color:var(--line)}.store-identity{min-width:110px}.topbar p{font-size:9px;color:#798373}.topbar h1{font-size:16px;color:var(--ink)}.global-search{position:static;max-width:480px;min-width:200px;flex:1;margin-left:auto;order:0;background:#fff;border-color:var(--line)}.global-search input{font-size:12px;min-height:40px}.global-search button{background:#30392f;color:#fff;font-size:10px;min-height:34px}.refresh-status{background:#fff;border-color:var(--line);border-radius:11px;min-height:42px;padding:8px 12px}.refresh-status b{font-size:10px}.refresh-status small{font-size:9px;color:var(--muted)}.notification-button{background:#fff;border-color:var(--line);width:40px;height:40px;min-width:40px}.notification-button b{background:#c17925}.license-pill{margin-left:0;background:#edf6df;border-color:#d3e7b4;color:#54712b;font-size:8px;padding:8px 10px}.license-pill.expiring{background:#fff5df;color:#98631b;border-color:#e8d5a5}.license-pill.expired{background:#fff0ed;color:#ab4636;border-color:#f0c4b9}
.executive-hero{margin:25px 0 18px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:none}.executive-hero:after,.executive-hero:before{display:none}.executive-hero .kicker{color:#78866a;margin-bottom:8px}.executive-hero h2{color:var(--ink);font-size:32px;letter-spacing:-.04em;margin:0}.executive-hero>div>span{color:var(--muted);font-size:12px}.hero-sync{background:#f6f9ef;border:1px solid var(--line);border-radius:12px;padding:14px 18px;min-width:215px}.hero-sync small{color:#7c8771;font-size:9px}.hero-sync strong{color:#3b4734;font-size:13px}.hero-sync em{color:#78816e;font-size:10px}.executive-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.executive-kpis article,.inventory-insights article,.management-metrics article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;box-shadow:none;min-width:0}.executive-kpis article:before,.executive-kpis article:after{display:none}.executive-kpis .accent-orange{background:#e9f6cb;border-color:#d7e9b6}.executive-kpis article>span,.inventory-insights article>span,.management-metrics article>span{font-size:10px;letter-spacing:.07em;color:var(--muted)}.executive-kpis strong,.inventory-insights strong,.management-metrics strong{font-size:25px;letter-spacing:-.04em;color:var(--ink);margin:8px 0}.executive-kpis small,.inventory-insights small,.management-metrics small{font-size:10px;color:var(--muted)}.executive-kpis .accent-red strong{color:#ad632d}.analytics-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:16px;margin-bottom:18px}.chart-card,.dashboard-panel,.portal-history{background:#fff;border:1px solid var(--line);border-radius:17px;padding:21px;box-shadow:none;min-width:0}.section-title{gap:14px}.section-title h3{font-size:14px;color:var(--ink);letter-spacing:-.015em}.section-title .kicker{font-size:9px;color:#859075;margin:0 0 5px}.section-title>span,.section-title>a{font-size:10px}.sales-chart-layout{grid-template-columns:1fr;gap:18px}.sales-chart{min-width:0}.sales-chart svg{height:175px}.chart-axis-labels span{font-size:9px}.chart-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border:0;border-top:1px solid var(--line);padding:15px 0 0}.chart-summary span{padding:0}.chart-summary small{font-size:8px;color:var(--muted)}.chart-summary strong{font-size:15px;color:var(--ink);margin-top:5px}.chart-summary em{font-size:9px;color:var(--muted)}.chart-legend span{font-size:11px;gap:8px}.chart-legend b{font-size:10px}.chart-legend em{font-size:11px}.donut-chart{width:145px;height:145px}.donut-chart strong{font-size:16px}.donut-chart small{font-size:9px}.color-0{background:#cf7d65!important}.color-1{background:#d6b56b!important}.color-2{background:#a8d45a!important}.dashboard-grid,.dashboard-grid.lower{gap:16px;margin-top:16px}.module-sync-grid{gap:9px}.module-sync-grid article{padding:12px;border-color:var(--line)}.module-sync-grid b{font-size:11px}.module-sync-grid small,.module-sync-grid em{font-size:9px}.module-sync-grid em{color:#607d31}.notification-list>a{padding:12px;border-color:var(--line)}.notification-list b{font-size:12px}.notification-list small{font-size:10px}.notification-list>a:hover{border-color:#b9d589;background:#fafcf6}.healthy-state span{font-size:11px}.activity-list b{font-size:11px}.activity-list small{font-size:10px}.activity-list em{font-size:9px}.activity-list article{padding:11px 0}.activity-list.compact{max-height:320px}.activity-icon{font-size:10px}.quick-actions a{padding:14px;border-color:var(--line);background:#fff}.quick-actions a:hover{background:#f7fbed;border-color:#bfd992}.quick-actions i{background:#edf5de;color:#667e38}.quick-actions b{font-size:11px}.quick-actions span{font-size:9px}
.page-heading{padding:32px 0 24px;gap:18px}.page-heading h2{font-size:30px;letter-spacing:-.04em}.page-heading>div>span{font-size:12px}.kicker{color:#6f8550;font-size:10px}.summary{flex-wrap:wrap;overflow:visible}.summary article{min-width:125px;border-color:var(--line);box-shadow:none;padding:13px 17px}.summary small{font-size:9px;color:var(--muted)}.summary strong{font-size:22px}.filters{border-color:var(--line);padding:16px;gap:10px}.filters label>span{font-size:9px;color:var(--muted)}.filters input,.filters select{min-height:42px;font-size:12px;border-color:#dce3d5}.filters button,.filters>a{min-height:42px;font-size:11px;background:#30392f;color:#fff}.filters>a{background:#fff;color:var(--muted)}input:focus,select:focus,textarea:focus{border-color:#91b447!important;box-shadow:0 0 0 3px #c1df8640!important}.primary,.login-card form>button{background:var(--lime);color:#2a371c;box-shadow:none;font-size:12px;min-height:44px}.primary:hover,.login-card form>button:hover{background:#aee634;color:#29361b;box-shadow:none}.primary.danger-action{background:#b5413e!important;color:#fff!important}.secondary{min-height:42px;font-size:12px;border-color:var(--line)}.settle-button{background:#e6f3ca;color:#3d5725;border:1px solid #ccdfa9;min-height:40px;font-size:11px;padding:10px 14px}.reverse-button{min-height:36px;font-size:10px}.queue,.category,.stock,.status-tag,.abc{font-size:9px;padding:5px 8px}.avatar{background:#edf5df;color:#607934}.account-list article,.quote-list article{border-color:var(--line);padding:16px;border-radius:14px;gap:13px}.account-client h3,.quote-list h3{font-size:13px}.account-client p,.quote-list p{font-size:10px}.account-list article small,.quote-list article small{font-size:9px}.account-list article>div>strong,.quote-list article>div>strong{font-size:13px}.account-list article{grid-template-columns:40px minmax(130px,1fr) 115px 120px auto}.quote-list article{grid-template-columns:minmax(160px,1fr) 120px 70px 120px auto}.quote-list article>a{font-size:10px;padding:9px;border-color:var(--line);color:#617b31}.pagination a,.pagination>span{min-width:38px;min-height:38px;font-size:11px}.pagination a.active{background:#30392f;border-color:#30392f}.product-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr))}.product-card{border-color:var(--line);box-shadow:none;border-radius:15px;padding:18px}.product-card:hover{border-color:#bdd894;box-shadow:var(--shadow)}.product-card h3{font-size:14px}.product-card>p{font-size:10px}.product-values small,.product-intelligence small{font-size:9px}.product-values strong,.product-intelligence b{font-size:12px}.product-intelligence{gap:12px}.customer-grid>article,.order-grid>article,.security-grid article{border-color:var(--line);box-shadow:none;padding:20px}.customer-card-head h3{font-size:14px}.customer-card-head p{font-size:10px}.customer-card-head>a{font-size:10px;min-height:36px}.customer-metrics small,.order-meta small,.security-grid small{font-size:9px}.customer-metrics b,.order-meta b{font-size:12px}.customer-grid summary,.order-grid summary{font-size:11px;min-height:35px}.relationship,.order-detail,.security-grid p,.policy-list span{font-size:11px}.order-id{color:#647e33;font-size:11px}.order-grid h3{font-size:16px}.order-grid>article>p{font-size:11px}.security-grid h3{font-size:15px}.global-results b{font-size:13px}.global-results small{font-size:11px}.global-results>a>span{font-size:10px;color:#617b31}
.modal{background:#26332270;backdrop-filter:blur(4px)}.modal-card{border:1px solid var(--line);box-shadow:0 30px 90px #17221233;border-radius:18px;max-height:92dvh}.modal-card>header{background:#f7faef;color:var(--ink);border-bottom:1px solid var(--line);padding:20px 24px}.modal-card>header .kicker{color:#6f854b}.modal-card>header h2{font-size:23px}.modal-card>header>button{background:#e9efdf;color:#506044;width:40px;height:40px}.form-grid label,.totals label{font-size:10px;color:var(--muted)}.form-grid input,.form-grid select,.form-grid textarea{font-size:13px;border-color:#dce3d5;min-height:44px}.payment-summary{background:#f8faef;border-color:var(--line)}.payment-summary span{font-size:10px}.payment-summary strong{font-size:15px;color:var(--ink)}.modal-card footer{padding-bottom:2px}.alert{font-size:12px}.empty{font-size:12px;background:#fafbf6;border-color:#d4dec7;color:var(--muted)}.login-body{background:#f4f7ee}.login-shell{min-height:100dvh;max-width:1380px;margin:auto;grid-template-columns:1fr 1fr}.login-brand{background:#2b342c;padding:clamp(30px,6vw,90px)}.login-brand:before{border-color:#9dbb6d26}.login-brand:after{border-color:#9dbb6d26;animation-duration:80s}.brand-symbol{background:transparent;box-shadow:none;width:60px;height:60px}.brand-symbol img{width:60px;height:60px}.login-brand>p{color:#b8dc7a}.login-brand h1{font-size:clamp(42px,4.5vw,66px);letter-spacing:-.05em}.login-brand h1 em{color:#c5ee8a}.login-brand>span{color:#becbb6;font-size:14px}.brand-points{font-size:10px;color:#d9e5ce;gap:18px}.login-card{background:#fff;padding:clamp(30px,6vw,90px)}.login-card h2{font-size:32px}.login-card input{min-height:50px;border-color:#dce3d5}.login-card label{font-size:10px}.support a{color:#5e7931}.mobile-logo span{background:#eff6e3;color:#5e7931}.subscription-hero,.plan-card.featured,.subscription-profile,.export-hero{border-color:var(--line)}.export-card,.plan-card,.subscription-status,.subscription-summary,.payment-history{box-shadow:none;border-color:var(--line)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #90b447;outline-offset:3px}button,a{touch-action:manipulation}.clean-page-intro{color:var(--muted);font-size:12px;padding:12px 16px;background:#f1f7e7;border:1px solid #dae8c3;border-radius:11px;margin:0 0 18px}
@media(min-width:1500px){.content{padding-left:40px;padding-right:40px}.executive-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.executive-kpis strong{font-size:25px}}
@media(max-width:1150px){.analytics-grid{grid-template-columns:1fr}.dashboard-grid,.dashboard-grid.lower{grid-template-columns:1fr}.global-search{order:5;position:static;min-width:100%;max-width:none}.license-pill{margin-left:auto}.topbar{gap:10px}.quote-list article{grid-template-columns:1fr 100px 65px 100px}.account-list article{grid-template-columns:35px 1fr 100px 110px}.account-list article>button,.account-list article>.queue{grid-column:2/-1;justify-self:start}.content{padding:0 22px 55px}}
@media(max-width:850px){.app-shell{display:block}.sidebar{box-shadow:14px 0 45px #24331b22;width:min(85vw,270px)}.content{padding:0 16px 45px}.topbar{min-height:76px;padding:15px 0}.menu-button{min-width:40px;min-height:40px}.store-identity{flex:1}.license-pill{display:none}.executive-hero{margin-top:20px}.hero-sync{width:100%}.executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{flex-direction:column;align-items:stretch;gap:16px}.summary article{min-width:0;flex:1}.account-list article>div:nth-of-type(n+3),.quote-list article>div:nth-of-type(n+2){display:block}.account-list article,.quote-list article{grid-template-columns:40px minmax(0,1fr);gap:12px}.account-client{grid-column:2}.account-list article>div:nth-of-type(3){grid-column:1/-1}.account-list article>div:nth-of-type(4){grid-column:1/-1}.account-list article>div:nth-of-type(n+3){display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:9px}.account-list article>button,.account-list article>.queue{grid-column:1/-1;justify-self:stretch;text-align:center}.quote-list article>div:first-child{grid-column:1/-1}.quote-list article>div{grid-column:1/-1}.customer-card-head{flex-wrap:wrap}.customer-card-head>a{margin-left:51px}.customer-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.login-shell{display:block}.login-card{min-height:100dvh}.login-brand{display:none}.mobile-logo{display:flex}.filters,.filters.compact{grid-template-columns:1fr 1fr}.filters label:first-of-type{grid-column:1/-1}.refresh-status small{display:none}.refresh-status{padding:9px}.chart-summary{gap:8px}.chart-summary strong{font-size:14px}}
@media(max-width:560px){.content{padding:0 13px 35px}.executive-hero{padding:20px}.executive-hero h2{font-size:27px}.executive-kpis{gap:9px}.executive-kpis article{padding:14px}.executive-kpis strong{font-size:22px}.executive-kpis article>span{font-size:9px}.executive-kpis small{font-size:10px}.chart-card,.dashboard-panel{padding:17px}.section-title{align-items:flex-start;flex-wrap:wrap}.chart-summary{grid-template-columns:1fr 1fr;row-gap:16px}.chart-axis-labels span:nth-child(even){visibility:hidden}.donut-layout{flex-direction:column;gap:20px}.chart-legend{width:100%}.summary{gap:8px}.summary article{padding:12px;min-width:calc(50% - 8px)}.summary strong{font-size:20px}.filters,.filters.compact{grid-template-columns:1fr}.filters label:first-of-type{grid-column:auto}.product-grid{grid-template-columns:1fr}.status-tag{display:inline-flex}.customer-metrics{grid-template-columns:1fr}.modal{padding:8px}.modal-card{height:auto;max-height:96dvh;border-radius:14px}.modal-card form{padding:16px}.modal-card footer{position:static;flex-wrap:wrap}.modal-card footer>*{flex:1;justify-content:center;min-height:44px}.form-grid input,.form-grid select,.form-grid textarea,.filters input,.filters select,.login-card input{font-size:16px}.notification-list small{line-height:1.5}.refresh-status b{font-size:9px}.topbar h1{max-width:145px;overflow:hidden;text-overflow:ellipsis}.module-sync-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr}.license-pill{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.subscription-hero{background:#fff;color:var(--ink);box-shadow:none;border:1px solid var(--line)}.subscription-hero:after{display:none}.subscription-hero>div>span{color:var(--muted)}.subscription-date{background:#f3f8e9;border-color:var(--line)}.subscription-date small{color:#647450}.subscription-date em{color:#5b7630}.subscription-hero.state-grace,.subscription-hero.state-expired{background:#fff5eb;color:#754735}.subscription-explainer i{background:#eaf4d8;color:#68852e}.subscription-explainer b{font-size:12px}.subscription-explainer span{font-size:11px}.plan-grid>article{border-color:var(--line);box-shadow:none}.plan-grid>article:before{background:#b4dd64}.plan-days,.payment-table article a{color:#647f32}.plan-grid p{font-size:12px}.plan-days span,.plan-price small{font-size:10px}.payment-table article{font-size:12px}.payment-table article small,.payment-table-head,.payment-status{font-size:10px}.pix-loading>span{border-top-color:#89ac3f}.pix-summary small,.pix-wait small{font-size:10px}.pix-wait b{font-size:12px}.pix-payment textarea{font-size:12px}.billing-profile,.portal-export-card{border-color:var(--line);box-shadow:none}.export-module-grid label:has(input:checked){background:#f1f8e4;border-color:#adc974;box-shadow:0 0 0 3px #d1e7a733}.export-module-grid input{accent-color:#718f3a}.export-module-grid i{background:#eaf3d9;color:#4d6830}.export-module-grid b{font-size:13px}.export-module-grid small,.export-password-grid label>span,.portal-export-footer>span,.export-warning span{font-size:11px}.ranking-chart progress::-webkit-progress-value{background:#acd358}.ranking-chart progress::-moz-progress-bar{background:#acd358}.ranking-chart b,.ranking-chart em{font-size:11px}.report-table th{font-size:11px;color:#69785b}.report-table td{font-size:12px}.report-toolbar{border-color:var(--line)}
@media(max-width:900px){.app-shell{display:block}.menu-button{display:block}.sidebar{transform:translateX(-105%)}.sidebar.open{transform:translateX(0)}}
@media(max-width:700px){.payment-table article>span,.payment-table article>strong{display:block}.payment-table article>span{font-size:11px}.payment-table article>span:nth-of-type(2){display:block}.payment-table article>strong{grid-column:1}.subscription-hero h2{font-size:27px}.subscription-date strong{font-size:25px}}
.modal-card{overflow:auto;overscroll-behavior:contain}.modal-card footer{position:sticky;bottom:0;background:#fff;padding:14px 0 5px;z-index:3}.payment-summary span{background:#f7faef;border-color:var(--line);color:#738363}.payment-summary span:nth-child(2) strong{color:#57752c}.remember-license{background:#f7faef;border-color:var(--line)}.remember-license input{accent-color:#789938}.login-card .remember-license input{min-height:18px}
@media(max-width:560px){.modal-card footer{display:grid;grid-template-columns:1fr 1fr}.modal-card footer .primary{gap:6px}.page-heading .summary{display:flex;flex-wrap:wrap}.page-heading .summary article{min-width:calc(50% - 8px)}.summary article:first-child{flex-basis:100%}}
@media print{.sidebar,.topbar{display:none!important}.content{padding:0!important}.app-shell{display:block}.chart-card,.dashboard-panel{box-shadow:none!important;break-inside:avoid}}
.account-kind{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;background:#eff1ee;color:#58604e;font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}.account-kind.outside-debt{background:#f0f8da;color:#526e20}
