/*
Theme Name: THIQAA 2026 Final
Requires PHP: 8.2
Requires at least: 6.0
Theme URI: https://thiqaa.co.uk
Author: THIQAA LTD
Description: Custom responsive WordPress theme for THIQAA application, document and administrative assistance services.
Version: 6.98.0
Text Domain: thiqaa
*/
:root{--navy:#0b2d48;--navy-2:#153f5f;--navy-3:#071f33;--orange:#ff6b22;--orange-2:#f38d2b;--ink:#172735;--muted:#617280;--bg:#f5f8fa;--soft:#edf3f7;--line:#dfe7ed;--white:#fff;--radius:22px;--shadow:0 18px 48px rgba(11,45,72,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.62}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}
.topbar{background:var(--navy);color:#dbe8f0;font-size:13px}.topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:34px}.top-contact,.top-meta{display:flex;gap:22px;align-items:center}.topbar a:hover{color:#fff}
.site-header{position:sticky;top:0;z-index:70;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(221,230,236,.9);box-shadow:0 4px 20px rgba(10,35,53,.04)}.nav{display:flex;align-items:center;gap:30px;min-height:82px}.brand img{width:190px}.menu{display:flex;align-items:center;gap:25px;margin-left:auto}.menu>li{list-style:none}.menu a{font-size:14px;font-weight:700;color:#314452;position:relative}.menu a:after{content:"";position:absolute;left:0;right:100%;bottom:-9px;height:2px;background:var(--orange);transition:.2s}.menu a:hover{color:var(--orange)}.menu a:hover:after,.menu .current-menu-item>a:after{right:0}.nav-actions{display:flex;align-items:center;gap:10px}.hamb{display:none;border:0;background:none;color:var(--navy);font-size:29px;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 19px;border-radius:9px;font-weight:800;border:1px solid transparent;transition:.2s;cursor:pointer}.btn-lg{padding:14px 22px}.btn-primary{background:linear-gradient(135deg,var(--orange),#ff7d2f);color:#fff;box-shadow:0 8px 22px rgba(255,107,34,.18)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(255,107,34,.28)}.btn-outline{border-color:#9db0bf;background:#fff;color:var(--navy)}.btn-outline:hover{border-color:var(--navy);background:#f8fbfd}.btn-dark{background:var(--navy);color:#fff}.btn-ghost{border-color:#7592a7;color:#fff;background:transparent}.btn-ghost:hover{background:rgba(255,255,255,.08)}
.eyebrow{display:inline-block;color:var(--orange);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.eyebrow.light{color:#f9b16c}.hero{padding:56px 0 0;background:linear-gradient(120deg,#f8fafc 0%,#fff 50%,#f6f8fa 100%);overflow:hidden}.hero-grid,.page-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center}.hero-copy{padding:20px 0 38px}.hero h1,.page-hero h1{font-size:clamp(44px,6vw,68px);line-height:1.02;color:var(--navy);margin:14px 0 18px;letter-spacing:-.04em}.hero h1 em{font-style:normal;color:var(--orange)}.hero p,.page-hero p{font-size:18px;color:#425867;max-width:650px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:26px 0}.hero-note{color:#6a7883;font-size:13px}.hero-art img{width:100%;max-height:500px;object-fit:contain;filter:drop-shadow(0 26px 45px rgba(11,45,72,.10))}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin-top:20px;padding:24px 0 28px;gap:18px}.trust-strip>div{display:grid;grid-template-columns:42px 1fr;column-gap:10px;align-items:start}.trust-strip .trust-icon{grid-row:1/3;width:38px;height:38px;border-radius:12px;background:#eaf1f5;color:var(--navy);display:grid;place-items:center;font-weight:900}.trust-strip b{font-size:14px;color:var(--navy)}.trust-strip small{font-size:12px;color:#71808b;line-height:1.4}
.section{padding:74px 0}.section.alt,.service-groups{background:var(--bg)}.section-title{max-width:760px;margin-bottom:36px}.section-title.centered{text-align:center;margin:0 auto 40px}.section-title h2,.prose h2{color:var(--navy);font-size:clamp(30px,4vw,44px);line-height:1.12;margin:9px 0 12px}.section-title p{color:var(--muted);font-size:16px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.category-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 7px 22px rgba(10,35,53,.06);transition:.22s}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.category-image{display:block;aspect-ratio:16/8.7;background:#eef3f6;overflow:hidden}.category-image img{width:100%;height:100%;object-fit:cover}.category-body{padding:22px;position:relative}.category-icon{position:absolute;top:-25px;left:22px;width:50px;height:50px;border:5px solid #fff;border-radius:50%;background:var(--navy);display:grid;place-items:center;color:#fff}.category-body h3{margin:6px 0 15px;padding-left:0;color:var(--navy);font-size:20px}.category-body ul{list-style:none;padding:0;margin:0 0 18px}.category-body li a{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #edf1f4;font-size:13px;color:#445967}.category-body li:last-child a{border-bottom:0}.category-body li a:hover{color:var(--orange)}.category-btn{width:100%;margin-top:6px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 4px 16px rgba(8,37,59,.04)}.service-card{padding:0;overflow:hidden;transition:.22s}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.service-card .thumb{aspect-ratio:16/10;background:#f5f7fa;overflow:hidden}.service-card .thumb img{width:100%;height:100%;object-fit:cover;transition:.25s}.service-card:hover .thumb img{transform:scale(1.025)}.service-card .inner{padding:22px 24px 25px}.service-card h3{margin:0 0 9px;color:var(--navy);font-size:20px}.service-card p{color:var(--muted);font-size:15px}.more{font-weight:800;color:var(--orange)}.tag{display:inline-block;padding:6px 11px;border-radius:999px;background:#edf4f8;color:var(--navy);font-size:12px;font-weight:800}
.process-section{background:linear-gradient(135deg,#fff,#f7fafc)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.steps.five{grid-template-columns:repeat(5,1fr);gap:10px}.step{text-align:center;padding:12px 10px;position:relative}.step:not(:last-child):after{content:"›";position:absolute;right:-9px;top:35px;color:#6f8799;font-size:32px;font-weight:300}.step-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 15px;border-radius:50%;background:#fff;border:1px solid #e5ebef;color:var(--navy);font-size:18px;font-weight:900;box-shadow:0 10px 28px rgba(11,45,72,.07)}.step h3{font-size:15px;color:var(--navy);margin:0 0 7px}.step p{font-size:13px;color:#6b7a86;margin:0}
.role-section{background:linear-gradient(135deg,var(--navy),#143f60);color:#fff;padding:50px 0}.role-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px}.role-grid>div+div{border-left:1px solid rgba(255,255,255,.25);padding-left:50px}.role-grid h2{font-size:32px;margin:7px 0 10px}.role-grid p{color:#d2e0e9}.role-cta{display:flex;flex-direction:column;justify-content:center}
.page-hero{background:linear-gradient(120deg,#f7fafc,#fff 60%,#f5f8fa);padding:58px 0}.page-hero h1{font-size:clamp(38px,5vw,58px)}.page-art img{width:100%;max-height:390px;object-fit:contain;filter:drop-shadow(0 22px 42px rgba(11,45,72,.12))}.breadcrumbs{color:#7a8791;font-size:13px;margin-bottom:10px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:44px}.prose h2{font-size:29px;margin-top:34px}.prose p,.prose li{color:#4e5e6d}.prose ul{padding-left:20px}.prose .lead{font-size:19px}.sidebox{border:1px solid var(--line);border-radius:22px;padding:25px;position:sticky;top:112px;height:max-content;box-shadow:var(--shadow);background:#fff}.sidebox img{border-radius:16px;margin-bottom:18px}.sidebox h3{color:var(--navy);font-size:22px;margin:8px 0}.notice{background:#fff8ef;border:1px solid #ffd9ae;border-left:5px solid var(--orange);padding:20px 22px;border-radius:14px;color:#574a3d}.helper{font-size:13px;color:#6b7885}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}label{font-weight:700;color:#2b3a47}input,select,textarea{font:inherit;border:1px solid #cfd8df;border-radius:10px;padding:13px 14px;background:#fff;width:100%}input:focus,select:focus,textarea:focus{outline:3px solid rgba(255,107,34,.14);border-color:var(--orange)}textarea{min-height:150px;resize:vertical}.form-note{font-size:13px;color:#6d7884}.success{padding:15px 18px;border-radius:12px;background:#edf8ef;color:#285c32;margin-bottom:20px}.faq{border:1px solid var(--line);border-radius:15px;margin-bottom:12px;overflow:hidden}.faq button{width:100%;border:0;background:#fff;padding:19px 20px;text-align:left;font:inherit;font-weight:750;color:var(--navy);display:flex;justify-content:space-between}.faq .answer{display:none;padding:0 20px 18px;color:var(--muted)}.faq.open .answer{display:block}
.cta-band{background:var(--navy);color:#fff;border-radius:24px;padding:36px;display:flex;align-items:center;justify-content:space-between;gap:24px}.cta-band h2{margin:0 0 6px;font-size:32px}.cta-band p{margin:0;color:#cbdbe7}
.footer{background:var(--navy-3);color:#d6e0e8;padding:54px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px}.footer h4{color:#fff;margin:0 0 13px}.footer a{display:block;color:#c2d1dc;margin:7px 0;font-size:14px}.footer a:hover{color:#fff}.footer-brand img{width:205px}.footer-about p{max-width:360px;color:#adbfcb}.footer-tagline{font-weight:800;color:#fff!important}.footer-contact{display:flex;gap:28px;flex-wrap:wrap;padding:26px 0 18px;border-top:1px solid rgba(255,255,255,.1);margin-top:30px;font-size:13px}.copyright{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;display:flex;justify-content:space-between;gap:25px;color:#8299a9;font-size:12px}.whatsapp-float{position:fixed;right:22px;bottom:22px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-size:13px;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.2);z-index:80}
[dir="rtl"] body{text-align:right}[dir="rtl"] .menu{margin-left:0;margin-right:auto}[dir="rtl"] .category-icon{left:auto;right:22px}[dir="rtl"] .prose ul{padding-left:0;padding-right:20px}[dir="rtl"] .role-grid>div+div{border-left:0;border-right:1px solid rgba(255,255,255,.25);padding-left:0;padding-right:50px}[dir="rtl"] .faq button{text-align:right}
@media(max-width:980px){.menu{position:absolute;display:none;top:82px;left:20px;right:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.menu.open{display:flex}.menu li{width:100%}.menu a{display:block;padding:7px 0}.hamb{display:block}.header-cta{display:none}.hero-grid,.page-hero-grid,.content-grid,.role-grid{grid-template-columns:1fr}.hero-art{max-width:720px;margin:auto}.category-grid{grid-template-columns:1fr 1fr}.trust-strip{grid-template-columns:1fr 1fr}.steps.five{grid-template-columns:repeat(3,1fr)}.step:after{display:none}.sidebox{position:static}.role-grid>div+div{border-left:0;border-top:1px solid rgba(255,255,255,.25);padding-left:0;padding-top:34px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.topbar-inner{align-items:flex-start;padding:7px 0}.top-contact{gap:10px;flex-direction:column}.top-meta{display:none}.nav{min-height:70px}.brand img{width:154px}.menu{top:70px}.hero{padding-top:36px}.hero h1{font-size:43px}.hero p{font-size:16px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.hero-art img{max-height:330px}.trust-strip,.category-grid,.grid-3,.steps,.steps.five,.form-grid,.footer-grid{grid-template-columns:1fr}.trust-strip{gap:14px}.section{padding:56px 0}.role-section{padding:44px 0}.role-grid{gap:26px}.cta-band{flex-direction:column;align-items:flex-start}.copyright{flex-direction:column}.field.full{grid-column:auto}.page-hero{padding:42px 0}.page-hero h1{font-size:38px}.footer-contact{flex-direction:column;gap:8px}.whatsapp-float{right:14px;bottom:14px}}

.error{padding:15px 18px;border-radius:12px;background:#fff1f0;color:#8a1f17;border:1px solid #f1b8b3;margin-bottom:20px}

/* 2026 photographic refresh */
.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{width:218px;height:auto;max-height:60px;object-fit:contain}.hero-art,.page-art{position:relative}.hero-art img,.page-art img{border-radius:26px;object-fit:cover;box-shadow:0 22px 50px rgba(11,45,72,.16);filter:none}.hero-art img{height:470px}.page-art img{height:370px}.service-card .thumb img,.category-image img,.sidebox img{object-fit:cover}.category-image{aspect-ratio:16/9}.service-card .thumb{aspect-ratio:16/9}.site-header .brand{min-width:218px}.footer-brand img{width:220px;max-height:60px;object-fit:contain}.footer-brand:after{content:"Application & Document Assistance";display:block;margin-top:8px;color:#aebfcb;font-size:12px;letter-spacing:.04em}.page-art:after,.hero-art:after{content:"";position:absolute;inset:auto 20px 18px auto;width:90px;height:6px;border-radius:999px;background:var(--orange);opacity:.9}
@media(max-width:640px){.brand img{width:176px;max-height:52px}.site-header .brand{min-width:176px}.hero-art img{height:310px}.page-art img{height:260px}}

/* Bilingual / brand clarity update */
.lang-switch{font-weight:900;color:#fff!important;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:3px 10px;line-height:1.4}.site-header .brand img{width:250px;max-height:68px}.footer-brand img{width:250px;max-height:72px}.footer-brand:after{display:none}.lang-ar{font-family:Tahoma,"Segoe UI",Arial,sans-serif}.lang-ar h1,.lang-ar h2,.lang-ar h3,.lang-ar h4,.lang-ar .btn,.lang-ar .menu a{letter-spacing:0}.lang-ar .hero h1,.lang-ar .page-hero h1{line-height:1.18}.lang-ar .eyebrow{letter-spacing:0;text-transform:none;font-size:13px}.lang-ar .menu{margin-left:0;margin-right:auto}.lang-ar .top-contact,.lang-ar .top-meta{direction:ltr}.lang-ar .top-meta .lang-switch{direction:rtl}.lang-ar .category-body li a,.lang-ar .legal-nav,.lang-ar .hero-actions{direction:rtl}.lang-ar .category-icon{left:auto;right:22px}.lang-ar .role-grid>div+div{border-left:0;border-right:1px solid rgba(255,255,255,.25);padding-left:0;padding-right:50px}.lang-ar .faq button{text-align:right}.lang-ar .prose ul{padding-left:0;padding-right:22px}.lang-ar .notice{border-left:1px solid #ffd9ae;border-right:5px solid var(--orange)}.lang-ar .whatsapp-float{right:auto;left:22px}.lang-ar .step:not(:last-child):after{right:auto;left:-9px;content:"‹"}.lang-ar input,.lang-ar textarea,.lang-ar select{text-align:right}.lang-ar input[type="email"],.lang-ar input[type="tel"]{direction:ltr;text-align:right}
@media(max-width:980px){.lang-ar .menu{margin:0}.lang-ar .role-grid>div+div{border-right:0;padding-right:0;border-top:1px solid rgba(255,255,255,.25);padding-top:34px}}
@media(max-width:640px){.site-header .brand img{width:205px;max-height:58px}.footer-brand img{width:220px}.lang-ar .whatsapp-float{left:14px;right:auto}}

/* Office address + map */
.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.map-frame{overflow:hidden;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}.map-frame iframe{display:block;width:100%;height:440px;border:0}.office-map-section{padding-top:62px}.footer-contact a{color:inherit}.footer-contact a:hover{color:#fff}
@media(max-width:640px){.contact-actions{flex-direction:column}.contact-actions .btn{width:100%}.map-frame iframe{height:340px}}


/* ===== THIQAA 3.0 — approved brand-led interface ===== */
:root{--navy:#082b50;--navy-2:#0d3b66;--navy-3:#061d36;--orange:#f47a12;--orange-2:#ff9a24;--paper:#ffffff;--soft:#f5f8fb;--ink:#122943;--muted:#61748a;--line:#dfe7ee}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff}.container{width:min(1180px,calc(100% - 40px))}.topbar{background:linear-gradient(90deg,#0a335b,#082744);font-size:12px}.topbar-inner{min-height:42px}.top-contact{gap:24px}.top-contact span,.top-contact a,.top-meta{color:#fff}.top-meta{gap:20px}.lang-switch{background:#fff;color:var(--navy)!important;border:0;padding:7px 14px;box-shadow:0 1px 0 rgba(255,255,255,.2)}
.site-header{background:#fff;border-bottom:1px solid #e9eef2;box-shadow:0 4px 16px rgba(8,43,80,.04);position:sticky;top:0;z-index:90}.nav{min-height:112px;gap:24px}.site-header .brand{min-width:300px}.site-header .brand img{width:300px;max-height:82px}.menu{gap:27px}.menu a{font-weight:700;color:#19334f;position:relative;padding:42px 0 36px}.menu a:hover{color:var(--navy)}.menu a:hover:after{content:"";position:absolute;left:0;right:0;bottom:28px;height:3px;background:var(--orange);border-radius:4px}.header-cta{padding:15px 21px;border-radius:12px;white-space:nowrap}
.hero-final{padding:0;background:#fff;border-bottom:1px solid #eef2f5}.hero-final-grid{display:grid;grid-template-columns:.95fr 1.18fr;min-height:510px;align-items:stretch}.hero-final .hero-copy{padding:72px 42px 64px 0;display:flex;flex-direction:column;justify-content:center}.hero-final .eyebrow{color:var(--navy);font-size:12px;letter-spacing:2.1px}.hero-final h1{font-size:clamp(48px,5.4vw,76px);line-height:.98;letter-spacing:-2.5px;margin:18px 0 24px;color:var(--navy);max-width:720px}.hero-final h1 em{font-style:normal;color:var(--orange)}.hero-final p{font-size:21px;line-height:1.55;color:#2b4663;max-width:650px;margin:0 0 28px}.hero-final .hero-actions{display:flex;gap:18px}.hero-final .btn-lg{min-width:176px;justify-content:center}.hero-photo{position:relative;overflow:hidden;min-height:510px}.hero-photo:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.78) 9%,rgba(255,255,255,.08) 36%,rgba(8,43,80,.08) 100%)}.hero-photo img{width:100%;height:100%;object-fit:cover;display:block}.hero-photo-words{position:absolute;z-index:2;right:42px;top:72px;display:flex;flex-direction:column;gap:8px;text-align:right;font-size:24px;font-style:italic;font-family:Georgia,serif;color:#0a2c51;transform:rotate(-2deg)}.hero-photo-words:after{content:"";display:block;width:86px;height:5px;background:var(--orange);margin:8px 0 0 auto;transform:rotate(-5deg)}
.values-strip{background:#fff;border-bottom:1px solid #edf2f6}.values-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0}.value-item{display:flex;align-items:center;gap:16px;padding:8px 28px;border-right:1px solid #dfe6ec}.value-item:last-child{border-right:0}.value-icon{font-size:38px;line-height:1;color:var(--navy);min-width:44px}.value-item b{display:block;color:var(--navy);font-size:19px;margin-bottom:3px}.value-item small{color:#526a80;font-size:13px;line-height:1.35}
.future-band{background:linear-gradient(115deg,#092f56,#0b2441);padding:45px 0;text-align:center;color:#fff}.future-band h2{font-size:44px;margin:0 0 8px;color:#fff}.future-band h2 em{font-style:normal;color:var(--orange)}.future-band p{color:#cbd9e5;margin:0;font-size:16px}
.section{padding:82px 0}.section-title h2{color:var(--navy);font-size:44px}.category-card{border:1px solid #e4ebf0;border-radius:18px;overflow:hidden;box-shadow:0 15px 40px rgba(8,43,80,.07);transition:.25s}.category-card:hover{transform:translateY(-4px);box-shadow:0 20px 52px rgba(8,43,80,.11)}.category-image{aspect-ratio:16/9}.category-image img{width:100%;height:100%;object-fit:cover}.category-body{padding:26px}.category-body h3{color:var(--navy);font-size:23px;margin:0 0 15px}.category-body li a{padding:8px 0}.category-btn{width:100%;justify-content:center;margin-top:14px}.process-section{background:#f7f9fb}.step-icon{border:2px solid #eef2f5;width:74px;height:74px}.role-section{background:linear-gradient(125deg,#082b50,#0b3b67)}
.footer{background:#061d36}.footer-brand img{width:275px;max-height:90px}.footer-contact{line-height:1.5}
/* Arabic typography: local/private, no external font requests */
.lang-ar{font-family:"Noto Kufi Arabic","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif}.lang-ar h1,.lang-ar h2,.lang-ar h3,.lang-ar h4,.lang-ar .menu a,.lang-ar .btn{font-family:"Noto Kufi Arabic","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;font-weight:800}.lang-ar .site-header .brand{direction:ltr}.lang-ar .hero-final .hero-copy{padding:72px 0 64px 42px}.lang-ar .hero-final h1{font-size:clamp(42px,5vw,67px);line-height:1.32;letter-spacing:0}.lang-ar .hero-final p{line-height:1.9}.lang-ar .hero-photo:before{background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.78) 9%,rgba(255,255,255,.08) 36%,rgba(8,43,80,.08) 100%)}.lang-ar .hero-photo-words{right:auto;left:42px;text-align:left;font-style:normal;font-family:"Noto Kufi Arabic","Segoe UI",Tahoma,Arial,sans-serif;transform:none}.lang-ar .hero-photo-words:after{margin-right:0;margin-left:auto}.lang-ar .value-item{border-right:0;border-left:1px solid #dfe6ec}.lang-ar .value-item:last-child{border-left:0}.lang-ar .top-contact{direction:ltr}.lang-ar .top-meta{direction:rtl}.lang-ar .menu{margin-right:auto;margin-left:0}.lang-ar .menu a{padding:40px 0 35px}.lang-ar .category-body h3{line-height:1.6}.lang-ar .future-band h2{line-height:1.5}
@media(max-width:1120px){.site-header .brand{min-width:230px}.site-header .brand img{width:230px}.menu{gap:18px}.menu a{font-size:14px}.hero-final-grid{grid-template-columns:1fr 1fr}.hero-final h1{font-size:54px}}
@media(max-width:980px){.nav{min-height:86px}.site-header .brand{min-width:220px}.site-header .brand img{width:220px}.menu{top:86px}.menu a{padding:9px 0}.hero-final-grid{grid-template-columns:1fr}.hero-final .hero-copy,.lang-ar .hero-final .hero-copy{padding:58px 0 38px}.hero-photo{min-height:390px}.values-grid{grid-template-columns:1fr 1fr}.value-item:nth-child(2){border-right:0}.lang-ar .value-item:nth-child(2){border-left:0}.value-item{border-bottom:1px solid #edf1f4}.value-item:nth-child(3),.value-item:nth-child(4){border-bottom:0}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.top-contact span{display:none}.top-contact{flex-direction:row;gap:14px}.top-meta span{display:none}.top-meta{display:flex}.nav{min-height:78px}.site-header .brand{min-width:170px}.site-header .brand img{width:170px;max-height:62px}.menu{top:78px}.hero-final h1,.lang-ar .hero-final h1{font-size:43px;line-height:1.12}.lang-ar .hero-final h1{line-height:1.42}.hero-final p{font-size:17px}.hero-photo{min-height:285px}.hero-photo-words{right:22px;top:30px;font-size:18px}.lang-ar .hero-photo-words{left:22px}.values-grid{grid-template-columns:1fr}.value-item,.lang-ar .value-item{border-right:0;border-left:0;border-bottom:1px solid #edf1f4;padding:16px 4px}.value-item:last-child{border-bottom:0}.future-band h2{font-size:34px}.section-title h2{font-size:36px}.footer-brand img{width:230px}}


/* ===== THIQAA 3.1 — approved interface fidelity fix ===== */
/* Wider desktop frame used by the approved visual */
@media(min-width:1200px){
  .topbar .container,
  .site-header .container{
    width:min(1760px,calc(100% - 120px));
  }

  .topbar-inner{min-height:56px;font-size:13px}
  .top-contact{gap:26px}
  .top-meta{gap:24px}

  .nav{
    min-height:142px;
    gap:34px;
  }

  .site-header .brand{
    min-width:360px;
    flex:0 0 360px;
  }
  .site-header .brand img{
    width:360px;
    max-height:100px;
  }

  .menu{
    gap:34px;
    justify-content:center;
  }
  .menu a{
    font-size:15px;
    padding:54px 0 47px;
  }
  .menu a:hover:after{bottom:38px}
  .header-cta{
    padding:18px 26px;
    font-size:16px;
    border-radius:14px;
  }
}

/* Full-width split hero, as in the approved mock-up */
.hero-final{
  width:100%;
  overflow:hidden;
  border-bottom:0;
}
.hero-final .hero-final-grid{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  grid-template-columns:minmax(0,44%) minmax(0,56%);
  min-height:600px;
}
.hero-final .hero-copy{
  padding:
    82px
    clamp(42px,4.5vw,92px)
    76px
    clamp(54px,5.2vw,108px);
}
.hero-final h1{
  max-width:760px;
  font-size:clamp(58px,5.15vw,94px);
  line-height:.98;
  margin:20px 0 28px;
}
.hero-final p{
  max-width:700px;
  font-size:clamp(19px,1.35vw,25px);
}
.hero-final .hero-actions{margin-top:8px}
.hero-final .btn-lg{
  min-width:190px;
  padding:17px 24px;
  font-size:17px;
}

.hero-photo{
  min-height:600px;
  height:auto;
}
.hero-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 52%;
}
.hero-photo:before{
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.93) 4%,rgba(255,255,255,.42) 18%,rgba(255,255,255,.04) 38%,rgba(8,43,80,.02) 100%);
}
.hero-photo-words{
  right:8%;
  top:12%;
  font-size:clamp(24px,2vw,34px);
  line-height:1.3;
  gap:10px;
}
.hero-photo-words:after{
  width:105px;
  height:6px;
}

/* Values strip closer to the approved composition */
.values-strip{border-top:1px solid #eef2f6}
.values-strip .container{
  width:min(1760px,calc(100% - 120px));
}
.values-grid{padding:28px 0}
.value-item{
  min-height:92px;
  padding:10px 38px;
  gap:22px;
}
.value-icon{
  width:54px;
  height:54px;
  min-width:54px;
  border:2px solid #e3eaf0;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:30px;
  font-family:Arial,sans-serif;
  font-weight:700;
}
.value-item b{font-size:21px}
.value-item small{font-size:14px}

/* Main brand statement */
.future-band{
  padding:58px 0 62px;
  background:
    radial-gradient(circle at 78% 50%,rgba(255,255,255,.06),transparent 32%),
    linear-gradient(110deg,#082b50 0%,#092f56 45%,#071f3a 100%);
}
.future-band h2{font-size:clamp(40px,3.4vw,58px)}
.future-band p{font-size:17px}

/* Arabic typography and the mirrored hero */
.lang-ar .hero-final .hero-copy{
  padding:
    82px
    clamp(54px,5.2vw,108px)
    76px
    clamp(42px,4.5vw,92px);
}
.lang-ar .hero-final h1{
  font-family:"Noto Kufi Arabic","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  font-size:clamp(48px,4.45vw,78px);
  line-height:1.28;
}
.lang-ar .hero-final p{font-size:clamp(18px,1.25vw,23px);line-height:1.9}
.lang-ar .hero-photo:before{
  background:
    linear-gradient(270deg,#fff 0%,rgba(255,255,255,.93) 4%,rgba(255,255,255,.42) 18%,rgba(255,255,255,.04) 38%,rgba(8,43,80,.02) 100%);
}
.lang-ar .hero-photo-words{
  left:8%;
  right:auto;
  text-align:left;
  font-family:"Noto Kufi Arabic","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  line-height:1.75;
}

/* Keep medium screens balanced rather than over-wide */
@media(max-width:1199px) and (min-width:981px){
  .container{width:min(100% - 56px,1280px)}
  .site-header .brand{min-width:250px}
  .site-header .brand img{width:250px}
  .nav{min-height:102px}
  .menu{gap:18px}
  .menu a{padding:36px 0 31px}
  .hero-final .hero-final-grid{grid-template-columns:46% 54%;min-height:520px}
  .hero-final .hero-copy{padding:58px 38px 54px 48px}
  .hero-final h1{font-size:56px}
  .hero-photo{min-height:520px}
  .values-strip .container{width:min(100% - 56px,1280px)}
  .value-item{padding:10px 18px}
}

/* Tablet/mobile remains stacked, but with tighter composition */
@media(max-width:980px){
  .hero-final .hero-final-grid{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .hero-final .hero-copy,
  .lang-ar .hero-final .hero-copy{
    padding:54px max(28px,5vw) 42px;
  }
  .hero-final h1{font-size:clamp(48px,9vw,68px)}
  .lang-ar .hero-final h1{font-size:clamp(40px,8vw,60px);line-height:1.35}
  .hero-photo{min-height:430px}
  .hero-photo img{position:absolute}
  .values-strip .container{width:min(100% - 40px,900px)}
}
@media(max-width:640px){
  .hero-final .hero-copy,
  .lang-ar .hero-final .hero-copy{
    padding:42px 22px 34px;
  }
  .hero-final h1{font-size:46px;letter-spacing:-1.4px}
  .lang-ar .hero-final h1{font-size:40px;letter-spacing:0}
  .hero-final p{font-size:17px}
  .hero-photo{min-height:300px}
  .hero-photo-words{top:24px;right:20px;font-size:18px}
  .lang-ar .hero-photo-words{left:20px;right:auto}
  .values-strip .container{width:min(100% - 28px,600px)}
  .value-item{min-height:0;padding:15px 2px}
  .value-icon{width:46px;height:46px;min-width:46px;font-size:25px}
}

/* ===== THIQAA 3.2 — hero image + real local value icons ===== */
.hero-photo-words{display:none!important}.hero-photo img{object-position:center 48%}.value-icon{border:0!important;border-radius:0!important;background:transparent!important}.value-icon img{display:block;width:54px;height:54px;object-fit:contain}.lang-ar .value-icon img{transform:none}@media(max-width:640px){.value-icon img{width:46px;height:46px}}


/* ===== THIQAA 3.3 — original hero + brand expansion + Simplified Arabic ===== */
.brand-lockup{
  display:flex;
  align-items:center;
  gap:20px;
  flex:0 0 auto;
}
.brand-expansion{
  border-left:1px solid #9eb0c1;
  padding-left:20px;
  color:var(--navy);
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  white-space:nowrap;
}
.brand-expansion span{display:block}

/* User-selected Arabic typeface */
.lang-ar,
.lang-ar h1,.lang-ar h2,.lang-ar h3,.lang-ar h4,
.lang-ar .menu a,.lang-ar .btn,.lang-ar .eyebrow,
.lang-ar input,.lang-ar textarea,.lang-ar select{
  font-family:"Simplified Arabic","Simple Arabic","Traditional Arabic",Tahoma,Arial,sans-serif !important;
}
.lang-ar h1,.lang-ar h2,.lang-ar h3,.lang-ar h4{font-weight:700}
.lang-ar .brand-expansion{
  direction:ltr;
  text-align:left;
  border-left:0;
  border-right:1px solid #9eb0c1;
  padding-left:0;
  padding-right:20px;
}

/* Original hero photograph: preserve its intended softer crop and blend */
.hero-photo img{
  object-fit:cover;
  object-position:center center;
}
.hero-photo:before{
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.82) 9%,rgba(255,255,255,.10) 36%,rgba(8,43,80,.04) 100%);
}
.lang-ar .hero-photo:before{
  background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.82) 9%,rgba(255,255,255,.10) 36%,rgba(8,43,80,.04) 100%);
}

@media(min-width:1200px){
  .site-header .brand-lockup{min-width:500px}
  .site-header .brand{min-width:300px;flex:0 0 300px}
  .site-header .brand img{width:300px}
  .menu{gap:25px}
}
@media(max-width:1280px){
  .brand-expansion{display:none}
}
@media(max-width:980px){
  .brand-lockup{gap:0}
}


/* ===== THIQAA 3.4 — THIQAA name expansion ===== */
.brand-expansion{
  letter-spacing:-.01em;
}
.brand-expansion span:first-child{font-weight:800}
.brand-expansion span:last-child{font-weight:650}
.footer-brand-expansion{
  margin:10px 0 0;
  color:#d9e5ef;
  font-size:13px;
  line-height:1.45;
  letter-spacing:.02em;
}
.lang-ar .footer-brand-expansion{
  direction:ltr;
  text-align:right;
  font-family:"Segoe UI",Arial,sans-serif !important;
}
@media(max-width:640px){
  .footer-brand-expansion{font-size:12px}
}

/* THIQAA 3.5: approved logo only; all v3.4 design, fonts and value icons preserved */
.site-header .brand img{height:auto;object-fit:contain}
.footer-brand img,.site-footer .brand img{height:auto;object-fit:contain}


/* ===== THIQAA 3.8 — preserve hero copy beside image; remove text ON image only ===== */
.hero-photo-words,
.hero-image-text,
.image-overlay-text,
.hero-overlay-copy{
  display:none !important;
}


/* ===== THIQAA 3.9 — restored v3.8 site; retain only the new clean large hero image ===== */
.hero-final .hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center right;
}
/* No text embedded/overlaid on the photograph; the original HTML hero copy remains beside it. */
.hero-photo-words,
.hero-image-text,
.image-overlay-text,
.hero-overlay-copy{
  display:none !important;
}


/* ===== THIQAA 3.10 — larger, sharper homepage hero ===== */
@media(min-width:1100px){
  .hero-final .hero-final-grid{
    width:100%;
    max-width:none;
    grid-template-columns:36% 64%;
    min-height:690px;
  }
  .hero-final .hero-copy{
    padding-top:72px;
    padding-bottom:72px;
    padding-left:max(5vw,64px);
  }
  .hero-final .hero-photo{
    min-height:690px;
  }
  .hero-final .hero-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center right;
    image-rendering:auto;
  }
}
@media(min-width:1500px){
  .hero-final .hero-final-grid,
  .hero-final .hero-photo{
    min-height:760px;
  }
}
@media(max-width:1099px) and (min-width:721px){
  .hero-final .hero-final-grid{min-height:560px}
  .hero-final .hero-photo{min-height:560px}
}


/* THIQAA 3.27 — Client Feedback */
.tq27-feedback-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}
.tq27-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tq27-review{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 12px 30px rgba(11,45,72,.07)}
.tq27-stars{color:#f5a623;font-size:19px;letter-spacing:2px;margin-bottom:13px}
.tq27-review blockquote{margin:0 0 18px;font-size:16px;line-height:1.7;color:#314452}
.tq27-review-meta{display:flex;flex-direction:column;gap:2px}
.tq27-review-meta strong{color:var(--navy)}
.tq27-review-meta span{font-size:13px;color:var(--muted)}
.tq27-no-reviews{color:var(--muted);padding:18px 0}
.tq27-home-feedback{background:#f7fafc}
.feedback-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:42px;align-items:start}
.feedback-page-section .tq27-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}
.tq27-form-card{position:sticky;top:120px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--shadow)}
.tq27-form-card h2{margin:4px 0 8px;color:var(--navy)}
.tq27-form-card>p{color:var(--muted);margin-top:0}
.tq27-form{display:grid;gap:15px;margin-top:20px}
.tq27-form label{font-weight:700;color:#314452}
.tq27-form input[type=text],.tq27-form select,.tq27-form textarea{width:100%;margin-top:6px;border:1px solid #ccd9e3;border-radius:10px;padding:12px 13px;background:#fff}
.tq27-consent{display:flex!important;align-items:flex-start;gap:10px;font-weight:500!important;font-size:13px;line-height:1.5}
.tq27-consent input{margin-top:3px}
.tq27-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.tq27-success,.tq27-error{padding:13px 15px;border-radius:10px;margin:14px 0}
.tq27-success{background:#eaf8ef;border:1px solid #bfe3ca;color:#1b6033}
.tq27-error{background:#fff0f0;border:1px solid #edc4c4;color:#873535}
.lang-ar .tq27-consent{direction:rtl}
@media(max-width:900px){
  .feedback-layout{grid-template-columns:1fr}
  .tq27-form-card{position:static}
  .tq27-reviews,.feedback-page-section .tq27-reviews{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .tq27-feedback-head{display:block}
  .tq27-feedback-head .btn{margin-top:15px}
  .tq27-reviews,.feedback-page-section .tq27-reviews{grid-template-columns:1fr}
}

/* v3.28 Arabic feedback */
.lang-ar .tq27-review{direction:rtl;text-align:right}
.lang-ar .tq27-stars{letter-spacing:1px}

/* v3.30 home feedback: show latest 5 reviews neatly */
.tq27-home-feedback .tq27-reviews{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}


/* THIQAA 3.33 — four equal homepage services */
.home-services-five{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.home-services-five .home-service-card,
.home-services-five .home-service-card:nth-child(4),
.home-services-five .home-service-card:nth-child(5){
  grid-column:auto;
  width:auto;
  height:100%;
}
.home-service-card{
  border-radius:20px;
  overflow:hidden;
}
.home-service-card .thumb{
  height:220px;
  overflow:hidden;
  background:#eef3f7;
}
.home-service-card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-service-card .inner{
  padding:22px 22px 24px;
}
.home-service-card h3{
  font-size:20px;
  line-height:1.3;
  margin:10px 0 10px;
}
.home-service-card p{
  font-size:14px;
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:69px;
}
.home-service-card .tag{
  font-size:11px;
  letter-spacing:.04em;
}
.home-service-card .more{
  display:inline-block;
  margin-top:8px;
  font-weight:800;
}
.home-services-all{
  text-align:center;
  margin-top:32px;
}

@media(max-width:1100px){
  .home-services-five{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  .home-services-five{
    grid-template-columns:1fr;
    gap:18px;
  }
  .home-service-card .thumb{
    height:210px;
  }
  .home-service-card .inner{
    padding:20px;
  }
  .home-service-card h3{
    font-size:19px;
  }
}


/* THIQAA 3.35 — optional per-service card typography */
.tq35-card{font-family:var(--tq-card-font,inherit)}
.tq35-card h3{font-size:var(--tq-card-title,inherit)!important}
.tq35-card p{font-size:var(--tq-card-text,inherit)!important}


/* THIQAA 3.37 — optional per-service colours */
.tq35-card h3{color:var(--tq-card-title-color,inherit)!important}
.tq35-card p{color:var(--tq-card-text-color,inherit)!important}


/* THIQAA 3.39 — WhatsApp contact option */
.btn-whatsapp{
  background:#25D366;
  color:#fff;
  border-color:#25D366;
}
.btn-whatsapp:hover{
  background:#1fbd5b;
  border-color:#1fbd5b;
  transform:translateY(-2px);
}


/* THIQAA 3.40 — recognizable WhatsApp floating icon */
.whatsapp-float{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  width:58px;
  height:58px;
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.whatsapp-float:hover{
  background:#1fbd5b;
  transform:translateY(-2px);
}
.whatsapp-float .wa-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
}
.whatsapp-float .wa-icon svg{
  width:100%;
  height:100%;
  display:block;
}


/* THIQAA 3.41 — Facebook link */
.btn-facebook{
  background:#1877F2;
  color:#fff;
  border-color:#1877F2;
}
.btn-facebook:hover{
  background:#0f68d8;
  border-color:#0f68d8;
  transform:translateY(-2px);
}


/* THIQAA 3.42 — social icons + alignment */
.top-social-link,
.footer-social-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  line-height:1;
  vertical-align:middle;
}
.phone-symbol{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:16px;
  height:16px;
  line-height:1;
}
.social-icon svg{
  width:100%;
  height:100%;
  display:block;
}
.social-icon-wa{color:#25D366}
.social-icon-fb{color:#1877F2}

.top-contact{
  align-items:center;
}
.top-contact > a,
.top-contact > span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  line-height:1.2;
}

.footer-contact{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 22px;
}
.footer-contact > span{
  display:inline-flex;
  align-items:center;
  line-height:1.2;
  min-height:24px;
}
.footer-contact a{
  display:inline-flex;
  align-items:center;
  line-height:1.2;
}
.footer-contact-item{
  align-items:center;
}


/* THIQAA 3.43 — footer email icon + appointment emphasis */
.social-icon-mail{
  color:#d7e6f0;
}

.footer-visit-note{
  display:inline-flex;
  align-items:center;
  margin-left:auto;
}
.footer-visit-note a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.footer-visit-note a:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.4);
}
.visit-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  color:#f5b06c;
  flex:0 0 auto;
}
.visit-icon svg{
  width:100%;
  height:100%;
  display:block;
}

@media(max-width:900px){
  .footer-visit-note{
    margin-left:0;
  }
}


/* THIQAA 3.44 — topbar contact icons in small circles */
.topbar .top-contact{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
  align-items:center;
}
.topbar .top-social-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  line-height:1.2;
}
.topbar .contact-circle{
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.topbar .phone-circle{
  background:rgba(255,255,255,.12);
}
.topbar .wa-circle{
  background:rgba(37,211,102,.18);
  border-color:rgba(37,211,102,.45);
  color:#25D366;
}
.topbar .mail-circle{
  background:rgba(245,176,108,.15);
  border-color:rgba(245,176,108,.35);
  color:#f5b06c;
}
.topbar .fb-circle{
  background:rgba(24,119,242,.16);
  border-color:rgba(24,119,242,.38);
  color:#7eb3ff;
}
.topbar .contact-circle .social-icon,
.topbar .contact-circle .phone-symbol{
  width:12px;
  height:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.topbar .contact-circle .social-icon svg{
  width:100%;
  height:100%;
  display:block;
}
.topbar .top-contact > a,
.topbar .top-contact > span{
  min-height:24px;
}


/* THIQAA 3.50 — business system */
.skip-link{position:absolute;left:-9999px;top:auto}
.skip-link:focus{left:12px;top:12px;z-index:100000;background:#fff;color:#0b2d48;padding:10px 14px;border:2px solid #ff6b22;border-radius:8px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ff9b61;outline-offset:3px}
.tq50-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.tq50-success{padding:18px;margin-bottom:24px}
.tq50-status-card{margin-top:28px;border:1px solid var(--line);border-radius:18px;padding:24px;display:grid;grid-template-columns:180px 1fr;gap:13px 20px;background:#fff;box-shadow:var(--shadow)}
.tq50-status-card span{color:var(--muted);font-weight:700}
.status-pill{display:inline-block;color:var(--navy)}
.tq50-service-tools{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:28px}
.tq50-service-tools input,.tq50-service-tools select,.tq50-review-filter select{width:100%;padding:12px 14px;border:1px solid #ccd9e3;border-radius:10px;background:#fff}
.tq50-share-box{margin-top:34px;padding-top:26px;border-top:1px solid var(--line)}
.tq50-share-actions{display:flex;gap:10px;flex-wrap:wrap}
.tq50-review-summary{display:flex;align-items:center;gap:8px;margin-top:8px}
.tq50-review-summary strong{font-size:28px;color:var(--navy)}
.tq50-review-summary span{color:#f5a623;font-size:22px}
.tq50-review-summary small{color:var(--muted)}
.tq50-review-filter{display:grid;grid-template-columns:170px minmax(220px,420px);gap:12px;align-items:center;margin-bottom:24px}
.tq50-review-filter label{font-weight:800;color:var(--navy)}
@media(max-width:700px){
  .tq50-status-card{grid-template-columns:1fr}
  .tq50-service-tools{grid-template-columns:1fr}
  .tq50-review-filter{grid-template-columns:1fr}
}


/* THIQAA 3.52 — Staff Dashboard */
.tq52-staff-main{background:#f5f8fa;min-height:70vh}
.tq52-staff-hero{background:linear-gradient(135deg,#0b2d48,#153f5f);color:#fff;padding:34px 0}
.tq52-staff-hero .container{display:flex;justify-content:space-between;align-items:center;gap:24px}
.tq52-staff-hero h1{margin:5px 0 7px;font-size:38px;color:#fff}
.tq52-staff-hero p{margin:0;color:#dbe8f0}
.tq52-user-box{display:flex;align-items:center;gap:12px;padding:9px 13px;border:1px solid rgba(255,255,255,.2);border-radius:10px}
.tq52-user-box a{text-decoration:underline}
.tq52-staff-section{padding-top:34px}
.tq52-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:24px}
.tq52-stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 6px 18px rgba(11,45,72,.05)}
.tq52-stat span{display:block;font-size:12px;color:var(--muted);font-weight:800;margin-bottom:6px}
.tq52-stat strong{font-size:28px;color:var(--navy)}
.tq52-filters{display:grid;grid-template-columns:1fr 1.2fr 1.5fr 2fr auto;gap:12px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:20px}
.tq52-filters label{display:block;font-size:12px;font-weight:800;color:var(--navy);margin-bottom:5px}
.tq52-filters input,.tq52-filters select,.tq52-status-form select{width:100%;padding:9px 10px;border:1px solid #ccd9e3;border-radius:8px;background:#fff}
.tq52-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}
.tq52-table{width:100%;border-collapse:collapse;min-width:1050px}
.tq52-table th,.tq52-table td{padding:13px 12px;border-bottom:1px solid #e8eef2;text-align:left;vertical-align:middle}
.lang-ar .tq52-table th,.lang-ar .tq52-table td{text-align:right}
.tq52-table th{background:#f7fafc;color:var(--navy);font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.tq52-table td{font-size:13px}
.tq52-table td small{display:block;color:var(--muted);margin-top:3px}
.tq52-contact-actions{display:flex;gap:6px}
.tq52-contact-actions a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#edf3f7;color:var(--navy);font-weight:900}
.tq52-open{display:inline-flex;padding:7px 10px;border-radius:7px;background:var(--navy);color:#fff;font-weight:800}
@media(max-width:1100px){
  .tq52-stats{grid-template-columns:repeat(3,1fr)}
  .tq52-filters{grid-template-columns:repeat(2,1fr)}
  .tq52-filter-button{grid-column:1/-1}
}
@media(max-width:650px){
  .tq52-staff-hero .container{display:block}
  .tq52-user-box{margin-top:16px;display:inline-flex}
  .tq52-stats{grid-template-columns:repeat(2,1fr)}
  .tq52-filters{grid-template-columns:1fr}
}


/* THIQAA 3.60 — client portal + CRM */
.tq60-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.tq60-insight{background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;padding:12px 15px;border-radius:10px;margin-bottom:18px}
.tq60-urgent-row{background:#fff7f7}
.tq60-row-actions{display:flex;gap:6px;align-items:center}
.tq60-mini{border:1px solid #ccd9e3;background:#fff;color:var(--navy);font-weight:800;padding:7px 9px;border-radius:7px;cursor:pointer}
.tq60-client-card{margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow)}
.tq60-client-top{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.tq60-client-top>div,.tq60-client-grid>div{display:flex;flex-direction:column;gap:4px}
.tq60-client-top span,.tq60-client-grid span{font-size:12px;color:var(--muted);font-weight:800}
.tq60-client-top strong{font-size:20px;color:var(--navy)}
.tq60-client-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:22px 0}
.tq60-timeline{position:relative;margin:18px 0 26px}
.tq60-timeline-item{display:grid;grid-template-columns:18px 1fr;gap:12px;padding:0 0 18px}
.tq60-timeline-item>span{width:12px;height:12px;border-radius:50%;background:var(--orange);margin-top:5px;box-shadow:0 0 0 4px #fff1e8}
.tq60-timeline-item strong{display:block;color:var(--navy)}
.tq60-timeline-item small{display:block;color:var(--muted);margin-top:3px}
.tq60-faqs{margin-top:34px}
.tq60-faqs details{border:1px solid var(--line);border-radius:10px;margin:10px 0;background:#fff}
.tq60-faqs summary{cursor:pointer;font-weight:800;color:var(--navy);padding:14px 16px}
.tq60-faqs details p{padding:0 16px 14px;margin:0}
.tq60-related{margin-top:34px}
.tq60-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tq60-related-grid a{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.tq60-related-grid span{font-size:12px;color:var(--orange);font-weight:800}
.tq60-404{text-align:center;padding:110px 0}
.tq60-404 .container{max-width:700px}
.tq60-404 h1{font-size:clamp(42px,7vw,72px);color:var(--navy);margin:8px 0}
@media(max-width:700px){
 .tq60-client-top{display:block}
 .tq60-client-top>div+div{margin-top:15px}
 .tq60-client-grid{grid-template-columns:1fr}
 .tq60-related-grid{grid-template-columns:1fr}
}

/* THIQAA 3.61 */
.tq61-feedback-form textarea{width:100%;min-height:280px}
.tq61-feedback-actions{display:flex;gap:10px;flex-wrap:wrap}


/* THIQAA 3.63 — homepage clarity, services and trust */
.hero-direct-line{font-size:clamp(20px,2vw,27px)!important;line-height:1.45!important;font-weight:750;color:var(--navy);max-width:760px;margin-top:20px}
.hero-support-line{font-size:17px!important;line-height:1.6!important;color:var(--muted);max-width:680px;margin-top:10px}
.home-services-five{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}
.home-service-card{min-width:0;display:flex!important;flex-direction:column;height:100%;overflow:hidden}
.home-service-card .thumb{height:235px!important;overflow:hidden}
.home-service-card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.home-service-card .inner{padding:22px!important;display:flex;flex-direction:column;flex:1}
.home-service-card h3{font-size:21px!important;line-height:1.28!important;min-height:54px;margin:10px 0 12px}
.home-service-card p{font-size:15.5px!important;line-height:1.65!important;margin-bottom:18px}
.home-learn-more{display:inline-flex;align-items:center;gap:6px;margin-top:auto;width:max-content;padding:10px 14px;border-radius:8px;background:var(--navy);color:#fff;font-weight:800;font-size:14px}
.process-section .step h3{font-size:19px!important;line-height:1.3!important}
.process-section .step p{font-size:15px!important;line-height:1.55!important}
.process-section .step-icon{font-size:18px!important;font-weight:900}
.trust-section{background:#f7fafc}
.trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:32px}
.trust-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 8px 24px rgba(11,45,72,.05)}
.trust-symbol{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#fff1e8;color:var(--orange);font-size:22px;font-weight:900;margin-bottom:14px}
.trust-card h3{font-size:19px;color:var(--navy);margin:0 0 9px}
.trust-card p{font-size:15px;line-height:1.6;color:var(--muted);margin:0}
.trust-boundary{margin-top:24px;padding:18px 20px;border-left:4px solid var(--orange);background:#fff;border-radius:10px;color:#415466;line-height:1.65}
.lang-ar .trust-boundary{border-left:0;border-right:4px solid var(--orange)}
@media(max-width:1100px){
 .home-services-five{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .home-services-five{grid-template-columns:1fr!important}
 .home-service-card .thumb{height:220px!important}
 .trust-grid{grid-template-columns:1fr}
}


/* THIQAA 3.64 — Arabic home service cards + clearer footer brand text */
.footer-about p{
  color:#f4f8fb !important;
  font-size:15.5px !important;
  line-height:1.75 !important;
  font-weight:500 !important;
  opacity:1 !important;
  max-width:360px;
}
.footer-about .footer-tagline{
  color:#ffffff !important;
  font-size:16px !important;
  line-height:1.6 !important;
  font-weight:700 !important;
  opacity:1 !important;
  margin-top:10px !important;
}
.lang-ar .footer-about p{
  font-size:16px !important;
  line-height:1.9 !important;
}
.home-service-card[dir="rtl"],
.lang-ar .home-service-card{
  text-align:right;
}
.lang-ar .home-service-card .inner{
  direction:rtl;
}
.lang-ar .home-service-card .home-learn-more{
  align-self:flex-start;
}


/* THIQAA 3.65 — footer logo contrast + wider/larger homepage service images */

/* The approved logo contains dark navy lettering, so give the footer copy
   a light brand panel instead of changing the logo artwork itself. */
.footer-about .footer-brand{
  display:inline-flex !important;
  align-items:center;
  background:#ffffff;
  padding:12px 16px;
  border-radius:14px;
  margin:0 0 16px 0 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.16);
}
.footer-about .footer-brand img{
  width:255px !important;
  max-width:100%;
  height:auto;
}

/* Keep the four service cards aligned with the People ↔ Progress strip. */
.service-groups > .container{
  width:min(1180px,calc(100% - 40px)) !important;
  max-width:none !important;
}
.home-services-five{
  width:100% !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:16px !important;
}
.home-service-card .thumb{
  height:285px !important;
}
.home-service-card .thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.home-service-card .inner{
  padding:20px 20px 22px !important;
}

@media(max-width:1100px){
  .home-services-five{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .home-service-card .thumb{
    height:260px !important;
  }
}
@media(max-width:650px){
  .service-groups > .container{
    width:min(100% - 28px,1180px) !important;
  }
  .home-services-five{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .home-service-card .thumb{
    height:235px !important;
  }
  .footer-about .footer-brand img{
    width:225px !important;
  }
}


/* THIQAA 3.66 — exact People-to-Progress service alignment + transparent footer logo */
.footer-about .footer-brand{
  display:inline-flex !important;
  align-items:center;
  background:transparent !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin:0 0 16px 0 !important;
}
.footer-about .footer-brand img{
  width:270px !important;
  max-width:100%;
  height:auto;
}

/* Match the exact desktop width used by the People / Trust / Guidance / Progress strip. */
@media(min-width:1200px){
  .service-groups > .container{
    width:min(1760px,calc(100% - 120px)) !important;
    max-width:none !important;
  }
  .home-services-five{
    width:100% !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:20px !important;
  }
  .home-service-card .thumb{
    height:310px !important;
  }
}

@media(max-width:1199px) and (min-width:981px){
  .service-groups > .container{
    width:min(100% - 56px,1280px) !important;
    max-width:none !important;
  }
  .home-services-five{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:16px !important;
  }
  .home-service-card .thumb{
    height:275px !important;
  }
}

@media(max-width:980px){
  .service-groups > .container{
    width:min(100% - 40px,900px) !important;
  }
  .home-services-five{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:640px){
  .service-groups > .container{
    width:min(100% - 28px,600px) !important;
  }
  .home-services-five{
    grid-template-columns:1fr !important;
  }
  .footer-about .footer-brand img{
    width:235px !important;
  }
}


/* THIQAA 3.71 — Staff Service Manager */
.tq71-staff-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.tq71-staff-tabs a{padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:9px;font-weight:800;color:var(--navy)}
.tq71-staff-tabs a.active{background:var(--navy);color:#fff}
.tq71-manager-grid{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);gap:24px;align-items:start}
.tq71-service-list,.tq71-editor{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(11,45,72,.05)}
.tq71-list-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.tq71-list-head h2,.tq71-editor h2{margin:0 0 14px;color:var(--navy)}
.tq71-service-row{display:grid;grid-template-columns:74px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #e8eef2}
.tq71-service-row.is-hidden{opacity:.58}
.tq71-row-thumb{width:74px;height:58px;border-radius:8px;background:#edf3f7;overflow:hidden}
.tq71-row-thumb img{width:100%;height:100%;object-fit:cover}
.tq71-row-main strong,.tq71-row-main small,.tq71-row-main span{display:block}
.tq71-row-main small{color:var(--muted);margin-top:2px}
.tq71-row-main span{font-size:11px;color:var(--orange);font-weight:800;margin-top:3px}
.tq71-row-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tq71-row-actions form{margin:0}
.tq71-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.tq71-fields label{font-weight:800;color:var(--navy)}
.tq71-fields input,.tq71-fields textarea,.tq71-fields select{display:block;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #ccd9e3;border-radius:8px;background:#fff;font-weight:400;color:var(--ink)}
.tq71-fields .full{grid-column:1/-1}
.tq71-check{display:flex!important;align-items:center;gap:8px}
.tq71-check input{width:auto!important;margin:0!important}
.tq71-image-box{border:1px solid var(--line);border-radius:12px;padding:14px}
.tq71-image-box img{width:100%;height:230px;object-fit:cover;border-radius:9px;background:#edf3f7;margin:10px 0}
.tq71-faq-editor{border-top:1px solid var(--line);padding-top:12px}
.tq71-faq{padding:12px;border:1px solid #e4ebf0;border-radius:9px;margin:10px 0}
.tq71-delete-form{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.tq71-delete{background:#fff;color:#b42318;border:1px solid #f1b7b2;border-radius:8px;padding:9px 12px;font-weight:800;cursor:pointer}
@media(max-width:1050px){.tq71-manager-grid{grid-template-columns:1fr}}
@media(max-width:650px){.tq71-fields{grid-template-columns:1fr}.tq71-fields .full{grid-column:auto}.tq71-service-row{grid-template-columns:58px 1fr}.tq71-row-actions{grid-column:1/-1;justify-content:flex-start}}


/* THIQAA 3.73 — Staff Site Settings */
.tq73-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.tq73-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(11,45,72,.05)}
.tq73-panel.full{grid-column:1/-1}
.tq73-panel h2{margin-top:0;color:var(--navy)}
.tq73-logo-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tq73-logo-preview{height:180px;border:1px solid var(--line);border-radius:10px;padding:18px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.tq73-logo-preview.light{background:#fff}.tq73-logo-preview.dark{background:#08243f}
.tq73-logo-preview img{max-width:100%;max-height:135px;width:auto;height:auto}
.tq73-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tq73-fields .full{grid-column:1/-1}
.tq73-panel label{display:block;font-weight:800;color:var(--navy);margin:10px 0}
.tq73-panel input,.tq73-panel textarea{display:block;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #ccd9e3;border-radius:8px;background:#fff;color:var(--ink);font-weight:400}
.tq73-copy-row{display:grid;grid-template-columns:180px 1fr 1fr;gap:14px;align-items:start;padding:14px 0;border-top:1px solid #e8eef2}
.tq73-copy-row h3{margin:12px 0 0;font-size:15px;color:var(--navy)}
.tq73-check{display:flex!important;align-items:center;gap:8px}
.tq73-check input{width:auto!important;margin:0!important}
.tq73-links{display:flex;gap:10px;flex-wrap:wrap}
.tq73-savebar{position:sticky;bottom:12px;margin-top:22px;padding:14px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(11,45,72,.12);z-index:4}
@media(max-width:950px){.tq73-settings-grid,.tq73-logo-grid{grid-template-columns:1fr}.tq73-panel.full{grid-column:auto}.tq73-copy-row{grid-template-columns:1fr}.tq73-fields{grid-template-columns:1fr}.tq73-fields .full{grid-column:auto}}

/* THIQAA 3.80 — restore previous service image */
.tq80-image-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tq80-restore-image{border-color:#b9c8d4!important;background:#f7fafc!important;color:var(--navy)!important}


/* THIQAA 3.82 — page image manager */
.tq82-page-image-card{border-top:1px solid #e7edf2;padding:18px 0}
.tq82-page-image-card:first-of-type{border-top:0}
.tq82-page-image-card h3{margin:0 0 10px;color:var(--navy)}
.tq82-page-image-preview{width:100%;max-width:720px;height:260px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#eef3f6;margin-bottom:12px}
.tq82-page-image-preview img{width:100%;height:100%;object-fit:cover;display:block}
.tq82-page-image-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
@media(max-width:640px){.tq82-page-image-preview{height:210px}.tq82-page-image-actions .btn,.tq82-page-image-actions .tq60-mini{width:100%}}



/* THIQAA 3.85 — homepage refinement */
.home .section-title .eyebrow,
.home .future-band .eyebrow,
.home .trust-section .eyebrow,
.home .process-section .eyebrow{
  font-size:15px;
  line-height:1.3;
  letter-spacing:.12em;
  font-weight:800;
}
.home .trust-symbol,
.home .value-icon,
.home .trust-card .trust-symbol{
  overflow:visible;
  line-height:1;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* v3.86 */
.services-page-hero .eyebrow{font-size:15px;line-height:1.3;letter-spacing:.12em;font-weight:900}.lang-ar .services-page-hero .eyebrow{font-size:16px;letter-spacing:0}.single-thiqaa_service .tq86-guarantee{font-weight:900;color:var(--navy)}.single-thiqaa_service .tq86-next-heading{margin-top:56px}.single-thiqaa_service .tq60-faqs,.single-thiqaa_service .tq60-related{margin-top:58px}.single-thiqaa_service .tq60-faqs h2,.single-thiqaa_service .tq60-related h2{margin-bottom:18px}


/* THIQAA 3.87 combined refinements */
.tq87-big-eyebrow{font-size:16px!important;line-height:1.35!important;font-weight:900!important;letter-spacing:.11em!important}
.lang-ar .tq87-big-eyebrow{font-size:17px!important;letter-spacing:0!important}
.tq87-steps .step p{font-size:1.08rem;line-height:1.72}
.tq87-legal-nav{display:flex;flex-wrap:wrap;gap:12px 22px;margin-bottom:28px}
.tq87-legal-nav a{display:inline-block;margin:0!important}
.tq87-legal-copy p{margin-bottom:1.15rem;line-height:1.8}
.footer-grid>div>a{margin-bottom:8px}



/* THIQAA 3.91 — approved footer logo */
.footer-about .footer-brand{
  display:inline-block;
  max-width:100%;
}
.footer-about .footer-brand img{
  width:360px !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  display:block;
}
@media(max-width:650px){
  .footer-about .footer-brand img{width:300px !important;}
}

/* THIQAA 3.92 — footer logo background matches footer exactly */
.footer-about .footer-brand img{
  width:360px !important;
  max-width:100% !important;
  height:auto !important;
  display:block;
}


/* THIQAA 3.93 — footer description lighter/smaller */
.footer-about > p:not(.footer-tagline){
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.7 !important;
}
.lang-ar .footer-about > p:not(.footer-tagline){
  font-size:14.5px !important;
  font-weight:400 !important;
  line-height:1.85 !important;
}


/* THIQAA 3.94 — bilingual consent workflow */
.tq94-consent-wrap{max-width:900px}.tq94-consent-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:28px}.tq94-consent-summary>div{background:#f6f8fa;border:1px solid #dfe6eb;border-radius:12px;padding:14px 16px}.tq94-consent-summary span{display:block;font-size:12px;color:#667784;margin-bottom:4px}.tq94-consent-summary strong{display:block;color:var(--navy);font-size:15px}.tq94-consent-copy{background:#fff;border:1px solid #dfe6eb;border-radius:16px;padding:28px;box-shadow:0 10px 26px rgba(5,25,45,.06)}.tq94-consent-copy h2{margin-top:0}.tq94-check{display:flex;gap:12px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #edf1f4;line-height:1.65}.tq94-check input{margin-top:5px;flex:0 0 auto}.tq94-legal-note{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}.tq94-sign{display:block;margin:22px 0}.tq94-sign span{display:block;font-weight:800;margin-bottom:7px}.tq94-sign input{width:100%;max-width:520px;padding:12px 14px;border:1px solid #cbd6de;border-radius:9px}.tq94-version{font-size:12px;color:#687984}.tq94-alert{border-radius:12px;padding:18px 20px;margin-bottom:22px}.tq94-alert.success{background:#edf8f1;border:1px solid #b8dfc4}.tq94-alert.error{background:#fff2f2;border:1px solid #edc3c3}.tq94-consent-cell{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tq94-consent-status{font-size:12px;padding:4px 7px;border-radius:999px;background:#eef2f5}.tq94-consent-status.sent{background:#fff4d9}.tq94-consent-status.completed{background:#e4f5e9}.lang-ar .tq94-consent-page{text-align:right}.lang-ar .tq94-check{direction:rtl}@media(max-width:700px){.tq94-consent-summary{grid-template-columns:1fr}.tq94-consent-copy{padding:20px}}

/* THIQAA 3.95 — simplified bilingual client consent */
.tq95-consent-brand{margin:0 0 24px}.tq95-consent-brand img{width:210px;max-width:65%;height:auto;display:block}.lang-ar .tq95-consent-brand img{margin-left:auto}.tq95-consent-copy>p{font-size:16px;line-height:1.85;margin:0 0 16px}.tq95-consent-copy>p strong{font-weight:800}.tq95-single-consent{margin-top:28px!important;padding:18px!important;border:1px solid rgba(9,45,75,.15);border-radius:12px;background:#f7fafc}.tq95-single-consent span{font-weight:700}.tq95-consent-form .tq94-sign{margin-top:22px}.tq95-consent-page .tq94-consent-summary strong{font-size:15px}

/* THIQAA 3.96 — consent page logo refinement */
.tq95-consent-page .page-hero .container{display:flex;flex-direction:column;align-items:center;text-align:center}
.tq95-consent-brand{margin:0 0 18px;display:inline-flex;justify-content:center;align-items:center;background:#fff;border:1px solid rgba(10,43,73,.08);border-radius:18px;padding:14px 22px;box-shadow:0 10px 26px rgba(5,25,45,.06)}
.tq95-consent-brand img{width:260px;max-width:78%;height:auto;display:block}
.lang-ar .tq95-consent-page .page-hero .container{text-align:center}
.lang-ar .tq95-consent-brand img{margin:0 auto}

/* THIQAA 3.97 — consent hero with logo and company colours */
.tq95-consent-page .page-hero{background:transparent;padding:34px 0 10px}
.tq95-consent-page .page-hero .container{background:linear-gradient(180deg,#072846 0%,#05233d 100%);border-radius:0;padding:56px 54px 60px;display:flex;flex-direction:column;align-items:center;text-align:center}
.tq95-consent-page .page-hero .eyebrow{color:var(--orange);font-size:18px;font-weight:900;margin-top:6px}
.tq95-consent-page .page-hero h1{color:#fff;font-size:clamp(42px,5vw,64px);line-height:1.18;margin:16px 0 18px}
.tq95-consent-page .page-hero p{color:#fff;font-size:22px;line-height:1.8;max-width:980px;margin:0 auto}
.tq95-consent-brand{margin:0 0 18px;display:flex;justify-content:center;align-items:center;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.tq95-consent-brand img{width:320px;max-width:72%;height:auto;display:block}
.lang-ar .tq95-consent-page .page-hero .container{text-align:right;align-items:flex-end}
.lang-ar .tq95-consent-page .page-hero p{max-width:none}
.lang-ar .tq95-consent-brand img{margin-right:0;margin-left:auto}
@media(max-width:900px){.tq95-consent-page .page-hero .container{padding:42px 28px 46px}.tq95-consent-page .page-hero p{font-size:18px}.tq95-consent-brand img{width:260px;max-width:78%}}
@media(max-width:640px){.tq95-consent-page .page-hero .container{padding:36px 20px 38px}.tq95-consent-page .page-hero h1{font-size:38px}.tq95-consent-page .page-hero p{font-size:16px;line-height:1.7}.tq95-consent-page .page-hero .eyebrow{font-size:15px}}

/* THIQAA 3.98 — consent hero logo icon only */
.tq95-consent-brand img{width:180px;max-width:30%;height:auto;display:block}
@media(max-width:900px){.tq95-consent-brand img{width:150px;max-width:42%}}
@media(max-width:640px){.tq95-consent-brand img{width:126px;max-width:50%}}

/* THIQAA 4.00 — Consent Form Editor */
.tq100-consent-editor textarea{min-height:100px}
.tq100-consent-editor .tq73-copy-row{padding:20px 0;border-bottom:1px solid #e5edf2}
.tq100-key-consent{font-weight:800;color:var(--navy)}


/* THIQAA 4.01 — Site Settings control-panel hub */
.tq401-settings-hub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}
.tq401-settings-card{display:grid!important;grid-template-columns:56px 1fr 24px;align-items:center;gap:16px;padding:24px!important;margin:0!important;background:#fff;border:1px solid #dfe7ed;border-radius:18px;color:var(--navy)!important;box-shadow:0 8px 24px rgba(5,25,45,.05);transition:.18s ease;text-decoration:none!important}
.tq401-settings-card:hover{transform:translateY(-2px);border-color:#f1a15f;box-shadow:0 12px 28px rgba(5,25,45,.09)}
.tq401-card-icon{width:52px;height:52px;border-radius:14px;background:#edf4f8;display:grid;place-items:center;color:var(--navy);font-weight:900;font-size:20px}
.tq401-settings-card:nth-child(5) .tq401-card-icon{background:#fff2e7;color:#e36f13}
.tq401-card-copy{display:block;min-width:0}.tq401-card-copy strong{display:block;font-size:18px;color:var(--navy);margin-bottom:5px}.tq401-card-copy small{display:block;color:#687b89;font-size:13px;line-height:1.55}.tq401-card-arrow{font-size:28px;color:#9aabb7}
.tq401-section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 18px}.tq401-back{display:inline-flex!important;align-items:center;gap:7px;font-weight:800;color:var(--navy)!important;text-decoration:none!important}
.tq401-focus-panel{max-width:1000px;margin:0 auto}.tq401-focus-panel.tq100-consent-editor{max-width:1050px}
.tq401-settings-main .tq73-savebar{max-width:1000px;margin:22px auto 0}
@media(max-width:760px){.tq401-settings-hub{grid-template-columns:1fr}.tq401-settings-card{grid-template-columns:48px 1fr 18px;padding:19px!important}.tq401-card-icon{width:46px;height:46px}.tq401-card-copy strong{font-size:16px}}

/* THIQAA 4.02 — editable Consent Form logo */
.tq402-consent-logo-preview{max-width:420px;min-height:150px;display:flex;align-items:center;justify-content:center;background:#05233d;margin:12px 0 16px;border-radius:14px;padding:22px}
.tq402-consent-logo-preview img{max-width:180px;max-height:120px;width:auto;height:auto;object-fit:contain}


/* THIQAA 4.03 — client information + secure documents */
.tq403-builder{border:1px solid #dce5eb;border-radius:14px;background:#f8fafc;margin:8px 0 4px;overflow:hidden}.tq403-builder summary{cursor:pointer;padding:17px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center}.tq403-builder summary span{font-size:12px;color:#6a7c89}.tq403-builder-body{background:#fff;border-top:1px solid #e4ebef;padding:18px}.tq403-question-row{display:grid;grid-template-columns:80px 1fr 1fr 130px 110px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f4}.tq403-doc-row{display:grid;grid-template-columns:90px 1fr 1fr 110px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f4}.tq403-question-row input,.tq403-question-row select,.tq403-doc-row input{width:100%;padding:10px;border:1px solid #ccd8df;border-radius:8px}.tq403-client-wrap{max-width:900px}.tq403-client-page .page-hero .container{max-width:1180px}.tq403-form-card,.tq403-upload-form,.tq403-security-note,.tq403-staff-card{background:#fff;border:1px solid #dfe6eb;border-radius:16px;padding:26px;box-shadow:0 8px 24px rgba(5,25,45,.05);margin-bottom:22px}.tq403-field{display:block;margin:0 0 20px}.tq403-field>span,.tq403-upload-row>span{display:block;font-weight:800;color:var(--navy);margin-bottom:7px}.tq403-field input,.tq403-field textarea,.tq403-field select{width:100%;padding:12px 14px;border:1px solid #cbd6de;border-radius:9px}.tq403-upload-row{display:block;padding:15px 0;border-bottom:1px solid #edf1f4}.tq403-security-note{background:#f3f8fb}.tq403-security-note p{margin-bottom:0}.tq403-status-cell{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tq403-status{font-size:12px;padding:4px 8px;border-radius:999px;background:#eef2f5;white-space:nowrap}.tq403-status.sent{background:#fff4d9}.tq403-status.completed,.tq403-status.complete{background:#e4f5e9}.tq403-status.uploaded{background:#e8f1fb}.tq403-staff-pack{max-width:1100px}.tq403-pack-status{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.tq403-pack-status>div{padding:18px;background:#fff;border:1px solid #dfe6eb;border-radius:14px}.tq403-pack-status span{display:block;font-size:12px;color:#687a88}.tq403-pack-status strong{display:block;font-size:18px;color:var(--navy);margin-top:4px}.tq403-answer-list>div{padding:14px 0;border-bottom:1px solid #edf1f4}.tq403-answer-list p{margin:6px 0 0;white-space:normal}.tq403-card-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.tq403-doc-item{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #edf1f4}.tq403-doc-item span{display:block;color:#6d7c87;font-size:12px;margin-top:4px}.tq403-doc-actions{display:flex;gap:8px;align-items:center}.tq403-delete{color:#a21d1d!important;border-color:#e8bbbb!important}.tq403-doc-actions form,.tq403-card-head form{margin:0}
@media(max-width:980px){.tq403-question-row,.tq403-doc-row{grid-template-columns:1fr}.tq403-question-row>strong,.tq403-doc-row>strong{margin-top:8px}.tq403-pack-status{grid-template-columns:1fr}.tq403-doc-item,.tq403-card-head{align-items:flex-start;flex-direction:column}}


/* THIQAA 4.04 — wider Staff Dashboard CRM view */
.tq52-staff-section>.container{
  width:calc(100% - 28px);
  max-width:1800px;
  margin-left:auto;
  margin-right:auto;
}
.tq52-staff-section .tq52-table-wrap{overflow-x:auto}
.tq52-staff-section .tq52-table{
  width:100%;
  min-width:1380px;
  table-layout:auto;
}
.tq52-staff-section .tq52-table th,
.tq52-staff-section .tq52-table td{padding:11px 9px}
.tq52-staff-section .tq52-table td{font-size:12.5px}
.tq52-staff-section .tq52-table th{font-size:11px}
.tq52-staff-section .tq52-contact-actions,
.tq52-staff-section .tq94-consent-cell,
.tq52-staff-section .tq403-status-cell,
.tq52-staff-section .tq60-row-actions{flex-wrap:nowrap;white-space:nowrap}
.tq52-staff-section .tq60-row-actions{align-items:center}
.tq52-staff-section .tq60-mini,
.tq52-staff-section .tq52-open{padding:6px 8px;font-size:11.5px}
.tq52-staff-section .tq52-table select{min-width:58px;max-width:108px;padding:7px 6px}
.tq52-staff-section .tq52-table td:nth-child(3){min-width:145px;max-width:190px}
.tq52-staff-section .tq52-table td:nth-child(11){min-width:315px}
@media(min-width:1400px){
  .tq52-staff-section>.container{width:calc(100% - 36px);max-width:1880px}
  .tq52-staff-section .tq52-table{min-width:0}
}
@media(max-width:1100px){
  .tq52-staff-section>.container{width:calc(100% - 24px)}
}

/* THIQAA 4.05 — simplified visual staff workflow */
.tq405-table{min-width:1480px}
.tq405-table th{font-size:11px;letter-spacing:.025em}
.tq405-client{min-width:175px}.tq405-client strong,.tq405-last strong{display:block;color:var(--navy)}.tq405-client small,.tq405-last small{display:block;margin-top:4px;color:#71808b;font-size:11px}
.tq405-service{min-width:180px;line-height:1.45}
.tq405-flow{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:6px;min-width:590px}
.tq405-step{position:relative;border:1px solid #dfe7ec;border-radius:10px;padding:8px 8px 8px 28px;background:#f5f7f9;min-height:54px}
.tq405-step i{position:absolute;left:9px;top:12px;width:11px;height:11px;border-radius:50%;background:#b7c1c9}
.tq405-step b{display:block;font-size:11px;color:#253b4d}.tq405-step small{display:block;font-size:10px;margin-top:3px;color:#647684;line-height:1.25}
.tq405-step.done{background:#e9f7ee;border-color:#bfe5cb}.tq405-step.done i{background:#27a05a}.tq405-step.done small{color:#277348}
.tq405-step.active{background:#fff4e8;border-color:#ffd7ad}.tq405-step.active i{background:#f58220}.tq405-step.active small{color:#9a571c}
.tq405-step.todo{background:#f3f5f7;border-color:#e2e7eb}.tq405-step.todo i{background:#b7c1c9}
.tq405-step.active:last-child{background:#eaf2fb;border-color:#c8daf0}.tq405-step.active:last-child i{background:#2777bd}.tq405-step.active:last-child small{color:#245f91}
.tq405-next{min-width:150px}.tq405-next form{margin:0}
.tq405-next-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border-radius:9px;background:var(--orange);color:#fff!important;font-size:12px;font-weight:900;border:0;text-decoration:none;white-space:normal;text-align:center;line-height:1.2}
.tq405-next-btn:hover{filter:brightness(.96)}
.tq405-contact{min-width:115px}.tq405-contact .tq52-contact-actions{margin-bottom:7px}
.tq405-text-btn{background:transparent;border:0;padding:0;color:#5c7080;font-size:11px;text-decoration:underline;cursor:pointer}
.tq405-priority{min-width:86px;padding:7px 8px!important;border-radius:9px!important;font-size:11px}.tq405-priority.high{background:#fff4e8}.tq405-priority.urgent{background:#fff0f0;border-color:#e9a8a8!important;color:#9f2727}
.tq405-last{min-width:120px}
.tq405-manage{min-width:150px}.tq405-manage-btn{display:block;padding:7px 9px;border:1px solid #cfdbe4;border-radius:8px;text-align:center;font-size:11px;font-weight:800;color:var(--navy);background:#fff;margin:0 0 6px}.tq405-manage-btn.secondary{background:#f6f8fa}
.tq405-guide{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 16px;padding:12px 15px;border:1px solid #dfe7ec;border-radius:12px;background:#fff}
.tq405-guide>div{margin-right:6px}.lang-ar .tq405-guide>div{margin-right:0;margin-left:6px}
.tq405-legend{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#536675}.tq405-legend i{width:10px;height:10px;border-radius:50%;background:#b7c1c9}.tq405-legend.done i{background:#27a05a}.tq405-legend.active i{background:#f58220}.tq405-legend.work i{background:#2777bd}
@media(max-width:1200px){.tq405-table{min-width:1400px}}

/* THIQAA 4.06 — workflow ordering and step quick actions */
.tq405-table th:nth-child(3),.tq405-table td:nth-child(3){min-width:118px}
.tq405-table th:nth-child(4),.tq405-table td:nth-child(4){min-width:104px}
.tq405-flow{display:grid;grid-template-columns:repeat(5,minmax(112px,1fr));gap:8px;min-width:610px}
.tq405-step{position:relative;border:1px solid #dfe7ec;border-radius:10px;padding:8px 8px 8px 28px;background:#f5f7f9;min-height:74px;display:flex;flex-direction:column;align-items:flex-start}
.tq405-step i{position:absolute;left:9px;top:12px;width:11px;height:11px;border-radius:50%;background:#b7c1c9}
.tq405-step b{display:block;font-size:11px;color:#253b4d}.tq405-step small{display:block;font-size:10px;margin-top:3px;color:#647684;line-height:1.25}
.tq405-step.done{background:#e9f7ee;border-color:#bfe5cb}.tq405-step.done i{background:#27a05a}.tq405-step.done small{color:#277348}
.tq405-step.active{background:#fff4e8;border-color:#ffd7ad}.tq405-step.active i{background:#f58220}.tq405-step.active small{color:#9a571c}
.tq405-step.todo{background:#fff0f0;border-color:#e4a8a8}.tq405-step.todo i{background:#b42318}.tq405-step.todo small{color:#8f2626}
.tq405-step.active:last-child{background:#eaf2fb;border-color:#c8daf0}.tq405-step.active:last-child i{background:#2777bd}.tq405-step.active:last-child small{color:#245f91}
.tq406-mini-form{margin-top:auto;padding-top:6px}.tq406-step-btn{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:4px 8px;border-radius:7px;border:1px solid #d6dee6;background:#fff;color:var(--navy)!important;font-size:10px;font-weight:800;text-decoration:none;line-height:1.1;margin-top:6px}.tq406-step-btn:hover{background:#f7f9fb}

/* THIQAA 4.07 — clearer workflow guide + permanent delete */
.tq407-workflow-help{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0 16px;padding:14px 16px;border:1px solid #d9e3ea;border-radius:13px;background:#fff;color:#344c5e}
.tq407-workflow-help>strong{color:var(--navy);margin-right:4px}.lang-ar .tq407-workflow-help>strong{margin-right:0;margin-left:4px}
.tq407-workflow-help>span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.tq407-workflow-help>span b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--navy);color:#fff;font-size:11px}
.tq407-workflow-help>em{font-style:normal;color:#8b9aa5;font-weight:900}.tq407-workflow-help>small{flex-basis:100%;display:block;margin-top:4px;color:#687b89;line-height:1.5}
.tq407-notice{margin:12px 0;padding:13px 16px;border-radius:10px;font-weight:800}.tq407-notice.success{background:#e9f7ee;border:1px solid #bfe5cb;color:#246b43}
.tq407-delete-client-form{margin:10px 0 0}.tq407-delete-client{width:100%;padding:7px 9px;border:1px solid #b42318;border-radius:8px;background:#fff0f0;color:#9d2016;font-size:11px;font-weight:900;cursor:pointer}.tq407-delete-client:hover{background:#b42318;color:#fff}

/* THIQAA 4.08 — Launch readiness */
.tq408-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 28px}.tq408-health{display:flex;gap:12px;align-items:flex-start;padding:15px;border:1px solid #dfe7ec;border-radius:12px;background:#fff}.tq408-health-dot{width:12px;height:12px;border-radius:50%;margin-top:5px;flex:0 0 auto;background:#a9b4bd}.tq408-health.ok{background:#eef9f2;border-color:#bfe5cb}.tq408-health.ok .tq408-health-dot{background:#2d9d59}.tq408-health.warn{background:#fff7e9;border-color:#f4d6a7}.tq408-health.warn .tq408-health-dot{background:#f08a24}.tq408-health.bad{background:#fff0f0;border-color:#e7b1b1}.tq408-health.bad .tq408-health-dot{background:#b42318}.tq408-health strong,.tq408-health small{display:block}.tq408-health small{margin-top:3px;color:#637483;line-height:1.45}
.tq408-checklist-card{border-top:4px solid var(--orange)}.tq408-check-status{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.tq408-check-status.done{background:#e4f5e9;color:#256b40}.tq408-check-status.pending{background:#fff0f0;color:#972626}.tq408-checklist-form{display:grid;gap:10px}.tq408-checklist-form label{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#f7f9fb;border:1px solid #e1e8ed;border-radius:10px}.tq408-checklist-form input{margin-top:3px}.tq408-checklist-form .btn{justify-self:start;margin-top:8px}.tq408-ok-text{color:#277348}.tq408-warn-text{color:#9b2c2c}
.tq408-retention-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tq408-retention-actions form{margin:0}.tq408-danger-btn{background:#9f2727!important;color:#fff!important;border-color:#9f2727!important}
.tq408-activity-list{border:1px solid #e1e7eb;border-radius:12px;overflow:hidden}.tq408-activity-item{display:flex;gap:12px;padding:12px 14px;border-bottom:1px solid #edf1f4}.tq408-activity-item:last-child{border-bottom:0}.tq408-activity-dot{width:9px;height:9px;border-radius:50%;background:var(--orange);margin-top:5px;flex:0 0 auto}.tq408-activity-item strong,.tq408-activity-item small{display:block}.tq408-activity-item small{color:#71808b;margin-top:4px}.tq408-dashboard-alert{background:#fff0f0;border:1px solid #e6b2b2;color:#8e2424;border-radius:10px;padding:12px 15px;margin-bottom:16px;font-weight:700}
@media(max-width:760px){.tq408-health-grid{grid-template-columns:1fr}}


/* THIQAA 4.09 — Consent logo clarity + agreement checkbox layout fix */
.tq95-consent-page .tq95-consent-brand{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 0 22px;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.tq95-consent-page .tq95-consent-brand img{
  width:250px !important;
  max-width:min(42vw,250px) !important;
  height:auto !important;
  display:block;
  object-fit:contain;
  margin:0 auto !important;
  filter:drop-shadow(0 5px 10px rgba(0,0,0,.16));
}
.lang-ar .tq95-consent-page .page-hero .container{
  align-items:stretch;
}
.lang-ar .tq95-consent-page .page-hero .eyebrow,
.lang-ar .tq95-consent-page .page-hero h1,
.lang-ar .tq95-consent-page .page-hero p{
  text-align:right;
}

/* Global form CSS gives all inputs width:100%; explicitly neutralise that for the consent checkbox. */
.tq95-consent-form .tq95-single-consent{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:14px !important;
  width:100% !important;
  min-height:0 !important;
  padding:18px 20px !important;
  box-sizing:border-box !important;
  cursor:pointer;
}
.tq95-consent-form .tq95-single-consent input[type="checkbox"]{
  width:22px !important;
  min-width:22px !important;
  max-width:22px !important;
  height:22px !important;
  flex:0 0 22px !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  accent-color:var(--orange);
  cursor:pointer;
}
.tq95-consent-form .tq95-single-consent span{
  display:block !important;
  flex:1 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  font-size:16px;
  line-height:1.85;
  font-weight:700;
  text-align:left;
  overflow-wrap:normal;
  word-break:normal;
  white-space:normal;
}
.lang-ar .tq95-consent-form .tq95-single-consent{
  direction:rtl !important;
  flex-direction:row !important;
}
.lang-ar .tq95-consent-form .tq95-single-consent span{
  direction:rtl !important;
  text-align:right !important;
  font-size:17px;
  line-height:2;
}
@media(max-width:900px){
  .tq95-consent-page .tq95-consent-brand img{width:210px !important;max-width:48vw !important}
}
@media(max-width:640px){
  .tq95-consent-page .tq95-consent-brand img{width:165px !important;max-width:56vw !important}
  .tq95-consent-form .tq95-single-consent{padding:16px !important;gap:11px !important}
  .lang-ar .tq95-consent-form .tq95-single-consent span{font-size:16px}
}

/* THIQAA 4.10 — consent review and document preview */
.tq410-preview{background:#eef7ff!important;border-color:#b8d8f1!important;color:#174f7a!important}
.tq405-step.done .tq406-step-btn{border-color:#a8d7b8;background:#fff;color:#17653a!important}

/* THIQAA 4.12 — cleaner waiting states, contextual actions, consent logo */
.tq412-step-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.tq412-step-actions .tq406-mini-form{margin:0;padding:0}
.tq412-step-actions .tq406-step-btn{margin-top:0}
.tq412-delete-only{min-width:120px!important}
.tq412-delete-only .tq407-delete-client{margin-top:0}
/* Consent: full THIQAA logo with tagline, left aligned on the dark hero. */
.tq95-consent-page .tq95-consent-brand{align-self:flex-start!important;justify-content:flex-start!important;width:auto!important;margin:0 0 20px!important}
.tq95-consent-page .tq95-consent-brand img{width:300px!important;max-width:52vw!important;height:auto!important;margin:0!important}
.lang-ar .tq95-consent-page .page-hero .container{align-items:stretch!important;text-align:right!important}
.lang-ar .tq95-consent-page .tq95-consent-brand{align-self:flex-start!important;margin-left:0!important;margin-right:0!important}
.lang-ar .tq95-consent-page .tq95-consent-brand img{margin:0!important}
@media(max-width:900px){.tq95-consent-page .tq95-consent-brand img{width:260px!important;max-width:66vw!important}}
@media(max-width:640px){.tq95-consent-page .tq95-consent-brand img{width:220px!important;max-width:78vw!important}}

/* THIQAA 4.13 — Consent logo transparent background */
.tq95-consent-page .tq95-consent-brand img{
  background:transparent !important;
  filter:none !important;
}

/* THIQAA 4.15 — checklist alignment and focused client views */
.tq408-checklist-form{display:flex!important;flex-direction:column!important;gap:10px!important}
.tq408-checklist-form label{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;justify-content:start!important;gap:12px!important;width:100%!important;padding:14px 16px!important;box-sizing:border-box!important}
.tq408-checklist-form label input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;margin:2px 0 0!important;padding:0!important;justify-self:start!important}
.tq408-checklist-form label span{display:block!important;width:auto!important;max-width:none!important;text-align:left!important;line-height:1.5!important;margin:0!important;padding:0!important}
.lang-ar .tq408-checklist-form label{direction:rtl!important;grid-template-columns:22px minmax(0,1fr)!important}
.lang-ar .tq408-checklist-form label span{text-align:right!important}
.tq403-staff-pack .tq403-doc-list{margin-top:16px}

/* THIQAA 4.16 — document review gate before Work */
.tq405-step .tq406-step-btn{white-space:nowrap}
.tq405-step.done .tq406-step-btn{border-color:#9fd3ae}

/* THIQAA 4.17 — richer Last Update column */
.tq417-last-update{min-width:190px;max-width:230px}
.tq417-last-update strong{font-size:11px;line-height:1.35;color:var(--navy);white-space:normal}
.tq417-last-update small{display:block;margin-top:4px;font-size:10px;line-height:1.3}
.tq417-update-time{color:#5d6f7d}
.tq417-update-actor{color:#687b89}
.tq417-contact-time{color:#8b5b29}

/* THIQAA 4.18 — submission confirmation and case closure */
.tq418-finish-notice{margin:0 0 18px;padding:16px 18px;border:1px solid #f1c287;border-radius:12px;background:#fff7ec;color:#6e4519}
.tq418-finish-notice strong{display:block;color:#8a4a13;margin-bottom:5px}
.tq418-finish-notice p{margin:0}
.tq418-finish-case-form{margin-top:16px}

/* THIQAA 4.19 — Case Actions control centre */
.tq419-case-actions-btn{display:block;padding:9px 10px;border-radius:9px;background:#0a3153;color:#fff!important;text-align:center;font-size:11px;font-weight:900;text-decoration:none;margin-bottom:8px}
.tq419-case-actions-btn:hover{filter:brightness(1.06)}
.tq419-action-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 22px}
.tq419-action-summary>div{background:#f6f8fa;border:1px solid #dce5eb;border-radius:12px;padding:14px 16px}
.tq419-action-summary span{display:block;font-size:11px;color:#6a7b88;margin-bottom:4px}
.tq419-action-summary strong{color:var(--navy)}
.tq419-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tq419-action-card{background:#fff;border:1px solid #dce5eb;border-radius:16px;padding:22px;box-shadow:0 7px 20px rgba(5,25,45,.05)}
.tq419-action-card h2{font-size:20px;color:var(--navy);margin:0 0 9px}
.tq419-action-card p{color:#536675;line-height:1.6}
.tq419-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:14px}
.tq419-actions form,.tq419-close-form{margin:0}
.tq419-close-form{margin-top:12px}
@media(max-width:850px){.tq419-action-summary,.tq419-actions-grid{grid-template-columns:1fr}}

/* THIQAA 4.20 — Client Email Centre & Outcome workflow */
.tq420-email-branding{display:grid;grid-template-columns:240px 1fr;gap:28px;align-items:start;margin:20px 0 26px;padding:18px;border:1px solid #dce5eb;border-radius:14px;background:#f8fafb}
.tq420-size-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tq420-size-grid label,.tq420-email-grid label,.tq420-outcome-box label{display:block;font-weight:700;color:#24394c}
.tq420-size-grid input,.tq420-email-grid input,.tq420-email-grid textarea,.tq420-outcome-box input,.tq420-outcome-box select,.tq420-outcome-box textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 12px;border:1px solid #cbd7df;border-radius:9px;background:#fff}
.tq420-placeholders{margin:18px 0 22px;padding:14px 16px;border-radius:12px;background:#eef4f8;line-height:2}
.tq420-placeholders code{display:inline-block;margin:2px 3px;padding:2px 6px;border-radius:5px;background:#fff;border:1px solid #d6e1e8;font-size:11px}
.tq420-email-template{border:1px solid #dce5eb;border-radius:12px;background:#fff;margin:12px 0;overflow:hidden}
.tq420-email-template summary{cursor:pointer;padding:15px 18px;font-weight:900;color:var(--navy);background:#f8fafb}
.tq420-email-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:20px}
.tq420-email-grid h3{margin-top:0}
.tq420-email-grid textarea{font-family:Arial,Tahoma,sans-serif;line-height:1.55}
.tq420-outcome-card{grid-column:1/-1}
.tq420-outcome-box{margin:16px 0 18px;padding:18px;border:1px solid #d6e3eb;border-radius:12px;background:#f8fafb}
.tq420-outcome-box h3{margin-top:0}
.tq420-outcome-box label{margin:12px 0}
.tq420-inline-check{display:flex!important;gap:9px;align-items:flex-start;font-weight:600!important}
.tq420-inline-check input{width:auto!important;margin-top:3px!important}
@media(max-width:850px){
  .tq420-email-branding,.tq420-email-grid,.tq420-size-grid{grid-template-columns:1fr}
}

/* THIQAA 4.21 - bulk upload, service requirements and appeal workflow */
.tq421-bulk-cta,.tq421-simple-box,.tq421-appeal-box{margin:18px 0;padding:18px 20px;border:1px solid #d6e3eb;border-radius:14px;background:#f8fafb}
.tq421-bulk-cta strong,.tq421-appeal-box h3,.tq421-simple-box h2{color:var(--navy)}
.tq421-bulk-picker input[type=file]{padding:20px;background:#fff;border:2px dashed #b8c8d3;border-radius:12px}
.tq421-detailed-link{margin-top:18px}
.tq421-appeal-box label{display:block;margin:12px 0;font-weight:700;color:#24394c}
.tq421-appeal-box input[type=date],.tq421-appeal-box select{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 12px;border:1px solid #cbd7df;border-radius:9px;background:#fff}
.tq421-appeal-box .tq419-actions{margin-top:15px}

/* THIQAA 4.22 — clearer per-service client requirements */
.tq422-requirement-counts{display:block!important;margin-top:4px!important;font-size:10px!important;color:#687b89!important}
.tq422-requirements-btn{background:#fff4e8!important;border-color:#efad62!important;color:#8a4d0f!important}
.tq422-requirements-head{margin:18px 0 8px;padding:18px 20px;border:1px solid #d5e1e9;border-radius:14px;background:#f7fafc}
.tq422-requirements-head h2{margin:0 0 7px;color:var(--navy);font-size:21px}
.tq422-requirements-head p{margin:0;line-height:1.6;color:#536675}
.tq403-builder[open]{border-color:#9eb8ca;box-shadow:0 5px 16px rgba(6,29,54,.05)}
.tq422-email-new-vars{margin:0 0 22px;padding:16px 18px;border:1px solid #f0c184;border-radius:12px;background:#fff8ef}
.tq422-email-new-vars strong{display:block;color:#784511;margin-bottom:6px}
.tq422-email-new-vars code{display:inline-block;margin:3px;padding:4px 7px;background:#fff;border:1px solid #e8d4ba;border-radius:6px}

/* THIQAA 4.23 — wide dedicated Questions & Documents page */
.tq423-wide{max-width:1650px!important;width:calc(100% - 36px)!important}
.tq423-requirements-page .section{padding-top:28px}
.tq423-req-card{background:#fff;border:1px solid #dce5eb;border-radius:16px;margin:0 0 24px;overflow:hidden;box-shadow:0 8px 24px rgba(6,29,54,.05)}
.tq423-card-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 24px;background:#f7f9fb;border-bottom:1px solid #dce5eb}
.tq423-card-head h2{margin:0 0 5px;color:var(--navy)} .tq423-card-head p{margin:0;color:#6d7d89}.tq423-card-head>span{font-weight:900;color:#f57c18}
.tq423-grid-head,.tq423-req-row{display:grid;grid-template-columns:52px minmax(270px,1fr) minmax(270px,1fr) 170px 110px;gap:12px;align-items:center;padding:10px 20px}
.tq423-doc-head,.tq423-doc-row{display:grid;grid-template-columns:52px minmax(300px,1fr) minmax(300px,1fr) 120px;gap:12px;align-items:center;padding:10px 20px}
.tq423-grid-head,.tq423-doc-head{font-size:12px;font-weight:900;color:#526675;background:#fbfcfd;border-bottom:1px solid #e5ebef}
.tq423-req-row,.tq423-doc-row{border-bottom:1px solid #edf1f4}.tq423-req-row:last-child,.tq423-doc-row:last-child{border-bottom:0}
.tq423-req-row input,.tq423-req-row select,.tq423-doc-row input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cbd7df;border-radius:9px;background:#fff;font-size:15px}
.tq423-required{display:flex;align-items:center;gap:7px;font-weight:800;white-space:nowrap}.tq423-required input{width:auto!important}
.tq423-savebar{position:sticky;bottom:0;padding:14px 18px;background:rgba(255,255,255,.95);border:1px solid #dce5eb;border-radius:14px;text-align:right;box-shadow:0 -5px 18px rgba(6,29,54,.08);z-index:4}
@media(max-width:1100px){.tq423-grid-head,.tq423-doc-head{display:none}.tq423-req-row,.tq423-doc-row{grid-template-columns:42px 1fr 1fr}.tq423-req-row select,.tq423-req-row .tq423-required,.tq423-doc-row .tq423-required{grid-column:auto}.tq423-req-row{grid-template-columns:42px 1fr 1fr 150px 100px}}
@media(max-width:760px){.tq423-wide{width:calc(100% - 24px)!important}.tq423-req-row,.tq423-doc-row{display:block;padding:14px}.tq423-req-row>* ,.tq423-doc-row>*{margin:6px 0}.tq423-required{margin-top:10px!important}.tq423-card-head{align-items:flex-start}}

/* THIQAA 4.24 — wider Services page and client forms */
.tq424-services-wide .tq52-staff-hero .container,
.tq424-services-wide .tq71-services-manager>.container{
  max-width:1780px!important;
  width:calc(100% - 36px)!important;
}
.tq424-services-wide .tq71-manager-grid{
  grid-template-columns:minmax(500px,650px) minmax(0,1fr)!important;
  gap:30px!important;
}
.tq424-services-wide .tq71-service-list,
.tq424-services-wide .tq71-editor{min-width:0}
.tq424-services-wide .tq71-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tq424-services-wide .tq71-fields .full{grid-column:1/-1}

.tq424-client-forms-editor{margin-top:22px}
.tq424-form-row{padding:20px 0;border-top:1px solid #e2e9ee}
.tq424-form-row:first-of-type{border-top:0}
.tq424-form-index{display:block;margin-bottom:10px;color:var(--navy)}
.tq424-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.tq424-form-grid label{font-weight:800;color:#24394c}
.tq424-form-grid input,.tq424-form-grid textarea{width:100%;box-sizing:border-box;margin-top:6px}
.tq424-form-file{grid-column:1/-1}
.tq424-file-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}

.tq424-client-forms-list{display:grid;gap:16px;margin:22px 0}
.tq424-client-form-card{display:grid;grid-template-columns:48px 1fr;gap:16px;padding:20px;border:1px solid #dce5eb;border-radius:14px;background:#fff}
.tq424-form-number{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#061d36;color:#fff;font-weight:900}
.tq424-form-copy h2{margin:0 0 7px;color:var(--navy);font-size:20px}
.tq424-form-copy p{margin:0 0 14px;line-height:1.65}
.tq424-after-forms{margin-top:22px;padding:18px;border:1px solid #dce5eb;border-radius:14px;background:#f6f8fa}

@media(max-width:1150px){
  .tq424-services-wide .tq71-manager-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .tq424-services-wide .tq71-fields,.tq424-form-grid{grid-template-columns:1fr!important}
  .tq424-form-file{grid-column:auto}
  .tq424-file-line{grid-template-columns:1fr}
}

/* THIQAA 4.25 — unified email branding + pre-submission withdrawal */
.tq425-cancel-box{margin:18px 0;padding:18px;border:1px solid #efc9c6;border-radius:13px;background:#fff8f7}
.tq425-cancel-box h3{margin-top:0;color:#8f241c}
.tq425-cancel-box label{display:block;font-weight:800;color:#4d3a39;margin:12px 0}
.tq425-cancel-box textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 12px;border:1px solid #d9c5c3;border-radius:9px;background:#fff}
.tq425-cancel-btn{background:#a62820!important;color:#fff!important;border-color:#a62820!important}
.tq425-cancel-btn:hover{filter:brightness(1.05)}

/* THIQAA 4.26 — service manager visual balance + field alignment */

/* Main Services page: give the service list more room and reduce the oversized editor. */
.tq424-services-wide .tq71-manager-grid{
  grid-template-columns:minmax(700px,1.35fr) minmax(560px,.95fr)!important;
  gap:26px!important;
  align-items:start;
}
.tq424-services-wide .tq71-service-list{
  padding:24px!important;
}
.tq424-services-wide .tq71-editor{
  padding:24px!important;
}
.tq424-services-wide .tq71-list-head{
  margin-bottom:16px!important;
}

/* Larger service cards, image and service name. */
.tq424-services-wide .tq71-service-row{
  display:grid!important;
  grid-template-columns:96px minmax(250px,1fr) auto!important;
  gap:18px!important;
  align-items:center!important;
  padding:20px 0!important;
}
.tq424-services-wide .tq71-row-thumb{
  width:96px!important;
  height:76px!important;
}
.tq424-services-wide .tq71-row-thumb img{
  width:96px!important;
  height:76px!important;
  object-fit:cover!important;
  border-radius:10px!important;
}
.tq424-services-wide .tq426-service-title{
  display:block!important;
  font-size:18px!important;
  line-height:1.35!important;
  font-weight:900!important;
  color:var(--navy)!important;
  margin-bottom:5px!important;
}
.tq424-services-wide .tq426-service-category{
  display:block!important;
  font-size:13px!important;
  line-height:1.45!important;
  margin-bottom:6px!important;
}
.tq424-services-wide .tq422-requirement-counts{
  display:block!important;
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.tq424-services-wide .tq71-row-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  justify-content:flex-end!important;
  max-width:310px!important;
}
.tq424-services-wide .tq71-row-actions .tq60-mini,
.tq424-services-wide .tq71-row-actions button{
  min-height:40px!important;
  padding:8px 12px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}

/* Make Add/Edit Service panel compact instead of taking visual dominance. */
.tq424-services-wide .tq426-editor-title{
  font-size:24px!important;
  margin:0 0 18px!important;
}
.tq424-services-wide .tq71-fields{
  gap:14px 16px!important;
}
.tq424-services-wide .tq71-fields label{
  font-size:13px!important;
}
.tq424-services-wide .tq71-fields input,
.tq424-services-wide .tq71-fields select,
.tq424-services-wide .tq71-fields textarea{
  padding:11px 12px!important;
  font-size:14px!important;
}
.tq424-services-wide .tq71-fields textarea{
  min-height:96px!important;
}

/* Questions/Documents/Forms language alignment:
   English always on the left and LTR; Arabic always on the right and RTL. */
.tq423-requirements-page .tq423-grid-head,
.tq423-requirements-page .tq423-req-row{
  direction:ltr!important;
}
.tq423-requirements-page .tq423-req-row input[name$="_en"],
.tq423-requirements-page .tq423-doc-row input[name$="_en"],
.tq423-requirements-page .tq426-en-field input,
.tq423-requirements-page .tq426-en-field textarea{
  direction:ltr!important;
  text-align:left!important;
}
.tq423-requirements-page .tq423-req-row input[name$="_ar"],
.tq423-requirements-page .tq423-doc-row input[name$="_ar"],
.tq423-requirements-page .tq426-ar-field input,
.tq423-requirements-page .tq426-ar-field textarea{
  direction:rtl!important;
  text-align:right!important;
}
.tq423-requirements-page .tq426-en-field{
  direction:ltr!important;
  text-align:left!important;
}
.tq423-requirements-page .tq426-ar-field{
  direction:rtl!important;
  text-align:right!important;
}

/* Forms editor: balanced two-column language layout. */
.tq423-requirements-page .tq424-form-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:20px!important;
}
.tq423-requirements-page .tq424-form-row{
  padding:22px 0!important;
}
.tq423-requirements-page .tq424-form-grid textarea{
  min-height:112px!important;
}

/* Responsive fallbacks. */
@media(max-width:1450px){
  .tq424-services-wide .tq71-manager-grid{
    grid-template-columns:minmax(560px,1.15fr) minmax(500px,.85fr)!important;
  }
  .tq424-services-wide .tq71-service-row{
    grid-template-columns:86px minmax(220px,1fr)!important;
  }
  .tq424-services-wide .tq71-row-actions{
    grid-column:2!important;
    justify-content:flex-start!important;
    max-width:none!important;
  }
  .tq424-services-wide .tq71-row-thumb,
  .tq424-services-wide .tq71-row-thumb img{
    width:86px!important;
    height:70px!important;
  }
}
@media(max-width:1150px){
  .tq424-services-wide .tq71-manager-grid{grid-template-columns:1fr!important}
  .tq424-services-wide .tq71-service-row{
    grid-template-columns:96px minmax(0,1fr) auto!important;
  }
  .tq424-services-wide .tq71-row-actions{
    grid-column:auto!important;
    justify-content:flex-end!important;
  }
}
@media(max-width:760px){
  .tq424-services-wide .tq71-service-row{
    grid-template-columns:76px minmax(0,1fr)!important;
  }
  .tq424-services-wide .tq71-row-thumb,
  .tq424-services-wide .tq71-row-thumb img{
    width:76px!important;
    height:62px!important;
  }
  .tq424-services-wide .tq71-row-actions{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
  .tq423-requirements-page .tq424-form-grid{
    grid-template-columns:1fr!important;
  }
}

/* THIQAA 4.27 — service actions in one row */
.tq424-services-wide .tq71-row-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  justify-content:flex-end!important;
  align-items:center!important;
  max-width:none!important;
}
.tq424-services-wide .tq71-row-actions form{margin:0!important}
.tq424-services-wide .tq71-row-actions .tq60-mini,
.tq424-services-wide .tq71-row-actions button{
  min-height:40px!important;
  padding:8px 12px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
@media(max-width:1280px){
  .tq424-services-wide .tq71-row-actions{flex-wrap:wrap!important;justify-content:flex-start!important}
}

/* Consent editor layout and lightweight formatting toolbar */
.tq427-consent-editor{display:grid;gap:16px;margin-top:12px}
.tq427-consent-block{border:1px solid #dce5eb;border-radius:14px;background:#fff;overflow:hidden}
.tq427-consent-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;background:#f6f8fa;border-bottom:1px solid #dce5eb}
.tq427-consent-block-head strong{color:var(--navy)}
.tq427-consent-tools{display:flex;gap:6px;flex-wrap:wrap}
.tq427-consent-tools button{min-width:34px;min-height:32px;padding:5px 8px;border:1px solid #cbd7df;border-radius:7px;background:#fff;color:#18354f;font-weight:800;cursor:pointer}
.tq427-consent-panes{display:grid;grid-template-columns:1fr 1fr}
.tq427-consent-pane{padding:14px}
.tq427-consent-pane + .tq427-consent-pane{border-left:1px solid #e2e9ee}
.tq427-consent-pane label{display:block;margin-bottom:6px}
.tq427-consent-pane textarea{width:100%;min-height:150px;box-sizing:border-box;line-height:1.75;resize:vertical}
.tq427-consent-pane:not([dir="rtl"]) textarea{direction:ltr;text-align:left}
.tq427-consent-pane[dir="rtl"] textarea{direction:rtl;text-align:right}
@media(max-width:900px){
  .tq427-consent-panes{grid-template-columns:1fr}
  .tq427-consent-pane + .tq427-consent-pane{border-left:0;border-top:1px solid #e2e9ee}
}

/* THIQAA 4.29 — live dashboard updates */
.tq429-live-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;border:1px solid #dce5eb;border-radius:11px;background:#fff}
.tq429-live-toolbar small{color:#617483;line-height:1.45}
.tq429-live-state{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;background:#edf8f1;color:#17633a;white-space:nowrap}
.tq429-live-dot{width:8px;height:8px;border-radius:50%;background:#23a45d;box-shadow:0 0 0 3px rgba(35,164,93,.12)}
.tq429-live-state.checking{background:#fff7e8;color:#8b5b12}
.tq429-live-state.checking .tq429-live-dot{background:#f39a22;box-shadow:0 0 0 3px rgba(243,154,34,.13)}
.tq429-live-state.paused{background:#eef4fa;color:#34516b}
.tq429-live-state.paused .tq429-live-dot{background:#5c7f9d;box-shadow:none}
.tq429-live-state.warn{background:#fff1f0;color:#9a2d25}
.tq429-live-state.warn .tq429-live-dot{background:#cf4035;box-shadow:none}
.tq429-live-toast{position:fixed;right:24px;bottom:24px;z-index:99999;padding:12px 16px;border-radius:10px;background:#061d36;color:#fff;font-size:13px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.18);opacity:0;transform:translateY(12px);pointer-events:none;transition:.22s ease}
.tq429-live-toast.show{opacity:1;transform:translateY(0)}
@media(max-width:700px){.tq429-live-toast{left:14px;right:14px;bottom:14px;text-align:center}}

/* THIQAA 4.30 — notifications, follow-up and document review */
.tq430-notifications-panel{margin:0 0 14px;padding:14px 16px;border:1px solid #dce5eb;border-radius:13px;background:#fff}
.tq430-notifications-panel.has-new{border-color:#f1be83;background:#fffaf3}
.tq430-notifications-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.tq430-notifications-head>div{display:flex;align-items:center;gap:8px}
.tq430-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#fb7b1b;color:#fff;font-size:11px;font-weight:900}
.tq430-notification-list{display:grid;gap:7px;margin-top:8px}
.tq430-notification-list a{display:grid;grid-template-columns:10px 1fr;gap:9px;align-items:start;padding:9px 10px;border-radius:9px;text-decoration:none;background:#fff;color:var(--navy)}
.tq430-notification-list a:hover{background:#f5f8fa}
.tq430-notification-list strong{display:block;font-size:12px;line-height:1.4}
.tq430-notification-list small{display:block;margin-top:3px;color:#6d7e8b;font-size:10px}
.tq430-notification-dot{width:8px;height:8px;border-radius:50%;background:#fb7b1b;margin-top:4px}
.tq430-followup{margin-top:5px!important;padding:4px 6px;border-radius:6px;background:#eef4f8;color:#34516b!important}
.tq430-followup.due{background:#fff0ed;color:#a62a20!important;font-weight:900}
.tq430-followup-card{margin:18px 0;padding:18px;border:1px solid #dce5eb;border-radius:14px;background:#f8fafb}
.tq430-followup-card h2{margin:0 0 4px;color:var(--navy)}
.tq430-followup-card p{margin:0 0 12px;color:#607280}
.tq430-followup-card form{display:grid;grid-template-columns:180px minmax(240px,1fr) auto;gap:10px;align-items:end}
.tq430-followup-card label{font-weight:800;color:#24394c}
.tq430-followup-card input{width:100%;box-sizing:border-box;margin-top:5px;padding:10px 11px;border:1px solid #cbd7df;border-radius:8px;background:#fff}

.tq430-doc-review-item{align-items:flex-start!important}
.tq430-doc-main{display:flex;flex-direction:column;gap:4px;min-width:220px}
.tq430-doc-status{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;background:#edf1f4;color:#536675}
.tq430-doc-status.accepted{background:#e7f6ec;color:#19713d}
.tq430-doc-status.viewed{background:#eaf2fb;color:#245f91}
.tq430-doc-status.replace{background:#fff1e4;color:#a65a0a}
.tq430-doc-status.not_needed{background:#eef1f4;color:#5d6870}
.tq430-doc-review-form{display:grid;grid-template-columns:155px minmax(190px,1fr) auto;gap:6px;align-items:center}
.tq430-doc-review-form select,.tq430-doc-review-form input{padding:7px 8px;border:1px solid #cbd7df;border-radius:7px;background:#fff;font-size:11px}

@media(max-width:900px){
  .tq430-followup-card form{grid-template-columns:1fr}
  .tq430-doc-review-form{grid-template-columns:1fr}
}

/* THIQAA 4.31 — summary, case note and activity centre */
.tq431-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 14px}
.tq431-summary-grid a{display:block;padding:14px 12px;border:1px solid #dce5eb;border-radius:12px;background:#fff;text-decoration:none;text-align:center;color:var(--navy)}
.tq431-summary-grid a:hover{box-shadow:0 5px 18px rgba(5,25,45,.07)}
.tq431-summary-grid a.attention{border-color:#efb66f;background:#fff8ef}
.tq431-summary-grid span{display:block;font-size:25px;line-height:1;font-weight:900;margin-bottom:7px}
.tq431-summary-grid strong{font-size:11px;line-height:1.3}
.tq431-case-note{display:block!important;margin-top:5px!important;padding:5px 7px;border-left:3px solid #fb7b1b;background:#fff7ee;color:#6a4217!important;font-weight:800}
.tq431-case-note-card{margin:18px 0;padding:18px;border:1px solid #dce5eb;border-radius:14px;background:#fff}
.tq431-case-note-card h2{margin:0 0 4px;color:var(--navy)}
.tq431-case-note-card p{margin:0 0 12px;color:#607280}
.tq431-case-note-card form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.tq431-case-note-card textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #cbd7df;border-radius:9px;resize:vertical}
.tq431-activity-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:14px}
.tq431-activity-head h2{margin:0 0 4px}
.tq431-activity-head p{margin:0;color:#607280}
.tq431-activity-legend{display:flex;gap:6px;flex-wrap:wrap}
.tq431-activity-legend span{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}
.tq431-activity-legend .client{background:#fff0e3;color:#99520f}
.tq431-activity-legend .staff{background:#e9f2fb;color:#285b88}
.tq431-activity-legend .system{background:#eef1f4;color:#5c6872}
.tq431-actor-client .tq408-activity-dot{background:#fb7b1b!important}
.tq431-actor-staff .tq408-activity-dot{background:#2d78b6!important}
.tq431-actor-system .tq408-activity-dot{background:#7f8b94!important}

@media(max-width:1100px){
  .tq431-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .tq431-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tq431-case-note-card form{grid-template-columns:1fr}
  .tq431-activity-head{flex-direction:column}
}

/* THIQAA 4.32 — client-facing experience */

/* Track My Request */
.tq432-track-wrap{max-width:980px}
.tq432-track-form{max-width:760px;margin:0 auto 26px}
.tq432-track-result{display:grid;gap:20px}
.tq432-track-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tq432-track-summary>div{padding:14px 16px;border:1px solid #dce5eb;border-radius:12px;background:#fff}
.tq432-track-summary span{display:block;font-size:11px;color:#6c7d89;margin-bottom:5px}
.tq432-track-summary strong{display:block;color:var(--navy);font-size:14px}
.tq432-progress-card{padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(5,25,45,.05)}
.tq432-progress-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:24px}
.tq432-progress-head h2{margin:4px 0 0}
.tq432-progress{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;position:relative}
.tq432-progress-step{position:relative;padding:13px 10px 13px 14px;border-radius:11px;background:#f4f6f8;border:1px solid #e2e8ec}
.tq432-progress-step.complete{background:#edf8f1;border-color:#c9e7d3}
.tq432-progress-step.current{background:#fff4e9;border-color:#f2c48e}
.tq432-step-dot{display:block;width:11px;height:11px;border-radius:50%;background:#aeb8bf;margin-bottom:8px}
.tq432-progress-step.complete .tq432-step-dot{background:#26a05a}
.tq432-progress-step.current .tq432-step-dot{background:#f58a20}
.tq432-progress-step strong{display:block;font-size:11px;line-height:1.35;color:var(--navy)}
.tq432-progress-step small{display:block;margin-top:5px;font-size:9px;color:#6c7d89}
.tq432-track-extra,.tq432-track-help{margin-top:18px;padding:16px;border-radius:11px;background:#f7f9fa}
.tq432-track-extra p,.tq432-track-help p{margin:5px 0 12px;line-height:1.65}

/* Service page enhancements */
.tq432-service-snapshot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0}
.tq432-service-snapshot>div{padding:14px;border:1px solid #dce5eb;border-radius:11px;background:#f8fafb}
.tq432-service-snapshot span{display:block;font-size:11px;color:#6b7d89;margin-bottom:5px}
.tq432-service-snapshot strong{display:block;color:var(--navy)}
.tq432-service-process{margin:34px 0}
.tq432-service-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tq432-service-steps>div{padding:17px;border:1px solid #dce5eb;border-radius:12px;background:#fff}
.tq432-service-steps b{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:#061d36;color:#fff;margin-bottom:9px}
.tq432-service-steps strong{display:block;color:var(--navy)}
.tq432-service-steps p{margin:6px 0 0}
.tq432-usual-docs{margin:34px 0;padding:20px;border:1px solid #dce5eb;border-radius:14px;background:#f8fafb}
.tq432-usual-docs ul{display:grid;gap:8px;padding-left:20px}
.tq432-usual-docs li small{display:inline-flex;margin-left:8px;padding:3px 6px;border-radius:999px;background:#e8f1f8;color:#315c7b;font-size:9px;font-weight:800}
.lang-ar .tq432-usual-docs ul{padding-left:0;padding-right:20px}
.lang-ar .tq432-usual-docs li small{margin-left:0;margin-right:8px}

/* Service Finder */
.tq432-finder-wrap{max-width:1180px}
.tq432-finder-note{padding:16px 18px;border-left:4px solid #f58220;border-radius:10px;background:#fff7ef;margin-bottom:20px}
.lang-ar .tq432-finder-note{border-left:0;border-right:4px solid #f58220}
.tq432-finder-note p{margin:5px 0 0;line-height:1.7}
.tq432-finder-groups{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.tq432-finder-groups button{padding:10px 13px;border:1px solid #cfd9e0;border-radius:999px;background:#fff;color:#17354d;font-weight:800;cursor:pointer}
.tq432-finder-groups button.active{background:#061d36;color:#fff;border-color:#061d36}
.tq432-finder-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tq432-finder-card{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:16px;border:1px solid #dce5eb;border-radius:15px;background:#fff}
.tq432-finder-card[hidden]{display:none!important}
.tq432-finder-card img{width:150px;height:130px;object-fit:cover;border-radius:10px}
.tq432-finder-card>div>span{font-size:10px;font-weight:900;color:#f58220;text-transform:uppercase;letter-spacing:.05em}
.tq432-finder-card h2{font-size:19px;margin:5px 0 7px;color:var(--navy)}
.tq432-finder-card p{font-size:13px;line-height:1.6;margin:0 0 12px}
.tq432-finder-actions{display:flex;gap:8px;flex-wrap:wrap}
.tq432-finder-unclear{margin-top:26px;padding:22px;border-radius:14px;background:#061d36;color:#fff}
.tq432-finder-unclear h2{color:#fff;margin-top:0}
.tq432-finder-unclear p{max-width:760px}
.tq432-request-helper{background:#f7f9fb;border-bottom:1px solid #e2e8ec}
.tq432-request-helper>.container{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-top:15px;padding-bottom:15px}
.tq432-request-helper strong,.tq432-request-helper span{display:block}
.tq432-request-helper span{font-size:12px;color:#6c7d89;margin-top:3px}

@media(max-width:1000px){
  .tq432-progress{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tq432-track-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tq432-finder-results{grid-template-columns:1fr}
}
@media(max-width:700px){
  .tq432-progress-head{align-items:flex-start;flex-direction:column}
  .tq432-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tq432-track-summary{grid-template-columns:1fr}
  .tq432-service-snapshot,.tq432-service-steps{grid-template-columns:1fr}
  .tq432-finder-card{grid-template-columns:1fr}
  .tq432-finder-card img{width:100%;height:190px}
  .tq432-request-helper>.container{align-items:flex-start;flex-direction:column}
}

/* THIQAA 4.33 — public trust pages and accessibility */

/* Stronger keyboard focus across public UI */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid #f58220!important;
  outline-offset:3px!important;
}
.btn,.tq60-mini,button,input,select,textarea{touch-action:manipulation}
input,select,textarea{font-size:16px}
@media(min-width:900px){input,select,textarea{font-size:14px}}

/* Homepage trust strip */
.tq433-trust-strip{background:#f7f9fb;border-top:1px solid #e4eaee;border-bottom:1px solid #e4eaee}
.tq433-trust-strip>.container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:18px;padding-bottom:18px}
.tq433-trust-strip a{display:block;padding:14px 15px;border-radius:12px;background:#fff;border:1px solid #dfe6eb;text-decoration:none;color:var(--navy)}
.tq433-trust-strip strong{display:block;margin-bottom:5px}
.tq433-trust-strip span{display:block;font-size:12px;line-height:1.55;color:#60717e}

/* Fees / data pages */
.tq433-narrow{max-width:1020px}
.tq433-fee-intro{margin-bottom:20px}
.tq433-fee-grid,.tq433-protection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tq433-fee-grid article,.tq433-protection-grid article{padding:20px;border:1px solid #dce5eb;border-radius:14px;background:#fff}
.tq433-fee-grid article>span,.tq433-icon{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:50%;background:#061d36;color:#fff;font-weight:900;margin-bottom:10px}
.tq433-fee-grid h3,.tq433-protection-grid h2{margin:0 0 8px;color:var(--navy)}
.tq433-fee-grid p,.tq433-protection-grid p{margin:0;line-height:1.72}
.tq433-policy-card,.tq433-warning-card,.tq433-questions-card,.tq433-protection-steps{margin-top:22px;padding:22px;border-radius:15px;border:1px solid #dce5eb;background:#f8fafb}
.tq433-warning-card{border-color:#efc89f;background:#fff8f0}
.tq433-policy-card h2,.tq433-warning-card h2,.tq433-questions-card h2,.tq433-protection-steps h2{margin-top:0;color:var(--navy)}
.tq433-protection-steps ol{display:grid;gap:9px;padding-left:22px}
.lang-ar .tq433-protection-steps ol{padding-left:0;padding-right:22px}
.tq433-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Footer trust links */
.tq433-footer-trust-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;padding:12px 16px 20px}
.tq433-footer-trust-links a{font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* Mobile improvements */
@media(max-width:760px){
  .hero-actions,.tq432-finder-actions,.tq433-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .hero-actions .btn,.tq432-finder-actions .btn,.tq433-actions .btn{width:100%;box-sizing:border-box;text-align:center}
  .page-hero h1{font-size:clamp(2rem,10vw,3rem)}
  .page-hero p{font-size:1rem;line-height:1.65}
  .tq433-trust-strip>.container{grid-template-columns:1fr}
  .tq433-fee-grid,.tq433-protection-grid{grid-template-columns:1fr}
  .tq50-track-form .form-grid,.tq50-smart-form .form-grid{grid-template-columns:1fr!important}
  .field.full{grid-column:auto!important}
  .btn,.tq60-mini,button{min-height:44px}
}

/* Improve readability for long Arabic content */
.lang-ar .prose p,.lang-ar .prose li,.lang-ar .tq433-public-page p,.lang-ar .tq433-public-page li{
  line-height:1.95;
}

/* THIQAA 4.34 — requested refinements */
.tq434-track-contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.tq434-track-contact-actions .btn{min-width:130px;text-align:center}
.tq434-trust-link{display:inline-block;margin-top:12px;font-size:12px;font-weight:900;color:#e96f0a;text-decoration:none}
.tq434-trust-link:hover{text-decoration:underline;text-underline-offset:3px}
.tq417-last-update.normal-update>strong{color:#5b4636!important}
.tq417-last-update.needs-action>strong{color:#b42318!important}
.tq417-last-update.needs-action{background:#fff8f7}
.tq417-last-update.needs-action .tq417-update-time,
.tq417-last-update.needs-action .tq417-update-actor{color:#8b3a34!important}
@media(max-width:700px){
  .tq434-track-contact-actions{display:grid;grid-template-columns:1fr}
  .tq434-track-contact-actions .btn{width:100%}
}

/* THIQAA 4.35 — Services submenu + per-client update visibility */
.tq435-services-menu{position:relative;display:flex;align-items:center}
.tq435-services-menu>.tq435-submenu{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:210px;
  padding:8px;
  border:1px solid #dce5eb;
  border-radius:11px;
  background:#fff;
  box-shadow:0 12px 28px rgba(6,29,54,.12);
  z-index:9999;
}
.tq435-services-menu:hover>.tq435-submenu,
.tq435-services-menu:focus-within>.tq435-submenu{display:block}
.tq435-submenu a{
  display:block!important;
  padding:10px 12px!important;
  border-radius:8px;
  white-space:nowrap;
}
.tq435-submenu a:hover{background:#f6f8fa}
.lang-ar .tq435-services-menu>.tq435-submenu{left:auto;right:0}

.tq435-attention-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-bottom:5px;
  padding:4px 7px;
  border-radius:999px;
  background:#fdecea;
  color:#b42318;
  font-size:10px;
  line-height:1;
  font-weight:900;
}
.tq417-last-update.needs-action{
  box-shadow:inset 4px 0 0 #b42318;
}
.lang-ar .tq417-last-update.needs-action{
  box-shadow:inset -4px 0 0 #b42318;
}

/* On small screens, keep submenu simple and visible in menu flow if menu opens. */
@media(max-width:900px){
  .tq435-services-menu{display:block}
  .tq435-services-menu>.tq435-submenu{
    position:static;
    display:block;
    min-width:0;
    margin-top:4px;
    padding:0 0 0 12px;
    border:0;
    box-shadow:none;
    background:transparent;
  }
  .lang-ar .tq435-services-menu>.tq435-submenu{padding:0 12px 0 0}
  .tq435-submenu a{font-size:13px!important;padding:6px 8px!important}
}

/* THIQAA 4.36 — Option 1 branding */
.brand img{object-fit:contain}
.site-header .brand img{max-height:64px;width:auto}
.footer-brand img{max-height:86px;width:auto}
@media(max-width:700px){
  .site-header .brand img{max-height:52px}
}

/* THIQAA 4.37 — London student homepage hero */
.tq437-london-hero .hero-final-grid{grid-template-columns:1.04fr 1.16fr;min-height:500px}
.tq437-london-hero .hero-copy{padding-top:58px;padding-bottom:58px}
.tq437-london-hero h1{font-size:clamp(44px,4.75vw,68px);line-height:1.01;max-width:760px;margin-top:12px;margin-bottom:18px}
.tq437-london-hero .hero-direct-line{font-size:20px;max-width:610px;margin-bottom:24px}
.tq437-london-hero .hero-photo{min-height:500px}
.tq437-london-hero .hero-photo img{object-position:center center}
.tq437-london-hero .hero-photo:before{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.84) 7%,rgba(255,255,255,.12) 28%,rgba(255,255,255,0) 48%)}
@media(max-width:900px){
  .tq437-london-hero .hero-final-grid{grid-template-columns:1fr}
  .tq437-london-hero .hero-photo{min-height:390px}
}


/* THIQAA 4.38 — Why THIQAA title + icon refresh */
.trust-section .section-title h2{max-width:860px;margin-left:auto;margin-right:auto}
.trust-symbol{width:64px;height:64px;border-radius:18px;background:#fff3eb;color:var(--orange);font-size:0;margin-bottom:16px;box-shadow:inset 0 0 0 1px rgba(255,122,0,.06)}
.trust-symbol svg{width:32px;height:32px;display:block}
.trust-symbol-support{background:#eef4fb;color:var(--navy)}
.trust-symbol-secure{background:#fff3eb;color:var(--orange)}
.trust-symbol-updates{background:#eef3fb;color:var(--navy)}
.trust-card{display:flex;flex-direction:column;height:100%}
.trust-card h3{margin-bottom:10px}
.trust-card p{flex:1}


/* THIQAA 4.39 — Homepage hero restored to Staff Site Settings control.
   No visual override is applied here; the selected image is managed from Page Images. */


/* THIQAA 4.40 — homepage visual refresh */
/* Floating People / Trust / Guidance / Progress panel over the hero */
.tq440-hero{position:relative;z-index:2;padding-bottom:76px!important}
.tq440-values-strip{position:relative;z-index:6;background:transparent!important;border:0!important;margin-top:-64px;margin-bottom:12px;pointer-events:none}
.tq440-values-strip .values-grid{pointer-events:auto;background:#fff;border:1px solid #e2eaf0;border-radius:18px;padding:18px 16px;box-shadow:0 18px 46px rgba(7,43,78,.14)}
.tq440-values-strip .value-item{padding:8px 28px}
.tq440-values-strip .value-icon img{width:48px;height:48px;object-fit:contain}
.tq440-values-strip .value-item b{font-size:20px}
.tq440-values-strip .value-item small{font-size:14px}

/* Richer How It Works visual */
.tq440-process-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#f9fbfd 0%,#f4f8fc 100%)}
.tq440-process-section:before,.tq440-process-section:after{content:"";position:absolute;left:-8%;right:-8%;height:170px;border-radius:50%;background:rgba(219,235,250,.54);z-index:0}
.tq440-process-section:before{bottom:-95px;transform:rotate(2deg)}
.tq440-process-section:after{bottom:-125px;background:rgba(229,241,252,.75);transform:rotate(-3deg)}
.tq440-process-section .container{position:relative;z-index:1}
.tq440-process-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:46px;margin-top:48px;align-items:stretch}
.tq440-process-item{position:relative;padding-top:40px;display:flex;flex-direction:column;align-items:center}
.tq440-process-item:not(:last-child):after{content:"›";position:absolute;right:-32px;top:88px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #dfe9f2;color:#2366c2;font-size:29px;line-height:1;box-shadow:0 6px 20px rgba(11,45,72,.08)}
.lang-ar .tq440-process-item:not(:last-child):after{right:auto;left:-32px;content:"‹"}
.tq440-process-number{position:absolute;top:18px;left:calc(50% - 55px);z-index:3;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #ffe1d0;color:var(--navy);font-size:13px;font-weight:900;box-shadow:0 8px 20px rgba(11,45,72,.07)}
.lang-ar .tq440-process-number{left:auto;right:calc(50% - 55px)}
.tq440-process-icon{position:relative;z-index:2;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy);border:1px solid #f4dfd3;box-shadow:0 14px 30px rgba(11,45,72,.08);margin-bottom:-28px}
.tq440-process-icon svg{width:48px;height:48px}
.tq440-process-card{width:100%;min-height:205px;padding:52px 22px 25px;border-radius:15px;background:#fff;border:1px solid #e2e9ef;text-align:center;box-shadow:0 10px 30px rgba(11,45,72,.055)}
.tq440-process-card h3{margin:0 0 12px;color:var(--navy);font-size:18px;line-height:1.25}
.tq440-process-card p{margin:0;color:#647a8f;font-size:15px;line-height:1.55}

/* Why THIQAA icon treatment inspired by approved reference */
.trust-card{padding:28px!important}
.trust-symbol{width:76px!important;height:76px!important;border-radius:20px!important;background:#fff4ed!important;margin-bottom:20px!important;box-shadow:inset 0 0 0 1px #ffe0cf!important}
.trust-symbol-support,.trust-symbol-updates{background:#eef3f9!important;box-shadow:inset 0 0 0 1px #dce5ef!important}
.trust-symbol svg{width:48px!important;height:48px!important}
.trust-card h3{font-size:20px!important;line-height:1.35!important}

@media(max-width:1100px){
 .tq440-values-strip{margin-top:-45px}
 .tq440-values-strip .values-grid{grid-template-columns:repeat(2,1fr);gap:0}
 .tq440-values-strip .value-item:nth-child(2){border-right:0}
 .tq440-values-strip .value-item:nth-child(-n+2){border-bottom:1px solid #e3e9ef;padding-bottom:18px;margin-bottom:10px}
 .tq440-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px}
 .tq440-process-item:not(:last-child):after{display:none}
}
@media(max-width:700px){
 .tq440-hero{padding-bottom:38px!important}
 .tq440-values-strip{margin-top:-28px;padding:0 10px}
 .tq440-values-strip .values-grid{grid-template-columns:1fr;padding:10px 14px}
 .tq440-values-strip .value-item{border-right:0!important;border-bottom:1px solid #e7edf2!important;padding:14px 8px!important;margin:0!important}
 .tq440-values-strip .value-item:last-child{border-bottom:0!important}
 .tq440-process-grid{grid-template-columns:1fr;gap:28px}
 .tq440-process-item{padding-top:34px}
 .tq440-process-card{min-height:0}
}


/* THIQAA 4.41 — Separate floating feature cards + stronger step-number badges */
/* People / Trust / Guidance / Progress: four independent cards with clear spacing */
.tq440-values-strip{margin-top:-70px!important;margin-bottom:22px!important;padding:0 16px!important}
.tq440-values-strip .values-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.tq440-values-strip .value-item{
  min-height:126px;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  padding:22px 24px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #e1e8ef!important;
  border-radius:18px!important;
  box-shadow:0 16px 38px rgba(7,43,78,.12)!important;
}
.tq440-values-strip .value-item:last-child{border:1px solid #e1e8ef!important}
.tq440-values-strip .value-icon{min-width:54px!important}
.tq440-values-strip .value-icon img{width:52px!important;height:52px!important}
.tq440-values-strip .value-item b{font-size:20px!important;margin-bottom:5px!important}
.tq440-values-strip .value-item small{font-size:14px!important;line-height:1.45!important}

/* Step numbers: orange badge with white digits for stronger hierarchy */
.tq440-process-number{
  width:48px!important;
  height:48px!important;
  background:var(--orange)!important;
  color:#fff!important;
  border:2px solid #fff!important;
  font-size:14px!important;
  letter-spacing:.02em;
  box-shadow:0 8px 20px rgba(243,111,33,.28)!important;
}

@media(max-width:1100px){
 .tq440-values-strip{margin-top:-48px!important;padding:0 18px!important}
 .tq440-values-strip .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
 .tq440-values-strip .value-item{border:1px solid #e1e8ef!important;padding:20px 22px!important;margin:0!important}
 .tq440-values-strip .value-item:nth-child(-n+2){border-bottom:1px solid #e1e8ef!important;padding-bottom:20px!important;margin-bottom:0!important}
}
@media(max-width:700px){
 .tq440-values-strip{margin-top:-26px!important;padding:0 14px!important}
 .tq440-values-strip .values-grid{grid-template-columns:1fr!important;gap:14px!important;padding:0!important}
 .tq440-values-strip .value-item{min-height:0!important;border:1px solid #e1e8ef!important;padding:17px 18px!important;margin:0!important}
 .tq440-values-strip .value-item:last-child{border:1px solid #e1e8ef!important}
 .tq440-process-number{width:44px!important;height:44px!important;font-size:13px!important}
}


/* THIQAA 4.42 — stronger hero overlap + softer process number badges */
/* Keep the feature cards visibly floating over the lower edge of the hero image. */
.tq440-hero{
  position:relative!important;
  z-index:2!important;
  overflow:visible!important;
  padding-bottom:0!important;
}
.tq440-values-strip{
  position:relative!important;
  z-index:20!important;
  margin-top:-92px!important;
  margin-bottom:28px!important;
  padding:0 18px!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}
.tq440-values-strip .values-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:26px!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.tq440-values-strip .value-item{
  min-height:128px!important;
  padding:23px 24px!important;
  background:#fff!important;
  border:1px solid #e1e8ef!important;
  border-radius:20px!important;
  box-shadow:0 18px 42px rgba(7,43,78,.14)!important;
}

/* Softer step-number colour: light THIQAA orange with navy digits. */
.tq440-process-number{
  background:#ffe1c9!important;
  color:#0b2e59!important;
  border:1px solid #ffc79d!important;
  box-shadow:0 7px 18px rgba(243,111,33,.14)!important;
}

@media(max-width:1100px){
  .tq440-values-strip{margin-top:-62px!important;padding:0 18px!important}
  .tq440-values-strip .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
}
@media(max-width:700px){
  .tq440-values-strip{margin-top:-34px!important;padding:0 14px!important;margin-bottom:20px!important}
  .tq440-values-strip .values-grid{grid-template-columns:1fr!important;gap:14px!important}
  .tq440-values-strip .value-item{min-height:0!important;padding:18px!important}
  .tq440-process-number{background:#ffe1c9!important;color:#0b2e59!important}
}


/* THIQAA 4.43 — hero feature cards: lower, cleaner and blended into hero edge */
/* Match the approved reference: separate white cards crossing the lower edge of the hero. */
.tq440-hero{
  position:relative!important;
  z-index:1!important;
  overflow:visible!important;
  padding-bottom:0!important;
}
.tq443-values-strip{
  position:relative!important;
  z-index:15!important;
  margin-top:-56px!important;   /* less overlap than v4.42: cards sit lower */
  margin-bottom:24px!important;
  padding:0 34px!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}
.tq443-values-strip .values-grid{
  width:min(1260px,calc(100% - 12px))!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.tq443-values-strip .value-item{
  min-height:118px!important;
  padding:22px 24px!important;
  background:rgba(255,255,255,.985)!important;
  border:1px solid #e4eaf0!important;
  border-radius:18px!important;
  box-shadow:0 12px 30px rgba(8,42,76,.11)!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
}
.tq443-values-strip .value-icon{
  flex:0 0 auto!important;
}
.tq443-values-strip .value-icon img{
  width:54px!important;
  height:54px!important;
  object-fit:contain!important;
}
.tq443-values-strip .value-item b{
  display:block!important;
  font-size:19px!important;
  line-height:1.2!important;
  margin-bottom:7px!important;
}
.tq443-values-strip .value-item small{
  display:block!important;
  font-size:13.5px!important;
  line-height:1.45!important;
}

/* Keep the lighter v4.42 process badge, but soften it one more step. */
.tq440-process-number{
  background:#ffead8!important;
  color:#0b2e59!important;
  border:1px solid #ffd2b2!important;
  box-shadow:0 6px 16px rgba(243,111,33,.10)!important;
}

@media(max-width:1100px){
  .tq443-values-strip{margin-top:-42px!important;padding:0 22px!important}
  .tq443-values-strip .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
}
@media(max-width:700px){
  .tq443-values-strip{margin-top:-24px!important;padding:0 14px!important;margin-bottom:18px!important}
  .tq443-values-strip .values-grid{grid-template-columns:1fr!important;gap:12px!important}
  .tq443-values-strip .value-item{min-height:0!important;padding:17px 18px!important;border-radius:15px!important}
  .tq443-values-strip .value-icon img{width:46px!important;height:46px!important}
}


/* THIQAA 4.44 — blend the last two hero floating cards into the background */
/* First two cards remain crisp white; Guidance and Progress fade more softly into the hero/background. */
.tq443-values-strip .value-item:nth-child(3){
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 72%,rgba(255,255,255,.82) 100%)!important;
  border-color:rgba(228,234,240,.82)!important;
  box-shadow:0 10px 26px rgba(8,42,76,.085)!important;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.tq443-values-strip .value-item:nth-child(4){
  background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.82) 55%,rgba(255,255,255,.62) 100%)!important;
  border-color:rgba(228,234,240,.58)!important;
  box-shadow:0 8px 22px rgba(8,42,76,.065)!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
/* So the fade remains subtle rather than washed-out on tablet/mobile. */
@media(max-width:1100px){
  .tq443-values-strip .value-item:nth-child(3),
  .tq443-values-strip .value-item:nth-child(4){
    background:rgba(255,255,255,.95)!important;
    border-color:#e4eaf0!important;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
}


/* THIQAA 4.45 — extend the hero card fade to the cards under Book an Appointment */
/* People stays crisp; Trust, Guidance and Progress blend progressively into the hero/background. */
.tq443-values-strip .value-item:nth-child(2){
  background:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.97) 72%,rgba(255,255,255,.90) 100%)!important;
  border-color:rgba(228,234,240,.90)!important;
  box-shadow:0 11px 28px rgba(8,42,76,.09)!important;
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
.tq443-values-strip .value-item:nth-child(3){
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 66%,rgba(255,255,255,.76) 100%)!important;
  border-color:rgba(228,234,240,.76)!important;
  box-shadow:0 9px 24px rgba(8,42,76,.075)!important;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.tq443-values-strip .value-item:nth-child(4){
  background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.78) 52%,rgba(255,255,255,.56) 100%)!important;
  border-color:rgba(228,234,240,.52)!important;
  box-shadow:0 7px 20px rgba(8,42,76,.055)!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
@media(max-width:1100px){
  .tq443-values-strip .value-item:nth-child(2),
  .tq443-values-strip .value-item:nth-child(3),
  .tq443-values-strip .value-item:nth-child(4){
    background:rgba(255,255,255,.95)!important;
    border-color:#e4eaf0!important;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
}


/* THIQAA 4.46 — EXACT reference-match values strip
   People / Trust / Guidance / Progress restored to the wide continuous bar shown in the approved screenshot.
   This intentionally overrides v4.41–v4.45 floating-card/fade treatments. */
.values-strip.tq440-values-strip.tq443-values-strip{
  position:relative!important;
  z-index:6!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#ffffff!important;
  border:0!important;
  border-top:1px solid #eef2f5!important;
  border-bottom:1px solid #edf2f6!important;
  overflow:visible!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .values-grid{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:24px 54px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  background:#ffffff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .value-item,
.values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
.values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
.values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
.values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
  min-height:92px!important;
  padding:8px 44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:22px!important;
  background:#ffffff!important;
  border:0!important;
  border-right:1px solid #dfe6ec!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  opacity:1!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .value-item:last-child{
  border-right:0!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .value-icon{
  flex:0 0 54px!important;
  width:54px!important;
  min-width:54px!important;
  height:54px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .value-icon img{
  display:block!important;
  width:54px!important;
  height:54px!important;
  object-fit:contain!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .value-item b{
  display:block!important;
  margin:0 0 8px!important;
  color:#0b2e59!important;
  font-size:21px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
.values-strip.tq440-values-strip.tq443-values-strip .value-item small{
  display:block!important;
  margin:0!important;
  color:#60778d!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:400!important;
}
.lang-ar .values-strip.tq440-values-strip.tq443-values-strip .value-item{
  border-right:0!important;
  border-left:1px solid #dfe6ec!important;
}
.lang-ar .values-strip.tq440-values-strip.tq443-values-strip .value-item:last-child{
  border-left:0!important;
}

@media(max-width:1100px){
  .values-strip.tq440-values-strip.tq443-values-strip .values-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:18px 24px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item{
    min-height:90px!important;
    padding:14px 26px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){border-right:0!important}
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(-n+2){border-bottom:1px solid #dfe6ec!important}
  .lang-ar .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){border-left:0!important}
}
@media(max-width:700px){
  .values-strip.tq440-values-strip.tq443-values-strip .values-grid{
    grid-template-columns:1fr!important;
    padding:10px 18px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    min-height:82px!important;
    padding:14px 12px!important;
    border-right:0!important;
    border-left:0!important;
    border-bottom:1px solid #e7edf2!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:last-child{border-bottom:0!important}
}


/* THIQAA 4.47 — desktop values strip uses four exact page quarters
   Each item owns exactly 25% of the viewport: 0–25%, 25–50%, 50–75%, 75–100%. */
@media(min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    box-sizing:border-box!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    margin:0!important;
    padding:24px 0!important;
    display:grid!important;
    grid-template-columns:repeat(4,25vw)!important;
    gap:0!important;
    box-sizing:border-box!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    width:25vw!important;
    min-width:0!important;
    max-width:none!important;
    min-height:92px!important;
    margin:0!important;
    padding:8px clamp(34px,3.2vw,64px)!important;
    box-sizing:border-box!important;
    justify-content:flex-start!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1){grid-column:1}
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){grid-column:2}
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3){grid-column:3}
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){grid-column:4}
}


/* THIQAA 4.48 — align the 4-value strip to the main page content lines.
   Full-width white band remains, but the four equal sections now sit inside
   the same left/right gutters as the hero content. */
@media(min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(1180px,calc(100% - 40px))!important;
    max-width:1180px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:24px 0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0!important;
    box-sizing:border-box!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:92px!important;
    margin:0!important;
    padding:8px clamp(24px,2.2vw,42px)!important;
    box-sizing:border-box!important;
    justify-content:flex-start!important;
  }
}


/* THIQAA 4.50 — approved floating values treatment.
   Base stays v4.48: same aligned left/right gutters and equal four columns.
   All four values rise about halfway into the hero. People/Trust visually fade
   into the white left hero area; Guidance/Progress remain visible as white
   floating cards over the photo. The blue section begins exactly below them. */
@media(min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    position:relative!important;
    z-index:20!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    border-top:0!important;
    border-bottom:0!important;
    overflow:visible!important;
    box-shadow:none!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(1180px,calc(100% - 40px))!important;
    max-width:1180px!important;
    min-width:0!important;
    margin:-56px auto 0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:118px!important;
    margin:0!important;
    padding:22px 26px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:18px!important;
    border-radius:18px!important;
    border:0!important;
    opacity:1!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Left pair: the upper half blends into the white hero area around the buttons. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){
    background:linear-gradient(180deg,rgba(255,255,255,.32) 0%,rgba(255,255,255,.80) 46%,#fff 58%,#fff 100%)!important;
    box-shadow:none!important;
  }

  /* Right pair: same geometry, but visibly floating over the hero photo. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.985) 48%,#fff 62%,#fff 100%)!important;
    border:1px solid rgba(224,232,239,.88)!important;
    box-shadow:0 12px 30px rgba(7,43,78,.10)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item:last-child{
    border-right:1px solid rgba(224,232,239,.88)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-icon{
    flex:0 0 54px!important;
    width:54px!important;
    min-width:54px!important;
    height:54px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-icon img{
    width:54px!important;
    height:54px!important;
    object-fit:contain!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item b{
    display:block!important;
    margin:0 0 7px!important;
    color:#0b2e59!important;
    font-size:20px!important;
    line-height:1.2!important;
    font-weight:800!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item small{
    display:block!important;
    margin:0!important;
    color:#60778d!important;
    font-size:14px!important;
    line-height:1.42!important;
    font-weight:400!important;
  }

  /* The strip only occupies the lower half of the floating cards, so the next
     navy section starts immediately below the card bottoms rather than under them. */
  .values-strip.tq440-values-strip.tq443-values-strip{
    min-height:62px!important;
    height:62px!important;
  }
}


/* THIQAA 4.51 — approved values cards lifted slightly, spaced, and aligned
   exactly to the homepage Services container below. Visual treatment from v4.50
   is preserved; only positioning/width/gaps are adjusted. */
@media(min-width:1200px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(1760px,calc(100% - 120px))!important;
    max-width:none!important;
    margin:-72px auto 0!important;
    gap:20px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip{
    min-height:46px!important;
    height:46px!important;
  }
}

@media(max-width:1199px) and (min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(100% - 56px,1280px)!important;
    max-width:none!important;
    margin:-68px auto 0!important;
    gap:16px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip{
    min-height:50px!important;
    height:50px!important;
  }
}


/* THIQAA 4.52 — transparent gaps between the four floating value cards.
   Preserve the v4.51 service alignment and spacing, but remove the wide white
   band behind the cards so the hero photo remains visible in every gap. */
@media(min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    position:relative!important;
    z-index:20!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  /* Lift the full row further into the hero so the transparent spaces reveal
     the underlying hero image rather than a white band. */
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    margin-top:-94px!important;
  }

  /* Keep each card itself light/white, while the space between cards stays
     completely transparent. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    background:linear-gradient(180deg,rgba(255,255,255,.90) 0%,rgba(255,255,255,.97) 48%,#fff 100%)!important;
    border:1px solid rgba(224,232,239,.78)!important;
    border-radius:18px!important;
    box-shadow:0 12px 28px rgba(7,43,78,.09)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Let the following navy section begin close to the card bottoms, without
     creating a separate white background strip behind the row. */
  .values-strip.tq440-values-strip.tq443-values-strip{
    min-height:24px!important;
    height:24px!important;
  }
}

@media(min-width:1200px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    margin-top:-102px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip{
    min-height:18px!important;
    height:18px!important;
  }
}


/* THIQAA 4.53 — balanced floating values cards.
   Fix v4.52 geometry: cards are smaller, sit only halfway into the hero,
   do not cover the appointment button or the navy Future Matters section,
   preserve Services alignment, and restore the approved fade treatment. */
@media(min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    position:relative!important;
    z-index:20!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    min-height:48px!important;
    height:48px!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(1760px,calc(100% - 120px))!important;
    max-width:none!important;
    min-width:0!important;
    margin:-48px auto 0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
    align-items:stretch!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:96px!important;
    height:96px!important;
    margin:0!important;
    padding:16px 22px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:16px!important;
    border-radius:16px!important;
    opacity:1!important;
  }

  /* People + Trust: upper half melts into the white hero/button area. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){
    background:linear-gradient(180deg,
      rgba(255,255,255,.12) 0%,
      rgba(255,255,255,.40) 28%,
      rgba(255,255,255,.82) 52%,
      rgba(255,255,255,.98) 68%,
      #fff 100%)!important;
    border:1px solid rgba(228,234,240,.34)!important;
    box-shadow:0 8px 20px rgba(7,43,78,.035)!important;
    backdrop-filter:blur(1.5px)!important;
    -webkit-backdrop-filter:blur(1.5px)!important;
  }

  /* Guidance + Progress: same size and lift, readable over the photo, but
     still softly transparent at the top rather than solid white blocks. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    background:linear-gradient(180deg,
      rgba(255,255,255,.58) 0%,
      rgba(255,255,255,.76) 34%,
      rgba(255,255,255,.94) 58%,
      #fff 100%)!important;
    border:1px solid rgba(224,232,239,.62)!important;
    box-shadow:0 9px 22px rgba(7,43,78,.07)!important;
    backdrop-filter:blur(2px)!important;
    -webkit-backdrop-filter:blur(2px)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-icon{
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    margin:0!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-icon img{
    width:46px!important;
    height:46px!important;
    object-fit:contain!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item b{
    margin:0 0 5px!important;
    font-size:18px!important;
    line-height:1.2!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item small{
    margin:0!important;
    font-size:13px!important;
    line-height:1.36!important;
  }
}

@media(max-width:1199px) and (min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(100% - 56px,1280px)!important;
    gap:16px!important;
    margin-top:-44px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip{
    min-height:52px!important;
    height:52px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    min-height:92px!important;
    height:92px!important;
    padding:15px 18px!important;
  }
}

/* THIQAA 4.54 — refined floating values cards.
   Goal: match the approved mockup more closely.
   - Four separate cards with visible gaps.
   - Row aligned to the normal content width / service cards below.
   - Cards sit mainly inside the hero, with only about 15–20% touching the navy band.
   - People + Trust fade more strongly into the white left hero area.
   - Guidance + Progress fade softly into the photo on the right.
   - Smaller / lighter geometry than v4.53.
*/
@media(min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    position:relative!important;
    z-index:22!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    height:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(1180px,calc(100% - 40px))!important;
    max-width:none!important;
    min-width:0!important;
    margin:-72px auto 0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:22px!important;
    align-items:stretch!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:84px!important;
    height:84px!important;
    margin:0!important;
    padding:14px 22px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:15px!important;
    border-radius:18px!important;
    opacity:1!important;
    border:1px solid rgba(223,231,237,.78)!important;
    box-shadow:0 10px 24px rgba(7,43,78,.07)!important;
    backdrop-filter:blur(2px)!important;
    -webkit-backdrop-filter:blur(2px)!important;
  }

  /* Stronger melt into the plain white left hero area. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){
    background:linear-gradient(180deg,
      rgba(255,255,255,.04) 0%,
      rgba(255,255,255,.18) 18%,
      rgba(255,255,255,.48) 36%,
      rgba(255,255,255,.82) 58%,
      rgba(255,255,255,.97) 76%,
      rgba(255,255,255,1) 100%)!important;
  }

  /* Softer but still readable over the photo area. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    background:linear-gradient(180deg,
      rgba(255,255,255,.18) 0%,
      rgba(255,255,255,.34) 18%,
      rgba(255,255,255,.62) 38%,
      rgba(255,255,255,.88) 60%,
      rgba(255,255,255,.98) 78%,
      rgba(255,255,255,1) 100%)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item:last-child{
    border-right:1px solid rgba(223,231,237,.78)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-icon{
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    margin:0!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-icon img{
    width:42px!important;
    height:42px!important;
    object-fit:contain!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item b{
    margin:0 0 4px!important;
    font-size:17px!important;
    line-height:1.16!important;
    color:var(--navy)!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item small{
    margin:0!important;
    font-size:12.5px!important;
    line-height:1.34!important;
    color:#597186!important;
  }
  .lang-ar .values-strip.tq440-values-strip.tq443-values-strip .value-item{
    text-align:right!important;
  }
}

@media(max-width:1199px) and (min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(100% - 40px,1180px)!important;
    gap:18px!important;
    margin-top:-66px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    min-height:80px!important;
    height:80px!important;
    padding:13px 18px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-icon,
  .values-strip.tq440-values-strip.tq443-values-strip .value-icon img{
    width:40px!important;height:40px!important;min-width:40px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item b{font-size:16px!important}
  .values-strip.tq440-values-strip.tq443-values-strip .value-item small{font-size:12px!important}
}

/* Tablet/mobile: keep a clean stacked card treatment. */
@media(max-width:1100px){
  .values-strip.tq440-values-strip.tq443-values-strip{
    margin-top:-28px!important;
    margin-bottom:18px!important;
    padding:0 14px!important;
    height:auto!important;
    min-height:0!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    width:min(100% - 28px,900px)!important;
    margin:0 auto!important;
    padding:0!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    background:transparent!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    min-height:92px!important;
    height:auto!important;
    padding:18px 18px!important;
    border:1px solid #e1e8ef!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(7,43,78,.06)!important;
  }
}
@media(max-width:700px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
}

/* THIQAA 4.55 — floating values fine tune
   Small final geometry/polish pass on v4.54 only. */
@media(min-width:1200px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    /* Lift the row a little more while keeping a small, intentional overlap
       with the navy band below. */
    margin-top:-78px!important;
    gap:24px!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item,
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    min-height:82px!important;
    height:82px!important;
    padding:13px 21px!important;
    border-radius:17px!important;
    box-shadow:0 8px 20px rgba(7,43,78,.055)!important;
  }

  /* Smoother fade with no visible hard horizontal transition. */
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(1),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(2){
    background:linear-gradient(180deg,
      rgba(255,255,255,.025) 0%,
      rgba(255,255,255,.10) 16%,
      rgba(255,255,255,.28) 32%,
      rgba(255,255,255,.54) 48%,
      rgba(255,255,255,.78) 64%,
      rgba(255,255,255,.94) 80%,
      rgba(255,255,255,1) 100%)!important;
    border-color:rgba(223,231,237,.58)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(3),
  .values-strip.tq440-values-strip.tq443-values-strip .value-item:nth-child(4){
    background:linear-gradient(180deg,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.26) 18%,
      rgba(255,255,255,.46) 36%,
      rgba(255,255,255,.70) 54%,
      rgba(255,255,255,.90) 72%,
      rgba(255,255,255,.98) 88%,
      rgba(255,255,255,1) 100%)!important;
    border-color:rgba(223,231,237,.66)!important;
  }

  .values-strip.tq440-values-strip.tq443-values-strip .value-icon,
  .values-strip.tq440-values-strip.tq443-values-strip .value-icon img{
    width:41px!important;
    height:41px!important;
    min-width:41px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item b{
    font-size:16.5px!important;
    margin-bottom:3px!important;
  }
  .values-strip.tq440-values-strip.tq443-values-strip .value-item small{
    font-size:12.25px!important;
  }
}


/* THIQAA 4.56 — lower floating cards, increase horizontal spacing,
   and give the Future Matters band a little more breathing room. */
@media(min-width:1200px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    margin-top:-58px!important; /* lower than v4.55 */
    gap:32px!important;         /* more visible space between cards */
  }

  .future-band{
    margin-top:24px!important;  /* move the navy band down a little */
  }
}

@media(max-width:1199px) and (min-width:1101px){
  .values-strip.tq440-values-strip.tq443-values-strip > .values-grid.container{
    margin-top:-52px!important;
    gap:24px!important;
  }

  .future-band{
    margin-top:20px!important;
  }
}


/* THIQAA 4.57 — move all four values fully into the navy Future Matters band.
   The previous floating strip is removed from the hero. These are fresh classes,
   deliberately isolated from the historical floating-card rules. */
.tq457-future-band{
  margin-top:0!important;
  padding:54px 0 58px!important;
  background:linear-gradient(115deg,#092f56,#0b2441)!important;
  overflow:hidden;
}
.tq457-future-band .container{
  width:min(1180px,calc(100% - 40px));
}
.tq457-future-band h2{
  margin:0 0 8px!important;
}
.tq457-future-band > .container > p{
  margin:0 auto!important;
  max-width:760px;
}
.tq457-values-grid{
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  width:100%;
}
.tq457-value-item{
  min-height:92px;
  padding:17px 20px;
  display:flex;
  align-items:center;
  gap:15px;
  text-align:left;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.56);
  border-radius:17px;
  box-shadow:0 12px 28px rgba(2,19,36,.18);
  box-sizing:border-box;
}
.tq457-value-icon{
  flex:0 0 43px;
  width:43px;
  height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.tq457-value-icon img{
  width:43px;
  height:43px;
  object-fit:contain;
}
.tq457-value-item b{
  display:block;
  color:var(--navy);
  font-size:17px;
  line-height:1.2;
  margin:0 0 4px;
  font-weight:800;
}
.tq457-value-item small{
  display:block;
  color:#587084;
  font-size:12.5px;
  line-height:1.36;
}
.lang-ar .tq457-value-item{
  text-align:right;
  direction:rtl;
}
@media(max-width:980px){
  .tq457-future-band{padding:48px 0 52px!important}
  .tq457-values-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
}
@media(max-width:640px){
  .tq457-future-band{padding:42px 0 46px!important}
  .tq457-values-grid{grid-template-columns:1fr;gap:12px;margin-top:22px}
  .tq457-value-item{min-height:82px;padding:15px 17px}
}


/* THIQAA 4.58 — clean vector footer logo */
.footer-about .footer-brand{
  display:inline-block!important;
  margin:0 0 18px 0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}
.footer-about .footer-brand img{
  width:360px!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  display:block!important;
  image-rendering:auto!important;
}
@media(max-width:650px){
  .footer-about .footer-brand img{width:300px!important;}
}

/* THIQAA 4.59 — footer logo exactly mirrors header logo */
.footer-about .footer-brand{
  display:inline-block!important;
  margin:0 0 18px 0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.footer-about .footer-brand img{
  width:300px!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  display:block!important;
  image-rendering:auto!important;
}
@media(max-width:650px){
  .footer-about .footer-brand img{width:235px!important;}
}


/* THIQAA 4.60 — refined dedicated footer logo */
.footer-about .footer-brand{
  display:block!important;
  width:min(410px,100%)!important;
  margin:0 0 18px 0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.footer-about .footer-brand img{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  display:block!important;
}
@media(max-width:650px){
  .footer-about .footer-brand{width:min(340px,100%)!important;}
}


/* THIQAA 4.61 — footer logo background matched exactly to footer */
.footer{background:#061d36!important;}
.footer-about .footer-brand{background:transparent!important;}


/* THIQAA 4.63 — contact-first journey without repeating actions on service cards */
.tq462-contact-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:610px}
.tq462-contact-actions .btn{width:100%;justify-content:center;min-height:52px}
.tq462-callback-wrap{max-width:760px}
.tq462-callback-form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 8px 30px rgba(8,37,59,.06)}
.tq462-callback-submit{min-width:230px}
.tq463-service-contact{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.tq463-service-contact h4{margin:0 0 12px;color:var(--navy);font-size:16px}
.tq463-service-contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tq463-service-contact-actions .btn{width:100%;min-height:44px;padding:10px 9px;font-size:13px;text-align:center}
@media(max-width:640px){
  .tq462-contact-actions{grid-template-columns:1fr 1fr!important;gap:10px}
  .tq462-contact-actions .btn{width:100%!important;min-height:48px;padding:11px 8px;font-size:14px}
  .tq462-callback-form{padding:20px 16px;border-radius:16px}
  .tq462-callback-submit{width:100%;min-width:0}
  .tq463-service-contact-actions{grid-template-columns:1fr}
}


/* THIQAA 4.64 — restore the cleaner homepage CTA layout */
@media(min-width:1200px){
  .header-cta{padding:14px 20px;font-size:15px;border-radius:12px}
}


/* THIQAA 4.66 — six homepage services: balanced 3 × 2 desktop layout */
@media(min-width:1200px){
  .home-services-five{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
  }
  .home-service-card .thumb{height:285px !important;}
}
@media(max-width:1199px) and (min-width:641px){
  .home-services-five{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:640px){
  .home-services-five{grid-template-columns:1fr !important;}
}

/* THIQAA 4.67 — align homepage sections with the wide services frame on desktop */
@media(min-width:1200px){
  .home .future-band > .container,
  .home .section > .container,
  .home .role-section > .container,
  .footer > .container{
    width:min(1760px,calc(100% - 120px)) !important;
    max-width:none !important;
  }

  /* Keep headings and long copy comfortably readable inside the wider frame. */
  .home .section-title{max-width:820px;}
  .home .role-grid p{max-width:760px;}
  .footer-about p{max-width:420px;}
}


/* THIQAA 4.68 — feedback carousel + exact client display-name choice */
.tq68-feedback-carousel{position:relative;padding:0 52px}
.tq68-feedback-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 44px)/3);gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 0 14px}
.tq68-feedback-track::-webkit-scrollbar{display:none}
.tq68-feedback-slide{scroll-snap-align:start;min-width:0;height:100%}
.tq68-feedback-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border-radius:50%;border:1px solid #cfdbe4;background:#fff;color:var(--navy);font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(11,45,72,.10);transition:.2s}
.tq68-feedback-arrow:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-50%) scale(1.04)}
.tq68-feedback-prev{left:0}.tq68-feedback-next{right:0}
.lang-ar .tq68-feedback-track{direction:rtl}
.tq68-name-choice{border:0;padding:0;margin:0;display:grid;gap:8px}
.tq68-name-choice legend{font-weight:800;color:#314452;margin-bottom:3px}
.tq68-name-choice label{display:flex;align-items:flex-start;gap:9px;font-weight:500}
.tq68-name-choice input[type=radio]{width:auto;margin-top:4px}
.tq68-display-name-field.is-hidden{display:none}
@media(max-width:980px){
  .tq68-feedback-track{grid-auto-columns:calc((100% - 22px)/2)}
}
@media(max-width:640px){
  .tq68-feedback-carousel{padding:0 38px}
  .tq68-feedback-track{grid-auto-columns:100%;gap:14px}
  .tq68-feedback-arrow{width:34px;height:34px;font-size:25px}
}


/* THIQAA 4.69 — staff feedback manager */
.tq69-toolbar-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:5px;border-radius:999px;background:#f97316;color:#fff;font-size:12px;font-weight:800;line-height:1}
.tq69-feedback-section .container{max-width:1280px}
.tq69-feedback-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 30px}
.tq69-feedback-stats>div{background:#fff;border:1px solid #e5eaf0;border-radius:16px;padding:20px;box-shadow:0 10px 28px rgba(8,33,58,.06)}
.tq69-feedback-stats span{display:block;color:#64748b;font-size:13px;font-weight:700;margin-bottom:8px}
.tq69-feedback-stats strong{font-size:30px;color:#08213a;line-height:1}
.tq69-feedback-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:12px 0 18px}
.tq69-feedback-head h2{margin:4px 0 6px}
.tq69-feedback-head p{max-width:760px;margin:0;color:#64748b}
.tq69-feedback-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.tq69-feedback-filters a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;border:1px solid #d8e0e8;background:#fff;color:#22364a;padding:9px 14px;border-radius:999px;font-weight:800;font-size:13px}
.tq69-feedback-filters a.active{background:#08213a;color:#fff;border-color:#08213a}
.tq69-feedback-filters span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;background:rgba(249,115,22,.14);color:#ea580c;font-size:11px}
.tq69-feedback-filters a.active span{background:#f97316;color:#fff}
.tq69-feedback-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tq69-feedback-card{background:#fff;border:1px solid #e4eaf0;border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(8,33,58,.06);display:flex;flex-direction:column;min-width:0}
.tq69-feedback-card.pending{border-left:4px solid #f59e0b}
.tq69-feedback-card.published{border-left:4px solid #16a34a}
.tq69-feedback-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.tq69-feedback-card-top>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tq69-feedback-card time{font-size:12px;color:#7c8b9a}
.tq69-state{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.tq69-state.pending{background:#fff7ed;color:#c2410c}
.tq69-state.published{background:#ecfdf3;color:#15803d}
.tq69-stars{color:#f59e0b;letter-spacing:1px}
.tq69-feedback-card blockquote{margin:2px 0 18px;color:#25384c;font-size:16px;line-height:1.7;white-space:pre-line;flex:1}
.tq69-feedback-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:15px;border-top:1px solid #edf1f5}
.tq69-feedback-meta small{display:block;color:#8190a0;font-size:11px;margin-bottom:3px}
.tq69-feedback-meta strong{display:block;color:#23384c;font-size:13px;overflow-wrap:anywhere}
.tq69-feedback-actions{display:flex;align-items:center;gap:10px;margin-top:18px;flex-wrap:wrap}
.tq69-feedback-actions form{margin:0}
.tq69-feedback-actions .btn{padding:9px 14px;min-height:auto}
.tq69-feedback-actions button[disabled]{opacity:.45;cursor:not-allowed}
.tq69-delete{border:0;background:transparent;color:#b91c1c;font-weight:800;padding:9px 6px;cursor:pointer}
.tq69-empty{padding:28px;background:#fff;border:1px dashed #ccd6e0;border-radius:14px;color:#64748b;grid-column:1/-1}
.tq69-request-panel{margin-top:46px;padding-top:34px;border-top:1px solid #dfe6ed;scroll-margin-top:110px}
.tq69-request-panel .tq61-feedback-form{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(8,33,58,.05)}
@media(max-width:900px){.tq69-feedback-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tq69-feedback-list{grid-template-columns:1fr}.tq69-feedback-head{align-items:flex-start;flex-direction:column}.tq69-feedback-meta{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tq69-feedback-stats{grid-template-columns:1fr 1fr;gap:10px}.tq69-feedback-stats>div{padding:15px}.tq69-feedback-stats strong{font-size:24px}.tq69-feedback-meta{grid-template-columns:1fr}.tq69-feedback-card{padding:17px}.tq69-feedback-card-top{align-items:flex-start;flex-direction:column}.tq69-feedback-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.tq69-feedback-actions form,.tq69-feedback-actions .btn,.tq69-feedback-actions button{width:100%}.tq69-delete{grid-column:1/-1}}

/* THIQAA 4.70 — Staff FAQ Manager + Email Diagnostics */
.tq470-staff-section .container{max-width:1280px}.tq470-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 22px}.tq470-page-head h2{margin:4px 0 6px;color:var(--navy)}.tq470-page-head p{margin:0;color:#64748b;max-width:760px}.tq470-faq-list{display:grid;gap:16px}.tq470-faq-row{background:#fff;border:1px solid #e1e8ee;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(11,45,72,.05)}.tq470-faq-row-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf1f4;padding-bottom:12px;margin-bottom:14px}.tq470-drag{font-size:20px;color:#9aa9b5}.tq470-row-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff}.tq470-active{display:flex!important;align-items:center;gap:7px;margin:0!important;margin-right:auto!important}.tq470-active input{width:auto!important;margin:0!important}.tq470-order-buttons{display:flex;gap:6px}.tq470-order-buttons button{border:1px solid #d7e0e7;background:#fff;color:var(--navy);border-radius:8px;padding:7px 10px;cursor:pointer;font-weight:800}.tq470-order-buttons .tq470-remove{color:#a52b22}.tq470-faq-languages{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tq470-faq-languages>div{background:#f8fafc;border:1px solid #edf1f4;border-radius:12px;padding:14px}.tq470-faq-languages h3{margin:0 0 8px;color:var(--navy)}.tq470-faq-languages label{display:block;margin:9px 0;font-weight:800;color:var(--navy)}.tq470-faq-languages input,.tq470-faq-languages textarea{display:block;width:100%;margin-top:6px}.tq470-faq-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px;position:sticky;bottom:10px;background:rgba(245,248,250,.94);padding:12px;border-radius:14px;backdrop-filter:blur(8px);z-index:3}
.tq470-email-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.tq470-email-summary>div{background:#fff;border:1px solid #e1e8ee;border-radius:15px;padding:17px;box-shadow:0 8px 24px rgba(11,45,72,.05)}.tq470-email-summary span,.tq470-email-summary small{display:block;color:#718292;font-size:12px}.tq470-email-summary strong{display:block;color:var(--navy);font-size:18px;margin:6px 0;overflow-wrap:anywhere}.tq470-email-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.tq470-email-note{margin-top:18px;padding:13px 14px;border-radius:10px}.tq470-email-note.warning{background:#fff8e7;border:1px solid #f2d78a;color:#6c5515}.tq470-email-note p{margin:5px 0 0}.tq470-email-help{margin:0;padding-left:22px;color:#4d6071}.tq470-email-help li{margin:9px 0}.tq470-email-log-panel{margin-top:18px}.tq470-email-table-wrap{overflow:auto}.tq470-email-table{width:100%;border-collapse:collapse;min-width:760px}.tq470-email-table th,.tq470-email-table td{text-align:left;padding:12px 10px;border-bottom:1px solid #e7edf2;vertical-align:top;font-size:13px}.tq470-email-table th{color:var(--navy);background:#f7fafc}.tq470-mail-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-weight:800;font-size:11px}.tq470-mail-status.ok{background:#eaf7ee;color:#25713a}.tq470-mail-status.bad{background:#fff0ef;color:#9b2e26}.tq470-mail-error{margin-top:5px;color:#9b2e26;max-width:420px;overflow-wrap:anywhere}
[dir="rtl"] .tq470-active{margin-right:0!important;margin-left:auto!important}[dir="rtl"] .tq470-email-table th,[dir="rtl"] .tq470-email-table td{text-align:right}[dir="rtl"] .tq470-email-help{padding-left:0;padding-right:22px}
@media(max-width:900px){.tq470-faq-languages,.tq470-email-grid{grid-template-columns:1fr}.tq470-email-summary{grid-template-columns:1fr 1fr}.tq470-page-head{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.tq470-email-summary{grid-template-columns:1fr}.tq470-faq-row{padding:13px}.tq470-faq-row-head{flex-wrap:wrap}.tq470-order-buttons{width:100%;justify-content:flex-end}.tq470-faq-actions{flex-direction:column}.tq470-faq-actions .btn{width:100%}}


/* THIQAA v4.71 — named feedback + staff consent controls */
.tq471-sample-badge{display:inline-flex;align-items:center;padding:.35rem .65rem;border-radius:999px;background:#fff3e8;color:#a84700;font-size:.72rem;font-weight:800;letter-spacing:.04em;margin-inline-start:.45rem}
.tq69-feedback-actions{flex-wrap:wrap}
.tq69-feedback-actions form{margin:0}
.tq69-feedback-actions button[disabled]{opacity:.48;cursor:not-allowed;filter:saturate(.55)}


/* THIQAA 4.72 — feedback notifications + public review date */
.tq472-review-date{display:block;margin-top:5px;font-size:12px;color:#82909b;font-style:normal}
.tq472-feedback-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #ffd29a;border-left:5px solid var(--orange);border-radius:14px;background:#fff8ef;box-shadow:0 8px 22px rgba(11,45,72,.05)}
.tq472-feedback-alert>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tq472-feedback-alert strong{color:var(--navy);font-size:15px}.tq472-feedback-alert span{color:#5f6f7c;font-size:14px}.tq472-feedback-alert .btn{white-space:nowrap}
@media(max-width:640px){.tq472-feedback-alert{align-items:flex-start;flex-direction:column}.tq472-feedback-alert .btn{width:100%}}


/* THIQAA 4.74 — Bank transfer payment management */
.tq474-bank-section .container{max-width:1280px}.tq474-bank-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.tq474-bank-head h2{margin:5px 0;color:var(--navy)}.tq474-bank-head p{max-width:820px;margin:0;color:#667987}.tq474-bank-list{display:grid;gap:16px}.tq474-bank-card{background:#fff;border:1px solid #dde6ec;border-radius:17px;padding:20px;box-shadow:0 8px 25px rgba(7,31,51,.05)}.tq474-bank-card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #edf1f4}.tq474-bank-card-head strong{display:block;color:var(--navy);font-size:17px}.tq474-bank-card-head small{display:block;color:#718392;margin-top:2px}.tq474-remove-bank{border:0;background:#fff0ef;color:#a32620;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer}.tq474-bank-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.tq474-bank-grid label,.tq474-form-grid label{font-size:13px;color:#465c6d}.tq474-bank-grid input,.tq474-form-grid input,.tq474-form-grid select{margin-top:5px}.tq474-bank-options{display:flex;align-items:center;gap:28px;margin-top:15px;padding-top:12px;border-top:1px solid #edf1f4}.tq474-bank-options label{display:flex;align-items:center;gap:8px}.tq474-bank-options input[type=checkbox],.tq474-bank-options input[type=radio]{width:auto;margin:0}.tq474-bank-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px;position:sticky;bottom:10px;padding:12px;border-radius:13px;background:rgba(245,248,250,.94);backdrop-filter:blur(8px);z-index:3}
.tq474-payment-card{scroll-margin-top:110px}.tq474-payment-card .tq403-card-head p{margin:5px 0 0;color:#697d8c}.tq474-payment-state{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap;background:#edf2f5;color:#506170}.tq474-payment-state.unpaid{background:#fff0ef;color:#9f2922}.tq474-payment-state.part_paid{background:#fff7e7;color:#9a6400}.tq474-payment-state.paid{background:#eaf7ee;color:#21713a}.tq474-payment-state.overpaid{background:#e9f3ff;color:#175b98}.tq474-payment-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.tq474-payment-summary>div{border:1px solid #e1e8ed;background:#f8fafc;border-radius:13px;padding:14px}.tq474-payment-summary span{display:block;color:#71818e;font-size:12px}.tq474-payment-summary strong{display:block;color:var(--navy);font-size:20px;margin-top:4px}.tq474-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tq474-payment-form{border:1px solid #e1e8ed;border-radius:14px;padding:17px;background:#fff}.tq474-payment-form h3{color:var(--navy);margin:0 0 13px}.tq474-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:13px}.tq474-form-grid .full{grid-column:1/-1}.tq474-bank-warning{margin:16px 0;padding:13px 15px;border-radius:11px;background:#fff8e8;border:1px solid #f0d58c}.tq474-bank-warning a{color:var(--orange);font-weight:800}.tq474-instructions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:17px;border:1px solid #dce6ed;border-radius:14px;background:#f6fafc}.tq474-instructions h3{margin:0 0 5px;color:var(--navy)}.tq474-instructions p{margin:0;color:#667a89;max-width:660px}.tq474-instruction-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tq474-payment-history{margin-top:20px;padding-top:18px;border-top:1px solid #e6edf1}.tq474-payment-history h3{color:var(--navy)}.tq474-payment-table-wrap{overflow:auto}.tq474-payment-table{width:100%;border-collapse:collapse;min-width:760px}.tq474-payment-table th,.tq474-payment-table td{text-align:left;padding:10px 9px;border-bottom:1px solid #e9eef2;font-size:13px;vertical-align:top}.tq474-payment-table th{color:var(--navy);background:#f7fafc}.tq474-delete-payment{border:0;background:transparent;color:#a32620;font-weight:800;cursor:pointer}.tq474-dashboard-payment{margin-top:5px!important;display:inline-flex!important;align-items:center;width:max-content;padding:4px 7px;border-radius:7px;background:#eef2f5;color:#506170!important;font-size:11px!important;font-weight:800}.tq474-dashboard-payment.unpaid{background:#fff0ef;color:#9f2922!important}.tq474-dashboard-payment.part_paid{background:#fff7e7;color:#8d5c00!important}.tq474-dashboard-payment.paid{background:#eaf7ee;color:#21713a!important}.tq474-dashboard-payment.overpaid{background:#e9f3ff;color:#175b98!important}
[dir="rtl"] .tq474-payment-table th,[dir="rtl"] .tq474-payment-table td{text-align:right}
@media(max-width:980px){.tq474-bank-grid{grid-template-columns:1fr 1fr}.tq474-payment-grid{grid-template-columns:1fr}.tq474-payment-summary{grid-template-columns:1fr 1fr}.tq474-instructions{align-items:flex-start;flex-direction:column}.tq474-instruction-actions{justify-content:flex-start}}
@media(max-width:600px){.tq474-bank-grid,.tq474-payment-summary,.tq474-form-grid{grid-template-columns:1fr}.tq474-form-grid .full{grid-column:auto}.tq474-bank-options{align-items:flex-start;flex-direction:column;gap:10px}.tq474-bank-actions{flex-direction:column}.tq474-bank-actions .btn,.tq474-instruction-actions,.tq474-instruction-actions .btn{width:100%}.tq474-instruction-actions{display:grid;grid-template-columns:1fr}.tq474-payment-card .tq403-card-head{align-items:flex-start}.tq474-payment-state{margin-top:5px}}


/* THIQAA 4.75 — real-device mobile fixes */
:root{color-scheme:only light!important;}
html,body{background:#fff;}
.site-header{background:#fff!important;}
.footer{background:#061d36!important;}
.footer-about .footer-brand,.footer-about .footer-brand img{background:transparent!important;}
.footer-about .footer-brand img{height:auto!important;object-fit:contain!important;}
@media(max-width:700px){
  .site-header .brand{min-width:0!important;flex:0 1 auto!important;}
  .site-header .brand img{width:min(220px,64vw)!important;max-height:72px!important;height:auto!important;object-fit:contain!important;}
  .nav{justify-content:space-between;}
  .nav-actions{margin-left:auto;}
  .lang-ar .nav-actions{margin-left:0;margin-right:auto;}
}


/* THIQAA 4.76 — footer logo size matches header across devices */
.footer-about .footer-brand{
  width:auto!important;
  max-width:100%!important;
}
.footer-about .footer-brand img{
  width:300px!important;
  max-width:100%!important;
  max-height:82px!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:1120px){
  .footer-about .footer-brand img{
    width:230px!important;
    max-height:64px!important;
  }
}
@media(max-width:980px){
  .footer-about .footer-brand img{
    width:220px!important;
    max-height:64px!important;
  }
}
@media(max-width:700px){
  .footer-about .footer-brand img{
    width:min(220px,64vw)!important;
    max-height:72px!important;
  }
}


/* THIQAA 4.78 — adaptive header logo + bulletproof LAN language switch */
.site-header .brand,
.site-header .brand picture,
.site-header .brand img{
  background:transparent!important;
  color-scheme:normal!important;
  forced-color-adjust:auto!important;
  filter:none!important;
}
.site-header .brand picture{
  display:block;
  line-height:0;
}
@media (prefers-color-scheme: dark){
  .site-header{
    background:#1f1f1f!important;
    border-bottom-color:#343434!important;
  }
  .site-header .hamb{color:#fff!important;}
}
@media (prefers-color-scheme: dark) and (max-width:980px){
  .site-header .menu{
    background:#1f1f1f!important;
    border-color:#3b3b3b!important;
  }
  .site-header .menu a{color:#f4f7f9!important;}
}
@media(max-width:700px){
  .site-header .brand{
    padding:0!important;
    border-radius:0!important;
  }
  .site-header .brand picture,
  .site-header .brand img{
    width:min(250px,70vw)!important;
    max-width:100%!important;
  }
}


/* THIQAA 4.81 — fixed navy header on every device + stable logo contrast */
:root{color-scheme:light!important;}
.site-header{
  background:#061d36!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 4px 18px rgba(6,29,54,.18)!important;
}
.site-header .brand,
.site-header .brand img,
.site-header .brand .tq481-header-logo{
  background:transparent!important;
  filter:none!important;
  color-scheme:normal!important;
}
.site-header .menu>a,
.site-header .tq435-services-menu>a{
  color:#f7fafc!important;
}
.site-header .menu>a:hover,
.site-header .tq435-services-menu>a:hover{
  color:#ff8a20!important;
}
.site-header .hamb{color:#fff!important;}
.site-header .header-cta{box-shadow:0 8px 22px rgba(244,122,18,.2);}
/* Keep the desktop Services flyout readable on its light panel. */
@media(min-width:981px){
  .site-header .tq435-submenu{background:#fff!important;border-color:#dce5eb!important;}
  .site-header .tq435-submenu a{color:#19334f!important;}
  .site-header .tq435-submenu a:hover{color:#082b50!important;background:#f6f8fa!important;}
}
@media(max-width:980px){
  .site-header .menu{
    background:#061d36!important;
    border-color:rgba(255,255,255,.16)!important;
  }
  .site-header .menu a{color:#f7fafc!important;}
  .site-header .tq435-submenu a{color:#dbe7f2!important;}
}


/* THIQAA 4.82 — header uses exactly the same navy as the top contact bar */
.site-header{
  background:var(--navy)!important;
}
@media(max-width:980px){
  .site-header .menu{
    background:var(--navy)!important;
  }
}

/* THIQAA 4.83 — Arabic mobile viewport containment
   Keep RTL pages inside the physical device width without changing English layout. */
@media(max-width:980px){
  html[dir="rtl"],
  html[dir="rtl"] body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .lang-ar .topbar,
  .lang-ar .site-header,
  .lang-ar main,
  .lang-ar .footer,
  .lang-ar .hero-final,
  .lang-ar .values-strip,
  .lang-ar .future-band,
  .lang-ar .section,
  .lang-ar .role-section{
    width:100%;
    max-width:100%;
    overflow-x:clip;
  }

  .lang-ar .container{
    width:min(100% - 28px,1180px)!important;
    max-width:calc(100vw - 28px)!important;
    margin-inline:auto!important;
    min-width:0!important;
  }

  .lang-ar .nav,
  .lang-ar .topbar-inner,
  .lang-ar .hero-final-grid,
  .lang-ar .hero-grid,
  .lang-ar .page-hero-grid,
  .lang-ar .content-grid,
  .lang-ar .role-grid,
  .lang-ar .values-grid,
  .lang-ar .grid-3,
  .lang-ar .category-grid,
  .lang-ar .home-services-five,
  .lang-ar .steps,
  .lang-ar .footer-grid,
  .lang-ar .cta-band{
    min-width:0!important;
    max-width:100%!important;
  }

  .lang-ar .hero-copy,
  .lang-ar .hero-final .hero-copy,
  .lang-ar .section-title,
  .lang-ar .card,
  .lang-ar .service-card,
  .lang-ar .home-service-card,
  .lang-ar .category-card,
  .lang-ar .prose,
  .lang-ar .sidebox,
  .lang-ar .footer-about,
  .lang-ar .footer-grid>div{
    min-width:0!important;
    max-width:100%!important;
  }

  .lang-ar h1,
  .lang-ar h2,
  .lang-ar h3,
  .lang-ar h4,
  .lang-ar p,
  .lang-ar li,
  .lang-ar a,
  .lang-ar span{
    overflow-wrap:anywhere;
    word-break:normal;
  }

  .lang-ar img,
  .lang-ar svg,
  .lang-ar video,
  .lang-ar iframe{
    max-width:100%!important;
  }

  /* Mobile menu must remain inside the viewport in RTL. */
  .lang-ar .site-header .menu{
    left:14px!important;
    right:14px!important;
    width:auto!important;
    max-width:calc(100vw - 28px)!important;
  }

  .lang-ar .top-contact,
  .lang-ar .top-meta,
  .lang-ar .footer-contact{
    max-width:100%!important;
    flex-wrap:wrap!important;
  }

  /* Keep horizontal widgets self-contained rather than widening the page. */
  .lang-ar .tq68-feedback-carousel,
  .lang-ar .tq68-feedback-track,
  .lang-ar .tq474-payment-table-wrap{
    max-width:100%!important;
  }
}

@media(max-width:640px){
  .lang-ar .container{
    width:calc(100% - 28px)!important;
    max-width:calc(100vw - 28px)!important;
  }

  .lang-ar .hero-final .hero-copy{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .lang-ar .hero-final h1,
  .lang-ar .hero-final p{
    max-width:100%!important;
  }
}

/* THIQAA 4.84 — Arabic homepage hero blend direction
   Keep the white blend beside the Arabic copy (right side) and fade into the photo toward the left. */
.lang-ar .tq437-london-hero .hero-photo:before{
  background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.84) 7%,rgba(255,255,255,.12) 28%,rgba(255,255,255,0) 48%)!important;
}


/* THIQAA 4.85 — RTL-safe mobile viewport containment
   Do not hide accessibility/honeypot elements by pushing them thousands of pixels
   off-screen; that creates a huge scrollable canvas in RTL browsers. */
html[dir="rtl"] .skip-link:not(:focus),
html[dir="rtl"] .tq27-hp,
html[dir="rtl"] .tq50-hp{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
}
html[dir="rtl"] .skip-link:focus{
  clip:auto!important;
  clip-path:none!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  overflow:visible!important;
  left:auto!important;
  right:12px!important;
  top:12px!important;
}

@media(max-width:980px){
  html[dir="rtl"],
  html[dir="rtl"] body.lang-ar{
    inline-size:100%!important;
    max-inline-size:100%!important;
    overflow-x:clip!important;
  }
  html[dir="rtl"] body.lang-ar > *{
    max-inline-size:100%!important;
  }
  .lang-ar .hero-final-grid,
  .lang-ar .hero-copy,
  .lang-ar .hero-photo,
  .lang-ar .values-grid,
  .lang-ar .home-services-five,
  .lang-ar .tq68-feedback-carousel{
    inline-size:100%!important;
    max-inline-size:100%!important;
    min-inline-size:0!important;
  }
}

/* THIQAA 4.86 — Contacts & Campaigns */
.tq486-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 24px}.tq486-stats>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px}.tq486-stats span{display:block;color:var(--muted);font-size:13px;font-weight:700}.tq486-stats strong{display:block;color:var(--navy);font-size:28px;margin-top:4px}.tq486-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:22px;margin:0 0 28px}.tq486-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 6px 20px rgba(11,45,72,.05);margin:0 0 24px}.tq486-panel h2{margin:0 0 10px;color:var(--navy)}.tq486-panel .notice{margin:18px 0 0}.tq486-filters{margin:18px 0}.tq486-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}.tq486-table td small,.tq486-wa-row small{display:block;color:var(--muted);font-size:12px}.tq486-consent{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.tq486-consent.yes{background:#e9f8ee;color:#19713d}.tq486-consent.no{background:#fff0ef;color:#a1261d}.tq486-consent.unknown{background:#fff6e7;color:#8a5b00}.tq486-wa-queue{display:grid;gap:10px}.tq486-wa-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.tq486-wa-row:last-child{border-bottom:0}.tq486-wa-actions{display:flex;gap:8px;align-items:center}.tq486-wa-actions form{margin:0}.tq486-campaigns .notice{margin-bottom:22px}@media(max-width:980px){.tq486-grid{grid-template-columns:1fr}.tq486-stats{grid-template-columns:1fr 1fr 1fr}}@media(max-width:640px){.tq486-stats{grid-template-columns:1fr}.tq486-panel{padding:18px}.tq486-wa-row{align-items:flex-start;flex-direction:column}.tq486-wa-actions{width:100%;flex-wrap:wrap}.tq486-wa-actions .btn{flex:1}.tq486-table-wrap{max-width:100%;overflow-x:auto}}


/* THIQAA 4.87 — Staff dashboard organisation */
.tq487-dashboard-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 26px;flex-wrap:wrap}
.tq487-primary-actions{display:flex;gap:10px;flex-wrap:wrap}
.tq487-primary-actions .btn{min-height:44px}
.tq487-more{position:relative}
.tq487-more summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid #9db0bf;border-radius:9px;background:#fff;color:var(--navy);font-weight:800;user-select:none}
.tq487-more summary::-webkit-details-marker{display:none}
.tq487-more summary:after{content:'▾';font-size:12px;transition:.2s}
.tq487-more[open] summary:after{transform:rotate(180deg)}
.tq487-more-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:25;min-width:260px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 44px rgba(11,45,72,.16);padding:8px}
.tq487-more-panel a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:9px;font-weight:700;color:#334b5d}
.tq487-more-panel a:hover{background:#f5f8fa;color:var(--navy)}
.tq487-more-panel a.tq487-export{color:#fff;background:var(--navy);margin-top:6px}
.tq487-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:28px 0 12px}
.tq487-section-head h2{margin:0;color:var(--navy);font-size:20px}
.tq487-section-head p{margin:2px 0 0;color:var(--muted);font-size:13px}
.tq487-section-head.compact{margin-top:20px}
.tq487-overview-wrap{background:#f8fafc;border:1px solid #e7edf2;border-radius:18px;padding:18px;margin-bottom:22px}
.tq487-overview-wrap .tq52-stats{margin:0}
.tq487-attention-wrap{margin:0 0 22px}
[dir="rtl"] .tq487-more-panel{right:auto;left:0}
@media(max-width:760px){
  .tq487-dashboard-nav{align-items:stretch}
  .tq487-primary-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .tq487-primary-actions .btn{width:100%}
  .tq487-more{width:100%}
  .tq487-more summary{width:100%;justify-content:center}
  .tq487-more-panel{position:static;width:100%;margin-top:8px;box-shadow:none}
  .tq487-section-head{align-items:flex-start;flex-direction:column;gap:4px}
  .tq487-overview-wrap{padding:14px}
}
@media(max-width:460px){.tq487-primary-actions{grid-template-columns:1fr}}


/* THIQAA 4.88 — simple staff navigation */
.tq488-main-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 26px}.tq488-main-nav>a,.tq488-more>summary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-weight:800;text-decoration:none;cursor:pointer;list-style:none}.tq488-main-nav>a:hover,.tq488-main-nav>a.active,.tq488-more.active>summary{background:var(--navy);color:#fff;border-color:var(--navy)}.tq488-more{position:relative}.tq488-more>summary::-webkit-details-marker{display:none}.tq488-more>summary:after{content:'▾';font-size:12px;margin-inline-start:8px}.tq488-more-menu{position:absolute;z-index:40;top:54px;inset-inline-end:0;min-width:250px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 18px 42px rgba(6,29,54,.16)}.tq488-more-menu a{display:flex;justify-content:space-between;gap:14px;padding:11px 12px;border-radius:9px;color:var(--navy);text-decoration:none;font-weight:700}.tq488-more-menu a:hover,.tq488-more-menu a.active{background:#f1f5f8}.tq488-overview-view .tq488-requests-only{display:none!important}.tq488-requests-view .tq488-overview-only{display:none!important}.tq488-requests-view .tq52-staff-hero p:after{content:''}.tq488-message-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 20px}.tq488-message-stats>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px}.tq488-message-stats span,.tq488-message-stats small{display:block;color:var(--muted);font-weight:700}.tq488-message-stats strong{display:block;font-size:30px;color:var(--navy);margin:3px 0}.tq488-whatsapp-export{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.tq488-export-buttons,.tq488-message-actions{display:flex;gap:10px;flex-wrap:wrap}.tq488-history{background:#fff;border:1px solid var(--line);border-radius:16px;margin-top:24px;overflow:hidden}.tq488-history>summary{padding:18px 22px;font-weight:800;color:var(--navy);cursor:pointer}.tq488-history[open]>summary{border-bottom:1px solid var(--line)}
@media(max-width:760px){.tq488-main-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tq488-main-nav>a,.tq488-more>summary{width:100%;padding:0 10px}.tq488-more{position:static}.tq488-more-menu{position:absolute;left:16px;right:16px;top:auto;margin-top:6px}.tq488-message-stats{grid-template-columns:1fr}}


/* THIQAA 4.89 — outstanding balance + clearer client/message totals */
.tq489-dashboard-stats{grid-template-columns:repeat(7,minmax(0,1fr))}.tq489-money-due strong{font-size:clamp(18px,1.65vw,27px);line-height:1.2}.tq489-money-due small{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:700}.tq489-message-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.tq489-dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.tq489-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tq489-message-stats{grid-template-columns:1fr}}

/* THIQAA 4.90 — existing client sync */
.tq490-sync-box{background:#f7fafc;border:1px solid var(--line);border-radius:14px;padding:16px;margin:0 0 18px}.tq490-sync-box p{margin:0 0 8px}.tq490-divider{border:0;border-top:1px solid var(--line);margin:22px 0}


/* THIQAA 4.91 — simplified staff nav */
.tq491-subnav{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 22px}.tq491-subnav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--navy);font-weight:800;text-decoration:none}.tq491-subnav a.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.tq491-hub-note{display:flex;gap:12px;align-items:flex-start;background:#fff7ec;border:1px solid #f5d8a6;color:var(--navy);border-radius:14px;padding:14px 16px;margin:0 0 18px}.tq491-hub-note strong{white-space:nowrap}.tq491-hub-note span{color:var(--muted);font-weight:600}
@media(max-width:720px){.tq491-hub-note{flex-direction:column;gap:6px}}



/* THIQAA 4.92 — previous message delete action */
.tq492-history-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tq492-history-actions form{margin:0}.tq492-delete-message{border:1px solid #efb5b0;background:#fff4f3;color:#a1261d;border-radius:9px;padding:7px 11px;font:inherit;font-weight:800;cursor:pointer}.tq492-delete-message:hover{background:#ffe7e4}


/* THIQAA 4.95 content review */
.tq495-guidance-note{margin:-6px 0 18px;color:var(--muted);font-size:.94rem;line-height:1.7}

/* THIQAA 4.96 — smaller footer logo */
.footer-about .footer-brand img{
  width:250px!important;
  max-width:100%!important;
  max-height:68px!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:1120px){
  .footer-about .footer-brand img{width:220px!important;max-height:62px!important;}
}
@media(max-width:700px){
  .footer-about .footer-brand img{width:190px!important;max-height:56px!important;}
}


/* THIQAA 4.98 — footer visit note closer to address */
.footer-visit-note{margin-left:0!important}
.lang-ar .footer-visit-note{margin-right:0!important;margin-left:0!important}


/* THIQAA 4.99 — lower and taller floating value cards */
.tq457-future-band{
  padding:54px 0 26px!important;
  overflow:visible!important;
  position:relative;
  z-index:2;
}
.tq457-values-grid{
  margin:34px auto -40px!important;
  position:relative;
  z-index:3;
}
.tq457-value-item{
  min-height:116px!important;
  padding:23px 22px!important;
  border-radius:18px!important;
}
.section.service-groups{
  position:relative;
  z-index:1;
  padding-top:96px!important;
}
@media(max-width:980px){
  .tq457-future-band{padding:48px 0 22px!important}
  .tq457-values-grid{margin:26px auto -28px!important}
  .tq457-value-item{min-height:106px!important;padding:20px 18px!important}
  .section.service-groups{padding-top:84px!important}
}
@media(max-width:640px){
  .tq457-future-band{padding:42px 0 18px!important}
  .tq457-values-grid{margin:22px auto -18px!important}
  .tq457-value-item{min-height:94px!important;padding:18px 16px!important}
  .section.service-groups{padding-top:72px!important}
}


/* THIQAA 5.00 — lower floating value cards + soft fade into white section */
.tq457-values-grid{
  margin:36px auto -52px!important;
}
.tq457-value-item{
  min-height:120px!important;
  position:relative;
  overflow:hidden;
  /* Fade only the bottom edge so the card melts into the white section below. */
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,rgba(0,0,0,.94) 80%,rgba(0,0,0,.68) 90%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 72%,rgba(0,0,0,.94) 80%,rgba(0,0,0,.68) 90%,transparent 100%);
}
.section.service-groups{
  padding-top:112px!important;
}
@media(max-width:980px){
  .tq457-values-grid{margin:28px auto -38px!important}
  .tq457-value-item{min-height:108px!important}
  .section.service-groups{padding-top:94px!important}
}
@media(max-width:640px){
  .tq457-values-grid{margin:22px auto -22px!important}
  .tq457-value-item{min-height:96px!important}
  .section.service-groups{padding-top:78px!important}
}


/* THIQAA 5.01 — keep floating cards above white section with visible soft fade */
.tq457-values-grid{
  margin:40px auto -56px!important;
  position:relative;
  z-index:4;
}
.tq457-value-item{
  min-height:122px!important;
  position:relative;
  overflow:visible!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
.tq457-value-item::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:44px;
  border-radius:0 0 18px 18px;
  background:linear-gradient(to bottom, rgba(245,247,250,0) 0%, rgba(245,247,250,.58) 52%, rgba(255,255,255,.9) 82%, #ffffff 100%);
  pointer-events:none;
}
.section.service-groups{
  padding-top:116px!important;
}
@media(max-width:980px){
  .tq457-values-grid{margin:30px auto -40px!important}
  .tq457-value-item{min-height:110px!important}
  .tq457-value-item::after{height:38px}
  .section.service-groups{padding-top:98px!important}
}
@media(max-width:640px){
  .tq457-values-grid{margin:24px auto -24px!important}
  .tq457-value-item{min-height:98px!important}
  .tq457-value-item::after{height:30px}
  .section.service-groups{padding-top:80px!important}
}


/* THIQAA 5.02 — true card-surface fade into the white section */
.tq457-value-item{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  isolation:isolate;
}
.tq457-value-item::after{
  content:none!important;
  display:none!important;
}
.tq457-value-item::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border:1px solid rgba(255,255,255,.56);
  border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 15px 30px rgba(2,19,36,.17);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 56%,rgba(0,0,0,.94) 65%,rgba(0,0,0,.72) 76%,rgba(0,0,0,.42) 87%,rgba(0,0,0,.14) 95%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 56%,rgba(0,0,0,.94) 65%,rgba(0,0,0,.72) 76%,rgba(0,0,0,.42) 87%,rgba(0,0,0,.14) 95%,transparent 100%);
  pointer-events:none;
}
.tq457-value-item > *{
  position:relative;
  z-index:1;
}


/* THIQAA 5.03 — visible fade below cards, not hidden under white section */
.tq457-value-item{
  background:rgba(255,255,255,.97)!important;
  border:1px solid rgba(255,255,255,.62)!important;
  box-shadow:0 16px 28px rgba(2,19,36,.14)!important;
  border-radius:18px!important;
  overflow:visible!important;
  isolation:isolate;
}
.tq457-value-item::before{
  content:none!important;
  display:none!important;
}
.tq457-value-item::after{
  content:""!important;
  display:block!important;
  position:absolute;
  left:10px;
  right:10px;
  bottom:-24px;
  height:34px;
  border-radius:0 0 22px 22px;
  background:linear-gradient(to bottom, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 34%, rgba(255,255,255,.32) 72%, rgba(255,255,255,0) 100%);
  filter:blur(6px);
  opacity:.95;
  z-index:0;
  pointer-events:none;
}
.tq457-value-item > *{
  position:relative;
  z-index:1;
}
@media(max-width:980px){
  .tq457-value-item::after{bottom:-20px;height:28px;filter:blur(5px)}
}
@media(max-width:640px){
  .tq457-value-item::after{bottom:-16px;height:22px;filter:blur(4px)}
}


/* THIQAA 5.04 — clean integrated card fade */
.tq457-values-grid{
  margin:40px auto -64px!important;
  position:relative;
  z-index:4;
}
.tq457-value-item{
  min-height:122px!important;
  position:relative;
  overflow:hidden!important;
  border:0!important;
  border-radius:18px!important;
  box-shadow:none!important;
  background:linear-gradient(to bottom,
    rgba(255,255,255,.985) 0%,
    rgba(255,255,255,.985) 58%,
    rgba(252,253,254,.96) 70%,
    rgba(248,250,252,.88) 82%,
    rgba(245,248,250,.62) 92%,
    var(--bg) 100%)!important;
}
.tq457-value-item::before,
.tq457-value-item::after{
  content:none!important;
  display:none!important;
}
.tq457-value-item > *{
  position:relative;
  z-index:1;
}
.section.service-groups{
  padding-top:108px!important;
}
@media(max-width:980px){
  .tq457-values-grid{margin:30px auto -46px!important}
  .tq457-value-item{min-height:110px!important}
  .section.service-groups{padding-top:92px!important}
}
@media(max-width:640px){
  .tq457-values-grid{margin:24px auto -28px!important}
  .tq457-value-item{min-height:98px!important}
  .section.service-groups{padding-top:76px!important}
}


/* THIQAA 5.05 — soft transparent card-bottom fade, always above the next section */
.tq457-future-band{
  position:relative!important;
  z-index:3!important;
  overflow:visible!important;
}
.tq457-values-grid{
  position:relative!important;
  z-index:6!important;
  margin:40px auto -64px!important;
}
.tq457-value-item{
  min-height:122px!important;
  position:relative!important;
  z-index:6!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.44)!important;
  border-radius:18px!important;
  background:linear-gradient(to bottom,
    rgba(255,255,255,.985) 0%,
    rgba(255,255,255,.985) 68%,
    rgba(255,255,255,.90) 78%,
    rgba(255,255,255,.72) 87%,
    rgba(255,255,255,.50) 94%,
    rgba(255,255,255,.28) 100%)!important;
  box-shadow:0 12px 24px rgba(4,27,49,.08)!important;
}
.tq457-value-item::before,
.tq457-value-item::after{
  content:none!important;
  display:none!important;
}
.section.service-groups{
  position:relative!important;
  z-index:0!important;
  padding-top:108px!important;
}
@media(max-width:980px){
  .tq457-values-grid{margin:30px auto -46px!important}
  .tq457-value-item{min-height:110px!important}
  .section.service-groups{padding-top:92px!important}
}
@media(max-width:640px){
  .tq457-values-grid{margin:24px auto -28px!important}
  .tq457-value-item{min-height:98px!important}
  .section.service-groups{padding-top:76px!important}
}


/* THIQAA 5.10 — seamless value cards: no line, no shadow, no gradient */
.tq457-future-band{
  position:relative!important;
  z-index:3!important;
  overflow:visible!important;
  padding:56px 0 0!important;
}
.tq457-values-grid{
  position:relative!important;
  z-index:6!important;
  margin:46px auto 0!important;
  align-items:stretch!important;
}
.tq457-value-item{
  min-height:136px!important;
  padding:26px 24px!important;
  position:relative!important;
  z-index:6!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:20px 20px 0 0!important;
  background:var(--bg)!important;
  box-shadow:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.tq457-value-item::before,
.tq457-value-item::after{
  content:none!important;
  display:none!important;
}
.section.service-groups{
  position:relative!important;
  z-index:0!important;
  padding-top:58px!important;
  background:var(--bg)!important;
  border:0!important;
  box-shadow:none!important;
}
@media(max-width:980px){
  .tq457-future-band{padding:48px 0 0!important}
  .tq457-values-grid{margin:34px auto 0!important}
  .tq457-value-item{min-height:122px!important;padding:22px 20px!important}
  .section.service-groups{padding-top:54px!important}
}
@media(max-width:640px){
  .tq457-future-band{padding:42px 0 0!important}
  .tq457-values-grid{margin:28px auto 0!important}
  .tq457-value-item{min-height:108px!important;padding:18px 16px!important}
  .section.service-groups{padding-top:48px!important}
}


/* THIQAA 5.11 — extra breathing room before Our Services only */
.section.service-groups{
  padding-top:92px!important;
}
@media(max-width:980px){
  .section.service-groups{padding-top:82px!important}
}
@media(max-width:640px){
  .section.service-groups{padding-top:70px!important}
}


/* THIQAA 5.12 — Latest UK Updates */
.tq512-home-updates{background:#fff;padding-top:78px;padding-bottom:78px}
.tq512-updates-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px}
.tq512-updates-head>div{max-width:760px}.tq512-updates-head h2{margin:7px 0 8px;color:var(--navy);font-size:clamp(30px,4vw,44px);line-height:1.12}.tq512-updates-head p{margin:0;color:var(--muted);max-width:720px}
.tq512-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tq512-news-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(11,45,72,.07);display:flex;flex-direction:column;min-width:0}
.tq512-news-image{display:block;aspect-ratio:16/9;background:#e9eff3;overflow:hidden}.tq512-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.tq512-news-card:hover .tq512-news-image img{transform:scale(1.025)}
.tq512-news-content{padding:20px 21px 22px;display:flex;flex-direction:column;flex:1}.tq512-news-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:11px;font-size:12px;color:#708292}.tq512-news-meta span{font-weight:800;color:var(--orange);text-transform:uppercase;letter-spacing:.035em}.tq512-news-card h3,.tq512-news-card h2{font-size:21px;line-height:1.25;color:var(--navy);margin:0 0 10px}.tq512-news-card h3 a:hover,.tq512-news-card h2 a:hover{color:var(--orange)}.tq512-news-card p{color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 18px}.tq512-read-more{margin-top:auto;font-weight:850;color:var(--navy);font-size:14px}.tq512-read-more:hover{color:var(--orange)}
.lang-ar .tq512-news-card,.lang-ar .tq512-updates-head{text-align:right}.lang-ar .tq512-news-meta{direction:rtl}
.tq512-updates-hero p{max-width:780px}.tq512-all-updates{background:var(--bg)}.tq512-all-updates .tq512-news-grid{row-gap:30px}
.tq512-single-head{max-width:900px}.tq512-single-head h1{max-width:920px}.tq512-single-head>p{max-width:800px}.tq512-article-grid{max-width:920px}.tq512-feature-image{width:100%;max-height:520px;object-fit:cover;border-radius:20px;margin:0 0 30px;border:1px solid var(--line)}.tq512-update-body{font-size:17px}.tq512-update-body p{margin:0 0 20px}.tq512-source{margin:30px 0 18px;padding:15px 17px;background:#eef4f8;border-radius:12px}.tq512-source a{font-weight:800;color:var(--navy)}.tq512-source a:hover{color:var(--orange)}.tq512-update-disclaimer{margin:18px 0 24px;padding:16px 18px;border-left:4px solid var(--orange);background:#fff8f2;color:#526674;font-size:14px}.lang-ar .tq512-update-disclaimer{border-left:0;border-right:4px solid var(--orange);text-align:right}
.tq512-staff-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr);gap:24px;align-items:start}.tq512-panel-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.tq512-update-form textarea{width:100%;resize:vertical}.tq512-publish-row label{display:inline-flex;align-items:center;gap:9px;font-weight:800}.tq512-publish-row input{width:18px;height:18px}.tq512-staff-list{display:flex;flex-direction:column;gap:9px;max-height:860px;overflow:auto}.tq512-staff-item{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:13px 14px;background:#fff}.tq512-staff-item:hover,.tq512-staff-item.active{border-color:#9fb5c6;background:#f5f9fc}.tq512-staff-item strong{display:block;color:var(--navy);line-height:1.35}.tq512-staff-item small{display:block;color:var(--muted);margin-top:4px}.tq512-staff-item>b{font-size:22px;color:var(--orange)}
@media(max-width:980px){.tq512-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tq512-staff-grid{grid-template-columns:1fr}.tq512-updates-head{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.tq512-home-updates{padding-top:58px;padding-bottom:58px}.tq512-news-grid{grid-template-columns:1fr}.tq512-updates-head{margin-bottom:24px}.tq512-updates-head .btn{width:100%}.tq512-news-content{padding:18px}.tq512-news-card h3,.tq512-news-card h2{font-size:19px}.tq512-panel-head{flex-direction:column}.tq512-panel-head .btn{width:100%}}


/* THIQAA 5.13 — full-width latest updates carousel + staff image upload preview */
.tq513-home-update-slider{
  background:#fff;
  padding:72px 0 82px!important;
  overflow:hidden;
}
.tq513-updates-head{margin-bottom:28px!important}
.tq513-news-shell{position:relative;width:100%;padding-bottom:34px}
.tq513-news-viewport{overflow:hidden;border-radius:24px;background:var(--bg)}
.tq513-news-track{display:flex;direction:ltr;transition:transform .5s cubic-bezier(.22,.61,.36,1);will-change:transform}
.tq513-news-slide{
  flex:0 0 100%;min-width:100%;
  display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  min-height:390px;background:var(--bg);direction:ltr;
}
.tq513-news-image{display:block;min-height:390px;overflow:hidden;background:#e8eef2}
.tq513-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.tq513-news-slide:hover .tq513-news-image img{transform:scale(1.018)}
.tq513-news-content{padding:46px 50px;display:flex;flex-direction:column;justify-content:center;direction:ltr;text-align:left}
.tq513-news-content .tq512-news-meta{justify-content:flex-start;gap:16px;margin-bottom:16px}
.tq513-news-content h3{font-size:clamp(28px,3.2vw,42px);line-height:1.12;color:var(--navy);margin:0 0 18px;letter-spacing:-.025em}
.tq513-news-content h3 a:hover{color:var(--orange)}
.tq513-news-content p{font-size:16px;line-height:1.72;color:var(--muted);margin:0 0 24px;max-width:650px}
.tq513-read-more{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-weight:850;color:var(--navy);font-size:15px}
.tq513-read-more:hover{color:var(--orange)}
.tq513-news-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:48px;height:48px;border-radius:50%;border:1px solid #d8e2e8;background:#fff;color:var(--navy);box-shadow:0 7px 22px rgba(11,45,72,.12);font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.2s}
.tq513-news-arrow:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.tq513-news-prev{left:-24px}.tq513-news-next{right:-24px}
.tq513-news-dots{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:8px}
.tq513-news-dots button{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:#c8d3db;cursor:pointer;transition:.2s}
.tq513-news-dots button.active{width:28px;background:var(--orange)}
.lang-ar .tq513-news-slide{direction:ltr}
.lang-ar .tq513-news-content{direction:rtl;text-align:right}
.lang-ar .tq513-news-content .tq512-news-meta{direction:rtl;justify-content:flex-start}
.lang-ar .tq513-read-more{align-self:flex-start}
.tq513-image-preview{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f7fafc}
.tq513-image-preview span{font-weight:800;color:var(--navy)}
.tq513-image-preview img{width:180px;height:100px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
.tq512-update-form input[type=file]{width:100%;padding:11px;border:1px dashed #9db0bf;border-radius:10px;background:#f8fbfd;color:var(--ink)}
@media(max-width:1240px){.tq513-news-prev{left:12px}.tq513-news-next{right:12px}}
@media(max-width:980px){
  .tq513-home-update-slider{padding:62px 0 70px!important}
  .tq513-news-slide{grid-template-columns:1fr;min-height:0}
  .tq513-news-image{min-height:0;aspect-ratio:16/8.5}
  .tq513-news-content{padding:30px 30px 38px}
  .tq513-news-content h3{font-size:clamp(25px,5vw,36px)}
  .tq513-news-arrow{width:42px;height:42px;font-size:26px;top:34%}
}
@media(max-width:640px){
  .tq513-home-update-slider{padding:54px 0 62px!important}
  .tq513-updates-head{margin-bottom:22px!important}
  .tq513-news-viewport{border-radius:18px}
  .tq513-news-image{aspect-ratio:16/10}
  .tq513-news-content{padding:24px 20px 30px}
  .tq513-news-content h3{font-size:25px}
  .tq513-news-content p{font-size:14px}
  .tq513-news-arrow{width:38px;height:38px;top:29%;font-size:24px}
  .tq513-news-prev{left:8px}.tq513-news-next{right:8px}
  .tq513-image-preview{align-items:flex-start;flex-direction:column}
  .tq513-image-preview img{width:100%;height:auto;max-height:220px}
}


/* THIQAA 5.14 — news social post links + sharing */
.tq514-social-posts-head{margin-top:4px;padding:14px 16px;border-radius:12px;background:#f5f8fa;border:1px solid var(--line)}
.tq514-social-posts-head strong{display:block;color:var(--navy);margin-bottom:3px}
.tq514-social-posts-head small{display:block}
.tq514-share-panel{margin:28px 0 22px;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
.tq514-share-panel h2{margin:0 0 14px;color:var(--navy);font-size:20px}
.tq514-share-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tq514-social-btn{min-width:118px}
.tq514-copy-status{min-height:20px;margin-top:8px;font-size:13px;color:#617280;font-weight:700}
.tq514-conversation{margin:22px 0 24px;padding:26px 28px;border-radius:18px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px}
.tq514-conversation h2{margin:5px 0 7px;font-size:25px;line-height:1.18;color:#fff}
.tq514-conversation p{margin:0;max-width:610px;color:#d6e2ea;font-size:14px;line-height:1.65}
.tq514-conversation-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}
.tq514-conversation .btn-dark{background:#fff;color:var(--navy);border-color:#fff}
.tq514-conversation .btn-dark:hover{background:#f5f8fa;color:var(--navy)}
.tq514-conversation .btn-outline{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.tq514-conversation .btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}
.tq514-back-updates{margin-top:22px}
.lang-ar .tq514-share-panel,.lang-ar .tq514-conversation{text-align:right}
@media(max-width:760px){
  .tq514-conversation{align-items:flex-start;flex-direction:column;padding:22px}
  .tq514-conversation-actions{justify-content:flex-start;width:100%}
  .tq514-conversation-actions .btn{flex:1 1 180px}
  .tq514-share-actions .btn{flex:1 1 130px}
}


/* THIQAA 5.16 — restore full content width for homepage news slider */
.tq513-home-update-slider .tq513-news-shell{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}


/* THIQAA 5.17 — match homepage news image height to the main hero */
@media(min-width:981px){
  .tq513-home-update-slider .tq513-news-slide{
    height:500px;
    min-height:500px;
  }
  .tq513-home-update-slider .tq513-news-image{
    height:500px;
    min-height:500px;
  }
  .tq513-home-update-slider .tq513-news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}


/* THIQAA 5.18 — send news updates to clients from Staff Dashboard */
.tq518-news-send{margin-top:34px;padding-top:30px;border-top:1px solid var(--line)}
.tq518-send-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.tq518-send-head h2{margin:5px 0 7px;color:var(--navy);font-size:26px;line-height:1.2}
.tq518-send-head p{max-width:650px;margin:0}
.tq518-eligibility{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}
.tq518-eligibility span{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:#f7fafc;color:#526674;font-size:12px;white-space:nowrap}
.tq518-eligibility b{color:var(--navy);font-size:14px}
.tq518-selected-wrap{padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}
.tq518-client-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;margin:4px 0 9px;padding-right:4px}
.tq518-client-option{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #dce6ec;border-radius:11px;background:#fff;cursor:pointer;font-weight:400}
.tq518-client-option:hover{border-color:#9db0bf}
.tq518-client-option input{width:17px;height:17px;margin:0}
.tq518-client-option strong{display:block;color:var(--navy);font-size:13px;line-height:1.25}
.tq518-client-option small{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}
.tq518-client-option em{font-style:normal;font-size:10px;color:#617280;white-space:nowrap}
.tq518-repeat-row{padding:13px 15px;border-radius:12px;background:#fff8ef;border:1px solid #f6d9b8}
.tq518-repeat-row>label{display:flex;align-items:flex-start;gap:9px;font-weight:800;color:#544638}
.tq518-repeat-row input{width:18px;height:18px;margin-top:3px;flex:0 0 auto}
.tq518-repeat-row .helper{margin-left:27px}
.lang-ar .tq518-repeat-row .helper{margin-left:0;margin-right:27px}
.tq518-send-note{min-height:46px;padding:12px 14px;border-radius:11px;background:#edf4f8;color:#526674;font-size:13px}
.tq518-history{margin-top:28px;padding-top:24px;border-top:1px dashed #cfdbe3}
.tq518-history h3{margin:0 0 12px;color:var(--navy);font-size:18px}
.tq518-history-list{display:flex;flex-direction:column;gap:8px}
.tq518-history-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(240px,1.4fr) auto;gap:14px;align-items:center;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#fff}
.tq518-history-row strong{display:block;color:var(--navy);font-size:13px}.tq518-history-row small{display:block;color:var(--muted);font-size:11px}
.tq518-history-row>div:nth-child(2){display:flex;gap:12px;flex-wrap:wrap;color:#526674;font-size:12px}
.tq518-history-row>a{font-size:12px;font-weight:850;color:var(--orange);white-space:nowrap}
.tq518-staff-update-row{padding:0!important;overflow:hidden;gap:0!important}
.tq518-edit-update{display:flex;justify-content:space-between;gap:14px;align-items:center;flex:1;min-width:0;padding:13px 14px}
.tq518-edit-update>b{font-size:22px;color:var(--orange)}
.tq518-quick-send{align-self:stretch;display:flex;align-items:center;justify-content:center;padding:0 14px;border-left:1px solid var(--line);background:#f8fafc;color:var(--navy);font-size:12px;font-weight:850}
.tq518-quick-send:hover{background:var(--navy);color:#fff}
.lang-ar .tq518-quick-send{border-left:0;border-right:1px solid var(--line)}
@media(max-width:760px){
  .tq518-send-head{flex-direction:column}.tq518-eligibility{justify-content:flex-start}
  .tq518-client-list{grid-template-columns:1fr;max-height:430px}
  .tq518-history-row{grid-template-columns:1fr;gap:7px}.tq518-history-row>a{justify-self:start}
  .tq518-client-option{grid-template-columns:20px minmax(0,1fr)}.tq518-client-option em{grid-column:2;white-space:normal}
}


/* THIQAA 5.20 — SMTP diagnostics and per-case email status */
.tq520-smtp-panel{margin-bottom:18px}
.tq520-smtp-form{display:block}
.tq520-smtp-enable{display:flex;align-items:center;gap:10px;margin:4px 0 16px}
.tq520-smtp-enable input,.tq520-clear-password input{width:auto}
.tq520-smtp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin-bottom:14px}
.tq520-smtp-grid label{display:flex;flex-direction:column;gap:7px}
.tq520-clear-password{justify-content:flex-end;flex-direction:row!important;align-items:center;gap:8px!important}
.tq520-transport-badge{display:inline-flex;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900}
.tq520-transport-badge.ok{background:#eaf7ee;color:#25713a}
.tq520-transport-badge.warn{background:#fff4dc;color:#7a5a0b}
.tq520-case-mail-status{margin-top:5px!important;font-weight:700}
.tq520-case-mail-status.ok,.tq520-inline-mail.ok{color:#25713a}
.tq520-case-mail-status.warn,.tq520-inline-mail.warn{color:#8a650d}
.tq520-case-mail-status.bad,.tq520-inline-mail.bad{color:#9b2e26}
.tq520-resend-appt-form{margin:0 0 8px}
.tq520-resend-appt-form .tq419-case-actions-btn{width:100%;cursor:pointer}
.tq520-pack-mail-summary{padding:12px 14px;border-radius:10px;margin:12px 0 18px;font-size:13px}
.tq520-pack-mail-summary.ok{background:#eaf7ee;color:#25713a}
.tq520-pack-mail-summary.warn{background:#fff8e7;color:#6c5515}
.tq520-pack-mail-summary.bad{background:#fff0ef;color:#9b2e26}
.tq520-pack-mail-summary a{text-decoration:underline;font-weight:800}
.tq520-email-table{min-width:980px!important}
@media(max-width:760px){.tq520-smtp-grid{grid-template-columns:1fr}.tq520-clear-password{justify-content:flex-start}}

.tq407-notice.warning{background:#fff8e7;border:1px solid #f2d78a;color:#6c5515}


/* THIQAA 5.21 — explicit THIQAA Updates consent on signed consent form */
.tq521-updates-consent{margin:26px 0;padding:22px;border:1px solid #dce6ed;border-radius:16px;background:#f7fafc}
.tq521-updates-head h3{margin:6px 0 6px;color:var(--navy);font-size:20px}.tq521-updates-head p{margin:0 0 18px;color:#607180;font-size:14px}
.tq521-updates-consent fieldset{border:1px solid #dce6ed;border-radius:12px;padding:14px 16px;margin:12px 0;background:#fff}.tq521-updates-consent legend{font-weight:850;color:var(--navy);padding:0 6px}.tq521-updates-consent fieldset label{display:flex;gap:10px;align-items:flex-start;padding:7px 0;font-weight:600}.tq521-updates-consent input[type=radio]{width:auto;margin-top:5px;flex:0 0 auto}.tq521-updates-note{margin:12px 0 0!important;font-size:13px;color:#687b8a}.tq521-approve-appt-form{margin-bottom:8px}.tq521-approve-appointment{background:#f58220!important;border-color:#f58220!important}

/* THIQAA 5.22 — callback contact completion + guided five-stage workflow */
.tq522-contact-required,.tq522-actions-help{border:1px solid #f0c38c;background:#fff8ef;border-radius:16px;padding:20px 22px;margin:0 0 20px}.tq522-contact-required h2,.tq522-actions-help h2{margin:0 0 7px;color:var(--navy);font-size:20px}.tq522-contact-required p,.tq522-actions-help p{margin:0;color:#536675}.tq522-contact-required form{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:end;margin-top:16px}.tq522-contact-required label{margin:0}.tq419-action-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:850px){.tq522-contact-required form{grid-template-columns:1fr}.tq419-action-summary{grid-template-columns:1fr}}


/* THIQAA 5.23 — CASES BULK DELETE + SINGLE-ROW WORKFLOW */
.tq523-bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 10px;padding:10px 12px;border:1px solid #d9e3ea;border-radius:11px;background:#fff}
.tq523-bulk-bar label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--navy);cursor:pointer}
.tq523-bulk-bar input[type=checkbox],.tq523-row-select{width:16px;height:16px;margin:0;accent-color:#0b2d48}
.tq523-bulk-delete{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #b42318;border-radius:8px;background:#fff0f0;color:#9d2016;font-size:11px;font-weight:900;cursor:pointer}
.tq523-bulk-delete:hover:not(:disabled){background:#b42318;color:#fff}.tq523-bulk-delete:disabled{opacity:.45;cursor:not-allowed}
.tq523-selected-count{font-size:11px;color:#6a7a87;font-weight:700}
.tq523-select-col{width:38px;min-width:38px;text-align:center}.tq523-select-col input{display:inline-block}
/* Keep all five workflow stages on one desktop row. Table scrolls horizontally before the workflow wraps. */
.tq405-table{min-width:1760px}
.tq405-table th:nth-child(6),.tq405-table td:nth-child(6){min-width:820px}
.tq405-flow{display:flex!important;flex-flow:row nowrap!important;align-items:stretch;gap:8px;min-width:800px;width:100%}
.tq405-flow>.tq405-step{flex:1 1 0;min-width:150px}
@media(max-width:1200px){.tq405-table{min-width:1760px}.tq405-flow{min-width:800px}}


/* THIQAA 5.24 — wider Cases workspace + five compact workflow stages on one row */
/* Use more of wide desktop screens in the Cases view. */
.tq488-requests-view .tq52-staff-section>.container{
  width:calc(100% - 16px);
  max-width:1980px;
}
/* Give Workflow enough room, but make each stage compact and deterministic. */
.tq488-requests-view .tq405-table{min-width:1780px}
.tq488-requests-view .tq405-table th:nth-child(6),
.tq488-requests-view .tq405-table td:nth-child(6){
  width:900px;
  min-width:900px;
}
.tq488-requests-view .tq405-flow{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  align-items:stretch;
}
.tq488-requests-view .tq405-flow>.tq405-step{
  min-width:0!important;
  width:auto!important;
  min-height:72px;
  padding:7px 6px 7px 23px;
  border-radius:9px;
}
.tq488-requests-view .tq405-step i{
  left:7px;
  top:11px;
  width:9px;
  height:9px;
}
.tq488-requests-view .tq405-step b{
  font-size:10.5px;
  line-height:1.2;
  white-space:nowrap;
}
.tq488-requests-view .tq405-step small{
  font-size:9.5px;
  line-height:1.22;
  margin-top:3px;
}
.tq488-requests-view .tq405-step .tq406-step-btn{
  padding:4px 7px;
  font-size:9.5px;
}
@media(max-width:1399px){
  .tq488-requests-view .tq52-staff-section>.container{width:calc(100% - 20px)}
  .tq488-requests-view .tq405-table{min-width:1740px}
  .tq488-requests-view .tq405-table th:nth-child(6),
  .tq488-requests-view .tq405-table td:nth-child(6){width:850px;min-width:850px}
}

/* THIQAA 5.25 — simpler document replacement, contact bulk actions and selected messaging */
.tq525-yes-choice input[type=checkbox]{width:18px!important;height:18px!important;margin-top:3px!important;flex:0 0 auto;accent-color:#0b2d48}
.tq430-doc-status.replacement_uploaded{background:#e9f3ff;color:#175b98}
.tq525-replacement-form{grid-template-columns:minmax(220px,1fr) auto!important;min-width:min(460px,100%)}
.tq525-replacement-form input[type=text]{min-width:220px}
.tq525-need-replacement{background:#fff4e8!important;border:1px solid #f2a55f!important;color:#8a4700!important;white-space:nowrap}
.tq525-need-replacement:hover{background:#f58220!important;color:#fff!important}
.tq525-contact-bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 10px;padding:10px 12px;border:1px solid #d9e3ea;border-radius:11px;background:#fff}
.tq525-contact-bulk-bar label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--navy);cursor:pointer}
.tq525-contact-bulk-bar input[type=checkbox],.tq525-contact-row-select,.tq525-contact-select-col input{width:16px;height:16px;margin:0;accent-color:#0b2d48}
.tq525-contact-select-col{width:38px;text-align:center!important}
.tq525-contact-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.tq525-contact-actions form{margin:0}
.tq525-contact-delete-one{border:1px solid #d5483d;background:#fff;color:#a1261d;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:900;cursor:pointer}
.tq525-contact-delete-one:hover{background:#b42318;color:#fff}
.tq525-recipient-picker{border:1px solid #dce6ed;border-radius:14px;padding:16px;background:#f8fafc}
.tq525-recipient-picker-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:4px}
.tq525-recipient-picker-head>label{display:inline-flex;align-items:center;gap:7px;font-size:12px}
.tq525-recipient-picker-head input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#0b2d48}
.tq525-recipient-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:320px;overflow:auto;padding:4px 2px}
.tq525-recipient-option{display:flex;gap:10px;align-items:flex-start;border:1px solid #dfe7ed;background:#fff;border-radius:10px;padding:10px 11px;cursor:pointer}
.tq525-recipient-option[hidden]{display:none!important}
.tq525-recipient-option input{width:16px;height:16px;margin-top:3px;flex:0 0 auto;accent-color:#0b2d48}
.tq525-recipient-option span{min-width:0}.tq525-recipient-option strong,.tq525-recipient-option small{display:block}.tq525-recipient-option strong{color:var(--navy);font-size:13px}.tq525-recipient-option small{font-size:11px;color:#6d7d89;overflow-wrap:anywhere}
@media(max-width:760px){.tq525-recipient-list{grid-template-columns:1fr}.tq525-replacement-form{grid-template-columns:1fr!important;min-width:0}.tq525-replacement-form input[type=text]{min-width:0}}


/* THIQAA 5.26 — instalment-friendly payment workflow */
.tq526-instalment-note{margin:14px 0 18px;padding:12px 14px;border:1px solid #f0c98d;border-radius:12px;background:#fff8ec;color:#5c3a12;font-size:14px;line-height:1.55}
.tq526-instalment-note strong{font-weight:800}


/* THIQAA 5.28 — compact document review actions + agreed instalment schedule */

.tq528-payment-bank-col{width:125px;min-width:110px;max-width:145px}
.tq528-payment-bank-cell{width:125px;min-width:110px;max-width:145px;line-height:1.25}
.tq528-payment-bank-cell strong{display:block;color:var(--navy);font-size:12px;white-space:normal}
.tq528-payment-bank-cell small{display:block;margin-top:2px;color:#71818e;font-size:10px;line-height:1.2;white-space:normal}

.tq528-doc-actions{display:flex;gap:6px;align-items:center;flex-wrap:nowrap;min-width:0}
.tq528-doc-actions .tq525-replacement-form{grid-template-columns:minmax(155px,205px) auto!important;min-width:0;width:auto;gap:6px}
.tq528-doc-actions .tq525-replacement-form input[type=text]{width:205px;min-width:155px;max-width:205px}
.tq528-doc-actions .tq60-mini{white-space:nowrap;padding:9px 12px}
.tq474-payment-form label small{display:block;margin-top:5px;color:#71818e;font-size:11px;line-height:1.35}
@media(max-width:1180px){.tq528-doc-actions .tq525-replacement-form{grid-template-columns:minmax(140px,175px) auto!important}.tq528-doc-actions .tq525-replacement-form input[type=text]{width:175px;min-width:140px;max-width:175px}.tq528-doc-actions .tq60-mini{padding:8px 10px;font-size:12px}}
@media(max-width:980px){.tq528-doc-actions{width:100%;flex-wrap:wrap}.tq528-doc-actions .tq525-replacement-form{grid-template-columns:minmax(180px,1fr) auto!important;flex:1 1 420px}.tq528-doc-actions .tq525-replacement-form input[type=text]{width:100%;max-width:none;min-width:0}}
@media(max-width:620px){.tq528-doc-actions .tq525-replacement-form{grid-template-columns:1fr!important;flex-basis:100%}.tq528-doc-actions .tq525-replacement-form .tq525-need-replacement{width:100%}}


/* THIQAA 5.29 — clearer Case Actions order, client messages, bilingual payment contact */
.tq529-case-nav{align-items:center}
.tq529-client-message-card{margin:0 0 18px;padding:20px 22px;border:1px solid #f0d4b4;border-left:5px solid var(--orange);border-radius:15px;background:#fffaf4;box-shadow:0 5px 18px rgba(5,25,45,.04)}
.tq529-client-message-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.tq529-client-message-head h2{margin:0 0 5px;color:var(--navy);font-size:20px}.tq529-client-message-head p{margin:0;color:#657988;line-height:1.5}.tq529-client-message-head>span{background:#fff0df;color:#944b00;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;white-space:nowrap}
.tq529-client-message-text{margin-top:14px;padding:14px 16px;background:#fff;border:1px solid #eadfD2;border-radius:11px;color:#20384c;font-size:15px;line-height:1.65;white-space:normal}
.tq529-client-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.tq529-client-context-grid>div{padding:9px 11px;border:1px solid #eee4d8;border-radius:9px;background:#fff}.tq529-client-context-grid small,.tq529-client-context-grid strong{display:block}.tq529-client-context-grid small{font-size:10px;color:#7a8791}.tq529-client-context-grid strong{margin-top:2px;color:var(--navy);font-size:12px}
.tq529-dashboard-client-note{margin-top:6px;max-width:220px}.tq529-dashboard-client-note summary{cursor:pointer;color:#99520b;font-size:10.5px;font-weight:900}.tq529-dashboard-client-note p{margin:6px 0 0;padding:7px 8px;border-radius:8px;background:#fff8ee;color:#536675;font-size:10.5px;line-height:1.4;max-height:110px;overflow:auto}
.tq529-full-file-btn{background:#fff!important;color:var(--navy)!important;border:1px solid #9fb2c0!important;margin-top:6px}.tq529-full-file-btn:hover{background:#eef4f8!important}
.tq419-actions-grid>.tq474-payment-card{grid-column:1/-1;margin:0}.tq529-payment-locked{grid-column:1/-1}
.tq529-payment-instructions{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end}.tq529-payment-language{grid-column:2}.tq529-payment-language label{display:flex;flex-direction:column;gap:5px;color:var(--navy);font-size:11px;font-weight:800}.tq529-payment-language select{min-width:150px;padding:9px 10px;border:1px solid #cdd9e1;border-radius:9px;background:#fff}.tq529-payment-instructions .tq474-instruction-actions{grid-column:1/-1;margin-top:12px}.tq529-payment-email-form{margin:0}.tq529-outcome-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}
@media(max-width:850px){.tq529-client-context-grid{grid-template-columns:1fr}.tq529-payment-instructions{grid-template-columns:1fr}.tq529-payment-language,.tq529-payment-instructions .tq474-instruction-actions{grid-column:1}}


/* THIQAA 5.30 — unsuccessful outcome follow-up link controls */
.tq530-followup-fields{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.65fr);gap:12px 16px;padding:16px;margin:14px 0;border:1px solid #d9e3ea;border-radius:12px;background:#f8fafb}
.tq530-followup-fields h4,.tq530-followup-fields .form-note{grid-column:1/-1;margin:0}
.tq530-followup-fields label{display:grid;gap:6px}
.tq530-followup-fields select,.tq530-followup-fields input{width:100%}
.tq530-custom-labels{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
@media(max-width:760px){.tq530-followup-fields,.tq530-custom-labels{grid-template-columns:1fr}}


/* THIQAA 5.31 — simplified staff case UI + clearer email branding */
.tq531-case-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.tq531-case-nav .btn{min-width:0}
.tq531-screen-note{margin:0 0 18px;padding:11px 14px;border:1px solid #dce6ed;border-radius:11px;background:#f8fafb;color:#506779;font-size:13px;line-height:1.5}
.tq531-readonly-payment .tq474-payment-history{margin-top:16px}
.tq531-readonly-payment .tq474-payment-table th:last-child,.tq531-readonly-payment .tq474-payment-table td:last-child{display:table-cell}
.tq531-readonly-checklist{display:grid;gap:8px;margin-top:10px}
.tq531-readonly-checklist>div{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid #e1e8ed;border-radius:9px;background:#fbfcfd}
.tq531-readonly-checklist i{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:900;background:#edf1f4;color:#70808c;flex:0 0 auto}
.tq531-readonly-checklist .done i{background:#e4f6e9;color:#167a3f}
.tq531-dashboard-open{display:inline-flex!important;align-items:center;justify-content:center;margin-top:0!important}
.tq405-flow .tq412-step-actions,.tq405-flow .tq412-actions{display:none!important}

/* THIQAA 5.32 — restore clear workflow actions + month appointment calendar */
.tq405-flow .tq412-step-actions{
  display:flex!important;
  align-items:flex-end;
  gap:5px;
  margin-top:auto;
  padding-top:7px;
}
.tq405-flow .tq412-step-actions .tq406-step-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:5px 8px;
  border:1px solid #9eb4c5;
  border-radius:7px;
  background:#fff;
  color:var(--navy)!important;
  font-size:9.5px;
  font-weight:900;
  line-height:1.1;
  text-decoration:none;
}
.tq405-flow .tq412-step-actions .tq406-step-btn:hover{border-color:var(--navy);background:#f8fbfd}
.tq405-flow .tq412-step-actions .tq406-mini-form{margin:0}
.tq488-requests-view .tq405-flow>.tq405-step{min-height:92px}

.tq532-picker-field{margin-top:6px}
.tq532-calendar-shell{direction:ltr;border:1px solid #d7e2e9;border-radius:18px;background:#fff;padding:18px;box-shadow:0 8px 28px rgba(11,45,72,.07)}
.tq532-calendar-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:12px;margin-bottom:15px}
.tq532-calendar-head strong{text-align:center;color:var(--navy);font-size:20px;text-transform:capitalize}
.tq532-cal-nav{width:42px;height:42px;border:1px solid #cbd8e1;border-radius:10px;background:#fff;color:var(--navy);font-size:26px;font-weight:800;line-height:1;cursor:pointer}
.tq532-cal-nav:hover:not(:disabled){border-color:var(--navy);background:#f7fafc}.tq532-cal-nav:disabled{opacity:.32;cursor:not-allowed}
.tq532-weekdays,.tq532-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.tq532-weekdays{margin-bottom:7px}.tq532-weekdays span{text-align:center;color:#6c7d89;font-size:12px;font-weight:800;padding:4px 0}
.tq532-day{min-height:54px;border-radius:10px;border:1px solid transparent;font-weight:900;font-size:15px}
.tq532-day.blank{background:transparent}
button.tq532-day.available{background:#e7f7ec;border-color:#adddbb;color:#17683b;cursor:pointer}
button.tq532-day.available:hover{background:#d9f2e1;border-color:#75c28d;transform:translateY(-1px)}
button.tq532-day.available.selected{background:#fff0e6;border:2px solid var(--orange);color:#9a4d12}
button.tq532-day.unavailable{background:#eef1f3;border-color:#e0e5e8;color:#9ba6ad;cursor:not-allowed}
.tq532-calendar-legend{display:flex;gap:18px;flex-wrap:wrap;margin:10px 2px 0;color:#637582;font-size:12px;font-weight:700}
.tq532-calendar-legend span{display:inline-flex;align-items:center;gap:7px}.tq532-calendar-legend i{width:14px;height:14px;border-radius:4px;border:1px solid}
.tq532-calendar-legend i.available{background:#e7f7ec;border-color:#adddbb}.tq532-calendar-legend i.unavailable{background:#eef1f3;border-color:#e0e5e8}
.tq532-time-panel{margin-top:15px;padding:15px 16px;border:1px solid #d9e4ea;border-radius:14px;background:#f9fbfc;direction:ltr}
.tq532-time-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tq532-time-head strong{color:var(--navy);font-size:14px}.tq532-time-head small{color:#70808c;font-weight:700}
.tq532-time-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.tq532-time{padding:10px 8px;border-radius:9px;font-weight:900;border:1px solid}
.tq532-time.available{background:#e7f7ec;border-color:#adddbb;color:#17683b;cursor:pointer}.tq532-time.available:hover{background:#d9f2e1}
.tq532-time.unavailable{background:#eef1f3;border-color:#e0e5e8;color:#9ba6ad;cursor:not-allowed;text-decoration:line-through}
.tq532-time.selected{background:var(--orange);border-color:var(--orange);color:#fff}
.tq532-selected-slot{margin-top:12px;padding:10px 12px;border-radius:10px;background:#eef6fb;color:var(--navy);font-size:13px;font-weight:900}
.tq532-slot-error{margin:10px 0 0;color:#a32920;font-size:13px;font-weight:800}
@media(max-width:760px){
  .tq532-calendar-shell{padding:12px}.tq532-weekdays,.tq532-calendar-days{gap:4px}.tq532-weekdays span{font-size:10px}.tq532-day{min-height:43px;font-size:13px}.tq532-time-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tq532-calendar-head strong{font-size:17px}
}


/* THIQAA 5.34 — smart compact appointment reminder + secure rescheduling */
.tq533-window-note{margin-inline-start:auto;color:#405867;font-weight:800}
.tq534-appointment-reminder{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 10px;padding:11px 13px;border:1px solid #d6e2ea;border-left:5px solid #0b4f78;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(11,45,72,.07)}
.tq534-appointment-reminder.soon{border-left-color:#f58220;background:#fffaf4}.tq534-appointment-reminder.urgent{border-left-color:#c62828;background:#fff7f6}
.tq534-reminder-main{display:flex;align-items:center;gap:11px;min-width:0}.tq534-reminder-bell{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#edf5f9;font-size:17px;flex:0 0 auto}.tq534-appointment-reminder.soon .tq534-reminder-bell{background:#fff0de}.tq534-appointment-reminder.urgent .tq534-reminder-bell{background:#ffe6e3;animation:tq534BellPulse 1.4s ease-in-out infinite}
.tq534-reminder-copy{display:grid;gap:1px;min-width:0}.tq534-reminder-copy small{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#657681;font-weight:900}.tq534-reminder-copy strong{font-size:14px;color:#0b2d48}.tq534-reminder-copy span{font-size:12px;color:#445e70;font-weight:700}
.tq534-reminder-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.tq534-reminder-count{font-size:11px;font-weight:900;color:#536c7d;background:#eef3f6;padding:5px 8px;border-radius:999px}.tq534-reminder-open{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:8px;background:#0b3f63;color:#fff;font-size:12px;font-weight:900}.tq534-reminder-open:hover{background:#082f49;color:#fff}
.tq534-more-appointments{margin:0 0 16px;border:1px solid #e0e7ec;border-radius:10px;background:#fff}.tq534-more-appointments summary{cursor:pointer;padding:8px 12px;font-size:12px;font-weight:900;color:#334e61}.tq534-more-list{display:grid;border-top:1px solid #e7edf1}.tq534-more-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid #edf1f4;color:#2c4354}.tq534-more-list a:last-child{border-bottom:0}.tq534-more-list strong{font-size:12px}.tq534-more-list span{font-size:11px;color:#637786}
.tq534-current-appointment{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:14px 16px;border:1px solid #cfe0ea;border-radius:12px;background:#f6fafc}.tq534-current-appointment small{width:100%;font-weight:900;color:#607786}.tq534-current-appointment strong{font-size:17px;color:#0b2d48}.tq534-current-appointment span{font-size:12px;color:#526b7c}
@keyframes tq534BellPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(198,40,40,.08)}50%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(198,40,40,.08)}}
@media(prefers-reduced-motion:reduce){.tq534-appointment-reminder.urgent .tq534-reminder-bell{animation:none}}
@media(max-width:760px){.tq533-window-note{width:100%;margin-inline-start:0}.tq534-appointment-reminder{align-items:flex-start;flex-direction:column}.tq534-reminder-actions{width:100%;justify-content:space-between}.tq534-more-list a{align-items:flex-start;flex-direction:column;gap:2px}}

/* THIQAA 5.35 — separated Case Actions workflow/details + compact step navigation */
.tq535-case-details-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px;padding:16px;border:1px solid #d9e4eb;border-radius:14px;background:#fff}
.tq535-case-details-summary>div{display:grid;gap:3px;padding:10px 12px;border-radius:10px;background:#f6f9fb;min-width:0}.tq535-case-details-summary small{font-size:11px;font-weight:800;color:#6b7f8e}.tq535-case-details-summary strong{font-size:13px;color:#0b2d48;overflow-wrap:anywhere}
.tq535-workflow-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 18px}.tq535-workflow-step{display:grid;gap:5px;min-height:76px;padding:12px 13px;border:1px solid #d7e2e9;border-radius:12px;background:#fff;color:#0b2d48;text-decoration:none;transition:.15s ease}.tq535-workflow-step:hover{border-color:#8eb5cd;transform:translateY(-1px)}.tq535-workflow-step b{font-size:13px}.tq535-workflow-step span{font-size:11px;color:#617786;font-weight:700}.tq535-workflow-step.active{border:2px solid #f58220;background:#fff8f1;box-shadow:0 4px 14px rgba(245,130,32,.12)}.tq535-workflow-step.active b{color:#9f4d06}
.tq535-step-stage>.tq535-active-step,.tq535-step-stage>.tq474-payment-card,.tq535-step-stage>.tq529-payment-locked{margin-top:0}.tq535-step-stage .tq419-action-card{grid-column:1/-1}.tq535-step-stage{display:block}.tq535-step-stage .tq419-action-card,.tq535-step-stage .tq474-payment-card{border-radius:14px}
@media(max-width:980px){.tq535-workflow-strip{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto;padding-bottom:4px}.tq535-case-details-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.tq535-case-details-summary{grid-template-columns:1fr}.tq535-workflow-strip{grid-template-columns:repeat(5,145px)}}

/* =========================================================
 * THIQAA 5.38 — compact booking calendar + staff availability
 * ========================================================= */
.tq532-picker-field{max-width:720px;margin-inline:auto}
.tq532-calendar-shell{max-width:620px;margin-inline:auto;padding:12px 14px;border-radius:14px}
.tq532-calendar-head{margin-bottom:8px}
.tq532-calendar-head strong{font-size:17px}
.tq532-weekdays,.tq532-calendar-days{gap:4px}
.tq532-weekdays span{font-size:10px}
.tq532-day{min-height:38px;font-size:13px;border-radius:8px}
.tq532-time-panel,.tq532-calendar-legend,.tq532-selected-slot,.tq532-slot-error{max-width:620px;margin-inline:auto}
.tq532-time-panel{padding:12px 14px}
.tq532-time-grid{gap:6px}
.tq532-time{padding:8px 6px;font-size:13px}

.tq538-availability-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.tq538-time-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tq538-time-choices label{display:flex;align-items:center;gap:6px;background:#f3f6f8;border:1px solid #dce5eb;border-radius:10px;padding:8px 10px;font-weight:800}
#tq538-times-wrap.disabled{opacity:.5}
.tq538-block-list{display:grid;gap:10px}
.tq538-block-item{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #dce5eb;border-radius:12px;padding:12px 14px;background:#fff}
.tq538-block-item>div{display:grid;gap:3px}
.tq538-block-item span{font-weight:800;color:#0b2d48}
.tq538-block-item small{color:#6e7f8b}
.tq538-block-item.past{opacity:.55}
.tq538-historical-panel{margin-top:24px}
.tq538-historical-head{margin-bottom:14px}
.tq538-no-email-note{display:inline-block;margin-inline-start:12px;color:#6e7f8b;font-weight:700}
@media(max-width:760px){
  .tq532-picker-field{max-width:none}.tq532-calendar-shell,.tq532-time-panel,.tq532-calendar-legend,.tq532-selected-slot,.tq532-slot-error{max-width:none}
  .tq538-availability-grid{grid-template-columns:1fr}
  .tq532-day{min-height:36px}
}
.tq538-historical-badge{display:inline-flex!important;width:max-content;background:#eef2f5;color:#536673;border-radius:999px;padding:3px 8px;font-weight:800}


/* =========================================================
 * THIQAA 5.39 — booking reveal, credibility counter and refinements
 * ========================================================= */
.tq539-open-calendar{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:0 18px;border:1px solid #c9d7e0;border-radius:10px;
  background:#fff;color:var(--navy);font-weight:800;cursor:pointer;
  box-shadow:0 3px 12px rgba(11,45,72,.04)
}
.tq539-open-calendar:hover,.tq539-open-calendar[aria-expanded="true"]{
  border-color:var(--orange);background:#fff8f3;color:var(--navy)
}
.tq539-calendar-picker{margin-top:12px}
.tq539-calendar-picker[hidden]{display:none!important}
.tq532-calendar-shell{max-width:580px!important;padding:11px 13px!important}
.tq532-time-panel,.tq532-calendar-legend,.tq532-selected-slot,.tq532-slot-error{max-width:580px!important}
.tq532-day{min-height:42px!important}
.tq539-proof-strip{padding:18px 0 4px;background:#fff}
.tq539-proof-card{
  max-width:460px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:18px;
  padding:18px 24px;border:1px solid #dde6ec;border-radius:16px;background:#fff;
  box-shadow:0 8px 24px rgba(11,45,72,.05);text-align:left
}
.tq539-proof-card strong{font-size:clamp(32px,4vw,48px);line-height:1;color:var(--navy)}
.tq539-proof-card span{display:block;font-size:17px;font-weight:900;color:var(--navy)}
.tq539-proof-card small{display:block;margin-top:3px;color:var(--muted);font-size:13px;line-height:1.45}
.lang-ar .tq539-proof-card{text-align:right}
.tq539-case-count-setting input{max-width:220px}
@media(max-width:650px){
  .tq539-open-calendar{width:100%}
  .tq532-calendar-shell,.tq532-time-panel,.tq532-calendar-legend,.tq532-selected-slot,.tq532-slot-error{max-width:none!important}
  .tq539-proof-card{max-width:none;margin-inline:0}
}

/* THIQAA 5.49 — editable client/case proof counters */
.tq549-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:900px;margin-inline:auto}
.tq549-proof-card{max-width:none;margin:0;min-height:96px}
@media (max-width:680px){.tq549-proof-grid{grid-template-columns:1fr}.tq549-proof-card{min-height:auto}}

/* v5.50 — make homepage counters easy to find in staff settings. */
.tq550-homepage-numbers{border:2px solid #ff6b22;background:#fff8f2;border-radius:16px;padding:22px;margin:0 0 28px}.tq550-homepage-numbers h3{margin-top:0;color:#0b2d48}.tq550-homepage-text-heading{margin:8px 0 14px}.tq550-homepage-text-heading h3{color:#0b2d48;font-size:22px;margin:0}


/* =========================================================
 * THIQAA 5.51 — premium homepage impact section
 * Visual-only homepage refinement. No workflow/email changes.
 * ========================================================= */
.tq551-impact{
  position:relative;overflow:hidden;
  padding:36px 0 34px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 68%,#ffffff 100%);
  border-bottom:1px solid rgba(223,231,237,.78)
}
.tq551-impact:before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:250px;height:250px;left:-125px;top:24px;border-radius:50%;
  background:radial-gradient(circle at 68% 40%,rgba(255,107,34,.09),rgba(255,107,34,0) 68%)
}
.tq551-impact:after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:270px;height:270px;right:-135px;top:34px;border-radius:50%;
  border:1px solid rgba(255,107,34,.22)
}
.tq551-impact-inner{position:relative;z-index:1}
.tq551-impact-inner:after{
  content:"";position:absolute;right:18px;top:10px;width:110px;height:78px;opacity:.34;pointer-events:none;
  background-image:radial-gradient(circle,rgba(11,45,72,.18) 1.35px,transparent 1.5px);
  background-size:16px 16px
}
.tq551-impact-head{max-width:760px;margin:0 auto 20px;text-align:center;position:relative;z-index:2}
.tq551-impact-eyebrow{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:8px;
  color:var(--orange);font-size:11px;line-height:1;font-weight:900;letter-spacing:.15em
}
.tq551-impact-eyebrow i{display:block;width:48px;height:2px;background:var(--orange);border-radius:999px;opacity:.8}
.tq551-impact-head h2{
  max-width:690px;margin:0 auto 7px;color:var(--navy);
  font-size:clamp(27px,3.1vw,40px);line-height:1.05;letter-spacing:-.03em
}
.tq551-impact-head p{margin:0;color:#667b8c;font-size:clamp(13px,1.15vw,15px)}
.tq551-impact-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;
  max-width:720px;margin:0 auto;position:relative;z-index:2
}
.tq551-impact-card{
  position:relative;display:grid;grid-template-columns:60px 1px minmax(0,1fr);align-items:center;gap:16px;
  min-height:112px;padding:17px 20px;border-radius:16px;background:#fff;
  border:1px solid #dfe8ef;box-shadow:0 16px 34px rgba(11,45,72,.075);overflow:hidden
}
.tq551-impact-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#1d79d6}
.tq551-impact-card:after{
  content:"";position:absolute;right:-34px;bottom:-48px;width:112px;height:112px;border-radius:50%;
  background:rgba(29,121,214,.045);pointer-events:none
}
.tq551-impact-card-cases{background:linear-gradient(135deg,#fff 0%,#fffaf7 100%);border-color:#f0e2da}
.tq551-impact-card-cases:before{background:var(--orange)}
.tq551-impact-card-cases:after{background:rgba(255,107,34,.055)}
.tq551-impact-icon{
  width:60px;height:60px;border-radius:50%;display:grid;place-items:center;
  background:#edf5fd;color:#0c4d86
}
.tq551-impact-icon img{width:32px;height:32px;object-fit:contain}
.tq551-impact-icon-cases{background:#fff0e8;color:var(--orange)}
.tq551-impact-icon-cases svg{width:31px;height:31px}
.tq551-impact-divider{width:1px;height:54px;background:#d8e2e9}
.tq551-impact-copy{min-width:0;text-align:left}
.tq551-impact-copy strong{
  display:block;color:var(--navy);font-size:clamp(38px,4.1vw,50px);line-height:.94;
  letter-spacing:-.05em;margin-bottom:5px
}
.tq551-impact-copy span{display:block;color:var(--navy);font-size:15px;font-weight:900;line-height:1.2}
.tq551-impact-copy small{display:block;margin-top:3px;color:#697f8f;font-size:11.5px;line-height:1.35}
.lang-ar .tq551-impact-eyebrow{letter-spacing:0}
.lang-ar .tq551-impact-copy{text-align:right}
.lang-ar .tq551-impact-card{grid-template-columns:minmax(0,1fr) 1px 60px}
.lang-ar .tq551-impact-card .tq551-impact-icon{grid-column:3;grid-row:1}
.lang-ar .tq551-impact-card .tq551-impact-divider{grid-column:2;grid-row:1}
.lang-ar .tq551-impact-card .tq551-impact-copy{grid-column:1;grid-row:1}
.lang-ar .tq551-impact-inner:after{right:auto;left:18px}
@media(max-width:760px){
  .tq551-impact{padding:34px 0 32px}
  .tq551-impact-inner:after{display:none}
  .tq551-impact-head{margin-bottom:20px}
  .tq551-impact-head h2 br{display:none}
  .tq551-impact-eyebrow i{width:34px}
  .tq551-impact-grid{grid-template-columns:1fr;gap:16px;max-width:540px}
  .tq551-impact-card{min-height:112px;grid-template-columns:58px 1px minmax(0,1fr);gap:15px;padding:18px 18px}
  .tq551-impact-icon{width:50px;height:50px}
  .tq551-impact-icon img,.tq551-impact-icon-cases svg{width:31px;height:31px}
  .tq551-impact-divider{height:52px}
  .tq551-impact-copy strong{font-size:42px}
  .lang-ar .tq551-impact-card{grid-template-columns:minmax(0,1fr) 1px 50px}
}
@media(max-width:440px){
  .tq551-impact-card{grid-template-columns:50px 1px minmax(0,1fr);gap:12px;padding:16px 14px}
  .tq551-impact-icon{width:50px;height:50px}
  .tq551-impact-divider{height:46px}
  .tq551-impact-copy strong{font-size:38px}
  .tq551-impact-copy span{font-size:15px}
  .lang-ar .tq551-impact-card{grid-template-columns:minmax(0,1fr) 1px 50px}
}

/* v5.55 — compact feedback consent checkbox alignment. */
.tq27-form label.tq27-consent{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:start!important;column-gap:10px!important;width:100%!important;font-weight:500!important}
.tq27-form label.tq27-consent input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;padding:0!important;margin:3px 0 0!important;justify-self:start!important;accent-color:var(--navy)}
.tq27-form label.tq27-consent.is-rtl{direction:rtl!important;text-align:right!important}
.tq27-form label.tq27-consent span{min-width:0!important}

/* THIQAA 5.57 — readable phone layouts and a visible bilingual service CTA. */
@media(max-width:980px){
  .site-header .nav{justify-content:space-between;gap:16px}
  .site-header .brand-lockup{min-width:0;flex:0 1 auto}
  .site-header .nav-actions{margin-inline-start:auto;flex:0 0 auto}
  .site-header .header-cta{display:inline-flex;min-height:44px;padding:11px 15px;font-size:15px;line-height:1.4}
  .site-header .hamb{width:44px;min-height:44px;padding:0;flex:0 0 auto}
  .site-header .menu{top:100%;max-height:calc(100dvh - 160px);overflow-y:auto}
  .hero.hero-final.tq437-london-hero .hero-final-grid{grid-template-columns:minmax(0,1fr);min-height:0}
  .hero.hero-final.tq437-london-hero .hero-copy{min-width:0;padding:36px 24px}
  .hero.hero-final.tq437-london-hero .hero-photo{min-height:0;aspect-ratio:16/9}
  .hero.hero-final.tq437-london-hero .hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .hero.hero-final.tq437-london-hero .hero-photo:before{background:none!important}
  .home-service-card p{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;font-size:16px!important;line-height:1.7!important}
  .tq513-news-content p{font-size:16px;line-height:1.7}
  .tq52-staff-section>.container{min-width:0;max-width:100%}
  .tq52-filters>div{min-width:0}
  .tq52-filters label{font-size:15px}
  .tq52-filters input,.tq52-filters select{font-size:16px;min-height:44px}
  .tq52-table-wrap{max-width:100%;overscroll-behavior-inline:contain}
  .tq52-staff-main .tq52-table td{font-size:16px}
  .tq52-staff-main .tq52-table th,.tq52-staff-main .tq52-table td small{font-size:14px}
  .tq488-requests-view .tq405-step b{font-size:14px;white-space:normal}
  .tq488-requests-view .tq405-step small{font-size:14px;line-height:1.5}
  .tq488-requests-view .tq405-step .tq406-step-btn{font-size:14px;min-height:44px;padding:8px 10px}
  .tq405-priority{font-size:16px;min-height:44px}
  .tq405-text-btn,.tq529-dashboard-client-note summary,.tq529-dashboard-client-note p{font-size:14px}
  .tq52-contact-actions a{width:44px;height:44px}
}
@media(max-width:640px){
  .site-header .nav{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px 14px;padding-block:12px;min-height:0}
  .site-header .brand-lockup{grid-column:1;grid-row:1}
  .site-header .brand{min-width:0!important;max-width:100%}
  .site-header .brand img{width:min(220px,100%)!important;max-height:60px!important}
  .site-header .nav-actions{display:contents}
  .site-header .hamb{grid-column:2;grid-row:1}
  .site-header .header-cta{grid-column:1/-1;grid-row:2;width:100%;min-height:44px;font-size:16px}
  .topbar-inner{gap:12px;align-items:center;padding-block:8px}
  .topbar .top-contact{min-width:0;gap:10px}
  .topbar .top-contact>span,.topbar .top-facebook-link{display:none}
  .topbar .top-social-link{font-size:14px}
  .topbar .top-phone-link span,.topbar .top-email-link span{display:inline-flex}
  .top-meta{flex:0 0 auto}
  .topbar .lang-switch{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
  .hero.hero-final.tq437-london-hero .hero-copy{padding:30px 20px}
  .lang-ar .hero.hero-final.tq437-london-hero .hero-copy{padding:30px 20px!important}
  .hero.hero-final.tq437-london-hero h1{font-size:clamp(32px,8.5vw,42px);line-height:1.15;letter-spacing:-.03em}
  .lang-ar .hero.hero-final.tq437-london-hero h1{font-size:clamp(30px,8vw,38px);line-height:1.45;letter-spacing:0}
  .hero.hero-final.tq437-london-hero .hero-direct-line{font-size:18px;line-height:1.65}
  .hero-final .hero-actions{gap:12px;margin:20px 0 0}
  .hero-final .hero-actions .btn{min-width:0;min-height:48px;font-size:16px}
  .hero.hero-final.tq437-london-hero .hero-photo{aspect-ratio:16/10}
  .home-services-five,.category-grid,.grid-3,.tq457-values-grid{grid-template-columns:minmax(0,1fr)!important}
  .home-service-card .thumb{height:auto!important;aspect-ratio:16/10}
  .home-service-card h3{min-height:0;font-size:22px!important;line-height:1.45!important}
  .home-service-card .tag{white-space:normal;font-size:14px}
  .home-service-card .home-learn-more{font-size:16px;min-height:44px}
  .tq457-value-item small{font-size:15px;line-height:1.6}
  .section-title p,.footer-about p,.footer a{font-size:16px;line-height:1.7}
  .tq513-news-content{padding:22px}
  .tq52-filters{grid-template-columns:minmax(0,1fr)}
  .tq487-section-head p{font-size:16px}
}

/* THIQAA 5.58 — open the outstanding total to see its clients and cases. */
.tq558-outstanding-link{display:block;transition:border-color .2s,box-shadow .2s}
.tq558-outstanding-link:hover{border-color:var(--orange);box-shadow:0 8px 24px rgba(11,45,72,.1)}
.tq52-stat .tq558-view-label{margin:12px 0 0;color:#a94b00;font-size:13px;font-weight:800}
.tq558-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 22px}
.tq558-heading h2{margin:0 0 8px;color:var(--navy);font-size:28px;line-height:1.35}
.tq558-heading p{margin:0;color:var(--muted);font-size:16px;max-width:760px}
.tq558-heading>.btn{flex:0 0 auto;min-height:44px}
.tq558-total{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:20px}
.tq558-total>span{font-size:16px;color:var(--navy);font-weight:800}
.tq558-total strong{font-size:28px;color:var(--navy);max-width:100%;overflow-wrap:anywhere}
.tq558-total small{font-size:14px;color:var(--muted)}
.tq558-table-wrap{max-width:100%;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:14px}
.tq558-table{width:100%;min-width:1000px;border-collapse:collapse;text-align:start}
.tq558-table caption{text-align:start;padding:16px;font-size:16px;font-weight:800;color:var(--navy)}
.tq558-table th,.tq558-table td{text-align:start;padding:16px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:16px}
.tq558-table th{background:#edf3f7;font-size:14px;font-weight:800;color:var(--navy)}
.tq558-table tr:last-child td{border-bottom:0}
.tq558-table td:first-child{min-width:175px}
.tq558-table td:nth-child(2){min-width:200px}
.tq558-table td small{display:block;margin-top:5px;font-size:14px;color:var(--muted)}
.tq558-table td strong{color:var(--navy)}
.tq558-table .tq558-balance{color:#934200;font-weight:900}
.tq558-table td .btn{white-space:nowrap;font-size:15px;min-height:44px;padding:10px 14px}
.tq558-table bdi[dir="ltr"]{white-space:nowrap}
.tq558-empty{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--navy);font-size:16px}
@media(max-width:760px){
  .tq558-heading{flex-direction:column}
  .tq558-heading h2{font-size:24px}
  .tq558-total{align-items:flex-start;flex-direction:column;gap:6px}
  .tq558-total strong{font-size:24px}
  .tq558-table-wrap{border:0;background:transparent;overflow:visible}
  .tq558-table{min-width:0;display:block}
  .tq558-table caption{display:block;padding:0 0 12px}
  .tq558-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .tq558-table tbody{display:block}
  .tq558-table tr{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 14px;margin-bottom:16px}
  .tq558-table td{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;align-items:center;min-width:0!important;padding:12px 0;overflow-wrap:anywhere}
  .tq558-table td:before{content:attr(data-label);font-weight:800;color:var(--navy);font-size:14px}
  .tq558-table td .btn{white-space:normal;text-align:center}
}

/* THIQAA 5.59 — padded forms and shared public FAQ editor. */
.tq423-requirements-page .tq424-form-row{padding:22px 24px!important}
.tq423-requirements-page .tq424-form-grid{direction:ltr}
.tq423-requirements-page .tq424-form-grid label{min-width:0;overflow-wrap:anywhere}
.tq423-requirements-page .tq424-form-grid label:not([dir="rtl"]){direction:ltr;text-align:left}
.tq423-requirements-page .tq424-form-grid label[dir="rtl"]{direction:rtl;text-align:right}
.tq423-requirements-page .tq424-file-line{min-width:0;direction:ltr}
.tq559-faq-heading{margin:0 0 8px;color:var(--navy)}
.tq559-faq-description{margin:0 0 18px;line-height:1.6;overflow-wrap:anywhere}
.tq559-public-faqs{padding:24px}
.tq559-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;direction:ltr}
.tq559-faq-grid .tq71-faq{min-width:0;margin:0;display:grid;gap:10px;align-content:start}
.tq559-faq-grid .tq71-faq[dir="ltr"]{text-align:left}
.tq559-faq-grid .tq71-faq[dir="rtl"]{text-align:right}
.tq559-faq-grid label{display:block;min-width:0;overflow-wrap:anywhere}
.tq559-faq-grid input,.tq559-faq-grid textarea{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:6px}
.tq559-faq-grid textarea{min-height:150px;resize:vertical}
.tq559-faq-grid .tq71-faq[dir="ltr"] input,.tq559-faq-grid .tq71-faq[dir="ltr"] textarea,
.tq423-requirements-page .tq424-form-grid label:not([dir="rtl"]) input,.tq423-requirements-page .tq424-form-grid label:not([dir="rtl"]) textarea{direction:ltr!important;text-align:left!important}
.tq559-faq-grid .tq71-faq[dir="rtl"] input,.tq559-faq-grid .tq71-faq[dir="rtl"] textarea{direction:rtl!important;text-align:right!important}
.tq559-faq-grid input,.tq559-faq-grid textarea{font-weight:400;font-size:16px;line-height:1.6}
.tq559-nationality-other{display:block;margin-top:12px;font-weight:400;line-height:1.6}
.tq559-nationality-other[hidden]{display:none}
.tq559-nationality-other input{margin-top:6px}
@media(max-width:760px){
 .tq423-requirements-page .tq424-form-row{padding:18px 14px!important}
 .tq559-public-faqs{padding:18px 14px}
 .tq559-faq-grid{grid-template-columns:minmax(0,1fr)}
}

/* THIQAA 5.60 — progressive service question builders. */
.tq560-addbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0}
.tq423-req-card>.tq560-addbar{padding:16px 24px}
.tq560-question-count{font-size:14px;color:#526675}
.tq560-faq-editor [data-faq-index][hidden],.tq403-question-row[hidden],.tq423-req-row[hidden]{display:none!important}
.tq560-language-help{display:block;margin-top:7px;color:#526675;font-size:14px;line-height:1.6}
.tq560-addbar button:disabled{opacity:.6;cursor:default}

/* Shared service process — all service pages, both languages. */
.tq560-service-process{margin:36px 0;padding:26px;background:#f4f7fa;border:1px solid #dce5eb;border-radius:20px}
.tq560-process-heading{margin-bottom:22px}
.tq560-process-heading>span{display:block;color:#9c4305;font-size:12px;font-weight:800;letter-spacing:.09em;margin-bottom:8px}
.prose .tq560-process-heading h2{margin:0;line-height:1.25;font-size:clamp(24px,2.3vw,32px)}
.prose .tq560-process-steps{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0}
.prose .tq560-process-steps>li{min-width:0;margin:0;padding:22px;background:#fff;border:1px solid #dce5eb;border-radius:14px;position:relative;overflow-wrap:anywhere}
.tq560-step-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.tq560-step-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#0b2d48;color:#fff;font-size:18px;font-weight:800;flex-shrink:0;border-bottom:3px solid #f57c18}
.tq560-step-top svg{width:30px;height:30px;color:#a64b09;flex-shrink:0}
.prose .tq560-process-steps h3{margin:0 0 10px;color:#0b2d48;font-size:18px;line-height:1.4}
.prose .tq560-process-steps p{margin:0;color:#526675;font-size:16px;line-height:1.7}
@media(max-width:760px){
 .tq560-service-process{padding:18px 14px;border-radius:16px}
 .prose .tq560-process-steps{grid-template-columns:minmax(0,1fr);gap:12px}
 .prose .tq560-process-steps>li{padding:18px}
 .tq560-step-top{margin-bottom:14px}
}

/* THIQAA 5.61 — How It Works: a readable, bilingual application journey. */
.tq561-how{--tq561-accent:#ae430c;overflow-wrap:anywhere}
.tq561-how :is(h1,h2,h3){letter-spacing:-.025em;line-height:1.25}
.tq561-how .tq561-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--tq561-accent);line-height:1.6}
.tq561-how .tq561-hero{padding:70px 0;background:radial-gradient(ellipse at 85% 10%,#e7f1f6,transparent 55%),#f6f9fb;border-bottom:1px solid #dce6ec}
.tq561-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:76px;align-items:center}
.tq561-hero-copy h1{font-size:clamp(36px,4.4vw,60px);color:#0b2d48;margin:15px 0 20px;max-width:650px}
.tq561-hero-copy>p{font-size:18px;line-height:1.8;color:#425867;margin:0;max-width:600px}
.tq561-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:28px}
.tq561-how .btn{min-height:48px}
.tq561-text-link{display:inline-flex;align-items:center;gap:12px;min-height:48px;color:#0b2d48;font-weight:750}
.tq561-text-link span{font-size:22px;color:#b94b14}
.tq561-hero-note{display:flex;align-items:flex-start;gap:9px;margin-top:24px;font-size:14px;color:#425867}
.tq561-hero-note>span{font-weight:900;color:#0b6956}
.tq561-journey-preview{position:relative;isolation:isolate;padding:30px;border-radius:26px;background:linear-gradient(150deg,#153f5f,#071f33);color:white;box-shadow:0 22px 50px #0b2d4826;border:1px solid #35566e}
.tq561-journey-preview::before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 95% 0,#ffffff16,transparent 50%);z-index:-1}
.tq561-preview-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid #ffffff26}
.tq561-how .tq561-journey-preview .tq561-kicker,.tq561-how .tq561-ready .tq561-kicker{color:#ffb889}
.tq561-eight{font-size:46px;line-height:1;font-weight:850;letter-spacing:-.05em;text-align:end;flex-shrink:0}
.tq561-eight>span{display:block;font-size:12px;line-height:1.7;font-weight:500;letter-spacing:0;color:#d3e2ec;margin-top:5px}
.tq561-preview-stages{list-style:none;margin:18px 0 24px;padding:0}
.tq561-preview-stages>li{position:relative}
.tq561-preview-stages>li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:21px;top:55px;bottom:-7px;width:2px;background:#688297}
.tq561-preview-stages a{display:flex;align-items:center;gap:17px;padding:14px 0;border-radius:9px;transition:background .2s}
.tq561-preview-stages a:hover{background:#ffffff0c}
.tq561-preview-dot{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;color:#fff;background:#aa410b;border:1px solid #f99864;font-size:17px;font-weight:800}
.tq561-preview-stages strong{display:block;font-size:19px;line-height:1.5}
.tq561-preview-stages a div>span{display:block;color:#c3d6e2;font-size:13px;margin-top:3px}
.tq561-stage-arrow{margin-inline-start:auto;color:#ffb889;font-size:22px}
[dir="rtl"] .tq561-stage-arrow{transform:scaleX(-1)}
.tq561-preview-foot{display:flex;align-items:center;gap:12px;font-size:13px;color:#dce7ee;background:#ffffff0a;padding:13px;border-radius:10px;border:1px solid #ffffff1a}
.tq561-preview-foot svg{flex-shrink:0;width:24px;height:24px;color:#ffb889}
.tq561-journey-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:65px;align-items:start}
.tq561-journey-rail{position:sticky;top:125px}
.tq561-how .tq561-journey-rail h2{font-size:32px;color:#0b2d48;margin:15px 0}
.tq561-journey-rail>p{color:#617280;font-size:16px;margin:0 0 24px}
.tq561-phase-nav{display:grid;gap:8px}
.tq561-phase-nav a{display:flex;gap:12px;align-items:center;padding:13px 12px;border-radius:10px;color:#425867;font-size:14px;font-weight:750;min-height:48px;border:1px solid #e2e9ee;background:#f8fafc;transition:background .2s,color .2s}
.tq561-phase-nav a>span{font-size:12px;color:#ad430c}
.tq561-phase-nav a[aria-current="location"],.tq561-phase-nav a:hover{background:#0b2d48;color:#fff;border-color:#0b2d48}
.tq561-phase-nav a[aria-current="location"]>span,.tq561-phase-nav a:hover>span{color:#ffb889}
.tq561-track-link{display:block;color:#88400f;font-weight:700;font-size:14px;padding:20px 0}
.tq561-phase{scroll-margin-top:125px;margin-bottom:46px}
.tq561-phase:last-child{margin-bottom:0}
.tq561-phase-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:22px}
.tq561-phase-index{color:#ad430c;font-size:28px;line-height:1.3;font-weight:850;flex-shrink:0}
.tq561-phase-index small{display:block;color:#738796;font-size:11px;font-weight:600;letter-spacing:.06em;margin-top:7px}
.tq561-phase-heading h2{font-size:26px;color:#0b2d48;margin:0 0 8px}
.tq561-phase-heading p{color:#617280;font-size:15px;margin:0}
.tq561-step-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0}
.tq561-step{min-width:0;padding:24px;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:0 4px 14px #0b2d4805;transition:transform .2s,box-shadow .2s,border-color .2s}
@media(hover:hover){.tq561-step:hover{transform:translateY(-3px);box-shadow:0 12px 26px #0b2d4810;border-color:#bbcdd9}}
.tq561-step-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}
.tq561-step-number{font-size:13px;font-weight:850;color:#a54311;background:#fff0e6;border-radius:8px;padding:6px 11px;line-height:1.6}
.tq561-step-top svg{width:27px;height:27px;color:#355971;flex-shrink:0}
.tq561-step h3{font-size:18px;margin:0 0 10px;color:#0b2d48}
.tq561-step p{font-size:16px;line-height:1.8;color:#526675;margin:0}
.tq561-step.tq561-approval-step{background:#fffaf5;border-color:#efc5aa}
.tq561-approval-badge{display:inline-block;margin-top:18px;font-size:12px;color:#8f390b;font-weight:750;border-top:1px solid #f0d5c2;padding-top:12px}
.tq561-questions{background:#f5f8fa;border-block:1px solid #e2e9ee}
.tq561-question-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:65px;align-items:start}
.tq561-how .tq561-questions h2{font-size:32px;color:#0b2d48;margin:15px 0}
.tq561-question-layout>div>p{font-size:16px;color:#617280;margin:0}
.tq561-answer-list{display:grid;gap:12px}
.tq561-answer-list details{background:#fff;border:1px solid #dce6ec;border-radius:12px;padding:0 22px}
.tq561-answer-list summary{list-style:none;display:flex;gap:20px;align-items:center;justify-content:space-between;cursor:pointer;font-weight:750;font-size:16px;line-height:1.6;color:#0b2d48;padding:20px 0}
.tq561-answer-list summary::-webkit-details-marker{display:none}
.tq561-answer-list summary>span{font-size:24px;font-weight:400;color:#a54311;flex-shrink:0}
.tq561-answer-list details[open] summary>span{transform:rotate(45deg)}
.tq561-answer-list details p{font-size:16px;line-height:1.8;color:#526675;margin:0;padding:0 0 22px}
.tq561-ready{padding:50px 0 65px}
.tq561-ready-panel{border-radius:24px;padding:40px;background:#0b2d48;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:40px}
.tq561-ready-panel h2{font-size:32px;margin:12px 0}
.tq561-ready-panel p{font-size:16px;color:#cedde7;margin:0;max-width:530px}
.tq561-ready-panel .tq561-actions{margin:0;gap:12px;flex-shrink:0;justify-content:flex-end}
.tq561-how :is(a,summary):focus-visible{outline:3px solid #c4541b;outline-offset:4px}
.tq561-how #journey{scroll-margin-top:105px}
@media(max-width:1100px){.tq561-hero-grid{gap:35px}.tq561-journey-layout{grid-template-columns:210px minmax(0,1fr);gap:35px}.tq561-ready-panel{align-items:flex-start;flex-direction:column}.tq561-step{padding:20px}}
@media(max-width:800px){.tq561-how .tq561-hero{padding:40px 0}.tq561-hero-grid,.tq561-journey-layout,.tq561-question-layout{grid-template-columns:minmax(0,1fr);gap:34px}.tq561-hero-copy>p{font-size:17px}.tq561-journey-preview{max-width:580px;width:100%;padding:24px}.tq561-journey-rail{position:static}.tq561-phase-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tq561-phase-nav a{flex-direction:column;align-items:flex-start;justify-content:center;font-size:13px;gap:4px}.tq561-journey-rail>p{margin-bottom:18px}.tq561-track-link{padding-bottom:0}.tq561-phase{scroll-margin-top:105px}}
@media(max-width:540px){.tq561-step-grid{grid-template-columns:minmax(0,1fr)}.tq561-phase-heading h2{font-size:23px}.tq561-phase-heading{gap:13px}.tq561-ready-panel{padding:26px 22px;gap:24px;border-radius:18px}.tq561-ready-panel .tq561-actions{width:100%;flex-direction:column;align-items:stretch}.tq561-ready-panel .btn{width:100%}.tq561-preview-head .tq561-kicker{font-size:11px}.tq561-eight{font-size:40px}.tq561-preview-stages strong{font-size:18px}.tq561-journey-preview{border-radius:20px;padding:24px 20px}.tq561-how .tq561-journey-rail h2,.tq561-how .tq561-questions h2,.tq561-ready-panel h2{font-size:28px}.tq561-answer-list details{padding:0 18px}}
@media(prefers-reduced-motion:reduce){html:has(.tq561-how){scroll-behavior:auto}.tq561-how *{transition:none!important}.tq561-step:hover{transform:none}}

.tq561-feedback-examples{margin-top:26px;padding:24px;border:1px dashed #d4b496;border-radius:16px;background:#fffaf5}
.tq561-feedback-examples>h3{margin:0 0 8px;color:#713811;font-size:20px}
.tq561-feedback-examples>p{font-size:15px;line-height:1.7;color:#6e5644;margin:0 0 20px}
.tq561-example-label{display:block;color:#8a3a0d;background:#fff0e3;font-size:11px;line-height:1.6;font-weight:800;padding:7px 10px;border-radius:8px;margin-bottom:15px}
.tq561-manual-feedback{scroll-margin-top:110px}
.tq561-manual-feedback .form-grid{padding:20px;border:1px solid #e0e7ec;border-radius:14px;background:#fff}
.tq561-manual-feedback .field>small{display:block;margin-top:7px;color:#526675;font-size:13px;line-height:1.7}
.tq561-manual-feedback .tq27-consent{align-items:flex-start;gap:10px;font-size:14px}
.tq561-manual-feedback .tq27-consent>input{width:20px;flex-shrink:0;margin-top:3px}
@media(max-width:540px){.tq561-feedback-examples{padding:16px}.tq561-manual-feedback .form-grid{padding:16px}.tq561-feedback-examples .tq27-reviews{grid-template-columns:minmax(0,1fr)}}

/* Manual feedback dates, including entries made before 5.62. */
.tq562-feedback-date-form{margin:18px 0;padding-top:18px;border-top:1px solid #dfe7ed}
.tq562-feedback-date-form>label{display:block;color:#425867;font-size:14px;font-weight:700;margin-bottom:8px}
.tq562-feedback-date-form>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tq562-feedback-date-form input[type="date"]{min-height:46px;padding:10px 12px;border:1px solid #bccbd6;border-radius:9px;background:#fff;color:#0b2d48;max-width:100%;min-width:0;flex:1 1 150px}
.tq562-feedback-date-form .btn{min-height:46px;flex:0 0 auto}
.tq561-manual-feedback input[type="date"]{max-width:100%;min-width:0;min-height:46px}

/* v5.64 bilingual checklist guidance */
.tq564-checklist-note{margin:20px 0;padding:20px;border:1px solid #dae2eb;border-inline-start:4px solid #f47b20;border-radius:12px;background:#f5f8fc;color:#24364b;line-height:1.8;overflow-wrap:anywhere}
.tq564-checklist-note p{margin:0 0 10px}.tq564-checklist-note p:last-child{margin-bottom:0}.tq564-checklist-note summary{cursor:pointer;font-weight:700}

/* v5.65 long service descriptions remain separate from card summaries */
.tq565-service-description{overflow-wrap:anywhere}.tq565-service-description h2{font-size:clamp(24px,3vw,30px);line-height:1.35;margin:30px 0 12px}.tq565-service-description h2:first-child{margin-top:16px}.tq565-service-description p{line-height:1.85;margin:0 0 16px}.tq565-service-description li{margin:0 0 8px}.tq565-service-description a{color:#ad3e00;text-decoration:underline;text-underline-offset:3px}.tq565-photo-credit{font-size:11px!important;line-height:1.5;color:#667886!important;margin:8px 0 0!important}.tq565-photo-credit a{text-decoration:underline}.tq565-description-editor{padding:18px;border:1px solid #d8e1e8;border-radius:12px}.tq565-description-editor summary{cursor:pointer}.tq565-editor-language{margin:22px 0}.tq565-editor-language .wp-editor-wrap{width:100%;min-width:0}.rtl .tq565-service-description ul{padding-inline-start:22px}

/* v5.68 restores compact question rows with adjacent controls. */
.tq567-question-editor{min-width:0;container-type:inline-size}
.tq568-grid-head,.tq567-question-row{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,1fr) 125px 90px 170px;gap:10px;direction:ltr;align-items:center}
.tq568-grid-head{padding:12px 14px 8px;font-size:13px;font-weight:750;color:var(--navy);background:#f4f7f9;border-bottom:1px solid #dfe7ed}
.tq568-grid-head span[dir="rtl"]{text-align:right}.tq568-grid-head span:nth-child(n+4){text-align:center}
.tq567-question-row{padding:12px 14px;border-bottom:1px solid #dfe7ed;background:#fff;min-width:0}
.tq567-question-row:nth-child(even){background:#fafcfd}
.tq568-field{display:block;min-width:0;margin:0!important}.tq568-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tq567-question-editor input:not([type="checkbox"]),.tq567-question-editor select{width:100%;min-width:0;min-height:42px;margin:0;padding:9px 10px;border:1px solid #cbd7df;border-radius:7px;background:#fff;color:var(--navy);font-size:14px;box-sizing:border-box}
.tq567-question-editor .tq568-field[dir="ltr"] input{direction:ltr!important;text-align:left!important}.tq567-question-editor .tq568-field[dir="rtl"] input{direction:rtl!important;text-align:right!important}
.tq567-question-editor input[type="checkbox"]{width:17px!important;height:17px;flex:none;margin:0}
.tq567-question-editor .tq567-pick{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--navy);font-size:14px}.tq567-question-editor .tq567-required{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;font-size:13px;color:var(--navy)}
.tq568-row-options{min-width:0}.tq567-row-actions{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}
.tq567-row-actions .tq60-mini{min-height:32px;min-width:32px;padding:4px 9px;margin:0;line-height:1.4;font-size:13px;border-radius:6px}
.tq567-delete{color:#a32727!important}.tq567-row-actions button:disabled{opacity:.4;cursor:default}
.tq568-condition-options{margin-top:5px;min-width:0}.tq568-condition-options>summary{cursor:pointer;font-size:12px;font-weight:700;text-align:center;color:#496174;padding:5px 8px;border:1px solid #d8e2ea;border-radius:6px;background:#f5f8fa;list-style:none;line-height:1.5;display:flex;align-items:center;justify-content:center;gap:6px}
.tq568-condition-options>summary:before{content:"▸"}.tq568-condition-options[open]>summary:before{content:"▾"}.tq567-question-editor .tq568-condition-label{color:inherit}
.tq568-condition-options.tq568-has-condition>summary{color:#974113;border-color:#e9cbb8;background:#fff6ee}
.tq567-condition{display:grid;gap:9px;margin-top:8px;padding:10px;border:1px solid #d8e2ea;border-radius:7px;background:#fff;min-width:0}
.tq567-condition label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;font-weight:650;color:var(--navy)}.tq567-condition small{font-size:11px;line-height:1.6;color:#617280}
.tq567-bulk{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;background:#f4f7f9}.tq567-bulk .tq567-pick{flex-direction:row}.tq567-bulk .btn{padding:7px 12px;min-height:36px;font-size:13px}.tq567-editor-status{font-size:13px;color:#9c3f11;flex:1 1 220px}
.tq567-invalid-condition{border-inline-start:3px solid #cc6c34}.tq567-client-question[hidden],.tq567-required-star[hidden]{display:none!important}
.tq567-question-editor :is(button,summary,input,select):focus-visible{outline:2px solid #bc5017;outline-offset:2px}
.tq567-document-checklist{padding:22px;background:#fff;border:1px solid #dce5eb;border-radius:14px;margin:18px 0}.tq567-document-checklist li{padding:5px 0;overflow-wrap:anywhere}.tq567-document-checklist ol{padding-inline-start:24px}.tq567-document-checklist p:last-child{font-size:14px;color:#64798a;margin-bottom:0}.tq567-pdf-button{margin:0 0 16px}
@media(max-width:1100px){.tq568-grid-head{display:none}.tq567-question-row{grid-template-columns:34px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px}.tq568-field>span{position:static;display:block;width:auto;height:auto;clip-path:none;font-size:12px;font-weight:700;margin-bottom:5px;color:var(--navy)}.tq567-question-row>.tq567-pick{grid-row:1/3;padding-top:6px}.tq568-type{grid-column:2}.tq567-question-row>.tq567-required{grid-column:3;justify-content:start;padding-top:27px}.tq568-row-options{grid-column:2/4;display:flex;align-items:start;gap:12px}.tq568-condition-options{flex:1;margin:0}.tq567-row-actions{flex:none}}
@media(max-width:600px){.tq567-question-row{grid-template-columns:26px minmax(0,1fr);padding:14px 10px}.tq567-question-row>.tq567-pick{grid-row:1/5}.tq568-field,.tq568-type,.tq567-question-row>.tq567-required,.tq568-row-options{grid-column:2}.tq567-question-row>.tq567-required{padding-top:0}.tq568-row-options{flex-wrap:wrap;gap:8px}.tq567-row-actions .tq60-mini{min-height:40px;min-width:40px}.tq568-condition-options>summary{min-height:40px;display:flex;align-items:center;justify-content:center;gap:6px}.tq568-condition-options>summary:before{content:"▸"}.tq568-condition-options[open]>summary:before{content:"▾"}.tq567-document-checklist{padding:16px}}

@container(max-width:900px){.tq568-grid-head{display:none}.tq567-question-row{grid-template-columns:34px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px}.tq568-field>span{position:static;display:block;width:auto;height:auto;clip-path:none;font-size:12px;font-weight:700;margin-bottom:5px;color:var(--navy)}.tq567-question-row>.tq567-pick{grid-row:1/3;padding-top:6px}.tq568-type{grid-column:2}.tq567-question-row>.tq567-required{grid-column:3;justify-content:start;padding-top:27px}.tq568-row-options{grid-column:2/4;display:flex;align-items:start;gap:12px}.tq568-condition-options{flex:1;margin:0}.tq567-row-actions{flex:none}}

@container(max-width:500px){.tq567-question-row{grid-template-columns:26px minmax(0,1fr);padding:14px 10px}.tq567-question-row>.tq567-pick{grid-row:1/5}.tq568-field,.tq568-type,.tq567-question-row>.tq567-required,.tq568-row-options{grid-column:2}.tq567-question-row>.tq567-required{padding-top:0}.tq568-row-options{flex-wrap:wrap;gap:8px}.tq567-row-actions .tq60-mini{min-height:40px;min-width:40px}.tq568-condition-options>summary{min-height:40px;display:flex;align-items:center;justify-content:center;gap:6px}.tq568-condition-options>summary:before{content:"▸"}.tq568-condition-options[open]>summary:before{content:"▾"}.tq567-document-checklist{padding:16px}}

.tq568-grid-head span[dir="ltr"]{text-align:left}
@media(max-width:600px){.tq568-condition-options[open]{flex-basis:100%}}
@container(max-width:500px){.tq568-condition-options[open]{flex-basis:100%}}

/* v5.69 rules show their own question and complete saved meaning. */
.tq569-rule-owner,.tq569-rule-description{font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin:0;color:var(--navy)}.tq569-rule-owner{border-bottom:1px solid #e2e9ed;padding-bottom:8px}.tq569-rule-description{font-weight:400}.tq567-condition .tq569-save-rule{padding:8px;font-size:12px;min-height:38px;width:100%}

/* v5.70 family cases */
.tq570-note{padding:18px 20px;margin:14px 0;background:#f3f7fa;border:1px solid #dae5ed;border-radius:14px;overflow-wrap:anywhere}
.tq570-note summary,.tq570-next summary,.tq570-add summary{cursor:pointer;font-weight:700;padding:8px 0}
.tq570-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:16px 0}
.tq570-summary strong,.tq570-summary small{display:block;overflow-wrap:anywhere}.tq570-summary small{color:#526679;margin-bottom:6px}
.tq570-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tq570-member{min-width:0;background:white;border:1px solid #d5e1eb;border-radius:18px;padding:22px;overflow-wrap:anywhere}
.tq570-member-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.tq570-member-head h3,.tq570-member-head h2{margin:0;font-size:22px}.tq570-member-head p{font-size:14px;color:#526679}
.tq570-member-head>span{border-radius:20px;background:#edf3f8;padding:6px 10px;white-space:nowrap;font-size:13px}
.tq570-service{margin:16px 0;padding:16px;border-inline-start:4px solid #f16b28;background:#f7f9fb;border-radius:10px}.tq570-service.done{border-color:#168569}.tq570-service h3,.tq570-service h4{margin:0 0 8px;font-size:18px}
.tq570-progress{padding-inline-start:20px;font-size:14px;line-height:1.9}.tq570-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0}.tq570-actions form{margin:0}
.tq570-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:14px 0}.tq570-form label{display:flex;flex-direction:column;gap:8px;min-width:0;font-weight:600}.tq570-form input,.tq570-form select{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #bdcddb;border-radius:9px;background:#fff;color:#143149;font:inherit}.tq570-form button{align-self:end}.tq570-next{border-top:1px solid #dce5ec;padding-top:8px;margin-top:12px}.tq570-add{padding:18px;background:#f0f5fa;border-radius:14px;margin-top:24px}
@media(max-width:720px){.tq570-member-grid{grid-template-columns:1fr}.tq570-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tq570-form{grid-template-columns:1fr}.tq570-member{padding:18px}.tq570-actions .btn{white-space:normal;max-width:100%}.tq570-member-head{flex-wrap:wrap}}

@media(max-width:980px){.tq570-family-member .tq535-workflow-strip{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.tq570-family-member .tq535-workflow-step:last-child{grid-column:1/-1}}

/* Citizenship intake route; hidden fields must stay hidden in theme grids. */
[data-tq571-route][hidden]{display:none!important}
.tq571-route{grid-column:1/-1;min-width:0;padding:16px;border-radius:12px;background:#f0f6f5;border:1px solid #d2e4df}
.tq571-route small{display:block;margin-top:8px;line-height:1.65}
.tq571-route select{width:100%;min-width:0}

/* Explicit individual / family choice on public intake. */
.tq573-scope{border:0;padding:0;margin:0;min-width:0}
.tq573-scope legend{font-weight:700;color:#092b48;padding:0;margin-bottom:12px}
.tq573-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tq573-scope-option{display:flex!important;gap:12px;align-items:flex-start;margin:0!important;padding:16px;border:2px solid #dce5eb;border-radius:12px;cursor:pointer;background:#fff;min-width:0}
.tq573-scope-option.selected{border-color:#ff7f17;background:#fff8f1}
.tq573-scope-option:focus-within{outline:2px solid #0b2d48;outline-offset:3px}
.tq573-scope-option input[type=radio]{width:20px!important;height:20px;flex:0 0 20px;margin:4px 0 0;accent-color:#ff7f17;padding:0}
.tq573-scope-option span{min-width:0}.tq573-scope-option strong{display:block;color:#092b48}
.tq573-scope-option small{display:block;margin-top:6px;color:#496375;line-height:1.55}
.tq573-family-note{background:#f0f6f5;border-radius:10px;padding:14px;line-height:1.65;margin:0}
[data-tq573-family-note][hidden],.tq573-scope[hidden]{display:none!important}
@media(max-width:600px){.tq573-scope-options{grid-template-columns:1fr}}

/* v5.76: one visible family case, five workflow steps. */
.tq576-people-bar{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.tq576-people-bar span{padding:8px 14px;border:1px solid #dce5eb;border-radius:9px;background:#fff;color:#0b2d48}
.tq576-family .tq403-staff-pack,.tq576-family .tq535-workflow-strip,.tq576-family .tq403-staff-card{min-width:0;max-width:100%}.tq576-family .tq94-check input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px}.tq576-family .tq94-check span{min-width:0;overflow-wrap:anywhere}.tq576-family .tq94-form>label:not(.tq94-check){display:block;margin:20px 0}.tq576-family .tq94-form input[name="signature_name"]{display:block;width:100%;max-width:520px;margin-top:8px;padding:12px;border:1px solid #cbd6de;border-radius:9px}
.tq576-person{margin:16px 0;padding:14px;border:1px solid #dce5eb;border-radius:12px;min-width:0}.tq576-person>summary{font-weight:700;cursor:pointer;padding:8px 0;color:#0b2d48}.tq576-frame{border:0;width:100%;display:block;min-height:200px;background:#fff;border-radius:10px}.tq576-dashboard-steps{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tq576-dashboard-steps a{padding:6px 9px;background:#eff4f8;border-radius:7px;color:#0b2d48;font-weight:600}
.tq576-embedded .topbar,.tq576-embedded .site-header,.tq576-embedded .footer,.tq576-embedded .page-hero,.tq576-embedded .tq52-staff-hero,.tq576-embedded .tq60-toolbar,.tq576-embedded .tq531-screen-note,.tq576-embedded .tq535-workflow-strip{display:none!important}.tq576-embedded .section{padding:12px 0}.tq576-embedded .container{width:100%;max-width:none;padding:10px}.tq576-embedded .tq403-staff-card,.tq576-embedded .tq403-form-card{padding:16px;margin:0 0 14px}.tq576-embedded .tq403-client-page{padding:0}.tq576-embedded .tq94-alert{overflow-wrap:anywhere}
@media(max-width:600px){.tq576-person{padding:10px}.tq576-family .tq403-staff-card{padding:16px}.tq576-family .tq60-toolbar{gap:8px}.tq576-family input,.tq576-family select{max-width:100%}}
@media(max-width:980px){.tq576-family .tq535-workflow-strip{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.tq576-family .tq535-workflow-step:last-child{grid-column:1/-1}}

.tq577-collection{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:18px 0}.tq577-collection label{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1 1 280px}.tq577-collection select{width:100%;min-width:0;padding:12px;border:1px solid #bdcddb;border-radius:9px;background:#fff;font:inherit}.tq577-help{padding:20px;background:#f0f5fa;border:1px solid #dce5eb;border-radius:12px;margin:18px 0}.tq577-public-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.tq577-office-note{padding:16px;background:#fff8f1;border:1px solid #f4d5bb;border-radius:12px;margin:16px 0}.tq577-confirm{display:flex;gap:10px;align-items:flex-start;margin:20px 0}.tq577-confirm input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin-top:4px}.tq577-confirm span{min-width:0;overflow-wrap:anywhere}.tq577-office-actions{display:flex;gap:12px;flex-wrap:wrap}

/* v5.79: question sources and family completion feedback. */
.tq579-prefill-options{margin-top:6px;font-size:12px}.tq579-prefill-options summary{cursor:pointer;color:var(--navy);font-weight:700}.tq579-prefill-options label{display:block;margin:8px 0}.tq579-prefill-options select{width:100%;max-width:280px;min-height:38px}.tq579-progress{font-weight:700}.tq576-person[data-member-file]{scroll-margin-top:110px}

/* v5.81: distinguish common tools from individual family files. */
.tq581-family-tools{padding:18px;background:#f6f8fb;border:1px solid #dce5eb;border-radius:16px;margin:22px 0}.tq581-family-tools>h3{font-size:17px;color:#617280;margin:0 0 14px}.tq581-family-tools>.tq576-person{background:#fff}.tq581-members-panel{padding:22px;border:2px solid #bad3e6;border-radius:18px;background:#f0f7fc;margin-top:26px}.tq581-members-panel>h3{margin:0 0 18px;color:#0b2d48;font-size:20px}.tq581-members-panel>details[data-member-file]{border-color:#c5dcea;background:#fff}.tq581-members-panel>details[data-member-file]>summary{background:#e4f0f8;color:#0b2d48;border-radius:10px;padding:14px}.tq581-members-panel>details[data-member-file][open]>summary{background:#0b2d48;color:#fff}.tq581-shared-panel .tq581-document{display:grid;grid-template-columns:minmax(180px,1fr) minmax(320px,1.4fr);gap:20px;padding:22px 0;align-items:start}.tq581-document .tq430-doc-main strong{overflow-wrap:anywhere}.tq581-document-actions{display:grid;gap:14px}.tq581-view-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.tq581-view-actions form{margin:0}.tq581-replacement-form,.tq581-transfer-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:12px;border-radius:12px}.tq581-replacement-form{background:#fff6ed}.tq581-transfer-form{background:#eff7f2;border:1px solid #cfe4d5}.tq581-document-actions label{display:grid;gap:5px;font-size:13px;font-weight:600;flex:1;min-width:180px}.tq581-document-actions input[type=text],.tq581-document-actions select{width:100%;min-width:0;padding:9px 11px;border:1px solid #ccdbe6;border-radius:8px;background:#fff}.tq581-transfer-form small{flex-basis:100%;color:#617280}.tq581-approve,.tq581-move{background:#e9f6ed;color:#22663b;border-color:#b6d8c1}.tq581-document-actions button:disabled,.tq581-document-actions select:disabled{opacity:.5;cursor:not-allowed}.tq581-shared-count{display:inline-block;border-radius:12px;padding:1px 9px;background:#e8edf2;font-size:12px;margin-inline-start:8px}.tq581-client-shared-document{padding:15px 0;border-bottom:1px solid #dce5eb;overflow-wrap:anywhere}.tq581-client-replacement form{display:grid;gap:16px}.tq581-client-replacement>a{margin-top:18px}
@media(max-width:800px){.tq581-shared-panel .tq581-document{grid-template-columns:1fr}.tq581-members-panel{padding:14px}.tq581-family-tools{padding:14px}.tq581-document-actions label{flex-basis:100%;min-width:0}.tq581-document-actions .tq60-mini{white-space:normal}}

/* v5.81 - distinguish reconsideration without changing its actual case status. */
.tq576-person.tq581-reconsideration{border:2px solid #9469c0;background:#faf6ff;}
.tq576-person.tq581-reconsideration>summary{background:#f1e8fc;color:#553078;}
.tq576-person.tq581-reconsideration[open]>summary{border-bottom:1px solid #cfb5e6;}
.tq581-reconsideration-badge{display:inline-block;background:#70409a;color:#fff;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap;}
.tq581-reconsideration-row>td{background:#faf6ff;}
.tq581-reconsideration-row>td:first-child{border-inline-start:4px solid #9469c0;}
.tq581-reconsideration-row .tq581-reconsideration-badge{color:#fff;}

.tq582-outcome-attempt{margin-top:18px;padding:16px;border:1px solid #ccdbe6;border-radius:12px;background:#f6f9fc;overflow-wrap:anywhere}.tq582-outcome-attempt p{margin:8px 0;font-size:14px;}

/* THIQAA 5.83 — settled closed cases and family paperwork progress. */
.tq405-table tr.tq583-closed-paid>td{background:#e5e7eb!important;color:#4b5563!important;border-color:#d1d5db!important}
.tq405-table tr.tq583-closed-paid:hover>td{background:#dfe2e6!important}
.tq405-table tr.tq583-closed-paid td :is(a,span,strong,small,b,label,p,div,button,select,input){color:#4b5563!important;border-color:#9ca3af!important}
.tq405-table tr.tq583-closed-paid td :is(.btn,button,select,input,.tq60-mini,.tq405-step,.tq535-workflow-step,.tq474-dashboard-payment,[class*="badge"],[class*="status"],[class*="consent"]){background:#eef0f2!important;color:#374151!important}
.tq405-table tr.tq583-closed-paid td :is(i,[class*="dot"]){background:#6b7280!important;color:#f9fafb!important;box-shadow:none!important}
.tq405-table tr.tq583-closed-paid td a:hover,.tq405-table tr.tq583-closed-paid td button:hover{background:#d1d5db!important;color:#111827!important}
.tq576-people-bar a{display:flex;flex-direction:column;gap:3px;padding:9px 14px;border:1px solid #d45a65;border-radius:9px;background:#fff0f1;color:#9f1c2c;text-decoration:none}
.tq576-people-bar a.tq583-member-ready{background:#e9f7ed;border-color:#388b55;color:#185c31}
.tq576-people-bar a:hover{box-shadow:0 0 0 2px currentColor}
.tq576-people-bar a small{font-size:.75rem;font-weight:400}

.tq405-table tr.tq583-closed-paid{filter:grayscale(1)}

/* THIQAA 5.84 — shared uploads and family message results. */
.tq576-family .tq584-upload-button{background:#198754;border-color:#198754;color:#fff}
.tq576-family .tq584-upload-button:hover{background:#146c43;border-color:#146c43;color:#fff}
.tq576-family .tq584-upload-button:focus-visible{outline:3px solid #98d9b9;outline-offset:3px}
.tq584-incoming-files{display:block;padding:14px 18px;margin:16px 0;border:1px solid #a8d7bb;border-radius:12px;background:#edf8f1;color:#185c31;font-weight:600;text-decoration:none}
.tq584-incoming-files:hover{text-decoration:underline}
.tq576-family .tq94-alert.warning{background:#fff7df;border:1px solid #e9d08a;color:#70500a}
[data-family-mail-notices] small{display:inline-block;margin-inline-start:8px}

/* THIQAA 5.85 — optional basic family details before consent. */
.tq585-family-intake{border:1px solid #c8dbe8;border-radius:14px;background:#f5f9fc;padding:20px}
.tq585-family-intake[hidden],.tq585-family-intake [data-family-intake-body][hidden]{display:none}
.tq585-family-intake>legend{font-weight:800;color:#0b2d48;padding:0 7px}
.tq585-family-intake>p{margin-top:0}.tq585-family-intake>label{display:flex;gap:9px;align-items:center;margin:12px 0}
.tq585-family-intake input[type=radio]{width:auto;flex:none}
.tq585-intake-person{padding:16px;margin:14px 0;background:#fff;border:1px solid #dce4eb;border-radius:12px}
.tq585-intake-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0}
.tq585-intake-grid>label{display:flex;flex-direction:column;gap:6px}
.tq585-intake-grid>[hidden]{display:none}
@media(max-width:600px){.tq585-intake-grid{grid-template-columns:1fr}.tq585-family-intake{padding:14px}}

/* Consent confirmations must never inherit the full-width text-input rule. */
.tq94-consent-page .tq94-check,.tq576-family .tq94-check,.tq587-document .tq94-check{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;width:100%;min-width:0;gap:12px;box-sizing:border-box}
.tq94-consent-page .tq94-check input[type=checkbox],.tq576-family .tq94-check input[type=checkbox],.tq587-document .tq94-check input[type=checkbox]{width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;flex:0 0 22px!important;padding:0!important;margin:3px 0 0!important;accent-color:#157347}
.tq94-consent-page .tq94-check>span,.tq576-family .tq94-check>span,.tq587-document .tq94-check>span{display:block;flex:1 1 0!important;min-width:0!important;width:auto!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.8}
.tq587-document{color:#17334b;font-size:16px;line-height:1.8;min-width:0}
.tq587-document[dir=rtl]{text-align:right}.tq587-document[dir=ltr]{text-align:left}
.tq587-document h1{font-size:30px;line-height:1.4}.tq587-document h2{font-size:21px;line-height:1.5}
.tq587-people{width:100%;border-collapse:collapse;table-layout:fixed;margin:24px 0;text-align:inherit;font-size:14px}
.tq587-people th,.tq587-people td{border:1px solid #dce5eb;padding:10px;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
.tq587-people th{background:#f2f6f9}.tq587-people th:nth-child(1){width:24%}.tq587-people th:nth-child(2){width:18%}.tq587-people th:nth-child(3){width:38%}.tq587-people th:nth-child(4){width:20%}
.tq587-sign-form,.tq587-signature{padding:20px;border:1px solid #dce5eb;border-radius:12px;background:#f6f9fb;margin:24px 0;min-width:0}
.tq587-marketing{border:1px solid #dce5eb;border-radius:10px;padding:16px;margin:20px 0}
.tq587-sign-form .btn-primary{background:#157347;border-color:#157347;color:#fff}
.tq587-signature p{margin:8px 0}.tq587-print-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}
@media(max-width:600px){.tq587-people thead{display:none}.tq587-people,.tq587-people tbody,.tq587-people tr,.tq587-people td{display:block;width:100%;box-sizing:border-box}.tq587-people tr{border:1px solid #dce5eb;border-radius:10px;margin:14px 0;padding:10px}.tq587-people td{border:0;padding:5px 0}.tq587-people td::before{content:attr(data-label) ': ';font-weight:700}.tq587-sign-form,.tq587-signature{padding:16px}}
@media print{.tq587-statement p{break-inside:avoid;orphans:3;widows:3}.tq587-document{font-size:10.5pt;line-height:1.5}.tq587-signature{font-size:10pt;line-height:1.45;padding:12px;margin:12px 0}.tq587-signature p{margin:7px 0}.tq587-document h1{font-size:23pt}.tq587-document h2{font-size:15pt}.tq587-document .tq94-consent-summary{grid-template-columns:1fr 1fr}.tq587-document .tq94-consent-summary>div,.tq587-signature,.tq587-people tr{break-inside:avoid}.tq587-people{display:table;font-size:10pt}.tq587-people thead{display:table-header-group}.tq587-people tbody{display:table-row-group}.tq587-people tr{display:table-row}.tq587-people td,.tq587-people th{display:table-cell;width:auto;border:1px solid #dce5eb;padding:8px}.tq587-people td::before{display:none}.tq587-document .tq94-consent-summary,.tq587-people th,.tq587-signature{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Family uploads — explicit owners and one document list. */
.tq588-documents{min-width:0}.tq588-upload{padding:22px;border:1px solid #c5ddce;border-radius:16px;background:#f4faf6;display:grid;gap:14px;margin:16px 0 24px}.tq588-upload h3,.tq588-upload p{margin:0}.tq588-upload label,.tq588-assign label{display:grid;gap:7px;font-weight:700;min-width:0}.tq588-upload input,.tq588-upload select,.tq588-assign select,.tq588-secondary-actions input{width:100%;max-width:100%;min-width:0;padding:12px;border:1px solid #cbd8df;border-radius:9px;background:white}.tq588-upload select,.tq588-assign select{white-space:normal}.tq588-green{background:#157347!important;border-color:#157347!important;color:white!important;box-shadow:none!important}.tq588-green:disabled{opacity:.45;cursor:not-allowed}.tq588-upload button{justify-self:start}.tq588-upload-destination{color:#125a35;font-weight:700}.tq588-live-status{padding:14px 18px;border-radius:10px;background:#eef5fb;color:#0b2d48;font-weight:700}.tq588-refresh-status{min-height:1.6em;font-size:.88rem;color:#617280;margin:8px 0 18px}.tq588-list{display:grid;gap:16px}.tq588-document{padding:20px;border:1px solid #d7e3eb;border-radius:14px;min-width:0;background:#fff}.tq588-document-title{display:flex;gap:12px;align-items:start;justify-content:space-between;flex-wrap:wrap}.tq588-document-title strong{overflow-wrap:anywhere;min-width:0}.tq588-owner{padding:9px 12px;background:#eef5fb;border-radius:8px;margin:12px 0 8px;overflow-wrap:anywhere}.tq588-file-meta{font-size:.85rem;color:#617280}.tq588-view-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tq588-assign{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px;background:#f4faf6;border-radius:10px}.tq588-assign small{grid-column:1/-1;color:#617280}.tq588-assign button{white-space:normal}.tq588-other-actions{margin-top:12px}.tq588-other-actions summary{cursor:pointer;color:#617280;font-size:.9rem}.tq588-secondary-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding-top:12px}.tq588-secondary-actions form:first-child{flex:1;min-width:180px;display:flex;align-items:end;gap:10px;flex-wrap:wrap}.tq588-secondary-actions label{flex:1;min-width:150px}.tq588-member-progress{margin-top:28px;border:2px solid #c3dcec;border-radius:14px;padding:18px;background:#f5faff}.tq588-person-status{padding:15px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid #d7e3eb}.tq588-person-status>strong{width:100%}.tq588-person-status>span{flex:1;min-width:160px}.tq588-required-documents{width:100%;padding-top:8px}.tq588-required-documents summary{cursor:pointer}.tq535-workflow-step span{white-space:normal}
@media(max-width:700px){.tq588-document{padding:14px}.tq588-upload{padding:16px}.tq588-assign{grid-template-columns:1fr;padding:12px}.tq588-assign small{grid-column:auto}.tq588-assign button{width:100%}.tq588-member-progress{padding:12px}.tq588-person-status>span{width:100%;flex:auto}}

/* Clear client actions and a family inbox that empties as files are filed. */
.tq589-public-tabs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 28px}.tq589-public-tab{display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:100px;padding:18px 24px;background:#157347;color:#fff;border:2px solid #157347;border-radius:14px;box-shadow:0 4px 0 #0b5130;text-align:center;cursor:pointer}.tq589-public-tab.active{background:#0b2d48;border-color:#0b2d48;box-shadow:0 4px 0 #071f33}.tq589-public-tab strong{font-size:1.2rem}.tq589-public-tab small{font-size:.92rem;color:#fff}.tq589-public-tab:hover{filter:brightness(1.1);transform:translateY(-1px)}.tq589-public-tab:focus-visible{outline:3px solid #ff6b22;outline-offset:4px}.tq589-public-tab span{display:inline-block;padding-inline-start:10px}html[dir=ltr] .tq589-public-tab span{transform:rotate(180deg)}
.tq589-review-controls{width:100%;font-size:.92rem;padding:12px 16px;background:white;border:1px solid #d7e3eb;border-radius:10px}.tq589-review-controls p{margin:0 0 12px}.tq589-review-controls ul{margin:6px 0 12px;padding-inline-start:22px;overflow-wrap:anywhere}.tq589-blocked{color:#8a4516}.tq589-review-controls button{white-space:normal}.tq589-member-assignment{display:flex;gap:10px;align-items:end;flex-wrap:wrap;width:100%;padding:12px;background:#f4faf6;border-radius:10px}.tq589-member-assignment label{flex:1;min-width:170px;display:grid;gap:5px}.tq589-member-assignment select,.tq589-archived-document select{width:100%;min-width:0;border:1px solid #cbd8df;background:#fff;border-radius:8px;padding:9px}.tq589-shared-archive{margin:20px 0;border:1px solid #d7e3eb;border-radius:12px;padding:16px;background:#f8fafb}.tq589-shared-archive summary,.tq589-client-filed summary{cursor:pointer;font-weight:700;color:#157347}.tq589-archived-document{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid #d7e3eb;margin-top:12px;padding-top:12px}.tq589-archived-document>strong{width:100%;overflow-wrap:anywhere}.tq589-archived-document form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;width:100%}.tq589-archived-document select{flex:1;min-width:160px}.tq589-client-filed{width:100%;padding:10px 0}.tq589-client-filed li{overflow-wrap:anywhere}.tq589-open-member{border-color:#157347;color:#125a35;background:#eff8f3}
@media(max-width:600px){.tq589-public-tabs{gap:12px}.tq589-public-tab{padding:14px 10px;min-height:110px}.tq589-public-tab strong{font-size:1rem}.tq589-public-tab small{font-size:.82rem}.tq589-review-controls{padding:12px}.tq589-review-controls button{width:100%}}

.tq589-member-document-head{display:block}.tq589-member-document-head>div{width:100%;margin-top:14px}

/* Keep document actions inside their card at every desktop width. */
.tq403-doc-item.tq430-doc-review-item{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:24px}
.tq403-doc-item .tq430-doc-main{min-width:0;overflow-wrap:anywhere}
.tq403-doc-item .tq528-doc-actions{width:100%;min-width:0;display:flex;flex-wrap:wrap;align-items:start;gap:10px}
.tq403-doc-item .tq528-doc-actions .tq589-member-assignment{flex:0 0 100%;min-width:0;width:100%}
.tq403-doc-item .tq528-doc-actions .tq525-replacement-form{flex:0 0 100%;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto!important}
.tq403-doc-item .tq528-doc-actions .tq525-replacement-form input[type=text]{width:100%;min-width:0;max-width:none}
.tq403-doc-item .tq528-doc-actions .tq60-mini{white-space:normal;max-width:100%;overflow-wrap:anywhere}
@media(max-width:980px){.tq403-doc-item.tq430-doc-review-item{grid-template-columns:minmax(0,1fr);gap:14px}}
@media(max-width:620px){.tq403-doc-item .tq528-doc-actions .tq525-replacement-form{grid-template-columns:minmax(0,1fr)!important}}

.tq590-contact-log{margin-top:10px;min-width:140px}.tq590-contact-log>summary{cursor:pointer;text-decoration:underline;color:#245f91}.tq590-contact-log form{padding:12px;border:1px solid #d7e3eb;border-radius:10px;background:#f5faff;margin-top:8px;display:grid;gap:10px;max-width:260px}.tq590-contact-log label{display:grid;gap:5px;font-size:13px;white-space:normal}.tq590-contact-log textarea,.tq590-contact-log select{width:100%;min-width:0;padding:8px;border:1px solid #cbd8df;border-radius:8px;background:white}.tq590-contact-log p{font-size:12px;color:#617280;white-space:normal;margin:0}.tq590-family-state{display:block;margin-bottom:8px;font-size:13px}

/* v5.91: compact document toolbars and a contact form outside the table flow. */
.tq403-doc-item.tq430-doc-review-item{grid-template-columns:minmax(0,1fr);gap:12px}
.tq403-doc-item .tq528-doc-actions{flex-wrap:nowrap;align-items:end;gap:7px}
.tq403-doc-item .tq528-doc-actions .tq60-mini,.tq591-family-document-actions .tq60-mini,.tq591-family-document-actions .btn{font-size:13px;padding:8px 10px;line-height:1.3;min-height:36px;white-space:nowrap;flex-shrink:0}
.tq403-doc-item .tq528-doc-actions .tq525-replacement-form{flex:0 1 auto;width:auto;gap:7px;grid-template-columns:minmax(110px,150px) auto!important;align-items:end}
.tq403-doc-item .tq528-doc-actions .tq525-replacement-form input[type=text]{height:36px;min-width:0;width:150px;max-width:100%;font-size:13px;padding:8px}
.tq403-doc-item .tq528-doc-actions .tq589-member-assignment{flex:0 1 auto;width:auto;padding:0;background:transparent;gap:7px;flex-wrap:nowrap;align-items:end}
.tq403-doc-item .tq589-member-assignment label{flex:none;min-width:0;width:145px;font-size:12px;gap:4px}
.tq403-doc-item .tq589-member-assignment select{height:36px;padding:7px 8px;font-size:13px}
.tq591-family-document-actions{display:flex;align-items:end;gap:7px;min-width:0}
.tq591-family-document-actions .tq588-view-actions{margin:0;flex-wrap:nowrap;gap:7px}
.tq591-family-document-actions .tq588-assign{display:flex;align-items:end;gap:7px;margin:0;padding:0;background:transparent;flex:0 1 auto;min-width:0}
.tq591-family-document-actions .tq588-assign label{width:160px;font-size:12px;gap:4px;min-width:0}
.tq591-family-document-actions .tq588-assign select{height:36px;padding:7px 8px;font-size:13px}
.tq591-family-document-actions .tq588-other-actions,.tq591-family-document-actions .tq588-secondary-actions{display:contents}
.tq591-family-document-actions .tq588-other-actions>summary{display:none}
.tq591-family-document-actions .tq588-secondary-actions form:first-child{flex:0 1 auto;min-width:0;gap:7px;flex-wrap:nowrap}
.tq591-family-document-actions .tq588-secondary-actions input[name=review_note]{height:36px;width:150px;min-width:110px;padding:8px;font-size:13px}
.tq591-family-document-actions form{margin:0}
.tq591-view-first{font-size:12px;color:#617280;margin:9px 0 0}
.tq591-contact-trigger{padding:0;border:0;background:transparent;color:#245f91;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.tq591-contact-dialog{width:560px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:22px;border:1px solid #cbd8df;border-radius:14px;background:#fff;color:#0b2d48;box-shadow:0 12px 45px #10263840;overflow:auto;white-space:normal}
.tq591-contact-dialog::backdrop{background:#10263866}
.tq591-contact-dialog h2{font-size:20px;margin:0 0 16px}
.tq590-contact-log .tq591-contact-dialog form{max-width:none;grid-template-columns:150px minmax(0,1fr);margin:0;padding:0;border:0;background:#fff;gap:12px;align-items:start}
.tq590-contact-log .tq591-contact-dialog textarea{min-height:64px;height:64px;max-height:160px;resize:vertical;font-size:14px}
.tq590-contact-log .tq591-contact-dialog select{font-size:14px}
.tq591-contact-dialog p,.tq591-contact-footer{grid-column:1/-1}
.tq591-contact-footer{display:flex;justify-content:flex-end;gap:8px}
.tq591-contact-trigger:focus-visible,.tq405-table tr.tq583-closed-paid .tq531-dashboard-open:focus-visible{outline:3px solid #f58220;outline-offset:3px}
.tq405-table tr.tq583-closed-paid td a.tq531-dashboard-open{background:#374151!important;color:#fff!important;border:1px solid #374151!important;opacity:1;cursor:pointer}
.tq405-table tr.tq583-closed-paid td a.tq531-dashboard-open:hover{background:#111827!important;color:#fff!important}
.tq405-table tr.tq583-closed-paid td .tq591-contact-dialog{background:#fff!important}
.tq405-table tr.tq583-closed-paid td .tq591-contact-dialog :is(input,textarea,select){background:#fff!important;color:#243746!important}
.tq405-table tr.tq583-closed-paid td .tq591-contact-dialog .tq588-green{background:#157347!important;border-color:#157347!important;color:#fff!important}
@media(max-width:980px){.tq403-doc-item .tq528-doc-actions,.tq591-family-document-actions{flex-wrap:wrap;align-items:end}.tq403-doc-item .tq528-doc-actions .tq525-replacement-form{grid-template-columns:minmax(110px,150px) auto!important}.tq591-family-document-actions .tq588-secondary-actions input[name=review_note]{min-width:0}.tq591-family-document-actions .tq588-assign button{width:auto}}
@media(max-width:620px){.tq403-doc-item .tq528-doc-actions .tq525-replacement-form{flex:0 1 100%;grid-template-columns:minmax(0,1fr) auto!important}.tq403-doc-item .tq528-doc-actions .tq525-need-replacement{width:auto}.tq403-doc-item .tq528-doc-actions .tq589-member-assignment{flex-basis:100%}.tq403-doc-item .tq589-member-assignment label{flex:1;width:auto}.tq591-family-document-actions .tq588-assign{flex-basis:100%}.tq591-family-document-actions .tq588-assign label{flex:1;width:auto}.tq591-family-document-actions .tq588-secondary-actions form:first-child{flex:0 1 100%}.tq591-family-document-actions .tq588-secondary-actions input[name=review_note]{flex:1;min-width:0;width:110px}.tq591-contact-dialog{padding:16px}.tq590-contact-log .tq591-contact-dialog form{grid-template-columns:minmax(0,1fr)}.tq591-contact-dialog textarea{min-height:56px;height:56px}}

/* THIQAA 5.92 — family intake width/shared contact email + aligned five-step cards */
.tq592-request-container{
  width:min(1400px,calc(100% - 40px))!important;
  max-width:1400px!important;
}
.tq585-family-intake{width:100%;max-width:none}
.tq585-intake-person{width:100%;max-width:none}
.tq585-intake-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(190px,.62fr) minmax(260px,1fr);
  align-items:end;
  width:100%;
}
.tq592-shared-family-email{grid-column:1/-1;margin:2px 0 0;color:#5f7281}

/* Keep the five workflow cards visually level. The action in step 5 must stay
   inside the same-height card instead of making Work appear as a taller box. */
.tq405-flow{align-items:stretch!important}
.tq405-flow>.tq405-step{
  align-self:stretch!important;
  box-sizing:border-box!important;
}
.tq488-requests-view .tq405-flow{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
.tq488-requests-view .tq405-flow>.tq405-step{
  height:100%!important;
  min-height:116px!important;
}
.tq405-flow>.tq405-step .tq412-step-actions{
  width:100%;
  margin-top:auto!important;
  padding-top:8px!important;
  align-items:stretch!important;
}
.tq405-flow>.tq405-step .tq412-step-actions .tq406-mini-form{
  width:100%;
  margin:0!important;
  padding:0!important;
}
.tq405-flow>.tq405-step .tq412-step-actions .tq406-step-btn{
  width:100%;
  box-sizing:border-box;
  white-space:normal;
  text-align:center;
}

@media(max-width:980px){
  .tq592-request-container{width:min(100% - 32px,1180px)!important}
  .tq585-intake-grid{grid-template-columns:1fr 1fr}
  .tq585-intake-grid>label:last-child{grid-column:1/-1}
}
@media(max-width:600px){
  .tq592-request-container{width:min(100% - 28px,1180px)!important}
  .tq585-intake-grid{grid-template-columns:1fr}
  .tq585-intake-grid>label:last-child{grid-column:auto}
}


/* THIQAA 5.93 — consistent desktop width for all client-facing forms */
.tq593-public-form-container{
  width:min(1400px,calc(100% - 40px))!important;
  max-width:1400px!important;
}
.tq593-public-form-container .tq432-track-form{max-width:none!important}
@media(max-width:980px){
  .tq593-public-form-container{width:min(100% - 32px,1180px)!important;max-width:1180px!important}
}
@media(max-width:600px){
  .tq593-public-form-container{width:min(100% - 28px,1180px)!important;max-width:1180px!important}
}


/* THIQAA 5.94 — centred workflow actions + balanced Work card
   Visual dashboard-only refinement. Email/SMTP/delivery logic is untouched. */
@media(min-width:981px){
  .tq488-requests-view .tq405-flow{
    align-items:stretch!important;
    grid-auto-rows:minmax(124px,1fr)!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    min-width:0!important;
    min-height:124px!important;
    height:100%!important;
    padding:10px 10px 56px 27px!important;
    overflow:hidden;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>b,
  .tq488-requests-view .tq405-flow>.tq405-step>small{
    min-width:0;
    width:100%;
    overflow-wrap:anywhere;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>b{
    line-height:1.25!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>small{
    line-height:1.3!important;
    margin-top:4px!important;
  }
  /* Give every action a full-width lower zone, independent of the left dot/title padding. */
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    position:absolute!important;
    left:9px!important;
    right:9px!important;
    bottom:9px!important;
    width:auto!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form{
    width:100%!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:stretch!important;
    justify-content:center!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-step-btn{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:38px!important;
    height:38px!important;
    margin:0 auto!important;
    padding:5px 8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.12!important;
    overflow-wrap:anywhere;
  }
  /* Work is allowed two balanced lines without changing the card or action-zone height. */
  .tq488-requests-view .tq405-flow>.tq405-step:last-child>.tq412-step-actions .tq406-step-btn{
    font-size:9.2px!important;
    line-height:1.08!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step:last-child>small{
    font-size:9.25px!important;
    line-height:1.28!important;
  }
}

/* RTL: keep the status dot beside the heading while the action remains centred over the whole card. */
@media(min-width:981px){
  .lang-ar .tq488-requests-view .tq405-flow>.tq405-step{
    padding-left:10px!important;
    padding-right:27px!important;
  }
  .lang-ar .tq488-requests-view .tq405-flow>.tq405-step>i{
    left:auto!important;
    right:8px!important;
  }
}

/* Tablet/phone workflow buttons stay centred and never inherit a side offset. */
@media(max-width:980px){
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    width:100%!important;
    justify-content:center!important;
    align-items:stretch!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form,
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-step-btn{
    width:100%!important;
    margin-inline:auto!important;
    text-align:center!important;
    justify-content:center!important;
  }
}

/* THIQAA 5.95 — How It Works colour/photo polish + compact centred Cases buttons
   Visual-only. No workflow, payment or email transport logic changed. */
.tq595-hero-visual{
  position:relative;
  min-width:0;
  padding:0 78px 58px 0;
}
.tq595-hero-visual .tq561-journey-preview{
  position:relative;
  z-index:2;
}
.tq595-hero-photo{
  position:absolute;
  z-index:1;
  right:0;
  bottom:0;
  width:48%;
  height:220px;
  margin:0;
  overflow:hidden;
  border:7px solid #fff;
  border-radius:22px;
  background:#eaf2f7;
  box-shadow:0 16px 34px rgba(11,45,72,.17);
  transform:rotate(1.5deg);
}
.tq595-hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(11,45,72,.03),rgba(11,45,72,.14));
  pointer-events:none;
}
.tq595-hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.tq561-step{
  position:relative;
  overflow:hidden;
}
.tq561-step.tq595-step-tone-1{background:linear-gradient(145deg,#fff 0%,#f5faff 100%);border-color:#d7e7f1}
.tq561-step.tq595-step-tone-2{background:linear-gradient(145deg,#fff 0%,#fff8f2 100%);border-color:#f1ddce}
.tq561-step.tq595-step-tone-3{background:linear-gradient(145deg,#fff 0%,#f5fbf8 100%);border-color:#d8ebe2}
.tq561-step.tq561-approval-step{background:linear-gradient(145deg,#fffdf9 0%,#fff4e9 100%);border-color:#efc5aa}
.tq561-step-top svg{
  width:32px;
  height:32px;
  padding:6px;
  border-radius:10px;
  background:#eef5f9;
  color:#0b2d48;
}
.tq595-step-tone-2 .tq561-step-top svg{background:#fff0e4;color:#b44710}
.tq595-step-tone-3 .tq561-step-top svg{background:#e9f6ef;color:#19714d}
.tq595-step-photo{
  height:105px;
  margin:18px 0 0;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(11,45,72,.10);
  background:#eef3f6;
}
.tq595-step-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
[dir="rtl"] .tq595-hero-visual{padding:0 0 58px 78px}
[dir="rtl"] .tq595-hero-photo{right:auto;left:0;transform:rotate(-1.5deg)}
@media(max-width:1100px){
  .tq595-hero-visual{padding-right:54px}
  [dir="rtl"] .tq595-hero-visual{padding-right:0;padding-left:54px}
  .tq595-hero-photo{width:52%;height:195px}
}
@media(max-width:800px){
  .tq595-hero-visual,[dir="rtl"] .tq595-hero-visual{padding:0 0 32px}
  .tq595-hero-visual .tq561-journey-preview{width:min(92%,580px)}
  .tq595-hero-photo,[dir="rtl"] .tq595-hero-photo{
    position:relative;
    right:auto;
    left:auto;
    width:min(72%,420px);
    height:170px;
    margin:-26px 0 0 auto;
    transform:rotate(1deg);
  }
  [dir="rtl"] .tq595-hero-photo{margin:-26px auto 0 0;transform:rotate(-1deg)}
}
@media(max-width:540px){
  .tq595-hero-visual .tq561-journey-preview{width:100%}
  .tq595-hero-photo,[dir="rtl"] .tq595-hero-photo{width:82%;height:145px}
  .tq595-step-photo{height:92px}
}

/* Cases: keep the action in a small centred button instead of stretching it across the card. */
@media(min-width:981px){
  .tq488-requests-view .tq405-flow>.tq405-step{
    padding-bottom:48px!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    left:8px!important;
    right:8px!important;
    bottom:9px!important;
    height:31px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form{
    width:auto!important;
    height:auto!important;
    flex:0 0 auto!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-step-btn{
    width:auto!important;
    min-width:72px!important;
    max-width:136px!important;
    min-height:29px!important;
    height:auto!important;
    padding:5px 11px!important;
    margin:0!important;
    border-radius:7px!important;
    font-size:9.5px!important;
    line-height:1.08!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step:last-child>.tq412-step-actions .tq406-step-btn{
    max-width:142px!important;
    font-size:9px!important;
    padding-inline:8px!important;
  }
}
@media(max-width:980px){
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    justify-content:center!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form{
    width:auto!important;
    flex:0 0 auto!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-step-btn{
    width:auto!important;
    min-width:84px!important;
    max-width:170px!important;
    min-height:34px!important;
    padding:6px 12px!important;
  }
}

/* THIQAA 5.96 — How It Works skyline background + smaller left-aligned Cases actions
   Visual-only refinement. No workflow, payment, email or SMTP transport logic changed. */

/* How THIQAA Works: add the subtle line-style London skyline requested for the hero background. */
.tq561-how .tq561-hero{
  position:relative;
  overflow:hidden;
}
.tq561-how .tq561-hero::before{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:190px;
  pointer-events:none;
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:min(1480px,100%) auto;
  opacity:.16;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' fill='none'%3E%3Cpath d='M0 202h88l14-12h26v-32h16v32h18V86h18V52h14V22h10v30h14v34h18v104h74l18-18h46v-46h18v-20h20v20h20v46h38l26-84 26 84h28v-26h20v26h50l24-24h12v-20h14v20h20v24h56l10-10h58l16-16h32l20-20h10v20h24v26h50l18-18h40l18-18h10V96h16V74h16V54h8v20h18v22h18v78h72l16-16h24l14-14h40l12-12h116' stroke='%230b2d48' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M0 214h1440' stroke='%23cfdde7' stroke-width='2'/%3E%3C/svg%3E");
}
.tq561-how .tq561-hero::after{
  content:"";
  position:absolute;
  left:-120px;
  bottom:-90px;
  width:320px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%,rgba(245,130,32,.10),rgba(245,130,32,0) 68%);
  pointer-events:none;
}
.tq561-hero-grid{
  position:relative;
  z-index:1;
}
@media(max-width:800px){
  .tq561-how .tq561-hero::before{
    height:118px;
    background-size:1100px auto;
    opacity:.14;
  }
  .tq561-how .tq561-hero::after{
    width:220px;
    height:120px;
    left:-80px;
    bottom:-50px;
  }
}

/* Cases page: place workflow buttons at the bottom-left and make them smaller. */
@media(min-width:981px){
  .tq488-requests-view .tq405-flow>.tq405-step{
    padding-bottom:42px!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    left:10px!important;
    right:auto!important;
    bottom:8px!important;
    width:auto!important;
    height:auto!important;
    justify-content:flex-start!important;
    align-items:flex-end!important;
    gap:0!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form{
    width:auto!important;
    height:auto!important;
    flex:0 0 auto!important;
    justify-content:flex-start!important;
    align-items:flex-end!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-step-btn{
    width:auto!important;
    min-width:60px!important;
    max-width:118px!important;
    min-height:26px!important;
    height:auto!important;
    margin:0!important;
    padding:4px 9px!important;
    border-radius:6px!important;
    font-size:8.6px!important;
    line-height:1.05!important;
    text-align:center!important;
    justify-content:center!important;
    white-space:normal!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step:last-child>.tq412-step-actions .tq406-step-btn{
    max-width:122px!important;
    font-size:8.3px!important;
    padding-inline:7px!important;
  }
}
@media(max-width:980px){
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    justify-content:flex-start!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form{
    width:auto!important;
    flex:0 0 auto!important;
    justify-content:flex-start!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-step-btn{
    width:auto!important;
    min-width:72px!important;
    max-width:140px!important;
    min-height:30px!important;
    padding:5px 10px!important;
  }
}

/* THIQAA 5.97 — How It Works should match the approved richer hero style more closely,
   and family/request workflow buttons must be smaller and pinned bottom-left. */

/* Richer hero background: pale skyline with Big Ben / London Eye feel, lifted mug photo, soft corner shapes. */
.tq561-how .tq561-hero{
  background:
    radial-gradient(240px 190px at -20px 100%, rgba(235,222,213,.55), rgba(235,222,213,0) 68%),
    radial-gradient(320px 220px at 102% 100%, rgba(235,222,213,.5), rgba(235,222,213,0) 70%),
    linear-gradient(180deg,#f6f9fb 0%,#eef4f7 100%);
}
.tq561-how .tq561-hero::before{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:255px;
  pointer-events:none;
  opacity:.38;
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:min(1620px,100%) auto;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 270' fill='none'%3E%3Cg stroke='%23c8d7e2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 243h72l18-18h13v18h19v-110h13v-48h18V40h13v45h23v48h13v110h118l17-17h53v-41h26v-27h18v27h29v41h52l31-92 30 92h29v-34h24v34h50l23-23h15v-28h16v28h25v23h70l18-18h69l22-22h44l16-16h10v16h33v31h61l17-17h52l18-18h10V140h14v-28h17V85h12v27h18v28h19v69h52l24-24h38v-38h17v-20h23v20h17v38h74l18-18h20v-27h17v27h22v18h56l24-24h74'/%3E%3Cpath d='M0 259h1600' stroke='%23d8e4ec' stroke-width='2.3'/%3E%3Cpath d='M746 252c15-46 33-91 52-137 5-12 23-12 28 0 22 46 42 92 60 137'/%3E%3Cpath d='M764 201h107'/%3E%3Cpath d='M1000 249c11-36 28-74 46-110 5-10 20-10 25 0 20 37 38 74 52 110'/%3E%3Cpath d='M1026 173h66'/%3E%3Cpath d='M1199 250c0-61 39-109 88-109s88 48 88 109'/%3E%3Cpath d='M1287 141v109'/%3E%3Cpath d='M1199 250h176'/%3E%3Cpath d='M1231 202h112'/%3E%3Cpath d='M1287 159v-31'/%3E%3Cpath d='M526 210h40'/%3E%3Cpath d='M1490 250h110'/%3E%3C/g%3E%3Cg fill='%23e7eff4'%3E%3Cellipse cx='656' cy='100' rx='33' ry='10'/%3E%3Cellipse cx='1017' cy='84' rx='31' ry='9'/%3E%3Cellipse cx='1441' cy='98' rx='35' ry='11'/%3E%3C/g%3E%3C/svg%3E");
}
.tq561-how .tq561-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:#dfe8ee;
}
.tq561-hero-copy{position:relative;z-index:2}
.tq561-hero-copy::after{
  content:"";
  position:absolute;
  top:54px;
  right:-128px;
  width:105px;
  height:80px;
  background-repeat:no-repeat;
  background-size:100% 100%;
  opacity:.92;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none'%3E%3Cpath d='M6 9c22 2 35 6 46 18 9 10 17 17 35 22' stroke='%23f47b20' stroke-width='2.6' stroke-dasharray='7 7' stroke-linecap='round'/%3E%3Cpath d='m86 39 14 7-12 10' stroke='%23f47b20' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tq595-hero-visual{
  position:relative;
  min-height:540px;
  z-index:2;
}
.tq595-hero-photo{
  position:absolute;
  right:-54px;
  bottom:66px;
  width:245px;
  aspect-ratio:1/1.02;
  margin:0;
  border-radius:28px;
  overflow:hidden;
  border:8px solid rgba(255,255,255,.92);
  box-shadow:0 22px 48px rgba(11,45,72,.12);
  z-index:0;
}
.tq595-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.tq595-hero-visual::before,
.tq595-hero-visual::after{
  content:"";
  position:absolute;
  right:-40px;
  width:118px;
  height:118px;
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 42px rgba(11,45,72,.09);
  z-index:1;
}
.tq595-hero-visual::before{
  top:78px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.08)),
    url('assets/photos/westminster.jpg') center/cover no-repeat;
}
.tq595-hero-visual::after{
  right:-22px;
  bottom:116px;
  width:100px;
  height:108px;
  background-color:#fff;
  background-repeat:no-repeat;
  background-position:center 26px, center 68px;
  background-size:34px 34px, 28px 28px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M10 18c10-3 16-8 22-10 7-3 15 1 22 5v4c-9 1-12 4-18 8-5 3-10 4-16 6l-10-13Z' stroke='%2391a3b2' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M20 31c2 4 5 8 7 13' stroke='%2391a3b2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Ccircle cx='32' cy='32' r='18' fill='%23f47b20' fill-opacity='.14'/%3E%3Cpath d='M22 33 29 40 43 24' stroke='%23f47b20' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tq561-journey-preview{
  position:relative;
  z-index:3;
  margin-top:14px;
}
.tq595-step-photo{
  margin:18px 0 0;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #e0e8ee;
  box-shadow:0 14px 30px rgba(11,45,72,.08);
}
.tq595-step-photo img{display:block;width:100%;height:138px;object-fit:cover}

@media(max-width:1100px){
  .tq561-hero-copy::after{display:none}
  .tq595-hero-visual{min-height:500px}
  .tq595-hero-photo{right:-10px;bottom:30px;width:205px}
  .tq595-hero-visual::before{right:0;top:68px}
  .tq595-hero-visual::after{right:10px;bottom:86px}
}
@media(max-width:800px){
  .tq561-how .tq561-hero::before{height:145px;background-size:1080px auto;opacity:.30}
  .tq595-hero-visual{min-height:unset;display:flex;justify-content:center;padding-bottom:44px}
  .tq595-hero-photo{right:4px;bottom:8px;width:150px;border-width:6px}
  .tq595-hero-visual::before{top:24px;right:10px;width:88px;height:88px;border-radius:18px}
  .tq595-hero-visual::after{right:0;bottom:60px;width:78px;height:86px;border-radius:16px;background-position:center 19px, center 54px;background-size:28px 28px,24px 24px}
}

/* Strong final override for request/family workflow buttons on Cases page. */
@media(min-width:981px){
  .tq488-requests-view .tq405-flow>.tq405-step{
    padding:8px 8px 38px 28px!important;
    min-height:102px!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    position:absolute!important;
    left:10px!important;
    right:auto!important;
    bottom:8px!important;
    top:auto!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    width:auto!important;
    max-width:calc(100% - 18px)!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    z-index:2!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions .tq406-mini-form,
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions > a{
    display:inline-flex!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    flex:0 0 auto!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step .tq406-step-btn{
    display:inline-flex!important;
    width:auto!important;
    min-width:58px!important;
    max-width:110px!important;
    min-height:24px!important;
    margin:0!important;
    padding:4px 9px!important;
    border-radius:6px!important;
    font-size:8px!important;
    line-height:1.05!important;
    white-space:normal!important;
    text-align:center!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step:last-child .tq406-step-btn{
    max-width:118px!important;
    font-size:7.8px!important;
    padding-inline:8px!important;
  }
}
@media(max-width:980px){
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step .tq406-step-btn{
    width:auto!important;
    min-width:64px!important;
    max-width:120px!important;
    min-height:28px!important;
    font-size:10px!important;
    padding:5px 9px!important;
  }
}

/* THIQAA 5.98 — exact How It Works background direction + new unused illustrations + family buttons fix */
.tq561-how .tq561-hero{
  position:relative;
  overflow:hidden;
  padding:70px 0;
  background:#f6f9fb url('assets/images/how-it-works/hero-bg-v598.png') center bottom/cover no-repeat!important;
  border-bottom:1px solid #dce6ec;
}
.tq561-how .tq561-hero::before,
.tq561-how .tq561-hero::after{
  content:none!important;
  display:none!important;
}
.tq561-hero-grid{position:relative;z-index:2}
.tq561-hero-copy::after{
  content:"";
  position:absolute;
  top:42px;
  right:-120px;
  width:118px;
  height:86px;
  background-repeat:no-repeat;
  background-size:100% 100%;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none'%3E%3Cpath d='M7 15c22 0 35 7 46 20 8 10 14 16 31 19' stroke='%23f47b20' stroke-width='2.7' stroke-dasharray='7 7' stroke-linecap='round'/%3E%3Cpath d='m82 45 15 6-12 11' stroke='%23f47b20' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tq598-hero-visual{
  position:relative;
  min-width:0;
  min-height:515px;
  padding:0 90px 0 0;
}
.tq598-hero-visual .tq561-journey-preview{
  position:relative;
  z-index:4;
  width:100%;
  margin:0;
}
.tq598-london-card{
  position:absolute;
  z-index:2;
  right:-58px;
  top:54px;
  width:190px;
  height:245px;
  margin:0;
  border:7px solid #fff;
  border-radius:24px;
  overflow:hidden;
  transform:rotate(-5deg);
  box-shadow:0 18px 40px rgba(11,45,72,.13);
  background:#eaf2f7;
}
.tq598-london-card img{width:100%;height:100%;object-fit:cover;display:block}
.tq598-doc-card{
  position:absolute;
  z-index:5;
  right:-12px;
  top:215px;
  width:74px;
  height:74px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#0b2d48;
  background:#fff;
  box-shadow:0 14px 32px rgba(11,45,72,.12);
}
.tq598-doc-card svg{width:38px;height:38px}
.tq598-uk-card{
  position:absolute;
  z-index:5;
  right:-66px;
  top:310px;
  width:110px;
  height:125px;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 34px rgba(11,45,72,.12);
  display:grid;
  place-items:center;
}
.tq598-uk-card .tq598-uk{width:58px;height:74px}
.tq598-uk-card>span{
  position:absolute;
  right:9px;
  bottom:10px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:#f47b20;
  font-size:18px;
  font-weight:900;
  box-shadow:0 6px 14px rgba(244,123,32,.25);
}
.tq595-hero-photo{display:none!important}
.tq595-step-photo{
  height:122px!important;
  margin-top:18px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.tq595-step-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:12px!important;
}
@media(max-width:1100px){
  .tq598-hero-visual{padding-right:58px;min-height:470px}
  .tq598-london-card{right:-20px;width:160px;height:205px}
  .tq598-doc-card{right:15px;top:195px}
  .tq598-uk-card{right:-12px;top:286px;width:96px;height:108px}
}
@media(max-width:800px){
  .tq561-how .tq561-hero{background-size:auto 100%!important;background-position:center bottom!important}
  .tq561-hero-copy::after{display:none!important}
  .tq598-hero-visual{min-height:480px;padding:0 48px 50px 0}
  .tq598-london-card{right:0;top:52px;width:140px;height:178px}
  .tq598-doc-card{right:24px;top:185px;width:62px;height:62px}
  .tq598-uk-card{right:0;top:267px;width:88px;height:98px}
}
@media(max-width:540px){
  .tq598-hero-visual{padding-right:0;min-height:auto;padding-bottom:215px}
  .tq598-london-card{top:auto;bottom:12px;right:52px;width:132px;height:160px}
  .tq598-doc-card{top:auto;bottom:113px;right:22px;width:56px;height:56px}
  .tq598-uk-card{top:auto;bottom:20px;right:0;width:80px;height:90px}
  .tq595-step-photo{height:104px!important}
}

/* Cases / Requests — family uses tq60-mini directly, so style it as well as normal workflow buttons. */
@media(min-width:981px){
  .tq488-requests-view .tq405-flow>.tq405-step{
    position:relative!important;
    padding-bottom:38px!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq60-mini{
    position:absolute!important;
    left:10px!important;
    right:auto!important;
    bottom:8px!important;
    top:auto!important;
    width:auto!important;
    min-width:54px!important;
    max-width:92px!important;
    min-height:24px!important;
    padding:4px 8px!important;
    margin:0!important;
    border-radius:6px!important;
    font-size:8px!important;
    line-height:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{
    left:10px!important;
    right:auto!important;
    bottom:8px!important;
    justify-content:flex-start!important;
  }
  .tq488-requests-view .tq405-flow>.tq405-step .tq406-step-btn{
    min-width:54px!important;
    max-width:105px!important;
    min-height:24px!important;
    padding:4px 8px!important;
    font-size:8px!important;
    border-radius:6px!important;
  }
}
@media(max-width:980px){
  .tq488-requests-view .tq405-flow>.tq405-step>.tq60-mini{
    width:auto!important;
    min-width:64px!important;
    max-width:110px!important;
    min-height:28px!important;
    padding:5px 9px!important;
    font-size:10px!important;
    align-self:flex-start!important;
  }
}

/* THIQAA 5.99 — compact How It Works hero height.
   Visual-only. All workflow, payment and email/SMTP logic remains unchanged. */
@media(min-width:801px){
  .tq561-how .tq561-hero{
    padding:40px 0 26px!important;
  }
  .tq561-hero-grid{
    gap:58px!important;
    align-items:center!important;
  }
  .tq561-hero-copy h1{
    margin-top:10px!important;
    margin-bottom:14px!important;
  }
  .tq561-hero-copy>p{
    line-height:1.7!important;
  }
  .tq561-actions{
    margin-top:20px!important;
  }
  .tq561-hero-note{
    margin-top:16px!important;
  }
  .tq598-hero-visual{
    min-height:420px!important;
    padding-right:82px!important;
  }
  .tq598-hero-visual .tq561-journey-preview{
    padding:22px 24px!important;
    border-radius:23px!important;
  }
  .tq561-preview-head{
    padding-bottom:12px!important;
  }
  .tq561-eight{
    font-size:39px!important;
  }
  .tq561-preview-stages{
    margin:12px 0 16px!important;
  }
  .tq561-preview-stages a{
    padding:8px 0!important;
    gap:14px!important;
  }
  .tq561-preview-stages>li:not(:last-child)::after{
    top:46px!important;
    bottom:-5px!important;
    inset-inline-start:18px!important;
  }
  .tq561-preview-dot{
    width:38px!important;
    height:38px!important;
    font-size:15px!important;
  }
  .tq561-preview-stages strong{
    font-size:17px!important;
  }
  .tq561-preview-stages a div>span{
    font-size:12px!important;
    margin-top:1px!important;
  }
  .tq561-preview-foot{
    padding:10px 11px!important;
  }
  .tq598-london-card{
    top:40px!important;
    right:-46px!important;
    width:160px!important;
    height:205px!important;
    border-width:6px!important;
    border-radius:21px!important;
  }
  .tq598-doc-card{
    top:166px!important;
    right:-2px!important;
    width:62px!important;
    height:62px!important;
    border-radius:16px!important;
  }
  .tq598-doc-card svg{
    width:31px!important;
    height:31px!important;
  }
  .tq598-uk-card{
    top:244px!important;
    right:-48px!important;
    width:92px!important;
    height:103px!important;
    border-radius:19px!important;
  }
  .tq598-uk-card .tq598-uk{
    width:49px!important;
    height:63px!important;
  }
  .tq598-uk-card>span{
    width:30px!important;
    height:30px!important;
    font-size:16px!important;
  }
}
@media(min-width:801px) and (max-width:1100px){
  .tq598-hero-visual{
    min-height:400px!important;
    padding-right:54px!important;
  }
  .tq598-london-card{
    right:-12px!important;
    width:145px!important;
    height:184px!important;
  }
  .tq598-doc-card{
    right:20px!important;
    top:160px!important;
  }
  .tq598-uk-card{
    right:-6px!important;
    top:235px!important;
  }
}

/* THIQAA 6.00 — How It Works only.
   Match the approved London hero more closely. No Cases/workflow/payment/email changes. */
@media(min-width:1101px){
  .tq561-how .tq561-hero{
    padding:30px 0 18px!important;
    background:#f6f9fb url('assets/images/how-it-works/hero-bg-v600.png') center bottom/100% 100% no-repeat!important;
  }
  .tq561-how .tq561-hero>.container{
    width:min(1500px,calc(100% - 72px))!important;
    max-width:1500px!important;
  }
  .tq561-hero-grid{
    grid-template-columns:minmax(0,1.04fr) minmax(500px,.96fr)!important;
    gap:68px!important;
    align-items:center!important;
  }
  .tq561-hero-copy{
    padding:4px 0 10px!important;
    max-width:720px;
  }
  .tq561-hero-copy h1{
    font-size:clamp(46px,4.1vw,66px)!important;
    margin:10px 0 15px!important;
  }
  .tq561-hero-copy>p{
    max-width:680px!important;
    font-size:17px!important;
    line-height:1.65!important;
  }
  .tq561-actions{margin-top:20px!important}
  .tq561-hero-note{margin-top:15px!important}
  .tq561-hero-copy::after{
    top:44px!important;
    right:-126px!important;
    width:118px!important;
    height:84px!important;
  }
  .tq598-hero-visual{
    min-height:390px!important;
    padding:0 148px 0 0!important;
  }
  .tq598-hero-visual .tq561-journey-preview{
    width:430px!important;
    max-width:430px!important;
    margin:0!important;
    padding:22px 24px!important;
    border-radius:24px!important;
    box-shadow:0 22px 48px rgba(11,45,72,.16)!important;
  }
  .tq561-preview-head{padding-bottom:13px!important}
  .tq561-eight{font-size:40px!important}
  .tq561-preview-stages{margin:12px 0 16px!important}
  .tq561-preview-stages a{padding:8px 0!important;gap:14px!important}
  .tq561-preview-dot{width:39px!important;height:39px!important;font-size:15px!important}
  .tq561-preview-stages strong{font-size:17px!important}
  .tq561-preview-foot{padding:10px 12px!important}
  .tq598-london-card{
    right:-2px!important;
    top:42px!important;
    width:186px!important;
    height:225px!important;
    border-width:6px!important;
    border-radius:23px!important;
    transform:rotate(-4deg)!important;
    box-shadow:0 18px 42px rgba(11,45,72,.13)!important;
  }
  .tq598-doc-card{
    right:27px!important;
    top:181px!important;
    width:66px!important;
    height:66px!important;
    border-radius:17px!important;
  }
  .tq598-uk-card{
    right:-18px!important;
    top:267px!important;
    width:108px!important;
    height:119px!important;
    border-radius:21px!important;
  }
  .tq598-uk-card .tq598-uk{width:57px!important;height:72px!important}
  .tq598-uk-card>span{width:32px!important;height:32px!important;font-size:17px!important}
}

@media(min-width:801px) and (max-width:1100px){
  .tq561-how .tq561-hero{
    padding:30px 0 20px!important;
    background:#f6f9fb url('assets/images/how-it-works/hero-bg-v600.png') center bottom/auto 100% no-repeat!important;
  }
  .tq561-how .tq561-hero>.container{
    width:min(100% - 42px,1180px)!important;
  }
  .tq561-hero-grid{gap:34px!important}
  .tq598-hero-visual{min-height:390px!important;padding-right:74px!important}
  .tq598-hero-visual .tq561-journey-preview{padding:21px!important}
  .tq598-london-card{right:-4px!important;top:45px!important;width:148px!important;height:184px!important}
  .tq598-doc-card{right:22px!important;top:166px!important;width:58px!important;height:58px!important}
  .tq598-uk-card{right:-2px!important;top:238px!important;width:88px!important;height:98px!important}
}

@media(max-width:800px){
  .tq561-how .tq561-hero{
    background:#f6f9fb url('assets/images/how-it-works/hero-bg-v600.png') center bottom/auto 100% no-repeat!important;
  }
}


/* THIQAA 6.01 — How It Works desktop hero matched to the approved reference image only.
   No changes to Cases, workflow logic, payment logic, or email/SMTP. */
.tq601-hero-reference-wrap{display:none}
.tq601-hero-reference{margin:0;position:relative}
.tq601-hero-reference img{display:block;width:100%;height:auto}
.tq601-link-service,.tq601-link-steps{display:none}
@media(min-width:981px){
  .tq601-hero{padding:0!important;background:#f4f8fb!important;border-bottom:1px solid #dce6ec!important;overflow:hidden!important}
  .tq601-hero-reference-wrap{display:block!important;max-width:2048px;margin:0 auto;position:relative;z-index:2}
  .tq601-hero .tq601-mobile-fallback{display:none!important}
  .tq601-link-service,.tq601-link-steps{display:block;position:absolute;z-index:5}
  .tq601-link-service{left:9.7%;top:60.7%;width:15.2%;height:10.2%}
  .tq601-link-steps{left:25.6%;top:60.8%;width:13.2%;height:8.8%}
}
@media(max-width:980px){
  .tq601-hero-reference-wrap{display:none!important}
}


/* THIQAA 6.02 — refine approved hero: no visible inner image box, shorter height, and clickable journey steps. */
@media(min-width:981px){
  .tq601-hero{
    position:relative!important;
    padding:0!important;
    min-height:590px!important;
    background:#eef5fa!important;
  }
  .tq601-hero-reference-wrap{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    position:relative!important;
    z-index:2!important;
  }
  .tq601-hero-reference{
    position:relative!important;
    width:100%!important;
    min-height:590px!important;
    height:min(590px, 42vw)!important;
    margin:0!important;
    background:#eef5fa url('assets/images/how-it-works/hero-reference-v601.png') center center/cover no-repeat!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference img{display:none!important}
  .tq601-link-service,.tq601-link-steps,.tq601-link-phase1,.tq601-link-phase2,.tq601-link-phase3{
    display:block!important;
    position:absolute!important;
    z-index:5!important;
    text-indent:-9999px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    border-radius:10px!important;
  }
  .tq601-link-service{left:9.6%!important;top:60.1%!important;width:15.2%!important;height:10.6%!important}
  .tq601-link-steps{left:25.4%!important;top:60.6%!important;width:13.4%!important;height:8.6%!important}
  .tq601-link-phase1{left:58.2%!important;top:26.7%!important;width:24.2%!important;height:15.0%!important}
  .tq601-link-phase2{left:58.2%!important;top:45.0%!important;width:24.2%!important;height:15.0%!important}
  .tq601-link-phase3{left:58.2%!important;top:62.9%!important;width:24.2%!important;height:15.0%!important}
}
@media(min-width:981px) and (max-width:1400px){
  .tq601-hero{min-height:530px!important}
  .tq601-hero-reference{min-height:530px!important;height:min(530px,45vw)!important}
}


/* THIQAA 6.03 — responsive hero refinement for wide desktop + tablet/mobile fallback. */
.tq601-hero{border-bottom:none!important}
.tq601-hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:20px;background:linear-gradient(to bottom,rgba(239,246,251,0),#eef5fa 88%);pointer-events:none;z-index:3}
@media(min-width:1200px){
  .tq601-hero{min-height:auto!important;background:#eef5fa!important;overflow:hidden!important}
  .tq601-hero-reference-wrap{display:block!important;width:100%!important;max-width:1820px!important;margin:0 auto!important;padding:0 18px!important;box-sizing:border-box!important;position:relative!important;z-index:2!important}
  .tq601-hero-reference{position:relative!important;width:100%!important;max-width:1788px!important;margin:0 auto!important;aspect-ratio:2056/765!important;min-height:auto!important;height:auto!important;background:none!important;overflow:hidden!important}
  .tq601-hero-reference img{display:block!important;width:100%!important;height:auto!important}
  .tq601-link-service,.tq601-link-steps,.tq601-link-phase1,.tq601-link-phase2,.tq601-link-phase3{display:block!important;position:absolute!important;z-index:5!important;text-indent:-9999px!important;overflow:hidden!important;white-space:nowrap!important;border-radius:10px!important}
  .tq601-link-service{left:9.7%!important;top:60.6%!important;width:15.1%!important;height:10.1%!important}
  .tq601-link-steps{left:25.8%!important;top:60.8%!important;width:13.1%!important;height:8.5%!important}
  .tq601-link-phase1{left:58.0%!important;top:24.9%!important;width:23.7%!important;height:15.4%!important}
  .tq601-link-phase2{left:58.0%!important;top:43.4%!important;width:23.7%!important;height:15.4%!important}
  .tq601-link-phase3{left:58.0%!important;top:61.7%!important;width:23.7%!important;height:15.4%!important}
  .tq601-mobile-fallback{display:none!important}
}
@media(min-width:981px) and (max-width:1199px){
  .tq601-hero-reference-wrap{display:none!important}
  .tq601-mobile-fallback{display:block!important}
  .tq561-hero{padding:64px 0 48px!important}
  .tq561-hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr)!important;gap:28px!important;align-items:center!important}
  .tq561-heading{font-size:clamp(40px,4.6vw,62px)!important}
  .tq561-summary{font-size:18px!important}
  .tq561-actions{gap:18px!important;flex-wrap:wrap!important}
  .tq561-journey-preview{max-width:470px!important;margin-left:auto!important}
}
@media(max-width:980px){
  .tq601-hero-reference-wrap{display:none!important}
  .tq601-mobile-fallback{display:block!important}
}


/* THIQAA 6.04 — full-bleed approved hero image on desktop, responsive fallback on tablet/mobile.
   Removes the visible inner rectangle/line and preserves clickable hotspots. */
.tq601-hero::after{content:none!important;display:none!important}
@media(min-width:1200px){
  .tq601-hero{
    position:relative!important;
    padding:0!important;
    margin:0!important;
    min-height:0!important;
    background:#eef5fa!important;
    border:0!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference-wrap{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    z-index:2!important;
  }
  .tq601-hero-reference{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:2056/620!important;
    margin:0!important;
    padding:0!important;
    background:none!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    margin:0!important;
    padding:0!important;
  }
  .tq601-mobile-fallback{display:none!important}
  .tq601-link-service,.tq601-link-steps,.tq601-link-phase1,.tq601-link-phase2,.tq601-link-phase3{
    display:block!important;
    position:absolute!important;
    z-index:6!important;
    overflow:hidden!important;
    color:transparent!important;
    text-indent:-9999px!important;
    white-space:nowrap!important;
    background:transparent!important;
    border-radius:12px!important;
  }
  .tq601-link-service{left:9.55%!important;top:61.2%!important;width:15.35%!important;height:12.2%!important}
  .tq601-link-steps{left:25.6%!important;top:61.7%!important;width:13.4%!important;height:10.4%!important}
  .tq601-link-phase1{left:57.6%!important;top:17.2%!important;width:24.8%!important;height:18.2%!important}
  .tq601-link-phase2{left:57.6%!important;top:39.6%!important;width:24.8%!important;height:18.2%!important}
  .tq601-link-phase3{left:57.6%!important;top:61.5%!important;width:24.8%!important;height:18.2%!important}
  .tq601-link-service:focus-visible,.tq601-link-steps:focus-visible,.tq601-link-phase1:focus-visible,.tq601-link-phase2:focus-visible,.tq601-link-phase3:focus-visible{
    outline:3px solid #f47b20!important;
    outline-offset:-3px!important;
  }
}
@media(min-width:981px) and (max-width:1199px){
  .tq601-hero-reference-wrap{display:none!important}
  .tq601-mobile-fallback{display:grid!important}
  .tq561-how .tq561-hero{padding:54px 0 42px!important;background:#f6f9fb!important}
  .tq561-hero-grid{grid-template-columns:minmax(0,1fr) minmax(350px,.9fr)!important;gap:28px!important;align-items:center!important}
  .tq561-hero-copy h1{font-size:clamp(38px,4.5vw,56px)!important}
  .tq561-journey-preview{width:100%!important;max-width:455px!important;margin-inline:auto!important}
  .tq598-hero-visual{min-height:430px!important;padding-right:44px!important}
}
@media(max-width:980px){
  .tq601-hero-reference-wrap{display:none!important}
  .tq601-mobile-fallback{display:grid!important}
  .tq601-hero{background:#f6f9fb!important}
}


/* THIQAA 6.05 — make desktop hero slightly shorter, reduce the journey card scale,
   and remove the bottom line/artifact while keeping tablet/mobile fallback intact. */
.tq601-hero,.tq601-hero-reference-wrap,.tq601-hero-reference{border-bottom:none!important;box-shadow:none!important}
@media(min-width:1200px){
  .tq601-hero{
    padding:0!important;
    margin:0!important;
    background:#eef5fa!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference-wrap{
    max-width:1700px!important;
    margin:0 auto!important;
    padding:12px 28px 0!important;
    box-sizing:border-box!important;
  }
  .tq601-hero-reference{
    aspect-ratio:2056/600!important;
    clip-path:inset(0 0 8px 0)!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference img{
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
    display:block!important;
    margin:0!important;
  }
  .tq601-link-service{left:10.2%!important;top:61.8%!important;width:14.9%!important;height:11.8%!important}
  .tq601-link-steps{left:25.8%!important;top:62.1%!important;width:13.0%!important;height:10.1%!important}
  .tq601-link-phase1{left:58.6%!important;top:18.1%!important;width:22.8%!important;height:17.0%!important}
  .tq601-link-phase2{left:58.6%!important;top:40.0%!important;width:22.8%!important;height:17.0%!important}
  .tq601-link-phase3{left:58.6%!important;top:61.5%!important;width:22.8%!important;height:17.0%!important}
}


/* THIQAA 6.06 — remove the visible inner boxed image on the desktop hero,
   keep the approved artwork full-bleed, make the hero a little shorter,
   and strip the thin bottom line/artifact. */
.tq601-hero,
.tq601-hero-reference-wrap,
.tq601-hero-reference,
.tq601-hero-reference img{
  border:0!important;
  box-shadow:none!important;
}
@media(min-width:1200px){
  .tq601-hero{
    position:relative!important;
    padding:0!important;
    margin:0!important;
    min-height:0!important;
    background:#eef5fa!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference-wrap{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    z-index:2!important;
    overflow:hidden!important;
  }
  .tq601-hero-reference{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    aspect-ratio:2056/600!important;
    overflow:hidden!important;
    clip-path:inset(0 0 10px 0)!important;
    background:none!important;
  }
  .tq601-hero-reference img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    object-fit:fill!important;
  }
  .tq601-link-service,.tq601-link-steps,.tq601-link-phase1,.tq601-link-phase2,.tq601-link-phase3{
    display:block!important;
    position:absolute!important;
    z-index:10!important;
    text-indent:-9999px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    background:transparent!important;
    color:transparent!important;
    border-radius:12px!important;
  }
  .tq601-link-service{left:10.35%!important;top:61.7%!important;width:14.55%!important;height:11.6%!important}
  .tq601-link-steps{left:25.95%!important;top:62.0%!important;width:12.8%!important;height:9.8%!important}
  .tq601-link-phase1{left:58.7%!important;top:18.8%!important;width:22.0%!important;height:16.4%!important}
  .tq601-link-phase2{left:58.7%!important;top:40.6%!important;width:22.0%!important;height:16.4%!important}
  .tq601-link-phase3{left:58.7%!important;top:62.0%!important;width:22.0%!important;height:16.4%!important}
}
@media(min-width:1200px) and (max-width:1500px){
  .tq601-hero-reference{aspect-ratio:2056/590!important}
}


/* THIQAA 6.07 — rebuild the How It Works desktop hero from the live HTML/CSS only.
   Do not use the previous full-image desktop reference. Shorter hero, smaller journey card,
   no inner rectangle, no bottom line, responsive desktop/tablet/mobile. */

/* Never show the old full-image desktop reference anymore. */
.tq601-hero-reference-wrap{display:none!important}
.tq601-mobile-fallback{display:grid!important}

/* Remove old border/line artifacts. */
.tq561-how .tq561-hero,
.tq561-how .tq561-hero::before,
.tq561-how .tq561-hero::after,
.tq601-hero,
.tq601-hero-reference,
.tq601-hero-reference-wrap{
  border:0!important;
  box-shadow:none!important;
}

/* Desktop / large laptop */
@media(min-width:1200px){
  .tq561-how .tq561-hero{
    position:relative!important;
    overflow:hidden!important;
    padding:28px 0 10px!important;
    margin:0!important;
    background:#f6f9fb url('assets/images/how-it-works/hero-bg-v600.png') center bottom/cover no-repeat!important;
  }
  .tq561-how .tq561-hero > .container{
    width:min(1480px, calc(100% - 56px))!important;
    max-width:1480px!important;
  }
  .tq561-hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(390px,.82fr)!important;
    gap:34px!important;
    align-items:center!important;
  }
  .tq561-hero-copy{
    position:relative!important;
    padding:8px 0 2px!important;
    max-width:760px!important;
  }
  .tq561-hero-copy h1{
    font-size:clamp(54px,4.4vw,74px)!important;
    line-height:1.03!important;
    margin:12px 0 14px!important;
    max-width:760px!important;
  }
  .tq561-hero-copy > p{
    max-width:700px!important;
    font-size:17px!important;
    line-height:1.58!important;
    margin:0!important;
  }
  .tq561-actions{
    margin-top:18px!important;
    gap:24px!important;
    align-items:center!important;
  }
  .tq561-hero-note{
    margin-top:16px!important;
  }
  .tq561-hero-copy::after{
    top:46px!important;
    right:-116px!important;
    width:116px!important;
    height:82px!important;
  }

  .tq598-hero-visual{
    position:relative!important;
    min-width:0!important;
    min-height:372px!important;
    padding:0 110px 0 0!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-end!important;
  }
  .tq598-hero-visual .tq561-journey-preview{
    position:relative!important;
    z-index:4!important;
    flex:0 0 392px!important;
    width:392px!important;
    max-width:392px!important;
    margin:0!important;
    padding:21px 22px!important;
    border-radius:22px!important;
    background:linear-gradient(150deg,#0f4267,#071f33)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 18px 40px rgba(11,45,72,.18)!important;
  }
  .tq561-preview-head{
    padding-bottom:11px!important;
  }
  .tq561-preview-head .tq561-kicker{
    font-size:11px!important;
    letter-spacing:.11em!important;
  }
  .tq561-eight{
    font-size:36px!important;
  }
  .tq561-eight span{
    font-size:11px!important;
  }
  .tq561-preview-stages{
    margin:12px 0 15px!important;
  }
  .tq561-preview-stages a{
    padding:8px 0!important;
    gap:12px!important;
  }
  .tq561-preview-stages > li:not(:last-child)::after{
    inset-inline-start:18px!important;
    top:43px!important;
    bottom:-4px!important;
  }
  .tq561-preview-dot{
    width:38px!important;
    height:38px!important;
    font-size:15px!important;
    flex:0 0 38px!important;
  }
  .tq561-preview-stages strong{
    font-size:17px!important;
    line-height:1.15!important;
  }
  .tq561-preview-stages a div > span{
    font-size:11px!important;
    margin-top:2px!important;
  }
  .tq561-stage-arrow{
    font-size:20px!important;
  }
  .tq561-preview-foot{
    padding:10px 12px!important;
    font-size:13px!important;
    border-radius:14px!important;
  }

  .tq598-london-card{
    right:0!important;
    top:42px!important;
    width:170px!important;
    height:210px!important;
    border-width:6px!important;
    border-radius:22px!important;
    transform:rotate(-5deg)!important;
    box-shadow:0 16px 36px rgba(11,45,72,.14)!important;
  }
  .tq598-doc-card{
    right:26px!important;
    top:170px!important;
    width:64px!important;
    height:64px!important;
    border-radius:16px!important;
  }
  .tq598-doc-card svg{
    width:31px!important;
    height:31px!important;
  }
  .tq598-uk-card{
    right:-16px!important;
    top:256px!important;
    width:92px!important;
    height:104px!important;
    border-radius:20px!important;
  }
  .tq598-uk-card .tq598-uk{
    width:48px!important;
    height:62px!important;
  }
  .tq598-uk-card > span{
    width:30px!important;
    height:30px!important;
    font-size:16px!important;
  }

  /* prevent any thin line from showing at the bottom edge */
  .tq561-how .tq561-hero::after,
  .tq561-how .tq561-hero::before{content:none!important;display:none!important}
}

/* Tablet */
@media(min-width:801px) and (max-width:1199px){
  .tq561-how .tq561-hero{
    padding:28px 0 14px!important;
    background:#f6f9fb url('assets/images/how-it-works/hero-bg-v600.png') center bottom/cover no-repeat!important;
    overflow:hidden!important;
    border:0!important;
  }
  .tq561-how .tq561-hero > .container{
    width:min(100% - 40px, 1180px)!important;
  }
  .tq561-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(340px,.86fr)!important;
    gap:24px!important;
    align-items:center!important;
  }
  .tq561-hero-copy h1{
    font-size:clamp(42px,5.2vw,58px)!important;
    margin:10px 0 14px!important;
  }
  .tq561-hero-copy > p{
    font-size:17px!important;
    line-height:1.6!important;
  }
  .tq561-actions{margin-top:18px!important}
  .tq561-hero-note{margin-top:14px!important}
  .tq598-hero-visual{
    min-height:365px!important;
    padding-right:70px!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:flex-start!important;
  }
  .tq598-hero-visual .tq561-journey-preview{
    width:360px!important;
    max-width:360px!important;
    padding:20px!important;
    border-radius:22px!important;
  }
  .tq598-london-card{
    right:-2px!important;
    top:40px!important;
    width:148px!important;
    height:184px!important;
  }
  .tq598-doc-card{
    right:18px!important;
    top:156px!important;
    width:58px!important;
    height:58px!important;
  }
  .tq598-doc-card svg{width:28px!important;height:28px!important}
  .tq598-uk-card{
    right:-6px!important;
    top:228px!important;
    width:84px!important;
    height:96px!important;
  }
  .tq598-uk-card .tq598-uk{width:44px!important;height:57px!important}
  .tq598-uk-card > span{width:28px!important;height:28px!important;font-size:15px!important}
}

/* Mobile */
@media(max-width:800px){
  .tq561-how .tq561-hero{
    padding:30px 0 18px!important;
    background:#f6f9fb url('assets/images/how-it-works/hero-bg-v600.png') center bottom/cover no-repeat!important;
    overflow:hidden!important;
    border:0!important;
  }
  .tq561-how .tq561-hero > .container{
    width:min(100% - 26px, 760px)!important;
  }
  .tq561-hero-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:24px!important;
  }
  .tq561-hero-copy h1{
    font-size:clamp(36px,11vw,52px)!important;
    margin:10px 0 14px!important;
  }
  .tq561-hero-copy > p{
    font-size:17px!important;
    line-height:1.6!important;
  }
  .tq561-actions{
    gap:14px!important;
    margin-top:18px!important;
  }
  .tq561-hero-note{margin-top:14px!important}
  .tq561-hero-copy::after{display:none!important}
  .tq598-hero-visual{
    padding:0 44px 12px 0!important;
    min-height:0!important;
    display:flex!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
  }
  .tq598-hero-visual .tq561-journey-preview{
    width:min(100%,380px)!important;
    max-width:380px!important;
    padding:20px 18px!important;
    border-radius:20px!important;
  }
  .tq598-london-card{
    right:0!important;
    top:28px!important;
    width:132px!important;
    height:164px!important;
  }
  .tq598-doc-card{
    right:18px!important;
    top:130px!important;
    width:52px!important;
    height:52px!important;
  }
  .tq598-doc-card svg{width:24px!important;height:24px!important}
  .tq598-uk-card{
    right:-2px!important;
    top:200px!important;
    width:78px!important;
    height:88px!important;
  }
  .tq598-uk-card .tq598-uk{width:40px!important;height:52px!important}
  .tq598-uk-card > span{width:26px!important;height:26px!important;font-size:14px!important}
}

@media(max-width:540px){
  .tq561-how .tq561-hero{padding:26px 0 16px!important}
  .tq561-actions{flex-direction:column!important;align-items:flex-start!important}
  .tq598-hero-visual{padding:0 0 210px 0!important;min-height:auto!important}
  .tq598-london-card{top:auto!important;bottom:18px!important;right:42px!important;width:124px!important;height:150px!important}
  .tq598-doc-card{top:auto!important;bottom:108px!important;right:16px!important;width:52px!important;height:52px!important}
  .tq598-uk-card{top:auto!important;bottom:18px!important;right:0!important;width:76px!important;height:86px!important}
  .tq598-hero-visual .tq561-journey-preview{width:100%!important;max-width:none!important}
}


/* THIQAA 6.08 — critical display fix for rebuilt How It Works hero.
   v6.07 hid the rebuilt live hero on large desktop because an older,
   more-specific rule still set the fallback grid to display:none.
   Force the rebuilt HTML/CSS hero visible at every viewport and keep
   the old full-image reference permanently disabled. */
.tq561-how .tq601-hero .tq601-hero-reference-wrap{
  display:none!important;
}
.tq561-how .tq601-hero .tq601-mobile-fallback{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
}

@media(min-width:1200px){
  .tq561-how .tq601-hero .tq601-mobile-fallback{
    display:grid!important;
  }
}
@media(min-width:801px) and (max-width:1199px){
  .tq561-how .tq601-hero .tq601-mobile-fallback{
    display:grid!important;
  }
}
@media(max-width:800px){
  .tq561-how .tq601-hero .tq601-mobile-fallback{
    display:grid!important;
  }
}

/* =========================================================
   THIQAA v6.11 — How It Works hero rebuilt cleanly
   Uses only the Page Images background for How It Works.
   The text, buttons and navy journey card remain real page elements.
   ========================================================= */
.tq611-hero{
  position:relative!important;
  padding:44px 0 34px!important;
  background:#eef5fa!important;
  border-bottom:none!important;
  overflow:hidden!important;
}
.tq611-hero::before,
.tq611-hero::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
}
.tq611-hero::before{
  background:
    linear-gradient(90deg,rgba(238,245,250,.97) 0%,rgba(238,245,250,.92) 28%,rgba(238,245,250,.76) 52%,rgba(238,245,250,.66) 100%),
    var(--tq611-how-bg, none);
  background-repeat:no-repeat,no-repeat;
  background-position:center center,center bottom;
  background-size:cover,cover;
  z-index:0;
}
.tq611-hero::after{
  background:
    radial-gradient(60% 120% at 0% 100%, rgba(255,216,188,.75) 0, rgba(255,216,188,.75) 20%, rgba(255,216,188,0) 21%),
    radial-gradient(58% 120% at 100% 100%, rgba(255,216,188,.6) 0, rgba(255,216,188,.6) 18%, rgba(255,216,188,0) 19%),
    linear-gradient(180deg, rgba(255,255,255,0) 68%, rgba(238,245,250,.84) 100%);
  z-index:0;
}
.tq611-hero > .container,
.tq611-hero .tq611-hero-grid,
.tq611-hero .tq611-hero-copy,
.tq611-hero .tq611-hero-visual,
.tq611-hero .tq561-journey-preview{position:relative;z-index:1}
.tq611-hero .tq561-hero-copy::after,
.tq611-hero .tq601-hero-reference-wrap,
.tq611-hero .tq601-hero-reference,
.tq611-hero .tq601-link-service,
.tq611-hero .tq601-link-steps,
.tq611-hero .tq601-link-phase1,
.tq611-hero .tq601-link-phase2,
.tq611-hero .tq601-link-phase3{display:none!important}
.tq611-hero .tq611-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr)!important;
  gap:36px!important;
  align-items:center!important;
}
.tq611-hero .tq611-hero-copy{max-width:690px}
.tq611-hero .tq561-kicker{color:#ff6b22;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.tq611-hero .tq561-hero-copy h1{
  margin:14px 0 16px!important;
  max-width:760px!important;
  font-size:clamp(46px,4.4vw,64px)!important;
  line-height:1.02!important;
  color:#0b2d48!important;
}
.tq611-hero .tq561-hero-copy>p{
  margin:0!important;
  max-width:640px!important;
  font-size:18px!important;
  line-height:1.65!important;
  color:#4b6170!important;
}
.tq611-hero .tq561-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:28px}
.tq611-hero .tq561-text-link{
  display:inline-flex;align-items:center;gap:10px;
  color:#0b2d48;font-weight:800;font-size:16px;text-decoration:none
}
.tq611-hero .tq561-text-link:hover{color:#ff6b22}
.tq611-hero .tq561-hero-note{
  margin-top:18px!important;
  display:flex;align-items:center;gap:10px;
  color:#526777;font-size:14px
}
.tq611-hero .tq561-hero-note>span{
  width:28px;height:28px;border-radius:999px;
  display:grid;place-items:center;
  background:#d7f0e3;color:#0a7c61;font-weight:900
}
.tq611-hero .tq611-hero-visual{
  min-height:350px!important;
  padding-right:112px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
.tq611-hero .tq561-journey-preview{
  width:min(100%,400px)!important;
  margin:0!important;
  padding:22px 22px 18px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#0f4d80 0%, #072d4b 100%)!important;
  color:#fff!important;
  box-shadow:0 22px 46px rgba(8,39,63,.22)!important;
}
.tq611-hero .tq561-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.tq611-hero .tq561-preview-head .tq561-kicker{color:#ff8b3d!important;letter-spacing:.09em}
.tq611-hero .tq561-eight{font-size:34px;font-weight:900;line-height:1;text-align:right;color:#fff}
.tq611-hero .tq561-eight span{display:block;margin-top:4px;font-size:12px;font-weight:600;color:#d5e3ee}
.tq611-hero .tq561-preview-stages{margin:0;padding:0;list-style:none}
.tq611-hero .tq561-preview-stages li+li{border-top:1px solid rgba(255,255,255,.11)}
.tq611-hero .tq561-preview-stages a{
  display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:14px;
  color:#fff;text-decoration:none;padding:14px 0
}
.tq611-hero .tq561-preview-stages strong{display:block;font-size:16px;line-height:1.2}
.tq611-hero .tq561-preview-stages span:last-child,
.tq611-hero .tq561-preview-stages div>span{font-size:12px;color:#d4e2ec}
.tq611-hero .tq561-preview-dot{
  width:42px;height:42px;border-radius:999px;
  display:grid;place-items:center;background:#ff6b22;color:#fff;font-weight:900
}
.tq611-hero .tq561-stage-arrow{font-size:18px;color:#ff8b3d}
.tq611-hero .tq561-preview-foot{
  margin-top:12px;padding:14px 16px;border-radius:16px;
  display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#e7f0f6
}
.tq611-hero .tq561-preview-foot svg{width:20px;height:20px;color:#ff8b3d;flex:0 0 auto}
.tq611-hero .tq598-london-card{
  top:16px!important;right:0!important;
  width:136px!important;height:176px!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 16px 34px rgba(11,45,72,.12)!important;
}
.tq611-hero .tq598-doc-card{
  right:20px!important;top:146px!important;
  width:64px!important;height:64px!important;
  border-radius:18px!important;
  background:#fff!important;color:#153f5f!important;
  display:grid!important;place-items:center!important;
  box-shadow:0 14px 28px rgba(11,45,72,.12)!important;
}
.tq611-hero .tq598-doc-card svg{width:32px!important;height:32px!important}
.tq611-hero .tq598-uk-card{
  right:8px!important;top:216px!important;
  width:98px!important;height:110px!important;
  border-radius:22px!important;background:#fff!important;
  box-shadow:0 16px 30px rgba(11,45,72,.12)!important;
}
.tq611-hero .tq598-uk-card .tq598-uk{width:58px!important;height:74px!important}
.tq611-hero .tq598-uk-card>span{
  width:34px!important;height:34px!important;border-radius:999px!important;
  display:grid!important;place-items:center!important;
  background:#ff7d2f!important;color:#fff!important;font-size:18px!important;font-weight:900!important;
  bottom:12px!important;right:12px!important
}
@media(max-width:1180px){
  .tq611-hero{padding:40px 0 32px!important}
  .tq611-hero .tq611-hero-grid{grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)!important;gap:28px!important}
  .tq611-hero .tq611-hero-visual{padding-right:96px!important;min-height:332px!important}
  .tq611-hero .tq561-journey-preview{width:min(100%,372px)!important}
}
@media(max-width:980px){
  .tq611-hero::before{background:
    linear-gradient(180deg,rgba(238,245,250,.94) 0%,rgba(238,245,250,.84) 44%,rgba(238,245,250,.72) 100%),
    var(--tq611-how-bg, none);
    background-repeat:no-repeat,no-repeat;
    background-position:center top,center bottom;
    background-size:cover,cover;
  }
  .tq611-hero .tq611-hero-grid{grid-template-columns:1fr!important;gap:28px!important}
  .tq611-hero .tq611-hero-copy{max-width:none}
  .tq611-hero .tq611-hero-visual{min-height:360px!important;padding-right:104px!important;justify-content:flex-start!important}
}
@media(max-width:760px){
  .tq611-hero{padding:34px 0 26px!important}
  .tq611-hero .tq561-kicker{font-size:11px}
  .tq611-hero .tq561-hero-copy h1{font-size:clamp(34px,10vw,46px)!important;line-height:1.05!important}
  .tq611-hero .tq561-hero-copy>p{font-size:16px!important;line-height:1.7!important}
  .tq611-hero .tq561-actions{gap:14px;margin-top:22px}
  .tq611-hero .tq561-actions .btn{width:100%}
  .tq611-hero .tq611-hero-visual{
    min-height:auto!important;
    padding-right:0!important;
    padding-bottom:190px!important;
    justify-content:stretch!important;
  }
  .tq611-hero .tq561-journey-preview{width:100%!important;max-width:none!important}
  .tq611-hero .tq598-london-card{top:auto!important;bottom:12px!important;right:52px!important;width:122px!important;height:154px!important}
  .tq611-hero .tq598-doc-card{top:auto!important;bottom:104px!important;right:16px!important;width:56px!important;height:56px!important}
  .tq611-hero .tq598-uk-card{top:auto!important;bottom:14px!important;right:0!important;width:86px!important;height:98px!important}
}
@media(max-width:520px){
  .tq611-hero .tq561-preview-stages a{grid-template-columns:46px 1fr auto;gap:10px;padding:12px 0}
  .tq611-hero .tq561-preview-dot{width:38px;height:38px}
  .tq611-hero .tq561-preview-stages strong{font-size:15px}
  .tq611-hero .tq561-preview-foot{padding:12px 13px}
}

/* =========================================================
   THIQAA v6.12 — Page Images live background fix
   The How It Works background is now a real <img> layer sourced
   directly from Dashboard > Page Images, avoiding old pseudo-element
   overrides that prevented the selected image from appearing.
   ========================================================= */
.tq611-hero{
  position:relative!important;
  isolation:isolate!important;
  background:#eef5fa!important;
}
.tq611-hero::before,
.tq611-hero::after{content:none!important;display:none!important}
.tq612-hero-bg{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center bottom!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  pointer-events:none!important;
}
.tq612-hero-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,
    rgba(238,245,250,.93) 0%,
    rgba(238,245,250,.84) 28%,
    rgba(238,245,250,.54) 53%,
    rgba(238,245,250,.34) 74%,
    rgba(238,245,250,.20) 100%)!important;
}
.tq611-hero > .container{position:relative!important;z-index:2!important}
@media(max-width:980px){
  .tq612-hero-bg{object-position:center bottom!important}
  .tq612-hero-overlay{
    background:linear-gradient(180deg,
      rgba(238,245,250,.92) 0%,
      rgba(238,245,250,.78) 48%,
      rgba(238,245,250,.48) 100%)!important;
  }
}

/* =========================================================
   THIQAA 6.13 — How It Works image sized like the other inner pages.
   The selected Page Images photo is now a normal right-side page image,
   not a full-width page background. The live content and journey card remain separate.
   ========================================================= */
.tq611-hero.tq561-hero{
  position:relative!important;
  isolation:auto!important;
  overflow:hidden!important;
  padding:54px 0 52px!important;
  background:linear-gradient(120deg,#f7fafc,#fff 60%,#f5f8fa)!important;
  border-bottom:0!important;
}
.tq611-hero::before,
.tq611-hero::after,
.tq612-hero-bg,
.tq612-hero-overlay{display:none!important;content:none!important}
.tq611-hero > .container{
  position:relative!important;
  z-index:1!important;
  width:min(1180px,calc(100% - 40px))!important;
}
.tq611-hero .tq611-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.03fr) minmax(430px,.97fr)!important;
  gap:54px!important;
  align-items:center!important;
}
.tq611-hero .tq611-hero-copy{
  max-width:650px!important;
  padding:4px 0!important;
}
.tq611-hero .tq561-hero-copy h1{
  font-size:clamp(42px,4.2vw,58px)!important;
  margin:12px 0 16px!important;
  line-height:1.04!important;
}
.tq611-hero .tq561-hero-copy>p{
  max-width:620px!important;
  font-size:17px!important;
  line-height:1.68!important;
}
.tq611-hero .tq561-actions{margin-top:24px!important}
.tq611-hero .tq561-hero-note{margin-top:17px!important}

.tq613-hero-visual{
  position:relative!important;
  min-height:390px!important;
  padding:0!important;
  display:block!important;
}
.tq613-how-image-card{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:365px!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:#eef3f6!important;
  border:1px solid #dfe7ed!important;
  box-shadow:0 20px 44px rgba(11,45,72,.12)!important;
}
.tq613-how-image-card img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
}

/* Compact journey card layered over the page image rather than making the image full-width. */
.tq611-hero .tq613-journey-card{
  position:absolute!important;
  z-index:3!important;
  left:-44px!important;
  bottom:-24px!important;
  width:320px!important;
  max-width:calc(100% - 24px)!important;
  margin:0!important;
  padding:18px 18px 15px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#0f4d80 0%,#072d4b 100%)!important;
  box-shadow:0 18px 40px rgba(8,39,63,.23)!important;
}
.tq611-hero .tq613-journey-card .tq561-preview-head{margin-bottom:7px!important;padding-bottom:8px!important}
.tq611-hero .tq613-journey-card .tq561-preview-head .tq561-kicker{font-size:9px!important;letter-spacing:.09em!important}
.tq611-hero .tq613-journey-card .tq561-eight{font-size:29px!important}
.tq611-hero .tq613-journey-card .tq561-eight span{font-size:9px!important}
.tq611-hero .tq613-journey-card .tq561-preview-stages{margin:0!important}
.tq611-hero .tq613-journey-card .tq561-preview-stages a{
  grid-template-columns:38px 1fr auto!important;
  gap:10px!important;
  padding:8px 0!important;
}
.tq611-hero .tq613-journey-card .tq561-preview-dot{
  width:34px!important;
  height:34px!important;
  font-size:13px!important;
}
.tq611-hero .tq613-journey-card .tq561-preview-stages strong{font-size:14px!important}
.tq611-hero .tq613-journey-card .tq561-preview-stages div>span{font-size:10px!important}
.tq611-hero .tq613-journey-card .tq561-stage-arrow{font-size:15px!important}
.tq611-hero .tq613-journey-card .tq561-preview-foot{
  margin-top:7px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
  font-size:10px!important;
}
.tq611-hero .tq613-journey-card .tq561-preview-foot svg{width:16px!important;height:16px!important}

/* Remove the old decorative right-side cards in this new inner-page layout. */
.tq611-hero .tq598-london-card,
.tq611-hero .tq598-doc-card,
.tq611-hero .tq598-uk-card{display:none!important}

@media(max-width:1100px){
  .tq611-hero .tq611-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(380px,.9fr)!important;
    gap:36px!important;
  }
  .tq613-how-image-card{height:335px!important}
  .tq611-hero .tq613-journey-card{left:-24px!important;bottom:-20px!important;width:300px!important}
}
@media(max-width:980px){
  .tq611-hero.tq561-hero{padding:44px 0 50px!important}
  .tq611-hero .tq611-hero-grid{grid-template-columns:1fr!important;gap:30px!important}
  .tq613-hero-visual{min-height:390px!important;max-width:720px!important;width:100%!important;margin:0 auto!important}
  .tq613-how-image-card{height:350px!important}
  .tq611-hero .tq613-journey-card{left:22px!important;bottom:-26px!important;width:315px!important}
}
@media(max-width:640px){
  .tq611-hero.tq561-hero{padding:38px 0 34px!important}
  .tq611-hero > .container{width:min(100% - 28px,1180px)!important}
  .tq613-hero-visual{min-height:auto!important;display:flex!important;flex-direction:column!important;gap:16px!important}
  .tq613-how-image-card{height:245px!important;border-radius:18px!important}
  .tq611-hero .tq613-journey-card{
    position:relative!important;
    left:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:none!important;
  }
}


/* =========================================================
   THIQAA 6.14 — definitive inner-page sizing for How It Works.
   Also paired with cache-busting theme asset version 6.14.0.
   ========================================================= */
@media(min-width:981px){
  .tq561-how .tq611-hero{
    padding:52px 0 58px!important;
    background:linear-gradient(120deg,#f7fafc,#fff 60%,#f5f8fa)!important;
    overflow:hidden!important;
  }
  .tq561-how .tq611-hero>.container{
    width:min(1180px,calc(100% - 40px))!important;
    max-width:1180px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .tq561-how .tq611-hero .tq611-hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 500px!important;
    gap:54px!important;
    align-items:center!important;
  }
  .tq561-how .tq611-hero .tq611-hero-copy{
    width:auto!important;
    max-width:620px!important;
  }
  .tq561-how .tq611-hero .tq613-hero-visual{
    position:relative!important;
    width:500px!important;
    max-width:500px!important;
    min-width:0!important;
    min-height:350px!important;
    padding:0!important;
    margin:0!important;
    justify-self:end!important;
    overflow:visible!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card{
    display:block!important;
    position:relative!important;
    width:500px!important;
    max-width:500px!important;
    height:320px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:24px!important;
    background:#eef3f6!important;
    border:1px solid #dfe7ed!important;
    box-shadow:0 18px 42px rgba(11,45,72,.12)!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card img{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
    border-radius:0!important;
    box-shadow:none!important;
    margin:0!important;
    padding:0!important;
  }
  .tq561-how .tq611-hero .tq613-journey-card{
    position:absolute!important;
    z-index:4!important;
    left:-34px!important;
    right:auto!important;
    bottom:-30px!important;
    width:292px!important;
    max-width:292px!important;
    margin:0!important;
    padding:16px 17px 14px!important;
    border-radius:19px!important;
  }
  .tq561-how .tq611-hero .tq613-journey-card .tq561-preview-stages a{
    padding:7px 0!important;
  }
}
@media(min-width:981px) and (max-width:1120px){
  .tq561-how .tq611-hero .tq611-hero-grid{
    grid-template-columns:minmax(0,1fr) 430px!important;
    gap:34px!important;
  }
  .tq561-how .tq611-hero .tq613-hero-visual,
  .tq561-how .tq611-hero .tq613-how-image-card{
    width:430px!important;
    max-width:430px!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card{height:300px!important}
  .tq561-how .tq611-hero .tq613-journey-card{left:-24px!important;width:278px!important;max-width:278px!important}
}
@media(max-width:980px){
  .tq561-how .tq611-hero .tq613-hero-visual{
    width:min(100%,620px)!important;
    max-width:620px!important;
    margin:0 auto!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card{
    width:100%!important;
    max-width:620px!important;
    height:330px!important;
  }
}
@media(max-width:640px){
  .tq561-how .tq611-hero .tq613-how-image-card{height:230px!important}
}


/* =========================================================
   THIQAA 6.15 — How It Works: slightly smaller + softer page image.
   Keeps the existing inner-page layout; only fine-tunes the right image.
   ========================================================= */
@media(min-width:981px){
  .tq561-how .tq611-hero .tq611-hero-grid{
    grid-template-columns:minmax(0,1fr) 470px!important;
    gap:50px!important;
  }
  .tq561-how .tq611-hero .tq613-hero-visual,
  .tq561-how .tq611-hero .tq613-how-image-card{
    width:470px!important;
    max-width:470px!important;
  }
  .tq561-how .tq611-hero .tq613-hero-visual{
    min-height:330px!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card{
    height:300px!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card img{
    filter:brightness(1.08) saturate(.84)!important;
    opacity:.88!important;
  }
  .tq561-how .tq611-hero .tq613-journey-card{
    left:-30px!important;
    bottom:-26px!important;
  }
}
@media(min-width:981px) and (max-width:1120px){
  .tq561-how .tq611-hero .tq611-hero-grid{
    grid-template-columns:minmax(0,1fr) 410px!important;
    gap:32px!important;
  }
  .tq561-how .tq611-hero .tq613-hero-visual,
  .tq561-how .tq611-hero .tq613-how-image-card{
    width:410px!important;
    max-width:410px!important;
  }
  .tq561-how .tq611-hero .tq613-how-image-card{
    height:282px!important;
  }
}

/* THIQAA 6.16 — compact Cases cards and responsive document actions. */
.tq488-requests-view .tq405-flow{grid-auto-rows:auto!important;align-items:stretch!important}
.tq488-requests-view .tq405-flow>.tq405-step{
 min-height:82px!important;height:auto!important;padding:8px 8px 8px 26px!important;
 display:flex!important;flex-direction:column!important;gap:3px!important;overflow:visible;
}
.tq488-requests-view .tq405-flow>.tq405-step>b{line-height:1.25!important}
.tq488-requests-view .tq405-flow>.tq405-step>small{margin-top:0!important;line-height:1.25!important}
.tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions,
.tq488-requests-view .tq405-flow>.tq405-step>.tq60-mini{
 position:static!important;inset:auto!important;margin:5px 0 0!important;
 align-self:flex-start!important;transform:none!important;
}
.tq488-requests-view .tq405-flow>.tq405-step>.tq412-step-actions{margin-top:auto!important;padding-top:5px!important;min-height:0!important}
.tq403-doc-item .tq528-doc-actions{display:flex;flex-wrap:wrap!important;align-items:center!important;gap:6px;width:100%;min-width:0}
.tq403-doc-item .tq528-doc-actions>form{margin:0;max-width:100%}
.tq403-doc-item .tq528-doc-actions .tq525-replacement-form{
 display:flex!important;flex:0 1 310px!important;flex-wrap:wrap;align-items:center!important;
 width:auto!important;min-width:0!important;gap:6px;
}
.tq403-doc-item .tq528-doc-actions .tq525-replacement-form input[type=text]{
 flex:1 1 110px;width:140px;min-width:0!important;max-width:100%;height:34px;box-sizing:border-box;
}
.tq403-doc-item .tq528-doc-actions .tq60-mini{
 width:auto!important;min-height:34px;padding:7px 9px;font-size:12px;line-height:1.3;
 white-space:normal!important;max-width:100%;box-sizing:border-box;
}
.tq591-family-document-actions{flex-wrap:wrap!important;max-width:100%;align-items:center;gap:6px}
@media(max-width:620px){
 .tq403-doc-item .tq528-doc-actions .tq525-replacement-form{flex:1 1 260px!important}
 .tq403-doc-item .tq528-doc-actions .tq525-need-replacement{flex:0 1 auto}
}

/* THIQAA 6.17 — match the shared inner-page image dimensions. */
.tq561-how .tq611-hero .tq611-hero-grid{
 grid-template-columns:1.02fr .98fr!important;gap:48px!important;align-items:center!important;
}
.tq561-how .tq611-hero .tq613-hero-visual{
 width:100%!important;max-width:none!important;min-height:400px!important;min-width:0!important;
}
.tq561-how .tq611-hero .tq613-how-image-card{
 width:100%!important;max-width:none!important;height:370px!important;border-radius:26px!important;
}
.tq561-how .tq611-hero .tq613-how-image-card img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(max-width:980px){
 .tq561-how .tq611-hero .tq611-hero-grid{grid-template-columns:1fr!important}
 .tq561-how .tq611-hero .tq613-hero-visual{margin:0 auto!important}
}
@media(max-width:640px){
 .tq561-how .tq611-hero .tq613-hero-visual{min-height:0!important}
 .tq561-how .tq611-hero .tq613-how-image-card{height:260px!important}
}
/* Compact the uploaded-document list and its header action. */
.tq403-staff-pack #documents .tq403-card-head{gap:12px;flex-wrap:wrap;margin-bottom:12px}
.tq403-staff-pack #documents .tq403-card-head h2{font-size:22px;margin:0;line-height:1.3}
.tq403-staff-pack #documents .tq403-card-head .btn{min-height:34px;padding:8px 12px;font-size:13px;line-height:1.3}
.tq403-staff-pack #documents .tq403-doc-item.tq430-doc-review-item{padding:10px 0;gap:7px}
.tq403-staff-pack #documents .tq430-doc-main strong{font-size:14px;line-height:1.35}
.tq403-staff-pack #documents .tq430-doc-main>span{margin-top:3px;font-size:11px;line-height:1.3}
.tq403-staff-pack #documents .tq430-doc-main .tq430-doc-status{padding:4px 8px;font-size:11px}
.tq403-staff-pack #documents .tq528-doc-actions{margin:0;gap:6px}

/* THIQAA 6.18 — full-width toolbar in the actual staff document preview list. */
.tq403-doc-item .tq528-doc-actions.tq618-document-toolbar{
 display:grid!important;grid-template-columns:auto auto minmax(0,1fr) auto!important;
 align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;
}
.tq403-doc-item .tq618-document-toolbar .tq525-replacement-form{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 width:100%!important;max-width:100%!important;min-width:0!important;gap:8px!important;margin:0!important;
}
.tq403-doc-item .tq618-document-toolbar .tq525-replacement-form input[type=text]{
 width:100%!important;max-width:none!important;min-width:0!important;height:34px!important;
 padding:7px 9px!important;font-size:12px!important;box-sizing:border-box!important;
}
.tq403-doc-item .tq618-document-toolbar .tq60-mini{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:0!important;max-width:100%!important;min-height:34px!important;
 padding:7px 10px!important;font-size:12px!important;line-height:1.3!important;box-sizing:border-box!important;
 white-space:normal!important;overflow-wrap:anywhere!important;margin:0!important;
}
.tq403-doc-item .tq618-document-toolbar>form:not(.tq525-replacement-form){margin:0!important;min-width:0!important}
.tq403-doc-item .tq618-document-toolbar>.tq589-member-assignment{grid-column:1/-1!important;width:100%!important;min-width:0!important;flex-wrap:wrap!important}
@media(max-width:760px){
 .tq403-doc-item .tq528-doc-actions.tq618-document-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .tq403-doc-item .tq618-document-toolbar>.tq525-replacement-form{grid-column:1/-1!important;grid-row:2!important}
 .tq403-doc-item .tq618-document-toolbar>.tq60-mini,
 .tq403-doc-item .tq618-document-toolbar>form:not(.tq525-replacement-form)>.tq60-mini{width:100%!important}
 .tq403-doc-item .tq618-document-toolbar>.tq589-member-assignment{grid-row:auto!important}
}
@media(max-width:380px){
 .tq403-doc-item .tq618-document-toolbar .tq525-replacement-form{grid-template-columns:minmax(0,1fr)!important}
 .tq403-doc-item .tq618-document-toolbar .tq525-replacement-form button{width:100%!important}
}

/* THIQAA 6.19 — document title beside the toolbar; status directly below title. */
.tq403-staff-pack #documents .tq403-doc-item.tq430-doc-review-item.tq619-document-row{
 display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;
 align-items:start!important;gap:12px!important;padding:12px 0!important;
}
.tq619-document-row .tq430-doc-main{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.tq619-document-row .tq430-doc-main>strong{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:34px!important}
.tq619-document-row .tq430-doc-main>.tq430-doc-status{display:inline-block!important;width:auto;max-width:100%;margin:3px 0!important}
.tq619-document-row .tq430-doc-main>span:not(.tq430-doc-status){overflow-wrap:anywhere;font-size:10px!important}
.tq619-document-row .tq528-doc-actions.tq618-document-toolbar{gap:6px!important}
.tq619-document-row .tq618-document-toolbar .tq525-replacement-form{gap:6px!important}
.tq619-document-row .tq618-document-toolbar .tq60-mini{font-size:11px!important;padding:7px 8px!important}
@media(max-width:980px){
 .tq403-staff-pack #documents .tq403-doc-item.tq430-doc-review-item.tq619-document-row{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 .tq619-document-row .tq430-doc-main>strong{white-space:normal;line-height:1.4!important;overflow-wrap:anywhere}
}

/* THIQAA 6.20 — the whole homepage process card is a native link. */
.tq440-process-grid .tq440-process-item.tq620-process-link{display:block;color:inherit;text-decoration:none;cursor:pointer}
.tq620-process-link:focus-visible{outline:3px solid var(--orange);outline-offset:6px;border-radius:16px}
.tq620-process-link:hover .tq440-process-card{border-color:var(--orange)}

/* THIQAA 6.21 — keep linked steps visible below the sticky header. */
.tq561-how .tq561-step[id^="how-step-"]{scroll-margin-top:120px}
.tq561-how .tq561-step[id^="how-step-"]:target{outline:2px solid var(--orange);outline-offset:4px}

/* THIQAA 6.22 — lighter homepage service cards, scoped to the homepage grid. */
.home-services-five{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch}
.home-services-five .home-service-card .thumb{height:225px!important;aspect-ratio:auto!important;flex:0 0 auto}
.home-services-five .home-service-card .thumb img{width:100%!important;height:100%!important;object-fit:cover}
.home-services-five .home-service-card .inner{padding:18px 20px 20px!important;display:flex;flex-direction:column;gap:0;flex:1}
.home-services-five .home-service-card .tag{display:inline-flex!important;align-self:flex-start!important;width:auto!important;max-width:100%;padding:5px 9px!important;font-size:11px!important;line-height:1.3;white-space:normal}
.home-services-five .home-service-card h3{min-height:0!important;margin:10px 0 12px!important;font-size:21px!important;line-height:1.3!important}
.home-services-five .home-service-card p{min-height:0!important;margin:0 0 16px!important;font-size:15px!important;line-height:1.6!important;display:block!important;overflow:visible!important}
.home-services-five .home-service-card .home-learn-more{margin-top:auto!important;align-self:flex-start;min-height:38px;padding:9px 12px;font-size:13px;line-height:1.4}
@media(max-width:980px){.home-services-five{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-services-five .home-service-card .thumb{height:210px!important}}
@media(max-width:640px){.home-services-five{grid-template-columns:minmax(0,1fr)!important}.home-services-five .home-service-card .thumb{height:200px!important}.home-services-five .home-service-card h3{font-size:20px!important}.home-services-five .home-service-card p{font-size:15px!important}}

.tq626-editor-row input,.tq626-editor-row select{width:100%;min-width:0}


/* THIQAA v6.29 — additional contact methods editor */
.tq626-editor{margin-top:20px;padding:18px;border:1px solid #d7e1ea;border-radius:16px;background:#f9fbfd}
.tq626-editor-head{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}
.tq626-editor-head h3{margin:0 0 6px}
.tq626-editor-head p{margin:0;color:#44576b}
.tq626-add-wrap{margin-top:12px}
.tq626-editor-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;margin:12px 0;border:1px solid #dce2e8;border-radius:12px;background:#fff}
.tq626-editor-row .full{grid-column:1/-1}
.tq626-custom-icon-row{display:flex;gap:10px;align-items:center}
.tq626-custom-icon-row input{flex:1 1 auto}
.tq626-row-actions{display:flex;align-items:end;justify-content:flex-end}
.tq626-contact-link{display:inline-flex;align-items:center;gap:8px;margin-inline-end:12px}.tq626-icon{width:22px;height:22px;flex-shrink:0;object-fit:contain}.top-contact{flex-wrap:wrap}.footer .tq626-contact-link{margin-block:5px}
@media(max-width:600px){.tq626-editor-row{grid-template-columns:1fr}.tq626-custom-icon-row{flex-direction:column;align-items:stretch}.tq626-row-actions{justify-content:flex-start}}



/* THIQAA 6.37: Image-backed heroes match the content width below. */
@media(min-width:981px){
.page-hero:has(> .container.page-hero-grid > .page-art){position:relative;isolation:isolate;overflow:hidden;padding:0;background:#fff}
.page-hero:has(> .container.page-hero-grid > .page-art) > .container.page-hero-grid{position:relative;display:flex;align-items:center;gap:0;width:min(100% - 40px,1180px);max-width:1180px;min-height:440px;margin-inline:auto;overflow:hidden}
.page-hero:has(> .container.page-hero-grid > .page-art) > .page-hero-grid > :first-child{position:relative;z-index:3;flex:0 0 52%;width:52%;max-width:52%;padding:56px 0;margin:0;min-width:0}
.page-hero:has(> .container.page-hero-grid > .page-art) .page-art{position:absolute;z-index:1;top:0;bottom:0;left:39%;right:0;width:auto;max-width:none;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;pointer-events:none;box-shadow:none}
.page-hero:has(> .container.page-hero-grid > .page-art) .page-art img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center;border:0;border-radius:0;box-shadow:none;filter:none}
.page-hero:has(> .container.page-hero-grid > .page-art) .page-art::before{display:block;content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.92) 12%,rgba(255,255,255,.45) 28%,rgba(255,255,255,0) 53%)!important}
.page-hero:has(> .container.page-hero-grid > .page-art) .page-art::after{display:none;content:none}
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) > .page-hero-grid > :first-child{margin-inline-start:auto;text-align:right}
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .page-art{left:0;right:39%}
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .page-art::before{background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.92) 12%,rgba(255,255,255,.45) 28%,rgba(255,255,255,0) 53%)!important}
}


/* v6.40 — How THIQAA Works: photo is INSIDE the same content container as
   the steps section below. The full-width white-to-image overlay has no hard edge. */
@media(min-width:981px){
 .tq561-how .tq611-hero.tq561-hero{padding:0!important;background:#fff!important;overflow:hidden!important;isolation:isolate!important}
 .tq561-how .tq611-hero>.container{position:relative!important;width:min(100% - 40px,1180px)!important;max-width:1180px!important;min-height:440px!important;margin-inline:auto!important;overflow:hidden!important;isolation:isolate!important}
 .tq561-how .tq611-hero .tq611-hero-grid{display:flex!important;position:relative!important;z-index:3!important;align-items:center!important;min-height:440px!important;width:100%!important;gap:0!important;grid-template-columns:none!important}
 .tq561-how .tq611-hero .tq611-hero-copy{position:relative!important;z-index:4!important;flex:0 0 54%!important;width:54%!important;max-width:54%!important;padding:48px 0!important;margin:0!important;min-width:0!important}
 .tq561-how .tq611-hero .tq613-hero-visual{display:none!important}
 .tq561-how .tq611-hero .tq640-hero-photo{display:block!important;position:absolute!important;z-index:1!important;top:0!important;bottom:0!important;left:39%!important;right:0!important;overflow:hidden!important;pointer-events:none!important}
 .tq561-how .tq611-hero .tq640-hero-photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;box-shadow:none!important}
 .tq561-how .tq611-hero .tq640-hero-photo::after{content:""!important;position:absolute!important;z-index:2!important;inset:0!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 18%,rgba(255,255,255,.72) 38%,rgba(255,255,255,.20) 66%,transparent 88%)!important;pointer-events:none!important}
 .lang-ar .tq561-how .tq611-hero .tq611-hero-copy{margin-inline-start:auto!important;text-align:right!important}
 .lang-ar .tq561-how .tq611-hero .tq640-hero-photo{left:0!important;right:39%!important}
 .lang-ar .tq561-how .tq611-hero .tq640-hero-photo::after{background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.96) 18%,rgba(255,255,255,.72) 38%,rgba(255,255,255,.20) 66%,transparent 88%)!important}
}
@media(max-width:980px){.tq561-how .tq640-hero-photo{display:none!important}}

/* THIQAA v6.41: contact office-meeting notice */
.tq641-office-meetings{padding:32px 0 0!important;background:#fff}
.tq641-meetings-inner{border:1px solid #e2e8f0;border-inline-start:4px solid #e77924;border-radius:12px;background:#fff;padding:24px 28px;max-width:100%}
.tq641-meetings-inner h2{margin:8px 0 14px;color:#10284c;font-size:clamp(22px,2.5vw,30px);line-height:1.25}
.tq641-meetings-inner p{max-width:78ch;margin:0 0 10px;line-height:1.75}
.tq641-meetings-inner .tq641-meetings-warning{margin-bottom:0;color:#10284c}
@media(max-width:700px){.tq641-office-meetings{padding-top:22px!important}.tq641-meetings-inner{padding:20px}}


/* THIQAA v6.45 — Arabic-only readable inner-page hero layouts.
   Applies to every image-backed page hero (services, service details, about,
   contact, FAQ, legal, appointments and request forms), and How It Works.
   Do not modify English layouts or the homepage hero. */
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) > .page-hero-grid > :first-child{
  box-sizing:border-box; min-width:0; overflow-wrap:break-word;
  direction:rtl; text-align:right; isolation:isolate;
}
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .breadcrumbs,
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .eyebrow{
  color:#a85112; line-height:1.65; max-width:100%;
}
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) h1{
  font-size:clamp(30px,3vw,43px)!important; line-height:1.38!important;
  letter-spacing:0!important; max-width:100%; margin:12px 0 18px!important;
  overflow-wrap:normal; word-break:normal; color:#082b4b!important;
}
.lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) p{
  font-size:clamp(15px,1.1vw,18px)!important; line-height:1.95!important;
  max-width:100%; margin:0!important; color:#304b61!important;
}
@media(min-width:981px){
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) > .container.page-hero-grid{
    direction:ltr!important; min-height:440px;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) > .page-hero-grid > :first-child{
    flex:0 0 50%!important; width:50%!important; max-width:50%!important;
    margin-left:auto!important; margin-right:0!important; padding:40px 32px 40px 14px!important;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .page-art{
    left:0!important; right:36%!important;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .page-art::before{
    background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.99) 14%,rgba(255,255,255,.92) 30%,rgba(255,255,255,.60) 47%,rgba(255,255,255,0) 75%)!important;
  }
  .lang-ar .tq561-how .tq611-hero .tq611-hero-grid{
    direction:ltr!important;
  }
  .lang-ar .tq561-how .tq611-hero .tq611-hero-copy{
    flex:0 0 51%!important; width:51%!important; max-width:51%!important;
    margin-left:auto!important; margin-right:0!important;
    padding:40px 30px 40px 14px!important; direction:rtl!important; text-align:right!important;
    box-sizing:border-box;
  }
  .lang-ar .tq561-how .tq611-hero .tq640-hero-photo{
    left:0!important; right:36%!important;
  }
  .lang-ar .tq561-how .tq611-hero .tq640-hero-photo::after{
    background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.99) 14%,rgba(255,255,255,.90) 31%,rgba(255,255,255,.50) 51%,transparent 80%)!important;
  }
}
.lang-ar .tq561-how .tq611-hero .tq561-hero-copy h1{
  font-size:clamp(32px,3.5vw,47px)!important;
  line-height:1.38!important; max-width:100%!important;
  letter-spacing:0!important; margin:10px 0 16px!important;
}
.lang-ar .tq561-how .tq611-hero .tq561-hero-copy > p{
  color:#304b61!important; font-size:17px!important; line-height:1.95!important;
  max-width:100%!important;
}
@media(max-width:980px){
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) > .container.page-hero-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important;
    direction:rtl!important;gap:0!important;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) > .page-hero-grid > :first-child{
    position:relative!important;width:100%!important;max-width:100%!important;
    padding:34px 22px!important;margin:0!important;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .page-art{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) .page-art::before{
    background:linear-gradient(270deg,rgba(255,255,255,.99),rgba(255,255,255,.94) 65%,rgba(255,255,255,.72))!important;
  }
  .lang-ar .tq561-how .tq611-hero .tq611-hero-copy{
    width:100%!important;max-width:100%!important;padding:34px 22px!important;
    direction:rtl!important;text-align:right!important;
  }
}
@media(max-width:640px){
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) h1,
  .lang-ar .tq561-how .tq611-hero .tq561-hero-copy h1{
    font-size:clamp(27px,7vw,35px)!important;line-height:1.45!important;
  }
  .lang-ar .page-hero:has(> .container.page-hero-grid > .page-art) p,
  .lang-ar .tq561-how .tq611-hero .tq561-hero-copy > p{
    font-size:15px!important;line-height:1.85!important;
  }
}

/* THIQAA v6.47: restore original navy eight-step Journey card on How It Works.
   Keep the v6.40 photo, the Arabic readable copy and mobile responsiveness. */
@media (min-width:981px){
 .tq561-how .tq611-hero>.container{min-height:560px!important}
 .tq561-how .tq611-hero .tq611-hero-grid{min-height:560px!important;gap:22px!important}
 .tq561-how .tq611-hero .tq611-hero-copy{flex:0 0 51%!important;width:51%!important;max-width:51%!important}
 .tq561-how .tq611-hero .tq613-hero-visual{
   display:flex!important;flex:1 1 0!important;width:auto!important;max-width:none!important;
   min-height:530px!important;position:relative!important;z-index:5!important;
   align-items:center!important;justify-content:center!important;overflow:visible!important;
   margin:0!important;padding:12px 0!important;
 }
 .tq561-how .tq611-hero .tq613-how-image-card{display:none!important}
 .tq561-how .tq611-hero .tq613-journey-card{
   display:block!important;position:relative!important;inset:auto!important;
   left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
   width:min(100%,410px)!important;max-width:410px!important;
   margin:0 auto!important;padding:27px 30px 25px!important;
   border-radius:26px!important;background:linear-gradient(150deg,#153f5f,#071f33)!important;
   color:#fff!important;box-shadow:0 22px 50px rgba(11,45,72,.18)!important;
 }
 .tq561-how .tq611-hero .tq613-journey-card .tq561-preview-stages a{padding:12px 0!important}
 .tq561-how .tq611-hero .tq613-journey-card .tq561-preview-stages strong{font-size:17px!important}
 .tq561-how .tq611-hero .tq613-journey-card .tq561-preview-head .tq561-kicker{font-size:12px!important}
 .tq561-how .tq611-hero .tq613-journey-card .tq561-eight{font-size:48px!important}
 .tq561-how .tq611-hero .tq613-journey-card .tq561-eight span{font-size:12px!important}
 .tq561-how .tq611-hero .tq613-journey-card .tq561-preview-foot{font-size:13px!important;padding:13px!important}
 .lang-ar .tq561-how .tq611-hero .tq611-hero-grid{direction:ltr!important}
 .lang-ar .tq561-how .tq611-hero .tq611-hero-copy{order:2!important;flex:0 0 51%!important;width:51%!important;max-width:51%!important}
 .lang-ar .tq561-how .tq611-hero .tq613-hero-visual{order:1!important}
 .lang-ar .tq561-how .tq611-hero .tq613-journey-card{direction:rtl!important;text-align:right!important}
}
@media (min-width:981px) and (max-width:1150px){
 .tq561-how .tq611-hero .tq613-journey-card{padding:20px 22px!important;width:min(100%,350px)!important}
 .tq561-how .tq611-hero .tq611-hero-grid{gap:12px!important}
}
/* Force phone/WhatsApp digits to render in their intended order in Arabic. */
.lang-ar .prose a[href^="tel:"] bdi,.lang-ar .prose a[href*="wa.me/"] bdi{direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important}

/* THIQAA v6.50 — How It Works: make the user-selected hero image more visible.
   Pull the photo towards the copy, shorten the white fade, keep navy journey card.
   These are page-scoped changes and preserve uploaded image choices. */
@media (min-width:981px){
  .tq561-how .tq611-hero .tq640-hero-photo{left:30%!important;right:0!important}
  .tq561-how .tq611-hero .tq640-hero-photo::after{
    background:linear-gradient(90deg, #fff 0%, rgba(255,255,255,.93) 12%, rgba(255,255,255,.62) 26%, rgba(255,255,255,.20) 42%, transparent 59%)!important;
  }
  .lang-ar .tq561-how .tq611-hero .tq640-hero-photo{left:0!important;right:30%!important}
  .lang-ar .tq561-how .tq611-hero .tq640-hero-photo::after{
    background:linear-gradient(270deg, #fff 0%, rgba(255,255,255,.93) 12%, rgba(255,255,255,.62) 26%, rgba(255,255,255,.20) 42%, transparent 59%)!important;
  }
}

/* THIQAA v6.65: service editor question/document accordion colours only */
#client-information-fields.tq403-builder{background:#e9f3fc;border:1px solid #b5d4ee;transition:background .2s,border-color .2s}
#client-information-fields.tq403-builder>summary{color:#123f67}
#client-information-fields.tq403-builder>summary strong{color:#123f67}
#client-information-fields.tq403-builder>summary span{color:#426986}
#client-information-fields.tq403-builder>summary:hover,#client-information-fields.tq403-builder[open]>summary{background:#d8eafa}
#client-information-fields.tq403-builder[open]{border-color:#6eaad7}
#required-documents-fields.tq403-builder{background:#fff0e5;border:1px solid #f5c69e;transition:background .2s,border-color .2s}
#required-documents-fields.tq403-builder>summary{color:#71390e}
#required-documents-fields.tq403-builder>summary strong{color:#71390e}
#required-documents-fields.tq403-builder>summary span{color:#915d33}
#required-documents-fields.tq403-builder>summary:hover,#required-documents-fields.tq403-builder[open]>summary{background:#ffe4d0}
#required-documents-fields.tq403-builder[open]{border-color:#eb9a57}
#client-information-fields.tq403-builder>summary:focus-visible,#required-documents-fields.tq403-builder>summary:focus-visible{outline:3px solid #123f67;outline-offset:-3px}

/* v6.66: Arabic How It Works photo moves right, revealing the document
   beside the navy journey card. Desktop-only and page-scoped. */
@media (min-width:981px){
 .lang-ar .tq561-how .tq611-hero .tq640-hero-photo{left:0!important;right:22%!important}
 .lang-ar .tq561-how .tq611-hero .tq640-hero-photo img{object-position:64% center!important}
}
.tq666-legal-name{margin:14px 0 24px;padding:17px 20px;border:1px solid #d4e4f0;border-radius:14px;background:#f4f9fd}
.tq666-legal-name label{display:block;font-weight:700;margin-bottom:8px;color:#10334e}
.tq666-legal-name input{width:100%;max-width:540px;min-height:44px;padding:10px 12px;border:1px solid #a8bed1;border-radius:8px}
.tq666-legal-name button{margin:12px 0 0}
.tq666-legal-name small{display:block;margin-top:8px;line-height:1.6}

/* v6.73 — service context and question editor readability only */
.tq673-service-context{display:flex;flex-direction:column;gap:6px;margin-top:15px}
.tq673-context-label{color:#ff934e;font-size:.76rem;letter-spacing:.11em;font-weight:750}
.tq673-service-context strong{font-size:clamp(1.25rem,2.4vw,1.9rem);line-height:1.3;color:white;overflow-wrap:anywhere}
.tq673-context-meta{color:#e3edf6;font-size:.96rem}
.tq673-one-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tq673-one-row .btn{white-space:nowrap;max-width:100%}
.tq673-type-advice{background:#fff8f0;color:#593b23;border:1px solid #f3d4b3;border-radius:10px;padding:12px 14px;line-height:1.6;margin:12px 0}
@media(min-width:900px){.tq673-one-row{flex-wrap:nowrap}.tq673-one-row .btn{font-size:.94rem;padding:12px 14px}}
@media(max-width:600px){.tq673-one-row .btn{flex:1 1 auto;text-align:center;white-space:normal}}

/* v6.76 — parent-side Yes follow-up selection, editor only */
.tq676-parent-rules{grid-column:1/-1;padding:12px 14px;margin-top:8px;border:1px solid #d7e6f2;background:#f5f9fc;border-radius:11px}
.tq676-parent-rules[hidden]{display:none!important}
.tq676-parent-title{display:block;font-weight:800;color:#0b2d48;margin-bottom:9px}
.tq676-parent-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:7px;max-height:200px;overflow:auto}
.tq676-followup-option{display:flex;align-items:flex-start;gap:8px;background:white;padding:8px;border:1px solid #e0e8ee;border-radius:7px;font-size:13px;line-height:1.45;font-weight:550;cursor:pointer}
.tq676-followup-option input{flex:0 0 auto;width:auto;margin-top:4px}
.tq676-parent-rules small{display:block;margin-top:10px;color:#486277}

/* THIQAA 6.77: finder belongs to services page, not navigation; mobile phone icon matches desktop. */
.tq50-service-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.tq50-service-tools .tq677-finder-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:9px 14px;border-radius:9px;border:1px solid #a9bdcc;background:#fff;color:#0b2d48;font-size:13px;font-weight:750;line-height:1.3;white-space:nowrap;transition:border-color .15s,background .15s}
.tq50-service-tools .tq677-finder-link:hover,.tq50-service-tools .tq677-finder-link:focus-visible{background:#f3f8fb;border-color:#0b2d48}
.tq50-service-tools .tq677-finder-link span{font-size:18px;line-height:1}
@media(max-width:640px){.tq50-service-tools .tq677-finder-link{width:auto;max-width:100%}.topbar .top-phone-link .phone-symbol{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;font-variant-emoji:text}}

/* THIQAA v6.78: retain email contact on narrow displays and provide clear finder exit. */
@media(max-width:640px){
 .topbar .top-contact .top-email-link{display:inline-flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important;align-items:center;min-width:30px}
 .topbar .top-contact .top-email-link .contact-circle,.topbar .top-contact .top-email-link .social-icon{display:inline-flex!important;visibility:visible!important;opacity:1!important}
 .topbar .top-contact .top-email-link .social-icon svg{display:block!important;fill:currentColor}
 .topbar .top-contact .top-email-link>span:last-child{display:none!important}
 .topbar .top-contact .top-phone-link{min-width:0}
 .topbar .top-contact .top-phone-link .phone-symbol{color:#fff!important;-webkit-text-fill-color:#fff!important}
 .topbar .top-contact{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:8px!important}
 .topbar .top-contact .top-phone-link>span:last-child{font-size:12px;white-space:nowrap}
}
.tq678-back-services{display:inline-flex;align-items:center;gap:8px;border:1px solid #9bb4c6;background:#fff;color:#0b2d48;padding:10px 15px;border-radius:10px;font-weight:800;margin:0 0 18px}
.tq678-back-services:hover,.tq678-back-services:focus-visible{background:#eff6fa;border-color:#0b2d48}

/* v6.79 family intake accessibility */
.tq585-family-intake label,.tq585-family-intake p{font-size:17px;line-height:1.65}.tq585-family-intake input,.tq585-family-intake select{font-size:17px;min-height:48px}
.tq679-path-options{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0 22px}.tq679-path-options .btn{font-size:16px}.tq679-family-upload{margin:20px 0;padding:18px;border:1px solid #cbdbe6;border-radius:12px}.tq679-family-upload input[type=file]{display:block;max-width:100%;margin:12px 0}

/* v6.79: restore both email icon and actual address on mobile */
@media(max-width:640px){
 .topbar .top-contact .top-email-link>span:last-child{display:inline!important;color:#fff!important;font-size:clamp(10px,2.5vw,13px)!important;white-space:normal!important;overflow-wrap:anywhere}
 .topbar .top-contact{flex-wrap:wrap!important;row-gap:3px!important}
 .topbar .top-contact .top-email-link{max-width:100%;gap:5px}
 .topbar .top-contact .top-phone-link .phone-symbol{color:#fff!important}
}
/* Public intake readability: three forms and family fields */
.tq593-public-form-container .field label,.tq593-public-form-container .form-note,.tq593-public-form-container .field small{font-size:clamp(15px,1.2vw,17px);line-height:1.7}
.tq593-public-form-container input,.tq593-public-form-container select,.tq593-public-form-container textarea{font-size:17px;line-height:1.5}
.tq593-public-form-container .btn{font-size:17px}
.tq585-family-intake .tq585-intake-person strong{font-size:18px}

/* v6.83 Appointment details visible before staff approval */
.tq683-appointment-detail{border:1px solid #b4c9d7;background:#f1f7fb;border-radius:9px;padding:9px 11px;margin:9px 0;display:flex;flex-direction:column;gap:3px;color:#103956;font-size:14px}.tq683-appointment-detail strong{font-size:14px}.tq683-appointment-detail span{font-weight:700}.tq683-appointment-detail small{color:#557487;font-size:12px}.tq683-appointment-detail .tq683-error{color:#b42318}.tq521-approve-appointment:disabled{opacity:.5;cursor:not-allowed}

/* v6.84 Public feedback page displays published reviews only. */
.feedback-page-section .feedback-layout{grid-template-columns:minmax(0,1fr);}

/* v6.85: Keep the plus sign on the same baseline as the animated impact total. */
.tq551-impact-copy .tq685-count-line{display:inline-flex;direction:ltr;align-items:baseline;justify-content:flex-start;white-space:nowrap;gap:2px;vertical-align:baseline;max-width:100%}
.tq551-impact-copy .tq685-count-line strong{display:inline-block;margin:0;line-height:1;font-variant-numeric:tabular-nums}
.tq551-impact-copy .tq685-count-line .tq685-plus{display:inline-block;font-size:clamp(19px,2vw,27px);font-weight:800;line-height:1;color:var(--navy);vertical-align:baseline}
@media(max-width:440px){.tq551-impact-copy .tq685-count-line .tq685-plus{font-size:21px}}

/* v6.98.1: consistent appointment action buttons */
.tq683-appointment-manage{display:block;margin:0 0 8px;}
.tq683-appointment-manage>summary,.tq521-approve-appt-form .tq521-approve-appointment,.tq683-appointment-manage button,.tq683-appointment-manage a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:190px;min-height:42px;padding:10px 16px;border-radius:7px;font-weight:700;line-height:1.2;text-align:center;cursor:pointer;}
.tq683-appointment-manage>summary{list-style:none;background:#0b2d48;color:#fff;border:1px solid #0b2d48;}
.tq683-appointment-manage>summary::-webkit-details-marker{display:none;}
.tq683-appointment-manage>summary:after{content:"＋";margin-inline-start:10px;}
.tq683-appointment-manage[open]>summary:after{content:"−";}
.tq683-appointment-manage form{margin:10px 0;}
.tq683-appointment-manage button,.tq521-approve-appt-form .tq521-approve-appointment{width:210px;min-width:210px;min-height:44px;}
.tq521-approve-appt-form{margin-bottom:8px;}
@media(max-width:700px){.tq683-appointment-manage>summary,.tq521-approve-appt-form .tq521-approve-appointment,.tq683-appointment-manage button{width:100%;min-width:0;}}
