@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700;800;900&display=swap");

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/ibmplexsans/v23/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxTKYbABA.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/ibmplexsans/v23/zYX9KVElMYYaJe8bpLHnCwDKjXr8MIZmdd_qFmo.woff2") format("woff2");
}

:root {
  --app-font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--app-font);
}

body.app-shell-ready,
body.app-shell-ready button,
body.app-shell-ready input,
body.app-shell-ready select,
body.app-shell-ready textarea {
  font-family: var(--app-font) !important;
}

body.app-shell-ready :where(*:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.ti)) {
  font-family: var(--app-font) !important;
}

body.app-shell-ready {
  box-sizing: border-box;
  padding-left: 252px;
  padding-top: 64px;
}

.app-shell-sidebar,
.app-shell-topbar,
.app-shell-menu-button,
.app-shell-backdrop,
.app-shell-sidebar *,
.app-shell-topbar * {
  box-sizing: border-box;
}

.app-shell-menu-button {
  position: fixed;
  top: 12px;
  left: 14px;
  z-index: 930;
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  box-shadow: 0 10px 28px rgba(15,23,42,.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.app-shell-menu-button i {
  font-size: 16px;
}

.app-shell-backdrop {
  position: fixed;
  inset: 0;
  z-index: 905;
  display: none;
  background: rgba(15,23,42,.34);
  backdrop-filter: blur(2px);
}

.app-shell-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 900;
  width: 252px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(60,76,210,.38), transparent 26%),
    linear-gradient(180deg,#17114b 0%,#0f1039 58%,#101044 100%);
  box-shadow: 18px 0 44px rgba(14,20,44,.22);
}

.app-shell-brand {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.app-shell-logo {
  width: 70px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  overflow: hidden;
}

.app-shell-logo img {
  width: 62px;
  height: auto;
  display: block;
}

.app-shell-brand-text strong,
.app-shell-brand-text span {
  display: block;
}

.app-shell-brand-text strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.app-shell-brand-text span {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}

.app-shell-nav {
  display: grid;
  gap: 7px;
}

.app-shell-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .16s, color .16s, transform .16s;
}

.app-shell-nav a > span {
  min-width: 0;
  line-height: 1.2;
}

.app-shell-nav-text {
  display: grid;
  gap: 1px;
}

.app-shell-nav-text strong,
.app-shell-nav-text small {
  display: block;
  min-width: 0;
}

.app-shell-nav-text strong {
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.15;
}

.app-shell-nav-text small {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}

.app-shell-nav a.active .app-shell-nav-text small {
  color: rgba(255,255,255,.82);
}

.app-shell-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.app-shell-nav a.active {
  color: #fff;
  background: linear-gradient(145deg,#2548ea,#2334bc);
  box-shadow: 0 14px 26px rgba(25,52,205,.3);
}

.app-shell-nav i {
  width: 22px;
  display: inline-flex;
  justify-content: center;
  font-size: 17px;
}

.app-shell-nav a.app-shell-subitem {
  min-height: 36px;
  margin-left: 22px;
  padding: 8px 10px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.app-shell-nav a.app-shell-subitem i {
  width: 18px;
  font-size: 13px;
}

.app-shell-nav a.app-shell-subitem.active {
  color: #fff;
  background: rgba(255,255,255,.12);
  box-shadow: inset 3px 0 0 #8fb3ff;
}

.app-shell-divider {
  height: 1px;
  margin: 14px 0 10px;
  background: rgba(255,255,255,.12);
}

.app-shell-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.app-shell-org {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 900;
}

.app-shell-org span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 700;
}

.app-shell-logout {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.app-shell-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 252px;
  z-index: 890;
  height: 64px;
  display: grid;
  grid-template-columns: 168px minmax(240px, 560px) 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(220,229,238,.92);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(12,43,58,.06);
  backdrop-filter: blur(12px);
}

.app-shell-overview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #102033;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.app-shell-overview i {
  color: #0f172a;
  font-size: 16px;
}

.app-shell-search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #fff;
  color: #8a97aa;
  box-shadow: 0 8px 18px rgba(12,43,58,.04);
}

.app-shell-search i {
  color: #64748b;
}

.app-shell-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 13px;
}

.app-shell-kbd {
  padding: 2px 7px;
  border: 1px solid #dce5ee;
  border-radius: 6px;
  color: #94a3b8;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 900;
}

.app-shell-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-shell-action {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  font-size: 17px;
}

.app-shell-badge {
  position: absolute;
  right: 3px;
  top: 3px;
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1663d8;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.app-shell-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.app-shell-user span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.app-shell-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1663d8;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

body.app-shell-ready .topbar,
body.app-shell-ready .app-menu {
  display: none !important;
}

body.app-shell-ready .chat-widget,
body.app-shell-ready .chat-fab,
body.app-shell-ready [class*="chat-widget"],
body.app-shell-ready [class*="chat-fab"] {
  z-index: 910;
}

@media (max-width: 1180px) {
  body.app-shell-ready {
    padding-left: 0;
  }

  .app-shell-menu-button {
    display: grid;
  }

  .app-shell-sidebar {
    z-index: 920;
    transform: translateX(-110%);
    transition: transform .22s ease;
  }

  body.app-shell-nav-open .app-shell-sidebar {
    transform: translateX(0);
  }

  body.app-shell-nav-open .app-shell-backdrop {
    display: block;
  }

  .app-shell-topbar {
    left: 0;
    grid-template-columns: minmax(120px, 168px) minmax(180px, 1fr) auto;
    padding-left: 68px;
  }

  .app-shell-topbar > div:nth-child(3) {
    display: none;
  }

  .app-shell-search {
    max-width: none;
  }
}

@media (max-width: 760px) {
  body.app-shell-ready {
    padding-top: 58px;
  }

  .app-shell-topbar {
    height: 58px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 12px 0 62px;
  }

  .app-shell-overview {
    display: none;
  }

  .app-shell-search {
    height: 38px;
  }

  .app-shell-actions {
    gap: 6px;
  }

  .app-shell-user {
    display: none;
  }
}

body.app-shell-ready h1,
body.app-shell-ready .page-head h1,
body.app-shell-ready .bid-page-head h1,
body.app-shell-ready .hap-head h1,
body.app-shell-ready .hap-card-head h1 {
  margin: 0 0 10px !important;
  color: #0f172a !important;
  font-family: var(--app-font) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.app-shell-ready h2,
body.app-shell-ready .panel-head h2,
body.app-shell-ready .map-head h2,
body.app-shell-ready .panel-header h2,
body.app-shell-ready .bid-section-title h2,
body.app-shell-ready .hap-process-head h2,
body.app-shell-ready .hap-section-title h2,
body.app-shell-ready .panel-header-left h2 {
  margin: 0 0 8px !important;
  color: #172033 !important;
  font-family: var(--app-font) !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.app-shell-ready h3,
body.app-shell-ready .work-detail-header h3,
body.app-shell-ready .technician-picker-head h3,
body.app-shell-ready .outage-wizard-head h3,
body.app-shell-ready .bid-panel h3 {
  margin: 0 0 7px !important;
  color: #172033 !important;
  font-family: var(--app-font) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.app-draggable-panel {
  touch-action: none;
}

.app-drag-handle {
  cursor: grab;
}

.app-draggable-panel.is-dragging {
  z-index: 760 !important;
  box-shadow: 0 28px 68px rgba(12,43,58,.26) !important;
}

.app-draggable-panel.is-dragging .app-drag-handle {
  cursor: grabbing;
}

body.app-shell-ready .panel.app-draggable-panel .panel-title-compact {
  margin: 0 !important;
  color: #1f2937 !important;
  font-family: var(--app-font) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 980px) {
  body.app-shell-ready {
    padding-left: 0;
    padding-top: 112px;
  }

  .app-shell-sidebar {
    inset: 0 0 auto 0;
    width: 100%;
    height: 56px;
    flex-direction: row;
    align-items: center;
    padding: 7px 10px;
    overflow-x: auto;
  }

  .app-shell-brand {
    display: flex;
    min-width: 190px;
    margin: 0 10px 0 0;
  }

  .app-shell-logo {
    width: 40px;
    height: 40px;
  }

  .app-shell-logo img {
    width: 34px;
  }

  .app-shell-brand-text span,
  .app-shell-footer,
  .app-shell-divider {
    display: none;
  }

  .app-shell-nav {
    display: flex;
    gap: 6px;
  }

  .app-shell-nav a {
    min-height: 38px;
    white-space: nowrap;
  }

  .app-shell-topbar {
    top: 56px;
    left: 0;
    height: 56px;
    grid-template-columns: auto 1fr auto;
    padding: 0 12px;
  }

  .app-shell-user {
    display: none;
  }
}

@media (max-width: 640px) {
  body.app-shell-ready h1,
  body.app-shell-ready .page-head h1,
  body.app-shell-ready .bid-page-head h1,
  body.app-shell-ready .hap-head h1,
  body.app-shell-ready .hap-card-head h1 {
    font-size: 25px !important;
  }

  body.app-shell-ready h2,
  body.app-shell-ready .panel-head h2,
  body.app-shell-ready .map-head h2,
  body.app-shell-ready .panel-header h2,
  body.app-shell-ready .bid-section-title h2,
  body.app-shell-ready .hap-process-head h2,
  body.app-shell-ready .hap-section-title h2,
  body.app-shell-ready .panel-header-left h2 {
    font-size: 19px !important;
  }

  body.app-shell-ready h3,
  body.app-shell-ready .work-detail-header h3,
  body.app-shell-ready .technician-picker-head h3,
  body.app-shell-ready .outage-wizard-head h3,
  body.app-shell-ready .bid-panel h3 {
    font-size: 16px !important;
  }

  .app-shell-topbar {
    grid-template-columns: 1fr auto;
  }

  .app-shell-overview {
    display: none;
  }

  .app-shell-actions {
    gap: 6px;
  }
}
