.lc-dev-page { min-height: 100vh; background: #f5f8fc; }
.lc-dev-page .lc-api-header { position: sticky; top: 0; z-index: 20; }
.lc-docs-shell { display: grid; grid-template-columns: 255px minmax(0, 1fr); max-width: 1440px; min-height: calc(100vh - 76px); margin: 0 auto; }
.lc-docs-sidebar { position: sticky; top: 76px; align-self: start; height: calc(100vh - 76px); padding: 25px 18px 35px; overflow-y: auto; border-right: 1px solid #dbe4ef; background: #fff; scrollbar-width: thin; }
.lc-docs-sidebar__home { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 10px; border-radius: 9px; color: #31506f; font-size: 10px; font-weight: 800; text-decoration: none; }
.lc-docs-sidebar__home:hover { background: #f0f4fa; }
.lc-docs-sidebar section { margin-top: 21px; }
.lc-docs-sidebar h2 { margin: 0 10px 8px; color: #8a99ad; font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lc-docs-sidebar nav { display: grid; gap: 3px; }
.lc-docs-sidebar nav a { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 5px; min-height: 38px; padding: 6px 9px; border-radius: 9px; color: #58708d; font-size: 9px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.lc-docs-sidebar nav a code { color: #6c8cd9; font: 800 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.lc-docs-sidebar nav a:hover { color: #234aab; background: #f0f4ff; }
.lc-docs-sidebar nav a.is-active { color: #194fbf; background: #eaf0ff; box-shadow: inset 3px 0 0 #356dff; }

.lc-request-main { min-width: 0; padding: 38px clamp(28px, 4vw, 68px) 70px; }
.lc-request-breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: #8a99ad; font-size: 9px; font-weight: 700; }
.lc-request-breadcrumbs a { color: #5e7490; text-decoration: none; }
.lc-request-breadcrumbs a:hover { color: #356dff; }
.lc-request-hero { position: relative; padding: clamp(30px, 5vw, 55px); overflow: hidden; border: 1px solid #cfdded; border-radius: 24px; background: linear-gradient(138deg, #fff 0%, #f7faff 58%, #eaf1ff 100%); box-shadow: 0 20px 48px rgba(18,51,91,.08); }
.lc-request-hero::after { position: absolute; right: -100px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(53,109,255,.15), transparent 68%); }
.lc-request-hero__meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; margin-bottom: 21px; }
.lc-http-method { display: inline-grid; min-width: 48px; min-height: 26px; padding: 0 8px; place-items: center; border-radius: 7px; color: #fff; background: #356dff; font: 850 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.lc-http-method--get { background: #149766; }
.lc-request-hero__meta code { color: #375470; font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.lc-request-hero h1 { position: relative; z-index: 1; max-width: 850px; margin: 0 0 16px; color: #102947; font-size: clamp(34px, 5vw, 57px); line-height: 1.02; letter-spacing: -.052em; }
.lc-request-hero p { position: relative; z-index: 1; max-width: 800px; margin: 0; color: #657a94; font-size: 14px; line-height: 1.75; }
.lc-request-hero__chips { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.lc-request-hero__chips span { padding: 7px 10px; border: 1px solid #d5e0ef; border-radius: 8px; color: #5f7590; background: rgba(255,255,255,.8); font-size: 8px; font-weight: 750; }

.lc-request-access { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; margin-top: 20px; padding: 22px; border: 1px solid #d8e3f0; border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgba(20,48,84,.05); }
.lc-request-access__intro h2 { margin: 5px 0 8px; color: #173250; font-size: 18px; letter-spacing: -.03em; }
.lc-request-access__intro p { margin: 0; color: #7a8ca3; font-size: 10px; line-height: 1.65; }
.lc-request-access .lc-api-access__form { padding: 0; border: 0; background: transparent; box-shadow: none; }

.lc-request-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; margin-top: 22px; align-items: start; }
.lc-request-article { display: grid; gap: 18px; min-width: 0; }
.lc-request-section { padding: 29px; border: 1px solid #dbe5f1; border-radius: 18px; background: #fff; box-shadow: 0 7px 24px rgba(20,48,84,.045); scroll-margin-top: 100px; }
.lc-request-section__eyebrow { color: #356dff; font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.lc-request-section h2 { margin: 7px 0 13px; color: #17304e; font-size: 23px; letter-spacing: -.038em; }
.lc-request-section h3 { margin: 22px 0 8px; color: #233e5e; font-size: 13px; }
.lc-request-section p, .lc-request-section li { color: #6f829b; font-size: 10px; line-height: 1.75; }
.lc-request-section p { margin: 0 0 12px; }
.lc-request-section p:last-child { margin-bottom: 0; }
.lc-request-section ul, .lc-request-section ol { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 18px; }
.lc-request-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 18px; counter-reset: step; }
.lc-request-step { position: relative; min-height: 145px; padding: 45px 17px 17px; border: 1px solid #dfe7f1; border-radius: 13px; background: #f9fbfe; counter-increment: step; }
.lc-request-step::before { position: absolute; top: 15px; left: 17px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; color: #356dff; background: #eaf0ff; content: counter(step); font-size: 9px; font-weight: 850; }
.lc-request-step strong { display: block; margin-bottom: 6px; color: #29435f; font-size: 10px; }
.lc-request-step p { margin: 0; font-size: 9px; line-height: 1.6; }
.lc-field-table { width: 100%; margin-top: 17px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #dce5ef; border-radius: 12px; }
.lc-field-table th, .lc-field-table td { padding: 12px 13px; border-bottom: 1px solid #e5ebf2; text-align: left; vertical-align: top; }
.lc-field-table tr:last-child td { border-bottom: 0; }
.lc-field-table th { color: #778aa1; background: #f7f9fc; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.lc-field-table td { color: #647991; font-size: 9px; line-height: 1.55; }
.lc-field-table code { color: #285bce; font: 750 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }

.lc-request-aside { position: sticky; top: 98px; display: grid; gap: 13px; }
.lc-request-aside__card { padding: 18px; border: 1px solid #dbe5f1; border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(20,48,84,.04); }
.lc-request-aside__card h2 { margin: 0 0 10px; color: #29425f; font-size: 11px; }
.lc-request-aside__card a { position: relative; display: block; margin: 2px -9px; padding: 8px 10px 8px 16px; border-radius: 8px; color: #6f829b; font-size: 9px; font-weight: 650; text-decoration: none; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.lc-request-aside__card a::before { position: absolute; top: 50%; left: 5px; width: 3px; height: 0; border-radius: 999px; content: ""; background: #356dff; transform: translateY(-50%); transition: height .18s ease; }
.lc-request-aside__card a:hover { color: #356dff; background: #f4f7ff; }
.lc-request-aside__card a.is-active { color: #194fbf; background: #eaf0ff; font-weight: 800; transform: translateX(2px); }
.lc-request-aside__card a.is-active::before { height: 20px; }
.lc-request-aside__card code { display: block; padding: 12px; overflow-wrap: anywhere; border-radius: 9px; color: #85a7ff; background: #102b4d; font: 650 8px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }

.lc-request-code.lc-code-lab { margin: 0; }
.lc-request-code .lc-code-lab__header { align-items: center; }
.lc-request-code .lc-code-lab__header p { max-width: 760px; }

.lc-live-console__security { margin: 14px 0 18px; padding: 11px 13px; border: 1px solid #cfe2db; border-radius: 10px; color: #27654f; background: #eff9f5; font-size: 12px; font-weight: 700; line-height: 1.55; }
.lc-live-console__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.lc-live-field { display: grid; gap: 7px; color: #526a85; font-size: 12px; font-weight: 750; }
.lc-live-field input, .lc-live-field select { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #ccd9e8; border-radius: 9px; color: #1f3b59; background: #fff; font: 600 13px/1 inherit; box-sizing: border-box; }
.lc-live-field input[type="file"] { padding: 9px 10px; }
.lc-live-field input:focus, .lc-live-field select:focus { border-color: #6f96ff; outline: 0; box-shadow: 0 0 0 3px rgba(53,109,255,.12); }
.lc-live-field--checkbox { display: flex; align-items: flex-start; gap: 9px; grid-column: 1 / -1; padding: 12px; border: 1px solid #f0c8cf; border-radius: 9px; color: #863a48; background: #fff6f7; }
.lc-live-field--checkbox input { flex: 0 0 auto; width: 17px; height: 17px; min-height: 0; margin: 0; }
.lc-live-console__no-fields { grid-column: 1 / -1; margin: 0; padding: 14px; border: 1px dashed #cedbea; border-radius: 10px; background: #f8fafd; }
.lc-live-console__actions { display: flex; align-items: center; gap: 13px; margin-top: 16px; }
.lc-live-console__actions button { min-height: 42px; padding: 0 17px; border: 1px solid #356dff; border-radius: 9px; color: #fff; background: #356dff; font: 800 12px/1 inherit; cursor: pointer; box-shadow: 0 8px 20px rgba(53,109,255,.23); }
.lc-live-console__actions button:hover { background: #2859d7; }
.lc-live-console__actions button:disabled { cursor: wait; opacity: .64; }
.lc-live-console__actions span { color: #8a5a24; font-size: 11px; font-weight: 650; line-height: 1.5; }
.lc-live-response { margin-top: 18px; overflow: hidden; border: 1px solid #d4dfec; border-radius: 12px; background: #0b213d; }
.lc-live-response.is-success { border-color: #8cd2b8; }
.lc-live-response.is-error { border-color: #ef9cab; }
.lc-live-response__bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 46px; padding: 0 15px; border-bottom: 1px solid rgba(192,211,234,.16); color: #d4e3f4; background: #102b4d; font-size: 11px; }
.lc-live-response.is-success .lc-live-response__bar strong { color: #79dfb8; }
.lc-live-response.is-error .lc-live-response__bar strong { color: #ff9eaf; }
.lc-live-response__bar a { padding: 7px 10px; border-radius: 7px; color: #fff; background: #356dff; font-size: 10px; font-weight: 750; text-decoration: none; }
.lc-live-response pre { min-height: 150px; max-height: 520px; margin: 0; padding: 18px; overflow: auto; color: #d9e7f7; background: transparent; font: 11px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

.lc-request-faq { display: grid; gap: 9px; margin-top: 17px; }
.lc-request-faq details { overflow: hidden; border: 1px solid #dce5ef; border-radius: 11px; background: #fbfcfe; }
.lc-request-faq summary { position: relative; padding: 15px 42px 15px 16px; color: #29425f; font-size: 10px; font-weight: 780; cursor: pointer; list-style: none; }
.lc-request-faq summary::-webkit-details-marker { display: none; }
.lc-request-faq summary::after { position: absolute; top: 50%; right: 15px; color: #356dff; content: "+"; font-size: 15px; transform: translateY(-50%); }
.lc-request-faq details[open] summary::after { content: "−"; }
.lc-request-faq details p { margin: 0; padding: 0 16px 16px; font-size: 9px; }
.lc-request-pagination { display: flex; justify-content: space-between; gap: 14px; margin-top: 20px; }
.lc-request-pagination a { display: grid; min-width: 0; padding: 13px 15px; border: 1px solid #d8e3f0; border-radius: 11px; color: #375470; background: #fff; font-size: 9px; font-weight: 750; text-decoration: none; }
.lc-request-pagination a:last-child { margin-left: auto; text-align: right; }
.lc-request-pagination small { margin-bottom: 4px; color: #9aa8ba; font-size: 7px; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .lc-docs-shell { grid-template-columns: 215px minmax(0, 1fr); }
  .lc-request-main { padding-inline: 28px; }
  .lc-request-grid { grid-template-columns: 1fr; }
  .lc-request-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .lc-dev-page .lc-api-header { position: relative; }
  .lc-docs-shell { display: block; }
  .lc-docs-sidebar { position: relative; top: auto; height: auto; padding: 14px 20px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #dbe4ef; }
  .lc-docs-sidebar__home, .lc-docs-sidebar h2 { display: none; }
  .lc-docs-sidebar__groups { display: flex; gap: 8px; width: max-content; }
  .lc-docs-sidebar section { margin: 0; }
  .lc-docs-sidebar nav { display: flex; gap: 5px; }
  .lc-docs-sidebar nav a { grid-template-columns: auto auto; min-height: 34px; white-space: nowrap; }
  .lc-request-access { grid-template-columns: 1fr; }
  .lc-live-console__fields { grid-template-columns: 1fr; }
  .lc-request-steps { grid-template-columns: 1fr; }
  .lc-request-step { min-height: 0; }
}

@media (max-width: 560px) {
  .lc-request-main { padding: 25px 18px 50px; }
  .lc-request-hero { padding: 29px 22px; }
  .lc-request-hero h1 { font-size: 36px; }
  .lc-request-section { padding: 23px 19px; }
  .lc-field-table thead { display: none; }
  .lc-field-table, .lc-field-table tbody, .lc-field-table tr, .lc-field-table td { display: block; width: 100%; box-sizing: border-box; }
  .lc-field-table tr { padding: 10px 0; border-bottom: 1px solid #e5ebf2; }
  .lc-field-table td { padding: 4px 12px; border: 0; }
  .lc-request-aside { grid-template-columns: 1fr; }
  .lc-live-console__actions { align-items: flex-start; flex-direction: column; }
}

/* Larger documentation typography; code samples retain their existing size. */
.lc-docs-sidebar__home { font-size: 12px; }
.lc-docs-sidebar h2 { font-size: 10px; }
.lc-docs-sidebar nav a { font-size: 12px; }
.lc-docs-sidebar nav a code { font-size: 9px; }
.lc-request-breadcrumbs { font-size: 11px; }
.lc-request-hero__meta code { font-size: 12px; }
.lc-request-hero p { font-size: 16px; }
.lc-request-hero__chips span { font-size: 10px; }
.lc-request-access__intro p { font-size: 13px; }
.lc-request-section__eyebrow { font-size: 10px; }
.lc-request-section p, .lc-request-section li { font-size: 14px; }
.lc-request-section h3 { font-size: 16px; }
.lc-request-step strong { font-size: 13px; }
.lc-request-step p { font-size: 12px; }
.lc-field-table th { font-size: 10px; }
.lc-field-table td, .lc-field-table code { font-size: 12px; }
.lc-request-aside__card h2 { font-size: 13px; }
.lc-request-aside__card a { font-size: 12px; }
.lc-request-aside__card code { font-size: 10px; }
.lc-request-faq summary { font-size: 14px; }
.lc-request-faq details p { font-size: 13px; }
.lc-request-pagination a { font-size: 12px; }
.lc-request-pagination small { font-size: 9px; }
