@font-face {
  font-family: Panel Manrope;
  src: url("assets/a30ddcd349703aff7464.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

body[data-fixora-panel] {
  --fx-ink: #131d18;
  --fx-muted: #52615a;
  --fx-paper: #f3f5f2;
  --fx-line: #dce3dd;
  --fx-night: #12231b;
  --fx-accent: #c7f261;
  --fx-radius: 20px;
  font-family: Panel Manrope, Manrope, system-ui, sans-serif;
}

.fx-panel-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.fx-panel-mark {
  display: inline-grid; place-items: center; flex: 0 0 34px;
  width: 34px; height: 34px; border-radius: 10px;
  background: #c7f261; color: #12231b; font-weight: 800; font-size: 19px;
}
.fx-panel-brand strong { font-size: 19px; letter-spacing: -.045em; }
.fx-panel-kicker { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.fx-panel-section-title { margin: 0; font-size: 22px; line-height: 1.22; letter-spacing: -.035em; }
.fx-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-panel-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.fx-panel-hero {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: clamp(23px,4vw,36px); border-radius: var(--fx-radius); overflow: hidden;
  background: var(--fx-night); color: #fff; isolation: isolate;
}
.fx-panel-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 92% 0%, #376043 0, transparent 57%);
}
.fx-panel-hero .fx-panel-kicker { color: var(--fx-accent); }
.fx-panel-hero h1, .fx-panel-hero h2 { margin: 0; font-size: clamp(27px,4vw,43px); line-height: 1.12; letter-spacing: -.05em; }
.fx-panel-hero p:not(.fx-panel-kicker) { color: #d5e2d9; margin: 10px 0 0; max-width: 55ch; line-height: 1.55; }
.fx-cta, .fx-soft-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content;
  min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: 11px;
  font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer;
}
.fx-cta { background: var(--fx-accent); color: #142317; }
.fx-soft-button { background: #fff; border-color: var(--fx-line); color: var(--fx-ink); }
.fx-cta:hover { background: #d4fb8a; }
.fx-soft-button:hover { background: #f4f7f2; }
.fx-install-slot { display: flex; justify-content: center; background: var(--fx-night); }
.fx-install-slot .fx-soft-button { margin: 13px 16px; }
.fx-install-slot .fx-soft-button[hidden] { display: none; }

/* The compact trigger is shared by all existing notification subscriptions. */
.fx-alerts { position: relative; flex: 0 0 auto; color: #17251c; font: 14px/1.5 system-ui,sans-serif; }
.fx-alert-trigger {
  display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px;
  padding: 8px 12px; border: 1px solid #dce4de; border-radius: 11px;
  color: #17251c; background: #fff; font-weight: 750; cursor: pointer; list-style: none;
}
.fx-alert-trigger::-webkit-details-marker { display: none; }
.fx-alert-trigger:hover, .fx-alerts details[open] .fx-alert-trigger { background: #eaf1e8; }
.fx-alert-panel {
  position: absolute; z-index: 65; right: 0; top: calc(100% + 10px); width: min(365px,calc(100vw - 24px));
  background: #fff; border: 1px solid #dce4de; border-radius: 17px; color: #17251c;
  box-shadow: 0 16px 45px #12231b28; overflow: hidden;
}
.fx-alert-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid #e5ebe5; }
.fx-alert-heading .fx-alert-close { padding: 5px 8px; font: inherit; font-size: 12px; font-weight: 700; color: #1b3c2a; background: #eef3ed; border: 0; border-radius: 7px; cursor: pointer; }
.fx-alert-list { max-height: min(58dvh,390px); overflow: auto; }
.fx-alert-item, .fx-alert-message { margin: 0; padding: 12px 15px; }
.fx-alert-item + .fx-alert-item { border-top: 1px solid #e5ebe5; }
.fx-alert-item p { margin: 4px 0; color: #52615a; overflow-wrap: anywhere; }
.fx-alert-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.fx-alert-meta small { color: #52615a; }
.fx-alert-meta a { margin: 0; color: #1e6341; font-size: 12px; font-weight: 800; }

/* Administration */
body[data-fixora-panel="admin"] { --cream: var(--fx-paper); }
.fx-admin-side.side {
  width: 224px; flex: 0 0 auto; height: 100dvh; min-height: 0; padding: 23px 14px 16px;
  display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; align-self: flex-start;
  overflow: auto; background: #14241b; color: #fff;
}
.fx-admin-side .fx-panel-brand { padding: 3px 8px 14px; }
.fx-admin-side .fx-panel-kicker { margin: 2px 0 0; color: #b3c4b9; font-size: 9px; }
.fx-admin-nav { display: grid; gap: 4px; }
.fx-admin-nav .navi {
  appearance: none; width: 100%; background: transparent; border: 0; border-radius: 11px; color: #d1dcd4;
  text-align: left; white-space: nowrap; font: inherit; font-size: 13px; font-weight: 700;
}
.fx-admin-nav .navi:hover { background: #20382a; color: #fff; }
.fx-admin-nav .navi[aria-current="page"] { background: #c7f261; color: #17261a; font-weight: 800; }
.fx-nav-badge { border-radius: 999px; background: #dff3ae; color: #1b3826; padding: 2px 7px; font-size: 10px; font-weight: 800; }
.fx-admin-head { padding: 12px clamp(16px,3vw,34px); min-height: 65px; position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--fx-line); }
.fx-admin-head h1 { margin: 0; font-size: clamp(17px,2.3vw,22px); letter-spacing: -.035em; }
.fx-admin-connection { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 7px 9px; border-radius: 9px; background: #eef3ef; color: #28553d; }
.fx-admin-main { color: var(--fx-ink); }
.fx-admin-head h1, .fx-admin-list h3, .fx-admin-stat strong, .fx-archive > summary { color: var(--fx-ink); }
.fx-admin-main .content { width: min(100%,1440px); margin-inline: auto; }
.fx-admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin: 14px 0 24px; }
.fx-admin-stat { background: #fff; border: 1px solid var(--fx-line); border-radius: 15px; padding: 14px 16px; }
.fx-admin-stat span { display: block; color: var(--fx-muted); font-size: 12px; font-weight: 750; }
.fx-admin-stat strong { display: block; margin-top: 4px; font-size: 28px; line-height: 1.1; letter-spacing: -.05em; }
.fx-admin-list { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); overflow: hidden; }
.fx-admin-list-head { padding: 16px 18px; border-bottom: 1px solid var(--fx-line); }
.fx-admin-list-head p, .fx-admin-empty { margin: 5px 0 0; color: var(--fx-muted); font-size: 13px; }
.fx-admin-empty { padding: 19px; margin: 0; }
.fx-admin-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(135px,auto) auto; align-items: center; gap: 13px; padding: 15px 18px; }
.fx-admin-row + .fx-admin-row { border-top: 1px solid var(--fx-line); }
.fx-admin-row h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.fx-admin-row p { margin: 4px 0 0; color: var(--fx-muted); font-size: 13px; overflow-wrap: anywhere; }
.fx-admin-row .fx-soft-button { white-space: nowrap; }
.fx-row-title { display: flex; flex-wrap: wrap; gap: 6px 9px; align-items: center; }
.fx-chip { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 8px; font-size: 11px; font-weight: 800; line-height: 1.4; background: #eaf0ea; color: #31513e; }
.fx-chip[data-tone="active"] { color: #145638; background: #e5f4e8; }
.fx-chip[data-tone="attention"] { color: #6f4b13; background: #fbefd6; }
.fx-chip[data-tone="closed"] { color: #4b3c76; background: #eeebf7; }
.fx-archive { border: 1px solid var(--fx-line); border-radius: 14px; padding: 0 15px; background: #fff; margin-top: 13px; }
.fx-archive > summary { padding: 14px 0; cursor: pointer; font-weight: 800; font-size: 14px; }
.fx-archive .fx-admin-list { margin-bottom: 13px; }
.fx-archive > .fx-soft-button { margin-bottom: 12px; }
#fixora-history-slot #fixora-pages { margin: 0 0 14px !important; max-width: none !important; }

/* Signed-in client and technician workspaces */
.fx-account-bar { color: #fff; padding: 0 0 16px; border-bottom: 1px solid #365044; }
.fx-account-bar .fx-panel-brand .fx-chip { background: #253e30; color: #d8f391; }
.fx-account-bar .fx-panel-tools { flex-wrap: wrap; }
.fx-account-bar .fx-account-name { color: #c4d5c9; font-size: 12px; overflow-wrap: anywhere; }
.fx-account-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 10px; border: 1px solid #496355; border-radius: 10px; background: #20392b; color: #f3f8f3; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.fx-account-action:hover { background: #304f3c; }
.fx-personal-hero { margin-top: 20px; border: 1px solid #395345; }
.fx-personal-hero .fx-cta { flex-shrink: 0; }
.fx-personal-heading { color: #fff; margin: 28px 0 12px; }
.fx-dash .statrow, .fx-tech .statgrid { gap: 10px; }
.fx-dash .statrow > div, .fx-tech .statgrid > div { min-width: 0; }
.fx-dash .dgrid, .fx-tech .tgrid { grid-template-columns: repeat(auto-fit,minmax(min(100%,275px),1fr)); }
.fx-dash .dcard, .fx-tech .tgrid > div { box-shadow: 0 6px 16px #00150c38; }
.fx-weekly-note { margin: 11px 0; border-radius: 13px; border: 1px solid #3c5a4a; color: #e0ede2; padding: 0 14px; background: #142d21; }
.fx-weekly-note summary { cursor: pointer; font-size: 13px; font-weight: 800; padding: 11px 0; }
.fx-weekly-note p { margin: 0 0 13px; font-size: 13px; line-height: 1.6; }

/* Service detail and the two dedicated marketplace workspaces */
.fx-market { background: var(--fx-paper); color: var(--fx-ink); }
.fx-market > header { background: #14241b; justify-content: space-between; padding: 12px clamp(12px,4vw,32px); gap: 10px; z-index: 35; }
.fx-market > header .fx-back { margin: 0; color: #f2f7f1; font-size: 12px; min-height: 42px; display: inline-flex; align-items: center; padding: 8px 11px; border: 1px solid #536c5c; border-radius: 10px; }
.fx-market > header .fx-back:hover { background: #2c4234; }
.fx-market .wrap { max-width: 1150px; padding-top: 21px; }
.fx-market .hero.fx-panel-hero { display: block; margin-bottom: 15px; }
.fx-market .hero .tag { background: #2b4533; color: #e0f7bc; margin-bottom: 10px; }
.fx-market .hero h1 { font-size: clamp(29px,5vw,46px); }
.fx-market .card { border-color: var(--fx-line); border-radius: 17px; box-shadow: none; min-width: 0; overflow-wrap: anywhere; }
.fx-market .card h2 { letter-spacing: -.035em; font-size: 22px; }
.fx-market .card h3 { letter-spacing: -.02em; }
.fx-market .metric { background: #edf2ee; border: 1px solid #e2e8e3; padding: 12px 14px; min-width: 0; }
.fx-market .summary { grid-template-columns: repeat(auto-fit,minmax(min(100%,125px),1fr)); }
.fx-market .grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,265px),1fr)); }
.fx-market .status { background: #e9f3e4; border: 1px solid #cfdfc8; color: #244e35; padding: 7px 11px; border-radius: 9px; margin: 0; }
.fx-market .status[data-tone="closed"] { background: #eeebf7; border-color: #ded5ef; color: #4b3c76; }
.fx-market .status[data-tone="attention"] { background: #fbefd6; border-color: #ebd9ae; color: #6f4b13; }
.fx-market button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out), .fx-market .button { font-family: inherit; font-weight: 800; }
.fx-market input[type="checkbox"] { width: auto; margin-inline-start: 7px; }
.fx-market #content { display: grid; gap: 12px; min-width: 0; }
.fx-market #content > .card { margin-block: 0; }
.fx-service-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fx-service-meta h2 { margin: 0; }
.fx-service-description { color: var(--fx-muted); line-height: 1.6; }
.fx-service-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin: 17px 0; padding: 0; list-style: none; }
.fx-service-progress li { display: flex; align-items: center; gap: 7px; border-radius: 10px; padding: 8px; color: #52615a; font-size: 12px; }
.fx-service-progress span { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; background: #e9eee8; font-weight: 800; }
.fx-service-progress li[data-stage="current"] { background: #e5f4d4; color: #1b452a; }
.fx-service-progress li[data-stage="current"] span { background: #245637; color: white; }
.fx-service-progress li[data-stage="done"] span { color: #1b452a; background: #d6ecd6; }
.fx-service-test { background: #fff8e7; color: #664e1f; font-size: 13px; line-height: 1.55; }
.fx-market .toolbar button[aria-pressed="true"] { background: #14241b; color: #fff; }
.fx-market .toolbar button[aria-pressed="false"] { background: #fff; border: 1px solid #dce3dd; color: #131d18; }
.fx-market .fx-finance-help { margin-bottom: 12px; }
.fx-market .fx-finance-help p { color: var(--fx-muted); line-height: 1.55; }
.fx-market .card > .tag { margin-bottom: 8px; }

@media (max-width: 820px) {
  .fx-admin-side.side { height: auto; align-self: stretch; position: static; overflow: visible; flex-wrap: wrap; }
  .fx-admin-side .fx-panel-brand { flex: 0 0 auto; }
  .fx-admin-side .fx-panel-kicker { display: none; }
  .fx-admin-side .userbox .urow { display: none !important; }
  .fx-admin-nav { display: flex; order: 3; flex: 1 0 100%; min-width: 0; overflow: auto; padding-bottom: 3px; }
  .fx-admin-nav .navi { width: auto; }
  .fx-admin-connection { display: none; }
}
@media (max-width: 620px) {
  .fx-panel-hero { flex-direction: column; align-items: flex-start; gap: 15px; }
  .fx-admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fx-admin-row { grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
  .fx-admin-row > :nth-child(2) { grid-row: 2; }
  .fx-admin-row > :last-child { grid-column: 2; grid-row: 1 / 3; padding: 8px; min-height: 42px; }
  .fx-alert-label { display: none; }
  .fx-alert-trigger { padding: 8px 10px; min-width: 42px; }
  .fx-alert-panel { position: fixed; top: auto; bottom: 12px; right: 12px; width: calc(100vw - 24px); }
  .fx-panel-tools .fx-account-name { display: none; }
  .fx-market > header .fx-panel-brand strong { font-size: 16px; }
  .fx-service-progress { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-dash .dcard, .fx-tech .tgrid > div { transition: none; }
}
