
/* =========================================================
   MeR Seminovos V12 — interface compacta e objetiva
   ========================================================= */
:root{
  --v12-yellow:#ffd400;
  --v12-yellow-soft:rgba(255,212,0,.08);
  --v12-bg:#070707;
  --v12-panel:#101010;
  --v12-panel-2:#151515;
  --v12-line:rgba(255,255,255,.07);
  --v12-muted:#909090;
  --v12-text:#f4f4f4;
  --v12-danger:#ff6262;
  --v12-warning:#ffae32;
  --v12-success:#4ed68a;
}
body{overflow-x:hidden!important}
.sidebar{
  width:78px!important;
  min-width:78px!important;
  padding:14px 10px!important;
}
.sidebar .brand-copy,
.sidebar .nav-label,
.sidebar .user-copy,
.sidebar .version-copy{
  display:none!important;
}
.sidebar .brand,
.sidebar .sidebar-user{
  justify-content:center!important;
}
.main-nav button,
.main-nav a{
  min-height:44px!important;
  width:48px!important;
  margin:0 auto!important;
  padding:0!important;
  justify-content:center!important;
  border-radius:13px!important;
}
.main-nav svg{margin:0!important}
.workspace{
  margin-left:0!important;
  max-width:none!important;
}
.page-content{
  padding:18px 22px 28px!important;
}
.topbar{
  min-height:64px!important;
  padding:11px 20px!important;
}
.topbar h2{font-size:1rem!important}
.topbar .subtitle{display:none!important}
.card{border-radius:15px!important}
.v12-sales{
  display:grid;
  gap:10px;
}
.v12-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}
.v12-head h1{
  margin:0;
  font-size:1rem;
  letter-spacing:-.02em;
}
.v12-head p{
  margin:3px 0 0;
  color:var(--v12-muted);
  font-size:.64rem;
}
.v12-month{
  display:flex;
  align-items:center;
  gap:7px;
}
.v12-month input{
  width:138px;
  height:36px;
  border-radius:10px!important;
  font-size:.68rem!important;
}
.v12-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
.v12-summary-card{
  min-height:54px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--v12-line);
  background:linear-gradient(145deg,#141414,#0c0c0c);
}
.v12-summary-card span{
  display:block;
  color:var(--v12-muted);
  font-size:.53rem;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.v12-summary-card strong{
  display:block;
  margin-top:5px;
  font-size:.82rem;
}
.v12-summary-card.attention{
  border-color:rgba(255,174,50,.22);
}
.v12-toolbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  gap:8px;
  align-items:center;
}
.v12-search{
  position:relative;
}
.v12-search input{
  width:100%;
  height:38px;
  padding-left:36px!important;
  border-radius:10px!important;
  font-size:.67rem!important;
}
.v12-search svg{
  position:absolute;
  left:12px;
  top:50%;
  width:15px;
  transform:translateY(-50%);
  opacity:.5;
}
.v12-filters{
  display:flex;
  gap:5px;
}
.v12-filter{
  height:34px;
  padding:0 11px;
  border-radius:9px;
  border:1px solid var(--v12-line);
  color:#aaa;
  background:#151515;
  font-size:.59rem;
  cursor:pointer;
}
.v12-filter.active{
  color:#090909;
  border-color:var(--v12-yellow);
  background:var(--v12-yellow);
  font-weight:850;
}
.v12-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  color:var(--v12-muted);
  font-size:.56rem;
}
.v12-meta-actions{
  display:flex;
  gap:5px;
}
.v12-list{
  display:grid;
  gap:6px;
}
.v12-row{
  display:grid;
  grid-template-columns:minmax(215px,1.3fr) minmax(130px,.75fr) minmax(150px,.8fr) 125px 92px;
  align-items:center;
  gap:10px;
  min-height:61px;
  padding:9px 11px;
  border-radius:13px;
  border:1px solid var(--v12-line);
  background:linear-gradient(110deg,#151515,#0d0d0d);
}
.v12-row:hover{
  border-color:rgba(255,212,0,.18);
}
.v12-row.late{border-left:3px solid var(--v12-danger)}
.v12-row.warn{border-left:3px solid var(--v12-warning)}
.v12-row.done{border-left:3px solid var(--v12-success);opacity:.78}
.v12-vehicle{
  min-width:0;
}
.v12-title{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.v12-title h3{
  margin:0!important;
  font-size:.72rem!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v12-plate{
  flex:0 0 auto;
  padding:4px 6px;
  border-radius:6px;
  background:#222;
  border:1px solid rgba(255,255,255,.07);
  font:700 .51rem "JetBrains Mono",monospace;
}
.v12-sub{
  margin:4px 0 0;
  color:var(--v12-muted);
  font-size:.54rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v12-stage span,
.v12-next span,
.v12-progress span{
  display:block;
  color:var(--v12-muted);
  font-size:.48rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.v12-stage strong,
.v12-next strong{
  display:block;
  margin-top:3px;
  font-size:.59rem;
  line-height:1.25;
}
.v12-statusline{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:4px;
  color:#929292;
  font-size:.51rem;
}
.v12-statusline i{
  width:5px;height:5px;border-radius:50%;
  background:var(--v12-success);
}
.v12-statusline.warn i{background:var(--v12-warning)}
.v12-statusline.late i{background:var(--v12-danger)}
.v12-progressbar{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:4px;
}
.v12-progressbar div{
  flex:1;
  height:5px;
  border-radius:10px;
  overflow:hidden;
  background:#242424;
}
.v12-progressbar i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#b79600,var(--v12-yellow));
}
.v12-progressbar b{
  color:var(--v12-yellow);
  font:800 .55rem "JetBrains Mono",monospace;
}
.v12-actions{
  display:flex;
  justify-content:flex-end;
  gap:5px;
}
.v12-open{
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:9px;
  border:1px solid var(--v12-line);
  color:#ddd;
  background:#181818;
  cursor:pointer;
}
.v12-open svg{width:14px}
.v12-advance{
  height:32px;
  padding:0 10px;
  border:0;
  border-radius:9px;
  color:#090909;
  background:var(--v12-yellow);
  font-size:.55rem;
  font-weight:850;
  cursor:pointer;
}
.v12-advance:disabled{
  color:#666;
  background:#242424;
  cursor:default;
}
.v12-empty{
  padding:36px 20px;
  text-align:center;
  border-radius:14px;
  border:1px dashed rgba(255,212,0,.16);
  color:var(--v12-muted);
  font-size:.67rem;
}

/* Documentação em fluxo linear */
.v12-docs{
  display:grid;
  gap:12px;
}
.v12-doc-head h1{
  margin:0;
  font-size:1rem;
}
.v12-doc-head p{
  margin:4px 0 0;
  font-size:.62rem;
  color:var(--v12-muted);
}
.v12-doc-flow{
  display:grid;
  grid-template-columns:1fr 28px 1fr 28px 1fr;
  align-items:start;
  gap:10px;
}
.v12-doc-step{
  min-height:205px;
  padding:14px;
  border-radius:14px;
  border:1px solid var(--v12-line);
  background:linear-gradient(145deg,#151515,#0c0c0c);
}
.v12-doc-step header{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.v12-step-index{
  width:24px;height:24px;
  display:grid;place-items:center;
  border-radius:8px;
  color:#090909;
  background:var(--v12-yellow);
  font-weight:900;
  font-size:.62rem;
}
.v12-doc-step h3{
  margin:0!important;
  font-size:.72rem!important;
}
.v12-arrow{
  display:grid;
  place-items:center;
  min-height:205px;
  color:rgba(255,212,0,.6);
  font-size:1.2rem;
}
.v12-upload-box{
  min-height:145px;
  display:grid;
  place-items:center;
  text-align:center;
  padding:14px;
  border:1px dashed rgba(255,212,0,.24);
  border-radius:12px;
  background:#090909;
  cursor:pointer;
}
.v12-upload-box strong{
  display:block;
  font-size:.7rem;
}
.v12-upload-box span{
  display:block;
  margin-top:5px;
  color:var(--v12-muted);
  font-size:.56rem;
}
.v12-result-box,
.v12-register-box{
  min-height:145px;
  display:grid;
  align-content:center;
  gap:8px;
}
.v12-result-box .muted,
.v12-register-box .muted{
  font-size:.6rem!important;
}
.v12-doc-history{
  padding:12px 14px;
  border-radius:13px;
  border:1px solid var(--v12-line);
  background:#0f0f0f;
}
.v12-doc-history h3{
  margin:0 0 7px!important;
  font-size:.7rem!important;
}
@media(max-width:1150px){
  .v12-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v12-row{grid-template-columns:1.2fr .8fr 120px 90px}
  .v12-next{display:none}
}
