:root {
  --brand-red: #cc0000;
  --brand-red-dark: #990000;
  --ink: #171717;
  --ink-soft: #3f3f46;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f5f5f5;
  --sidebar: #151515;
  --success: #15803d;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.sidebar {
  min-height: 100vh;
  padding: 24px 18px;
  color: white;
  background: var(--sidebar);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
}

.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 8px 26px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-red);
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
}

.sidebar-brand strong,
.sidebar-brand small {
  display: block;
}

.sidebar-brand strong {
  font-size: 15px;
}

.sidebar-brand small {
  margin-top: 4px;
  color: #a1a1aa;
  font-size: 12px;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
  padding-top: 24px;
}

.nav-item {
  min-height: 48px;
  padding: 8px 10px;
  display: flex;
  gap: 11px;
  align-items: center;
  border-radius: 12px;
  color: #d4d4d8;
  font-size: 14px;
  font-weight: 700;
}

.nav-item:hover,
.nav-item.active {
  color: white;
  background: rgba(204, 0, 0, .92);
}

.nav-code {
  min-width: 34px;
  height: 30px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: .04em;
}

.sidebar-note {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}

.sidebar-note strong,
.sidebar-note span {
  display: block;
}

.sidebar-note strong {
  font-size: 12px;
}

.sidebar-note span {
  margin-top: 5px;
  color: #a1a1aa;
  font-size: 11px;
}

.main {
  min-width: 0;
}

.topbar {
  min-height: 72px;
  padding: 14px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.topbar strong,
.tenant-label {
  display: block;
}

.tenant-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.topbar-status {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(21,128,61,.12);
}

.content {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 28px 34px 60px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--brand-red);
}

.page-header {
  padding: 28px 0 24px;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1.2px;
}

.page-header p {
  max-width: 790px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.intro-panel,
.instruction-box,
.workspace-card,
.module-card,
.section-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-panel {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.intro-panel strong {
  font-size: 15px;
}

.intro-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #374151;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.pill.red {
  color: var(--brand-red-dark);
  background: #fee2e2;
}

.module-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.module-card {
  min-height: 390px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.module-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-icon {
  min-width: 50px;
  height: 50px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--brand-red);
  font-size: 13px;
  font-weight: 900;
}

.module-count {
  color: var(--muted);
  font-size: 11px;
}

.module-card h2 {
  margin: 22px 0 9px;
  font-size: 23px;
}

.module-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.section-preview {
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: #374151;
  font-size: 13px;
}

.section-preview li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.check {
  color: var(--brand-red);
  font-weight: 900;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  padding: 11px 15px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}

.primary-button {
  margin-top: auto;
  color: white;
  background: var(--brand-red);
}

.primary-button:hover {
  background: var(--brand-red-dark);
}

.primary-button.compact {
  margin-top: 14px;
}

.secondary-button {
  margin-top: 18px;
  color: var(--brand-red);
  background: white;
  border: 1px solid #fecaca;
}

.instruction-box {
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 4px solid var(--brand-red);
}

.instruction-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: var(--brand-red);
  font-weight: 900;
}

.instruction-box strong {
  font-size: 14px;
}

.instruction-box p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section-grid {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.section-card {
  padding: 21px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-red);
  background: #fee2e2;
  font-size: 15px;
  font-weight: 900;
}

.section-card h2 {
  margin: 0;
  font-size: 19px;
}

.section-card p {
  margin: 7px 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.section-card a {
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
}

.workspace-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.workspace-status {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}

.workspace-card h2 {
  margin: 24px 0 18px;
  font-size: 20px;
}

.guided-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.guided-steps li {
  padding: 15px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.guided-steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: white;
  background: var(--brand-red);
  font-size: 12px;
  font-weight: 900;
}

.guided-steps strong {
  font-size: 13px;
}

.guided-steps p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.next-phase {
  margin-top: 22px;
  padding: 17px;
  border-radius: 14px;
  background: #f4f4f5;
}

.next-phase strong {
  font-size: 13px;
}

.next-phase p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.empty-state {
  text-align: center;
}

.empty-state > strong {
  color: var(--brand-red);
  font-size: 24px;
}

.empty-state p {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    min-height: auto;
    position: static;
    padding: 16px;
  }

  .sidebar-brand {
    padding-bottom: 15px;
  }

  .sidebar-nav {
    padding-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-note {
    display: none;
  }

  .topbar {
    padding: 13px 18px;
  }

  .content {
    padding: 22px 18px 45px;
  }

  .intro-panel,
  .workspace-status {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .topbar-status {
    display: none;
  }

  .page-header {
    padding-top: 22px;
  }

  .section-card {
    grid-template-columns: 1fr;
  }
}

/* AUTH_V1_0B */

.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(
      135deg,
      #111111 0%,
      #1f1f1f 54%,
      #990000 100%
    );
}

.auth-shell {
  width: min(1040px, calc(100% - 32px));
  min-height: 620px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .32);
}

.auth-brand-panel {
  padding: 58px 50px;
  color: #ffffff;
  background:
    linear-gradient(
      155deg,
      #cc0000 0%,
      #990000 52%,
      #5f0000 100%
    );
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-brand-mark {
  width: 70px;
  height: 70px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #cc0000;
  background: #ffffff;
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
}

.auth-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-brand-panel h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}

.auth-brand-panel > p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.65;
}

.auth-security-note {
  margin-top: 44px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 15px;
  background: rgba(0, 0, 0, .12);
}

.auth-security-note strong,
.auth-security-note span {
  display: block;
}

.auth-security-note strong {
  font-size: 13px;
}

.auth-security-note span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.5;
}

.auth-form-panel {
  padding: 54px 48px;
  display: flex;
  align-items: center;
  background: #ffffff;
}

.auth-form-card {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.auth-form-card .auth-eyebrow {
  color: #cc0000;
}

.auth-form-card h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -.6px;
}

.auth-description {
  margin: 12px 0 25px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.auth-error {
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid #fecaca;
  border-radius: 11px;
  color: #991b1b;
  background: #fef2f2;
  font-size: 13px;
  line-height: 1.45;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label > span {
  color: #27272a;
  font-size: 12px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #d4d4d8;
  border-radius: 11px;
  color: #18181b;
  background: #ffffff;
  font: inherit;
  outline: none;
}

.auth-form input:focus {
  border-color: #cc0000;
  box-shadow:
    0 0 0 4px rgba(204, 0, 0, .10);
}

.auth-submit {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: #cc0000;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.auth-submit:hover {
  background: #990000;
}

.auth-help {
  margin: 22px 0 0;
  color: #71717a;
  font-size: 11px;
  line-height: 1.55;
}

.password-rules {
  padding: 12px;
  border-radius: 10px;
  color: #52525b;
  background: #f4f4f5;
  font-size: 11px;
  line-height: 1.5;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-summary {
  text-align: right;
}

.user-summary strong,
.user-summary span {
  display: block;
}

.user-summary strong {
  font-size: 12px;
}

.user-summary span {
  margin-top: 3px;
  color: #71717a;
  font-size: 10px;
}

.logout-button {
  min-height: 37px;
  padding: 8px 12px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  color: #b91c1c;
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.logout-button:hover {
  color: #ffffff;
  background: #cc0000;
}

@media (max-width: 780px) {
  .auth-shell {
    margin: 18px auto;
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    padding: 35px 26px;
  }

  .auth-security-note {
    margin-top: 25px;
  }

  .auth-form-panel {
    padding: 38px 25px;
  }

  .user-summary {
    display: none;
  }
}

@media (max-width: 500px) {
  .auth-shell {
    width: min(100% - 18px, 1040px);
    border-radius: 18px;
  }

  .auth-brand-panel {
    padding: 28px 22px;
  }

  .auth-brand-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    font-size: 30px;
  }

  .auth-brand-panel h1 {
    font-size: 29px;
  }

  .auth-form-panel {
    padding: 30px 21px;
  }
}

/* SETTINGS_V1_0C */

.nav-divider {
  height: 1px;
  margin: 10px 8px;
  background: rgba(255, 255, 255, .12);
}

.settings-intro {
  margin-bottom: 20px;
  padding: 19px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.settings-intro strong {
  font-size: 14px;
}

.settings-intro p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.settings-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.settings-message.success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.settings-message.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.settings-form {
  display: grid;
  gap: 18px;
}

.settings-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.settings-card > header {
  margin-bottom: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.settings-card h2 {
  margin: 0;
  font-size: 19px;
}

.settings-card header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.settings-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--brand-red);
  background: #fee2e2;
  font-size: 12px;
  font-weight: 900;
}

.settings-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.settings-grid label,
.color-settings label {
  display: grid;
  gap: 8px;
}

.settings-grid label > span,
.color-settings label > span {
  font-size: 12px;
  font-weight: 800;
}

.settings-grid input,
.settings-grid textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  outline: none;
}

.settings-grid input {
  min-height: 46px;
}

.settings-grid textarea {
  resize: vertical;
  line-height: 1.5;
}

.settings-grid input:focus,
.settings-grid textarea:focus {
  border-color: var(--brand-red);
  box-shadow:
    0 0 0 4px rgba(204, 0, 0, .09);
}

.settings-grid small,
.switch-row small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.full-width {
  grid-column: 1 / -1;
}

.color-settings {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.color-control {
  min-height: 56px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafafa;
}

.color-control input {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.color-control code {
  font-size: 12px;
  font-weight: 800;
}

.switch-row {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafafa;
}

.switch-row span,
.switch-row strong,
.switch-row small {
  display: block;
}

.switch-row strong {
  font-size: 13px;
}

.switch-row small {
  margin-top: 5px;
}

.switch-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--brand-red);
  cursor: pointer;
}

.branch-status {
  margin-top: 16px;
  padding: 16px;
  border-radius: 13px;
}

.branch-status strong {
  font-size: 13px;
}

.branch-status p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.branch-status.enabled {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.branch-status.disabled {
  color: #52525b;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
}

.branch-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.branch-row {
  padding: 13px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.branch-row strong,
.branch-row span {
  display: block;
}

.branch-row strong {
  font-size: 13px;
}

.branch-row div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.settings-protection {
  padding: 17px 19px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  color: #1e3a8a;
  background: #eff6ff;
}

.settings-protection strong {
  font-size: 13px;
}

.settings-protection p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.settings-actions .secondary-button {
  margin-top: 0;
}

.settings-save {
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: var(--brand-red);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.settings-save:hover {
  background: var(--brand-red-dark);
}

@media (max-width: 780px) {
  .settings-grid,
  .color-settings {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .settings-intro,
  .switch-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ACCESS_CONTROL_V1_0C2 */

.admin-toolbar {
  margin-bottom: 20px;
  padding: 19px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-toolbar strong {
  font-size: 14px;
}

.admin-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: #52525b;
  background: #fafafa;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table td > strong,
.admin-table td > span {
  display: block;
}

.admin-table td > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.table-action {
  color: var(--brand-red);
  font-weight: 800;
}

.empty-table {
  padding: 30px !important;
  color: var(--muted);
  text-align: center !important;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.role-tags span {
  padding: 5px 7px;
  border-radius: 999px;
  color: #3f3f46;
  background: #f4f4f5;
  font-size: 10px;
  font-weight: 700;
}

.role-tags .warning {
  color: #92400e;
  background: #fef3c7;
}

.status-badge {
  display: inline-flex;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.status-badge.active {
  color: #166534;
  background: #dcfce7;
}

.status-badge.inactive {
  color: #991b1b;
  background: #fee2e2;
}

.settings-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.single-branch-note,
.technical-code {
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}

.single-branch-note strong,
.technical-code > span {
  font-size: 12px;
}

.single-branch-note span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.technical-code code {
  margin-top: 6px;
  color: var(--brand-red-dark);
  font-size: 11px;
  font-weight: 800;
}

.option-stack {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.selection-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.selection-card {
  min-height: 82px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
}

.selection-card:has(input:checked) {
  border-color: #fca5a5;
  background: #fff7f7;
}

.selection-card input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--brand-red);
}

.selection-card span,
.selection-card strong,
.selection-card small {
  display: block;
}

.selection-card strong {
  font-size: 12px;
}

.selection-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.role-list {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.role-card {
  padding: 19px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.role-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.role-type {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-red);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.role-card h2 {
  margin: 0;
  font-size: 17px;
}

.role-card > p {
  min-height: 54px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.role-metrics {
  margin: auto 0 14px;
  padding-top: 13px;
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.role-metrics strong {
  color: var(--ink);
  font-size: 13px;
}

.role-card .secondary-button {
  margin-top: 0;
}

.permission-groups {
  display: grid;
  gap: 22px;
}

.permission-group h3 {
  margin: 0 0 11px;
  color: #3f3f46;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width: 1050px) {
  .role-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .selection-grid,
  .role-list {
    grid-template-columns: 1fr;
  }

  .admin-toolbar .primary-button {
    width: 100%;
  }
}

/* NESTED_ADMIN_V1_0C2 */

.config-hub-grid,
.role-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.config-hub-card,
.role-card {
  padding: 21px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.config-hub-card {
  min-height: 210px;
}

.config-hub-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-red);
  background: #fee2e2;
  font-size: 11px;
  font-weight: 900;
}

.config-hub-card h2,
.role-card h2 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.config-hub-card p,
.role-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.config-hub-card a {
  margin-top: auto;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 900;
}

.admin-toolbar {
  margin-bottom: 18px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-toolbar strong {
  font-size: 14px;
}

.admin-toolbar p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.admin-table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  padding: 14px 15px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: #52525b;
  background: #fafafa;
  font-size: 10px;
  text-transform: uppercase;
}

.admin-table td > strong,
.admin-table td > span {
  display: block;
}

.admin-table td > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.table-action {
  color: var(--brand-red);
  font-weight: 900;
}

.empty-table {
  padding: 30px !important;
  color: var(--muted);
  text-align: center !important;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.role-tags span {
  padding: 5px 7px;
  border-radius: 999px;
  background: #f4f4f5;
  font-size: 9px;
  font-weight: 800;
}

.status-badge {
  display: inline-flex;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
}

.status-badge.active {
  color: #166534;
  background: #dcfce7;
}

.status-badge.inactive {
  color: #991b1b;
  background: #fee2e2;
}

.settings-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
}

.single-branch-note,
.technical-code {
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}

.single-branch-note span,
.technical-code code {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.option-stack,
.permission-groups {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.selection-card {
  min-height: 80px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
}

.selection-card:has(input:checked) {
  border-color: #fca5a5;
  background: #fff7f7;
}

.selection-card input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--brand-red);
}

.selection-card span,
.selection-card strong,
.selection-card small {
  display: block;
}

.selection-card strong {
  font-size: 11px;
}

.selection-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.role-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.role-type {
  display: block;
  color: var(--brand-red);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.role-metrics {
  margin: auto 0 14px;
  padding-top: 13px;
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

.role-card .secondary-button {
  margin-top: 0;
}

.permission-group h3 {
  margin: 0 0 11px;
  color: #3f3f46;
  font-size: 11px;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .config-hub-grid,
  .role-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .config-hub-grid,
  .role-list,
  .selection-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* HONDA_WORKSHOP_UI1A_MIN */
.workshop-section-card,
.workshop-format-banner,
.workshop-empty-state,
.workshop-save-preview {
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  background: #fff;
}

.workshop-format-banner {
  padding: 0;
  overflow: hidden;
}

.workshop-format-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: #991b1b;
  color: #fff;
}

.workshop-format-title h2 {
  margin: 0;
  color: inherit;
}

.workshop-banner-data,
.workshop-form-grid,
.workshop-summary-strip,
.workshop-authorization-grid,
.workshop-signatures {
  display: grid;
  gap: 16px;
}

.workshop-banner-data {
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 16px 22px;
}

.workshop-form-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workshop-form-grid .wide {
  grid-column: span 2;
}

.workshop-summary-strip {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.workshop-summary-strip > div {
  padding: 16px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #fff;
}

.workshop-section-heading {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.workshop-section-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 10px;
  background: #991b1b;
  color: #fff;
  font-weight: 800;
}

.workshop-section-card input,
.workshop-section-card select,
.workshop-section-card textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.workshop-form-grid label,
.workshop-block-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 700;
}

.workshop-table-wrap {
  overflow-x: auto;
}

.workshop-table {
  width: 100%;
  border-collapse: collapse;
}

.workshop-table th,
.workshop-table td {
  padding: 10px;
  border: 1px solid #dbe2ea;
  text-align: left;
}

.workshop-table th {
  background: #f8fafc;
}

.workshop-search-result,
.workshop-inline-note,
.workshop-suggestion,
.workshop-provisional-warning {
  margin-top: 16px;
  padding: 14px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}

.workshop-owner-change {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
}

.workshop-save-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

@media (max-width: 900px) {
  .workshop-banner-data,
  .workshop-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .workshop-banner-data,
  .workshop-form-grid,
  .workshop-summary-strip,
  .workshop-authorization-grid,
  .workshop-signatures {
    grid-template-columns: 1fr;
  }

  .workshop-form-grid .wide {
    grid-column: auto;
  }

  .workshop-save-preview,
  .workshop-format-title {
    align-items: stretch;
    flex-direction: column;
  }
}
/* HONDA_WORKSHOP_UI1A_MIN_END */

/* HONDA_WORKSHOP_UI1B_START */

.ws-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #b91c1c;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ws-primary-button,
.ws-secondary-button,
.ws-text-button {
  display: inline-flex;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 17px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ws-primary-button {
  border: 1px solid #c90000;
  background: #c90000;
  color: #fff;
}

.ws-primary-button:hover {
  background: #a80000;
}

.ws-primary-button[disabled] {
  cursor: not-allowed;
  opacity: .5;
}

.ws-secondary-button {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #172033;
}

.ws-text-button {
  min-height: auto;
  border: 0;
  background: transparent;
  color: #64748b;
}

.ws-banner {
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.ws-banner-main {
  padding: 22px 25px;
  border-bottom: 1px solid #e5e7eb;
  background:
    linear-gradient(
      100deg,
      #fff 0%,
      #fff 70%,
      #fff1f1 100%
    );
}

.ws-banner-main h2 {
  margin: 0 0 5px;
  font-size: 1.45rem;
}

.ws-banner-main p {
  margin: 0;
  color: #64748b;
}

.ws-banner-data {
  display: grid;
  grid-template-columns:
    repeat(5, minmax(0, 1fr));
  margin: 0;
}

.ws-banner-data > div {
  padding: 14px 18px;
  border-right: 1px solid #e5e7eb;
}

.ws-banner-data > div:last-child {
  border-right: 0;
}

.ws-banner-data dt {
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ws-banner-data dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.ws-search-card {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  padding: 23px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background: #fff;
}

.ws-step-number,
.ws-summary-number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: #c90000;
  color: #fff;
  font-weight: 900;
}

.ws-search-content {
  flex: 1;
  min-width: 0;
}

.ws-section-title {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.ws-section-title span {
  color: #c90000;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ws-section-title h2 {
  margin: 4px 0 0;
}

.ws-section-title p {
  max-width: 530px;
  margin: 0;
  color: #64748b;
}

.ws-search-grid {
  display: grid;
  grid-template-columns:
    1fr 1fr 1.25fr auto;
  align-items: end;
  gap: 15px;
}

.ws-search-grid label,
.ws-form-grid label,
.ws-block-label,
.ws-authorization-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #334155;
  font-size: .88rem;
  font-weight: 800;
}

.ws-search-grid input,
.ws-search-grid select,
.ws-form-grid input,
.ws-form-grid select,
.ws-panel input,
.ws-panel select,
.ws-panel textarea,
.ws-list-tools input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
  color: #0f172a;
  font: inherit;
}

.ws-panel textarea {
  resize: vertical;
}

.ws-panel input[readonly] {
  border-color: #dbe2ea;
  background: #f1f5f9;
  color: #475569;
}

.ws-intro-card,
.ws-result,
.ws-continue-bar,
.ws-save-bar {
  margin-bottom: 20px;
  border-radius: 15px;
}

.ws-intro-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  padding: 20px 23px;
  border: 1px solid #bfdbfe;
  background: #f8fbff;
}

.ws-intro-card p {
  margin: 5px 0 0;
  color: #64748b;
}

.ws-intro-card ol {
  margin: 0;
  padding-left: 20px;
}

.ws-result {
  display: flex;
  gap: 14px;
  padding: 17px 20px;
}

.ws-result.success {
  border: 1px solid #86efac;
  background: #f0fdf4;
}

.ws-result.new {
  border: 1px solid #fcd34d;
  background: #fffbeb;
}

.ws-result-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
}

.ws-result p {
  margin: 4px 0;
}

.ws-result span {
  color: #475569;
}

.ws-panel {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #dce2e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .035);
}

.ws-panel.static {
  padding: 23px;
}

.ws-panel > summary {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  box-sizing: border-box;
  padding: 15px 20px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.ws-panel > summary::-webkit-details-marker {
  display: none;
}

.ws-panel[open] > summary {
  border-bottom: 1px solid #e5e7eb;
  background: #fcfcfd;
}

.ws-panel > summary > div {
  flex: 1;
}

.ws-panel > summary strong,
.ws-panel > summary small {
  display: block;
}

.ws-panel > summary strong {
  margin-bottom: 3px;
  color: #172033;
}

.ws-panel > summary small {
  color: #64748b;
}

.ws-panel-body {
  padding: 23px;
}

.ws-panel-heading {
  display: flex;
  gap: 15px;
  margin-bottom: 22px;
}

.ws-panel-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: #c90000;
  color: #fff;
  font-weight: 900;
}

.ws-panel-heading h2 {
  margin: 0 0 4px;
}

.ws-panel-heading p {
  margin: 0;
  color: #64748b;
}

.ws-two-columns {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ws-two-columns h3 {
  margin: 0 0 15px;
}

.ws-form-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ws-form-grid .span-2,
.span-2 {
  grid-column: span 2;
}

.ws-owner-question {
  margin: 22px 0 0;
  padding: 17px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #fafbfc;
}

.ws-owner-question legend {
  padding: 0 7px;
  font-weight: 900;
}

.ws-owner-question p {
  margin: 0 0 14px;
  color: #64748b;
}

.ws-owner-question > div {
  display: flex;
  gap: 28px;
}

.ws-owner-question label,
.ws-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.ws-owner-question input,
.ws-check-label input {
  width: auto;
  min-height: auto;
}

.ws-info-note,
.ws-lock-note,
.ws-plan-alert,
.ws-economic-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
}

.ws-info-note {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.ws-lock-note {
  border: 1px solid #dbe2ea;
  background: #f8fafc;
  color: #475569;
}

.ws-plan-alert {
  border: 1px solid #fcd34d;
  background: #fffbeb;
}

.ws-plan-alert p {
  margin: 4px 0 0;
}

.ws-fixed-service {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-left: 4px solid #c90000;
  background: #f8fafc;
}

.ws-fixed-service span,
.ws-fixed-service small {
  color: #64748b;
}

.ws-fixed-service strong {
  font-size: 1.04rem;
}

.ws-suggestion-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  background: #eff6ff;
}

.ws-status-chip,
.ws-count-chip,
.ws-summary-action {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 800;
}

.ws-status-chip {
  background: #fef2f2;
  color: #991b1b;
}

.ws-count-chip {
  background: #f1f5f9;
  color: #475569;
}

.ws-summary-action {
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #64748b;
}

.ws-table-wrap {
  overflow-x: auto;
}

.ws-table {
  width: 100%;
  border-collapse: collapse;
}

.ws-table th,
.ws-table td {
  padding: 11px;
  border: 1px solid #dbe2ea;
  text-align: left;
  vertical-align: middle;
}

.ws-table th {
  background: #f8fafc;
  color: #475569;
  font-size: .76rem;
  text-transform: uppercase;
}

.ws-table td {
  font-size: .87rem;
}

.ws-table input,
.ws-table select {
  min-width: 135px;
}

.ws-na {
  color: #94a3b8;
  font-size: .82rem;
}

.ws-row-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ws-block-label {
  margin-bottom: 17px;
}

.ws-subtitle {
  margin: 27px 0 16px;
  padding-top: 19px;
  border-top: 1px solid #e5e7eb;
}

.ws-authorization-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.ws-economic-box {
  border: 1px dashed #94a3b8;
  background: #f8fafc;
}

.ws-economic-box p {
  margin: 5px 0 0;
  color: #64748b;
}

.ws-signatures {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 65px;
  margin-top: 55px;
}

.ws-signatures > div {
  text-align: center;
}

.ws-signatures span {
  display: block;
  margin-bottom: 8px;
  border-top: 1px solid #334155;
}

.ws-signatures strong,
.ws-signatures small {
  display: block;
}

.ws-continue-bar,
.ws-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 23px;
  border: 1px solid #dce2e9;
  background: #fff;
}

.ws-continue-bar p,
.ws-save-bar p {
  margin: 4px 0 0;
  color: #64748b;
}

.ws-back-link {
  display: inline-block;
  margin: 8px 0 25px;
  color: #475569;
  font-weight: 800;
  text-decoration: none;
}

.ws-list-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
  padding: 24px 26px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background:
    linear-gradient(
      110deg,
      #fff 0%,
      #fff 70%,
      #fff1f1 100%
    );
}

.ws-list-hero h2 {
  margin: 0 0 7px;
}

.ws-list-hero p {
  margin: 0;
  color: #64748b;
}

.ws-metrics {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.ws-metrics article {
  padding: 18px 20px;
  border: 1px solid #dce2e9;
  border-radius: 14px;
  background: #fff;
}

.ws-metrics span,
.ws-metrics strong {
  display: block;
}

.ws-metrics span {
  margin-bottom: 5px;
  color: #64748b;
  font-size: .82rem;
}

.ws-metrics strong {
  font-size: 1.15rem;
}

.ws-list-tools,
.ws-list-card,
.ws-empty {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #dce2e9;
  border-radius: 16px;
  background: #fff;
}

.ws-list-tools form {
  width: min(100%, 650px);
}

.ws-list-tools label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.ws-list-tools form > div {
  display: flex;
  gap: 10px;
}

.ws-list-tools input {
  flex: 1;
}

.ws-empty {
  padding: 48px 25px;
  text-align: center;
}

.ws-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 17px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 900;
}

.ws-empty h2 {
  margin: 0 0 7px;
}

.ws-empty p {
  max-width: 600px;
  margin: 0 auto;
  color: #64748b;
}

@media (max-width: 1100px) {
  .ws-search-grid,
  .ws-form-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .ws-banner-data {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ws-list-hero,
  .ws-section-title,
  .ws-continue-bar,
  .ws-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .ws-search-card {
    flex-direction: column;
  }

  .ws-search-grid,
  .ws-form-grid,
  .ws-two-columns,
  .ws-banner-data,
  .ws-metrics,
  .ws-intro-card,
  .ws-authorization-grid,
  .ws-signatures {
    grid-template-columns: 1fr;
  }

  .ws-form-grid .span-2,
  .span-2 {
    grid-column: auto;
  }

  .ws-panel > summary {
    align-items: flex-start;
  }

  .ws-summary-action,
  .ws-count-chip,
  .ws-status-chip {
    display: none;
  }

  .ws-owner-question > div,
  .ws-row-controls,
  .ws-list-tools form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .ws-panel.static,
  .ws-panel-body,
  .ws-search-card {
    padding: 17px;
  }
}

/* HONDA_WORKSHOP_UI1B_END */

/* HONDA_WORKSHOP_UI1B_FIX2_START */

.ws-search-single {
  display: grid;
  grid-template-columns:
    minmax(280px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
}

.ws-search-single label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #334155;
  font-size: .88rem;
  font-weight: 800;
}

.ws-search-help {
  margin: 12px 0 0;
  color: #64748b;
  font-size: .84rem;
}

.ws-result.error {
  border: 1px solid #fca5a5;
  background: #fef2f2;
}

.ws-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ws-history-panel {
  margin-bottom: 20px;
}

.ws-history-tools {
  display: grid;
  grid-template-columns:
    minmax(280px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.ws-history-tools label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 800;
}

.ws-history-empty {
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.ws-history-empty p {
  margin: 7px 0 16px;
  color: #64748b;
}

#ws-registration {
  scroll-margin-top: 25px;
}

@media (max-width: 760px) {
  .ws-search-single,
  .ws-history-tools {
    grid-template-columns: 1fr;
  }

  .ws-result-actions {
    flex-direction: column;
  }
}

/* HONDA_WORKSHOP_UI1B_FIX2_END */

/* HONDA_WORKSHOP_V143_START */

.ws-search-single {
  display: grid;
  grid-template-columns:
    minmax(360px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
}

.ws-search-single label {
  min-width: 0;
}

.ws-search-card
.ws-search-single
input[type="text"] {
  display: block;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #b8c3d1;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 13px;
  color: #172033;
  font: inherit;
  font-size: .95rem;
  line-height: 1.25;
  appearance: none;
}

.ws-search-card
.ws-search-single
input[type="text"]:focus {
  border-color: #c90000;
  outline: 3px solid rgba(201, 0, 0, .10);
}

@media (max-width: 850px) {
  .ws-search-single {
    grid-template-columns: 1fr;
  }
}

/* HONDA_WORKSHOP_V143_END */

/* HONDA_WORKSHOP_V144_START */

.ws-registration-form .ws-two-columns {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  align-items: start;
}

.ws-registration-form
.ws-two-columns > div {
  min-width: 0;
}

.ws-registration-form .ws-form-grid {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ws-registration-form
.ws-form-grid .span-2 {
  grid-column: 1 / -1;
}

.ws-registration-form input,
.ws-registration-form select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ws-registration-form select {
  padding-right: 34px;
  text-overflow: ellipsis;
}

.ws-registration-form label {
  min-width: 0;
}

@media (max-width: 1180px) {
  .ws-registration-form .ws-two-columns {
    grid-template-columns: 1fr;
  }

  .ws-registration-form
  .ws-two-columns > div + div {
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
  }
}

@media (max-width: 700px) {
  .ws-registration-form .ws-form-grid {
    grid-template-columns: 1fr;
  }

  .ws-registration-form
  .ws-form-grid .span-2 {
    grid-column: auto;
  }

  .ws-registration-form .ws-panel.static {
    padding: 16px;
  }
}

/* HONDA_WORKSHOP_V144_END */

/* HONDA_OPERATIONS_V150_START */

.ops-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #b91c1c;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ops-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
  padding: 25px 27px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background:
    linear-gradient(
      110deg,
      #fff 0%,
      #fff 72%,
      #fff1f1 100%
    );
}

.ops-hero h2 {
  margin: 0 0 7px;
}

.ops-hero p {
  max-width: 720px;
  margin: 0;
  color: #64748b;
}

.ops-access-badge,
.ops-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fef2f2;
  color: #991b1b;
  font-size: .78rem;
  font-weight: 800;
}

.ops-metrics {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.ops-metrics article {
  padding: 18px 20px;
  border: 1px solid #dce2e9;
  border-radius: 14px;
  background: #fff;
}

.ops-metrics span,
.ops-metrics strong {
  display: block;
}

.ops-metrics span {
  margin-bottom: 5px;
  color: #64748b;
  font-size: .82rem;
}

.ops-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 20px;
  padding: 15px 18px;
  overflow-x: auto;
  border: 1px solid #dce2e9;
  border-radius: 13px;
  background: #fff;
  color: #475569;
  white-space: nowrap;
}

.ops-flow span {
  padding: 7px 10px;
  border-radius: 8px;
  background: #f8fafc;
  font-weight: 800;
}

.ops-empty,
.ops-table-card {
  margin-bottom: 22px;
  padding: 23px;
  border: 1px solid #dce2e9;
  border-radius: 16px;
  background: #fff;
}

.ops-empty {
  padding: 52px 25px;
  text-align: center;
}

.ops-empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 18px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 900;
}

.ops-empty h2 {
  margin: 0 0 7px;
}

.ops-empty p {
  max-width: 620px;
  margin: 0 auto;
  color: #64748b;
}

.ops-table-wrap {
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
}

.ops-table th,
.ops-table td {
  padding: 11px;
  border: 1px solid #dbe2ea;
  text-align: left;
  vertical-align: middle;
}

.ops-table th {
  background: #f8fafc;
  color: #475569;
  font-size: .76rem;
  text-transform: uppercase;
}

.ops-table td {
  font-size: .87rem;
}

@media (max-width: 850px) {
  .ops-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-metrics {
    grid-template-columns: 1fr;
  }

  .ops-flow {
    justify-content: flex-start;
  }
}

/* HONDA_OPERATIONS_V150_END */

/* HONDA_NAVIGATION_UI2_START */

.sidebar-group-label {
  margin: 22px 10px 8px;
  color: #7f8a99;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-organized-intro {
  margin-bottom: 22px;
  padding: 24px 26px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background:
    linear-gradient(
      110deg,
      #ffffff 0%,
      #ffffff 70%,
      #fff1f1 100%
    );
}

.home-organized-intro span,
.home-group-kicker {
  display: block;
  margin-bottom: 6px;
  color: #b91c1c;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-organized-intro h2 {
  margin: 0 0 7px;
}

.home-organized-intro p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
}

.home-module-group {
  margin-bottom: 25px;
}

.home-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 13px;
}

.home-group-heading h2 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}

.home-group-heading p {
  margin: 0;
  color: #64748b;
}

.home-group-count {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: .75rem;
  font-weight: 800;
}

.home-module-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.home-module-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  min-height: 118px;
  border: 1px solid #dce2e9;
  border-radius: 15px;
  padding: 18px;
  background: #ffffff;
  color: #172033;
  text-decoration: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.home-module-card:hover {
  border-color: #e7a6a6;
  box-shadow:
    0 10px 24px
    rgba(15, 23, 42, .07);
  transform: translateY(-2px);
}

.home-module-code {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: .76rem;
  font-weight: 900;
}

.home-module-content {
  min-width: 0;
  flex: 1;
}

.home-module-content strong,
.home-module-content small {
  display: block;
}

.home-module-content strong {
  margin-bottom: 5px;
  font-size: .98rem;
}

.home-module-content small {
  color: #64748b;
  line-height: 1.45;
}

.home-module-arrow {
  flex: 0 0 auto;
  color: #c90000;
  font-size: 1.05rem;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .home-module-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-group-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-module-grid {
    grid-template-columns: 1fr;
  }

  .home-module-card {
    min-height: auto;
  }

  .sidebar-group-label {
    margin-top: 18px;
  }
}

/* HONDA_NAVIGATION_UI2_END */

/* HONDA_MOTORCYCLES_V152_START */

.moto-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #b91c1c;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.moto-hero,
.moto-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
  padding: 25px 27px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background:
    linear-gradient(
      110deg,
      #fff 0%,
      #fff 72%,
      #fff1f1 100%
    );
}

.moto-hero h2,
.moto-detail-hero h2 {
  margin: 0 0 7px;
}

.moto-hero p,
.moto-detail-hero p {
  margin: 0;
  color: #64748b;
}

.moto-access-badge,
.moto-status,
.moto-history-count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fef2f2;
  color: #991b1b;
  font-size: .77rem;
  font-weight: 800;
}

.moto-metrics {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.moto-metrics article {
  padding: 18px 20px;
  border: 1px solid #dce2e9;
  border-radius: 14px;
  background: #fff;
}

.moto-metrics span,
.moto-metrics strong {
  display: block;
}

.moto-metrics span {
  margin-bottom: 5px;
  color: #64748b;
  font-size: .82rem;
}

.moto-search-card,
.moto-table-card,
.moto-empty,
.moto-history-section {
  margin-bottom: 20px;
  padding: 21px;
  border: 1px solid #dce2e9;
  border-radius: 16px;
  background: #fff;
}

.moto-search-card form {
  display: grid;
  grid-template-columns:
    minmax(300px, 1fr) auto auto;
  align-items: end;
  gap: 11px;
}

.moto-search-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 800;
}

.moto-search-card input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
}

.moto-search-card button,
.moto-search-card a,
.moto-detail-link,
.moto-access-denied a {
  display: inline-flex;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 10px 15px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.moto-search-card button,
.moto-access-denied a {
  border-color: #c90000;
  background: #c90000;
  color: #fff;
}

.moto-table-wrap {
  overflow-x: auto;
}

.moto-table {
  width: 100%;
  border-collapse: collapse;
}

.moto-table th,
.moto-table td {
  padding: 11px;
  border: 1px solid #dbe2ea;
  text-align: left;
  vertical-align: middle;
}

.moto-table th {
  background: #f8fafc;
  color: #475569;
  font-size: .75rem;
  text-transform: uppercase;
}

.moto-table td {
  font-size: .87rem;
}

.moto-detail-link {
  min-height: 36px;
  white-space: nowrap;
}

.moto-empty {
  padding: 50px 25px;
  text-align: center;
}

.moto-empty-icon,
.moto-denied-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 18px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 900;
}

.moto-empty h2,
.moto-access-denied h2 {
  margin: 0 0 7px;
}

.moto-empty p,
.moto-history-empty p,
.moto-access-denied p {
  margin: 0;
  color: #64748b;
}

.moto-mileage-badge {
  min-width: 180px;
  padding: 14px 17px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff;
}

.moto-mileage-badge span,
.moto-mileage-badge strong {
  display: block;
}

.moto-mileage-badge span {
  margin-bottom: 5px;
  color: #64748b;
  font-size: .77rem;
}

.moto-detail-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 20px;
}

.moto-detail-grid article {
  padding: 22px;
  border: 1px solid #dce2e9;
  border-radius: 16px;
  background: #fff;
}

.moto-detail-grid h3 {
  margin: 0 0 17px;
}

.moto-detail-grid dl,
.moto-timeline-card dl,
.moto-owners-list dl {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.moto-detail-grid dl > div,
.moto-timeline-card dl > div,
.moto-owners-list dl > div {
  padding: 12px;
  border-radius: 9px;
  background: #f8fafc;
}

.moto-detail-grid dt,
.moto-timeline-card dt,
.moto-owners-list dt {
  color: #64748b;
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.moto-detail-grid dd,
.moto-timeline-card dd,
.moto-owners-list dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.moto-history-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.moto-history-section h2 {
  margin: 0 0 5px;
}

.moto-history-section p {
  margin: 0;
  color: #64748b;
}

.moto-history-empty {
  padding: 35px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.moto-history-empty strong {
  display: block;
  margin-bottom: 6px;
}

.moto-owners-list {
  display: grid;
  gap: 13px;
}

.moto-owners-list article {
  padding: 17px;
  border: 1px solid #dce2e9;
  border-radius: 12px;
}

.moto-owners-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}

.moto-owners-list header span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #f1f5f9;
  color: #475569;
  font-size: .74rem;
  font-weight: 800;
}

.moto-owners-list header span.current {
  background: #f0fdf4;
  color: #166534;
}

.moto-timeline {
  position: relative;
  padding-left: 24px;
}

.moto-timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  background: #fecaca;
  content: "";
}

.moto-timeline > article {
  position: relative;
  margin-bottom: 17px;
}

.moto-timeline-marker {
  position: absolute;
  top: 20px;
  left: -23px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c90000;
  box-shadow: 0 0 0 1px #fecaca;
}

.moto-timeline-card {
  padding: 18px;
  border: 1px solid #dce2e9;
  border-radius: 13px;
  background: #fff;
}

.moto-timeline-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.moto-timeline-card header strong,
.moto-timeline-card header span {
  display: block;
}

.moto-timeline-card header > div > span {
  margin-top: 4px;
  color: #64748b;
  font-size: .8rem;
}

.moto-clinical-note {
  margin-top: 13px;
  padding: 13px;
  border-left: 3px solid #c90000;
  background: #f8fafc;
}

.moto-clinical-note p {
  margin: 5px 0 0;
  color: #475569;
}

.moto-back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #475569;
  font-weight: 800;
  text-decoration: none;
}

.moto-access-denied {
  max-width: 650px;
  margin: 50px auto;
  padding: 45px 30px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.moto-access-denied a {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .moto-metrics,
  .moto-detail-grid {
    grid-template-columns: 1fr;
  }

  .moto-search-card form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .moto-hero,
  .moto-detail-hero,
  .moto-history-section > header,
  .moto-timeline-card header,
  .moto-owners-list header {
    align-items: stretch;
    flex-direction: column;
  }

  .moto-mileage-badge {
    min-width: 0;
  }

  .moto-detail-grid dl,
  .moto-timeline-card dl,
  .moto-owners-list dl {
    grid-template-columns: 1fr;
  }
}

/* HONDA_MOTORCYCLES_V152_END */


/* HONDA_RECEPTION_STYLE_V154 */

.reception-save-feedback {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #dce2e9;
  border-radius: 14px;
  background: #fff;
}

.reception-save-feedback strong {
  display: block;
  margin-bottom: 5px;
}

.reception-save-feedback p {
  margin: 0;
}

.reception-save-feedback a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  text-decoration: none;
}

.reception-save-feedback.is-success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.reception-save-feedback.is-success a {
  color: #166534;
}

.reception-save-feedback.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

/* HONDA_REGISTRATION_STYLE_V155 */

.ws-registration-guidance {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a5f;
}

.ws-registration-guidance strong {
  display: block;
  margin-bottom: 4px;
}

.ws-registration-guidance p {
  margin: 0;
}

.ws-registration-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

/* HONDA_RECEPTION_FIX1_STYLE */

.ws-owner-delivery-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 13px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 11px;
  background: #eff6ff;
  font-weight: 700;
  color: #1e3a5f;
}

.ws-owner-delivery-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.ws-validation-summary {
  margin-bottom: 18px;
  padding: 17px 19px;
  border: 1px solid #fca5a5;
  border-radius: 13px;
  background: #fef2f2;
  color: #991b1b;
}

.ws-validation-summary strong {
  display: block;
  margin-bottom: 8px;
}

.ws-validation-summary ul {
  margin: 0;
  padding-left: 21px;
}

.ws-field-error {
  border-color: #dc2626 !important;
  background: #fff7f7;
}

.ws-inline-error {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-weight: 700;
}

.reception-save-feedback p {
  white-space: pre-line;
}

/* HONDA_DELIVERY_OWNER_STYLE_FIX2 */

.ws-owner-delivery-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 6px;
  padding: 13px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 11px;
  background: #eff6ff;
  font-weight: 700;
  color: #1e3a5f;
  cursor: pointer;
}

.ws-owner-delivery-toggle input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.ws-delivery-owner-help {
  margin: 0 0 15px;
  color: #64748b;
  font-size: 0.9rem;
}

.ws-owner-delivery-toggle:has(
  input[name="delivery_is_owner"]:checked
) ~ .ws-delivery-person-fields {
  display: none;
}

/* HONDA_FOLLOWUP_V156A_STYLE */

.followup-success-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #86efac;
  border-radius: 14px;
  background: #f0fdf4;
  color: #166534;
}

.followup-success-banner p {
  margin: 5px 0 0;
}

.followup-success-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #166534;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.followup-order-card,
.followup-document-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #dbe2ea;
  border-radius: 15px;
  background: #fff;
}

.followup-order-heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.followup-order-heading h2 {
  margin: 3px 0;
  font-size: 1.75rem;
}

.followup-order-heading p {
  margin: 0;
  color: #64748b;
}

.followup-current-state {
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fef2f2;
  text-align: right;
}

.followup-current-state span,
.followup-current-state small {
  display: block;
  color: #64748b;
}

.followup-current-state strong {
  display: block;
  margin: 4px 0;
  color: #b91c1c;
  font-size: 1.05rem;
}

.followup-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.followup-progress li {
  min-width: 90px;
  padding: 12px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  text-align: center;
}

.followup-progress li span {
  display: grid;
  width: 25px;
  height: 25px;
  margin: 0 auto 6px;
  place-items: center;
  border-radius: 50%;
  background: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 800;
}

.followup-progress li.is-active {
  border-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
}

.followup-progress li.is-active span {
  background: #dc2626;
  color: #fff;
}

.followup-progress li.is-complete {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.followup-progress li.is-complete span {
  background: #166534;
  color: #fff;
}

.followup-summary-grid,
.followup-counts {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.followup-counts {
  grid-template-columns:
    repeat(4, minmax(130px, 1fr));
  margin-top: 12px;
}

.followup-detail-item {
  padding: 13px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.followup-detail-item span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.86rem;
}

.followup-detail-item strong {
  display: block;
}

.followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 17px;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #fff;
}

.followup-document-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 14px;
  margin: 14px 0 0;
}

.followup-document-card dl div {
  display: contents;
}

.followup-document-card dt {
  color: #64748b;
}

.followup-document-card dd {
  margin: 0;
  font-weight: 700;
}

.followup-hash {
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 0.8rem;
}

.followup-information-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.followup-description-list {
  margin: 15px 0 0;
}

.followup-description-list div {
  padding: 11px 0;
  border-top: 1px solid #e2e8f0;
}

.followup-description-list dt {
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.86rem;
}

.followup-description-list dd {
  margin: 0;
  white-space: pre-line;
}

.followup-timeline {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.followup-timeline li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  padding: 0 0 18px;
}

.followup-timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: #dc2626;
}

.followup-timeline p {
  margin: 4px 0;
  color: #475569;
}

.followup-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.followup-search-form label span {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.followup-search-form input {
  width: 100%;
}

@media (max-width: 900px) {
  .followup-order-heading,
  .followup-information-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .followup-current-state {
    text-align: left;
  }

  .followup-summary-grid,
  .followup-counts {
    grid-template-columns:
      repeat(2, minmax(130px, 1fr));
  }

  .followup-search-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .followup-summary-grid,
  .followup-counts {
    grid-template-columns: 1fr;
  }

  .followup-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* HONDA_FOLLOWUP_V156A_FIX1_UI1 */

.followup-order-card {
  position: relative !important;
  margin-bottom: 20px !important;
  padding: 26px !important;
  overflow: hidden !important;
  border: 1px solid #dce3eb !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07) !important;
}

.followup-order-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: #d50000;
  content: "";
}

.followup-order-heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 22px !important;
}

.followup-order-heading h2 {
  margin: 4px 0 7px !important;
  color: #111827 !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  line-height: 1.05 !important;
}

.followup-order-heading p {
  margin: 0 !important;
  color: #64748b !important;
}

.followup-current-state {
  flex: 0 0 220px !important;
  padding: 15px 17px !important;
  border: 1px solid #fecaca !important;
  border-radius: 13px !important;
  background: #fff7f7 !important;
  text-align: left !important;
}

.followup-current-state span,
.followup-current-state small {
  display: block !important;
  color: #64748b !important;
  font-size: .82rem !important;
}

.followup-current-state strong {
  display: block !important;
  margin: 5px 0 !important;
  color: #b91c1c !important;
  font-size: 1.08rem !important;
}

.followup-progress {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(105px, 1fr)) !important;
  gap: 9px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  overflow-x: auto !important;
  list-style: none !important;
}

.followup-progress li {
  min-width: 105px !important;
  margin: 0 !important;
  padding: 13px 9px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 11px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  text-align: center !important;
  list-style: none !important;
}

.followup-progress li::marker,
.followup-timeline li::marker {
  content: "" !important;
}

.followup-progress li span {
  display: grid !important;
  width: 27px !important;
  height: 27px !important;
  margin: 0 auto 7px !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #e2e8f0 !important;
  font-weight: 900 !important;
}

.followup-progress li.is-complete {
  border-color: #86efac !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
}

.followup-progress li.is-complete span {
  background: #166534 !important;
  color: #fff !important;
}

.followup-progress li.is-active {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.followup-progress li.is-active span {
  background: #dc2626 !important;
  color: #fff !important;
}

.followup-summary-grid,
.followup-counts {
  display: grid !important;
  gap: 12px !important;
}

.followup-summary-grid {
  grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
}

.followup-counts {
  grid-template-columns: repeat(4, minmax(130px, 1fr)) !important;
  margin-top: 12px !important;
}

.followup-detail-item {
  min-height: 76px !important;
  padding: 14px 15px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 11px !important;
  background: #f8fafc !important;
}

.followup-detail-item span {
  display: block !important;
  margin-bottom: 5px !important;
  color: #64748b !important;
  font-size: .79rem !important;
  font-weight: 600 !important;
}

.followup-detail-item strong {
  display: block !important;
  color: #111827 !important;
}

.followup-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  padding: 16px !important;
  border: 1px solid #dce3eb !important;
  border-radius: 15px !important;
  background: #fff !important;
}

.followup-actions a {
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
}

.followup-actions a:first-child {
  border-color: #d50000 !important;
  background: #d50000 !important;
  color: #fff !important;
}

.followup-information-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.followup-information-grid > .workspace-card {
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid #dce3eb !important;
  border-radius: 15px !important;
  background: #fff !important;
}

.followup-description-list > div {
  padding: 12px 0 !important;
  border-top: 1px solid #edf1f5 !important;
}

.followup-description-list > div:first-child {
  padding-top: 0 !important;
  border-top: 0 !important;
}

.followup-description-list dt {
  margin-bottom: 4px !important;
  color: #64748b !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
}

.followup-description-list dd {
  margin: 0 !important;
  color: #111827 !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.followup-timeline {
  position: relative !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.followup-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 22px;
  left: 6px;
  width: 2px;
  background: #e2e8f0;
  content: "";
}

.followup-timeline li {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  gap: 12px !important;
  padding-bottom: 21px !important;
  list-style: none !important;
}

.followup-timeline-dot {
  position: relative !important;
  z-index: 1 !important;
  width: 14px !important;
  height: 14px !important;
  margin-top: 4px !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #dc2626 !important;
  box-shadow: 0 0 0 2px #dc2626 !important;
}

@media (max-width: 900px) {
  .followup-order-heading {
    display: grid !important;
  }

  .followup-current-state {
    width: auto !important;
  }

  .followup-summary-grid,
  .followup-counts,
  .followup-information-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .followup-order-card {
    padding: 20px !important;
  }

  .followup-summary-grid,
  .followup-counts,
  .followup-information-grid {
    grid-template-columns: 1fr !important;
  }

  .followup-actions {
    display: grid !important;
  }

  .followup-actions a {
    width: 100% !important;
  }
}


/* HONDA_FOLLOWUP_CONTEXTUAL_V157A */

.ws-search-single {
  grid-template-columns:
    minmax(360px, 1fr) auto;
}

.ws-search-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ws-followup-button {
  border-color: #c90000;
  color: #b91c1c;
}

.ws-followup-button:hover {
  background: #fff1f1;
}

@media (max-width: 1100px) {
  .ws-search-single {
    grid-template-columns: 1fr;
  }

  .ws-search-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .ws-search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ws-search-actions > * {
    width: 100%;
  }
}


/* HONDA_FOLLOWUP_CONTEXTUAL_V157A_UI */

.section-card-content {
  min-width: 0;
}

.section-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.section-card-actions a {
  min-height: 42px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 9px 13px;
  text-decoration: none;
}

.section-card-primary-action {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-card-secondary-action {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155 !important;
}

.section-card-secondary-action:hover {
  border-color: #c90000;
  background: #fff5f5;
  color: #b91c1c !important;
}

.followup-search-form-contextual {
  grid-template-columns:
    minmax(280px, 1fr)
    minmax(220px, .55fr)
    auto;
}

.followup-search-form-contextual label {
  min-width: 0;
}

.followup-search-form-contextual select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  padding: 9px 36px 9px 12px;
  color: #172033;
  font: inherit;
}

.followup-search-form-contextual select:focus {
  border-color: #c90000;
  outline: 3px solid rgba(201, 0, 0, .10);
}

.followup-search-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.followup-results-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.followup-results-heading h2 {
  margin: 0;
}

.followup-results-heading p {
  margin: 5px 0 0;
  color: #64748b;
}

@media (max-width: 1100px) {
  .followup-search-form-contextual {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(220px, .65fr);
  }

  .followup-search-form-contextual
  .followup-search-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section-card-actions,
  .followup-search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-card-actions a,
  .followup-search-actions > * {
    width: 100%;
  }

  .section-card-primary-action {
    padding: 10px 13px !important;
    border: 1px solid #c90000;
    background: #c90000;
    color: #fff !important;
  }

  .followup-search-form-contextual {
    grid-template-columns: 1fr;
  }

  .followup-search-form-contextual
  .followup-search-actions {
    grid-column: auto;
  }

  .followup-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* HONDA A3-1 WORKSHOP OPERATIVE CARDS */

.workshop-ops-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
}

.workshop-ops-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary, #c8102e);
}

.workshop-ops-hero h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.workshop-ops-hero p {
  margin: 8px 0 0;
  color: #5f6672;
}

.workshop-ops-total {
  min-width: 130px;
  text-align: center;
  padding: 14px 18px;
  background: #f7f8fa;
  border-radius: 16px;
}

.workshop-ops-total strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.workshop-ops-total span {
  display: block;
  margin-top: 7px;
  font-size: 0.82rem;
  color: #5f6672;
}

.workshop-ops-metrics {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.workshop-ops-metrics article {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
}

.workshop-ops-metrics span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
}

.workshop-ops-metrics strong {
  font-size: 1.25rem;
}

.workshop-ops-toolbar {
  position: sticky;
  top: 10px;
  z-index: 5;
  padding: 12px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.workshop-ops-search-label {
  display: block;
  margin: 0 0 7px 3px;
  font-size: 0.8rem;
  font-weight: 800;
}

.workshop-ops-search {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  font: inherit;
  font-size: 1rem;
  border: 1px solid #cfd4dc;
  border-radius: 13px;
  background: #ffffff;
}

.workshop-ops-search:focus {
  outline: 3px solid
    rgba(200, 16, 46, 0.13);
  border-color:
    var(--brand-primary, #c8102e);
}

.workshop-ot-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(330px, 1fr)
    );
  gap: 16px;
}

.workshop-ot-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e1e4e9;
  border-top: 4px solid
    var(--brand-primary, #c8102e);
  border-radius: 18px;
  box-shadow:
    0 8px 22px
    rgba(20, 24, 32, 0.06);
}

.workshop-ot-card[hidden] {
  display: none;
}

.workshop-ot-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.workshop-ot-number {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5f6672;
}

.workshop-ot-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef3f8;
  font-size: 0.82rem;
  font-weight: 800;
  color: #263444;
}

.workshop-ot-status[data-status="reception"] {
  background: #eaf3ff;
  color: #234f7d;
}

.workshop-ot-identity {
  margin-bottom: 18px;
}

.workshop-ot-identity strong {
  display: block;
  font-size: clamp(
    1.75rem,
    4vw,
    2.35rem
  );
  line-height: 1;
  letter-spacing: 0.02em;
}

.workshop-ot-identity span {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #525b68;
}

.workshop-ot-data {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.workshop-ot-data > div {
  padding: 11px 12px;
  background: #f7f8fa;
  border-radius: 12px;
}

.workshop-ot-data span,
.workshop-ot-owner span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
}

.workshop-ot-data strong {
  display: block;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.workshop-ot-owner {
  padding: 11px 12px;
  margin-bottom: 16px;
  border: 1px solid #eceef1;
  border-radius: 12px;
}

.workshop-ot-owner strong {
  display: block;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.workshop-ot-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 13px;
  background:
    var(--brand-primary, #c8102e);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.workshop-ot-open:hover,
.workshop-ot-open:focus-visible {
  filter: brightness(0.92);
  color: #ffffff;
}

.workshop-ops-empty,
.workshop-ops-filter-empty {
  padding: 36px 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  text-align: center;
}

.workshop-ops-empty-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 16px;
  background:
    var(--brand-primary, #c8102e);
  color: #ffffff;
  font-weight: 900;
}

.workshop-ops-empty h2 {
  margin: 0;
}

.workshop-ops-empty p {
  margin: 8px 0 0;
  color: #626b77;
}

.workshop-ops-filter-empty[hidden] {
  display: none;
}

.workshop-ops-filter-empty strong,
.workshop-ops-filter-empty span {
  display: block;
}

.workshop-ops-filter-empty span {
  margin-top: 6px;
  color: #626b77;
}

@media (max-width: 900px) {
  .workshop-ops-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .workshop-ot-grid {
    grid-template-columns:
      repeat(
        auto-fit,
        minmax(300px, 1fr)
      );
  }
}

@media (max-width: 650px) {
  .workshop-ops-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .workshop-ops-total {
    width: 100%;
  }

  .workshop-ops-toolbar {
    top: 6px;
  }

  .workshop-ot-grid {
    grid-template-columns: 1fr;
  }

  .workshop-ot-card {
    padding: 17px;
  }

  .workshop-ot-data {
    grid-template-columns: 1fr 1fr;
  }

  .workshop-ot-open,
  .workshop-ops-search {
    min-height: 58px;
  }
}

@media (max-width: 420px) {
  .workshop-ops-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .workshop-ot-data {
    grid-template-columns: 1fr;
  }
}

/* END HONDA A3-1 WORKSHOP OPERATIVE CARDS */

/* HONDA A4-1-FIX1 ADMIN ACTION DASHBOARD */

.home-workspace-hero {
  padding: 20px 22px;
  margin-bottom: 22px;
  background: #ffffff;
  border: 1px solid #e2e6eb;
  border-radius: 18px;
}

.home-workspace-hero > span {
  display: block;
  margin-bottom: 5px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red, #c8102e);
}

.home-workspace-hero h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.home-workspace-hero p {
  margin: 7px 0 0;
  color: #66707c;
}

.home-action-section {
  margin-bottom: 28px;
}

.home-action-heading {
  margin-bottom: 11px;
}

.home-action-heading > span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #727b87;
}

.home-action-heading h2 {
  margin: 0;
  font-size: 1.15rem;
}

.home-action-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(230px, 1fr)
    );
  gap: 12px;
}

.home-action-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 14px 15px;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 15px;
  color: #181b20;
  text-decoration: none;
  box-shadow:
    0 4px 14px
    rgba(15, 20, 28, 0.04);
}

.home-action-card:hover,
.home-action-card:focus-visible {
  border-color:
    var(--brand-red, #c8102e);
  box-shadow:
    0 7px 18px
    rgba(15, 20, 28, 0.08);
  color: #181b20;
}

.home-action-card.is-primary {
  border: 2px solid
    var(--brand-red, #c8102e);
}

.home-action-code {
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f2f5;
  font-size: 0.72rem;
  font-weight: 900;
}

.home-action-card.is-primary
.home-action-code {
  background:
    var(--brand-red, #c8102e);
  color: #ffffff;
}

.home-action-main {
  flex: 1 1 auto;
  min-width: 0;
}

.home-action-main strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.96rem;
  line-height: 1.2;
}

.home-action-main small {
  display: block;
  color: #68717d;
  font-size: 0.78rem;
  line-height: 1.3;
}

.home-action-arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 800;
  color:
    var(--brand-red, #c8102e);
}

@media (max-width: 900px) {
  .home-action-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .home-action-card {
    min-height: 86px;
  }
}

@media (max-width: 600px) {
  .home-workspace-hero {
    padding: 17px;
  }

  .home-action-grid {
    grid-template-columns: 1fr;
  }

  .home-action-card {
    min-height: 72px;
  }
}

/* END HONDA A4-1-FIX1 ADMIN ACTION DASHBOARD */

/* HONDA A4-2 TABLET NAVIGATION */

.tablet-nav-toggle,
.tablet-nav-close,
.tablet-nav-backdrop {
  display: none;
}

@media (max-width: 1100px) {
  body.nav-open {
    overflow: hidden;
  }

  .app-shell {
    display: block;
    min-height: 100vh;
  }

  .main {
    width: 100%;
    min-width: 0;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1101;
    width: min(320px, 88vw);
    height: 100dvh;
    min-height: 0;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-105%);
    visibility: hidden;
    transition:
      transform 0.2s ease,
      visibility 0.2s ease;
    box-shadow:
      18px 0 45px
      rgba(0, 0, 0, 0.28);
  }

  .sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .sidebar-brand {
    padding: 0 8px 16px;
  }

  .sidebar-nav {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-top: 13px;
  }

  .nav-item {
    min-height: 52px;
    padding: 10px 12px;
  }

  .sidebar-note {
    display: none;
  }

  .tablet-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 46px;
    margin: 0 0 15px;
    border: 1px solid
      rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    background:
      rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
  }

  .tablet-nav-close span {
    font-size: 1.25rem;
    line-height: 1;
  }

  .tablet-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 94px;
    min-height: 46px;
    padding: 8px 13px;
    border: 1px solid #d7dce2;
    border-radius: 11px;
    background: #ffffff;
    color: #181b20;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
  }

  .tablet-nav-toggle-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

  .tablet-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background:
      rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  body.nav-open
  .tablet-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    min-height: 66px;
    padding: 10px 16px;
    gap: 12px;
  }

  .topbar > div:first-of-type {
    flex: 1 1 auto;
    min-width: 0;
  }

  .user-menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .user-summary {
    display: none;
  }

  .logout-button {
    min-height: 44px;
  }

  .content {
    width: 100%;
    max-width: 1220px;
    padding: 20px 18px 48px;
  }

  .page-header {
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .topbar {
    min-height: 62px;
    padding: 8px 11px;
  }

  .tablet-nav-toggle {
    min-width: 84px;
    min-height: 44px;
    padding: 7px 10px;
  }

  .content {
    padding:
      16px 13px 40px;
  }

  .logout-button {
    min-height: 42px;
    padding: 7px 9px;
  }

  .sidebar {
    width: min(304px, 90vw);
  }
}

/* END HONDA A4-2 TABLET NAVIGATION */

/* HONDA A5-2B COMPACT WORKSHOP QUEUE */

.workshop-compact-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 6px 11px;
  margin-bottom: 8px;
  border: 1px solid #e2e6eb;
  border-radius: 11px;
  background: #fff;
}

.workshop-compact-summary > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.workshop-compact-summary strong {
  font-size: 1rem;
}

.workshop-compact-summary span {
  color: #68717d;
  font-size: .76rem;
}

.workshop-compact-toolbar {
  top: 72px;
  padding: 7px;
  margin-bottom: 9px;
  border-radius: 11px;
}

.workshop-compact-toolbar
.workshop-ops-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.workshop-compact-toolbar
.workshop-ops-search {
  min-height: 45px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: .94rem;
}

.workshop-compact-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(205px, 1fr)
    );
  gap: 8px;
}

.workshop-compact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 108px;
  padding: 10px 11px 8px;
  border: 1px solid #dfe3e8;
  border-left: 4px solid
    var(--brand-primary, #c8102e);
  border-radius: 11px;
  background: #fff;
  color: #171a1f;
  text-decoration: none;
  box-shadow:
    0 2px 6px
    rgba(20,24,32,.04);
}

.workshop-compact-card:hover,
.workshop-compact-card:focus-visible {
  border-color:
    var(--brand-primary, #c8102e);
  color: #171a1f;
}

.workshop-compact-card[hidden] {
  display: none;
}

.workshop-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.workshop-compact-plate {
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
}

.workshop-compact-status {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef3f8;
  color: #344252;
  font-size: .62rem;
  font-weight: 800;
}

.workshop-compact-status[
  data-status="reception"
] {
  background: #eaf3ff;
  color: #234f7d;
}

.workshop-compact-review {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.workshop-compact-review span {
  color: #737b86;
  font-size: .67rem;
}

.workshop-compact-review strong {
  font-size: .94rem;
}

.workshop-compact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #eef0f2;
}

.workshop-compact-footer span {
  color: #858d97;
  font-size: .62rem;
  font-weight: 700;
}

.workshop-compact-footer strong {
  color:
    var(--brand-primary, #c8102e);
  font-size: .74rem;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .workshop-compact-grid {
    grid-template-columns:
      repeat(
        auto-fill,
        minmax(190px, 1fr)
      );
  }
}

@media (max-width: 600px) {
  .workshop-compact-toolbar {
    top: 64px;
  }

  .workshop-compact-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .workshop-compact-card {
    min-height: 104px;
    padding: 9px;
  }

  .workshop-compact-plate {
    font-size: 1.12rem;
  }

  .workshop-compact-status {
    padding: 0 5px;
    font-size: .57rem;
  }

  .workshop-compact-footer span {
    display: none;
  }
}

@media (max-width: 370px) {
  .workshop-compact-grid {
    grid-template-columns: 1fr;
  }
}

/* END HONDA A5-2B COMPACT WORKSHOP QUEUE */

/* HONDA A6-3 PARTS REQUEST QUEUE */

.parts-queue-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.parts-queue-summary > div {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid #e2e6eb;
  border-radius: 10px;
  background: #fff;
}

.parts-queue-summary strong {
  font-size: 1rem;
}

.parts-queue-summary span {
  color: #68717d;
  font-size: .73rem;
}

.parts-queue-summary
.parts-queue-summary-alert {
  border-color: #f1d19b;
  background: #fff8e8;
}

.parts-queue-toolbar {
  top: 72px;
  padding: 7px;
  margin-bottom: 9px;
  border-radius: 11px;
}

.parts-queue-toolbar
.workshop-ops-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.parts-queue-toolbar
.workshop-ops-search {
  min-height: 45px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: .94rem;
}

.parts-queue-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(220px, 1fr)
    );
  gap: 8px;
}

.parts-queue-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 132px;
  padding: 10px 11px 9px;
  border: 1px solid #dfe3e8;
  border-left: 4px solid
    var(--brand-primary, #c8102e);
  border-radius: 11px;
  background: #fff;
  box-shadow:
    0 2px 6px
    rgba(20,24,32,.04);
}

.parts-queue-card[hidden] {
  display: none;
}

.parts-queue-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.parts-queue-plate {
  font-size: 1.22rem;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
}

.parts-queue-type {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e9eef4;
  color: #394858;
  font-size: .59rem;
  font-weight: 900;
}

.parts-queue-type[
  data-request-type="additional"
] {
  background: #fff1dc;
  color: #89520b;
}

.parts-queue-title {
  margin-top: 9px;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25;
}

.parts-queue-review {
  display: flex;
  gap: 5px;
  align-items: baseline;
  margin-top: 6px;
  color: #727b86;
  font-size: .67rem;
}

.parts-queue-review strong {
  color: #303945;
  font-size: .8rem;
}

.parts-queue-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: #858d97;
  font-size: .62rem;
  font-weight: 700;
}

.parts-queue-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #eef0f2;
}

.parts-queue-status {
  color:
    var(--brand-primary, #c8102e);
  font-size: .72rem;
  font-weight: 900;
}

.parts-queue-status[
  data-request-status="ready"
] {
  color: #18713b;
}

.parts-queue-status[
  data-request-status="delivered"
],
.parts-queue-status[
  data-request-status="received"
] {
  color: #526170;
}

.parts-queue-auth {
  font-size: .61rem;
  font-weight: 800;
}

.parts-queue-auth.pending {
  color: #8a5a08;
}

.parts-queue-auth.rejected {
  color: #a12626;
}

.parts-queue-empty {
  padding: 32px 20px;
  border: 1px solid #e2e6eb;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.parts-queue-empty-mark {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 14px;
  background:
    var(--brand-primary, #c8102e);
  color: #fff;
  font-weight: 900;
}

.parts-queue-empty h2 {
  margin: 0;
  font-size: 1.15rem;
}

.parts-queue-empty p {
  max-width: 480px;
  margin: 7px auto 0;
  color: #68717d;
  font-size: .87rem;
}

@media (max-width: 1100px) {
  .parts-queue-grid {
    grid-template-columns:
      repeat(
        auto-fill,
        minmax(195px, 1fr)
      );
  }
}

@media (max-width: 600px) {
  .parts-queue-toolbar {
    top: 64px;
  }

  .parts-queue-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .parts-queue-card {
    min-height: 126px;
    padding: 9px;
  }

  .parts-queue-plate {
    font-size: 1.08rem;
  }

  .parts-queue-meta {
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 370px) {
  .parts-queue-grid {
    grid-template-columns: 1fr;
  }
}

/* END HONDA A6-3 PARTS REQUEST QUEUE */

/* HONDA A6-5 PARTS KIT ADMIN */

.parts-module-tabs {
  display: flex;
  gap: 5px;
  margin: 0 0 12px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #e1e5e9;
  border-radius: 11px;
  background: #f5f7f9;
}

.parts-module-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #59636f;
  font-size: .79rem;
  font-weight: 800;
  text-decoration: none;
}

.parts-module-tabs a.active {
  background: #fff;
  color: #242b33;
  box-shadow:
    0 1px 4px
    rgba(20, 24, 32, .08);
}

.parts-kit-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.parts-kit-heading h2 {
  margin: 0;
  font-size: 1.08rem;
}

.parts-kit-heading p {
  margin: 4px 0 0;
  max-width: 680px;
  color: #69737e;
  font-size: .78rem;
  line-height: 1.45;
}

.parts-kit-primary-action,
.parts-kit-secondary-action,
.parts-kit-cancel-action,
.parts-kit-text-action {
  min-height: 42px;
  border-radius: 9px;
  font: inherit;
  font-size: .79rem;
  font-weight: 850;
  cursor: pointer;
}

.parts-kit-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 0;
  background:
    var(--brand-primary, #c8102e);
  color: #fff;
  text-decoration: none;
}

.parts-kit-secondary-action {
  padding: 0 14px;
  border: 1px solid #d5dbe1;
  background: #fff;
  color: #303a45;
}

.parts-kit-text-action {
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #68727d;
}

.parts-kit-cancel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d5dbe1;
  background: #fff;
  color: #46515d;
  text-decoration: none;
}

.parts-kit-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(220px, 1fr)
    );
  gap: 8px;
}

.parts-kit-card {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  padding: 11px;
  border: 1px solid #dfe4e8;
  border-left: 4px solid
    var(--brand-primary, #c8102e);
  border-radius: 11px;
  background: #fff;
}

.parts-kit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.parts-kit-model {
  overflow: hidden;
  font-size: .96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parts-kit-state {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  font-size: .59rem;
  font-weight: 900;
}

.parts-kit-state.active {
  background: #e8f5ec;
  color: #22673b;
}

.parts-kit-state.inactive {
  background: #eef0f2;
  color: #737c85;
}

.parts-kit-mileage {
  margin-top: 10px;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1;
}

.parts-kit-name {
  margin-top: 7px;
  color: #59636e;
  font-size: .76rem;
  font-weight: 700;
}

.parts-kit-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #eef0f2;
  color: #7b848d;
  font-size: .66rem;
  font-weight: 750;
}

.parts-kit-card-footer a {
  color:
    var(--brand-primary, #c8102e);
  font-weight: 900;
  text-decoration: none;
}

.parts-kit-empty {
  padding: 34px 20px;
  border: 1px solid #e0e4e8;
  border-radius: 13px;
  background: #fff;
  text-align: center;
}

.parts-kit-empty p {
  margin: 6px auto 0;
  max-width: 500px;
  color: #6c7680;
  font-size: .82rem;
}

.parts-kit-message {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 750;
}

.parts-kit-message.success {
  border: 1px solid #bcdcc5;
  background: #eef9f1;
  color: #245f37;
}

.parts-kit-message.error {
  border: 1px solid #ebc1c1;
  background: #fff2f2;
  color: #8c2929;
}

.parts-kit-form {
  display: grid;
  gap: 10px;
}

.parts-kit-form-card {
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  background: #fff;
}

.parts-kit-form-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid #edf0f2;
}

.parts-kit-form-card h2 {
  margin: 0;
  font-size: .98rem;
}

.parts-kit-form-card header p {
  margin: 3px 0 0;
  color: #707985;
  font-size: .71rem;
}

.parts-kit-count {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef1f4;
  color: #59636d;
  font-size: .62rem;
  font-weight: 850;
}

.parts-kit-form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: 13px;
}

.parts-kit-form-grid label,
.parts-kit-item-row label {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.parts-kit-form-grid label > span,
.parts-kit-item-row label > span {
  color: #525d68;
  font-size: .69rem;
  font-weight: 800;
}

.parts-kit-form-grid input,
.parts-kit-form-grid select,
.parts-kit-form-grid textarea,
.parts-kit-item-row input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #fff;
  color: #242b32;
  font: inherit;
  font-size: .82rem;
}

.parts-kit-form-grid input,
.parts-kit-form-grid select,
.parts-kit-item-row input {
  padding: 0 10px;
}

.parts-kit-form-grid textarea {
  min-height: 68px;
  padding: 9px 10px;
  resize: vertical;
}

.parts-kit-form-grid small {
  color: #7b858f;
  font-size: .63rem;
  line-height: 1.35;
}

.parts-kit-form-grid .span-2 {
  grid-column: 1 / -1;
}

.parts-kit-active-control {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 8px !important;
}

.parts-kit-active-control input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
}

.parts-kit-items {
  display: grid;
}

.parts-kit-item-row {
  display: grid;
  grid-template-columns:
    30px
    minmax(100px, .75fr)
    minmax(180px, 2fr)
    minmax(80px, .55fr)
    minmax(150px, 1.4fr);
  gap: 8px;
  align-items: end;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f3;
}

.parts-kit-item-number {
  display: flex;
  width: 28px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #f0f2f4;
  color: #6b747e;
  font-size: .67rem;
  font-weight: 900;
}

.parts-kit-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
}

.parts-kit-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 0 12px;
}

@media (max-width: 760px) {
  .parts-kit-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .parts-kit-heading
  .parts-kit-primary-action {
    width: 100%;
  }

  .parts-kit-form-grid {
    grid-template-columns: 1fr;
  }

  .parts-kit-form-grid .span-2 {
    grid-column: auto;
  }

  .parts-kit-item-row {
    grid-template-columns:
      28px
      minmax(0, 1fr)
      92px;
  }

  .parts-kit-item-description {
    grid-column: 2 / -1;
  }

  .parts-kit-item-notes {
    grid-column: 2 / -1;
  }
}

@media (max-width: 600px) {
  .parts-module-tabs {
    width: 100%;
    box-sizing: border-box;
  }

  .parts-module-tabs a {
    flex: 1;
  }

  .parts-kit-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .parts-kit-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    padding: 8px;
    border-top: 1px solid #e1e5e9;
    background: rgba(255,255,255,.96);
  }

  .parts-kit-form-actions > * {
    flex: 1;
  }
}

@media (max-width: 370px) {
  .parts-kit-grid {
    grid-template-columns: 1fr;
  }
}

/* END HONDA A6-5 PARTS KIT ADMIN */

/* HONDA A6-6 MODEL CATALOG */

.model-catalog-message {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 750;
}

.model-catalog-message.success {
  border: 1px solid #bcdcc5;
  background: #eef9f1;
  color: #245f37;
}

.model-catalog-message.error {
  border: 1px solid #ebc1c1;
  background: #fff2f2;
  color: #8c2929;
}

.model-catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.model-catalog-heading h2 {
  margin: 0;
  font-size: 1.06rem;
}

.model-catalog-heading p {
  margin: 4px 0 0;
  color: #6d7781;
  font-size: .77rem;
}

.model-catalog-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(230px, 1fr)
    );
  gap: 8px;
}

.model-catalog-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  padding: 11px;
  border: 1px solid #dfe4e8;
  border-radius: 11px;
  background: #fff;
}

.model-catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.model-catalog-card-top strong {
  overflow: hidden;
  font-size: .95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-catalog-state {
  display: inline-flex;
  min-height: 22px;
  flex: none;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  font-size: .59rem;
  font-weight: 900;
}

.model-catalog-state.active {
  background: #e8f5ec;
  color: #22673b;
}

.model-catalog-state.inactive {
  background: #eef0f2;
  color: #737c85;
}

.model-catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.model-catalog-meta span {
  padding: 4px 7px;
  border-radius: 7px;
  background: #f1f3f5;
  color: #65707a;
  font-size: .61rem;
  font-weight: 800;
}

.model-catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  color: #7b858e;
  font-size: .64rem;
  font-weight: 700;
}

.model-catalog-card-footer a {
  color:
    var(--brand-primary, #c8102e);
  font-weight: 900;
  text-decoration: none;
}

.model-catalog-primary,
.model-catalog-secondary {
  display: inline-flex;
  min-height: 42px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 9px;
  font: inherit;
  font-size: .79rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.model-catalog-primary {
  border: 0;
  background:
    var(--brand-primary, #c8102e);
  color: #fff;
}

.model-catalog-secondary {
  border: 1px solid #d5dbe1;
  background: #fff;
  color: #46515d;
}

.model-catalog-form {
  display: grid;
  gap: 10px;
}

.model-catalog-form-card {
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  background: #fff;
}

.model-catalog-form-card > header {
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f2;
}

.model-catalog-form-card h2 {
  margin: 0;
  font-size: .98rem;
}

.model-catalog-form-card header p {
  margin: 4px 0 0;
  color: #727c86;
  font-size: .71rem;
  line-height: 1.4;
}

.model-catalog-form-body {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.model-catalog-form-body > label {
  display: grid;
  gap: 5px;
}

.model-catalog-form-body
label > span {
  color: #505b66;
  font-size: .7rem;
  font-weight: 800;
}

.model-catalog-form-body
input[type="text"] {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: .83rem;
}

.model-catalog-form-body
input[type="text"]:disabled {
  background: #f3f5f6;
  color: #5f6973;
}

.model-catalog-form-body small,
.model-catalog-help {
  margin: 0;
  color: #7a848e;
  font-size: .65rem;
  line-height: 1.4;
}

.model-catalog-active {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px !important;
}

.model-catalog-active
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.model-catalog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 600px) {
  .model-catalog-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .model-catalog-heading
  .model-catalog-primary {
    width: 100%;
  }

  .model-catalog-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .model-catalog-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    padding: 8px;
    border-top: 1px solid #e2e6e9;
    background:
      rgba(255, 255, 255, .96);
  }

  .model-catalog-actions > * {
    flex: 1;
  }
}

@media (max-width: 370px) {
  .model-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* END HONDA A6-6 MODEL CATALOG */

/* HONDA A6-6C FAMILY REFERENCES */

.model-detail-card {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  background: #fff;
}

.model-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f2;
}

.model-detail-header h2 {
  margin: 0;
  font-size: .98rem;
}

.model-detail-header p {
  margin: 4px 0 0;
  color: #727c86;
  font-size: .7rem;
  line-height: 1.4;
}

.model-detail-count {
  display: inline-flex;
  min-width: 26px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0f2f4;
  color: #59636d;
  font-size: .67rem;
  font-weight: 900;
}

.model-detail-list {
  display: grid;
}

.model-detail-row {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border-bottom: 1px solid #eef1f3;
}

.model-detail-row > div {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.model-detail-row strong {
  font-size: .79rem;
}

.model-detail-row small {
  color: #77818b;
  font-size: .63rem;
}

.model-detail-row form {
  flex: none;
}

.model-detail-empty {
  padding: 18px 13px;
  color: #78828c;
  font-size: .75rem;
}

.model-inline-add {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 9px;
  align-items: end;
  padding: 12px 13px;
  background: #fafbfc;
}

.model-inline-add label {
  display: grid;
  gap: 5px;
}

.model-inline-add label > span {
  color: #505b66;
  font-size: .68rem;
  font-weight: 800;
}

.model-inline-add input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: .81rem;
}

.model-catalog-text-action,
.model-catalog-text-danger {
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .67rem;
  font-weight: 850;
  cursor: pointer;
}

.model-catalog-text-action {
  color: #23663b;
}

.model-catalog-text-danger {
  color: #a72b2b;
}

@media (max-width: 600px) {
  .model-inline-add {
    grid-template-columns: 1fr;
  }

  .model-inline-add button {
    width: 100%;
  }

  .model-detail-row {
    align-items: flex-start;
  }
}

/* END HONDA A6-6C FAMILY REFERENCES */

/* HONDA_SEDES_CSS_S111 */
.s1-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:16px 0 22px;
}

.s1-grid {
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));
  gap:20px;
}

.s1-card {
  background:#fff;
  padding:24px;
  border:1px solid #e1e5eb;
  border-radius:16px;
  box-shadow:0 8px 25px rgba(0,0,0,.045);
  min-width:0;
}

.s1-card h3 {
  margin:0 0 16px;
  font-size:19px;
}

.s1-card p {
  margin:10px 0;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.s1-status {
  display:inline-block;
  padding:5px 11px;
  background:#e3f7eb;
  color:#157347;
  border-radius:20px;
  font-weight:600;
}

.s1-status.inactive {
  background:#f1f2f4;
  color:#555;
}

.s1-form {
  max-width:1000px;
}

.s1-form .s1-fields {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:24px;
}

.s1-form .s1-field {
  display:flex !important;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.s1-form .s1-field label {
  display:block;
  font-size:14px;
  font-weight:600;
}

.s1-form .s1-field input {
  display:block;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:11px 12px;
  font:inherit;
  font-size:16px;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:9px;
  box-sizing:border-box;
}

.s1-form .s1-field input:focus {
  outline:2px solid #c90000;
  outline-offset:1px;
}

.s1-form .s1-field input[readonly] {
  background:#f4f5f7;
  color:#555;
}

.s1-form .s1-buttons {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.s1-form .s1-buttons > * {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  box-sizing:border-box;
}

@media(max-width:700px) {
  .s1-form .s1-fields {
    grid-template-columns:minmax(0,1fr);
  }

  .s1-grid {
    grid-template-columns:minmax(0,1fr);
  }

  .s1-card {
    padding:18px;
  }

  .s1-form .s1-buttons {
    flex-direction:column;
  }

  .s1-form .s1-buttons > * {
    width:100%;
  }
}


/* SMC_IDENTIDAD_VISUAL_V1 */

.sidebar-brand .smc-sidebar-logo {
  display: block;
  width: 172px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.auth-brand-panel .smc-auth-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 22px;
}

@media (max-width: 500px) {
  .auth-brand-panel .smc-auth-logo {
    width: 190px;
    margin-bottom: 18px;
  }
}

/* SMC_FAVICON_CENTRADO_V2 */
.sidebar-brand {
  justify-content: center;
  text-align: center;
}
.sidebar-brand .smc-sidebar-logo {
  display: block;
  width: 172px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}
