/* Brand colors from humera.de, 2026-09-19. Native controls and system fonts. */
:root {
  color-scheme:light;
  --forest:#384544;
  --peach:#FCB194;
  --terracotta:#DB744B;
  --sage:#8CAB9B;
  --cream:#F2E6D8;
  --paper:#faf9f6;
  --ink:#293634;
  --muted:#66716b;
  --line:#e1e4dd;
  --radius:18px;
  font:15px/1.5 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper)
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select {
  font:inherit
}
button,.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:9px;
  padding:9px 15px;
  color:var(--forest);
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  transition:background .15s,border-color .15s
}
button:hover,.button:hover {
  background:#f0f2ed;
  border-color:var(--sage)
}
button:disabled {
  opacity:.5;
  cursor:wait
}
button.primary,.button.primary {
  background:var(--forest);
  color:#fff;
  border-color:var(--forest)
}
button.primary:hover,.button.primary:hover {
  background:#243532
}
button.quiet {
  border-color:transparent;
  background:transparent;
  padding:7px 10px
}
button.quiet:hover {
  background:#eef0eb
}
.danger {
  background:#963d32;
  color:white
}
.danger-text {
  color:#a13c32
}
input,select {
  width:100%;
  min-height:44px;
  padding:10px 13px;
  border:1px solid #ced5cc;
  border-radius:9px;
  background:#fff;
  color:var(--ink)
}
input::placeholder {
  color:#7b827b
}
input[type=checkbox] {
  width:16px;
  min-height:16px;
  accent-color:var(--sage)
}
:focus-visible {
  outline:3px solid var(--terracotta);
  outline-offset:3px
}
label {
  display:grid;
  gap:7px;
  font-size:13px;
  font-weight:600
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:clamp(28px,3vw,40px);
  font-weight:550;
  letter-spacing:-1.5px;
  line-height:1.15;
  margin-bottom:12px
}
h2 {
  font-size:21px;
  letter-spacing:-.5px;
  font-weight:600;
  margin-bottom:10px
}
h3 {
  font-size:14px;
  margin:0
}
.muted {
  color:var(--muted)
}
.eyebrow {
  display:block;
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  margin-bottom:16px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
.skip-link {
  position:fixed;
  top:-60px;
  left:15px;
  z-index:10;
  background:var(--peach);
  color:var(--forest);
  padding:12px
}
.skip-link:focus {
  top:10px
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  color:inherit;
  white-space:nowrap
}
.brand img {
  border-radius:11px
}
.wordmark {
  font-size:27px;
  letter-spacing:-1.4px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:13px
}
.dev-label {
  font-size:11px;
  letter-spacing:1px;
  font-weight:500;
  padding:2px 6px;
  border:1px solid currentColor;
  border-radius:4px
}
.topbar {
  height:83px;
  padding:0 5%;
  display:flex;
  align-items:center;
  gap:40px;
  border-bottom:1px solid var(--line);
  background:#fff
}
.workspace-label {
  font-size:12px;
  color:var(--muted);
  border-left:1px solid var(--line);
  padding-left:30px
}
.topbar>button {
  margin-left:auto
}
.workspace {
  max-width:1540px;
  margin:auto;
  padding:44px 5% 20px
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:30px
}
.page-heading .eyebrow {
  color:#6c7c72
}
.page-heading p {
  margin-bottom:0
}
.page-heading .primary {
  white-space:nowrap;
  background:var(--peach);
  border-color:var(--peach);
  color:var(--forest);
  min-height:46px;
  padding-inline:20px
}
.page-heading .primary:hover {
  background:#f8a27f
}
.stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:30px
}
.stats>div {
  border:1px solid var(--line);
  padding:21px 24px;
  border-radius:var(--radius);
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px 16px;
  background:#fff
}
.stats>div:nth-child(2) {
  background:#e9efe8;
  border-color:#d9e3d8
}
.stats>div:nth-child(3) {
  background:var(--cream);
  border-color:#e9dece
}
.stat-label {
  font-size:12px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px
}
.stats strong {
  grid-row:span 2;
  font-size:37px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:-1px
}
.stat-caption {
  font-size:11px;
  color:var(--muted)
}
.dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#49725c
}
.environment-grid {
  display:grid;
  grid-template-columns:minmax(280px,350px) minmax(0,1fr);
  gap:22px;
  align-items:stretch
}
.instances-panel,.detail-panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  min-width:0
}
.instances-panel {
  --instance-scrollbar-width: 6px;
  padding:20px 15px;
  display:flex;
  flex-direction:column
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 5px 17px
}
.panel-heading h2 {
  margin:0;
  font-size:17px
}
.panel-heading button {
  font-size:12px
}
.search {
  margin:0 5px 12px
}
.search input {
  background:#f6f7f3;
  border-color:transparent
}
.instance-list {
  margin-left: 5px;
  margin-right: calc(5px - var(--instance-scrollbar-width));
  max-height:450px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:8px;
  scrollbar-width:thin
}
.instance-card {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-align:left;
  gap:8px;
  border:1px solid transparent;
  border-radius:11px;
  padding:10px;
  font-size:12px;
  min-height:0;
  justify-content:flex-start;
  flex-shrink:0;
  font-weight:400
}
.instance-card.selected {
  background:#f2f5ee;
  border-color:#c4d1c2
}
.instance-title {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0
}
.instance-title strong {
  font-size:14px;
  overflow-wrap:anywhere
}
.instance-symbol {
  color:#5b7b68;
  font-size:19px
}
.release-tag {
  margin-left:auto;
  background:#fff;
  padding:2px 6px;
  border:1px solid var(--line);
  border-radius:5px;
  font-size:10px;
  max-width:90px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.instance-domain {
  color:var(--muted);
  font-size:11px;
  overflow-wrap:anywhere
}
.instance-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:10px
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  line-height:1.4;
  padding:4px 8px;
  border-radius:5px;
  color:#5e6863;
  background:#e9ece6;
  white-space:nowrap
}
.badge:before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor
}
.badge[data-status=Running] {
  color:#3e6a4b;
  background:#e0ebdf
}
.badge[data-status=Installing],.badge[data-status=Starting],.badge[data-status=Stopping] {
  color:#8b5b1c;
  background:#fff0d6
}
.badge[data-status=Failed] {
  color:#9a3d32;
  background:#ffebe5
}
.detail-panel {
  display:flex;
  flex-direction:column
}
.detail-title {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}
.detail-title h2 {
  margin:0;
  overflow-wrap:anywhere
}
#instance-detail {
  padding:25px 26px 22px;
  min-height:176px
}
.detail-meta {
  font-size:11px;
  margin:10px 0 18px
}
.instance-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.instance-actions button,.instance-actions .button {
  font-size:11px;
  min-height:35px;
  padding:7px 12px
}
.console-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:17px 23px;
  border-top:1px solid var(--line)
}
.connection {
  color:#526f5e;
  font-size:10px
}
.console-toolbar {
  background:#384544;
  padding:13px 20px;
  display:flex;
  align-items:center;
  gap:14px;
  border-bottom:1px solid #52605a;
  color:#ccd8d0
}
.console-toolbar>label:first-child {
  flex:1;
  max-width:400px;
  min-width:0
}
.console-toolbar input[type=search] {
  min-height:32px;
  padding:7px 10px;
  font-size:11px;
  background:#43514e;
  color:#fff;
  border:1px solid #596660
}
.console-toolbar input::placeholder {
  color:#c1cac1
}
.console-toolbar .quiet {
  color:#e8eee7;
  font-size:11px;
  min-height:32px
}
.console-toolbar .quiet:hover {
  background:#52615b
}
.follow {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  white-space:nowrap
}
.console {
  background:#303d3b;
  color:#dbe4da;
  min-height:285px;
  height:335px;
  overflow:auto;
  padding:20px;
  font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;
  scrollbar-width:thin;
  flex:1
}
.log-row {
  display:flex;
  gap:10px;
  align-items:baseline;
  padding:3px 0
}
.log-time {
  color:#a5b7aa;
  font-size:10px;
  white-space:nowrap
}
.log-category {
  color:var(--peach);
  min-width:70px
}
.log-message {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  min-width:0
}
.console-empty {
  padding:50px 10px;
  text-align:center;
  color:#b2c0b5
}
.console-footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:11px 20px;
  background:#384544;
  color:#c2d0c4;
  font-size:9px
}
.empty {
  margin:auto;
  text-align:center;
  padding:45px 20px;
  color:var(--muted);
  font-size:13px
}
.page-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#788478;
  font-size:10px;
  padding-top:25px
}
.page-footer>span:first-child {
  font-size:13px;
  font-weight:600;
  letter-spacing:-.5px
}
dialog {
  width:min(510px,calc(100% - 32px));
  max-height:calc(100% - 40px);
  padding:30px;
  border:1px solid var(--line);
  border-radius:20px;
  color:var(--ink);
  box-shadow:0 24px 80px #15291f30
}
dialog::backdrop {
  background:#24373185;
  backdrop-filter:blur(4px)
}
.dialog-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between
}
.dialog-heading .eyebrow {
  margin-bottom:10px
}
dialog p {
  font-size:13px
}
.field-help {
  font-size:11px;
  color:var(--muted);
  margin-top:8px
}
.retain-option {
  display: flex;
  align-items: center;
  gap: 9px;
}
.retain-option input {
  flex-shrink: 0;
}
.data-options {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f7f9f6;
}
.data-options .field-help {
  margin-bottom: 0;
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
  margin-top:22px
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:26px
}
.form-error {
  color:#a13c32;
  font-size:13px;
  margin:12px 0
}
.form-error:empty {
  display:none
}
.loading {
  min-height:100vh;
  display:grid;
  place-items:center;
  color:var(--muted)
}
#notification {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:20;
  max-width:min(520px,calc(100% - 32px));
  background:var(--forest);
  color:#fff;
  border:1px solid #788b80;
  padding:14px 22px;
  border-radius:12px;
  box-shadow:0 8px 25px #273e2f25;
  font-size:13px
}
#notification.error {
  background:#853d31;
  border-color:#a65949
}
.login-layout {
  min-height:100dvh;
  display:grid;
  grid-template-columns:1.05fr 1fr
}
.login-story {
  background:var(--forest);
  color:var(--cream);
  padding:60px 10%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:70px;
  position:relative;
  overflow:hidden
}
.login-story:after {
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-280px;
  bottom:40px;
  border:75px solid var(--sage);
  border-radius:50%;
  opacity:.18;
  pointer-events:none
}
.login-story .brand {
  color:var(--peach)
}
.login-story h1 {
  font-size:clamp(42px,5vw,72px);
  font-weight:450;
  letter-spacing:-3px;
  line-height:1.08;
  color:var(--peach);
  margin-bottom:30px
}
.login-story p {
  font-size:15px;
  line-height:1.9;
  color:#c4d0c5
}
.login-story .eyebrow,.story-footer {
  font-size:10px;
  color:#becdc1
}
.login-panel {
  display:grid;
  place-items:center;
  padding:60px 35px
}
.login-panel form {
  width:100%;
  max-width:365px
}
.login-panel h2 {
  font-size:30px;
  letter-spacing:-1px;
  line-height:1.2
}
.login-panel label {
  margin-top:23px
}
.login-panel input {
  min-height:48px
}
.login-panel .primary {
  width:100%;
  margin-top:25px;
  min-height:48px;
  justify-content:space-between
}
.login-panel .muted {
  font-size:13px;
  margin-bottom:35px
}
.login-note {
  font-size:10px;
  color:var(--muted);
  text-align:center;
  margin-top:27px
}
@media(min-width:1500px) {
  .workspace {
    padding-inline:55px
  }
  .console {
    height:410px
  }
  .instance-list {
    max-height:525px
  }
}
@media(max-width:900px) {
  .workspace {
    padding:30px 24px
  }
  .topbar {
    padding-inline:24px
  }
  .environment-grid {
    grid-template-columns:280px minmax(0,1fr);
    gap:15px
  }
  .log-row {
    flex-wrap:wrap;
    gap:3px 10px
  }
  .log-message {
    flex-basis:100%
  }
  .stats>div {
    padding:18px
  }
  .stat-caption {
    display:none
  }
  .stats strong {
    grid-row:auto
  }
  .login-story {
    padding:45px 10%
  }
  .workspace-label {
    display:none
  }
}
@media(max-width:700px) {
  .topbar {
    height:70px;
    padding-inline:20px
  }
  .workspace {
    padding:28px 16px
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:17px
  }
  .page-heading p {
    font-size:13px
  }
  .page-heading .primary {
    width:100%
  }
  .stats {
    gap:8px;
    margin-bottom:22px
  }
  .stats>div {
    padding:15px 12px;
    display:flex;
    flex-direction:column;
    gap:6px;
    border-radius:12px
  }
  .stats strong {
    font-size:28px
  }
  .stat-label {
    font-size:10px
  }
  .environment-grid {
    grid-template-columns:1fr
  }
  .instance-list {
    max-height:300px
  }
  .instance-card {
    min-height:0
  }
  .console {
    height:330px;
    flex:auto
  }
  .page-footer>span:last-child {
    max-width:200px;
    text-align:right
  }
  .login-layout {
    grid-template-columns:1fr
  }
  .login-story {
    padding:30px;
    gap:40px
  }
  .login-story h1 {
    font-size:44px;
    margin-bottom:16px
  }
  .story-footer {
    display:none
  }
  .login-story p {
    margin:0;
    font-size:13px
  }
  .login-panel {
    padding:40px 28px
  }
  .form-row {
    grid-template-columns:1fr
  }
  dialog {
    padding:24px
  }
  .console-footer {
    font-size:8px
  }
  .console-toolbar {
    gap:8px;
    padding-inline:15px
  }
  #instance-detail {
    padding:23px 20px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}


/* Independent, theme-matched scroll areas. Native wheel, touch, and keyboard behavior. */
.instance-list,
.console {
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}
.instance-list {
  --scroll-thumb: #b3c3b5;
  --scroll-thumb-hover: #8cab9b;
  overflow-x: hidden;
}
.console {
  --scroll-thumb: #718b80;
  --scroll-thumb-hover: #a4bcad;
}
@supports selector(::-webkit-scrollbar) {
  .instances-panel { --instance-scrollbar-width: 9px; }
  .instance-list,
  .console {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
  .instance-list::-webkit-scrollbar,
  .console::-webkit-scrollbar {
    width: 9px;
    height: 9px;
  }
  .instance-list::-webkit-scrollbar-track,
  .console::-webkit-scrollbar-track,
  .instance-list::-webkit-scrollbar-corner,
  .console::-webkit-scrollbar-corner {
    background: transparent;
  }
  .instance-list::-webkit-scrollbar-thumb,
  .console::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 999px;
    min-height: 32px;
  }
  .instance-list::-webkit-scrollbar-thumb:hover,
  .console::-webkit-scrollbar-thumb:hover {
    background-color: var(--scroll-thumb-hover);
  }
  .instance-list::-webkit-scrollbar-button,
  .console::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }
}

/* Fill desktop windows; only the instance list and log output scroll.
   Small/short windows keep page scrolling so controls remain reachable when zoomed. */
@media (min-width: 701px) and (min-height: 760px) {
  #app:has(> .workspace) {
    height: 100dvh;
    display: flex;
    flex-direction: column;
  }
  .topbar {
    flex-shrink: 0;
  }
  .workspace {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding-top: 26px;
    padding-bottom: 16px;
  }
  .page-heading,
  .stats {
    margin-bottom: 22px;
  }
  .environment-grid,
  .instances-panel,
  .detail-panel {
    min-height: 0;
  }
  .instance-list {
    flex: 1;
    max-height: none;
  }
  .instances-panel > :not(.instance-list),
  .detail-panel > :not(.console) {
    flex-shrink: 0;
  }
  .console {
    height: 0;
    min-height: 0;
    flex: 1 1 0;
  }
  .page-footer {
    padding-top: 16px;
  }
}
@media (forced-colors: active) {
  .instance-list,
  .console {
    scrollbar-color: auto;
    scrollbar-width: auto;
    forced-color-adjust: auto;
  }
  .instance-list::-webkit-scrollbar-thumb,
  .console::-webkit-scrollbar-thumb {
    background-color: ButtonText;
  }
}


/* Compact controls share the selected-instance border color. */
:root {
  --control-border: #c4d1c2;
}
input:not([type="checkbox"]),
textarea,
select,
.login-panel input,
.console-toolbar input[type="search"] {
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  font-size: 12px;
  line-height: 20px;
  box-shadow: none;
}
input:not([type="checkbox"]):focus,
textarea:focus,
select:focus,
.login-panel input:focus,
.console-toolbar input[type="search"]:focus {
  outline: none;
  outline-offset: 0;
  border-color: var(--control-border);
  box-shadow: none;
  background-color: #fff;
  color: var(--ink);
}
.instance-card.selected {
  border-color: var(--control-border);
}
.instance-search-group {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: var(--paper);
  overflow: hidden;
}
.instance-search-group:focus-within {
  background: #fff;
  border-color: var(--control-border);
}
.instance-search-group > label {
  flex: 1;
  min-width: 0;
}
.instance-search-group #instance-search {
  width: 100%;
  height: 28px;
  min-height: 28px;
  padding: 3px 8px 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
}
#new-instance {
  flex: 0 0 29px;
  width: 29px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--peach);
  color: var(--forest);
}
#new-instance:hover {
  background: #f8a27f;
}
#new-instance:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: -3px;
}
.search-icon {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 1.4px solid #66766f;
  border-radius: 50%;
  position: relative;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 1.4px;
  background: #66766f;
  right: -3px;
  bottom: -2px;
  transform: rotate(45deg);
}
.create-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.create-actions button {
  width: 100%;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 5px;
}
select {
  appearance: none;
  background: #f7f9f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23576c62' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 9px center;
  padding-right: 30px;
  cursor: pointer;
}
@supports (appearance: base-select) {
  select,
  select::picker(select) {
    appearance: base-select;
  }
  select {
    background-image: none;
    padding-right: 9px;
    align-items: center;
  }
  select::picker-icon {
    color: #576c62;
    transition: transform .15s;
  }
  select:open::picker-icon {
    transform: rotate(180deg);
  }
  select::picker(select) {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--control-border);
    border-radius: 8px;
    padding: 4px;
    margin-top: 5px;
    box-shadow: 0 8px 25px #273e2f20;
    max-height: min(260px, 45dvh);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--sage) transparent;
  }
  select option {
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 12px;
    gap: 12px;
  }
  select option:hover,
  select option:focus,
  select option:checked {
    background: #edf3eb;
    color: var(--forest);
  }
  select option::checkmark {
    order: 1;
    margin-left: auto;
    color: #576c62;
  }
}
.instance-row {
  position: relative;
  flex-shrink: 0;
}
.instance-row .instance-card {
  width: 100%;
  padding: 10px;
}
.instance-row .instance-meta {
  padding-right: 32px;
  min-height: 28px;
}
.instance-menu-trigger {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #5b7063;
  font-size: 22px;
  line-height: 1;
}
.instance-menu-trigger:hover,
.instance-menu-trigger[aria-expanded="true"] {
  background: #e3ebdf;
  border-color: var(--control-border);
}
.instance-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  width: 190px;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px #273e2f26;
}
.instance-menu [role="menuitem"] {
  display: flex;
  width: 100%;
  min-height: 30px;
  padding: 5px 10px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
}
.instance-menu [role="menuitem"]:hover,
.instance-menu [role="menuitem"]:focus {
  background: #edf3eb;
  outline: none;
}
.instance-menu [role="menuitem"].danger-text {
  color: #a13c32;
}
.instance-menu .menu-separator {
  height: 1px;
  margin: 5px;
  background: var(--line);
}
#instance-detail {
  min-height: 112px;
}
.detail-meta {
  margin-bottom: 0;
}
@media (forced-colors: active) {
  input:focus,
  select:focus,
  .instance-menu [role="menuitem"]:focus {
    outline: 1px solid Highlight;
  }
}
