/* Shared public and staff components; colors inherit the approved brand tokens. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--font-en); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button, a { touch-action: manipulation; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
main[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { color: var(--ink); font-family: var(--font-display); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(52px, 5.2vw, 76px); }
h2 { font-size: clamp(36px, 3.4vw, 52px); }
h3 { color: var(--ink); font-weight: 600; line-height: 1.35; }
p { color: var(--muted); }
small { font-size: 12px; }
.wrap { width: min(calc(100% - 112px), var(--max-width)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.flip { transform: rotate(180deg); }
.wordmark { font-family: var(--font-en); font-weight: 650; font-size: 29px; letter-spacing: -1.5px; white-space: nowrap; color: var(--ink); line-height: 1.1; }
.wordmark > span { color: var(--teal); }
.brand { display: inline-flex; align-items: center; }
.eyebrow { display: block; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.7; text-transform: uppercase; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 51px; padding: 13px 23px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .16s, transform .16s, box-shadow .16s; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-button); }
.button-ink { color: var(--inverse-text); background: var(--brand); }
.button-ink:hover:not(:disabled) { background: var(--brand-hover); }
.button-gold { color: var(--accent-ink); background: var(--accent); }
.button-gold:hover:not(:disabled) { background: var(--accent-hover); }
.button-outline { border-color: var(--line); background: transparent; }
.button-white { background: var(--surface); }
.button-small { min-height: 42px; padding: 10px 16px; gap: 16px; font-size: 12px; }
.button-full { width: 100%; }
.button:disabled { opacity: .4; box-shadow: none; transform: none; }
.subtle-link, .back-link { display: inline-flex; align-items: center; gap: 16px; font-weight: 600; font-size: 13px; color: var(--ink); }
.subtle-link { padding-block: 5px; border-bottom: 1px solid var(--ink); }
.subtle-link:hover { gap: 22px; }
.back-link { font-size: 12px; color: var(--muted); padding: 0; }
.text-button { display: inline-flex; align-items: center; gap: 9px; padding: 0; font-size: inherit; line-height: inherit; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; }
.icon-button:hover { background: var(--wash); }
.icon-button:disabled { opacity: .3; }
.round-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background .2s; }
.round-link:hover { background: var(--accent); border-color: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 4px; background: var(--wash); color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; line-height: 1.6; }
.badge.green { background: var(--teal-wash); color: var(--success); }
.badge.red { background: var(--danger-wash); color: var(--danger); }
.badge.amber { background: var(--amber-wash); color: var(--amber); }
.badge.light-ink { background: var(--teal-wash); color: var(--teal); }
.badge.neutral { background: var(--wash); color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.small-note { font-size: 11px; line-height: 1.7; }
.price { display: inline-flex; align-items: baseline; gap: 8px; }
.price strong { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
.price > span { color: var(--muted); font-size: 10px; }
.price-quote { font-size: 12px; color: var(--muted); }
.skip-link { position: fixed; top: -90px; inset-inline-start: 20px; z-index: 100; padding: 12px 20px; background: var(--surface); border: 2px solid var(--ink); }
.skip-link:focus { top: 12px; }
.prototype-bar { color: var(--inverse-muted); background: var(--ink-deep); font-size: 9px; line-height: 1.5; }
.prototype-bar > .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 31px; gap: 16px; }
.preview-caption, .preview-actions { display: flex; gap: 19px; align-items: center; }
.preview-caption strong { font-size: 8px; font-weight: 600; letter-spacing: .13em; color: var(--accent); }
.preview-caption > span { opacity: .8; }
.preview-actions { gap: 23px; }
.preview-actions button, .preview-actions a { padding: 0; color: var(--inverse-text); font-size: 9px; display: inline-flex; align-items: center; gap: 7px; }
.preview-actions .icon { width: 12px; height: 12px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 91px; }
.desktop-nav { display: flex; gap: 29px; align-items: center; }
.desktop-nav a { color: var(--muted); font-size: 13px; padding-block: 35px; position: relative; }
.desktop-nav a.active, .desktop-nav a:hover { color: var(--ink); }
.desktop-nav a.active::after { content: ''; position: absolute; inset-inline: 0; bottom: 24px; height: 2px; background: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 25px; }
.language-button { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 11px; }
.language-button .icon { width: 16px; height: 16px; }
.mobile-menu-button, .mobile-nav { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 66px; align-items: center; padding-block: 76px 77px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { font-size: 9px; display: flex; gap: 10px; align-items: center; }
.live-dot, .status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(68px, 7.3vw, 104px); margin-block: 24px 24px; line-height: 1.02; letter-spacing: -.055em; max-width: 650px; }
.hero h1 em { font-weight: 400; color: var(--teal); }
.hero-description { max-width: 430px; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 32px; }
.hero-actions .subtle-link { font-size: 11px; gap: 12px; border: 0; }
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 43px; padding-top: 21px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.hero-facts > span { display: flex; align-items: center; gap: 7px; }
.hero-facts .icon { width: 15px; height: 15px; }
.hero-art { position: relative; height: 485px; isolation: isolate; }
.art-orbit { position: absolute; z-index: -1; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; top: 24px; inset-inline-start: 15px; }
.orbit-two { width: 510px; height: 510px; top: -23px; inset-inline-start: -34px; }
.art-sheet { position: absolute; width: 335px; height: 424px; border-radius: 2px; box-shadow: var(--shadow); }
.sheet-back { background: var(--brand); inset-inline-end: 10px; top: 40px; transform: rotate(9deg); padding: 29px; display: flex; flex-direction: column; justify-content: space-between; color: var(--inverse-muted); }
.sheet-back > span:first-child { font-family: var(--font-ar); font-size: 80px; opacity: .45; }
.sheet-back > span:last-child { font-size: 6px; color: var(--accent); letter-spacing: .21em; writing-mode: vertical-rl; height: 180px; }
.sheet-front { top: 10px; inset-inline-start: 29px; background: var(--art-paper); border: 1px solid var(--art-line); transform: rotate(-7deg); padding: 31px; overflow: hidden; }
.paper-top { display: flex; justify-content: space-between; font-size: 8px; font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.paper-eyebrow { font-size: 6px; letter-spacing: .18em; margin-top: 35px; }
.paper-title { font-family: var(--font-display); font-size: 56px; letter-spacing: -3px; line-height: .99; color: var(--ink); margin-top: 14px; }
.paper-rule { height: 1px; background: var(--art-line); margin-block: 25px 13px; }
.paper-arabic { font-size: 22px; color: var(--teal); text-align: start; }
.paper-bottom { font-size: 7px; display: block; margin-top: 20px; color: var(--muted); }
.paper-bookmark { position: absolute; top: 0; inset-inline-end: 52px; width: 29px; height: 64px; background: var(--accent); clip-path: polygon(0 0,100% 0,100% 100%,50% 77%,0 100%); }
.art-note { position: absolute; z-index: 3; bottom: 35px; inset-inline-start: -8px; display: flex; align-items: center; gap: 13px; padding: 15px 23px 15px 16px; border: 1px solid var(--surface); background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); transform: rotate(-3deg); }
.art-note-star { color: var(--teal); font-size: 33px; line-height: 1; }
.art-note strong { display: block; font-size: 10px; font-weight: 600; }
.art-note div > span { display: block; font-size: 8px; color: var(--muted); margin-top: 3px; }
.art-side-note { position: absolute; inset-inline-end: -26px; top: 25px; writing-mode: vertical-rl; font-size: 7px; letter-spacing: .15em; color: var(--muted); }
.meaning-band { border-block: 1px solid var(--line); background: var(--wash); }
.meaning-band .wrap { display: flex; align-items: center; justify-content: center; gap: 40px; padding-block: 22px; }
.meaning-band .wrap > span { font-family: var(--font-display), var(--font-ar); font-size: 33px; letter-spacing: -.8px; color: var(--teal); }
.meaning-band .wrap > p { font-size: 10px; line-height: 1.7; text-align: center; }
.meaning-band .wrap > i { display: block; width: 74px; height: 1px; background: var(--line); }
.meaning-band .meaning-word { font-style: italic; }
.section { padding-block: 95px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 39px; }
.section-heading h2, .services-home h2 { margin-top: 16px; }
.section-heading-aside { max-width: 315px; }
.section-heading-aside p { font-size: 12px; margin-bottom: 15px; line-height: 1.85; }
.section-heading-aside .subtle-link { font-size: 11px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.course-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-art-link { display: block; position: relative; }
.course-art { height: 204px; padding: 19px 24px; position: relative; overflow: hidden; isolation: isolate; }
.art-topline { display: flex; justify-content: space-between; font-family: var(--font-en); font-size: 7px; letter-spacing: .13em; color: inherit; opacity: .75; }
.art-topline i { font-style: normal; }
.art-corner { position: absolute; bottom: 16px; inset-inline-end: 22px; font-family: var(--font-en); font-size: 8px; opacity: .8; }
.art-written { background: var(--art-paper); color: var(--ink); }
.art-written > p { position: relative; display: inline-block; font-family: var(--font-display); color: var(--ink); font-size: 48px; font-style: italic; letter-spacing: -2.7px; margin-top: 18px; }
.art-underline { position: absolute; bottom: 5px; inset-inline: 0; height: 11px; transform: rotate(-3deg); background: var(--accent); z-index: -1; }
.art-arabic { font-family: var(--font-ar); color: var(--art-muted); font-size: 24px; position: absolute; top: 98px; inset-inline-end: 32px; transform: rotate(-8deg); }
.art-lines { display: flex; flex-direction: column; gap: 6px; width: 43%; margin-top: 22px; }
.art-lines i { height: 1px; background: var(--art-line); }
.art-lines i:last-child { width: 75%; }
.art-spoken { background: var(--brand); color: var(--inverse-muted); }
.art-spoken > p { display: flex; gap: 27px; align-items: center; color: var(--inverse-text); font-family: var(--font-display); font-size: 48px; letter-spacing: -2px; margin-top: 15px; }
.art-spoken p span { color: var(--accent); font-family: var(--font-ar); font-size: 36px; }
.sound-bars { display: flex; align-items: center; gap: 5px; height: 59px; margin-top: 7px; }
.sound-bars i { width: 3px; height: var(--bar); max-height: 48px; border-radius: 2px; background: var(--inverse-muted); }
.sound-bars i:nth-child(3n) { background: var(--accent); }
.art-consecutive { background: var(--art-wash); color: var(--art-ink); }
.art-consecutive > p { color: var(--art-ink); font-family: var(--font-display); line-height: .98; font-size: 37px; letter-spacing: -1px; margin-top: 16px; position: relative; z-index: 2; }
.art-consecutive em { font-weight: normal; }
.art-circle { width: 100px; height: 100px; position: absolute; border: 1px solid var(--art-line); border-radius: 50%; inset-inline-end: 30px; top: 60px; }
.art-circle::after { content: ''; width: 17px; height: 17px; background: var(--coral); border-radius: 50%; position: absolute; top: 7px; left: 8px; }
.art-link-arrow { display: flex; position: absolute; inset-inline-end: 14px; top: 14px; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--surface); border-radius: 50%; color: var(--ink); opacity: 0; transition: opacity .2s; }
.course-card:hover .art-link-arrow { opacity: 1; }
.art-link-arrow .icon { width: 13px; height: 13px; }
.course-card-body { padding: 23px 23px 19px; }
.card-labels { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-labels > span:last-child { font-size: 10px; color: var(--muted); }
.course-card h3 { font-family: var(--font-display); font-size: 25px; letter-spacing: -.7px; font-weight: 400; margin-top: 17px; line-height: 1.2; min-height: 60px; }
.course-card-body > p { font-size: 12px; line-height: 1.85; margin-top: 12px; min-height: 68px; }
.course-meta { display: flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 10px; }
.course-meta .icon { width: 15px; height: 15px; }
.course-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 19px; }
.approach-section { background: var(--brand); color: var(--inverse-text); padding-block: 72px; }
.approach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 120px; }
.approach-section .eyebrow { color: var(--accent); font-size: 9px; }
.approach-section h2 { color: var(--inverse-text); margin-block: 20px; }
.approach-intro > p { color: var(--inverse-muted); font-size: 12px; max-width: 315px; }
.approach-glyph { display: flex; align-items: center; gap: 50px; font-family: var(--font-display); font-size: 100px; line-height: 1; color: var(--inverse-muted); margin-top: 25px; }
.approach-glyph > span { font-family: var(--font-ar); font-size: 70px; color: var(--accent); }
.approach-steps article { display: flex; gap: 22px; align-items: start; padding-block: 27px; border-bottom: 1px solid var(--inverse-line); }
.approach-steps article:first-child { padding-top: 5px; }
.step-number { color: var(--accent); font-size: 9px; padding-top: 4px; }
.approach-steps h3 { color: var(--inverse-text); font-size: 17px; font-weight: 500; }
.approach-steps p { color: var(--inverse-muted); font-size: 11px; line-height: 1.8; margin-top: 10px; }
.approach-steps article > .icon { width: 16px; height: 16px; margin-inline-start: auto; color: var(--inverse-muted); }
.services-home { display: grid; grid-template-columns: .9fr 1fr; gap: 120px; align-items: center; }
.section-intro { max-width: 520px; font-size: 14px; line-height: 1.9; }
.services-home .section-intro { font-size: 12px; margin-block: 25px; max-width: 330px; }
.service-list-item { display: flex; align-items: center; gap: 23px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.service-list-item > span { color: var(--muted); font-size: 9px; }
.service-list-item h3 { font-family: var(--font-display); font-size: 29px; font-weight: normal; letter-spacing: -.7px; }
.service-list-item .icon { margin-inline-start: auto; transition: transform .2s; }
.service-list-item:hover .icon { transform: translate(3px,-3px); }
.cta-section { margin-bottom: 85px; padding: 49px 55px; border-radius: var(--radius); background: var(--gold-wash); display: flex; align-items: center; justify-content: space-between; gap: 35px; position: relative; overflow: hidden; }
.cta-section > div, .cta-section > a { z-index: 1; }
.cta-section .eyebrow { font-size: 9px; }
.cta-section h2 { font-size: 42px; margin-top: 15px; }
.cta-section p { font-size: 11px; margin-top: 15px; }
.cta-section .button { background: var(--brand); color: var(--inverse-text); flex-shrink: 0; }
.cta-decoration { position: absolute; color: var(--line); font-size: 270px; line-height: 1; inset-inline-end: 120px; bottom: -60px; font-family: var(--font-display); }
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 17px; background: var(--wash); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 70px; padding-bottom: 42px; }
.footer-brand > p { font-size: 11px; line-height: 1.9; max-width: 230px; margin-top: 17px; }
.footer-language { display: inline-flex; align-items: center; gap: 13px; font-size: 10px; color: var(--ink); margin-top: 20px; }
.footer-language > span { color: var(--teal); }
.footer-grid h3 { font-size: 11px; margin-bottom: 16px; }
.footer-grid > div:not(:first-child) > a, .footer-grid > div > .text-button { display: flex; align-items: center; gap: 5px; color: var(--muted); margin-top: 9px; font-size: 10px; }
.footer-grid .icon { width: 12px; height: 12px; }
.footer-location p { font-size: 10px; margin-top: 9px; display: flex; align-items: center; gap: 7px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); }
.footer-bottom > span:last-child { display: flex; gap: 20px; }
.prototype-footnote { font-size: 8px; color: var(--muted); margin-top: 16px; }
.page-intro { display: flex; gap: 60px; justify-content: space-between; align-items: end; padding-block: 73px 51px; }
.page-intro h1 { margin-top: 19px; }
.page-intro > p { max-width: 360px; font-size: 13px; padding-bottom: 4px; line-height: 1.9; }
.course-listing { padding-bottom: 85px; }
.listing-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 23px; border-block: 1px solid var(--line); margin-bottom: 32px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-tabs button { padding: 9px 12px; border-radius: 5px; color: var(--muted); font-size: 10px; }
.filter-tabs button.active { color: var(--ink); background: var(--gold-wash); font-weight: 600; }
.listing-tools { display: flex; gap: 12px; align-items: center; }
.search-field { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px; background: var(--surface); }
.search-field > input { width: 130px; border: 0; background: transparent; font-size: 10px; color: var(--ink); padding: 0; outline: none; }
.search-field > .icon { width: 15px; height: 15px; color: var(--muted); }
.select-wrap select { border: 1px solid var(--line); padding: 9px; border-radius: 5px; font-size: 10px; background: var(--surface); color: var(--muted); max-width: 170px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; padding-top: 32px; color: var(--muted); font-size: 10px; }
.breadcrumb .icon { width: 12px; height: 12px; }
.course-detail-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 100px; align-items: center; padding-block: 46px 60px; }
.course-detail-hero h1 { font-size: 64px; margin-block: 18px 23px; }
.course-detail-hero p { max-width: 520px; font-size: 14px; }
.detail-tags { display: flex; gap: 9px; margin-top: 23px; }
.detail-art { border-radius: var(--radius); overflow: hidden; transform: rotate(3deg); border: 7px solid var(--surface); box-shadow: var(--shadow); }
.detail-art .course-art { height: 300px; padding: 27px; }
.detail-art .course-art > p { font-size: 64px; margin-top: 28px; }
.detail-art .art-arabic { font-size: 38px; top: 145px; }
.detail-art .art-lines { margin-top: 50px; }
.detail-art .art-spoken p > span { font-size: 54px; }
.detail-art .sound-bars { margin-top: 30px; }
.detail-art .art-consecutive > p { font-size: 63px; }
.course-detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; align-items: start; gap: 80px; padding-bottom: 90px; }
.detail-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 35px; }
.detail-tabs button { font-size: 12px; padding: 17px 0; border-bottom: 2px solid transparent; color: var(--muted); }
.detail-tabs button.active { color: var(--ink); border-bottom-color: var(--teal); }
.detail-panel h2 { font-size: 33px; margin-bottom: 20px; }
.detail-panel h3 { font-size: 17px; margin-block: 27px 12px; }
.detail-panel p { font-size: 13px; line-height: 1.9; }
.course-summary { padding: 27px; position: sticky; top: 25px; }
.summary-price { padding-block: 16px 22px; border-bottom: 1px solid var(--line); }
.summary-price .price strong { font-size: 32px; }
.summary-list { margin-block: 21px 28px; }
.summary-list > div { margin-top: 21px; }
.summary-list dt { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.summary-list dt .icon { width: 16px; height: 16px; }
.summary-list dd { margin-inline-start: 24px; margin-top: 7px; font-size: 12px; line-height: 1.8; }
.summary-list small { color: var(--muted); display: block; font-size: 10px; }
.course-summary > .small-note { text-align: center; margin-top: 12px; }
.check-list { list-style: none; margin: 0 0 35px; padding: 0; }
.check-list > li { display: flex; gap: 12px; align-items: start; font-size: 13px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.check-list .icon { color: var(--teal); }
.timetable-heading { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.timetable-heading h2 { margin: 0; }
.timetable-heading > span { display: flex; gap: 5px; font-size: 9px; color: var(--muted); }
.timetable-heading .icon { width: 13px; height: 13px; }
.timetable-row { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding-block: 18px; }
.timetable-index { color: var(--muted); font-size: 9px; }
.timetable-row > div { display: flex; flex-direction: column; gap: 4px; }
.timetable-row strong, .timetable-row bdi { font-size: 11px; font-weight: 500; }
.timetable-row > div > span { color: var(--muted); font-size: 9px; }
.timetable-row > bdi { margin-inline-start: auto; }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding-bottom: 60px; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 35px; }
.service-card:first-child { background: var(--brand); color: var(--inverse-text); border-color: var(--brand); }
.service-card:first-child h2, .service-card:first-child .price strong { color: var(--inverse-text); }
.service-card:first-child p, .service-card:first-child .price > span { color: var(--inverse-muted); }
.service-card:first-child .eyebrow { color: var(--accent); }
.service-card:first-child .round-link { color: var(--accent); border-color: var(--inverse-line); }
.service-card:first-child .round-link:hover { color: var(--ink); }
.service-card:first-child .service-card-bottom { border-color: var(--inverse-line); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 33px; }
.service-number { font-family: var(--font-display); font-size: 36px; color: var(--gold-text); }
.service-card-top > .icon { width: 31px; height: 31px; color: var(--teal); }
.service-card h2 { font-size: 35px; margin-block: 12px 17px; }
.service-card > p { font-size: 12px; max-width: 390px; min-height: 64px; }
.service-card-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 35px; padding-top: 22px; }
.service-process { max-width: 780px; padding-block: 30px 85px; text-align: center; }
.service-process h2 { margin-block: 18px; }
.service-process > p { font-size: 14px; }
.info-note { display: flex; align-items: start; gap: 9px; padding: 15px; border-radius: var(--radius-sm); background: var(--teal-wash); color: var(--teal); font-size: 10px; line-height: 1.8; }
.info-note .icon { width: 16px; height: 16px; margin-top: 1px; }
.service-process .info-note { text-align: start; margin-top: 30px; }
.service-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; padding-block: 65px 85px; }
.service-detail h1 { margin-block: 23px; }
.service-detail-price { margin-block: 28px; }
.service-detail > div > .small-note { margin-top: 15px; }
.service-detail-art .course-art { height: 380px; border: 9px solid var(--surface); border-radius: 5px; box-shadow: var(--shadow); transform: rotate(4deg); padding: 35px; }
.service-detail-art .course-art > p { font-size: 75px; margin-top: 35px; }
.service-detail-art .art-arabic { font-size: 45px; top: 185px; }
.service-detail-art .sound-bars { margin-top: 60px; }
.booking-intro { display: flex; gap: 40px; justify-content: space-between; align-items: end; padding-block: 60px 42px; }
.booking-intro h1 { font-size: 64px; margin-block: 17px; }
.booking-intro p { font-size: 13px; }
.booking-promise { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; padding-bottom: 8px; }
.booking-promise .icon { width: 15px; height: 15px; margin-inline-start: 10px; }
.booking-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 45px; align-items: start; padding-bottom: 90px; }
.booking-panel { padding: 33px; }
.booking-steps { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: 29px; }
.booking-steps > span { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); }
.booking-steps i { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--line); border-radius: 50%; width: 23px; height: 23px; font-size: 9px; font-style: normal; }
.booking-steps .active { color: var(--ink); font-weight: 600; }
.booking-steps .active i { background: var(--brand); color: var(--accent); border-color: var(--brand); }
.booking-steps .done i { background: var(--teal-wash); color: var(--teal); border: 0; }
.booking-steps .icon { width: 13px; height: 13px; }
.field { display: flex; flex-direction: column; align-items: stretch; color: var(--ink); font-size: 11px; font-weight: 500; gap: 7px; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--control-line); border-radius: 5px; background: var(--surface); padding: 11px 13px; font-size: 12px; color: var(--ink); outline-offset: 2px; line-height: 1.6; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field [aria-invalid=true] { border-color: var(--danger); background: var(--danger-wash); }
.field-error, .form-error { color: var(--danger); font-size: 11px; font-weight: 400; }
.field-error:empty, .form-error:empty { display: none; }
.field-help { color: var(--muted); font-size: 10px; font-weight: normal; line-height: 1.8; }
.optional { color: var(--muted); font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-privacy { display: flex; gap: 8px; font-size: 10px; margin-top: 20px; }
.form-privacy .icon { width: 13px; height: 13px; margin-top: 3px; }
.form-privacy a { color: var(--teal); text-decoration: underline; }
.preview-form-note { font-size: 9px; color: var(--muted); margin-block: 12px 23px; }
.form-error { margin-bottom: 15px; }
.service-select-label { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.service-select-label select { background: var(--surface); font-size: 13px; }
.date-picker-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.date-picker-heading > h3, .time-heading > h3 { font-size: 12px; }
.date-picker-heading > div { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.date-picker-heading .icon-button { width: 26px; height: 26px; }
.date-picker-heading .icon { width: 13px; height: 13px; }
.date-picker-heading > div > span { margin-inline-end: 8px; }
.date-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day-button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 3px 10px; border: 1px solid var(--line); border-radius: 6px; }
.day-button > span { color: var(--muted); font-size: 9px; }
.day-button > strong { font-size: 22px; line-height: 1.6; font-weight: 500; }
.day-button > i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); margin-top: 1px; }
.day-button.selected { background: var(--brand); color: var(--accent); border-color: var(--brand); }
.day-button.selected > span { color: var(--inverse-muted); }
.day-button.selected > i { background: var(--accent); }
.time-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-block: 27px 14px; }
.time-heading > span { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: var(--muted); }
.time-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.time-button { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 5px; text-align: start; background: var(--surface); }
.time-button strong { font-size: 13px; font-weight: 500; }
.time-button > span { color: var(--muted); font-size: 9px; }
.time-button:hover:not(:disabled) { border-color: var(--teal); }
.time-button.selected { border-color: var(--teal); background: var(--teal-wash); }
.time-button > .icon { position: absolute; inset-inline-end: 10px; top: 13px; width: 14px; height: 14px; color: var(--teal); }
.time-button:disabled { opacity: .5; background: var(--wash); }
.timezone-select { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 9px; color: var(--muted); padding-block: 23px 0; }
.timezone-select > .icon { width: 13px; height: 13px; }
.timezone-select select { color: var(--teal); background: transparent; border: 0; font-size: 10px; padding: 3px 0; max-width: 180px; }
.booking-panel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 23px; }
.booking-panel-bottom > span { font-size: 10px; color: var(--muted); }
.booking-summary { padding: 30px; background: var(--gold-wash); border-radius: var(--radius); }
.summary-symbol { display: block; color: var(--teal); font-family: var(--font-display); font-size: 55px; line-height: 1; margin-bottom: 24px; }
.booking-summary .eyebrow { font-size: 8px; }
.booking-summary h2 { font-size: 32px; margin-block: 14px; }
.booking-summary > p { font-size: 11px; line-height: 1.9; }
.booking-summary-details { display: flex; flex-direction: column; gap: 14px; margin-top: 25px; }
.booking-summary-details > div { display: flex; align-items: start; gap: 10px; font-size: 11px; color: var(--text); }
.booking-summary-details .icon { width: 16px; height: 16px; color: var(--muted); margin-top: 2px; }
.booking-summary-details small { color: var(--muted); display: block; font-size: 9px; }
.booking-summary-price { margin-top: 20px; }
.booking-policy { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; }
.booking-policy strong { font-size: 10px; font-weight: 500; }
.booking-policy p { font-size: 10px; margin-top: 6px; }
.form-heading { font-size: 29px; margin-block: 24px; }
.success-page { max-width: 790px; text-align: center; padding-block: 73px 95px; }
.success-symbol { display: flex; align-items: center; justify-content: center; width: 65px; height: 65px; background: var(--success-wash); color: var(--teal); border-radius: 50%; margin: 0 auto 19px; }
.success-symbol .icon { width: 27px; height: 27px; }
.success-page h1 { font-size: 64px; margin-block: 24px; }
.success-page > p { max-width: 450px; margin-inline: auto; font-size: 13px; }
.success-receipt { display: grid; grid-template-columns: 1fr 1.3fr; text-align: start; max-width: 540px; margin: 32px auto; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.success-receipt > div { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 21px; font-size: 11px; }
.success-receipt > div + div { border-inline-start: 1px solid var(--line); }
.success-receipt > div > span { color: var(--muted); font-size: 10px; }
.success-receipt small { color: var(--muted); font-size: 9px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.success-page > .small-note { margin-top: 25px; }
.about-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; padding-block: 83px; }
.about-hero h1 { margin-block: 24px; }
.about-hero p { font-size: 14px; line-height: 1.95; }
.about-typography { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--art-wash); position: relative; }
.about-typography::before { content: ''; width: 245px; height: 245px; position: absolute; border: 1px solid var(--art-line); border-radius: 50%; }
.about-typography > span { font-family: var(--font-display); font-size: 69px; font-style: italic; letter-spacing: -4px; color: var(--ink); z-index: 1; }
.about-typography > strong { font-family: var(--font-ar); color: var(--teal); font-size: 65px; font-weight: normal; line-height: 1.5; z-index: 1; }
.about-typography > i { font-size: 8px; font-style: normal; letter-spacing: .2em; margin-top: 15px; }
.about-principle { background: var(--wash); border-block: 1px solid var(--line); padding-block: 60px; }
.about-principle .wrap > div { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; margin-top: 19px; }
.about-principle p { font-size: 13px; line-height: 1.95; }
.about-values { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 65px; padding-block: 65px 85px; }
.about-values article > span { color: var(--teal); font-size: 11px; }
.about-values h3 { font-size: 20px; margin-block: 17px 12px; }
.about-values p { font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 115px; padding-block: 75px 90px; align-items: start; }
.contact-copy h1 { margin-block: 22px; font-size: 65px; }
.contact-copy > p { font-size: 13px; max-width: 400px; line-height: 1.9; }
.contact-aside-note { display: flex; gap: 15px; align-items: start; margin-top: 35px; max-width: 350px; }
.contact-aside-note > .icon { color: var(--teal); margin-top: 3px; }
.contact-aside-note h3 { font-size: 13px; margin-bottom: 7px; }
.contact-aside-note p { font-size: 11px; line-height: 1.85; }
.contact-country { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); margin-top: 35px; padding-top: 25px; }
.contact-country .icon { width: 17px; height: 17px; }
.contact-form-panel { padding: 32px; }
.policy-page { max-width: 850px; padding-block: 75px 95px; }
.policy-page h1 { margin-block: 23px 35px; }
.policy-page > p { margin-bottom: 25px; font-size: 14px; line-height: 2; }
.policy-page .info-note { margin-block: 30px; }
.inbox-page { max-width: 1000px; padding-block: 65px 95px; }
.inbox-page h1 { font-size: 55px; margin-block: 20px; }
.inbox-list { margin-top: 35px; }
.inbox-item { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; margin-bottom: 13px; }
.inbox-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; background: var(--teal-wash); color: var(--teal); border-radius: 8px; flex-shrink: 0; }
.inbox-item > div { display: flex; flex-direction: column; gap: 7px; }
.inbox-item > div > strong { font-size: 13px; }
.inbox-item > div > span { font-size: 10px; color: var(--muted); }
.inbox-item > .badge { margin-inline-start: auto; }
.inbox-item > .icon { width: 17px; height: 17px; }
.reservation-page { padding-block: 45px 85px; }
.reservation-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 32px; }
.reservation-heading h1 { margin-block: 15px; font-size: 63px; }
.reservation-heading p { font-size: 13px; }
.reservation-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.reservation-details, .reservation-customer { padding: 30px; }
.reservation-details h2 { font-size: 33px; margin-bottom: 24px; }
.reservation-time { font-size: 14px; color: var(--ink); line-height: 2; margin-bottom: 23px; }
.reservation-time .icon { width: 16px; height: 16px; margin-inline-end: 8px; }
.reservation-actions { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; margin-top: 30px; }
.reservation-details > .small-note { margin-top: 20px; }
.danger { color: var(--danger); }
.reservation-customer h3 { margin-top: 20px; font-size: 20px; }
.reservation-customer > p { font-size: 12px; margin-top: 8px; overflow-wrap: anywhere; }
.customer-notes { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.customer-notes > strong { font-size: 11px; }
.customer-notes p { font-size: 12px; margin-top: 8px; }
.reservation-customer .info-note { margin-top: 25px; }
.compact-timetable { margin-block: 20px; max-height: 300px; overflow: auto; }
.compact-timetable > div { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; border-bottom: 1px solid var(--line); padding-block: 10px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 55px 25px; }
.empty-state > .icon { width: 35px; height: 35px; color: var(--teal); }
.empty-state h3 { font-size: 19px; font-weight: 400; margin-block: 20px; }
.empty-inline { font-size: 12px; grid-column: 1 / -1; padding: 20px 0; }
.initial-loading { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; }
.initial-loading p { font-size: 12px; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: var(--overlay); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 30px; overflow-y: auto; }
.modal { width: min(100%, 590px); max-height: calc(100dvh - 60px); overflow: auto; background: var(--paper); border-radius: 14px; position: relative; box-shadow: var(--shadow-raised); padding: 39px; }
.modal-close { position: absolute; inset-inline-end: 17px; top: 17px; border-color: transparent; z-index: 1; }
.modal h2 { font-size: 37px; margin-block: 17px; padding-inline-end: 20px; }
.modal-intro { font-size: 12px; margin-bottom: 25px; }
.modal > .eyebrow { margin-top: 10px; }
.modal .form-heading { font-size: 32px; }
.modal-summary { display: flex; gap: 13px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); margin-block: 20px; }
.modal-summary .icon { color: var(--teal); }
.modal-summary strong { display: block; font-size: 12px; }
.modal-summary p { font-size: 10px; margin-top: 5px; }
.modal .success-page { width: 100%; padding-block: 20px; }
.modal .success-page h1 { font-size: 43px; }
.modal .success-page > p { font-size: 12px; }
.modal .success-receipt { grid-template-columns: 1fr; margin-block: 20px; }
.modal .success-receipt > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
.modal-actions { display: flex; gap: 12px; justify-content: end; margin-top: 28px; flex-wrap: wrap; }
.role-choices { display: grid; gap: 13px; margin-top: 23px; }
.role-choice { display: flex; align-items: center; gap: 17px; padding: 19px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; text-align: start; }
.role-choice:hover { border-color: var(--teal); }
.role-choice > .icon:first-child { width: 24px; height: 24px; color: var(--teal); }
.role-choice > div { flex: 1; }
.role-choice strong { font-size: 13px; display: block; }
.role-choice p { font-size: 10px; margin-top: 4px; }
#toast-root { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 100; pointer-events: none; max-width: calc(100% - 48px); }
.toast { display: flex; align-items: center; gap: 12px; background: var(--brand); color: var(--inverse-text); padding: 17px 23px; border-radius: 9px; font-size: 12px; box-shadow: var(--shadow-raised); }
.toast > .icon { color: var(--accent); }
.toast.error { background: var(--danger-wash); }
.toast.error > .icon { color: var(--danger); }

/* Staff workspace: English, deliberately separate from public information. */
.staff-shell { display: flex; min-height: calc(100vh - 31px); background: var(--paper); font-family: var(--font-en); }
.staff-sidebar { width: 225px; flex-shrink: 0; background: var(--brand); color: var(--inverse-muted); display: flex; flex-direction: column; padding: 32px 18px 23px; }
.staff-sidebar .wordmark { color: var(--inverse-text); font-size: 25px; }
.staff-sidebar .wordmark > span { color: var(--accent); }
.staff-sidebar .brand { padding: 0 11px 32px; }
.workspace-label { font-size: 8px; letter-spacing: .16em; padding-inline: 14px; color: var(--inverse-muted); margin-bottom: 10px; }
.staff-sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.staff-sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 12px 14px; font-size: 12px; border-radius: 5px; }
.staff-sidebar nav a.active { background: var(--inverse-hover); color: var(--accent); }
.staff-sidebar nav a:not(.active):hover { background: var(--inverse-hover); }
.staff-sidebar nav .icon { width: 17px; height: 17px; }
.staff-sidebar-note { margin-top: auto; padding: 24px 13px 0; }
.staff-sidebar-note > span { display: block; font-size: 9px; color: var(--accent); }
.staff-sidebar-note > p { color: var(--inverse-muted); font-size: 9px; line-height: 1.9; margin-block: 10px 17px; }
.staff-sidebar-note a, .staff-sidebar-note button { display: flex; align-items: center; gap: 8px; color: var(--inverse-muted); font-size: 9px; padding: 0; margin-top: 12px; }
.staff-sidebar-note .icon { width: 13px; height: 13px; }
.staff-main { flex: 1; min-width: 0; }
.staff-topbar { min-height: 73px; padding-inline: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.staff-topbar > span { font-size: 10px; color: var(--muted); }
.staff-account { display: flex; align-items: center; gap: 12px; }
.staff-account > div { display: flex; flex-direction: column; line-height: 1.5; font-size: 10px; }
.staff-account strong { font-size: 10px; font-weight: 500; }
.staff-account small { color: var(--muted); font-size: 8px; }
.avatar { display: flex; align-items: center; justify-content: center; background: var(--teal-wash); color: var(--ink); font-size: 10px; font-weight: 600; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.staff-content { padding: 34px 38px 55px; max-width: 1600px; margin-inline: auto; }
.staff-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; }
.staff-title h1 { font-family: var(--font-en); font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -.8px; }
.staff-title p { font-size: 11px; margin-top: 7px; }
.staff-title .button { font-size: 10px; min-height: 39px; padding: 10px 14px; gap: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 25px; }
.stat-card { background: var(--surface); padding: 21px; border: 1px solid var(--line); border-radius: 8px; }
.stat-card > div { display: flex; justify-content: space-between; align-items: center; }
.stat-card > div > span { color: var(--muted); font-size: 11px; }
.stat-card > div > .icon { color: var(--teal); width: 17px; height: 17px; }
.stat-card strong { display: block; font-size: 32px; font-weight: 500; letter-spacing: -1px; margin-block: 9px 3px; line-height: 1.4; }
.stat-card p { font-size: 10px; }
.stat-card:first-child { background: var(--gold-wash); border-color: var(--line); }
.staff-two-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-bottom: 25px; }
.staff-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.staff-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 23px; border-bottom: 1px solid var(--line); }
.staff-panel-heading h2 { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.staff-panel-heading p, .staff-panel-heading > span { font-size: 9px; color: var(--muted); }
.staff-panel-heading a { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; color: var(--teal); }
.staff-panel-heading .icon { width: 13px; height: 13px; }
.chart { display: flex; align-items: end; gap: 20px; height: 165px; padding: 26px 28px 22px; }
.chart-column { display: flex; flex-direction: column; align-items: center; flex: 1; height: 100%; justify-content: end; gap: 8px; }
.chart-column > div { display: flex; align-items: end; justify-content: center; gap: 4px; height: 100px; width: 100%; }
.chart-column i { display: block; border-radius: 3px 3px 0 0; width: min(100%, 23px); background: var(--brand); height: var(--height); min-height: 4px; }
.chart-column i + i { background: var(--accent); }
.chart-column > span { font-size: 8px; color: var(--muted); }
.chart-legend { display: flex; gap: 18px; font-size: 8px; padding: 0 24px 20px; color: var(--muted); }
.chart-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 6px; height: 6px; display: inline-block; background: var(--brand); border-radius: 1px; }
.chart-legend > span + span > i { background: var(--accent); }
.activity-list { padding: 8px 22px; }
.activity-list > div { display: flex; align-items: start; gap: 11px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.activity-list > div:last-child { border: 0; }
.activity-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 4px; flex-shrink: 0; }
.activity-list p { color: var(--text); font-size: 11px; line-height: 1.7; }
.activity-list small { display: block; color: var(--muted); font-size: 8px; margin-top: 4px; }
.table-scroll { overflow-x: auto; }
.data-table { border-collapse: collapse; width: 100%; text-align: start; white-space: nowrap; }
.data-table th { background: var(--surface); color: var(--muted); font-weight: 400; font-size: 10px; letter-spacing: .03em; text-align: start; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--wash); }
.table-person { display: flex; align-items: center; gap: 10px; }
.table-person .avatar { width: 28px; height: 28px; background: var(--teal-wash); font-size: 8px; }
.table-person > div { display: flex; flex-direction: column; gap: 3px; }
.table-person strong { font-size: 12px; font-weight: 500; }
.table-person small, .table-muted { font-size: 10px; color: var(--muted); }
.table-action { color: var(--teal); border: 1px solid var(--line); border-radius: 4px; padding: 5px 9px; font-size: 9px; }
.table-action:hover { background: var(--teal-wash); }
.data-table .badge { font-size: 8px; padding: 3px 7px; }
.staff-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.staff-filters .search-field { background: var(--surface); }
.staff-filters .search-field input { width: 210px; }
.staff-filters select { padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.staff-filters > input[type=date] { padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-size: 10px; color: var(--ink); }
.staff-info { display: flex; gap: 9px; padding: 16px 20px; font-size: 10px; color: var(--teal); background: var(--teal-wash); border: 1px solid var(--line); border-radius: 7px; margin-bottom: 23px; }
.staff-info .icon { width: 16px; height: 16px; }
.staff-form { padding: 28px; }
.staff-form h2 { font-family: var(--font-en); font-size: 16px; font-weight: 500; letter-spacing: -.3px; margin-bottom: 10px; }
.staff-form > p { font-size: 11px; margin-bottom: 25px; }
.staff-form .form-grid { gap: 22px; }
.staff-form .button { min-height: 40px; padding: 10px 18px; font-size: 11px; margin-top: 25px; }
.content-locale-heading { display: flex; align-items: center; gap: 10px; margin-block: 12px 18px; font-size: 11px; }
.content-locale-heading > span { background: var(--teal-wash); color: var(--teal); padding: 4px 7px; border-radius: 4px; font-size: 8px; }
.staff-form-divider { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.settings-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 25px; align-items: start; }
.settings-note { padding: 27px; background: var(--gold-wash); border-radius: 8px; }
.settings-note h3 { font-size: 14px; }
.settings-note p { font-size: 10px; margin-top: 12px; line-height: 1.9; }
.staff-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding-block: 17px; }
.staff-detail-grid dt { font-size: 10px; color: var(--muted); }
.staff-detail-grid dd { margin: 4px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.staff-detail-notes { padding: 15px; background: var(--wash); border-radius: 6px; margin-block: 10px 20px; }
.staff-detail-notes > strong { font-size: 10px; }
.staff-detail-notes p { font-size: 11px; margin-top: 7px; }
.professional-card { padding: 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.professional-card:last-child { border-bottom: 0; }
.professional-card h3 { font-size: 12px; margin-bottom: 7px; }
.professional-card time { font-size: 11px; color: var(--muted); }
.professional-customer { padding-block: 6px; }
.professional-customer strong { font-size: 12px; font-weight: 500; }
.professional-customer p { font-size: 10px; margin-top: 5px; }
.professional-customer p > span { color: var(--teal); font-weight: 500; }
.capacity-list { display: flex; flex-direction: column; gap: 10px; margin-block: 22px; }
.capacity-list > div { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; }
.capacity-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-block: 22px; }
.capacity-stats > div { text-align: center; padding: 15px 8px; background: var(--gold-wash); border-radius: 6px; }
.capacity-stats strong { font-size: 25px; display: block; font-weight: 500; }
.capacity-stats span { font-size: 9px; color: var(--muted); }
.checkbox-list { display: flex; flex-direction: column; gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 5px; margin-top: 7px; }
.checkbox-list label { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.checkbox-list input { width: 14px; height: 14px; accent-color: var(--teal); }

/* Arabic is a complete mirrored layout; English-only staff pages remain LTR. */
html[dir=rtl] body { font-family: var(--font-ar); }
html[dir=rtl] h1, html[dir=rtl] h2, html[dir=rtl] .course-card h3, html[dir=rtl] .service-list-item h3 { font-family: var(--font-ar); letter-spacing: -.025em; line-height: 1.5; }
html[dir=rtl] .hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: 1.6; letter-spacing: -.04em; margin-block: 10px; }
html[dir=rtl] .hero h1 em { font-style: normal; }
html[dir=rtl] .eyebrow { letter-spacing: 0; }
html[dir=rtl] .wordmark, html[dir=rtl] .course-art, html[dir=rtl] .paper-top { direction: ltr; }
html[dir=rtl] .sheet-front { transform: rotate(7deg); }
html[dir=rtl] .sheet-back { transform: rotate(-9deg); }
html[dir=rtl] .paper-title { font-family: var(--font-ar); font-size: 43px; letter-spacing: -1px; line-height: 1.4; }
html[dir=rtl] .paper-arabic { font-size: 20px; }
html[dir=rtl] .paper-rule { margin-block: 15px 10px; }
html[dir=rtl] .paper-bottom { margin-top: 8px; }
html[dir=rtl] .hero-art { direction: rtl; }
html[dir=rtl] .paper-eyebrow { margin-top: 28px; letter-spacing: 0; }
html[dir=rtl] .subtle-link > .icon, html[dir=rtl] .button > .icon, html[dir=rtl] .back-link > .icon { transform: scaleX(-1); }
html[dir=rtl] .back-link > .flip { transform: none; }
html[dir=rtl] .course-card h3 { font-size: 22px; min-height: 68px; }
html[dir=rtl] .course-card-body > p { min-height: 85px; }
html[dir=rtl] .hero-description { line-height: 2.1; }
html[dir=rtl] .service-detail h1 { font-size: 53px; }
html[dir=rtl] .preview-caption strong { letter-spacing: 0; }

@media (min-width: 1550px) { .hero { gap: 105px; } .hero-art { margin-inline-end: 30px; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 72px); }
  .desktop-nav { gap: 20px; }
  .header-inner { gap: 20px; }
  .header-actions { gap: 16px; }
  .hero { gap: 30px; padding-block: 60px; }
  .hero h1 { font-size: 80px; }
  .hero-art { height: 440px; transform: scale(.89); transform-origin: center; margin-inline: -15px; }
  .hero-facts { gap: 15px; }
  .hero-actions { gap: 18px; }
  .approach-grid, .services-home { gap: 65px; }
  .course-card-body { padding: 20px; }
  .course-card h3 { font-size: 23px; }
  .course-art { height: 185px; padding: 18px; }
  .art-written > p { font-size: 42px; }
  .course-card-body > p { min-height: 81px; }
  .footer-grid { gap: 40px; }
  .course-detail-hero, .course-detail-grid, .service-detail { gap: 50px; }
  .booking-layout { gap: 28px; }
  .booking-panel { padding: 26px; }
  .contact-layout { gap: 60px; }
  .contact-copy h1 { font-size: 55px; }
  .staff-sidebar { width: 195px; }
  .staff-topbar { padding-inline: 26px; }
  .staff-content { padding: 29px 26px; }
  .stat-card { padding: 16px; }
  .staff-two-columns { gap: 18px; }
  .stat-grid { gap: 12px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .header-inner { min-height: 80px; }
  .mobile-nav { display: flex; flex-direction: column; padding-block: 5px 22px; }
  .mobile-nav a { padding-block: 12px; font-size: 14px; border-top: 1px solid var(--line); }
  .mobile-nav a:last-child { display: flex; align-items: center; justify-content: space-between; color: var(--teal); }
  .hero { gap: 25px; grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 69px; }
  .hero-description { font-size: 12px; }
  .hero-art { width: 500px; max-width: 100%; transform: scale(.85); transform-origin: center; height: 440px; margin-inline: auto; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .hero-facts { gap: 14px; font-size: 9px; }
  .hero-facts > span:last-child { display: none; }
  .course-grid { gap: 16px; }
  .course-art { height: 170px; padding: 14px; }
  .art-topline { font-size: 5px; }
  .art-written > p { font-size: 35px; }
  .art-arabic { font-size: 21px; inset-inline-end: 18px; top: 89px; }
  .art-consecutive > p { font-size: 31px; }
  .art-circle { width: 75px; height: 75px; inset-inline-end: 12px; }
  .art-spoken > p { font-size: 35px; gap: 13px; }
  .art-spoken p > span { font-size: 27px; }
  .sound-bars { gap: 4px; margin-top: 1px; }
  .sound-bars i { max-height: 36px; width: 2px; }
  .course-card-body { padding: 17px; }
  .course-card h3 { font-size: 21px; min-height: 75px; }
  .course-card-body > p { font-size: 10px; min-height: 93px; }
  .course-meta { font-size: 8px; gap: 5px; }
  .price > span { font-size: 8px; }
  .course-card .price { flex-direction: column; gap: 2px; }
  .approach-grid, .services-home { gap: 45px; }
  .page-intro { gap: 30px; }
  .page-intro > p { max-width: 280px; font-size: 12px; }
  .course-detail-hero h1 { font-size: 49px; }
  .course-detail-hero { gap: 30px; }
  .detail-art .course-art { height: 270px; }
  .detail-art .course-art > p { font-size: 50px; }
  .course-detail-grid { gap: 30px; grid-template-columns: 1.3fr 1fr; }
  .course-summary { padding: 23px; }
  .service-detail { gap: 45px; }
  .service-detail h1 { font-size: 52px; }
  .service-detail-art .course-art { height: 320px; padding: 25px; }
  .service-detail-art .course-art > p { font-size: 57px; }
  .booking-layout { grid-template-columns: 1.5fr 1fr; gap: 20px; }
  .booking-summary { padding: 23px; }
  .booking-steps { gap: 6px; }
  .booking-steps > span { font-size: 8px; gap: 5px; }
  .time-grid { grid-template-columns: 1fr 1fr; }
  .booking-panel-bottom > span { display: none; }
  .booking-panel-bottom { justify-content: end; }
  .booking-promise { flex-wrap: wrap; max-width: 160px; }
  .about-hero { gap: 45px; }
  .about-hero h1 { font-size: 55px; }
  .about-typography > span { font-size: 53px; }
  .about-typography::before { width: 220px; height: 220px; }
  .about-principle .wrap > div { gap: 45px; }
  .contact-layout { gap: 35px; }
  .contact-copy h1 { font-size: 48px; }
  .staff-sidebar { width: 66px; padding-inline: 10px; }
  .staff-sidebar .brand { padding: 0 0 25px; overflow: hidden; width: 43px; }
  .staff-sidebar .wordmark { font-size: 22px; }
  .staff-sidebar nav a { justify-content: center; padding: 13px 9px; }
  .staff-sidebar nav a > span, .workspace-label, .staff-sidebar-note { display: none; }
  .staff-two-columns { grid-template-columns: 1fr; }
  .staff-title h1 { font-size: 25px; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .prototype-bar > .wrap { min-height: 29px; width: calc(100% - 30px); gap: 5px; }
  .preview-caption > span { display: none; }
  .preview-caption strong { font-size: 7px; }
  .preview-actions { gap: 14px; }
  .preview-actions button { font-size: 8px; gap: 5px; }
  .preview-actions .icon { display: none; }
  .wordmark { font-size: 25px; }
  .header-inner { min-height: 74px; gap: 15px; }
  .header-actions { gap: 17px; }
  .language-button { font-size: 10px; }
  .language-button .icon { display: none; }
  .header-book { display: none; }
  .mobile-menu-button { width: 32px; height: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 40px 42px; overflow: hidden; }
  .hero .eyebrow { font-size: 8px; gap: 8px; }
  .hero h1 { font-size: clamp(62px, 16vw, 86px); max-width: 440px; margin-block: 24px; line-height: 1.02; }
  .hero-description { max-width: 100%; font-size: 13px; line-height: 1.9; }
  .hero-actions { margin-top: 25px; gap: 23px; }
  .hero-actions .button { padding: 12px 17px; min-height: 49px; gap: 17px; font-size: 12px; }
  .hero-actions .subtle-link { font-size: 10px; }
  .hero-facts { margin-top: 30px; padding-top: 19px; gap: 20px; }
  .hero-facts > span:last-child { display: flex; }
  .hero-facts .icon { width: 13px; height: 13px; }
  .hero-art { width: 375px; max-width: 100%; height: 390px; margin: 20px auto -20px; transform: scale(.8); transform-origin: top center; }
  .sheet-front { inset-inline-start: 0; }
  .sheet-back { inset-inline-end: -4px; }
  .orbit-one { inset-inline-start: -15px; }
  .orbit-two { inset-inline-start: -65px; }
  .art-side-note { display: none; }
  .art-note { bottom: -12px; inset-inline-start: -7px; }
  .meaning-band .wrap { gap: 16px; padding-block: 20px; }
  .meaning-band .wrap > span { font-size: 26px; }
  .meaning-band .wrap > i { width: 20px; }
  .meaning-band .wrap > p { font-size: 8px; }
  .section { padding-block: 54px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { margin-top: 14px; }
  .section-heading-aside { margin-top: 22px; max-width: none; }
  .section-heading-aside p { font-size: 12px; margin-bottom: 13px; max-width: 340px; }
  .eyebrow { font-size: 8px; }
  .course-grid { grid-template-columns: 1fr; gap: 24px; }
  .course-art { height: 210px; padding: 22px 25px; }
  .art-topline { font-size: 7px; }
  .art-written > p { font-size: 52px; margin-top: 21px; }
  .art-arabic { font-size: 27px; top: 112px; inset-inline-end: 28px; }
  .art-lines { margin-top: 28px; }
  .art-spoken > p { font-size: 50px; gap: 30px; }
  .art-spoken p > span { font-size: 38px; }
  .sound-bars { margin-top: 10px; gap: 5px; }
  .sound-bars i { width: 3px; max-height: 48px; }
  .art-consecutive > p { font-size: 40px; }
  .art-circle { width: 110px; height: 110px; inset-inline-end: 30px; }
  .course-card-body { padding: 23px; }
  .course-card h3 { font-size: 27px; min-height: 0; margin-top: 17px; }
  .course-card-body > p { font-size: 12px; min-height: 0; margin-top: 14px; }
  .course-meta { font-size: 10px; margin-top: 21px; }
  .course-card .price { flex-direction: row; gap: 7px; }
  .price > span { font-size: 10px; }
  .approach-section { padding-block: 49px; }
  .approach-grid { grid-template-columns: 1fr; gap: 30px; }
  .approach-glyph { display: none; }
  .approach-intro > p { max-width: none; font-size: 12px; }
  .approach-steps article { gap: 18px; padding-block: 24px; }
  .approach-steps h3 { font-size: 17px; }
  .approach-steps p { font-size: 12px; }
  .services-home { grid-template-columns: 1fr; gap: 25px; }
  .services-home .section-intro { max-width: none; }
  .service-list-item { padding-block: 22px; gap: 18px; }
  .service-list-item h3 { font-size: 27px; }
  .cta-section { padding: 33px 26px; margin-bottom: 50px; flex-direction: column; align-items: start; gap: 26px; }
  .cta-section h2 { font-size: 33px; line-height: 1.2; }
  .cta-section p { max-width: 260px; }
  .cta-decoration { font-size: 220px; inset-inline-end: -20px; bottom: 15px; }
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 280px; font-size: 12px; }
  .footer-grid h3 { font-size: 12px; }
  .footer-grid > div:not(:first-child) > a, .footer-grid > div > .text-button { font-size: 11px; }
  .footer-location { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 25px; }
  .footer-location p { font-size: 11px; }
  .footer-bottom { font-size: 8px; gap: 15px; }
  .prototype-footnote { line-height: 1.8; }
  .page-intro { display: block; padding-block: 42px 32px; }
  .page-intro h1 { margin-top: 19px; font-size: 50px; }
  .page-intro > p { max-width: none; margin-top: 24px; font-size: 12px; }
  .listing-toolbar { gap: 16px; padding-block: 17px; margin-bottom: 25px; }
  .filter-tabs { gap: 4px; }
  .filter-tabs button { font-size: 9px; padding: 9px 10px; }
  .listing-tools { width: 100%; }
  .listing-tools .search-field { flex: 1; min-width: 0; }
  .listing-tools input { width: 100%; min-width: 0; font-size: 11px; }
  .listing-tools .select-wrap { flex-shrink: 0; }
  .course-listing { padding-bottom: 50px; }
  .breadcrumb { font-size: 9px; padding-top: 24px; }
  .course-detail-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .course-detail-hero h1 { font-size: 45px; }
  .course-detail-hero p { font-size: 13px; }
  .detail-art { transform: rotate(1deg); }
  .detail-art .course-art { height: 230px; }
  .detail-art .course-art > p { font-size: 52px; margin-top: 22px; }
  .detail-art .art-arabic { top: 130px; font-size: 30px; }
  .detail-art .art-lines { margin-top: 25px; }
  .detail-art .art-consecutive > p { font-size: 43px; }
  .course-detail-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 50px; }
  .detail-tabs { gap: 25px; margin-bottom: 25px; }
  .detail-tabs button { font-size: 11px; }
  .detail-panel h2 { font-size: 30px; }
  .course-summary { position: static; }
  .timetable-heading { flex-wrap: wrap; }
  .timetable-row { gap: 10px; }
  .timetable-row strong { font-size: 10px; }
  .timetable-row bdi { font-size: 10px; }
  .service-cards { grid-template-columns: 1fr; gap: 20px; padding-bottom: 30px; }
  .service-card { padding: 27px; }
  .service-card > p { min-height: 0; font-size: 13px; }
  .service-card h2 { font-size: 33px; }
  .service-process { padding-block: 25px 55px; }
  .service-process h2 { font-size: 33px; }
  .service-process > p { font-size: 12px; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; padding-block: 36px 45px; }
  .service-detail h1 { font-size: 49px; }
  .service-detail-art .course-art { height: 290px; }
  .service-detail-art .course-art > p { margin-top: 30px; }
  .booking-intro { display: block; padding-block: 38px 28px; }
  .booking-intro h1 { font-size: 53px; }
  .booking-intro p { font-size: 12px; }
  .booking-promise { max-width: none; margin-top: 23px; font-size: 9px; padding: 0; gap: 8px; }
  .booking-promise .icon { margin-inline-start: 0; }
  .booking-promise .icon:nth-of-type(2) { margin-inline-start: 10px; }
  .booking-layout { grid-template-columns: 1fr; padding-bottom: 50px; gap: 23px; }
  .booking-panel { padding: 22px 18px; }
  .booking-steps { gap: 8px; margin-bottom: 23px; padding-bottom: 20px; }
  .booking-steps > span { font-size: 8px; gap: 6px; }
  .booking-steps i { width: 20px; height: 20px; }
  .date-strip { gap: 5px; }
  .day-button { padding-block: 10px 8px; }
  .day-button > strong { font-size: 20px; }
  .day-button > span { font-size: 8px; }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .time-button { padding: 11px 10px; }
  .time-button strong { font-size: 12px; }
  .time-button > span { font-size: 8px; }
  .time-button > .icon { width: 11px; height: 11px; inset-inline-end: 6px; }
  .date-picker-heading > h3, .time-heading > h3 { font-size: 11px; }
  .date-picker-heading > div { gap: 4px; font-size: 8px; }
  .date-picker-heading > div > span { margin-inline-end: 4px; }
  .booking-summary { padding: 25px; }
  .summary-symbol { display: none; }
  .booking-summary h2 { font-size: 29px; }
  .booking-summary > p { font-size: 12px; }
  .field { font-size: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 10px 12px; }
  .field-help { font-size: 10px; }
  .form-privacy { font-size: 10px; }
  .success-page { padding-block: 45px 60px; }
  .success-page h1 { font-size: 47px; }
  .success-page > p { font-size: 12px; }
  .success-receipt { grid-template-columns: 1fr; margin-block: 25px; }
  .success-receipt > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .success-receipt > div { padding: 17px; }
  .success-actions { flex-direction: column; }
  .about-hero { grid-template-columns: 1fr; gap: 34px; padding-block: 42px; }
  .about-hero h1 { font-size: 47px; }
  .about-hero p { font-size: 13px; }
  .about-typography { min-height: 290px; }
  .about-principle { padding-block: 42px; }
  .about-principle .wrap > div { grid-template-columns: 1fr; gap: 23px; }
  .about-principle p { font-size: 12px; }
  .about-values { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 50px; }
  .about-values article { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .about-values h3 { margin-block: 12px 8px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 50px; }
  .contact-copy h1 { font-size: 46px; }
  .contact-aside-note { margin-top: 25px; }
  .contact-country { margin-top: 25px; padding-top: 20px; }
  .contact-form-panel { padding: 24px 20px; }
  .policy-page { padding-block: 45px 60px; }
  .policy-page h1 { font-size: 43px; }
  .policy-page > p { font-size: 13px; }
  .inbox-page { padding-block: 42px 55px; }
  .inbox-page h1 { font-size: 43px; }
  .inbox-item { padding: 17px; gap: 12px; flex-wrap: wrap; }
  .inbox-item > div { flex: 1; min-width: 170px; }
  .inbox-item > .badge { margin-inline-start: 54px; }
  .inbox-item > .icon { margin-inline-start: auto; }
  .reservation-page { padding-block: 30px 50px; }
  .reservation-heading h1 { font-size: 49px; }
  .reservation-heading { align-items: start; }
  .reservation-grid { grid-template-columns: 1fr; gap: 20px; }
  .reservation-details, .reservation-customer { padding: 23px; }
  .reservation-details h2 { font-size: 31px; }
  .reservation-time { font-size: 12px; }
  .modal-backdrop { padding: 13px; align-items: center; }
  .modal { max-height: calc(100dvh - 26px); padding: 27px 23px; border-radius: 12px; }
  .modal h2 { font-size: 31px; margin-top: 17px; }
  .modal .success-page h1 { font-size: 36px; }
  .modal-close { inset-inline-end: 8px; top: 8px; }
  .modal-actions { justify-content: stretch; }
  .modal-actions .button { flex: 1; font-size: 11px; }
  #toast-root { inset-inline: 16px; bottom: 16px; max-width: none; }
  .toast { padding: 14px 17px; font-size: 11px; }
  .staff-shell { display: block; }
  .staff-sidebar { width: 100%; padding: 15px 17px 0; }
  .staff-sidebar .brand { display: none; }
  .staff-sidebar nav { flex-direction: row; overflow-x: auto; gap: 7px; padding-bottom: 13px; }
  .staff-sidebar nav a { flex-shrink: 0; padding: 10px; gap: 7px; }
  .staff-sidebar nav a > span { display: block; font-size: 9px; }
  .staff-sidebar nav .icon { width: 14px; height: 14px; }
  .staff-topbar { padding-inline: 20px; min-height: 60px; }
  .staff-topbar > span { font-size: 9px; }
  .staff-content { padding: 27px 20px 40px; }
  .staff-title { flex-direction: column; align-items: start; gap: 17px; }
  .staff-title h1 { font-size: 24px; }
  .staff-title p { font-size: 10px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 17px; }
  .stat-card > div > span { font-size: 9px; }
  .stat-card strong { font-size: 29px; }
  .staff-panel-heading { padding: 17px; gap: 10px; }
  .staff-panel-heading h2 { font-size: 11px; }
  .staff-panel-heading a { font-size: 8px; }
  .staff-filters { align-items: stretch; }
  .staff-filters .search-field { width: 100%; }
  .staff-filters .search-field input { width: 100%; }
  .staff-filters select { flex: 1; min-width: 0; }
  .staff-form { padding: 22px 18px; }
  .staff-form .form-grid { grid-template-columns: 1fr; }
  .staff-form .field input, .staff-form .field select, .staff-form .field textarea { font-size: 14px; }
  .professional-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  html[dir=rtl] .hero h1 { font-size: clamp(44px, 12vw, 62px); line-height: 1.7; }
  html[dir=rtl] h1 { line-height: 1.5; }
  html[dir=rtl] .course-card h3 { min-height: 0; font-size: 24px; }
  html[dir=rtl] .course-card-body > p { min-height: 0; }
  html[dir=rtl] .course-detail-hero h1 { font-size: 39px; }
  html[dir=rtl] .service-detail h1 { font-size: 41px; }
  html[dir=rtl] .hero-actions { gap: 19px; }
  html[dir=rtl] .preview-caption strong { font-size: 8px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 59px; }
  .hero-actions { gap: 14px; }
  .hero-actions .subtle-link { font-size: 9px; gap: 7px; }
  .hero-facts { gap: 12px; font-size: 8px; }
  .time-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs button { font-size: 8px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Admin catalogue: program families and editable course runs. */
.catalogue-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.catalogue-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin: 32px 0 18px; }
.catalogue-section-heading h2 { font: 600 23px var(--font-en); margin: 9px 0 0; }
.catalogue-section-heading h2 > span { color: var(--muted); font-size: 16px; margin-left: 8px; }
.catalogue-section-heading > p { color: var(--muted); font-size: 12px; max-width: 300px; line-height: 1.7; margin: 0; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.program-card { background: var(--surface); border: 1px solid var(--line); padding: 24px 22px 18px; min-width: 0; display: flex; flex-direction: column; }
.program-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.program-symbol { width: 42px; height: 42px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-text); border-radius: 50%; }
.program-symbol-spoken { background: var(--teal-wash); color: var(--ink); }
.program-symbol-consecutive { background: var(--success-wash); color: var(--teal); }
.program-card h3 { font: 600 17px var(--font-en); line-height: 1.4; margin: 22px 0 6px; overflow-wrap: anywhere; }
.catalogue-arabic { display: block; text-align: start; font-family: var(--font-ar); overflow-wrap: anywhere; }
.program-card > .catalogue-arabic { color: var(--muted); font-size: 13px; margin: 0; text-align: right; }
.program-card > p:not(.catalogue-arabic) { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 16px 0 24px; overflow-wrap: anywhere; }
.program-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid var(--line); margin-top: auto; font-size: 11px; color: var(--muted); }
.program-card-bottom > div { display: flex; gap: 18px; }
.program-card-bottom button { font-size: 11px; }
.catalogue-course-panel { margin-top: 30px; }
.catalogue-course-panel .staff-panel-heading > div > p { color: var(--muted); margin: 7px 0 0; font-size: 11px; }
.catalogue-table { min-width: 830px; }
.catalogue-table td:first-child { width: 31%; max-width: 340px; white-space: normal; overflow-wrap: anywhere; }
.catalogue-table .catalogue-arabic { color: var(--muted); margin: 7px 0; font-size: 11px; text-align: right; }
.catalogue-table td > small.table-muted { display: block; margin-top: 8px; }
.catalogue-row-actions { display: grid; gap: 12px; justify-items: start; }
.catalogue-row-actions .text-button { font-size: 11px; }
.catalogue-modal { width: min(840px, calc(100vw - 40px)); }
.catalogue-fieldset { padding: 24px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.catalogue-fieldset legend { font: 600 12px var(--font-en); letter-spacing: .02em; padding: 0; width: 100%; padding-top: 24px; }
.catalogue-fieldset:first-of-type legend { padding-top: 0; }
.catalogue-fieldset:disabled { opacity: .65; }
.catalogue-fieldset .form-grid { margin-top: 0; }
.catalogue-weekday-label { display: block; margin: 22px 0 12px; }
.catalogue-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.catalogue-weekdays label { display: flex; gap: 7px; justify-content: center; align-items: center; padding: 12px 3px; border: 1px solid var(--line); font-size: 11px; cursor: pointer; }
.catalogue-weekdays label:has(input:checked) { background: var(--teal-wash); border-color: var(--teal); color: var(--teal); }
.catalogue-weekdays input { accent-color: var(--teal); }
.catalogue-modal .staff-info { margin-bottom: 20px; }
@media (max-width: 1100px) {
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-section-heading { align-items: start; }
}
@media (max-width: 640px) {
  .program-grid { grid-template-columns: 1fr; }
  .catalogue-section-heading { display: block; }
  .catalogue-section-heading > p { margin-top: 12px; }
  .catalogue-actions { width: 100%; }
  .catalogue-actions .button { flex: 1; font-size: 11px; padding: 12px 10px; }
  .catalogue-weekdays { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalogue-modal { width: calc(100vw - 24px); }
  .catalogue-modal .form-grid { grid-template-columns: minmax(0, 1fr); }
}
