@font-face{font-family:DirectoryArabic;src:url('./arabic-regular.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:DirectoryArabic;src:url('./arabic-bold.woff') format('woff');font-weight:600 800;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#edf2f3;color:#162f3b;font:15px/1.8 DirectoryArabic,system-ui,sans-serif}main{max-width:1060px;margin:auto;padding:0 18px 28px}header{position:relative;background:#132f3d;color:#fff;margin:0 -18px;padding:27px 24px 55px;border-radius:0 0 30px 30px;overflow:hidden}header:after{content:'';position:absolute;width:180px;height:180px;border:28px solid #254753;border-radius:50%;top:-65px;left:-75px;opacity:.55;pointer-events:none}h1{position:relative;font-size:28px;line-height:1.6;margin:10px 0 0;z-index:1}header p{font-size:13px;color:#c5d6dd;max-width:260px;margin:5px 0 0}.tag{display:inline-block;background:#294954;color:#b8e2d5;border-radius:30px;padding:4px 12px;font-size:11px;font-weight:700}.stats{position:relative;display:flex;gap:8px;margin:-30px 0 18px;z-index:2}.stats div{flex:1;padding:12px 5px;background:white;border-radius:14px;font-size:11px;text-align:center;box-shadow:0 5px 20px #102f3e0b}.stats b{display:block;font-size:25px;line-height:1.5;color:#187b69;font-weight:700}.stats span{color:#597078}aside{background:#e1ebeb;color:#3f5d65;padding:13px 15px;border-radius:12px;font-size:11px;line-height:1.9;border-right:3px solid #8bb7aa}.controls{margin:20px 0 16px;background:#fff;padding:16px;border-radius:16px}.controls>label:first-child{margin-top:0}label{display:block;font-size:12px;font-weight:700;margin:12px 0 6px;color:#3b555f}input[type=search],select{width:100%;font:inherit;font-size:14px;padding:11px 13px;background:#f6f8f9;border:1px solid #d8e2e5;border-radius:10px;color:#193b49;min-height:48px}.check{display:inline-flex;align-items:center;gap:8px;font-size:12px;margin:14px 0 8px}.check input{width:17px;height:17px;accent-color:#187b69}.controls>button{float:left;font-size:11px;margin-top:7px;border:0;background:transparent;min-height:44px;padding:5px 0}.controls #count{clear:both;border-top:1px solid #edf2f3;padding-top:12px;margin:10px 0 0;font-size:12px;color:#677e85}.controls #count b{color:#162f3b}button,a{min-height:44px}button{font:inherit;border:1px solid #d4e1e3;border-radius:9px;padding:8px 12px;color:#187b69;background:#fff;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #73aa99;outline-offset:3px}#results{display:grid;gap:14px}.office{background:#fff;padding:18px;border-radius:17px;min-width:0;box-shadow:0 3px 15px #16354305}.meta{font-size:10px;color:#607f86;display:flex;align-items:center;gap:8px;margin-bottom:11px}.marker{width:27px;height:27px;border-radius:8px;background:#edf5f2;color:#257963;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.marker svg{width:15px;height:15px}h2{font-size:17px;line-height:1.9;margin:0 0 7px;font-weight:700}.office>p:not(.note):not(.phone){font-size:12px;line-height:1.9;color:#5e737b;margin:0;min-height:44px}.phone{font:700 21px/1.5 system-ui,sans-serif;letter-spacing:.5px;margin:13px 0;text-align:right;color:#173c4b}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actions a{text-decoration:none;border-radius:9px;padding:9px 12px;display:inline-flex;justify-content:center;align-items:center;color:#187b69;background:#edf5f2;font-size:12px;font-weight:700;flex:1}.actions a:first-child{color:#fff;background:#187b69}.actions a:last-child{background:#f4f6f7;color:#64777d;flex:0 0 auto}.note{font-size:10px;line-height:1.9;color:#6e7f85;margin:12px 0 0;border-top:1px solid #edf2f3;padding-top:10px}.save{font-size:11px;display:block;width:100%;margin-top:10px;min-height:40px;background:#fff;border-color:#e2e9eb;color:#6b7f85}.save[aria-pressed=true]{background:#edf5f2;color:#187b69;border-color:#c4dfd5}footer{font-size:11px;color:#677e85;margin:24px 0;line-height:1.9}.empty{padding:22px;background:white;border-radius:15px;font-size:13px}#error{color:#a12b2b;font-size:12px;margin:0}@media(min-width:700px){main{padding:24px 36px 40px}header{margin:0;padding:35px 36px 60px;border-radius:24px}header p{max-width:none}h1{font-size:34px}.stats{margin:-28px 24px 22px;max-width:550px}.stats div{padding:14px 12px}.stats span{font-size:13px}aside{font-size:12px}#results{grid-template-columns:1fr 1fr;gap:18px}.controls{padding:22px}h2{font-size:18px}.office{padding:22px}.office>p:not(.note):not(.phone){font-size:13px}.note{font-size:11px}}

.brand-logo{display:block;width:64px;height:64px;border-radius:15px;margin-bottom:14px;position:relative;z-index:1}

/* Refined directory layout */
body{background:#fff}header{background:#fff;color:#193d4b;border-radius:0;margin:0;padding:24px 0;border-bottom:1px solid #e3e9e9}header:after{display:none}header p{color:#6a8088;max-width:none}h1{font-size:28px}.brand-logo{width:48px;height:48px}.tag{color:#6f858c;background:transparent;padding:0}main{padding:0 20px 30px}.controls{padding:20px 0;border-radius:0;margin:0 0 24px;border-bottom:1px solid #e3e9e9}.office{border:1px solid #dfe8e8;border-radius:15px;box-shadow:0 3px 15px #173b4904;padding:20px}.office h2{font-size:18px}.office .phone{font-size:21px}.actions a{min-height:46px}.note{color:#809298;font-size:10px}.save{border:0;border-top:1px solid #edf1f1;border-radius:0;font-size:10px}footer{font-size:10px;border-top:1px solid #e3e9e9;padding-top:20px}@media(min-width:700px){main{padding:24px 36px 40px}header{padding:10px 0 28px}h1{font-size:34px}.controls{max-width:680px}#results{gap:20px}}

body{background:#f4f7f8}header{background:linear-gradient(125deg,#14394c,#0e293b);color:#fff;padding:24px 22px 46px;margin:0 -20px;border-radius:0 0 22px 22px;border:0}header h1{font-size:26px;color:white}header p{color:#bbced6;font-size:12px}.tag{color:#9fbac6;font-size:11px}.brand-logo{float:right;margin:0 0 14px 12px}header h1{clear:both}.controls{position:relative;background:#fff;border:1px solid #e3ebed;border-radius:16px;padding:18px;margin:-24px 0 24px;box-shadow:0 8px 24px #183c4b08}.office{box-shadow:0 5px 20px #13374a05;border-color:#e4ebed;border-radius:16px}.firm-head{display:flex;align-items:center;gap:12px;margin:16px 0 10px}.avatar{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eaf4ef;color:#287a6f;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}.firm-head h2{margin:0;flex:1;font-size:17px}.phone{background:#f6f9f9;border-radius:9px;padding:10px 12px;font-size:20px}.actions a{flex:1 0 80px;font-size:11px}.actions a:last-child{flex:1 0 80px}footer a{color:#237d6b}.meta{font-size:9px}@media(min-width:700px){header{margin:0;padding:28px 30px 52px;border-radius:22px}.controls{margin-top:-24px;max-width:720px;margin-inline:24px}.brand-logo{width:48px;height:48px}header h1{font-size:34px}#results{gap:18px}}

.location-unavailable{padding:12px;background:#f2f5f5;color:#6c828a;border-radius:8px;font-size:12px}

.filter-hint{margin:0 0 18px;padding:12px 14px;background:#edf6f3;color:#225e55;border-radius:10px;font-size:14px;line-height:1.9}

/* Keep page content above the host branding area without altering it. */
html,body{height:100%;overflow:hidden}main{height:calc(100vh - 76px);height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-bottom:20px}body{padding-bottom:76px}
