/* bundle-home2.css: built from kam-base.css, ui-language.css, experience.css, kam-sheet.css, home-sheet.css in this order (same cascade as the separate tags). Rebuild with sbs-private/tools/build-css-bundles.php after any change to a source file. */

/* ===== kam-base.css ===== */
/* kam-base.css (9 Nov 2026) — the shared base loaded LAST in every page of kamyeklaf.sa, phase 1 of the design unification.
   Scope on purpose: fonts that work from every folder, form controls that inherit the font, one FAQ component for the three
   families (details.kinfo / details.faq-q / details.privacy), one footer treatment. Colours, logo, page structure and the
   family stylesheets stay; this file only fills gaps and overrides the few rules that broke reading. */

/* 1) Fonts: the four faces of landing.css with absolute URLs, so /contractors, /account and every other folder get Noto instead of Tahoma/Georgia */
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:400 700;font-display:optional;src:url(/kamyeklaf/fonts/noto-kufi-arabic-arabic.woff2?v=2) format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:400 700;font-display:optional;src:url(/kamyeklaf/fonts/noto-kufi-arabic-latin.woff2?v=1) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Noto Sans Arabic";font-style:normal;font-weight:400 700;font-display:optional;src:url(/kamyeklaf/fonts/noto-sans-arabic-arabic.woff2?v=2) format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:"Noto Sans Arabic";font-style:normal;font-weight:400 700;font-display:optional;src:url(/kamyeklaf/fonts/noto-sans-arabic-latin.woff2?v=1) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
body,body.member-page,.sbs-experience,.sbs-exp-launcher-mark,.sbs-exp-heading h2,.mode-tag{font-family:"Noto Sans Arabic","Kam Sans Fallback",Tahoma,Arial,sans-serif}
h1,h2,h3,h4,.steps b,.network-guide>span,.co-big,.intro-photo .photo-mark{font-family:"Noto Kufi Arabic","Kam Kufi Fallback","Noto Sans Arabic",Tahoma,Arial,sans-serif}
button,input,select,textarea{font-family:inherit}

/* 2) One FAQ component for the three families: a separator, breathing room, a readable summary with a turning arrow */
details.kinfo,details.faq-q,details.privacy{display:block;margin:0;padding:10px 0;border-top:1px solid #dfe3dc}
details.kinfo:first-of-type,details.faq-q:first-of-type,details.privacy:first-of-type{border-top:0}
details.kinfo>summary,details.faq-q>summary,details.privacy>summary{list-style:none;cursor:pointer;font-size:16px;font-weight:600;line-height:1.6;padding:6px 28px 6px 0;position:relative;opacity:1;color:#1b2a25;user-select:none}
details.kinfo>summary::-webkit-details-marker,details.faq-q>summary::-webkit-details-marker,details.privacy>summary::-webkit-details-marker{display:none}
details.kinfo>summary::before,details.faq-q>summary::before,details.privacy>summary::before{content:"";position:absolute;right:6px;top:14px;width:9px;height:9px;border-right:2px solid #8f6318;border-bottom:2px solid #8f6318;transform:rotate(45deg);transition:transform .2s}
details.kinfo[open]>summary::before,details.faq-q[open]>summary::before,details.privacy[open]>summary::before{transform:rotate(-135deg);top:18px}
details.kinfo>div,details.faq-q>div,details.privacy>div,details.kinfo>p,details.faq-q>p,details.privacy>p{margin:4px 0 6px;padding:0 28px 0 0;font-size:15px;line-height:1.85;color:#1b2a25}
details.kinfo>div p,details.faq-q>div p,details.privacy>div p{margin:0 0 8px;font-size:15px;line-height:1.85}
details.kinfo-small>summary{font-size:14px;font-weight:400;color:#55655d}
html[dir=ltr] details.kinfo>summary,html[dir=ltr] details.faq-q>summary,html[dir=ltr] details.privacy>summary{padding:6px 0 6px 28px}
html[dir=ltr] details.kinfo>summary::before,html[dir=ltr] details.faq-q>summary::before,html[dir=ltr] details.privacy>summary::before{right:auto;left:6px}

/* 3) Footer: readable sizes, links that wrap on one row with even gaps, the legal line in at most two lines */
footer{font-size:13px}
footer nav{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;align-items:center}
footer nav a{white-space:nowrap;flex:0 0 auto;padding:6px 0;line-height:1.4}
footer .legal{font-size:12.5px;line-height:1.9;max-width:72ch}
footer .legal a{text-underline-offset:3px}
@media(max-width:650px){footer nav{gap:8px 18px}footer nav a{padding:8px 0}}

/* 4) Reading (phase 2, 9 Nov 2026): body copy never below 15px on the program and help pages, a readable measure for long
   content pages, one heading weight across the families; labels, tags and fine print keep their small sizes on purpose */
main.co ul>li,main.co td,main.co article>p,main.co .co-roi-row>span{font-size:15px}
main.co th{font-size:14px}
main.co .co-lead{font-size:16px}
details.privacy>a{font-size:15px}
.eyebrow{font-size:13px}
h1,h2,h3{font-weight:600!important} /* the families set 500 or 700 with heavier selectors (main.co h2 …); one weight needs the override */
body.about main>p,body.about main>ul,body.about main>ol,body.member-page .panel>p,body.member-page .panel>ul,body.member-page .panel>ol{max-width:70ch}
.welcome .intro{max-width:62ch;margin-left:auto;margin-right:auto}

/* 5) Mobile (phase 3, 9 Nov 2026): every link in the header, footer and fine print is a 44px tap target on phones, and the
   kam-family header (help, privacy, contractors, account) drops its links to one full-width row under the logo instead of
   stacking them beside it */
@media(max-width:650px){
header nav a,footer nav a,details.privacy>a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
.fine a,.next a,.help-links a,p.legal a,.sec-note a,.info a,.sub-back,.sub-foot a,.kam-mail,.pay-go a,.faq a{display:inline-block;padding:10px 2px}
body.member-page header{flex-wrap:wrap;gap:8px 14px;align-items:center}
body.member-page header nav{width:100%!important;min-width:100%;flex:1 1 100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:2px 8px;font-size:14px}
body.member-page header nav a{white-space:nowrap;padding:0 2px}
body.member-page header nav .language-toggle{padding:6px 10px;min-height:40px}
}

/* 6) Harmony (phase 4, 9 Nov 2026): the three header shapes, the three footers, the three button systems and the page titles
   share one set of measures, so moving between the marketing pages, the help/account pages and the program pages feels like
   one site. Markup is untouched; only measures, colours of chrome and radii are aligned */
header{background:#f1f2ee;border-bottom:1px solid #cfd7d2;padding:14px 5%;min-height:82px;box-sizing:border-box;align-items:center}
header .brand img,header .kam-brand img,header .sub-brand img,header a.sbs img{width:170px;height:auto;max-width:48vw}
header nav a{font-size:14px!important;color:#1b2a25}
header nav a:hover{color:#8f6318}
.language-toggle{border-radius:30px}
footer{border-top:1px solid #cfd7d2;color:#55655d;padding:22px 5%}
/* the families set these with heavier selectors (.lane-actions .btn-primary, .plan-card .plan-tax …); one measure needs the override */
.btn-primary,.btn-ghost,.strip-button,a.primary,.primary,.secondary,.pay-go a{min-height:52px;border-radius:12px!important;font-size:16px!important;font-weight:700;box-sizing:border-box}
h1{font-size:44px}
.plan-tax{font-size:14px!important}
@media(max-width:650px){
header{padding:12px 16px;min-height:64px}
header nav{gap:2px 10px}
header nav a{padding:0 2px}
header .brand img,header .kam-brand img,header .sub-brand img,header a.sbs img{width:120px}
h1{font-size:30px}
footer{padding:18px 16px}
}

/* 7) Leftovers (10 Nov 2026): one title size on every page (the families used a fixed 44px or 3.4vw/3.5vw clamps, so the
   help page and the subscribe page differed by 8px at the same width), and the help/account wordmark at the shared 170px
   (member-visual.css sets 180px with !important and two classes, so the selector here carries two classes too). Nothing else changes */
h1{font-size:clamp(30px,3.5vw,44px)!important}
.member-page header .member-wordmark,header .member-wordmark{width:170px!important}
@media(max-width:650px){
h1{font-size:30px!important}
.member-page header .member-wordmark,header .member-wordmark{width:120px!important}
}

/* 8) Layout stability (10 Nov 2026, search plan 5.4; PageSpeed measured CLS 0.19 on a slow mobile connection): the phone header
   no longer flips between one and two rows of links when the web font replaces the system font (smaller gap, 13px links, a
   tighter language button); the logo carries its aspect ratio so it is sized before it loads; and on Windows the fallback font
   (Tahoma) is size-matched to the web fonts (measured: Noto Sans ≈ 0.93–0.98 of Tahoma, Noto Kufi ≈ 1.00–1.05) so the swap moves
   the text as little as possible. The English edition keeps its own body rule in ui-language.css (Latin text, small subsets). */
@font-face{font-family:"Kam Sans Fallback";src:local("Tahoma");size-adjust:94%}
@font-face{font-family:"Kam Kufi Fallback";src:local("Tahoma");size-adjust:103%}
img[src$="kamyeklaf-original-logo.png"]{aspect-ratio:554/161}
@media(max-width:650px){
header nav{gap:2px 8px}
header nav a{font-size:13px!important}
header nav .language-toggle{min-width:0;padding:8px 9px;gap:6px}
}

/* 7) Footer grid (13 Nov 2026): brand beside the links, legal block under a hairline, stacked on phones. Only footers that carry
   a nav (the shared public footer) take the grid; the others keep the flex treatment above. */
footer:has(>nav){display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-areas:"brand nav social" "legal legal legal";column-gap:28px;row-gap:10px;align-items:center;padding:24px 5% 92px}
footer:has(>nav)>span{grid-area:brand;white-space:nowrap;font-size:14px;font-weight:700;color:#123f35}
footer:has(>nav)>nav{grid-area:nav;justify-content:flex-start;gap:4px 18px;margin:0}
footer:has(>nav)>nav a{padding:0 2px}
footer:has(>nav)>.legal{grid-area:legal;margin:4px 0 0;padding-top:14px;border-top:1px solid #e1ddd0;text-align:start;max-width:none;font-size:12px;line-height:2;color:#55655d}
footer:has(>nav)>.legal a{text-decoration:underline;text-underline-offset:3px}
footer:has(>nav)>.social{grid-area:social}
footer .social{display:flex;align-items:center;gap:8px;margin:0}
footer .social-label{font-size:12px;color:#55655d;margin-inline-end:2px}
footer .social-link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid #cfd7d2;background:#fffef9;color:#123f35;transition:background .15s,color .15s,border-color .15s}
footer .social-link:hover,footer .social-link:focus-visible{background:#123f35;color:#fffaf0;border-color:#123f35}
@media(max-width:650px){
footer:has(>nav){grid-template-columns:1fr;grid-template-areas:"brand" "nav" "social" "legal";row-gap:6px;padding:20px 16px 96px}
footer .social{margin:4px 0 2px}footer .social-link{width:44px;height:44px}
footer:has(>nav)>span{white-space:normal}
footer:has(>nav)>nav{gap:0 14px}
footer:has(>nav)>.legal{font-size:11.5px}
}

/* ===== ui-language.css ===== */
.language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:105px;padding:8px 13px;border:1px solid #d9ccb7;border-radius:30px;background:transparent;color:#5a614f;font:inherit;font-size:13px;cursor:pointer}.language-toggle:hover{background:#ede5d6}.language-toggle:focus-visible{outline:3px solid #8f6318;outline-offset:3px}html[dir=ltr] body{font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif}html[dir=ltr] .how-it-works li:before{left:0;right:auto}html[dir=ltr] .welcome{text-align:center}html[dir=ltr] .idea-hero h1{letter-spacing:-1px}@media(max-width:650px){header nav{gap:12px}.language-toggle{min-width:95px;font-size:12px}html[dir=ltr] .welcome{text-align:left}}
/* 10 Nov 2026: the bar offered to a visitor whose browser is not Arabic on an Arabic public page (ui-language.js) */
.kam-lang-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;padding:10px 16px;background:#123f35;color:#f1f2ee;font-size:14px;line-height:1.5}
.kam-lang-bar a{color:#f5d99a;font-weight:700;text-decoration:underline;min-height:32px;display:inline-flex;align-items:center}
.kam-lang-bar button{background:transparent;border:1px solid #6f8f85;color:#f1f2ee;border-radius:50%;width:32px;height:32px;font-size:18px;line-height:1;cursor:pointer}
.kam-lang-bar button:hover{background:#1b5a4c}

/* ===== experience.css ===== */
.sbs-experience{--exp-ink:#123f35;--exp-green:#123f35;--exp-cream:#faf8f1;--exp-muted:#687262;--exp-line:#cfd7d2;--exp-gold:#8f6318;font:14px/1.8 "Noto Sans Arabic",Tahoma,Arial,sans-serif;color:var(--exp-ink);direction:rtl}
.sbs-experience *{box-sizing:border-box}.sbs-experience [hidden]{display:none!important}.sbs-experience button,.sbs-experience input,.sbs-experience textarea,.sbs-experience select{font:inherit;letter-spacing:normal}.sbs-experience button,.sbs-experience a,.sbs-experience summary,.sbs-experience input,.sbs-experience textarea,.sbs-experience select{touch-action:manipulation}.sbs-experience button{cursor:pointer}.sbs-experience button:disabled{opacity:.55;cursor:not-allowed}.sbs-experience button:focus-visible,.sbs-experience a:focus-visible,.sbs-experience summary:focus-visible,.sbs-experience input:focus-visible,.sbs-experience textarea:focus-visible,.sbs-experience select:focus-visible{outline:3px solid #8f6318;outline-offset:3px}.sbs-experience a{color:var(--exp-green);text-decoration:none}.sbs-experience p{margin:0}.sbs-experience-open{overflow:hidden}
.sbs-exp-launcher{position:fixed;z-index:900;left:20px;left:max(20px,env(safe-area-inset-left));bottom:20px;bottom:calc(20px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border:1px solid #aab49e;border-radius:100px;background:#123f35;color:#fffdf5;padding:8px 18px 8px 8px;font-weight:700;box-shadow:0 7px 25px #24332326;transition:transform .18s,box-shadow .18s}.sbs-exp-launcher:hover{transform:translateY(-2px);background:#435c43;box-shadow:0 9px 28px #24332336}.sbs-exp-launcher-mark{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#fff9e9;color:#123f35;font:700 25px/1 "Noto Sans Arabic",Tahoma,Arial,sans-serif}.sbs-exp-launcher-copy{font-size:13px;white-space:nowrap;max-width:12em;overflow:hidden;transition:max-width .3s,opacity .2s}
/* a full-page screen (the take-off demo) owns the whole viewport */
html.tx-open .sbs-exp-launcher{display:none}
.sbs-exp-dialog{position:fixed;z-index:1000;top:auto;right:auto;left:20px;left:max(20px,env(safe-area-inset-left));bottom:20px;bottom:calc(20px + env(safe-area-inset-bottom));margin:0;padding:0;width:430px;max-width:calc(100vw - 40px);height:690px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px - env(safe-area-inset-bottom));border:1px solid #ccd5c2;border-radius:18px;background:#fffefa;color:#123f35;box-shadow:0 20px 70px #20332333;overflow:hidden;text-align:start}.sbs-exp-dialog[open]{display:flex;flex-direction:column}.sbs-exp-dialog::backdrop{background:#1d2c2242;backdrop-filter:blur(2px)}.sbs-exp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-shrink:0;padding:22px 22px 17px;background:linear-gradient(115deg,#eaf0df,#f8f6ed);border-bottom:1px solid #cfd7d2}.sbs-exp-eyebrow{display:block;color:#7c643f;font-size:10px;font-weight:700;letter-spacing:.1px}.sbs-exp-heading h2{font:500 25px/1.6 "Noto Sans Arabic",Tahoma,Arial,sans-serif;margin:3px 0 2px;outline:none}.sbs-exp-subtitle{font-size:12px;color:#687262}.sbs-exp-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;min-height:36px;border:1px solid #cbd5c1;border-radius:50%;background:#fffefa;color:#123f35;padding:0;font:25px/1 Arial,sans-serif;font-weight:400}.sbs-exp-close:hover{background:#e6ecde}
.sbs-exp-tabs{display:flex;gap:0;border-bottom:1px solid #cfd7d2;padding:0 12px;background:#fffefa;flex-shrink:0;overflow-x:auto;scrollbar-width:thin}.sbs-exp-tab{display:block;flex:1 0 auto;min-height:48px;padding:11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#6b7564;background:transparent;white-space:nowrap;font-size:11px;font-weight:400}.sbs-exp-tab:hover{background:#f2f4ea;color:#123f35}.sbs-exp-tab[aria-selected=true]{border-bottom-color:#8b7045;color:#123f35;font-weight:700;background:#f8f9f2}.sbs-exp-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#becab1 transparent}.sbs-exp-pane{padding:21px 22px;min-height:100%;outline-offset:-3px}.sbs-exp-note{font-size:12px;line-height:1.9;color:#687262;margin:0 0 17px!important}.sbs-exp-small{font-size:10px;line-height:1.8;color:#737b6c;margin:0 0 12px!important}.sbs-exp-status{font-size:12px;line-height:1.9;white-space:pre-line;color:#725638;margin-top:12px!important;overflow-wrap:anywhere}.sbs-exp-status:empty{display:none}.sbs-exp-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:38px;padding:8px 0;border:0;border-radius:0;background:transparent;color:#123f35!important;font-size:12px;font-weight:700;text-decoration:underline!important;text-underline-offset:4px;line-height:1.7}.sbs-exp-link:hover{background:transparent;color:#7d663e!important}.sbs-exp-shortcuts{display:flex;flex-wrap:wrap;gap:4px 16px;border-top:1px solid #cfd7d2;padding-top:12px;margin-top:18px}.sbs-exp-shortcuts .sbs-exp-link{font-size:11px}
.sbs-exp-faq{display:grid;gap:9px}.sbs-exp-faq-item{border:1px solid #cfd7d2;border-radius:9px;padding:0 14px;background:#fcfcf6}.sbs-exp-faq-item summary{cursor:pointer;padding:14px 0;color:#123f35;font-size:12px;font-weight:700;line-height:1.8;list-style-position:inside}.sbs-exp-faq-item[open]{background:#f2f5e9;border-color:#bccbad}.sbs-exp-faq-answer{white-space:pre-line;font-size:12px;line-height:1.95;color:#535e4c;margin:0 0 12px!important;overflow-wrap:anywhere}.sbs-exp-faq-item .sbs-exp-link{padding-top:0;margin-bottom:10px}
.sbs-exp-bottom{flex-shrink:0;padding:12px 22px 14px;border-top:1px solid #cfd7d2;background:#fafaf3;font-size:10px;line-height:1.8;color:#747d6b}.sbs-exp-bottom a{font-size:10px;text-decoration:underline;text-underline-offset:3px}.sbs-exp-gate{border:1px solid #cfd7d2;background:#f3f5eb;padding:18px;border-radius:10px}.sbs-exp-gate p{font-size:13px;line-height:1.9;color:#58644d}.sbs-exp-form{padding:0;margin:0;border:0;background:transparent}.sbs-exp-label{display:block;font-size:12px;line-height:1.8;font-weight:700;color:#3a4935;margin:17px 0 6px}.sbs-experience input:not([type=checkbox]):not([type=radio]),.sbs-experience textarea,.sbs-experience select{display:block;width:100%;min-width:0;max-width:100%;padding:11px 12px;background:#fffefa;color:#123f35;border:1px solid #cbd3c1;border-radius:7px;margin:0;font-size:14px;line-height:1.8}.sbs-experience textarea{min-height:85px;resize:vertical;max-height:260px;overflow:auto}.sbs-experience textarea::placeholder,.sbs-experience input::placeholder{color:#838c7b;font-size:12px}.sbs-exp-count{font:10px/1.8 Arial,sans-serif;direction:ltr;text-align:left;color:#7a8471;margin-top:3px!important}.sbs-exp-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.9;color:#637057;margin:15px 0}.sbs-exp-check input{width:16px;height:16px;min-width:16px;flex-shrink:0;margin:4px 0 0;accent-color:#123f35;cursor:pointer}.sbs-exp-check span{font-size:11px}.sbs-exp-primary,.sbs-exp-secondary{display:flex;justify-content:center;align-items:center;min-height:44px;width:100%;padding:10px 16px;border:1px solid #123f35;border-radius:7px;color:#fffdf6;background:#123f35;font-size:13px;font-weight:700;line-height:1.6}.sbs-exp-primary:hover{background:#4a6245}.sbs-exp-secondary{margin-top:14px;background:transparent;color:#123f35}.sbs-exp-secondary:hover{background:#edf2e4}
.sbs-exp-chat-log{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-height:240px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 2px 12px}.sbs-exp-bubble{max-width:94%;padding:11px 13px;border-radius:11px;font-size:12px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.sbs-exp-bubble-assistant{align-self:flex-start;background:#edf2e4;border:1px solid #dce4d1;border-top-right-radius:2px;color:#35442e}.sbs-exp-bubble-user{align-self:flex-end;background:#123f35;color:#fffdf6;border-top-left-radius:2px}.sbs-exp-chat-log .sbs-exp-link{margin-top:-5px;font-size:11px}.sbs-exp-rating{border:0;padding:0;margin:17px 0 22px;min-width:0}.sbs-exp-rating legend{font-size:12px;font-weight:700;color:#3a4935;margin-bottom:10px}.sbs-exp-stars{display:flex;gap:10px;justify-content:space-between;max-width:310px}.sbs-exp-star{position:relative;display:flex;align-items:center;flex-direction:column;margin:0;cursor:pointer;min-width:38px;color:#b3bdab;line-height:1.2}.sbs-exp-star input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.sbs-exp-star>span{font:34px/1.2 Arial,sans-serif;transition:color .15s}.sbs-exp-star>small{font:11px/1.6 Arial,sans-serif;color:#6f7b65;margin-top:5px}.sbs-exp-star.is-filled>span{color:#aa8346}.sbs-exp-star input:focus-visible+span{outline:3px solid #8f6318;outline-offset:3px;border-radius:3px}.sbs-exp-star:hover>span{color:#8e6c39}
/* phones (25 Nov 2026): a 48 px round button; the words show once, on the visitor's first page, for three seconds */
@media(max-width:560px){.sbs-exp-launcher{left:14px;left:max(14px,env(safe-area-inset-left));bottom:14px;bottom:calc(14px + env(safe-area-inset-bottom));height:48px;min-height:48px;min-width:48px;padding:6px;gap:0;border-radius:100px!important}
.sbs-exp-launcher-mark{width:34px;height:34px;font-size:23px}
.sbs-exp-launcher-copy{font-size:12px;max-width:0;opacity:0}
.sbs-exp-launcher.intro{padding:6px 14px 6px 6px;gap:9px}
.sbs-exp-launcher.intro .sbs-exp-launcher-copy{max-width:12em;opacity:1}.sbs-exp-dialog{left:0;right:0;bottom:0;width:100%;max-width:none;height:740px;max-height:calc(100vh - 16px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top)));border-radius:18px 18px 0 0;border-bottom:0}.sbs-exp-head{padding:19px 20px 14px}.sbs-exp-heading h2{font-size:23px}.sbs-exp-pane{padding:18px 20px}.sbs-exp-bottom{padding:10px 20px calc(12px + env(safe-area-inset-bottom));font-size:10px}.sbs-exp-tabs{padding:0 10px}.sbs-exp-tab{padding:11px 8px;font-size:11px}.sbs-experience input:not([type=checkbox]):not([type=radio]),.sbs-experience textarea,.sbs-experience select{font-size:16px}.sbs-exp-chat-log{max-height:220px}}
@media(prefers-reduced-motion:reduce){.sbs-exp-launcher,.sbs-exp-launcher-copy,.sbs-exp-star>span{transition:none}.sbs-exp-launcher:hover{transform:none}}
@media print{.sbs-experience{display:none!important}}

/* polish1 (27 Nov 2026): the help dialog on the Drafting Sheet: square, ink rule, hard offset, flat head, Plex first */
html .sbs-experience,html .sbs-exp-heading h2,html .sbs-exp-launcher-mark{font-family:"Noto Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif}
.sbs-exp-dialog{border:1px solid #123f35;border-radius:0;box-shadow:0 5px 0 #123f35}
.sbs-exp-head{background:#EDF0EB;border-bottom:1px solid #123f35}
.sbs-exp-faq-item,.sbs-exp-gate,.sbs-exp-secondary,.sbs-exp-close,.sbs-exp-bubble,.sbs-exp-bubble-assistant,.sbs-exp-bubble-user{border-radius:0}
@media(max-width:560px){.sbs-exp-dialog{border-radius:0;box-shadow:none}}
@media(max-width:560px){.sbs-exp-launcher{transition:transform .25s,opacity .25s}.sbs-exp-launcher.sbs-exp-tuck{transform:translateX(-140%);opacity:0;pointer-events:none}html:not(.tx-open) body:has(>.sbs-experience){padding-bottom:calc(76px + env(safe-area-inset-bottom))}}
@media(max-width:560px) and (prefers-reduced-motion:reduce){.sbs-exp-launcher{transition:none}}

/* ===== kam-sheet.css ===== */
/* kam-sheet.css (redesign phase 0, 24 Nov 2026): the "drawing sheet" frame. A page opts in with <body class="sheet-ui">;
   pages without the class keep their old look. Fonts: "Noto Kufi Arabic" (headings) and "Noto Sans Arabic" (text), subset and self-hosted, font-display optional
   so a slow connection never shifts the layout. */
@font-face{font-family:"Changa";font-style:normal;font-weight:700 800;font-display:optional;src:url(/kamyeklaf/fonts/changa-arabic.woff2?v=1) format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"Changa";font-style:normal;font-weight:700 800;font-display:optional;src:url(/kamyeklaf/fonts/changa-latin.woff2?v=1) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:optional;src:url(/kamyeklaf/fonts/plex-arabic-regular-arabic.woff2?v=1) format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:optional;src:url(/kamyeklaf/fonts/plex-arabic-regular-latin.woff2?v=1) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:optional;src:url(/kamyeklaf/fonts/plex-arabic-bold-arabic.woff2?v=1) format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:optional;src:url(/kamyeklaf/fonts/plex-arabic-bold-latin.woff2?v=1) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

body.sheet-ui{
 --film:#EDF0EB;      /* drafting film */
 --film-2:#E3E8E2;
 --ink:#123f35;       /* brand green, used as drawing ink */
 --ink-soft:#55655d;
 --grid:#D3DBD5;
 --gold:#C99A3E;      /* hatch and highlight */
 --cad:#1A7F93;       /* CAD selection blue: what is being measured now */
 --paper:#FBFCFA;
 --rule:#B9C5BE;
 --f-head:"Noto Kufi Arabic","Noto Sans Arabic",Tahoma,sans-serif;
 --f-body:"Noto Sans Arabic",Tahoma,sans-serif;
 --f-dim:"IBM Plex Mono",ui-monospace,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--film);color:var(--ink);font:400 17px/1.85 var(--f-body);
 background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);
 background-size:24px 24px;background-position:-1px -1px}
a{color:inherit}
:focus-visible{outline:3px solid var(--cad);outline-offset:3px}
h1,h2,h3{font-family:var(--f-head);font-weight:700;line-height:1.35;margin:0}
body.sheet-ui{margin:0;background:var(--film);color:var(--ink);font:400 17px/1.85 var(--f-body);
 background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:24px 24px;background-position:-1px -1px;padding:18px 0}
body.sheet-ui *,body.sheet-ui *::before,body.sheet-ui *::after{box-sizing:border-box}
body.sheet-ui a{color:inherit}
body.sheet-ui :focus-visible{outline:3px solid var(--cad);outline-offset:3px}
body.sheet-ui h1,body.sheet-ui h2,body.sheet-ui h3{font-family:var(--f-head);font-weight:700!important;line-height:1.35;margin:0}
body.sheet-ui .skip{position:fixed;top:-100px;right:15px;background:#fff;padding:10px;z-index:50}
body.sheet-ui .skip:focus{top:5px}
/* the sheet: header, main and footer sit inside one bordered sheet */
body.sheet-ui>header,body.sheet-ui>main,body.sheet-ui>footer{max-width:1280px;margin:0 auto;background:color-mix(in srgb,var(--film) 88%,transparent);border-left:2px solid var(--ink);border-right:2px solid var(--ink)}
body.sheet-ui>header{border-top:2px solid var(--ink)}
body.sheet-ui>footer{border-bottom:2px solid var(--ink)}
@media(max-width:760px){body.sheet-ui{padding:10px 6px}}
/* header: brand image, language toggle, menu */
body.sheet-ui>header{display:flex;align-items:center;gap:22px;padding:18px 40px;border-bottom:1px solid var(--ink);position:relative}
body.sheet-ui>header .brand{display:block;line-height:0}
body.sheet-ui>header .brand img.kam-wordmark{width:170px!important;height:auto!important;display:block}
body.sheet-ui .site-nav{display:flex;align-items:center;gap:6px 22px;flex-wrap:wrap;margin-inline-start:auto}
body.sheet-ui .site-nav .nav-links{display:flex;align-items:center;gap:2px 22px;flex-wrap:wrap}
body.sheet-ui .site-nav .nav-links a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:var(--ink);text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent}
body.sheet-ui .site-nav .nav-links a:hover{border-color:var(--gold)}
body.sheet-ui .site-nav .nav-links a[aria-current=page]{font-weight:700;border-color:var(--ink)}
body.sheet-ui .site-nav .nav-links a.nav-cta{background:var(--ink);color:var(--paper);padding:0 18px;border-radius:4px;min-height:44px;font-weight:700;border-bottom:0}
body.sheet-ui .site-nav .nav-links a.nav-cta:hover{background:#082a24}
body.sheet-ui .language-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--rule);border-radius:4px;background:transparent;color:var(--ink-soft);font:500 13px var(--f-body);cursor:pointer}
body.sheet-ui .language-toggle:hover{border-color:var(--ink);color:var(--ink)}
body.sheet-ui .site-nav .nav-t{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
body.sheet-ui .site-nav .nav-btn{display:none}
@media(max-width:900px){
 body.sheet-ui>header{padding:12px 16px;gap:10px;justify-content:space-between}
 body.sheet-ui>header .brand img.kam-wordmark{width:130px!important}
 body.sheet-ui .site-nav{flex-wrap:nowrap;gap:8px;margin:0}
 body.sheet-ui .site-nav .nav-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--ink);border-radius:4px;background:var(--paper);color:var(--ink);font:700 14px var(--f-body);cursor:pointer;white-space:nowrap}
 body.sheet-ui .site-nav .nav-btn::before{content:"";width:16px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor,0 -5px 0 currentColor}
 body.sheet-ui .site-nav .nav-t:focus-visible+.nav-btn{outline:3px solid var(--cad);outline-offset:2px}
 body.sheet-ui .site-nav .nav-t:checked+.nav-btn{background:var(--ink);color:var(--paper)}
 body.sheet-ui .site-nav .nav-links{display:none;position:absolute;top:100%;left:-2px;right:-2px;z-index:40;flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap;padding:4px 16px 12px;background:var(--paper);border:2px solid var(--ink);border-top:1px solid var(--rule)}
 body.sheet-ui .site-nav .nav-t:checked~.nav-links{display:flex}
 body.sheet-ui .site-nav .nav-links a{min-height:50px;font-size:16px;border-bottom:1px solid var(--grid)}
 body.sheet-ui .site-nav .nav-links a:last-child{border-bottom:0}
 body.sheet-ui .site-nav .nav-links a.nav-cta{margin-top:8px;justify-content:center}
}
/* buttons */
body.sheet-ui .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:4px;font:700 16px var(--f-body);text-decoration:none;border:2px solid var(--ink);cursor:pointer;transition:background .2s,color .2s}
body.sheet-ui .btn.solid{background:var(--ink);color:var(--paper)}
body.sheet-ui .btn.solid:hover{background:#082a24}
body.sheet-ui .btn.line{background:transparent;color:var(--ink)}
body.sheet-ui .btn.line:hover{background:var(--paper)}
body.sheet-ui .actions{display:flex;flex-wrap:wrap;gap:12px}
body.sheet-ui .fine{font-size:14px;color:var(--ink-soft);margin:0}
body.sheet-ui .note{font-size:14px;color:var(--ink-soft)}
/* sections and their cut markers */
/* section heading as a section-cut marker */
body.sheet-ui section.part{padding:72px 40px;border-bottom:1px solid var(--ink)}
body.sheet-ui .cut{display:flex;align-items:center;gap:16px;margin-bottom:34px}
body.sheet-ui .cut>div,.device-grid>*,.home-route>*,.hero>*{min-width:0}
body.sheet-ui .cut svg{flex:none;width:46px;height:46px}
body.sheet-ui .cut h2{font-size:clamp(26px,3vw,38px)}
body.sheet-ui .cut p{margin:4px 0 0;color:var(--ink-soft);font-size:16px}
@media(max-width:760px){body.sheet-ui section.part{padding:48px 18px}}


/* sheet index: the four routes */
body.sheet-ui .index{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--ink)}
body.sheet-ui .index th{font:700 13px var(--f-body);color:var(--ink-soft);text-align:start;padding:10px 18px;border-bottom:1px solid var(--ink)}
body.sheet-ui .index td{padding:20px 18px;border-top:1px solid var(--rule);vertical-align:top}
body.sheet-ui .index tr.r{transition:background .2s}
body.sheet-ui .index tr.r:hover{background:color-mix(in srgb,var(--gold) 12%,var(--paper))}
body.sheet-ui .index .no{font:500 15px var(--f-dim);color:var(--ink-soft);width:84px;white-space:nowrap}
body.sheet-ui .index h3{font-size:22px;margin-bottom:4px}
body.sheet-ui .index h3 a{text-decoration:none}
body.sheet-ui .index h3 a::after{content:"";position:absolute;inset:0}
body.sheet-ui .index tr.r td:nth-child(2){position:relative}
body.sheet-ui .index p{margin:0;color:var(--ink-soft);max-width:44em}
body.sheet-ui .index .who{font-size:14px;color:var(--ink-soft);width:220px}
body.sheet-ui .index .go{width:200px;text-align:end}
body.sheet-ui .index .go a{position:relative;z-index:1}
@media(max-width:860px){body.sheet-ui .index thead{display:none}body.sheet-ui .index tr.r{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;padding:18px 14px;border-top:1px solid var(--rule)}
 body.sheet-ui .index td{border:0;padding:0}body.sheet-ui .index .no{grid-row:span 3;width:auto}body.sheet-ui .index .who,body.sheet-ui .index .go{width:auto;text-align:start}body.sheet-ui .index .go{margin-top:8px}}


/* reads / watch for */
body.sheet-ui .reads{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--ink)}
body.sheet-ui .reads>div{padding:26px 28px;background:var(--paper)}
body.sheet-ui .reads>div+div{border-inline-start:1px solid var(--ink);background:#F7F1E3}
body.sheet-ui .reads h3{font-size:21px;margin-bottom:10px}
body.sheet-ui .reads dl{margin:0}
body.sheet-ui .reads dt{font-weight:700;margin-top:14px}
body.sheet-ui .reads dd{margin:2px 0 0;color:var(--ink-soft);font-size:15.5px}
@media(max-width:760px){body.sheet-ui .reads{grid-template-columns:1fr}body.sheet-ui .reads>div+div{border-inline-start:0;border-top:1px solid var(--ink)}body.sheet-ui .reads>div{padding:20px 18px}}


/* plans as a schedule */
body.sheet-ui .sched-wrap{overflow-x:auto;border:1px solid var(--ink);background:var(--paper)}
body.sheet-ui .sched{width:100%;border-collapse:collapse;min-width:760px}
body.sheet-ui .sched th,body.sheet-ui .sched td{padding:14px 16px;text-align:start;border-top:1px solid var(--rule);vertical-align:top}
body.sheet-ui .sched thead th{border-top:0;border-bottom:1px solid var(--ink);font:700 13px var(--f-body);color:var(--ink-soft)}
body.sheet-ui .sched tbody th{font:700 20px var(--f-head)}
body.sheet-ui .sched .price{font:700 26px var(--f-head);white-space:nowrap}
body.sheet-ui .sched .price small{font:400 13px var(--f-body);color:var(--ink-soft)}
body.sheet-ui .sched tr.rec{background:color-mix(in srgb,var(--gold) 13%,var(--paper))}
body.sheet-ui .sched tr.rec th small{display:block;font:500 12.5px var(--f-body);color:#8A6418}
body.sheet-ui .sched-note{font-size:14px;color:var(--ink-soft);margin:14px 0 0}
body.sheet-ui .sched-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}


/* footer as the title block of the sheet: brand · links · legal · accounts */
body.sheet-ui>footer:not(.site-foot){display:grid;grid-template-columns:1.3fr 1fr 2.5fr;grid-template-areas:"brand links legal" "social social social";border-top:2px solid var(--ink);padding:0;margin-top:0;font-size:15px;color:var(--ink)}
body.sheet-ui>footer:not(.site-foot)>span{grid-area:brand}body.sheet-ui>footer:not(.site-foot)>nav{grid-area:links}body.sheet-ui>footer:not(.site-foot)>.legal{grid-area:legal}body.sheet-ui>footer:not(.site-foot)>.social{grid-area:social}
body.sheet-ui>footer:not(.site-foot)>*{padding:16px 20px;border-inline-start:1px solid var(--ink);margin:0}
body.sheet-ui>footer:not(.site-foot)>*:first-child{border-inline-start:0}
body.sheet-ui>footer:not(.site-foot)>span{font:700 22px var(--f-head);display:block}
body.sheet-ui>footer:not(.site-foot)>span::before{content:"المشروع";display:block;font:400 13px var(--f-body);color:var(--ink-soft)}
body.sheet-ui>footer:not(.site-foot)>nav{display:flex;flex-direction:column;gap:2px}
body.sheet-ui>footer:not(.site-foot)>nav::before{content:"اللوحات";font-size:13px;color:var(--ink-soft)}
body.sheet-ui>footer:not(.site-foot)>nav a{text-decoration:none;padding:5px 0;color:var(--ink)}
body.sheet-ui>footer:not(.site-foot)>nav a:hover{text-decoration:underline}
body.sheet-ui>footer:not(.site-foot) .legal{font-size:14px;line-height:1.9;color:var(--ink-soft)}
body.sheet-ui>footer:not(.site-foot) .legal::before{content:"الملاحظات";display:block;font-size:13px;color:var(--ink-soft)}
body.sheet-ui>footer:not(.site-foot) .legal a{color:var(--ink)}
body.sheet-ui>footer:not(.site-foot) .social{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--ink);display:flex;align-items:center;gap:10px;padding:12px 20px}
body.sheet-ui>footer:not(.site-foot) .social-label{font-size:14px;color:var(--ink-soft)}
body.sheet-ui>footer:not(.site-foot) .social-link{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--rule);border-radius:4px;color:var(--ink)}
body.sheet-ui>footer:not(.site-foot) .social-link svg{width:20px;height:20px}
html[dir=ltr] body.sheet-ui>footer:not(.site-foot)>span::before{content:"Project"}
html[dir=ltr] body.sheet-ui>footer:not(.site-foot)>nav::before{content:"Sheets"}
html[dir=ltr] body.sheet-ui>footer:not(.site-foot) .legal::before{content:"Notes"}
@media(max-width:860px){body.sheet-ui>footer:not(.site-foot){grid-template-columns:1fr;grid-template-areas:"brand" "links" "legal" "social"}body.sheet-ui>footer:not(.site-foot)>*{border-inline-start:0;border-top:1px solid var(--ink)}body.sheet-ui>footer:not(.site-foot)>*:first-child{border-top:0}}
html[dir=ltr] body.sheet-ui{font-family:var(--f-body)}
body.sheet-ui .proto{display:none}
@media(prefers-reduced-motion:reduce){body.sheet-ui *{transition:none!important;animation:none!important}}

/* brief4 (28 Nov 2026): the drawing title-block labels above the footer columns (المشروع/اللوحات/الملاحظات) go;
   visitors read them as meaningless */
html body.sheet-ui>footer:not(.site-foot)>span::before,html body.sheet-ui>footer:not(.site-foot)>nav::before,html body.sheet-ui>footer:not(.site-foot) .legal::before{content:none!important;display:none!important}
/* tut1 (3 Dec 2026): «الدروس» only in the opened menu below 1200 px */
@media (max-width:1199px){.site-nav .nav-t:not(:checked)~.nav-links a[href$="/tutorials.php"]{display:none}}

/* dr2 (4 Dec 2026): the shared footer on the home page sits in the sheet frame like on the other pages */
html body.home-sheet>footer.site-foot{max-width:1280px!important;margin:0 auto!important;border:2px solid #123f35!important;padding:22px 40px 26px!important}
@media(max-width:560px){html body.home-sheet>footer.site-foot{padding:20px 14px 88px!important}}

/* stk1 (5 Dec 2026, Ali): the home header stays at the top while the page scrolls, with a solid fill. */
html:root body.sheet-ui>header{position:sticky;top:0;z-index:60;background-color:#edf0eb}
html{scroll-padding-top:96px}

/* ===== home-sheet.css ===== */
/* home-sheet.css (redesign phase 1, 24 Nov 2026; takeoff1 25 Nov): the home page on the sheet frame. The hero shows a villa in four sheets with the quantities counted from each. */
/* hero */
.hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:0;border-bottom:1px solid var(--ink)}
.hero-text{padding:64px 40px 48px;display:flex;flex-direction:column;gap:26px;border-inline-end:1px solid var(--ink)}
.hero h1{font-size:clamp(34px,4.3vw,58px);letter-spacing:0}
.hero h1 span{display:block}
.hero p.lead{font-size:19px;max-width:30em;margin:0;color:var(--ink-soft)}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.fine{font-size:14px;color:var(--ink-soft);margin:0}
.hero-draw{position:relative;padding:28px 28px 20px;display:flex;flex-direction:column;gap:14px;background:var(--paper)}
.draw-head{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;color:var(--ink-soft)}
.draw-head b{font:700 15px var(--f-head);color:var(--ink)}
@media(max-width:980px){.hero{grid-template-columns:1fr}.hero-text{border-inline-end:0;border-bottom:1px solid var(--ink);padding:40px 20px 34px}.hero-draw{padding:18px 12px}}

/* the sheets (takeoff1, 25 Nov 2026): one villa in four sections, drawn from its own DXF; classes are tk- prefixed */
.tk-pick{display:flex;align-items:center;gap:8px;font:700 13px var(--f-body);color:var(--ink)}
.tk-pick select{font:500 14px var(--f-body);color:var(--ink);background:var(--paper);border:1px solid var(--ink);border-radius:0;padding:5px 10px;cursor:pointer}
.draw-head{align-items:center}
.tk-box{position:relative;background:#fff;border:1px solid var(--ink);aspect-ratio:3480/3120}
.tk-box[data-sheet=struct]{aspect-ratio:3802/3412}.tk-box[data-sheet=elec]{aspect-ratio:3443/3050}.tk-box[data-sheet=plumb]{aspect-ratio:3663/3094}
.tk-box svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.tk-plan path{fill:none;stroke:var(--ink);stroke-width:.9;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.tk-plan .tk-walls{fill:#cfd6d1;stroke-width:1.1}
.tk-plan .tk-colfill{fill:var(--ink);stroke:none}
.tk-plan .tk-furn{stroke:#7b8882;stroke-width:.55}.tk-plan .tk-stair,.tk-plan .tk-misc{stroke:#5d6b65;stroke-width:.55}.tk-plan .tk-wins{stroke-width:.7}.tk-plan .tk-doors{stroke-width:.8}
.tk-plan .tk-room{fill:transparent;stroke:none;transition:fill .15s}
.tk-plan .tk-rn{font:700 40px var(--f-head);text-anchor:middle;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:9px;stroke-linejoin:round}
.tk-plan .tk-ra{font:500 28px var(--f-body);text-anchor:middle;fill:var(--ink-soft);paint-order:stroke;stroke:#fff;stroke-width:8px;stroke-linejoin:round}
.tk-plan .tk-rn.tk-sm{font-size:24px}.tk-plan .tk-ra.tk-sm{font-size:20px}
.tk-plan .tk-g-marks circle{fill:#fff;stroke:var(--ink);stroke-width:2}
.tk-plan .tk-g-marks text{font:500 22px var(--f-dim);text-anchor:middle;fill:var(--ink)}
.tk-plan .tk-bg{stroke:#75837d;stroke-width:.7}.tk-plan .tk-bg-fill{fill:#c9d1cc;stroke:none}
.tk-plan .tk-grid{stroke:#a9b4af;stroke-width:.5;stroke-dasharray:14 5 3 5}
.tk-plan .tk-wire{stroke:#6d7b75;stroke-width:.6;stroke-dasharray:5 4}
.tk-plan .tk-misc-fill,.tk-plan .tk-fdfill-fill,.tk-plan .tk-wire-fill{fill:var(--ink-soft);stroke:none}
.tk-plan .tk-el path{stroke-width:1}.tk-plan .tk-el .tk-sf{fill:var(--ink);stroke:none}
.tk-plan .tk-colring,.tk-plan .tk-mhring{stroke-width:.8}
.tk-plan-struct .tk-el[data-g=pcc] path{stroke:#7b8882;stroke-dasharray:6 4;stroke-width:.7}.tk-plan-struct .tk-el[data-g=col] path{fill:var(--ink)}
.tk-plan-plumb .tk-el[data-g=pipe] path{stroke-width:1.5}
.tk-plan .tk-tl{font:700 26px var(--f-body);text-anchor:middle;fill:var(--ink-soft)}
/* a bill row lights its elements */
.tk-plan.tk-hl-floor .tk-room,.tk-plan .tk-room.tk-on{fill:color-mix(in srgb,var(--cad) 28%,transparent)}
.tk-plan.tk-hl-skirt .tk-room{fill:none;stroke:var(--cad);stroke-width:9}
.tk-plan.tk-hl-walls .tk-walls{fill:var(--cad)}
.tk-plan.tk-hl-doors .tk-md circle,.tk-plan.tk-hl-wins .tk-mw circle{fill:var(--cad);stroke:var(--cad)}
.tk-plan.tk-hl-doors .tk-md text,.tk-plan.tk-hl-wins .tk-mw text{fill:#fff}
.tk-plan.tk-hl-doors .tk-doors,.tk-plan.tk-hl-wins .tk-wins{stroke:var(--cad);stroke-width:2.2}
.tk-plan.tk-lit .tk-el:not(.tk-on){opacity:.28}.tk-plan.tk-lit .tk-tl{opacity:.35}
.tk-plan .tk-el.tk-on path{stroke:var(--cad);stroke-width:2.6}.tk-plan .tk-el.tk-on .tk-sf{fill:var(--cad);stroke:none}
.tk-plan-struct .tk-el.tk-on[data-g=foot] path,.tk-plan-struct .tk-el.tk-on[data-g=pcc] path,.tk-plan-plumb .tk-el.tk-on[data-g=mh] path{fill:color-mix(in srgb,var(--cad) 25%,transparent)}
.tk-plan-struct .tk-el.tk-on[data-g=col] path{fill:var(--cad)}
/* in the hero the sheet is small: room names only, at a size that reads; the try screen keeps every label and zooms */
.tk-box .tk-plan .tk-rn{font-size:60px}.tk-box .tk-plan .tk-rn.tk-md{font-size:42px}
.tk-box .tk-plan .tk-ra,.tk-box .tk-plan .tk-rn.tk-sm,.tk-box .tk-plan .tk-g-marks text,.tk-box .tk-plan .tk-tl{display:none}
@media(max-width:560px){.tk-box .tk-plan .tk-rn{display:none}.tk-box .tk-plan .tk-rn.tk-lg{display:block;font-size:92px}}
/* design review, 25 Nov 2026 */
body.sheet-ui .device .cut p{color:#B9CCC3}
.proof b{font-size:clamp(30px,4.4vw,46px);white-space:nowrap}
.learn-all{display:inline-flex;align-items:center;min-height:44px}
.scope-note .scope-help a,.scope-note .help-links a{display:inline-block;padding:11px 0}
@media(max-width:980px){.tk-pick select,.tk-try{min-height:44px}}
@media(max-width:560px){.draw-head{flex-direction:column;align-items:stretch;gap:10px}.tk-headr{justify-content:space-between;flex-wrap:nowrap}.tk-pick{flex:1}.tk-pick select{flex:1;min-width:0}}

/* quantities under the sheet */
.boq{border:1px solid var(--ink);background:var(--film)}
.boq table{width:100%;border-collapse:collapse;font-size:14px}
.boq th{font:700 12.5px var(--f-body);color:var(--ink-soft);text-align:start;padding:7px 10px;border-bottom:1px solid var(--ink)}
.boq td{padding:6px 10px;border-top:1px solid var(--grid);font-variant-numeric:tabular-nums}
.boq td.n,.boq th.n{text-align:end;white-space:nowrap;font-family:var(--f-dim)}
.boq tbody[hidden]{display:none}
.boq tr.tk-row{cursor:default;transition:background .2s}
.boq tr.tk-row:hover,.boq tr.tk-row:focus-visible,.boq tr.tk-row.tk-on{background:color-mix(in srgb,var(--cad) 14%,transparent)}
.boq-note{font-size:12.5px;color:var(--ink-soft);margin:0}
.tk-hint{font-size:13.5px;color:var(--ink);margin:0;font-weight:600}
/* clear1: the sheet-index marks (letter over number, sheet codes) told a visitor nothing */
.part .cut>svg,.home-route .cut>svg{display:none}
table.index th:first-child,table.index td.no{display:none}
@media(max-width:860px){body.sheet-ui .index tr.r{grid-template-columns:1fr}}
.cut .pt-what{margin-top:6px}
/* paths1: a price given in words is not set at the size of the numeric prices */
body.sheet-ui .sched tbody tr:last-child td.price{font-size:17px;font-weight:600}
/* proof1: the comparison as two named rows; the bar lengths are the two totals (328 and 319.6 m2) */
.proof-cmp{margin-top:22px;display:grid;gap:10px}
.pc-row{display:grid;grid-template-columns:11em minmax(0,1fr) 6em;align-items:center;gap:14px;font-size:15px}
.pc-name{color:var(--ink)}
.pc-track{display:block;height:16px}
.pc-bar{display:block;height:100%;border:1.5px solid var(--ink)}
.pc-ref{width:100%}
.pc-app{width:97.4%;border-color:var(--cad);background:repeating-linear-gradient(135deg,transparent 0 4px,var(--cad) 4px 5.2px)}
.pc-row b{font:500 15px var(--f-dim);direction:ltr;unicode-bidi:plaintext;text-align:end;white-space:nowrap}
@media(max-width:560px){.pc-row{grid-template-columns:1fr auto;gap:4px 10px}.pc-track{grid-column:1/-1;grid-row:2}}
@media(max-width:560px){.boq table{font-size:13px}}


/* «جرّب بنفسك» (takeoff2, 25 Nov 2026): a simplified copy of the program's take-off screen over the same sheets. Its colours are the program's own. */
.tk-try{font:700 13px var(--f-body);background:transparent;color:var(--ink);border:1.5px solid var(--ink);padding:6px 14px;cursor:pointer} /* ux1: outlined, so the download stays the one filled button */
.tk-try:hover,.tk-try:focus-visible{background:var(--ink);color:var(--film)}
.tk-headr{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
html.tx-open{overflow:hidden}
.tx{--s:#fff;--s2:#f6f7f4;--i:#1b2a25;--m:#44544e;--l:#d5dbd6;--a:#123f35;--ok:#2c7a4b;position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;background:var(--s);color:var(--i);font:400 13px/1.5 var(--f-body)}
.tx[hidden]{display:none}
.tx button,.tx select{font:inherit;color:inherit}
.tx-top{display:flex;align-items:center;gap:12px;min-height:46px;padding:6px 12px;border-bottom:1px solid var(--l)}
.tx-app{font:700 15px var(--f-head);white-space:nowrap}
.tx-crumb{color:var(--m);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx .tx-dl{color:var(--a);font-weight:700;white-space:nowrap}
.tx .tx-close{background:var(--a);color:#fff;border:0;border-radius:7px;padding:7px 16px;font-weight:700;cursor:pointer}
.tx-rib{display:flex;align-items:stretch;gap:0;padding:5px 8px 3px;background:var(--s2);border-bottom:1px solid var(--l);overflow-x:auto}
.tx-pick{display:flex;flex-direction:column-reverse;align-items:center;justify-content:space-between;gap:2px;padding:0 10px;font-size:11px;color:var(--m)}
.tx-sec{border:1px solid var(--l);background:var(--s);color:var(--a);font-weight:700;font-size:13.5px;padding:6px 12px;border-radius:7px;cursor:pointer}
.tx-rg{display:flex;flex-direction:column;align-items:center;padding:0 8px;border-inline-start:1px solid var(--l);flex:none}
.tx-btns{display:flex;gap:2px;flex:1}
.tx-rl{font-size:11px;color:var(--m);white-space:nowrap}
.tx-rb{position:relative;min-width:52px;padding:5px 6px 3px;display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid transparent;border-radius:7px;background:transparent;cursor:pointer;font-size:11.5px;line-height:1.2;white-space:nowrap}
.tx-rb:hover{background:var(--s);border-color:var(--l)}
.tx-rb.on{background:color-mix(in srgb,var(--a) 14%,var(--s));border-color:color-mix(in srgb,var(--a) 45%,var(--l));color:var(--a)}
.tx-rb:disabled{opacity:.35;cursor:default}.tx-rb:disabled:hover{background:transparent;border-color:transparent}
.tx-rb[data-k]::after{content:attr(data-k);position:absolute;top:1px;inset-inline-end:3px;font:600 10px/1 var(--f-dim);opacity:.7}
.tx-ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tx-opt{display:flex;align-items:center;min-height:34px;padding:3px 12px;border-bottom:1px solid var(--l);font-size:12.5px;gap:12px}
.tx-opt-tool{color:var(--ok);white-space:nowrap;padding-inline-end:12px;border-inline-end:1px solid var(--l)}
.tx-opt-hint{flex:1;min-width:0;color:var(--m);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-info{font-weight:700;white-space:nowrap;display:flex;gap:6px;align-items:baseline}.tx-iq{font-family:var(--f-dim)}
.tx-body{flex:1;min-height:0;display:grid;grid-template-columns:330px minmax(0,1fr)}
.tx-list{display:flex;flex-direction:column;gap:8px;padding:10px;border-inline-end:1px solid var(--l);min-height:0}
.tx-lb{display:flex;align-items:baseline;gap:8px}.tx-lt{font-size:15px;flex:1}.tx-ll{font-size:12px;color:var(--m)}
.tx-empty{margin:0;color:var(--m);font-size:13px;border:1px dashed var(--l);border-radius:10px;padding:12px}
.tx-empty[hidden]{display:none}
.tx-cards{list-style:none;margin:0;padding:0;overflow:auto;flex:1;display:flex;flex-direction:column;gap:8px}
.tx-m{border:1px solid var(--l);border-radius:10px;padding:9px 10px;display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center}
.tx-m.done{border-color:color-mix(in srgb,var(--ok) 55%,var(--l));background:color-mix(in srgb,var(--ok) 6%,var(--s))}
.tx-dot{width:12px;height:12px;border-radius:50%;background:#1A7F93}
.tx-dot[data-c="0"]{background:#e8862a}.tx-dot[data-c="1"]{background:#2d7fd3}.tx-dot[data-c="2"]{background:#2aa35a}.tx-dot[data-c="3"]{background:#d33f8a}.tx-dot[data-c="4"]{background:#8a5bd6}.tx-dot[data-c="6"]{background:#c99a3e}.tx-dot[data-c="7"]{background:#4b6b61}
.tx-nm{font-weight:700;font-size:14px}
.tx-q{display:flex;align-items:baseline;gap:5px;color:var(--m);font-size:12.5px}.tx-q b{font:700 15px var(--f-dim);color:var(--i)}
.tx-ok{color:var(--ok);font-weight:700}
.tx-foot{border-top:1px solid var(--l);padding-top:8px;display:flex;flex-direction:column;gap:8px}
.tx-note{margin:0;font-size:12.5px;color:var(--m)}
.tx .tx-cta{display:block;text-align:center;background:var(--a);color:#fff;border-radius:8px;padding:9px 12px;font-weight:700;text-decoration:none}
.tx-canvas{position:relative;background:#f4f5f2;display:flex;flex-direction:column;min-width:0;min-height:0}
.tx-stage{flex:1;min-height:0;position:relative;cursor:crosshair;touch-action:none;overflow:hidden}
.tx-stage.drag{cursor:grabbing}
.tx-stage svg{position:absolute;inset:0;width:100%;height:100%;display:block;background:#fff}
.tx-zoom{position:absolute;bottom:46px;inset-inline-end:12px;display:flex;flex-direction:column;gap:4px}
.tx-zoom button{width:38px;height:38px;border:1px solid var(--l);background:var(--s);border-radius:8px;font:600 18px/1 var(--f-body);cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.tx-sb{display:flex;gap:6px;justify-content:flex-end;padding:5px 10px;border-top:1px solid var(--l);background:var(--s2);direction:ltr}
.tx-sb span{border:1px solid var(--l);border-radius:7px;background:var(--s);padding:3px 9px;font:500 12px var(--f-dim);color:var(--m)}
/* what can be measured answers the pointer; what has been measured stays coloured */
.tx-plan .tx-hit{stroke:transparent!important;fill:transparent!important;stroke-width:34!important;vector-effect:none!important;stroke-dasharray:none!important}
.tx-plan [data-q]{cursor:pointer}
.tx-plan .tk-g-labels{pointer-events:none}
.tx-plan .tk-room:hover{fill:color-mix(in srgb,var(--cad) 14%,transparent)}
.tx-plan .tk-room.tx-sel{fill:color-mix(in srgb,#e8862a 34%,transparent);stroke:#e8862a;stroke-width:5}
.tx-plan .tk-md.tx-sel circle{fill:#2aa35a;stroke:#2aa35a}.tx-plan .tk-mw.tx-sel circle{fill:#d33f8a;stroke:#d33f8a}
.tx-plan .tk-md.tx-sel text,.tx-plan .tk-mw.tx-sel text{fill:#fff}
.tx-plan .tk-g-marks g:hover circle{stroke:var(--cad);stroke-width:4}
.tx-plan .tk-el:hover path:not(.tx-hit){stroke:var(--cad);stroke-width:2.2}
.tx-plan .tk-el.tx-sel path:not(.tx-hit){stroke:#e8862a;stroke-width:2.8}.tx-plan .tk-el.tx-sel .tk-sf{fill:#e8862a}
.tx-plan.tk-plan-struct .tk-el.tx-sel[data-g=foot] path:not(.tx-hit),.tx-plan.tk-plan-struct .tk-el.tx-sel[data-g=pcc] path:not(.tx-hit),.tx-plan.tk-plan-plumb .tk-el.tx-sel[data-g=mh] path:not(.tx-hit){fill:color-mix(in srgb,#e8862a 26%,transparent)}
.tx-plan.tk-plan-struct .tk-el.tx-sel[data-g=col] path:not(.tx-hit){fill:#e8862a}
.tx[data-tool=select] .tx-stage{cursor:default}
@media(max-width:820px){.tx-body{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.tx-list{order:2;border-inline-end:0;border-top:1px solid var(--l);max-height:38vh}.tx-canvas{order:1}
 .tx-crumb,.tx-dl,.tx-note,.tx-opt-hint{display:none}.tx-opt{justify-content:space-between}.tx-rb{min-width:46px}.tx-rb[data-k]::after{display:none}.tx-foot{border-top:0;padding-top:0}}

/* wheel1 (25 Nov 2026): on large screens with a mouse, the wheel over the drawing walks through the rows and sections (home-sheet.js);
   a thin rail shows where the visitor is. The page itself never pins. */
.tk-rail,.tk-whint{display:none}
.hero.tk-wheel .tk-rail{display:flex;gap:6px}
.hero.tk-wheel .tk-whint{display:block;margin:-6px 0 0;font-size:12.5px;color:var(--ink-soft)}
.tk-rail i{flex:1;height:3px;background:color-mix(in srgb,var(--ink) 15%,transparent);position:relative;overflow:hidden}
.tk-rail i.done{background:var(--ink)}
.tk-rail i.on::after{content:"";position:absolute;inset:0;background:var(--ink);transform-origin:right;transform:scaleX(var(--p,0));transition:transform .2s}


/* two paths drawn as two sections A-A and B-B */
.paths{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--ink);background:var(--paper)}
.path{padding:30px 30px 34px}
.path+.path{border-inline-start:1px solid var(--ink)}
.path .lbl{font:500 13px var(--f-dim);color:var(--cad)}
.path h3{font-size:26px;margin:6px 0 14px}
.path ul{margin:0;padding:0;list-style:none}
.path li{padding:12px 0;border-top:1px dashed var(--rule)}
.path li:first-child{border-top:0}
.path svg{width:100%;height:120px;margin-bottom:12px}
@media(max-width:860px){.paths{grid-template-columns:1fr}.path+.path{border-inline-start:0;border-top:1px solid var(--ink)}.path{padding:22px 18px}}


/* proof: a dimension line between two takeoffs */
.proof{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--ink);background:var(--paper)}
.proof div{padding:26px 28px}
.proof div+div{border-inline-start:1px solid var(--rule)}
.proof b{display:block;font:700 46px/1.1 var(--f-head);direction:ltr;unicode-bidi:plaintext;text-align:start}
.proof span{color:var(--ink-soft);font-size:15px}
.proof-line{margin-top:22px}
.proof-line svg{width:100%;height:96px}
.proof-note{font-size:14px;color:var(--ink-soft);margin:14px 0 0;max-width:62em}
@media(max-width:760px){.proof{grid-template-columns:1fr}.proof div+div{border-inline-start:0;border-top:1px solid var(--rule)}}


/* on your device: the one inverted sheet */
.device{background:var(--ink);color:var(--film);
 background-image:linear-gradient(rgba(237,240,235,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(237,240,235,.08) 1px,transparent 1px);background-size:24px 24px}
.device .cut p{color:#B9CCC3}
.device-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:48px;align-items:center}
.device ul{list-style:none;padding:0;margin:0}
.device li{padding:14px 0;border-top:1px solid rgba(237,240,235,.22);font-size:17px}
.device li b{display:block;font-family:var(--f-head);font-size:19px}
.device svg{width:100%;height:auto}
@media(max-width:860px){.device-grid{grid-template-columns:1fr;gap:20px}}


/* homeowner */
.home-route{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:center}
.home-route p{color:var(--ink-soft);margin:0 0 20px;max-width:34em}
.home-route svg{width:100%;height:auto}
@media(max-width:860px){.home-route{grid-template-columns:1fr}}


html[dir=ltr] .area{direction:ltr}
/* tutorials strip and the scope notes, carried over from the old home */
.learn-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.learn-head p{margin:4px 0 0;color:var(--ink-soft);font-size:16px}
.learn-all{white-space:nowrap;font-weight:700;text-decoration:none;border-bottom:2px solid var(--gold);padding-bottom:2px}
.learn-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.learn-card{display:block;background:var(--paper);border:1px solid var(--ink);color:inherit;text-decoration:none;transition:transform .15s}
.learn-card:hover,.learn-card:focus-visible{transform:translateY(-2px)}
.learn-poster{position:relative;display:block;aspect-ratio:16/9;background:#123f35;border-bottom:1px solid var(--ink)}
.learn-poster img{display:block;width:100%;height:100%;object-fit:cover}
.learn-time{position:absolute;bottom:8px;inset-inline-start:8px;background:var(--paper);color:var(--ink);font:500 12px var(--f-dim);padding:2px 8px;border:1px solid var(--ink)}
.learn-card b{display:block;padding:12px 16px 2px;font:700 16px var(--f-head)}
.learn-desc{display:block;padding:0 16px 14px;font-size:14px;color:var(--ink-soft);line-height:1.8}
.scope-note{padding:26px 40px 34px;border-bottom:1px solid var(--ink);font-size:14.5px;color:var(--ink-soft)}
.scope-note .scope-help{margin:0 0 10px}
.scope-note details{background:var(--paper);border:1px solid var(--rule);padding:0 14px;margin:0 0 10px}
.scope-note summary{cursor:pointer;padding:10px 0;font-weight:700;color:var(--ink)}
.scope-note .help-links{display:flex;gap:18px;flex-wrap:wrap}
.scope-note .help-links a{color:var(--ink)}
@media(max-width:760px){.scope-note{padding:20px 18px}}

/* fork1 (27 Nov 2026): the routes table as a two-way fork; a group row is a ruled header across the table */
body.sheet-ui table.index tr.grp th{display:table-cell;font:700 16px var(--f-head);color:var(--ink);background:var(--film-2);text-align:start;padding:10px 18px;border-top:1px solid var(--ink);border-bottom:1px solid var(--rule)}
@media(max-width:860px){body.sheet-ui .index tr.grp{display:block}body.sheet-ui table.index tr.grp th{display:block;padding:10px 14px}}

/* distill1 (27 Nov 2026): «مشروعك على جهازك» as a light ruled band; the one dark band closes the page */
.devsec{background:var(--paper);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.devsec ul{list-style:none;padding:0;margin:0}
.devsec li{padding:14px 0;border-top:1px solid var(--rule);font-size:17px}
.devsec li b{display:block;font-family:var(--f-head);font-size:19px}
.devsec svg{width:100%;height:auto}
.closing .cut{margin-bottom:18px}
.closing .cut p{max-width:44em}
body.sheet-ui .closing .btn.solid{background:#d8b26a;border-color:#d8b26a;color:#0c2d26}
body.sheet-ui .closing .btn.solid:hover{background:#e6c88c;border-color:#e6c88c}
body.sheet-ui .closing .btn.line{background:transparent;border-color:var(--film);color:var(--film)}
body.sheet-ui .closing .btn.line:hover{background:rgba(237,240,235,.12)}
body.sheet-ui .closing .btn:focus-visible{outline:3px solid #d8b26a;outline-offset:3px}

/* en2 (27 Nov 2026): English reading measure for the two long notes; no one-word last lines */
html[lang="en"] body.sheet-ui .sched-note,html[lang="en"] body.sheet-ui .home-route p{max-width:68ch}
body.sheet-ui main p,body.sheet-ui main li{text-wrap:pretty}

/* polish1 (27 Nov 2026): lane labels in Arabic type and Gold Ink; one instruction in wheel mode; balanced headings */
body.sheet-ui .path .lbl{font:700 13px var(--f-body);color:#8f6318}
.hero.tk-wheel .tk-hint{display:none}
body.sheet-ui main h2,body.sheet-ui main h3{text-wrap:balance}

/* rasm1 (27 Nov 2026): the home figures are the demo villa's own sheets (cropped <img> + marks in the same viewBox) */
body.sheet-ui .vfig{position:relative;margin:0;width:100%;border:1px solid var(--rule);background:#fffefa}
body.sheet-ui .vfig img,body.sheet-ui .vfig svg{position:absolute;inset:0;width:100%;height:100%;margin:0;display:block}
body.sheet-ui .vfig.vk{aspect-ratio:2200/880}body.sheet-ui .vfig.vg{aspect-ratio:3480/3120}
body.sheet-ui .vlane{margin-bottom:16px}
body.sheet-ui .vboq{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;border-top:2px solid var(--ink)}
body.sheet-ui .vboq th{font-weight:600;font-size:12.5px;color:var(--ink-soft);text-align:start;padding:6px 4px;border-bottom:1px solid var(--ink)}
body.sheet-ui .vboq td{padding:6px 4px;border-bottom:1px solid var(--rule)}
body.sheet-ui .vboq .n{font-family:var(--f-dim);text-align:end;color:#8f6318;font-weight:700;direction:ltr}
body.sheet-ui .vboq .vp{display:block;height:10px;min-width:56px;background:repeating-linear-gradient(45deg,#C99A3E 0 2px,transparent 2px 7px);opacity:.7}
body.sheet-ui .vcap{font-size:14px;margin:10px 0 0;color:var(--ink-soft)}
body.sheet-ui .vstack{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.sheet-ui .vstack figure{margin:0;border:1px solid var(--rule);background:#fffefa;padding:6px}
body.sheet-ui .vstack img{width:100%;aspect-ratio:1/1;object-fit:contain;display:block}
body.sheet-ui .vstack figcaption{font-size:12.5px;border-top:1px solid var(--rule);padding-top:5px;margin-top:4px}

/* steps1 (27 Nov 2026): the program as four numbered steps, each beside its silent loop; owners' rows with theirs */
body.sheet-ui .steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:34px 30px}
body.sheet-ui .step{display:flex;flex-direction:column;gap:14px}
body.sheet-ui .step .loop{order:-1}
body.sheet-ui .step .sn{display:inline-block;font:700 14px var(--f-dim);color:#8f6318;margin-inline-end:10px}
body.sheet-ui .step h3{display:inline;font:700 21px var(--f-head);margin:0}
body.sheet-ui .step p{margin:8px 0 0;font-size:15.5px;line-height:1.8}
body.sheet-ui .loop{margin:0;border:1px solid var(--ink);box-shadow:0 5px 0 var(--ink);background:#EDF0EB;aspect-ratio:16/9}
body.sheet-ui .loop video{display:block;width:100%;height:100%;object-fit:cover}
body.sheet-ui .idea-row{margin-top:36px;padding-top:30px;border-top:1px solid var(--rule)}
body.sheet-ui .idea-row h3{font:700 22px var(--f-head);margin:0 0 8px}
@media(max-width:860px){body.sheet-ui .steps{grid-template-columns:1fr;gap:28px}body.sheet-ui .idea-row .loop{order:-1}}

/* distill2 (27 Nov 2026): routes as cards; the reads section with «مشروعك على جهازك» as its third column */
body.sheet-ui .routes{display:grid;grid-template-columns:1fr 3fr;border:1px solid var(--ink);background:var(--paper)}
body.sheet-ui .rgp+.rgp{border-inline-start:1px solid var(--ink)}
body.sheet-ui .routes .gh{margin:0;padding:10px 18px;font:700 15px var(--f-head);background:var(--film-2);border-bottom:1px solid var(--ink)}
body.sheet-ui .rcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
body.sheet-ui .rc{position:relative;display:flex;flex-direction:column;gap:8px;padding:18px 18px 20px}
body.sheet-ui .rcs .rc+.rc{border-inline-start:1px solid var(--rule)}
body.sheet-ui .rc h3{font-size:20px;margin:0}body.sheet-ui .rc h3 a{text-decoration:none}body.sheet-ui .rc h3 a::after{content:"";position:absolute;inset:0}
body.sheet-ui .rc p{margin:0;color:var(--ink-soft);font-size:15px;line-height:1.75}body.sheet-ui .rc .who{font-size:13.5px;flex:1}
body.sheet-ui .rc .btn{position:relative;z-index:1;align-self:flex-start}
body.sheet-ui .rc:hover{background:color-mix(in srgb,var(--gold) 10%,var(--paper))}
body.sheet-ui .reads{grid-template-columns:repeat(3,minmax(0,1fr))}
body.sheet-ui .reads>.rdev{background:var(--paper)}body.sheet-ui .reads .rlead{margin:0 0 4px;color:var(--ink-soft);font-size:15px}
@media(max-width:860px){body.sheet-ui .routes,body.sheet-ui .rcs{grid-template-columns:1fr}body.sheet-ui .rgp+.rgp{border-inline-start:0;border-top:1px solid var(--ink)}body.sheet-ui .rcs .rc+.rc{border-inline-start:0;border-top:1px solid var(--rule)}body.sheet-ui .reads{grid-template-columns:1fr}body.sheet-ui .reads>.rdev{border-inline-start:0;border-top:1px solid var(--ink)}}

/* plans1 (27 Nov 2026): on phones a one-line-per-plan summary and a link to /pricing.php instead of the five plan cards */
body.sheet-ui .sched-sum{display:none}
@media(max-width:760px){html body.sheet-ui .sched-wrap{display:none}html body.sheet-ui .sched-sum{display:block;border:1px solid var(--ink);background:var(--paper)}
body.sheet-ui .sched-sum ul{list-style:none;margin:0;padding:0}
body.sheet-ui .sched-sum li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 16px;border-bottom:1px solid var(--rule)}
body.sheet-ui .sched-sum .pn{font:700 17px var(--f-head)}body.sheet-ui .sched-sum .pp{text-align:end}
body.sheet-ui .sched-sum .pp b{font-size:18px;color:#8f6318}body.sheet-ui .sched-sum .u{font-size:13px;color:var(--ink-soft)}
body.sheet-ui .sched-sum small{display:block;font-size:12.5px;color:var(--ink-soft)}
body.sheet-ui .sched-sum .more{display:block;padding:12px 16px;font-weight:700}}

/* watch1 (27 Nov 2026): the lesson player on the home page becomes one ruled band linking to /tutorials.php */
body.sheet-ui .watch-link .wl{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:22px 0}
body.sheet-ui .watch-link h2{margin:0 0 4px;font-size:24px}body.sheet-ui .watch-link p{margin:0;color:var(--ink-soft)}
body.sheet-ui .watch-link .btn{flex:none}
@media(max-width:760px){body.sheet-ui .watch-link .wl{flex-direction:column;align-items:flex-start}}

/* order1 (27 Nov 2026): the taste skill's order; the lessons line in the steps, the proof as one sentence, the limits with the owners */
body.sheet-ui .watch-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:34px;padding-top:20px;border-top:1px solid var(--rule)}
body.sheet-ui .watch-line p{margin:0;color:var(--ink-soft)}body.sheet-ui .watch-line .btn{flex:none}
body.sheet-ui .proof-lead{font:600 19px/1.8 var(--f-body);max-width:46em;margin:0 0 22px}
body.sheet-ui .home-limits{margin-top:28px}
@media(max-width:760px){body.sheet-ui .watch-line{flex-direction:column;align-items:flex-start}body.sheet-ui .proof-lead{font-size:17px}}

/* steps2 (27 Nov 2026): desktop = numbered list beside one large frame (html.st-js); phones keep a loop under each step */
body.sheet-ui .st-b{all:unset;cursor:pointer;font:inherit;color:inherit}
body.sheet-ui .st-b:focus-visible{outline:2px solid var(--cad);outline-offset:4px}
@media(min-width:861px){
 html.st-js body.sheet-ui .steps{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:0 44px;align-items:start}
 html.st-js body.sheet-ui .step{display:contents}
 html.st-js body.sheet-ui .step .stx{grid-column:1;padding:18px 0 18px;border-top:1px solid var(--rule);opacity:.5;cursor:pointer;transition:opacity .2s}
 html.st-js body.sheet-ui .step:nth-child(1) .stx{grid-row:1}html.st-js body.sheet-ui .step:nth-child(2) .stx{grid-row:2}
 html.st-js body.sheet-ui .step:nth-child(3) .stx{grid-row:3}html.st-js body.sheet-ui .step:nth-child(4) .stx{grid-row:4;border-bottom:1px solid var(--rule)}
 html.st-js body.sheet-ui .step .stx:hover{opacity:.8}
 html.st-js body.sheet-ui .step.on .stx{opacity:1;border-top:2px solid var(--ink)}
 html.st-js body.sheet-ui .step .stx p{display:none}html.st-js body.sheet-ui .step.on .stx p{display:block}
 html.st-js body.sheet-ui .step .loop{order:0;grid-column:2;grid-row:1 / span 4;align-self:start;visibility:hidden;opacity:0;transition:opacity .25s}
 html.st-js body.sheet-ui .step.on .loop{visibility:visible;opacity:1}
}

/* phone1 (27 Nov 2026): portrait loop twins on phones (4:5), the wide loops above 860 px */
html body .loop video.lv.lv-p{display:none}
@media(max-width:860px){html body .loop video.lv:not(.lv-p){display:none}html body .loop video.lv.lv-p{display:block;width:100%;height:100%;object-fit:cover}html body .loop{aspect-ratio:4/5}}

/* brief1 (28 Nov 2026): the home page speaks less and larger: bigger headings, one quiet line under each, wider sections,
   the test as three large figures. */
body.sheet-ui section.part{padding-block:104px}
body.sheet-ui .cut h2{font-size:clamp(32px,4.2vw,56px);line-height:1.15;letter-spacing:0}
body.sheet-ui .cut p{font-size:clamp(17px,1.5vw,20px);max-width:36em;margin-top:12px}
.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.15}
.hero p.lead{font-size:clamp(18px,1.6vw,22px);max-width:26em}
body.sheet-ui .steps h3{font-size:clamp(20px,1.8vw,26px)}
.proof-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:40px 0 8px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.proof-stats>div{display:flex;flex-direction:column-reverse;gap:6px;padding:28px 24px}
.proof-stats>div+div{border-inline-start:1px solid var(--ink)}
.proof-stats dd{margin:0;font:700 clamp(48px,6vw,88px)/1 var(--f-head);color:var(--ink);direction:ltr;text-align:start;unicode-bidi:plaintext}
.proof-stats dt{font-size:15px;color:var(--ink-soft)}
@media(min-width:761px){html body.sheet-ui .sched-sum{display:block;border:1px solid var(--ink);background:var(--paper)}html body.sheet-ui .sched-sum ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:0;padding:0;width:100%;max-width:none!important}html body.sheet-ui .sched-sum .pn{font:700 18px var(--f-head)}html body.sheet-ui .sched-sum small{display:block;font-size:13px;color:var(--ink-soft);margin-top:4px}html body.sheet-ui .sched-sum .pp b:not(.num){font:700 22px var(--f-head);color:#8f6318}html body.sheet-ui .sched-sum .u{font-size:13px;color:var(--ink-soft)}html body.sheet-ui .sched-sum li{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:24px 20px;border-bottom:0}html body.sheet-ui .sched-sum li+li{border-inline-start:1px solid var(--rule)}html body.sheet-ui .sched-sum .pp{text-align:start}html body.sheet-ui .sched-sum .pp b.num{font:700 clamp(30px,3vw,44px)/1 var(--f-head);color:#8f6318}html body.sheet-ui .sched-sum .pp .u{display:block;margin-top:6px}html body.sheet-ui .sched-sum .more{display:block;font-weight:700;padding:16px 20px;border-top:1px solid var(--ink)}}
@media(max-width:760px){body.sheet-ui section.part{padding-block:64px}.proof-stats{grid-template-columns:1fr}.proof-stats>div{padding:20px 4px}.proof-stats>div+div{border-inline-start:0;border-top:1px solid var(--rule)}}

/* brief2 (28 Nov 2026): brief1's heading sizes, with !important to pass the site type scale */
html body.sheet-ui main .cut h2{font-size:clamp(26px,4.2vw,56px)!important;line-height:1.15}
html body.sheet-ui main .hero h1{font-size:clamp(34px,3.5vw,50px)!important;line-height:1.15}

/* mob2 (28 Nov 2026): on phones Safari let the videos' width attributes widen the one-column steps grid past the screen;
   the column may shrink to the screen and nothing inside may exceed it */
@media(max-width:860px){html body ol.steps{grid-template-columns:minmax(0,1fr)!important}html body ol.steps>li,html body ol.steps .stx,html body .loop{min-width:0;max-width:100%}html body .loop,html body.sheet-ui .loop{aspect-ratio:4/5!important;width:100%;box-sizing:border-box;overflow:hidden}html body .loop video{max-width:100%;min-width:0}}

/* brief3 (28 Nov 2026): the home page as introduction and doors */
.doors-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--ink);border:1px solid var(--ink);margin-top:36px}
.door{display:flex;flex-direction:column;gap:8px;padding:0 0 24px;background:var(--paper);color:var(--ink);text-decoration:none;min-width:0}
.door img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-bottom:1px solid var(--ink);background:#EDF0EB}
.door b{font:700 clamp(19px,1.6vw,23px)/1.3 var(--f-head);padding:10px 20px 0}
.door span{color:var(--ink-soft);font-size:15px;line-height:1.75;padding:0 20px}
.door:hover b,.door:focus-visible b{text-decoration:underline;text-underline-offset:4px}
.trust{margin-top:36px;padding-top:28px;border-top:1px solid var(--rule);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px}
.trust p{margin:0;font-size:clamp(16px,1.4vw,19px);color:var(--ink);max-width:36em}
.trust .actions{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:1100px){.doors-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.doors-grid{grid-template-columns:minmax(0,1fr)}.trust{flex-direction:column;align-items:stretch}}

/* film1 (1 Dec 2026): the film across the frame, one bar under it */
.hero.hero-v2{display:block}
.hero-film{margin:0;line-height:0;background:#0d2b25;border-bottom:1px solid var(--ink);overflow:hidden}
.hero-film video{display:block;width:100%;height:auto;aspect-ratio:1280/582;object-fit:cover}
.hero-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 40px}
.hero-say{min-width:0}
html body main .hero-v2 h1{font-size:clamp(26px,2.6vw,36px)!important;line-height:1.3;margin:0}
html body main .hero-say p{margin:6px 0 0;font-size:16px;line-height:1.7;color:var(--ink-soft);max-width:none}
.hero-bar .actions{display:flex;gap:12px;flex:none;margin:0}
@media (prefers-reduced-motion:no-preference){.hero-film video{animation:film-in .55s cubic-bezier(.2,.7,.2,1) both}}
@keyframes film-in{from{transform:translateY(36px);opacity:0}to{transform:none;opacity:1}}
@media (max-width:860px){.hero-film video{aspect-ratio:4/5}.hero-bar{flex-direction:column;align-items:stretch;padding:20px 16px;gap:16px}.hero-bar .actions{display:grid;grid-template-columns:1fr 1fr}.hero-bar .btn{text-align:center;justify-content:center}}
@media (min-width:600px) and (max-width:860px) and (min-height:700px){.hero-film{background:#123f35}.hero-film video{width:auto;max-width:100%;height:min(60vh,720px);margin:0 auto}}
@media (max-width:860px) and (orientation:landscape){.hero-film video{aspect-ratio:auto 1280/582}}
@media (orientation:landscape) and (max-height:500px){.hero-film{background:#123f35}.hero-film video{width:auto;max-width:100%;height:60vh;margin:0 auto}}
/* rt1 (1 Dec 2026): what opens, at the foot of each card */
.door-run{margin:auto 20px 0;padding-top:12px;border-top:1px solid rgba(18,63,53,.22);font:500 14px/1.6 var(--f-body);color:var(--ink);box-sizing:border-box;text-wrap:balance}
@media(min-width:1101px) and (max-width:1439px){.door-run{min-height:58px}}
/* cmp1 (3 Dec 2026): the bar leads, the film follows; trust strip under the film */
.hero-v2 .hero-bar{padding:30px 40px 26px;border-bottom:1px solid var(--ink)}
html body main .hero-v2 h1{font-size:clamp(28px,3.1vw,44px)!important}
html body main .hero-say p{font-size:clamp(16px,1.25vw,18px)}
.proof-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--ink);background:#fffdf7}
.proof-strip>div{padding:18px 24px;border-inline-start:1px solid var(--rule)}
.proof-strip>div:first-child{border-inline-start:0}
.proof-strip b{display:block;font-size:18px;line-height:1.5;color:var(--ink)}
.proof-strip span{display:block;margin-top:4px;font-size:15px;line-height:1.7;color:var(--ink-soft)}
@media (max-width:860px){.hero-v2 .hero-bar{padding:20px 16px}html body main .hero-v2 .hero-bar .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}html body main .hero-v2 .hero-bar .btn{width:100%}.proof-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.proof-strip>div{padding:14px 16px}.proof-strip>div:nth-child(3){border-inline-start:0}.proof-strip>div:nth-child(n+3){border-top:1px solid var(--rule)}.proof-strip b{font-size:16px}.proof-strip span{font-size:14px}}
