.fps-home-wrap {
  box-sizing: border-box;
  width: calc(100% - 2 * clamp(16px, 2vw, 38px));
  margin-inline: auto;
  min-width: 0;
}
.fps-home-body, .fps-home-header, .fps-home {
  background: #fff;
  color: #17221c;
}
.fps-home-header { border-bottom: 1px solid #e0e4df; }
.fps-home-mast {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 2rem;
  min-height: 72px;
}
.fps-home-brand {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.06em;
}
.fps-home-brand img { width: 34px; height: 34px; padding: 3px; border-radius: 8px; background: #d9f28e; }
.fps-home-brand-dot { color: #274e2f; }
.fps-home-mast nav, .fps-home-actions, .fps-home-actions form, .fps-home-account { display: flex; align-items: center; }
.fps-home-mast nav { gap: clamp(0.55rem, 1.6vw, 1.55rem); }
.fps-home-mast nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #344339;
}
.fps-home-mast nav a[aria-current] { color: #274e2f; text-decoration: underline; text-underline-offset: 0.45rem; }
.fps-home-actions { margin-inline-start: auto; gap: 0.4rem; min-width: 0; }
.fps-home-actions form { gap: 0.25rem; }
.fps-home-account { gap: 0.4rem; min-width: 0; }
.fps-home-actions input {
  width: clamp(76px, 9vw, 122px);
  font-size: 0.85rem;
  min-width: 0;
  min-height: 40px;
  padding: 0 0.4rem;
  border: 1px solid #87978a;
  border-radius: 7px;
}
.fps-home-actions :is(a,button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.5rem;
  min-height: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #274e2f;
}
.fps-home-actions .fps-home-user { max-inline-size: 6rem; }
.fps-home-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fps-home-account > a { border: 1px solid #dfe4df; border-radius: 7px; }
.fps-home-account .fps-session-link {
  max-width: 7rem;
  display: block;
  min-height: 40px;
  box-sizing: border-box;
  line-height: 38px;
  padding: 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fff;
  color: #274e2f;
}
.fps-home-account .fps-session-link:hover { background: #eef4eb; color: #274e2f; }
.fps-home-header :focus-visible, .fps-home :focus-visible {
  outline: 2px solid #3762ea;
  outline-offset: 3px;
}
.fps-home { padding-block: clamp(1rem, 2.2vw, 2rem) 3rem; }
.fps-home h1, .fps-home h2 { line-height: 1.1; letter-spacing: -0.045em; text-wrap: balance; }
.fps-home h1 { font-weight: 820; font-size: clamp(1.9rem, 3.3vw, 3.45rem); margin-bottom: 1.15rem; }
.fps-home h2 { font-weight: 780; font-size: clamp(1.25rem, 1.7vw, 1.75rem); margin-bottom: 0.65rem; }
.fps-home-grid {
  display: grid;
  align-items: start;
  gap: clamp(1rem, 2vw, 2.5rem);
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.93fr) minmax(0, 0.82fr);
}
.fps-home-grid > *, .fps-home-secondary > * { min-width: 0; }
.fps-home-lead > a { display: block; }
.fps-home-lead h2 { margin-block: 0.45rem; font-size: clamp(1.75rem, 3vw, 3rem); }
.fps-home-lead p { max-width: 60ch; color: #344339; }
.fps-home-cover {
  display: block;
  width: 100%;
  height: clamp(170px, 18vw, 264px);
  object-fit: cover;
  border-radius: 15px;
}
.fps-home-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-block-start: 0.85rem;
  font-size: 0.82rem;
  color: #58665c;
}
.fps-home-meta strong { color: #274e2f; }
.fps-home-cta, .fps-home-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-block-start: 0.55rem;
  font-weight: 720;
  color: #274e2f;
}
.fps-home-section-link { text-decoration: underline; text-underline-offset: 0.2em; }
.fps-home-cta { background: #d9f28e; padding-inline: 0.85rem; border-radius: 8px; color: #17221c; }
.fps-home-discussions, .fps-home-tools, .fps-home-resources {
  padding: clamp(1rem, 1.55vw, 1.5rem);
  border-radius: 15px;
  background: #eef4eb;
}
.fps-home-tools { background: #f5f0e5; }
.fps-home-resources { background: #edf0fa; }
.fps-home-list, .fps-home-shortcuts { list-style: none; padding: 0; }
.fps-home-list li + li { border-top: 1px solid #dfe4df; }
.fps-home-list a, .fps-home-shortcuts a {
  display: grid;
  align-content: center;
  gap: 0.15rem;
  min-height: 48px;
  min-width: 0;
  padding-block: 0.55rem;
  font-size: 0.93rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.fps-home-list small, .fps-home-shortcuts small { color: #58665c; }
.fps-home-list a:hover, .fps-home-shortcuts a:hover { text-decoration: underline; }
.fps-home-tools, .fps-home-secondary, .fps-home > section:last-child { margin-block-start: clamp(1.8rem, 3.2vw, 3.8rem); }
.fps-home-shortcuts, .fps-home-secondary { display: grid; align-items: start; gap: 1rem; }
.fps-home-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fps-home-secondary { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 3.6rem); }
.fps-home-shortcuts a { padding: 0.75rem; background: #fafbf9; border-radius: 10px; }
.fps-home-forum-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1120px) {
  .fps-home-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .fps-home-grid > section:last-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .fps-home-mast { gap: 0; }
  .fps-home-mast nav { order: 1; justify-content: space-between; width: 100%; }
  .fps-home-brand, .fps-home-actions { min-height: 58px; }
}
@media (max-width: 620px) {
  .fps-home-grid, .fps-home-shortcuts, .fps-home-secondary { grid-template-columns: minmax(0, 1fr); }
  .fps-home-cover { height: clamp(144px, 42vw, 205px); }
}
.fps-home > section:last-child .fps-home-section-link { margin-inline-end: 0.9rem; }
@media (max-width: 620px) {
  .fps-home-actions .fps-home-register { display: none; }
  .fps-home-account .fps-session-link { max-width: 4.5rem; }
}
