/* Legal pages: one reading column on the Paper Desk, with a section list beside it on wide screens. */
/* The paper palette is pinned here because this page loads neither sales.css nor account.css, and a dark system theme would otherwise turn the ink pale on cream. */
.legal-page{color-scheme:light;--paper:#fbf8ef;--card:#fffdf7;--rule:#efe9d9;--yellow:#f6d55c;--canvas:var(--paper);--surface:var(--card);--ink:#262733;--muted:#565668;--line:#e3dccb;--accent:#6b4de6;--accent-hover:#5636c1;--accent-soft:#ece6ff;--focus:#6b4de6;--control:10px;background:var(--paper) repeating-linear-gradient(to bottom,transparent 0 31px,var(--rule) 31px 32px);color:var(--ink);overflow-wrap:anywhere}
.legal-shell{max-width:1080px;padding-block:44px 80px}
.legal-kicker{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
.legal-title h1{margin:0 0 10px;font-size:clamp(30px,5vw,44px);line-height:1.2;letter-spacing:-.02em}
.legal-date{margin:0;color:var(--muted);font-size:14px}
.legal-summary{margin:30px 0 36px;padding:22px 26px;background:#fff;border:1.5px solid var(--ink);border-radius:16px;box-shadow:5px 5px 0 var(--ink)}
.legal-summary h2{margin:0 0 10px;font-size:19px}
.legal-summary ul{margin:0;padding-left:20px}.legal-summary li{margin:8px 0}
.legal-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:44px;align-items:start}
.legal-toc{position:sticky;top:96px;display:flex;flex-direction:column;align-items:stretch;gap:2px;font-size:14px;text-align:left}
.legal-toc a{padding:6px 10px;border-radius:8px;color:var(--ink);text-decoration:none}
.legal-toc a:hover,.legal-toc a:focus-visible{background:#fff;outline:1.5px solid var(--ink)}
.legal-body{max-width:70ch}
.legal-body section{scroll-margin-top:96px;padding-bottom:10px}
.legal-body h2{margin:34px 0 10px;font-size:22px;line-height:1.35}
.legal-body section:first-child h2{margin-top:0}
.legal-body h3{margin:22px 0 4px;font-size:16px}
.legal-body p{margin:8px 0}.legal-body ul{margin:8px 0;padding-left:22px}.legal-body li{margin:6px 0}
.legal-body a{color:inherit;text-underline-offset:3px}
.legal-table{margin:14px 0;border:1.5px solid var(--ink);border-radius:12px;overflow:hidden;background:#fff}
.legal-table [role="row"]{display:grid;grid-template-columns:130px 190px minmax(0,1fr);gap:14px;padding:11px 16px;border-top:1px solid var(--line);font-size:14px;line-height:1.6}
.legal-table [role="row"]:first-child{border-top:0;background:#f3efe2;font-weight:700}
.site-footer a+a{margin-left:18px}
@media(max-width:900px){.legal-layout{grid-template-columns:1fr;gap:24px}.legal-toc{position:static;flex-direction:row;flex-wrap:wrap;gap:6px}.legal-toc a{border:1px solid var(--line);background:#fff}}
@media(max-width:600px){.legal-table [role="row"]{grid-template-columns:1fr;gap:2px}.legal-table [role="row"]:first-child{display:none}.legal-table [role="cell"]:first-child{font-weight:700}.legal-summary{padding:18px}}
/* How-to guide: numbered steps on the same Paper Desk, each with an optional dashboard screenshot. */
.guide-steps{margin:8px 0 0;padding-left:22px}.guide-steps li{margin:8px 0}
.guide-shot{margin:16px 0 8px;padding:10px;background:#fff;border:1.5px solid var(--ink);border-radius:14px}
.guide-shot img{width:100%;height:auto;border-radius:8px}
.guide-shot figcaption{margin-top:8px;font-size:13px;color:var(--muted)}
.guide-note{margin:14px 0;padding:12px 16px;background:var(--accent-soft);border-radius:12px;font-size:15px}
.guide-actions{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
.legal-body .guide-actions .button{color:#fdfdfc;text-decoration:none}
.guide-shot.narrow{max-width:400px}.guide-shot.tall{max-width:560px}
/* Guide parts: each part opens with a numbered kicker and a ruled heading; topics inside read as h3. */
.guide-part{scroll-margin-top:96px;margin-top:56px;padding-top:28px;border-top:2px solid var(--ink)}
.guide-part:first-child{margin-top:0;padding-top:0;border-top:0}
.part-kicker{margin:0;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--accent)}
.legal-body .guide-part>h2{margin:2px 0 6px;font-size:28px}
.legal-body .part-lead{margin:0 0 8px;color:var(--muted)}
.legal-body .guide-part section{padding-top:18px}
.legal-body .guide-part section h3{margin:10px 0 6px;font-size:20px;line-height:1.4}
/* Guide reading aids: a plain page behind the screenshots, a contents list that fits the window and follows the reader, part-to-part links, and a full-size view of any screenshot. */
.legal-page.guide-page{background:var(--paper)}
.guide-toc-box{position:sticky;top:96px}
.guide-toc-box>summary{display:none}
.guide-toc-box .legal-toc{position:static;max-height:calc(100vh - 120px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
.guide-toc a.toc-part{margin:14px 0 2px;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
.guide-toc a.toc-part:first-child{margin-top:0}
.guide-toc a[aria-current="true"]{background:var(--accent-soft);color:var(--accent-hover);font-weight:700}
.guide-toc a.toc-part[aria-current="true"]{background:none;color:var(--accent)}
.guide-desktop-note{display:none;margin:4px 0 0;font-size:14px;color:var(--muted)}
.part-next{display:inline-flex;margin-top:22px;padding:10px 16px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;font-weight:700;text-decoration:none!important}
.part-next:hover,.part-next:focus-visible{background:var(--yellow)}
.guide-shot img{cursor:zoom-in}
.guide-top{position:fixed;right:20px;bottom:20px;z-index:20;padding:10px 16px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font-weight:700;text-decoration:none;box-shadow:3px 3px 0 var(--ink)}
.guide-top[hidden]{display:none}
.guide-zoom{width:min(1400px,96vw);max-width:none;max-height:94vh;padding:0;border:1.5px solid var(--ink);border-radius:14px;background:#fff;overflow:auto}
.guide-zoom::backdrop{background:rgba(20,20,30,.72)}
.guide-zoom img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto;cursor:zoom-out}
.guide-zoom button{position:sticky;top:10px;float:right;margin:10px;padding:8px 14px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:900px){
  .guide-toc-box{position:static;border:1.5px solid var(--ink);border-radius:14px;background:#fff}
  .guide-toc-box>summary{display:block;padding:12px 16px;font-weight:700;cursor:pointer}
  .guide-toc-box .legal-toc{max-height:none;padding:0 12px 12px}
  .guide-toc a.toc-part{flex-basis:100%;margin:8px 0 0;padding:0;border:0;background:none}
  .guide-actions [data-store-link]{display:none}
  .guide-desktop-note{display:block}
}
