/* fonts-selfhost */ /* Self-hosted subsets (latin, latin-ext, arabic) of the site's Google Fonts — no third-party requests. */
/* arabic */
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/arefruqaa-WwkbxPW1E165rajQKDulIIIoVeo5.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/arefruqaa-WwkbxPW1E165rajQKDulIIkoVeo5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/arefruqaa-WwkbxPW1E165rajQKDulIIcoVQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/arefruqaa-WwkYxPW1E165rajQKDulKDwNQNAY2e_7.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/arefruqaa-WwkYxPW1E165rajQKDulKDwNQNsY2e_7.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/arefruqaa-WwkYxPW1E165rajQKDulKDwNQNUY2Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLTfJCkyo.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLRvJCkyo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLSPJC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLTfJCkyo.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLRvJCkyo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLSPJC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLTfJCkyo.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLRvJCkyo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLSPJC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLTfJCkyo.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLRvJCkyo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLSPJC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLTfJCkyo.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLRvJCkyo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLSPJC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLTfJCkyo.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLRvJCkyo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fustat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/fustat-NaPZcZ_aHO9Iy5tLSPJC.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   BAHRAIN — Pearling Trail. Pearl-diver silver-blue accent over a
   soft foam-white ground, date-palm green + coral as secondary
   motif colors. Dilmun wave dividers (double ripple line) replace
   hairlines; a pearl-string dotted underline marks headings, soft
   rounded panels throughout. Aref Ruqaa (heads, dignified Ruqaa/
   Naskh calligraphy) + Fustat (body, modern Arabic+Latin sans).
   RTL-ready.
   Font-swap note: brief specified Gulzar (heads) / Lemonada (body).
   Gulzar leans Nastaliq — an Urdu-associated aesthetic, stylistically
   off for Gulf Arabic — and Lemonada reads too playful for a clinical
   ratings site. Replaced with a same-mood, fleet-unoccupied
   Arabic-capable pair (Aref Ruqaa / Fustat); documented in
   briefs.json and the wave-3 report.
   ============================================================ */

:root {
  --ink: #12252a;            /* deep pearl-shell ink */
  --ink-soft: #4d6166;       /* muted slate-teal */
  --line: #cfe3e6;           /* soft pearl-blue hairline */
  --bg: #eef6f7;             /* foam-white ground */
  --bg-soft: #e2eff1;        /* pale lagoon panel */
  --card: #f6fbfb;           /* card ground, near-white pearl */
  --accent: #1a7089;         /* pearl-diver silver-blue */
  --accent-soft: #dcedf0;    /* pale blue wash */
  --accent-hover: #124e60;   /* pressed/hover blue */
  --palm: #2f7a52;           /* date-palm green */
  --palm-soft: #e3f2e9;      /* pale palm wash */
  --coral: #d9724f;          /* Gulf coral */
  --coral-soft: #fbe8e0;     /* pale coral wash */

  /* Score colors — legible on foam-white */
  --good: #1f7a4f;
  --good-bg: #e2f2e8;
  --mid: #8a6412;
  --mid-bg: #f9f0da;
  --bad: #a5432c;
  --bad-bg: #fbe7df;

  --unknown: #5f6f73;
  --max-width: 76rem;
  --radius: 10px;

  --font-head: "Aref Ruqaa", Georgia, "Times New Roman", serif;
  --font-body: "Fustat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Pearling trail: repeating blue / palm / coral bands separated by gaps */
  --stripe: repeating-linear-gradient(90deg,
    var(--accent) 0, var(--accent) 22%,
    transparent 22%, transparent 25%,
    var(--palm) 25%, var(--palm) 30%,
    transparent 30%, transparent 33%,
    var(--coral) 33%, var(--coral) 37%,
    transparent 37%, transparent 46%);
  /* Compact three-block version for small accents (underlines, card tops) */
  --stripe-mini: linear-gradient(90deg, var(--accent) 0 34%, var(--palm) 34% 67%, var(--coral) 67% 100%);
  --stripe-vert: linear-gradient(180deg, var(--accent), var(--palm), var(--coral));
  /* String-of-pearls: dotted underline for headings */
  --pearl-string: repeating-radial-gradient(circle at 5px 3px, var(--accent) 0 2.6px, transparent 2.6px 12px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 82% -10%, rgba(26,112,137,0.06), transparent 60%),
    radial-gradient(900px 480px at -6% 6%, rgba(47,122,82,0.04), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
main.container { padding-top: 2rem; padding-bottom: 4rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.2rem; line-height: 1.15; margin: 0.6rem 0 0.9rem; letter-spacing: -0.02em; }
h2 {
  font-size: 1.4rem; margin: 2.4rem 0 0.6rem; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
}
h2::before {
  content: ""; display: inline-block; width: 1.4rem; height: 1px;
  background: var(--accent); vertical-align: middle;
  margin-right: 0.7rem; margin-bottom: 0.28em;
}
h3 { font-size: 1.12rem; margin: 1.4rem 0 0.45rem; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0.5rem 0 1rem; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 52rem; font-weight: 300; letter-spacing: 0.015em; }
.muted { color: var(--ink-soft); font-size: 0.9rem; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(246,251,251,0.92), rgba(238,246,247,0.92));
  backdrop-filter: blur(6px);
  position: relative;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--stripe);
}
.site-header .container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2.5rem; padding-top: 1.15rem; padding-bottom: 1rem; }
.brand { color: var(--ink); display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.32rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.brand-tagline { font-size: 0.74rem; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a { color: var(--ink-soft); padding: 0.2rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.lang-switcher { margin-left: auto; font-size: 0.8rem; white-space: nowrap; letter-spacing: 0.06em; }
.lang-switcher a { color: var(--ink-soft); }
.lang-switcher a:hover { color: var(--accent); }
.lang-current { font-weight: 700; color: var(--accent); }
.lang-sep { color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: 0.5rem; padding-bottom: 1.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='24' viewBox='0 0 160 24'%3E%3Cpath d='M0 16 Q20 5 40 16 T80 16 T120 16 T160 16' fill='none' stroke='%231a7089' stroke-opacity='0.11' stroke-width='2'/%3E%3Cpath d='M0 21 Q20 13 40 21 T80 21 T120 21 T160 21' fill='none' stroke='%232f7a52' stroke-opacity='0.08' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 160px 24px;
}
.hero h1 { max-width: 48rem; }
.hero h1::after {
  content: ""; display: block; width: 6.5rem; height: 6px; margin-top: 1rem;
  background: var(--pearl-string);
}
.hero-links { font-size: 0.95rem; letter-spacing: 0.02em; }

/* ---------- Profile controls ---------- */
.ranking-controls { margin: 2rem 0 1rem; }
.profile-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-btn {
  font: inherit; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); color: var(--ink-soft);
  cursor: pointer; transition: all 0.18s ease;
}
.profile-btn:hover { border-color: var(--accent); color: var(--accent); }
.profile-btn[aria-pressed="true"] {
  background: var(--accent); border-color: transparent; color: #f6fbfb; font-weight: 700;
}
.profile-desc { min-height: 1.4em; margin: 0.7rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.table-filter { margin-top: 0.9rem; }
.table-filter input {
  font: inherit; font-size: 0.92rem; width: 100%; max-width: 20rem;
  padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); color: var(--ink);
}
.table-filter input::placeholder { color: var(--unknown); }
.table-filter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(26,112,137,0.28); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-family: var(--font-head); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); border-bottom: 1px solid var(--accent); font-weight: 700;
  background: rgba(26,112,137,0.05);
}
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.ranking-table tbody tr { transition: background 0.15s ease; }
.ranking-table tbody tr:hover { background: rgba(26,112,137,0.045); }
.rank-cell { font-variant-numeric: tabular-nums; color: var(--accent); width: 2.4rem; font-family: var(--font-head); font-weight: 700; }
.name-cell a { font-weight: 600; color: var(--ink); }
.name-cell a:hover { color: var(--accent); text-decoration: none; }
.score-cell { white-space: nowrap; }
.th-sub { font-size: 0.7em; color: var(--ink-soft); margin-left: 0.15em; text-transform: none; letter-spacing: 0; }
.cat-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cat-max { color: var(--ink-soft); font-size: 0.8em; }
.flags-cell .flag-count { color: var(--bad); font-weight: 700; }
.flags-cell .flag-none { color: var(--ink-soft); }
.table-note { margin-top: 0.9rem; max-width: 52rem; }

.excluded-note { margin-top: 1.2rem; font-size: 0.92rem; }
.excluded-note summary { cursor: pointer; color: var(--accent); letter-spacing: 0.02em; }

/* ---------- Score badges ---------- */
.score-badge {
  display: inline-block; min-width: 2.6em; text-align: center;
  padding: 0.16em 0.5em; border-radius: 6px;
  font-weight: 700; font-variant-numeric: tabular-nums;
  font-family: var(--font-head); letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.score-high { background: var(--good-bg); color: var(--good); border-color: rgba(31,122,79,0.35); }
.score-mid  { background: var(--mid-bg);  color: var(--mid);  border-color: rgba(138,100,18,0.35); }
.score-low  { background: var(--bad-bg);  color: var(--bad);  border-color: rgba(165,67,44,0.35); }
.score-na   { background: var(--bg-soft); color: var(--unknown); border-color: var(--line); }

/* ---------- Bars ---------- */
.bar { background: #d9ecef; border: 1px solid var(--line); border-radius: 999px; height: 0.55rem; overflow: hidden; min-width: 6rem; flex: 1; }
.bar-fill { background: linear-gradient(90deg, #1f8aa8, var(--accent)); height: 100%; }

/* ---------- Cards ---------- */
.cards-section { margin-top: 2.8rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.1rem; }
.clinic-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  position: relative; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.clinic-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--stripe-mini); border-radius: var(--radius) var(--radius) 0 0;
}
.clinic-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(18,37,42,0.10); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.card-head h3 { margin: 0; font-size: 1.02rem; }
.card-head a { color: var(--ink); }
.card-head a:hover { color: var(--accent); text-decoration: none; }
.card-summary { font-size: 0.88rem; color: var(--ink-soft); }
.card-bars { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.7rem 0; }
.card-bar-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; }
.card-bar-label { flex: 0 0 9.5rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.card-bar-pts { flex: 0 0 3.2rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.card-meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Clinic page ---------- */
.breadcrumbs { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; }
.clinic-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.clinic-headline { font-size: 1.04rem; max-width: 46rem; color: var(--ink-soft); font-weight: 300; }
.clinic-score-big { font-size: 2.1rem; display: flex; align-items: baseline; gap: 0.25rem; font-family: var(--font-head); }
.clinic-score-big .score-badge { padding: 0.15em 0.55em; }
.score-of { color: var(--ink-soft); font-size: 1rem; }

.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: baseline; gap: 0.5em;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.83rem;
  background: var(--bg-soft); letter-spacing: 0.02em;
}
.chip-ranked { background: var(--accent-soft); border-color: var(--accent); }
.chip-rank { font-weight: 700; color: var(--accent); font-family: var(--font-head); }
.chip-excluded { color: var(--ink-soft); }
.chip-excluded .chip-rank { color: var(--unknown); font-weight: 400; }
.chip-score { color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
@media (max-width: 44rem) { .two-col { grid-template-columns: 1fr; } }
.plus-list li::marker { color: var(--good); }
.minus-list li::marker { color: var(--bad); }

.cat-section { margin-top: 1.8rem; }
.cat-section-head { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0.4rem; }
.cat-section-head h3 { margin: 0; }
.cat-section-score { display: flex; align-items: center; gap: 0.6rem; min-width: 14rem; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.crit-table { font-size: 0.9rem; }
.crit-table td { padding: 0.4rem 0.55rem; }
.crit-status { width: 1.6rem; }
.crit-pts { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-soft); width: 4rem; }
.crit-note { color: var(--ink-soft); font-size: 0.85em; }
.crit-unknown .crit-label { color: var(--unknown); }

.status { font-weight: 700; letter-spacing: 0.03em; }
.st-earned { color: var(--good); }
.st-partial { color: var(--mid); }
.st-missed { color: var(--bad); }
.st-unknown { color: var(--unknown); }

.flag-list { list-style: none; padding: 0; }
.flag {
  padding: 0.6rem 0.85rem; border-left: 2px solid var(--bad); background: var(--bad-bg);
  border-radius: var(--radius); margin-bottom: 0.55rem; font-size: 0.92rem;
}
.flag-low { border-left-color: var(--mid); background: var(--mid-bg); }
.flag-sev { text-transform: uppercase; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; margin-right: 0.35rem; }

.unknown-list { columns: 2; column-gap: 2.5rem; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 44rem) { .unknown-list { columns: 1; } }

.kv-table th { width: 9rem; font-weight: 600; color: var(--ink-soft); }
.src-id { font-variant-numeric: tabular-nums; color: var(--ink-soft); width: 3rem; }
.src-ref { font-size: 0.82em; color: var(--accent); }
.src-manual { color: var(--ink-soft); font-style: italic; }
.sources-table td { word-break: break-word; }
:target { background: rgba(26,112,137,0.10); transition: background 0.6s; }

.report-cta {
  margin-top: 2.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  background: linear-gradient(135deg, rgba(26,112,137,0.06), var(--card));
  position: relative;
}
.report-cta::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--stripe-vert);
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #f6fbfb;
  border: none; border-radius: var(--radius); padding: 0.6rem 1.4rem;
  font: inherit; font-size: 0.82rem; font-weight: 700; text-decoration: none; cursor: pointer;
  letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--accent-hover); box-shadow: 0 4px 16px rgba(26,112,137,0.28); text-decoration: none; color: #f6fbfb; }
.btn-secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent-hover); box-shadow: none; }
.report-form { max-width: 36rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.form-row .check-label { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); }
.form-row input[type="url"], .form-row input[type="email"], .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: 0.95rem;
  padding: 0.55rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(26,112,137,0.28);
}

/* ---------- Methodology ---------- */
.formula {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 1.1rem; font-size: 0.9rem; overflow-x: auto;
  border-left: 2px solid var(--accent);
}
.method-table td, .method-table th { font-size: 0.9rem; }
.profile-matrix td, .profile-matrix th { white-space: nowrap; }
.profile-matrix td:last-child, .profile-matrix th:last-child { white-space: normal; min-width: 14rem; }

/* ---------- Home audit block ---------- */
.home-audit { margin-top: 2.8rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }

/* ---------- Data banner ---------- */
.data-banner {
  background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 0.7rem 1rem; font-size: 0.9rem; color: var(--ink);
  border-left: 2px solid var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  margin-top: 3rem; font-size: 0.85rem; color: var(--ink-soft);
  position: relative;
}
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--stripe); }
.site-footer .container { padding-top: 1.5rem; padding-bottom: 1.8rem; }
.site-footer p { max-width: 60rem; }
.site-footer a { color: var(--accent); }

/* ---------- Licensing & Credentials ---------- */
#licensing .lic-missing { color: var(--bad); }
.doctors-table { margin-top: 0.6rem; font-size: 0.92rem; }
.doctors-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-family: var(--font-head); }
.doctors-table td .lic-missing { color: var(--bad); font-size: 0.9em; }

/* ---------- Feedback form (unified) ---------- */
.req { color: var(--bad); }
.contact-fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 1.1rem 1.1rem; margin: 1.4rem 0; background: var(--bg-soft); }
.contact-fieldset legend { font-family: var(--font-head); font-weight: 700; padding: 0 0.5rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); font-size: 0.85rem; }
.contacts-hint { margin: 0.35rem 0 0.85rem; color: var(--ink-soft); }
.hp-field { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--bad); font-size: 0.9rem; margin-top: 0.4rem; }
.form-status { min-height: 1.2em; font-size: 0.95rem; margin-top: 0.5rem; }
.form-ok { color: var(--good); font-weight: 600; }
.form-err { color: var(--bad); }
.cf-turnstile { margin: 1rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 { font-size: 1.78rem; }
  h2 { font-size: 1.18rem; }
  .container { padding: 0 1rem; }
  .site-header .container { gap: 0.4rem 1.2rem; }
  .clinic-score-big { font-size: 1.7rem; }
  .brand-name { font-size: 1.12rem; letter-spacing: 0.09em; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .profile-buttons, .table-filter, .report-cta, .report-form { display: none; }
  .brand-name { color: #000; }
  a { color: #000; }
  .clinic-card, .table-wrap, .contact-fieldset { border-color: #ccc; background: #fff; }
  .score-badge { border-color: #999; }
  .bar-fill { background: #666; box-shadow: none; }
}

/* RTL (Arabic) */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .site-nav, [dir="rtl"] .lang-switcher { margin-left: 0; margin-right: auto; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .num, [dir="rtl"] td.num, [dir="rtl"] th.num { text-align: left; }
[dir="rtl"] .bar-fill { direction: ltr; }
[dir="rtl"] ul, [dir="rtl"] ol { padding-right: 1.2em; padding-left: 0; }
/* RTL mirrored decorative strips */
[dir="rtl"] h2::before { margin-right: 0; margin-left: 0.7rem; }
[dir="rtl"] .report-cta::before { left: auto; right: 0; }
[dir="rtl"] .flag { border-left: none; border-right: 2px solid var(--bad); }
[dir="rtl"] .flag-low { border-right-color: var(--mid); }
[dir="rtl"] .formula { border-left: none; border-right: 2px solid var(--accent); }
[dir="rtl"] .data-banner { border-left: none; border-right: 2px solid var(--accent); }

/* Zartrace contextual CTA (affiliated AI-visibility service). Palette-neutral
   so it reads on every site design; the button inherits each site's .btn accent. */
.us-cta { margin: 1.1rem 0 0; padding: 1rem 1.25rem; border: 1px solid rgba(127,127,127,0.28); border-left: 3px solid; border-radius: 10px; background: rgba(127,127,127,0.06); }
.us-cta h4 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.us-cta > p { margin: 0 0 0.75rem; }
.us-cta .btn { margin: 0.15rem 0; }
.us-cta .us-disclosure { font-size: 0.8rem; opacity: 0.7; margin: 0.65rem 0 0; }
.us-cta-lg { margin: 1.5rem 0; padding: 1.4rem 1.6rem; }
.us-cta-lg h2 { margin-top: 0; }

/* sedation */
#sedation{margin:1.25rem 0;padding:1rem 1.15rem;border:1px solid var(--line,#e5e0d8);border-radius:10px;background:var(--card,#fff)}
#sedation h2{margin-top:0}
.sedation-list{list-style:none;padding:0;margin:.5rem 0}
.sedation-list li{padding:.35rem 0}
.info-pill{display:inline-block;font-size:.72em;padding:.05em .55em;border:1px solid var(--accent,#1b5c8a);border-radius:1em;color:var(--accent,#1b5c8a);vertical-align:middle;white-space:nowrap}

/* fleet-a11y-v1 */
/* fleet-a11y-v1.1 rtl-safe */
.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100; padding: 0.5rem 1rem; background: var(--bg, #fff); color: var(--ink, #111); border: 2px solid var(--accent, currentColor); border-radius: 4px; }
.skip-link:focus { inset-inline-start: 0.5rem; top: 0.5rem; }
:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
