body.am-burgundy{--bg:#F7F5F3;--surface:#FFFFFF;--ink:#241E1D;--muted:#6F6260;--accent:#B8322B;--deep:#7B211B;--tint:#F5ECEA;--border:#E5DBD7;--focus:#B8322B;--font:Tahoma,Arial,sans-serif;margin:0!important;background:var(--surface)!important;color:var(--ink)!important;font:400 15px/1.9 var(--font)!important;direction:rtl}
.am-burgundy *{box-sizing:border-box}.am-burgundy :where(h1,h2,h3,h4,p,ul,ol,form,details,summary){margin:0;padding:0}.am-burgundy :where(a,button,input){font:inherit}.am-burgundy a{color:inherit;text-decoration:none}.am-burgundy button{cursor:pointer}.am-burgundy :where(a,button,input,summary):focus-visible{outline:3px solid var(--focus);outline-offset:5px}.am-burgundy .am-wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}.am-burgundy :where(h1,h2,h3,h4){font-family:var(--font);font-weight:700;color:var(--ink)}.am-burgundy :where(section[id]){scroll-margin-top:24px}
.am-burgundy .am-header{background:var(--deep);color:var(--surface)}.am-burgundy .am-header .am-wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:76px;padding-block:6px 16px}.am-burgundy .am-logo{flex:none}.am-burgundy .am-logo img{display:block;width:180px;height:auto;filter:brightness(0) invert(1)}.am-burgundy .am-nav{display:flex;align-items:center;gap:23px;font-size:12px;font-weight:700;white-space:nowrap;flex-wrap:wrap;justify-content:flex-end;min-width:0;row-gap:7px}.am-burgundy .am-nav a{color:var(--surface);padding-block:8px}.am-burgundy .am-nav a:hover{text-decoration:underline;text-underline-offset:6px}.am-burgundy .am-nav-action{border:1px solid var(--surface);border-radius:8px;padding:6px 14px!important}.am-burgundy .am-header a:focus-visible{outline-color:var(--surface)}
.am-burgundy .am-hero{background:var(--bg);padding:60px 0 44px;text-align:center}.am-burgundy .am-hero-grid{display:block}.am-burgundy .am-hero h1{font-size:clamp(30px,3.5vw,48px);line-height:1.35;margin:0 auto 19px;letter-spacing:0}.am-burgundy .am-hero h1 br{display:none}.am-burgundy .am-hero h1 span{color:var(--ink);margin-inline-start:10px}.am-burgundy .am-hero p{font-size:17px;line-height:1.95;color:var(--muted);max-width:720px;margin-inline:auto}.am-burgundy .am-hero-actions{display:flex;justify-content:center;align-items:center;gap:23px;margin-top:27px}.am-burgundy .am-primary{display:inline-flex;justify-content:center;align-items:center;gap:25px;min-height:50px;padding:12px 27px;background:var(--accent);color:var(--surface)!important;border:1px solid var(--accent);border-radius:8px;font-size:15px;font-weight:700;transition:background .15s}.am-burgundy .am-primary:hover{background:var(--deep);border-color:var(--deep)}.am-burgundy .am-secondary{font-weight:700;font-size:14px;color:var(--deep)!important;text-decoration:underline;text-underline-offset:6px}
.am-burgundy .am-search{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:8px;max-width:660px;margin:27px auto 0;padding:7px 16px 7px 7px;text-align:right}.am-burgundy .am-search svg{width:21px;flex:none;color:var(--muted)}.am-burgundy .am-search input{background:transparent!important;border:0!important;box-shadow:none!important;min-width:0;width:100%;flex:1;padding:8px 0!important;height:auto!important;color:var(--ink)!important;font:14px/1.8 var(--font)!important}.am-burgundy .am-search input::placeholder{color:var(--muted)}.am-burgundy .am-search button{border:0;background:var(--accent);color:var(--surface);padding:8px 24px;min-height:44px;border-radius:8px;font-weight:700;font-size:14px}.am-burgundy .am-search button:hover{background:var(--deep)}
.am-burgundy .am-date-strip{border-block:1px solid var(--border);background:var(--surface);padding:21px 0}.am-burgundy .am-date{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px}.am-burgundy .am-date-head{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--deep)}.am-burgundy .am-date svg{width:22px;height:22px;order:-1}.am-burgundy .am-date-center{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:center}.am-burgundy .am-date-number{font-size:22px;line-height:1.3;color:var(--deep)}.am-burgundy .am-hijri{color:var(--muted);padding-inline-start:18px;border-inline-start:1px solid var(--border);margin-inline-start:12px;min-height:24px}.am-burgundy .am-date-link{color:var(--deep);font-weight:700;display:flex;gap:14px}.am-burgundy .am-date-link:hover{text-decoration:underline}
.am-burgundy .am-discover{padding:48px 0 54px}.am-burgundy .am-section-head{margin-bottom:24px;display:block;text-align:center}.am-burgundy h2{font-size:30px;line-height:1.4}.am-burgundy .am-section-head span{display:block;margin-top:8px;font-size:14px;color:var(--muted)}.am-burgundy .am-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.am-burgundy .am-quick-card{display:flex;flex-direction:column;gap:16px;padding:25px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.am-burgundy .am-quick-card:hover{border-color:var(--accent);background:var(--bg)}.am-burgundy .am-card-symbol{font-size:29px;color:var(--accent);font-weight:700;line-height:1.3}.am-burgundy .am-quick-card h3{font-size:17px;line-height:1.6}.am-burgundy .am-card-link{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}
.am-burgundy .am-how{padding:52px 0;background:var(--bg);border-block:1px solid var(--border)}.am-burgundy .am-how p{max-width:680px;color:var(--muted);margin-top:12px}.am-burgundy .am-how ol{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;list-style:none;margin-top:33px}.am-burgundy .am-how li{border-top:1px solid var(--border);padding-top:18px;display:flex;align-items:center;gap:17px}.am-burgundy .am-how li>span{font-size:25px;line-height:1;color:var(--accent);font-weight:700}.am-burgundy .am-how h3{font-size:18px;line-height:1.5}
.am-burgundy .am-categories{padding:30px 0 38px}.am-burgundy .am-categories .am-wrap{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 23px}.am-burgundy .am-categories a{font-size:13px;font-weight:700;color:var(--deep);border-bottom:2px solid var(--border);padding:8px 0}.am-burgundy .am-categories a:hover{border-color:var(--accent)}
.am-burgundy .am-season{padding:20px 0 50px}.am-burgundy .am-season-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px}.am-burgundy .am-season-copy p{font-size:15px;color:var(--muted);line-height:1.95;margin-top:18px;max-width:540px}.am-burgundy .am-season-copy .am-primary{margin-top:24px}.am-burgundy .am-season-image{display:block;width:100%;height:310px;object-fit:cover;border-radius:12px}.am-burgundy .am-season+.am-season .am-season-copy{grid-column:2;grid-row:1}.am-burgundy .am-season+.am-season .am-season-image{grid-column:1;grid-row:1}
.am-burgundy .am-directory{padding:55px 0;border-top:1px solid var(--border)}.am-burgundy .am-directory-heading{margin-bottom:30px}.am-burgundy .am-directory-heading p{color:var(--muted);margin-top:10px}.am-burgundy .am-directory-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px 54px}.am-burgundy .am-group{border-top:2px solid var(--border);padding-top:20px;min-width:0}.am-burgundy .am-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px}.am-burgundy .am-group-heading h3{font-size:20px;line-height:1.5;color:var(--deep)}.am-burgundy .am-group-heading>span{font-size:24px;color:var(--accent)}.am-burgundy .am-tool-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--border)}.am-burgundy .am-tool-row:last-child{border:0}.am-burgundy .am-tool-row :where(h3,h4){font-size:15px;line-height:1.8}.am-burgundy .am-tool-row p{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.9}.am-burgundy .am-tool-row>span{color:var(--accent);flex:none}.am-burgundy .am-tool-row:hover :where(h3,h4){color:var(--accent)}.am-burgundy #am-pregnancy{background:var(--bg)}.am-burgundy #am-pregnancy .am-directory-grid{gap:0 54px}.am-burgundy #am-pregnancy .am-group{border-top:1px solid var(--border);padding:6px 0}.am-burgundy #am-pregnancy .am-card-link{color:var(--deep);margin-top:8px}
.am-burgundy .am-about{padding:56px 0;background:var(--bg);border-top:1px solid var(--border)}.am-burgundy .am-about-grid{max-width:800px}.am-burgundy .am-faq h3{font-size:28px;line-height:1.4;margin-bottom:22px}.am-burgundy .am-faq details{border-bottom:1px solid var(--border);padding:19px 0}.am-burgundy .am-faq summary{cursor:pointer;font-size:15px;font-weight:700}.am-burgundy .am-faq p{padding-top:12px;font-size:14px;color:var(--muted)}.am-burgundy .am-final{padding:54px 0;text-align:center}.am-burgundy .am-final p{margin:12px 0 24px;color:var(--muted)}.am-burgundy .am-footer{padding:25px 0;background:var(--deep);color:var(--surface);font-size:12px}.am-burgundy .am-footer .am-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}.am-burgundy .am-footer nav{display:flex;gap:24px}.am-burgundy .am-footer a:hover{text-decoration:underline}.am-burgundy .am-footer a:focus-visible{outline-color:var(--surface)}
@media(max-width:1150px){.am-burgundy .am-nav{gap:13px;font-size:11px}.am-burgundy .am-logo img{width:160px}.am-burgundy .am-header .am-wrap{gap:18px}}
@media(max-width:991px){.am-burgundy .am-date{flex-wrap:wrap;justify-content:center;gap:14px 22px}.am-burgundy .am-quick-grid{grid-template-columns:repeat(2,1fr)}.am-burgundy .am-season-panel{gap:32px}.am-burgundy .am-nav{display:none!important}.am-burgundy .am-header .am-wrap{min-height:76px!important;padding-block:12px!important}.am-burgundy .am-native-mobile{color:var(--surface);top:16px}.am-burgundy .am-native-mobile>summary{background:transparent;border-color:var(--surface);color:var(--surface)}.am-burgundy .am-native-mobile[open]>summary{background:var(--surface);color:var(--deep)}.am-burgundy .am-native-mobile nav{background:var(--surface);border-color:var(--border);box-shadow:none}.am-burgundy .am-native-mobile li{border-color:var(--border)}.am-burgundy .am-native-mobile nav a{color:var(--ink)!important}.am-burgundy .am-native-mobile nav a:hover{color:var(--accent)!important;background:var(--tint)!important}}
@media(max-width:640px){.am-burgundy .am-wrap{width:calc(100% - 32px)}.am-burgundy .am-logo img{width:155px}.am-burgundy .am-hero{padding:34px 0 30px}.am-burgundy .am-hero h1{font-size:30px;line-height:1.45;margin-bottom:15px}.am-burgundy .am-hero h1 br{display:block}.am-burgundy .am-hero h1 span{margin-inline-start:0}.am-burgundy .am-hero p{font-size:14px;line-height:1.95;max-width:370px}.am-burgundy .am-hero-actions{gap:14px;margin-top:22px;flex-wrap:wrap}.am-burgundy .am-primary{font-size:13px;padding:11px 20px;gap:16px}.am-burgundy .am-secondary{font-size:12px}.am-burgundy .am-search{gap:10px;padding-inline-start:11px;margin-top:23px}.am-burgundy .am-search input{font-size:12px!important}.am-burgundy .am-search button{padding-inline:17px}.am-burgundy .am-search svg{width:18px}.am-burgundy .am-date-strip{padding:18px 0}.am-burgundy .am-date{gap:12px;font-size:12px}.am-burgundy .am-date-head{justify-content:center;width:100%}.am-burgundy .am-date-center{gap:7px}.am-burgundy .am-date-number{font-size:20px}.am-burgundy .am-hijri{flex-basis:100%;border:0;padding:0;margin:0;text-align:center}.am-burgundy .am-date-link{font-size:12px}.am-burgundy h2{font-size:24px;line-height:1.5}.am-burgundy .am-discover{padding:32px 0}.am-burgundy .am-section-head span{font-size:12px}.am-burgundy .am-quick-grid{grid-template-columns:1fr;gap:12px}.am-burgundy .am-quick-card{display:grid;grid-template-columns:36px 1fr;padding:18px;gap:5px 14px}.am-burgundy .am-card-symbol{grid-row:span 2;font-size:26px;align-self:center}.am-burgundy .am-quick-card h3{font-size:16px}.am-burgundy .am-how{padding:34px 0}.am-burgundy .am-how p{font-size:14px}.am-burgundy .am-how ol{grid-template-columns:1fr;gap:16px;margin-top:24px}.am-burgundy .am-how li{padding-top:15px}.am-burgundy .am-how h3{font-size:16px}.am-burgundy .am-categories{padding:22px 0}.am-burgundy .am-categories .am-wrap{gap:6px 17px}.am-burgundy .am-categories a{font-size:12px}.am-burgundy .am-season{padding:20px 0 32px}.am-burgundy .am-season-panel{grid-template-columns:1fr;gap:24px}.am-burgundy .am-season+.am-season :where(.am-season-copy,.am-season-image){grid-column:auto;grid-row:auto}.am-burgundy .am-season-image{height:230px}.am-burgundy .am-season-copy p{font-size:14px;margin-top:12px}.am-burgundy .am-directory{padding:34px 0}.am-burgundy .am-directory-grid{grid-template-columns:1fr;gap:24px}.am-burgundy .am-group-heading h3{font-size:18px}.am-burgundy .am-directory-heading p{font-size:14px}.am-burgundy .am-about{padding:36px 0}.am-burgundy .am-faq h3{font-size:24px}.am-burgundy .am-final{padding:36px 0}.am-burgundy .am-footer .am-wrap{flex-direction:column;gap:12px;text-align:center}.am-burgundy .am-footer nav{gap:22px}}
@media(prefers-reduced-motion:reduce){.am-burgundy *{transition:none!important;scroll-behavior:auto!important}}

/* Photo-free categorized directory requested by the owner. */
.am-burgundy .am-directory{background:var(--bg);padding:42px 0 64px;border-top:0}
.am-burgundy .am-directory-heading{margin-bottom:38px}
.am-burgundy .am-directory-grid{display:block}
.am-burgundy .am-group{border:0;padding:0;margin-bottom:52px;position:relative}
.am-burgundy .am-group:last-child{margin-bottom:0}
.am-burgundy .am-group-heading{display:flex;align-items:center;justify-content:flex-start;gap:16px;border-bottom:1px solid var(--border);padding-bottom:20px;margin-bottom:20px}
.am-burgundy .am-group-heading h3{font-size:26px;color:var(--ink);line-height:1.5}
.am-burgundy .am-category-number{font:700 12px/1.5 var(--font);color:var(--muted)!important;direction:ltr;min-width:58px}
.am-burgundy .am-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;background:var(--tint);border-radius:12px;color:var(--accent);font:400 25px/1 var(--font)}
.am-burgundy .am-group-heading>.am-icon{width:48px;height:48px}
.am-burgundy .am-group-heading>.am-category-count{font:700 12px/1.5 var(--font);color:var(--muted);margin-inline-start:auto;white-space:nowrap}
.am-burgundy .am-tool-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.am-burgundy .am-tool-row,.am-burgundy .am-tool-row:last-child{display:block;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:21px 22px;transition:border-color .15s}
.am-burgundy .am-tool-row:hover{border-color:var(--accent)}
.am-burgundy .am-tool-title{display:flex;align-items:center;gap:13px}
.am-burgundy .am-tool-row h4{font-size:17px;line-height:1.7}
.am-burgundy .am-tool-row p{font-size:14px;line-height:1.9;margin-top:16px;color:var(--muted)}
@media(max-width:991px){.am-burgundy .am-tool-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.am-burgundy .am-directory{padding:30px 0 40px}.am-burgundy .am-tool-cards{grid-template-columns:1fr}.am-burgundy .am-group{margin-bottom:36px}.am-burgundy .am-group-heading{gap:10px;flex-wrap:wrap;padding-bottom:16px}.am-burgundy .am-group-heading h3{font-size:20px;flex:1}.am-burgundy .am-group-heading>.am-category-count{font-size:11px}.am-burgundy .am-category-number{min-width:48px;font-size:11px}.am-burgundy .am-group-heading>.am-icon{width:38px;height:38px;font-size:23px}.am-burgundy .am-tool-row h4{font-size:17px}.am-burgundy .am-tool-row p{font-size:14px}.am-burgundy .am-tool-row{padding:20px}}

/* Show-more toggle for categories with many tools */
.am-burgundy .am-tool-row.am-hidden{display:none}
.am-burgundy .am-show-more{display:block;margin:24px auto 0;padding:12px 28px;background:transparent;border:1px solid var(--border);border-radius:8px;color:var(--deep);font:700 14px/1.5 var(--font);cursor:pointer;transition:border-color .15s,color .15s}
.am-burgundy .am-show-more:hover{border-color:var(--accent);color:var(--accent)}
.am-burgundy .am-show-more:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
@media(max-width:640px){.am-burgundy .am-show-more{font-size:13px;padding:10px 22px}}
\n/* Distinct construction symbols for cached homepage cards */\n.am-tool-row .am-tool-title .am-icon{font-size:0!important;display:grid!important;place-items:center;width:42px;height:42px;border-radius:10px;background:#f5ecea;color:#b93432}\n.am-tool-row .am-tool-title .am-icon:after{font-size:25px;line-height:1}\n.am-tool-row[href*="rebar-calculator"] .am-tool-title .am-icon:after{content:"⚒"}\n.am-tool-row[href*="concrete-calculator"] .am-tool-title .am-icon:after{content:"◇"}\n.am-tool-row[href*="blocks-calculator"] .am-tool-title .am-icon:after{content:"▦"}\n.am-tool-row[href*="tile-calculator"] .am-tool-title .am-icon:after{content:"▧"}\n.am-tool-row[href*="paint-calculator"] .am-tool-title .am-icon:after{content:"▰"}\n.am-tool-row[href*="plaster-calculator"] .am-tool-title .am-icon:after{content:"▤"}\n.am-tool-row[href*="excavation-calculator"] .am-tool-title .am-icon:after{content:"⚒"}\n
/* الأقسام — quick-pick chips above the homepage directory */
.am-burgundy #am-topics{padding:26px 0 4px;scroll-margin-top:24px}
.am-burgundy .am-categories a span{margin-inline-start:7px;font-size:11px;font-weight:700;color:var(--muted)}
.am-burgundy .am-categories a:hover span{color:var(--accent)}

/* أدواتي — the visitor's saved tools, first block under the hero */
.am-burgundy .am-my-tools{padding:38px 0 6px}
.am-burgundy .am-my-tools-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.am-burgundy .am-my-tools-head h2{font-size:26px;line-height:1.4}
.am-burgundy .am-my-tools-head p{margin-top:8px;font-size:14px;color:var(--muted)}
.am-burgundy .am-my-tools-all{flex:none;font-size:14px;font-weight:700;color:var(--deep);border-bottom:2px solid var(--border);padding-bottom:5px}
.am-burgundy .am-my-tools-all:hover{color:var(--accent);border-color:var(--accent)}
.am-burgundy .am-my-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.am-burgundy .am-my-tools-card{display:flex;flex-direction:column;gap:7px;min-width:0;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:10px;color:var(--deep);transition:border-color .15s,background .15s}
.am-burgundy .am-my-tools-card:hover{border-color:var(--accent);background:var(--bg)}
.am-burgundy .am-my-tools-card h3{font-size:14px;line-height:1.7;color:var(--ink)}
.am-burgundy .am-my-tools-card:hover h3{color:var(--accent)}
.am-burgundy .am-my-tools-cat{font-size:12px;color:var(--muted)}
.am-burgundy .am-my-tools-grid{list-style:none;margin:0;padding:0}
.am-burgundy .am-my-tools-item{display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;transition:border-color .15s,background .15s}
.am-burgundy .am-my-tools-item:hover{border-color:var(--accent);background:var(--bg)}
.am-burgundy .am-my-tools-item .am-my-tools-card{flex:1 1 auto;border:0;border-radius:0;background:transparent}
.am-burgundy .am-my-tools-acts{display:flex;gap:6px;padding:9px 18px 14px;margin-top:auto;border-top:1px solid var(--border)}
.am-burgundy .am-my-tools-acts button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;font-size:14px;font-weight:700;line-height:1;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:8px;transition:color .15s,border-color .15s,background .15s}
.am-burgundy .am-my-tools-acts button:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:var(--bg)}
.am-burgundy .am-my-tools-acts button:disabled{opacity:.35;cursor:default}
.am-burgundy .am-my-tools-remove{margin-inline-start:auto;color:var(--deep)}
.am-burgundy .am-my-tools-status{margin-top:15px;font-size:13px;color:var(--muted)}

@media(max-width:991px){.am-burgundy .am-my-tools-grid{grid-template-columns:repeat(2,1fr)}.am-burgundy .am-my-tools{padding:30px 0 4px}}
@media(max-width:640px){.am-burgundy .am-my-tools-head{align-items:flex-start;flex-direction:column;gap:12px}.am-burgundy .am-my-tools-grid{grid-template-columns:1fr;gap:10px}}
