/* Forty Micron account page. Uses the theme's colours when the Forty Micron theme is active. */
.fmh-hello { font-size: 1.15rem; }
.fmh-muted { color: var(--wp--preset--color--mist, #8a8478); }
.fmh-note { border-left: 3px solid var(--wp--preset--color--gold, #c9a562); background: var(--wp--preset--color--basecoat, #f3f1ec); padding: .9rem 1.1rem; margin: 0 0 1.5rem; }
.fmh-note--error { border-left-color: #d2775a; }
.fmh-car { border: 1px solid var(--wp--preset--color--line, #ddd6c7); border-radius: 3px; padding: clamp(1rem, 3vw, 1.75rem); margin: 1.5rem 0; }
.fmh-car__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; border-bottom: 1px solid var(--wp--preset--color--line, #ddd6c7); padding-bottom: .9rem; margin-bottom: 1rem; }
.fmh-car__head h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.fmh-plate { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 600; letter-spacing: .06em; border: 1px solid var(--wp--preset--color--line, #ddd6c7); border-radius: 3px; padding: .15rem .6rem; }
.fmh-car h3 { font-size: 1.1rem; margin: 1.4rem 0 .6rem; color: var(--wp--preset--color--mist, #8a8478); font-weight: 500; }
.fmh-status, .fmh-visits, .fmh-visits ul { list-style: none; margin: 0; padding: 0; }
.fmh-status__item { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #ddd6c7); }
.fmh-status__item:last-child { border-bottom: 0; }
.fmh-status__title { font-weight: 500; }
.fmh-status__state { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 600; text-align: right; }
.fmh-status__item--wait .fmh-status__state { color: var(--wp--preset--color--gold, #8c6c2e); }
.fmh-status__item--due .fmh-status__state { color: #6fb283; }
.fmh-status__last { grid-column: 1 / -1; font-size: .88rem; color: var(--wp--preset--color--mist, #8a8478); }
.fmh-visits > li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #ddd6c7); }
.fmh-visits > li:last-child { border-bottom: 0; }
.fmh-visits time { color: var(--wp--preset--color--mist, #8a8478); font-family: var(--wp--preset--font-family--display, inherit); font-weight: 500; }
.fmh-visits ul li { padding: .1rem 0 .35rem; }
.fmh-visit__title { display: block; font-weight: 500; }
.fmh-visit__items { display: block; font-size: .88rem; line-height: 1.5; color: var(--wp--preset--color--mist, #8a8478); max-width: 62ch; }
@media (max-width: 560px) { .fmh-visits > li { grid-template-columns: 1fr; gap: .2rem; } .fmh-status__item { grid-template-columns: 1fr; } .fmh-status__state { text-align: left; } }
.fmh-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin: 2rem 0 1rem; }
.fmh-link { color: inherit; }
.fmh-password { margin-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--line, #ddd6c7); padding-top: 1rem; }
.fmh-password summary { cursor: pointer; font-weight: 500; }
.fmh-form { margin-top: 1rem; max-width: 420px; }

/* Sign in, set a password, forgotten password */
.fmh-auth > * { max-width: 30rem; }
.fmh-auth__title { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.fmh-auth > .fmh-muted { margin: 0 0 1.4rem; }
.fmh-auth__form { display: grid; gap: 1.1rem; margin: 0 0 1.4rem; }
.fmh-field label { display: block; margin-bottom: .35rem; }
.fmh-field input { width: 100%; box-sizing: border-box; }
.fmh-pw { position: relative; display: block; }
.fmh-pw input { padding-right: 4.6rem !important; }
.fmh-pw__show { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--wp--preset--color--mist, #8a8478); font: inherit; font-size: .85rem; padding: .45rem .6rem; cursor: pointer; }
.fmh-pw__show:hover, .fmh-pw__show:focus-visible { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-check { display: flex !important; gap: .55rem; align-items: center; font-weight: 400 !important; font-family: inherit !important; font-size: .95rem !important; }
.fmh-check input { accent-color: var(--wp--preset--color--gold, #c9a562); width: 1.05rem; height: 1.05rem; margin: 0; }
.fmh-strength { margin: -.6rem 0 0; font-size: .85rem; color: var(--wp--preset--color--mist, #8a8478); }
.fmh-strength[data-s="0"], .fmh-strength[data-s="1"] { color: #d2775a; }
.fmh-strength[data-s="2"] { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-strength[data-s="3"], .fmh-strength[data-s="4"] { color: #6fb283; }
.fmh-form-msg { margin: 0; color: #d2775a; font-size: .95rem; }
.fmh-auth__alt { margin: .4rem 0; }
.fmh-auth .wp-block-button__link { cursor: pointer; }

/* Your bookings */
.fmh-bookings { margin: 1.8rem 0 2.6rem; }
.fmh-bookings h2 { margin: 0 0 .9rem; font-size: 1.35rem; }
.fmh-booking-list { list-style: none; margin: 0 0 .8rem; padding: 0; border-top: 1px solid var(--wp--preset--color--line, #2a2724); }
.fmh-booking { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #2a2724); }
.fmh-booking__main { display: grid; gap: .2rem; min-width: 0; }
.fmh-booking__main span { color: var(--wp--preset--color--bone, #e9e4da); }
.fmh-booking__main small { color: var(--wp--preset--color--mist, #8a8478); font-size: .82rem; }
.fmh-booking__status { flex: none; font-size: .78rem; letter-spacing: .03em; padding: .3rem .6rem; border: 1px solid var(--wp--preset--color--gold, #c9a562); color: var(--wp--preset--color--gold, #c9a562); border-radius: 2px; white-space: nowrap; }
.fmh-booking--confirmed .fmh-booking__status { background: var(--wp--preset--color--gold, #c9a562); color: #0c0b0a; }
.fmh-booking--cancelled .fmh-booking__status, .fmh-booking--done .fmh-booking__status { border-color: var(--wp--preset--color--line, #3a3632); color: var(--wp--preset--color--mist, #8a8478); }
.fmh-more summary { cursor: pointer; color: var(--wp--preset--color--mist, #8a8478); margin: .4rem 0; }
@media (max-width: 560px) { .fmh-booking { flex-direction: column; gap: .5rem; } }
.fmh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- Account pages: My Vehicles, Service History, report, Upcoming Bookings ---- */
.fmh-pane { margin-top: 1.2rem; }
.fmh-tabs { border-bottom: 1px solid var(--wp--preset--color--line, #2a2724); margin: 1rem 0 0; overflow-x: auto; }
.fmh-tabs ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; white-space: nowrap; }
.fmh-tabs a { display: block; padding: .8rem 0; text-decoration: none; color: var(--wp--preset--color--mist, #8a8478); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.fmh-tabs a:hover { color: var(--wp--preset--color--bone, #e9e4da); }
.fmh-tabs a[aria-current="page"] { color: var(--wp--preset--color--gold, #c9a562); border-bottom-color: var(--wp--preset--color--gold, #c9a562); }
.fmh-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1rem; }
.fmh-sec-head h2, .fmh-pane > h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.fmh-h { font-size: 1.25rem; margin: 2.2rem 0 .8rem; }
.fmh-back { margin: 0 0 1rem; font-size: .92rem; }
.fmh-back a { color: var(--wp--preset--color--mist, #8a8478); text-decoration: none; }
.fmh-back a:hover { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-btn { display: inline-block; padding: .62rem 1.15rem; border: 1px solid var(--wp--preset--color--gold, #c9a562); background: var(--wp--preset--color--gold, #c9a562); color: #0c0b0a !important; text-decoration: none; border-radius: 2px; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.fmh-btn:hover, .fmh-btn:focus-visible { background: transparent; color: var(--wp--preset--color--gold, #c9a562) !important; }
.fmh-btn--ghost { background: transparent; color: var(--wp--preset--color--gold, #c9a562) !important; }
.fmh-btn--ghost:hover { background: var(--wp--preset--color--gold, #c9a562); color: #0c0b0a !important; }
.fmh-empty { color: var(--wp--preset--color--mist, #8a8478); border: 1px dashed var(--wp--preset--color--line, #3a3632); padding: 1.1rem 1.2rem; margin: .6rem 0 1.2rem; border-radius: 2px; }
.fmh-cars { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.fmh-vcard { display: flex; gap: 1rem; border: 1px solid var(--wp--preset--color--line, #2a2724); border-radius: 3px; padding: 1.1rem; background: var(--wp--preset--color--carbon, transparent); }
.fmh-vcard__img { flex: none; width: 5.2rem; color: var(--wp--preset--color--gold, #c9a562); opacity: .8; display: flex; align-items: center; }
.fmh-vcard__img svg { width: 100%; height: auto; }
.fmh-vcard__body { min-width: 0; display: grid; gap: .35rem; align-content: start; }
.fmh-vcard__body h3 { margin: 0; font-size: 1.15rem; color: inherit; font-weight: 600; }
.fmh-vcard__body h3 a { text-decoration: none; color: inherit; }
.fmh-vcard__body h3 a:hover { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-vcard__body p { margin: 0; }
.fmh-vcard__facts, .fmh-vcard__care { font-size: .88rem; color: var(--wp--preset--color--mist, #8a8478); }
.fmh-vcard__links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; }
.fmh-vcard__links a { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .9rem 1.4rem; margin: 0 0 1rem; }
.fmh-facts dt { font-size: .78rem; color: var(--wp--preset--color--mist, #8a8478); margin: 0 0 .15rem; }
.fmh-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.fmh-care { display: grid; gap: .4rem; }
.fmh-care h3, .fmh-report h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; color: var(--wp--preset--color--gold, #c9a562); font-weight: 600; }
.fmh-report h4 { font-size: .95rem; margin: 1.1rem 0 .4rem; color: var(--wp--preset--color--mist, #8a8478); font-weight: 500; }
.fmh-status__item--review .fmh-status__state, .fmh-status__item--due .fmh-status__state { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-status__item--not_due .fmh-status__state { color: var(--wp--preset--color--mist, #8a8478); }
.fmh-visits .fmh-muted { display: block; font-size: .88rem; }
.fmh-visit__links { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; margin-top: .3rem; font-size: .92rem; }
.fmh-visit__links a { color: var(--wp--preset--color--gold, #c9a562); }
.fmh-visits > li > div { display: grid; gap: .1rem; }
/* The report */
.fmh-report { border: 1px solid var(--wp--preset--color--line, #2a2724); border-radius: 3px; padding: clamp(1.1rem, 3vw, 2rem); }
.fmh-rp-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--wp--preset--color--gold, #c9a562); padding-bottom: 1rem; margin-bottom: 1.2rem; }
.fmh-rp-head h2 { margin: 0 0 .2rem; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.fmh-rp-head p { margin: 0; }
.fmh-kicker { color: var(--wp--preset--color--gold, #c9a562); font-size: .85rem; margin: 0 0 .3rem !important; }
.fmh-rp-head .fmh-actions { margin: 0; align-self: flex-start; }
.fmh-rp-list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.fmh-rp-list li { padding: .55rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #2a2724); }
.fmh-rp-list li:last-child { border-bottom: 0; }
.fmh-product { display: block; font-size: .85rem; color: var(--wp--preset--color--mist, #8a8478); }
.fmh-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fmh-table th, .fmh-table td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #2a2724); }
.fmh-table th { color: var(--wp--preset--color--mist, #8a8478); font-weight: 500; font-size: .82rem; }
/* Photos */
.fmh-gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .7rem; margin: 0 0 1rem; padding: 0; }
.fmh-gallery li { margin: 0; }
.fmh-gallery a { display: block; border: 1px solid var(--wp--preset--color--line, #2a2724); border-radius: 2px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--wp--preset--color--carbon, #111); }
.fmh-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fmh-gallery figcaption { font-size: .78rem; color: var(--wp--preset--color--mist, #8a8478); margin-top: .25rem; }
/* Forms */
.fmh-vform, .fmh-prefs .fmh-form, .fmh-ack { max-width: 40rem; }
.fmh-grid { display: grid; gap: 1rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-bottom: 1rem; }
.fmh-field select, .fmh-field textarea { width: 100%; box-sizing: border-box; }
.fmh-checks { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.fmh-checks legend { padding: 0; margin-bottom: .4rem; }
.fmh-prefs { margin: 2.4rem 0 1rem; border-top: 1px solid var(--wp--preset--color--line, #2a2724); padding-top: 1.4rem; }
.fmh-prefs h2 { font-size: 1.25rem; margin: 0 0 .4rem; }
.fmh-prefs .fmh-check, .fmh-ack .fmh-check { margin: .5rem 0; }
.fmh-ack { margin-top: 1rem; padding: 1rem; border: 1px solid var(--wp--preset--color--line, #2a2724); border-radius: 2px; }
/* Booking states */
.fmh-booking--pending .fmh-booking__status, .fmh-booking--new .fmh-booking__status { border-color: var(--wp--preset--color--gold, #c9a562); }
.fmh-booking--progress .fmh-booking__status { background: var(--wp--preset--color--gold, #c9a562); color: #0c0b0a; }
.fmh-booking--rejected .fmh-booking__status { border-color: #d2775a; color: #d2775a; }
@media (max-width: 560px) { .fmh-vcard { flex-direction: column; } .fmh-vcard__img { width: 4rem; } .fmh-tabs ul { gap: 1.2rem; } }
@media print { .fmh-tabs, .fmh-back, .fmh-rp-head .fmh-actions, .fmh-ack { display: none; } }
/* Fields on the account pages: the same dark surface as the rest of the site. */
.fmh-vform input:not([type="checkbox"]), .fmh-vform select, .fmh-vform textarea, .fmh-ack input:not([type="checkbox"]), .fmh-prefs input:not([type="checkbox"]) {
	background: var(--wp--preset--color--carbon, #141210); color: var(--wp--preset--color--bone, #e9e4da); border: 1px solid var(--wp--preset--color--line, #3a3632); border-radius: 2px; padding: .65rem .75rem; font: inherit; min-height: 2.75rem; box-sizing: border-box; width: 100%;
}
.fmh-vform textarea { min-height: 6rem; }
.fmh-vform input::placeholder, .fmh-vform textarea::placeholder { color: var(--wp--preset--color--mist, #8a8478); opacity: .7; }
.fmh-vform input:focus-visible, .fmh-vform select:focus-visible, .fmh-vform textarea:focus-visible, .fmh-ack input:focus-visible { outline: 2px solid var(--wp--preset--color--gold, #c9a562); outline-offset: 1px; border-color: transparent; }
.fmh-vform label, .fmh-ack label { display: block; margin-bottom: .35rem; }
.fmh-vform .fmh-check, .fmh-ack .fmh-check, .fmh-prefs .fmh-check { display: flex; }
.fmh-vcard__body .fmh-plate, .fmh-car__head .fmh-plate { justify-self: start; width: fit-content; }
.fmh-vcard__body .fmh-plate { font-size: .9rem; padding: .1rem .5rem; }
.fmh-vform input.fmh-ro { opacity: .6; cursor: not-allowed; }
.fmh-vcard__img.has-photo { width: 7rem; }
.fmh-vcard__img img { width: 100%; height: 5.2rem; object-fit: cover; border-radius: 2px; border: 1px solid var(--wp--preset--color--line, #2a2724); }
.fmh-vphoto { display: block; max-width: 14rem; width: 100%; height: auto; border-radius: 2px; border: 1px solid var(--wp--preset--color--line, #2a2724); margin: .4rem 0 .6rem; }
.fmh-vphoto--big { max-width: 28rem; margin: 0 0 1.2rem; }
.fmh-vform input[type="file"] { padding: .5rem; }
.fmh-hint { margin: .35rem 0 0; font-size: .82rem; color: var(--wp--preset--color--muted, #a39c92); }
.fmh-hint--bad { color: #e0a090; }
