.oauth-docs{max-width:1200px;padding-top:42px}.oauth-hero{display:flex;align-items:center;gap:72px;padding:22px 0 54px;border-bottom:1px solid var(--line);margin-bottom:48px}.oauth-hero>div:first-child{flex:1;min-width:0}.oauth-hero h1{font-size:clamp(36px,4.8vw,58px);line-height:1.1;letter-spacing:-.045em;margin:18px 0 22px}.oauth-hero p{max-width:720px;color:var(--muted);font-size:18px;line-height:1.75}.oauth-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.oauth-protocols{display:flex;gap:10px 20px;flex-wrap:wrap;color:var(--muted);font:12px/1.6 ui-monospace,Consolas,monospace;margin-top:25px}.oauth-protocols span{display:flex;align-items:center;gap:8px}.oauth-protocols span:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent)}.oauth-hero-art{flex:none;display:grid;place-items:center;width:220px;height:220px;border:1px solid var(--line);border-radius:48px;background:var(--accent-soft)}.oauth-hero-art img{width:152px;height:152px;filter:drop-shadow(0 14px 18px #1241a225)}
.oauth-layout{display:grid;grid-template-columns:222px minmax(0,1fr);gap:58px;align-items:start}.oauth-layout aside{position:sticky;top:28px}.oauth-layout nav{display:grid;gap:5px}.oauth-layout nav>strong{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0 12px 14px}.oauth-layout nav>a{display:flex;align-items:baseline;gap:12px;padding:11px 12px;border-radius:10px;font-size:13px;line-height:1.5;color:var(--muted)}.oauth-layout nav>a:hover,.oauth-layout nav>a[aria-current]{color:var(--accent);background:var(--accent-soft)}.oauth-layout nav>a span{font:11px ui-monospace,Consolas,monospace;opacity:.7;flex:none}.oauth-back{display:inline-block;color:var(--accent);font-size:13px;margin:25px 12px}.oauth-layout article{min-width:0}.oauth-layout section{padding-bottom:42px;margin-bottom:42px;border-bottom:1px solid var(--line)}.oauth-layout section:last-child{border:0;margin:0;padding:0}.oauth-layout h2{display:flex;align-items:baseline;gap:13px;font-size:26px;line-height:1.3;scroll-margin-top:28px;margin:0 0 22px}.oauth-step{font-size:13px;color:var(--accent);letter-spacing:0;flex:none}.oauth-layout h3{font-size:17px;line-height:1.4;margin:0 0 12px}.oauth-layout p,.oauth-layout li{font-size:15px;line-height:1.85;color:var(--muted);overflow-wrap:anywhere}.oauth-layout p{margin:0 0 22px}.oauth-layout p:last-child{margin-bottom:0}.oauth-layout a{color:var(--accent)}.oauth-layout article a:hover{text-decoration:underline;text-underline-offset:3px}.oauth-layout code{font:12.5px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text);overflow-wrap:anywhere}.oauth-layout p code,.oauth-checklist code{border:1px solid var(--line);background:var(--panel);padding:1px 4px;border-radius:4px}
.oauth-client-types{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.oauth-client-types>div{padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--panel);min-width:0}.oauth-client-types p{font-size:14px;line-height:1.75}.oauth-client-tag{display:inline-block;font:11px/1.5 ui-monospace,Consolas,monospace;color:var(--accent);background:var(--accent-soft);padding:4px 8px;border-radius:6px;margin-bottom:14px}.oauth-note{padding:18px 22px;border-left:3px solid var(--accent);border-radius:0 12px 12px 0;background:var(--accent-soft);margin:24px 0}.oauth-note p{color:var(--text);font-size:14px}.oauth-note p code{background:transparent}.oauth-table{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:24px 0;background:var(--panel)}.oauth-table table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:14px}.oauth-table th,.oauth-table td{text-align:left;vertical-align:top;padding:15px 18px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.oauth-table tr:last-child>*{border-bottom:0}.oauth-table thead{background:var(--accent-soft);font-size:12px;color:var(--muted)}.oauth-table thead th{font-weight:650}.oauth-table th:first-child{width:29%}.oauth-table tbody th{font-weight:550;color:var(--text)}.oauth-table td{color:var(--muted)}.oauth-table td a{display:inline}
.oauth-example{margin:24px 0;border:1px solid var(--line);background:var(--panel);border-radius:14px;overflow:hidden}.oauth-example-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.oauth-example-heading>span{min-width:0}.oauth-example button{display:inline-flex;align-items:center;gap:7px;min-height:34px;background:var(--accent-soft);color:var(--accent);border:0;border-radius:7px;padding:7px 10px;font-size:12px;flex:none}.oauth-example button[hidden]{display:none}.oauth-example button:hover{filter:brightness(.96)}.oauth-example button svg{width:15px;height:15px}.oauth-example pre{padding:22px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.oauth-example pre code{font-size:12px;line-height:1.95}.oauth-checklist{padding-left:22px;margin:0 0 26px}.oauth-checklist li{padding:0 0 18px 10px}.oauth-checklist li:last-child{padding-bottom:0}.oauth-checklist li::marker{font-weight:700;color:var(--accent)}.oauth-references{display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:14px;margin-top:18px}
.oauth-final{margin-top:58px;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.oauth-final h2{font-size:24px;line-height:1.3;margin-top:8px}.oauth-final .button{flex:none}.oauth-copy-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--panel);border-radius:12px;padding:12px 20px;max-width:calc(100% - 32px);box-shadow:0 8px 28px #0002;z-index:50;font-size:13px;pointer-events:none}.oauth-copy-status:empty{padding:0;box-shadow:none}.oauth-skip{position:fixed;top:12px;left:12px;z-index:60;transform:translateY(-200%);background:var(--panel);color:var(--accent);border:1px solid var(--accent);border-radius:8px;padding:10px 18px}.oauth-skip:focus{transform:none}
@media(max-width:1000px){.oauth-hero{gap:32px}.oauth-hero-art{width:160px;height:160px;border-radius:32px}.oauth-hero-art img{width:112px;height:112px}.oauth-layout{grid-template-columns:185px minmax(0,1fr);gap:32px}.oauth-client-types{grid-template-columns:1fr}.oauth-layout h2{font-size:24px}}
@media(max-width:760px){.oauth-docs{padding:30px 24px 40px}.oauth-hero{padding:10px 0 32px;margin-bottom:28px}.oauth-hero-art{display:none}.oauth-hero p{font-size:16px}.oauth-layout{grid-template-columns:minmax(0,1fr);gap:32px}.oauth-layout aside{position:static}.oauth-layout nav{grid-template-columns:1fr 1fr;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.oauth-layout nav>strong{grid-column:1/-1;padding-bottom:5px}.oauth-layout nav>a{padding:8px 10px}.oauth-back{margin:16px 0 0}.oauth-client-types{grid-template-columns:1fr 1fr}.oauth-final{padding:24px;align-items:flex-start;flex-direction:column}.oauth-layout section{padding-bottom:32px;margin-bottom:32px}}
@media(max-width:480px){.oauth-docs{padding-left:20px;padding-right:20px}.oauth-layout nav{grid-template-columns:1fr}.oauth-client-types{grid-template-columns:1fr}.oauth-layout h2{font-size:23px;gap:10px}.oauth-hero-actions{gap:10px}.oauth-hero-actions .button{padding:10px 16px}.oauth-table th,.oauth-table td{padding:12px 10px;font-size:12px}.oauth-table code{font-size:11px}.oauth-table th:first-child{width:31%}.oauth-example-heading{padding:10px 12px}.oauth-example pre{padding:16px 12px}.oauth-example pre code{font-size:11px}.oauth-note{padding:16px}.oauth-checklist{padding-left:18px}.oauth-checklist li{padding-left:5px}.oauth-hero h1{font-size:36px}}
