:root {
  --bg: #eef3f7;
  --panel: #ffffff;
  --panel-2: #f7fafc;
  --ink: #15202f;
  --muted: #64748b;
  --line: #dbe4ec;
  --primary: #146c75;
  --primary-2: #0e5158;
  --accent: #d88732;
  --good: #16865a;
  --bad: #c34848;
  --warn: #b7791f;
  --shadow: 0 20px 45px rgba(24, 39, 58, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body:not(.is-authenticated) .sidebar,
body:not(.is-authenticated) .app {
  display: none;
}

body.is-authenticated .login-screen {
  display: none;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.login-card {
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card .brand-mark { color: #fff; }
.login-card h1 { font-size: 1.5rem; }
.hidden { display: none !important; }

button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  padding: 20px;
  background: #102331;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 12px; min-height: 54px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #32a0a8);
  font-weight: 800;
}
.brand small { display: block; color: #a9bac8; margin-top: 4px; }

.nav { display: grid; gap: 8px; }
.nav button {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  color: #cbd8e2;
  background: transparent;
  text-align: left;
}
.nav button.active, .nav button:hover { background: rgba(255,255,255,0.1); color: #fff; }

.app { margin-left: 280px; padding: 22px; display: grid; gap: 20px; }
body.is-technician .sidebar {
  inset: auto 0 0 0;
  width: 100%;
  min-height: 72px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 28px rgba(24, 39, 58, 0.08);
  z-index: 70;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
body.is-technician .brand { display: none; }
body.is-technician .nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 6px;
}
body.is-technician .nav button {
  min-height: 52px;
  justify-content: center;
  text-align: center;
  padding: 8px;
  color: var(--muted);
  background: var(--panel-2);
  font-size: .82rem;
}
body.is-technician .nav button.active,
body.is-technician .nav button:hover {
  background: var(--primary);
  color: #fff;
}
body.is-technician #logoutButton {
  display: none;
}
body.is-technician .app {
  margin-left: 0;
  padding-bottom: 96px;
}
body.is-technician .sidebar-toggle { display: none; }
body.is-technician .topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
}
body.is-technician .top-title {
  min-width: 0;
}
body.is-technician #pageTitle {
  font-size: 1.28rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.is-technician #stockAdminHead h2 {
  font-size: .98rem;
}
body.is-technician .top-actions,
body.is-technician .calendar-global-filters {
  justify-content: center;
}
body.is-technician .top-actions {
  grid-column: 1 / -1;
  margin-top: 8px;
}
body.is-technician .profile-button {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
body.is-technician #metrics {
  grid-template-columns: minmax(220px, 460px);
  justify-content: center;
}
body.is-technician .technician-total-card {
  min-height: 116px;
  align-content: center;
  justify-items: center;
  text-align: center;
}
body.is-technician .technician-total-card b {
  font-size: 1.45rem;
}
body.is-technician #stockMetrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
body.is-technician #stockMetrics .metric {
  min-height: 64px;
  padding: 10px;
  align-content: center;
  gap: 2px;
}
body.is-technician #stockMetrics .metric span {
  font-size: .74rem;
}
body.is-technician #stockMetrics .metric strong {
  font-size: 1.12rem;
}
body.is-technician #stockMetrics .metric small {
  font-size: .72rem;
}
body.is-technician .content-grid.stock-layout {
  grid-template-columns: 1fr;
}
body.is-technician .stock-board {
  padding: 12px;
}
body.is-technician #stockAdminHead {
  margin-bottom: 8px;
}
body.is-technician #stockList {
  margin-top: 8px;
}
body.is-technician #stockList table {
  min-width: 0;
  table-layout: fixed;
}
body.is-technician #stockList th,
body.is-technician #stockList td {
  padding: 10px;
}
body.is-technician #stockList .clickable-table tbody tr {
  cursor: pointer;
}
body.is-technician #stockList .clickable-table tbody tr:hover {
  background: #f1f8f9;
}
body.is-technician #stockList .clickable-table tbody tr:focus {
  outline: 3px solid rgba(20,108,117,.18);
  outline-offset: -3px;
}
.profile-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.profile-popover {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 90;
  width: min(320px, calc(100vw - 28px));
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.profile-popover[hidden] { display: none; }
.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-popover dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.profile-popover dl div {
  display: grid;
  gap: 2px;
}
.profile-popover dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.profile-popover dd {
  margin: 0;
  font-weight: 700;
}
.danger-profile {
  background: var(--bad);
}
.finish-service-button {
  margin-top: 8px;
  background: var(--good);
}
.topbar, .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.top-actions { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.calendar-global-filters {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
}
.topbar.period-context .global-filter {
  width: 180px;
  min-width: 180px;
}
.topbar.period-context .top-actions,
.topbar.period-context .period-global-filters {
  flex-wrap: wrap;
  gap: 14px;
}
.period-global-filters .filter-field {
  width: 156px;
  min-width: 156px;
}
.compact-filter {
  width: 150px;
  min-width: 150px;
}
.stock-search-field {
  width: 210px;
  min-width: 210px;
}
.stock-search-field input {
  width: 100%;
}
.search { display: grid; gap: 6px; min-width: 260px; color: var(--muted); font-size: 0.83rem; }

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 2rem; }
h2 { margin-bottom: 0; font-size: 1.12rem; }
.eyebrow {
  margin-bottom: 7px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.view { display: none; gap: 20px; }
.view.active { display: grid; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
  min-width: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  min-height: 116px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  align-content: space-between;
  justify-items: center;
  text-align: center;
}
.metric span { color: var(--muted); font-size: 0.86rem; }
.metric strong { font-size: 1.55rem; }
.metric small { color: var(--muted); }

.content-grid { display: grid; gap: 18px; }
.content-grid.two { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); }
.content-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-grid.form-list { grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); align-items: start; }
.content-grid.dashboard-simple { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); align-items: start; }
.content-grid.stock-layout { grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); align-items: start; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form h2, .form .eyebrow, .form .full, .form button, .calc-box { grid-column: 1 / -1; }
.embedded-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.form-actions button {
  grid-column: auto;
}
.form > h2,
.form > .eyebrow,
.view .section-head > div:first-child {
  display: none;
}
.view .section-head {
  justify-content: flex-end;
}
.view .section-head:has(> div:first-child:only-child) {
  display: none;
}
label { display: grid; gap: 6px; color: var(--muted); font-size: 0.84rem; }
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.checkbox-field input {
  width: 18px;
  height: 18px;
  padding: 0;
}
label.is-disabled {
  opacity: 0.55;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }

.primary, .secondary, .ghost {
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 40px;
  font-weight: 700;
}
.primary { background: var(--primary); color: #fff; }
.secondary { background: #e6f2f3; color: var(--primary-2); border: 1px solid #bfdbde; }
.ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.14); }
.danger { margin-top: auto; color: #ffd9d9; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.segmented button {
  border-radius: 7px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
}
.segmented button.active { background: #fff; color: var(--primary); box-shadow: 0 5px 14px rgba(24,39,58,.08); }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--panel-2); }
td { font-size: 0.9rem; }
.row-actions { display: flex; gap: 8px; }
.mini { padding: 7px 9px; min-height: 32px; border-radius: 7px; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.mini.delete { color: var(--bad); }

.stack, .bars { display: grid; gap: 10px; }
.item {
  padding: 12px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.item-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.muted { color: var(--muted); }
.status { color: #fff; background: var(--primary); border-radius: 7px; padding: 5px 8px; font-size: .78rem; }
.status.warn { background: var(--warn); }
.status.good { background: var(--good); }
.status.bad { background: var(--bad); }

.bar { display: grid; gap: 7px; }
.bar-label { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; }
.bar-track { height: 10px; border-radius: 999px; background: #e5edf2; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; }

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 8px;
  overflow: auto;
  min-height: 520px;
}
.calendar-weekday {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.day {
  display: grid;
  gap: 6px;
  text-align: left;
  min-height: 112px;
  padding: 10px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
}
.day-empty {
  cursor: default;
  background: transparent;
  border-style: dashed;
  opacity: .42;
}
.day.outside-month {
  background: #f5f8fa;
  color: var(--muted);
}
.day.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20,108,117,.16);
}
.day strong { display: block; margin-bottom: 8px; }
.day.has-events {
  align-content: stretch;
}
.day.has-events .calendar-count {
  width: 100%;
  min-height: 54px;
  height: auto;
  border-radius: 8px;
  font-size: 1.45rem;
}
.day.has-events .muted {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}
.calendar-count {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}
.calendar-day-mode { grid-template-columns: minmax(180px, 320px); }
.calendar-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  margin: 0;
  flex-wrap: wrap;
}
.calendar-panel { min-height: calc(100vh - 112px); }
.calendar-panel.day-mode {
  display: grid;
  align-content: start;
  justify-items: center;
}
.calendar-panel.day-mode .availability-grid,
.calendar-panel.day-mode .calendar-day-panel {
  width: min(760px, 100%);
}
.calendar-panel.day-mode .availability-grid {
  grid-template-columns: minmax(0, 1fr);
}
.calendar-panel.day-mode .availability-card {
  text-align: center;
  justify-items: center;
}
.calendar-panel.week-mode .calendar {
  min-height: 0;
}
.calendar-panel.week-mode .day {
  min-height: 88px;
}
.calendar-head {
  align-items: flex-end;
  margin-bottom: 14px;
}
.calendar-head > div:first-child {
  display: block;
}
.calendar-day-panel { margin-top: 16px; }
.appointment-row {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.appointment-row:hover { border-color: var(--primary); }
.appointment-row small { color: var(--muted); }
.technician-schedule-group {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.technician-schedule-group:first-child { margin-top: 0; }
.technician-schedule-group h3 {
  margin: 0;
  font-size: .92rem;
}
.event {
  display: block;
  margin-top: 6px;
  padding: 7px;
  border-radius: 7px;
  background: #e6f2f3;
  border: 1px solid #bdd8dc;
  color: var(--primary-2);
  font-size: .78rem;
}
.event.maintenance { background: #fff3df; border-color: #efd3a6; color: #8a530e; }
.compact-alert { min-height: 82px; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 28, 38, .42);
  z-index: 80;
}
.modal-backdrop[hidden] { display: none; }
.modal-panel {
  width: min(560px, 100%);
  max-height: min(720px, 92vh);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.notice-panel {
  max-width: 440px;
}

.notice-panel > p {
  margin: 8px 0 20px;
  color: var(--muted);
  line-height: 1.5;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 28, 38, .34);
  z-index: 120;
}
.loading-overlay[hidden] { display: none; }
.loading-box {
  min-width: min(320px, calc(100vw - 32px));
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.loading-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #d7e3ea;
  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.service-detail-list {
  display: grid;
  gap: 7px;
}
.detail-line {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
  font-size: .95rem;
}
.detail-line strong { color: var(--text); }

.calc-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.filter-field { min-width: 220px; }
.global-filter {
  min-width: 260px;
}

.sidebar-toggle {
  border-radius: 8px;
  padding: 10px 13px;
  min-height: 40px;
  background: #102331;
  color: #fff;
  border: 1px solid rgba(16, 35, 49, .15);
  box-shadow: 0 8px 18px rgba(24, 39, 58, 0.08);
}

body.sidebar-collapsed .sidebar {
  transform: translateX(-100%);
}

body.sidebar-collapsed .app {
  margin-left: 0;
}

.sidebar {
  transition: transform .2s ease;
}

.app {
  transition: margin-left .2s ease;
}

.admin-only-hidden {
  display: none !important;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-check input {
  width: auto;
}

.checks-grid {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .84rem;
}

.exclusive-badge {
  color: var(--accent);
  font-weight: 900;
}
.metrics-grid.compact .metric { min-height: 92px; }
.profit-highlight {
  display: inline-flex;
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #e5f7ed;
  color: var(--good);
  font-weight: 800;
}

.quick-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
  align-items: end;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.availability-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

#reportSummary .metric {
  text-align: center;
  justify-items: center;
}

.report-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.report-block .table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  padding: 13px 15px;
  border-radius: 8px;
  background: #102331;
  color: #fff;
  transform: translateY(90px);
  opacity: 0;
  transition: .2s ease;
  box-shadow: var(--shadow);
  z-index: 50;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media print {
  .sidebar, .topbar, .top-actions, .nav, button { display: none !important; }
  .app { margin: 0; padding: 0; }
  .view { display: none !important; }
  #reports { display: grid !important; }
  .panel { box-shadow: none; border: 0; }
}

@media (max-width: 1180px) {
  .metrics-grid, .content-grid.three, .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid.two, .content-grid.form-list, .content-grid.dashboard-simple, .content-grid.stock-layout { grid-template-columns: 1fr; }
  .topbar.period-context { align-items: flex-start; flex-direction: column; }
  .topbar.period-context .top-actions { width: 100%; }
}

@media (max-width: 820px) {
  .sidebar { position: relative; width: auto; inset: auto; }
  body.sidebar-collapsed .sidebar { display: none; }
  .app { margin-left: 0; padding: 14px; }
  .topbar, .section-head { align-items: flex-start; flex-direction: column; }
  .top-title { width: 100%; }
  .metrics-grid, .content-grid.three, .cards-grid { grid-template-columns: 1fr; }
  .form, .quick-form, .availability-grid, .embedded-form-grid { grid-template-columns: 1fr; }
  .search { min-width: 100%; }
  .top-actions, .top-actions button { width: 100%; }
  .topbar.period-context .top-actions, .topbar.period-context .period-global-filters { flex-wrap: wrap; }
  .calendar-global-filters, .calendar-global-filters .segmented, .calendar-global-filters .filter-field,
  .calendar-toolbar, .calendar-toolbar .segmented, .calendar-toolbar .filter-field, .calendar-toolbar .pill { width: 100%; }
  .compact-filter, .stock-search-field { width: 100%; min-width: 0; }
  .calendar { grid-template-columns: repeat(7, 180px); }
}

@media (max-width: 820px) {
  body.is-technician .sidebar {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
  }
  body.is-technician.sidebar-collapsed .sidebar { display: flex; }
  body.is-technician .app {
    margin-left: 0;
    padding: 14px 14px 96px;
  }
  body.is-technician .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }
  body.is-technician .top-title {
    width: auto;
  }
  body.is-technician .profile-button {
    margin-left: 0;
  }
  body.is-technician .top-actions,
  body.is-technician .calendar-global-filters {
    width: 100%;
  }
  body.is-technician #stockMetrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
