:root {
  --blue: #0069b4;
  --blue-dark: #00528d;
  --cyan: #009fe3;
  --ink: #1d1d1b;
  --muted: #596574;
  --line: #bac8d4;
  --surface: #eaf0f5;
  --surface-inset: #f0f4f8;
  --field-line: #778b9c;
  --row-line: #d5dfe7;
  --panel-shadow: 0 2px 5px rgb(27 51 73 / 6%);
  --pale-blue: #eef6fc;
  --white: #fff;
  --font: "Arial Nova Light", "Arial Nova", Arial, sans-serif;
  --heading: "Arial Nova", Arial, sans-serif;
  --radius: 8px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  background: var(--surface);
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.15px;
}
h3 {
  font-size: 15px;
}
p {
  margin: 0 0 12px;
}
img {
  max-width: 100%;
  height: auto;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono {
  font-variant-numeric: tabular-nums;
  font-family: var(--heading);
}
.prewrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nowrap {
  white-space: nowrap;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--blue);
  margin-bottom: 12px;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  color: white;
  background: var(--blue);
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 230px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 33px 19px 22px;
  z-index: 10;
}
.brand {
  display: block;
  margin: 0 15px 39px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 164px;
  display: block;
}
.brand span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.6px;
  margin-top: 14px;
}
.nav-label {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #596574;
  padding: 0 14px;
  margin-bottom: 12px;
}
.navigation {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.navigation a {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #4a5766;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
}
.navigation a:hover {
  background: var(--surface);
  text-decoration: none;
}
.navigation a.active {
  background: var(--blue);
  color: white;
  font-weight: 600;
}
.navigation svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 10px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #4a5766;
}
.sidebar-bottom .small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.workspace-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 7px;
}
.workspace-content {
  margin-left: 230px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 77px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 20px;
}
.topbar-title {
  font-size: 12px;
  color: var(--muted);
}
.topbar-title strong {
  color: var(--ink);
  font-weight: 500;
}
.topbar-divider {
  color: #b8c3ce;
  margin: 0 14px;
}
.user-area {
  display: flex;
  align-items: center;
  gap: 18px;
}
.user-copy {
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
}
.user-copy strong {
  display: block;
  font-weight: 600;
}
.user-copy span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.environment-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 38px;
  background: #fdf9e9;
  border-bottom: 1px solid #eee4bb;
  color: #67582b;
  font-size: 11px;
}
.environment-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.main-content {
  padding: 32px 38px 40px;
  flex: 1;
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: #596574;
  padding: 18px 38px;
  border-top: 1px solid var(--line);
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading h1 {
  margin: 0 0 9px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 800px;
}
.heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 21px;
}
.breadcrumb span[aria-hidden] {
  color: #a1acb7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 40px;
  border: 1px solid var(--field-line);
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 9px 16px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  text-decoration: none;
  background: #f0f5f9;
}
.button-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: white;
}
.button-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding: 7px 10px;
  min-height: 34px;
  font-weight: 400;
}
.button-wide {
  width: 100%;
}
.button-small {
  padding: 6px 10px;
  min-height: 32px;
  font-size: 11px;
}
.button-icon {
  font-size: 19px;
  line-height: 1;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--panel-shadow);
}
.panel-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-header p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.panel-header {
  background: var(--surface-inset);
  flex-wrap: wrap;
}
.customer-conversation {
  border-color: #8bb4d1;
}
.customer-conversation .panel-header {
  background: #e8f3fb;
}
.customer-conversation .note-entry {
  border-left: 3px solid var(--blue);
  background: #f1f7fc;
}
.panel-body {
  padding: 22px;
}
.panel-body p:last-child {
  margin-bottom: 0;
}
.panel-heading-kicker {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}
.count-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.filter-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.filter-toolbar .field {
  margin: 0;
}
.search-field {
  flex: 1;
  max-width: 510px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: #3a4551;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--field-line);
  border-radius: 5px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 40px;
  line-height: 1.4;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #435e74;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgb(0 105 180 / 22%);
  outline-offset: 2px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #596574;
}
.field small,
.field-hint {
  font-size: 12px;
  color: var(--muted);
}
.field-error {
  font-size: 12px;
  color: #b52626;
}
.input-validation-error {
  border-color: #c00000 !important;
}
.validation-summary-errors,
.validation-summary {
  font-size: 13px;
  color: #b52626;
}
.validation-summary-errors ul {
  padding-left: 20px;
}
.validation-summary-valid {
  display: none;
}
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--row-line);
}
.form-section-title {
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 0;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.form-help {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fafc;
}
.form-help h2 {
  font-size: 15px;
  margin-bottom: 14px;
}
.form-help p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.form-help ol {
  list-style: none;
  padding: 0;
  counter-reset: steps;
  margin: 20px 0;
}
.form-help li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 22px 37px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.form-help li:before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  background: #e5eff7;
  color: var(--blue);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
}
.form-help li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}
.table-scroll {
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
.data-table th {
  background: #e9f0f6;
  border-bottom: 1px solid var(--line);
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #596574;
  font-weight: 600;
  white-space: nowrap;
}
.data-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--row-line);
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.data-table tbody tr:hover,
.data-table tbody tr:focus-within {
  background: #eaf4fc;
}
.table-primary {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin: 3px 0;
  max-width: 470px;
  line-height: 1.5;
}
.table-primary:hover {
  color: var(--blue);
}
.table-sub {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.table-id {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--blue);
}
.table-footer {
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-inset);
}
.table-min {
  min-width: 700px;
}
.ticket-table {
  min-width: 850px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgb(42 73 100 / 18%);
}
.badge-new {
  background: #eaf3ff;
  color: #215f9d;
}
.badge-pending {
  background: #f0edf9;
  color: #65508e;
}
.badge-waiting-for-response {
  background: #fff5de;
  color: #876410;
}
.badge-in-progress {
  background: #e5f4fc;
  color: #00628e;
}
.badge-resolved {
  background: #edf6ed;
  color: #326f38;
}
.badge-neutral {
  background: #f1f4f7;
  color: #617184;
}
.severity {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  white-space: nowrap;
}
.severity:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8094a9;
}
.severity-high:before {
  background: #c78116;
}
.severity-critical:before {
  background: #c00000;
}
.severity-low:before {
  background: #8c9caa;
}
.tabs {
  display: flex;
  gap: 27px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tab {
  padding: 17px 0 13px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tab:hover {
  text-decoration: none;
  color: var(--blue);
}
.tab.active {
  border-bottom-color: var(--blue);
  color: var(--blue);
}
.tab-count {
  font-size: 10px;
  background: #edf1f5;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
}
.tab.active .tab-count {
  background: #dfedf9;
  color: var(--blue);
}
.empty-state {
  padding: 55px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-symbol {
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 23px;
  background: #f8fbfd;
}
.empty-state h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 15px;
}
.empty-state p {
  font-size: 12px;
  max-width: 450px;
  margin: 0 auto 18px;
}
.empty-state.compact {
  padding: 30px 20px;
}
.empty-state.compact p {
  margin-bottom: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.detail-main,
.detail-aside {
  min-width: 0;
}
.detail-title {
  font-size: 25px !important;
  line-height: 1.35;
  overflow-wrap: anywhere;
  max-width: 850px;
}
.ticket-heading-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.ticket-number {
  font-size: 12px;
  letter-spacing: 0.7px;
  color: var(--muted);
  font-weight: 600;
}
.description-text {
  font-size: 13px;
  line-height: 1.85;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.meta-grid > div {
  min-width: 0;
  background: #f5f8fa;
  padding: 14px;
  border: 1px solid var(--row-line);
  border-radius: 5px;
}
.meta-grid dt,
.meta-list dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  margin: 0 0 6px;
}
.meta-grid dd,
.meta-list dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.meta-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.meta-list > div + div {
  padding-top: 14px;
  border-top: 1px solid var(--row-line);
}
.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 17px 22px;
  background: var(--surface-inset);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.summary-strip strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}
.section-note {
  font-size: 11px;
  color: var(--muted);
  padding: 0 22px 15px;
}
.note-list {
  list-style: none;
  padding: 18px 22px;
  margin: 0;
}
.note-entry {
  padding: 17px 18px;
  border: 1px solid var(--row-line);
  border-radius: 6px;
  background: #f7f9fb;
}
.note-entry + .note-entry {
  margin-top: 14px;
}
.note-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 9px;
}
.note-meta strong {
  font-size: 12px;
  color: var(--ink);
}
.note-text {
  font-size: 13px;
  line-height: 1.75;
}
.inline-form {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-inset);
}
.resolution-panel {
  border-left: 3px solid #43864a;
}
.resolution-panel .panel-header {
  background: #f6fbf6;
}
.resolution-panel .panel-header h2 {
  color: #326f38;
}
.audit-list {
  list-style: none;
  margin: 0;
  padding: 0 22px;
}
.audit-list li {
  padding: 16px 0 16px 20px;
  border-bottom: 1px solid var(--row-line);
  position: relative;
  font-size: 12px;
}
.audit-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 6px;
  height: 6px;
  background: #9ebbd2;
  border-radius: 50%;
}
.audit-list li:last-child {
  border-bottom: 0;
}
.audit-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.history-entry {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.history-entry:last-child {
  border-bottom: 0;
}
.history-entry-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.history-title {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin: 6px 0 10px;
  color: var(--ink);
}
.history-resolution {
  margin: 14px 0 0;
  background: #f5faf6;
  border-left: 2px solid #87b38b;
  padding: 12px 15px;
  font-size: 12px;
  line-height: 1.8;
}
.history-resolution strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #326f38;
  margin-bottom: 5px;
}
.alert {
  padding: 14px 17px;
  border: 1px solid;
  border-radius: 6px;
  margin-bottom: 22px;
  font-size: 12px;
}
.alert-success {
  background: #f1f8f2;
  border-color: #c7dfcb;
  color: #326a39;
}
.alert-error {
  background: #fff4f4;
  border-color: #edcccc;
  color: #a42727;
}
.notice {
  border: 1px solid #aac9df;
  border-radius: 5px;
  padding: 12px 14px;
  background: #f4f9fd;
  font-size: 12px;
  color: #4d657b;
  line-height: 1.7;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.record-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}
.record-icon {
  height: 50px;
  width: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e8f3;
  border-radius: 8px;
  background: #f3f8fc;
  color: var(--blue);
  font-size: 22px;
  flex-shrink: 0;
}
.record-hero h1 {
  font-size: 27px;
}
.readonly-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.public-page {
  background: white;
}
.public-content {
  min-height: 100vh;
}
.public-main {
  min-height: 100vh;
}
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-intro {
  padding: 70px max(45px, 8vw);
  background: #f5f8fb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.login-logo {
  width: 240px;
  margin-bottom: 75px;
}
.login-intro h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.login-intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.login-features {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12px;
  color: #546473;
}
.login-features span:before {
  content: "✓";
  color: var(--blue);
  font-size: 12px;
  margin-right: 12px;
}
.login-caption {
  margin-top: 75px;
  font-size: 10px;
  color: #596574;
}
.login-panel {
  padding: 60px 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-card {
  width: 100%;
  max-width: 365px;
}
.login-card h2 {
  font-size: 25px;
  margin: 0 0 14px;
  line-height: 1.3;
}
.login-card > p {
  font-size: 13px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.login-card .eyebrow {
  margin-bottom: 13px;
}
.login-card .field input {
  min-height: 45px;
}
.login-card .button {
  min-height: 45px;
}
.test-notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fdf9e9;
  border: 1px solid #eee4bb;
  border-radius: 5px;
  padding: 13px 14px;
  color: #756331;
  font-size: 11px;
  margin-bottom: 24px;
}
.test-notice strong {
  font-size: 11px;
}
.login-help {
  margin-top: 24px !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
}
.standalone-message {
  max-width: 610px;
  margin: 0 auto;
  padding: 110px 28px;
}
.standalone-message img {
  width: 170px;
  display: block;
  margin-bottom: 60px;
}
.standalone-message h1 {
  font-size: 30px;
  line-height: 1.35;
  margin-bottom: 20px;
}
.standalone-message p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}
@media (min-width: 1600px) {
  .main-content {
    padding-top: 38px;
  }
  .data-table td {
    padding-top: 21px;
    padding-bottom: 21px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand img {
    width: 145px;
  }
  .workspace-content {
    margin-left: 205px;
  }
  .main-content {
    padding: 27px 25px 35px;
  }
  .topbar,
  .environment-bar {
    padding-left: 25px;
    padding-right: 25px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 19px;
  }
  .data-table td,
  .data-table th {
    padding-left: 18px;
    padding-right: 18px;
  }
  .user-area {
    gap: 9px;
  }
  .detail-title {
    font-size: 23px !important;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 180px;
    padding: 26px 10px 18px;
  }
  .brand {
    margin-left: 10px;
    margin-right: 10px;
  }
  .brand img {
    width: 140px;
  }
  .brand span {
    font-size: 12px;
  }
  .navigation a {
    padding: 11px 10px;
    gap: 10px;
    font-size: 13px;
  }
  .sidebar-bottom {
    font-size: 10px;
  }
  .sidebar-bottom .small {
    font-size: 9px;
  }
  .workspace-content {
    margin-left: 180px;
  }
  .topbar-title {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
    height: 66px;
  }
  .main-content {
    padding: 25px 22px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .detail-aside .panel {
    margin-bottom: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-help {
    max-width: 680px;
  }
  .form-help ol {
    display: flex;
    gap: 20px;
  }
  .form-help li {
    flex: 1;
  }
  .login-intro {
    padding: 55px 40px;
  }
  .login-intro h1 {
    font-size: 32px;
  }
  .login-logo {
    width: 210px;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .panel-header {
    padding: 18px 20px;
  }
  .panel-body {
    padding: 20px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
  }
  .brand img {
    width: 127px;
  }
  .brand span {
    margin: 0;
    font-size: 11px;
    padding-left: 17px;
    border-left: 1px solid var(--line);
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-bottom: 12px;
  }
  .navigation a {
    padding: 10px 12px;
    min-height: 44px;
    font-size: 13px;
    gap: 8px;
    border-radius: 5px;
    white-space: nowrap;
  }
  .navigation svg {
    width: 15px;
    height: 15px;
  }
  .workspace-content {
    margin: 0;
  }
  .topbar {
    height: 57px;
    padding: 0 18px;
    justify-content: flex-end;
  }
  .user-area {
    width: 100%;
    justify-content: space-between;
  }
  .user-copy {
    text-align: left;
  }
  .user-copy strong {
    font-size: 11px;
  }
  .environment-bar {
    padding: 10px 18px;
    gap: 6px;
    flex-direction: column;
    align-items: start;
    font-size: 10px;
  }
  .environment-label {
    font-size: 8px;
  }
  .main-content {
    padding: 23px 17px 30px;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .heading-actions {
    margin-top: 0;
    flex-shrink: 1;
  }
  .button {
    min-height: 40px;
  }
  .panel {
    border-radius: 7px;
    margin-bottom: 18px;
  }
  .panel-header,
  .panel-body {
    padding: 18px;
  }
  .filter-toolbar {
    padding: 15px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .search-field {
    min-width: 100%;
    max-width: none;
  }
  .filter-toolbar .field:not(.search-field) {
    flex: 1;
  }
  .tabs {
    padding: 0 17px;
    gap: 23px;
  }
  .tab {
    font-size: 11px;
  }
  .table-footer {
    padding: 12px 17px;
    font-size: 10px;
  }
  .detail-aside {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .detail-aside .panel {
    width: 100%;
    margin-bottom: 18px;
  }
  .detail-grid {
    gap: 0;
  }
  .meta-grid {
    gap: 20px;
  }
  .ticket-heading-line {
    flex-wrap: wrap;
  }
  .detail-title {
    font-size: 23px !important;
  }
  .summary-strip {
    padding: 15px 18px;
    gap: 12px;
  }
  .note-entry,
  .inline-form {
    padding: 18px;
  }
  .note-meta {
    flex-wrap: wrap;
    gap: 3px;
  }
  .page-footer {
    padding: 15px 18px;
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
  }
  .form-help ol {
    display: block;
  }
  .form-row {
    gap: 12px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .form-help {
    padding: 18px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .record-hero {
    align-items: flex-start;
    gap: 12px;
  }
  .record-icon {
    width: 42px;
    height: 42px;
  }
  .record-hero h1 {
    font-size: 24px;
  }
  .history-entry {
    padding: 18px;
  }
  .history-entry-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-intro {
    padding: 30px 26px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .login-logo {
    width: 170px;
    margin: 0 0 28px;
  }
  .login-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .login-intro h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .login-intro p {
    font-size: 12px;
    margin: 0;
  }
  .login-features,
  .login-caption {
    display: none;
  }
  .login-panel {
    padding: 33px 26px 45px;
    align-items: start;
  }
  .login-card {
    max-width: 430px;
  }
  .login-card h2 {
    font-size: 22px;
  }
  .login-card > p {
    margin-bottom: 20px;
  }
  .standalone-message {
    padding-top: 60px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  .navigation a,
  a {
    transition:
      background-color 0.12s ease,
      color 0.12s ease;
  }
}
@media print {
  .sidebar,
  .topbar,
  .environment-bar,
  .page-footer,
  .heading-actions,
  .detail-aside,
  .inline-form,
  .button {
    display: none !important;
  }
  .workspace-content {
    margin: 0;
  }
  .main-content {
    padding: 0;
  }
  .detail-grid {
    display: block;
  }
  .panel {
    break-inside: avoid;
    box-shadow: none;
  }
  .table-scroll {
    overflow: visible;
  }
  body {
    background: white;
  }
}
.read-access-notice {
  margin-bottom: 22px;
}
.work-log-table {
  min-width: 550px;
}
.entry-author-hint {
  margin: 0;
}
.history-open-summary {
  margin-top: 12px;
}
.record-source-description {
  margin-top: 13px;
}
.meta-list dd a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.table-scroll:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}
.mobile-jumps {
  display: none;
}
@media (max-width: 1000px) {
  .mobile-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
  }
  .mobile-jumps a {
    padding: 9px 13px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 5px;
  }
}
