/* BrasilBid v12.19 — restrained corporate design system */
:root{
  --bb-navy:#0a2037;
  --bb-navy-2:#103a60;
  --bb-blue:#0d70b7;
  --bb-blue-2:#1694cd;
  --bb-blue-soft:#eaf4fb;
  --bb-cyan-soft:#f3f9fd;
  --bb-ink:#172337;
  --bb-muted:#68798d;
  --bb-line:#dce5ee;
  --bb-line-strong:#c8d6e3;
  --bb-surface:#fff;
  --bb-background:#f2f5f8;
  --bb-success:#14734a;
  --bb-warning:#8b5d12;
  --bb-danger:#a33a4a;
  --bb-radius:14px;
  --bb-radius-sm:9px;
  --bb-shadow:0 12px 32px rgba(20,43,70,.08);
  --bb-shadow-strong:0 22px 56px rgba(9,32,56,.16);
}

html{
  min-width:320px;
  color-scheme:light;
  scroll-behavior:smooth;
}

body.app-shell{
  min-height:100vh;
  overflow-x:hidden;
  background:
    linear-gradient(180deg,rgba(226,236,245,.82) 0,rgba(243,246,249,.96) 260px),
    var(--bb-background);
  color:var(--bb-ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{
  color:var(--bb-blue);
  transition:color .16s ease,background-color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}

/* Navigation */
.topbar{
  position:sticky;
  top:0;
  z-index:45;
  min-height:70px;
  height:auto;
  padding:9px 28px;
  gap:18px;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:linear-gradient(110deg,#07192d 0%,#0c3355 58%,#0d5f8d 100%);
  box-shadow:0 9px 26px rgba(7,25,45,.16);
}

.brand{
  gap:9px;
  flex:none;
  max-width:260px;
  color:#fff!important;
  font-size:17px;
  font-weight:760;
  letter-spacing:.01em;
}

.topbar .brand,
.topbar .brand>span{color:#fff!important;}

.brand-logo{
  width:36px;
  height:36px;
  filter:drop-shadow(0 4px 9px rgba(0,0,0,.18));
}

.main-navigation{
  justify-content:center;
  gap:3px!important;
}

.topbar .main-navigation a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:8px;
  color:#dceaf5;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
}

.topbar .main-navigation a:hover{
  color:#fff;
  background:rgba(255,255,255,.1);
}

.language-switcher{
  flex:none;
  padding:3px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px;
  background:rgba(4,19,34,.22);
}

.language-switcher a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:35px;
  height:28px;
  padding:0 8px;
  border-radius:6px;
  color:#cfe0ed!important;
  font-size:11px;
  font-weight:750;
}

.language-switcher a.active{
  color:var(--bb-navy)!important;
  background:#fff;
}

.membership-spotlight{
  flex:none;
  min-height:36px;
  padding:7px 11px;
  gap:5px;
  border:1px solid rgba(157,220,250,.3);
  border-radius:8px;
  background:linear-gradient(135deg,#126caa,#168dc4);
  color:#fff!important;
  box-shadow:none;
  font-size:12px;
  font-weight:750;
}

.membership-spotlight:hover{
  transform:translateY(-1px);
  background:linear-gradient(135deg,#0f6099,#147fb3);
}

.userbox{
  flex:none;
  gap:8px;
  color:#e7f0f7;
  font-size:12px;
  white-space:nowrap;
}

.userbox .badge,
.guest-label{
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:7px;
  background:rgba(255,255,255,.1);
  color:#fff;
}

.linkbtn{
  min-height:30px;
  padding:5px 8px;
  color:#d7e7f2;
}

.mobile-nav-toggle{
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  box-shadow:none;
}

/* Layout and typography */
.container{
  width:min(1440px,calc(100% - 48px));
  margin:26px auto 78px;
}

.narrow{width:min(920px,calc(100% - 48px));}

h1,h2,h3,h4{
  color:var(--bb-ink);
  letter-spacing:-.018em;
  line-height:1.25;
}

.panelhead h1,.panelhead h2,.panelhead h3,.panelhead h4{
  margin:4px 0;
}

.eyebrow{
  color:var(--bb-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}

.panel,
.stats article,
.admin-entry-card,
.data-source-card,
.subscription-card,
.industry-admin-card{
  border:1px solid var(--bb-line);
  border-radius:var(--bb-radius);
  background:var(--bb-surface);
  box-shadow:var(--bb-shadow);
}

.panel{
  margin-bottom:20px;
  padding:26px;
}

.panelhead{
  align-items:flex-start;
  margin-bottom:18px;
}

.panelhead>div{min-width:0;}

.panelhead p{
  margin:5px 0 0;
  color:var(--bb-muted);
}

.state{
  flex:none;
  padding:6px 10px;
  border:1px solid #dce7f0;
  border-radius:7px;
  background:#eff4f8;
  color:#33475c;
  font-size:12px;
  font-weight:700;
}

/* Hero sections */
.hero{
  position:relative;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:0;
  margin-bottom:20px;
  overflow:hidden;
  border:0;
  border-radius:16px;
  background:linear-gradient(125deg,#0a2744 0%,#0e4e78 62%,#148bbd 100%);
  box-shadow:0 19px 45px rgba(8,49,81,.18);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(4,20,36,.45),rgba(8,52,83,.12)),
    radial-gradient(circle at 86% 20%,rgba(74,193,231,.18),transparent 34%);
}

.member-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.27;
  background:url('/static/assets/brasilbid-business-bg-v2.jpg') right center/cover no-repeat;
  mix-blend-mode:screen;
}

.hero>div:first-child,
.hero>.member{
  position:relative;
  z-index:1;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#fff;
}

.hero>div:first-child{padding:34px 38px;}

.hero>.member{
  min-height:190px;
  padding:28px;
  border-left:1px solid rgba(255,255,255,.18);
  border-radius:0;
  background:rgba(2,23,39,.16);
  backdrop-filter:blur(2px);
}

.hero h1{
  max-width:920px;
  margin:8px 0 10px;
  color:#fff;
  font-size:clamp(30px,3.1vw,44px);
  font-weight:760;
}

.hero p{
  max-width:780px;
  margin:0;
  color:#dceaf4;
  font-size:16px;
}

.hero .eyebrow{color:#8ed5f3;}
.hero .member span,.hero .member small{color:#d9e8f3;}
.hero .member strong{color:#fff;font-size:26px;}

/* Form controls */
.grid,
.filters,
.member-search-grid,
.admin-match-grid{
  gap:16px;
}

.grid label,
.filters label,
.stack label,
.member-search-grid label,
.admin-match-grid label,
.field-label{
  color:#2b3a4d;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
}

label small,
.field-label small{
  color:var(--bb-muted);
  font-size:12px;
  font-weight:450;
  line-height:1.55;
}

input,select,textarea{
  min-height:46px;
  padding:11px 13px;
  border:1px solid var(--bb-line-strong);
  border-radius:var(--bb-radius-sm);
  background:#fff;
  color:var(--bb-ink);
  font:inherit;
  outline:0;
  box-shadow:0 1px 1px rgba(18,46,70,.02);
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}

input:hover,select:hover,textarea:hover{border-color:#aebfce;}

input:focus,select:focus,textarea:focus{
  border-color:#2a8bc5;
  box-shadow:0 0 0 3px rgba(28,135,191,.12);
}

input::placeholder,textarea::placeholder{color:#98a6b5;}
textarea{min-height:112px;resize:vertical;}

.check{
  min-height:38px;
  gap:9px;
  color:#314155;
}

.check input{
  width:18px;
  min-height:18px;
  height:18px;
  accent-color:var(--bb-blue);
}

.buttons{
  gap:10px;
  margin:18px 0 0;
  flex-wrap:wrap;
}

button,.buttonlink,.primary,.secondary,.warn,.danger{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 16px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:13px;
  font-weight:750;
  line-height:1.25;
  box-shadow:none;
}

.primary{
  border-color:#0b69aa;
  background:linear-gradient(135deg,#0b69aa,#168bc4);
  color:#fff;
}

.primary:hover{
  background:linear-gradient(135deg,#095c96,#137cb0);
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 7px 17px rgba(10,105,170,.18);
}

.secondary{
  border-color:#cddce8;
  background:#edf5fa;
  color:#15577f;
}

.secondary:hover{border-color:#a9cce0;background:#e4f1f8;}
.warn{border-color:#efdbb7;background:#fff6e8;color:var(--bb-warning);}
.danger{border-color:#efc9d0;background:#fff0f2;color:var(--bb-danger);}

.message{
  margin:16px 0 0;
  padding:13px 15px;
  border:1px solid #dbe8f1;
  border-radius:9px;
  background:#eff6fb;
  color:#37556d;
}

.message.success{border-left:3px solid #2d9b68;background:#edf8f2;color:#1b6848;}
.message.error{border-left:3px solid #d65f6d;background:#fff2f3;color:#963746;}
.message.working{border-left:3px solid #d4a541;background:#fff8e9;color:#735317;}

/* Search homepage */
.member-only-page{
  display:flex;
  max-width:1440px;
  flex-direction:column;
}

.member-only-page .member-hero{order:1;}
.member-only-page .member-data-launcher{order:2;}
.member-only-page .search-panel{order:3;}
.member-only-page .protected-results{order:4;}

.member-data-launcher{
  margin:0 0 20px;
  padding:24px;
  border:1px solid #ccdae6;
  border-radius:var(--bb-radius);
  background:#fff;
  color:var(--bb-ink);
  box-shadow:var(--bb-shadow);
}

.launcher-copy{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);
  align-items:end;
  max-width:none;
  margin:0 0 17px;
  gap:24px;
}

.launcher-copy h2{
  margin:4px 0 0;
  color:var(--bb-ink);
  font-size:24px;
  font-weight:740;
}

.launcher-copy p{
  margin:0;
  color:var(--bb-muted);
  text-align:right;
}

.member-data-cards{gap:12px;}

.member-data-card,
.member-data-card.contract,
.member-data-card.edital,
.member-data-card.ata{
  min-height:150px;
  grid-template-columns:46px minmax(0,1fr);
  gap:13px;
  padding:18px;
  border:1px solid var(--bb-line);
  border-radius:11px;
  background:#f9fbfd;
  color:var(--bb-ink);
  box-shadow:none;
  backdrop-filter:none;
}

.member-data-card::after{display:none;}

.member-data-card:hover{
  transform:translateY(-2px);
  border-color:#9dc6df;
  background:#f3f9fd;
  box-shadow:0 10px 22px rgba(20,70,105,.09);
}

.member-data-card .data-card-icon{
  width:43px;
  height:43px;
  border:1px solid #c7deed;
  border-radius:9px;
  background:var(--bb-blue-soft);
  color:var(--bb-blue);
  font-size:16px;
}

.member-data-card small{color:#56809d;letter-spacing:.08em;}
.member-data-card strong{margin:2px 0 5px;color:var(--bb-ink);font-size:18px;}
.member-data-card p{color:var(--bb-muted);font-size:13px;}
.member-data-card b{color:var(--bb-blue);font-size:12px;}

.search-panel{padding:28px;}

.advanced-search-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:end;
}

.advanced-search-grid .keyword-field{grid-column:span 2;}

.fuzzy-search-check{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr);
  grid-template-areas:"input title" ". hint";
  align-content:center;
  align-items:center!important;
  column-gap:9px;
  row-gap:2px;
  min-height:46px;
  padding:4px 0;
}

.fuzzy-search-check input{grid-area:input;margin:0;}
.fuzzy-search-title{grid-area:title;white-space:nowrap;font-weight:750;}
.fuzzy-search-check small{grid-area:hint;display:block;min-width:0;}

/* Data, tables and operational panels */
.stats{gap:12px;}
.stats article{padding:18px;box-shadow:none;}
.stats strong{color:#122b43;font-size:25px;}

.progressgrid{gap:9px;}
.progressgrid article{
  padding:13px;
  border-color:var(--bb-line);
  border-radius:9px;
  background:#f8fafc;
}

.tablewrap{
  margin-top:15px;
  border:1px solid var(--bb-line);
  border-radius:10px;
  background:#fff;
  scrollbar-color:#a9bdcc #edf2f6;
}

table thead th{
  position:sticky;
  top:0;
  z-index:1;
  border-bottom:1px solid #cfdde8;
  background:#edf4f8;
  color:#29475d;
  font-size:12px;
  font-weight:780;
  letter-spacing:.015em;
}

th,td{padding:12px 13px;border-bottom-color:#e6edf2;}
table tbody tr:hover{background:#f5f9fc;}

.pager{gap:6px;margin-top:17px;flex-wrap:wrap;}
.pager button{min-width:38px;min-height:38px;padding:7px 10px;border:1px solid #d7e2ea;background:#f2f6f9;color:#34536a;}

.admin-entry-grid,.data-source-grid{gap:13px;}
.admin-entry-card,.data-source-card{padding:19px;box-shadow:none;}
.admin-entry-card:hover,.data-source-card:hover{transform:translateY(-2px);border-color:#9fc7df;box-shadow:0 10px 22px rgba(17,68,102,.08);}

.filters{
  padding:16px;
  border:1px solid #dde7ee;
  border-radius:10px;
  background:#f8fafc;
}

.track{height:10px;background:#e6edf3;}
.bar{background:linear-gradient(90deg,#0c69a7,#22a0d1);}

/* Membership and email cards */
.premium-plan-card,
.product-config-card,
.report-choice-card,
.payment-mode-card,
.feature-toggle-card{
  border-radius:12px!important;
  box-shadow:0 8px 24px rgba(18,48,75,.07)!important;
}

.premium-plan-card:hover,
.report-choice-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 14px 30px rgba(18,58,88,.1)!important;
}

.promotion-badge,.recommended-badge{
  border-radius:7px!important;
  box-shadow:none!important;
}

/* Modals */
.modal{
  padding:24px;
  background:rgba(7,24,42,.62);
  backdrop-filter:blur(6px);
}

.modalcard{
  border:1px solid rgba(255,255,255,.55);
  border-radius:15px;
  box-shadow:0 28px 74px rgba(5,24,42,.3);
}

.modal-close{
  width:36px;
  height:36px;
  border-radius:8px;
  background:#edf3f7;
  color:#344b5e;
}

.detail-summary{gap:10px;}
.detail-summary article{border-radius:9px;background:#f7fafc;}

.catalog-ai-panel{
  border-color:#d9e5ee;
  border-radius:11px;
  background:#f7fafc;
}

.catalog-ai-result{
  border:1px solid #25394c;
  border-radius:9px;
  background:#132436;
}

/* Authentication */
.auth-branded{
  min-height:calc(100vh - 70px);
  align-items:center;
  justify-items:start;
  padding:clamp(28px,6vw,84px);
  background:
    linear-gradient(90deg,rgba(4,20,36,.91) 0%,rgba(5,28,49,.76) 41%,rgba(7,35,60,.18) 72%),
    url('/static/assets/brasilbid-business-bg-v2.jpg') center/cover no-repeat;
}

.auth-branded::before{
  background:linear-gradient(180deg,rgba(8,28,48,.05),rgba(5,19,34,.28));
}

.auth-branded .authcard{
  width:min(440px,100%);
  margin:0;
  padding:34px;
  border:1px solid rgba(255,255,255,.66);
  border-radius:14px;
  background:rgba(255,255,255,.965);
  box-shadow:0 26px 65px rgba(3,18,33,.3);
  backdrop-filter:blur(9px);
}

.auth-brand-lockup{
  margin-bottom:22px;
  padding-bottom:18px;
  border-bottom:1px solid var(--bb-line);
}

.auth-brand-lockup img{width:52px;height:52px;}
.auth-brand-lockup small{color:var(--bb-blue);letter-spacing:.11em;}
.auth-brand-lockup strong{color:var(--bb-ink);font-size:16px;}
.authcard h1{margin:0 0 7px;font-size:30px;}
.authcard>p{margin:0;color:var(--bb-muted);}
.auth-footer-links{border-top:1px solid #e6edf2;margin-top:20px;padding-top:13px;}

/* Floating entry stays useful without looking like an ad */
.floating-email-alert{
  right:18px;
  bottom:max(18px,env(safe-area-inset-bottom));
  min-height:46px;
  padding:8px 13px 8px 10px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:11px;
  background:linear-gradient(135deg,#0b69a8,#1996c9);
  box-shadow:0 10px 26px rgba(10,86,134,.24);
}

.floating-email-alert svg{width:24px;height:24px;}

/* Medium screens */
@media(max-width:1180px){
  .topbar{padding-inline:20px;gap:10px;}
  .brand{max-width:220px;font-size:15px;}
  .topbar .main-navigation a{padding-inline:7px;font-size:12px;}
  .advanced-search-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .advanced-search-grid .keyword-field{grid-column:span 2;}
  .member-data-filters{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:900px){
  .container,.narrow{width:calc(100% - 28px);margin-top:18px;}
  .hero{grid-template-columns:1fr;}
  .hero>div:first-child{padding:28px;}
  .hero>.member{
    min-height:auto;
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:4px 18px;
    padding:18px 28px;
    border-top:1px solid rgba(255,255,255,.18);
    border-left:0;
  }
  .hero>.member strong{grid-row:1/4;grid-column:2;justify-self:end;}
  .advanced-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .advanced-search-grid .keyword-field{grid-column:1/-1;}
  .launcher-copy{grid-template-columns:1fr;gap:7px;}
  .launcher-copy p{text-align:left;}
  .member-data-cards{grid-template-columns:1fr;}
  .member-data-card,.member-data-card.contract,.member-data-card.edital,.member-data-card.ata{min-height:0;}
  .stats,.progressgrid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Mobile navigation and content */
@media(max-width:760px){
  body.app-shell{font-size:14px;}

  .topbar{
    min-height:62px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    padding:9px 12px!important;
    gap:7px;
  }

  .brand{
    grid-column:1;
    order:initial;
    max-width:none!important;
    min-width:0;
    gap:7px;
    font-size:13px;
  }

  .brand-logo{width:31px;height:31px;}
  .brand>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

  .membership-spotlight{
    grid-column:2;
    order:initial;
    width:auto;
    min-width:0;
    max-width:none;
    min-height:34px;
    margin:0;
    padding:6px 8px;
    border-radius:7px;
    font-size:10px;
  }

  .mobile-nav-toggle{
    grid-column:3;
    order:initial;
    width:42px;
    height:36px;
    margin:0;
  }

  .language-switcher{
    grid-column:1/2;
    order:initial;
    width:max-content;
    margin:0!important;
  }

  .main-navigation{
    position:absolute;
    top:100%;
    left:10px;
    right:10px;
    z-index:50;
    display:none!important;
    max-height:calc(100vh - 80px);
    overflow:auto;
    padding:8px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:11px;
    background:#0b2742;
    box-shadow:0 19px 46px rgba(2,18,32,.32);
  }

  .main-navigation.mobile-open{display:grid!important;grid-template-columns:1fr;}
  .topbar .main-navigation a{min-height:43px;padding:9px 12px;border-bottom:1px solid rgba(255,255,255,.06);border-radius:7px;}

  .topbar .userbox,
  .topbar .guest-userbox{
    grid-column:2/4;
    order:initial!important;
    position:static!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    justify-self:end;
  }

  .container,.narrow{
    width:calc(100% - 20px);
    margin:14px auto 68px;
  }

  .panel{
    margin-bottom:13px;
    padding:18px;
    border-radius:12px;
    box-shadow:0 7px 20px rgba(20,43,70,.07);
  }

  .panelhead{gap:10px;margin-bottom:14px;}
  .panelhead h2{font-size:21px;}
  .state{padding:5px 8px;font-size:11px;}

  .hero{margin-bottom:13px;border-radius:13px;}
  .hero>div:first-child{padding:24px 21px;}
  .hero h1{font-size:28px;line-height:1.28;}
  .hero p{font-size:14px;line-height:1.65;}
  .hero>.member{padding:15px 21px;}
  .hero>.member strong{font-size:21px;}

  .member-data-launcher{margin:0 0 13px;padding:18px;border-radius:12px;}
  .launcher-copy h2{font-size:20px;}
  .member-data-card,.member-data-card.contract,.member-data-card.edital,.member-data-card.ata{
    grid-template-columns:39px minmax(0,1fr);
    padding:15px;
  }
  .member-data-card .data-card-icon{width:37px;height:37px;}
  .member-data-card strong{font-size:16px;}

  .advanced-search-grid,
  .member-data-filters,
  .admin-match-grid,
  .grid,
  .filters,
  .smallgrid{
    grid-template-columns:minmax(0,1fr)!important;
  }

  .advanced-search-grid .keyword-field{grid-column:auto;}
  .fuzzy-search-check{min-height:44px;}

  input,select,textarea{
    min-width:0;
    min-height:45px;
    font-size:16px;
  }

  .buttons{align-items:stretch;}
  .buttons>button,.buttons>.buttonlink{flex:1 1 145px;}

  .stats,.progressgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .stats article{padding:14px;}
  .stats strong{font-size:21px;}

  .tablewrap{margin-inline:-4px;border-radius:8px;}
  table{min-width:900px;}
  th,td{padding:10px;font-size:12px;}

  .modal{
    align-items:end;
    padding:0;
  }
  .modalcard{
    width:100%!important;
    max-width:none!important;
    max-height:92dvh;
    padding:19px 16px;
    border-radius:15px 15px 0 0;
  }
  .modalcard .panelhead{position:sticky;top:-19px;z-index:8;margin:-19px -16px 14px;padding:16px;background:rgba(255,255,255,.96);border-bottom:1px solid #e2eaf0;backdrop-filter:blur(8px);}
  .detail-summary{grid-template-columns:1fr;}

  .auth-branded{
    min-height:calc(100vh - 62px);
    justify-items:center;
    padding:24px 12px;
    background-position:68% center;
  }
  .auth-branded .authcard{width:min(440px,100%);padding:25px 21px;}
  .authcard h1{font-size:26px;}
  .auth-brand-lockup img{width:46px;height:46px;}

  .floating-email-alert{
    right:10px;
    bottom:max(10px,env(safe-area-inset-bottom));
    min-height:42px;
    padding:7px 10px;
    border-radius:9px;
  }
  .floating-email-alert svg{width:22px;height:22px;}
  .floating-email-alert span{font-size:10px;}
}

@media(max-width:430px){
  .topbar{grid-template-columns:minmax(0,1fr) auto auto;}
  .brand{font-size:12px;}
  .membership-spotlight{padding-inline:6px;}
  .membership-spotlight-icon{display:none;}
  .hero h1{font-size:25px;}
  .hero>.member{grid-template-columns:1fr auto;}
  .panel{padding:16px 14px;}
  .panelhead{flex-wrap:wrap;}
  .panelhead>.buttons{width:100%;margin-top:4px;}
  .stats,.progressgrid{grid-template-columns:1fr;}
  .buttons>button,.buttons>.buttonlink{flex-basis:100%;}
  .fuzzy-search-title{font-size:14px;}
  .fuzzy-search-check small{font-size:11px;}
  .floating-email-alert span{display:none;}
  .floating-email-alert{width:42px;justify-content:center;padding:7px;}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important;}
}
