/* Forkcare Customer Portal */

:root {
	--ink: #14181d;
	--ink-2: #5a6470;
	--line: #dde2e8;
	--bg: #f4f6f9;
	--card: #fff;
	--brand: #14181d;
	--accent: #ffb400;
	--ok: #0a7d3c;
	--err: #c62026;
	--radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.fcc-body {
	margin: 0;
	background: var(--bg);
	/* The iOS system font. -apple-system resolves to San Francisco on Apple
	   devices; the rest are fallbacks for everything else. */
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
	             "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: var(--ink);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.fcc-app {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 14px 60px;
}

/* ---- Login ---- */
.fcc-login-wrap {
	display: flex; align-items: center; justify-content: center;
	min-height: 100vh; padding: 24px 16px;
	background: #14181d;
}
.fcc-login-card {
	background: #fff; border-radius: 16px; padding: 38px 30px 30px;
	width: 100%; max-width: 390px; text-align: center;
	border: 1px solid #2a323b;
}
.fcc-logo-mark {
	width: 54px; height: 54px; border-radius: 14px; background: var(--brand);
	color: var(--accent); display: grid; place-items: center;
	font-size: 30px; font-weight: 800; margin: 0 auto 14px;
}
.fcc-logo { font-size: 28px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.fcc-tag { font-size: 9px; letter-spacing: 3.5px; color: #9aa4af; margin: 5px 0 0; }
.fcc-login-sub {
	font-size: 12px; letter-spacing: .5px; color: var(--ink-2);
	margin: 14px 0 20px; padding-top: 14px; border-top: 1px solid #eef1f4;
	text-transform: uppercase; font-weight: 700;
}
.fcc-login-err {
	background: #fff1f1; border: 1px solid #f0c0c0; color: var(--err);
	border-radius: 8px; padding: 9px; font-size: 13px; margin-bottom: 14px;
}
.fcc-login-card label {
	display: block; text-align: left; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .5px; color: var(--ink-2); margin-bottom: 12px;
}
.fcc-login-card input[type=text], .fcc-login-card input[type=password] {
	width: 100%; padding: 12px; margin-top: 4px; border: 1px solid var(--line);
	border-radius: 8px; font-size: 16px;
}
.fcc-login-card input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.fcc-login-card .login-remember { font-size: 12px; text-transform: none; letter-spacing: 0; }
.fcc-login-card .login-remember input { width: auto; margin-right: 5px; }
.fcc-login-card input[type=submit] {
	width: 100%; background: var(--brand); color: #fff; border: 0;
	padding: 14px; border-radius: 8px; font-weight: 700; cursor: pointer;
	font-size: 15px; margin-top: 6px;
}
.fcc-login-card input[type=submit]:hover { background: #000; }
.fcc-login-lost {
	display: inline-block; margin-top: 16px; font-size: 12px;
	color: var(--ink-2); text-decoration: none;
}
.fcc-login-lost:hover { color: var(--ink); text-decoration: underline; }
.fcc-login-help {
	margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef1f4;
	font-size: 12px; color: var(--ink-2);
}

/* ---- Topbar ---- */
.fcc-topbar {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	padding: 12px 16px; margin: 0 -14px 22px;
	background: var(--brand); color: #fff;
	padding-top: calc(12px + env(safe-area-inset-top));
}
.fcc-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: #fff; }
.fcc-brand em { font-style: normal; font-weight: 400; color: #9aa4af; font-size: 13px; }
.fcc-mark {
	width: 30px; height: 30px; border-radius: 8px; background: var(--accent);
	color: var(--brand); display: grid; place-items: center; font-weight: 800;
}
.fcc-user {
	display: flex; align-items: center; gap: 12px; margin-left: auto;
	font-size: 13px; color: #9aa4af; flex-wrap: wrap;
}
.fcc-company { color: #fff; font-weight: 700; }
.fcc-out { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ---- Tabs ---- */
.fcc-tabs {
	display: flex; gap: 4px; margin: 0 0 20px;
	border-bottom: 2px solid var(--line); flex-wrap: wrap;
}
.fcc-tab {
	padding: 11px 18px; text-decoration: none; color: var(--ink-2);
	font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent;
	margin-bottom: -2px; display: flex; align-items: center; gap: 7px;
}
.fcc-tab:hover { color: var(--ink); }
.fcc-tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.fcc-count {
	background: var(--brand); color: #fff; border-radius: 20px;
	padding: 1px 8px; font-size: 11px; font-weight: 700;
}
.fcc-tab.on .fcc-count { background: var(--accent); color: var(--brand); }

/* ---- Headings ---- */
.fcc-h2 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
.fcc-lede { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.6; }
.fcc-meta { font-size: 13px; color: var(--ink-2); display: block; }
.fcc-empty {
	color: var(--ink-2); font-size: 15px; padding: 40px 20px;
	text-align: center; background: var(--card);
	border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.7;
}

/* ---- Jobs ---- */
.fcc-jobs { display: flex; flex-direction: column; gap: 12px; }
.fcc-job {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 16px;
}
.fcc-job-top {
	display: flex; justify-content: space-between; align-items: center;
	gap: 10px; margin-bottom: 5px; flex-wrap: wrap;
}
.fcc-job-top strong { font-size: 16px; }
.fcc-job-desc { font-size: 14px; line-height: 1.6; margin: 10px 0 0; color: var(--ink); }
.fcc-job-actions { margin-top: 14px; }

.fcc-badge {
	display: inline-block; padding: 3px 10px; border-radius: 20px;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.fcc-st-open { background: #dff3e6; color: var(--ok); }
.fcc-st-quote { background: #fff3d6; color: #8a6100; }
.fcc-st-done { background: #eef1f4; color: var(--ink-2); }
.fcc-st-closed { background: #eef1f4; color: #9aa4af; }

/* ---- Status request ---- */
.fcc-status-form {
	margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
}
.fcc-status-form textarea {
	width: 100%; padding: 10px; border: 1px solid var(--line);
	border-radius: 7px; font-size: 15px; font-family: inherit; resize: vertical;
}
.fcc-status-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.fcc-sent { color: var(--ok); font-weight: 600; font-size: 14px; margin: 0; }
.hidden { display: none !important; }

/* ---- Forms ---- */
.fcc-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 20px;
}
.fcc-label {
	display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .5px; color: var(--ink-2); margin-bottom: 16px;
}
.fcc-req { color: var(--err); text-transform: none; letter-spacing: 0; font-weight: 600; }
.fcc-opt { color: #b7bec6; text-transform: none; letter-spacing: 0; font-weight: 400; }
.fcc-label input, .fcc-label textarea {
	display: block; width: 100%; margin-top: 5px; padding: 11px;
	border: 1px solid var(--line); border-radius: 7px;
	font-size: 16px; font-family: inherit; font-weight: 400;
	text-transform: none; letter-spacing: 0; color: var(--ink); resize: vertical;
}
.fcc-label input:focus, .fcc-label textarea:focus {
	outline: 2px solid var(--accent); border-color: var(--accent);
}
.fcc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.fcc-actions {
	display: flex; align-items: center; gap: 10px;
	justify-content: flex-end; flex-wrap: wrap; margin-top: 6px;
}
.fcc-msg { margin-right: auto; font-size: 13px; color: var(--ok); font-weight: 600; }
.fcc-msg.err { color: var(--err); }

.fcc-btn, .fcc-btn-sm {
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	border-radius: 8px; font-weight: 700; cursor: pointer;
	text-decoration: none; font-family: inherit; display: inline-block;
}
.fcc-btn { padding: 12px 22px; font-size: 15px; }
.fcc-btn-sm { padding: 8px 14px; font-size: 13px; }
.fcc-btn.primary, .fcc-btn-sm.primary {
	background: var(--brand); color: #fff; border-color: var(--brand);
}
.fcc-btn.primary:hover, .fcc-btn-sm.primary:hover { background: #000; }
.fcc-btn:disabled, .fcc-btn-sm:disabled { opacity: .5; cursor: wait; }
.fcc-btn-sm.ghost { background: #fff; }

/* ---- Confirmation ---- */
.fcc-done { text-align: center; padding: 26px 10px; }
.fcc-done-tick {
	width: 54px; height: 54px; border-radius: 50%; background: var(--ok);
	color: #fff; display: grid; place-items: center;
	font-size: 28px; font-weight: 800; margin: 0 auto 16px;
}
.fcc-done h3 { font-size: 17px; margin: 0 0 18px; font-weight: 700; }

/* ---- Table ---- */
.fcc-table-wrap { overflow-x: auto; }
.fcc-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); }
.fcc-table th {
	text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .5px;
	color: var(--ink-2); padding: 10px 8px; border-bottom: 2px solid var(--line);
	white-space: nowrap;
}
.fcc-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fcc-desc-cell { color: var(--ink-2); max-width: 320px; }

/* ---- Notices ---- */
.fcc-notice {
	background: #fff8e1; border: 1px solid #f0d98a; border-radius: 8px;
	padding: 16px 18px; font-size: 15px; line-height: 1.6; margin-bottom: 18px;
}

.fcc-foot {
	margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
	font-size: 13px; color: var(--ink-2); text-align: center;
}

/* ---- Mobile ---- */
@media (max-width: 700px) {
	.fcc-grid { grid-template-columns: 1fr; }
	.fcc-brand em { display: none; }
	.fcc-user { width: 100%; margin-left: 0; }
	.fcc-tab { flex: 1; justify-content: center; padding: 11px 8px; font-size: 13px; }
	.fcc-actions { justify-content: stretch; }
	.fcc-actions .fcc-btn, .fcc-actions .fcc-btn-sm { flex: 1; text-align: center; }
	.fcc-msg { width: 100%; margin-bottom: 6px; text-align: center; }
}

/* ---- Logo ---- */
.fcc-logo-img {
	height: 32px; width: auto; max-width: 130px;
	object-fit: contain; background: #fff;
	border-radius: 6px; padding: 3px 6px;
}

/* ---- Branch switcher ---- */
.fcc-branches {
	display: flex; align-items: center; gap: 6px;
	flex-wrap: wrap; margin-bottom: 18px;
}
.fcc-branches-label {
	font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
	color: var(--ink-2); font-weight: 700; margin-right: 4px;
}
.fcc-branch {
	padding: 6px 13px; border-radius: 20px; text-decoration: none;
	font-size: 13px; font-weight: 600; color: var(--ink-2);
	background: var(--card); border: 1px solid var(--line);
}
.fcc-branch:hover { border-color: var(--ink-2); color: var(--ink); }
.fcc-branch.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- Dashboard ---- */
.fcc-welcome { margin-bottom: 20px; }

.fcc-metrics {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 12px; margin-bottom: 24px;
}
.fcc-metric {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 18px 16px;
	text-decoration: none; color: var(--ink);
	display: flex; flex-direction: column; gap: 2px;
	transition: border-color .15s;
}
.fcc-metric:hover { border-color: var(--ink); }
.fcc-metric-n { font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.fcc-metric-l { font-size: 12px; color: var(--ink-2); font-weight: 500; }

.fcc-cards {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px; margin-bottom: 26px;
}
.fcc-action-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 20px 18px;
	text-decoration: none; color: var(--ink);
	display: flex; flex-direction: column; gap: 4px;
	transition: border-color .15s;
}
.fcc-action-card:hover { border-color: var(--ink); }
.fcc-action-icon { font-size: 24px; line-height: 1; margin-bottom: 6px; }
.fcc-action-card strong { font-size: 16px; font-weight: 600; }
.fcc-action-sub { font-size: 13px; color: var(--ink-2); }

.fcc-h3 {
	font-size: 15px; font-weight: 600; margin: 0 0 12px;
	color: var(--ink-2); text-transform: uppercase; letter-spacing: .5px;
}
.fcc-branch-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px;
}
.fcc-branch-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 15px;
	text-decoration: none; color: var(--ink);
	display: flex; flex-direction: column; gap: 3px;
}
.fcc-branch-card:hover { border-color: var(--ink-2); }
.fcc-branch-card strong { font-size: 14px; font-weight: 600; }
.fcc-branch-n { font-size: 13px; color: var(--ink-2); }

.fcc-back {
	display: inline-block; margin-bottom: 12px; font-size: 14px;
	color: var(--ink-2); text-decoration: none; font-weight: 500;
}
.fcc-back:hover { color: var(--ink); }

.fcc-site { font-weight: 600; color: var(--ink); }

.fcc-label select {
	display: block; width: 100%; margin-top: 5px; padding: 11px;
	border: 1px solid var(--line); border-radius: 7px;
	font-size: 16px; font-family: inherit; background: #fff;
	text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink);
}
.fcc-label select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

@media (max-width: 700px) {
	.fcc-metrics { grid-template-columns: 1fr; gap: 8px; }
	.fcc-metric { flex-direction: row; align-items: baseline; gap: 10px; padding: 14px 16px; }
	.fcc-metric-n { font-size: 24px; }
	.fcc-branches { gap: 5px; }
	.fcc-branch { font-size: 12px; padding: 5px 11px; }
}

/* ---- Fleet ---- */
.fcc-metric.is-static { cursor: default; }
.fcc-metric.is-static:hover { border-color: var(--line); }

.fcc-stat-strip {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px; margin-bottom: 22px;
}
.fcc-stat-item {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 14px 16px;
	display: flex; flex-direction: column; gap: 2px;
}
.fcc-stat-l {
	font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
	color: var(--ink-2); font-weight: 600;
}
.fcc-stat-item strong { font-size: 15px; font-weight: 600; }
.fcc-stat-sub { font-size: 13px; color: var(--ink-2); }

.fcc-unit-head { margin-bottom: 18px; }
.fcc-unit-head .fcc-h2 { margin-bottom: 4px; }

.fcc-serial {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
}

.fcc-note {
	font-size: 13px; color: var(--ink-2); line-height: 1.6;
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 12px 14px; margin-top: 14px;
}

.fcc-table .fcc-badge { margin-left: 6px; }

/* ================================================================
   Navigation
   ================================================================ */
.fcc-nav {
	display: flex; gap: 2px; margin: 0 -14px 22px;
	padding: 0 14px; background: #1d242c;
	overflow-x: auto; -webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.fcc-nav::-webkit-scrollbar { display: none; }

.fcc-navlink {
	padding: 13px 16px; text-decoration: none; white-space: nowrap;
	color: #9aa4af; font-size: 14px; font-weight: 500;
	border-bottom: 3px solid transparent; transition: color .15s, border-color .15s;
}
.fcc-navlink:hover { color: #fff; }
.fcc-navlink.on { color: #fff; border-bottom-color: var(--accent); font-weight: 600; }

/* The old in-page tabs are replaced by the nav bar. */
.fcc-tabs { display: none; }

/* ================================================================
   Coloured tiles
   ================================================================ */

/* Metric tiles: the figure carries the colour. No accent bar - a strip of
   colour across the top of a card is the single most recognisable
   AI-generated-UI tell, and adds nothing the number does not already say. */
.fcc-metric.m-booked .fcc-metric-n { color: #0a7d3c; }
.fcc-metric.m-quote .fcc-metric-n  { color: #b57b00; }
.fcc-metric.m-done .fcc-metric-n   { color: #14509c; }

/* Action cards: flat white with a plain border. The only colour is the
   icon chip, which is enough to tell them apart without gradients. */
.fcc-action-card {
	position: relative;
	background: var(--card);
}
.fcc-action-icon {
	width: 40px; height: 40px; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 10px; font-size: 0;
}
.fcc-action-icon svg { width: 21px; height: 21px; }

.card-jobs .fcc-action-icon  { background: #dff3e6; color: #0a7d3c; }
.card-jobs:hover  { border-color: #0a7d3c; }

.card-fleet .fcc-action-icon { background: #e2ecfa; color: #14509c; }
.card-fleet:hover { border-color: #14509c; }

.card-log .fcc-action-icon   { background: #fff3d6; color: #a06f00; }
.card-log:hover   { border-color: #d99000; }

.card-past .fcc-action-icon  { background: #ebe7f7; color: #55429c; }
.card-past:hover  { border-color: #55429c; }

.card-call .fcc-action-icon  { background: #fbe4e4; color: #b3282e; }
.card-call:hover  { border-color: #b3282e; }

/* Branch chips sit under the nav now, so give them room. */
.fcc-branches { margin-top: 2px; }

@media (max-width: 700px) {
	.fcc-navlink { padding: 12px 13px; font-size: 13px; }
	.fcc-metric { border-top-width: 3px; }
}

/* The username sits beside the company name, so it needs to read as
   secondary or the two compete. */
.fcc-username { color: #9aa4af; font-size: 13px; }

/* .fcc-form-card is a modifier on .fcc-card - declared so the JS that
   replaces its contents on success has a stable hook. */
.fcc-form-card { position: relative; }

/* ---- Reports ---- */
.fcc-report-dates {
	display: flex; gap: 8px; margin: 12px 0 10px; flex-wrap: wrap;
}
.fcc-report-dates label {
	display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 108px;
	font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
	color: var(--ink-2); font-weight: 600;
}
.fcc-report-dates input {
	padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px;
	font-size: 13px; font-family: inherit; background: #fff;
}
.fcc-action-card .fcc-btn-sm { align-self: flex-start; margin-top: 12px; cursor: pointer; }

/* ---- Urgency radios ---- */
.fcc-radios { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fcc-radio {
	display: flex; align-items: center; gap: 9px; padding: 10px 12px;
	border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
	font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0;
	color: var(--ink); background: #fff; margin: 0;
}
.fcc-radio:hover { border-color: var(--ink-2); }
.fcc-radio input { margin: 0; }
.fcc-radio input:checked + span { font-weight: 600; }
.fcc-radio:has(input:checked) { border-color: var(--brand); background: #f7f9fb; }

/* ---- Team management ---- */
.fcc-team-head {
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px; flex-wrap: wrap;
}

.fcc-team-form {
	margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}

.fcc-team-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

.fcc-team-member {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 15px;
}
.fcc-team-top {
	display: flex; justify-content: space-between; align-items: flex-start;
	gap: 12px; flex-wrap: wrap;
}
.fcc-team-top strong { font-size: 15px; font-weight: 600; }
.fcc-team-actions { display: flex; gap: 12px; flex-shrink: 0; }
.fcc-team-sites { margin-top: 4px; }

.fcc-tag {
	display: inline-block; margin-left: 6px; padding: 1px 7px;
	border-radius: 4px; font-size: 11px; font-weight: 600;
	background: var(--bg); color: var(--ink-2); border: 1px solid var(--line);
	vertical-align: middle;
}
.fcc-tag-mgr { background: #eef4fb; color: #14509c; border-color: #cddcf0; }

.fcc-link-btn {
	background: none; border: 0; padding: 0; cursor: pointer;
	font-size: 13px; font-weight: 600; color: var(--ink-2); font-family: inherit;
}
.fcc-link-btn:hover { color: var(--ink); text-decoration: underline; }
.fcc-link-btn.is-danger { color: var(--err); }
.fcc-link-btn:disabled { opacity: .5; cursor: wait; text-decoration: none; }

/* ---- Checkbox lists ---- */
.fcc-checks {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 6px; margin-bottom: 14px;
}
.fcc-check {
	display: flex; align-items: center; gap: 9px; padding: 9px 11px;
	border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
	font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0;
	color: var(--ink); background: #fff; margin: 0;
}
.fcc-check:hover { border-color: var(--ink-2); }
.fcc-check input { margin: 0; flex-shrink: 0; }
.fcc-check-wide { display: flex; margin-bottom: 14px; }

/* ---- QR scan landing ---- */
.fcc-scan-head { margin-bottom: 18px; }
.fcc-scan-label {
	font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
	color: var(--ink-2); font-weight: 700;
}
.fcc-scan-head .fcc-h2 { margin: 2px 0 6px; }
.fcc-scan-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); }

.fcc-login-scan {
	margin: 14px 0 0; padding: 10px 12px;
	background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
	font-size: 13px; color: var(--ink);
}

/* ---- Confirmation job number ---- */
.fcc-done-num {
	font-size: 22px; font-weight: 500; margin-bottom: 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---- Login states ---- */
.fcc-login-note {
	background: var(--bg); border: 1px solid var(--line);
	border-radius: 8px; padding: 10px 12px; font-size: 13px;
	color: var(--ink); margin-bottom: 14px; line-height: 1.5;
}
.fcc-login-intro {
	font-size: 13px; color: var(--ink-2); line-height: 1.5;
	margin: 0 0 16px; text-align: left;
}

/* ---- Hints ---- */
.fcc-hint {
	font-size: 12.5px; font-weight: 400; text-transform: none; letter-spacing: 0;
	color: var(--ink-2); line-height: 1.5; margin: 8px 0 0;
}

/* ---- Inline form rows ---- */
.fcc-inline-form {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.fcc-inline-form input[type="text"],
.fcc-inline-form input[type="search"] {
	padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px;
	font-size: 15px; font-family: inherit;
}
.fcc-inline-form input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

/* ---- Scrollable checkbox lists ----
   The ServiceM8 company list runs to several hundred entries, so it is
   capped and scrolled rather than pushing the save button off the page. */
.fcc-scroll {
	max-height: 260px; overflow-y: auto;
	border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff;
}

/* ---- List filtering ---- */
.fcc-filterbar { margin: 0 0 14px; }

.fcc-filter-row { position: relative; display: flex; }
.fcc-filter-input {
	width: 100%; padding: 11px 34px 11px 12px;
	border: 1px solid var(--line); border-radius: 8px;
	font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.fcc-filter-input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

.fcc-filter-clear {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	border: 0; background: none; cursor: pointer;
	font-size: 20px; line-height: 1; color: var(--ink-2); padding: 4px 8px;
}
.fcc-filter-clear:hover { color: var(--ink); }

.fcc-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.fcc-pill {
	padding: 6px 13px; border-radius: 20px; cursor: pointer;
	font-size: 13px; font-weight: 600; font-family: inherit;
	color: var(--ink-2); background: var(--card); border: 1px solid var(--line);
}
.fcc-pill:hover { border-color: var(--ink-2); color: var(--ink); }
.fcc-pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.fcc-filter-count {
	margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2);
}

@media (max-width: 700px) {
	.fcc-pill { font-size: 12px; padding: 5px 11px; }
}
