:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #18211f;
  background: #f3f5f4;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  color: #f7faf9;
  background: #16201f;
  border-bottom: 3px solid #e7b84b;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 18px;
  font-weight: 750;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #16201f;
  background: #e7b84b;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 850;
}

.environment {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cdd6d3;
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c28a2d;
}

.status-dot.ok {
  background: #4ac789;
}

.status-dot.error {
  background: #e56c63;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 52px;
}

.page-heading,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.page-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid #d8dedc;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 3px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}

.eyebrow {
  color: #54706b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary {
  margin-top: 8px;
  color: #63716e;
  line-height: 1.5;
}

.release,
.method {
  flex: 0 0 auto;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.release {
  padding: 7px 9px;
  color: #5c4514;
  background: #f7e8bb;
  border: 1px solid #e8ce82;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 32px;
  overflow: hidden;
  background: #d8dedc;
  border: 1px solid #d8dedc;
  border-radius: 7px;
}

.metrics article {
  min-width: 0;
  padding: 17px 18px;
  background: #ffffff;
}

.metrics span,
.metrics small {
  display: block;
  color: #6d7b78;
  font-size: 12px;
}

.metrics strong {
  display: block;
  margin: 7px 0 4px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: start;
}

.resolver-tool {
  padding: 24px 0;
  border-top: 2px solid #123f3a;
  border-bottom: 1px solid #d8dedc;
}

.method {
  padding: 5px 8px;
  color: #ffffff;
  background: #287463;
}

form {
  margin-top: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #3d4a47;
  font-size: 13px;
  font-weight: 700;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: #18211f;
  background: #ffffff;
  border: 1px solid #afbbb8;
  border-radius: 6px;
  outline: none;
}

input:focus {
  border-color: #287463;
  box-shadow: 0 0 0 3px rgba(40, 116, 99, 0.14);
}

button,
.action-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #ffffff;
  background: #123f3a;
  border: 1px solid #123f3a;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

button:hover,
.action-link:hover {
  background: #0b302c;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.endpoint {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  color: #667572;
  font-size: 12px;
}

code {
  padding: 9px 10px;
  overflow-x: auto;
  color: #25322f;
  background: #e9edeb;
  border-radius: 5px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.experience {
  min-height: 410px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #d1d9d6;
  border-radius: 7px;
}

.empty-state {
  min-height: 356px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #667572;
  text-align: center;
}

.empty-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: #123f3a;
  background: #e2eeea;
  border: 1px solid #c5d9d3;
  border-radius: 7px;
  font-weight: 850;
}

.experience-brand {
  color: var(--tenant-primary, #123f3a);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.experience-title {
  margin-top: 10px;
  font-size: 25px;
}

.experience-subtitle {
  margin-top: 8px;
  color: #65736f;
  line-height: 1.5;
}

.actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.action-link {
  width: 100%;
}

.action-link:not(.primary) {
  color: #173f38;
  background: #edf4f1;
  border-color: #c8d9d4;
}

.action-link.call {
  color: #3f4a47;
  background: #ffffff;
  border-color: #aebbb7;
}

.result-meta {
  margin-top: 18px;
  padding-top: 14px;
  color: #73817e;
  border-top: 1px solid #e0e5e3;
  font-size: 12px;
}

.notice {
  padding: 14px;
  color: #59431a;
  background: #fff6df;
  border-left: 3px solid #d6a637;
  line-height: 1.5;
}

.notice.error {
  color: #6b2c27;
  background: #fff0ee;
  border-left-color: #d45d52;
}

@media (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .app-header {
    padding: 0 16px;
  }

  .environment span:last-child {
    display: none;
  }

  main {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }

  .page-heading {
    align-items: flex-start;
  }

  h1 {
    font-size: 25px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .experience {
    min-height: 360px;
    padding: 20px;
  }
}
