.content-section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 64px; scroll-margin-top: 24px; }
.content-section [hidden] { display: none !important; }
.content-tabs { display: flex; justify-content: center; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.content-tab { border: 0; border-bottom: 3px solid transparent; padding: 14px 22px 17px; background: transparent; color: var(--muted); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.content-tab[aria-selected="true"] { border-color: var(--primary); color: var(--primary-dark); }
.content-tab:hover { color: var(--primary-dark); background: #edf6f4; }
.content-section :focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.content-section .product-overview { width: 100%; padding: 0; }
.tutorial-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 44px 0 32px; }
.tutorial-eyebrow { color: var(--primary-dark); font-size: 12px; font-weight: 700; margin: 0 0 9px; }
.tutorial-heading h2 { font-size: 28px; line-height: 1.3; margin: 0; }
.guide-count { font-size: 13px; color: var(--muted); padding-bottom: 3px; }
.guide-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr) 128px; gap: 28px; align-items: start; }
.guide-sidebar { min-width: 0; position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 2px 12px 16px 0; scrollbar-width: thin; }
.search-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; font-weight: 700; }
#guide-search { box-sizing: border-box; width: 100%; min-width: 0; height: 40px; border: 1px solid #cfd8df; border-radius: 6px; padding: 0 10px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.search-status { min-height: 27px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.guide-overview-link { display: block; padding: 10px 12px; margin-bottom: 12px; border-radius: 5px; font-weight: 700; font-size: 13px; color: var(--ink); text-decoration: none; }
.guide-group { border-top: 1px solid #e8edf1; padding: 5px 0; }
.guide-group summary { cursor: pointer; padding: 10px 2px; color: #354653; font-size: 13px; font-weight: 700; }
.guide-group summary span { float: right; color: #85949e; font-size: 12px; font-weight: 400; padding-right: 3px; }
.guide-node-link { display: block; padding: 8px 10px 8px 19px; border-left: 2px solid transparent; color: #5a6875; line-height: 1.5; text-decoration: none; font-size: 13px; overflow-wrap: anywhere; }
.guide-node-link:hover, .guide-overview-link:hover { color: var(--primary-dark); background: #eef4f3; }
.guide-node-link[aria-current="page"], .guide-overview-link[aria-current="page"] { color: var(--primary-dark); background: #e4f2ef; border-left-color: var(--primary); font-weight: 700; }
.guide-reading { min-width: 0; min-height: 560px; padding: 0 0 36px 26px; border-left: 1px solid var(--line); }
.guide-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 23px; font-size: 12px; color: #6f7e89; }
.guide-source { color: var(--primary-dark); text-decoration: none; }
.guide-source:hover { text-decoration: underline; }
.guide-status { color: var(--muted); line-height: 1.8; font-size: 14px; padding: 36px 0; }
.guide-retry { padding: 9px 16px; color: var(--primary-dark); background: #e4f2ef; border: 1px solid #a9cec7; border-radius: 6px; font: inherit; font-size: 13px; cursor: pointer; }
.guide-article { color: #354653; font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.guide-article h1 { color: #17202a; font-size: 28px; line-height: 1.4; max-width: none; margin: 0 0 28px; }
.guide-article h2 { color: #17202a; font-size: 19px; line-height: 1.5; margin: 34px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.guide-article h3 { font-size: 16px; margin: 26px 0 12px; }
.guide-article [id] { scroll-margin-top: 28px; }
.guide-article p { margin: 12px 0; }
.guide-article strong { color: #263b45; font-weight: 700; }
.guide-article a { color: var(--primary-dark); text-underline-offset: 3px; }
.guide-article ul, .guide-article ol { padding-left: 24px; }
.guide-article li { margin: 8px 0; }
.guide-article code { font-size: 12px; color: #934f30; background: #f2eeeb; padding: 2px 5px; border-radius: 3px; }
.guide-article pre { overflow: auto; background: #edf1f4; padding: 18px; border-radius: 6px; }
.guide-article pre code { padding: 0; background: transparent; }
.guide-article blockquote { border-left: 3px solid var(--primary); padding: 3px 16px; margin: 20px 0; background: #edf5f3; }
.guide-article img { display: block; max-width: 100%; height: auto; margin: 20px auto; }
.table-scroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 6px; }
.guide-article table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.75; text-align: left; }
.guide-article th { background: #eaf0f2; font-weight: 700; color: #324652; }
.guide-article th, .guide-article td { padding: 12px 13px; vertical-align: top; border-bottom: 1px solid #e4eaee; min-width: 86px; }
.guide-article th:first-child { width: 24%; }
.guide-article th:last-child { width: 26%; }
.guide-article tr:nth-child(even) td { background: #f1f6f7; }
.guide-article tr:last-child td { border-bottom: 0; }
.guide-toc { position: sticky; top: 30px; padding-left: 16px; border-left: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.toc-label { display: block; color: #344956; font-weight: 700; margin: 0 0 16px; }
.guide-toc a { display: block; color: #73838c; text-decoration: none; margin: 10px 0; overflow-wrap: anywhere; }
.guide-toc a:hover { color: var(--primary-dark); }
.guide-toc a[data-level="3"] { padding-left: 10px; }
.guide-pagination { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--line); }
.guide-pagination a { flex: 1; min-width: 0; color: var(--primary-dark); text-decoration: none; line-height: 1.6; overflow-wrap: anywhere; font-size: 13px; }
.guide-pagination a:last-child { text-align: right; }
.guide-pagination span { display: block; color: #7c8c96; font-size: 11px; margin-bottom: 5px; }
.mobile-guide-bar { display: none; }
@media (max-width: 1100px) { .guide-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; } .guide-toc { display: none; } }
@media (max-width: 700px) {
  .content-section { width: calc(100% - 32px); padding-bottom: 40px; }
  .content-tabs { gap: 20px; margin-bottom: 26px; }
  .content-tab { min-width: 110px; padding: 13px 14px; font-size: 15px; }
  .tutorial-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin: 28px 0 22px; }
  .tutorial-heading h2 { font-size: 25px; }
  .guide-layout { display: block; }
  .mobile-guide-bar { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 22px; }
  #guide-menu-toggle { color: var(--primary-dark); background: transparent; border: 0; font: inherit; font-size: 14px; font-weight: 700; padding: 3px 0; cursor: pointer; }
  .guide-sidebar { display: none; position: static; max-height: 65dvh; padding-right: 8px; margin-bottom: 28px; }
  .guide-sidebar.is-open { display: block; }
  .guide-reading { padding: 0; border-left: 0; min-height: 420px; }
  .guide-article { font-size: 14px; }
  .guide-article h1 { font-size: 25px; }
  .guide-article th, .guide-article td { padding: 10px; }
  .guide-toolbar { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .content-section * { scroll-behavior: auto; } }

#home-panel .poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.poster-column { margin: 0; min-width: 0; }
.poster-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin-bottom: 14px; }
.poster-heading h2 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.poster-tool { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #dce4e9; border-radius: 6px; background: #fff; color: #536977; cursor: pointer; }
.poster-tool:hover { color: #06625d; background: #eaf5f2; border-color: #a9cfc7; }
.poster-tool svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.poster-image-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: zoom-in; text-align: left; }
.poster-image-button img { display: block; width: 100%; height: auto; border: 1px solid #183e59; border-radius: 8px; }
.poster-image-button:hover { outline: 2px solid #3b9994; outline-offset: 3px; }
.poster-dialog { width: min(1280px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #dce4e9; border-radius: 8px; background: #f8fafc; color: #17202a; overflow: hidden; }
.poster-dialog::backdrop { background: rgb(12 20 28 / 78%); }
.poster-dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-bottom: 1px solid #dce4e9; }
.poster-dialog-toolbar h2 { font-size: 18px; line-height: 1.4; margin: 0; letter-spacing: 0; }
.poster-dialog-tools { display: flex; gap: 8px; }
.poster-dialog-body { max-height: calc(100dvh - 110px); overflow: auto; overscroll-behavior: contain; padding: 16px; }
.poster-dialog-body img { display: block; width: 100%; height: auto; margin: 0 auto; }
.poster-dialog.is-original .poster-dialog-body img { width: auto; max-width: none; margin: 0; }
body.poster-dialog-open { overflow: hidden; }
@media (max-width: 700px) {
  #home-panel .poster-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .poster-heading h2 { font-size: 18px; }
  .poster-heading { min-height: 44px; margin-bottom: 12px; }
  .poster-tool { width: 44px; height: 44px; flex-basis: 44px; }
  .poster-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 24px); }
  .poster-dialog-toolbar { padding: 0 10px; }
  .poster-dialog-body { padding: 8px; max-height: calc(100dvh - 86px); }
}
