/* Stitch-inspired shell. The article content still uses Fluid's Markdown styles. */
.stitch-site{font-size:17px;--st-bg:#fafbfc;--st-surface:#fff;--st-text:#0f172a;--st-muted:#64748b;--st-faint:#94a3b8;--st-border:#e2e8f0;--st-soft:#f1f5f9;--st-accent:#0369a1;box-sizing:border-box;min-height:100vh;padding-top:65px;display:flex;flex-direction:column;background:var(--st-bg)!important;color:var(--st-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans SC","PingFang SC",sans-serif;font-feature-settings:"cv02","cv03","cv04","cv11";text-rendering:optimizeLegibility}
.stitch-site *{box-sizing:border-box}
.stitch-site a{color:inherit}
.stitch-site a:hover{color:var(--st-accent)}
.stitch-container{width:min(100% - 32px,848px);margin-inline:auto}
.stitch-site #board{margin-top:0;padding-top:24px;padding-bottom:48px;border-radius:0;background:transparent;box-shadow:none}
.stitch-header{position:fixed;inset:0 0 auto;z-index:100;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--st-border)}
.stitch-header-inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.stitch-brand{display:flex;align-items:center;gap:10px;flex:none;text-decoration:none!important}
.stitch-brand-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#0f172a;color:#fff;font-size:16px;font-weight:700;box-shadow:0 1px 3px #0f172a24}
.stitch-brand-copy{display:flex;flex-direction:column;line-height:1.1}
.stitch-brand-copy strong{font-size:18px;letter-spacing:-.03em;color:var(--st-text)}
.stitch-brand-copy small{font:12px/1.4 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.08em;color:var(--st-faint);margin-top:2px}
.stitch-nav{display:flex;align-items:center;gap:4px;white-space:nowrap}
.stitch-nav a{padding:6px 12px;border-radius:6px;color:#475569;font-size:16px;font-weight:500}
.stitch-nav a:hover,.stitch-nav a.active{background:var(--st-soft);color:var(--st-text)}
.stitch-actions{display:flex;align-items:center;gap:10px}
.stitch-search,.stitch-icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--st-border);border-radius:8px;background:#f8fafc;color:var(--st-muted);cursor:pointer}
.stitch-search{justify-content:flex-start;gap:8px;width:180px;height:32px;padding:0 9px;font-size:14px;white-space:nowrap}
.stitch-search svg{width:15px;height:15px}
.stitch-search kbd{margin-left:auto;padding:0 4px;border:1px solid var(--st-border);border-radius:3px;background:var(--st-surface);font:12px ui-monospace,monospace;color:var(--st-faint)}
.stitch-icon-button{width:32px;height:32px}
.stitch-search:hover,.stitch-icon-button:hover{color:var(--st-text);background:var(--st-soft)}
.stitch-menu-button{display:none;flex-direction:column;gap:3px}
.stitch-menu-button span{width:14px;height:2px;background:currentColor;border-radius:2px}
.stitch-general{flex:1;padding-top:24px;padding-bottom:48px}
.stitch-filters{display:flex;align-items:start;gap:8px;margin-bottom:20px}
.stitch-filter-list{display:flex;align-items:center;gap:6px;overflow-x:auto;flex:1;scrollbar-width:none}
.stitch-filter-list::-webkit-scrollbar{display:none}
.stitch-filter-list a,.stitch-more summary{flex:none;white-space:nowrap;padding:5px 12px;border:1px solid var(--st-border);border-radius:999px;background:var(--st-surface);font-size:14px;line-height:1.3;color:#475569;cursor:pointer}
.stitch-filter-list a:hover,.stitch-more summary:hover{border-color:#cbd5e1;color:var(--st-text)}
.stitch-filter-list a.selected{background:#0f172a;border-color:#0f172a;color:#fff}
.stitch-more{position:relative;flex:none}.stitch-more summary{display:inline-flex;align-items:center;gap:4px;list-style:none}.stitch-more summary::-webkit-details-marker{display:none}.stitch-more summary svg{width:12px;height:12px;transition:transform .2s}.stitch-more[open] summary svg{transform:rotate(180deg)}
.stitch-more>div{position:absolute;right:0;top:34px;z-index:5;min-width:150px;max-height:260px;overflow:auto;padding:6px;border:1px solid var(--st-border);border-radius:10px;background:var(--st-surface);box-shadow:0 12px 30px #0f172a19}
.stitch-more>div a{display:flex;justify-content:space-between;gap:12px;padding:6px 9px;border-radius:5px;font-size:14px}.stitch-more>div a:hover{background:var(--st-soft)}.stitch-more small{color:var(--st-faint)}
.stitch-article-list{display:grid;gap:12px}
.stitch-card{position:relative;padding:16px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface);transition:border-color .2s,box-shadow .2s}
.stitch-card:hover{border-color:#cbd5e1;box-shadow:0 4px 14px #0f172a0a}
.stitch-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:var(--st-faint);font:14px ui-monospace,Menlo,Consolas,monospace}
.stitch-card-meta time{display:inline-flex;align-items:center;gap:5px}.stitch-card-meta svg{width:14px;height:14px}.stitch-dot{color:#cbd5e1}
.stitch-card-meta .stitch-category{padding:2px 6px;border:1px solid #dbeafe;border-radius:4px;background:#eff6ff;color:#1d4ed8;font:500 13px -apple-system,BlinkMacSystemFont,"Noto Sans SC",sans-serif}
.stitch-card:nth-child(3n+2) .stitch-category{background:#ecfdf5;border-color:#d1fae5;color:#047857}.stitch-card:nth-child(3n) .stitch-category{background:#fffbeb;border-color:#fde68a;color:#b45309}
.stitch-card h2{margin:8px 0 7px;font-size:19px;line-height:1.45;font-weight:500;letter-spacing:-.02em;color:var(--st-text)}
.stitch-reading .stitch-duplicate-heading{display:none}
.stitch-card h2 a:hover{color:#2563eb}.stitch-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;font-size:15px;line-height:1.7;color:var(--st-muted)}
.stitch-card-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:9px;color:var(--st-faint);font:14px ui-monospace,Menlo,Consolas,monospace}
.stitch-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;padding-top:18px;border-top:1px solid var(--st-border);font:14px ui-monospace,Menlo,Consolas,monospace;color:var(--st-muted)}
.stitch-pagination strong{color:var(--st-text)}.stitch-pagination nav{display:flex;align-items:center;gap:4px}.stitch-pagination nav a{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:5px}
.stitch-pagination nav a:hover{background:var(--st-soft)}.stitch-pagination nav a.active{background:#0f172a;color:#fff}.stitch-page-step{border:1px solid var(--st-border);margin:0 3px;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans SC",sans-serif}
.stitch-footer{margin-top:auto;border-top:1px solid var(--st-border);background:rgba(255,255,255,.55);color:var(--st-muted);font-size:11px;line-height:1.4}
.stitch-footer-content{padding-top:12px;padding-bottom:13px}.stitch-footer-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px}.stitch-footer-primary{padding-bottom:10px}.stitch-footer-primary>strong{color:var(--st-text);font-size:13px;font-weight:650}.stitch-footer-mark{display:grid;place-items:center;width:18px;height:18px;border-radius:5px;background:#e9eef5;color:#475569;font-size:11px;font-weight:700}.stitch-footer-stats{margin-left:auto;white-space:nowrap}.stitch-footer-stats strong{color:var(--st-text);font:700 13px ui-monospace,Menlo,Consolas,monospace}.stitch-footer-secondary{padding-top:10px;border-top:1px solid var(--st-border);font-size:10px;color:var(--st-faint)}.stitch-footer-divider{color:#cbd5e1}.stitch-footer a:hover{color:var(--st-accent)}
.stitch-back-to-top{position:fixed;right:24px;bottom:24px;z-index:40;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--st-border);border-radius:50%;background:var(--st-surface);box-shadow:0 5px 18px #0f172a1a;color:var(--st-muted);cursor:pointer;transition:transform .2s,color .2s,box-shadow .2s}.stitch-back-to-top[hidden]{display:none}.stitch-back-to-top:hover{transform:translateY(-3px);box-shadow:0 8px 24px #0f172a25;color:var(--st-accent)}.stitch-back-to-top svg{width:18px;height:18px}
.stitch-breadcrumb{border-bottom:1px solid var(--st-border);background:rgba(255,255,255,.5);font-size:14px;color:var(--st-muted)}.stitch-breadcrumb .stitch-container{display:flex;align-items:center;gap:9px;padding-top:10px;padding-bottom:10px;white-space:nowrap;overflow:hidden}.stitch-breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis;color:#334155}.stitch-breadcrumb span:not(:last-child){color:#cbd5e1}
.stitch-post-page .stitch-header-inner,.stitch-post-page .stitch-breadcrumb .stitch-container{width:min(100% - 64px,940px);margin-inline:auto}
.stitch-site #board.stitch-post-layout{position:relative;display:block;width:min(100% - 64px,940px);flex:1;padding-top:32px;padding-bottom:48px}
.stitch-toc{position:absolute;top:32px;bottom:48px;left:calc(8px - (100vw - 940px)/2);width:min(244px,calc((100vw - 940px)/2 - 16px))}.stitch-post-main{width:100%}.stitch-post-no-toc .stitch-toc{display:none}.stitch-toc-card,.stitch-post-article{border:1px solid var(--st-border);background:var(--st-surface);box-shadow:0 1px 3px #0f172a08}.stitch-toc-card{position:sticky;top:88px;display:flex;flex-direction:column;max-height:min(calc(100vh - 171px),calc(var(--st-article-height, 100vh) - 64px));padding:18px;border-radius:12px;overflow:hidden}.stitch-toc-card h2{flex:none;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--st-soft);font-size:14px;font-weight:650;letter-spacing:.03em;color:#475569}.stitch-toc-card h2 small{font-size:12px;color:var(--st-faint)}
.stitch-toc-card nav{display:grid;grid-auto-rows:max-content;gap:2px;min-height:0;overflow-y:auto}.stitch-toc-card nav a{display:flex;align-items:baseline;gap:7px;overflow:hidden;padding:7px 10px;border-left:2px solid transparent;border-radius:5px;font-size:15px;font-weight:650;line-height:1.45;color:#334155}.stitch-toc-card nav a:hover,.stitch-toc-card nav a.active{background:#f0f9ff;border-color:#0284c7;color:#0369a1}.stitch-toc-card nav a.level-3{padding-left:26px;font-size:14px;font-weight:400;color:var(--st-muted)}.stitch-toc-number{flex:none;color:#0284c7;font:650 12px ui-monospace,Menlo,Consolas,monospace}.stitch-toc-card nav a.level-3 .stitch-toc-number{color:var(--st-faint);font-weight:500}.stitch-toc-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stitch-post-article{padding:18px 48px 48px;border-radius:16px;min-width:0}.stitch-post-header{padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid var(--st-soft)}.stitch-post-pills{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--st-faint)}.stitch-post-pills a{padding:3px 9px;border:1px solid #e0f2fe;border-radius:5px;background:#f0f9ff;color:#0369a1}.stitch-post-pills a:nth-child(even){background:#ecfdf5;border-color:#d1fae5;color:#047857}
.stitch-post-header h1{margin:6px 0 8px;color:var(--st-text);font-size:clamp(28px,2.8vw,34px);font-weight:750;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere}.stitch-post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;color:var(--st-muted);font-size:14px}.stitch-post-meta a{color:#0284c7}.stitch-post-meta button{margin-left:auto;padding:3px 8px;border:1px solid var(--st-border);border-radius:5px;background:var(--st-soft);color:var(--st-muted);cursor:pointer}
.stitch-updated{padding:10px 14px;border-radius:8px;background:#f0f9ff;color:#0369a1;font-size:14px}
.stitch-reading{font-size:17px;line-height:1.8;color:#334155}.stitch-reading h2{margin-top:1.25em;padding:9px 12px;border:1px solid var(--st-border);border-radius:8px;background:#f8fafc;font-size:24px;font-weight:750;line-height:1.4}.stitch-reading h3{margin-top:1.2em;font-size:20px;font-weight:650;line-height:1.4}.stitch-reading h3::before{content:"";display:inline-block;width:3px;height:.9em;margin-right:10px;border-radius:2px;background:#38bdf8;vertical-align:-.08em}.stitch-reading h2,.stitch-reading h3{scroll-margin-top:88px;color:var(--st-text)}.stitch-reading h2:first-child,.stitch-reading h3:first-child{margin-top:0}.stitch-reading .stitch-section-num{display:inline-block;margin-right:11px;font-family:ui-monospace,Menlo,Consolas,monospace}.stitch-reading h2 .stitch-section-num{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-height:28px;padding:2px 8px;border-radius:6px;background:#eff6ff;color:#0369a1;font-size:.75em;line-height:1;transform:translateY(-3px)}.stitch-reading h3 .stitch-section-num{color:#0284c7;font-size:.82em}.stitch-reading p{margin:0 0 1.2em}.stitch-reading img{max-width:100%;height:auto}.stitch-reading pre{border-radius:9px}.stitch-reading blockquote{border-left-color:#38bdf8;background:#f0f9ff}.stitch-reading blockquote strong:first-child{color:#0369a1}
.stitch-post-bottom{margin-top:42px;padding-top:22px;border-top:1px solid var(--st-border)}.stitch-post-neighbors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.stitch-post-neighbors a{display:grid;gap:5px;min-width:0;padding:14px;border:1px solid var(--st-border);border-radius:9px}.stitch-post-neighbors small{color:var(--st-faint)}.stitch-post-neighbors span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
html[data-user-color-scheme="dark"] .stitch-site,html:not([data-user-color-scheme])[data-default-color-scheme="dark"] .stitch-site{--st-bg:#0b0f17;--st-surface:#111827;--st-text:#f8fafc;--st-muted:#94a3b8;--st-faint:#94a3b8;--st-border:#273244;--st-soft:#1e293b;--st-accent:#7dd3fc;color:#e2e8f0}
html[data-user-color-scheme="dark"] .stitch-header,html:not([data-user-color-scheme])[data-default-color-scheme="dark"] .stitch-header{background:rgba(11,15,23,.86)}
html[data-user-color-scheme="dark"] .stitch-brand-mark,html[data-user-color-scheme="dark"] .stitch-filter-list a.selected,html[data-user-color-scheme="dark"] .stitch-pagination nav a.active{background:#fff;color:#0f172a}
html[data-user-color-scheme="dark"] .stitch-search,html[data-user-color-scheme="dark"] .stitch-icon-button{background:#111827}
html[data-user-color-scheme="dark"] .stitch-card-meta .stitch-category,html[data-user-color-scheme="dark"] .stitch-post-pills a{background:#17243a;border-color:#263c5d;color:#93c5fd}
html[data-user-color-scheme="dark"] .stitch-reading{color:#cbd5e1}html[data-user-color-scheme="dark"] .stitch-reading h2,html[data-user-color-scheme="dark"] .stitch-reading h3{color:#f8fafc}html[data-user-color-scheme="dark"] .stitch-footer,html[data-user-color-scheme="dark"] .stitch-breadcrumb{background:#0f172a}
@media(max-width:1240px){.stitch-toc{display:none}}
@media(max-width:900px){.stitch-nav{gap:0}.stitch-nav a{padding-inline:8px}.stitch-search{width:150px}.stitch-search kbd{display:none}.stitch-post-article{padding:28px}}
@media(max-width:1000px){.stitch-nav{display:none;position:absolute;top:64px;left:0;right:0;padding:10px 16px;border-bottom:1px solid var(--st-border);background:var(--st-surface);box-shadow:0 10px 20px #0f172a12}.stitch-nav.open{display:flex;justify-content:center;flex-wrap:wrap}.stitch-menu-button{display:inline-flex}.stitch-search span{display:none}.stitch-search{width:32px;padding:0}}
@media(max-width:700px){.stitch-header-inner{gap:12px}.stitch-site #board.stitch-post-layout,.stitch-post-page .stitch-header-inner,.stitch-post-page .stitch-breadcrumb .stitch-container{width:min(100% - 32px,940px)}.stitch-post-article{padding:24px}.stitch-footer-stats{margin-left:0}.stitch-footer-secondary{gap:4px 7px}}
@media(max-width:480px){.stitch-card{padding:14px}.stitch-card h2{font-size:18px}.stitch-post-article{padding:18px}.stitch-post-neighbors{grid-template-columns:1fr}.stitch-pagination{align-items:flex-start;flex-direction:column}.stitch-brand-copy small{font-size:11px}}

/* Apple-inspired system colors for tags and the remaining collection pages. */
.stitch-card-tags a,.stitch-tag-grid a{background:#eef5ff;color:#006fe6}
.stitch-card-tags a{padding:2px 7px;border-radius:5px}
.stitch-tag-grid{display:flex;flex-wrap:wrap;gap:10px}
.stitch-tag-grid a{display:inline-flex;align-items:center;gap:13px;padding:9px 12px;border:1px solid #d8e8ff;border-radius:9px;font-size:15px;font-weight:550;transition:transform .15s,box-shadow .15s}
.stitch-tag-grid a:hover{transform:translateY(-2px);box-shadow:0 5px 14px #0f172a12}
.stitch-tag-grid small{font:13px ui-monospace,Menlo,Consolas,monospace;opacity:.6}
.stitch-tag-grid a:nth-child(6n+2),.stitch-card-tags a:nth-child(6n+2){background:#eaf8ee;border-color:#ccebd4;color:#248a40}
.stitch-tag-grid a:nth-child(6n+3),.stitch-card-tags a:nth-child(6n+3){background:#fff3e5;border-color:#ffe0b8;color:#bd6600}
.stitch-tag-grid a:nth-child(6n+4),.stitch-card-tags a:nth-child(6n+4){background:#f5edfa;border-color:#e9d9f4;color:#8942b5}
.stitch-tag-grid a:nth-child(6n+5),.stitch-card-tags a:nth-child(6n+5){background:#ffedf2;border-color:#ffd5e1;color:#c72452}
.stitch-tag-grid a:nth-child(6n),.stitch-card-tags a:nth-child(6n){background:#e8f8fc;border-color:#cbf0f8;color:#0084a7}
.stitch-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stitch-category-grid a{display:grid;grid-template-columns:32px 1fr;column-gap:10px;align-items:center;padding:18px;border:1px solid var(--st-border);border-radius:11px;background:var(--st-surface);transition:border-color .15s,transform .15s}
.stitch-category-grid a:hover{border-color:#b9d7ff;transform:translateY(-2px)}
.stitch-category-symbol{grid-row:span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eef5ff;color:#007aff;font-weight:700}
.stitch-category-grid a:nth-child(6n+2) .stitch-category-symbol{background:#eaf8ee;color:#248a40}
.stitch-category-grid a:nth-child(6n+3) .stitch-category-symbol{background:#fff3e5;color:#bd6600}
.stitch-category-grid a:nth-child(6n+4) .stitch-category-symbol{background:#f5edfa;color:#8942b5}
.stitch-category-grid a:nth-child(6n+5) .stitch-category-symbol{background:#ffedf2;color:#c72452}
.stitch-category-grid a:nth-child(6n) .stitch-category-symbol{background:#e8f8fc;color:#0084a7}
.stitch-category-grid strong{font-size:17px;color:var(--st-text)}
.stitch-category-grid small{display:flex;justify-content:space-between;font-size:14px;color:var(--st-faint)}
.stitch-archive-list h2{margin:24px 0 10px;font:650 17px ui-monospace,Menlo,Consolas,monospace;color:var(--st-text)}
.stitch-archive-item{display:flex;align-items:center;gap:14px;padding:13px 16px;border:1px solid var(--st-border);border-bottom:0;background:var(--st-surface);font-size:16px}
.stitch-archive-item:first-of-type{border-radius:10px 10px 0 0}
.stitch-archive-item:last-of-type{border-bottom:1px solid var(--st-border);border-radius:0 0 10px 10px}
.stitch-archive-item:hover{background:var(--st-soft)}
.stitch-archive-item time{width:44px;flex:none;color:var(--st-faint);font:14px ui-monospace,Menlo,Consolas,monospace}
.stitch-archive-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.stitch-archive-arrow{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--st-border);border-radius:50%;background:var(--st-soft);color:var(--st-muted);font-style:normal;transition:transform .2s,background .2s,color .2s}.stitch-archive-arrow svg{width:15px;height:15px}.stitch-archive-item:hover .stitch-archive-arrow{transform:translateX(2px);background:#e0f2fe;color:#0369a1}
.stitch-general .page-content,.stitch-general .about-content{padding:24px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface)}
.stitch-general .pagination{margin-top:24px}.stitch-general .pagination a,.stitch-general .pagination span{border-radius:6px!important}
html[data-user-color-scheme="dark"] .stitch-tag-grid a,html[data-user-color-scheme="dark"] .stitch-card-tags a{background:#17243a;border-color:#263c5d;color:#93c5fd}
html[data-user-color-scheme="dark"] .stitch-tag-grid a:nth-child(6n+2),html[data-user-color-scheme="dark"] .stitch-card-tags a:nth-child(6n+2){background:#133123;border-color:#225839;color:#86efac}
html[data-user-color-scheme="dark"] .stitch-tag-grid a:nth-child(6n+3),html[data-user-color-scheme="dark"] .stitch-card-tags a:nth-child(6n+3){background:#3d2916;border-color:#674322;color:#fdba74}
html[data-user-color-scheme="dark"] .stitch-tag-grid a:nth-child(6n+4),html[data-user-color-scheme="dark"] .stitch-card-tags a:nth-child(6n+4){background:#32203f;border-color:#543369;color:#d8b4fe}
html[data-user-color-scheme="dark"] .stitch-tag-grid a:nth-child(6n+5),html[data-user-color-scheme="dark"] .stitch-card-tags a:nth-child(6n+5){background:#3d1b2b;border-color:#692b45;color:#fda4af}
html[data-user-color-scheme="dark"] .stitch-tag-grid a:nth-child(6n),html[data-user-color-scheme="dark"] .stitch-card-tags a:nth-child(6n){background:#12323a;border-color:#205764;color:#67e8f9}
html[data-user-color-scheme="dark"] .stitch-nav a,html[data-user-color-scheme="dark"] .stitch-filter-list a,html[data-user-color-scheme="dark"] .stitch-more summary{color:#cbd5e1}
html[data-user-color-scheme="dark"] .stitch-nav a:hover,html[data-user-color-scheme="dark"] .stitch-nav a.active{color:#fff}
html[data-user-color-scheme="dark"] .stitch-filter-list a.selected{color:#0f172a}
html[data-user-color-scheme="dark"] .stitch-brand-copy strong,html[data-user-color-scheme="dark"] .stitch-footer strong{color:#f8fafc}

.stitch-contact{width:min(100%,680px);margin-inline:auto;padding:32px 0 64px}
.stitch-contact-intro{margin-bottom:24px}
.stitch-contact-intro h1{margin:0 0 9px;color:var(--st-text);font-size:clamp(28px,4vw,36px);line-height:1.25;letter-spacing:-.04em}
.stitch-contact-intro p{margin:0;color:var(--st-muted);font-size:15px;line-height:1.7}
.stitch-contact-form{padding:26px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface)}
.stitch-contact-form label{display:block;color:var(--st-text);font-size:14px;font-weight:600}
.stitch-contact-form label>span{color:#dc2626}
.stitch-contact-form label>small{color:var(--st-faint);font-size:12px;font-weight:400}
.stitch-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.stitch-contact-form input,.stitch-contact-form textarea{display:block;width:100%;margin-top:8px;padding:11px 13px;border:1px solid #cbd5e1;border-radius:7px;outline:none;background:var(--st-surface);color:var(--st-text);font-size:15px;line-height:1.6;font-family:inherit}
.stitch-contact-form textarea{resize:vertical;min-height:145px}
.stitch-contact-form input:focus,.stitch-contact-form textarea:focus{border-color:#0284c7;box-shadow:0 0 0 3px #0284c71c}
.stitch-contact-submit{display:flex;justify-content:flex-end;margin-top:18px}
.stitch-contact-submit button{display:inline-flex;align-items:center;gap:14px;padding:10px 17px;border:0;border-radius:7px;background:#0f172a;color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.stitch-contact-submit button:hover{background:#075985}
.stitch-contact-submit button:disabled{opacity:.5;cursor:wait}
.stitch-contact-feedback{min-height:21px;margin:10px 0 0;font-size:13px}
.stitch-contact-feedback[data-state=success]{color:#15803d}
.stitch-contact-feedback[data-state=error]{color:#be123c}
.stitch-contact-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){.stitch-contact{padding-top:12px}.stitch-contact-form{padding:20px}.stitch-contact-fields{grid-template-columns:1fr;gap:18px}}
html[data-user-color-scheme="dark"] .stitch-breadcrumb span:last-child,html[data-user-color-scheme="dark"] .stitch-toc-card h2{color:#e2e8f0}
html[data-user-color-scheme="dark"] .stitch-toc-card nav a{color:#e2e8f0}html[data-user-color-scheme="dark"] .stitch-toc-card nav a.level-3{color:#94a3b8}html[data-user-color-scheme="dark"] .stitch-toc-number{color:#7dd3fc}html[data-user-color-scheme="dark"] .stitch-reading h2{background:#17243a;border-color:#263c5d}html[data-user-color-scheme="dark"] .stitch-reading h2 .stitch-section-num{background:#263c5d;color:#7dd3fc}html[data-user-color-scheme="dark"] .stitch-reading h3 .stitch-section-num{color:#7dd3fc}
html[data-user-color-scheme="dark"] .stitch-toc-card nav a:hover,html[data-user-color-scheme="dark"] .stitch-toc-card nav a.active{background:#17243a;color:#7dd3fc}
html[data-user-color-scheme="dark"] .stitch-category-grid a:nth-child(6n+1) .stitch-category-symbol{background:#17243a;color:#93c5fd}
html[data-user-color-scheme="dark"] .stitch-category-grid a:nth-child(6n+2) .stitch-category-symbol{background:#133123;color:#86efac}
html[data-user-color-scheme="dark"] .stitch-category-grid a:nth-child(6n+3) .stitch-category-symbol{background:#3d2916;color:#fdba74}
html[data-user-color-scheme="dark"] .stitch-category-grid a:nth-child(6n+4) .stitch-category-symbol{background:#32203f;color:#d8b4fe}
html[data-user-color-scheme="dark"] .stitch-category-grid a:nth-child(6n+5) .stitch-category-symbol{background:#3d1b2b;color:#fda4af}
html[data-user-color-scheme="dark"] .stitch-category-grid a:nth-child(6n) .stitch-category-symbol{background:#12323a;color:#67e8f9}
@media(max-width:480px){.stitch-category-grid{grid-template-columns:1fr}}
.stitch-post-page{--st-article-body:#444;--st-article-heading:#1a1a1a}
html[data-user-color-scheme="dark"] .stitch-post-page,html:not([data-user-color-scheme])[data-default-color-scheme="dark"] .stitch-post-page{--st-article-body:#cbd5e1;--st-article-heading:#f8fafc}
.stitch-post-page .stitch-reading{color:var(--st-article-body)}
.stitch-post-page .stitch-post-header h1,.stitch-post-page .stitch-reading h1,.stitch-post-page .stitch-reading h2,.stitch-post-page .stitch-reading h3,.stitch-post-page .stitch-reading h4,.stitch-post-page .stitch-reading h5,.stitch-post-page .stitch-reading h6{color:var(--st-article-heading)}
.stitch-reading video{display:block;width:100%;max-width:100%;max-height:70vh;margin:18px 0;border-radius:10px;background:#111}

.stitch-info-page{max-width:800px;margin:0 auto;padding:24px 0 48px}.stitch-info-page>h1{margin-top:0}.stitch-info-page a{text-decoration:underline;text-underline-offset:3px}
