/* Custom styles for the About + Suggest pages.
   Reuses theme variables; adds decorative SVG patterns and feature blocks. */

/* ---- Decorative hero with curved bottom edge ---- */

.fm-hero-decor {
    position: relative;
    background: linear-gradient(165deg, var(--fm-bg) 0%, var(--fm-bg-alt) 60%, var(--fm-primary-soft) 120%);
    padding: 4.5rem 0 6rem;
    overflow: hidden;
    border-bottom: 1px solid var(--fm-border-soft);
}
.fm-hero-decor::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 60px;
    background-image:
        radial-gradient(50% 60px at 50% 100%, var(--fm-bg) 99%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 60px;
}
.fm-hero-decor .container { position: relative; z-index: 2; }
.fm-hero-decor h1 {
    font-size: 3.1rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 16ch;
    color: var(--fm-text);
}
.fm-hero-decor h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--fm-primary-dark), var(--fm-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fm-hero-decor p.lead { max-width: 56ch; font-size: 1.2rem; color: var(--fm-text-muted); margin-top: 1rem; }

.fm-hero-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fm-hero-floats .fm-illus {
    position: absolute;
    opacity: 0.35;
    filter: drop-shadow(0 4px 8px rgba(43, 36, 25, 0.06));
}
.fm-hero-floats .pos-1 { top: 8%;  right: 6%;  transform: rotate(8deg); }
.fm-hero-floats .pos-2 { top: 56%; right: 22%; transform: rotate(-12deg); }
.fm-hero-floats .pos-3 { top: 30%; right: 38%; transform: rotate(20deg) scale(0.8); }
.fm-hero-floats .pos-4 { top: 70%; right: 4%;  transform: rotate(-6deg) scale(0.9); }

@media (max-width: 900px) {
    .fm-hero-decor h1 { font-size: 2.3rem; }
    .fm-hero-decor { padding: 3rem 0 4.5rem; }
    .fm-hero-floats .fm-illus { opacity: 0.18; }
    .fm-hero-floats .pos-3 { display: none; }
}

/* ---- Stats strip ---- */

.fm-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 1.75rem;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border-soft);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-sm);
}
.fm-stat .num {
    font-family: var(--fm-font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--fm-primary-dark);
    line-height: 1;
    display: block;
}
.fm-stat .lbl {
    font-size: 0.85rem;
    color: var(--fm-text-muted);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- Three-up feature grid ---- */

.fm-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.fm-feature {
    background: var(--fm-surface);
    border: 1px solid var(--fm-border-soft);
    border-radius: var(--fm-radius-lg);
    padding: 1.6rem 1.5rem 1.4rem;
    transition: transform 0.15s, box-shadow 0.15s;
}
.fm-feature:hover { transform: translateY(-2px); box-shadow: var(--fm-shadow); }
.fm-feature .fm-illus { display: block; margin-bottom: 0.75rem; }
.fm-feature h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.fm-feature p { margin: 0; color: var(--fm-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ---- Numbered "how it works" steps ---- */

.fm-steps {
    counter-reset: fm-step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.fm-step {
    background: var(--fm-surface-2);
    border: 1px solid var(--fm-border-soft);
    border-radius: var(--fm-radius-lg);
    padding: 1.4rem 1.4rem 1.2rem;
    position: relative;
    counter-increment: fm-step;
}
.fm-step::before {
    content: counter(fm-step);
    position: absolute;
    top: -16px;
    left: 1.4rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--fm-primary);
    color: #fff;
    font-family: var(--fm-font-display);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(74, 107, 58, 0.35);
}
.fm-step h4 { margin: 0.5rem 0 0.4rem; font-size: 1.05rem; }
.fm-step p { margin: 0; color: var(--fm-text-muted); font-size: 0.92rem; line-height: 1.55; }

/* ---- CTA card ---- */

.fm-cta-card {
    background: linear-gradient(135deg, var(--fm-primary) 0%, var(--fm-primary-dark) 100%);
    color: #fff;
    padding: 2.25rem 2rem;
    border-radius: var(--fm-radius-lg);
    margin: 2rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.fm-cta-card h3 { margin: 0 0 0.4rem; font-size: 1.35rem; color: #fff; }
.fm-cta-card p  { margin: 0; color: rgba(255,255,255,0.85); max-width: 50ch; }
.fm-cta-card .btn-light {
    background: #fff;
    color: var(--fm-primary-dark);
    padding: 0.85rem 1.6rem;
    border-radius: var(--fm-radius);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}
.fm-cta-card .btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

/* ---- Trust strip ---- */

.fm-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.fm-trust-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border-soft);
    border-radius: var(--fm-radius);
}
.fm-trust-item .fm-illus { flex-shrink: 0; }
.fm-trust-item strong { display: block; margin-bottom: 0.15rem; }
.fm-trust-item p { margin: 0; color: var(--fm-text-muted); font-size: 0.85rem; line-height: 1.5; }

/* ---- Pull quote ---- */

.fm-quote {
    border-left: 4px solid var(--fm-primary);
    padding: 0.4rem 1.25rem;
    margin: 2rem 0;
    font-family: var(--fm-font-display);
    font-size: 1.3rem;
    color: var(--fm-text);
    line-height: 1.4;
    max-width: 56ch;
}
.fm-quote cite { display: block; font-style: normal; font-size: 0.9rem; color: var(--fm-text-muted); margin-top: 0.5rem; }

/* ---- Section heading ---- */

.fm-section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--fm-primary-dark);
    font-weight: 700;
    margin: 0 0 0.4rem;
}

/* ---- "What we won't accept" warn list ---- */

.fm-warn-list {
    background: #fdf3e8;
    border: 1px solid #e8c896;
    border-radius: var(--fm-radius);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}
.fm-warn-list strong { color: #7a4a12; }
.fm-warn-list ul { margin: 0.5rem 0 0; padding-left: 1.25rem; color: #7a4a12; }
.fm-warn-list li { margin: 0.25rem 0; }

/* ---- Profile / mini-site hero (stallholder, organiser, market, venue) ---- */

.fm-profile-hero {
    background: linear-gradient(135deg, var(--fm-bg-alt) 0%, var(--fm-primary-soft) 100%);
    border-bottom: 1px solid var(--fm-border-soft);
    padding: 2.5rem 0 2.25rem;
    position: relative;
    overflow: hidden;
}
.fm-profile-hero::before {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(74, 107, 58, 0.16), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.fm-profile-hero .container { position: relative; }
.fm-profile-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}
.fm-logo-badge {
    width: 96px; height: 96px;
    border-radius: 22px;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--fm-font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--fm-primary-dark);
    box-shadow: var(--fm-shadow-sm);
    flex-shrink: 0;
    overflow: hidden;
}
.fm-logo-badge img { width: 100%; height: 100%; object-fit: cover; }

.fm-profile-meta { margin: 0.4rem 0 0.75rem; font-size: 0.95rem; color: var(--fm-text-muted); }
.fm-profile-meta a { color: var(--fm-primary-dark); }

/* Single-line meta: region · category tags · social buttons inline (wrap on narrow) */
.fm-profile-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    margin: 0.5rem 0 0;
    color: var(--fm-text-muted);
    font-size: 0.95rem;
}
.fm-profile-line a:not(.fm-social-btn):not(.fm-tag) { color: var(--fm-primary-dark); }
.fm-profile-line .fm-tag { margin: 0; padding: 0.18rem 0.6rem; font-size: 0.78rem; }
.fm-profile-line .fm-social-btn { padding: 0.35rem 0.85rem; font-size: 0.8rem; }

.fm-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    font-size: 0.78rem;
    color: var(--fm-text-muted);
    margin: 0.15rem 0.25rem 0.15rem 0;
    white-space: nowrap;
}
.fm-tag a { color: inherit; text-decoration: none; }
.fm-tag:hover { border-color: var(--fm-primary); color: var(--fm-primary-dark); }
.fm-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}
.fm-tag-row .fm-tag { margin: 0; }

.fm-profile-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .fm-profile-grid { grid-template-columns: 1fr; }
    .fm-profile-row  { grid-template-columns: 1fr; }
    .fm-logo-badge   { width: 72px; height: 72px; font-size: 1.7rem; border-radius: 16px; }
}

.fm-detail-card {
    background: var(--fm-surface);
    border: 1px solid var(--fm-border-soft);
    border-radius: var(--fm-radius-lg);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
}
.fm-detail-card h3 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fm-text-muted);
}
.fm-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fm-detail-list li {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--fm-border-soft);
    font-size: 0.95rem;
    align-items: start;
}
.fm-detail-list li:last-child { border-bottom: 0; }
.fm-detail-list .label {
    color: var(--fm-text-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 0.15rem;
    font-weight: 600;
}
.fm-detail-list .val { color: var(--fm-text); word-break: break-word; }
.fm-detail-list .val a { color: var(--fm-primary-dark); }

.fm-social-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.fm-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    color: var(--fm-text);
    border-radius: 100px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.15s;
}
.fm-social-btn:hover {
    border-color: var(--fm-primary);
    color: var(--fm-primary-dark);
    transform: translateY(-1px);
}

/* Sidebar regular-markets list (stallholder detail) */
.fm-market-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fm-market-list li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--fm-border);
}
.fm-market-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.fm-market-list li:first-child {
    padding-top: 0;
}
.fm-market-list-name {
    display: block;
    font-weight: 700;
    color: var(--fm-primary-dark);
    text-decoration: none;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}
.fm-market-list-name:hover {
    text-decoration: underline;
}
.fm-market-list .meta {
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

/* Breadcrumb (top-of-page trail + JSON-LD) */
.fm-breadcrumb {
    background: #f6f4ee;
    border-bottom: 1px solid var(--fm-border);
    font-size: 0.85rem;
}
.fm-breadcrumb .container {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
.fm-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--fm-text-muted);
}
.fm-breadcrumb li {
    display: inline-flex;
    align-items: center;
}
.fm-breadcrumb li:not(:last-child)::after {
    content: "›";
    color: var(--fm-text-soft);
    margin: 0 0.55rem;
    font-size: 1rem;
    line-height: 1;
}
.fm-breadcrumb a,
.fm-breadcrumb span {
    display: inline-block;
    padding: 0.05rem 0;
}
.fm-breadcrumb a {
    color: var(--fm-primary-dark);
    text-decoration: none;
    transition: color 0.15s;
}
.fm-breadcrumb a:hover {
    color: var(--fm-primary);
    text-decoration: underline;
}
.fm-breadcrumb [aria-current="page"] span {
    color: var(--fm-text);
    font-weight: 600;
    max-width: 32ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stat strip (home, social proof) */
.fm-stat-strip {
    background: var(--fm-primary-soft);
    border-bottom: 1px solid var(--fm-border);
    padding: 1.25rem 0;
}
.fm-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    text-align: center;
}
.fm-stat-row .fm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fm-stat-row .num {
    font-family: var(--fm-font-display, system-ui);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--fm-primary-dark);
    line-height: 1.1;
}
.fm-stat-row .lbl {
    font-size: 0.85rem;
    color: var(--fm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* In-season pills */
.fm-season {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.fm-season-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    border-radius: 100px;
    color: var(--fm-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s;
}
.fm-season-pill:hover {
    border-color: var(--fm-primary);
    color: var(--fm-primary-dark);
    transform: translateY(-1px);
}
.fm-season-pill .ico { font-size: 1.05rem; }

/* Award badge row on cards */
.fm-award-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}
.fm-award {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.55rem;
    background: #fff7e8;
    border: 1px solid #e7c97f;
    color: #6b4a0e;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Pricing cards */
.fm-pricing-card {
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
.fm-pricing-card h2 {
    margin: 0.2rem 0 0.6rem;
    font-size: 1.6rem;
}
.fm-pricing-card .price {
    margin: 0 0 0.5rem;
    color: var(--fm-text);
}
.fm-pricing-card .price .amount {
    font-family: var(--fm-font-display, system-ui);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--fm-primary-dark);
}
.fm-pricing-card .price .per {
    font-size: 0.9rem;
    color: var(--fm-text-muted);
    margin-left: 0.3rem;
}
.fm-pricing-card .fm-section-eyebrow {
    margin: 0;
}
.fm-pricing-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}
.fm-pricing-features li {
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    color: var(--fm-text);
    font-size: 0.94rem;
}
.fm-pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--fm-primary);
    font-weight: 700;
}
.fm-pricing-cta {
    display: inline-block;
    background: var(--fm-primary);
    color: #fff;
    padding: 0.75rem 1.2rem;
    border-radius: var(--fm-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}
.fm-pricing-cta:hover { background: var(--fm-primary-dark); }
.fm-pricing-cta--alt {
    background: #fff;
    color: var(--fm-primary-dark);
}
.fm-pricing-cta--alt:hover { background: #f3eee2; }
.fm-pricing-card--featured {
    background: var(--fm-primary-dark);
    border-color: var(--fm-primary-dark);
    color: #fff;
}
.fm-pricing-card--featured h2,
.fm-pricing-card--featured .price,
.fm-pricing-card--featured .price .amount {
    color: #fff;
}
.fm-pricing-card--featured .price .per { color: #cfe1bd; }
.fm-pricing-card--featured .fm-pricing-features li { color: #f3f7ee; }
.fm-pricing-card--featured .fm-pricing-features li::before { color: #ffd17a; }

/* Footer newsletter + nav */
.fm-newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.fm-newsletter-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
}
.fm-newsletter-form input[type=email] {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: var(--fm-radius);
    font: inherit;
    background: #fff;
    color: var(--fm-text);
}
.fm-newsletter-form button {
    background: var(--fm-accent);
    color: #fff;
    border: 0;
    padding: 0.85rem 1.4rem;
    border-radius: var(--fm-radius);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.fm-newsletter-form button:hover { filter: brightness(1.05); }
@media (max-width: 720px) {
    .fm-newsletter { grid-template-columns: 1fr; gap: 1rem; }
}
.fm-foot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0 0.4rem;
}
.fm-foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}
.fm-foot-nav a {
    color: #dde6d2;
    text-decoration: none;
    font-size: 0.9rem;
}
.fm-foot-nav a:hover { color: #fff; text-decoration: underline; }

/* Data-completeness bar (used in /me dashboard table cells) */
.fm-completeness {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 130px;
}
.fm-completeness-bar {
    flex: 1;
    height: 8px;
    background: var(--fm-border);
    border-radius: 100px;
    overflow: hidden;
}
.fm-completeness-bar span {
    display: block;
    height: 100%;
    background: var(--fm-primary);
    transition: width 0.25s;
}
.fm-completeness.is-high .fm-completeness-bar span { background: var(--fm-primary); }
.fm-completeness.is-mid  .fm-completeness-bar span { background: #d4a017; }
.fm-completeness.is-low  .fm-completeness-bar span { background: #c25c2a; }
.fm-completeness small {
    font-size: 0.78rem;
    color: var(--fm-text-muted);
    font-weight: 600;
    min-width: 36px;
    text-align: right;
}
.fm-completeness.is-high small { color: var(--fm-primary-dark); }
.fm-completeness.is-mid  small { color: #8a6610; }
.fm-completeness.is-low  small { color: #7a3a16; }

/* Claim listing flow */
.fm-claim-steps {
    list-style: none;
    counter-reset: claim;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 1.5rem 0;
}
.fm-claim-steps li {
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius);
    padding: 1.1rem 1.2rem;
    position: relative;
}
.fm-claim-steps li .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    background: var(--fm-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-family: var(--fm-font-display, system-ui);
    margin-bottom: 0.6rem;
}
.fm-claim-steps li strong {
    display: block;
    font-size: 1.05rem;
    color: var(--fm-text);
    margin-bottom: 0.25rem;
}
.fm-claim-steps li p {
    margin: 0;
    color: var(--fm-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.fm-claim-form {
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius-lg);
    padding: 2.25rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--fm-shadow);
}
.fm-claim-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--fm-text);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}
.fm-claim-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1.15rem 1.25rem;
    border: 2px solid var(--fm-border);
    border-radius: var(--fm-radius);
    font: inherit;
    font-size: 1.15rem;
    line-height: 1.4;
    background: #fff;
    color: var(--fm-text);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    appearance: none;
    -webkit-appearance: none;
}
.fm-claim-input:hover  { border-color: var(--fm-text-soft); }
.fm-claim-input:focus  {
    outline: 0;
    border-color: var(--fm-primary);
    box-shadow: 0 0 0 4px rgba(74, 107, 58, 0.18);
}
.fm-claim-input::placeholder { color: var(--fm-text-soft); font-size: 1.05rem; }
.fm-claim-hint {
    font-size: 0.9rem;
    color: var(--fm-text-muted);
    margin: 0.85rem 0 1.5rem;
    line-height: 1.55;
}
.fm-claim-submit {
    display: block;
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: var(--fm-primary);
    color: #fff;
    border: 0;
    border-radius: var(--fm-radius);
    font: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 2px 6px rgba(74, 107, 58, 0.25);
}
.fm-claim-submit:hover  { background: var(--fm-primary-dark); box-shadow: 0 4px 12px rgba(74, 107, 58, 0.35); }
.fm-claim-submit:active { transform: translateY(1px); box-shadow: 0 1px 3px rgba(74, 107, 58, 0.2); }
@media (max-width: 640px) {
    .fm-claim-form  { padding: 1.5rem 1.25rem; }
    .fm-claim-input { font-size: 1.05rem; padding: 1rem 1.1rem; }
}
.fm-claim-foot {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px dashed var(--fm-border);
    font-size: 0.85rem;
    color: var(--fm-text-soft);
}
.fm-claim-foot a { color: var(--fm-primary-dark); }

.fm-claim-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

/* ---- Public form styling (signin, claim, suggest) ----
   Mirrors admin.css's auth-* / admin-form classes so public pages render
   without depending on admin.css being loaded. */
.admin-form {
    max-width: 880px;
    margin-top: 1rem;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--fm-shadow);
}
.admin-form h3 {
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
    color: var(--fm-primary-dark);
}
.admin-field {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    color: var(--fm-text);
    font-weight: 500;
}
.admin-field small {
    font-weight: 400;
    margin-left: 0.4rem;
}
.auth-input,
.admin-field input[type=text],
.admin-field input[type=email],
.admin-field input[type=url],
.admin-field input[type=tel],
.admin-field input[type=password],
.admin-field select,
.admin-field textarea {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius);
    font: inherit;
    background: #fff;
    color: var(--fm-text);
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input:focus,
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    outline: 0;
    border-color: var(--fm-primary);
    box-shadow: 0 0 0 3px rgba(74, 107, 58, 0.15);
}
.auth-submit {
    background: var(--fm-primary);
    color: #fff;
    border: 0;
    padding: 0.85rem 1.4rem;
    border-radius: var(--fm-radius);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.auth-submit:hover { background: var(--fm-primary-dark); }
.auth-submit:active { transform: translateY(1px); }
.auth-error {
    background: #fce8e1;
    border: 1px solid #d97a5a;
    color: #7a2a12;
    padding: 0.85rem 1rem;
    border-radius: var(--fm-radius);
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* Multi-step form (suggest) */
.fm-multistep { position: relative; }
.fm-steps-progress {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    counter-reset: fmstep;
}
.fm-steps-progress li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    background: #f3eee2;
    border-radius: var(--fm-radius);
    color: var(--fm-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
}
.fm-steps-progress li .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: #d6cfbb;
    color: #5b4a1d;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}
.fm-steps-progress li.is-active {
    background: var(--fm-primary-soft);
    border-color: var(--fm-primary);
    color: var(--fm-primary-dark);
}
.fm-steps-progress li.is-active .num {
    background: var(--fm-primary);
    color: #fff;
}
.fm-steps-progress li.is-done {
    background: #fff;
    border-color: var(--fm-border);
    color: var(--fm-text);
}
.fm-steps-progress li.is-done .num {
    background: var(--fm-primary-dark);
    color: #fff;
}
.fm-step-pane {
    border: 0;
    margin: 0;
    padding: 0;
}
.fm-step-pane[hidden] { display: none; }
.fm-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}
.fm-step-back {
    background: transparent;
    border: 1px solid var(--fm-border);
    color: var(--fm-text);
    padding: 0.65rem 1.2rem;
    border-radius: var(--fm-radius);
    font: inherit;
    cursor: pointer;
}
.fm-step-back:hover {
    border-color: var(--fm-primary);
    color: var(--fm-primary-dark);
}
@media (max-width: 600px) {
    .fm-steps-progress { flex-direction: column; gap: 0.4rem; }
    .fm-steps-progress li { padding: 0.55rem 0.85rem; }
}
