.fm-page{max-width:1180px;margin:0 auto;font-family:inherit;color:#0f172a}
.fm-page *{box-sizing:border-box}
.fm-page-hero{padding:26px 0 22px}
.fm-eyebrow{display:inline-block;font-size:12px;font-weight:800;color:#2563eb;margin-bottom:8px}
.fm-page-hero h1{margin:0;font-size:32px;line-height:1.2;color:#0f172a}
.fm-page-hero p{max-width:820px;margin:12px 0 0;color:#64748b;line-height:1.7;font-size:14px}
.fm-btn{border:0;border-radius:9px;padding:11px 16px;background:#0f172a;color:#fff;font-weight:800;cursor:pointer}
.fm-compare-pickers{display:grid;grid-template-columns:1fr 56px 1fr;gap:14px;align-items:start}
.fm-brand-picker{padding:16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.fm-brand-picker>strong{display:block;margin-bottom:10px;font-size:14px}
.fm-brand-search-row{display:flex;gap:8px}
.fm-brand-search-input,.fm-industry-filter,.fm-industry-code,.fm-common-region{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;background:#fff;color:#0f172a}
.fm-compare-vs{display:flex;align-items:center;justify-content:center;height:54px;font-weight:900;color:#94a3b8}
.fm-brand-search-results{margin-top:8px;display:grid;gap:5px}
.fm-search-result{width:100%;text-align:left;padding:10px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;cursor:pointer}
.fm-search-result strong,.fm-search-result span,.fm-search-result small{display:block}
.fm-search-result span,.fm-search-result small{color:#64748b;margin-top:2px;font-size:11px}
.fm-selected-card{margin-top:10px;padding:12px;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe}
.fm-selected-card strong,.fm-selected-card span,.fm-selected-card small{display:block}
.fm-selected-card span,.fm-selected-card small{color:#64748b;margin-top:3px;font-size:11px}
.fm-empty{padding:12px;color:#64748b;text-align:center}
.fm-compare-status{margin:16px 0 10px;padding:10px 12px;border-radius:9px;background:#f8fafc;color:#64748b;font-size:12px}
.fm-common-region-wrap{margin:10px 0 16px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.fm-common-region-wrap label{display:flex;align-items:center;gap:10px}
.fm-common-region-wrap label span{font-weight:800;font-size:12px;white-space:nowrap}
.fm-common-region-wrap small{display:block;margin-top:6px;color:#64748b}
.fm-compare-heads,.fm-compare-row{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:0;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0}
.fm-compare-heads>div,.fm-compare-row>div{padding:12px;border-bottom:1px solid #e2e8f0}
.fm-compare-heads{border-top:1px solid #e2e8f0;background:#0f172a;color:#fff;border-radius:12px 12px 0 0;overflow:hidden}
.fm-compare-group-title{padding:9px 12px;background:#f1f5f9;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;font-size:11px;font-weight:900;color:#475569}
.fm-compare-label small,.fm-compare-value small{display:block;margin-top:3px;color:#94a3b8;font-size:9px}
.fm-compare-value strong{font-size:13px}
.fm-source-note{margin:10px 0;color:#64748b;font-size:10px;line-height:1.6}
.fm-industry-controls{display:grid;grid-template-columns:220px 1fr;gap:12px;margin-bottom:12px}
.fm-industry-controls label span{display:block;margin-bottom:5px;font-size:11px;font-weight:800}
.fm-industry-meta{padding:10px 12px;margin-bottom:10px;border-radius:9px;background:#f8fafc;color:#475569;font-size:12px}
.fm-industry-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.fm-industry-table{width:100%;border-collapse:collapse;min-width:760px}
.fm-industry-table th,.fm-industry-table td{padding:11px 12px;border-bottom:1px solid #e2e8f0;text-align:right;font-size:12px}
.fm-industry-table th:first-child,.fm-industry-table td:first-child{text-align:left}
.fm-industry-table thead{background:#0f172a;color:#fff}
.fm-guide-alert,.fm-guide-final{padding:16px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;margin-bottom:14px}
.fm-guide-alert strong,.fm-guide-final strong{display:block;margin-bottom:5px}
.fm-guide-alert p,.fm-guide-final p{margin:0;color:#64748b;line-height:1.65;font-size:13px}
.fm-guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fm-guide-steps section{padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.fm-guide-steps section>span{font-size:10px;font-weight:900;color:#2563eb}
.fm-guide-steps h2{margin:6px 0 8px;font-size:18px}
.fm-guide-steps p,.fm-guide-steps li{font-size:12px;line-height:1.65;color:#64748b}
.fm-guide-steps ul{margin:8px 0 0;padding-left:18px}
.fm-guide-checks,.fm-guide-formula{margin-top:10px;padding:10px;border-radius:9px;background:#f8fafc;font-size:11px}
.fm-guide-checks b,.fm-guide-checks span{display:block}
.fm-guide-checks span{margin-top:4px;color:#64748b}
.fm-guide-final{margin-top:14px}
@media(max-width:760px){
  .fm-page-hero h1{font-size:26px}
  .fm-compare-pickers{grid-template-columns:1fr}
  .fm-compare-vs{height:auto}
  .fm-compare-heads,.fm-compare-row{grid-template-columns:1.1fr 1fr 1fr;font-size:11px}
  .fm-industry-controls{grid-template-columns:1fr}
  .fm-guide-steps{grid-template-columns:1fr}
}


/* FranMeter 0.18.0 - site finishing */
.fm-home-hero{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.65fr);
  gap:22px;
  align-items:stretch;
  padding:44px 0 34px;
}
.fm-home-hero-copy{
  padding:30px;
  border-radius:20px;
  background:#0F172A;
  color:#fff;
}
.fm-home-hero-copy .fm-eyebrow{color:#93C5FD}
.fm-home-hero-copy h1{
  margin:0;
  font-size:42px;
  line-height:1.15;
  letter-spacing:-1.5px;
}
.fm-home-hero-copy p{
  max-width:760px;
  margin:16px 0 0;
  color:#CBD5E1;
  font-size:14px;
  line-height:1.75;
}
.fm-home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}
.fm-btn-primary{background:#2563EB !important;color:#fff !important;text-decoration:none}
.fm-btn-secondary{
  background:#fff !important;
  color:#0F172A !important;
  border:1px solid #CBD5E1 !important;
  text-decoration:none;
}
.fm-home-trust{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px;
}
.fm-home-trust span{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#E2E8F0;
  font-size:10px;
  font-weight:700;
}
.fm-home-hero-panel{
  display:grid;
  gap:10px;
}
.fm-home-hero-panel>div{
  padding:18px;
  border:1px solid #E2E8F0;
  border-radius:16px;
  background:#fff;
}
.fm-home-hero-panel span,
.fm-home-hero-panel strong,
.fm-home-hero-panel small{display:block}
.fm-home-hero-panel span{color:#64748B;font-size:10px;font-weight:700}
.fm-home-hero-panel strong{margin-top:7px;color:#0F172A;font-size:22px}
.fm-home-hero-panel small{margin-top:5px;color:#64748B;font-size:10px;line-height:1.45}
.fm-home-section{padding:28px 0}
.fm-section-title span{color:#2563EB;font-size:11px;font-weight:900}
.fm-section-title h2{margin:5px 0 0;font-size:27px}
.fm-section-title p{margin:7px 0 0;color:#64748B;font-size:13px}
.fm-tool-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.fm-tool-card{
  display:block;
  padding:18px;
  border:1px solid #E2E8F0;
  border-radius:15px;
  background:#fff;
  text-decoration:none;
  color:#0F172A;
  transition:transform .15s ease,box-shadow .15s ease;
}
.fm-tool-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(15,23,42,.08)}
.fm-tool-card>span{color:#2563EB;font-size:10px;font-weight:900}
.fm-tool-card h3{margin:8px 0 6px;font-size:18px}
.fm-tool-card p{margin:0;color:#64748B;font-size:11px;line-height:1.65;min-height:54px}
.fm-tool-card b{display:block;margin-top:12px;font-size:11px}
.fm-home-flow{border-top:1px solid #E2E8F0;border-bottom:1px solid #E2E8F0}
.fm-flow-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
.fm-flow-grid>div{padding:15px;border-radius:13px;background:#F8FAFC}
.fm-flow-grid span{display:flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:50%;background:#0F172A;color:#fff;font-size:10px;font-weight:900}
.fm-flow-grid strong{display:block;margin-top:9px;font-size:13px}
.fm-flow-grid p{margin:5px 0 0;color:#64748B;font-size:10px;line-height:1.55}
.fm-principle-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
.fm-principle-grid>div{padding:16px;border:1px solid #E2E8F0;border-radius:13px;background:#fff}
.fm-principle-grid strong{font-size:13px}
.fm-principle-grid p{margin:6px 0 0;color:#64748B;font-size:10px;line-height:1.6}
.fm-home-cta,.fm-page-next{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:24px 0 8px;
  padding:18px;
  border-radius:14px;
  background:#EFF6FF;
  border:1px solid #BFDBFE;
}
.fm-home-cta span{color:#2563EB;font-size:10px;font-weight:900}
.fm-home-cta h2{margin:4px 0 0;font-size:20px}
.fm-home-cta p{margin:5px 0 0;color:#64748B;font-size:11px}
.fm-page-next strong,.fm-page-next span{display:block}
.fm-page-next strong{font-size:13px}
.fm-page-next span{margin-top:4px;color:#64748B;font-size:10px}
.fm-page-next>div:last-child{display:flex;gap:7px;flex-wrap:wrap}

/* Single brand analysis */
.fm-analysis-search{
  display:flex;
  gap:8px;
  max-width:720px;
}
.fm-analysis-search-input{
  flex:1;
  min-width:0;
  border:1px solid #CBD5E1;
  border-radius:10px;
  padding:12px 13px;
  background:#fff;
}
.fm-analysis-search-results{
  display:grid;
  gap:6px;
  max-width:720px;
  margin-top:8px;
}
.fm-analysis-status{
  margin:14px 0 10px;
  padding:10px 12px;
  border-radius:9px;
  background:#F8FAFC;
  color:#64748B;
  font-size:11px;
}
.fm-analysis-brand-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:18px;
  border-radius:15px;
  background:#0F172A;
  color:#fff;
}
.fm-analysis-brand-head span{color:#93C5FD;font-size:10px;font-weight:800}
.fm-analysis-brand-head h2{margin:4px 0 0;font-size:24px}
.fm-analysis-brand-head p{margin:5px 0 0;color:#CBD5E1;font-size:11px}
.fm-analysis-brand-head small{color:#CBD5E1;font-size:10px;white-space:nowrap}
.fm-analysis-section{
  margin-top:11px;
  padding:16px;
  border:1px solid #E2E8F0;
  border-radius:14px;
  background:#fff;
}
.fm-analysis-section-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}
.fm-analysis-section-head strong{font-size:13px}
.fm-analysis-section-head span{color:#64748B;font-size:9px}
.fm-analysis-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.fm-analysis-metric{
  padding:11px;
  border-radius:10px;
  background:#F8FAFC;
  border:1px solid #E2E8F0;
}
.fm-analysis-metric span,
.fm-analysis-metric strong,
.fm-analysis-metric small{display:block}
.fm-analysis-metric span{color:#64748B;font-size:9px}
.fm-analysis-metric strong{margin-top:4px;font-size:13px}
.fm-analysis-metric small{margin-top:3px;color:#94A3B8;font-size:9px}
.fm-analysis-sales-control{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:9px;
  align-items:stretch;
}
.fm-analysis-region{
  width:100%;
  border:1px solid #CBD5E1;
  border-radius:9px;
  padding:10px 11px;
  background:#fff;
}
.fm-analysis-sales-value{
  padding:10px 12px;
  border-radius:9px;
  background:#F8FAFC;
  border:1px solid #E2E8F0;
}
.fm-analysis-sales-value span,
.fm-analysis-sales-value strong,
.fm-analysis-sales-value small{display:block}
.fm-analysis-sales-value span{color:#64748B;font-size:9px}
.fm-analysis-sales-value strong{margin-top:3px;font-size:14px}
.fm-analysis-sales-value small{margin-top:3px;color:#94A3B8;font-size:9px}

@media(max-width:860px){
  .fm-home-hero{grid-template-columns:1fr}
  .fm-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .fm-home-hero-copy{padding:22px}
  .fm-home-hero-copy h1{font-size:31px}
  .fm-tool-grid,
  .fm-principle-grid,
  .fm-flow-grid{grid-template-columns:1fr}
  .fm-home-cta,.fm-page-next{display:block}
  .fm-home-cta .fm-btn,.fm-page-next .fm-btn{margin-top:10px;width:100%;text-align:center}
  .fm-analysis-search{display:grid;grid-template-columns:1fr}
  .fm-analysis-brand-head{display:block}
  .fm-analysis-brand-head small{display:block;margin-top:8px}
  .fm-analysis-grid{grid-template-columns:1fr 1fr}
  .fm-analysis-sales-control{grid-template-columns:1fr}
}


/* FranMeter 0.18.4 SAFE UI - readability refinement only */
/* Home hero: lighter navy, explicit heading color, stronger readability */
.fm-home-hero-copy{
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px 36px;
  background:linear-gradient(135deg,#244a73 0%,#315f8c 100%);
  border:1px solid #4b75a0;
  box-shadow:0 14px 34px rgba(36,74,115,.14);
}
.fm-home-hero-copy .fm-eyebrow{
  color:#dbeafe !important;
  font-size:13px;
  letter-spacing:-.1px;
}
.fm-home-hero-copy h1{
  color:#ffffff !important;
  font-size:40px;
  line-height:1.18;
  letter-spacing:-1.3px;
  text-shadow:0 1px 1px rgba(0,0,0,.08);
}
.fm-home-hero-copy p{
  color:#eef6ff !important;
  font-size:15px;
  line-height:1.78;
}
.fm-home-trust span{
  padding:6px 10px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.13);
  color:#f8fbff;
  font-size:11px;
}
.fm-home-actions .fm-btn{
  padding:12px 18px;
  font-size:14px;
}

/* Brand-analysis identity panel: same family as home, but lighter and clearer */
.fm-analysis-brand-head{
  min-height:132px;
  align-items:center;
  padding:24px 26px;
  border-radius:18px;
  background:linear-gradient(135deg,#244a73 0%,#315f8c 100%);
  border:1px solid #4b75a0;
  box-shadow:0 10px 26px rgba(36,74,115,.12);
}
.fm-analysis-brand-head span{
  color:#dbeafe !important;
  font-size:12px;
  font-weight:800;
}
.fm-analysis-brand-head h2{
  margin:7px 0 0;
  color:#ffffff !important;
  font-size:30px;
  line-height:1.2;
  letter-spacing:-.7px;
}
.fm-analysis-brand-head p{
  margin:8px 0 0;
  color:#edf6ff !important;
  font-size:13px;
  line-height:1.55;
}
.fm-analysis-brand-head small{
  color:#e4effb !important;
  font-size:11px;
  font-weight:700;
}

/* Brand-analysis sections: more dashboard-like, less flat */
.fm-analysis-page .fm-page-hero h1{
  font-size:34px;
  letter-spacing:-.7px;
}
.fm-analysis-page .fm-page-hero p{
  font-size:14px;
  line-height:1.75;
}
.fm-analysis-search{
  max-width:820px;
}
.fm-analysis-search-input{
  min-height:48px;
  padding:13px 15px;
  font-size:14px;
  border-radius:12px;
}
.fm-analysis-search-btn{
  min-width:72px;
  font-size:14px;
  border-radius:12px;
}
.fm-analysis-status{
  margin:16px 0 12px;
  padding:12px 14px;
  font-size:12px;
  line-height:1.55;
}
.fm-analysis-section{
  margin-top:15px;
  padding:21px;
  border-color:#dbe4ef;
  border-radius:18px;
  box-shadow:0 5px 18px rgba(15,23,42,.035);
}
.fm-analysis-section-head{
  margin-bottom:14px;
  padding-bottom:11px;
  border-bottom:1px solid #eef2f7;
}
.fm-analysis-section-head strong{
  position:relative;
  padding-left:11px;
  color:#0f172a !important;
  font-size:16px;
  line-height:1.35;
}
.fm-analysis-section-head strong:before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  width:4px;
  height:17px;
  border-radius:999px;
  background:#3b82f6;
}
.fm-analysis-section-head span{
  color:#64748b;
  font-size:10.5px;
  font-weight:600;
}
.fm-analysis-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}
.fm-analysis-metric{
  min-height:104px;
  padding:15px 16px;
  border-radius:14px;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f9fd 100%);
  border:1px solid #dbe5f0;
  box-shadow:0 3px 10px rgba(15,23,42,.025);
}
.fm-analysis-metric span{
  color:#5b6b7f;
  font-size:11.5px;
  font-weight:700;
  line-height:1.35;
}
.fm-analysis-metric strong{
  margin-top:9px;
  color:#0f172a !important;
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.35px;
}
.fm-analysis-metric small{
  margin-top:7px;
  color:#8190a5;
  font-size:10.5px;
  line-height:1.4;
}
.fm-analysis-sales-control{
  grid-template-columns:minmax(170px,220px) 1fr;
  gap:11px;
}
.fm-analysis-region{
  min-height:58px;
  padding:12px 14px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
}
.fm-analysis-sales-value{
  min-height:90px;
  padding:14px 16px;
  border-radius:14px;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f9fd 100%);
  border-color:#dbe5f0;
}
.fm-analysis-sales-value span{
  color:#5b6b7f;
  font-size:11.5px;
  font-weight:700;
}
.fm-analysis-sales-value strong{
  margin-top:7px;
  color:#0f172a !important;
  font-size:20px;
}
.fm-analysis-sales-value small{
  margin-top:6px;
  color:#8190a5;
  font-size:10.5px;
}
.fm-analysis-section .fm-source-note{
  margin:12px 1px 0;
  color:#6b7b8f;
  font-size:10.5px;
  line-height:1.65;
}
.fm-analysis-page .fm-page-next{
  margin-top:18px;
  padding:20px;
  border-radius:16px;
}
.fm-analysis-page .fm-page-next strong{font-size:15px}
.fm-analysis-page .fm-page-next span{font-size:11px;line-height:1.5}

@media(max-width:860px){
  .fm-home-hero-copy{min-height:auto;padding:30px}
  .fm-home-hero-copy h1{font-size:35px}
  .fm-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .fm-home-hero-copy{padding:24px}
  .fm-home-hero-copy h1{font-size:30px}
  .fm-home-hero-copy p{font-size:14px}
  .fm-analysis-brand-head{min-height:auto;padding:20px}
  .fm-analysis-brand-head h2{font-size:25px}
  .fm-analysis-section{padding:16px}
  .fm-analysis-section-head{align-items:flex-start;flex-direction:column;gap:5px}
  .fm-analysis-grid{grid-template-columns:1fr 1fr;gap:9px}
  .fm-analysis-metric{min-height:96px;padding:13px}
  .fm-analysis-metric strong{font-size:17px}
  .fm-analysis-sales-control{grid-template-columns:1fr}
}
@media(max-width:420px){
  .fm-analysis-grid{grid-template-columns:1fr}
}
