/* Public developer guide: concise examples with visible goals and results. */
.dev-page { max-width: 960px; margin: 0 auto; padding: 56px 28px 36px; --green-ink: #276e3a; }
.dev-intro { max-width: 800px; padding-bottom: 44px; }
.dev-intro .eyebrow { margin-bottom: 14px; }
.dev-intro h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; letter-spacing: -.045em; max-width: 780px; margin: 0 0 18px; }
.dev-intro > p { font-size: 16px; color: #496258; max-width: 720px; margin: 0; }
.dev-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; font-size: 14px; }
.dev-page a { color: #276e3a; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dev-section { padding: 32px 0; border-top: 1px solid var(--line-strong); }
.dev-page [id] { scroll-margin-top: 145px; }
.dev-section-heading { display: flex; gap: 16px; margin-bottom: 20px; }
.dev-number { color: #337c43; font: 12px var(--mono); padding-top: 7px; }
.dev-section h2 { font-size: 25px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.025em; }
.dev-section-heading p { margin: 0; color: #496258; font-size: 15px; max-width: 680px; }
.dev-page pre code { font: inherit; }
.dev-caption { color: #626e67; font-size: 12px; margin: 14px 0 0; }
.dev-page-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.dev-page-nav a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; }
.dev-page-nav span { font: 11px var(--mono); color: #6b6f76; }
.dev-description { color: #496258; font-size: 15px; max-width: 760px; }
.editor { background: #fff; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.editor-bar { display: flex; align-items: center; gap: 5px; padding: 10px 11px; border-bottom: 1px solid var(--line); background: #eef3ef; }
.etab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; border: 1px solid transparent; background: transparent; }
.etab svg { width: 15px; height: 15px; }
.etab.on { background: #fff; color: var(--ink); border-color: #cad8ce; }
.etab:hover:not(.on) { color: var(--ink); }
.editor-bar .ep { margin-left: auto; font: 11px var(--mono); color: #626e67; padding-right: 6px; }
.epane { padding: 24px; }
.epane[hidden] { display: none; }
.dev-example-label { color: #626e67; font-size: 12px; margin: 0 0 20px; }
.dev-step-label { display: block; color: #276e3a; font: 600 11px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.assistant-example { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.assistant-example h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 10px; }
.assistant-step p { color: #496258; font-size: 14px; margin: 0; }
.assistant-step strong { color: var(--ink); font-weight: 600; }
.assistant-step mark { background: #e5f0e1; color: #235e32; padding: 2px 5px; border-radius: 4px; font: 13px var(--mono); }
.assistant-guardrails { margin-top: 22px; padding: 16px; border-left: 3px solid #c39245; background: #fcf7ed; border-radius: 0 8px 8px 0; }
.assistant-guardrails .dev-step-label { color: #825817; }
.assistant-result { background: #edf5e9; border: 1px solid #d1e3c9; border-radius: 12px; padding: 20px; min-width: 0; }
.assistant-result-fields { margin: 16px 0 0; }
.assistant-result-fields > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #d1e3c9; }
.assistant-result-fields dt { min-width: 0; }
.assistant-result-fields dt code { font: 12px var(--mono); overflow-wrap: anywhere; }
.assistant-result-fields dt span { display: block; font-size: 11px; color: #586d59; margin-top: 3px; }
.assistant-result-fields dd { font: 600 18px var(--mono); color: #235e32; margin: 0; }
.epane-intro { font-size: 13px; line-height: 1.55; color: var(--muted); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.epane-intro b { color: var(--ink); }
.epane-intro .q { font: 600 11px var(--mono); text-transform: uppercase; color: #276e3a; display: block; margin-bottom: 6px; }
.epane-intro .why { display: block; margin-top: 8px; }
.epane-intro .why b { color: #276e3a; }
.emcp { display: flex; flex-direction: column; gap: 14px; }
.efk { font: 600 11px var(--mono); text-transform: uppercase; color: #626e67; }
.eurl { border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font: 13px var(--mono); overflow-wrap: anywhere; }
.ecode { border: 1px solid var(--line); border-radius: 10px; margin: 0; padding: 16px; background: #f5f7f4; color: #244b32; font: 13px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.ccadd { margin-top: 16px; padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.ccadd .lbl { font-size: 12px; color: var(--muted); width: 100%; }
.ccadd code { flex: 1; min-width: 0; font: 12px/1.7 var(--mono); overflow-wrap: anywhere; }
.ccadd .cp { min-width: 36px; min-height: 36px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--ink); font: inherit; font-size: 12px; }
.ccadd .cp svg { display: block; width: 16px; height: 16px; }
.dev-page a:focus-visible, .dev-page button:focus-visible { outline: 3px solid #3f8f3f; outline-offset: 4px; }
@media (max-width: 600px) {
  .dev-page { padding: 34px 20px 24px; }
  .dev-intro { padding-bottom: 30px; }
  .dev-section h2 { font-size: 23px; }
  .assistant-example { grid-template-columns: 1fr; gap: 18px; }
  .epane { padding: 18px 16px; }
  .editor-bar .ep { display: none; }
  .etab { padding: 8px 12px; }
  .assistant-result { padding: 16px; }
}

.dev-prerequisites { padding: 18px 20px; background: #eef3ef; border: 1px solid #cad8ce; border-radius: 12px; font-size: 14px; color: #496258; }
.dev-prerequisites h3 { font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.dev-prerequisites p { margin: 0 0 10px; }
.dev-connect-steps { padding-left: 24px; color: #496258; font-size: 14px; }
.dev-connect-steps li { padding-left: 6px; margin: 16px 0; }
.dev-connect-steps b { color: var(--ink); }
.dev-page p code, .dev-connect-steps code { font-size: .9em; overflow-wrap: anywhere; }
.dev-tool-table-wrap { margin: 26px 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.dev-tool-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.dev-tool-table caption { text-align: left; padding: 16px; font-weight: 600; background: #eef3ef; }
.dev-tool-table th, .dev-tool-table td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.dev-tool-table th { font-weight: 500; }
.dev-tool-table td { color: #496258; }
.dev-tool-table code { font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .dev-tool-table th, .dev-tool-table td { padding: 12px 10px; }
  .dev-tool-table { table-layout: fixed; font-size: 13px; }
  .dev-tool-table th:first-child { width: 38%; }
}
