
/* Unified navigation and visual hierarchy. */
@media screen {
:root{--nx-blue:#181b22;--green:#be2639;--muted:#657080;font-size:14px}
body{background:#f3f4f6;color:#273140}
header{height:72px;background:#181b22;padding-left:258px}
.brand{top:14px;font-size:23px}.brand small{color:#aeb4bf}
#app-sidebar{inset:72px auto 0 0;width:230px;padding:18px 12px;background:#fff;border-right:1px solid #e0e3e8;overflow-y:auto}
.nx-rail{display:flex;flex-direction:column;gap:4px;background:transparent;box-shadow:none}
.nav-group-label{font-size:11px;letter-spacing:1.1px;text-transform:uppercase;color:#7b8492;font-weight:700;padding:20px 12px 7px}
.nav-group-label:first-child{padding-top:4px}
.nx-rail button{display:flex;width:100%;height:auto;min-height:43px;gap:11px;padding:10px 12px;border:0;border-radius:7px;justify-content:flex-start;color:#424e60;background:transparent;text-align:left}
.nx-rail button>span{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;font-size:13px;font-weight:500}
.nx-rail button .app-icon{width:19px;height:19px}
.nx-rail button:hover{background:#f2f3f6;color:#222}
.nx-rail button.active{background:#fcebed;color:#ad2033;box-shadow:inset 3px 0 #be2639}
.shell{margin:72px 0 0 230px}
main{max-width:1440px;padding:30px}
h1,.page-heading h1,.nx-page-title h1{font-size:25px;text-transform:none;color:#222b37;font-weight:700;letter-spacing:-.5px}
h2,.panel-head h2,.nx-home-side h2,.nx-home-chart h2{color:#354052;font-weight:600;font-size:17px}
.page-heading,.nx-page-title{border-bottom:1px solid #dce1e7;padding-bottom:18px}
.subtitle,.care-help,.nx-help,.order-form-help{color:#647184;font-size:13px;line-height:1.6}
.primary,.order-quick-dialog .primary,#order-save-vehicle{background:#be2639;border-color:#be2639;color:white;font-weight:600;border-radius:7px;font-size:13px}
.primary:hover{background:#a91d30}
.secondary,.row-action{border-radius:7px;font-size:13px;color:#445267;background:white;border-color:#d9dfe7}
.panel,.stat,.order-form-section{border-radius:10px;border:1px solid #dce1e7;background:white}
.panel{box-shadow:0 2px 5px #202a3804}
th{background:#f0f2f5;color:#536174;font-weight:600;font-size:11px;border-bottom:1px solid #dce1e7}
td,td strong{font-size:13px;color:#364152}td small{font-size:12px;color:#697587}
.badge{padding:4px 9px;border-radius:5px;font-size:12px}
.badge.orcamento,.badge.aguardando{background:#fff4d7;color:#846018}.badge.andamento{background:#eaf2fe;color:#305f9b}.badge.concluida{background:#e7f4eb;color:#2e7145}.badge.cancelada{background:#fbe8e9;color:#a12d3b}
.nx-home-grid{gap:24px}.nx-home-kpis{gap:16px;margin-bottom:26px}
.nx-home-card{background:white;border:1px solid #dce1e7;border-radius:10px;padding:18px}
.nx-home-card>span{font-size:13px;margin-bottom:10px;color:#5d6878}
.nx-home-card>div{border:0;min-height:48px}.nx-home-card i{display:none}.nx-home-card strong{margin:0;padding:0;font-size:27px;font-weight:700}
.nx-quick-links>button{font-size:14px;padding:15px 18px;color:#384859}
.nx-grid-toolbar{gap:8px;flex-wrap:wrap;padding:16px}
.nx-grid-toolbar input{flex:1;min-width:210px}
.order-editor .modal-head{display:none}
.order-form-actions{border-color:#dce1e7;padding-bottom:18px}
.order-form-actions>span{color:#232d3a!important;font-size:21px;font-weight:700}
.order-form-actions small{color:#6e7887!important}
.order-form-section>summary{background:#f4f5f8!important;color:#344052!important;padding:15px 18px;font-size:14px;font-style:normal!important;font-weight:600}
.order-section-body{padding:18px;gap:18px}
.order-form-section .order-form-section>summary{background:#fafbfc!important;font-size:13px}
#fields label,.order-customer-field>span{color:#526071;font-size:13px}
#fields input,#fields select,#fields textarea,#order-customer-open{border-radius:6px;border-color:#cfd6e0;box-shadow:none;color:#293646;font-size:14px}
#fields input:focus,#fields select:focus,#fields textarea:focus{outline:2px solid #be263933;border-color:#be2639;box-shadow:none}
.order-editor .modal-actions{display:none}
.order-total{border-radius:8px;background:#f5f6f8;color:#273140}
.order-inline-tools{border:0;padding:4px 0}
#nx-module-menu{left:240px;top:85px;width:min(850px,calc(100vw - 265px))}
.module-columns{padding:24px;gap:24px}.module-link{font-size:14px}
footer{color:#778293;font-size:12px}
@media(max-width:900px){
.shell{margin-left:0}
header{padding:0 18px 0 230px}
#menu-toggle{display:block}
#app-sidebar{transform:translateX(-100%);transition:transform .18s;z-index:50}
body.nav-open #app-sidebar{transform:translateX(0)}
body.nav-open #nav-shade{display:block;position:fixed;inset:72px 0 0;background:#1118;z-index:49}
main{padding:22px 16px}
.nx-home-grid{grid-template-columns:1fr}
#nx-module-menu{left:16px;width:calc(100vw - 32px)}
}
@media(max-width:600px){
.brand{font-size:19px}.brand .logo{width:34px;height:34px;line-height:34px}
header{padding-left:200px}.nx-breadcrumb,.nx-company,.header-right .avatar{display:none}
.nx-home-kpis{grid-template-columns:1fr 1fr;gap:10px}.nx-home-card{padding:13px}.nx-home-card strong{font-size:21px}
.nx-page-title,.page-heading{align-items:flex-start;flex-wrap:wrap}
.order-form-actions>div{justify-content:flex-start}.order-form-actions{gap:12px}
}
}

@media screen and (min-width:901px){dialog.order-editor{left:230px!important;right:0!important;top:72px!important;width:calc(100% - 230px)!important;max-width:none!important;margin:0!important;height:calc(100dvh - 72px)!important;max-height:calc(100dvh - 72px)!important}}
@media screen{.order-editor #order-back-top,.order-editor #order-new-top{background:white;color:#445267;border:1px solid #cfd6e0}.order-main-grid{grid-template-columns:1fr 1.6fr 1.3fr 1fr 1.3fr}.order-form-actions{position:sticky;top:0;background:#fff;z-index:3;padding-top:12px}.order-editor .order-section-body{background:white}.order-editor label[hidden]{display:none!important}}
@media screen and (max-width:760px){.order-main-grid{grid-template-columns:1fr 1fr}dialog.order-editor{left:0!important;right:0!important;width:100%!important;margin:0!important}}
