/* Usage tutorial page */
.tutorial-page .tutorial-body{min-width:0}
.tutorial-body h2{margin-top:40px;scroll-margin-top:92px}
.tutorial-body h2:first-of-type{margin-top:28px}
.tutorial-body p,.tutorial-body li{line-height:1.78}
.tutorial-body section{min-width:0}
.tut-lead{font-size:17px;line-height:1.75;color:var(--ink-2);max-width:68ch}
.tut-fig{margin:24px 0;padding:14px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-soft)}
.tut-fig figcaption{margin-top:10px;font-size:12.5px;line-height:1.6;color:var(--muted)}
.tut-warn{margin:18px 0;padding:12px 14px;border-left:3px solid var(--danger);border-radius:0 var(--r-sm) var(--r-sm) 0;background:#fef2f2;color:#7f1d1d;font-size:14px;line-height:1.7}
.tut-note{margin:18px 0;padding:12px 14px;border-left:3px solid var(--brand);border-radius:0 var(--r-sm) var(--r-sm) 0;background:var(--brand-100);color:var(--ink-2);font-size:14px;line-height:1.7}
.tut-warn p,.tut-note p,.tut-done p{margin:0}
.tut-warn-t,.tut-note-t,.tut-done-t,.tut-callout-t{font-weight:650}
.tut-warn-t,.tut-note-t,.tut-callout-t{margin-bottom:4px!important}
.tut-strong{font-weight:650}
.tut-done-t{margin-bottom:6px!important}
.tut-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.tut-link{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.tut-link span{font-weight:650;color:var(--ink)}
.tut-link em{font-style:normal;font-size:12px;line-height:1.5;color:var(--muted)}
.tut-link:hover{border-color:var(--brand);box-shadow:var(--sh-2)}
.tut-list{margin:14px 0;padding-left:20px}
.tut-list li{margin:8px 0}
.tut-done{margin:26px 0 10px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);background:var(--grad-soft);line-height:1.7}
.tut-table-wrap{overflow:auto;margin:18px 0}
.tut-table-wrap .models{min-width:620px}

/* Browser mockup */
.shot{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:var(--sh-1)}
.shot-bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#f4f5f8;border-bottom:1px solid var(--line)}
.shot-bar span{width:9px;height:9px;border-radius:50%;background:#d7dae3}
.shot-bar span:nth-child(1){background:#f3b6b6}
.shot-bar span:nth-child(2){background:#f3d9a4}
.shot-bar span:nth-child(3){background:#b7dfc4}
.shot-bar i{margin-left:8px;font-style:normal;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shot-body{padding:16px}
.shot-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:13.5px}
.shot-line b{font-weight:650}
.shot-line em{font-style:normal;font-size:11.5px;color:var(--muted)}
.shot-key{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 12px;border-radius:8px;background:#101827;color:#dbeafe;font-family:var(--mono);font-size:12px;overflow:hidden}
.shot-key code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:none;color:inherit;padding:0}
.shot-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.shot-btn{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px;color:var(--ink-2);white-space:nowrap}
.shot-btn.is-primary{background:var(--brand);border-color:var(--brand);color:#fff}
.shot-key .shot-btn{border-color:transparent;color:#0f172a;background:#fff}
.shot-note{margin:12px 0 0;font-size:12px;color:var(--muted);line-height:1.6}
.shot-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line-2);font-size:12.5px}
.shot-row:last-of-type{border-bottom:0}
.shot-row>span{color:var(--muted)}
.shot-row code,.shot-pick{font-family:var(--mono);font-size:12px;background:#f4f5f8;color:var(--ink);padding:3px 7px;border-radius:6px}
.shot-pick{outline:2px solid rgba(91,75,255,.22)}
.shot-table{margin-top:6px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.shot-th,.shot-tr{display:grid;grid-template-columns:1fr 2fr .7fr .8fr;gap:8px;padding:8px 10px;font-size:11.5px}
.shot-th{background:#f4f5f8;color:var(--muted);font-weight:600}
.shot-tr{border-top:1px solid var(--line-2);color:var(--ink-2)}

/* Terminal */
.term{border-radius:12px;overflow:hidden;background:#0b1220;box-shadow:var(--sh-1)}
.term-bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#121b2e;border-bottom:1px solid #1e2a44}
.term-bar span{width:9px;height:9px;border-radius:50%;background:#334155}
.term-bar span:nth-child(1){background:#7f1d1d}
.term-bar span:nth-child(2){background:#78350f}
.term-bar span:nth-child(3){background:#14532d}
.term-bar i{margin-left:8px;font-style:normal;font-size:11.5px;color:#94a3b8}
.term-body{padding:14px 16px;font-family:var(--mono);font-size:12px;line-height:1.75;color:#cbd5e1;overflow:auto}
.term-body p{margin:0;white-space:pre-wrap;word-break:break-word}
.term-prompt{color:#22d3ee;margin-right:6px}
.term-ok{color:#86efac}
.term-note{margin-top:8px!important;color:#64748b}
@media (max-width:760px){
  .tut-links{grid-template-columns:1fr}
}
@media (max-width:640px){
  .shot-th,.shot-tr{grid-template-columns:1fr 1.6fr .7fr}
  .shot-th span:nth-child(4),.shot-tr span:nth-child(4){display:none}
  .tut-fig{padding:10px}
}
@media print{
  .doc-nav,[data-header],[data-footer],.copy-btn{display:none!important}
  .tut-fig{break-inside:avoid}
}
.quickstart{
  margin:0 0 40px;
  padding:26px;
  border:1px solid #dbeafe;
  border-radius:20px;
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
}
.quickstart .eyebrow{color:#2563eb;margin:0 0 8px}
.quickstart h2{margin:0 0 16px;font-size:clamp(24px,3vw,32px);letter-spacing:-.02em;color:var(--ink,#14121c)}
.quickstart ol{margin:0;padding-left:22px;color:var(--body,#5b5768);font-size:15px;line-height:1.8}
.quickstart li{margin:0 0 10px;padding-left:4px}
.quickstart li:last-child{margin-bottom:0}
.quickstart-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.quickstart-note{margin:16px 0 0;color:var(--muted,#8d8899);font-size:12.5px;line-height:1.7}
@media(max-width:620px){
  .quickstart{padding:18px;border-radius:16px}
  .quickstart ol{font-size:14px}
}

