:root {
  --komatsu-blue: #001489;
  --komatsu-blue-dark: #000f66;
  --komatsu-yellow: #ffcc00;
  --white: #ffffff;
  --text: #172033;
  --muted: #5b6475;
  --border: #d9dee8;
  --panel: rgba(255, 255, 255, 0.94);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  --critical: #f1263a;
  --warning: #ffcc00;
  --info: #2781ff;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  background: #eef2f5;
  overflow-x: hidden;
}

/* BACKGROUND IMAGE */

body::before {
  content: "";
  position: fixed;
  inset: 84px 0 54px 0;
  background: url("assets/images/930e-truck.jpg") no-repeat center center;
  background-size: 72%;
  opacity: 0.22;
  z-index: -2;
  pointer-events: none;
}

body.background-930e::before {
  background-image: url("assets/images/930e-truck.jpg");
}

body.background-hd785::before {
  background-image: url("assets/images/hd785-watercart.png");
}

body.background-830e::before {
  background-image: url("assets/images/830e-truck.jpg");
}

body::after {
  content: "";
  position: fixed;
  inset: 84px 0 54px 0;
  background: rgba(255, 255, 255, 0.72);
  z-index: -1;
  pointer-events: none;
}

/* HEADER */

.app-header {
  min-height: 84px;
  background: linear-gradient(135deg, var(--komatsu-blue) 0%, #061d9c 100%);
  color: white;
  border-bottom: 5px solid var(--komatsu-yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.komatsu-wordmark {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.header-title-block {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.header-title-block h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.header-title-block p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.offline-status {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.offline-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: bold;
}

.offline-status strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.offline-status span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.status-dot {
  display: inline-block !important;
  width: 9px;
  height: 9px;
  background: #27c65f;
  border-radius: 50%;
  margin-left: 6px;
}

.warning-dot {
  background: var(--komatsu-yellow) !important;
}

/* MAIN SHELL */

.app-shell {
  display: block;
  width: min(1320px, calc(100% - 80px));
  margin: 54px auto 105px;
  padding: 0;
}

/* AUTH / LOGIN */

.auth-panel {
  width: min(720px, 100%);
  margin: 0 auto 40px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(210, 215, 225, 0.85);
  padding: 28px;
}

.auth-header h2 {
  margin: 0;
  color: var(--komatsu-blue);
  font-size: 28px;
  font-weight: 900;
}

.auth-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}

.auth-tabs.three-tabs {
  grid-template-columns: 1fr 1fr 1fr;
}

.auth-tab {
  height: 44px;
  border: 2px solid var(--komatsu-blue);
  background: white;
  color: var(--komatsu-blue);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--komatsu-blue);
  color: white;
}

.auth-form label {
  display: block;
  color: var(--text);
  font-weight: 800;
  margin: 14px 0 8px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 15px;
  background: white;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  background: var(--komatsu-yellow);
  color: var(--komatsu-blue);
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
}

.auth-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin: 14px 0 0;
}

.password-note {
  background: #eef4ff;
  border-left: 4px solid var(--komatsu-blue);
  padding: 10px 12px;
  border-radius: 8px;
  color: #1552a3;
}

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

.auth-message.info {
  background: #eef4ff;
  color: #1552a3;
}

.auth-message.success {
  background: #e9f8ef;
  color: #146b36;
}

.auth-message.warning {
  background: #fff6d5;
  color: #8a6100;
}

.auth-message.error {
  background: #ffe7e9;
  color: #b70000;
}

/* APP PANEL */

#appPanel:not(.hidden) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
}

#appPanel > section {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
}

/* APPROVED USER PANEL */

.user-panel {
  order: 1;
  background: rgba(255, 255, 255, 0.94);
  border-left: 6px solid var(--komatsu-yellow);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

.user-panel strong {
  display: block;
  color: var(--komatsu-blue);
  font-size: 16px;
}

.user-panel span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.user-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.expiry-pill {
  display: inline-flex !important;
  background: #eef4ff;
  color: #1552a3 !important;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
}

#logoutButton,
#changePasswordButton,
.feedback-button {
  height: 36px;
  border: 1px solid var(--komatsu-blue);
  color: var(--komatsu-blue);
  background: white;
  border-radius: 7px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.feedback-button {
  background: var(--komatsu-yellow);
  border-color: var(--komatsu-yellow);
  color: var(--komatsu-blue);
}

.feedback-button:hover,
#logoutButton:hover,
#changePasswordButton:hover {
  background: var(--komatsu-blue);
  color: white;
  border-color: var(--komatsu-blue);
}

/* FILTER PANEL */

.filter-panel {
  order: 2;
  display: block !important;
  background: rgba(0, 20, 137, 0.96);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin: 0;
}

.filter-grid {
  display: grid !important;
  grid-template-columns: 1.32fr 0.62fr 2.25fr 1.25fr !important;
  gap: 18px !important;
  align-items: end !important;
}

.form-group label {
  display: block;
  color: white;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 9px;
}

.select-wrap,
.search-wrap {
  position: relative;
}

.field-icon,
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--komatsu-blue);
  font-size: 18px;
  z-index: 1;
}

select,
input,
textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

select,
input {
  height: 44px;
  padding: 0 40px 0 44px;
}

textarea {
  resize: vertical;
  min-height: 120px;
  padding: 12px 14px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
  color: #8b94a6;
}

input:disabled,
select:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* FAULT FINDER TYPE BUTTONS */

.mode-buttons {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  overflow: hidden;
}

.mode-button {
  border: 0;
  background: transparent;
  color: white;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 5px;
  line-height: 1.05;
  min-width: 0;
  text-align: center;
}

.mode-button span {
  margin: 0;
  display: block;
  white-space: normal;
}

.mode-button.active {
  background: var(--komatsu-yellow);
  color: var(--komatsu-blue);
}

.mode-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.disabled-section {
  opacity: 0.55;
}

.disabled-horton {
  opacity: 0.45;
}

.clear-search {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #31394a;
  font-size: 24px;
  cursor: pointer;
}

/* RESULTS TOOLBAR */

.results-toolbar {
  order: 3;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.results-title-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.results-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  color: var(--komatsu-blue);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.results-title-block h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.results-title-block p {
  margin: 7px 0 0;
  font-size: 14px;
  color: #2e3547;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-button {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--komatsu-blue);
  color: var(--komatsu-blue);
  background: white;
  font-weight: 800;
  border-radius: 6px;
}

.sort-label {
  font-size: 13px;
  color: #2e3547;
}

.sort-select {
  width: 135px;
  padding-left: 12px;
}

/* RESULTS LIST */

.results-list {
  order: 4;
  display: grid !important;
  gap: 8px;
  margin: 0;
}

/* FAULT + MANUAL CARDS */

.fault-row,
.manual-row {
  background: var(--panel);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  min-height: 110px;
  display: grid;
  grid-template-columns: 120px 280px 1fr 1fr 160px;
  overflow: hidden;
  border: 1px solid rgba(210, 215, 225, 0.75);
}

.manual-row.search-match {
  border-left: 6px solid var(--komatsu-yellow);
}

.severity-panel,
.manual-thumb-panel {
  display: grid;
  place-items: center;
  background: #ffffff;
  border-right: 1px solid #d9dee8;
  padding: 12px;
}

.logo-panel {
  min-height: 110px;
}

.fault-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 86px;
  max-height: 76px;
  object-fit: contain;
}

.fault-logo-komatsu {
  max-width: 92px;
}

.fault-logo-cummins {
  max-width: 82px;
}

.fault-logo-wabtec {
  max-width: 96px;
}

.fault-logo-horton {
  max-width: 62px;
  max-height: 62px;
}

.manual-thumb {
  display: block;
  width: 86px;
  height: 108px;
  max-width: 86px;
  max-height: 108px;
  object-fit: contain;
  background: white;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.fault-main,
.fault-description,
.fault-related,
.fault-action,
.manual-main,
.manual-description,
.manual-related,
.manual-action {
  padding: 20px;
}

.fault-main,
.fault-description,
.manual-main,
.manual-description {
  border-right: 1px solid #d9dee8;
}

.fault-code-line,
.manual-code-line {
  color: var(--komatsu-blue);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}

.manual-code-line {
  font-size: 12px;
  text-transform: uppercase;
}

.fault-main h3,
.manual-main h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
}

.fault-tags,
.manual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fault-tags span,
.manual-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0f2f6;
  color: #4a5161;
  font-size: 11px;
  font-weight: 700;
}

.fault-tags .tag-critical {
  color: #d8182a;
  background: #ffe8eb;
}

.fault-tags .tag-warning,
.manual-tags .tag-search {
  color: #a16a00;
  background: #fff4c9;
}

.fault-tags .tag-info,
.manual-tags .tag-manual {
  color: #1260bd;
  background: #e8f2ff;
}

.fault-description strong,
.fault-related strong,
.manual-description strong,
.manual-related strong {
  display: block;
  color: var(--komatsu-blue);
  font-size: 12px;
  margin-bottom: 5px;
}

.fault-description p,
.fault-related p,
.manual-description p,
.manual-related p {
  margin: 0 0 10px;
  color: #303849;
  font-size: 13px;
  line-height: 1.35;
}

.fault-description p,
.fault-related p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fault-action,
.manual-action {
  display: grid;
  place-items: center;
}

.details-button,
.manual-open-button {
  height: 40px;
  min-width: 126px;
  border-radius: 6px;
  border: 1px solid var(--komatsu-blue);
  color: var(--komatsu-blue);
  background: white;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
}

.details-button:hover,
.manual-open-button:hover {
  background: var(--komatsu-blue);
  color: white;
}

.details-button span,
.manual-open-button span {
  font-size: 20px;
  margin-left: 3px;
}

.fault-details {
  display: none;
  grid-column: 1 / -1;
  padding: 18px 22px 22px 140px;
  background: #f8f9fb;
  border-top: 1px solid #d9dee8;
}

.fault-details.open {
  display: block;
}

.fault-details p {
  margin: 8px 0;
  line-height: 1.45;
  font-size: 14px;
}

/* DETAIL BLOCKS */

.steps-block {
  margin-top: 18px;
}

.steps-block h4 {
  margin: 0 0 12px;
  color: var(--komatsu-blue);
}

.detail-step {
  padding: 12px;
  border-left: 4px solid var(--komatsu-blue);
  background: white;
  border-radius: 8px;
  margin-bottom: 10px;
}

.detail-step p {
  margin: 8px 0 0;
}

.related-info-full,
.reference-image-block {
  margin: 16px 0 18px;
  padding: 14px 16px;
  background: #ffffff;
  border-left: 5px solid var(--komatsu-yellow);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reference-image-block {
  border-left-color: var(--komatsu-blue);
}

.related-info-full h4,
.reference-image-block h4 {
  margin: 0 0 8px;
  color: var(--komatsu-blue);
  font-size: 16px;
  font-weight: 900;
}

.related-info-full p,
.reference-image-block p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  white-space: pre-line;
  overflow: visible;
  text-overflow: unset;
  display: block;
  max-height: none;
}

.reference-image-block p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.reference-image-block img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

.manual-related mark {
  background: var(--komatsu-yellow);
  color: var(--komatsu-blue);
  border-radius: 3px;
  padding: 0 2px;
}

/* FEEDBACK PANEL */

.feedback-panel {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 40px;
}

.feedback-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(210, 215, 225, 0.85);
  padding: 26px;
  border-left: 6px solid var(--komatsu-yellow);
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.feedback-header h2 {
  margin: 0;
  color: var(--komatsu-blue);
  font-size: 28px;
  font-weight: 900;
}

.feedback-header p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-light label {
  display: block;
  color: var(--komatsu-blue);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px;
}

.form-group-light input,
.form-group-light select {
  padding: 0 12px;
}

.form-group-light textarea {
  padding: 12px 14px;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.feedback-submit,
.back-button,
.secondary-button {
  height: 42px;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
  padding: 0 16px;
}

.feedback-submit {
  border: 1px solid var(--komatsu-yellow);
  background: var(--komatsu-yellow);
  color: var(--komatsu-blue);
}

.back-button,
.secondary-button {
  border: 1px solid var(--komatsu-blue);
  background: white;
  color: var(--komatsu-blue);
}

.feedback-submit:hover,
.back-button:hover,
.secondary-button:hover {
  background: var(--komatsu-blue);
  border-color: var(--komatsu-blue);
  color: white;
}

.feedback-message {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.feedback-message.error {
  background: #ffe7e9;
  color: #b70000;
}

.feedback-message.success {
  background: #e9f8ef;
  color: #146b36;
}

.feedback-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* EMPTY STATE */

.empty-state {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--panel);
  border-radius: 8px;
  border-left: 6px solid var(--komatsu-yellow);
  box-shadow: var(--shadow);
  padding: 24px;
}

.empty-icon {
  width: 52px;
  height: 52px;
  background: #eef2ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--komatsu-blue);
  font-size: 24px;
  flex: 0 0 auto;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.empty-state p {
  margin: 0;
  color: #384052;
}

/* FOOTER */

.fixed-disclaimer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 54px;
  background: #d50919;
  color: white;
  padding: 10px 28px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.35;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.14);
}

.disclaimer-icon {
  font-size: 24px;
  flex: 0 0 auto;
}

.disclaimer-text {
  flex: 1;
}

.creator-credit {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.72;
  white-space: nowrap;
}

/* TABLET */

@media screen and (max-width: 1100px) {
  .app-shell {
    width: calc(100% - 40px);
    margin-top: 32px;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .mode-group,
  .search-group {
    grid-column: 1 / -1;
  }

  .mode-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

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

  .fault-row,
  .manual-row {
    grid-template-columns: 110px 1fr;
  }

  .fault-main,
  .fault-description,
  .fault-related,
  .fault-action,
  .manual-main,
  .manual-description,
  .manual-related,
  .manual-action {
    border-right: 0;
    padding: 16px;
  }

  .severity-panel,
  .manual-thumb-panel {
    grid-row: 1 / span 4;
  }

  .fault-action,
  .manual-action {
    place-items: start;
  }

  .fault-details {
    grid-column: 1 / -1;
    padding-left: 126px;
  }

  .feedback-header {
    flex-direction: column;
  }

  .back-button {
    width: 100%;
  }
}

/* PHONE */

@media screen and (max-width: 760px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .komatsu-wordmark {
    font-size: 24px;
  }

  .header-title-block {
    border-left: 0;
    padding-left: 0;
  }

  .header-title-block h1 {
    font-size: 24px;
  }

  .offline-status {
    display: none;
  }

  .app-shell {
    width: calc(100% - 24px);
    margin-top: 24px;
    margin-bottom: 120px;
  }

  .auth-card,
  .feedback-card {
    padding: 20px;
  }

  .auth-tabs,
  .auth-tabs.three-tabs {
    grid-template-columns: 1fr;
  }

  .auth-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #appPanel:not(.hidden) {
    gap: 18px !important;
  }

  .user-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-panel-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  #logoutButton,
  #changePasswordButton,
  .feedback-button {
    width: 100%;
  }

  .filter-grid {
    grid-template-columns: 1fr !important;
  }

  .mode-buttons {
    height: auto;
    grid-template-columns: 1fr !important;
  }

  .mode-button {
    min-height: 44px;
    justify-content: flex-start;
    padding-left: 14px;
    font-size: 12px;
  }

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

  .toolbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .fault-row,
  .manual-row {
    grid-template-columns: 96px 1fr;
  }

  .fault-description,
  .fault-related,
  .manual-description,
  .manual-related {
    grid-column: 2;
  }

  .fault-action,
  .manual-action {
    grid-column: 2;
  }

  .fault-details {
    padding-left: 112px;
  }

  .fault-logo {
    max-width: 70px;
    max-height: 58px;
  }

  .manual-thumb {
    max-width: 70px;
    max-height: 88px;
  }

  .feedback-header {
    flex-direction: column;
  }

  .feedback-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .feedback-submit,
  .back-button,
  .secondary-button {
    width: 100%;
  }

  .fixed-disclaimer {
    flex-wrap: wrap;
    font-size: 10px;
    padding: 9px 12px;
  }

  .creator-credit {
    width: 100%;
    margin-left: 0;
    text-align: right;
    font-size: 9px;
    opacity: 0.65;
  }

  body.background-930e::before,
  body.background-hd785::before,
  body.background-830e::before {
    background-size: cover;
    opacity: 0.13;
  }

  body::after {
    background: rgba(255, 255, 255, 0.78);
  }
}
