/* server-next/portal-059/day-planning-next.css */
.day-planning-next {
  font: 16px/1.45 system-ui, sans-serif;
  color: #103b54;
  max-width: 1100px;
  margin: auto;
  min-width: 0;
}
.day-planning-next * {
  box-sizing: border-box;
}
.day-planning-next header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.day-planning-next h3 {
  margin: 8px 0;
}
.day-planning-next button {
  font: inherit;
  min-height: 44px;
  border: 1px solid #aac4d7;
  border-radius: 7px;
  padding: 10px 14px;
  background: #edf5fa;
  color: #064a72;
  cursor: pointer;
  white-space: normal;
}
.day-planning-next .primary {
  color: white;
  background: #00659c;
}
.day-planning-next button:disabled {
  opacity: .55;
  cursor: default;
}
.day-planning-next input,
.day-planning-next select {
  font: inherit;
  min-height: 44px;
  border: 1px solid #aac4d7;
  border-radius: 6px;
  padding: 8px;
  width: 100%;
  min-width: 0;
}
.day-planning-next label {
  display: block;
}
.day-plan-fields,
.day-planning-next .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.day-plan-list,
.day-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.day-plan-help {
  font-size: 14px;
  color: #4e6677;
}
.day-plan-editor {
  border: 1px solid #c9dce7;
  border-radius: 10px;
  padding: 16px;
  background: white;
}
.day-plan-editor > fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.day-plan-editor > fieldset > legend {
  font-weight: 700;
  margin-bottom: 12px;
}
.day-plan-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.day-plan-check input {
  width: auto;
  flex: none;
  min-height: 24px;
}
.day-plan-editor details {
  margin: 12px 0;
}
.day-plan-editor summary {
  min-height: 44px;
  cursor: pointer;
  padding: 10px 0;
}
.day-plan-editor li {
  padding: 6px;
  overflow-wrap: anywhere;
}
.day-plan-editor li button {
  margin-left: 6px;
}
.day-plan-error {
  padding: 10px;
  border-left: 4px solid #b72d22;
  background: #fff0ee;
  color: #862b23;
}
.day-planning-next .workday-planner {
  box-shadow: none;
  border: 0;
  padding: 12px 0;
}
.day-planning-next .workday-stop,
.day-planning-next .workday-break {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.day-planning-next .workday-stop label {
  flex: 1 1 250px;
}
.day-planning-next .workday-break {
  min-width: 0;
  padding: 12px;
  border: 1px solid #aac4d7;
}
.day-planning-next .workday-break label {
  flex: 1 1 240px;
}
.day-planning-next .hint {
  font-size: 14px;
  color: #4e6677;
}
.day-planning-next .day-timeline li,
.day-plan-shared li {
  display: grid;
  gap: 4px;
  margin: 8px 0;
}
.day-planning-next .service-warning,
.day-planning-next .error {
  color: #8f2b21;
  background: #fff1ed;
  padding: 10px;
}
.day-plan-shared {
  padding: 16px;
  border: 1px solid #cadce8;
  background: white;
  border-radius: 10px;
}
.day-plan-shared h4 {
  margin: 0;
}
.day-planning-next :focus-visible {
  outline: 3px solid #f9943e;
  outline-offset: 2px;
}
@media (max-width: 650px) {
  .day-plan-fields,
  .day-planning-next .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .day-plan-actions > button {
    flex: 1 1 140px;
  }
  .day-planning-next header {
    flex-wrap: wrap;
  }
  .day-planning-next .workday-stop > * {
    max-width: 100%;
  }
  .day-plan-editor {
    padding: 12px;
  }
}
.day-planning-next > header {
  position: static;
  background: transparent;
  color: inherit;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  height: auto;
  width: auto;
}
.day-planning-next .day-plan-check {
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
}
.day-planning-next .day-plan-check input {
  width: 24px !important;
  height: 24px;
  min-height: 24px;
  margin: 0;
}
.day-planning-next .selected-pause-name {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.day-plan-draft-preview {
  max-height: 280px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.day-plan-editor {
  background: var(--surface,#fff);
  color: var(--text,#103b54);
  border-color: var(--border,#c9dce7);
}

/* app/src/inventory-parts-065.css */
.inventory-parts-065 {
  display: grid;
  gap: 1rem;
}
.inventory-parts-065 p {
  margin: .25rem 0;
}
.inventory-parts-search,
.inventory-part-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}
.inventory-parts-065 label {
  display: grid;
  gap: .4rem;
}
.inventory-parts-065 .checkbox {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.inventory-part-card {
  padding: 1rem;
  border: 1px solid var(--border,#abc7db);
  border-radius: 12px;
  background: var(--surface,#fff);
  display: grid;
  gap: .8rem;
  min-width: 0;
}
.inventory-part-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.inventory-part-card strong {
  overflow-wrap: anywhere;
}
.inventory-parts-065 input,
.inventory-parts-065 select {
  width: 100%;
  min-width: 0;
}
.inventory-parts-065 input[type=checkbox] {
  width: auto;
}
.inventory-parts-search > button {
  justify-self: start;
}
.inventory-part-fields p {
  align-self: center;
}
@media (max-width: 600px) {
  .inventory-parts-search,
  .inventory-part-fields {
    grid-template-columns: 1fr;
  }
  .inventory-part-card header {
    align-items: start;
  }
}
@media print {
  .inventory-part-card {
    background: white !important;
    color: #102f45 !important;
  }
  .inventory-parts-search {
    display: none;
  }
}

/* server-next/portal-059/order-route-065.css */
.order-route-controls-065 {
  padding: 14px;
  margin: 8px 0 12px;
  border: 1px solid var(--border,#bed1df);
  border-radius: 10px;
  background: var(--surface-muted,#f1f6fa);
  color: var(--text,#123e57);
}
.order-route-controls-065 h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.order-route-controls-065 p {
  margin: 6px 0;
  font-size: .9rem;
}
.order-route-controls-065 small,
.order-route-controls-065 .route-scope-065 {
  display: block;
  color: var(--muted,#526c7e);
  line-height: 1.5;
}
.order-route-controls-065 .route-actions-065 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.order-route-controls-065 button {
  min-height: 44px;
  white-space: normal;
  max-width: 100%;
}
.order-route-controls-065 .route-totals-065 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.order-route-controls-065 dt {
  font-size: .8rem;
  color: var(--muted,#526c7e);
}
.order-route-controls-065 dd {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text,#123e57);
}
.order-route-controls-065 [role=alert] {
  color: var(--danger,#a52332);
}
@media (max-width: 380px) {
  .order-route-controls-065 .route-totals-065 {
    grid-template-columns: 1fr;
  }
}
@media print {
  .order-route-controls-065 {
    background: #fff;
    color: #123e57;
  }
  .order-route-controls-065 .route-actions-065 {
    display: none;
  }
}

/* app/src/style.css */
:root {
  font-family:
    "DM Sans",
    Arial,
    sans-serif;
  color: #203a34;
  background: #f5f7f6;
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
a {
  transition: background 0.15s;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #75bfa5;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family:
    Manrope,
    Arial,
    sans-serif;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  font-weight: 800;
}
h2 {
  font-size: 16px;
  font-weight: 800;
}
h3 {
  font-size: 17px;
}
small {
  display: block;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 242px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid #e4eae7;
  padding: 35px 22px 20px;
  display: flex;
  flex-direction: column;
  z-index: 40;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 32px Manrope, Arial;
  letter-spacing: -1px;
  cursor: pointer;
}
.brand-icon {
  width: 43px;
  height: 47px;
  border-radius: 12px;
  background: #164e3e;
  color: white;
  display: grid;
  place-items: center;
}
.brand-sub {
  display: block;
  font: 700 8px "DM Sans", Arial;
  letter-spacing: 2px;
  color: #688079;
  margin-top: -3px;
}
.workspace {
  font-size: 11px;
  font-weight: 600;
  margin-top: 30px;
  padding: 16px 10px;
  border-block: 1px solid #edf0ee;
}
.workspace span {
  display: block;
  color: #97a49f;
  font-weight: 400;
  margin-top: 5px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #96a39e;
  margin: 29px 12px 14px;
  font-weight: 700;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  background: none;
  color: #718079;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 13px 13px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
nav button.active {
  color: #17523e;
  background: #e9f3ee;
}
nav button:hover {
  background: #eef4f1;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eaf0ed;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 9px 0;
  font-size: 11px;
  font-weight: 600;
}
.demo-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #3b9870;
  border-radius: 50%;
  margin-right: 7px;
}
.sidebar-bottom p {
  color: #9aa6a0;
  font-size: 10px;
  font-weight: 400;
  margin: 6px 0 24px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #e8eeea;
  padding-top: 20px;
}
.profile small {
  font-size: 10px;
  color: #8b9b93;
  margin-top: 3px;
}
.avatar {
  display: grid;
  place-items: center;
  background: #e8eee9;
  border: 2px solid white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #567365;
  font-size: 11px;
  font-weight: 700;
}
.avatar.small {
  width: 30px;
  height: 30px;
}
main {
  margin-left: 242px;
  width: calc(100% - 242px);
}
header {
  height: 77px;
  background: white;
  border-bottom: 1px solid #e6ece8;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 38px;
}
.breadcrumb {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 11px;
  color: #89988f;
}
.breadcrumb b {
  color: #435b50;
  font-weight: 500;
}
.header-note {
  margin-left: auto;
  color: #8b9a92;
  font-size: 10px;
}
.content {
  max-width: 1530px;
  margin: auto;
  padding: 36px 38px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #5b8a73;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-heading p {
  color: #8c9992;
  font-size: 12px;
  margin-top: 9px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: #174e3d;
  color: #fff;
  box-shadow: 0 3px 5px #174e3d0a;
}
.primary:hover {
  background: #23674e;
}
.secondary {
  background: white;
  border: 1px solid #dce5df;
  color: #3c6151;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eff5ef;
  border: 1px solid #e0eadd;
  color: #6c806c;
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 10px;
  margin-bottom: 26px;
}
.demo-banner .tag {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid #d4e2d1;
  border-radius: 3px;
  padding: 3px 6px;
  color: #698363;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  background: white;
  border: 1px solid #e2e9e4;
  border-radius: 9px;
  padding: 19px 21px;
  text-align: left;
  box-shadow: 0 3px 4px #204b3210;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #788c80;
  font-size: 11px;
}
.stat-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef5f0;
  color: #52846a;
}
.tone1 {
  background: #edf2f9;
  color: #6484a5;
}
.tone2 {
  background: #faf3e7;
  color: #b59657;
}
.tone3 {
  background: #fdf0e9;
  color: #bd815c;
}
.stat strong {
  display: block;
  font-family: Manrope;
  font-size: 32px;
  margin: 2px 0 13px;
  letter-spacing: -1px;
}
.stat-link {
  border-top: 1px solid #f0f3f1;
  padding-top: 12px;
  font-size: 10px;
  color: #8d9d92;
  display: flex;
  justify-content: space-between;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin-bottom: 25px;
}
.panel {
  background: white;
  border: 1px solid #e0e8e2;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 3px #193b2305;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 22px 22px 18px;
}
.panel-title p {
  font-size: 10px;
  color: #93a096;
  margin-top: 6px;
}
.text-button {
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #547c64;
  font-size: 10px;
  white-space: nowrap;
  padding: 4px 0;
}
.service-list {
  padding: 0 22px;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #edf0ee;
  padding: 18px 0;
}
.date-box {
  border-radius: 6px;
  background: #f2f5f2;
  border: 1px solid #e7ede7;
  width: 43px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.date-box strong {
  font-family: Manrope;
  font-size: 18px;
  line-height: 22px;
}
.date-box span {
  font-size: 9px;
  color: #8e9d90;
  text-transform: uppercase;
}
.grow {
  flex: 1;
}
.grow b {
  font-size: 11px;
}
.grow small {
  color: #8a9990;
  font-size: 9px;
  margin-top: 6px;
}
.quiet {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f3f7f3;
  border: 1px solid #e4ede5;
  color: #6d8a73;
  padding: 7px 9px;
  border-radius: 4px;
  font-size: 9px;
}
.map {
  height: 233px;
  width: 100%;
  z-index: 0;
  background: #e6ece3;
}
.map-panel .map {
  margin: 0 15px;
  width: calc(100% - 30px);
  border-radius: 6px;
  height: 220px;
}
.map-legend {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 13px 17px;
  color: #829180;
  font-size: 9px;
}
.map-legend span:last-child {
  margin-left: auto;
  color: #a0aa9d;
  font-size: 8px;
}
.map-marker {
  background: #23634b;
  border: 3px solid white;
  box-shadow: 0 2px 6px #203f3950;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.map-marker span {
  background: white;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 7px;
}
.leaflet-popup-content button {
  background: white;
  color: #174e3d;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 8px;
  letter-spacing: 0.8px;
  font-weight: 500;
  color: #95a298;
  background: #fafbf9;
  padding: 12px 22px;
  border-block: 1px solid #edf1eb;
}
td {
  font-size: 10px;
  color: #7b8b80;
  padding: 17px 22px;
  border-bottom: 1px solid #edf1eb;
}
tr:last-child td {
  border-bottom: 0;
}
.table-name {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #496453;
}
.table-name b {
  font-size: 10px;
  font-weight: 500;
}
.table-icon {
  display: grid;
  place-items: center;
  background: #f1f6f0;
  color: #72967b;
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.badge {
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.good {
  color: #5c8f6e;
  background: #edf6ed;
}
.warning {
  color: #b18b4c;
  background: #fbf4e8;
}
.footer-note {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #a1afa2;
  font-size: 9px;
  padding: 27px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #dfe7e1;
  border-radius: 7px;
  padding: 0 12px;
  max-width: 500px;
  flex: 1;
  color: #8e9e92;
}
.search input {
  border: 0;
  background: none;
  outline: 0;
  width: 100%;
  padding: 13px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.customer-card {
  padding: 23px;
}
.card-icon {
  display: inline-flex;
  padding: 10px;
  background: #eef5f0;
  color: #517f64;
  border-radius: 9px;
  margin-bottom: 17px;
}
.customer-card > .badge {
  float: right;
}
.customer-card h3 {
  margin-bottom: 8px;
}
.customer-card p {
  font-size: 12px;
  color: #8d9c92;
  margin-bottom: 20px;
}
dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
}
dt {
  color: #8c9b90;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 17px;
  margin-top: 20px;
  border-top: 1px solid #ebf0eb;
  font-size: 10px;
  color: #7e9585;
}
.full-map .map {
  height: 570px;
}
.empty {
  text-align: center;
  padding: 40px;
  color: #8b9b90;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #142d2770;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 35px 18px;
  overflow-y: auto;
  backdrop-filter: blur(3px);
}
.modal {
  background: white;
  border-radius: 14px;
  padding: 30px;
  width: 660px;
  max-width: 100%;
  box-shadow: 0 20px 80px #001c3440;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.modal-heading h2 {
  font-size: 22px;
}
.icon-button {
  background: transparent;
  color: #82998a;
  display: grid;
  place-items: center;
  padding: 5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #526d5c;
  font-weight: 500;
}
input,
select,
textarea {
  border: 1px solid #d9e3db;
  border-radius: 6px;
  padding: 11px;
  background: #fff;
  color: #284c36;
  min-width: 0;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #8cbca2;
  outline-offset: 1px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 25px 0;
}
legend {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkbox {
  flex-direction: row;
  align-items: center;
  font-weight: 400;
}
.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #23634b;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.upload {
  border: 1px dashed #b7ccbd;
  background: #f7faf6;
  padding: 22px;
  align-items: center;
  border-radius: 7px;
  position: relative;
  font-size: 11px;
}
.upload input {
  border: 0;
  max-width: 250px;
  font-size: 10px;
}
.hint {
  font-size: 11px;
  color: #8fa093;
  margin-top: 10px;
}
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.photo-grid img {
  width: 125px;
  height: 100px;
  object-fit: cover;
  border-radius: 7px;
}
.report h3 {
  font-size: 14px;
  margin: 23px 0 9px;
}
.report p {
  font-size: 12px;
  color: #748e7b;
  line-height: 1.7;
}
.report dl {
  border-block: 1px solid #e0e9e1;
  padding: 22px 0;
  margin: 25px 0;
}
.report-delivery {
  background: #f0f6ef;
  padding: 17px;
  margin-top: 25px;
  font-size: 12px;
  border-radius: 7px;
}
.preserve {
  white-space: pre-wrap;
}
.notice,
.error {
  padding: 12px 16px;
  border-radius: 7px;
  margin-bottom: 18px;
  font-size: 12px;
}
.notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #dcefe2;
  color: #2f6842;
}
.error {
  background: #fff0e9;
  color: #a64025;
}
.mobile-menu {
  display: none;
}
.scrim {
  display: none;
}
@media (min-width: 1450px) {
  :root {
    font-size: 15px;
  }
  .content {
    padding-top: 45px;
  }
  .dashboard-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .map-panel .map {
    height: 245px;
  }
  .service-row {
    padding: 22px 0;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 210px;
    padding-inline: 16px;
  }
  main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .content {
    padding: 25px 23px;
  }
  header {
    padding-inline: 23px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .map-panel .map {
    height: 270px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  h1 {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 240px;
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #102e2650;
    z-index: 30;
  }
  main {
    margin: 0;
    width: 100%;
  }
  .mobile-menu {
    display: grid;
  }
  header {
    height: 62px;
    padding: 0 16px;
    gap: 12px;
  }
  .header-note {
    display: none;
  }
  .avatar.small {
    margin-left: auto;
  }
  .content {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 17px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.6;
  }
  .page-heading .primary {
    padding: 11px 14px;
  }
  .demo-banner {
    font-size: 10px;
    line-height: 1.5;
    align-items: flex-start;
  }
  .demo-banner > svg {
    flex-shrink: 0;
  }
  .demo-banner .tag {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 28px;
  }
  .panel-title {
    padding: 18px 16px;
  }
  .service-list {
    padding: 0 16px;
  }
  .grow b {
    font-size: 10px;
  }
  .grow small {
    font-size: 8px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .modal-backdrop {
    padding: 12px 9px;
  }
  .modal {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .full-map .map {
    height: 480px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .map-legend span:last-child {
    display: none;
  }
  .table-scroll td,
  .table-scroll th {
    padding-inline: 16px;
  }
  .search input {
    font-size: 11px;
  }
  .report h1 {
    font-size: 30px;
  }
}
@media print {
  body {
    background: white;
  }
  .shell > aside,
  .shell > main,
  .no-print {
    display: none !important;
  }
  .report-backdrop {
    position: static;
    background: white;
    display: block;
    padding: 0;
    overflow: visible;
    backdrop-filter: none;
  }
  .report {
    box-shadow: none;
    border: 0;
    width: 100%;
    max-width: none;
    padding: 20px;
  }
  .report-backdrop .modal-heading {
    display: flex;
  }
  .photo-grid img {
    break-inside: avoid;
  }
  .report h3 {
    break-after: avoid;
  }
}
.tile-warning {
  max-width: 220px;
  padding: 9px 12px;
  background: #ffffffeb;
  color: #536b58;
  border-radius: 5px;
  font: 10px/1.5 Arial, sans-serif;
  box-shadow: 0 1px 5px #29422c20;
}
.service-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.service-section {
  border-top: 1px solid #e0e8e2;
  padding-top: 22px;
  margin-top: 24px;
}
.service-section h3 {
  margin-bottom: 17px;
  font-size: 16px;
}
.service-section h4 {
  margin-bottom: 8px;
}
.service-section > label,
.service-section > .form-grid,
.service-section > button {
  margin-bottom: 14px;
}
.service-warning {
  background: #faf5e9;
  border: 1px solid #e9debe;
  color: #7e6b40;
  padding: 13px;
  font-size: 11px;
  line-height: 1.7;
  border-radius: 6px;
  margin: 14px 0;
}
.context-box {
  background: #f0f6ef;
  padding: 14px;
  margin: 14px 0;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.8;
}
.context-box p {
  color: #6a8473;
}
.universal-service details {
  margin: 18px 0;
}
.universal-service summary {
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
}
.universal-service fieldset.controls-fieldset {
  margin: 0;
}
.control-row,
.measurement-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf1eb;
}
.control-row label {
  line-height: 1.6;
  justify-content: flex-end;
}
.part-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr auto;
  gap: 10px;
  margin-bottom: 15px;
  align-items: end;
}
.invoice-total {
  margin-top: 18px;
  font-weight: 700;
}
.settings-point {
  border-bottom: 1px solid #dfe7e0;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}
.universal-service .photo-grid > div {
  width: 160px;
}
.universal-service .photo-grid img {
  width: 160px;
}
.report-controls > div {
  border-bottom: 1px solid #e4ebe4;
  padding: 12px 0;
  font-size: 11px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  break-inside: avoid;
}
.report-controls p {
  grid-column: 1 / -1;
  white-space: pre-wrap;
}
.report figure {
  margin: 0;
  max-width: 160px;
}
.report figcaption {
  font-size: 10px;
  color: #7b8c80;
  overflow-wrap: anywhere;
}
.resume-service {
  display: block;
  margin-top: 10px;
}
.hint {
  line-height: 1.7;
}
@media (max-width: 760px) {
  .control-row,
  .measurement-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .part-row {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    border: 1px solid #e0e8e2;
    border-radius: 6px;
  }
  .settings-point {
    grid-template-columns: 1fr;
  }
  .report .form-actions > button {
    flex: 1;
  }
}
@media print {
  .report-controls > div {
    break-inside: avoid;
  }
}
.quick-control {
  padding: 15px 0;
  border-bottom: 1px solid #e2e9e4;
  font-size: 12px;
}
.quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.quick-options button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d8e4da;
  background: #fff;
  border-radius: 6px;
  color: #617b69;
  font-size: 11px;
}
.quick-options button[aria-pressed=true] {
  background: #e9f3ee;
  border-color: #477d5a;
  color: #174e3d;
  font-weight: 700;
}
.quick-options button:nth-child(2)[aria-pressed=true] {
  background: #fff1e8;
  border-color: #c38c68;
  color: #8b492b;
}
.universal-service details > summary {
  padding: 15px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.universal-service details {
  border-bottom: 1px solid #e5ece5;
}
.quick-save {
  position: sticky;
  bottom: -23px;
  background: #fffffff5;
  padding: 14px 0;
  margin-top: 20px;
}
.facility-title {
  font: inherit;
  white-space: normal;
  text-align: left;
}
.customer-facilities > div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #edf1eb;
}
.customer-facilities .text-button {
  white-space: normal;
  text-align: left;
}
.demo-role {
  font-size: 9px;
  margin-left: auto;
}
.demo-role select {
  padding: 5px;
  font-size: 10px;
}
header .header-note {
  margin-left: 0;
}
@media (max-width: 760px) {
  .demo-role {
    max-width: 130px;
  }
  .demo-role select {
    min-height: 32px;
  }
  header {
    gap: 8px;
  }
}

/* app/src/theme.css */
:root {
  --rmt-forest: #08314d;
  --rmt-teal: #005b97;
  --rmt-ink: #183448;
  --rmt-muted: #415b70;
  --rmt-canvas: #e7edf3;
  --rmt-surface: #f0f4f8;
  --rmt-border: #bdcdda;
  --rmt-red: #a02e2e;
  --rmt-amber: #855017;
  color: var(--rmt-ink);
  background: var(--rmt-canvas);
  font-size: 16px;
}
body {
  line-height: 1.55;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
h1 {
  font-size: 34px;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 19px;
}
button,
input,
select,
textarea {
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #1b8077;
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.sidebar {
  background: var(--rmt-forest);
  color: #eef5fb;
  border-right: 0;
  padding: 30px 20px 22px;
}
.sidebar .brand {
  color: #fff;
  font-size: 36px;
}
.sidebar .brand-icon {
  background: #005b97;
  border: 1px solid #8ab4cf;
  width: 48px;
  height: 50px;
}
.sidebar .brand-sub {
  color: #c8dfef;
  font-size: 9px;
}
.workspace {
  font-size: 12px;
  color: #e4eff7;
  border-color: #42617b;
  padding: 20px 8px;
  margin-top: 24px;
}
.workspace span {
  color: #bfd4e5;
  font-size: 12px;
}
.nav-label {
  color: #b3cfe3;
  font-size: 10px;
  margin: 26px 12px 14px;
}
nav {
  gap: 8px;
}
nav button {
  min-height: 48px;
  padding: 13px 14px;
  color: #e1ecf5;
  font-size: 14px;
  border-radius: 9px;
}
nav button.active {
  color: #08314d;
  background: #d9e9f7;
  font-weight: 700;
}
nav button:hover {
  background: #164c73;
  color: #fff;
}
nav button.active:hover {
  color: #08314d;
  background: #e7f2fb;
}
.nav-count {
  color: #164263;
  background: #dceaf5;
  font-size: 11px;
}
.sidebar-bottom {
  font-size: 13px;
  color: #e1edf7;
  padding-inline: 8px;
}
.sidebar-bottom p {
  font-size: 11px;
  color: #c0d4e5;
}
.profile {
  border-color: #4b6983;
  font-size: 13px;
}
.profile small {
  font-size: 11px;
  color: #c2d8e9;
}
.avatar {
  background: #dceaf5;
  color: #174b6f;
  width: 40px;
  height: 40px;
  border-color: #9ebad0;
  font-size: 12px;
}
header {
  background: #dce7f0;
  border-bottom: 1px solid #b4cadb;
  min-height: 86px;
  height: auto;
  padding-block: 12px;
}
.breadcrumb {
  font-size: 13px;
  color: #415f76;
  gap: 10px;
}
.breadcrumb b {
  color: #14384f;
  font-weight: 700;
}
.header-note {
  color: #365d77;
  font-size: 12px;
}
.demo-role {
  font-size: 11px;
  color: #304e65;
  gap: 3px;
}
.demo-role select {
  background: #eff5fa;
  border-color: #99b5cb;
  font-size: 12px;
  padding: 7px 9px;
  min-height: 38px;
}
.content {
  padding: 30px 32px;
}
.page-heading {
  padding: 27px 28px;
  background: var(--rmt-forest);
  border: 1px solid #24597d;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 6px 18px #123e5b12;
  margin-bottom: 22px;
}
.page-heading h1 {
  color: #fff;
}
.page-heading .eyebrow {
  color: #fbb576;
  font-size: 11px;
  letter-spacing: 1.8px;
}
.page-heading p {
  color: #d4e7f5;
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 560px;
}
.page-heading .primary {
  background: #fb9943;
  color: #082f4c;
  border-color: #fb9943;
}
.page-heading .primary:hover {
  background: #ffb477;
}
.eyebrow {
  font-size: 11px;
  color: #2c638c;
}
.primary,
.secondary {
  min-height: 46px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  white-space: normal;
}
.primary {
  background: var(--rmt-teal);
  border: 1px solid #004b7d;
  color: white;
}
.primary:hover {
  background: #064775;
}
.secondary {
  background: #e2ecf4;
  border-color: #9fbacf;
  color: #194d73;
}
.secondary:hover {
  background: #d5e6f3;
}
.quiet {
  min-height: 42px;
  font-size: 12px;
  font-weight: 700;
  border-color: #b1c9db;
  background: #e4eff8;
  color: #245477;
  padding: 9px 12px;
  border-radius: 7px;
}
.text-button {
  font-size: 13px;
  font-weight: 600;
  color: #005b97;
  padding: 8px 0;
  white-space: normal;
  text-align: left;
}
.icon-button {
  min-height: 40px;
  min-width: 40px;
  color: #355f80;
  border-radius: 7px;
}
.icon-button:hover {
  background: #dcebf6;
}
.demo-banner {
  font-size: 12px;
  line-height: 1.65;
  background: #e1ebf4;
  border-color: #b4cadc;
  color: #2f536e;
  padding: 13px 16px;
  margin-bottom: 22px;
  border-radius: 9px;
}
.demo-banner .tag {
  font-size: 10px;
  color: #234d6c;
  border-color: #89abc5;
  background: #edf4fa;
}
.stats {
  gap: 16px;
}
.stat {
  background: var(--rmt-surface);
  border-color: var(--rmt-border);
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 3px 10px #163b5707;
}
.stat:hover {
  background: #e5eff8;
  border-color: #789ebc;
}
.stat-top {
  font-size: 13px;
  color: #3a5d78;
  font-weight: 600;
}
.stat-icon {
  width: 39px;
  height: 39px;
  background: #deedf8;
  color: #245d86;
  border-radius: 10px;
}
.stat .tone1 {
  background: #d5e9f7;
  color: #005b97;
}
.stat .tone2 {
  background: #ffead5;
  color: #895019;
}
.stat .tone3 {
  background: #f4dedb;
  color: #a13932;
}
.stat strong {
  font-size: 38px;
  margin: 8px 0 16px;
  color: #123e5c;
}
.stat-link {
  font-size: 12px;
  color: #376582;
  border-color: #c5d8e6;
  font-weight: 500;
}
.panel {
  background: var(--rmt-surface);
  border-color: var(--rmt-border);
  border-radius: 13px;
  box-shadow: 0 3px 10px #163b5706;
}
.panel-title {
  padding: 22px;
  background: #e8f0f7;
  border-bottom: 1px solid #cadbe8;
}
.panel-title p {
  font-size: 13px;
  color: #45637a;
  margin-top: 7px;
}
.service-row {
  padding: 19px 0;
  border-color: #c6d9e7;
  gap: 14px;
}
.date-box {
  width: 49px;
  height: 57px;
  background: #dfecf7;
  border-color: #adc8db;
  border-radius: 8px;
}
.date-box strong {
  font-size: 22px;
  color: #1b4c70;
}
.date-box span {
  color: #436983;
  font-size: 11px;
}
.grow b {
  font-size: 14px;
  color: #204963;
}
.grow small {
  font-size: 12px;
  color: #45667f;
  margin-top: 6px;
}
.map-legend {
  font-size: 11px;
  color: #3f6580;
  padding: 14px 17px;
}
.map-legend span:last-child {
  font-size: 10px;
  color: #425f76;
}
.map-panel .map {
  margin-top: 15px;
}
th {
  background: #e0ebf4;
  color: #365d79;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-color: #bbd0df;
  padding: 15px 20px;
}
td {
  font-size: 13px;
  color: #30526a;
  padding: 18px 20px;
  border-color: #c9dbe7;
}
tbody tr:hover {
  background: #e6f0f8;
}
td small {
  color: #4c6980;
  font-size: 10px;
  line-height: 1.8;
}
.table-name b {
  font-size: 13px;
  color: #204e70;
}
.table-icon {
  width: 36px;
  height: 36px;
  color: #2b638a;
  background: #dfedf7;
  border: 1px solid #c0d6e7;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 9px;
  gap: 5px;
  border: 1px solid transparent;
}
.badge.good {
  color: #225637;
  background: #dceede;
  border-color: #afcfb5;
}
.badge.warning {
  color: #81501d;
  background: #f3e8d5;
  border-color: #d7bd91;
}
.badge.danger {
  color: #982c2c;
  background: #f6e0dc;
  border-color: #ddb0a9;
}
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.customer-card {
  padding: 24px;
  border-top: 4px solid #0082b6;
}
.card-icon {
  background: #ddebf7;
  color: #285e86;
  border: 1px solid #b7d0e3;
  padding: 12px;
}
.customer-card h3 {
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.customer-card .facility-title {
  font: inherit;
  color: #194c70;
}
.customer-card p {
  font-size: 14px;
  color: #3e607b;
  line-height: 1.7;
}
dl {
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.3fr);
  font-size: 13px;
  gap: 12px;
}
dt {
  color: #405f77;
}
dd {
  color: #1d4b6e;
}
.card-bottom {
  border-color: #bfd5e4;
  font-size: 12px;
  color: #3d6580;
}
.customer-facilities > div {
  border-color: #c5d8e6;
  align-items: center;
}
.toolbar {
  margin-bottom: 22px;
}
.search {
  background: #f1f6fa;
  border-color: #9bb9d0;
  color: #2d6085;
  border-radius: 9px;
}
.search input {
  min-height: 48px;
  font-size: 14px;
  padding: 12px 0;
}
.modal-backdrop {
  background: #102f49b3;
  backdrop-filter: blur(5px);
  padding-block: 24px;
}
.modal {
  width: 780px;
  background: #edf3f8;
  border: 1px solid #a7c4d9;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 90px #08283f66;
}
.modal-heading {
  border-bottom: 1px solid #bfd4e4;
  padding-bottom: 18px;
  margin-bottom: 20px;
  gap: 15px;
}
.modal-heading h2 {
  font-size: 25px;
  color: #194e75;
}
label {
  color: #204e70;
  font-size: 14px;
  line-height: 1.5;
  gap: 8px;
}
input,
select,
textarea {
  background: #f7fafc;
  border: 1px solid #8fadc5;
  color: #133c5a;
  padding: 12px;
  border-radius: 8px;
  min-height: 46px;
  font-size: 16px;
  line-height: 1.4;
}
input::placeholder,
textarea::placeholder {
  color: #526f85;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #0082b6;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #dcecf7;
}
input:disabled,
select:disabled {
  color: #4a657c;
  background: #dfe8f0;
}
.checkbox {
  min-height: 40px;
  padding: 7px 0;
  font-size: 14px;
  gap: 10px;
}
.checkbox input {
  min-height: 20px;
  width: 20px;
  height: 20px;
  accent-color: #005b97;
  flex-shrink: 0;
}
fieldset {
  margin: 22px 0;
}
legend {
  font-size: 15px;
  font-weight: 700;
  color: #1c4b6d;
}
.context-box {
  background: #e0edf7;
  color: #184f77;
  border: 1px solid #b9d2e5;
  border-radius: 9px;
  padding: 16px;
  font-size: 14px;
}
.context-box p {
  color: #365f7f;
  font-size: 13px;
}
.hint {
  color: #435f77;
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0;
}
.service-warning {
  color: #70501b;
  background: #f0e8d5;
  border-color: #cfba8c;
  font-size: 12px;
  padding: 13px 15px;
}
.universal-service details {
  border-bottom: 1px solid #afc7db;
  margin: 10px 0;
  padding-bottom: 10px;
}
.universal-service details > summary,
.modal details > summary {
  padding: 15px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1d4e71;
  cursor: pointer;
}
.service-section {
  border-color: #bbd3e3;
  margin-top: 18px;
  padding-top: 17px;
}
.service-section h3 {
  font-size: 20px;
}
.quick-control {
  border-color: #bfd6e7;
  padding: 19px 0;
  font-size: 15px;
}
.quick-options {
  gap: 8px;
  margin: 13px 0;
}
.quick-options button {
  min-height: 46px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #8aabc5;
  background: #eff5fa;
  color: #224d6b;
  border-radius: 8px;
}
.quick-options button[aria-pressed=true] {
  border: 2px solid #005b97;
  background: #ddebf7;
  color: #164a70;
}
.quick-options button:nth-child(2)[aria-pressed=true] {
  border-color: #a33c36;
  background: #f5dfda;
  color: #912d2a;
}
.quick-save {
  background: #edf3f8f5;
  border-top: 1px solid #b6cddd;
  padding: 16px 0;
  bottom: -28px;
}
.upload {
  color: #245b82;
  background: #e2eef7;
  border: 2px dashed #87aaca;
  padding: 24px;
  font-size: 14px;
}
.upload input {
  font-size: 12px;
  border: 0;
}
.photo-grid img {
  border: 1px solid #9dbdd4;
}
.part-row {
  border-color: #abc8dc;
}
.report {
  background: #edf3f8;
}
.report .brand {
  color: #164b72;
}
.report .brand-icon {
  background: #005b97;
}
.report h1 {
  color: #123d5e;
  font-size: 36px;
  margin: 12px 0;
}
.report h3 {
  font-size: 17px;
  border-left: 3px solid #fb9943;
  padding-left: 10px;
  color: #1f5378;
}
.report p {
  color: #305876;
  font-size: 14px;
  line-height: 1.8;
}
.report dl {
  border-color: #abc6da;
  font-size: 14px;
}
.report-controls > div {
  border-color: #b7d0e3;
  font-size: 14px;
  padding: 15px 0;
}
.report-controls span {
  font-weight: 700;
  color: #245474;
}
.report-delivery {
  background: #ddebf7;
  color: #244e6c;
  border: 1px solid #9fc0d8;
  font-size: 14px;
  padding: 18px;
}
.notice {
  background: #deedf7;
  color: #1d5031;
  border: 1px solid #88b0cb;
  font-size: 14px;
}
.error {
  background: #f7ded9;
  color: #8c2726;
  border: 1px solid #d89f95;
  font-size: 14px;
}
.footer-note {
  color: #3f6580;
  font-size: 12px;
}
.empty {
  color: #44657f;
  font-size: 14px;
}
@media (min-width: 1450px) {
  .content {
    padding: 36px;
  }
  .sidebar {
    width: 254px;
  }
  main {
    margin-left: 254px;
    width: calc(100% - 254px);
  }
  .map-panel .map {
    height: 290px;
  }
}
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content {
    padding: 24px;
  }
  .page-heading {
    padding: 23px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .header-note {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 16px;
  }
  main {
    margin: 0;
    width: 100%;
  }
  header {
    padding: 10px 12px;
    min-height: 76px;
    gap: 8px;
  }
  .breadcrumb {
    font-size: 12px;
    gap: 6px;
  }
  .breadcrumb > svg {
    display: none;
  }
  .demo-role {
    max-width: 135px;
    font-size: 10px;
  }
  .demo-role select {
    font-size: 12px;
    min-height: 38px;
    padding: 5px;
  }
  .avatar.small {
    display: none;
  }
  .sidebar {
    width: 260px;
  }
  .content {
    padding: 18px 14px;
  }
  .page-heading {
    padding: 23px 20px;
    border-radius: 13px;
    gap: 18px;
  }
  .page-heading h1 {
    font-size: 28px;
    line-height: 1.25;
  }
  .page-heading p {
    font-size: 14px;
  }
  .page-heading .primary {
    padding: 12px 16px;
    min-height: 46px;
  }
  .demo-banner {
    font-size: 12px;
    padding: 12px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px 13px;
    border-radius: 11px;
  }
  .stat-top {
    font-size: 12px;
    align-items: flex-start;
    gap: 5px;
  }
  .stat-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .stat strong {
    font-size: 33px;
  }
  .stat-link {
    font-size: 11px;
    gap: 5px;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .customer-card {
    padding: 20px;
  }
  .panel-title {
    padding: 18px 16px;
    align-items: flex-start;
  }
  .panel-title h2 {
    font-size: 18px;
  }
  .panel-title p {
    font-size: 12px;
  }
  .grow b {
    font-size: 14px;
  }
  .grow small {
    font-size: 12px;
    line-height: 1.6;
  }
  .service-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .service-row .quiet {
    margin-left: auto;
  }
  .service-list {
    padding: 0 15px;
  }
  .table-scroll td,
  .table-scroll th {
    padding: 15px;
  }
  .modal-backdrop {
    padding: 9px 6px;
  }
  .modal {
    padding: 20px 15px;
    border-radius: 12px;
  }
  .modal-heading h2 {
    font-size: 23px;
  }
  .modal-heading {
    padding-bottom: 14px;
  }
  .modal .form-grid {
    gap: 16px;
  }
  .quick-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .quick-options button {
    min-height: 48px;
    font-size: 14px;
  }
  .quick-save {
    bottom: -20px;
  }
  .primary,
  .secondary {
    min-height: 48px;
    font-size: 14px;
  }
  .service-tools {
    gap: 9px;
  }
  .service-tools button {
    flex: 1 1 150px;
  }
  .context-box {
    font-size: 14px;
    padding: 13px;
  }
  .report dl {
    font-size: 13px;
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .report-controls > div {
    grid-template-columns: 1fr;
  }
  .report h1 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .report {
    background: #fff;
    color: #142d20;
    border: 0;
  }
  .report p,
  .report dd,
  .report dt {
    color: #142d20;
  }
  .report .brand-icon {
    print-color-adjust: exact;
  }
  .report-delivery {
    background: #eef3ed;
  }
}
.stat strong,
.date-box strong {
  font-family:
    "Manrope",
    "DM Sans",
    Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
@media print {
  .modal-backdrop.report-backdrop {
    background: #fff;
    padding: 0;
    backdrop-filter: none;
    box-shadow: none;
  }
}
.rmt-original-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.sidebar .brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.sidebar .brand .rmt-original-logo {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
}
.portal-word {
  font: 700 11px Arial, sans-serif;
  letter-spacing: 2px;
  color: #dbeaf5;
  text-align: center;
}
.front-logo {
  width: 156px;
  flex: 0 0 156px;
  background: #fff;
  border-radius: 11px;
  padding: 10px;
}
.page-heading > div:nth-child(2) {
  flex: 1;
}
.report .brand {
  width: 135px;
}
.report .brand .rmt-original-logo {
  background: #fff;
  padding: 6px;
  border-radius: 7px;
}
.universal-service {
  color: #132f46;
}
.universal-service .form-grid {
  gap: 10px 16px;
}
.universal-service input,
.universal-service select,
.universal-service textarea {
  min-height: 44px;
  padding: 9px 11px;
  color: #102f48;
  font-size: 16px;
}
.universal-service label {
  font-size: 15px;
  color: #153a56;
  font-weight: 600;
}
.universal-service .context-box {
  margin: 12px 0;
  padding: 11px 14px;
}
.universal-service .hint {
  margin: 8px 0;
  color: #38566e;
}
.universal-service .quick-control {
  padding: 12px 0;
  font-size: 16px;
}
.universal-service .quick-options {
  margin: 8px 0;
}
.universal-service .service-section {
  margin-top: 12px;
  padding-top: 12px;
}
.universal-service details > summary {
  padding: 13px 0;
  color: #133f61;
  font-size: 16px;
}
.universal-service .service-section:has(> label > select[aria-label=Avvikstype]) {
  border-left: 4px solid #fb9943;
  padding: 12px;
  background: #e2ecf5;
  border-radius: 8px;
}
.universal-service details[open] {
  background: #e6eef6;
  border: 1px solid #b2c9db;
  border-left: 4px solid #005b97;
  padding: 0 13px 14px;
  border-radius: 8px;
}
@media (max-width: 1100px) {
  .page-heading {
    flex-wrap: wrap;
  }
  .front-logo {
    width: 130px;
    flex-basis: 130px;
  }
}
@media (max-width: 760px) {
  .sidebar .brand .rmt-original-logo {
    max-height: 150px;
  }
  .front-logo {
    width: 110px;
    flex: 0 0 110px;
    padding: 7px;
  }
  .page-heading {
    gap: 14px;
  }
  .page-heading > div:nth-child(2) {
    flex: 1 1 160px;
  }
  .page-heading .primary {
    width: 100%;
  }
  .modal .universal-service .form-grid {
    gap: 12px;
  }
  .universal-service .quick-options {
    grid-template-columns: 1fr 1fr;
  }
  .universal-service .quick-options button {
    min-height: 44px;
  }
  .report .brand {
    width: 120px;
  }
}
@media print {
  .report .brand {
    width: 125px;
  }
  .report .rmt-original-logo {
    print-color-adjust: exact;
  }
}
:root {
  --ops-canvas: #dfe8f1;
  --ops-card: #edf3f9;
  --ops-border: #b5c9dc;
  --ops-shadow: 0 6px 18px #103b5b0d, 0 1px 3px #0b355319;
  --ops-ink: #102f49;
  background: var(--ops-canvas);
  color: var(--ops-ink);
  font-size: 17px;
}
body {
  background: var(--ops-canvas);
}
.content {
  max-width: 1800px;
  padding: 30px 34px 42px;
}
.sidebar {
  box-shadow: 5px 0 24px #072d4614;
}
nav button {
  min-height: 52px;
  font-size: 16px;
  padding: 14px;
}
.workspace {
  font-size: 13px;
  line-height: 1.6;
}
.workspace span,
.profile small {
  font-size: 12px;
}
.profile {
  font-size: 14px;
}
.sidebar-bottom {
  font-size: 14px;
}
header {
  background: #d4e1ed;
  border-color: #b0c8dc;
  box-shadow: 0 2px 10px #153b5509;
}
.breadcrumb {
  font-size: 14px;
}
.page-heading {
  border-radius: 18px;
  padding: 26px 28px;
  gap: 24px;
  border-color: #244f70;
  box-shadow: 0 8px 22px #0e35551a;
  background:
    linear-gradient(
      115deg,
      #082e49,
      #0d4165);
}
.page-heading h1 {
  font-size: clamp(29px, 2.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}
.page-heading p {
  font-size: 16px;
  color: #d7e9f7;
  max-width: 650px;
}
.page-heading .eyebrow {
  font-size: 12px;
  color: #ffb575;
}
.front-logo {
  width: 132px;
  flex-basis: 132px;
  padding: 9px;
  border-radius: 12px;
  box-shadow: 0 4px 12px #001b2d26;
}
.primary,
.secondary {
  min-height: 50px;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 10px;
}
.primary {
  background: #005b97;
  border-color: #004f83;
  box-shadow: 0 3px 7px #06467520;
}
.primary:hover {
  background: #064b7b;
  box-shadow: 0 5px 12px #06467528;
}
.secondary {
  background: #dbe8f4;
  border-color: #9bb8d1;
  color: #164a70;
}
.secondary:hover {
  background: #ccdfef;
}
.text-button {
  font-size: 15px;
  min-height: 40px;
}
.quiet {
  font-size: 14px;
  min-height: 46px;
}
.demo-banner {
  margin-bottom: 24px;
  background: #dce8f3;
  border: 1px solid #adc6dc;
  font-size: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  position: relative;
  padding: 24px;
  border: 1px solid #aec5d9;
  border-top: 4px solid #6e99bc;
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      #f0f5fa,
      #e5eef7);
  box-shadow: var(--ops-shadow);
}
.stat:hover {
  border-color: #598bb4;
  background: #e0edf8;
  transform: translateY(-2px);
}
.stat:first-child {
  border-top-color: #005b97;
  background:
    linear-gradient(
      135deg,
      #dbeaf7,
      #edf4fb);
}
.stat:nth-child(2) {
  border-top-color: #fb9943;
}
.stat-top {
  font-size: 15px;
  font-weight: 700;
  color: #244c6d;
  gap: 12px;
}
.stat-icon {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #cfe4f5 !important;
  color: #005b97 !important;
}
.stat:nth-child(2) .stat-icon {
  background: #ffe5cf !important;
  color: #9b4b10 !important;
}
.stat strong {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 12px 0 20px;
  font-variant-numeric: tabular-nums;
  color: #123d5c;
}
.stat-link {
  font-size: 14px;
  padding-top: 14px;
  border-color: #b8cfe2;
  color: #295d87;
}
.panel {
  background: var(--ops-card);
  border: 1px solid var(--ops-border);
  border-radius: 16px;
  box-shadow: var(--ops-shadow);
}
.panel-title {
  padding: 22px 24px;
  align-items: center;
  gap: 16px;
  background: #e1ecf5;
  border-bottom: 1px solid #bbd0e2;
}
.panel-title h2 {
  font-size: 23px;
  letter-spacing: -0.4px;
  color: #143b58;
}
.panel-title p {
  font-size: 14px;
  line-height: 1.6;
  color: #3b5e7a;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
}
.dashboard-side {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.upcoming-panel {
  border-top: 4px solid #005b97;
}
.upcoming-panel .service-list {
  padding: 8px 18px 18px;
}
.service-job {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  margin-top: 12px;
  border: 1px solid #b3ccdf;
  border-left: 4px solid #508ab4;
  border-radius: 12px;
  background: #e1edf7;
  text-align: left;
  color: #163e5b;
  box-shadow: 0 2px 5px #123e5908;
}
.service-job:first-child {
  background: #d9eafa;
  border-left-color: #fb9943;
  border-color: #8eb4d1;
}
.service-job:hover {
  background: #cce2f4;
  border-color: #417ca9;
  box-shadow: 0 4px 12px #153f5f15;
}
.service-job:focus-visible {
  outline: 3px solid #005b97;
  outline-offset: 3px;
}
.service-job .date-box {
  width: 62px;
  height: 68px;
  background: #c8dff1;
  border: 1px solid #8fb4d0;
  border-radius: 10px;
  color: #13496f;
}
.service-job .date-box strong {
  font-size: 28px;
  line-height: 1.15;
}
.service-job .date-box span {
  font-size: 13px;
  font-weight: 700;
  color: #315f81;
}
.service-job .grow {
  min-width: 0;
}
.service-job .grow b {
  font-size: 18px;
  font-weight: 700;
  color: #123f60;
  line-height: 1.45;
}
.service-job .grow small {
  font-size: 14px;
  color: #3b607e;
  line-height: 1.6;
}
.job-action {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #005b97;
}
.deviation-panel {
  border-top: 4px solid #fb9943;
}
.deviation-list {
  padding: 5px 18px 12px;
}
.deviation-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 14px 5px;
  background: transparent;
  color: #254e6f;
  border-bottom: 1px solid #c3d5e4;
}
.deviation-item:last-child {
  border-bottom: 0;
}
.deviation-item:hover {
  background: #e0eaf3;
}
.deviation-item .grow b {
  font-size: 16px;
  color: #24465f;
}
.deviation-item .grow small {
  font-size: 14px;
  color: #754a23;
}
.deviation-symbol {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #ffe3ca;
  color: #9b4811;
  border: 1px solid #dfb48e;
  border-radius: 11px;
}
.map-panel .map {
  height: 250px;
  border: 1px solid #b4cadc;
  border-radius: 9px;
}
.map-legend {
  font-size: 12px;
  color: #3b5c76;
}
.map-legend span:last-child {
  font-size: 11px;
}
.customer-card {
  background:
    linear-gradient(
      145deg,
      #edf4fa,
      #e4edf6);
  border-top: 4px solid #005b97;
  padding: 26px;
}
.customer-card h3,
.customer-card .facility-title {
  font-size: 23px;
  line-height: 1.35;
  color: #163e5c;
}
.customer-card p {
  font-size: 16px;
  color: #3b607d;
}
.card-icon {
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  background: #d1e4f3;
  border-color: #a9c8df;
}
.card-bottom {
  font-size: 14px;
  border-color: #b8cfe1;
  gap: 12px;
}
.customer-facilities > div {
  padding: 15px 0;
  gap: 12px;
}
.customer-facilities .text-button {
  font-size: 14px;
}
dl {
  font-size: 15px;
}
dt {
  color: #3c5d77;
}
dd {
  color: #143e5d;
}
.search {
  background: #edf4fa;
  border-color: #8eafca;
  border-radius: 11px;
}
.search input {
  min-height: 52px;
  font-size: 16px;
}
.visit-history-table th {
  font-size: 12px;
  padding: 16px 20px;
  color: #294f6d;
  background: #dbe8f3;
}
.visit-history-table td {
  font-size: 15px;
  padding: 20px;
  color: #294e6b;
}
.visit-history-table td:nth-child(2) {
  white-space: normal;
  min-width: 240px;
  max-width: 380px;
}
.visit-history-table td small {
  font-size: 12px;
  line-height: 1.7;
  color: #4b6880;
}
.table-name b {
  font-size: 16px;
  color: #174361;
}
.table-icon {
  width: 40px;
  height: 40px;
}
.badge {
  font-size: 12px;
  padding: 8px 11px;
  border-radius: 7px;
}
.modal {
  width: 860px;
  background: #e7eff7;
  border-color: #9cbad2;
  box-shadow: 0 25px 90px #062c4c66;
}
.modal-heading {
  border-color: #b3cbde;
  padding-bottom: 17px;
}
.modal-heading h2 {
  font-size: 28px;
  color: #143d5b;
}
.universal-service label,
label {
  font-size: 16px;
  font-weight: 600;
  color: #163d59;
}
.universal-service input,
.universal-service select,
.universal-service textarea,
input,
select,
textarea {
  background: #f1f6fb;
  color: #0d2d47;
  font-size: 17px;
  min-height: 48px;
  border: 1px solid #8daec9;
  padding: 10px 12px;
}
.checkbox {
  font-size: 16px;
  min-height: 44px;
}
.checkbox input {
  min-height: 20px;
  padding: 0;
}
.universal-service .quick-control {
  padding: 17px 0;
  font-size: 18px;
  border-color: #aec8dd;
}
.universal-service .quick-options {
  margin: 11px 0;
  gap: 9px;
}
.universal-service .quick-options button {
  min-height: 48px;
  font-size: 15px;
  padding: 10px 17px;
}
.universal-service details > summary,
.modal details > summary {
  font-size: 17px;
  padding: 16px 0;
  color: #123f61;
}
.universal-service details {
  border-color: #a9c4da;
}
.universal-service .service-section {
  margin-top: 15px;
  padding-top: 15px;
}
.universal-service details[open] {
  background: #dce9f5;
  border-color: #9fbdd5;
  padding: 0 16px 17px;
  border-radius: 11px;
}
.context-box,
.universal-service .context-box {
  background: #d7e7f4;
  border-color: #a8c7df;
  padding: 15px 17px;
  border-radius: 10px;
  font-size: 16px;
}
.context-box p {
  font-size: 14px;
  color: #365d7a;
}
.hint,
.universal-service .hint {
  font-size: 13px;
  color: #3f5f79;
  line-height: 1.75;
}
.quick-save {
  background: #e7eff7f5;
  border-color: #9fbed6;
  padding: 14px 0;
}
.report {
  background: #edf3f9;
}
.report h1 {
  font-size: 38px;
}
.report h3 {
  font-size: 20px;
  margin-top: 28px;
}
.report p {
  font-size: 16px;
  color: #294f6c;
}
.report dl {
  font-size: 15px;
}
.report-controls > div {
  font-size: 16px;
  gap: 12px;
  border-color: #b7cee0;
}
.report-delivery {
  background: #dceaf6;
  border-color: #a2c1db;
}
@media (min-width: 1600px) {
  .content {
    padding: 34px 40px 48px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .service-job {
    padding: 24px 20px;
  }
  .service-job .grow b {
    font-size: 20px;
  }
  .map-panel .map {
    height: 290px;
  }
  .cards {
    gap: 24px;
  }
}
@media (max-width: 1200px) {
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat-top {
    font-size: 14px;
  }
  .stat-icon {
    width: 34px;
    height: 34px;
  }
  .stat strong {
    font-size: 48px;
  }
  .job-action {
    font-size: 13px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
}
@media (max-width: 760px) {
  .content {
    padding: 18px 14px 28px;
  }
  .page-heading {
    padding: 20px;
    gap: 14px;
  }
  .front-logo {
    width: 96px;
    flex-basis: 96px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 15px;
  }
  .page-heading > div:nth-child(2) {
    flex-basis: 170px;
  }
  .page-heading .primary {
    min-height: 50px;
  }
  .demo-banner {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 16px 13px;
    border-radius: 12px;
  }
  .stat-top {
    font-size: 13px;
    gap: 6px;
    align-items: flex-start;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }
  .stat-icon svg {
    width: 17px;
  }
  .stat strong {
    font-size: 46px;
    margin: 11px 0 16px;
  }
  .stat-link {
    font-size: 12px;
    gap: 4px;
    min-height: 44px;
    align-items: center;
  }
  .dashboard-grid {
    gap: 20px;
  }
  .dashboard-side {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .panel-title {
    padding: 18px;
    align-items: flex-start;
    gap: 10px;
  }
  .panel-title h2 {
    font-size: 21px;
  }
  .panel-title p {
    font-size: 13px;
  }
  .panel-title .text-button {
    font-size: 13px;
  }
  .upcoming-panel .service-list {
    padding: 2px 11px 14px;
  }
  .service-job {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px 12px;
    padding: 16px 12px;
    margin-top: 11px;
  }
  .service-job .date-box {
    width: 50px;
    height: 59px;
    grid-row: 1 / 3;
  }
  .service-job .date-box strong {
    font-size: 26px;
  }
  .service-job .date-box span {
    font-size: 12px;
  }
  .service-job .grow b {
    font-size: 17px;
  }
  .service-job .grow small {
    font-size: 14px;
    line-height: 1.55;
  }
  .job-action {
    grid-column: 2;
    font-size: 14px;
    min-height: 30px;
  }
  .deviation-item .grow b {
    font-size: 16px;
  }
  .deviation-item .grow small {
    font-size: 13px;
  }
  .deviation-list {
    padding-inline: 15px;
  }
  .map-panel .map {
    height: 240px;
  }
  .customer-card {
    padding: 21px;
  }
  .customer-card h3,
  .customer-card .facility-title {
    font-size: 23px;
  }
  .customer-card p {
    font-size: 16px;
  }
  .customer-facilities > div {
    flex-wrap: wrap;
  }
  .customer-facilities .text-button {
    flex: 1 1 180px;
    font-size: 15px;
  }
  .visit-history-table {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .visit-history-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .visit-history-table tbody {
    display: block;
    padding: 12px;
  }
  .visit-history-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid #b3cce0;
    border-left: 4px solid #005b97;
    background: #e3eef8;
    border-radius: 11px;
    padding: 14px;
    margin-bottom: 12px;
  }
  .visit-history-table tr:last-child {
    margin-bottom: 0;
  }
  .visit-history-table td,
  .visit-history-table td:nth-child(2) {
    display: block;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 7px 0;
    border: 0;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .visit-history-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #436682;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }
  .visit-history-table td small {
    font-size: 12px;
  }
  .visit-history-table .table-name b {
    font-size: 18px;
  }
  .visit-history-table .badge {
    white-space: normal;
    line-height: 1.6;
  }
  .visit-history-table td:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    border-top: 1px solid #b9cfdf;
    margin-top: 8px;
    padding-top: 10px;
  }
  .visit-history-table td:last-child::before {
    display: none;
  }
  .resume-service {
    margin-top: 0;
  }
  .visit-history-table .text-button {
    min-height: 44px;
    font-size: 15px;
  }
  .modal {
    padding: 19px 15px;
  }
  .modal-heading h2 {
    font-size: 25px;
  }
  .universal-service label {
    font-size: 16px;
  }
  .universal-service input,
  .universal-service select,
  .universal-service textarea {
    font-size: 17px;
    min-height: 48px;
  }
  .universal-service .quick-control {
    font-size: 17px;
  }
  .universal-service .quick-options button {
    font-size: 15px;
    min-height: 48px;
    padding: 9px 10px;
  }
  .universal-service details > summary {
    font-size: 17px;
    line-height: 1.5;
  }
  .primary,
  .secondary {
    font-size: 16px;
    min-height: 50px;
  }
  .modal .form-actions {
    gap: 10px;
  }
  .quick-save .primary {
    width: 100%;
  }
  .report p {
    font-size: 16px;
  }
  .report dl {
    font-size: 14px;
  }
  .report-controls > div {
    font-size: 16px;
  }
}
@media print {
  .report {
    background: white;
    box-shadow: none;
  }
  .report p,
  .report dd,
  .report dt {
    color: #142d40;
  }
}

/* server-next/portal-059/unified.css */
body {
  background: #dfe9f2;
  color: #103b56;
}
body > header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 235px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 24px 18px;
  gap: 20px;
  background: #0b324a;
  z-index: 900;
}
body > header img {
  width: 190px;
  max-width: 100%;
  margin: 0 auto;
  background: white;
  padding: 12px;
  border-radius: 10px;
}
body > header h1 {
  font-size: 18px;
  color: white;
}
body > header p {
  font-size: 12px;
  color: #d2e3ee;
}
body > header #logout {
  margin: auto 0 0;
}
body > main {
  max-width: none;
  margin: 0 0 0 235px;
  padding: 26px 30px;
}
.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0 24px;
}
.portal-top h1 {
  color: #0b324a;
}
.panel {
  background: #f3f7fb;
  border: 1px solid #b5cee2;
  border-radius: 14px;
  padding: 22px;
  margin: 18px 0;
  box-shadow: 0 2px 5px #143c5912;
}
.order {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 14px 0;
  border: 1px solid #c9d9e5;
}
.order h3 {
  color: #0b324a;
}
.panel button {
  margin: 6px 8px 6px 0;
}
#content {
  min-width: 0;
}
#error {
  position: sticky;
  top: 5px;
  z-index: 1000;
  background: #fff1e5;
  padding: 16px;
  border-radius: 10px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.metrics button {
  padding: 18px;
  text-align: left;
  min-height: 86px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#workspace > nav {
  margin: 20px 0;
}
#workspace > nav button {
  padding: 12px 18px;
}
.stop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #d0dfe9;
}
#order-map {
  height: 300px;
  border-radius: 12px;
  isolation: isolate;
}
.tag,
.quiet {
  font-size: 13px;
  color: #527087;
}
.success {
  background: #dfefe5;
  padding: 16px;
  border-radius: 8px;
}
.notice {
  padding: 14px;
  border: 1px solid #b5cee2;
  border-radius: 10px;
  background: #d8e8f5;
}
.notice button {
  display: block;
  text-align: left;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
label.check input {
  width: 20px;
  height: 20px;
}
#stop-detail {
  margin-top: 24px;
}
#stop-detail > h3 {
  font-size: 22px;
}
.universal-service {
  max-width: 960px;
  margin: 20px auto;
}
.universal-service label {
  margin-bottom: 12px;
}
.universal-service .quick-control {
  background: white;
  border-radius: 8px;
  padding: 14px;
}
.universal-service .form-actions {
  position: static;
}
.report-backdrop {
  z-index: 2000;
}
.report {
  width: min(980px, 96vw);
  max-height: 94vh;
  overflow: auto;
}
.report dl {
  overflow-wrap: anywhere;
}
.unconnected {
  margin: 32px 0;
  padding: 16px;
  border-top: 1px solid #b6cddd;
}
.unconnected p {
  margin: 5px 0;
}
.form-grid {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
input,
select,
textarea {
  max-width: 100%;
}
button {
  max-width: 100%;
}
.part-row {
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
}
img {
  max-width: 100%;
}
#workspace > nav button {
  background: #f2f7fc;
  color: #0b4b70;
  border: 1px solid #9ebdd5;
  border-radius: 8px;
  font-weight: 600;
}
#workspace > nav button:hover,
#workspace > nav button:focus-visible {
  background: #d5e7f5;
  outline: 2px solid #006297;
  outline-offset: 2px;
}
@media (max-width: 800px) {
  body > header {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    padding: 14px;
    gap: 12px;
  }
  body > header img {
    width: 72px;
    margin: 0;
  }
  body > header h1 {
    font-size: 16px;
  }
  body > header p,
  body > header small {
    display: none;
  }
  body > header #logout {
    margin: 0 0 0 auto;
    padding: 10px;
  }
  body > main {
    margin: 0;
    padding: 14px;
  }
  .portal-top {
    padding: 10px 0;
    flex-wrap: wrap;
  }
  .portal-top h1 {
    font-size: 24px;
  }
  .panel {
    padding: 14px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .stop {
    flex-direction: column;
    align-items: flex-start;
  }
  .part-row,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .report {
    padding: 18px;
  }
  .report dl {
    grid-template-columns: 1fr;
  }
  .report dd {
    margin: 0 0 10px;
  }
  .universal-service .quick-options {
    flex-wrap: wrap;
  }
  .universal-service .quick-options button {
    flex: 1 1 40%;
  }
}
.login-choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 430px;
  margin: 24px 0;
}
.login-choices a {
  text-align: center;
  padding: 16px;
}
.login-choices p {
  margin: 0 0 12px;
}
#user {
  font-weight: 700;
}
body > main {
  width: calc(100% - 235px);
  min-width: 0;
}
body > header {
  height: 100dvh;
  overflow-y: auto;
  flex-wrap: nowrap;
}
body > header > img {
  flex-shrink: 0;
}
.technician-home .quiet {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.portal-top > div {
  min-width: 0;
}
#page-title {
  font-size: 13px;
  color: #527087;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}
body > header #navigation {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}
#navigation button {
  margin: 0;
  text-align: left;
  background: transparent;
  color: #deebf4;
  border: 0;
  border-radius: 9px;
  padding: 14px 16px;
  font-weight: 600;
}
#navigation button[aria-current=page] {
  background: #e4eff7;
  color: #0b324a;
}
#navigation button:hover {
  background: #28546e;
  color: white;
}
#account-summary {
  margin-top: auto;
  border-top: 1px solid #487084;
  padding-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #e1edf6;
}
body > header #logout {
  margin: 0;
}
.portal-top {
  border-bottom: 1px solid #c3d5e3;
  margin-bottom: 24px;
}
.portal-top small {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #56778d;
}
.test-badge {
  font-size: 12px;
  border-radius: 20px;
  padding: 7px 12px;
  background: #f2f7fb;
  color: #537186;
}
#user {
  font-size: 14px;
  color: #46667d;
}
.login-panel {
  max-width: 620px;
  margin: 40px auto;
  padding: 36px;
}
.login-panel > small,
.welcome-copy > small {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #7b694c;
}
.login-panel h2 {
  font-size: 30px;
  margin: 12px 0;
}
.technician-home {
  max-width: 1440px;
  margin: auto;
}
.technician-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 0 24px;
}
.technician-welcome h2 {
  font-size: 30px;
  margin: 8px 0;
}
.technician-welcome p {
  margin: 6px 0;
  color: #527087;
}
.home-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.home-actions button {
  padding: 15px 22px;
}
.resume-action {
  display: flex;
  flex-direction: column;
  max-width: 270px;
  gap: 5px;
}
.resume-action small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #527087;
}
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: #f8fbfd;
  border: 1px solid #c8dbe8;
  border-radius: 12px;
}
.home-stats strong {
  font-size: 28px;
  color: #0b4f70;
}
.home-stats span {
  font-size: 14px;
  color: #527087;
}
.personal-calendar {
  background: #fbfdff;
}
.calendar-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.calendar-heading h2 {
  margin: 0 auto 0 0;
}
.calendar-heading h3 {
  font-size: 16px;
  min-width: 120px;
  text-align: center;
}
.calendar-heading button {
  font-size: 13px;
  padding: 9px 12px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid #d5e2ec;
  border-left: 1px solid #d5e2ec;
  margin-top: 20px;
}
.calendar-weekday {
  font-size: 12px;
  text-align: center;
  color: #53748a;
  padding: 12px;
  background: #eff5f9;
}
.calendar-day,
.calendar-empty {
  min-height: 90px;
  border-right: 1px solid #d5e2ec;
  border-bottom: 1px solid #d5e2ec;
  padding: 9px;
  min-width: 0;
}
.calendar-day > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
}
.calendar-day.today > span {
  border-radius: 50%;
  background: #0b638b;
  color: white;
}
.calendar-day button.calendar-event {
  display: block;
  text-align: left;
  max-width: 100%;
  margin: 4px 0;
  padding: 6px;
  border: 0;
  border-left: 3px solid #087ca0;
  background: #e9f4f8;
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 32px;
}
.calendar-no-events {
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .technician-welcome {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-day,
  .calendar-empty {
    min-height: 70px;
    padding: 5px;
  }
}
@media (max-width: 800px) {
  body > main {
    width: 100%;
  }
  body > header {
    height: auto;
    overflow: visible;
    flex-wrap: wrap;
  }
  body > header #navigation {
    flex-direction: row;
    order: 4;
    flex-basis: 100%;
    margin: 0;
    gap: 5px;
  }
  #navigation button {
    font-size: 13px;
    padding: 10px;
  }
  #account-summary {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    font-size: 12px;
  }
  body > header #logout {
    margin: 0;
  }
  .portal-top h1 {
    font-size: 23px;
  }
  .home-stats {
    gap: 8px;
  }
  .home-stats > div {
    padding: 14px 10px;
  }
  .home-stats strong {
    font-size: 24px;
  }
  .home-stats span {
    font-size: 12px;
  }
  .calendar-heading {
    gap: 5px;
  }
  .calendar-heading h2 {
    flex-basis: 100%;
    margin-bottom: 10px;
  }
  .calendar-heading h3 {
    min-width: 100px;
    margin: auto;
  }
  .calendar-heading button {
    padding: 8px;
    font-size: 12px;
  }
  .calendar-day,
  .calendar-empty {
    min-height: 54px;
    padding: 3px;
  }
  .calendar-weekday {
    padding: 9px 0;
  }
  .calendar-day > span {
    width: 22px;
    height: 22px;
  }
  .login-panel {
    padding: 22px;
  }
  .home-actions {
    gap: 8px;
  }
  .home-actions button {
    padding: 12px 16px;
  }
  .test-badge {
    font-size: 11px;
  }
  .technician-welcome h2 {
    font-size: 26px;
  }
}
.home-shortcut {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 6px;
  padding: 20px 24px;
  background: #f8fbfd;
  border: 1px solid #c8dbe8;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 5px #143c5912;
}
.home-shortcut:hover {
  background: #eaf4fa;
  border-color: #006297;
}
.home-shortcut:focus-visible,
.stop-select:focus-visible {
  outline: 3px solid #087ca0;
  outline-offset: 3px;
}
.job-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.job-list-filters {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 20px 0;
}
.job-list-filters label:first-child {
  flex: 1;
}
.job-list-filters label {
  min-width: 140px;
}
.job-feed-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
}
.job-feed-card h3 {
  font-size: 19px;
  margin: 7px 0;
}
.job-feed-card p {
  margin: 6px 0;
}
.order-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
  max-width: 360px;
}
.job-type {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #44778f;
}
.order-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.order-customers {
  min-width: 0;
}
.order-map-section {
  min-width: 0;
  position: sticky;
  top: 20px;
}
.order-map-section #order-map {
  height: 440px !important;
}
.order-customers > .order-map-section {
  position: static;
}
.order-customers [aria-label="Gjenst\e5 ende anlegg"] {
  max-height: 560px;
  overflow: auto;
  padding: 3px;
}
.order-customers .stop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #c8dae8;
  border-radius: 10px;
  margin: 0 0 10px;
}
.order-customers .stop.selected {
  border: 2px solid #168145;
  background: #eff8f2;
}
.stop-select {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #0b4b70;
  grid-row: span 2;
}
.stop-select strong {
  font-size: 16px;
}
.stop-select span,
.stop-select small {
  font-size: 12px;
  font-weight: 400;
}
.stop-state {
  font-size: 12px;
  padding: 4px 7px;
  background: #e8f0f5;
  border-radius: 12px;
}
.phone-link {
  font-size: 13px;
}
.office-note {
  grid-column: 1/-1;
  margin: 5px 0 0 !important;
  padding: 7px 9px;
  background: #fff5df;
  border-radius: 5px;
  font-size: 13px;
}
.history-visit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #cadce7;
}
.history-visit h3 {
  font-size: 17px;
  margin: 0;
}
.history-visit p {
  font-size: 14px;
  margin: 6px 0;
}
.empty-state {
  padding: 26px;
  color: #527087;
}
.report .context-box a.primary {
  display: inline-flex;
  padding: 12px 18px;
  margin: 6px;
  border-radius: 8px;
  text-decoration: none;
  background: #006297;
  color: white;
  font-weight: 600;
}
.order-customers .quiet {
  grid-column: 1/-1;
}
#order-status {
  margin-top: 20px;
}
@media (max-width: 800px) {
  .order-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }
  .order-map-section #order-map {
    height: 330px !important;
  }
  .job-feed-card {
    padding: 15px;
    gap: 12px;
  }
  .order-actions {
    max-width: 210px;
  }
  .home-shortcut {
    padding: 14px 10px;
  }
  .job-list-filters {
    gap: 10px;
  }
  .job-list-filters label {
    min-width: 110px;
  }
  .order-customers .stop {
    grid-template-columns: 1fr;
  }
  .stop-select {
    grid-row: auto;
  }
  .stop-state {
    justify-self: start;
  }
  .history-visit {
    align-items: flex-start;
  }
  .history-visit h3 {
    font-size: 15px;
  }
}
@media (max-width: 600px) and (orientation: portrait) {
  .order-workspace {
    grid-template-columns: 1fr;
  }
  .order-map-section {
    position: static;
  }
  .order-customers [aria-label="Gjenst\e5 ende anlegg"] {
    max-height: 420px;
  }
  .job-feed-card,
  .history-visit {
    flex-direction: column;
    align-items: stretch;
  }
  .order-actions {
    justify-content: flex-start;
    max-width: none;
  }
  .job-list-filters {
    flex-wrap: wrap;
  }
  .job-list-filters label {
    width: 100%;
  }
  .order-customers .stop {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .stop-select {
    grid-row: span 2;
  }
  .order-map-section #order-map {
    height: 300px !important;
  }
}
.order-customers .stop .stop-select,
.order-customers .stop .stop-select:hover,
.order-customers .stop .stop-select:focus {
  color: #0b4b70 !important;
}
.order-customers .stop .stop-select strong,
.order-customers .stop .stop-select span,
.order-customers .stop .stop-select small {
  color: inherit !important;
}
.order-notes {
  display: block;
  overflow-wrap: anywhere;
}
.order-notes button {
  width: 100%;
  min-width: 0;
  white-space: normal;
}
.order-notes summary {
  cursor: pointer;
  font-weight: 600;
}
.order-editor .facility-selection {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #c4d7e5;
  border-radius: 10px;
  background: #fff;
}
.facility-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.facility-table th {
  position: sticky;
  top: 0;
  background: #e7f1f7;
  text-align: left;
  z-index: 1;
}
.facility-table th,
.facility-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #deE8f0;
  vertical-align: middle;
}
.facility-table input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  display: block;
}
.facility-table td:first-child {
  width: 40px;
}
.facility-table button {
  padding: 5px !important;
  font-size: 12px;
  margin: 0 !important;
}
.inline-note td {
  background: #f1f7fa;
}
.inline-note label {
  font-size: 12px;
  margin: 0;
}
.inline-note textarea {
  width: 100%;
  margin-top: 6px;
}
.compact-technicians {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0;
}
.compact-technicians label.check {
  margin: 0;
  padding: 8px 14px;
  background: white;
  border: 1px solid #bdcedb;
  border-radius: 8px;
}
.compact-technicians label.check input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.compact-technicians p {
  margin: 0;
}
.history-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 20px 0;
}
.history-filters label {
  margin: 0;
}
.job-feed-card > div:first-child {
  min-width: 0;
}
.job-feed-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.job-feed-card p {
  overflow-wrap: anywhere;
}
#stop-detail h3,
.history-visit h3 {
  overflow-wrap: anywhere;
}
.home-actions button {
  background: #006297;
  color: white;
  border: 1px solid #006297;
  border-radius: 8px;
}
.expense-hub .expense-choice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.expense-choice-cards button {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  text-align: left;
}
.expense-choice-cards svg {
  width: 30px;
  height: 30px;
}
.expense-form .receipt-first {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 2px dashed #8cb0c9;
  border-radius: 12px;
}
.expense-form input[type=file] {
  width: 100%;
}
.expense-form .camera-action {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.expense-form fieldset {
  min-width: 0;
}
.expense-form .receipt-preview {
  max-height: 160px;
  width: auto;
}
.expense-history {
  padding: 14px;
  border-bottom: 1px solid #bed1e0;
}
@media (max-width: 650px) {
  .expense-hub .expense-choice-cards {
    grid-template-columns: 1fr;
  }
  .facility-table {
    min-width: 620px;
  }
  .order-editor .facility-selection {
    max-width: 100%;
  }
  .compact-technicians {
    gap: 6px;
  }
  .history-filters {
    grid-template-columns: 1fr 1fr;
  }
  .history-filters label:first-child {
    grid-column: 1/-1;
  }
}
.customer-record {
  border-bottom: 1px solid #c0d4e4;
  padding: 18px 0;
}
.customer-record details {
  padding: 10px;
  background: #fff;
  margin-top: 6px;
  border-radius: 8px;
}
.customer-record summary {
  cursor: pointer;
}
.customer-record h3 {
  margin: 0;
}
.customer-record p {
  margin: 5px 0;
}
.expense-form .expense-saved {
  display: block;
  overflow-wrap: anywhere;
}
.expense-saved h3,
.expense-saved p {
  margin: 0 0 .65rem;
}
.expense-saved .expense-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expense-saved .expense-actions button {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* server-next/portal-059/design.css */
:root {
  --rmt-ink:#153c53;
  --rmt-blue:#00669a;
  --rmt-nav:#0a3047;
  --rmt-orange:#f59b45;
  --rmt-border:#d5e0e8;
  --rmt-canvas:#f1f5f8;
  --rmt-success:#17653a;
  --rmt-error:#aa2631;
  --rmt-purple:#653da6;
}
.count-bubble.active {
  background: #00669a;
}
.count-bubble.repair,
.count-bubble.followup {
  background: #955000;
}
.count-bubble.complete {
  background: #17653a;
}
.metrics .metric[aria-pressed=true] {
  background: #e0effa;
  border-color: #00669a;
  box-shadow: inset 0 -3px #00669a;
}
.metric.repair,
.metric.followup {
  border-top: 3px solid #e7a144;
}
.metric.complete {
  border-top: 3px solid #267947;
}
.metric.active {
  border-top: 3px solid #00669a;
}
.metric.pending {
  border-top: 3px solid #7c8b94;
}
.job-feed-card .order-actions {
  align-self: center;
}
.directory-list,
.directory-map,
.order-customers,
.form-grid > label {
  min-width: 0;
}
.panel input,
.panel select,
.panel textarea {
  max-width: 100%;
}
.facility-selection {
  overflow-x: auto;
}
.report-backdrop .report {
  overscroll-behavior: contain;
}
.report .back-button {
  align-self: flex-start;
}
.customer-record > div:has(.facility-open.selected) {
  background: #eef8f1;
  border-radius: 8px;
  padding: 4px;
}
.modal-backdrop {
  z-index: 2000 !important;
}
* {
  box-sizing: border-box;
}
body {
  background: var(--rmt-canvas);
  color: var(--rmt-ink);
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1.5;
}
body > header {
  background: var(--rmt-nav);
  gap: 14px;
  overflow-y: auto;
}
body > main {
  padding: 24px 32px;
}
h1,
h2,
h3 {
  line-height: 1.25;
  text-wrap: balance;
}
.portal-top {
  margin-bottom: 18px;
  padding-bottom: 18px;
}
.panel,
.order,
.context-box,
.expense-choice {
  background: #fff;
  border: 1px solid var(--rmt-border);
  box-shadow: 0 3px 12px #17364a08;
  border-radius: 14px;
}
.panel {
  padding: 24px;
  margin: 16px 0;
}
.job-feed-card {
  padding: 22px;
  margin: 14px 0;
  gap: 24px;
}
.job-feed-card > div:first-child {
  flex: 1;
  min-width: 0;
}
.job-feed-card h3 {
  margin: 8px 0;
  font-size: 20px;
}
.job-feed-card p {
  margin: 6px 0;
}
.job-type {
  color: #557386;
  letter-spacing: 1.1px;
}
.job-feed-card .job-type {
  font-size: 11px;
  font-weight: 700;
}
button,
a.primary {
  min-height: 44px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 11px 17px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .12s, color .12s;
  white-space: normal;
}
button.primary,
button.secondary,
a.primary,
button.back-button {
  background: var(--rmt-blue);
  border-color: var(--rmt-blue);
  color: #fff;
}
button:hover,
a.primary:hover {
  filter: brightness(.94);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #eea24c;
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
  opacity: .55;
  filter: none;
}
button.finish-action,
button.accept-action {
  background: var(--rmt-success);
  border-color: var(--rmt-success);
  color: #fff;
}
button.decline-action {
  background: #fff0f1;
  border-color: #cb8e94;
  color: #94202a;
}
button.text-button {
  background: transparent;
  color: var(--rmt-blue);
  padding: 8px 10px;
}
button.back-button {
  margin: 0 0 16px;
}
button[aria-pressed=true],
.job-tabs button[aria-selected=true] {
  box-shadow: inset 0 -4px 0 currentColor;
}
.job-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rmt-border);
  padding-bottom: 12px;
  margin: 12px 0 20px;
}
.job-tabs button {
  background: #eaf1f6;
  color: #244e66;
}
.job-tabs button[aria-selected=true] {
  background: #d7eaf7;
  color: #005480;
}
.status-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #eef1f4;
  color: #52616c;
  white-space: nowrap;
}
.status-chip.accepted,
.status-chip.complete {
  background: #dff1e6;
  color: #17653a;
}
.status-chip.active {
  background: #e0effc;
  color: #075f98;
}
.status-chip.repair,
.status-chip.followup {
  background: #fff0d9;
  color: #874b00;
}
.status-chip.requested {
  background: #eee5fa;
  color: #653da6;
}
.status-chip.declined {
  background: #fce5e7;
  color: #a02c38;
}
.assignment-statuses {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.municipality-label {
  display: inline-block;
  background: #f0f3f5;
  color: #526674;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 12px;
}
.count-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border-radius: 50%;
  background: #667885;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.count-bubble.remaining {
  background: #b52b39;
}
.count-bubble.done {
  background: #247747;
}
.count-bubble.requested {
  background: var(--rmt-purple);
}
.order-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.order-progress progress {
  accent-color: var(--rmt-success);
  height: 9px;
  width: 140px;
  border-radius: 10px;
}
.order-progress span {
  font-size: 13px;
  color: #496575;
}
.home-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(280px, 100%);
  gap: 9px;
}
.home-actions button {
  width: 100%;
  height: 48px;
  margin: 0 !important;
  background: var(--rmt-blue);
  color: white;
}
.resume-action {
  max-width: none;
  width: 100%;
  gap: 8px;
}
.resume-action small {
  max-width: 100%;
  font-size: 12px;
  text-align: center;
}
.home-shortcut {
  background: #fff;
  border: 1px solid var(--rmt-border);
  color: var(--rmt-ink);
}
.metrics {
  gap: 10px;
}
.metrics button {
  border: 1px solid var(--rmt-border);
  background: #fff;
  color: var(--rmt-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.metrics button.primary {
  background: #e0effa;
  border-color: var(--rmt-blue);
  box-shadow: inset 0 -3px var(--rmt-blue);
}
label {
  font-size: 14px;
  font-weight: 600;
}
input,
select,
textarea {
  font:
    400 15px/1.4 "Segoe UI",
    Arial,
    sans-serif;
  border: 1px solid #aabfcd;
  background: #fff;
  color: var(--rmt-ink);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
}
input[type=checkbox] {
  min-height: 20px;
}
.order-editor input,
.order-editor select {
  min-height: 40px;
}
.facility-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.facility-table td,
.facility-table th {
  padding: 10px;
  border-bottom: 1px solid #e2eaf0;
  text-align: left;
}
.facility-table th {
  background: #edf3f7;
}
.inline-note textarea {
  width: 100%;
}
.quick-control {
  border: 1px solid var(--rmt-border);
  box-shadow: none;
  margin: 12px 0;
}
.quick-options button {
  background: #eff4f7;
  color: #3b586a;
  border: 1px solid #c7d8e3;
}
.quick-options button[aria-pressed=true] {
  background: #d7eaf7;
  color: #005480;
  border-color: #6c9cbb;
}
.service-section {
  margin: 16px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--rmt-border);
  border-radius: 12px;
}
.service-section summary {
  font-weight: 700;
  padding: 4px 0;
}
.service-editor-fields {
  border: 0;
  padding: 0;
  margin: 0;
}
.form-actions.quick-save {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 20px 0 0;
  border-top: 1px solid var(--rmt-border);
}
.form-actions.quick-save button {
  margin: 0;
  min-height: 46px;
}
.form-actions.quick-save label {
  margin: 0;
}
.form-actions.quick-save select {
  width: 100%;
}
.part-row {
  grid-template-columns: minmax(150px, 2fr) minmax(80px, 1fr) auto;
}
.notice,
.service-warning {
  border-radius: 10px;
  border: 1px solid #dec698;
  background: #fff8e9;
  color: #68522a;
  padding: 14px;
}
.success {
  background: #e6f3eb;
  color: #17653a;
  border: 1px solid #a8d2b8;
}
.directory-workspace {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(350px, 1.2fr);
  gap: 22px;
}
.directory-map {
  position: sticky;
  top: 20px;
  align-self: start;
}
.directory-map #order-map {
  height: 65vh !important;
  min-height: 420px;
}
.customer-record {
  background: #fff;
  border: 1px solid var(--rmt-border);
  border-left: 4px solid var(--rmt-blue);
  border-radius: 12px;
  margin: 14px 0;
  padding: 18px;
}
.customer-record h3 {
  margin: 0 0 6px;
}
.customer-record .customer-open {
  padding: 0;
  text-align: left;
  justify-content: flex-start;
  min-height: 30px;
  font-size: 18px;
  background: none;
  color: var(--rmt-blue);
}
.facility-open {
  display: flex !important;
  width: 100%;
  justify-content: space-between;
  text-align: left;
  margin: 8px 0 !important;
  background: #f2f6f9 !important;
  color: #244e66 !important;
  border: 1px solid #d5e0e8 !important;
}
.facility-open.selected {
  background: #e0f2e7 !important;
  border: 2px solid #21834a !important;
}
.directory-tabs {
  display: none;
}
.customer-form {
  max-width: 950px;
}
.customer-form .form-grid {
  gap: 16px;
}
.stop.selected {
  border: 2px solid #21834a;
  background: #e0f2e7;
}
.stop-select[aria-pressed=true]:after {
  content: "\2713  Valgt";
  font-size: 12px;
  color: #17653a;
}
.all-done {
  background: #e3f3e9;
  color: #17653a;
  padding: 16px;
  border-radius: 9px;
  font-weight: 700;
}
.weekly-followup {
  border-left: 4px solid var(--rmt-orange);
  background: #fff6e8;
  padding: 18px;
  border-radius: 9px;
}
.expense-choice-cards button {
  padding: 24px;
  background: #fff !important;
  color: #17445e !important;
  border: 1px solid var(--rmt-border) !important;
}
.expense-choice-icon {
  color: var(--rmt-blue);
  background: #e6f2fa;
  border-radius: 12px;
  padding: 14px;
}
.history-visit {
  background: white;
  border-bottom: 1px solid var(--rmt-border);
  padding: 18px 10px;
}
.report {
  background: white;
}
#account-summary {
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  body > main {
    padding: 20px;
  }
  .directory-workspace {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .form-actions.quick-save {
    grid-template-columns: 1fr 1fr;
  }
  .form-actions.quick-save label {
    grid-column: 1/-1;
  }
}
@media (max-width: 800px) {
  body > header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }
  body > header img {
    width: 64px;
  }
  body > header > div:not(#account-summary) {
    min-width: 0;
  }
  body > header h1 {
    font-size: 15px;
  }
  #account-summary {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 0;
    text-align: left;
  }
  body > header #navigation {
    grid-column: 1/-1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
  }
  body > header #logout {
    grid-column: 3;
    grid-row: 1;
    padding: 8px;
    min-height: 40px;
  }
  #navigation button {
    flex: 1 1 120px;
    min-height: 42px;
    padding: 10px;
    font-size: 12px;
  }
  body > main {
    margin: 0;
    padding: 14px;
  }
  .panel {
    padding: 16px;
  }
  .job-feed-card {
    padding: 18px;
  }
  .order-progress {
    flex-wrap: wrap;
  }
  .home-actions {
    width: 100%;
  }
  .technician-welcome {
    gap: 16px;
  }
  .directory-workspace {
    display: block;
  }
  .directory-map {
    position: static;
  }
  .directory-tabs {
    display: flex;
  }
  .directory-workspace[data-view=list] .directory-map {
    display: none;
  }
  .directory-workspace[data-view=map] .directory-list {
    display: none;
  }
  .directory-map #order-map {
    height: 60vh !important;
    min-height: 320px;
  }
  .form-actions.quick-save {
    grid-template-columns: 1fr;
  }
  .form-actions.quick-save label {
    grid-column: auto;
  }
  .form-actions.quick-save button {
    width: 100%;
  }
  .order-customers .stop {
    padding: 12px;
    gap: 8px;
  }
  .history-filters {
    grid-template-columns: 1fr;
  }
  .part-row {
    grid-template-columns: minmax(0, 1fr) 75px auto;
  }
  .job-feed-card {
    align-items: stretch;
  }
  .customer-form .form-grid {
    grid-template-columns: 1fr;
  }
  .panel .job-list-filters label {
    min-width: 0;
    width: 100%;
  }
  .calendar-day button.calendar-event {
    font-size: 10px;
    line-height: 1.25;
  }
}
.form-actions.quick-save {
  align-items: stretch;
}
.form-actions.quick-save button {
  height: 100%;
}
@media (max-width: 800px) {
  .form-actions.quick-save {
    grid-template-rows: auto 1fr 1fr;
  }
}
.home-actions button {
  min-height: 48px;
  height: 48px;
  padding: 11px 17px;
  flex-shrink: 0;
}
#navigation button[aria-current=page] {
  box-shadow: inset 4px 0 var(--rmt-orange);
  font-weight: 750;
}
#navigation button[aria-current=page]::before {
  content: "\203a";
  font-size: 20px;
  line-height: 1;
}

/* server-next/portal-059/workspace-060.css */
body {
  background: #f3f6f9;
  color: #15384c;
  letter-spacing: .005em;
}
body > header {
  background:
    linear-gradient(
      165deg,
      #0c3a54,
      #082d43 70%);
  padding: 24px 16px;
  gap: 12px;
}
body > header > img {
  object-fit: contain;
  width: 174px;
  height: 132px;
  min-height: 132px;
  padding: 10px;
  flex-shrink: 0;
}
body > header > div:not(#account-summary) {
  text-align: center;
}
body > header > div > small {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #c9dce8;
}
.brand-caption {
  display: block;
  color: #fff;
  font-size: 14px;
  margin: 8px;
}
.portal-top {
  background: white;
  margin: -24px -32px 22px;
  padding: 18px 32px;
  min-height: 72px;
}
.portal-top #page-title {
  font-size: 19px;
  font-weight: 650;
  color: #15384c;
  margin: 4px 0;
}
.portal-top small {
  font-size: 10px;
}
.portal-top .test-badge {
  border: 1px solid #dce5ec;
  background: #fff;
  font-size: 11px;
}
#user {
  font-size: 12px;
  margin: 0 0 14px;
}
#navigation button {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  justify-content: start;
  text-align: left;
  padding: 12px 13px;
  line-height: 1.5;
  width: 100%;
  font-size: 13px;
}
#navigation button::before {
  content: "\203a";
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 20px;
  font-size: 20px;
  color: #aec9d9;
}
#navigation button[aria-current=page] {
  background: #ffffff16;
  color: #fff;
  box-shadow: inset 3px 0 #f39b48;
}
#navigation button[aria-current=page]::before {
  font-size: 20px;
  color: #f39b48;
}
#navigation button:hover {
  background: #ffffff20;
}
#account-summary {
  font-size: 12px;
}
#logout {
  background: #ffffff12;
  border: 1px solid #ffffff30;
  color: #fff;
}
body > header #navigation {
  gap: 5px;
  margin: 8px 0;
}
.panel {
  border-color: #dce5ec;
  box-shadow: 0 3px 14px #17364a06;
}
.panel h2 {
  font-size: 20px;
}
.panel h3 {
  font-size: 17px;
}
button:not(.primary):not(.accept-action):not(.decline-action):not(.finish-action):not(.metric):not(.home-shortcut):not(.calendar-event):not(.stop-select):not(.customer-open):not(.facility-open):not(.text-button):not(.back-button) {
  border-color: #dce5ec;
}
button.secondary {
  background: #edf4f8;
  border-color: #c3d8e5;
  color: #005480;
}
.back-button {
  background: transparent !important;
  color: #00659c !important;
  border-color: transparent !important;
  padding-left: 0;
  min-height: 32px;
}
.job-feed-card {
  padding: 18px 20px;
}
.job-feed-card h3 {
  font-size: 18px;
}
.technician-welcome {
  padding: 0 0 10px;
}
.technician-welcome h2 {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.5px;
}
.home-stats {
  margin: 8px 0 20px;
  gap: 14px;
}
.home-shortcut {
  justify-content: flex-start;
  padding: 18px 22px;
  gap: 18px;
  text-align: left;
}
.home-shortcut strong {
  font-size: 28px;
}
.home-split {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.6fr);
  gap: 22px;
  align-items: start;
}
.focus-card {
  background:
    linear-gradient(
      140deg,
      #0b3953,
      #082d43);
  color: white;
  border-radius: 15px;
  padding: 28px;
  min-width: 0;
  border-top: 3px solid #f39b48;
}
.focus-card small {
  color: #f4ba83;
  font-size: 11px;
  letter-spacing: 1px;
}
.focus-card h2 {
  font-size: 25px;
  color: white;
  margin: 16px 0;
}
.focus-card p {
  color: #c7dce8;
  font-size: 14px;
}
.focus-card .home-actions {
  margin-top: 26px;
  width: 100%;
}
.focus-card .home-actions button {
  height: auto;
  min-height: 46px;
}
.focus-card .resume-action button {
  background: #f39b48;
  color: #082d43;
  border-color: #f39b48;
}
.focus-card .resume-action small {
  color: #dce8ef;
  letter-spacing: 0;
}
.home-split .personal-calendar {
  margin: 0;
  min-width: 0;
  padding: 18px;
}
.calendar-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.calendar-heading h2 {
  margin: 0;
  font-size: 18px;
}
.calendar-heading > strong {
  font-size: 13px;
  margin-left: auto;
  text-transform: capitalize;
}
.calendar-controls {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  width: 100%;
}
.calendar-controls button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
  margin: 0;
}
.calendar-controls button[aria-pressed=true] {
  background: #0c3a54;
  color: white;
  box-shadow: none;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #e0e7ec;
}
.calendar-weekday {
  padding: 8px 2px;
  font-size: 11px;
  text-align: center;
  color: #587183;
}
.calendar-day {
  min-height: 90px;
  border: 1px solid #e6edf1;
  padding: 4px;
  min-width: 0;
  background: white;
  overflow: hidden;
}
.calendar-day.today {
  background: #fff8ed;
  box-shadow: inset 0 3px #ee9a43;
}
.calendar-day.selected-day {
  outline: 2px solid #00659c;
  outline-offset: -2px;
  background: #eaf4fa;
}
.calendar-day.outside-month {
  background: #f6f8fa;
  color: #7d8e99;
}
.calendar-day .calendar-date {
  display: flex;
  min-height: 27px;
  min-width: 27px;
  border: 0 !important;
  background: transparent;
  padding: 2px;
  font-size: 12px;
  margin: 0;
}
.calendar-day .calendar-date[aria-current=date] {
  background: #ee9a43;
  color: #092d42;
  border-radius: 50%;
  font-weight: 750;
}
.calendar-day .calendar-event {
  display: block;
  width: 100%;
  margin: 3px 0;
  padding: 4px;
  min-height: 23px;
  background: #e7f0f6;
  color: #004e77;
  border: 0;
  border-left: 2px solid #00659c;
  border-radius: 4px;
  text-align: left;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-more {
  font-size: 10px;
  padding: 3px !important;
  min-height: 20px;
  margin: 0 !important;
}
.calendar-mobile-count {
  display: none;
}
.day-agenda {
  margin-top: 16px;
  border-top: 1px solid #e0e7ec;
  padding-top: 12px;
}
.day-agenda h3 {
  font-size: 14px;
  text-transform: capitalize;
  margin: 0 0 8px;
}
.agenda-order {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: #f4f8fb;
  margin: 4px 0 !important;
  padding: 10px;
}
.agenda-order strong {
  font-size: 13px;
}
.agenda-order span {
  font-size: 12px;
  font-weight: 400;
  color: #587183;
}
.control-section > summary {
  cursor: pointer;
}
.control-bulk {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.quick-options button[data-answer=OK][aria-pressed=true] {
  background: #e1f3e8;
  color: #17653a;
  border-color: #6da987;
}
.quick-options button[data-answer=Avvik][aria-pressed=true] {
  background: #fbe6e8;
  color: #a02c38;
  border-color: #d48791;
}
.quick-options button[data-answer="Ikke aktuelt"][aria-pressed=true] {
  background: #eef0f2;
  color: #455663;
  border-color: #aab6be;
}
.quick-options button[data-answer="Ikke kontrollert"][aria-pressed=true] {
  background: #fff;
  color: #455663;
  border-color: #aab6be;
}
.street-address,
.stop-select small {
  font-size: 13px;
  color: #587183;
  white-space: normal;
}
.stop-select {
  align-items: flex-start;
  text-align: left;
}
.leaflet-popup-content button.primary {
  width: 100%;
  margin: 8px 0 0;
}
.leaflet-popup-content p {
  margin: 7px 0;
}
.context-box {
  border-left: 3px solid #00659c;
}
.form-actions.quick-save p[role=status] {
  grid-column: 1/-1;
}
.unconnected {
  font-size: 12px;
  color: #587183;
  padding: 14px 0;
  margin-top: 24px;
}
.report .eyebrow {
  font-size: 11px;
}
.report img {
  object-fit: contain;
}
@media (max-width: 1200px) {
  .home-split {
    grid-template-columns: 1fr;
  }
  .focus-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    column-gap: 24px;
    padding: 22px;
  }
  .focus-card .home-actions {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0;
    justify-content: center;
  }
  .focus-card h2 {
    font-size: 22px;
    margin: 8px 0;
  }
  .focus-card p {
    margin: 0;
  }
  .calendar-day {
    min-height: 95px;
  }
}
@media (max-width: 800px) {
  body > header {
    height: auto;
    position: static;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    padding: 12px;
    overflow: visible;
  }
  body > header > img {
    width: 76px;
    height: 70px;
    min-height: 70px;
    padding: 5px;
    margin: 0;
  }
  body > header > div:not(#account-summary) {
    text-align: left;
  }
  .brand-caption {
    margin: 0;
  }
  body > header #navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
  }
  #navigation button {
    font-size: 12px;
    padding: 9px 10px;
    min-height: 44px;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
  }
  #account-summary {
    font-size: 12px;
    padding-top: 10px;
  }
  body > main {
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .portal-top {
    margin: -14px -14px 16px;
    padding: 14px;
  }
  .portal-top #page-title {
    font-size: 17px;
  }
  .test-badge {
    max-width: 110px;
    text-align: center;
  }
  .home-split {
    gap: 14px;
  }
  .focus-card {
    display: block;
    padding: 22px;
  }
  .focus-card .home-actions {
    margin-top: 20px;
  }
  .technician-welcome h2 {
    font-size: 23px;
  }
  .home-stats {
    gap: 8px;
  }
  .home-shortcut {
    padding: 12px;
    gap: 8px;
  }
  .home-shortcut strong {
    font-size: 24px;
  }
  .home-shortcut span {
    font-size: 12px;
  }
  .personal-calendar {
    padding: 12px !important;
  }
  .calendar-day {
    min-height: 48px;
    padding: 3px;
  }
  .calendar-day .calendar-event,
  .calendar-day .calendar-more {
    display: none;
  }
  .calendar-mobile-count {
    display: block;
    font-size: 9px;
    line-height: 1.2;
  }
  .calendar-heading > strong {
    margin-left: 0;
  }
  .calendar-controls {
    gap: 4px;
  }
  .calendar-controls button {
    padding: 6px 8px;
  }
  .order-workspace {
    display: block;
  }
  .form-actions.quick-save {
    display: flex;
    flex-direction: column;
  }
  .receipt-first {
    flex-wrap: wrap;
  }
  .report {
    max-width: calc(100vw - 20px);
  }
  .report .eyebrow {
    font-size: 10px;
  }
  .day-agenda {
    min-height: 82px;
  }
}
.calendar-event strong,
.calendar-event small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-event small {
  font-size: 10px;
  font-weight: 400;
}
.navigation-choice button {
  margin: 6px;
}
.calendar-day button.calendar-event {
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: 10px;
  padding: 4px;
  min-height: 23px;
}
@media (max-width: 800px) {
  .calendar-day button.calendar-event,
  .calendar-day button.calendar-more {
    display: none;
  }
  .calendar-day > span.calendar-mobile-count {
    display: block;
    width: auto;
    height: auto;
    font-size: 9px;
    line-height: 1.2;
    background: none;
    color: #587183;
    border-radius: 0;
  }
  .calendar-day {
    height: 60px;
    min-height: 60px;
  }
}
.calendar-day > span.calendar-mobile-count {
  display: none;
}
.calendar-day button.calendar-date[aria-pressed=true] {
  background: #00659c;
  color: #fff;
  border-radius: 5px;
  box-shadow: none;
}
@media (max-width: 800px) {
  .calendar-day > span.calendar-mobile-count {
    display: block;
  }
}
.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.map-heading .leaflet-control-zoom {
  display: flex;
  float: none;
  margin: 0;
  box-shadow: none;
  border: 1px solid #a9c1d0;
  border-radius: 8px;
  overflow: hidden;
}
.map-heading .leaflet-bar a {
  width: 38px;
  height: 38px;
  line-height: 38px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #123e55;
  font-size: 23px;
  text-decoration: none;
  text-align: center;
}
.map-heading .leaflet-bar a + a {
  border-left: 1px solid #a9c1d0;
}
.map-heading .leaflet-bar a:hover {
  background: #e4f0f6;
}
.map-heading .leaflet-bar a:focus-visible {
  outline: 2px solid #00659c;
  outline-offset: -3px;
}

/* server-next/portal-059/report-062.css */
.report.report-062 {
  width: min(960px, 96vw);
  max-width: 960px;
  background: #fff;
  color: #183044;
  padding: 28px;
}
.report-062 .modal-heading {
  align-items: flex-start;
}
.report-062 .brand .rmt-original-logo {
  width: 145px;
  height: auto;
}
.report-062 .report-title-062 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 4px solid #fb9943;
  padding: 16px 0 20px;
  margin-bottom: 20px;
}
.report-062 .report-title-062 h1 {
  color: #08314d;
  margin: 4px 0 8px;
  font-size: 1.9rem;
}
.report-062 .report-title-062 p {
  margin: 0;
  color: #426078;
}
.report-062 .report-test-label-062 {
  font-size: .75rem;
  background: #eef4f9;
  color: #426078;
  border-radius: 5px;
  padding: 6px 8px;
  white-space: nowrap;
}
.report-062 .report-view-switch-062 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.report-062 .report-view-switch-062 span,
.report-062 .report-contact-note-062,
.report-062 .report-limit-062 {
  font-size: .8rem;
  color: #526c80;
}
.report-062 dl.report-info-062,
.report-062 .report-advanced-062 dl {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2.4fr);
  gap: 8px 18px;
  margin: 0 0 16px;
}
.report-062 dl dt,
.report-062 dl dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.report-062 dl dt {
  color: #526c80;
}
.report-062 .report-section-062 {
  margin: 22px 0;
  break-inside: avoid-page;
}
.report-062 .report-section-062 h2 {
  font-size: 1.05rem;
  color: #005b97;
  border-bottom: 1px solid #dce6ed;
  padding-bottom: 8px;
  margin: 0 0 10px;
}
.report-062 .report-section-062 p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.report-062 .report-important-062 {
  padding: 16px;
  border-left: 4px solid #ac4124;
  background: #fff5ee;
  border-radius: 4px;
}
.report-062 .report-important-062 h2 {
  color: #8b301b;
}
.report-062 .report-table-062 {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: .9rem;
}
.report-062 .report-table-062 th {
  text-align: left;
  color: #fff;
  background: #005b97;
  font-size: .8rem;
}
.report-062 .report-table-062 td,
.report-062 .report-table-062 th {
  padding: 10px;
  vertical-align: top;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.report-062 .report-table-062 tbody tr:nth-child(even) {
  background: #f0f5f8;
}
.report-062 .report-table-invoice th:first-child {
  width: 36%;
}
.report-062 .report-advanced-062 {
  background: #f2f6f9;
  padding: 18px;
}
.report-062 .report-advanced-062 pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: .75rem;
  max-width: 100%;
}
.report-062 .report-advanced-062 summary {
  cursor: pointer;
  font-weight: 600;
}
.report-062 .report-delivery {
  border: 1px solid #dce6ed;
  background: #f3f8fb;
  padding: 16px;
}
.report-062 .report-delivery p + p {
  margin-top: 8px;
}
.report-062 .report-delivery .delivery-status {
  margin-top: 12px;
}
.report-062 .photo-grid figure {
  margin: 0;
  break-inside: avoid;
}
.report-062 .photo-grid img {
  max-width: 100%;
  height: auto;
}
.report-062 .report-limit-062 {
  border-top: 1px solid #dce6ed;
  padding-top: 14px;
}
@media (max-width: 600px) {
  .report.report-062 {
    width: 100%;
    padding: 18px;
  }
  .report-062 .brand .rmt-original-logo {
    width: 112px;
  }
  .report-062 .report-title-062,
  .report-062 .report-view-switch-062 {
    flex-direction: column;
    gap: 10px;
  }
  .report-062 .report-title-062 h1 {
    font-size: 1.55rem;
  }
  .report-062 dl.report-info-062,
  .report-062 .report-advanced-062 dl {
    grid-template-columns: minmax(95px, .8fr) minmax(0, 1.3fr);
    gap: 8px 12px;
    font-size: .88rem;
  }
  .report-062 .report-table-062 thead {
    display: none;
  }
  .report-062 .report-table-062,
  .report-062 .report-table-062 tbody,
  .report-062 .report-table-062 tr {
    display: block;
    width: 100%;
  }
  .report-062 .report-table-062 tr {
    border: 1px solid #dce6ed;
    margin: 8px 0;
    border-radius: 5px;
    padding: 8px;
  }
  .report-062 .report-table-062 td {
    display: grid;
    grid-template-columns: minmax(85px, .85fr) minmax(0, 1.4fr);
    gap: 10px;
    padding: 5px;
    width: auto;
  }
  .report-062 .report-table-062 td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #526c80;
  }
  .report-062 .report-table-062 td:empty {
    display: none;
  }
  .report-062 .form-actions {
    flex-wrap: wrap;
  }
}
@media print {
  html:has(.report-062) {
    background: white !important;
  }
  body:has(.report-062) {
    background: white !important;
  }
  .report-backdrop:has(.report-062) {
    background: white !important;
    min-height: 0 !important;
  }
  body:has(.report-062) > header,
  body:has(.report-062) > main {
    display: none !important;
  }
  .report.report-062 {
    page: rmt-report-062;
    font-size: 10pt;
  }
  .report.report-062 {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    overflow: visible;
    max-height: none;
  }
  .report-062 .no-print {
    display: none !important;
  }
  .report-062 .report-title-062 {
    break-after: avoid;
  }
  .report-062 .report-table-062 {
    table-layout: auto;
  }
  .report-062 .report-table-062 thead {
    display: table-header-group;
  }
  .report-062 .report-table-062 tr {
    break-inside: avoid;
  }
  .report-062 .report-important-062,
  .report-062 .report-table-062 th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .report-062 .report-section-062 {
    break-inside: auto;
  }
  .report-062 .report-section-062 {
    margin: 12px 0;
  }
  .report-062 .report-section-062 h2 {
    break-after: avoid;
    font-size: 11pt;
    margin-bottom: 6px;
    padding-bottom: 5px;
  }
  .report-062 .report-section-062 p,
  .report-062 dl,
  .report-062 td,
  .report-062 th {
    font-size: 9pt;
    line-height: 1.35;
  }
  .report-062 .report-table-062 td,
  .report-062 .report-table-062 th {
    padding: 7px;
  }
  .report-062 .report-delivery button {
    display: none !important;
  }
  .report-062 .report-advanced-062 pre {
    font-size: 8pt;
  }
}
@page rmt-report-062 {
  size: A4;
  margin: 14mm;
}

/* server-next/portal-059/report-rmt-090.css */
.report-062 .rmt-copy-090 {
  border-top: 1px solid #cbdde8;
  padding-top: 14px;
}
.report-062 .rmt-copy-090 h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.report-062 .rmt-copy-090 > p {
  margin-bottom: 10px;
}
.report-062 .rmt-consent-090 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  line-height: 1.45;
}
.report-062 .rmt-consent-090 input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
}
.report-062 .rmt-copy-090 button {
  white-space: normal;
  max-width: 100%;
  min-height: 44px;
  margin: 4px 8px 4px 0;
}

/* server-next/portal-059/repair-094.css */
.repair-answer-094 {
  display: flex;
  gap: 24px;
  margin: 8px 0;
}
.repair-answer-094 label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.repair-answer-094 input {
  width: 22px;
  height: 22px;
}
.repair-finish-094 ul {
  margin: 8px 0 16px;
  padding-left: 22px;
}
.delivery-preview-094 {
  padding: 12px;
  border: 1px solid #a9c6d7;
  border-radius: 7px;
  background: var(--surface,#f3f8fb);
  overflow-wrap: anywhere;
}
.delivery-preview-094 p {
  margin: 5px 0;
}
.delivery-panel-094 button {
  margin: 8px 8px 8px 0;
  white-space: normal;
}
.delivery-panel-094 h3 {
  margin: 12px 0 8px;
}
.delivery-panel-094 p {
  margin: 7px 0;
}
.repair-next-094 {
  border-top: 1px solid #a9c6d7;
  padding-top: 12px;
  margin-top: 12px;
}
