:root {
  --ink: #203638;
  --muted: #78878b;
  --teal: #237d6d;
  --line: #e5eaea;
  --bg: #f5f7f8;
  --sidebar: #122e2e;
  --radius: 12px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--teal);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #63c6b3;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  margin-bottom: 10px;
  font-weight: 650;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 16px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 17px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: var(--teal);
  color: white;
}
.primary:hover {
  background: #176756;
}
.secondary {
  background: white;
  border-color: #dce4e4;
  color: var(--ink);
}
.secondary:hover {
  background: #f0f5f3;
}
.danger {
  background: #fff0ee;
  color: #ae493d;
  border-color: #f1d3ce;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.text-button {
  background: none;
  border: 0;
  color: var(--teal);
  font-weight: 650;
  padding: 6px 0;
}
.icon-button {
  background: #f1f5f4;
  border: 0;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  font-size: 23px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #398c70;
}
.login-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-story {
  padding: 50px 9%;
  background: var(--sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.brand {
  color: white;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand-mark {
  width: 37px;
  height: 37px;
  background: #d2e9be;
  color: #143e32;
  border-radius: 9px;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 34px;
  text-align: center;
}
.brand-dot {
  color: #b8d994;
  margin-left: 5px;
}
.login-story h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 26px;
}
.login-story .eyebrow {
  color: #b8d994;
}
.login-story p {
  font-size: 16px;
  line-height: 1.8;
  color: #a5bfba;
}
.login-story small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8ca8a3;
}
.story-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 45px;
  color: #b9cec9;
  font-size: 12px;
}
.story-line span {
  width: 35px;
  height: 1px;
  background: #adc994;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 32px;
  background: #fafcfb;
}
.login-panel form {
  width: 100%;
  max-width: 350px;
}
.login-panel h2 {
  font-size: 31px;
  margin-bottom: 12px;
}
.login-panel .muted {
  margin-bottom: 33px;
}
.login-note {
  color: #91a09f;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 22px;
}
.error-text {
  color: #ae493d;
  font-size: 13px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
input,
select,
textarea {
  border: 1px solid #dbe3e2;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #237d6d12;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
}
.application {
  display: grid;
  grid-template-columns: 241px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--sidebar);
  color: #9eb6b1;
  padding: 30px 17px 0;
  position: fixed;
  width: 241px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  padding: 0 12px 36px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #789c94;
  padding: 0 13px 14px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 5px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: #aac1bb;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
}
.nav-item > span {
  font-size: 19px;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.nav-item.active {
  background: #264640;
  color: #d3ecc7;
}
.nav-item:hover {
  background: #203e39;
}
.nav-item i {
  font-style: normal;
  margin-left: auto;
  border-radius: 4px;
  background: #37584c;
  padding: 3px 6px;
  color: #e4f0de;
  font-size: 10px;
}
.nav-divider {
  height: 1px;
  background: #ffffff12;
  margin: 24px 13px;
}
.sidebar-bottom {
  margin-top: auto;
}
.device-card {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #ffffff15;
  border-radius: 9px;
  padding: 14px 10px;
  margin: 20px 4px;
}
.device-icon {
  font-size: 25px;
  color: #c6dca7;
}
.device-card strong {
  display: block;
  color: #d2e1dc;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.device-card small {
  display: block;
  margin-top: 6px;
  color: #91aaa4;
  font-size: 10px;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #ffffff12;
  padding: 19px 6px;
}
.avatar {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: #c6dca7;
  color: #294836;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.account strong {
  font-size: 11px;
  color: #dce6e2;
  display: block;
}
.account small {
  font-size: 9px;
  display: block;
  margin-top: 4px;
}
.account button {
  margin-left: auto;
  background: none;
  border: 0;
  color: #afc7c1;
  font-size: 22px;
}
main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #ffffffbd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.breadcrumb {
  color: var(--muted);
}
.breadcrumb-divider {
  color: #c3cecd;
  margin: 0 16px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}
.connection {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #527568;
  font-size: 10px;
}
.main-content {
  max-width: 1600px;
  padding: 36px 38px 0;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.page-heading .eyebrow {
  font-size: 9px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 22px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 19px 20px;
}
.stat > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #667a7b;
  font-size: 11px;
}
.stat-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.teal {
  color: #328370;
  background: #edf5f1;
}
.amber {
  color: #af9045;
  background: #fbf5e8;
}
.rose {
  color: #b86759;
  background: #fbefeb;
}
.stat strong {
  display: block;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 9px 0;
}
.stat small {
  font-size: 10px;
  color: #91a09f;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f2e8;
  border: 1px solid #e9e4d2;
  border-radius: 8px;
  padding: 14px 17px;
  font-size: 11px;
  color: #847650;
  margin: 0 0 22px;
}
.notice > span {
  background: #eae4cf;
  padding: 4px 7px;
  border-radius: 5px;
}
.notice strong {
  font-weight: 600;
}
.notice button {
  margin-left: auto;
  color: #8b7c4c;
  font-size: 10px;
  white-space: nowrap;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.card-header {
  padding: 21px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.card-header h2 {
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.count-pill {
  background: #f0f3f2;
  color: #82918c;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 500;
}
.card-header small {
  font-size: 10px;
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 10px;
  padding: 17px 23px;
  border-bottom: 1px solid var(--line);
}
.search {
  max-width: 310px;
  position: relative;
  flex: 1;
}
.search input {
  padding: 9px 12px 9px 33px;
  font-size: 11px;
  background: #fbfcfc;
}
.search > span {
  position: absolute;
  left: 11px;
  top: 7px;
  color: #8da09d;
  font-size: 18px;
}
.filters select {
  max-width: 180px;
  font-size: 11px;
  padding: 9px 12px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  padding: 14px 20px;
  background: #fcfdfd;
  color: #8b9b9a;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 18px 20px;
  border-bottom: 1px solid #eff2f2;
  vertical-align: middle;
}
tbody tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: #fbfdfc;
}
td strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
td small {
  display: block;
  color: #91a19e;
  font-size: 9px;
  margin-top: 6px;
}
.room-tag {
  font-size: 12px;
  font-weight: 650;
  background: #f1f5f3;
  border: 1px solid #e3eae6;
  border-radius: 6px;
  padding: 8px 10px;
  display: inline-block;
  white-space: nowrap;
}
.service-label {
  display: inline-block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 8px;
  background: #f1f3f8;
  color: #727a94;
  border-radius: 4px;
  font-size: 10px;
}
.truncate {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #849390;
}
.badge {
  border-radius: 5px;
  font-size: 9px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.queued {
  background: #fcf4df;
  color: #a48636;
}
.badge.printing {
  background: #eaf0fa;
  color: #5e83b5;
}
.badge.sent {
  background: #eaf5ee;
  color: #4c8d69;
}
.badge.failed,
.badge.uncertain {
  background: #fcf0ed;
  color: #bb6756;
}
.badge.cancelled {
  background: #f0f2f2;
  color: #8a9895;
}
.table-action {
  background: none;
  border: 1px solid #e4eae7;
  padding: 5px 9px;
  border-radius: 5px;
  color: #778d84;
  font-size: 10px;
  white-space: nowrap;
}
.table-action:hover {
  background: #edf6f1;
}
.empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.empty > span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf9;
  width: 55px;
  height: 55px;
  line-height: 53px;
  margin: 0 auto 20px;
  font-size: 25px;
  color: #8eaea0;
}
.empty h3 {
  color: #506d64;
  font-size: 14px;
  margin-bottom: 9px;
}
.empty p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 23px;
  border-top: 1px solid var(--line);
  color: #95a39f;
  font-size: 10px;
}
.pagination > div {
  display: flex;
  gap: 8px;
}
.pagination button {
  border: 1px solid #dfe7e3;
  background: white;
  border-radius: 5px;
  padding: 5px 9px;
  color: #6e847b;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  color: #9ba8a4;
  font-size: 9px;
}
.page-footer .dot {
  width: 4px;
  height: 4px;
  margin-right: 6px;
  background: #92b59e;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.card-body {
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-grid label small {
  font-weight: 400;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin: 5px 0 20px;
}
.settings-section {
  margin: 4px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.settings-section h3 {
  font-size: 12px;
}
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hint-card {
  background: #edf4ef;
  border: 1px solid #dfe9df;
  border-radius: var(--radius);
  padding: 23px;
  margin-bottom: 20px;
}
.hint-card h3 {
  font-size: 13px;
  margin-bottom: 14px;
}
.hint-card p,
.hint-card li {
  font-size: 11px;
  line-height: 1.9;
  color: #6d8477;
}
.hint-card ul {
  padding-left: 17px;
  margin-bottom: 0;
}
.device-drawing {
  border: 2px solid #8aab98;
  width: 110px;
  height: 68px;
  border-radius: 13px 13px 7px 7px;
  margin: 17px auto 28px;
  position: relative;
  background: linear-gradient(
    #dbe8dd 42%,
    #8aab98 43%,
    #8aab98 46%,
    #e4eee5 47%
  );
}
.device-drawing:before {
  content: "";
  position: absolute;
  top: -17px;
  left: 18px;
  width: 69px;
  height: 35px;
  background: #fff;
  border: 1px solid #a7bead;
  border-radius: 3px;
}
.device-drawing:after {
  content: "●";
  position: absolute;
  font-size: 8px;
  color: #7ca989;
  bottom: 6px;
  right: 10px;
}
.integration-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.code {
  background: #173432;
  border-radius: 8px;
  padding: 20px;
  color: #c4dbcf;
  overflow: auto;
  font:
    11px/1.8 Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.endpoint {
  display: flex;
  gap: 11px;
  align-items: center;
  background: #eef6f1;
  border: 1px solid #deebe2;
  padding: 13px 15px;
  border-radius: 7px;
  font-family: Consolas, monospace;
  font-size: 13px;
  margin-bottom: 20px;
}
.endpoint span {
  color: #3e8665;
  font-weight: bold;
  font-size: 10px;
}
.prose {
  font-size: 12px;
  color: #72857d;
  line-height: 1.9;
}
.prose strong {
  color: #4b685a;
}
.prose code {
  font-size: 11px;
  background: #f0f4f2;
  padding: 2px 4px;
  border-radius: 3px;
}
.integration-layout table td {
  padding: 12px 6px;
}
.integration-layout table th {
  padding: 10px 6px;
}
.log-code {
  font-family: Consolas, monospace;
  font-size: 10px;
}
.warning-note {
  font-size: 11px;
  background: #faf4e7;
  border-radius: 7px;
  padding: 13px;
  color: #9e854a;
  line-height: 1.7;
  margin-bottom: 20px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  width: min(930px, 94vw);
  max-height: 90vh;
  padding: 0;
  box-shadow: 0 18px 80px #142d2833;
  color: var(--ink);
}
dialog::backdrop {
  background: #122e2e66;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  padding: 23px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 19px;
  margin: 0;
}
.dialog-header .eyebrow {
  font-size: 8px;
  margin-bottom: 7px;
}
#dialog-content {
  padding: 24px 26px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
}
.detail-field {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.detail-field small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.receipt {
  background: #faf9f4;
  border: 1px dashed #d7d5c8;
  padding: 20px 14px;
  white-space: pre-wrap;
  font:
    10px/1.7 Consolas,
    monospace;
  overflow-wrap: anywhere;
  margin: 0;
}
.timeline {
  border-left: 1px solid #dbe5df;
  margin: 20px 0 20px 5px;
  padding-left: 20px;
}
.timeline-item {
  position: relative;
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.6;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -24px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: #a1c4ad;
  border-radius: 50%;
  border: 2px solid white;
}
.timeline-item small {
  display: block;
  color: #93a39a;
  font-size: 9px;
}
.timeline-item pre {
  font:
    10px/1.5 Consolas,
    monospace;
  white-space: pre-wrap;
  color: #7a8f81;
  overflow-wrap: anywhere;
}
.job-card {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 8px;
  margin: 14px 0;
}
.job-card p {
  font-size: 11px;
  color: #8a998f;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.job-card .form-actions button {
  font-size: 10px;
  padding: 7px 10px;
}
.action-form {
  max-width: 500px;
}
.action-form textarea {
  min-height: 100px;
}
.error-panel {
  padding: 30px;
  color: #ad6054;
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 28px;
  background: #193e32;
  color: #e9f5ec;
  border: 1px solid #426550;
  border-radius: 9px;
  padding: 14px 20px;
  font-size: 12px;
  max-width: min(450px, 90vw);
  box-shadow: 0 8px 32px #162f2922;
  z-index: 5;
}
@media (min-width: 1500px) {
  .main-content {
    padding-top: 44px;
  }
  .stat {
    padding: 24px;
  }
  .page-heading {
    margin-bottom: 35px;
  }
}
@media (max-width: 1150px) {
  .application {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    width: 205px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sidebar > .brand {
    font-size: 23px;
    padding-left: 5px;
  }
  .main-content {
    padding: 28px 23px 0;
  }
  .topbar {
    padding: 0 23px;
  }
  .stat {
    padding: 16px 14px;
  }
  .stats {
    gap: 10px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .heading-actions #updated-at {
    display: none;
  }
  .integration-layout {
    grid-template-columns: 1fr;
  }
  .nav-item {
    font-size: 11px;
  }
  .notice {
    flex-wrap: wrap;
  }
  .notice button {
    margin-left: 28px;
  }
}
@media (max-width: 900px) {
  .application {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 17px;
  }
  .sidebar > .brand {
    padding: 0 0 16px;
  }
  .sidebar > .workspace-label,
  .sidebar-bottom,
  .nav-divider,
  nav > .workspace-label {
    display: none;
  }
  .sidebar-bottom {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    margin: 0;
  }
  .sidebar-bottom .device-card,
  .sidebar-bottom .account > span,
  .sidebar-bottom .account > div {
    display: none;
  }
  .sidebar-bottom .account {
    border: 0;
    padding: 0;
  }
  nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    margin: 0;
    padding: 9px;
    font-size: 10px;
  }
  .nav-item > span {
    display: none;
  }
  .topbar {
    height: 55px;
    padding: 0 20px;
  }
  .topbar-right #today-date {
    display: none;
  }
  .main-content {
    padding: 25px 16px 0;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.6;
    max-width: 220px;
  }
  .heading-actions .button {
    font-size: 10px;
    padding: 9px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 26px;
  }
  .stat small {
    font-size: 9px;
  }
  .stat > div {
    font-size: 10px;
  }
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  .notice {
    font-size: 10px;
    padding: 12px;
    gap: 8px;
    line-height: 1.7;
  }
  .notice > span {
    display: none;
  }
  .notice button {
    margin: 0;
  }
  .card-header,
  .filters {
    padding: 16px;
  }
  .card-header small {
    display: none;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters select {
    max-width: 100%;
  }
  .search {
    min-width: 180px;
  }
  .card-body {
    padding: 19px;
  }
  .form-grid,
  .settings-aside,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .page-footer {
    font-size: 8px;
    gap: 15px;
  }
  .page-footer > span:last-child {
    max-width: 140px;
    text-align: right;
    line-height: 1.6;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-story {
    display: none;
  }
  .login-panel {
    min-height: 100vh;
  }
  .detail-grid .receipt {
    font-size: 10px;
  }
  dialog {
    max-height: 94vh;
  }
  .dialog-header,
  #dialog-content {
    padding: 19px;
  }
  th,
  td {
    padding: 14px;
  }
  h2 {
    font-size: 20px;
  }
  .integration-layout .code {
    font-size: 10px;
  }
}
.integration-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 24px;
  background: #eef5ef;
  border: 1px solid #e0eae2;
  border-radius: 12px;
}
.integration-intro h2 {
  font-size: 21px;
  margin: 0 0 9px;
}
.integration-intro p {
  font-size: 12px;
  color: #71867b;
  line-height: 1.8;
  margin: 0;
}
.integration-intro .eyebrow {
  font-size: 9px;
}
.integration-top {
  align-items: start;
}
.integration-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.integration-side .hint-card {
  margin-bottom: 0;
}
.integration-details {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.integration-details summary {
  font-size: 12px;
  font-weight: 650;
  color: #416b58;
  cursor: pointer;
  margin-bottom: 20px;
  line-height: 1.6;
}
.integration-details .check-label {
  font-weight: 500;
  align-items: flex-start;
  line-height: 1.6;
  font-size: 11px;
}
.integration-details fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.integration-details legend {
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 13px;
  color: #526e60;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.checkbox-grid .check-label {
  margin: 0 0 9px;
}
.checkbox-grid small {
  display: block;
  color: #8b9e91;
  font-size: 9px;
  line-height: 1.5;
}
.field-note {
  font-size: 10px;
  color: #87988f;
  line-height: 1.8;
  margin: 13px 0 0;
}
label .field-note,
label small {
  font-weight: 400;
  line-height: 1.7;
  color: #829489;
  font-size: 10px;
}
.credential-state {
  font-size: 9px;
  font-weight: 400;
  color: #789a85;
}
.integration-result {
  font-size: 11px;
  color: #3a7556;
  line-height: 1.8;
  background: #edf7ee;
  border: 1px solid #d6e7d7;
  border-radius: 7px;
  padding: 13px;
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}
.integration-side .endpoint {
  font-size: 10px;
  align-items: start;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.integration-side .endpoint code {
  font-size: 11px;
  min-width: 0;
  white-space: normal;
}
.preview-result {
  padding: 0 24px 24px;
  border-top: 1px solid var(--line);
}
.preview-result .warning-note {
  margin-top: 20px;
}
.preview-result .receipt {
  margin: 18px 0;
  overflow-x: auto;
  white-space: pre;
  font-size: 10px;
}
.preview-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.preview-fields small {
  display: block;
  font-size: 9px;
  color: #84978b;
  margin-bottom: 6px;
}
.preview-fields strong {
  font-size: 11px;
  font-weight: 600;
}
.mapping-input {
  font-family: Consolas, monospace;
  font-size: 11px;
}
.service-labels-label {
  margin-top: 20px;
}
.service-labels-label textarea {
  font:
    11px/1.7 Consolas,
    monospace;
}
.code-options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.log-switcher {
  max-width: 350px;
  margin-bottom: 20px;
}
.log-switcher label {
  font-size: 10px;
}
@media (max-width: 760px) {
  .integration-intro {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
  .integration-side .form-actions .button {
    font-size: 11px;
    padding: 9px;
  }
  .preview-result {
    padding: 0 18px 18px;
  }
}
