@import url('/base.css');
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Hiragino Kaku Gothic ProN',
    'Noto Sans JP',
    sans-serif;
  color: #203c43;
  background: #f5f7f7;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #42b48d;
  outline-offset: 4px;
}
input:focus,
select:focus {
  outline: 2px solid #62c7a5;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.4px;
  margin-bottom: 13px;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.9;
  font-size: 14px;
  color: #6d8288;
}
small {
  font-size: 12px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7e9399;
  margin-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eaf8f3;
  text-decoration: none;
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -0.7px;
  flex-wrap: wrap;
}
.brand > svg {
  color: #83e8be;
}
.brand > span {
  font-size: 8px;
  letter-spacing: 2px;
  margin: 0 0 0 40px;
  color: #98b1b6;
  width: 100%;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 236px;
  background: #102c36;
  color: #b5c7ca;
  padding: 36px 24px 24px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.nav-label {
  margin: 53px 13px 18px;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #668791;
}
.nav-item {
  background: none;
  color: inherit;
  justify-content: flex-start;
  padding: 14px 13px;
  border-radius: 9px;
  width: 100%;
  font-size: 12px;
  margin-bottom: 6px;
  gap: 12px;
  white-space: nowrap;
}
.nav-item.active {
  background: #264650;
  color: #d4f6e7;
}
.nav-item.active svg {
  color: #89dcba;
}
.nav-item > span {
  margin-left: auto;
  font-size: 10px;
  background: #365760;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
}
.private-note {
  border-top: 1px solid #2b4650;
  padding: 23px 4px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}
.private-note small {
  display: block;
  font-size: 9px;
  color: #72959e;
  margin-top: 7px;
}
.private-note svg {
  color: #779b9f;
}
.main {
  margin-left: 236px;
  min-width: 0;
  flex: 1;
  padding: 0 46px;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  border-bottom: 1px solid #e2e9e9;
  margin-bottom: 38px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #97a8ac;
}
.owner {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  font-size: 10px;
  color: #5f777e;
}
.owner i,
.stat-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52ac8c;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}
.page-header p {
  font-size: 12px;
  margin: 0;
}
.title-dot {
  color: #55b38f;
  padding-left: 4px;
}
.primary {
  background: #173f43;
  color: #fff;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 3px #102c360b;
  min-height: 44px;
}
.primary:hover {
  background: #215957;
}
.secondary {
  background: white;
  border: 1px solid #dbe4e4;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 12px;
  color: #38555b;
  min-height: 40px;
}
.secondary:hover {
  background: #f4f8f7;
}
.text-button {
  background: none;
  color: #598078;
  font-size: 12px;
  padding: 12px 0;
}
.icon-button {
  width: 36px;
  height: 36px;
  color: #6a868d;
  background: transparent;
  border-radius: 7px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #edf3f1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 0 0 38px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e0e7e7;
  border-radius: 10px;
  background: white;
  padding: 22px;
  min-width: 0;
  justify-content: flex-start;
  text-align: left;
  position: relative;
}
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}
.mint {
  background: #e9f6ef;
  color: #4b997a;
}
.sand {
  background: #fbf4e7;
  color: #b8a167;
}
.blue {
  background: #ecf2f7;
  color: #6086a4;
}
.stat > div > span {
  font-size: 10px;
  color: #7e9297;
  display: block;
  margin-bottom: 7px;
}
.stat strong {
  font-size: 27px;
  font-weight: 550;
  line-height: 1;
}
.stat strong small {
  color: #9aabaf;
  font-size: 11px;
  font-weight: 400;
}
.stat-dot {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 5px;
  height: 5px;
}
.stat > svg {
  margin-left: auto;
  color: #a0b2b6;
}
.list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  align-items: center;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.tabs button {
  padding: 9px 13px;
  font-size: 11px;
  background: none;
  color: #879a9e;
  border-radius: 6px;
  white-space: nowrap;
}
.tabs button.active {
  background: #e4edeb;
  color: #2f5c52;
  font-weight: 600;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid #e1e8e8;
  border-radius: 7px;
  padding: 8px 10px;
  color: #8aa0a5;
  max-width: 210px;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 11px;
  color: #3b5960;
}
.search input:focus {
  outline: none;
}
.monitor-table {
  background: white;
  border: 1px solid #e2e9e9;
  border-radius: 11px;
  overflow: hidden;
}
.table-head,
.monitor-row {
  display: grid;
  grid-template-columns:
    minmax(160px, 2fr) minmax(90px, 1fr) minmax(90px, 1fr) minmax(100px, 1fr)
    30px;
  align-items: center;
  column-gap: 14px;
  padding: 18px 23px;
}
.table-head {
  background: #f9fbfa;
  color: #8b9ea2;
  font-size: 9px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid #e9eeee;
}
.monitor-row {
  min-height: 92px;
  border-bottom: 1px solid #edf1f1;
}
.monitor-row:last-child {
  border-bottom: 0;
}
.monitor-row:hover {
  background: #fcfdfd;
}
.monitor-title {
  min-width: 0;
  background: transparent;
  justify-content: flex-start;
  text-align: left;
  gap: 13px;
  padding: 0;
}
.site-icon {
  width: 37px;
  height: 39px;
  border: 1px solid #e5ebea;
  border-radius: 9px;
  color: #63867d;
  background: #f8faf9;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
  font-family: Georgia, serif;
}
.monitor-title > span:last-child {
  min-width: 0;
}
.monitor-title strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #314e54;
}
.monitor-title small {
  display: block;
  font-size: 10px;
  color: #9aabad;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 5px;
  width: fit-content;
  white-space: nowrap;
}
.status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status.live {
  background: #eaf6ef;
  color: #4e9270;
}
.status.error {
  background: #fff1df;
  color: #b68238;
}
.status.paused {
  background: #eff2f3;
  color: #94a3a9;
}
.status.pending {
  background: #eaf2fc;
  color: #6c90b3;
}
.interval {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #7f969b;
}
.interval svg {
  color: #a8b7b9;
}
.last-check {
  font-size: 11px;
  color: #82969c;
}
.last-check small {
  display: block;
  font-size: 9px;
  color: #68a08d;
  margin-top: 5px;
}
.subtle-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #99aaad;
  margin-top: 20px;
}
.empty {
  background: white;
  border: 1px solid #e0e8e7;
  border-radius: 12px;
  text-align: center;
  padding: 48px 22px 0;
  overflow: hidden;
  min-height: 410px;
}
.empty h2 {
  font-size: 22px;
}
.empty p {
  font-size: 12px;
  line-height: 2;
}
.empty > .text-button {
  display: flex;
  margin: 6px auto 24px;
}
.empty-art {
  width: 100px;
  height: 80px;
  position: relative;
  margin: 0 auto 20px;
}
.empty-art > div {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 66px;
  height: 62px;
  background: #eff7f3;
  border: 1px solid #dcebe4;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #548c74;
  transform: rotate(-7deg);
}
.empty-art > span {
  position: absolute;
  right: 2px;
  bottom: 3px;
  background: #244e45;
  color: #c6eedb;
  border: 5px solid white;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.empty .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.empty-steps {
  display: flex;
  justify-content: center;
  border-top: 1px solid #edf2f0;
  margin: 30px -22px 0;
  padding: 22px;
  gap: 38px;
  color: #8da09f;
  font-size: 10px;
}
.empty-steps b {
  color: #4d8070;
  margin-right: 8px;
  font-size: 10px;
  font-weight: 500;
}
.empty.compact {
  padding: 70px 20px;
  min-height: 250px;
}
footer {
  font-size: 10px;
  color: #8b9f9e;
  margin: 42px 0 23px;
  font-weight: 600;
}
footer span {
  margin-left: 12px;
  font-size: 9px;
  color: #a9b8b7;
  font-weight: 400;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.settings-card {
  background: white;
  border: 1px solid #e0e8e7;
  border-radius: 12px;
  padding: 30px;
}
.settings-card > .stat-icon {
  margin-bottom: 22px;
}
.settings-card h2 {
  font-size: 19px;
}
.settings-card p {
  font-size: 12px;
}
.setup-steps {
  padding: 0;
  list-style: none;
  margin: 28px 0;
}
.setup-steps li {
  display: flex;
  gap: 13px;
  margin-bottom: 21px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
}
.setup-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f5f3;
  color: #678a7b;
  flex-shrink: 0;
  font-size: 10px;
}
.setup-steps small {
  display: block;
  font-size: 10px;
  color: #91a3a6;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.button-stack {
  display: grid;
  gap: 10px;
}
.hint {
  padding: 12px 14px;
  background: #f3f7f5;
  border-radius: 7px;
  color: #7d948a;
  font-size: 11px;
  line-height: 1.8;
}
.settings-footnote {
  display: flex;
  gap: 14px;
  color: #90a69f;
  align-items: flex-start;
  margin-top: 24px;
}
.settings-footnote svg {
  flex-shrink: 0;
  margin-top: 5px;
}
.settings-footnote p {
  font-size: 11px;
  color: #90a69f;
}
.token-label {
  display: block;
  font-size: 11px;
  margin-top: 20px;
}
.token-label input {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #dce7e2;
  border-radius: 6px;
  margin-top: 7px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: #8a9e9e;
}
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-story {
  background: #102c36;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #d8ece5;
  min-height: 760px;
}
.login-story > .brand {
  max-width: 185px;
}
.login-story h1 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -1px;
  color: #eef9f4;
}
.login-story p {
  color: #90aaa9;
  font-size: 14px;
  line-height: 2;
}
.login-story .eyebrow {
  color: #72b79e;
  margin: 50px 0 24px;
}
.login-story > small {
  color: #668a90;
  font-size: 10px;
}
.story-orbit {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  color: #8addb6;
}
.story-orbit > svg {
  border: 1px solid #325853;
  border-radius: 50%;
  padding: 26px;
  width: 115px;
  height: 115px;
}
.orbit-label {
  font-size: 11px;
  color: #7faba0;
}
.login-form {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-box {
  width: 100%;
  max-width: 340px;
}
.login-box h2 {
  font-size: 25px;
}
.login-box > p {
  font-size: 12px;
}
.login-box form {
  margin: 32px 0 20px;
}
.login-box label {
  font-size: 12px;
  font-weight: 500;
}
.login-box input {
  width: 100%;
  display: block;
  margin-top: 10px;
  border: 1px solid #d2dfda;
  border-radius: 7px;
  padding: 13px;
  background: white;
}
.login-box .primary {
  width: 100%;
  justify-content: space-between;
  margin-top: 18px;
}
.muted {
  color: #93a5a5;
}
.small {
  font-size: 11px !important;
}
.error-text {
  color: #b06451;
  font-size: 12px;
  min-height: 1em;
  margin: 9px 0;
}
.danger {
  color: #b47669;
}
.full {
  width: 100%;
}
dialog {
  position: fixed;
  width: min(680px, calc(100% - 28px));
  border: 1px solid #e2eae7;
  border-radius: 15px;
  padding: 34px;
  color: #26474b;
  max-height: 90dvh;
  box-shadow: 0 20px 100px #173b4325;
}
dialog::backdrop {
  background: #0e2c3866;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin: 16px 35px 12px 0;
}
.close-modal {
  position: absolute;
  right: 15px;
  top: 16px;
}
.form {
  display: grid;
  gap: 17px;
  margin-top: 25px;
}
.form label {
  font-size: 11px;
  color: #607d7d;
  display: block;
}
.form [hidden] {
  display: none;
}
.service-status:empty {
  display: none;
}
.service-status {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}
.cloud-status {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border: 1px solid #dce8e2;
  border-radius: 8px;
  background: #f0f6f3;
}
.cloud-status > span:last-child {
  font-size: 11px;
  line-height: 1.8;
  color: #6d887b;
}
.notification-setup-note {
  justify-content: flex-start;
  padding: 13px 16px;
  border: 1px solid #e8dfca;
  border-radius: 8px;
  background: #fffaf0;
  color: #997a47;
  text-align: left;
  font-size: 11px;
  line-height: 1.8;
}
.notification-setup-note > svg {
  flex-shrink: 0;
}
.notification-setup-note > svg:last-child {
  margin-left: auto;
}
.capture-note {
  margin-bottom: 20px;
}
.form input,
.form select {
  width: 100%;
  display: block;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid #dae4df;
  border-radius: 6px;
  background: white;
  color: #33574f;
  font-size: 13px;
}
.form small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: #9aaca4;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form p {
  margin: 0;
}
.form .hint {
  font-size: 10px;
}
.target-link {
  font-size: 11px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  word-break: break-all;
  color: #7b9894;
  line-height: 1.8;
}
.target-link svg {
  flex-shrink: 0;
}
.detail-actions {
  display: flex;
  gap: 8px;
  margin: 25px 0;
}
.detail-actions .danger {
  margin-left: auto;
}
.check-diagnostics {
  border: 1px solid #e1eae5;
  border-radius: 9px;
  padding: 16px;
  margin-bottom: 16px;
  background: #f8faf9;
}
.check-diagnostics dl {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 14px;
  margin: 0;
}
.check-diagnostics dt {
  color: #789087;
  font-size: 10px;
  margin-bottom: 8px;
}
.check-diagnostics dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.schedule-note,
.cooldown-note {
  font-size: 10px;
  line-height: 1.8;
  margin: 12px 0 0;
  color: #789087;
}
.cooldown-note {
  display: flex;
  gap: 7px;
  color: #9b763f;
  border-top: 1px solid #e4eae4;
  padding-top: 12px;
}
.cooldown-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.check-log {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 310px;
  overflow-y: auto;
  border: 1px solid #e3ebe6;
  border-radius: 8px;
}
.check-entry {
  padding: 14px 16px;
  border-top: 1px solid #e8eee9;
}
.check-entry:first-child {
  border-top: 0;
}
.check-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
}
.check-result > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #43876d;
}
.check-entry.failure .check-result > span {
  color: #aa7543;
}
.check-result time,
.check-meta {
  color: #82968e;
  font-size: 10px;
}
.check-result time {
  flex-shrink: 0;
}
.check-meta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.check-entry p {
  font-size: 10px;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
#refresh-detail {
  font-size: 11px;
  margin: 0;
}
.edit-form {
  padding: 20px;
  background: #f7f9f8;
  border-radius: 9px;
  gap: 12px;
}
.edit-form > .secondary {
  justify-self: end;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0 13px;
}
.section-heading h3 {
  margin: 0;
}
.section-heading > small {
  color: #a3b1ac;
  font-size: 10px;
}
.snapshot {
  padding: 20px;
  border: 1px solid #e2e9e5;
  border-radius: 8px;
  background: #fcfdfc;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 240px;
  overflow: auto;
  color: #527468;
}
.selector-detail {
  font-size: 10px;
  color: #9eafa7;
}
.selector-detail code {
  display: block;
  padding: 10px;
  overflow-wrap: anywhere;
}
.count {
  font-size: 10px;
  border-radius: 4px;
  padding: 4px 7px;
  background: #eff5f1;
  color: #80a28f;
}
.history-empty {
  font-size: 11px;
  padding: 28px;
  background: #f7f9f7;
  color: #9cb1a4;
  text-align: center;
  border-radius: 7px;
}
.change {
  border-top: 1px solid #e9eee9;
}
.change > summary {
  display: flex;
  gap: 10px;
  padding: 18px 0;
  font-size: 11px;
  cursor: pointer;
  align-items: center;
  list-style: none;
}
.change > summary small {
  font-size: 9px;
  color: #8aa793;
  margin-left: auto;
}
.change[open] > summary svg {
  transform: rotate(90deg);
}
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.diff > div {
  padding: 15px;
  border-radius: 6px;
  background: #fff4f0;
  min-width: 0;
}
.diff > div + div {
  background: #eef7ef;
}
.diff span {
  font-size: 9px;
  color: #91a591;
}
.diff pre {
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #698772;
}
.error-banner {
  background: #fff2e4;
  padding: 14px;
  border-radius: 7px;
  font-size: 11px;
  color: #b38349;
  line-height: 1.8;
}
.error-banner small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.error-banner strong {
  display: block;
  margin-bottom: 4px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: #183e38;
  color: #eaf7ef;
  font-size: 12px;
  padding: 15px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 30px #193b3922;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
  max-width: calc(100% - 30px);
  line-height: 1.7;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .main {
    padding-left: 70px;
    padding-right: 70px;
  }
  .topline,
  #content,
  footer {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding: 30px 18px;
  }
  .brand {
    font-size: 19px;
  }
  .main {
    margin-left: 200px;
    padding: 0 28px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px 14px;
    gap: 10px;
  }
  .table-head,
  .monitor-row {
    padding: 18px;
    column-gap: 10px;
    grid-template-columns: minmax(140px, 2fr) 83px 80px 25px;
  }
  .last-check,
  .table-head > span:nth-child(4) {
    display: none;
  }
  .settings-card {
    padding: 23px;
  }
  .list-toolbar {
    flex-wrap: wrap;
  }
  .settings-grid {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 20px 20px 0;
    display: block;
  }
  .sidebar > .brand {
    font-size: 21px;
    width: 195px;
  }
  .sidebar .brand > span {
    display: none;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-top: 22px;
    gap: 14px;
  }
  .sidebar .nav-item {
    width: auto;
    border-radius: 7px 7px 0 0;
    padding: 13px;
    font-size: 11px;
    margin: 0;
  }
  .sidebar .nav-item svg {
    width: 17px;
  }
  .main {
    margin: 0;
    padding: 0 20px;
  }
  .topline {
    height: 56px;
    margin-bottom: 27px;
    font-size: 8px;
  }
  .owner {
    font-size: 9px;
  }
  .page-header {
    align-items: flex-start;
    margin-bottom: 23px;
    gap: 8px;
  }
  .page-header h1 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .page-header p {
    font-size: 10px;
    line-height: 1.8;
  }
  .page-header > .primary {
    font-size: 10px;
    padding: 10px;
    margin-top: 24px;
    min-height: 39px;
    gap: 3px;
  }
  .page-header > .primary svg {
    width: 15px;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 11px;
  }
  .stats {
    gap: 8px;
    margin-bottom: 25px;
  }
  .stat {
    display: block;
    padding: 13px 11px;
    border-radius: 8px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
    border-radius: 7px;
    margin-bottom: 13px;
  }
  .stat-icon svg {
    width: 17px;
    height: 17px;
  }
  .stat > div > span {
    font-size: 8px;
    white-space: nowrap;
    margin-bottom: 9px;
    letter-spacing: -0.5px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat strong small {
    font-size: 9px;
  }
  .stat > svg {
    display: none;
  }
  .stat-dot {
    right: 12px;
    top: 14px;
  }
  .list-toolbar {
    display: block;
    margin-bottom: 12px;
  }
  .tabs {
    gap: 3px;
    margin-bottom: 12px;
  }
  .tabs button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .search {
    max-width: none;
    font-size: 11px;
    padding: 11px;
  }
  .table-head {
    display: none;
  }
  .monitor-row {
    grid-template-columns: 1fr auto 20px;
    gap: 9px;
    padding: 18px 14px;
    min-height: 94px;
  }
  .monitor-title {
    gap: 10px;
  }
  .monitor-title strong {
    font-size: 11px;
  }
  .monitor-title small {
    font-size: 9px;
  }
  .site-icon {
    width: 30px;
    height: 34px;
  }
  .monitor-row > .interval {
    grid-column: 2;
    grid-row: 2;
    font-size: 9px;
    justify-self: end;
    gap: 4px;
  }
  .monitor-row > .interval svg {
    width: 12px;
  }
  .monitor-row > .status {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 8px;
  }
  .monitor-title {
    grid-row: 1/3;
  }
  .detail-arrow {
    grid-column: 3;
    grid-row: 1/3;
    width: 20px;
  }
  .empty {
    padding: 32px 15px 0;
    min-height: 380px;
  }
  .empty h2 {
    font-size: 19px;
  }
  .empty p {
    font-size: 11px;
  }
  .empty .primary {
    font-size: 11px;
  }
  .empty-steps {
    gap: 12px;
    padding: 20px 10px;
    font-size: 8px;
    margin-top: 20px;
  }
  .empty-steps b {
    margin-right: 4px;
    font-size: 8px;
  }
  .subtle-note {
    font-size: 8px;
    gap: 5px;
    align-items: flex-start;
    line-height: 1.8;
  }
  .subtle-note svg {
    flex-shrink: 0;
    margin-top: 1px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-card {
    padding: 25px;
  }
  .settings-card > .stat-icon {
    width: 40px;
    height: 40px;
  }
  .settings-card > .stat-icon svg {
    width: 23px;
    height: 23px;
  }
  .settings-card h2 {
    font-size: 19px;
  }
  .login {
    grid-template-columns: 1fr;
    min-height: 100dvh;
    background: #f5f7f7;
  }
  .login-story {
    min-height: auto;
    padding: 28px 28px 30px;
  }
  .login-story > small,
  .story-orbit,
  .login-story p {
    display: none;
  }
  .login-story .eyebrow {
    margin: 32px 0 17px;
  }
  .login-story h1 {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 0;
  }
  .login-form {
    padding: 35px 28px;
    display: block;
  }
  .login-box {
    max-width: 100%;
  }
  .login-box h2 {
    font-size: 22px;
  }
  dialog {
    padding: 24px 20px;
    border-radius: 12px;
    max-height: 92dvh;
  }
  dialog h2 {
    font-size: 20px;
  }
  .diff {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .detail-actions .secondary {
    font-size: 10px;
    padding: 10px;
  }
  .check-diagnostics dl {
    grid-template-columns: 1fr 1fr;
  }
  .check-diagnostics dl > div:last-child {
    grid-column: 1 / -1;
  }
  .check-entry {
    padding: 12px;
  }
  .check-result {
    flex-wrap: wrap;
    gap: 5px;
  }
  .snapshot {
    font-size: 11px;
  }
  .change > summary small {
    font-size: 8px;
  }
  .login-box form {
    margin: 23px 0;
  }
  .settings-footnote p {
    font-size: 10px;
  }
  footer {
    margin-top: 35px;
    font-size: 9px;
  }
  footer span {
    font-size: 8px;
  }
}

@media (max-width: 760px) {
  .form input,
  .form select,
  .login-box input {
    font-size: 16px;
  }
}
