:root{
  --accent:#19a974;
  --text:#242629;
  --muted:#6f7378;
  --soft:#f6f7f7;
  --line:#e8e9e9;
  --line-strong:#dadcdc;
  --panel:#ffffff;
  --header-height:68px;
  --shell-width:1360px;
  --sidebar-width:292px;
  --toc-width:230px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
button{color:inherit}
a{color:inherit}

.site-header{height:var(--header-height);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line);background:rgba(255,255,255,.97);backdrop-filter:blur(14px)}
.header-inner{max-width:var(--shell-width);height:100%;margin:0 auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.header-start,.header-end{display:flex;align-items:center;min-width:0}
.header-start{gap:10px}
.header-end{gap:22px;justify-content:flex-end}
.site-brand{display:inline-flex;align-items:center;gap:11px;min-width:0;color:#242629;text-decoration:none;font-size:16px;font-weight:680;letter-spacing:-.015em;white-space:nowrap}
.brand-logo-wrap{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden}
.brand-logo-wrap img{display:block;width:100%;height:100%;object-fit:contain}
.brand-fallback{width:32px;height:32px;border-radius:2px;background:#050706;color:#baf8c7;display:grid;place-items:center;font-size:14px;font-weight:800}
.brand-title{overflow:hidden;text-overflow:ellipsis}
.site-brand.is-wide-logo{gap:0}
.site-brand.is-wide-logo .brand-logo-wrap{width:auto;max-width:190px;height:36px}
.site-brand.is-wide-logo .brand-logo-wrap img{width:auto;max-width:190px;height:36px}
.site-brand.is-wide-logo .brand-title{display:none}
.header-links{display:flex;align-items:center;gap:25px;white-space:nowrap}
.header-links a{text-decoration:none;color:#696d70;font-size:14px;transition:color .16s ease}
.header-links a:hover{color:#1e2123}
.header-search{height:40px;width:216px;padding:0 10px 0 11px;border:1px solid #dfe1e1;background:#fff;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.04);display:flex;align-items:center;gap:8px;color:#898d91;cursor:pointer;text-align:left;transition:border-color .16s ease,box-shadow .16s ease}
.header-search:hover{border-color:#cfd2d2;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.header-search svg{width:18px;height:18px;flex:0 0 auto;color:#676b6e}
.header-search>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13.5px}
.header-search kbd{font-family:inherit;font-size:10px;line-height:1;border:1px solid #e1e3e3;border-radius:4px;background:#fafafa;color:#8b8f92;padding:3px 4px;box-shadow:0 1px 0 #eee}
.header-icon{width:38px;height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;place-items:center;cursor:pointer}
.header-icon svg{width:20px;height:20px}
.mobile-menu-button{display:none}

.docs-shell{max-width:var(--shell-width);margin:0 auto;padding:0 28px;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr) var(--toc-width);gap:38px;align-items:start}
.docs-sidebar{min-width:0}
.sidebar-inner{position:sticky;top:var(--header-height);height:calc(100vh - var(--header-height));overflow-y:auto;overscroll-behavior:contain;padding:30px 0 18px 0;scrollbar-width:thin;scrollbar-color:#dadcdc transparent}
.category-navigation{padding-right:18px}
.nav-category{margin:0 0 27px}
.nav-category-title{margin:0 0 9px 10px;color:#242629;font-size:11px;line-height:1.25;font-weight:760;letter-spacing:.035em;text-transform:uppercase}
.nav-tree{list-style:none;margin:0;padding:0}
.nav-tree .nav-tree{margin-top:3px;padding-left:13px;border-left:1px solid #eceeee}
.nav-item{margin:0}
.nav-row{position:relative;display:flex;align-items:flex-start;min-width:0}
.nav-row>a{flex:1;min-width:0;padding:5px 10px;color:#74787b;text-decoration:none;font-size:14px;line-height:1.5;border-radius:6px;transition:color .14s ease,background .14s ease}
.nav-row>a span{display:block;overflow-wrap:anywhere}
.nav-row>a:hover{color:#2d3032;background:#f7f8f8}
.nav-item.active>.nav-row>a{color:var(--accent);font-weight:650;background:transparent}
.nav-toggle{width:28px;height:31px;flex:0 0 28px;margin-right:2px;border:0;background:transparent;color:#a5a8aa;border-radius:6px;display:grid;place-items:center;cursor:pointer;transition:background .14s ease,color .14s ease}
.nav-toggle:hover{background:#f4f5f5;color:#5f6366}
.nav-toggle svg{width:14px;height:14px;transition:transform .16s ease}
.nav-item.expanded>.nav-row>.nav-toggle svg{transform:rotate(90deg)}
.nav-children{display:none;padding-left:10px}
.nav-item.expanded>.nav-children{display:block}
.nav-children .nav-row>a{font-size:13.5px;padding-top:4px;padding-bottom:4px}
.sidebar-bottom-card{margin:22px 18px 0 0;padding:12px 13px;border:1px solid #e1e3e3;border-radius:10px;display:flex;align-items:center;gap:10px;color:#565a5d;background:#fff}
.sidebar-card-icon{width:28px;height:28px;border-radius:6px;background:#f2f4f3;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}
.sidebar-card-icon img{width:100%;height:100%;object-fit:contain}
.sidebar-card-icon b{color:var(--accent)}
.sidebar-bottom-card strong,.sidebar-bottom-card small{display:block;line-height:1.25}
.sidebar-bottom-card strong{font-size:12.5px;font-weight:650}
.sidebar-bottom-card small{font-size:10.5px;color:#939799;margin-top:2px}
.mobile-sidebar-head{display:none}

.docs-main{min-width:0}
.article{max-width:760px;margin:0 auto;padding:30px 0 84px}
.article-topline{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:7px}
.article-category{font-size:11.5px;font-weight:720;letter-spacing:.025em;color:var(--accent);text-transform:uppercase}
.copy-page{height:28px;padding:0 9px;border:1px solid #dfe1e1;background:#fff;border-radius:7px;display:inline-flex;align-items:center;gap:6px;color:#707477;font-size:12px;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.copy-page:hover{background:#f7f8f8;border-color:#d3d5d5}
.copy-page svg{width:15px;height:15px}
.article-head{margin-bottom:24px}
.article-head h1{margin:0;color:#202224;font-size:38px;line-height:1.16;letter-spacing:-1.25px;font-weight:760}
.article-head p{max-width:680px;margin:12px 0 0;color:#6e7276;font-size:17px;line-height:1.6}
.doc{font-size:16px;color:#333638;overflow-wrap:anywhere}
.doc>h1:first-child{display:none}
.doc h2,.doc h3,.doc h4{color:#252729;scroll-margin-top:92px;font-weight:720;letter-spacing:-.025em}
.doc h2{font-size:29px;line-height:1.25;margin:42px 0 13px}
.doc h3{font-size:22px;line-height:1.3;margin:34px 0 11px}
.doc h4{font-size:18px;line-height:1.35;margin:28px 0 9px}
.doc p{margin:0 0 18px}
.doc strong{font-weight:700;color:#292b2d}
.doc a{color:var(--accent);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);text-underline-offset:3px}
.doc a:hover{text-decoration-color:var(--accent)}
.doc ul,.doc ol{margin:0 0 20px;padding-left:25px}
.doc li{margin:6px 0;padding-left:2px}
.doc blockquote{margin:24px 0;padding:14px 18px;border-left:3px solid var(--accent);background:#f7faf8;border-radius:0 8px 8px 0;color:#505456}
.doc blockquote p:last-child{margin-bottom:0}
.doc hr{height:1px;border:0;background:var(--line);margin:35px 0}
.doc img{display:block;max-width:100%;height:auto;margin:24px auto;border-radius:5px}
.doc figure{margin:28px 0}
.doc figure img{margin:0 auto}
.doc figcaption{margin-top:8px;text-align:center;color:#888c8f;font-size:12.5px}
.doc pre{margin:22px 0;padding:17px 18px;overflow:auto;border:1px solid #e1e3e3;border-radius:8px;background:#f7f8f8;color:#242729;font:13.5px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}
.doc code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:.9em;padding:.14em .38em;border-radius:4px;background:#f0f1f1;color:#2c3032}
.doc pre code{padding:0;background:transparent;color:inherit}
.doc table{width:100%;border-collapse:separate;border-spacing:0;margin:26px 0;border:1px solid #e1e3e3;border-radius:8px;overflow:hidden;font-size:14px}
.doc th,.doc td{padding:11px 13px;border-right:1px solid #e7e9e9;border-bottom:1px solid #e7e9e9;text-align:left;vertical-align:top}
.doc th:last-child,.doc td:last-child{border-right:0}
.doc tr:last-child td{border-bottom:0}
.doc th{background:#f7f8f8;font-weight:650;color:#343739}
.doc details{margin:18px 0;border:1px solid #e2e4e4;border-radius:8px;padding:11px 14px}
.doc summary{cursor:pointer;font-weight:650}
.pager{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:58px;padding-top:25px;border-top:1px solid var(--line)}
.pager>a{min-width:0;padding:13px 14px;border:1px solid #e1e3e3;border-radius:8px;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease}
.pager>a:hover{border-color:#cfd2d2;box-shadow:0 5px 18px rgba(0,0,0,.045)}
.pager small,.pager strong{display:block}
.pager small{color:#8a8e91;font-size:11px;margin-bottom:5px}
.pager strong{display:flex;align-items:center;gap:8px;color:#3d4042;font-size:13.5px;font-weight:640}
.pager .next{text-align:right}
.pager .next strong{justify-content:flex-end}
.site-footer{max-width:760px;margin:-42px auto 0;padding:0 0 38px;color:#9a9d9f;font-size:11.5px}

.page-toc{min-width:0}
.toc-inner{position:sticky;top:var(--header-height);padding-top:30px;max-height:calc(100vh - var(--header-height));overflow:auto}
.toc-title{display:flex;align-items:center;gap:7px;color:#5e6265;margin-bottom:10px}
.toc-title svg{width:15px;height:15px}
.toc-title strong{font-size:10.5px;letter-spacing:.04em}
.page-toc nav{display:flex;flex-direction:column;gap:0}
.page-toc nav a{display:block;padding:6px 0;color:#74787b;text-decoration:none;font-size:13px;line-height:1.45;border-left:1px solid transparent;transition:color .14s ease}
.page-toc nav a:hover,.page-toc nav a.active{color:var(--accent)}
.page-toc nav a.active{font-weight:620}
.page-toc .toc-l3{padding-left:13px;font-size:12.5px}
.page-toc .toc-l4{padding-left:25px;font-size:12px}

.search-modal{position:fixed;inset:0;z-index:300;background:rgba(22,24,25,.42);backdrop-filter:blur(3px);padding:11vh 20px 20px}
.search-modal[hidden]{display:none}
.search-panel{width:min(650px,100%);max-height:72vh;margin:0 auto;background:#fff;border:1px solid #dfe1e1;border-radius:12px;box-shadow:0 28px 80px rgba(0,0,0,.19);overflow:hidden}
.search-field{height:58px;display:flex;align-items:center;gap:10px;padding:0 14px;border-bottom:1px solid var(--line)}
.search-field svg{width:20px;height:20px;color:#75797c;flex:0 0 auto}
.search-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#26282a;font-size:15px}
.search-field input::placeholder{color:#9a9da0}
.search-close{border:1px solid #e1e3e3;border-radius:6px;background:#f8f9f9;color:#7b7f82;font-size:11px;padding:4px 7px;cursor:pointer}
.search-results{max-height:calc(72vh - 58px);overflow:auto;padding:8px}
.search-result{display:block;padding:11px 12px;border-radius:8px;text-decoration:none}
.search-result:hover,.search-result.selected{background:#f5f7f6}
.search-result strong,.search-result small{display:block}
.search-result strong{font-size:13.5px;color:#2f3234}
.search-result small{margin-top:3px;color:#8a8e91;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-empty{padding:26px;text-align:center;color:#8e9295;font-size:13px}
.mobile-backdrop{display:none}

body.dark{--text:#e4e7e7;--muted:#a9adaf;--soft:#171a1a;--line:#2b2f2f;--line-strong:#343838;--panel:#111414;background:#111414;color:#e4e7e7}
body.dark .site-header{background:rgba(17,20,20,.96)}
body.dark .site-brand,body.dark .article-head h1,body.dark .doc h2,body.dark .doc h3,body.dark .doc h4,body.dark .doc strong{color:#f0f2f2}
body.dark .header-links a,body.dark .nav-row>a,body.dark .page-toc nav a{color:#a7abad}
body.dark .header-search,body.dark .copy-page,body.dark .header-icon,body.dark .sidebar-bottom-card,body.dark .search-panel{background:#171a1a;border-color:#303434}
body.dark .header-search kbd,body.dark .search-close{background:#202424;border-color:#353939}
body.dark .nav-row>a:hover,body.dark .nav-toggle:hover,body.dark .search-result:hover{background:#1a1e1e}
body.dark .doc{color:#d4d7d7}
body.dark .doc pre,body.dark .doc code,body.dark .doc th{background:#1a1e1e}
body.dark .doc blockquote{background:#17211d}
body.dark .doc table,body.dark .doc th,body.dark .doc td{border-color:#303434}
body.dark .search-field input{color:#f1f3f3}

@media (max-width:1120px){
  :root{--sidebar-width:270px;--toc-width:0px}
  .docs-shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr);gap:34px}
  .page-toc{display:none}
  .header-links{gap:17px}
  .header-links a:nth-last-child(n+5){display:none}
}
@media (max-width:860px){
  .header-inner{padding:0 16px}
  .mobile-menu-button{display:grid}
  .brand-title{max-width:185px}
  .header-links{display:none}
  .header-search{width:42px;padding:0;justify-content:center;border-color:transparent;box-shadow:none}
  .header-search>span,.header-search kbd{display:none}
  .docs-shell{display:block;padding:0 20px}
  .docs-sidebar{position:fixed;z-index:220;left:0;top:0;bottom:0;width:min(334px,88vw);background:#fff;transform:translateX(-102%);transition:transform .2s ease;box-shadow:20px 0 55px rgba(0,0,0,.13)}
  .docs-sidebar.open{transform:translateX(0)}
  .sidebar-inner{position:static;height:100%;padding:16px 18px 24px}
  .mobile-sidebar-head{height:44px;display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;font-weight:650}
  .category-navigation{padding-right:0}
  .mobile-backdrop{position:fixed;z-index:210;inset:0;background:rgba(0,0,0,.33);display:block}
  .mobile-backdrop[hidden]{display:none}
  .article{max-width:760px;padding-top:25px}
  body.dark .docs-sidebar{background:#111414}
}
@media (max-width:600px){
  :root{--header-height:62px}
  .header-inner{gap:10px}
  .site-brand{font-size:14.5px;gap:8px}
  .brand-logo-wrap,.brand-fallback{width:29px;height:29px}
  .site-brand.is-wide-logo .brand-logo-wrap,.site-brand.is-wide-logo .brand-logo-wrap img{height:31px;max-width:145px}
  .docs-shell{padding:0 17px}
  .article-topline{margin-bottom:8px}
  .article-head h1{font-size:31px;letter-spacing:-.9px}
  .article-head p{font-size:15.5px}
  .doc{font-size:15.5px}
  .doc h2{font-size:25px}
  .doc h3{font-size:20px}
  .pager{grid-template-columns:1fr}
  .pager .next{text-align:left}
  .pager .next strong{justify-content:flex-start}
  .site-footer{margin-top:-30px}
}

/* İçerik bağlantılarının her durumda tıklanabilir kalması */
.doc a{position:relative;z-index:1;pointer-events:auto;cursor:pointer}
.doc figure a,.doc p a,.doc li a,.doc td a{display:inline}
