:root {
  --navy-950: #0b1f2c;
  --navy-900: #133248;
  --navy-800: #1b425b;
  --navy-700: #275673;
  --gold-500: #f5b82e;
  --gold-100: #fff4d6;
  --green-700: #08715f;
  --green-600: #0b806c;
  --green-100: #dff4ed;
  --blue-100: #e9f2f8;
  --red-700: #a62e35;
  --red-100: #fbeaec;
  --orange-100: #fff1df;
  --ink: #17232d;
  --muted: #64717d;
  --line: #dce3e7;
  --line-dark: #c6d0d6;
  --surface: #ffffff;
  --canvas: #f3f6f5;
  --shadow-sm: 0 1px 2px rgb(16 40 55 / 7%), 0 3px 10px rgb(16 40 55 / 5%);
  --shadow-md: 0 12px 35px rgb(15 40 55 / 12%);
  font-family: Inter, Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(39 103 142 / 28%);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 30px;
  color: white;
  background: var(--navy-900);
  box-shadow: 0 2px 12px rgb(7 27 40 / 20%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  transform: skew(-6deg) rotate(-2deg);
  border: 2px solid white;
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 1px white;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand small {
  margin-top: 2px;
  color: #c9d8e1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-portal="staff"] .preview-controls,
html[data-portal="guest"] .preview-controls,
html[data-portal="tech"] .segmented-control {
  display: none;
}

html[data-portal="staff"] #tech-app,
html[data-portal="guest"] #tech-app,
html[data-portal="tech"] #staff-app {
  display: none !important;
}

.preview-label {
  color: #c9d8e1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.segmented-control {
  display: flex;
  padding: 3px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 10px;
  background: rgb(255 255 255 / 8%);
}

.role-button {
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  color: #d9e5eb;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.role-button.active {
  color: var(--navy-950);
  background: white;
  box-shadow: var(--shadow-sm);
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 9px;
  color: white;
  background: rgb(255 255 255 / 8%);
  font-size: 19px;
}

.staff-app {
  min-height: calc(100vh - 72px);
}

.staff-nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 7vw;
  border-bottom: 1px solid var(--line);
  background: white;
}

.staff-nav > div:first-child {
  display: flex;
  align-self: stretch;
  gap: 24px;
}

.staff-nav-button {
  position: relative;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.staff-nav-button.active {
  color: var(--navy-900);
}

.staff-nav-button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--gold-500);
  content: "";
}

.count-badge {
  display: inline-grid;
  min-width: 23px;
  min-height: 23px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--blue-100);
  font-size: 11px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.user-chip strong,
.user-chip small {
  display: block;
}

.user-chip small {
  margin-top: 1px;
  color: var(--muted);
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
}

.staff-shell {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.narrow-shell {
  width: min(900px, calc(100% - 40px));
}

.welcome-block {
  max-width: 720px;
  margin-bottom: 27px;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.welcome-block h1,
.page-heading-row h1 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: clamp(32px, 5vw, 47px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.welcome-block > p:last-child,
.page-heading-row p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.service-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  padding: 17px 19px;
  border: 1px solid #b8d7ca;
  border-radius: 13px;
  background: #ecf8f3;
}

.service-alert-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.service-alert.severity-outage {
  border-color: #e0a5a9;
  background: #fff0f1;
}

.service-alert.severity-outage .status-dot {
  background: var(--red-700);
  box-shadow: 0 0 0 4px rgb(166 46 53 / 14%);
}

.service-alert.severity-outage strong,
.service-alert.severity-outage p {
  color: #7f2930;
}

.service-alert.severity-maintenance {
  border-color: #d8c183;
  background: #fff8e5;
}

.service-alert.severity-info {
  border-color: #b9d2e2;
  background: #eff6fa;
}

.service-alert.severity-info .status-dot {
  background: #327da7;
  box-shadow: 0 0 0 4px rgb(50 125 167 / 14%);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #db7a17;
  box-shadow: 0 0 0 4px rgb(219 122 23 / 14%);
}

.service-alert strong {
  display: block;
  color: #164d43;
  font-size: 14px;
}

.service-alert p {
  margin: 3px 0 0;
  color: #45635c;
  font-size: 13px;
  line-height: 1.45;
}

.text-button,
.back-button {
  border: 0;
  color: var(--green-700);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.request-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.form-section {
  padding: 32px 34px 36px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--gold-100);
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2 {
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: 20px;
  letter-spacing: -0.015em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.category-card {
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  text-align: left;
  color: var(--ink);
  background: white;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.category-card:hover {
  border-color: #7a9bae;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.category-card.selected {
  border-color: var(--green-600);
  background: #f1faf7;
  box-shadow: 0 0 0 2px rgb(11 128 108 / 13%);
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card strong {
  margin-top: 13px;
  font-size: 14px;
}

.category-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.category-icon {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: var(--navy-900);
  background: var(--blue-100);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.category-card.selected .category-icon {
  color: white;
  background: var(--green-600);
}

.field-error {
  margin: 10px 0 0;
  color: var(--red-700);
  font-size: 13px;
  font-weight: 700;
}

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
}

.field-stack:first-child {
  margin-top: 0;
}

.field-stack label,
.field-stack .field-label,
.impact-fieldset legend {
  color: #263944;
  font-size: 13px;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  color: var(--ink);
  background: white;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
select {
  min-height: 45px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.5;
}

.account-actions,
.header-session,
.header-signout {
  display: flex;
  align-items: center;
}

.account-actions {
  gap: 10px;
}

.light-text-button {
  color: var(--navy-800);
}

.chip-signout,
.header-signout {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.header-session,
.header-signout {
  color: #d8e4ea;
  font-size: 12px;
  font-weight: 700;
}

.header-signout {
  padding: 7px 9px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
}

.guest-intake {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(190px, 0.8fr) minmax(360px, 1.4fr);
  gap: 28px;
  padding: 25px 34px;
  border-bottom: 1px solid #cce5de;
  background: #f2faf7;
}

.guest-intake h2 {
  margin: 4px 0 5px;
  color: var(--navy-950);
  font-size: 18px;
}

.guest-intake p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.guest-fields .field-stack {
  margin-top: 0;
}

.signed-in-requester {
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-bottom: 1px solid #cce5de;
  color: #285c51;
  background: #f2faf7;
  font-size: 13px;
}

.signed-in-requester:not([hidden]) {
  display: flex;
}

.signed-in-requester small {
  margin-left: 6px;
  color: var(--muted);
}

.auth-gate {
  min-height: calc(100vh - 72px);
  padding: 64px 20px;
  background: linear-gradient(155deg, #e8f1f3 0%, #f7f9f8 52%, #edf7f2 100%);
}

.auth-card,
.account-modal-card {
  width: min(100%, 430px);
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-lg);
}

.auth-card {
  margin: 0 auto;
}

.auth-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  transform: skew(-6deg) rotate(-2deg);
  border: 2px solid var(--navy-900);
  color: var(--navy-950);
  background: var(--gold-500);
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 900;
}

.auth-card h1,
.account-modal-card h2 {
  margin: 5px 0 8px;
  color: var(--navy-950);
}

.auth-card > p:not(.eyebrow),
.account-modal-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-card > small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.auth-form {
  margin-top: 25px;
}

.auth-form .primary-button {
  width: 100%;
  margin-top: 20px;
}

.form-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.form-error {
  color: #9b2632;
  background: #fff0f1;
}

.remember-choice,
.email-alert-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  color: #41525c;
  font-size: 12px;
  line-height: 1.4;
}

.remember-choice input,
.email-alert-choice input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--green-700);
}

.email-alert-choice {
  padding: 13px;
  border: 1px solid #c9d8d4;
  border-radius: 9px;
  background: #f3faf7;
}

.email-alert-choice strong,
.email-alert-choice small {
  display: block;
}

.email-alert-choice small {
  margin-top: 2px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 24px;
  background: rgb(8 28 40 / 62%);
  backdrop-filter: blur(3px);
}

.account-modal-card {
  position: relative;
}

.alerts-modal-card {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9f8;
  box-shadow: var(--shadow-md);
}

.alerts-modal-heading,
.alert-history-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.alerts-modal-heading h2 {
  margin: 4px 0 6px;
  color: var(--navy-950);
  font-size: 29px;
}

.alerts-modal-heading > div:first-child > p:last-child,
.alert-history-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.mail-config-chip {
  margin-right: 44px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #775718;
  background: #fff1ca;
  font-size: 10px;
  font-weight: 900;
}

.mail-config-chip.configured {
  color: #17604f;
  background: var(--green-100);
}

.alerts-management-grid {
  display: grid;
  gap: 22px;
  margin-top: 25px;
  grid-template-columns: minmax(330px, 0.8fr) minmax(400px, 1.2fr);
}

.alert-form,
.alert-history {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.alert-form h3,
.alert-history h3 {
  margin-bottom: 17px;
  color: var(--navy-950);
  font-size: 17px;
}

.alert-form .field-stack {
  margin-bottom: 14px;
}

.alert-form > .primary-button {
  width: 100%;
  margin-top: 17px;
}

.alert-history-heading h3 {
  margin-bottom: 3px;
}

.alert-management-list {
  display: grid;
  gap: 10px;
  margin-top: 17px;
}

.alert-management-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbfb;
}

.alert-management-item.inactive {
  opacity: .68;
}

.alert-management-topline,
.alert-management-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.alert-management-item h4 {
  margin: 8px 0 5px;
  color: var(--navy-950);
  font-size: 14px;
}

.alert-management-item p {
  margin: 0 0 12px;
  color: #52626c;
  font-size: 12px;
  line-height: 1.5;
}

.alert-management-meta {
  color: var(--muted);
  font-size: 10px;
}

.alert-severity-pill,
.alert-state-pill {
  padding: 5px 7px;
  border-radius: 999px;
  color: #765016;
  background: var(--gold-100);
  font-size: 9px;
  font-weight: 900;
}

.alert-state-pill.inactive {
  color: #52626c;
  background: #e8edef;
}

.resolve-alert-button {
  min-height: 31px;
  padding: 0 9px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  color: var(--green-700);
  background: white;
  font-size: 10px;
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #edf1f2;
  font-size: 22px;
}

.form-switch {
  display: block;
  margin: 16px auto 0;
  border: 0;
  color: var(--green-700);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .guest-intake {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px;
  }

  .guest-fields {
    grid-template-columns: 1fr;
  }

  .account-actions .secondary-button {
    padding-inline: 10px;
  }
}

input::placeholder,
textarea::placeholder {
  color: #8b969e;
}

.field-hint {
  color: var(--muted);
  font-size: 11px;
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field-grid.two-column {
  grid-template-columns: 1fr 1fr;
}

.compact-intake-grid,
.compact-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compact-context-grid.location-grid {
  grid-template-columns: 0.85fr 1.05fr 1.1fr;
}

.compact-field {
  margin-top: 0;
}

select:disabled {
  color: #8a969d;
  cursor: not-allowed;
  background: #f1f3f3;
}

.compact-final-section {
  padding-bottom: 28px;
}

.attachment-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.upload-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  cursor: pointer;
  background: white;
}

.upload-button:hover {
  border-color: var(--green-600);
  background: #f5fbf9;
}

.upload-button strong,
.upload-button small {
  display: block;
}

.upload-button strong {
  color: var(--green-700);
  font-size: 12px;
}

.upload-button small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.upload-button .upload-icon {
  width: 29px;
  height: 29px;
  font-size: 18px;
}

.conditional-panel {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #c9dce7;
  border-radius: 11px;
  background: #f4f9fc;
}

.conditional-panel .field-stack {
  margin-top: 0;
}

.impact-fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.impact-fieldset legend {
  margin-bottom: 8px;
}

.impact-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.impact-options label {
  position: relative;
  cursor: pointer;
}

.impact-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.impact-options span {
  display: block;
  min-height: 79px;
  padding: 13px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: white;
}

.impact-options strong,
.impact-options small {
  display: block;
}

.impact-options strong {
  font-size: 13px;
}

.impact-options small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.impact-options input:checked + span {
  border-color: var(--green-600);
  background: #f1faf7;
  box-shadow: 0 0 0 2px rgb(11 128 108 / 12%);
}

.upload-zone {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px dashed #91a4af;
  border-radius: 10px;
  cursor: pointer;
  background: #fafcfc;
}

.upload-zone:hover {
  border-color: var(--green-600);
  background: #f5fbf9;
}

.upload-zone strong,
.upload-zone small {
  display: block;
}

.upload-zone strong {
  color: var(--green-700);
  font-size: 13px;
}

.upload-zone small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.upload-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: var(--navy-800);
  background: var(--blue-100);
  font-size: 22px;
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.file-pill {
  padding: 6px 9px;
  border-radius: 7px;
  color: #42545f;
  background: var(--blue-100);
  font-size: 11px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 34px;
  background: #fafbfb;
}

.form-actions p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.primary-button,
.secondary-button {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 9px;
  font-weight: 800;
}

.primary-button {
  border: 1px solid var(--green-700);
  color: white;
  background: var(--green-700);
  box-shadow: 0 3px 8px rgb(8 113 95 / 16%);
}

.primary-button:hover {
  background: #075f51;
}

.secondary-button {
  border: 1px solid var(--line-dark);
  color: var(--navy-800);
  background: white;
}

.compact-button {
  min-height: 36px;
  padding: 0 13px;
  font-size: 12px;
}

.page-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.page-heading-row h1 {
  font-size: 38px;
}

.my-ticket-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.my-ticket-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
  background: white;
}

.my-ticket-row:last-child {
  border-bottom: 0;
}

.my-ticket-row:hover {
  background: #f8faf9;
}

.ticket-number {
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 900;
}

.my-ticket-row strong,
.my-ticket-row small {
  display: block;
}

.my-ticket-row strong {
  font-size: 14px;
}

.my-ticket-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.status-pill,
.priority-pill,
.channel-pill,
.message-kind {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.gate-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.gate-actions button {
  flex: 1;
}

.submit-for-toggle {
  margin-left: auto;
}

.submit-for-panel {
  padding: 22px 34px;
  border-bottom: 1px solid #cddfda;
  background: #f7fbfa;
}

.submit-for-panel > div:first-child p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.submit-for-person-picker {
  max-width: 760px;
  margin-top: 16px;
}

.submit-for-person-picker input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding-right: 48px;
  background-color: #fff;
}

.submit-for-person-picker small {
  color: var(--muted);
  font-size: 11px;
}

.requester-combobox {
  position: relative;
}

.requester-combobox-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy-950);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.requester-combobox-toggle:hover,
.requester-combobox-toggle:focus-visible {
  background: #edf6f3;
}

.requester-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #b9d2cc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgb(13 42 59 / 18%);
}

.requester-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy-950);
  text-align: left;
  cursor: pointer;
}

.requester-option:hover,
.requester-option:focus-visible {
  background: #edf6f3;
  outline: none;
}

.requester-option[aria-selected="true"] {
  background: #dcefeb;
}

.requester-option strong,
.requester-option small {
  display: block;
}

.requester-option small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.requester-options-empty {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
}

.verification-copy {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.verification-code-input {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.wide-modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.reports-modal-card {
  width: min(1080px, 100%);
}

.reports-intro {
  max-width: 720px;
}

.reports-filter-form {
  display: grid;
  align-items: end;
  gap: 10px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf9;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.reports-filter-form .field-stack {
  margin-top: 0;
}

.reports-filter-form input,
.reports-filter-form select {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 11px;
}

.report-filter-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.report-filter-actions .primary-button {
  margin-top: 0;
}

.report-filter-actions a {
  margin-left: auto;
  text-decoration: none;
}

.compact-upload-zone {
  min-height: 66px;
}

.advanced-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f7faf9;
}

.advanced-filters select {
  min-height: 36px;
  padding: 7px 28px 7px 9px;
  font-size: 11px;
}

.detail-attachments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
  font-size: 12px;
}

.attachment-list,
.detail-attachments {
  gap: 7px;
}

.attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid #bdd7d0;
  border-radius: 7px;
  color: var(--green-700);
  background: #f2faf7;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.attachment-link:hover {
  border-color: var(--green-600);
  background: white;
}

.attachment-link small {
  color: var(--muted);
  font-weight: 600;
}

.report-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.report-cards article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf9;
}

.report-cards strong,
.report-cards span {
  display: block;
}

.report-cards strong {
  color: var(--navy-950);
  font-size: 28px;
}

.report-cards span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.report-trend {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.report-trend h3 {
  margin: 0 0 12px;
}

.report-day-row {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  grid-template-columns: 90px minmax(120px, 1fr) 35px;
  font-size: 11px;
}

.report-day-row > span {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eeeb;
}

.report-day-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green-600);
}

.report-day-row strong {
  text-align: right;
}

.empty-report {
  margin: 18px 0 0;
  color: var(--muted);
}

.report-tables section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.report-tables h3 {
  margin: 0 0 12px;
}

.report-tables table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.report-tables th,
.report-tables td {
  padding: 8px 5px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.report-tables th:last-child,
.report-tables td:last-child {
  width: 60px;
  text-align: right;
}

.status-pill {
  padding: 6px 9px;
  color: #315062;
  background: var(--blue-100);
}

.status-pill.status-new,
.status-pill.status-needs-attention {
  color: #754800;
  background: var(--gold-100);
}

.status-pill.status-waiting-on-requester,
.status-pill.status-waiting-on-vendor {
  color: #824f14;
  background: var(--orange-100);
}

.status-pill.status-resolved,
.status-pill.status-closed {
  color: #1d6758;
  background: var(--green-100);
}

.back-button {
  margin-bottom: 18px;
  padding: 0;
}

.request-detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.request-detail-header {
  padding: 27px 29px 22px;
  border-bottom: 1px solid var(--line);
}

.request-detail-header h1 {
  margin: 8px 0 13px;
  color: var(--navy-950);
  font-size: 26px;
  letter-spacing: -0.025em;
}

.ticket-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.meta-text {
  color: var(--muted);
  font-size: 12px;
}

.conversation {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px 29px;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf9;
}

.message.technician {
  align-self: flex-end;
  border-color: #cbdce6;
  background: #edf5f9;
}

.message.internal {
  align-self: stretch;
  max-width: 100%;
  border-color: #edcf8a;
  background: #fff7e4;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 6px;
}

.message-header strong {
  font-size: 12px;
}

.message-header time {
  color: var(--muted);
  font-size: 10px;
}

.message p {
  margin: 0;
  color: #3c4b55;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.staff-reply {
  padding: 22px 29px 27px;
  border-top: 1px solid var(--line);
  background: #fafbfb;
}

.staff-reply textarea {
  margin-bottom: 10px;
  background: white;
}

.confirmation-card {
  width: min(570px, calc(100% - 40px));
  margin: 10vh auto 0;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: white;
  box-shadow: var(--shadow-md);
}

.confirmation-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green-600);
  font-size: 28px;
  font-weight: 900;
}

.confirmation-card h1 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 37px;
}

.confirmation-card > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.55;
}

.confirmation-reference {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 9px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--muted);
  background: #f6f9f8;
  font-size: 12px;
  font-weight: 700;
}

.confirmation-reference strong {
  color: var(--navy-900);
  font-size: 14px;
}

.confirmation-card .confirmation-email-note {
  margin-top: 14px;
  font-size: 12px;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* Technician workspace */

.tech-app {
  height: calc(100vh - 72px);
  background: #eaf0f1;
}

.tech-sidebar {
  position: fixed;
  top: 72px;
  bottom: 0;
  left: 0;
  width: 220px;
  padding: 20px 14px;
  color: #dce7ec;
  background: var(--navy-950);
}

.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 11px;
  color: #95aebb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-indicator {
  padding: 3px 6px;
  border-radius: 999px;
  color: #9ee0c9;
  background: rgb(66 176 139 / 14%);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.queue-button,
.sidebar-link {
  display: flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: #c7d5dc;
  text-align: left;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.queue-button:hover,
.sidebar-link:hover,
.queue-button.active {
  color: white;
  background: rgb(255 255 255 / 9%);
}

.queue-button.active {
  box-shadow: inset 3px 0 var(--gold-500);
}

.queue-button b {
  display: grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #d7e4ea;
  background: rgb(255 255 255 / 10%);
  font-size: 9px;
}

.sidebar-divider {
  height: 1px;
  margin: 18px 8px;
  background: rgb(255 255 255 / 10%);
}

.sidebar-link {
  justify-content: flex-start;
}

.sidebar-link .sidebar-badge {
  display: grid;
  min-width: 23px;
  height: 21px;
  margin-left: auto;
  place-items: center;
  border-radius: 999px;
  color: #ffe49a;
  background: rgb(245 184 46 / 18%);
  font-size: 9px;
}

.tech-workspace {
  display: grid;
  height: 100%;
  margin-left: 220px;
  grid-template-columns: minmax(430px, 42%) 1fr;
}

.queue-panel,
.ticket-panel {
  min-width: 0;
  overflow: hidden;
  background: white;
}

.queue-panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-dark);
}

.queue-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 20px 12px;
  border-bottom: 1px solid var(--line);
}

.queue-header .eyebrow {
  margin-bottom: 3px;
  font-size: 9px;
}

.queue-header h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: 23px;
  letter-spacing: -0.025em;
}

.queue-tools {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fafbfb;
}

.search-box {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
}

.search-box span {
  color: var(--muted);
  font-size: 18px;
}

.search-box input {
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
}

.search-box input:focus-visible {
  outline: 0;
}

.filter-button {
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--navy-700);
  background: white;
  font-size: 11px;
  font-weight: 800;
}

.queue-column-headings {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 8px 17px;
  border-bottom: 1px solid var(--line);
  color: #86939a;
  background: #f7f9f9;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tech-ticket-list {
  overflow-y: auto;
}

.tech-ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  min-height: 91px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
  background: white;
}

.tech-ticket-row:hover,
.tech-ticket-row.selected {
  background: #f5f9f8;
}

.tech-ticket-row.selected {
  box-shadow: inset 3px 0 var(--green-600);
}

.ticket-list-primary {
  min-width: 0;
}

.ticket-list-topline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-list-primary h3 {
  overflow: hidden;
  margin: 6px 0 6px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-list-primary p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-list-side {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-list-side time {
  color: var(--muted);
  font-size: 9px;
}

.priority-pill {
  min-width: 27px;
  justify-content: center;
  padding: 4px 6px;
  color: #315062;
  background: var(--blue-100);
}

.new-message-pill {
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-600);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.priority-pill.p1 {
  color: var(--red-700);
  background: var(--red-100);
}

.priority-pill.p2 {
  color: #845415;
  background: var(--orange-100);
}

.empty-queue {
  padding: 50px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.ticket-panel {
  overflow-y: auto;
  background: #f5f7f7;
}

.empty-ticket-state {
  display: grid;
  min-height: 100%;
  place-content: center;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.empty-ticket-state > span {
  color: #a9b8c0;
  font-size: 38px;
}

.empty-ticket-state h2 {
  margin: 12px 0 5px;
  color: #52636d;
  font-size: 18px;
}

.empty-ticket-state p {
  font-size: 12px;
}

.tech-detail-header {
  padding: 20px 23px 17px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.tech-detail-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tech-detail-header h2 {
  margin: 8px 0 11px;
  color: var(--navy-950);
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.tech-detail-layout {
  display: grid;
  min-height: calc(100vh - 202px);
  grid-template-columns: minmax(0, 1fr) 225px;
}

.tech-conversation-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.tech-conversation-column .conversation {
  flex: 1;
  padding: 20px;
}

.tech-properties {
  padding: 18px;
  border-left: 1px solid var(--line);
  background: white;
}

.property-group {
  margin-bottom: 17px;
}

.property-group > label,
.property-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.property-group select {
  min-height: 34px;
  padding: 0 8px;
  font-size: 11px;
}

.property-value {
  color: #334650;
  font-size: 12px;
  line-height: 1.45;
}

.property-value strong,
.property-value small {
  display: block;
}

.property-value small {
  margin-top: 2px;
  color: var(--muted);
}

.composer {
  position: sticky;
  bottom: 0;
  padding: 12px 16px 15px;
  border-top: 1px solid var(--line-dark);
  background: white;
  box-shadow: 0 -7px 20px rgb(23 45 57 / 5%);
}

.composer-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.composer-tab {
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
}

.composer-tab.active {
  color: var(--green-700);
  background: var(--green-100);
}

.email-chip {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  color: white;
  background: var(--green-600);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.composer.internal-mode .composer-tab.active {
  color: #815311;
  background: var(--gold-100);
}

.composer textarea {
  min-height: 82px;
  margin-bottom: 9px;
  font-size: 12px;
}

.composer.internal-mode textarea {
  border-color: #dfbd6c;
  background: #fffbf1;
}

.composer-delivery {
  margin: -3px 0 9px;
  color: var(--green-700);
  font-size: 9px;
  font-weight: 700;
}

.composer-delivery.internal-delivery {
  color: #805414;
}

.composer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.composer-actions > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.composer-actions button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 10px;
}

.message-kind {
  margin-left: 5px;
  padding: 3px 6px;
  color: #805414;
  background: #f7dea7;
  font-size: 8px;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 13px 16px;
  border-radius: 10px;
  color: white;
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .reports-filter-form {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid,
  .impact-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-workspace {
    grid-template-columns: 390px 1fr;
  }

  .tech-detail-layout {
    grid-template-columns: 1fr;
  }

  .tech-properties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 800px) {
  .advanced-filters {
    grid-template-columns: 1fr 1fr;
  }

  .report-cards,
  .report-tables {
    grid-template-columns: 1fr 1fr;
  }

  .reports-filter-form {
    grid-template-columns: 1fr 1fr;
  }
  .topbar {
    padding: 9px 15px;
  }

  .preview-label,
  .brand small {
    display: none;
  }

  .staff-nav {
    padding: 0 20px;
  }

  .user-chip > span:last-child {
    display: none;
  }

  .form-section {
    padding: 26px 23px 30px;
  }

  .field-grid.two-column {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .compact-intake-grid,
  .compact-context-grid,
  .compact-context-grid.location-grid {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .page-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .alerts-management-grid {
    grid-template-columns: 1fr;
  }

  .tech-sidebar {
    position: static;
    display: flex;
    width: 100%;
    height: auto;
    overflow-x: auto;
    padding: 8px;
  }

  .sidebar-heading,
  .sidebar-divider,
  .sidebar-link {
    display: none;
  }

  .tech-sidebar nav {
    display: flex;
    gap: 5px;
  }

  .queue-button {
    width: auto;
    flex: 0 0 auto;
    gap: 8px;
    padding: 0 11px;
  }

  .tech-app {
    height: auto;
    min-height: calc(100vh - 72px);
  }

  .tech-workspace {
    display: block;
    height: auto;
    margin-left: 0;
  }

  .queue-panel {
    min-height: 520px;
  }

  .ticket-panel {
    border-top: 8px solid #eaf0f1;
  }

  .tech-ticket-list {
    max-height: 420px;
  }
}

@media (max-width: 560px) {
  .gate-actions,
  .signed-in-requester {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-for-toggle {
    margin-left: 0;
  }

  .advanced-filters,
  .reports-filter-form,
  .report-cards,
  .report-tables {
    grid-template-columns: 1fr;
  }
  .brand strong {
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .role-button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .icon-button {
    display: none;
  }

  .staff-nav {
    min-height: 57px;
  }

  .staff-nav > div:first-child {
    gap: 14px;
  }

  .staff-nav-button {
    font-size: 12px;
  }

  .user-chip {
    display: none;
  }

  .staff-shell,
  .narrow-shell {
    width: min(100% - 22px, 1100px);
    padding-top: 34px;
  }

  .category-grid,
  .impact-options {
    grid-template-columns: 1fr;
  }

  .category-card {
    display: grid;
    min-height: 82px;
    align-items: center;
    grid-template-columns: 39px 1fr;
    column-gap: 11px;
  }

  .category-card strong,
  .category-card small {
    grid-column: 2;
  }

  .category-card strong {
    margin-top: 0;
  }

  .category-card small {
    margin-top: -9px;
  }

  .category-icon {
    grid-row: 1 / span 2;
  }

  .service-alert {
    grid-template-columns: auto 1fr;
  }

  .service-alert button {
    display: none;
  }

  .alerts-modal-card {
    padding: 22px 16px;
  }

  .alerts-modal-heading {
    display: block;
  }

  .mail-config-chip {
    display: inline-flex;
    margin: 8px 0 0;
  }

  .my-ticket-row {
    grid-template-columns: 1fr auto;
  }

  .my-ticket-row .ticket-number {
    grid-column: 1 / -1;
  }

  .confirmation-actions,
  .composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .confirmation-actions button {
    width: 100%;
  }

  .queue-header {
    padding: 13px 14px;
  }

  .tech-properties {
    grid-template-columns: 1fr 1fr;
  }
}
