/* Gecko feeding workspace; shared partials own hero, metadata and article. */
.tn-gfc-page[data-tn-fixed-partials="character-counter"] {
  --gfc-ink: #1a1208;
  --gfc-muted: #5a4a30;
  --gfc-line: #b8a888;
  --gfc-soft: #ddd4be;
  --gfc-paper: #faf6ee;
  --gfc-surface: #fffdf7;
  --gfc-wash: #f5efdf;
  --gfc-accent: #c44a00;
  --gfc-button: #ede6d4;
  --gfc-hover: #dfd4bb;
  --gfc-error: #9c3020;
  --gfc-number: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", system-ui, sans-serif;
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto 56px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.tn-gfc-page .tn-gfc-ad {
  width: min(900px, 100%); min-height: 90px; margin-inline: auto;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
}
.tn-gfc-page .tn-gfc-ad--top { margin-top: 54px; margin-bottom: 18px; }
.tn-gfc-page .tn-gfc-ad--bottom { margin-top: 18px; margin-bottom: 26px; }
.tn-gfc-page .tn-gfc-ad :is(ins, iframe) { max-height: none; }
.tn-gfc-page .tn-gfc-tool, .tn-gfc-page .tn-gfc-tool * { box-sizing: border-box !important; min-width: 0; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool {
  width: 100% !important; padding: 18px !important; margin: 0 auto !important;
  border: 1px solid var(--gfc-line) !important; border-radius: 0 !important;
  background: var(--gfc-paper) !important; box-shadow: none !important;
  color: var(--gfc-ink) !important; -webkit-text-fill-color: var(--gfc-ink) !important;
  font: 400 14px/1.55 var(--gfc-number) !important;
}
.tn-gfc-page .tn-gfc-tool :is(p, h2, fieldset, legend) { margin: 0 !important; padding: 0; }
.tn-gfc-page .tn-gfc-tool [hidden] { display: none !important; }
.tn-gfc-page .tn-gfc-layout { display: grid !important; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px; }
.tn-gfc-page .tn-gfc-pane { display: grid !important; align-content: start; gap: 13px; min-width: 0; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-pane-label {
  padding-bottom: 9px !important; border-bottom: 3px double var(--gfc-line);
  color: var(--gfc-muted) !important; -webkit-text-fill-color: var(--gfc-muted) !important;
  font: 700 12px/1.4 var(--gfc-number) !important; letter-spacing: .04em;
}
.tn-gfc-page .tn-gfc-species { border: 0 !important; }
.tn-gfc-page .tn-gfc-species legend { margin-bottom: 5px !important; font-weight: 700; font-size: 13px; }
.tn-gfc-page .tn-gfc-species-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tn-gfc-page .tn-gfc-species-row label { display: block; position: relative; cursor: pointer; }
.tn-gfc-page .tn-gfc-species-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-species-row span {
  display: grid !important; place-items: center; min-height: 40px; padding: 7px 10px;
  border: 1px solid var(--gfc-line) !important; background: var(--gfc-surface) !important;
  color: var(--gfc-ink) !important; -webkit-text-fill-color: var(--gfc-ink) !important;
  font-size: 13px; font-weight: 700; text-align: center;
}
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-species-row input:checked + span {
  border-color: var(--gfc-accent) !important; background: var(--gfc-wash) !important;
  box-shadow: inset 0 -2px var(--gfc-accent);
}
.tn-gfc-page .tn-gfc-fields { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tn-gfc-page .tn-gfc-field { display: grid !important; align-content: start; gap: 5px; margin: 0 !important; border: 0 !important; background: transparent !important; }
.tn-gfc-page .tn-gfc-field > span:first-child { padding: 0 !important; font-size: 13px; font-weight: 700; }
.tn-gfc-page .tn-gfc-field small { font-size: 11px; color: var(--gfc-muted); -webkit-text-fill-color: var(--gfc-muted); font-weight: 400; }
.tn-gfc-page .tn-gfc-tool .tn-gfc-control { display: flex !important; width: 100%; height: 42px; align-items: stretch; border: 1px solid var(--gfc-line) !important; background: var(--gfc-surface) !important; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-control :is(input, select) {
  flex: 1 1 auto !important; width: auto !important; min-width: 0; height: 40px !important; min-height: 40px !important;
  margin: 0 !important; padding: 0 10px !important; border: 0 !important; border-radius: 0 !important;
  outline: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--gfc-ink) !important; -webkit-text-fill-color: var(--gfc-ink) !important;
  font: 600 17px/1 var(--gfc-number) !important; font-variant-numeric: lining-nums tabular-nums !important;
}
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool select { appearance: none; cursor: pointer; font-size: 13px !important; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-control b {
  display: flex !important; flex: 0 0 auto; align-items: center; justify-content: center;
  min-width: 32px; padding: 0 8px; border-left: 1px solid var(--gfc-line) !important;
  border-bottom: 1px solid var(--gfc-line) !important; border-right: 1px solid var(--gfc-line) !important;
  margin: 0 -1px -1px 0; background: var(--gfc-wash) !important;
  color: var(--gfc-muted) !important; -webkit-text-fill-color: var(--gfc-muted) !important;
  font: 500 12px/1 var(--gfc-number) !important;
}
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool input::placeholder { color: var(--gfc-ink) !important; -webkit-text-fill-color: var(--gfc-ink) !important; opacity: .35 !important; font-weight: 400 !important; }
.tn-gfc-page .tn-gfc-tool .tn-gfc-control:has(:focus-visible) { outline: 2px solid var(--gfc-accent) !important; outline-offset: -1px; }
.tn-gfc-page .tn-gfc-tool input[aria-invalid="true"] { background: var(--gfc-wash) !important; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-hint,
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-status,
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-disclaimer {
  color: var(--gfc-muted) !important; -webkit-text-fill-color: var(--gfc-muted) !important;
  font-size: 12px !important; line-height: 1.6 !important; word-break: keep-all; overflow-wrap: anywhere;
}
.tn-gfc-page .tn-gfc-actions { display: flex !important; flex-wrap: wrap; gap: 6px; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool button {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 40px !important; padding: 0 13px !important; margin: 0 !important;
  border: 1px solid var(--gfc-line) !important; border-radius: 0 !important;
  background: var(--gfc-button) !important; box-shadow: none !important;
  color: var(--gfc-ink) !important; -webkit-text-fill-color: var(--gfc-ink) !important;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  cursor: pointer;
}
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool button:hover:not(:disabled) { background: var(--gfc-hover) !important; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool button:disabled { opacity: .45; cursor: not-allowed; }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool button:focus-visible,
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-species-row input:focus-visible + span { outline: 2px solid var(--gfc-accent) !important; outline-offset: 2px; }
.tn-gfc-page .tn-gfc-primary { padding: 16px; border: 1px solid var(--gfc-soft); background: var(--gfc-surface) !important; }
.tn-gfc-page .tn-gfc-primary > span { display: block; font-size: 12px; font-weight: 700; color: var(--gfc-muted); -webkit-text-fill-color: var(--gfc-muted); }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool .tn-gfc-primary strong {
  display: block; margin: 7px 0 4px; color: var(--gfc-ink) !important; -webkit-text-fill-color: var(--gfc-ink) !important;
  font: 800 clamp(23px, 2.8vw, 33px)/1.25 var(--gfc-number) !important;
  font-variant-numeric: lining-nums tabular-nums !important; text-wrap: balance;
}
.tn-gfc-page .tn-gfc-primary p { color: var(--gfc-muted); -webkit-text-fill-color: var(--gfc-muted); font-size: 13px; }
.tn-gfc-page .tn-gfc-stage-line { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--gfc-soft); }
.tn-gfc-page .tn-gfc-stage-line span { font-size: 12px; color: var(--gfc-muted); -webkit-text-fill-color: var(--gfc-muted); }
.tn-gfc-page .tn-gfc-stage-line strong { font-size: 13px; font-weight: 700; text-align: right; }
.tn-gfc-page .tn-gfc-result-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tn-gfc-page .tn-gfc-result-list section { padding: 11px; border: 1px solid var(--gfc-soft); background: var(--gfc-surface) !important; }
.tn-gfc-page .tn-gfc-result-list section:first-child { grid-column: 1 / -1; }
.tn-gfc-page .tn-gfc-result-list h2 { margin: 0 0 5px !important; color: var(--gfc-muted) !important; -webkit-text-fill-color: var(--gfc-muted) !important; font: 700 12px/1.4 var(--gfc-number) !important; }
.tn-gfc-page .tn-gfc-result-list p { font: 600 13px/1.55 var(--gfc-number) !important; font-variant-numeric: lining-nums tabular-nums; word-break: keep-all; overflow-wrap: anywhere; }
.tn-gfc-page .tn-gfc-status { padding-top: 7px !important; border-top: 1px solid var(--gfc-soft); }
.tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool[data-state="invalid"] .tn-gfc-status { color: var(--gfc-error) !important; -webkit-text-fill-color: var(--gfc-error) !important; }
.tn-gfc-page .tn-gfc-tool > .tn-gfc-disclaimer { margin-top: 16px !important; padding-top: 12px !important; border-top: 1px solid var(--gfc-soft); }

body:is([data-scheme="dark"], [data-scheme="inverse"], [data-scheme="auto"][data-l="dark"], [data-scheme="auto"][data-d="dark"]) .tn-gfc-page[data-tn-fixed-partials],
html:is([data-scheme="dark"], [data-scheme="inverse"], .theme-dark) body:not([data-scheme="light"]) .tn-gfc-page[data-tn-fixed-partials] {
  --gfc-ink: #f7ead1; --gfc-muted: #dfceb0; --gfc-line: #826744; --gfc-soft: #5e4b33;
  --gfc-paper: #241a11; --gfc-surface: #2f2115; --gfc-wash: #382819;
  --gfc-accent: #e39a63; --gfc-button: #2f2115; --gfc-hover: #3a2a1b; --gfc-error: #ffae96;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-gfc-page[data-tn-fixed-partials] {
    --gfc-ink: #f7ead1; --gfc-muted: #dfceb0; --gfc-line: #826744; --gfc-soft: #5e4b33;
    --gfc-paper: #241a11; --gfc-surface: #2f2115; --gfc-wash: #382819;
    --gfc-accent: #e39a63; --gfc-button: #2f2115; --gfc-hover: #3a2a1b; --gfc-error: #ffae96;
  }
}
@media (max-width: 720px) {
  .tn-gfc-page .tn-gfc-ad--top { margin-top: 48px; }
  .tn-gfc-page .tn-gfc-layout { grid-template-columns: 1fr; gap: 20px; }
  .tn-gfc-page[data-tn-fixed-partials] .tn-gfc-tool { padding: 12px !important; }
}
@media (max-width: 380px) {
  .tn-gfc-page .tn-gfc-result-list { grid-template-columns: 1fr; }
  .tn-gfc-page .tn-gfc-result-list section:first-child { grid-column: auto; }
  .tn-gfc-page .tn-gfc-species-row span { font-size: 12px !important; }
}
