/* Loaded only on Engineering pages and review screens. */

/* Engineering */
.gsh-engineering-dashboard,
.gsh-engineering-property {
  color: #1e293b;
}

.gsh-engineering-dashboard {
  max-width: 1000px;
  margin: 0 auto;
}

.gsh-engineering-dashboard > header {
  margin-bottom: 22px;
}

.gsh-engineering-account-section > header {
  position: relative;
  min-height: 92px;
  padding-right: 112px;
}

.gsh-engineering-illustration {
  position: absolute;
  top: 0;
  right: 2px;
  width: 100px;
  height: 88px;
  overflow: visible;
  transform-origin: center;
  animation: gsh-engineering-building-float 5s ease-in-out infinite;
}

@keyframes gsh-engineering-building-float {
  50% {
    transform: translate3d(0, -5px, 0) rotateY(-8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gsh-engineering-illustration {
    animation: none;
  }
}

.gsh-engineering-dashboard > header > span {
  color: #a57c12;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gsh-engineering-dashboard > header h1 {
  margin: 6px 0;
  color: #0b192c;
}

.gsh-engineering-card,
.gsh-engineering-empty,
.gsh-engineering-notice {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.gsh-engineering-notice--success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.gsh-engineering-card h2 {
  margin: 0 0 10px;
  color: #0b192c;
  font-size: 19px;
}

.gsh-engineering-card p {
  overflow-wrap: anywhere;
}

.gsh-engineering-actions,
.gsh-engineering-request-form {
  display: grid;
  gap: 14px;
}

.gsh-engineering-certificate-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 14px;
}

.gsh-engineering-certificate-preview {
  display: grid;
  width: 150px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 8px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.gsh-engineering-certificate-preview.has-preview {
  border-style: solid;
  border-color: #94a3b8;
  background: #fff;
}

.gsh-engineering-certificate-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gsh-engineering-certificate-preview__file {
  overflow-wrap: anywhere;
}

.gsh-engineering-admin-certificate {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.gsh-engineering-admin-certificate img {
  position: relative;
  display: block;
  width: 72px;
  height: 56px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  transition: width 160ms ease, height 160ms ease, box-shadow 160ms ease;
}

.gsh-engineering-admin-certificate:hover img,
.gsh-engineering-admin-certificate:focus-visible img {
  z-index: 20;
  width: min(420px, 42vw);
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-color: #94a3b8;
  border-radius: 7px;
  box-shadow: 0 12px 32px rgb(15 23 42 / 28%);
}

.gsh-engineering-admin-certificate--document {
  display: inline-flex;
  min-width: 72px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 5px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #f8fafc;
  color: #b91c1c;
  font-weight: 700;
  text-decoration: none;
}

.gsh-engineering-actions form,
.gsh-engineering-request-form label,
.gsh-engineering-payment-form label {
  display: grid;
  gap: 7px;
}

.gsh-engineering-actions input,
.gsh-engineering-actions textarea,
.gsh-engineering-request-form select,
.gsh-engineering-request-form textarea,
.gsh-engineering-payment-form input,
.gsh-engineering-payment-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.gsh-engineering-actions textarea,
.gsh-engineering-request-form textarea,
.gsh-engineering-payment-form textarea {
  min-height: 100px;
  resize: vertical;
}

.gsh-engineering-actions .gsh-btn,
.gsh-engineering-request-form .gsh-btn,
.gsh-engineering-payment-form .gsh-btn {
  justify-self: start;
  min-height: 44px;
}

.gsh-engineering-subscription {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #dbe3eb;
  border-radius: 9px;
  background: #f8fafc;
}

.gsh-engineering-subscription h3 {
  margin: 0 0 8px;
}

.gsh-engineering-payment-details {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.gsh-engineering-payment-details > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.35fr) minmax(0, 1fr);
  gap: 10px;
}

.gsh-engineering-payment-details dt {
  color: #64748b;
  font-weight: 700;
}

.gsh-engineering-payment-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.gsh-engineering-payment-qr {
  display: block;
  width: min(220px, 100%);
  height: auto;
  margin: 12px 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.gsh-engineering-disclaimer {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 4px solid #c59b27;
  border-radius: 5px;
  background: #fffbeb;
  color: #594618;
  font-size: 13px;
  line-height: 1.6;
}

.gsh-engineering-rate-setting {
  display: grid;
  max-width: 720px;
  gap: 5px;
  margin: 0 0 12px;
}

.gsh-engineering-rate-setting > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.gsh-engineering-rate-setting input.regular-text {
  max-width: 260px;
}

.gsh-engineering-request-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: 560px;
  max-height: min(80vh, 680px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #dbe3eb;
  border-radius: 12px;
  color: #1e293b;
  box-shadow: 0 18px 60px rgb(15 23 42 / 25%);
}

.gsh-engineering-request-dialog::backdrop {
  background: rgb(15 23 42 / 62%);
}

.gsh-engineering-request-dialog .gsh-engineering-request-confirmation {
  margin-top: 0;
}

.gsh-engineering-request-dialog > .gsh-btn {
  min-height: 44px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .gsh-engineering-account-section > header {
    min-height: 68px;
    padding-right: 78px;
  }

  .gsh-engineering-illustration {
    width: 72px;
    height: 64px;
  }

  .gsh-engineering-card,
  .gsh-engineering-empty,
  .gsh-engineering-notice {
    padding: 14px;
  }

  .gsh-engineering-actions .gsh-btn,
  .gsh-engineering-request-form .gsh-btn,
  .gsh-engineering-payment-form .gsh-btn {
    width: 100%;
  }

  .gsh-engineering-certificate-upload {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  .gsh-engineering-certificate-preview {
    width: 104px;
    height: 82px;
    padding: 5px;
    font-size: 11px;
  }

  .gsh-engineering-rate-setting input.regular-text {
    max-width: 100%;
  }

  .gsh-engineering-request-dialog {
    padding: 16px;
  }
}

/* Engineering workspace */
.gsh-engineering-shell {
  --eng-navy: #10253b;
  --eng-gold: #c79a3b;
  --eng-muted: #718096;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 760px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  overflow: clip;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  background: #f5f7fa;
  box-shadow: 0 16px 48px rgb(16 37 59 / 9%);
}

.gsh-engineering-shell,
.gsh-engineering-shell * {
  box-sizing: border-box;
}

.gsh-engineering-shell.gsh-engineering-dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #233247;
}

.gsh-engineering-sidebar {
  position: sticky;
  top: 16px;
  display: flex;
  height: calc(100vh - 32px);
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 22px 14px 16px;
  background: var(--eng-navy);
  color: #fff;
  scrollbar-color: #53687a transparent;
  scrollbar-width: thin;
}

.gsh-engineering-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px 19px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  color: #fff;
  text-decoration: none;
}

.gsh-engineering-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: #fff;
  color: var(--eng-navy);
  font-size: 11px;
  font-weight: 900;
}

.gsh-engineering-brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

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

.gsh-engineering-brand strong {
  font-size: 13px;
}

.gsh-engineering-brand small {
  margin-top: 4px;
  color: #b6c4d1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.gsh-engineering-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 5px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  text-align: center;
}

.gsh-engineering-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 9px;
  place-items: center;
  border: 3px solid rgb(255 255 255 / 23%);
  border-radius: 50%;
  background: #e7bf66;
  color: var(--eng-navy);
  font-size: 22px;
  font-weight: 800;
}

.gsh-engineering-profile img.gsh-engineering-avatar {
  object-fit: cover;
}

.gsh-engineering-profile > strong {
  color: #fff;
  font-size: 13px;
}

.gsh-engineering-profile > span:not(.gsh-engineering-avatar) {
  margin-top: 5px;
  color: #c3ced8;
  font-size: 11px;
}

.gsh-engineering-profile .gsh-engineering-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bde8cf !important;
}

.gsh-engineering-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58ca86;
}

.gsh-engineering-nav {
  display: grid;
  min-height: 0;
  flex: 1 1 auto;
  gap: 4px;
  margin-top: 17px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #53687a transparent;
  scrollbar-width: thin;
}

.gsh-engineering-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #cfdae3;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.gsh-engineering-nav a > span {
  width: 18px;
  color: #d7b25c;
  font-size: 17px;
  text-align: center;
}

.gsh-engineering-nav a > b {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgb(255 255 255 / 13%);
  color: #fff;
  font-size: 10px;
}

.gsh-engineering-nav a:hover,
.gsh-engineering-nav a.is-active {
  background: #29445d;
  color: #fff;
}

.gsh-engineering-nav a.is-active {
  box-shadow: inset 3px 0 #e7bf66;
}

.gsh-engineering-back-account {
  margin-top: auto;
  padding: 17px 9px 5px;
  color: #d5e0e9;
  font-size: 11px;
  text-decoration: none;
}

.gsh-engineering-back-account:hover {
  color: #fff;
}

.gsh-engineering-nav .gsh-engineering-nav-back {
  margin-bottom: 5px;
  background: #e7bf66;
  color: #10253b;
  font-weight: 800;
}

.gsh-engineering-nav .gsh-engineering-nav-back > span {
  color: #10253b;
}

.gsh-engineering-nav .gsh-engineering-nav-back:hover {
  background: #f0d283;
  color: #10253b;
}

.gsh-engineering-logout {
  display: flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  margin-top: 8px;
  padding: 8px 10px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: #ffaaa2;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.gsh-engineering-logout:hover,
.gsh-engineering-logout:focus-visible {
  color: #fff;
}

.gsh-engineering-main {
  min-width: 0;
  padding: 0 28px 26px;
}

.gsh-engineering-topbar {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -28px 24px;
  padding: 14px 28px;
  border-bottom: 1px solid #e7ecf1;
  background: #fff;
}

.gsh-engineering-topbar-title > span,
.gsh-engineering-panel-heading > div > span {
  color: #ad8429;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.gsh-engineering-topbar-title h1 {
  margin: 3px 0 0;
  color: #10253b;
  font-size: 21px;
  line-height: 1.25;
}

.gsh-engineering-topbar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gsh-engineering-search {
  display: flex;
  width: min(250px, 26vw);
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  background: #f9fafb;
  color: #708092;
}

.gsh-engineering-search > span {
  font-size: 20px;
}

.gsh-engineering-search input {
  width: 100%;
  min-width: 0;
  padding: 7px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #182b3e;
  font: inherit;
  font-size: 11px;
}

.gsh-engineering-notification-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  color: var(--eng-navy);
  font-size: 18px;
  text-decoration: none;
}

.gsh-engineering-date {
  color: #607083;
  font-size: 11px;
  white-space: nowrap;
}

.gsh-engineering-welcome {
  display: flex;
  min-height: 148px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 25px 30px;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(115deg, #10253b 0%, #1b3c58 72%, #28526b 100%);
  color: #fff;
}

.gsh-engineering-eyebrow {
  color: #eac45f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.gsh-engineering-welcome h2 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 27px);
}

.gsh-engineering-welcome p {
  margin: 0;
  color: #d3dee7;
  font-size: 12px;
}

.gsh-engineering-welcome-icon {
  display: grid;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 24px;
  background: rgb(255 255 255 / 8%);
  color: #eac45f;
  font-size: 43px;
  transform: rotate(-8deg);
}

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

.gsh-engineering-kpis article {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 6px 10px;
  padding: 16px;
  border: 1px solid #e7ecf1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 10px rgb(16 37 59 / 3%);
}

.gsh-engineering-kpis article > span:not(.gsh-engineering-kpi-icon) {
  align-self: center;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.gsh-engineering-kpi-icon {
  display: grid;
  width: 34px;
  height: 34px;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 9px;
  background: #f7f0df;
  color: #a67d24;
  font-size: 17px;
}

.gsh-engineering-kpis article > strong {
  grid-column: 1;
  color: #10253b;
  font-size: 27px;
  line-height: 1;
}

.gsh-engineering-kpis article > small {
  grid-column: 1 / -1;
  color: #8a97a6;
  font-size: 10px;
}

.gsh-engineering-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.gsh-engineering-panel {
  min-width: 0;
  margin: 0 0 16px;
  padding: 19px;
  scroll-margin-top: 18px;
  border: 1px solid #e7ecf1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 10px rgb(16 37 59 / 3%);
}

.gsh-engineering-overview-grid > .gsh-engineering-panel {
  margin-bottom: 0;
}

.gsh-engineering-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.gsh-engineering-panel-heading h2 {
  margin: 4px 0 0;
  color: #10253b;
  font-size: 16px;
}

.gsh-engineering-panel-heading > a {
  color: #98701c;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.gsh-engineering-panel-empty,
.gsh-engineering-panel-intro {
  margin: 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.7;
}

.gsh-engineering-timeline,
.gsh-engineering-activity-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gsh-engineering-timeline li,
.gsh-engineering-activity-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.gsh-engineering-timeline time {
  display: flex;
  width: 49px;
  min-height: 48px;
  flex: 0 0 49px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8f2e4;
  color: #916b1f;
}

.gsh-engineering-timeline time strong {
  font-size: 12px;
}

.gsh-engineering-timeline time span {
  font-size: 9px;
}

.gsh-engineering-timeline li > div,
.gsh-engineering-activity-list li > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.gsh-engineering-timeline li > div strong,
.gsh-engineering-activity-list li strong {
  overflow: hidden;
  color: #203348;
  font-size: 11px;
  text-overflow: ellipsis;
}

.gsh-engineering-timeline li > div span,
.gsh-engineering-activity-list li > div span {
  color: #8390a0;
  font-size: 10px;
}

.gsh-engineering-activity-list li > i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #c79a3b;
  box-shadow: 0 0 0 4px #f8f2e4;
}

.gsh-engineering-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.gsh-engineering-project-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.gsh-engineering-project-table th {
  padding: 10px 8px;
  border-bottom: 1px solid #e7ecf1;
  color: #7a8796;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.gsh-engineering-project-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f2f5;
  color: #566578;
  font-size: 10px;
  vertical-align: middle;
}

.gsh-engineering-project-table td:first-child strong,
.gsh-engineering-project-table td:first-child small {
  display: block;
}

.gsh-engineering-project-table td:first-child strong {
  color: #203348;
  font-size: 11px;
}

.gsh-engineering-project-table td:first-child small {
  margin-top: 4px;
  color: #8a97a6;
  font-size: 9px;
}

.gsh-engineering-project-table td a {
  color: #946c1a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.gsh-engineering-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f8f2e4;
  color: #86621d;
  font-size: 9px;
  font-weight: 700;
}

.gsh-engineering-empty-state {
  display: grid;
  justify-items: center;
  padding: 28px 15px;
  border: 1px dashed #dce3e9;
  border-radius: 9px;
  background: #fbfcfd;
  text-align: center;
}

.gsh-engineering-empty-state > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #f8f2e4;
  color: #a67d24;
  font-size: 20px;
}

.gsh-engineering-empty-state h3 {
  margin: 11px 0 4px;
  color: #203348;
  font-size: 14px;
}

.gsh-engineering-empty-state p {
  max-width: 400px;
  margin: 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.6;
}

.gsh-engineering-assignment-card {
  margin: 0 0 12px;
  scroll-margin-top: 20px;
}

.gsh-engineering-assignment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gsh-engineering-assignment-heading > div > span {
  color: #a17b2a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.gsh-engineering-assignment-heading h3 {
  margin: 5px 0;
  color: #10253b;
  font-size: 15px;
}

.gsh-engineering-assignment-heading p {
  margin: 0;
  color: #718096;
  font-size: 11px;
}

.gsh-engineering-assignment-card > p {
  color: #566578;
  font-size: 11px;
  line-height: 1.65;
}

.gsh-engineering-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.gsh-engineering-actions form {
  min-width: 0;
  align-content: start;
  gap: 9px;
  padding: 13px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fbfcfd;
}

.gsh-engineering-actions label {
  display: grid;
  gap: 6px;
  color: #566578;
  font-size: 10px;
  font-weight: 600;
}

.gsh-engineering-actions input,
.gsh-engineering-actions textarea {
  min-height: 40px;
  font-size: 12px;
}

.gsh-engineering-actions .gsh-btn {
  width: fit-content;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 11px;
}

.gsh-engineering-report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gsh-engineering-report-links a {
  color: #806019;
  font-size: 11px;
  font-weight: 700;
}

.gsh-engineering-report-row,
.gsh-engineering-visit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #eff2f5;
}

.gsh-engineering-visit-row {
  flex-wrap: wrap;
}

.gsh-engineering-report-row > span,
.gsh-engineering-visit-row > span {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 9px;
  background: #f8f2e4;
  color: #98701c;
}

.gsh-engineering-report-row > div,
.gsh-engineering-visit-row > div {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.gsh-engineering-report-row strong,
.gsh-engineering-visit-row strong {
  overflow: hidden;
  color: #203348;
  font-size: 11px;
  text-overflow: ellipsis;
}

.gsh-engineering-report-row small,
.gsh-engineering-visit-row small {
  color: #8390a0;
  font-size: 10px;
}

.gsh-engineering-report-row > a,
.gsh-engineering-visit-row > a {
  color: #916b1f;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.gsh-engineering-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.gsh-engineering-services-grid > div {
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  color: #526174;
  font-size: 10px;
  line-height: 1.45;
}

.gsh-engineering-services-grid > div > span {
  color: #bb8e2d;
}

.gsh-engineering-profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.gsh-engineering-profile-details > div {
  min-width: 0;
  padding: 11px;
  border-radius: 8px;
  background: #f8fafb;
}

.gsh-engineering-profile-details dt {
  color: #8390a0;
  font-size: 9px;
}

.gsh-engineering-profile-details dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #203348;
  font-size: 11px;
  font-weight: 700;
}

.gsh-engineering-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px;
  border: 1px solid #eadcae;
  border-radius: 10px;
  background: #fffaf0;
}

.gsh-engineering-help > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.gsh-engineering-help > div > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #f1e4be;
  color: #805f1c;
  font-weight: 800;
}

.gsh-engineering-help strong {
  color: #3c4653;
  font-size: 11px;
}

.gsh-engineering-help p {
  margin: 4px 0 0;
  color: #747d87;
  font-size: 10px;
  line-height: 1.6;
}

.gsh-engineering-help .gsh-btn {
  flex: 0 0 auto;
}

.gsh-engineering-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 15px;
  color: #718096;
  font-size: 10px;
}

.gsh-engineering-pagination a {
  color: #916b1f;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .gsh-engineering-shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }

  .gsh-engineering-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .gsh-engineering-topbar {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 760px) {
  .gsh-engineering-shell {
    display: block;
    min-height: 0;
    overflow: visible;
    border-radius: 12px;
  }

  .gsh-engineering-sidebar {
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 12px;
    padding: 14px;
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
  }

  .gsh-engineering-nav {
    flex: none;
    overflow: visible;
  }

  .gsh-engineering-logout {
    justify-content: center;
  }

  .gsh-engineering-profile {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    column-gap: 10px;
    padding: 12px 4px;
    text-align: left;
  }

  .gsh-engineering-profile .gsh-engineering-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    grid-row: span 3;
    margin: 0;
    font-size: 18px;
  }

  .gsh-engineering-profile > strong,
  .gsh-engineering-profile > span:not(.gsh-engineering-avatar) {
    grid-column: 2;
    min-width: 0;
    margin-top: 0;
    overflow-wrap: anywhere;
  }

  .gsh-engineering-profile > strong {
    line-height: 1.3;
  }

  .gsh-engineering-profile > .gsh-engineering-discipline {
    line-height: 1.3;
  }

  .gsh-engineering-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 12px;
  }

  .gsh-engineering-nav a {
    min-width: 0;
    min-height: 42px;
    gap: 7px;
    padding: 8px;
    font-size: 10px;
    line-height: 1.3;
  }

  .gsh-engineering-nav a > span {
    flex: 0 0 18px;
    font-size: 15px;
  }

  .gsh-engineering-nav a > b {
    padding: 2px 5px;
    font-size: 9px;
  }

  .gsh-engineering-main {
    padding: 0 16px 20px;
  }

  .gsh-engineering-topbar {
    min-height: 72px;
    margin: 0 -16px 16px;
    padding: 10px 16px;
  }

  .gsh-engineering-topbar-title h1 {
    font-size: 18px;
  }

  .gsh-engineering-date {
    display: none;
  }

  .gsh-engineering-search {
    width: min(210px, 38vw);
  }

  .gsh-engineering-welcome {
    min-height: 128px;
    padding: 20px;
  }

  .gsh-engineering-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gsh-engineering-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gsh-engineering-topbar {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .gsh-engineering-topbar-tools {
    gap: 7px;
  }

  .gsh-engineering-search {
    width: min(155px, 37vw);
    min-height: 36px;
  }

  .gsh-engineering-search input {
    font-size: 10px;
  }

  .gsh-engineering-notification-link {
    width: 34px;
    height: 34px;
  }

  .gsh-engineering-welcome {
    min-height: 116px;
    padding: 16px;
  }

  .gsh-engineering-welcome p {
    max-width: 245px;
    font-size: 10px;
    line-height: 1.5;
  }

  .gsh-engineering-welcome-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
    font-size: 25px;
  }

  .gsh-engineering-kpis {
    gap: 8px;
  }

  .gsh-engineering-kpis article {
    min-height: 114px;
    padding: 12px;
  }

  .gsh-engineering-kpis article > span:not(.gsh-engineering-kpi-icon) {
    min-width: 0;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .gsh-engineering-kpi-icon {
    width: 29px;
    height: 29px;
  }

  .gsh-engineering-kpis article > strong {
    font-size: 22px;
  }

  .gsh-engineering-kpis article > small {
    font-size: 10px;
    line-height: 1.35;
  }

  .gsh-engineering-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }

  .gsh-engineering-panel {
    margin-bottom: 10px;
    padding: 14px;
  }

  .gsh-engineering-project-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .gsh-engineering-project-table,
  .gsh-engineering-project-table tbody,
  .gsh-engineering-project-table tr,
  .gsh-engineering-project-table td {
    display: block;
    width: 100%;
  }

  .gsh-engineering-project-table tr {
    margin-bottom: 10px;
    padding: 9px 11px;
    border: 1px solid #e9edf1;
    border-radius: 8px;
    background: #fff;
  }

  .gsh-engineering-project-table td {
    display: grid;
    grid-template-columns: minmax(85px, 34%) minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f5;
    text-align: right;
  }

  .gsh-engineering-project-table td::before {
    content: attr(data-label);
    color: #8390a0;
    font-size: 9px;
    font-weight: 700;
    text-align: left;
  }

  .gsh-engineering-project-table td:last-child {
    border-bottom: 0;
  }

  .gsh-engineering-project-table td:first-child strong,
  .gsh-engineering-project-table td:first-child small {
    text-align: right;
  }

  .gsh-engineering-actions,
  .gsh-engineering-services-grid,
  .gsh-engineering-profile-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .gsh-engineering-assignment-heading {
    flex-direction: column;
  }

  .gsh-engineering-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .gsh-engineering-help .gsh-btn {
    width: 100%;
    justify-content: center;
  }
}

.gsh-engineering-report-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}

.gsh-engineering-report-form {
  display: grid;
  gap: 16px;
}

.gsh-engineering-report-form > label {
  display: grid;
  gap: 7px;
  color: #233247;
  font-size: 14px;
  font-weight: 700;
}

.gsh-engineering-report-form input,
.gsh-engineering-report-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #10253b;
  font: inherit;
}

.gsh-engineering-report-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.gsh-engineering-report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gsh-engineering-report-actions .gsh-btn {
  min-height: 44px;
}

.gsh-engineering-report-saved {
  color: #166534;
  font-size: 13px;
}

.gsh-engineering-report-details {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.gsh-engineering-report-details > div {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.gsh-engineering-report-details dt {
  margin-bottom: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.gsh-engineering-report-details dd {
  margin: 0;
  color: #1e293b;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.gsh-engineering-report-version {
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
}

.gsh-engineering-report-version summary {
  color: #10253b;
  cursor: pointer;
  font-weight: 700;
}

.gsh-engineering-completed-list {
  display: grid;
  gap: 8px;
}

.gsh-engineering-completed-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #e9edf1;
  border-radius: 9px;
  background: #fff;
}

.gsh-engineering-completed-list article > div {
  display: grid;
  gap: 4px;
}

.gsh-engineering-completed-list small {
  color: #718096;
}

.gsh-engineering-admin-report details {
  margin-top: 6px;
}

.gsh-engineering-admin-report summary {
  cursor: pointer;
}

@media (max-width: 600px) {
  .gsh-engineering-report-page {
    padding: 10px;
  }

  .gsh-engineering-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gsh-engineering-report-actions .gsh-btn {
    width: 100%;
    justify-content: center;
  }

  .gsh-engineering-completed-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gsh-engineering-sidebar,
  .gsh-engineering-nav a,
  .gsh-engineering-admin-certificate img {
    transition: none;
  }
}

.gsh-engineering-inspection-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.gsh-engineering-inspection-heading > div > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.gsh-engineering-inspection-heading p {
  text-align: right;
  line-height: 1.6;
}

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

.gsh-engineering-checklist-item {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid #dce4ee;
  border-radius: 10px;
}

.gsh-engineering-checklist-item legend {
  max-width: 100%;
  padding: 0 5px;
  color: #10253b;
  font-weight: 700;
}

.gsh-engineering-checklist-item label,
.gsh-engineering-inspection-form > label,
.gsh-engineering-boq-form > label,
.gsh-engineering-plan-form > label,
.gsh-engineering-profile-areas > label {
  display: grid;
  gap: 7px;
  margin: 9px 0;
  color: #233247;
  font-size: 14px;
  font-weight: 700;
}

.gsh-engineering-checklist-item select,
.gsh-engineering-checklist-item textarea,
.gsh-engineering-inspection-form input,
.gsh-engineering-inspection-form textarea,
.gsh-engineering-boq-form input,
.gsh-engineering-plan-form input,
.gsh-engineering-profile-areas select,
.gsh-engineering-profile-areas input,
.gsh-engineering-admin-filter select {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #10253b;
  font: inherit;
}

.gsh-engineering-profile-areas select[multiple],
.gsh-engineering-request-form select[multiple] {
  min-height: 125px;
}

.gsh-engineering-admin-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.gsh-engineering-admin-filter label {
  display: grid;
  gap: 5px;
}

.gsh-engineering-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.gsh-engineering-service-options legend {
  padding: 0 5px;
  color: #233247;
  font-weight: 700;
}

.gsh-engineering-service-options label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.gsh-engineering-service-options input {
  flex: 0 0 auto;
  margin: 2px 0 0;
}

.gsh-engineering-service-picker > summary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  color: #10253b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.gsh-engineering-service-picker > summary::-webkit-details-marker {
  display: none;
}

.gsh-engineering-service-picker > summary::after {
  margin-left: 9px;
  content: "+";
  font-size: 17px;
}

.gsh-engineering-service-picker[open] > summary::after {
  content: "−";
}

.gsh-engineering-service-name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.gsh-engineering-starting-rate {
  margin: 0;
  color: #52657a;
  font-size: 11px;
  line-height: 1.4;
}

.gsh-engineering-admin-assignment-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 430px;
}

.gsh-engineering-pro-checkout,
.gsh-engineering-quote {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #d6e0ea;
  border-radius: 9px;
  background: #f8fafc;
}

.gsh-engineering-quote-file {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 430px;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #d6e0ea;
  border-radius: 8px;
  background: #fff;
}

.gsh-engineering-quote-file__type {
  display: grid;
  flex: 0 0 44px;
  min-height: 52px;
  place-items: center;
  border-radius: 6px;
  background: #edf2f7;
  color: #263648;
  font-size: 11px;
  font-weight: 700;
}

.gsh-engineering-quote-file__details {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.gsh-engineering-quote-file__details strong {
  overflow-wrap: anywhere;
}

.gsh-engineering-quote-file__details > span {
  color: #5b6878;
  font-size: 12px;
}

.gsh-engineering-quote-file__actions {
  display: flex;
  gap: 12px;
  margin-top: 3px;
}

.gsh-engineering-quote-file__actions a {
  font-size: 13px;
  font-weight: 600;
}

.gsh-engineering-pro-checkout > summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
}

.gsh-engineering-pro-checkout > summary::-webkit-details-marker {
  display: none;
}

.gsh-engineering-pro-checkout[open] > summary {
  margin-bottom: 12px;
}

.gsh-engineering-admin-quote-form {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin: 0 0 12px;
}

.gsh-engineering-admin-quote-form label {
  display: grid;
  gap: 4px;
}

.gsh-engineering-admin-quote-form input,
.gsh-engineering-admin-quote-form textarea {
  box-sizing: border-box;
  width: 100%;
}

.gsh-engineering-quote-upload-status {
  margin: 0;
  color: #197044;
  font-size: 13px;
  font-weight: 600;
}

.gsh-engineering-quote-upload-status[hidden] {
  display: none;
}

.gsh-engineering-quote-upload-status > span:first-child {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  place-items: center;
  border-radius: 50%;
  background: #e4f4eb;
}

.gsh-engineering-admin-assignment-form fieldset {
  max-width: 430px;
  margin: 10px 0;
  padding: 8px 10px;
}

.gsh-engineering-admin-assignment-form fieldset label {
  display: block;
  margin: 4px 0;
}

.gsh-engineering-assignment-brief {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 3px solid #d8aa49;
  border-radius: 7px;
  background: #f8fafc;
}

.gsh-engineering-assignment-brief h4,
.gsh-engineering-assignment-brief p {
  margin: 0 0 7px;
}

@media (max-width: 600px) {
  .gsh-engineering-service-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gsh-engineering-inspection-print-data {
  display: none;
}

@media print {
  body.gsh-engineering-printing * {
    visibility: hidden !important;
  }

  body.gsh-engineering-printing .gsh-engineering-inspection-print-area,
  body.gsh-engineering-printing .gsh-engineering-inspection-print-area * {
    visibility: visible !important;
  }

  body.gsh-engineering-printing .gsh-engineering-inspection-print-area {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    color: #111827 !important;
    background: #fff !important;
  }

  body.gsh-engineering-printing .gsh-engineering-inspection-form,
  body.gsh-engineering-printing .gsh-engineering-inspection-print-area .description,
  body.gsh-engineering-printing .gsh-engineering-print,
  body.gsh-engineering-printing .gsh-engineering-report-page > header,
  body.gsh-engineering-printing .gsh-engineering-report-page > p:first-of-type {
    display: none !important;
  }

  body.gsh-engineering-printing .gsh-engineering-inspection-print-data {
    display: block !important;
  }

  body.gsh-engineering-printing .gsh-engineering-inspection-print-area .gsh-engineering-report-details > div {
    break-inside: avoid;
    border-color: #9ca3af;
    background: #fff;
  }
}

@media (max-width: 700px) {
  .gsh-engineering-checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .gsh-engineering-inspection-heading {
    flex-direction: column;
  }

  .gsh-engineering-inspection-heading p {
    text-align: left;
  }
}
