/* Owner workspace: original brand lockup, one navigation, actionable summaries. */
:root {
  --sidebar: 232px;
  --navy: #18354b;
  --ink: #193345;
  --muted: #526474;
  --bg: #f4f6f8;
  --line: #d8e1e8;
}
.sidebar {
  background: #fff;
  color: #3d5265;
  padding: 0 14px 18px;
  border-right: 1px solid #dfe5eb;
}
.sidebar-brand {
  height: 81px;
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.brand.brand-lockup {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.brand-emblem {
  position: relative;
  display: block;
  overflow: hidden;
  width: 38px;
  height: 28px;
  flex-shrink: 0;
  background: #fff;
}
.brand-emblem img {
  position: absolute !important;
  max-width: none !important;
  width: 52px !important;
  height: 52px !important;
  left: -6px;
  top: -8px;
  object-fit: fill !important;
}
.brand-word {
  position: relative;
  display: block;
  overflow: hidden;
  width: 150px;
  height: 29px;
  background: #fff;
  flex-shrink: 0;
}
.brand-word img {
  position: absolute !important;
  max-width: none !important;
  width: 195px !important;
  height: 195px !important;
  left: -22px;
  top: -137px;
  object-fit: fill !important;
}
.sidebar .brand.brand-lockup {
  background: transparent;
  padding: 0;
  gap: 5px;
}
.nav-caption {
  color: var(--muted);
  padding: 16px 13px 8px;
  font-size: 13px;
  font-weight: 500;
}
.nav button {
  font-size: 13px;
  color: #536879;
  min-height: 43px;
  border-radius: 5px;
  padding: 11px 13px;
  gap: 12px;
}
.nav button svg {
  color: #7a91a4;
  width: 18px;
  height: 18px;
}
.nav button:hover {
  background: #f2f6f9;
  color: #1f5d85;
}
.nav button.active {
  background: #eaf3fa;
  color: #0768aa;
  box-shadow: none;
  font-weight: 600;
}
.nav button.active svg {
  color: #0768aa;
}
.nav .count {
  background: #d9eaf7;
  color: #2c6992;
  border-radius: 4px;
}
.side-bottom {
  padding-top: 22px;
}
.workshop-identity {
  border-color: var(--line);
  margin-top: 14px;
  padding: 17px 9px 0;
}
.workshop-mark {
  background: #f1f6fa;
  border-color: #e0e9f1;
  color: #6d8ba5;
}
.workshop-identity b {
  color: #40586e;
}
.workshop-identity small {
  color: var(--muted);
}
.topbar {
  height: 81px;
}
.content {
  padding-top: 31px;
  max-width: 1640px;
}
.page-heading {
  margin-bottom: 23px;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
}
.subtitle {
  color: #6b7f91;
  font-size: 13px;
}
.owner-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe6ed;
  margin-bottom: 24px;
  gap: 20px;
}
.owner-tabs > div {
  display: flex;
  gap: 27px;
}
.owner-tabs > div > button {
  padding: 14px 1px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  min-height: 47px;
}
.owner-tabs > div > button.selected {
  color: #0768aa;
  border-color: #0768aa;
  font-weight: 600;
}
.owner-tabs > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.owner-tabs > span svg {
  width: 12px;
  height: 12px;
}
.owner-tabs > span button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e0e8ef;
  border-radius: 5px;
  color: #7191ab;
  background: white;
}
.owner-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #dfe6ed;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
.owner-metrics > button,
.owner-metrics > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 9px;
  min-height: 133px;
  padding: 22px 24px;
}
.owner-metrics > button + button:before,
.owner-metrics > div + div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  bottom: 23px;
  border-left: 1px solid var(--line);
}
.owner-metrics > button:hover {
  background: #f8fbfe;
}
.owner-metrics span {
  font-size: 13px;
  color: #6e8396;
}
.owner-metrics strong {
  font-size: 30px;
  letter-spacing: -0.9px;
  font-weight: 600;
  color: #223f57;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.owner-metrics small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.owner-metrics > button:last-child strong {
  color: #0768aa;
  font-size: 27px;
}
.attention-panel {
  margin-bottom: 23px;
}
.attention-panel > .panel-head {
  padding: 18px 21px 14px;
}
.attention-panel h2 {
  font-size: 14px;
}
.attention-list {
  padding: 0 21px 6px;
}
.attention-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border-top: 1px solid #eef1f4;
  min-height: 67px;
  padding: 12px 0;
  text-align: left;
}
.attention-item:hover {
  background: #fcfdfe;
}
.attention-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #fff6e6;
  color: #b68938;
  flex-shrink: 0;
}
.attention-flag svg {
  width: 15px;
  height: 15px;
}
.attention-item > span:nth-child(2) {
  flex: 1;
}
.attention-item b {
  display: block;
  font-size: 13px;
  color: #465f74;
  font-weight: 500;
}
.attention-item small {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.attention-item .small-plate {
  font-size: 12px;
  margin: 0;
}
.attention-item > svg {
  width: 14px;
  height: 14px;
  color: #9bafbf;
}
.attention-owner {
  font-size: 12px;
  color: var(--muted);
}
.calm-state {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 21px 23px;
  font-size: 13px;
  color: #6e8997;
}
.calm-state svg {
  width: 16px;
  height: 16px;
  color: #499578;
}
.flow-panel {
  border-radius: 8px;
  padding: 12px 15px;
}
.flow-caption {
  margin-bottom: 9px;
}
.flow-caption > b {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.flow-step {
  background: #f8fafc;
  border-color: #e6edf3;
  color: #647e92;
  min-height: 40px;
  font-size: 13px;
}
.flow-index {
  width: 19px;
  height: 19px;
  font-size: 12px;
}
.flow-step b {
  font-size: 13px;
}
.flow-reset {
  font-size: 12px;
}
.panel {
  border-radius: 8px;
  border-color: #dfe6ed;
  box-shadow: none;
}
.panel-head h2 {
  font-size: 16px;
}
.workbench {
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 22px;
}
.list-toolbar {
  padding: 13px 20px;
}
.service-table td {
  padding: 20px 16px;
}
.service-table .vehicle-cell b {
  font-size: 13px;
}
.service-table .vehicle-cell small {
  font-size: 13px;
}
.service-number {
  font-size: 12px;
}
.service-table .vehicle-icon {
  width: 33px;
  height: 33px;
  border-radius: 6px;
}
.service-table th {
  font-size: 12px;
  background: #f8fafb;
  color: var(--muted);
}
.plate {
  box-shadow: none;
  border-radius: 2px;
}
.connection-note {
  background: #f6f8fa;
  border: 1px solid #e2e9ef;
  border-radius: 7px;
  padding: 15px;
}
.connection-note b {
  font-size: 13px;
}
.connection-note p {
  font-size: 12px;
  color: var(--muted);
}
.demo-label {
  color: var(--muted);
  font-size: 12px;
}
.owner-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.owner-intro h2 {
  font-size: 19px;
  font-weight: 600;
}
.owner-intro p {
  font-size: 13px;
  color: #7d90a2;
  margin-top: 7px;
}
.renewal-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 21px;
  border-bottom: 1px solid #e6edf3;
}
.renewal-toolbar button {
  font-size: 13px;
  color: #8195a7;
  min-height: 37px;
  border-bottom: 2px solid transparent;
}
.renewal-toolbar button.selected {
  color: #0768aa;
  font-weight: 600;
  border-color: #0768aa;
}
.renewal-toolbar select {
  width: 117px;
  min-height: 36px;
  font-size: 13px;
  margin-left: auto;
  padding: 7px 10px;
}
.overdue-label {
  color: #a66e30;
}
.status-label {
  font-size: 13px;
  padding: 3px 7px;
  background: #f0f5f8;
  color: #6f8497;
  border-radius: 4px;
  display: inline-block;
}
.status-label.amber {
  color: #986f2c;
  background: #fff7e8;
}
.status-label.green {
  color: #37856b;
  background: #edf8f3;
}
.status-label.muted {
  color: #8999a7;
  background: #f3f5f7;
}
.period-picker {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.period-picker label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #7d90a2;
  margin: 0;
}
.period-picker input {
  width: 168px;
  min-height: 40px;
  font-size: 13px;
  padding: 8px 11px;
  background: #fff;
}
.period-picker > .btn {
  min-height: 40px;
}
.period-picker > span {
  align-self: center;
  font-size: 12px;
  color: #8d9caa;
  margin-top: 19px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.result-grid article {
  padding: 20px 21px;
  border: 1px solid #dfe6ed;
  border-radius: 8px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 143px;
}
.result-grid span {
  font-size: 13px;
  color: #7d90a1;
}
.result-grid strong {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.7px;
  color: #2b4962;
  white-space: nowrap;
}
.result-grid small {
  font-size: 12px;
  color: #92a0ad;
  line-height: 1.7;
}
.results-detail,
.finance-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.pad {
  padding: 0 22px 22px;
}
.quiet-empty.pad {
  padding-top: 5px;
}
.spaced {
  margin-top: 23px;
}
.money-value {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #3c5870;
}
.daily-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 22px 22px;
  gap: 10px;
}
.daily-bars > div {
  padding: 12px;
  border: 1px solid #e9eef4;
  border-radius: 5px;
  background: #fafcfe;
}
.daily-bars span {
  display: block;
  font-size: 12px;
  color: #8b9dac;
}
.daily-bars b {
  display: block;
  font-size: 13px;
  color: #5d7990;
  font-weight: 500;
  margin-top: 5px;
}
.customer-hero {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.customer-hero .avatar {
  width: 48px;
  height: 48px;
  font-size: 14px;
}
.customer-hero h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.customer-hero p {
  font-size: 13px;
  color: #8396a8;
  margin-top: 5px;
}
.customer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #f7fafd;
  border: 1px solid #e1eaf3;
  border-radius: 7px;
  padding: 17px;
  margin-bottom: 22px;
  gap: 15px;
}
.customer-stats b {
  font-size: 22px;
  display: block;
  color: #426781;
  font-weight: 600;
}
.customer-stats span {
  display: block;
  font-size: 12px;
  color: #8b9dad;
  margin-top: 4px;
  line-height: 1.6;
}
.customer-history {
  margin-bottom: 23px;
  border-top: 1px solid #e8eef4;
}
.customer-history > button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #e8eef4;
  text-align: left;
}
.customer-history > button > span:first-child {
  flex: 1;
}
.customer-history b {
  font-size: 13px;
  font-weight: 500;
  color: #4d6a81;
  display: block;
}
.customer-history small {
  display: block;
  font-size: 12px;
  color: #92a2b1;
  margin-top: 4px;
}
.customer-history > button > span:nth-child(2) {
  font-size: 13px;
  color: #8297aa;
  text-align: right;
}
.customer-history svg {
  width: 15px;
  color: #93adbf;
}
.role-guide {
  padding: 19px 4px;
  color: #8496a7;
  font-size: 13px;
}
.role-guide p {
  margin-bottom: 8px;
}
.role-guide b {
  font-weight: 500;
  color: #627f95;
}
.public-approval {
  padding-top: 23px;
  margin-top: 20px;
  border-top: 1px solid #e2eaf2;
}
.public-approval .field {
  margin-top: 15px;
}
.auth-art {
  background: #f3f7fa;
  border-right: 1px solid #e1e9f0;
}
.auth-art .brand.brand-lockup {
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 35px;
  border: 1px solid #e0eaf2;
  border-radius: 7px;
}
.auth-art .auth-product-title {
  color: #294b66;
}
.auth-art > p:last-child {
  color: var(--muted);
}
.report-brand .brand {
  transform-origin: left center;
  transform: scale(0.9);
}
/* Mobile remains a working list, with controls large enough for the workshop. */
@media (max-width: 1250px) {
  .workbench {
    grid-template-columns: 1fr;
  }
  .workbench-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
  .owner-metrics > button,
  .owner-metrics > div {
    padding: 20px;
  }
  .finance-panels {
    grid-template-columns: 1fr;
  }
  .results-detail {
    grid-template-columns: 1fr 1fr;
  }
  .daily-bars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar: 204px;
  }
  .brand.brand-lockup {
    gap: 4px;
  }
  .sidebar .brand-word {
    width: 127px;
    height: 25px;
  }
  .sidebar .brand-word img {
    width: 165px !important;
    height: 165px !important;
    left: -18px;
    top: -116px;
  }
  .sidebar .brand-emblem {
    width: 31px;
    height: 31px;
  }
  .sidebar .brand-emblem img {
    width: 46px !important;
    height: 46px !important;
    left: -5px;
    top: -5px;
  }
  .nav button {
    font-size: 13px;
    gap: 9px;
  }
  .owner-tabs {
    gap: 13px;
  }
  .owner-tabs > div {
    gap: 20px;
  }
  .owner-tabs > span {
    font-size: 12px;
  }
  .owner-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .owner-metrics > button:nth-child(3):before,
  .owner-metrics > div:nth-child(3):before {
    display: none;
  }
  .owner-metrics > button:nth-child(n + 3),
  .owner-metrics > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .results-detail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .sidebar {
    width: calc(100vw - 35px);
    max-width: 340px;
    padding: 0 17px 20px;
  }
  .sidebar-brand {
    height: 81px;
    min-height: 81px;
    justify-content: flex-start;
    padding-left: 8px;
    margin-bottom: 7px;
  }
  .sidebar .brand-word {
    width: 150px;
    height: 29px;
  }
  .sidebar .brand-word img {
    width: 195px !important;
    height: 195px !important;
    left: -22px;
    top: -137px;
  }
  .sidebar .brand-emblem {
    width: 38px;
    height: 34px;
  }
  .sidebar .brand-emblem img {
    width: 52px !important;
    height: 52px !important;
    left: -6px;
    top: -6px;
  }
  .sidebar .sidebar-close {
    top: 18px;
    right: 9px;
    background: #f3f7fa;
    color: #6b8aa2;
  }
  .nav button {
    font-size: 13px;
    min-height: 45px;
  }
  .nav-caption {
    font-size: 13px;
    padding-top: 16px;
  }
  .topbar {
    height: 66px;
    padding: 0 14px;
    gap: 8px;
  }
  .topbar .mobile-toggle {
    width: 36px;
    height: 44px;
  }
  .mobile-brand .brand-emblem {
    width: 29px;
    height: 28px;
  }
  .mobile-brand .brand-emblem img {
    width: 42px !important;
    height: 42px !important;
    left: -5px;
    top: -5px;
  }
  .mobile-brand .brand-word {
    width: 114px;
    height: 24px;
  }
  .mobile-brand .brand-word img {
    width: 150px !important;
    height: 150px !important;
    left: -17px;
    top: -105px;
  }
  .mobile-brand {
    margin-right: auto;
  }
  .mobile-brand .brand.brand-lockup {
    gap: 4px;
  }
  .content {
    padding: 23px 16px 32px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading .heading-actions {
    margin-top: 16px;
  }
  .heading-actions .btn.primary {
    flex: 0;
    min-width: 170px;
  }
  .owner-tabs {
    display: block;
    margin-bottom: 19px;
  }
  .owner-tabs > div {
    gap: 22px;
    overflow: auto;
  }
  .owner-tabs > div > button {
    font-size: 13px;
    min-height: 46px;
    padding: 12px 0;
  }
  .owner-tabs > span {
    justify-content: flex-end;
    font-size: 12px;
    margin: 7px 0 11px;
    gap: 6px;
  }
  .owner-tabs > span button {
    width: 34px;
    height: 32px;
  }
  .owner-metrics {
    margin-bottom: 20px;
    border-radius: 7px;
  }
  .owner-metrics > button,
  .owner-metrics > div {
    padding: 16px 15px;
    gap: 8px;
    min-height: 111px;
  }
  .owner-metrics span {
    font-size: 13px;
    line-height: 1.5;
  }
  .owner-metrics strong {
    font-size: 29px;
  }
  .owner-metrics > button:last-child strong {
    font-size: 24px;
  }
  .owner-metrics small {
    font-size: 12px;
    line-height: 1.6;
  }
  .owner-metrics > button + button:before,
  .owner-metrics > div + div:before {
    top: 18px;
    bottom: 18px;
  }
  .attention-panel {
    margin-bottom: 20px;
  }
  .attention-panel > .panel-head {
    padding: 17px 17px 11px;
  }
  .attention-panel h2 {
    font-size: 14px;
  }
  .attention-list {
    padding: 0 17px 3px;
  }
  .attention-item {
    min-height: 75px;
    padding: 13px 0;
    gap: 9px;
  }
  .attention-item b {
    font-size: 13px;
    line-height: 1.6;
  }
  .attention-item small {
    font-size: 12px;
    line-height: 1.6;
    flex-wrap: wrap;
    gap: 3px 9px;
  }
  .attention-owner {
    display: none;
  }
  .attention-flag {
    width: 27px;
    height: 27px;
  }
  .attention-item > svg {
    width: 13px;
    height: 13px;
  }
  .calm-state {
    font-size: 13px;
    line-height: 1.9;
    padding: 4px 17px 18px;
  }
  .workbench-aside {
    display: flex;
  }
  .flow-panel {
    display: none;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .list-toolbar {
    padding: 13px 17px;
  }
  .owner-intro h2 {
    font-size: 19px;
    line-height: 1.5;
  }
  .owner-intro p {
    font-size: 13px;
    line-height: 1.8;
  }
  .renewal-toolbar {
    gap: 16px;
    padding: 12px 17px;
    flex-wrap: wrap;
  }
  .renewal-toolbar button {
    font-size: 13px;
    min-height: 43px;
  }
  .renewal-toolbar select {
    width: 100%;
    min-height: 43px;
    font-size: 14px;
    margin: 0;
  }
  .period-picker {
    gap: 10px;
  }
  .period-picker label {
    flex: 1;
    font-size: 13px;
    min-width: 110px;
  }
  .period-picker input {
    width: 100%;
    font-size: 14px;
    min-height: 43px;
  }
  .period-picker > .btn {
    min-height: 43px;
  }
  .period-picker > span {
    width: 100%;
    font-size: 12px;
    margin-top: 0;
    line-height: 1.7;
  }
  .result-grid {
    gap: 11px;
    margin-bottom: 20px;
  }
  .result-grid article {
    padding: 16px 14px;
    min-height: 140px;
    gap: 10px;
    border-radius: 7px;
  }
  .result-grid span {
    font-size: 13px;
    line-height: 1.6;
  }
  .result-grid strong {
    font-size: 22px;
    letter-spacing: -0.7px;
  }
  .result-grid small {
    font-size: 12px;
    line-height: 1.6;
  }
  .results-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .results-detail > .panel {
    width: 100%;
  }
  .pad {
    padding: 0 17px 20px;
  }
  .daily-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 17px 18px;
  }
  .daily-bars > div {
    padding: 12px;
  }
  .daily-bars span {
    font-size: 12px;
  }
  .daily-bars b {
    font-size: 13px;
  }
  .customer-hero h3 {
    font-size: 18px;
  }
  .customer-hero p {
    font-size: 13px;
  }
  .customer-hero .avatar {
    width: 43px;
    height: 43px;
    font-size: 13px;
  }
  .customer-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
  }
  .customer-stats > div:last-child {
    grid-column: 1/-1;
  }
  .customer-stats b {
    font-size: 24px;
  }
  .customer-stats span {
    font-size: 13px;
  }
  .customer-history > button {
    gap: 9px;
  }
  .customer-history b {
    font-size: 13px;
    line-height: 1.7;
  }
  .customer-history small {
    font-size: 12px;
    line-height: 1.7;
  }
  .role-guide {
    font-size: 13px;
    line-height: 1.8;
  }
  .auth-art {
    background: #fff;
    border-right: 0;
  }
  .auth-art .brand.brand-lockup {
    margin-bottom: 0;
    border: 0;
    padding: 7px;
    background: #fff;
  }
  .auth-art .brand-word {
    width: 150px;
    height: 29px;
  }
  .auth-art .brand-emblem {
    width: 38px;
    height: 34px;
  }
  .auth-form {
    padding-top: 30px;
  }
  .report-brand .brand {
    transform: scale(0.8);
    width: 160px;
    justify-content: flex-start;
  }
  .report-brand > small {
    font-size: 12px;
  }
  .report-brand {
    gap: 0;
  }
  .demo-label {
    font-size: 12px;
  }
  .status-label {
    font-size: 13px;
  }
  .connection-note {
    padding: 14px;
  }
  .connection-note p {
    font-size: 13px;
  }
  .connection-note b {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .content {
    padding-left: 14px;
    padding-right: 14px;
  }
  .owner-tabs > div {
    gap: 17px;
  }
  .owner-tabs > div > button {
    font-size: 12px;
  }
  .owner-metrics > button,
  .owner-metrics > div {
    padding: 14px 12px;
  }
  .owner-metrics span {
    font-size: 12px;
  }
  .owner-metrics > button:last-child strong {
    font-size: 21px;
  }
  .owner-metrics small {
    font-size: 12px;
  }
  .result-grid strong {
    font-size: 20px;
  }
  .result-grid article {
    padding: 14px 12px;
  }
  .mobile-brand .brand-word {
    width: 100px;
  }
  .mobile-brand .brand-word img {
    width: 132px !important;
    height: 132px !important;
    left: -15px;
    top: -92px;
  }
  .mobile-brand .brand-emblem {
    display: none;
  }
}

.service-timeline > div {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f6;
}
.service-timeline > div > span {
  width: 7px;
  height: 7px;
  background: #7eaac7;
  border-radius: 50%;
  margin-top: 7px;
}
.service-timeline b {
  font-size: 13px;
  font-weight: 500;
  color: #5c7a90;
}
.service-timeline small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.7;
}
/* Keep the vehicle list in view and contain wide workshop tables on tablets. */
.workshop-list,
.workbench-aside,
.list-panel,
.panel,
.table-wrap {
  min-width: 0;
}
.attention-more {
  padding: 0 20px 14px;
}
.workbench-aside .attention-panel {
  margin: 0;
}
.workbench-aside .attention-list {
  padding: 0 20px;
}
.workbench-aside .attention-item {
  min-height: 66px;
}
.workbench-aside .attention-owner {
  display: none;
}
.workbench-aside .attention-item b {
  line-height: 1.5;
  font-size: 13px;
}
.workbench-aside .attention-item small {
  flex-wrap: wrap;
  line-height: 1.5;
}
.workbench-aside .attention-panel h2 {
  font-size: 15px;
}
@media (min-width: 721px) and (max-width: 1000px) {
  .service-flow {
    gap: 5px;
  }
  .flow-step {
    min-width: 0;
    padding: 8px;
    gap: 6px;
  }
  .flow-step .flow-index,
  .flow-step > svg {
    display: none;
  }
  .table-desktop {
    max-width: 100%;
  }
}
/* Original symbol crop excludes the small wordmark printed under the A. */
@media (min-width: 721px) and (max-width: 1000px) {
  .sidebar .brand-emblem {
    height: 25px;
  }
  .sidebar .brand-emblem img {
    top: -7px;
  }
}
@media (max-width: 720px) {
  .sidebar .brand-emblem {
    height: 28px;
  }
  .sidebar .brand-emblem img {
    top: -8px;
  }
  .mobile-brand .brand-emblem {
    height: 23px;
  }
  .mobile-brand .brand-emblem img {
    top: -7px;
  }
  .auth-art .brand-emblem {
    height: 28px;
  }
  .workbench-aside .attention-panel {
    width: 100%;
  }
  .workbench-aside .attention-list {
    padding: 0 17px;
  }
}
.table-wrap {
  position: relative;
}
.engagement-note {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
  padding: 16px;
  background: #f5f8fb;
  border: 1px solid #dfe8ee;
  border-radius: 6px;
  font-size: 13px;
  color: #587083;
  line-height: 1.6;
}
.engagement-note b {
  color: #365268;
  font-weight: 600;
}
.service-finance-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .heading-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .heading-actions .btn,
  .heading-actions .btn.primary {
    flex: 1 1 150px;
    min-width: 0;
  }
  .heading-actions .btn.secondary {
    display: inline-flex;
    flex: 1 1 150px;
    min-width: 0;
  }
  .shell .content input,
  .shell .content select,
  .shell .content textarea,
  dialog input,
  dialog select,
  dialog textarea,
  .auth-form input {
    font-size: 16px;
  }
}
.consent-history {
  font-size: 13px;
  color: #536b80;
  margin-top: 20px;
}
.consent-history summary {
  cursor: pointer;
  padding: 12px 0;
}
.consent-history > div {
  border-top: 1px solid #e3ebf1;
  padding: 13px 0;
  line-height: 1.7;
}
.consent-history small {
  display: block;
  color: #718698;
}
.consent-history p {
  margin-top: 5px;
}

/* Frontend-design review: working surfaces, accessible metadata and consistent mobile widths. */
body {
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #687887;
}
.nav button {
  font-size: 13px;
  min-height: 44px;
}
.nav-caption {
  font-size: 12px;
  padding-top: 12px;
  color: var(--muted);
}
.sidebar-brand {
  margin-bottom: 8px;
}
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: #c6d4df transparent;
}
.sidebar .brand {
  flex-shrink: 0;
}
.side-bottom {
  padding-top: 12px;
}
.subtitle,
.panel-head p,
.read-only,
.field-hint,
.dialog-head p {
  color: var(--muted);
  font-size: 13px;
}
.btn {
  font-size: 13px;
  min-height: 42px;
}
.btn.primary {
  box-shadow: none;
}
.btn.text-button {
  min-height: 40px;
}
.icon-btn {
  min-width: 40px;
  min-height: 40px;
}
.pill,
.status-label {
  font-size: 12px;
  line-height: 1.45;
}
.pill.green,
.status-label.green {
  color: #166b4b;
  background: #eaf5ee;
}
.pill.orange,
.status-label.amber {
  color: #8a4b08;
  background: #fff4df;
}
.pill.red {
  color: #a42226;
  background: #fcecee;
}
.owner-metrics > button,
.owner-metrics > div {
  min-height: 117px;
  padding: 18px 22px;
  gap: 7px;
}
.owner-metrics span {
  color: var(--muted);
  font-size: 13px;
}
.owner-metrics small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.owner-tabs > div > button {
  font-size: 13px;
}
.owner-tabs > span {
  font-size: 12px;
}
.workbench {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}
.workbench-aside {
  align-items: stretch;
  gap: 16px;
}
.workbench-aside > * {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.attention-item small,
.attention-item .small-plate {
  font-size: 12px;
  color: var(--muted);
}
.attention-item b {
  font-size: 13px;
}
.service-table th {
  font-size: 12px;
  color: var(--muted);
}
.service-table td {
  padding: 17px 16px;
}
.service-table .vehicle-cell b {
  font-size: 14px;
}
.service-table .vehicle-cell small,
.service-number {
  font-size: 12px;
  color: var(--muted);
}
.service-number {
  line-height: 1.6;
}
.flow-caption > b {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.flow-step {
  font-size: 12px;
  min-height: 44px;
  color: var(--muted);
}
.flow-step.active {
  background: #eaf3fa;
  border-color: #94bad4;
  color: #07588d;
}
.flow-reset {
  font-size: 12px;
  min-height: 36px;
}
.agenda-empty {
  padding: 18px 12px;
}
.agenda-empty p {
  max-width: 240px;
  font-size: 13px;
}
.agenda-empty b {
  font-size: 14px;
}
.connection-note b,
.connection-note p {
  font-size: 12px;
  color: var(--muted);
}
.result-grid span,
.result-grid small,
.period-picker > span,
.quiet-empty,
.panel-footer {
  font-size: 12px;
  color: var(--muted);
}
.result-grid strong {
  font-variant-numeric: tabular-nums;
}
.panel-head {
  padding: 20px;
}
.panel-footer {
  padding: 14px 20px;
}
.detail-header {
  padding: 16px 18px;
  background: #f4f7fa;
}
.dialog-head {
  padding: 20px 24px;
}
.dialog-content {
  padding: 22px 24px;
}
.dialog-head h2 {
  font-size: 22px;
}
.detail-tabs {
  margin-bottom: 18px;
  gap: 24px;
}
.detail-tabs button {
  min-height: 46px;
}
.checklist-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.checklist-summary strong,
.checklist-summary span {
  display: block;
}
.checklist-summary strong {
  font-size: 14px;
  font-weight: 600;
}
.checklist-summary span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.checklist-summary progress {
  width: 110px;
  height: 7px;
  flex-shrink: 0;
  accent-color: var(--blue);
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}
.checklist-summary progress::-webkit-progress-bar {
  background: #e2eaf0;
}
.checklist-summary progress::-webkit-progress-value {
  background: var(--blue);
}
.check-row {
  padding: 14px 0;
  gap: 6px 18px;
}
.check-row select {
  min-height: 44px;
  background: #fff;
  font-size: 14px;
}
.check-row label {
  font-weight: 500;
  line-height: 1.5;
}
.check-note {
  grid-column: 1/-1;
  min-width: 0;
}
.check-note summary {
  font-size: 12px;
  color: #075c95;
  cursor: pointer;
  width: fit-content;
  padding: 6px 0;
  min-height: 30px;
}
.check-note input {
  min-height: 44px;
  font-size: 14px;
  margin: 4px 0 0;
  background: #fafcfd;
  border-color: var(--line);
}
.report-page {
  max-width: 880px;
}
.report-page .panel {
  border-top: 3px solid var(--blue);
}
.report-reference {
  color: var(--muted);
  font-size: 13px;
}
.report-check {
  gap: 16px;
}
.report-check p {
  font-size: 13px;
  color: var(--muted);
}
.report-note {
  font-size: 12px;
  color: var(--muted);
}
.auth {
  grid-template-columns: minmax(340px, 0.95fr) minmax(440px, 1.05fr);
  background: var(--bg);
  min-height: 100dvh;
}
.auth-art {
  background: #fff;
  border-right: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  padding: clamp(32px, 6vw, 84px);
}
.auth-art .brand.brand-lockup {
  border: 0;
  padding: 0;
  margin: 0 0 36px;
}
.auth-art .auth-product-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 14px;
}
.auth-art > p {
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
}
.auth-workflow {
  display: grid;
  gap: 22px;
  margin-top: 38px;
  max-width: 390px;
}
.auth-workflow > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.auth-workflow svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  margin-top: 2px;
}
.auth-workflow b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.auth-workflow small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 3px;
  color: var(--muted);
}
.auth-location {
  font-size: 12px;
  color: var(--muted);
  margin-top: 40px;
}
.auth-form {
  padding: 40px;
}
.auth-form form {
  max-width: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 32px;
}
.auth-form h1 {
  font-size: 26px;
  line-height: 1.25;
}
.auth-form p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.auth-form .field-hint {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.auth-form .footnote {
  font-size: 12px;
  margin: 24px 0 0;
}
.auth-form .btn {
  min-height: 46px;
  margin-top: 18px;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 80px;
}
.password-input button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  border-radius: 4px;
  padding: 0 12px;
  min-width: 68px;
  color: #075c95;
  font-size: 13px;
  font-weight: 600;
}
.password-input button:hover {
  background: #edf4f9;
}
.auth-workflow + .auth-location {
  display: block;
}
@media (min-width: 721px) and (max-width: 1100px) {
  .workbench {
    grid-template-columns: minmax(0, 1fr);
  }
  .workbench-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .workbench-aside .attention-panel {
    grid-column: 1/-1;
  }
  .flow-step .flow-index,
  .flow-step > svg {
    display: none;
  }
  .flow-step {
    padding: 8px;
    gap: 6px;
  }
  .auth-art {
    padding: 32px;
  }
  .auth-form {
    padding: 28px;
  }
}
@media (max-width: 720px) {
  .nav button {
    font-size: 14px;
    min-height: 46px;
  }
  .content {
    padding: 22px 16px 32px;
  }
  .page-heading {
    margin-bottom: 18px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .heading-actions .btn {
    min-height: 46px;
  }
  .owner-tabs > div {
    gap: 20px;
  }
  .owner-tabs > div > button {
    font-size: 13px;
  }
  .owner-tabs > span {
    font-size: 12px;
  }
  .owner-metrics > button,
  .owner-metrics > div {
    padding: 15px;
    min-height: 113px;
  }
  .owner-metrics strong {
    font-size: 27px;
  }
  .owner-metrics small {
    font-size: 12px;
  }
  .owner-metrics > button:last-child strong {
    font-size: 23px;
  }
  .workbench {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .workbench-aside {
    display: flex;
    align-items: stretch;
    gap: 18px;
  }
  .workbench-aside > * {
    width: 100%;
    align-self: stretch;
  }
  .attention-panel {
    margin-bottom: 0;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .service-card .mobile-vehicle b {
    font-size: 15px;
  }
  .service-card small,
  .card-bottom {
    font-size: 12px;
    color: var(--muted);
  }
  .service-card {
    padding: 17px 0;
  }
  .card-bottom .btn {
    min-height: 44px;
  }
  .dialog-head {
    padding: 16px;
    gap: 12px;
  }
  .dialog-head h2 {
    font-size: 20px;
  }
  .dialog-content {
    padding: 18px 16px;
  }
  .detail-header {
    padding: 14px;
  }
  .detail-tabs {
    gap: 20px;
  }
  .detail-tabs button {
    font-size: 14px;
  }
  .checklist-summary {
    gap: 12px;
  }
  .checklist-summary progress {
    width: 64px;
  }
  .check-row {
    grid-template-columns: minmax(0, 1fr) 148px;
    padding: 14px 0;
  }
  .check-row label {
    font-size: 14px;
  }
  .check-row select,
  .check-note input {
    font-size: 16px;
  }
  .check-note summary {
    min-height: 38px;
    padding: 9px 0;
    font-size: 13px;
  }
  .report-page {
    padding: 12px;
    margin: 10px auto;
  }
  .report-brand {
    gap: 16px;
    flex-wrap: wrap;
  }
  .report-check {
    font-size: 14px;
  }
  .auth {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .auth-art {
    display: flex;
    width: 100%;
    padding: 22px 24px;
    align-items: center;
    border-top: 4px solid var(--blue);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .auth-art .brand.brand-lockup {
    margin: 0;
  }
  .auth-art .auth-product-title,
  .auth-art > p,
  .auth-workflow,
  .auth-location,
  .auth-workflow + .auth-location {
    display: none;
  }
  .auth-form {
    padding: 24px 16px 32px;
    flex: 1;
    align-items: flex-start;
  }
  .auth-form form {
    max-width: 440px;
    padding: 24px 20px;
  }
  .auth-form h1 {
    font-size: 24px;
  }
  .auth-form input {
    font-size: 16px;
    min-height: 48px;
  }
  .password-input button {
    font-size: 13px;
  }
  .auth-form .field {
    margin: 20px 0;
  }
}
@media (max-width: 360px) {
  .check-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .check-row select {
    width: 100%;
  }
  .owner-tabs > div {
    gap: 14px;
  }
  .owner-tabs > div > button {
    font-size: 12px;
  }
  .owner-metrics > button,
  .owner-metrics > div {
    padding: 12px;
  }
  .auth-form form {
    padding: 22px 16px;
  }
}
/* Form fields remain identifiable in the bright light of the workshop. */
input,
select,
textarea {
  border-color: #7f909f;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}
.result-grid strong {
  font-size: clamp(22px, 2.4vw, 30px);
  overflow-wrap: anywhere;
}

/* Mobile audit: less dashboard chrome, clear urgent actions and a modal navigation drawer. */
.updated-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.refresh-time,
.mobile-attention {
  display: none;
}
.workshop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }
  .sidebar {
    overscroll-behavior-y: contain;
  }
  .topbar .mobile-toggle,
  .dialog-head .icon-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .owner-tabs {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 16px;
  }
  .owner-tabs > div {
    gap: 12px;
    flex: 1;
    min-width: 0;
  }
  .owner-tabs > div > button {
    padding: 10px 0;
    min-height: 48px;
  }
  .owner-tabs > .panel-updated {
    margin: 0;
    flex-shrink: 0;
  }
  .owner-tabs .updated-time {
    display: none;
  }
  .owner-tabs .panel-updated button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 54px;
    min-width: 54px;
    height: 48px;
    min-height: 48px;
    margin: 0;
  }
  .owner-tabs .panel-updated button > svg {
    width: 16px;
    height: 16px;
  }
  .owner-tabs .refresh-time {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: var(--muted);
  }
  .owner-metrics > button,
  .owner-metrics > div {
    padding: 12px;
    min-height: 96px;
    gap: 5px;
  }
  .owner-metrics strong {
    font-size: 26px;
    line-height: 1.15;
  }
  .owner-metrics small {
    line-height: 1.35;
  }
  .owner-metrics > button:last-child strong {
    font-size: 23px;
    line-height: 1.3;
  }
  .page-heading .heading-actions {
    margin-top: 12px;
  }
  .workshop-actions {
    flex-shrink: 0;
    gap: 0;
  }
  .workshop-actions.has-attention .workshop-all {
    display: none;
  }
  .mobile-attention {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #dcc08e;
    border-radius: 6px;
    background: #fff8ec;
    color: #80500c;
    font-size: 12px;
    white-space: nowrap;
  }
  .mobile-attention svg {
    width: 16px;
    height: 16px;
  }
  .renewal-toolbar button {
    min-height: 44px;
  }
  dialog {
    max-height: calc(
      100dvh - 16px - env(safe-area-inset-top, 0px) -
        env(safe-area-inset-bottom, 0px)
    );
  }
  .dialog-content {
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .dialog-content input,
  .dialog-content select,
  .dialog-content textarea {
    scroll-margin-top: 112px;
    scroll-margin-bottom: 80px;
  }
  .content {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 340px) {
  .owner-tabs > div {
    gap: 8px;
  }
  .owner-tabs > div > button {
    white-space: normal;
    max-width: 90px;
    font-size: 12px;
    line-height: 1.25;
  }
  .mobile-attention {
    padding: 8px;
    gap: 4px;
  }
}

/* Documentos de oficina: leitura contínua e agrupamento por inspeção. */
.dossier-section { border-bottom:1px solid var(--line,#d8e1e8); padding:22px 0; }
.dossier-section > h3 { margin:0 0 14px; font-size:18px; }
.dossier-field { display:flex; flex-direction:column; gap:7px; margin:14px 0; font-size:14px; }
.dossier-field input,.dossier-field select,.dossier-field textarea { width:100%; min-height:44px; }
.dossier-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.inspection-group { border:1px solid #d8e1e8; border-radius:6px; margin:12px 0; padding:14px; }
.inspection-group summary { cursor:pointer; min-height:44px; }
.inspection-group summary small { display:block; margin-top:7px; color:#526474; }
.inspection-item { padding:10px 0 18px; border-bottom:1px solid #d8e1e8; }
.inspection-done { color:#236348; }
.artifact-list article,.dossier-messages article { padding:12px 0; border-bottom:1px solid #d8e1e8; }
.artifact-list small,.dossier-messages small { display:block; margin:6px 0; }
.artifact-list audio,.artifact-list video { width:100%; max-height:260px; }
.document-hash { overflow-wrap:anywhere; }
.dossier-section pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; max-height:280px; overflow:auto; }
.dossier-status { position:sticky; bottom:0; background:white; padding:10px; }
@media(max-width:480px){.dossier-grid{grid-template-columns:1fr}.dossier-section>h3{font-size:17px}}
@media print { body:has(.print-dossier) .shell,body:has(.print-dossier) .menu-backdrop {display:none!important} body:has(.print-dossier) dialog {position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0;box-shadow:none} .print-dossier button,.print-dossier form,.print-dossier audio,.print-dossier video,.print-dossier .dossier-status {display:none!important} .print-dossier details::details-content {content-visibility:visible} .print-dossier pre{max-height:none;overflow:visible} }
.signature-canvas{display:block;width:100%;height:160px;border:1px solid #526474;background:#fff;touch-action:none;margin:12px 0}
.guided-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}
.guided-photo{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:105px;border:1px solid #d8e1e8;background:white;border-radius:6px;padding:12px 5px;color:#193345}
.guided-photo svg{width:30px;height:30px;color:#0768aa}.guided-photo small{font-size:11px;color:#526474}
@media(max-width:380px){.guided-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
.saved-signature{width:240px;max-width:100%;height:80px;border-bottom:1px solid #d8e1e8;background:white}
.dossier-print-only{display:none}.quote-extra-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
@media print{.print-dossier>*{display:none!important}.print-dossier>.dossier-print-only{display:block!important}.print-dossier .dossier-print-only pre{white-space:pre-wrap;max-height:none}.print-dossier .dossier-print-only{font-size:11pt;color:#111}}
.dossier-nav{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 20px}.dossier-nav button{min-height:44px;background:white;border:1px solid #d8e1e8;border-radius:5px;padding:8px 12px;color:#0768aa}
.document-preview{border:1px solid #d8e1e8;padding:16px;border-radius:5px;margin:14px 0;max-height:420px;overflow:auto}.document-preview h4{margin:18px 0 8px}.document-preview p{margin:8px 0;white-space:pre-wrap}
@media print{.document-preview{max-height:none;overflow:visible}}
.dossier-nav{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:6px}.dossier-nav button{flex-shrink:0;white-space:nowrap}


/* Interface de trabalho da Auto Barra. */
:root{--panel-radius:4px}
.panel{border-radius:4px;box-shadow:none}
.btn{border-radius:4px}.icon-btn{border-radius:4px}
.panel-symbol{display:none}
.sidebar{background:#fbfcfd}.sidebar-brand{border-bottom-color:#d8e1e8}
.nav button{border-radius:3px;font-size:14px;min-height:44px}
.nav button.active{box-shadow:inset 2px 0 #0768aa;background:#edf3f7}
.nav button svg{width:17px;height:17px}
.vehicle-icon{background:transparent;border:0;border-radius:0}
.result-grid{gap:0;background:white;border:1px solid #d8e1e8;border-radius:4px}
.result-grid>article{border:0;border-right:1px solid #d8e1e8;border-radius:0;box-shadow:none}
.result-grid>article:last-child{border-right:0}
.dossier-nav button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent}
.dossier-nav button:hover{border-bottom-color:#0768aa;background:#f4f6f8}
.inspection-group{border-radius:4px}
.dashboard-workspace{--dash-surface:#fff;--dash-border:#d8e1e8;--dash-muted:#526474}
.dashboard-workspace .page-heading{margin-bottom:16px;align-items:center}
.dashboard-workspace h1{font-size:28px;line-height:1.25;letter-spacing:-.65px}
.dashboard-workspace .subtitle{font-size:14px;margin-top:8px}
.dashboard-workspace .btn{min-height:44px;font-size:14px}
.dashboard-workspace .owner-tabs{margin-bottom:20px}
.dashboard-workspace .owner-tabs>div>button{font-size:14px;min-height:48px}
.dashboard-workspace .dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:0;border-bottom:1px solid #d8e1e8;border-radius:0;background:transparent;overflow:visible;margin-bottom:22px}
.dashboard-workspace .dashboard-metrics>.summary-cell{border:0;border-radius:0;background:transparent;padding:10px 20px 20px;min-height:112px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;position:relative}
.dashboard-workspace .dashboard-metrics>.summary-cell:first-child{padding-left:0}
.dashboard-workspace .dashboard-metrics>.summary-cell::before,.dashboard-workspace .dashboard-metrics>.summary-cell::after{display:none}
.dashboard-workspace .dashboard-metrics>.summary-cell:hover{background:#edf2f6}
.dashboard-workspace .summary-label{font-size:13px;color:#40566b;font-weight:500}
.dashboard-workspace .dashboard-metrics strong{font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.7px;font-variant-numeric:tabular-nums;color:#193345}
.dashboard-workspace .dashboard-metrics small{font-size:12px;line-height:1.5;color:#526474}
.dashboard-workspace .summary-alert strong{color:#9a4a13}
.dashboard-workspace .flow-panel{padding:0 0 16px;border:0;border-bottom:1px solid #d8e1e8;border-radius:0;margin-bottom:0;background:transparent}
.dashboard-workspace .flow-caption{margin-bottom:10px;gap:16px}
.dashboard-workspace .flow-caption>b{font-size:14px;margin-right:auto}
.dashboard-workspace .flow-reset{font-size:13px;min-height:36px}
.dashboard-workspace .service-flow{gap:0}
.dashboard-workspace .flow-step{min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:9px 14px;gap:9px;background:transparent;font-size:13px}
.dashboard-workspace .flow-step b{font-size:15px;font-weight:600;color:#193345}
.dashboard-workspace .flow-step.active{border-bottom-color:#0768aa;background:#eaf1f6}
.dashboard-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding:3px 0;margin:0 0 12px}
.dashboard-shortcuts>span{font-size:12px;color:#526474;margin-right:auto}
.dashboard-shortcuts button{display:flex;align-items:center;gap:8px;background:none;border:0;color:#0768aa;min-height:44px;font-size:13px;padding:8px 0}
.dashboard-shortcuts button:hover{text-decoration:underline;text-underline-offset:4px}
.dashboard-shortcuts svg{width:16px;height:16px}
.dashboard-workspace .workbench{grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.dashboard-workspace .workshop-list{border:1px solid #d8e1e8;border-radius:4px;box-shadow:none}
.dashboard-workspace .panel-head{padding:18px 20px;gap:12px}
.dashboard-workspace .panel-head h2{font-size:16px;font-weight:600;letter-spacing:-.2px}
.dashboard-workspace .panel-head p{font-size:13px;line-height:1.5;margin-top:6px}
.dashboard-workspace .list-toolbar{padding:12px 20px;gap:12px;border-bottom:1px solid #e5ebef}
.dashboard-workspace .list-toolbar .search{flex:1;max-width:440px}
.dashboard-workspace .list-toolbar .search input{font-size:14px;min-height:44px}
.dashboard-workspace .toolbar-label{display:none}
.dashboard-workspace .dashboard-stage-select{display:block;max-width:200px;min-height:44px;font-size:13px}
.dashboard-workspace .service-table th{font-size:12px;background:#f7f9fb;padding-block:12px}
.dashboard-workspace .service-table td{padding:18px 16px}
.dashboard-workspace .service-table .vehicle-cell b{font-size:15px}
.dashboard-workspace .workbench-aside{gap:0;border-left:1px solid #d8e1e8;padding-left:22px}
.dashboard-workspace .workbench-aside>.panel{border:0;border-radius:0;background:transparent;box-shadow:none;border-bottom:1px solid #d8e1e8;padding-bottom:18px;margin-bottom:18px}
.dashboard-workspace .workbench-aside .panel-head{padding:0 0 12px}
.dashboard-workspace .workbench-aside .panel-body{padding:0}
.dashboard-workspace .workbench-aside .panel-head h2{font-size:15px}
.dashboard-workspace .attention-list{padding:0}
.dashboard-workspace .attention-item{padding:12px 0}
.dashboard-workspace .attention-item b{font-size:13px;line-height:1.5}
.dashboard-workspace .attention-item .attention-flag{background:transparent;border-radius:0;width:20px}
.dashboard-workspace .agenda-empty{padding:10px 0 16px;text-align:left;align-items:flex-start}
.dashboard-workspace .agenda-empty b{font-size:13px;font-weight:400;color:#526474}
.dashboard-workspace .attention-panel .calm-state{font-size:13px;line-height:1.6;padding:0 0 8px}
.dashboard-workspace .connection-note{background:transparent;border:0;border-radius:0;padding:0;gap:9px}
.dashboard-workspace .connection-note>svg{width:16px;height:16px}
.workshop-welcome{display:flex;align-items:center;min-height:210px;padding:32px}
.workshop-welcome h3{font-size:18px;line-height:1.4;margin:0 0 9px;letter-spacing:-.25px}
.workshop-welcome p{font-size:14px;color:#526474;line-height:1.7;max-width:440px;margin:0 0 18px}
.dashboard-new .flow-panel,.dashboard-new .workshop-list .list-toolbar,.dashboard-new .workshop-all{display:none}
.auth{display:block;min-height:0;max-width:430px;margin:9vh auto;padding:30px;background:#fff;border:1px solid #d8e1e8;border-radius:4px}
.auth-art{display:block;min-height:0;padding:0 0 24px;border:0;background:transparent}
.auth-art .brand.brand-lockup{justify-content:flex-start;margin:0 0 12px}
.auth .auth-location{display:block;position:static;margin:12px 0 0;font-size:13px;color:#526474}
.auth-form{display:block;padding:0;background:transparent;min-height:0}
.auth-form form{padding:0;border:0;border-radius:0;box-shadow:none;width:100%;max-width:none}
.auth-form h1{font-size:23px;letter-spacing:-.4px}
@media(min-width:721px){
.content{max-width:1500px;padding:30px 34px 48px;margin-inline:auto}
.topbar .global-search{max-width:480px}.top-date,.profile small{font-size:12px}
}
@media(min-width:721px) and (max-width:1150px){
.dashboard-workspace .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-workspace .dashboard-metrics>.summary-cell{padding:12px 16px}
.dashboard-workspace .dashboard-metrics>.summary-cell:nth-child(odd){padding-left:0}
.dashboard-workspace .service-flow{display:flex;overflow-x:auto;padding-bottom:4px;max-width:100%}
.dashboard-workspace .flow-step{flex:1;min-width:115px}
.dashboard-workspace .workbench{grid-template-columns:minmax(0,1fr)}
.dashboard-workspace .workbench-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;border-left:0;padding-left:0}
}
@media(max-width:720px){
.dashboard-workspace h1{font-size:26px}
.dashboard-workspace .page-heading{margin-bottom:16px}
.dashboard-workspace .owner-tabs{margin-bottom:16px}
.dashboard-workspace .owner-tabs>div>button{font-size:12px}
.dashboard-workspace .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
.dashboard-workspace .dashboard-metrics>.summary-cell{min-height:98px;padding:12px;gap:6px}
.dashboard-workspace .dashboard-metrics>.summary-cell:nth-child(odd){padding-left:0}
.dashboard-workspace .dashboard-metrics strong{font-size:27px}
.dashboard-workspace .dashboard-metrics small{font-size:12px;line-height:1.4}
.dashboard-shortcuts{display:none}
.dashboard-workspace .workbench{grid-template-columns:minmax(0,1fr);gap:20px}
.dashboard-workspace .panel-head{padding:16px}
.dashboard-workspace .panel-head h2{font-size:16px}
.dashboard-workspace .list-toolbar{padding:12px 16px;flex-wrap:wrap}
.dashboard-workspace .list-toolbar .search{max-width:none;flex-basis:100%}
.dashboard-workspace .dashboard-stage-select{max-width:none;width:100%}
.dashboard-workspace .workbench-aside{border:0;padding:0}
.dashboard-workspace .workbench-aside>.panel{padding:16px 0;border-bottom:1px solid #d8e1e8}
.workshop-welcome{padding:24px 18px;min-height:0}
.workshop-welcome h3{font-size:18px}
.auth{max-width:430px;margin:24px auto;padding:24px 20px;border:0;background:transparent}
.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.result-grid>article{border-bottom:1px solid #d8e1e8}
}
@media(max-width:720px){.auth{margin:0 auto;min-height:100dvh;background:#fff;border-radius:0}.auth-form form{background:transparent}}

/* Registro operacional: a grade, não os indicadores, organiza a tela. */
:root{--sidebar:224px}
.sidebar{background:#124d75;color:#fff;border-right:0;padding-inline:12px}
.sidebar-brand{height:72px;min-height:72px;background:#fff;margin:0 -12px 12px;padding:0 12px;border-bottom:0}
.nav-caption{color:#bad3e5;font-size:11px;padding:16px 12px 8px}
.nav button{color:#edf5fa;min-height:43px;font-size:13px;padding:10px 12px;gap:11px;border-radius:3px}
.nav button svg{color:#b7d1e3}
.nav button:hover{background:#205d86;color:#fff}
.nav button.active{background:#2b6a94;color:#fff;box-shadow:inset 2px 0 #fff}
.nav button.active svg{color:#fff}
.nav .count{color:#fff;background:#34759f}
.workshop-identity{border-color:#427392}.workshop-identity b{color:#fff}.workshop-identity small{color:#c3d8e6}
.topbar{height:64px;border-bottom:1px solid #d8e1e8}
.main{background:#fff}
.content{max-width:none}
.dashboard-workspace .page-heading{margin-bottom:4px}
.dashboard-workspace h1{font-size:25px;letter-spacing:-.6px}
.dashboard-workspace .subtitle{font-size:12px;margin-top:5px;color:#526474}
.dashboard-workspace .owner-tabs{margin-bottom:0;border-bottom:1px solid #d8e1e8}
.dashboard-workspace .owner-tabs>div{gap:22px}
.dashboard-workspace .owner-tabs>div>button{font-size:13px;min-height:44px;padding-block:10px}
.dashboard-workspace .dashboard-metrics{border-bottom:1px solid #d8e1e8;background:#f7f9fb;margin-bottom:14px}
.dashboard-workspace .dashboard-metrics>.summary-cell{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;min-height:64px;padding:12px 18px;border-right:1px solid #e1e7ed}
.dashboard-workspace .dashboard-metrics>.summary-cell:first-child{padding-left:18px}
.dashboard-workspace .dashboard-metrics>.summary-cell:last-child{border-right:0}
.dashboard-workspace .summary-label{font-size:12px}
.dashboard-workspace .dashboard-metrics strong{font-size:23px;letter-spacing:-.5px;white-space:nowrap}
.dashboard-workspace .dashboard-metrics small{display:none}
.dashboard-workspace .flow-panel{padding-bottom:6px;border:0;margin-bottom:0}
.dashboard-workspace .flow-caption{margin-bottom:0;min-height:35px}
.dashboard-workspace .flow-caption>b{display:none}
.dashboard-workspace .flow-caption>.flow-reset:first-of-type{margin-left:auto}
.dashboard-workspace .flow-step{background:#fff;border:1px solid #d8e1e8;border-right:0;padding:8px 12px;min-height:40px;font-size:12px}
.dashboard-workspace .flow-step:last-child{border-right:1px solid #d8e1e8}
.dashboard-workspace .flow-step.active{background:#e6f0f7;border-color:#7ca2be}
.dashboard-shortcuts{margin:0;padding:0;gap:20px;min-height:42px}
.dashboard-shortcuts button{font-size:12px}
.dashboard-workspace .workbench{display:flex;flex-direction:column;gap:24px}
.dashboard-workspace .workshop-list{width:100%;border:1px solid #d0dce5;border-radius:3px;overflow:hidden}
.dashboard-workspace .workshop-list>.panel-head{padding:12px 16px;background:#f4f7fa;border-bottom:1px solid #d8e1e8;min-height:55px}
.dashboard-workspace .panel-head h2{font-size:15px}
.dashboard-workspace .list-toolbar{padding:10px 16px;background:#fff}
.dashboard-workspace .list-toolbar .search{max-width:420px}
.dashboard-workspace .workshop-actions{display:flex;align-items:center;gap:12px}
.dashboard-workspace .mobile-attention{display:flex;align-items:center;gap:6px;background:#fff8ed;border:1px solid #ead5b5;color:#89541a;padding:6px 10px;border-radius:3px;min-height:40px;font-size:12px}
.dashboard-workspace .mobile-attention svg{width:14px;height:14px}
.workshop-register{width:100%;min-width:850px}
.dashboard-workspace .workshop-register th{font-size:11px;background:#eaf0f5;color:#40566b;white-space:nowrap;padding:12px;font-weight:600;border-bottom:1px solid #d0dce5}
.dashboard-workspace .workshop-register td{font-size:13px;padding:14px 12px;vertical-align:middle;border-bottom:1px solid #e1e7ed}
.dashboard-workspace .workshop-register tbody tr:nth-child(even){background:#fafbfd}
.dashboard-workspace .workshop-register tbody tr:hover{background:#edf4f9;cursor:pointer}
.workshop-register td:first-child{width:65px}.os-number{font-weight:500;color:#0768aa;font-variant-numeric:tabular-nums}
.register-model{display:block;font-size:12px;line-height:1.6;color:#526474;font-weight:400}
.workshop-welcome{min-height:165px;padding:28px}
.workshop-welcome h3{font-size:16px}.workshop-welcome p{font-size:13px}
.dashboard-workspace .workbench-aside{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding:0;border:0;gap:26px}
.dashboard-workspace .workbench-aside>.panel{margin:0;padding:0 0 12px;border-bottom:0}
.dashboard-workspace .workbench-aside .panel-head{border-bottom:1px solid #d8e1e8;margin-bottom:10px;padding-bottom:10px}
.dashboard-workspace .workbench-aside .panel-head h2{font-size:14px}
.dashboard-workspace .connection-note{grid-column:1/-1;border-top:1px solid #d8e1e8;padding-top:14px;align-items:center}
.dashboard-workspace .connection-note>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.dashboard-workspace .connection-note p{margin:0}.dashboard-workspace .connection-note button{margin:0;min-height:36px}
.dashboard-workspace .agenda-empty{padding:5px 0 14px}
.dashboard-workspace .panel .btn.full-width{width:auto;font-size:12px;padding-inline:12px}
.dashboard-workspace .demo-actions{margin-top:20px}
@media(min-width:1151px){.content{padding:24px 28px 36px}.dashboard-workspace .dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:721px) and (max-width:1150px){
.content{padding:20px}
.dashboard-workspace .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-workspace .workbench-aside{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:720px){
.sidebar-close{color:#526474}
.topbar{height:64px}
.dashboard-workspace .owner-tabs>div{gap:12px}
.dashboard-workspace .dashboard-metrics>.summary-cell{flex-direction:column;align-items:flex-start;justify-content:center;min-height:82px;padding:10px 12px;gap:7px}
.dashboard-workspace .dashboard-metrics>.summary-cell:first-child{padding-left:12px}
.dashboard-workspace .dashboard-metrics strong{font-size:24px}
.dashboard-workspace .workbench{gap:20px}
.dashboard-workspace .workbench-aside{display:flex;flex-direction:column;gap:18px}
.dashboard-workspace .workshop-list>.panel-head{padding:12px;min-height:54px}
.dashboard-workspace .list-toolbar{padding:10px 12px}
.dashboard-workspace .mobile-attention{min-height:44px;font-size:12px}
.dashboard-workspace .workshop-all{display:none}
.dashboard-workspace .service-card{padding:16px 12px}
.dashboard-workspace .connection-note>div{display:block}
.dashboard-workspace .connection-note p{margin:7px 0}
.workshop-welcome{padding:22px 16px;min-height:0}
}
.dashboard-workspace .demo-label{margin:8px 0;line-height:1.5}
.dashboard-workspace .dashboard-metrics>.summary-cell strong{font-size:23px}
.register-mobile-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 4px;font-size:12px;color:#526474}
.register-mobile-meta b{display:block;font-size:12px;line-height:1.5;color:#193345;font-weight:500;overflow-wrap:anywhere;margin-top:3px}
.sidebar-brand{height:64px;min-height:64px}
/* Controles da grade: resultado, ordenação e prazo de entrega. */
.dashboard-workspace .list-toolbar{flex-wrap:wrap}
.dashboard-workspace .list-toolbar .search{flex:1 1 260px}
#dashboard-order{min-height:44px;max-width:190px;font-size:13px}
.register-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:5px 16px;color:#526474;font-size:12px;border-bottom:1px solid #e1e7ed}
.register-meta .btn{font-size:12px;min-height:36px;padding:2px 0}
.register-meta [hidden]{display:none!important}
.deadline-late{color:#8a4b08}
.deadline-flag{display:block;color:#8a4b08;background:#fff3df;font-size:11px;font-weight:500;padding:2px 5px;line-height:1.5;width:fit-content;margin-top:4px;border-radius:2px}
@media(max-width:720px){
.dashboard-workspace .list-toolbar .search{flex-basis:100%}
.dashboard-workspace .dashboard-stage-select,#dashboard-order{width:calc(50% - 6px);max-width:none;flex:1 1 0;min-width:0;font-size:12px}
.register-meta{padding-inline:12px}
}

/* Consistent surfaces and compact information hierarchy in the admin panel. */
@media screen {
  #workspace {
    --block-shadow: 0 2px 4px rgb(24 53 75 / 5%),
      0 7px 18px rgb(24 53 75 / 9%);
    --block-border: #dce3eb;
    background: #f1f4f8;
  }
  #workspace .panel,
  #workspace .owner-metrics,
  #workspace .metrics,
  #workspace .result-grid {
    box-shadow: var(--block-shadow);
    border-color: var(--block-border);
    border-radius: 10px;
  }
  #workspace .owner-metrics,
  #workspace .metrics,
  #workspace .result-grid {
    background: #fff;
  }
  #workspace .dashboard-workspace .dashboard-metrics {
    gap: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    margin-top: 16px;
    margin-bottom: 18px;
  }
  #workspace .dashboard-workspace .dashboard-metrics > .summary-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    min-height: 88px;
    min-width: 0;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--block-border);
    border-radius: 10px;
    box-shadow: var(--block-shadow);
  }
  #workspace .dashboard-metrics .summary-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #526474;
  }
  #workspace .dashboard-metrics > .summary-cell strong {
    font-size: 27px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.6px;
    font-variant-numeric: tabular-nums;
  }
  #workspace .dashboard-workspace .dashboard-metrics > .summary-cell::before {
    display: none;
  }
  #workspace .dashboard-metrics > .summary-cell:hover {
    border-color: #a9c3d5;
    background: #fbfdff;
  }
  #workspace .dashboard-metrics > .summary-cell:focus-visible {
    outline: 2px solid #0768aa;
    outline-offset: 3px;
  }
  #workspace .dashboard-workspace .workshop-list > .panel-head {
    background: #fff;
    padding: 16px 18px;
    border-bottom-color: #e7ecf1;
  }
  #workspace .dashboard-workspace .workshop-register th {
    background: #f5f7fa;
    border-bottom-color: #e1e7ee;
  }
  #workspace .dashboard-workspace .workbench-aside {
    gap: 18px;
    align-items: stretch;
  }
  #workspace .dashboard-workspace .workbench-aside > .panel {
    background: #fff;
    border: 1px solid var(--block-border);
    border-radius: 10px;
    padding: 16px;
  }
  #workspace .dashboard-workspace .workbench-aside .panel-head {
    min-height: 44px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom-color: #e7ecf1;
    align-items: flex-start;
  }
  #workspace .dashboard-workspace .workbench-aside .panel-head h2 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
  }
}
@media screen and (max-width: 720px) {
  #workspace .dashboard-workspace .dashboard-metrics {
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 16px;
  }
  #workspace .dashboard-workspace .dashboard-metrics > .summary-cell {
    padding: 12px 14px;
    min-height: 84px;
    gap: 6px;
  }
  #workspace .dashboard-metrics > .summary-cell strong {
    font-size: 24px;
  }
  #workspace .dashboard-workspace .workshop-list > .panel-head {
    padding: 12px 14px;
  }
  #workspace .dashboard-workspace .workbench-aside > .panel {
    padding: 14px;
  }
}
