.gf {
  max-width: 1280px;
  margin: auto;
  color: #203c48;
}
.gf-welcome { max-width: 850px; margin: 8px 0 28px; }
.gf-welcome h2 { font-size: 1.8rem; margin: 10px 0; }
.gf-start-card { display: flex; flex-direction: column; align-items: flex-start; }
.gf-start-card .btn { margin-top: auto; }
.gf-step-number { width: 32px; height: 32px; border-radius: 50%; background: #e5f0eb; color: #245644; display: grid; place-items: center; font-weight: 700; }
.gf-callout { padding: 16px 20px; margin: 18px 0; border-left: 4px solid #408778; background: #f0f6f3; border-radius: 6px; }
.gf-callout p:last-child { margin-bottom: 0; }
.gf progress { width: 100%; height: 18px; accent-color: #408778; }
.gf summary { cursor: pointer; padding: 8px 0; }
.gf td .btn { margin: 3px; }
.gf h1 {
  font-size: 1.9rem;
}
.gf h2 {
  font-size: 1.35rem;
}
.gf h3 {
  font-size: 1.05rem;
}
.gf p {
  line-height: 1.6;
}
.gf-head,
.gf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gf-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #49777c;
  font-weight: 700;
}
.gf-sub {
  color: #627781;
  max-width: 760px;
}
.gf-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  border-bottom: 1px solid #d8e3e5;
  padding: 12px 0;
  margin-bottom: 24px;
}
.gf-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  color: #48626c;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
}
.gf-tabs button[aria-current="page"] {
  background: #123b4d;
  color: white;
}
.gf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.gf-card {
  background: white;
  border: 1px solid #d9e4e6;
  border-radius: 12px;
  padding: 22px;
  margin: 0 0 16px;
  box-shadow: 0 2px 3px #123b4d03;
}
.gf-card h3 {
  margin-top: 0;
}
.gf-meta {
  font-size: 0.82rem;
  color: #647880;
}
.gf-pill {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 0.72rem;
  background: #eaf0f2;
  color: #3d5b64;
  line-height: 1.4;
}
.gf-pill.good {
  background: #e6f2ea;
  color: #2e6747;
}
.gf-pill.warn {
  background: #fff1d4;
  color: #785318;
}
.gf-pill.bad {
  background: #fae9e8;
  color: #943c36;
}
.gf-message {
  padding: 12px 16px;
  border-left: 3px solid #b98331;
  background: #fff8e9;
  margin: 14px 0;
  white-space: pre-wrap;
}
.gf-message.error {
  border-color: #a34242;
  background: #fff0ef;
}
.gf-message:empty {
  display: none;
}
.gf button {
  cursor: pointer;
}
.gf button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.gf button:focus-visible,
.gf a:focus-visible {
  outline: 3px solid #daaa51;
  outline-offset: 3px;
}
.gf .btn {
  margin: 3px 2px;
}
.gf-form {
  display: grid;
  gap: 15px;
}
.gf-form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gf input,
.gf select,
.gf textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.gf textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}
.gf label small {
  display: block;
  font-weight: 400;
  color: #647880;
}
.gf-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
}
.gf-check input {
  width: auto;
}
.gf table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
}
.gf th,
.gf td {
  padding: 12px 10px;
  border-bottom: 1px solid #e3eaec;
  text-align: left;
  vertical-align: top;
}
.gf th {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #617780;
}
.gf-scroll {
  overflow-x: auto;
}
.gf-search {
  max-width: 560px;
  margin-bottom: 16px;
}
.gf-count {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  color: #536e75;
}
.gf-count.over {
  color: #b33932;
  font-weight: 700;
}
.gf-evidence {
  max-height: 260px;
  overflow: auto;
  background: #f7fafb;
  border: 1px solid #dce6e8;
  border-radius: 8px;
  padding: 14px;
}
.gf-evidence label {
  padding: 7px 0;
}
.gf-source {
  white-space: pre-wrap;
  font-size: 0.85rem;
  color: #506771;
  border-left: 2px solid #c8d9dd;
  padding-left: 12px;
  margin: 10px 0;
}
.gf-empty {
  text-align: center;
  padding: 40px 25px;
  color: #627881;
}
.gf-kpi {
  font-size: 2rem;
  font-weight: 750;
  color: #153d4e;
}
.gf-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.gf-steps span {
  font-size: 0.78rem;
  background: #eaf0f2;
  border-radius: 5px;
  padding: 7px 10px;
}
.gf-dialog {
  width: min(850px, calc(100vw - 40px));
  max-height: 88vh;
  overflow: auto;
  border: 1px solid #d8e3e6;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 22px 80px #0c2e3e44;
  color: #203c48;
}
.gf-dialog::backdrop {
  background: #0c263d70;
}
.gf-pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f5f8f9;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.gf-note {
  font-size: 0.85rem;
  color: #647881;
}
.gf-statusline {
  display: flex;
  gap: 8px;
  align-items: center;
}
.gf details {
  margin-top: 14px;
}
.gf summary {
  cursor: pointer;
  font-weight: 600;
}
.gf-divider {
  border: 0;
  border-top: 1px solid #e2eaec;
  margin: 24px 0;
}
.gf-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f5f8fa;
  padding: 10px 0;
}
.gf-readonly {
  background: #f4f8f8;
  padding: 15px;
  border-radius: 8px;
  white-space: pre-wrap;
}
.gf-error-list li {
  margin: 9px 0;
}
.gf button.link {
  border: 0;
  background: none;
  color: #246c76;
  text-align: left;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}
.gf-list-row {
  padding: 14px 0;
  border-bottom: 1px solid #e1e9eb;
}
.gf-qa-pass {
  background: #eaf5ed;
  border-left: 3px solid #427b51;
  padding: 18px;
}
.gf-qa-fail {
  background: #fff6e8;
  border-left: 3px solid #ba8530;
  padding: 18px;
}
.gf-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.gf [hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .gf-form .two {
    grid-template-columns: 1fr;
  }
  .gf-card {
    padding: 16px;
  }
  .gf-head {
    align-items: flex-start;
  }
  .gf-tabs button {
    padding: 8px 9px;
    font-size: 0.85rem;
  }
  .gf-dialog {
    padding: 18px;
  }
  .gf table {
    min-width: 650px;
  }
}
@media print {
  .sidebar,
  .gf-tabs,
  .gf-toolbar,
  .gf button {
    display: none !important;
  }
  .gf-card {
    box-shadow: none;
    break-inside: avoid;
  }
  .gf {
    max-width: none;
  }
}
