/*
 * DLC operating-company brand system
 * ----------------------------------
 * This file is the final visual authority for signed-in Stronghold surfaces.
 * Stronghold remains the software/product brand; its login wordmark, product
 * name, and product artwork are intentionally outside every selector here.
 *
 * Brand source: DLC Brand Guidelines 2026
 * Tar Black  #262321   Ash       #424242   Dark Teal #00726A
 * Teal       #00B3AA   Light Teal #96DAD6  Gray      #F5F5F5
 */

@font-face {
  font-family: "DLC Bebas Neue";
  src: url("./fonts/bebas-neue-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Shared Google Keep-style to-do workspace */
html body#strongholdApp:not(.login-active) .sidebar .todo-nav-link {
  --nav-icon: url("./icons/list-todo.svg");
}

html body#strongholdApp:not(.login-active) #myTasksView #myTasksContent {
  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  padding: 0 !important;
}

html body#strongholdApp:not(.login-active) .todo-workspace {
  min-height: calc(100vh - 145px);
  padding: clamp(14px, 2vw, 28px);
  background:
    radial-gradient(circle at 5% 0%, rgba(48, 138, 181, 0.08), transparent 28rem),
    #f6f8f9;
}

html body#strongholdApp:not(.login-active) .todo-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1440px, 100%);
  margin: 0 auto 18px;
}

html body#strongholdApp:not(.login-active) .todo-workspace-head > div {
  min-width: 0;
}

html body#strongholdApp:not(.login-active) .todo-workspace-head .eyebrow {
  margin: 0 0 5px !important;
  color: #317ca0 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
}

html body#strongholdApp:not(.login-active) .todo-workspace-head h2 {
  margin: 0 !important;
  color: #153746 !important;
  font-family: var(--font-display, inherit) !important;
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  letter-spacing: -0.035em !important;
}

html body#strongholdApp:not(.login-active) .todo-workspace-head p:last-child {
  max-width: 760px;
  margin: 6px 0 0 !important;
  color: #64747c !important;
  font-size: 0.9rem !important;
}

html body#strongholdApp:not(.login-active) .todo-new-detail-button,
html body#strongholdApp:not(.login-active) .todo-quick-compose button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  border: 1px solid #173746 !important;
  border-radius: 9px !important;
  background: #173746 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 5px 14px rgba(14, 47, 62, 0.14) !important;
}

html body#strongholdApp:not(.login-active) .todo-new-detail-button img,
html body#strongholdApp:not(.login-active) .todo-quick-compose button[type="submit"] img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

html body#strongholdApp:not(.login-active) .todo-create-workbench {
  display: grid;
  grid-template-columns: minmax(230px, 275px) minmax(0, 920px);
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  width: min(1210px, 100%);
  margin: 0 auto 22px;
}

html body#strongholdApp:not(.login-active) .todo-create-workbench > .todo-new-detail-button,
html body#strongholdApp:not(.login-active) .todo-create-workbench > .todo-quick-compose {
  box-sizing: border-box !important;
  min-width: 0;
  max-width: 100%;
}

html body#strongholdApp:not(.login-active) .todo-new-detail-button {
  position: relative;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-content: center;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 100% !important;
  padding: 16px !important;
  overflow: hidden;
  border-color: #245a70 !important;
  border-radius: 13px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 52%),
    #173746 !important;
  text-align: left !important;
}

html body#strongholdApp:not(.login-active) .todo-new-detail-button::after {
  content: "";
  position: absolute;
  inset: auto -28px -42px auto;
  width: 105px;
  height: 105px;
  border: 16px solid rgba(70, 183, 193, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

html body#strongholdApp:not(.login-active) .todo-detail-button-icon img {
  width: 22px !important;
  height: 22px !important;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-copy small,
html body#strongholdApp:not(.login-active) .todo-detail-button-copy strong,
html body#strongholdApp:not(.login-active) .todo-detail-button-copy em {
  margin: 0;
  color: inherit;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-copy small {
  color: #92dadd;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-copy strong {
  font-size: 1rem;
  font-weight: 850;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-copy em {
  margin-top: 3px;
  color: #d5e2e6;
  font-size: 0.69rem;
  font-weight: 600;
}

html body#strongholdApp:not(.login-active) .todo-detail-button-arrow {
  position: relative;
  z-index: 1;
  color: #86d4d8;
  font-size: 1.35rem;
  transition: transform 160ms ease;
}

html body#strongholdApp:not(.login-active) .todo-new-detail-button:hover {
  border-color: #36aeb4 !important;
  box-shadow: 0 8px 20px rgba(14, 47, 62, 0.2) !important;
  transform: translateY(-1px) !important;
}

html body#strongholdApp:not(.login-active) .todo-new-detail-button:hover .todo-detail-button-arrow {
  transform: translateX(3px);
}

html body#strongholdApp:not(.login-active) .todo-quick-compose {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  width: min(920px, 100%);
  margin: 0;
  padding: 16px;
  border: 1px solid #d9e0e3;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(20, 44, 54, 0.08), 0 12px 34px rgba(20, 44, 54, 0.06);
}

html body#strongholdApp:not(.login-active) .todo-compose-copy {
  display: grid;
  gap: 7px;
}

html body#strongholdApp:not(.login-active) .todo-compose-copy input,
html body#strongholdApp:not(.login-active) .todo-compose-copy textarea {
  width: 100% !important;
  min-height: 0 !important;
  padding: 3px 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #172d37 !important;
  box-shadow: none !important;
  resize: vertical;
}

html body#strongholdApp:not(.login-active) .todo-compose-copy input {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

html body#strongholdApp:not(.login-active) .todo-compose-copy textarea {
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
}

html body#strongholdApp:not(.login-active) .todo-compose-copy input:focus,
html body#strongholdApp:not(.login-active) .todo-compose-copy textarea:focus {
  outline: 0 !important;
}

html body#strongholdApp:not(.login-active) .todo-compose-controls {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 138px 100px auto;
  gap: 9px;
  align-items: end;
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid #edf0f1;
}

html body#strongholdApp:not(.login-active) .todo-compose-controls label {
  display: grid;
  gap: 4px;
}

html body#strongholdApp:not(.login-active) .todo-compose-controls label > span {
  color: #6c7d84;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) .todo-compose-controls select,
html body#strongholdApp:not(.login-active) .todo-compose-controls input {
  min-height: 40px !important;
  padding: 7px 9px !important;
  border: 1px solid #d6dee1 !important;
  border-radius: 8px !important;
  background-color: #f9fbfb !important;
  color: #253f4a !important;
  font-size: 0.78rem !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1440px, 100%);
  margin: 0 auto 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid #dce3e6;
}

html body#strongholdApp:not(.login-active) .todo-management-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px) minmax(180px, 260px);
  align-items: end;
  gap: 12px;
  width: min(1440px, 100%);
  margin: 0 auto 16px;
  padding: 14px 16px;
  border: 1px solid #cbdbe1;
  border-left: 4px solid #317fa1;
  border-radius: 10px;
  background: #edf5f8;
}

html body#strongholdApp:not(.login-active) .todo-management-filters > div strong {
  display: block;
  color: #173746;
  font-size: 0.9rem;
}

html body#strongholdApp:not(.login-active) .todo-management-filters label {
  display: grid;
  gap: 5px;
}

html body#strongholdApp:not(.login-active) .todo-management-filters label > span {
  color: #536c77;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) .todo-management-filters select {
  width: 100% !important;
  min-height: 40px !important;
  padding: 7px 10px !important;
  border: 1px solid #bfd0d7 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #203b46 !important;
  font-size: 0.78rem !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

html body#strongholdApp:not(.login-active) .todo-filters button {
  min-height: 34px !important;
  padding: 6px 11px !important;
  border: 1px solid #d6dee1 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #4e626c !important;
  font-size: 0.73rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-filters button span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: #edf2f4;
  color: #60727a;
  font-size: 0.66rem;
}

html body#strongholdApp:not(.login-active) .todo-filters button.active {
  border-color: #173746 !important;
  background: #173746 !important;
  color: #ffffff !important;
}

html body#strongholdApp:not(.login-active) .todo-filters button.active span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

html body#strongholdApp:not(.login-active) .todo-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(330px, 100%);
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #d6dee1;
  border-radius: 9px;
  background: #ffffff;
}

html body#strongholdApp:not(.login-active) .todo-search img {
  width: 17px;
  height: 17px;
  opacity: 0.58;
}

html body#strongholdApp:not(.login-active) .todo-search input {
  width: 100% !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #203b46 !important;
  font-size: 0.78rem !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  align-items: start;
  gap: 14px;
  width: min(1440px, 100%);
  margin: 0 auto;
}

html body#strongholdApp:not(.login-active) .todo-note-card {
  --todo-card-bg: #ffffff;
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(53, 73, 82, 0.2);
  border-radius: 11px;
  background: var(--todo-card-bg);
  color: #1e343d;
  box-shadow: 0 1px 3px rgba(20, 43, 53, 0.06);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

html body#strongholdApp:not(.login-active) .todo-note-card:hover {
  border-color: rgba(31, 80, 101, 0.42);
  box-shadow: 0 5px 16px rgba(20, 43, 53, 0.11);
  transform: translateY(-1px);
}

html body#strongholdApp:not(.login-active) .todo-note-card.color-yellow { --todo-card-bg: #fff4bd; }
html body#strongholdApp:not(.login-active) .todo-note-card.color-blue { --todo-card-bg: #dceef8; }
html body#strongholdApp:not(.login-active) .todo-note-card.color-green { --todo-card-bg: #dff1df; }
html body#strongholdApp:not(.login-active) .todo-note-card.color-pink { --todo-card-bg: #f7e0e8; }
html body#strongholdApp:not(.login-active) .todo-note-card.color-purple { --todo-card-bg: #e9e0f3; }
html body#strongholdApp:not(.login-active) .todo-note-card.color-orange { --todo-card-bg: #f8e2c5; }

html body#strongholdApp:not(.login-active) .todo-note-card.pinned {
  border-color: rgba(40, 105, 133, 0.48);
  box-shadow: inset 0 3px 0 #317fa1, 0 4px 15px rgba(20, 43, 53, 0.09);
}

html body#strongholdApp:not(.login-active) .todo-note-card.completed {
  opacity: 0.72;
}

html body#strongholdApp:not(.login-active) .todo-note-card.completed .todo-note-copy h3,
html body#strongholdApp:not(.login-active) .todo-note-card.completed .todo-note-copy p {
  text-decoration: line-through;
}

html body#strongholdApp:not(.login-active) .todo-note-head {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

html body#strongholdApp:not(.login-active) .todo-status-toggle,
html body#strongholdApp:not(.login-active) .todo-status-static {
  display: grid !important;
  place-items: center !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  border: 1.5px solid #65808c !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-status-toggle span,
html body#strongholdApp:not(.login-active) .todo-status-static::before {
  content: "";
  width: 8px;
  height: 4px;
  border: solid transparent;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}

html body#strongholdApp:not(.login-active) .todo-status-toggle.checked,
html body#strongholdApp:not(.login-active) .todo-status-static.checked {
  border-color: #26754f !important;
  background: #26754f !important;
}

html body#strongholdApp:not(.login-active) .todo-status-toggle.checked span,
html body#strongholdApp:not(.login-active) .todo-status-static.checked::before {
  border-color: #ffffff;
}

html body#strongholdApp:not(.login-active) .todo-status-toggle.completion-blocked {
  border-color: #a9b5ba !important;
  border-style: dashed !important;
  background: rgba(255, 255, 255, 0.3) !important;
  cursor: not-allowed !important;
  opacity: 0.72 !important;
}

html body#strongholdApp:not(.login-active) .todo-note-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) .todo-note-labels span,
html body#strongholdApp:not(.login-active) .todo-note-labels b {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #5a6d75;
  font-size: 0.6rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) .todo-note-labels b.priority-high,
html body#strongholdApp:not(.login-active) .todo-note-labels b.due-warn {
  background: #fff0c9;
  color: #8a5c08;
}

html body#strongholdApp:not(.login-active) .todo-note-labels b.priority-urgent,
html body#strongholdApp:not(.login-active) .todo-note-labels b.due-risk {
  background: #f9d9d4;
  color: #9a3024;
}

html body#strongholdApp:not(.login-active) .todo-pin-button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 27px !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #647982 !important;
  font-size: 0.64rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-pin-button.active {
  background: rgba(34, 105, 135, 0.12) !important;
  color: #1c617d !important;
}

html body#strongholdApp:not(.login-active) .todo-note-copy h3 {
  margin: 0 !important;
  color: #172f39 !important;
  font-size: 1rem !important;
  line-height: 1.28 !important;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) .todo-note-copy p {
  margin: 7px 0 0 !important;
  color: #3e555e !important;
  font-size: 0.79rem !important;
  line-height: 1.48 !important;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) .todo-checklist {
  display: grid;
  gap: 3px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body#strongholdApp:not(.login-active) .todo-checklist li button,
html body#strongholdApp:not(.login-active) .todo-checklist li > span {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #2f4852 !important;
  text-align: left !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-checklist li button span,
html body#strongholdApp:not(.login-active) .todo-checklist li > span i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1.4px solid #66808a;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
}

html body#strongholdApp:not(.login-active) .todo-checklist li.completed button span,
html body#strongholdApp:not(.login-active) .todo-checklist li.completed > span i {
  border-color: #2d7455;
  background: #2d7455;
}

html body#strongholdApp:not(.login-active) .todo-checklist li.completed button span::before,
html body#strongholdApp:not(.login-active) .todo-checklist li.completed > span i::before {
  content: "";
  width: 7px;
  height: 3px;
  border: solid #ffffff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}

html body#strongholdApp:not(.login-active) .todo-checklist em {
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) .todo-checklist li.completed em {
  color: #708087;
  text-decoration: line-through;
}

html body#strongholdApp:not(.login-active) .todo-checklist-progress {
  margin-top: -7px;
  color: #6e7e85;
  font-size: 0.62rem;
  font-weight: 700;
}

html body#strongholdApp:not(.login-active) .todo-checklist-progress.ready {
  color: #286b4e;
}

html body#strongholdApp:not(.login-active) .todo-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html body#strongholdApp:not(.login-active) .todo-note-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  min-height: 25px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #4e646d;
  font-size: 0.64rem;
  font-weight: 800;
}

html body#strongholdApp:not(.login-active) .todo-note-meta img {
  width: 12px;
  height: 12px;
  opacity: 0.68;
}

html body#strongholdApp:not(.login-active) .todo-assignee-chip i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #317fa1;
  color: #ffffff;
  font-size: 0.57rem;
  font-style: normal;
}

html body#strongholdApp:not(.login-active) .todo-collaborator-chip i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #7352a3;
  color: #ffffff;
  font-size: 0.57rem;
  font-style: normal;
}

html body#strongholdApp:not(.login-active) .todo-person-avatar {
  display: grid;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #dce7eb;
  color: #29434e;
  font-size: 0.62rem;
  font-weight: 900;
}

html body#strongholdApp:not(.login-active) .todo-person-avatar > img {
  width: 100%;
  height: 100%;
}

html body#strongholdApp:not(.login-active) .todo-due-chip.risk {
  background: #f9d9d4;
  color: #982e22;
}

html body#strongholdApp:not(.login-active) .todo-due-chip.warn {
  background: #fff0c9;
  color: #815403;
}

html body#strongholdApp:not(.login-active) .todo-job-chip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body#strongholdApp:not(.login-active) .todo-note-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(55, 78, 87, 0.14);
}

html body#strongholdApp:not(.login-active) .todo-note-footer > small {
  color: #718187 !important;
  font-size: 0.62rem !important;
  line-height: 1.25 !important;
}

html body#strongholdApp:not(.login-active) .todo-comment-thread {
  min-width: 0;
  border-top: 1px solid rgba(55, 78, 87, 0.14);
  padding-top: 8px;
}

html body#strongholdApp:not(.login-active) .todo-comment-thread > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  cursor: pointer;
  color: #294853;
  font-size: 0.72rem;
  font-weight: 800;
  list-style: none;
}

html body#strongholdApp:not(.login-active) .todo-comment-thread > summary::-webkit-details-marker {
  display: none;
}

html body#strongholdApp:not(.login-active) .todo-comment-thread > summary b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: #e4ecee;
  color: #294853;
  font-size: 0.65rem;
}

html body#strongholdApp:not(.login-active) .todo-comment-list {
  display: grid;
  gap: 8px;
  max-height: 240px;
  margin: 6px 0 9px;
  overflow-y: auto;
}

html body#strongholdApp:not(.login-active) .todo-comment-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(55, 78, 87, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.62);
}

html body#strongholdApp:not(.login-active) .todo-comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

html body#strongholdApp:not(.login-active) .todo-comment-item :is(strong, p, small) {
  display: block;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) .todo-comment-item strong {
  font-size: 0.69rem;
}

html body#strongholdApp:not(.login-active) .todo-comment-item p {
  margin: 2px 0 3px;
  color: #29434d;
  font-size: 0.72rem;
  line-height: 1.35;
}

html body#strongholdApp:not(.login-active) .todo-comment-item small,
html body#strongholdApp:not(.login-active) .todo-comment-empty {
  margin: 0;
  color: #6c7d83;
  font-size: 0.61rem;
}

html body#strongholdApp:not(.login-active) .todo-comment-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 7px;
}

html body#strongholdApp:not(.login-active) .todo-comment-compose textarea {
  min-width: 0;
  min-height: 54px;
  max-height: 130px;
  resize: vertical;
}

html body#strongholdApp:not(.login-active) .todo-comment-compose button {
  min-width: 58px !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
}

html body#strongholdApp:not(.login-active) .todo-note-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

html body#strongholdApp:not(.login-active) .todo-note-actions button {
  min-height: 27px !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.55) !important;
  color: #36525e !important;
  font-size: 0.63rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .todo-note-actions button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

html body#strongholdApp:not(.login-active) .todo-note-actions button.danger-text {
  color: #9d3429 !important;
}

html body#strongholdApp:not(.login-active) .todo-empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 250px;
  padding: 48px 20px;
  border: 1px dashed #cfd8dc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

html body#strongholdApp:not(.login-active) .todo-empty-state img {
  width: 40px;
  height: 40px;
  opacity: 0.55;
}

html body#strongholdApp:not(.login-active) .todo-empty-state h3,
html body#strongholdApp:not(.login-active) .todo-empty-state p {
  margin: 0 !important;
}

html body#strongholdApp:not(.login-active) .todo-empty-state h3 {
  color: #263f49 !important;
}

html body#strongholdApp:not(.login-active) .todo-empty-state p {
  color: #73838a !important;
  font-size: 0.82rem !important;
}

html body#strongholdApp:not(.login-active) .todo-empty-state button {
  min-height: 34px !important;
  padding: 6px 11px !important;
  border: 1px solid #d3dce0 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #355361 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #taskDialog .task-pin-control {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d9e0e3;
  border-radius: 8px;
  background: #f8fafb;
}

html body#strongholdApp:not(.login-active) #taskDialog .task-pin-control input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

html body#strongholdApp:not(.login-active) #taskDialog .task-pin-control span {
  color: #38525e;
  font-size: 0.8rem;
  font-weight: 700;
}

html body#strongholdApp.command-map-theme:not(.login-active) .command-metric-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

html body#strongholdApp.command-map-theme:not(.login-active) .command-metric.todo .command-metric-icon {
  background: #71579b;
}

@media (max-width: 1180px) {
  html body#strongholdApp:not(.login-active) .todo-create-workbench {
    grid-template-columns: minmax(0, 1fr);
    width: min(920px, 100%);
  }

  html body#strongholdApp:not(.login-active) .todo-new-detail-button {
    min-height: 92px !important;
  }

  html body#strongholdApp.command-map-theme:not(.login-active) .command-metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body#strongholdApp.command-map-theme:not(.login-active) .command-metric:nth-child(3) {
    border-right: 0 !important;
  }
}

@media (max-width: 760px) {
  html body#strongholdApp:not(.login-active) .todo-workspace {
    padding: 12px 9px;
  }

  html body#strongholdApp:not(.login-active) .todo-workspace-head,
  html body#strongholdApp:not(.login-active) .todo-toolbar,
  html body#strongholdApp:not(.login-active) .todo-note-footer {
    align-items: stretch;
    flex-direction: column;
  }

  html body#strongholdApp:not(.login-active) .todo-new-detail-button {
    width: 100% !important;
    min-height: 86px !important;
  }

  html body#strongholdApp:not(.login-active) .todo-create-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  html body#strongholdApp:not(.login-active) .todo-quick-compose {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px;
  }

  html body#strongholdApp:not(.login-active) .todo-compose-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body#strongholdApp:not(.login-active) .todo-compose-controls button[type="submit"] {
    grid-column: 1 / -1;
  }

  html body#strongholdApp:not(.login-active) .todo-search {
    width: 100%;
  }

  html body#strongholdApp:not(.login-active) .todo-note-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html body#strongholdApp:not(.login-active) .todo-note-actions {
    justify-content: flex-start;
  }

  html body#strongholdApp.command-map-theme:not(.login-active) .command-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body#strongholdApp.command-map-theme:not(.login-active) .command-metric:nth-child(3) {
    border-right: 1px solid var(--cm-line) !important;
  }

  html body#strongholdApp.command-map-theme:not(.login-active) .command-metric:nth-child(even) {
    border-right: 0 !important;
  }
}

@media (max-width: 430px) {
  html body#strongholdApp:not(.login-active) .todo-compose-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  html body#strongholdApp:not(.login-active) .todo-compose-controls button[type="submit"] {
    grid-column: auto;
  }

  html body#strongholdApp:not(.login-active) .todo-note-card {
    padding: 13px;
  }

  html body#strongholdApp:not(.login-active) .todo-comment-compose {
    grid-template-columns: minmax(0, 1fr);
  }

  html body#strongholdApp:not(.login-active) .todo-comment-compose button {
    width: 100% !important;
  }
}

/* Server-protected Google Maps credentials */
html body#strongholdApp:not(.login-active) #settingsView .maps-security-panel {
  display: grid;
  gap: 10px;
  margin: 2px 0 12px;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #d4dce0;
  border-radius: 7px;
  color: #30434a;
  background: #f4f7f8;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status.is-configured {
  border-color: #98c6b2;
  background: #edf7f1;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status.needs-separate-key {
  border-color: #d8bd79;
  background: #fbf6e8;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #54666d;
  font: 800 17px/1 Arial, sans-serif;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status.is-configured .maps-security-status-icon {
  background: #287653;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status.needs-separate-key .maps-security-status-icon {
  background: #a77613;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status strong,
html body#strongholdApp:not(.login-active) #settingsView .maps-security-status small {
  display: block;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-status small {
  margin-top: 3px;
  color: #586a71;
  line-height: 1.35;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials {
  border: 1px solid #d4dce0;
  border-radius: 7px;
  background: #ffffff;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials > summary {
  cursor: pointer;
  padding: 11px 13px;
  color: #233940;
  font-weight: 750;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials[open] {
  padding: 0 13px 13px;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials[open] > summary {
  margin: 0 -13px 8px;
  border-bottom: 1px solid #e0e6e8;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials p {
  margin: 0 0 10px;
  color: #586a71;
  font-size: 0.86rem;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials label {
  margin-top: 9px;
}

html body#strongholdApp:not(.login-active) #settingsView .maps-security-credentials label small {
  display: block;
  margin-top: 4px;
  color: #687980;
  font-weight: 500;
  line-height: 1.35;
}

/* Communication center: inbox page and quick-chat share one restrained system. */
html body#strongholdApp:not(.login-active) #notificationsView.active {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
  padding-bottom: 24px !important;
}

html body#strongholdApp:not(.login-active) #notificationsView > .inbox-page-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px 18px !important;
  padding: 18px 20px !important;
  border: 1px solid var(--dlc-line) !important;
  border-left: 4px solid var(--dlc-teal) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-heading {
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-heading .eyebrow {
  margin: 0 0 4px !important;
  color: #117d79 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-heading h2 {
  margin: 0 !important;
  padding-bottom: 2px !important;
  color: #202927 !important;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  line-height: 1.08 !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-heading > p:last-child {
  margin: 7px 0 0 !important;
  color: #626b68 !important;
  font-size: 0.88rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action,
html body#strongholdApp:not(.login-active) button.inbox-primary-action,
html body#strongholdApp:not(.login-active) button.inbox-secondary-action,
html body#strongholdApp:not(.login-active) button.inbox-text-action,
html body#strongholdApp:not(.login-active) button.inbox-mobile-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  border: 1px solid #c9cfcd !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #27312f !important;
  font-size: 0.76rem !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action img,
html body#strongholdApp:not(.login-active) button.inbox-primary-action img,
html body#strongholdApp:not(.login-active) button.inbox-secondary-action img {
  width: 16px !important;
  height: 16px !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action:not(.secondary),
html body#strongholdApp:not(.login-active) button.inbox-primary-action {
  border-color: #263431 !important;
  background: #263431 !important;
  color: #ffffff !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action:not(.secondary) img,
html body#strongholdApp:not(.login-active) button.inbox-primary-action img {
  filter: brightness(0) invert(1) !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action:hover,
html body#strongholdApp:not(.login-active) button.inbox-primary-action:hover,
html body#strongholdApp:not(.login-active) button.inbox-secondary-action:hover {
  border-color: #159e9a !important;
  transform: none !important;
  box-shadow: 0 3px 9px rgba(31, 43, 40, 0.1) !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action.danger {
  border-color: rgba(190, 48, 48, 0.34) !important;
  color: #a42323 !important;
  background: #fff7f7 !important;
}

html body#strongholdApp:not(.login-active) button.inbox-action.danger:hover {
  border-color: rgba(190, 48, 48, 0.56) !important;
  color: #821b1b !important;
  background: #ffeded !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-metrics {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-metrics > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 9px 12px !important;
  border: 1px solid #dde1e0 !important;
  border-radius: 6px !important;
  background: #f5f6f5 !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-metrics span {
  color: #646d6a !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .inbox-page-metrics strong {
  color: #202927 !important;
  font-size: 1.18rem !important;
  line-height: 1 !important;
}

html body#strongholdApp:not(.login-active) .inbox-toolbar {
  display: grid !important;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 10px !important;
  border: 1px solid var(--dlc-line) !important;
  border-radius: 7px !important;
  background: #f5f6f5 !important;
}

html body#strongholdApp:not(.login-active) .inbox-search {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 0 11px !important;
  border: 1px solid #c9cfcd !important;
  border-radius: 6px !important;
  background: #ffffff !important;
}

html body#strongholdApp:not(.login-active) .inbox-search:focus-within {
  border-color: #159e9a !important;
  box-shadow: 0 0 0 3px rgba(21, 158, 154, 0.12) !important;
}

html body#strongholdApp:not(.login-active) .inbox-search img {
  width: 17px !important;
  height: 17px !important;
  opacity: 0.58 !important;
}

html body#strongholdApp:not(.login-active) .inbox-search input {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #202927 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #inboxTabs.inbox-filter-tabs {
  display: flex !important;
  gap: 5px !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: thin !important;
}

html body#strongholdApp:not(.login-active) #inboxTabs button.tab {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-image: none !important;
  color: #56605d !important;
  font-size: 0.7rem !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #inboxTabs button.tab span {
  display: inline-grid !important;
  place-items: center !important;
  min-width: 21px !important;
  height: 21px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #e5e8e7 !important;
  color: #4a5350 !important;
  font-size: 0.62rem !important;
}

html body#strongholdApp:not(.login-active) #inboxTabs button.tab:hover {
  background: #e9eceb !important;
  color: #202927 !important;
}

html body#strongholdApp:not(.login-active) #inboxTabs button.tab.active {
  border-color: #263431 !important;
  background: #263431 !important;
  color: #ffffff !important;
}

html body#strongholdApp:not(.login-active) #inboxTabs button.tab.active span {
  background: #ffffff !important;
  color: #263431 !important;
}

html body#strongholdApp:not(.login-active) #notificationList.inbox-shell {
  display: grid !important;
  grid-template-columns: minmax(310px, 0.78fr) minmax(420px, 1.22fr) !important;
  gap: 10px !important;
  min-width: 0 !important;
  min-height: 540px !important;
  background: transparent !important;
}

html body#strongholdApp:not(.login-active) .inbox-list-pane,
html body#strongholdApp:not(.login-active) .inbox-reading-pane {
  min-width: 0 !important;
  border: 1px solid var(--dlc-line) !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #202927 !important;
  box-shadow: var(--dlc-shadow-soft) !important;
  overflow: hidden !important;
}

html body#strongholdApp:not(.login-active) .inbox-list-pane {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  max-height: 70vh !important;
}

html body#strongholdApp:not(.login-active) .inbox-list-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 10px 13px !important;
  border-bottom: 1px solid #dde1e0 !important;
  background: #f5f6f5 !important;
}

html body#strongholdApp:not(.login-active) .inbox-list-head strong {
  display: block !important;
  color: #202927 !important;
  font-size: 0.84rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-list-head small {
  display: block !important;
  margin-top: 2px !important;
  color: #6a7370 !important;
  font-size: 0.7rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-unread-summary,
html body#strongholdApp:not(.login-active) .inbox-caught-up {
  padding: 4px 7px !important;
  border: 1px solid #d5dad8 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #5c6663 !important;
  font-size: 0.64rem !important;
  font-weight: 750 !important;
}

html body#strongholdApp:not(.login-active) .inbox-unread-summary {
  border-color: #9ccfcb !important;
  background: #e9f6f5 !important;
  color: #176b67 !important;
}

html body#strongholdApp:not(.login-active) .inbox-message-list {
  display: grid !important;
  align-content: start !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
}

html body#strongholdApp:not(.login-active) button.inbox-row {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) 25px !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 80px !important;
  padding: 10px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid #e2e5e4 !important;
  border-left: 3px solid transparent !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #202927 !important;
  text-align: left !important;
  box-shadow: none !important;
  transform: none !important;
}

html body#strongholdApp:not(.login-active) button.inbox-row:hover {
  background: #f6f7f6 !important;
}

html body#strongholdApp:not(.login-active) button.inbox-row.active {
  border-left-color: #159e9a !important;
  background: #eef3f2 !important;
}

html body#strongholdApp:not(.login-active) button.inbox-row.unread .inbox-row-line strong,
html body#strongholdApp:not(.login-active) button.inbox-row.unread .inbox-row-subject {
  color: #141a18 !important;
  font-weight: 850 !important;
}

html body#strongholdApp:not(.login-active) .inbox-item-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #d5dad8 !important;
  border-radius: 7px !important;
  background: #f1f3f2 !important;
}

html body#strongholdApp:not(.login-active) .inbox-item-icon img {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.74 !important;
}

html body#strongholdApp:not(.login-active) .inbox-item-icon.tone-task,
html body#strongholdApp:not(.login-active) .inbox-item-icon.tone-job {
  border-color: #c9d7e6 !important;
  background: #edf3f9 !important;
}

html body#strongholdApp:not(.login-active) .inbox-item-icon.tone-chat {
  border-color: #9ccfcb !important;
  background: #e9f6f5 !important;
}

html body#strongholdApp:not(.login-active) .inbox-item-icon.tone-alert,
html body#strongholdApp:not(.login-active) .inbox-item-icon.tone-repair {
  border-color: #ead4a1 !important;
  background: #fff8e8 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-main {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-line {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 9px !important;
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-line strong,
html body#strongholdApp:not(.login-active) .inbox-row-subject,
html body#strongholdApp:not(.login-active) .inbox-row-preview {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-line strong {
  color: #303936 !important;
  font-size: 0.79rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-line time {
  flex: 0 0 auto !important;
  color: #7a827f !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-subject {
  color: #3c4643 !important;
  font-size: 0.75rem !important;
  font-weight: 750 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-preview {
  color: #707975 !important;
  font-size: 0.69rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-state {
  display: grid !important;
  gap: 5px !important;
  justify-items: center !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-state > img {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.4 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-unread-count {
  display: inline-grid !important;
  place-items: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: #167f7a !important;
  color: #ffffff !important;
  font-size: 0.61rem !important;
  font-weight: 850 !important;
}

html body#strongholdApp:not(.login-active) .inbox-row-unread-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #159e9a !important;
}

html body#strongholdApp:not(.login-active) .inbox-reading-pane {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  min-height: 540px !important;
  max-height: 70vh !important;
}

html body#strongholdApp:not(.login-active) .inbox-reading-pane.empty {
  grid-template-rows: 1fr !important;
  place-items: center !important;
}

html body#strongholdApp:not(.login-active) .inbox-pane-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 15px 17px !important;
  border-bottom: 1px solid #dde1e0 !important;
  background: #f8f9f8 !important;
}

html body#strongholdApp:not(.login-active) .inbox-pane-identity {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .inbox-pane-identity > div {
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .inbox-pane-head h3 {
  margin: 2px 0 !important;
  overflow: hidden !important;
  color: #202927 !important;
  font-size: 1.02rem !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .inbox-pane-head small,
html body#strongholdApp:not(.login-active) .inbox-pane-head > time {
  color: #6d7673 !important;
  font-size: 0.67rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-type-label {
  color: #117d79 !important;
  font-size: 0.61rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .inbox-person-avatar {
  display: inline-grid !important;
  flex: 0 0 auto !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #263431 !important;
  color: #ffffff !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
}

html body#strongholdApp:not(.login-active) .inbox-person-avatar.employee-profile-photo-frame {
  overflow: hidden;
  padding: 0;
}

html body#strongholdApp:not(.login-active) .inbox-person-avatar.employee-profile-photo-frame > img {
  width: 100%;
  height: 100%;
}

html body#strongholdApp:not(.login-active) .inbox-message-meta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 12px 17px !important;
  border-bottom: 1px solid #e2e5e4 !important;
  background: #ffffff !important;
}

html body#strongholdApp:not(.login-active) .inbox-message-meta div {
  min-width: 0 !important;
  padding: 8px 9px !important;
  border: 1px solid #e0e4e2 !important;
  border-radius: 5px !important;
  background: #f6f7f6 !important;
}

html body#strongholdApp:not(.login-active) .inbox-message-meta dt,
html body#strongholdApp:not(.login-active) .inbox-preview-copy > span {
  color: #727a77 !important;
  font-size: 0.6rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .inbox-message-meta dd {
  margin: 3px 0 0 !important;
  overflow-wrap: anywhere !important;
  color: #293330 !important;
  font-size: 0.77rem !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) .inbox-message-preview {
  display: grid !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 17px !important;
  overflow-y: auto !important;
  color: #394340 !important;
  line-height: 1.45 !important;
}

html body#strongholdApp:not(.login-active) .inbox-preview-copy {
  padding: 15px !important;
  border: 1px solid #dfe3e1 !important;
  border-radius: 6px !important;
  background: #f8f9f8 !important;
}

html body#strongholdApp:not(.login-active) .inbox-preview-copy p {
  margin: 7px 0 0 !important;
  color: #35403d !important;
  font-size: 0.87rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-thread-preview {
  align-content: start !important;
  background: #f4f6f5 !important;
}

html body#strongholdApp:not(.login-active) .inbox-chat-line {
  display: grid !important;
  gap: 5px !important;
  width: fit-content !important;
  max-width: min(82%, 560px) !important;
  padding: 9px 11px !important;
  border: 1px solid #d7dcda !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #293330 !important;
}

html body#strongholdApp:not(.login-active) .inbox-chat-line.sent {
  justify-self: end !important;
  border-color: #a9c8c5 !important;
  background: #eaf3f2 !important;
}

html body#strongholdApp:not(.login-active) .inbox-chat-line header {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body#strongholdApp:not(.login-active) .inbox-chat-line header strong {
  color: #26302d !important;
  font-size: 0.68rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-chat-line header time {
  color: #78817e !important;
  font-size: 0.59rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-chat-message-body p {
  margin: 0 !important;
  color: inherit !important;
  font-size: 0.79rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-pane-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 62px !important;
  padding: 11px 17px !important;
  border-top: 1px solid #dde1e0 !important;
  background: #f8f9f8 !important;
}

html body#strongholdApp:not(.login-active) .inbox-action-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-left: auto !important;
}

html body#strongholdApp:not(.login-active) button.inbox-text-action {
  min-height: 34px !important;
  padding: 0 5px !important;
  border-color: transparent !important;
  background: transparent !important;
  color: #59625f !important;
}

html body#strongholdApp:not(.login-active) button.inbox-text-action.danger {
  color: #a43939 !important;
}

html body#strongholdApp:not(.login-active) button.inbox-mobile-back {
  display: none !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-state {
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 6px !important;
  max-width: 330px !important;
  min-height: 180px !important;
  margin: auto !important;
  padding: 24px !important;
  color: #66706d !important;
  text-align: center !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-state.compact {
  min-height: 150px !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-state[hidden] {
  display: none !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-state strong {
  color: #303936 !important;
  font-size: 0.86rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-state p {
  margin: 0 !important;
  font-size: 0.76rem !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid #d8dddb !important;
  border-radius: 50% !important;
  background: #f1f3f2 !important;
}

html body#strongholdApp:not(.login-active) .inbox-empty-icon img {
  width: 20px !important;
  height: 20px !important;
  opacity: 0.55 !important;
}

/* Quick chat uses the same hierarchy without becoming a second visual theme. */
html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-launcher-panel {
  border: 1px solid #bfc6c3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #202927 !important;
  box-shadow: 0 18px 46px rgba(24, 34, 31, 0.24) !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-launcher-head {
  border-bottom: 1px solid #d8dddb !important;
  background: #f4f6f5 !important;
  background-image: none !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-head-copy strong {
  color: #202927 !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-head-copy small {
  color: #68716e !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-head-mark {
  border-color: #263431 !important;
  background: #263431 !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-head-mark img {
  filter: brightness(0) invert(1) !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-close,
html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-head-back {
  border-color: #cbd1cf !important;
  background: #ffffff !important;
  color: #26302d !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-launcher-tabs {
  gap: 4px !important;
  padding: 6px !important;
  border-bottom: 1px solid #dfe3e1 !important;
  background: #ffffff !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-tab {
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-image: none !important;
  color: #59625f !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-tab:hover {
  background: #eef1f0 !important;
  color: #202927 !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-tab.active {

  border-bottom-color: #263431 !important;

  
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-launcher-search {
  border-color: #cdd3d0 !important;
  background: #f8f9f8 !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-item {
  border: 0 !important;
  border-bottom: 1px solid #e2e5e4 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #26302d !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-item:hover {
  background: #f3f5f4 !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-person-avatar,
html body#strongholdApp:not(.login-active) .chat-launcher-root .role-avatar {
  border-color: #cbd1cf !important;
  background: #eef1f0 !important;
  color: #37413e !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-thread-messages {
  background: #f3f5f4 !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-thread-message.incoming {
  border-color: #d7dcda !important;
  background: #ffffff !important;
  color: #26302d !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-thread-message.outgoing {
  border-color: #9fc3c0 !important;
  background: #e8f2f1 !important;
  color: #26302d !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-thread-compose {
  border-top: 1px solid #d8dddb !important;
  background: #ffffff !important;
}

@media (max-width: 760px) {
  html body#strongholdApp:not(.login-active) #notificationsView.active {
    gap: 9px !important;
    padding-inline: 7px !important;
  }

  html body#strongholdApp:not(.login-active) #notificationsView > .inbox-page-header {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
    padding: 14px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-page-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-page-metrics {
    gap: 5px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-page-metrics > div {
    display: grid !important;
    justify-items: start !important;
    min-height: 54px !important;
    padding: 8px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-page-metrics span {
    font-size: 0.56rem !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-toolbar {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 7px !important;
  }

  html body#strongholdApp:not(.login-active) #inboxTabs.inbox-filter-tabs {
    padding-bottom: 2px !important;
  }

  html body#strongholdApp:not(.login-active) #notificationList.inbox-shell {
    display: block !important;
    min-height: 0 !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-list-pane,
  html body#strongholdApp:not(.login-active) .inbox-reading-pane {
    min-height: 52vh !important;
    max-height: none !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-shell:not(.has-selection) .inbox-reading-pane {
    display: none !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-shell.has-selection .inbox-list-pane {
    display: none !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-reading-pane {
    grid-template-rows: auto auto minmax(240px, 1fr) auto !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-pane-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 11px !important;
  }

  html body#strongholdApp:not(.login-active) button.inbox-mobile-back {
    grid-column: 1 / -1 !important;
    display: inline-flex !important;
    justify-self: start !important;
    min-height: 32px !important;
    padding: 0 8px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-message-meta {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    padding: 8px 11px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-message-meta div {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 7px 8px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-message-preview {
    padding: 11px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-chat-line {
    max-width: 91% !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-pane-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    padding: 9px 11px !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-action-group {
    width: 100% !important;
  }

  html body#strongholdApp:not(.login-active) .inbox-action-group > button,
  html body#strongholdApp:not(.login-active) .inbox-pane-actions > .inbox-primary-action {
    flex: 1 1 auto !important;
  }

  html body#strongholdApp:not(.login-active) .chat-launcher-root .chat-launcher-panel {
    border-radius: 0 !important;
  }
}

/* Crew directory: compact field roster and manager workflow. */
html body#strongholdApp:not(.login-active) #crewsView.active > .section-heading {
  display: none !important;
}

html body#strongholdApp:not(.login-active) #crewsView,
html body#strongholdApp:not(.login-active) #crewList,
html body#strongholdApp:not(.login-active) .crew-page-shell {
  width: 100% !important;
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .crew-page-shell {
  display: grid !important;
  gap: 14px !important;
}

html body#strongholdApp:not(.login-active) .crew-page-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 18px 20px !important;
  border: 1px solid var(--dlc-line) !important;
  border-left: 5px solid var(--dlc-dark-teal) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) .crew-page-heading .eyebrow {
  margin: 0 0 3px !important;
  color: var(--dlc-dark-teal) !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-page-heading h2 {
  margin: 0 !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
}

html body#strongholdApp:not(.login-active) .crew-page-heading p:last-child {
  margin: 5px 0 0 !important;
  color: #626a68 !important;
  font-size: 0.8rem !important;
}

html body#strongholdApp:not(.login-active) .crew-create-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 132px !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  border: 1px solid var(--dlc-tar) !important;
  border-left: 4px solid var(--dlc-teal) !important;
  color: var(--dlc-white) !important;
  background: var(--dlc-tar) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) .crew-create-button img {
  width: 16px !important;
  height: 16px !important;
  filter: brightness(0) invert(1) !important;
}

html body#strongholdApp:not(.login-active) .crew-command-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 2px 10px !important;
  min-height: 76px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--dlc-line) !important;
  border-top: 3px solid #536b75 !important;
  border-radius: 6px !important;
  background: #f9faf9 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card.assigned {
  border-top-color: var(--dlc-warning) !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card.available {
  border-top-color: var(--dlc-success) !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card.roster {
  border-top-color: var(--dlc-info) !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card > span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #596361 !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card > span img {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.72 !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card > strong {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
}

html body#strongholdApp:not(.login-active) .crew-stat-card > small {
  grid-column: 1 !important;
  color: #747c7a !important;
  font-size: 0.7rem !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-toolbar {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 13px 14px !important;
  border: 1px solid var(--dlc-line) !important;
  border-radius: 6px !important;
  background: #f7f8f7 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-toolbar h3 {
  margin: 0 !important;
  color: var(--dlc-tar) !important;
  font-size: 1rem !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-toolbar p {
  margin: 2px 0 0 !important;
  color: #747c7a !important;
  font-size: 0.72rem !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-controls {
  display: flex !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-search {
  position: relative !important;
  display: block !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-search img {
  position: absolute !important;
  z-index: 1 !important;
  left: 10px !important;
  top: 50% !important;
  width: 15px !important;
  height: 15px !important;
  opacity: 0.55 !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-search input {
  width: 240px !important;
  height: 36px !important;
  padding: 7px 10px 7px 32px !important;
  border: 1px solid var(--dlc-line-strong) !important;
  border-radius: 5px !important;
  background: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-filter {
  display: grid !important;
  gap: 3px !important;
  color: #626a68 !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-filter select {
  min-width: 132px !important;
  height: 36px !important;
  padding: 6px 9px !important;
  border: 1px solid var(--dlc-line-strong) !important;
  border-radius: 5px !important;
  background: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 520px)) !important;
  justify-content: start !important;
  gap: 12px !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-card {
  --crew-status: #5d6b70;
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 13px 14px !important;
  border: 1px solid var(--dlc-line) !important;
  border-left: 4px solid var(--crew-status) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-card.status-active {
  --crew-status: var(--dlc-success);
}

html body#strongholdApp:not(.login-active) .crew-directory-card.status-assigned {
  --crew-status: var(--dlc-warning);
}

html body#strongholdApp:not(.login-active) .crew-directory-card[hidden] {
  display: none !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-card-head,
html body#strongholdApp:not(.login-active) .crew-directory-identity,
html body#strongholdApp:not(.login-active) .crew-directory-card-footer,
html body#strongholdApp:not(.login-active) .crew-directory-actions,
html body#strongholdApp:not(.login-active) .crew-directory-flags {
  display: flex !important;
  align-items: center !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-card-head,
html body#strongholdApp:not(.login-active) .crew-directory-card-footer {
  justify-content: space-between !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-identity {
  min-width: 0 !important;
  gap: 9px !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-icon {
  display: grid !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  border: 1px solid #d5d9d8 !important;
  border-radius: 5px !important;
  background: #f2f4f3 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-icon img {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.72 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-identity h3 {
  overflow: hidden !important;
  margin: 0 !important;
  color: var(--dlc-tar) !important;
  font-size: 0.96rem !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-identity p {
  margin: 2px 0 0 !important;
  color: #747c7a !important;
  font-size: 0.68rem !important;
}

html body#strongholdApp:not(.login-active) .crew-status-pill {
  flex: 0 0 auto !important;
  padding: 5px 8px !important;
  border: 1px solid #c8cdcc !important;
  border-radius: 999px !important;
  color: #46504e !important;
  background: #f1f3f2 !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-status-pill.active {
  border-color: #b6d8c3 !important;
  color: #1f673d !important;
  background: #edf8f1 !important;
}

html body#strongholdApp:not(.login-active) .crew-status-pill.assigned {
  border-color: #e5cf9b !important;
  color: #815a0b !important;
  background: #fff8e8 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-assignment {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 2px 10px !important;
  min-width: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid #dfe2e1 !important;
  border-radius: 5px !important;
  background: #f7f8f7 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-assignment > span {
  grid-column: 1 !important;
  color: #747c7a !important;
  font-size: 0.59rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-assignment > strong {
  grid-column: 1 !important;
  overflow: hidden !important;
  color: #303634 !important;
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-assignment > button {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  min-height: 28px !important;
  padding: 4px 8px !important;
  font-size: 0.66rem !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-details {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-roster {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) .crew-avatar-stack {
  display: flex !important;
  flex: 0 0 auto !important;
  padding-left: 4px !important;
}

html body#strongholdApp:not(.login-active) .crew-avatar,
html body#strongholdApp:not(.login-active) .crew-avatar-more {
  display: grid !important;
  width: 32px !important;
  height: 32px !important;
  margin-left: -5px !important;
  overflow: hidden !important;
  place-items: center !important;
  border: 2px solid var(--dlc-white) !important;
  border-radius: 50% !important;
  color: var(--dlc-white) !important;
  background: #596663 !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) img.crew-avatar {
  object-fit: cover !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-roster > div:last-child {
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-roster small {
  display: block !important;
  color: #747c7a !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-roster strong {
  display: block !important;
  overflow: hidden !important;
  color: var(--dlc-tar) !important;
  font-size: 0.76rem !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-roster p {
  overflow: hidden !important;
  margin: 2px 0 0 !important;
  color: #626a68 !important;
  font-size: 0.66rem !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-metrics > span {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
  padding-left: 8px !important;
  border-left: 1px solid #dfe2e1 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-metrics small {
  color: #747c7a !important;
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-metrics strong {
  overflow: hidden !important;
  color: #303634 !important;
  font-size: 0.72rem !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-card-footer {
  min-height: 30px !important;
  padding-top: 8px !important;
  border-top: 1px solid #e3e5e4 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-flags,
html body#strongholdApp:not(.login-active) .crew-directory-actions {
  flex-wrap: wrap !important;
  gap: 6px !important;
}

html body#strongholdApp:not(.login-active) .crew-grade-chip,
html body#strongholdApp:not(.login-active) .crew-comment-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #5d6664 !important;
  font-size: 0.61rem !important;
}

html body#strongholdApp:not(.login-active) .crew-comment-count img {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.65 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-actions button {
  min-width: 0 !important;
  min-height: 29px !important;
  height: 29px !important;
  padding: 4px 9px !important;
  border-radius: 4px !important;
  font-size: 0.65rem !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-actions .danger-text {
  border-color: #d8baba !important;
  color: var(--dlc-danger) !important;
  background: #fffafa !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-empty {
  display: grid !important;
  grid-column: 1 / -1 !important;
  justify-items: center !important;
  gap: 6px !important;
  padding: 28px !important;
  border: 1px dashed var(--dlc-line-strong) !important;
  border-radius: 7px !important;
  color: #626a68 !important;
  background: #f8f9f8 !important;
  text-align: center !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-empty[hidden] {
  display: none !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-empty img {
  width: 25px !important;
  height: 25px !important;
  opacity: 0.55 !important;
}

html body#strongholdApp:not(.login-active) .crew-directory-empty h3,
html body#strongholdApp:not(.login-active) .crew-directory-empty p {
  margin: 0 !important;
}

html body#strongholdApp:not(.login-active) dialog.crew-create-dialog,
html body#strongholdApp:not(.login-active) dialog#crewEditDialog {
  width: min(92vw, 820px) !important;
  max-width: 820px !important;
  max-height: 90vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--dlc-line-strong) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  box-shadow: 0 22px 55px rgba(38, 35, 33, 0.24) !important;
}

html body#strongholdApp:not(.login-active) .crew-create-panel,
html body#strongholdApp:not(.login-active) .crew-manage-panel {
  width: 100% !important;
  max-width: none !important;
  max-height: 88vh !important;
  padding: 20px !important;
  overflow-y: auto !important;
  border: 0 !important;
  background: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) .crew-create-panel h2,
html body#strongholdApp:not(.login-active) .crew-manage-panel h2 {
  margin: 0 0 4px !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 1.85rem !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

html body#strongholdApp:not(.login-active) .crew-create-grid,
html body#strongholdApp:not(.login-active) .crew-edit-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) .crew-laborer-section,
html body#strongholdApp:not(.login-active) .crew-manage-section {
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid var(--dlc-line) !important;
  border-radius: 6px !important;
  background: #f8f9f8 !important;
}

html body#strongholdApp:not(.login-active) .crew-create-panel .crew-laborer-section {
  margin-top: 12px !important;
}

html body#strongholdApp:not(.login-active) .crew-laborer-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) .crew-laborer-head > div {
  display: grid !important;
  gap: 2px !important;
}

html body#strongholdApp:not(.login-active) .crew-builder-count {
  padding: 4px 7px !important;
  border: 1px solid #ccd1d0 !important;
  border-radius: 999px !important;
  color: #4c5653 !important;
  background: var(--dlc-white) !important;
  font-size: 0.61rem !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) .crew-laborer-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  max-height: 220px !important;
  overflow-y: auto !important;
}

html body#strongholdApp:not(.login-active) .crew-member-row {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 7px 8px !important;
  border: 1px solid #d9dcdb !important;
  border-radius: 5px !important;
  background: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) .crew-edit-shell {
  display: grid !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) .crew-manage-section-head {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
}

html body#strongholdApp:not(.login-active) .crew-manage-section-head > span {
  display: grid !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: var(--dlc-white) !important;
  background: #58625f !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) .crew-manage-section-head > div {
  display: grid !important;
  gap: 1px !important;
}

html body#strongholdApp:not(.login-active) .crew-manage-section-head strong {
  color: var(--dlc-tar) !important;
  font-size: 0.8rem !important;
}

html body#strongholdApp:not(.login-active) .crew-manage-section-head small {
  color: #747c7a !important;
  font-size: 0.67rem !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comments-list {
  display: grid !important;
  gap: 6px !important;
  max-height: 170px !important;
  overflow-y: auto !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comment {
  display: grid !important;
  gap: 4px !important;
  padding: 8px 9px !important;
  border-left: 3px solid #737c79 !important;
  background: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comment > div {
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comment strong,
html body#strongholdApp:not(.login-active) .crew-manager-comment time {
  font-size: 0.66rem !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comment time {
  color: #747c7a !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comment p {
  margin: 0 !important;
  color: #3f4846 !important;
  font-size: 0.73rem !important;
  line-height: 1.4 !important;
  white-space: pre-wrap !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comments-empty {
  padding: 12px !important;
  border: 1px dashed #cfd4d2 !important;
  color: #747c7a !important;
  background: var(--dlc-white) !important;
  font-size: 0.72rem !important;
  text-align: center !important;
}

html body#strongholdApp:not(.login-active) .crew-manager-comments textarea {
  min-height: 76px !important;
  resize: vertical !important;
}

html body#strongholdApp:not(.login-active) .crew-create-panel > menu,
html body#strongholdApp:not(.login-active) .crew-manage-panel > menu {
  position: sticky !important;
  z-index: 2 !important;
  bottom: -20px !important;
  margin: 12px -20px -20px !important;
  padding: 11px 20px !important;
  border-top: 1px solid var(--dlc-line) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 -5px 14px rgba(38, 35, 33, 0.06) !important;
}

@media (max-width: 900px) {
  html body#strongholdApp:not(.login-active) .crew-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  html body#strongholdApp:not(.login-active) .crew-page-shell {
    gap: 10px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-page-heading,
  html body#strongholdApp:not(.login-active) .crew-directory-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body#strongholdApp:not(.login-active) .crew-page-heading {
    padding: 14px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-page-heading h2 {
    font-size: 1.65rem !important;
  }

  html body#strongholdApp:not(.login-active) .crew-create-button {
    width: 100% !important;
  }

  html body#strongholdApp:not(.login-active) .crew-command-strip {
    gap: 7px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-stat-card {
    min-height: 68px !important;
    padding: 9px 10px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-stat-card > strong {
    font-size: 1.6rem !important;
  }

  html body#strongholdApp:not(.login-active) .crew-stat-card.roster > small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-controls,
  html body#strongholdApp:not(.login-active) .crew-directory-card-footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-search input,
  html body#strongholdApp:not(.login-active) .crew-directory-filter select {
    width: 100% !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-card {
    gap: 8px !important;
    padding: 11px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-details {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-metrics {
    padding-top: 8px !important;
    border-top: 1px solid #e3e5e4 !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-metrics > span:first-child {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  html body#strongholdApp:not(.login-active) .crew-directory-actions {
    justify-content: flex-end !important;
  }

  html body#strongholdApp:not(.login-active) dialog.crew-create-dialog,
  html body#strongholdApp:not(.login-active) dialog#crewEditDialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 16px) !important;
  }

  html body#strongholdApp:not(.login-active) .crew-create-panel,
  html body#strongholdApp:not(.login-active) .crew-manage-panel {
    max-height: calc(100vh - 18px) !important;
    padding: 15px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-create-panel > menu,
  html body#strongholdApp:not(.login-active) .crew-manage-panel > menu {
    bottom: -15px !important;
    margin: 12px -15px -15px !important;
    padding: 10px 15px !important;
  }

  html body#strongholdApp:not(.login-active) .crew-create-grid,
  html body#strongholdApp:not(.login-active) .crew-edit-grid,
  html body#strongholdApp:not(.login-active) .crew-laborer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Personal task drilldown opened from the home-page Critical Alerts rail. */
html body#strongholdApp:not(.login-active) #myTasksContent {
  width: min(1120px, 100%) !important;
  margin: 0 auto !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-shell {
  display: grid !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 0 0 28px !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 20px 22px !important;
  border: 1px solid var(--dlc-line) !important;
  border-left: 5px solid var(--dlc-dark-teal) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-head > div {
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-head .eyebrow {
  margin: 0 0 4px !important;
  color: var(--dlc-dark-teal) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-head h2 {
  margin: 0 !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-head p:last-child {
  max-width: 720px !important;
  margin: 7px 0 0 !important;
  color: #5f6866 !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-add {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 118px !important;
  min-height: 40px !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-add img {
  width: 16px !important;
  height: 16px !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary > span {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 11px 13px !important;
  border: 1px solid var(--dlc-line) !important;
  border-radius: 6px !important;
  background: #f1f3f2 !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary small {
  color: #606866 !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary strong {
  color: var(--dlc-tar) !important;
  font-size: 1.2rem !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary .risk {
  border-color: #e2b1b1 !important;
  background: #fff4f4 !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary .risk strong {
  color: var(--dlc-danger) !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary .warn {
  border-color: #e5cea1 !important;
  background: #fff9ed !important;
}

html body#strongholdApp:not(.login-active) .my-task-summary .warn strong {
  color: #94640d !important;
}

html body#strongholdApp:not(.login-active) .my-task-list {
  display: grid !important;
  gap: 8px !important;
}

html body#strongholdApp:not(.login-active) .my-task-row {
  --task-accent: var(--dlc-info);
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) minmax(210px, 250px) !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  padding: 13px 15px 13px 12px !important;
  border: 1px solid var(--dlc-line) !important;
  border-left: 4px solid var(--task-accent) !important;
  border-radius: 6px !important;
  background: var(--dlc-white) !important;
  box-shadow: 0 2px 7px rgba(38, 35, 33, 0.06) !important;
}

html body#strongholdApp:not(.login-active) .my-task-row.tone-warn {
  --task-accent: var(--dlc-warning);
}

html body#strongholdApp:not(.login-active) .my-task-row.tone-risk {
  --task-accent: var(--dlc-danger);
}

html body#strongholdApp:not(.login-active) .my-task-status-icon {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid color-mix(in srgb, var(--task-accent) 42%, white) !important;
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--task-accent) 10%, white) !important;
}

html body#strongholdApp:not(.login-active) .my-task-status-icon img {
  width: 17px !important;
  height: 17px !important;
  filter: none !important;
}

html body#strongholdApp:not(.login-active) .my-task-copy {
  display: grid !important;
  min-width: 0 !important;
  gap: 4px !important;
}

html body#strongholdApp:not(.login-active) .my-task-eyebrow,
html body#strongholdApp:not(.login-active) .my-task-context {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px 12px !important;
}

html body#strongholdApp:not(.login-active) .my-task-eyebrow span,
html body#strongholdApp:not(.login-active) .my-task-eyebrow b {
  color: #5f6866 !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .my-task-eyebrow b {
  color: var(--task-accent) !important;
}

html body#strongholdApp:not(.login-active) .my-task-copy h3 {
  margin: 0 !important;
  color: var(--dlc-tar) !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
}

html body#strongholdApp:not(.login-active) .my-task-copy > p {
  margin: 0 !important;
  color: #555e5c !important;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}

html body#strongholdApp:not(.login-active) .my-task-context span {
  color: #6a7270 !important;
  font-size: 0.68rem !important;
}

html body#strongholdApp:not(.login-active) .my-task-context strong {
  color: #454c4a !important;
}

html body#strongholdApp:not(.login-active) .my-task-side {
  display: grid !important;
  justify-items: end !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) .my-task-due {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  color: #555e5c !important;
}

html body#strongholdApp:not(.login-active) .my-task-due small {
  color: #727a78 !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) .my-task-due strong,
html body#strongholdApp:not(.login-active) .my-task-due span {
  font-size: 0.72rem !important;
}

html body#strongholdApp:not(.login-active) .my-task-due.risk span {
  color: var(--dlc-danger) !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) .my-task-due.warn span {
  color: #94640d !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) .my-task-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

html body#strongholdApp:not(.login-active) .my-task-actions button {
  width: auto !important;
  min-width: 82px !important;
  min-height: 32px !important;
  padding: 5px 10px !important;
  font-size: 0.72rem !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-empty {
  display: grid !important;
  place-items: center !important;
  gap: 6px !important;
  padding: 42px 20px !important;
  border: 1px dashed var(--dlc-line-strong) !important;
  border-radius: 7px !important;
  background: #f3f5f4 !important;
  text-align: center !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-empty img {
  width: 30px !important;
  height: 30px !important;
}

html body#strongholdApp:not(.login-active) .my-tasks-empty h3,
html body#strongholdApp:not(.login-active) .my-tasks-empty p {
  margin: 0 !important;
}

@media (max-width: 700px) {
  html body#strongholdApp:not(.login-active) .todo-management-filters {
    grid-template-columns: 1fr;
  }

  html body#strongholdApp:not(.login-active) #myTasksContent {
    width: 100% !important;
  }

  html body#strongholdApp:not(.login-active) .my-tasks-head {
    align-items: stretch !important;
    padding: 15px !important;
  }

  html body#strongholdApp:not(.login-active) .my-tasks-head h2 {
    font-size: 1.65rem !important;
  }

  html body#strongholdApp:not(.login-active) .my-tasks-head p:last-child {
    font-size: 0.76rem !important;
  }

  html body#strongholdApp:not(.login-active) .my-tasks-add {
    min-width: 96px !important;
    align-self: flex-start !important;
  }

  html body#strongholdApp:not(.login-active) .my-task-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body#strongholdApp:not(.login-active) .my-task-row {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px 11px 12px 9px !important;
  }

  html body#strongholdApp:not(.login-active) .my-task-status-icon {
    width: 30px !important;
    height: 30px !important;
  }

  html body#strongholdApp:not(.login-active) .my-task-side {
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-items: stretch !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e5e4 !important;
  }

  html body#strongholdApp:not(.login-active) .my-task-due {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  html body#strongholdApp:not(.login-active) .my-task-actions {
    justify-content: flex-end !important;
  }
}

@font-face {
  font-family: "DLC Public Sans";
  src: url("./fonts/public-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DLC Public Sans";
  src: url("./fonts/public-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DLC Public Sans";
  src: url("./fonts/public-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DLC Public Sans";
  src: url("./fonts/public-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --dlc-tar: #262321;
  --dlc-ash: #424242;
  --dlc-dark-teal: #00726a;
  --dlc-teal: #00b3aa;
  --dlc-light-teal: #96dad6;
  --dlc-gray: #f5f5f5;
  --dlc-white: #ffffff;
  --dlc-line: #c9cecd;
  --dlc-line-strong: #929a98;
  --dlc-danger: #c63838;
  --dlc-warning: #c98a13;
  --dlc-success: #287a4b;
  --dlc-info: #286ca8;
  --dlc-shadow: 0 8px 22px rgba(38, 35, 33, 0.10);
  --dlc-shadow-soft: 0 3px 10px rgba(38, 35, 33, 0.07);
  --dlc-button-bg: var(--dlc-white);
  --dlc-button-text: var(--dlc-tar);
  --dlc-button-border: #8f9896;
  --dlc-button-shadow: var(--dlc-shadow-soft);
  --dlc-button-hover-bg: #eef9f8;
  --dlc-button-hover-text: var(--dlc-tar);
  --dlc-button-hover-border: var(--dlc-dark-teal);
  --dlc-body-font: "DLC Public Sans", "Segoe UI", Arial, sans-serif;
  --dlc-heading-font: "DLC Bebas Neue", "Arial Narrow", sans-serif;

  /* Compatibility tokens consumed by older functional modules. */
  --ink: var(--dlc-tar);
  --muted: var(--dlc-ash);
  --line: var(--dlc-line);
  --paper: var(--dlc-gray);
  --white: var(--dlc-white);
  --brand: var(--dlc-teal);
  --brand-strong: var(--dlc-dark-teal);
  --accent: var(--dlc-light-teal);
  --surface: var(--dlc-gray);
  --surface-strong: var(--dlc-white);
  --steel: var(--dlc-tar);
  --stronghold-ink: var(--dlc-tar);
  --stronghold-ink-soft: var(--dlc-ash);
  --stronghold-muted: #606765;
  --stronghold-line: var(--dlc-line);
  --stronghold-line-strong: var(--dlc-line-strong);
  --stronghold-paper: var(--dlc-gray);
  --stronghold-teal: var(--dlc-teal);
  --stronghold-teal-dark: var(--dlc-dark-teal);
  --stronghold-heading-font: var(--dlc-body-font);
  --command-ink: var(--dlc-tar);
  --command-ink-2: var(--dlc-ash);
  --command-muted: #606765;
  --command-page: var(--dlc-gray);
  --command-panel: var(--dlc-white);
  --command-panel-2: #f8f9f9;
  --command-line: rgba(66, 66, 66, 0.26);
  --command-cyan: var(--dlc-teal);
  --command-teal: var(--dlc-dark-teal);
  --command-teal-dark: #004d47;
  --command-night: var(--dlc-tar);
  --command-night-2: #35312f;
  --cmd-ink: var(--dlc-tar);
  --cmd-muted: #606765;
  --cmd-panel: var(--dlc-white);
  --cmd-panel-soft: #f8f9f9;
  --cmd-line: rgba(66, 66, 66, 0.26);
  --cmd-cyan: var(--dlc-teal);
  --cmd-teal: var(--dlc-dark-teal);
  --cmd-night: var(--dlc-tar);
  --cmd-night-2: #35312f;
  --cm-shell: var(--dlc-tar);
  --cm-shell-2: #302d2b;
  --cm-shell-3: #3b3735;
  --cm-ink: var(--dlc-tar);
  --cm-muted: #606765;
  --cm-canvas: var(--dlc-gray);
  --cm-panel: var(--dlc-white);
  --cm-panel-soft: #f8f9f9;
  --cm-line: var(--dlc-line);
  --cm-line-strong: var(--dlc-line-strong);
}

/* Application foundation. The login remains Stronghold-owned. */
html body#strongholdApp:not(.login-active) {
  color: var(--dlc-tar) !important;
  background: var(--dlc-gray) !important;
  background-image: none !important;
  font-family: var(--dlc-body-font) !important;
}

html body#strongholdApp:not(.login-active) :where(
  button,
  input,
  select,
  textarea,
  table,
  dialog,
  .workspace,
  .view,
  .app-prompt-dialog
) {
  font-family: var(--dlc-body-font) !important;
  letter-spacing: 0 !important;
}

html body#strongholdApp:not(.login-active) .workspace :where(
  h1,
  h2,
  h3,
  .view-title,
  .section-heading > strong,
  .section-heading > h2,
  .dialog-title,
  .home-command-title,
  .project-number-display
) {
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

html body#strongholdApp:not(.login-active) :where(
  .eyebrow,
  .sidebar-module-label,
  .folder-group-label,
  .metric-label,
  .kicker
) {
  font-family: var(--dlc-body-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html body#strongholdApp:not(.login-active) :where(p, small, .helper, .muted) {
  color: var(--dlc-ash);
}

/* Header: DLC company identity in a neutral product shell. */
html body#strongholdApp:not(.login-active) .app-header {
  --header-surface: #f0f2f1;
  --header-surface-deep: #e5e9e8;
  --header-card: var(--dlc-white);
  --header-card-hover: var(--dlc-white);
  --header-border: #aeb6b4;
  --header-ink: var(--dlc-tar);
  --header-muted: var(--dlc-ash);
  border-bottom: 2px solid var(--dlc-dark-teal) !important;
  background: #ecefee !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  box-shadow: 0 4px 16px rgba(38, 35, 33, 0.12) !important;
}

html body#strongholdApp:not(.login-active) .app-header .header-logo-shell {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body#strongholdApp:not(.login-active) .app-header .header-logo-shell #headerLogoLink {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

html body#strongholdApp:not(.login-active) .app-header .header-logo-shell #headerLogoLink:hover,
html body#strongholdApp:not(.login-active) .app-header .header-logo-shell #headerLogoLink:active,
html body#strongholdApp:not(.login-active) .app-header .header-logo-shell #headerLogoLink:focus {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

html body#strongholdApp:not(.login-active) .app-header .header-logo-shell #headerLogoLink:focus-visible {
  outline: 2px solid var(--dlc-dark-teal) !important;
  outline-offset: 2px !important;
}

html body#strongholdApp:not(.login-active) .app-header .header-logo {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
}

html body#strongholdApp:not(.login-active) .app-header .search-box input {
  border: 1px solid #aeb6b4 !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .app-header .search-box input:focus {
  border-color: var(--dlc-dark-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 179, 170, 0.18) !important;
}

html body#strongholdApp:not(.login-active) .app-header button#headerToolsToggle,
html body#strongholdApp:not(.login-active) .app-header button.header-icon-button,
html body#strongholdApp:not(.login-active) .app-header button.header-user-toggle {
  border-color: #aeb6b4 !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-dark-teal) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) .app-header button#headerToolsToggle:hover,
html body#strongholdApp:not(.login-active) .app-header button.header-icon-button:hover,
html body#strongholdApp:not(.login-active) .app-header button.header-user-toggle:hover,
html body#strongholdApp:not(.login-active) .app-header button[aria-expanded="true"] {
  border-color: var(--dlc-dark-teal) !important;
  background: #eef9f8 !important;
  color: var(--dlc-dark-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 179, 170, 0.14) !important;
}

html body#strongholdApp:not(.login-active) .app-header .header-tools-panel,
html body#strongholdApp:not(.login-active) .app-header .header-user-details {
  border-color: #aeb6b4 !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  box-shadow: 0 16px 36px rgba(38, 35, 33, 0.18) !important;
}

/*
 * Operational launchers. These five destinations represent Stronghold's main
 * flow: schedule, dispatch, estimate, review, and execute sold work.
 */
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 8px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 6px 10px 6px 8px !important;
  overflow: hidden !important;
  border: 1px solid #aeb8b6 !important;
  border-radius: 7px !important;
  background: #f6f8f7 !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 3px 8px rgba(38, 35, 33, 0.08) !important;
  text-align: center !important;
  text-shadow: none !important;
  transform: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-icon {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  border: 1px solid #1f292b !important;
  border-radius: 6px !important;
  background: #303738 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-copy {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  gap: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  text-align: center !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-kicker {
  display: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-text,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.service-opportunities .header-nav-text {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  align-self: center !important;
  grid-area: auto !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link::before,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link:hover,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link:hover,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link:focus-visible,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link:focus-visible {
  border-color: #688083 !important;
  background: #e8eeed !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  box-shadow: 0 0 0 3px rgba(36, 80, 83, 0.10), 0 4px 10px rgba(38, 35, 33, 0.10) !important;
  transform: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link.active,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link.active,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link[aria-current="page"],
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link[aria-current="page"] {
  border-color: #557174 !important;
  background: #dfe8e7 !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  box-shadow: inset 0 0 0 1px rgba(36, 80, 83, 0.10), 0 4px 10px rgba(38, 35, 33, 0.11) !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.active .header-nav-icon,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link[aria-current="page"] .header-nav-icon {
  border-color: var(--dlc-dark-teal) !important;
  background: var(--dlc-dark-teal) !important;
  color: var(--dlc-white) !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.active .header-nav-kicker,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link[aria-current="page"] .header-nav-kicker {
  display: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.active .header-nav-text,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link[aria-current="page"] .header-nav-text,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.active::after,
html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link[aria-current="page"]::after {
  color: var(--dlc-tar) !important;
}

@media (min-width: 1101px) and (max-width: 1399px) {
  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link,
  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link {
    grid-template-columns: 25px minmax(0, 1fr) !important;
    gap: 4px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 5px 5px 5px 4px !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-icon {
    width: 25px !important;
    min-width: 25px !important;
    max-width: 25px !important;
    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-kicker {
    display: none !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-text,
  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.service-opportunities .header-nav-text {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 1100px) {
  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-links > button.top-link.header-chart-link,
  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-stage-links > button.top-link.header-chart-link {
    flex: 0 0 142px !important;
    width: 142px !important;
    min-width: 142px !important;
    max-width: 142px !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 6px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 5px 7px 5px 6px !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-icon {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-kicker {
    display: none !important;
  }

  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link .header-nav-text,
  html body#strongholdApp#strongholdApp#strongholdApp:not(.login-active) .app-header .header-chart-link.service-opportunities .header-nav-text {
    font-size: 0.72rem !important;
  }
}

/* Sidebar: Tar Black carries structure; teal is only the active cue. */
html body#strongholdApp.command-map-theme:not(.login-active) .sidebar {
  border-right: 3px solid var(--dlc-dark-teal) !important;
  background: var(--dlc-tar) !important;
  background-image: none !important;
  color: var(--dlc-white) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .sidebar .sidebar-module-label {
  color: var(--dlc-light-teal) !important;
  font-size: 0.62rem !important;
}

html body#strongholdApp:not(.login-active) .sidebar button.nav-link {
  border: 1px solid #4d4946 !important;
  border-left: 4px solid transparent !important;
  background: #302d2b !important;
  background-image: none !important;
  color: var(--dlc-white) !important;
  font-family: var(--dlc-body-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .sidebar button.nav-link:hover {
  border-color: #77716e !important;
  border-left-color: var(--dlc-teal) !important;
  background: #3a3634 !important;
  color: var(--dlc-white) !important;
  transform: none !important;
}

html body#strongholdApp:not(.login-active) .sidebar button.nav-link.active,
html body#strongholdApp:not(.login-active) .sidebar button.nav-link[aria-current="page"] {
  border-color: var(--dlc-white) !important;
  border-left-color: var(--dlc-teal) !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
}

html body#strongholdApp:not(.login-active) .sidebar button.nav-link::before {
  filter: brightness(0) invert(1) !important;
}

html body#strongholdApp:not(.login-active) .sidebar button.nav-link.active::before,
html body#strongholdApp:not(.login-active) .sidebar button.nav-link[aria-current="page"]::before {
  filter: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell .sidebar button.work-queue-nav span.work-queue-nav-count {
  color: var(--dlc-tar) !important;
  text-shadow: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell .sidebar button.todo-nav-link span#todoNavCount.work-queue-nav-count {
  color: #101820 !important;
  text-shadow: none !important;
}

/* Neutral page structure and cards. */
html body#strongholdApp:not(.login-active) :where(.workspace, .view) {
  color: var(--dlc-tar) !important;
  background-image: none !important;
}

html body#strongholdApp:not(.login-active) :where(
  .record-card,
  .stat-card,
  .folder-item,
  .inspection-summary,
  .table-wrap,
  .dialog-panel,
  .project-dialog-card,
  .home-command-card,
  .home-command-center,
  .sold-financial-table-card,
  .sold-financial-editor-card,
  .property-detail-layout,
  .project-detail-layout,
  .file-library-layout,
  .employee-card,
  .crew-card,
  .service-card
) {
  border-color: var(--dlc-line) !important;
  background: var(--dlc-white) !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) :where(
  .section-heading,
  .toolbar,
  .workspace-toolbar,
  .project-summary-card,
  .property-summary-card
) {
  border-color: var(--dlc-line) !important;
  border-left-color: var(--dlc-teal) !important;
  background: var(--dlc-white) !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
}

html body#strongholdApp:not(.login-active) :where(input, select, textarea) {
  border: 1px solid #aeb6b4 !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) :where(input, select, textarea):focus {
  border-color: var(--dlc-dark-teal) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(0, 179, 170, 0.16) !important;
}

html body#strongholdApp:not(.login-active) :where(input, textarea)::placeholder {
  color: #747b79 !important;
  opacity: 1 !important;
}

html body#strongholdApp:not(.login-active) table {
  color: var(--dlc-tar) !important;
  background: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) :where(th, .table-header) {
  border-color: #4d4946 !important;
  background: var(--dlc-tar) !important;
  color: var(--dlc-white) !important;
  font-family: var(--dlc-body-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html body#strongholdApp:not(.login-active) tbody tr:nth-child(even) td {
  background: var(--dlc-gray);
}

html body#strongholdApp:not(.login-active) :where(td, .table-row) {
  border-color: #d8dcdb !important;
}

html body#strongholdApp:not(.login-active) a {
  color: var(--dlc-dark-teal);
}

html body#strongholdApp:not(.login-active) a:hover {
  color: #004d47;
}

/* Buttons: neutral by default, teal reserved for a real primary action. */
html body#strongholdApp:not(.login-active) .app-shell button:not(
  .nav-link,
  .thumbnail-button,
  .video-thumbnail-button,
  .employee-photo-trigger,
  .deficiency-thumb,
  .preview-photo-nav-btn,
  .deficiency-photo-arrow,
  .deficiency-photo-delete,
  .close-x,
  .leaflet-control-zoom-in,
  .leaflet-control-zoom-out,
  .sold-financial-project-link,
  .section-report-page-tab
),
html body#strongholdApp:not(.login-active) dialog button:not(
  .thumbnail-button,
  .video-thumbnail-button,
  .employee-photo-trigger,
  .deficiency-thumb,
  .preview-photo-nav-btn,
  .deficiency-photo-arrow,
  .deficiency-photo-delete,
  .close-x
),
html body#strongholdApp:not(.login-active) :where(.button-link, .folder.ghost),
html body#strongholdApp:not(.login-active) input[type="file"]::file-selector-button {
  border: 1px solid #8f9896 !important;
  border-radius: 6px !important;
  background: var(--dlc-white) !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-body-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: var(--dlc-shadow-soft) !important;
  transform: none !important;
}

html body#strongholdApp:not(.login-active) .app-shell button:not(
  .nav-link,
  .thumbnail-button,
  .video-thumbnail-button,
  .employee-photo-trigger,
  .deficiency-thumb,
  .preview-photo-nav-btn,
  .deficiency-photo-arrow,
  .deficiency-photo-delete,
  .close-x,
  .leaflet-control-zoom-in,
  .leaflet-control-zoom-out,
  .sold-financial-project-link,
  .section-report-page-tab
):hover,
html body#strongholdApp:not(.login-active) dialog button:hover,
html body#strongholdApp:not(.login-active) :where(.button-link, .folder.ghost):hover {
  border-color: var(--dlc-dark-teal) !important;
  background: #eef9f8 !important;
  color: var(--dlc-tar) !important;
  filter: none !important;
  transform: none !important;
  box-shadow: 0 0 0 3px rgba(0, 179, 170, 0.12) !important;
}

html body#strongholdApp:not(.login-active) :where(
  button.primary,
  button.success,
  button[type="submit"],
  button[data-open-project]:not(.sold-financial-project-link),
  button[data-quick-new],
  .primary-action,
  .app-prompt-confirm
) {
  border-color: var(--dlc-dark-teal) !important;
  background: var(--dlc-dark-teal) !important;
  color: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) :where(
  button.active,
  button[aria-selected="true"],
  button[aria-pressed="true"],
  .tab-button.active,
  .folder.is-open
) {
  border-color: var(--dlc-dark-teal) !important;
  background: #dff3f1 !important;
  color: var(--dlc-tar) !important;
}

html body#strongholdApp:not(.login-active) :where(
  button.danger,
  button.delete,
  button[data-delete],
  .deficiency-photo-delete
) {
  border-color: #a72e2e !important;
  background: var(--dlc-danger) !important;
  color: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) :where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(0, 179, 170, 0.28) !important;
  outline-offset: 2px !important;
}

/*
 * command-map-theme historically used a very high-specificity button selector.
 * Two repeated IDs intentionally establish this file as the final button
 * authority without editing functional component CSS.
 */
html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button:not(
  .nav-link,
  .thumbnail-button,
  .video-thumbnail-button,
  .employee-photo-trigger,
  .deficiency-thumb,
  .preview-photo-nav-btn,
  .deficiency-photo-arrow,
  .deficiency-photo-delete,
  .close-x,
  .leaflet-control-zoom-in,
  .leaflet-control-zoom-out,
  .gm-control-active,
  .sold-financial-project-link,
  .section-report-page-tab,
  .command-metric,
  .command-dispatch-summary,
  .command-rail-link,
  .header-icon-button,
  .header-chart-link,
  .header-tools-toggle,
  .top-link
) {
  border: 1px solid #8f9896 !important;
  border-radius: 6px !important;
  background: var(--dlc-white) !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-body-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: var(--dlc-shadow-soft) !important;
  filter: none !important;
  transform: none !important;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button:not(
  .nav-link,
  .thumbnail-button,
  .video-thumbnail-button,
  .employee-photo-trigger,
  .deficiency-thumb,
  .preview-photo-nav-btn,
  .deficiency-photo-arrow,
  .deficiency-photo-delete,
  .close-x,
  .leaflet-control-zoom-in,
  .leaflet-control-zoom-out,
  .gm-control-active,
  .sold-financial-project-link,
  .section-report-page-tab,
  .command-metric,
  .command-dispatch-summary,
  .command-rail-link,
  .header-icon-button,
  .header-chart-link,
  .header-tools-toggle,
  .top-link
):hover {
  border-color: var(--dlc-dark-teal) !important;
  background: #eef9f8 !important;
  color: var(--dlc-tar) !important;
  box-shadow: 0 0 0 3px rgba(0, 179, 170, 0.12) !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.primary,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.success,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[type="submit"],
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-open-project]:not(.sold-financial-project-link):not(.property-history-entry),
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-quick-new],
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-add-section],
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-add-folder-item],
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-property-new-project],
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell .primary-action,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell .app-prompt-confirm {
  --dlc-button-bg: var(--dlc-dark-teal);
  --dlc-button-text: var(--dlc-white);
  --dlc-button-border: var(--dlc-dark-teal);
  --dlc-button-hover-bg: #005a54;
  --dlc-button-hover-text: var(--dlc-white);
  --dlc-button-hover-border: #005a54;
  border-color: var(--dlc-dark-teal) !important;
  background: var(--dlc-dark-teal) !important;
  color: var(--dlc-white) !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.primary:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.success:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[type="submit"]:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-open-project]:not(.sold-financial-project-link):not(.property-history-entry):hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-quick-new]:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-add-section]:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-add-folder-item]:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button[data-property-new-project]:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell .primary-action:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell .app-prompt-confirm:hover {
  border-color: #005a54 !important;
  background: #005a54 !important;
  color: var(--dlc-white) !important;
  box-shadow: 0 0 0 3px rgba(0, 179, 170, 0.16) !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.property-history-entry {
  --dlc-button-bg: var(--dlc-white);
  --dlc-button-text: var(--dlc-tar);
  --dlc-button-border: var(--dlc-border);
  --dlc-button-hover-bg: #eef9f8;
  --dlc-button-hover-text: var(--dlc-tar);
  --dlc-button-hover-border: var(--dlc-teal);
  border: 0 !important;
  border-left: 3px solid var(--history-tone, var(--dlc-teal)) !important;
  border-bottom: 1px solid var(--dlc-border) !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.property-history-entry:hover,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell button.property-history-entry:focus-visible {
  border-left-color: var(--dlc-teal) !important;
  background: #eef9f8 !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell :where(
  button.active,
  button[aria-selected="true"],
  button[aria-pressed="true"],
  button.selected-folder
) {
  border-color: var(--dlc-dark-teal) !important;
  background: #dff3f1 !important;
  color: var(--dlc-tar) !important;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell :where(
  button.danger,
  button.delete,
  button.delete-btn,
  button.employee-delete-btn,
  button.section-delete-btn,
  button.file-media-delete-btn,
  button[data-delete]
) {
  border-color: #a72e2e !important;
  background: var(--dlc-danger) !important;
  color: var(--dlc-white) !important;
}

/* Search results and property history use information hierarchy, not teal blocks. */
html body#strongholdApp:not(.login-active) .search-results {
  border: 1px solid #aeb6b4 !important;
  background: var(--dlc-white) !important;
  box-shadow: 0 16px 36px rgba(38, 35, 33, 0.18) !important;
}

html body#strongholdApp:not(.login-active) .search-result-item {
  border: 0 !important;
  border-bottom: 1px solid #e0e3e2 !important;
  border-left: 4px solid transparent !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) .search-result-item:hover,
html body#strongholdApp:not(.login-active) .search-result-item:focus-visible {
  border-left-color: var(--dlc-teal) !important;
  background: var(--dlc-gray) !important;
}

html body#strongholdApp:not(.login-active) .property-files-upload-workspace > .folder-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body#strongholdApp#strongholdApp:not(.login-active) .property-files-upload-workspace > .folder-grid > button.folder.ghost,
html body#strongholdApp#strongholdApp:not(.login-active) .property-folder-card-grid > button.folder.ghost {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px !important;
  height: auto !important;
  padding: 8px 10px !important;
  border: 1px solid var(--dlc-line-strong) !important;
  border-left: 4px solid var(--dlc-teal) !important;
  background: var(--dlc-white) !important;
  color: var(--dlc-tar) !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp:not(.login-active) .property-files-upload-workspace > .folder-grid > button.folder.ghost:hover,
html body#strongholdApp#strongholdApp:not(.login-active) .property-files-upload-workspace > .folder-grid > button.folder.ghost.selected-folder,
html body#strongholdApp#strongholdApp:not(.login-active) .property-folder-card-grid > button.folder.ghost:hover {
  border-color: var(--dlc-dark-teal) !important;
  background: #eef9f8 !important;
  color: var(--dlc-tar) !important;
}

/* Section workflow: DLC-marked context, restrained category controls. */
html body#strongholdApp:not(.login-active) .section-page-banner {
  border: 1px solid var(--dlc-dark-teal) !important;
  background: var(--dlc-dark-teal) !important;
  background-image: none !important;
  color: var(--dlc-white) !important;
}

html body#strongholdApp:not(.login-active) .section-page-banner :where(h2, h3, strong, span) {
  color: inherit;
}

html body#strongholdApp:not(.login-active) .section-page-banner-logo {
  padding: 5px !important;
  border-radius: 5px !important;
  background: var(--dlc-white) !important;
  object-fit: contain !important;
}

html body#strongholdApp:not(.login-active) button.section-report-page-tab {
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-body-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) button.section-report-page-tab.active {
  border-color: var(--dlc-white) !important;
  background: var(--dlc-light-teal) !important;
  color: var(--dlc-tar) !important;
}

@media (max-width: 760px) {
  html body#strongholdApp:not(.login-active) .section-page-banner-tabs button.section-report-page-tab:not(.quick-cam-tab) {
    flex-basis: 156px !important;
    min-width: 156px !important;
  }

  html body#strongholdApp:not(.login-active) .section-page-banner-tabs button.section-report-page-tab strong {
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing button.preview-details-toggle {
    display: inline-flex !important;
  }

  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing:not(.mobile-details-collapsed) .photo-dialog-grid {
    grid-template-rows: minmax(0, 1fr) minmax(0, 45dvh) !important;
  }

  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing:not(.mobile-details-collapsed) .photo-preview-meta {
    max-height: 45dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing:not(.mobile-details-collapsed) #fileEditPanel > label,
  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing:not(.mobile-details-collapsed) .preview-location-panel,
  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing:not(.mobile-details-collapsed) .file-input-stack {
    display: grid !important;
  }

  html body#strongholdApp:not(.login-active) #filePreviewDialog .photo-dialog.is-markup-editing:not(.mobile-details-collapsed) #previewDeficiencyFields:not([hidden]) {
    display: grid !important;
  }
}

html body#strongholdApp:not(.login-active) .section-report-file-count.is-empty {
  border-color: #d6a33c !important;
  background: #fff6dc !important;
  color: #775314 !important;
}

html body#strongholdApp:not(.login-active) .section-report-file-count.has-files {
  border-color: var(--dlc-success) !important;
  background: #e7f4eb !important;
  color: #215f3d !important;
}

/* People, service, and communications inherit the same restrained surfaces. */
html body#strongholdApp:not(.login-active) :where(
  .employee-card,
  .contact-card,
  .crew-card,
  .service-ticket-card,
  .service-dispatch-card,
  .chat-launcher-root,
  .chat-launcher-panel,
  .chat-thread,
  .notification-panel
) {
  border-color: var(--dlc-line) !important;
  background: var(--dlc-white) !important;
  background-image: none !important;
  color: var(--dlc-tar) !important;
}

html body#strongholdApp:not(.login-active) :where(
  .role-marker,
  .role-badge,
  .status-badge,
  .employee-role
) {
  border-color: #9ec9c6 !important;
  background: #e7f5f4 !important;
  color: #174d49 !important;
}

html body#strongholdApp:not(.login-active) :where(
  .chat-thread-message,
  .chat-message,
  .quick-chat-message
) {
  border: 1px solid #d4d8d7 !important;
  background: var(--dlc-gray) !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) :where(
  .chat-thread-message.is-mine,
  .chat-message.outgoing,
  .quick-chat-message.outgoing
) {
  border-color: #9ec9c6 !important;
  background: #e7f5f4 !important;
}

@media (max-width: 1100px) {
  html body#strongholdApp:not(.login-active) .app-header .header-logo-shell {
    padding: 0 !important;
  }

  html body#strongholdApp:not(.login-active) .app-header button.top-link.header-chart-link {
    border-bottom-width: 1px !important;
  }
}

@media (max-width: 760px) {
  html body#strongholdApp:not(.login-active) {
    background: #eef1f0 !important;
  }

  html body#strongholdApp:not(.login-active) :where(
    .record-card,
    .stat-card,
    .folder-item,
    .table-wrap,
    .dialog-panel,
    .project-dialog-card
  ) {
    box-shadow: none !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell .table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell table,
  html body#strongholdApp:not(.login-active) .properties-list-shell tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody {
    display: grid !important;
    gap: 9px !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
    padding: 12px !important;
    border: 1px solid var(--dlc-line) !important;
    border-left: 4px solid var(--dlc-teal) !important;
    border-radius: 6px !important;
    background: var(--dlc-white) !important;
    box-shadow: var(--dlc-shadow-soft) !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow-wrap: anywhere !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:first-child {
    grid-column: 1 / -1 !important;
    padding-bottom: 7px !important;
    border-bottom: 1px solid #e0e3e2 !important;
    font-weight: 700 !important;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td::before {
    display: block;
    margin-bottom: 2px;
    color: #68706e;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(2)::before { content: "Client"; }
  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(3)::before { content: "Address"; }
  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(4)::before { content: "City / State"; }
  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(5)::before { content: "Sections"; }
  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(6)::before { content: "Total sqft"; }
  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(7)::before { content: "Active projects"; }

  html body#strongholdApp:not(.login-active) .properties-list-shell tbody td:nth-child(n + 5) {
    padding-top: 3px !important;
  }
}

/* Final communication guards prevent legacy button skins from resurfacing. */
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell #notificationsView button.inbox-primary-action {
  border-color: #263431 !important;
  background: #263431 !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) .app-shell #notificationsView button.inbox-primary-action img {
  filter: brightness(0) invert(1) !important;
}

html body#strongholdApp:not(.login-active) .chat-launcher-root button.chat-launcher-tab.active {
  border-color: #263431 !important;
  background: #263431 !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Deleted items recovery center */
html body#strongholdApp:not(.login-active) #deletedItemsView {
  color: var(--dlc-tar) !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-shell {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--dlc-line);
  border-left: 5px solid var(--dlc-dark-teal);
  border-radius: 6px;
  background: var(--dlc-white);
  box-shadow: var(--dlc-shadow-soft);
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header h2 {
  margin: 3px 0 6px !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header p {
  max-width: 740px;
  margin: 0;
  color: #59625f;
  font-size: 0.92rem;
  line-height: 1.45;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-eyebrow {
  display: block;
  color: #396c68;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-retention-note {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e0c985;
  border-radius: 6px;
  background: #fff9e9;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-retention-note > img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: #f4df9e;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-retention-note span {
  display: grid;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-retention-note strong {
  color: #4c3b08;
  font-size: 0.82rem;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-retention-note small {
  color: #6e6034;
  font-size: 0.72rem;
  line-height: 1.35;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2px 12px;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--dlc-line);
  border-top: 3px solid #879390;
  border-radius: 6px;
  background: var(--dlc-white);
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics article.warning {
  border-top-color: #d2a73d;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics span {
  color: #53605c;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #202826;
  font-family: var(--dlc-heading-font);
  font-size: 1.8rem;
  line-height: 1;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics small {
  color: #717a77;
  font-size: 0.7rem;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-workspace {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--dlc-line);
  border-radius: 6px;
  background: #f7f8f7;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-search {
  position: relative;
  display: block;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-search img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  opacity: 0.65;
  pointer-events: none;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 39px !important;
  border: 1px solid #aeb9b6 !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-search input:focus {
  border-color: var(--dlc-dark-teal) !important;
  outline: 3px solid rgba(23, 105, 100, 0.13) !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-sort {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #5d6764;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-sort select {
  width: 175px;
  height: 42px;
  padding: 0 32px 0 11px !important;
  border: 1px solid #aeb9b6 !important;
  border-radius: 5px !important;
  background-color: #ffffff !important;
  color: var(--dlc-tar) !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-tabs {
  display: flex !important;
  gap: 6px !important;
  margin: 12px 0 0 !important;
  padding: 0 0 12px !important;
  overflow-x: auto;
  border-bottom: 1px solid var(--dlc-line);
  scrollbar-width: thin;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView .deleted-item-tabs button.tab {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
  border: 1px solid #c5cecb !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #4b5652 !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView .deleted-item-tabs button.tab strong {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 10px;
  background: #e7ebe9;
  color: #44504c;
  font-size: 0.65rem;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView .deleted-item-tabs button.tab.active {
  border-color: #263431 !important;
  background: #263431 !important;
  color: #ffffff !important;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView .deleted-item-tabs button.tab.active strong {
  background: #ffffff !important;
  color: #263431 !important;
  line-height: 20px !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-list-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
  padding: 14px 2px 9px;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-list-heading h3 {
  margin: 2px 0 0 !important;
  color: var(--dlc-tar) !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 1.18rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView #deletedItemsResultCount {
  color: #68726f;
  font-size: 0.73rem;
  white-space: nowrap;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(170px, 200px) 152px;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #cbd3d0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(28, 41, 38, 0.05);
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ccd5d2;
  border-radius: 6px;
  background: #f0f3f2;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-icon img {
  width: 21px;
  height: 21px;
  opacity: 0.78;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-main {
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-title-line {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-title-line h4 {
  min-width: 0;
  margin: 0 !important;
  color: #202826 !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 0.98rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-title-line > span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid #d1d8d5;
  border-radius: 10px;
  background: #f4f6f5;
  color: #65706c;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-main > p {
  margin: 3px 0 8px;
  color: #5d6965;
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-facts span {
  display: flex;
  gap: 5px;
  min-width: 0;
  color: #626c69;
  font-size: 0.68rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-facts strong {
  color: #343e3b;
  font-size: inherit;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-left: 3px solid #82908c;
  background: #f3f5f4;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention.safe {
  border-left-color: #4d8a65 !important;
  background: #eef7f1 !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention.warning {
  border-left-color: #d0a22f !important;
  background: #fff8e5 !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention.danger {
  border-left-color: #c34f4a !important;
  background: #fff0ef !important;
  color: #26312e !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention strong {
  color: #26312e;
  font-size: 0.76rem;
  line-height: 1.2;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention small {
  color: #65706c;
  font-size: 0.64rem;
  line-height: 1.3;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention.danger strong {
  color: #7b2926 !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention.danger small {
  color: #75514e !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-actions {
  display: grid;
  gap: 6px;
  min-width: 0;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView button.deleted-restore-action,
html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView button.deleted-clear-search {
  display: inline-flex !important;
  gap: 7px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 34px !important;
  padding: 7px 10px !important;
  border: 1px solid #263431 !important;
  border-radius: 5px !important;
  background: #263431 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView button.deleted-restore-action img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView button.deleted-purge-action {
  width: 100% !important;
  min-height: 30px !important;
  padding: 5px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 5px !important;
  background: transparent !important;
  background-image: none !important;
  color: #a13b37 !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #deletedItemsView button.deleted-purge-action:hover {
  border-color: #e0aaa7 !important;
  background: #fff1f0 !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-empty {
  display: grid;
  justify-items: center;
  min-height: 210px;
  padding: 42px 18px;
  place-content: center;
  text-align: center;
  border: 1px dashed #bfc9c6;
  border-radius: 6px;
  background: #ffffff;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-empty img {
  width: 30px;
  height: 30px;
  margin-bottom: 9px;
  opacity: 0.55;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-empty h3 {
  margin: 0 0 4px !important;
  color: #29322f !important;
  font-size: 1rem !important;
}

html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-empty p {
  max-width: 460px;
  margin: 0 0 12px;
  color: #68726f;
  font-size: 0.78rem;
}

html body#strongholdApp:not(.login-active) #deletedItemsView button.deleted-clear-search {
  width: auto !important;
}

@media (max-width: 1000px) {
  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(160px, 190px);
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-actions {
    grid-column: 2 / -1;
    grid-template-columns: minmax(130px, 190px) minmax(130px, 170px);
    justify-content: end;
  }
}

@media (max-width: 700px) {
  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-shell {
    gap: 10px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header {
    padding: 16px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header h2 {
    font-size: 1.65rem !important;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics article:last-child {
    grid-column: 1 / -1;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-workspace {
    padding: 11px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-toolbar {
    grid-template-columns: 1fr;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-sort {
    justify-content: space-between;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-sort select {
    width: min(220px, 70vw);
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-list-heading {
    align-items: center;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-icon {
    width: 40px;
    height: 40px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-facts span {
    display: grid;
    gap: 1px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-retention,
  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-actions {
    grid-column: 1 / -1;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-item-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-content: stretch;
  }
}

@media (max-width: 430px) {
  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-header p {
    font-size: 0.8rem;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics article {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-metrics strong {
    grid-row: auto;
    grid-column: auto;
    font-size: 1.55rem;
  }

  html body#strongholdApp:not(.login-active) #deletedItemsView .deleted-items-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Activity Center: long-lived admin audit history. */
html body#strongholdApp:not(.login-active) #liveChangeFeedView.active {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-bottom: 28px !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-shell {
  display: grid;
  gap: 12px;
  width: min(100%, 1540px);
  min-width: 0;
  margin: 0 auto;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--dlc-line);
  border-left: 5px solid var(--dlc-dark-teal);
  border-radius: 7px;
  background: #f8faf9;
  box-shadow: var(--dlc-shadow-soft);
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #187a75;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-header h2 {
  margin: 0 !important;
  color: #202927 !important;
  font-family: var(--dlc-body-font) !important;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-header p {
  max-width: 760px;
  margin: 6px 0 0;
  color: #626b68;
  font-size: 0.86rem;
  line-height: 1.45;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView button.live-feed-refresh,
html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView button.live-feed-load-more:not([hidden]),
html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView .live-feed-empty button {
  display: inline-flex !important;
  gap: 7px !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 8px 13px !important;
  border: 1px solid #313a37 !important;
  border-radius: 5px !important;
  background: #313a37 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView button.live-feed-refresh img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView button.live-feed-refresh.is-loading img {
  animation: live-feed-refresh-spin 0.9s linear infinite;
}

@keyframes live-feed-refresh-spin {
  to { transform: rotate(360deg); }
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #cfd5d3;
  border-top: 3px solid #7d8985;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(38, 35, 33, 0.05);
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics article:nth-child(2) {
  border-top-color: #187a75;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics article:nth-child(3) {
  border-top-color: #3f6f98;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics article:nth-child(4) {
  border-top-color: #927329;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics span {
  color: #65706c;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #202927;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics small {
  color: #78817e;
  font-size: 0.7rem;
  line-height: 1.25;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-workspace {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--dlc-line);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: var(--dlc-shadow-soft);
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) minmax(170px, 0.7fr) minmax(170px, 0.7fr);
  gap: 10px;
  align-items: end;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar > label:not(.live-feed-search) {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar > label > span {
  color: #5e6865;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid #bfc8c5;
  border-radius: 5px;
  background: #f8faf9;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search:focus-within {
  border-color: #187a75;
  box-shadow: 0 0 0 3px rgba(24, 122, 117, 0.12);
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search img {
  width: 17px;
  height: 17px;
  opacity: 0.66;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search input,
html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar select {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  border: 1px solid #bfc8c5 !important;
  border-radius: 5px !important;
  background: #f8faf9 !important;
  color: #26312e !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.78rem !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search input {
  min-height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-type-filters {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 11px;
  padding-bottom: 12px;
  overflow-x: auto;
  border-bottom: 1px solid #d9dddc;
  scrollbar-width: thin;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView .live-feed-type-filters button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  padding: 5px 10px !important;
  border: 1px solid #c4ccca !important;
  border-radius: 999px !important;
  background: #f6f8f7 !important;
  background-image: none !important;
  color: #4e5955 !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView .live-feed-type-filters button.active {
  border-color: #313a37 !important;
  background: #313a37 !important;
  color: #ffffff !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-list-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px 9px;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-list-heading > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-list-heading strong {
  color: #26312e;
  font-size: 0.86rem;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-list-heading small,
html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-list-heading > span {
  color: #717b77;
  font-size: 0.68rem;
  line-height: 1.3;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-activity-list {
  min-width: 0;
  border: 1px solid #d7dddb;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-day + .live-feed-day {
  border-top: 1px solid #bcc6c3;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-day > header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #edf1ef;
  color: #394541;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-day > header strong {
  font-size: 0.73rem;
  line-height: 1.2;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-day > header span {
  color: #6c7773;
  font-size: 0.65rem;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 10px 12px;
  border-left: 3px solid #7e8a86;
  background: #ffffff;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry + .live-feed-entry {
  border-top: 1px solid #e1e5e4;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry:hover {
  background: #fafcfb;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry.tone-change {
  border-left-color: #187a75;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry.tone-upload {
  border-left-color: #3f6f98;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry.tone-message {
  border-left-color: #8a6a2c;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry.tone-session {
  border-left-color: #788580;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #d4dcd9;
  border-radius: 6px;
  place-items: center;
  background: #f1f4f3;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-icon img {
  width: 16px;
  height: 16px;
  opacity: 0.76;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-title {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #26312e;
  font-size: 0.8rem;
  line-height: 1.3;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-type-badge {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid #d0d7d5;
  border-radius: 999px;
  background: #f5f7f6;
  color: #65706c;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-copy p {
  margin: 0;
  color: #59635f;
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-context {
  color: #596e68;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  color: #78817e;
  font-size: 0.66rem;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView .live-feed-entry-meta button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #176f6b !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: underline !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-actions {
  display: flex;
  align-self: center;
}

html body#strongholdApp#strongholdApp.command-map-theme:not(.login-active) #liveChangeFeedView .live-feed-entry-actions button {
  display: inline-flex !important;
  gap: 4px !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  padding: 5px 7px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  background-image: none !important;
  color: #35504a !important;
  font-family: var(--dlc-body-font) !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-actions button:hover {
  background: #edf3f1 !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-actions img {
  width: 13px;
  height: 13px;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding-top: 11px;
  color: #6d7773;
  font-size: 0.7rem;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-empty {
  display: grid;
  justify-items: center;
  min-height: 240px;
  padding: 42px 18px;
  place-content: center;
  text-align: center;
  background: #fafcfb;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-empty img {
  width: 30px;
  height: 30px;
  margin-bottom: 9px;
  opacity: 0.55;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-empty h3 {
  margin: 0 0 4px !important;
  color: #29322f !important;
  font-size: 1rem !important;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-empty p {
  max-width: 500px;
  margin: 0 0 12px;
  color: #68726f;
  font-size: 0.78rem;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton {
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 62px;
  border-left-color: #d8dddb;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton > span,
html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton strong,
html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton small {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, #edf0ef 20%, #f7f8f8 50%, #edf0ef 80%);
  background-size: 200% 100%;
  animation: live-feed-skeleton-pulse 1.2s linear infinite;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton > span {
  width: 34px;
  height: 34px;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton > div {
  display: grid;
  gap: 7px;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton strong {
  width: min(440px, 78%);
  height: 11px;
}

html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-skeleton small {
  width: min(260px, 48%);
  height: 8px;
}

@keyframes live-feed-skeleton-pulse {
  to { background-position: -200% 0; }
}

@media (max-width: 1000px) {
  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.55fr);
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar > label:last-child {
    grid-column: 2;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 700px) {
  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-shell {
    gap: 9px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-header {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView button.live-feed-refresh {
    justify-self: start !important;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics {
    gap: 7px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics article {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 11px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics strong {
    grid-row: auto;
    grid-column: auto;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-workspace {
    padding: 10px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-toolbar > label:last-child,
  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-search {
    grid-row: auto;
    grid-column: auto;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 9px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-entry-actions {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 430px) {
  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-header h2 {
    font-size: 1.55rem !important;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-header p {
    font-size: 0.78rem;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-metrics article {
    min-height: 84px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-type-filters {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView .live-feed-footer {
    align-items: stretch;
    flex-direction: column;
  }

  html body#strongholdApp:not(.login-active) #liveChangeFeedView button.live-feed-load-more:not([hidden]) {
    width: 100% !important;
  }
}

/* Upload Recovery Center */
html body#strongholdApp:not(.login-active) #uploadRecoveryView.active {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
  padding-bottom: 28px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--dlc-line) !important;
  border-left: 4px solid var(--dlc-dark-teal) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading .eyebrow,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command .eyebrow {
  margin: 0 0 4px !important;
  color: #117d79 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading h2 {
  margin: 0 !important;
  color: #202927 !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  line-height: 1.08 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading p:last-child {
  max-width: 760px !important;
  margin: 7px 0 0 !important;
  color: #626b68 !important;
  font-size: 0.88rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 20px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #ccd3d1 !important;
  border-left: 0 !important;
  border-radius: 7px !important;
  background: #f2f4f3 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command-copy {
  display: grid !important;
  grid-template-columns: 12px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-health-mark {
  width: 10px !important;
  height: 10px !important;
  margin-top: 5px !important;
  border-radius: 50% !important;
  background: #278651 !important;
  box-shadow: 0 0 0 4px rgba(39, 134, 81, 0.12) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-health-mark.attention {
  background: #c27b17 !important;
  box-shadow: 0 0 0 4px rgba(194, 123, 23, 0.14) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command h3 {
  margin: 0 0 4px !important;
  color: #27312f !important;
  font-size: 1rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command-copy > div > span {
  display: block !important;
  max-width: 820px !important;
  color: #626b68 !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-scan-status {
  display: grid !important;
  grid-template-columns: auto auto !important;
  gap: 2px 10px !important;
  align-items: center !important;
  min-width: 218px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-scan-status small {
  color: #727a77 !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-scan-status strong {
  color: #343d3b !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-scan-status button {
  grid-column: 1 / -1 !important;
  margin-top: 5px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-dashboard {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 84px !important;
  padding: 13px 15px !important;
  border: 1px solid #cdd3d1 !important;
  border-top: 3px solid #919a97 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric.success {
  border-color: #cdd3d1 !important;
  border-top-color: #4d8b67 !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric.warning {
  border-color: #cdd3d1 !important;
  border-top-color: #ca8c2a !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric.danger {
  border-color: #cdd3d1 !important;
  border-top-color: #b6534d !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric small {
  display: block !important;
  color: #4e5b57 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric span {
  display: block !important;
  margin-top: 4px !important;
  color: #747d7a !important;
  font-size: 0.72rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric strong {
  margin: 0 !important;
  color: #222b29 !important;
  font-family: var(--dlc-heading-font) !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-workspace {
  padding: 0 16px 16px !important;
  border: 1px solid var(--dlc-line) !important;
  border-radius: 7px !important;
  background: var(--dlc-white) !important;
  box-shadow: var(--dlc-shadow-soft) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-tabs {
  display: flex !important;
  gap: 3px !important;
  overflow-x: auto !important;
  margin: 0 -16px 14px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid #d7dcda !important;
  scrollbar-width: thin !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-tabs button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #59625f !important;
  font-size: 0.77rem !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-tabs button:hover {
  color: #252e2c !important;
  background: #f3f5f4 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-tabs button.active {
  border-bottom-color: var(--dlc-dark-teal) !important;
  color: #172220 !important;
  background: transparent !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-tabs b {
  display: inline-grid !important;
  min-width: 24px !important;
  height: 22px !important;
  place-items: center !important;
  padding: 0 6px !important;
  border-radius: 8px !important;
  color: #37413e !important;
  background: #e7eae9 !important;
  font-size: 0.68rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-tabs button.active b {
  color: #ffffff !important;
  background: var(--dlc-dark-teal) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-toolbar {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) 170px 160px !important;
  gap: 9px !important;
  align-items: end !important;
  margin-bottom: 15px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-toolbar label {
  display: grid !important;
  gap: 4px !important;
  color: #66706d !important;
  font-size: 0.67rem !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-toolbar input,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-toolbar select {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 11px !important;
  border: 1px solid #c8cfcc !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #28312f !important;
  font-size: 0.8rem !important;
  text-transform: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 9px !important;
  padding-top: 2px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-heading h3 {
  margin: 0 !important;
  color: #242e2b !important;
  font-size: 1rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-heading p {
  max-width: 800px !important;
  margin: 4px 0 0 !important;
  color: #68716e !important;
  font-size: 0.76rem !important;
  line-height: 1.45 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-heading > span {
  flex: 0 0 auto !important;
  color: #616b68 !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list {
  display: grid !important;
  gap: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 1px solid #d4d9d7 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 78px !important;
  padding: 9px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid #e0e4e2 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file:first-child {
  border-radius: 6px 6px 0 0 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file:last-child {
  border-bottom: 0 !important;
  border-radius: 0 0 6px 6px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file:hover {
  background: #f7f9f8 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file.missing {
  background: #fffafa !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-preview {
  display: grid !important;
  width: 56px !important;
  height: 56px !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid #cbd2cf !important;
  border-radius: 6px !important;
  color: #485450 !important;
  background: #eef1f0 !important;
  font-size: 0.65rem !important;
  font-weight: 850 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-preview img,
html body#strongholdApp:not(.login-active) .upload-recovery-relink-dialog .upload-recovery-file-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-main {
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-title {
  display: flex !important;
  gap: 7px !important;
  align-items: center !important;
  min-width: 0 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-title strong {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #26302d !important;
  font-size: 0.83rem !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-status {
  flex: 0 0 auto !important;
  padding: 3px 6px !important;
  border: 1px solid #d0d5d3 !important;
  border-radius: 8px !important;
  color: #5d6663 !important;
  background: #f3f5f4 !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-status.needs-review {
  border-color: #dfbc79 !important;
  color: #79521a !important;
  background: #fff8e9 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-status.broken {
  border-color: #ddb4b0 !important;
  color: #8d3b34 !important;
  background: #fff2f1 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-path,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-main small {
  display: block !important;
  overflow: hidden !important;
  margin-top: 3px !important;
  color: #68716e !important;
  font-size: 0.7rem !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-main small b {
  padding: 0 3px !important;
  color: #adb4b1 !important;
  font-weight: 400 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-main em {
  display: block !important;
  margin-top: 5px !important;
  color: #55706a !important;
  font-size: 0.68rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-main em.danger-note {
  color: #963f38 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions button,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions .button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  font-size: 0.68rem !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView button.upload-recovery-delete-link {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #a0463f !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-footer,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-cleanup {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 10px !important;
  color: #66706d !important;
  font-size: 0.72rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-cleanup {
  padding: 11px 12px !important;
  border: 1px solid #dfd2bc !important;
  border-radius: 6px !important;
  background: #fffbf3 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-cleanup strong,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-cleanup span {
  display: block !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-cleanup strong {
  color: #514735 !important;
  font-size: 0.76rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-empty,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-loading {
  display: grid !important;
  min-height: 240px !important;
  place-items: center !important;
  align-content: center !important;
  padding: 24px !important;
  border: 1px dashed #cbd2cf !important;
  border-radius: 7px !important;
  color: #68716e !important;
  background: #fafbfa !important;
  text-align: center !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-empty > span {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  place-items: center !important;
  margin-bottom: 8px !important;
  border: 1px solid #b7cbc5 !important;
  border-radius: 50% !important;
  color: #27705d !important;
  background: #eaf4f0 !important;
  font-size: 0.7rem !important;
  font-weight: 850 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-empty h3,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-loading strong {
  margin: 0 !important;
  color: #2d3734 !important;
  font-size: 0.94rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-empty p,
html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-loading small {
  max-width: 480px !important;
  margin: 5px 0 0 !important;
  color: #717a77 !important;
  font-size: 0.76rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-loading > span {
  width: 28px !important;
  height: 28px !important;
  margin-bottom: 10px !important;
  border: 3px solid #d9dedc !important;
  border-top-color: var(--dlc-dark-teal) !important;
  border-radius: 50% !important;
  animation: upload-recovery-spin 0.9s linear infinite !important;
}

@keyframes upload-recovery-spin {
  to { transform: rotate(360deg); }
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog {
  position: fixed !important;
  inset: 50% auto auto 50% !important;
  width: auto !important;
  max-width: calc(100vw - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-dialog {
  display: grid !important;
  width: min(720px, calc(100vw - 28px)) !important;
  max-width: 720px !important;
  max-height: min(820px, calc(100vh - 28px)) !important;
  gap: 13px !important;
  overflow-y: auto !important;
  padding: 20px !important;
  border: 1px solid #c8cfcc !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(20, 29, 27, 0.24) !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-heading h3 {
  margin: 0 !important;
  color: #222c29 !important;
  font-size: 1.3rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-heading p:last-child {
  margin: 6px 0 0 !important;
  color: #68716e !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 11px !important;
  align-items: center !important;
  padding: 10px !important;
  border: 1px solid #d5dad8 !important;
  border-radius: 7px !important;
  background: #f5f7f6 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-file-preview {
  display: grid !important;
  width: 56px !important;
  height: 56px !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid #cbd2cf !important;
  border-radius: 6px !important;
  color: #485450 !important;
  background: #e9edeb !important;
  font-size: 0.65rem !important;
  font-weight: 850 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file strong,
html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file span,
html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file strong {
  color: #25302d !important;
  font-size: 0.82rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file span,
html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-file small {
  margin-top: 3px !important;
  color: #6a7471 !important;
  font-size: 0.68rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog label {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
  color: #46514e !important;
  font-size: 0.7rem !important;
  font-weight: 750 !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog label[hidden],
html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog [hidden] {
  display: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog input,
html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog select,
html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog textarea {
  width: 100% !important;
  min-height: 42px !important;
  padding: 9px 10px !important;
  border: 1px solid #c5cdca !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #27312e !important;
  font-size: 0.8rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog textarea {
  min-height: 86px !important;
  resize: vertical !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-suggestion {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 10px !important;
  border: 1px solid #c4d8d2 !important;
  border-radius: 6px !important;
  color: #3e5e56 !important;
  background: #eef6f3 !important;
  font-size: 0.72rem !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-suggestion[hidden] {
  display: none !important;
}

html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-top: 3px !important;
  padding-top: 13px !important;
  border-top: 1px solid #e0e4e2 !important;
}

@media (max-width: 980px) {
  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-preview {
    width: 50px !important;
    height: 50px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions {
    grid-column: 2 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 700px) {
  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading,
  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command,
  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-heading,
  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-cleanup {
    align-items: stretch !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading {
    display: grid !important;
    padding: 15px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-page-heading button {
    width: 100% !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-command {
    gap: 13px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-scan-status {
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-dashboard {
    grid-template-columns: 1fr 1fr !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-metric {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    min-height: 94px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-toolbar {
    grid-template-columns: 1fr 1fr !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-search {
    grid-column: 1 / -1 !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-list-heading {
    display: flex !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-height: 0 !important;
    padding: 10px 9px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-preview {
    width: 46px !important;
    height: 46px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-title {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions {
    grid-column: 1 / -1 !important;
    flex-wrap: wrap !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions button,
  html body#strongholdApp:not(.login-active) #uploadRecoveryView .upload-recovery-file-actions .button {
    flex: 1 1 auto !important;
    min-height: 38px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-dialog {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 16px 13px !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-grid {
    grid-template-columns: 1fr !important;
  }

  html body#strongholdApp:not(.login-active) #uploadRecoveryRelinkDialog .upload-recovery-relink-actions {
    position: sticky !important;
    bottom: -16px !important;
    margin: 0 -13px -16px !important;
    padding: 11px 13px calc(11px + env(safe-area-inset-bottom)) !important;
    background: #ffffff !important;
  }
}
