/** GILEAD CONSULTANTS — single editable CSS theme file. * CHANGE BRAND COLORS HERE to update the entire website. * Mobile-first layouts and native controls; no external CSS dependencies.*/
:root {
  --navy: #122943;
  --navy-deep: #0b1b2d;
  --navy-soft: #213e58;
  --mint: #1ba97d;
  --mint-light: #e8f8f1;
  --cream: #faf8f4;
  --canvas: #f6f8fa;
  --ink: #14283e;
  --muted: #647486;
  --line: #e3eaf0;
  --white: #fff;
  --danger: #b93e47;
  --radius: 16px;
  --shadow: 0 20px 56px rgba(18,41,67,.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,select,textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img,svg {
  max-width: 100%;
}
img {
  height: auto;
}
h1,h2,h3,h4,p {
  margin: 0;
}
h1,h2,h3,h4 {
  line-height: 1.18;
  letter-spacing: -.035em;
}
h1 {
  font-size: clamp(2.8rem,5.2vw,5.5rem);
  font-weight: 790;
}
h2 {
  font-size: clamp(2.05rem,3.4vw,3.2rem);
  font-weight: 790;
}
h3 {
  font-size: 1.22rem;
}
p {
  color: var(--muted);
}
ul {
  padding-left: 1.2rem;
}
.container {
  width: min(1180px,calc(100% - 44px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -50px;
  background: #fff;
  padding: 12px;
  z-index: 999;
}
.skip-link:focus {
  top: 8px;
}
::selection {
  background: #bcebdc;
  color: #092d26;
}
.utility-bar {
  background: var(--navy-deep);
  color: #d5e2e8;
  font-size: 12px;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 18px;
}
.utility-message {
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54d6ab;
  box-shadow: 0 0 0 4px rgba(84,214,171,.12);
}
.utility-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.utility-links a:hover {
  color: #72e8c0;
}
.utility-divider {
  color: #5f7286;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img {
  display: block;
  width: 206px;
  height: auto;
  max-height: 60px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 680;
}
.primary-nav>a:not(.nav-agent):not(.nav-contact) {
  color: #35495d;
  transition: color .2s;
}
.primary-nav>a:hover,.primary-nav>a.active {
  color: var(--mint);
}
.nav-contact {
  color: #35495d;
}
.primary-nav .nav-agent {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: white;
  padding: 11px 16px;
  border-radius: 9px;
  font-weight: 720;
  white-space: nowrap;
  transition: transform .2s,background .2s;
}
.primary-nav .nav-agent:hover {
  background: #224563;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 9px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  border-radius: 3px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  min-height: 48px;
  transition: transform .2s,box-shadow .2s,background .2s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 25px rgba(20,52,75,.13);
}
.btn-primary {
  background: var(--mint);
  color: white;
}
.btn-primary:hover {
  background: #138e69;
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover {
  background: #22415c;
}
.btn-outline {
  border-color: #d9e2e9;
  background: #fff;
  color: var(--navy);
}
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-soft {
  background: #eaf7f2;
  color: #0a7957;
}
.btn-sm {
  min-height: 38px;
  padding: 10px 14px;
  font-size: 12px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #168e6a;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 830;
  letter-spacing: .16em;
}
.eyebrow:before {
  content: "";
  width: 21px;
  height: 2px;
  background: currentColor;
  display: block;
}
.section {
  padding: 96px 0;
}
.section-tight {
  padding: 70px 0;
}
.section-cream {
  background: var(--cream);
}
.section-alt {
  background: var(--canvas);
}
.section-head {
  max-width: 645px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-head .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}
.section-head p {
  margin-top: 18px;
  font-size: 16px;
}
.text-link {
  color: #147f61;
  font-weight: 760;
  font-size: 13px;
}
.text-link:hover {
  text-decoration: underline;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.fineprint {
  font-size: 12px;
  color: #7c8b99;
}
.lead {
  font-size: 17px;
  line-height: 1.86;
}
.kicker {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b5dbcf;
  font-weight: 750;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
/*Homepage hero: handcrafted CSS visual, no third-party stock, tracking, or image dependency.*/
.hero {
  overflow: hidden;
  background: linear-gradient(117deg,#f5fbfa 0%,#f7fafc 47%,#f0f6f8 100%);
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  top: -180px;
  right: -100px;
  background: radial-gradient(circle,rgba(45,169,132,.10),transparent 69%);
}
.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 55px;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 75px;
  position: relative;
}
.hero-copy {
  max-width: 610px;
}
.hero-copy .eyebrow {
  margin-bottom: 23px;
}
.hero-copy h1 {
  margin-bottom: 22px;
}
.hero-copy h1 .accent {
  color: var(--mint);
}
.hero-copy>p {
  max-width: 520px;
  color: #63758a;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 32px;
}
.hero-trust {
  margin-top: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  color: #607487;
  font-size: 12px;
  font-weight: 680;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust b {
  color: var(--mint);
}
.hero-visual {
  height: 505px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-frame {
  position: absolute;
  inset: 22px 2px 20px 35px;
  border: 1px solid rgba(57,100,109,.14);
  border-radius: 26px;
  background: linear-gradient(140deg,#d7efec,#b7d7db 45%,#e3efeb 100%);
  overflow: hidden;
  box-shadow: 0 33px 70px rgba(18,41,67,.12);
}
.hero-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 55%,rgba(9,47,69,.2) 100%);
}
.sun {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  filter: blur(2px);
  position: absolute;
  top: 64px;
  right: 70px;
}
.landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(180deg,rgba(255,255,255,.18) 0%,#739ba8 100%);
  clip-path: polygon(0 47%,9% 38%,21% 42%,34% 19%,42% 33%,51% 16%,63% 43%,71% 32%,82% 46%,92% 24%,100% 37%,100% 100%,0 100%);
  opacity: .48;
}
.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: #294c65;
  clip-path: polygon(0 76%,8% 76%,8% 55%,16% 55%,16% 71%,21% 71%,21% 42%,26% 42%,26% 65%,34% 65%,34% 51%,38% 51%,38% 29%,42% 12%,46% 29%,46% 52%,52% 52%,52% 67%,60% 67%,60% 41%,65% 41%,65% 59%,70% 59%,70% 25%,74% 25%,74% 62%,79% 62%,79% 48%,86% 48%,86% 66%,93% 66%,93% 33%,100% 33%,100% 100%,0 100%);
  opacity: .43;
}
.frame-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);
  background-size: 49px 49px;
  mask-image: linear-gradient(to bottom,black,transparent);
}
.visual-tag {
  position: absolute;
  left: 56px;
  top: 47px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.58);
  color: #174f50;
  border-radius: 20px;
  padding: 7px 13px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  background: rgba(255,255,255,.50);
  backdrop-filter: blur(10px);
}
.visual-main {
  position: absolute;
  z-index: 3;
  top: 145px;
  left: 15px;
  background: rgba(255,255,255,.95);
  border-radius: 20px;
  width: 260px;
  padding: 22px;
  box-shadow: 0 15px 50px rgba(16,53,71,.15);
  transform: rotate(-5deg);
}
.visual-main .small-label {
  font-size: 10px;
  color: #748598;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 750;
}
.visual-main strong {
  display: block;
  font-size: 25px;
  line-height: 1.25;
  margin: 8px 0;
  color: var(--navy);
}
.visual-main p {
  font-size: 12px;
}
.visa-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #dff7ec;
  border-radius: 12px;
  color: #168966;
  font-size: 24px;
  margin-bottom: 13px;
}
.visual-main .separ {
  height: 1px;
  background: #edf1f4;
  margin: 15px 0;
}
.visual-main .visual-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #1e9270;
  font-size: 11px;
  font-weight: 750;
}
.mini-card {
  position: absolute;
  right: -18px;
  bottom: 72px;
  z-index: 4;
  width: 216px;
  border-radius: 16px;
  padding: 17px 19px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(18,41,67,.15);
  display: flex;
  gap: 12px;
  align-items: center;
}
.mini-icon {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf7ef;
  font-size: 20px;
}
.mini-card strong {
  display: block;
  font-size: 13px;
}
.mini-card small {
  color: var(--muted);
  font-size: 10px;
}
.hero-floating {
  position: absolute;
  right: 6px;
  top: 94px;
  z-index: 4;
  padding: 9px 13px;
  border-radius: 30px;
  background: white;
  color: #19664c;
  box-shadow: 0 10px 35px rgba(16,53,71,.12);
  font-size: 11px;
  font-weight: 770;
}
/*Page interiors and multi-purpose cards*/
.page-hero {
  padding: 75px 0 68px;
  background: linear-gradient(120deg,#f0f9f6,#f4f8fb);
}
.page-hero .eyebrow {
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2.35rem,4.4vw,4rem);
  max-width: 840px;
}
.page-hero p {
  margin-top: 20px;
  max-width: 700px;
  font-size: 17px;
}
.page-hero .breadcrumbs {
  margin-bottom: 17px;
  color: #739187;
  font-size: 12px;
  font-weight: 720;
}
.page-hero .breadcrumbs a:hover {
  text-decoration: underline;
}
.service-grid,.country-grid,.insight-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 21px;
}
.service-card,.country-card,.insight-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 29px;
  transition: transform .2s,box-shadow .2s,border-color .2s;
}
.service-card:hover,.country-card:hover,.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #c8e6da;
}
.card-icon {
  height: 54px;
  width: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eaf8f2;
  color: #0d8760;
  font-size: 25px;
  margin-bottom: 23px;
}
.service-card h3,.country-card h3 {
  font-size: 20px;
  margin-bottom: 11px;
}
.service-card p,.country-card p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 19px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 24px;
}
.card-footer .arrow {
  font-size: 22px;
  color: var(--mint);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.feature-panel {
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 37px;
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-list {
  margin: 30px 0;
  display: grid;
  gap: 20px;
}
.feature-list>div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.tick {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #07845f;
  background: #e1f7ed;
  font-size: 15px;
  font-weight: 800;
}
.feature-list strong {
  display: block;
  font-size: 15px;
}
.feature-list p {
  font-size: 13px;
  margin-top: 4px;
}
.feature-squares {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 15px;
}
.feature-square {
  background: #f2f8f6;
  border: 1px solid #e5f0ec;
  border-radius: 16px;
  padding: 25px;
  min-height: 150px;
}
.feature-square strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 9px;
}
.feature-square small {
  color: #648178;
  line-height: 1.6;
}
.feature-square .number {
  color: #13916c;
  font-size: 28px;
  font-weight: 850;
  margin-bottom: 10px;
}
.country-flag {
  font-size: 31px;
  margin-bottom: 14px;
}
.country-card {
  padding: 24px;
}
.country-card .country-meta {
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  color: #248f70;
  font-weight: 830;
}
.country-card h3 {
  margin-bottom: 7px;
}
.country-card p {
  min-height: 47px;
  font-size: 13px;
  margin-bottom: 9px;
}
.country-card>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #108966;
  font-weight: 750;
}
.country-card>a:hover {
  text-decoration: underline;
}
.disclaimer-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 27px;
  color: #697c89;
  font-size: 12px;
}
.disclaimer-line span {
  font-size: 20px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 19px;
  counter-reset: process;
}
.process-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.process-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d2eae1;
  border-radius: 50%;
  color: #0e8963;
  font-weight: 790;
  margin-bottom: 24px;
}
.process-card h3 {
  margin-bottom: 10px;
}
.process-card p {
  font-size: 13px;
}
.accent-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 55px;
  position: relative;
  overflow: hidden;
}
.accent-panel:after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.035);
  right: -160px;
  top: -190px;
}
.accent-panel p {
  color: #b6cbd8;
}
.accent-panel .eyebrow {
  color: #77e8c3;
}
.accent-panel .eyebrow:before {
  background: #77e8c3;
}
.accent-panel h2 {
  max-width: 680px;
  margin: 18px 0;
}
.accent-panel .btn-row {
  margin-top: 26px;
}
.accent-panel>* {
  position: relative;
  z-index: 1;
}
.agent-promo {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 45px;
  align-items: center;
}
.agent-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.agent-stats>div {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
}
.agent-stats b {
  display: block;
  font-size: 28px;
  color: #fff;
}
.agent-stats small {
  font-size: 12px;
  color: #b2c8d8;
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.doc-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 19px;
}
.doc-illustration {
  height: 180px;
  border-radius: 11px;
  background: repeating-linear-gradient(0deg,#f4f7f8 0,#f4f7f8 15px,#f0f4f6 16px,#f0f4f6 17px);
  position: relative;
  padding: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.doc-paper {
  background: #fff;
  border: 1px solid #d5dfe7;
  border-radius: 7px;
  width: 115px;
  height: 146px;
  padding: 16px;
  transform: rotate(-7deg);
  box-shadow: 0 8px 21px rgba(18,41,67,.1);
}
.doc-paper span {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: #dce6e8;
  margin-bottom: 11px;
}
.doc-paper span:first-child {
  background: #70ad9e;
  height: 13px;
  width: 55%;
}
.doc-stamp {
  position: absolute;
  right: 23px;
  bottom: 27px;
  background: #dfeee9;
  padding: 8px 11px;
  border-radius: 6px;
  transform: rotate(7deg);
  font-size: 9px;
  color: #438b75;
  font-weight: 900;
  letter-spacing: .1em;
}
.doc-preview h3 {
  margin-top: 17px;
  margin-bottom: 8px;
}
.doc-preview p {
  font-size: 13px;
}
.doc-preview small {
  font-size: 11px;
  color: #778c97;
}
/*Forms, messages and login*/
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(18,41,67,.055);
}
.form-card h2 {
  font-size: 27px;
  margin-bottom: 8px;
}
.form-card>p {
  margin-bottom: 26px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  font-size: 12px;
  color: #3c5567;
  font-weight: 750;
  display: block;
  margin-bottom: 7px;
}
.field input,.field select,.field textarea,.field .readonly-input {
  width: 100%;
  border: 1px solid #d8e2e9;
  border-radius: 9px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s,box-shadow .2s;
  font-size: 14px;
  min-height: 46px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color: #1fa87b;
  box-shadow: 0 0 0 3px rgba(31,168,123,.11);
}
.field input[readonly] {
  background: #f5f8f9;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #607182;
  font-size: 12px;
  line-height: 1.6;
  margin: 16px 0;
}
.checkbox-line input {
  margin-top: 4px;
  accent-color: var(--mint);
}
.helper {
  color: #6e8491;
  font-size: 12px;
  margin-top: 8px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.alert {
  padding: 16px 18px;
  border: 1px solid #d5e7ef;
  background: #eef7fb;
  border-radius: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
  color: #35576a;
  font-size: 14px;
}
.alert-error {
  background: #fff2f2;
  border-color: #f2cbce;
  color: #9f343e;
}
.alert-success {
  background: #eafaf2;
  border-color: #b8e6cf;
  color: #116d4e;
}
.alert-info {
  background: #eef7fb;
}
.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 46px;
  align-items: start;
}
.contact-info h2 {
  margin: 16px 0 16px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-icon {
  background: #e9f7f1;
  border-radius: 11px;
  padding: 12px;
  color: #117c61;
  min-width: 46px;
  text-align: center;
}
.contact-detail strong {
  display: block;
  margin-bottom: 5px;
}
.contact-detail a {
  color: #227a65;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.auth-wrap {
  background: linear-gradient(160deg,#f2f8f6,#fff);
  padding: 75px 0 100px;
  min-height: 70vh;
}
.auth-container {
  max-width: 505px;
  margin: 0 auto;
}
.auth-container .form-card {
  padding: 40px;
}
.auth-header {
  text-align: center;
  margin-bottom: 24px;
}
.auth-header .eyebrow {
  margin-bottom: 12px;
}
.auth-header p {
  margin-top: 12px;
}
.auth-footer {
  text-align: center;
  font-size: 13px;
  color: #748695;
  margin-top: 22px;
}
.auth-footer a {
  font-weight: 730;
  color: #168b69;
}
.quiet-link {
  font-size: 12px;
  color: #168b69;
  font-weight: 720;
}
.human-field {
  position: absolute;
  left: -10000px;
  top: -10000px;
  opacity: 0;
}
/*Agent/admin portal*/
.portal-wrap {
  background: #f4f7f9;
  min-height: 65vh;
  padding: 50px 0 92px;
}
.portal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 26px;
}
.portal-heading h1 {
  font-size: clamp(2.0rem,4vw,2.8rem);
  margin: 5px 0 8px;
}
.portal-heading p {
  font-size: 14px;
}
.portal-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.portal-nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #4f6677;
}
.portal-nav a.active,.portal-nav a:hover {
  border-color: #c6e8da;
  color: #07805c;
  background: #ecf9f3;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
}
.stat-card .stat-label {
  font-size: 12px;
  font-weight: 730;
  color: #728695;
  margin-bottom: 13px;
}
.stat-card b {
  display: block;
  font-size: 36px;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.stat-card small {
  font-size: 11px;
  color: #81919b;
}
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 27px;
  background: #fff;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 19px;
  margin-bottom: 14px;
}
.panel h3 {
  font-size: 16px;
}
.panel p {
  font-size: 13px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.panel-heading h2 {
  margin: 0;
}
.progress-layout {
  display: flex;
  align-items: center;
  gap: 28px;
}
.progress-ring {
  --progress: 0%;
  width: 165px;
  height: 165px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(#19a678 var(--progress),#e9eef2 0);
  display: grid;
  place-items: center;
}
.progress-inner {
  width: 126px;
  height: 126px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.progress-inner strong {
  font-size: 31px;
  line-height: 1;
  color: var(--navy);
}
.progress-inner small {
  font-size: 10px;
  color: var(--muted);
}
.milestone-info strong {
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}
.milestone-info p {
  font-size: 12px;
  line-height: 1.7;
}
.milestone-info .badge {
  margin-top: 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ebf8f1;
  color: #11845f;
  border: 1px solid #ceeadb;
  border-radius: 50px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 800;
}
.badge-amber {
  background: #fff7e8;
  border-color: #f3e0b5;
  color: #9d6918;
}
.badge-gray {
  background: #f1f4f6;
  border-color: #e1e7eb;
  color: #526575;
}
.badge-red {
  background: #fff0f0;
  border-color: #f0caca;
  color: #ae3941;
}
.notice-box {
  border-radius: 12px;
  padding: 18px 20px;
  border-left: 3px solid #1ba97d;
  background: #f0faf5;
}
.notice-box strong {
  display: block;
  font-size: 13px;
  color: #0d8160;
  margin-bottom: 5px;
}
.notice-box p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ref-link-box {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.ref-link-box input {
  background: #f4f8fa;
  border: 1px solid #dce7ec;
  min-height: 43px;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 12px;
  flex: 1;
  min-width: 200px;
  color: #3c5b70;
}
.data-table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 560px;
}
.data-table th {
  background: #f4f7f9;
  text-align: left;
  color: #657a89;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .065em;
  padding: 13px;
}
.data-table td {
  padding: 13px;
  border-bottom: 1px solid #eaf0f4;
  vertical-align: middle;
}
.data-table td:last-child {
  white-space: nowrap;
}
.data-table tr:hover td {
  background: #fbfdfd;
}
.data-table select,.data-table input {
  max-width: 180px;
  border: 1px solid #d4e0e8;
  border-radius: 7px;
  padding: 7px;
  font-size: 12px;
}
.inline-form {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.help-box {
  background: #eaf7f3;
  border: 1px solid #d7eee5;
  border-radius: 13px;
  padding: 20px;
}
.help-box h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.help-box p {
  font-size: 13px;
}
.network-level {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 12px;
}
.level-number {
  height: 41px;
  width: 41px;
  background: #e8f6ee;
  color: #087c57;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.network-level strong {
  display: block;
}
.network-level small {
  color: #728595;
}
.network-count {
  margin-left: auto;
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
}
.payout-lock {
  background: #fffaf0;
  border: 1px solid #efdcb6;
  border-radius: 12px;
  padding: 20px;
}
.payout-open {
  background: #edfbf4;
  border-color: #c4ead4;
}
/*Footer and WhatsApp help*/
.footer {
  background: var(--navy-deep);
  color: #dce7ee;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr .8fr .85fr 1.35fr;
  gap: 45px;
  padding: 70px 0 59px;
}
.footer-about img {
  width: 208px;
}
.footer-about p {
  font-size: 13px;
  margin-top: 20px;
  color: #a7bbc9;
  line-height: 1.85;
  max-width: 325px;
}
.footer-pill {
  display: inline-block;
  margin-top: 22px;
  border: 1px solid #31526a;
  border-radius: 30px;
  padding: 7px 13px;
  color: #92dec4;
  font-size: 11px;
  font-weight: 690;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-column h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 0;
}
.footer-column a,.footer-column small {
  font-size: 12px;
  color: #b3c4d1;
  line-height: 1.7;
}
.footer-column a:hover {
  color: #8be9c7;
}
.footer-contact a {
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #274155;
  font-size: 11px;
  color: #93a8b9;
}
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 90;
}
.wa-float summary {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #178f65;
  color: #fff;
  border-radius: 45px;
  box-shadow: 0 8px 30px rgba(0,0,0,.17);
  padding: 12px 17px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 790;
  list-style: none;
}
.wa-float summary::-webkit-details-marker {
  display: none;
}
.wa-float summary svg {
  width: 22px;
  height: 22px;
}
.wa-options {
  position: absolute;
  bottom: 62px;
  right: 0;
  min-width: 245px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-options strong {
  font-size: 13px;
}
.wa-options a {
  font-size: 12px;
  border-radius: 8px;
  padding: 9px 12px;
  color: #177b5e;
  background: #f0f8f3;
}
.wa-options a:hover {
  background: #daf0e5;
}
.reveal {
  opacity: 1;
  transform: none;
}
.is-visible {
  opacity: 1;
  transform: none;
}
@media (min-width:801px) {
  .reveal {
    animation: fadeup .7s both;
  }
  @keyframes fadeup {
    from {
      opacity: .2;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (max-width:1100px) {
  .primary-nav {
    gap: 15px;
    font-size: 12px;
  }
  .nav-inner {
    gap: 14px;
  }
  .brand img {
    width: 180px;
  }
  .hero-grid {
    gap: 20px;
  }
  .service-grid,.country-grid {
    gap: 14px;
  }
  .footer-main {
    gap: 25px;
  }
  .hero-visual {
    height: 455px;
  }
  .hero-frame {
    inset: 23px 1px 20px 23px;
  }
}
@media (max-width:900px) {
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0,0,0,.10);
    padding: 17px 24px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav.open {
    display: flex;
  }
  .primary-nav a {
    padding: 12px 2px;
    border-bottom: 1px solid #eef2f4;
  }
  .primary-nav .nav-agent {
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }
  .nav-inner {
    min-height: 74px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 65px;
  }
  .hero-copy {
    max-width: 730px;
  }
  .hero-copy h1 {
    max-width: 690px;
  }
  .hero-visual {
    height: 440px;
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }
  .two-col {
    gap: 28px;
  }
  .footer-main {
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
  }
  .stat-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .service-grid,.country-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .docs-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .agent-promo {
    grid-template-columns: 1fr;
  }
  .progress-layout {
    gap: 15px;
  }
}
@media (max-width:640px) {
  .container {
    width: min(100% - 32px,1180px);
  }
  .utility-message {
    display: none;
  }
  .utility-inner {
    justify-content: center;
    min-height: 30px;
  }
  .utility-links {
    gap: 10px;
    font-size: 10px;
  }
  .utility-divider {
    display: none;
  }
  .nav-inner {
    min-height: 69px;
  }
  .brand img {
    width: 177px;
  }
  .section {
    padding: 67px 0;
  }
  .section-tight {
    padding: 55px 0;
  }
  .hero-grid {
    padding-top: 45px;
    padding-bottom: 52px;
  }
  .hero-copy h1 {
    font-size: clamp(2.45rem,9vw,3.65rem);
  }
  .hero-copy>p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 26px;
  }
  .hero-trust {
    gap: 12px;
    font-size: 11px;
    margin-top: 25px;
  }
  .hero-visual {
    height: 330px;
  }
  .hero-frame {
    inset: 5px 12px 14px 10px;
  }
  .visual-main {
    width: 203px;
    left: 6px;
    top: 104px;
    padding: 17px;
  }
  .visual-main strong {
    font-size: 20px;
  }
  .visual-tag {
    left: 26px;
    top: 22px;
  }
  .mini-card {
    right: 0;
    bottom: 25px;
    width: 178px;
    padding: 11px;
  }
  .hero-floating {
    right: 20px;
    top: 70px;
    font-size: 9px;
  }
  .mini-card strong {
    font-size: 11px;
  }
  .mini-card small {
    font-size: 9px;
  }
  .skyline {
    height: 58%;
  }
  .page-hero {
    padding: 54px 0;
  }
  .page-hero p {
    font-size: 15px;
  }
  .section-head {
    margin-bottom: 29px;
  }
  .section-head p {
    font-size: 14px;
  }
  .service-grid,.country-grid,.docs-grid,.insight-grid,.process-grid {
    grid-template-columns: 1fr;
  }
  .two-col,.contact-grid,.portal-grid {
    grid-template-columns: 1fr;
  }
  .service-card,.country-card {
    padding: 24px;
  }
  .country-card p {
    min-height: 0;
  }
  .process-card {
    padding: 24px;
  }
  .feature-panel {
    padding: 23px;
  }
  .accent-panel {
    padding: 30px 24px;
  }
  .agent-stats {
    gap: 10px;
  }
  .agent-stats>div {
    padding: 15px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
    padding: 55px 0;
  }
  .footer-about,.footer-contact {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card,.auth-container .form-card {
    padding: 24px;
  }
  .auth-wrap {
    padding: 48px 0;
  }
  .portal-wrap {
    padding: 32px 0 65px;
  }
  .portal-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .stat-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 18px 14px;
  }
  .stat-card b {
    font-size: 30px;
  }
  .panel {
    padding: 21px;
  }
  .progress-layout {
    flex-direction: column;
    align-items: flex-start;
  }
  .progress-ring {
    width: 150px;
    height: 150px;
  }
  .progress-inner {
    width: 113px;
    height: 113px;
  }
  .wa-float {
    right: 12px;
    bottom: 12px;
  }
  .wa-float summary span {
    display: none;
  }
  .wa-float summary {
    padding: 12px;
    border-radius: 50%;
  }
  .wa-options {
    bottom: 55px;
  }
  .btn-row>.btn {
    flex: 1 1 190px;
  }
  .contact-info h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
/*ADMIN TABLES: Horizontal scrolling makes management pages usable on phones.*/
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
  font-size: .92rem;
}
.data-table th {
  background: #f1f6f8;
  color: #263b50;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.data-table th,.data-table td {
  padding: 14px 12px;
  vertical-align: top;
  border-bottom: 1px solid #e4eaf0;
}
.data-table td {
  overflow-wrap: anywhere;
  max-width: 340px;
}
.data-table tbody tr:hover {
  background: #f9fcfd;
}
.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.inline-form select,.inline-form input {
  padding: 9px 11px;
  min-width: 125px;
  width: auto;
  max-width: 195px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.inline-form .btn {
  white-space: nowrap;
}
.data-table details summary {
  cursor: pointer;
  color: #147e70;
  font-weight: 700;
  margin-top: 6px;
}
.data-table details p {
  margin-top: 6px;
  white-space: pre-wrap;
}
@media (max-width:680px) {
  .inline-form {
    min-width: 200px;
  }
  .data-table {
    min-width: 700px;
  }
  .portal-wrap {
    overflow-x: clip;
  }
}

/* Small, easy-to-edit navigation for paginated admin tables. */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 650;
}
.page-nav a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  padding: 8px 13px;
}
.page-nav a:hover { background: var(--mint-light); }
.confirm-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  white-space: nowrap;
}
.confirm-check input { min-width: 16px; width: 16px; }
/* ===============================================================
   GILEAD CONSULTANTS V3 — PREMIUM RESPONSIVE PORTAL AND FOOTER
   Edit --mint and --navy in :root to change brand colors.
   All effects are CSS-only; no third-party trackers or dependencies.
   =============================================================== */
:root { --premium-navy:#0d253d; --premium-green:#119b73; --premium-soft:#eaf8f3; }
body { font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
:focus-visible { outline:3px solid #0b9874; outline-offset:3px; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
img { object-fit:contain; }
/* A calm professional presentation: gradients and spacing, not distracting effects. */
.site-header { box-shadow:0 1px 0 rgba(15,43,68,.05); }
.hero-visual.gilead-photo-slot { position:relative; width:100%; height:auto; min-height:0; }
.hero-visual.gilead-photo-slot img.gilead-hero-image { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; border-radius:22px; box-shadow:0 26px 68px rgba(19,51,73,.13); }

/* Dashboard: branded welcome card and isolated photo/profile actions. */
.agent-experience { background:linear-gradient(180deg,#eff5f8 0%,#f5f8fa 44%,#f8fafb 100%); padding:36px 0 85px; }
.agent-experience .portal-nav { margin:0 0 23px; }
.agent-experience .portal-nav a { border:1px solid #deebed; border-radius:12px; padding:11px 17px; color:#344d61; }
.agent-experience .portal-nav .active { color:#067c58; }
.agent-experience .portal-nav form { margin-left:auto; }
.agent-welcome { background:linear-gradient(113deg,#0b243a 0%,#13364b 62%,#16635c 145%); border-radius:24px; padding:33px 36px; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:28px; margin-bottom:19px; box-shadow:0 22px 55px rgba(14,42,66,.14); }
.agent-identity { display:flex; align-items:center; gap:24px; min-width:0; }
.agent-avatar { flex:0 0 auto; display:block; width:92px; height:92px; border-radius:50%; object-fit:cover; background:#f0f8f5; border:4px solid rgba(255,255,255,.73); box-shadow:0 8px 27px rgba(0,0,0,.11); }
.agent-avatar-empty { display:grid; place-items:center; font-size:25px; font-weight:850; letter-spacing:.04em; color:#11866c; }
.agent-kicker,.agent-eyebrow { color:#15876b; letter-spacing:.16em; font-size:10px; font-weight:850; text-transform:uppercase; }
.agent-kicker { color:#81e9c5; }
.agent-welcome h1 { font-size:clamp(1.65rem,3vw,2.45rem); color:#fff; margin:6px 0 10px; overflow-wrap:anywhere; }
.agent-welcome p { color:#d0e0e8; font-size:13px; max-width:580px; }
.agent-welcome-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:19px; }
.agent-welcome-actions a { color:#a3f3d5; font-size:12px; font-weight:750; border-bottom:1px solid rgba(163,243,213,.45); }
.agent-active-pill { background:rgba(76,218,162,.13); color:#a9f0d4; border:1px solid rgba(117,231,174,.3); border-radius:30px; padding:5px 11px; font-size:11px; font-weight:750; white-space:nowrap; }
.agent-code-box { align-self:stretch; display:flex; flex-direction:column; justify-content:center; flex:0 0 240px; min-width:0; padding:17px 21px; border:1px solid rgba(219,242,237,.22); background:rgba(255,255,255,.09); border-radius:16px; }
.agent-code-box span { color:#b4d8d8; font-size:10px; font-weight:800; letter-spacing:.15em; }
.agent-code-box strong { display:block; font-size:24px; line-height:1.55; letter-spacing:.09em; color:#fff; word-break:break-word; }
.agent-code-box small { color:#c1d6dc; font-size:10px; }
.agent-stat-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-radius:18px; border:1px solid #e1e9ed; background:#fff; overflow:hidden; margin-bottom:20px; box-shadow:0 10px 30px rgba(22,50,70,.035); }
.agent-metric { padding:24px 25px 22px; min-width:0; position:relative; }
.agent-metric:not(:last-child)::after { content:""; position:absolute; right:0; top:25%; height:50%; width:1px; background:#e5edf0; }
.agent-metric>span { color:#647987; display:block; font-size:11px; font-weight:750; letter-spacing:.02em; }
.agent-metric>strong { color:#102d45; display:block; font-size:38px; line-height:1.34; letter-spacing:-.05em; font-weight:820; }
.agent-metric>small { color:#8294a0; display:block; font-size:10px; }
.agent-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr); gap:20px; align-items:stretch; margin-bottom:20px; }
.agent-dashboard-grid>.panel { margin:0; border-radius:19px; padding:29px; min-width:0; box-shadow:0 8px 35px rgba(21,54,72,.035); }
.agent-dashboard-grid .panel h2 { font-size:22px; margin:7px 0 0; letter-spacing:-.03em; }
.agent-chart-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:26px; align-items:center; margin-top:24px; }
.agent-pie { width:220px; aspect-ratio:1; border-radius:50%; background:conic-gradient(#1aa882 var(--progress),#e5edf0 0); display:grid; place-items:center; box-shadow:0 12px 40px rgba(17,140,109,.08); }
.agent-pie-center { width:168px; height:168px; border-radius:50%; background:#fff; display:flex; flex-direction:column; justify-content:center; align-items:center; box-shadow:inset 0 0 0 1px #edf2f4; }
.agent-pie-center>span { font-size:10px; color:#7a8c98; letter-spacing:.11em; font-weight:850; }
.agent-pie-center strong { display:block; font-size:39px; letter-spacing:-.055em; line-height:1.35; color:#0e3048; white-space:nowrap; }
.agent-pie-center strong small { font-size:17px; color:#80939f; font-weight:650; }
.agent-pie-center em { color:#12926e; font-weight:800; font-style:normal; font-size:11px; }
.agent-pie-detail h3 { color:#15344a; font-size:19px; margin-bottom:12px; }
.agent-pie-detail p,.agent-dashboard-lower .panel p { font-size:13px; line-height:1.85; }
.pie-legend { display:flex; flex-wrap:wrap; gap:17px; font-size:11px; font-weight:750; color:#536e7c; margin:17px 0; }
.pie-legend span { display:inline-flex; align-items:center; gap:7px; }
.pie-legend i { width:10px; height:10px; border-radius:50%; display:inline-block; }
.legend-verified { background:#1aa882; }
.legend-remaining { background:#e3eaf0; }
.agent-meter { background:#e6edf1; height:8px; overflow:hidden; border-radius:30px; }
.agent-meter span { display:block; height:100%; background:linear-gradient(90deg,#12916e,#27c39a); border-radius:30px; }
.agent-reward-panel { position:relative; overflow:hidden; background:linear-gradient(145deg,#ffffff 20%,#f2faf7 100%); }
.agent-reward-symbol { display:grid; place-items:center; width:54px; height:54px; border-radius:16px; background:#def6e9; color:#0d8e69; font-size:30px; margin:17px 0 17px; }
.agent-reward-panel>p { margin:16px 0; }
.agent-status-box { border:1px solid #d8eae2; border-radius:14px; background:#fff; padding:15px 17px; margin:21px 0 10px; }
.agent-status-box>span,.agent-status-box>small { display:block; font-size:11px; color:#718a96; }
.agent-status-box>strong { display:block; color:#0e6751; font-size:15px; margin:5px 0; }
.agent-reward-form { margin:19px 0; }
.agent-disclaimer { padding-top:15px; border-top:1px solid #dfeee8; font-size:11px!important; line-height:1.75; color:#718596; }
.agent-help { color:#5f7886; margin:14px 0 20px; }
.agent-dashboard-lower .field { margin-top:18px; }
.agent-dashboard-lower .ref-link-box { min-width:0; }
.agent-dashboard-lower .ref-link-box input { min-width:0; }
.agent-subtle-link { color:#117d62; font-size:12px; font-weight:800; margin-top:10px; display:inline-flex; gap:8px; }
.agent-support-panel .agent-notice { display:flex; align-items:flex-start; gap:13px; border:1px solid #dcebe5; background:#effaf5; border-radius:14px; padding:19px; margin:22px 0; }
.agent-notice-icon { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:50%; background:#138565; color:white; font-weight:800; }
.agent-notice p { color:#284f49; overflow-wrap:anywhere; }
.agent-small-stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:15px 0; }
.agent-small-stats div { border:1px solid #e5edf0; border-radius:13px; padding:13px; }
.agent-small-stats strong { font-size:24px; color:#133d54; display:block; line-height:1.3; }
.agent-small-stats span { display:block; color:#768997; font-size:10px; }
.agent-profile-grid { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(0,1.35fr); gap:22px; }
.agent-profile-grid>.panel { margin:0; border-radius:18px; }
.agent-photo-card { text-align:center; }
.agent-photo-card .agent-avatar-large { margin:22px auto 13px; width:150px; height:150px; border:5px solid #eef6f4; }
.agent-photo-card .agent-avatar-empty { font-size:44px; }
.agent-photo-card h2 { font-size:22px; margin:10px 0 4px; }
.agent-photo-card>p { font-size:12px; }
.agent-photo-card form { text-align:left; margin-top:25px; }
.agent-photo-card .field small { display:block; margin:8px 0 3px; color:#687f8d; font-size:11px; }
.agent-photo-card input[type=file] { padding:10px; max-width:100%; }
.agent-profile-details h2 { margin:8px 0 25px; font-size:23px; }
.agent-account-note { border-left:3px solid #149874; background:#eef8f4; border-radius:0 8px 8px 0; padding:13px; font-size:12px; color:#285b4c; margin-top:27px; }

/* Footer with useful exact service/country links and visible contrast. */
.premium-footer { background:linear-gradient(165deg,#0c2136,#081a2c); }
.footer-top-promo { padding:34px 39px; transform:translateY(-14px); display:flex; justify-content:space-between; align-items:center; gap:24px; border-radius:19px; background:linear-gradient(115deg,#123e4b,#116957); box-shadow:0 15px 35px rgba(0,0,0,.12); }
.footer-top-promo span { color:#a1e9cf; font-size:10px; font-weight:850; letter-spacing:.15em; }
.footer-top-promo h2 { color:#fff; font-size:clamp(1.35rem,2.4vw,2rem); margin:5px 0; }
.footer-top-promo p { color:#d6e8e8; font-size:12px; }
.footer-top-promo>.btn { flex:0 0 auto; }
.footer-main-five { grid-template-columns:1.4fr 1fr 1.15fr .96fr 1.25fr; gap:27px; padding-top:64px; padding-bottom:52px; }
.footer-main-five .footer-column h3 { color:#fff; margin-bottom:12px; font-size:14px; }
.footer-main-five .footer-column a { display:inline-block; padding:2px 0; font-size:12px; line-height:1.65; }
.footer-main-five .footer-column a:hover { color:#87e7bd; text-decoration:underline; text-underline-offset:4px; }
.footer-compliance { color:#9eb3c3; font-size:11px; margin-top:19px; line-height:1.8; }
.footer-top-promo .btn { min-width:195px; }
.footer-column small { line-height:1.7; }
/* Animated WhatsApp support button: gentle pulse only, no flashing. */
.wa-float { right:22px; bottom:22px; z-index:90; }
.wa-float summary { position:relative; border-radius:50px!important; padding:12px 18px!important; background:#0d9c68!important; box-shadow:0 12px 30px rgba(12,118,76,.28)!important; transition:transform .2s ease,box-shadow .2s ease; }
.wa-float summary:hover { transform:translateY(-3px); box-shadow:0 15px 32px rgba(12,118,76,.38)!important; }
.wa-float summary svg { width:24px; height:24px; flex:0 0 24px; }
.wa-float summary>span:last-child { display:inline!important; white-space:nowrap; }
.wa-live-ring { position:absolute; inset:-5px; border:1.5px solid rgba(29,190,117,.55); border-radius:inherit; pointer-events:none; animation:gilead-wa-pulse 2.8s ease-out infinite; }
.wa-options { min-width:min(330px,calc(100vw - 35px)); bottom:64px; }
.wa-options a { border:1px solid #d7efe6; }
@keyframes gilead-wa-pulse { 0% {transform:scale(.98);opacity:.65;} 80%,100% {transform:scale(1.13);opacity:0;} }

@media(max-width:1120px) {
 .footer-main-five { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .agent-dashboard-grid { grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr); }
 .agent-chart-layout { grid-template-columns:175px minmax(0,1fr); }
 .agent-pie { width:175px; }
 .agent-pie-center { width:131px; height:131px; }
 .agent-pie-center strong { font-size:32px; }
}
@media(max-width:900px) {
 .agent-dashboard-grid { grid-template-columns:1fr; }
 .agent-chart-layout { grid-template-columns:220px minmax(0,1fr); }
 .agent-pie { width:220px; }
 .agent-pie-center { width:168px; height:168px; }
 .agent-welcome { padding:27px; }
 .agent-stat-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .agent-metric:nth-child(2)::after { display:none; }
 .agent-metric:nth-child(-n+2) { border-bottom:1px solid #edf2f4; }
 .footer-main-five { gap:28px; }
}
@media(max-width:650px) {
 .agent-experience { padding:22px 0 58px; }
 .agent-welcome { border-radius:17px; padding:23px 19px; flex-direction:column; align-items:stretch; }
 .agent-identity { gap:14px; align-items:flex-start; }
 .agent-identity .agent-avatar { width:66px; height:66px; }
 .agent-welcome h1 { font-size:1.6rem; }
 .agent-code-box { flex:0 0 auto; padding:14px; }
 .agent-code-box strong { font-size:20px; }
 .agent-metric { padding:18px 17px; }
 .agent-metric strong { font-size:31px; }
 .agent-stat-strip { border-radius:14px; }
 .agent-dashboard-grid>.panel { padding:21px 19px; border-radius:15px; }
 .agent-chart-layout { grid-template-columns:1fr; justify-items:center; gap:19px; margin-top:19px; }
 .agent-pie { width:200px; }
 .agent-pie-center { width:152px; height:152px; }
 .agent-pie-detail { width:100%; }
 .agent-profile-grid { grid-template-columns:1fr; }
 .footer-top-promo { padding:24px; flex-direction:column; align-items:flex-start; }
 .footer-top-promo>.btn { width:100%; text-align:center; }
 .footer-main-five { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 19px; padding-top:31px; }
 .footer-main-five .footer-about { grid-column:1 / -1; }
 .footer-main-five .footer-contact { grid-column:1 / -1; }
 .footer-bottom { flex-direction:column; align-items:flex-start; }
 .wa-float { right:15px; bottom:16px; }
 .wa-float summary { padding:12px 14px!important; font-size:11px; }
 .wa-options { bottom:60px; }
}
@media(max-width:370px) {
 .agent-identity { flex-direction:column; }
 .agent-welcome-actions { gap:8px; }
 .agent-metric>strong { font-size:27px; }
 .footer-main-five { grid-template-columns:1fr; }
 .footer-main-five .footer-about,.footer-main-five .footer-contact { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce) {
 .wa-live-ring { animation:none!important; opacity:0; }
 .wa-float summary { transition:none!important; }
}
/* =======================================================================
  GILEAD CONSULTANTS — VERSION 4, EDITABLE VISUAL SETTINGS
  BEGINNER EDIT: Change navy/green once here to update V4 components.
  You may change fonts, cards, spacing, animation and breakpoints below.
  All key business logic stays in PHP, never CSS or JavaScript.
======================================================================= */
:root { --v4-ink:#12283d; --v4-deep:#0d2339; --v4-accent:#079c78; --v4-fog:#f4f8fa; --v4-edge:#deebef; }
html { scroll-behavior:smooth; }
body { font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif; -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
img, video, svg { max-width:100%; }
button, input, textarea, select { font:inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid #1ebc90;outline-offset:3px; }
.nav-inner { gap:16px; }
.primary-nav { gap:14px; font-size:12px; }
.primary-nav .v4-nav-link { padding:10px 11px; border:1px solid #d9e6ed; border-radius:9px; white-space:nowrap; color:var(--v4-deep); }
.primary-nav .v4-nav-helper { color:#597385; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.brand img { width:180px; }

/* EDIT TICKER SPEED: change 38s. Two identical message runs guarantee no empty gap. */
.v4-ticker { background:var(--v4-deep); border-top:1px solid #25465c; color:#fff; overflow:hidden; min-height:37px; display:flex; align-items:center; }
.v4-ticker-track { display:flex; width:max-content; align-items:center; animation:v4-marquee 38s linear infinite; white-space:nowrap; }
.v4-ticker-track span { display:inline-flex; align-items:center; font-size:11px; font-weight:750; letter-spacing:.075em; text-transform:uppercase; padding:10px 28px; }
.v4-ticker-track span::before { content:'✦'; margin-right:17px; color:#4ad2a6; }
.v4-ticker:hover .v4-ticker-track { animation-play-state:paused; }
@keyframes v4-marquee { to { transform:translateX(-50%); } }

/* Editable responsive image carousel; 3 JPGs live in assets/images/slider/. */
.v4-gallery-section { padding:68px 0; background:#fff; }
.v4-gallery-section .section-head { margin-bottom:26px; }
.v4-gallery { max-width:1110px; margin:0 auto; border-radius:24px; overflow:hidden; box-shadow:0 25px 80px rgba(17,40,66,.12); background:#dce9e9; }
.v4-gallery-viewport { min-height:280px; }
.v4-slide { position:relative; height: min(46vw,465px); min-height:300px; isolation:isolate; background:#092338; }
.v4-slide[hidden] { display:none!important; }
.v4-slide img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.74) saturate(.9); }
.v4-slide::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(6,30,50,.87),rgba(6,30,50,.26) 78%); }
.v4-slide-caption { position:absolute; bottom:0; top:0; left:0; z-index:1; max-width:660px; padding:clamp(25px,6vw,74px); display:flex; flex-direction:column; justify-content:center; color:white; }
.v4-slide-caption>span { letter-spacing:.16em; color:#6fe0bc; font-size:12px; font-weight:900; margin-bottom:15px; }
.v4-slide-caption>strong { line-height:1.12; font-size:clamp(27px,3.5vw,48px); font-weight:790; }
.v4-slide-caption>p { margin:18px 0 0; max-width:470px; opacity:.93; font-size:clamp(13px,1.4vw,17px); }
.v4-gallery-controls { background:#fff; padding:11px 18px; display:flex; align-items:center; justify-content:center; gap:22px; }
.v4-gallery-controls>button { background:var(--v4-deep); color:#fff; width:37px; height:37px; border:0; border-radius:100%; cursor:pointer; }
.v4-slider-indicators { display:flex; align-items:center; gap:10px; }
.v4-slider-indicators button { background:#d4e2e5; border:0; width:10px; height:10px; border-radius:20px; cursor:pointer; transition:width .25s; }
.v4-slider-indicators button[aria-current="true"] { background:var(--v4-accent); width:32px; }

/* Homepage registration cards: visitors can find signup even on small screens. */
.v4-entry { padding:24px 0 74px; background:linear-gradient(180deg,#fff 0%,#f5f9fa 100%); }
.v4-entry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.v4-entry-card { display:flex; flex-direction:column; text-decoration:none; border:1px solid #dce8eb; border-radius:18px; padding:27px 25px; background:#fff; box-shadow:0 8px 34px rgba(11,43,69,.04); transition:transform .2s,box-shadow .2s; min-width:0; }
.v4-entry-card:hover { transform:translateY(-5px); box-shadow:0 19px 38px rgba(11,43,69,.1); }
.v4-entry-card>span { color:var(--v4-accent); font-size:10px; letter-spacing:.16em; font-weight:900; }
.v4-entry-card>strong { font-size:clamp(19px,2vw,24px); line-height:1.22; color:var(--v4-ink); margin:11px 0; }
.v4-entry-card>small { font-size:13px; line-height:1.65; color:#577184; flex:1; }
.v4-entry-card>b { color:#078966; font-size:13px; margin-top:22px; }

/* Private dashboard layout; never show personal data from anyone else's account. */
.v4-portal .portal-nav, .agent-experience .portal-nav { display:flex; flex-wrap:wrap; gap:9px; max-width:100%; }
.v4-portal-hero, .v4-portal-hero .profile-wrap { display:flex; gap:24px; align-items:center; }
.v4-portal-hero { padding:30px; background:linear-gradient(115deg,#0c263d,#145a66); color:#fff; border-radius:21px; margin:22px 0; box-shadow:0 21px 50px rgba(11,34,56,.12); }
.v4-portal-hero h1 { color:#fff; margin:9px 0; font-size:clamp(27px,3.1vw,42px); line-height:1.12; }
.v4-portal-hero p { color:#e1eef0; max-width:570px; line-height:1.6; }
.v4-portal-hero a { color:#a2ffe0; font-weight:700; margin-top:10px; display:inline-block; }
.v4-avatar { flex:0 0 94px; width:94px; height:94px; border:3px solid #b2e7dc; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:#0e976e; color:white; font-weight:900; font-size:32px; }
.v4-avatar img { width:100%; height:100%; object-fit:cover; }
.v4-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin:23px 0; }
.v4-stat { padding:24px 25px; border:1px solid var(--v4-edge); border-radius:16px; background:#fff; box-shadow:0 10px 30px rgba(8,30,46,.035); min-width:0; }
.v4-stat span { display:block; color:#587183; font-size:13px; margin-bottom:10px; }
.v4-stat strong { display:block; color:var(--v4-ink); font-size:clamp(22px,2.5vw,35px); overflow-wrap:anywhere; }
.portal-two-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:22px; align-items:start; }
.portal-two-grid .panel { min-width:0; }
.v4-task-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; align-items:start; }
.v4-task-card h3 { margin:13px 0; line-height:1.3; }
.v4-task-card p { color:#4b6475; }
.legal-content { max-width:900px; }
.legal-content h2 { margin:30px 0 10px; font-size:24px; color:var(--v4-ink); }
.legal-content p { line-height:1.85; color:#435e6f; }
.admin-mini-form { display:flex; flex-direction:column; align-items:flex-start; gap:9px; margin:0 0 10px; }
.auth-container.auth-wide { max-width:790px; }
.auth-wrap .field-row { gap:16px; }
.auth-wrap input[type="file"], .v4-portal input[type="file"] { width:100%; max-width:100%; }
.data-table td { overflow-wrap:anywhere; }

/* Extra breakpoints prevent sideways scrolling on phones and small tablets. */
@media(max-width:1340px) { .primary-nav { gap:10px; } .nav-inner { gap:12px; } .brand img { width:145px; } }
@media(max-width:1160px) { .menu-toggle { display:block; } .nav-inner { position:relative; }
 .primary-nav { position:absolute; display:none; top:100%; right:0; left:0; background:white; padding:15px 20px 20px; box-shadow:0 16px 30px rgba(0,0,0,.12); z-index:999; flex-direction:column; align-items:stretch; gap:0; }
 .primary-nav.open { display:flex; }
 .primary-nav>a { display:block; padding:11px 8px; border-bottom:1px solid #e6edf0; }
 .primary-nav .nav-agent { justify-content:center; margin:10px 0; }
 .primary-nav .v4-nav-link { margin:5px 0; }
}
@media(max-width:900px) { .v4-entry-grid,.v4-task-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .portal-two-grid { grid-template-columns:1fr; } .v4-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .v4-entry-grid,.v4-task-grid,.v4-stat-grid { grid-template-columns:1fr; } .v4-gallery-section { padding:35px 0; } .v4-entry { padding:15px 0 35px; }
 .v4-slide { height:380px; min-height:0; } .v4-slide img { object-position:center; } .v4-slide-caption { padding:24px; } .v4-slide-caption>strong { font-size:28px; } .v4-slide-caption>p { font-size:13px; }
 .v4-portal-hero { padding:20px; } .v4-portal-hero .profile-wrap { display:flex; align-items:flex-start; flex-direction:column; gap:14px; } .v4-avatar { flex-basis:78px; width:78px; height:78px; }
 .auth-wrap { padding:35px 0; } .auth-wrap .field-row { display:block; } .auth-wrap .field-row>.field { margin-bottom:15px; }
 .v4-ticker-track span { font-size:10px; padding:9px 18px; } .primary-nav { max-height:78vh; overflow:auto; }
 .portal-nav { flex-wrap:wrap; overflow:visible; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .v4-ticker-track { animation:none; } .v4-entry-card { transition:none; } .v4-slider-indicators button { transition:none; } }
