:root {
  --header: #f3f2ed;
  --ink: #1a1a1a;
  --soft: #5f5f5c;
  --line: #e2e2df;
  --link: #0098d0;
  --white: #fff;
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; padding: 9px 13px; color: white; background: #111; border-radius: 5px; transition: top 150ms ease; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid #1b7f9f; outline-offset: 3px; }

.support-header { height: 209px; background: var(--header); }
.header-inner { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding-top: 25px; }
.header-row { height: 43px; display: flex; align-items: center; justify-content: space-between; }
.support-logo { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); text-decoration: none; }
.support-logo span { font: 700 30px/1 var(--serif); letter-spacing: -1.3px; }
.claude-mark { width: 26px; height: 26px; flex: 0 0 auto; color: #ef744f; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.language-button { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; padding: 0; background: transparent; border: 0; }
.language-button > svg:first-child { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-button b { font: 600 14px var(--sans); }
.language-button .chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-button { width: 44px; height: 44px; display: none; place-items: center; padding: 9px; background: transparent; border: 0; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 3px 0; background: var(--ink); border-radius: 2px; }
.mobile-menu { position: absolute; z-index: 20; right: 20px; top: 70px; width: 180px; padding: 8px; background: white; border: 1px solid #dddcd7; border-radius: 8px; box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.mobile-menu a, .mobile-menu button { width: 100%; min-height: 44px; display: flex; align-items: center; padding: 0 12px; color: var(--ink); background: transparent; border: 0; border-radius: 5px; text-decoration: none; }
.mobile-menu a:hover, .mobile-menu button:hover { background: #f3f2ed; }
.search-box { height: 64px; display: flex; align-items: center; gap: 12px; margin-top: 42px; padding: 0 19px; background: rgba(255,255,255,.45); border: 1px solid #deddd8; border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.search-box svg { width: 25px; height: 25px; flex: 0 0 auto; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.search-box input { width: 100%; height: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font: 500 18px var(--sans); }
.search-box input::placeholder { color: var(--ink); opacity: 1; }
.search-box:focus-within { background: rgba(255,255,255,.72); border-color: #b9b8b2; box-shadow: 0 0 0 2px rgba(0,0,0,.04); }

.content-shell { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 92px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; color: #333331; font-size: 14px; line-height: 22px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs > span:last-child { color: #5c5c59; }
.article-layout { display: grid; grid-template-columns: 640px 244px; gap: 76px; }
.article-column h1 { margin: 35px 0 18px; font: 700 32px/40px var(--serif); letter-spacing: -.45px; }
.article-column > time { display: block; color: #565654; font-size: 14px; }
.mobile-toc { display: none; }
article { margin-top: 40px; }
article p { margin: 0 0 20px; }
article h2 { margin: 21px 0 13px; font: 700 24px/31px var(--serif); letter-spacing: -.2px; }
article h3 { margin: 24px 0 12px; font: 700 20px/27px var(--sans); }
article ul, article ol { margin: 8px 0 20px; padding-left: 29px; }
article li { padding-left: 2px; }
article li + li { margin-top: 1px; }
article li > ul { margin-top: 2px; margin-bottom: 5px; }
article a { color: var(--link); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
article code { padding: 1px 4px; background: #f2f2f0; border-radius: 3px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .9em; }
article hr { height: 3px; margin: 40px 0 38px; background: #e4e4e2; border: 0; }
.related { margin-top: 34px; }
.related > strong { display: block; margin-bottom: 12px; }
.related ul { padding-left: 20px; }
.desktop-toc { padding-top: 76px; }
.desktop-toc nav { position: sticky; top: 24px; display: grid; padding-left: 28px; border-left: 2px solid #e1e1de; }
.desktop-toc a { position: relative; padding: 7px 0; color: #626260; text-decoration: none; font-size: 14px; line-height: 1.55; }
.desktop-toc a:hover { color: var(--ink); }
.desktop-toc a.active { color: var(--ink); }
.desktop-toc a.active::before { content: ""; position: absolute; left: -30px; top: 0; width: 2px; height: 35px; background: #747471; }
.feedback { margin-top: 50px; padding: 33px 0; text-align: center; border-top: 1px solid var(--line); }
.feedback p { margin: 0 0 14px; font-weight: 600; }
.feedback div { display: flex; justify-content: center; gap: 10px; }
.feedback button { width: 44px; height: 44px; background: #f5f4f1; border: 1px solid #e2e1dc; border-radius: 50%; font-size: 20px; transition: transform 150ms ease, background 150ms ease; }
.feedback button:hover { background: #ebeae5; transform: translateY(-1px); }
.footer { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 70px; border-top: 1px solid var(--line); }
.footer .support-logo span { font-size: 23px; }
.footer .claude-mark { width: 21px; height: 21px; }
.footer p { margin: 18px 0 0; color: #777773; font-size: 12px; }
.footer p a { color: inherit; }
.search-toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 14px; color: white; background: #1b1b1a; border-radius: 6px; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.18); }

@media (max-width: 900px) {
  .support-header { height: 209px; }
  .header-inner { padding-top: 25px; }
  .language-button { display: none; }
  .menu-button { display: block; }
  .search-box { margin-top: 42px; }
  .content-shell { padding-top: 36px; }
  .article-layout { display: block; }
  .desktop-toc { display: none; }
  .article-column h1 { margin-top: 24px; }
  .mobile-toc { display: block; margin: 23px 0 24px; }
  .mobile-toc summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; background: white; border: 1px solid #dededb; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,.05); cursor: pointer; list-style: none; }
  .mobile-toc summary::-webkit-details-marker { display: none; }
  .mobile-toc summary::after { content: "⌄"; font-size: 18px; font-weight: 700; transform: translateY(-2px); }
  .mobile-toc[open] summary::after { transform: rotate(180deg) translateY(-1px); }
  .mobile-toc nav { display: grid; padding: 8px; border: 1px solid #dededb; border-top: 0; border-radius: 0 0 9px 9px; }
  .mobile-toc a { min-height: 44px; display: flex; align-items: center; padding: 0 8px; color: #4a4a48; text-decoration: none; font-size: 14px; }
  article { margin-top: 0; }
}

@media (max-width: 560px) {
  body { font-size: 17px; line-height: 1.48; }
  .support-logo span { font-size: 29px; }
  .support-logo { gap: 4px; }
  .claude-mark { width: 25px; height: 25px; }
  .search-box { padding: 0 18px; }
  .search-box input { font-size: 18px; }
  .breadcrumbs { font-size: 14px; line-height: 21px; }
  .article-column h1 { margin-bottom: 24px; font-size: 32px; line-height: 1.25; letter-spacing: -.5px; }
  .article-column > time { font-size: 14px; }
  article p { margin-bottom: 21px; }
  article h2 { margin-top: 23px; font-size: 24px; line-height: 1.3; }
  article h3 { font-size: 20px; line-height: 1.35; }
  article ul, article ol { padding-left: 27px; }
  article hr { margin: 36px 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
