/* BidCamel reader tokens and Reiro overrides. Malek Okour, 2026-11-30. */
:root{color-scheme:light;--bc-bg:#fafbf9;--bc-surface:#fff;--bc-ink:#182b2a;--bc-muted:#536764;--bc-line:#d9e2df;--bc-accent:#087f72;--bc-on-accent:#fff;--bc-radius:14px;--bc-gap:16px;--bc-gutter:32px;--bc-body:18px;--bc-meta:14px;--bc-touch:44px;--bc-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Arabic",Tahoma,Arial,sans-serif;--ghost-accent-color:var(--bc-accent);--font-family-one:var(--bc-font);--font-family-two:var(--bc-font)}
:root[data-theme=dark]{color-scheme:dark;--bc-bg:#101b1b;--bc-surface:#172525;--bc-ink:#eef5f2;--bc-muted:#b3c5bf;--bc-line:#344844;--bc-accent:#76d6c0;--bc-on-accent:#101b1b}
html,body,.global-wrap,.global-content{background:var(--bc-bg);color:var(--bc-ink)}body{font-family:var(--bc-font);font-size:var(--bc-body);-webkit-font-smoothing:antialiased}h1,h2,h3,h4,p,a{overflow-wrap:break-word}h1,h2,h3,h4{font-family:var(--bc-font);letter-spacing:-.025em;text-wrap:balance}a{color:inherit}button,input,summary{font:inherit}button,summary{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.65}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--bc-accent);outline-offset:4px}::selection{background:var(--bc-accent);color:var(--bc-on-accent)}.global-padding{padding-inline:var(--bc-gutter)}.global-content{max-width:1440px;margin-inline:auto}.global-radius{border-radius:var(--bc-radius)}.bc-skip{position:fixed;inset-block-start:-100px;inset-inline-start:16px;z-index:1000;background:var(--bc-surface);padding:12px}.bc-skip:focus{inset-block-start:8px}.global-background{display:none}.bc-header{padding-block:20px;border-bottom:1px solid var(--bc-line)}.bc-header .header-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-inline:var(--bc-gutter);max-width:none}.bc-brand{display:flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font-size:25px;font-weight:700;letter-spacing:-.04em;flex-shrink:0}.bc-brand>span{display:flex;align-items:baseline;gap:10px}.bc-brand-sub{font-size:14px;font-weight:400;letter-spacing:0;color:var(--bc-muted)}.bc-brand img{object-fit:contain}.bc-header-actions{display:flex;align-items:center;gap:12px}.bc-search-link{display:flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;font-size:14px}.bc-search-link svg,.bc-appearance svg{width:20px;height:20px;fill:currentColor}.bc-control{position:relative;font-size:14px}.bc-control summary{list-style:none;display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding-inline:10px;border-radius:8px}.bc-control summary::-webkit-details-marker{display:none}.bc-control[open] summary,.bc-control summary:hover{background:var(--bc-surface)}.bc-control nav,.bc-theme-options{position:absolute;z-index:50;inset-block-start:calc(100% + 8px);inset-inline-end:0;min-width:160px;display:grid;padding:6px;background:var(--bc-surface);border:1px solid var(--bc-line);border-radius:10px;box-shadow:0 12px 30px #0002}.bc-control nav a,.bc-theme-options button{display:flex;align-items:center;min-height:44px;padding:10px 14px;border:0;border-radius:6px;background:transparent;text-align:start;text-decoration:none;font-size:14px}.bc-control nav a:hover,.bc-theme-options button:hover,.bc-theme-options button[aria-pressed=true]{background:var(--bc-bg);color:var(--bc-accent)}.bc-product-link,.bc-article-cta>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;background:var(--bc-accent);color:var(--bc-on-accent);border-radius:8px;text-decoration:none;font-size:14px;font-weight:600}.bc-hero .hero-wrap{padding-block:72px 36px;text-align:start}.bc-hero .hero-title{max-width:850px;font-size:clamp(36px,4.8vw,64px);line-height:1.1;font-weight:650;margin:0}.bc-intro{max-width:660px;font-size:19px;line-height:1.65;color:var(--bc-muted);margin-block:24px 0}.bc-topic-nav{display:flex;flex-wrap:wrap;gap:8px 24px;padding-block:12px 32px;border-bottom:1px solid var(--bc-line)}.bc-topic-nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-size:15px;color:var(--bc-muted)}.bc-topic-nav a:hover{color:var(--bc-accent)}.bc-section-title{font-size:24px;margin-block:36px 24px}.loop-section{margin-block:0 64px}.loop-wrap{gap:40px 24px}.item{min-width:0}.item-title{font-size:26px;line-height:1.22}.item-excerpt,.global-excerpt{color:var(--bc-muted);font-size:16px;line-height:1.65}.item-title a:hover,.post-content a,.bc-back{color:var(--bc-accent)}.item-tags{font-size:13px;color:var(--bc-muted)}.item-tags a{min-height:44px;display:inline-flex;align-items:center}.item-image{aspect-ratio:1.7}.global-meta{color:var(--bc-muted);font-size:var(--bc-meta)}.global-meta a{color:var(--bc-muted)}.bc-empty{grid-column:1/-1;padding-block:40px 56px;max-width:600px}.bc-empty h2{font-size:30px}.bc-empty p{color:var(--bc-muted);line-height:1.7}.bc-empty a{display:inline-flex;align-items:center;min-height:44px;color:var(--bc-accent)}.bc-directory{padding-block:56px 24px;max-width:1100px;margin-inline:auto}.bc-directory>h1{font-size:clamp(32px,5vw,52px);line-height:1.15;margin-block:16px 32px}.bc-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.bc-topics section{padding-block:16px;border-top:1px solid var(--bc-line)}.bc-topics h2{font-size:24px}.bc-topics a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}.bc-topics ul{padding-inline-start:20px;color:var(--bc-muted)}.bc-back{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.post-title{font-size:clamp(34px,4.8vw,60px);line-height:1.12;max-width:1000px}.post-header-wrap{padding-block:56px 32px}.post-header-content{max-width:1040px}.post-excerpt{max-width:800px}.post-section .post-wrap{display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr);gap:48px;max-width:1200px;margin-inline:auto;padding-block:24px 48px}.post-section .post-content{grid-column:2;width:100%;max-width:70ch;min-width:0;margin:0;padding:0;color:var(--bc-ink);font-size:var(--bc-body);line-height:1.75}.post-section .post-sidebar{position:relative;display:block;grid-column:1;grid-row:1;inset:auto;width:auto;height:auto;padding:0}.bc-toc{position:sticky;top:24px;padding-block:8px 24px;max-height:calc(100vh - 48px);overflow:auto;font-size:14px}.bc-toc summary{min-height:44px;display:flex;align-items:center;font-weight:650;list-style:none;border-bottom:1px solid var(--bc-line);margin-bottom:12px}.bc-toc summary::after{content:'−';margin-inline-start:auto}.bc-toc:not([open]) summary::after{content:'+'}.bc-toc[hidden]{display:none}.bc-toc-links ol{padding-inline-start:14px;margin:0;list-style:none}.bc-toc-links>ol{padding:0}.bc-toc-links a{display:block;padding-block:8px;padding-inline:10px;color:var(--bc-muted);text-decoration:none;font-weight:400;line-height:1.5}.bc-toc-links a.is-active-link{color:var(--bc-accent);font-weight:600}.bc-toc-links a:hover{color:var(--bc-ink)}.post-content h2,.post-content h3{scroll-margin-block-start:40px;margin-block:2em .65em}.post-content h2{font-size:30px;line-height:1.25}.post-content h3{font-size:23px}.post-content p,.post-content ul,.post-content ol{margin-block:0 1.3em}.post-content a{font-weight:500;text-decoration:underline;text-underline-offset:3px}.post-content img,.post-content video{max-width:100%;height:auto}.post-content pre{overflow:auto;max-width:100%}.post-content table{font-size:16px;max-width:100%;display:block;overflow:auto;border-collapse:collapse}.post-content td,.post-content th{padding:12px;border:1px solid var(--bc-line);text-align:start}.post-content blockquote{border-inline-start:1px solid var(--bc-accent);padding-inline-start:24px;color:var(--bc-muted)}.post-content code{font-size:.88em;overflow-wrap:anywhere}.bc-article-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-block:24px 32px;padding-block:16px;border-block:1px solid var(--bc-line)}.bc-article-tools button{min-height:44px;padding:8px 14px;border:1px solid var(--bc-line);background:var(--bc-surface);border-radius:8px;font-size:14px}.bc-tool-status{font-size:13px;color:var(--bc-muted);flex-basis:100%}.bc-tool-status:empty{display:none}.bc-article-cta{padding:24px 0;border-block:1px solid var(--bc-line);margin-block:40px}.bc-article-cta h2{margin:0 0 12px;font-size:27px}.bc-article-cta p{font-size:16px;color:var(--bc-muted)}.bc-article-cta a{text-decoration:none}.post-progress{height:3px;color:var(--bc-accent);background:var(--bc-line)}.post-progress::-webkit-progress-value{background:var(--bc-accent)}.post-progress::-moz-progress-bar{background:var(--bc-accent)}.bc-footer{border-top:1px solid var(--bc-line);padding-block:40px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin-top:64px}.bc-footer-brand{font-size:25px;font-weight:700;letter-spacing:-.04em;text-decoration:none}.bc-footer nav{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px}.bc-footer nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:var(--bc-muted)}.bc-footer small{font-size:13px;color:var(--bc-muted);width:100%}.bc-search-form label{display:block;font-size:15px;margin-bottom:10px}.bc-search-form>div{display:flex;gap:12px}.bc-search-form input{min-width:0;flex:1;min-height:48px;border:1px solid var(--bc-line);border-radius:8px;background:var(--bc-surface);color:var(--bc-ink);padding:12px;font-size:16px}.bc-search-form button{border:0;border-radius:8px;padding:10px 18px;background:var(--bc-accent);color:var(--bc-on-accent);font-size:15px}.bc-search-results article{padding-block:24px;border-bottom:1px solid var(--bc-line)}.bc-search-results h2{font-size:26px}.bc-search-results p,.bc-search-status{color:var(--bc-muted);font-size:16px;line-height:1.65}.bc-search-results a{color:var(--bc-accent)}[dir=rtl] .post-wrap,[dir=rtl] .bc-header,[dir=rtl] .bc-footer{text-align:start}[dir=rtl] .post-content{direction:rtl}[dir=rtl] .post-content pre,[dir=rtl] .post-content code{direction:ltr;unicode-bidi:isolate}[dir=rtl] .bc-brand{direction:ltr}[dir=rtl] .bc-toc-links{text-align:right}.kg-width-wide,.kg-width-full{max-width:100%!important;margin-inline:0!important}.bc-article-tools+*{margin-top:0}
@media(max-width:1023px){.post-section .post-wrap{display:flex;flex-direction:column;gap:16px;max-width:800px}.post-section .post-sidebar{width:100%;height:auto}.bc-toc{position:static;max-height:none;padding-bottom:0}.bc-toc-links{max-height:45vh;overflow:auto}.bc-toc-links a{min-height:44px}.post-section .post-content{max-width:100%}.bc-header-actions{gap:4px}.bc-product-link{display:none}}
@media(max-width:600px){:root{--bc-gutter:16px;--bc-body:17px}.bc-header{padding-block:12px}.bc-header .header-wrap{gap:8px}.bc-brand{font-size:22px;gap:7px}.bc-brand img{width:28px;height:28px}.bc-brand-sub{display:none}.bc-search-link{min-width:44px;justify-content:center}.bc-search-link span{display:none}.bc-language summary{padding-inline:6px;font-size:13px}.bc-header-actions{gap:0}.bc-hero .hero-wrap{padding-block:44px 24px}.bc-hero .hero-title{font-size:37px;letter-spacing:-.035em}.bc-intro{font-size:17px;margin-top:18px}.bc-topic-nav{gap:0 16px;padding-bottom:24px}.bc-topic-nav a{font-size:14px}.bc-section-title{font-size:22px;margin-top:28px}.loop-wrap{gap:28px}.item-title{font-size:26px}.item-excerpt{font-size:16px}.bc-topics{grid-template-columns:1fr;gap:16px}.bc-directory{padding-top:32px}.post-header-wrap{padding-block:32px 16px}.post-title{font-size:36px}.post-excerpt{font-size:18px}.post-section .post-wrap{padding-top:0;padding-bottom:16px}.post-content h2{font-size:27px}.post-content h3{font-size:22px}.bc-article-tools{margin-top:16px;gap:8px}.bc-article-tools button{padding-inline:10px;font-size:13px}.bc-footer{margin-top:40px;padding-block:28px}.bc-search-form>div{flex-direction:column}.bc-search-form button{min-height:44px}.bc-control nav,.bc-theme-options{max-width:calc(100vw - 32px)}.pagination{padding-inline:16px}.global-meta a{display:inline-flex;align-items:center;min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{html,body,.global-wrap,.global-content{background:#fff!important;color:#000!important}.bc-header,.bc-footer,.post-sidebar,.bc-article-tools,.bc-article-cta,.post-progress,.navigation-section,.special-section,.post-comments,.post-share{display:none!important}.post-section .post-wrap{display:block;padding:0}.post-section .post-content{max-width:none;width:100%;font-size:11pt;color:#000}.post-header-wrap{padding:0}.post-title{font-size:24pt}.post-content a{color:#000;text-decoration:underline}.post-content table{display:table;font-size:9pt}.post-content pre{white-space:pre-wrap}h2,h3{break-after:avoid}img,figure,tr{break-inside:avoid}}

/* Keep the native header and article actions above vendor-specific selectors. */
.bc-header a.bc-brand{display:flex;flex-direction:row;align-items:center}.bc-article-cta>a{color:var(--bc-on-accent)}.global-tags a,.post-tags a{background:var(--bc-surface);color:var(--bc-ink);border:1px solid var(--bc-line)}.global-avatar{background:var(--bc-surface);color:var(--bc-ink)}
@media(max-width:1023px){.bc-header .bc-product-link{display:none}}@media(max-width:600px){.bc-header .bc-search-link span{display:none}.bc-header .bc-brand-sub{display:none}}
.post-tags.global-tags>a{min-height:44px;display:inline-flex;align-items:center}.global-meta-avatar{min-width:44px}.bc-footer-brand,.bc-footer small a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}.bc-footer nav a{min-width:44px}
