:root {
  --zfx-bg: #ffffff;
  --zfx-soft: #f5faf9;
  --zfx-card: #ffffff;
  --zfx-text: #11211d;
  --zfx-muted: #66756f;
  --zfx-line: #dfe8e5;
  --zfx-primary: #0b876f;
  --zfx-primary-dark: #076b59;
  --zfx-cyan: #19a8d4;
  --zfx-accent: #ffb11b;
  --zfx-danger: #c74343;
  --zfx-success: #117a59;
  --zfx-radius: 22px;
  --zfx-shadow: 0 16px 42px rgba(14, 55, 45, .09);
  --zfx-container: 1200px;
}

:root[data-zofix-theme="dark"] {
  --zfx-bg: #0c1714;
  --zfx-soft: #101f1b;
  --zfx-card: #13241f;
  --zfx-text: #f0f8f5;
  --zfx-muted: #a6b8b2;
  --zfx-line: #294039;
  --zfx-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

.zofix-platform-page,
.zofix-platform-page * { box-sizing: border-box; }
.zofix-platform-page { margin: 0; background: var(--zfx-bg); color: var(--zfx-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
.zofix-platform-page a { color: inherit; text-decoration: none; }
.zofix-platform-page img { max-width: 100%; height: auto; }
.zofix-platform-page h1,
.zofix-platform-page h2,
.zofix-platform-page h3 { margin: 0 0 .65em; color: var(--zfx-text); font-weight: 780; line-height: 1.08; letter-spacing: -.035em; }
.zofix-platform-page h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.zofix-platform-page h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
.zofix-platform-page h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.zofix-platform-page p { margin: 0 0 1rem; color: var(--zfx-muted); }
.zfx-container { width: min(calc(100% - 40px), var(--zfx-container)); margin-inline: auto; }
.zfx-main { min-height: 60vh; }

.zfx-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--zfx-bg) 94%, transparent); border-bottom: 1px solid var(--zfx-line); backdrop-filter: blur(14px); }
.zfx-header__inner { min-height: 74px; display: flex; align-items: center; gap: 34px; }
.zfx-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.35rem; font-weight: 820; letter-spacing: -.04em; }
.zfx-brand > span > span { color: var(--zfx-primary); }
.zfx-brand__mark { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--zfx-primary), var(--zfx-cyan)); font-size: 1.25rem; }
.zfx-brand__mark--image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.zfx-nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; color: var(--zfx-muted); }
.zfx-nav a:hover { color: var(--zfx-primary); }
.zfx-mega { position: relative; }
.zfx-mega__trigger { padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--zfx-muted); font: inherit; cursor: pointer; }
.zfx-mega__trigger:hover,
.zfx-mega__trigger[aria-expanded="true"] { color: var(--zfx-primary); }
.zfx-mega__trigger > span { transition: transform .18s ease; }
.zfx-mega.is-open .zfx-mega__trigger > span { transform: rotate(180deg); }
.zfx-mega__panel { width: min(1050px, calc(100vw - 40px)); padding: 28px; position: fixed; top: 70px; left: 50%; z-index: 120; visibility: hidden; opacity: 0; pointer-events: none; transform: translate(-50%, -8px); border: 1px solid var(--zfx-line); border-radius: 0 0 24px 24px; background: var(--zfx-card); box-shadow: 0 28px 70px rgba(7, 32, 25, .2); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.zfx-mega.is-open .zfx-mega__panel { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.zfx-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.zfx-mega__group { display: grid; align-content: start; gap: 4px; }
.zfx-mega__group > strong { margin-bottom: 9px; color: var(--zfx-text); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.zfx-mega__group a { padding: 10px 12px; display: flex; align-items: center; gap: 10px; border-radius: 12px; color: var(--zfx-muted); }
.zfx-mega__group a > span { color: var(--zfx-primary); }
.zfx-mega__group a:hover { color: var(--zfx-text); background: var(--zfx-soft); }
.zfx-mega__foot { margin-top: 22px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 16px; background: linear-gradient(115deg, color-mix(in srgb, var(--zfx-primary) 11%, var(--zfx-soft)), color-mix(in srgb, var(--zfx-cyan) 9%, var(--zfx-soft))); color: var(--zfx-muted); }
.zfx-mega__foot a { flex: 0 0 auto; color: var(--zfx-primary); font-weight: 750; }
.zfx-header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.zfx-theme-toggle,
.zfx-nav-toggle { border: 0; background: transparent; color: var(--zfx-text); cursor: pointer; font-size: 1.1rem; }
.zfx-nav-toggle { display: none; margin-left: auto; }
.zfx-link { font-weight: 650; }

.zfx-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 16px; background: linear-gradient(135deg, var(--zfx-primary), var(--zfx-cyan)); color: #fff !important; font: inherit; font-weight: 720; cursor: pointer; box-shadow: 0 9px 24px rgba(10, 137, 114, .2); transition: transform .18s ease, box-shadow .18s ease; }
.zfx-button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(10, 137, 114, .27); }
.zfx-button--small { min-height: 40px; padding: 0 17px; border-radius: 13px; font-size: .9rem; }
.zfx-button--secondary { background: var(--zfx-card); color: var(--zfx-text) !important; border-color: var(--zfx-line); box-shadow: none; }
.zfx-button--accent { background: var(--zfx-accent); color: #2d2108 !important; box-shadow: none; }
.zfx-button--wide { width: 100%; }

.zfx-hero { min-height: 760px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 10% 5%, rgba(127, 237, 218, .52), transparent 39%), radial-gradient(circle at 89% 10%, rgba(255, 222, 158, .48), transparent 35%), radial-gradient(circle at 60% 100%, rgba(139, 219, 255, .34), transparent 44%), var(--zfx-bg); }
.zfx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(11, 135, 111, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 135, 111, .08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.zfx-hero__content { position: relative; z-index: 1; text-align: center; padding-block: 110px; }
.zfx-kicker { display: inline-flex; padding: 8px 16px; margin-bottom: 24px; border: 1px solid rgba(11, 135, 111, .22); border-radius: 999px; color: var(--zfx-primary-dark); background: rgba(255,255,255,.45); font-size: .9rem; font-weight: 650; }
.zfx-hero h1 { max-width: 850px; margin-inline: auto; }
.zfx-hero__content > p { max-width: 690px; margin: 0 auto 34px; font-size: 1.18rem; }
.zfx-search { max-width: 790px; margin: 0 auto 24px; padding: 7px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 0; border: 1px solid var(--zfx-line); border-radius: 22px; background: var(--zfx-card); box-shadow: 0 20px 45px rgba(26, 88, 72, .15); text-align: left; }
.zfx-search label { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.zfx-search label + label { border-left: 1px solid var(--zfx-line); }
.zfx-search input { width: 100%; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--zfx-text); font: inherit; }
.zfx-hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.zfx-section { padding: 92px 0; background: var(--zfx-bg); }
.zfx-section--soft { background: var(--zfx-soft); border-block: 1px solid var(--zfx-line); }
.zfx-section__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.zfx-section__head h1,
.zfx-section__head h2 { margin-bottom: 8px; }
.zfx-section__head p { margin: 0; }
.zfx-section__head > a { color: var(--zfx-primary); font-weight: 700; }
.zfx-section__head--center { justify-content: center; text-align: center; }
.zfx-center { margin-top: 34px; text-align: center; }

.zfx-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.zfx-category { min-height: 126px; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; border: 1px solid var(--zfx-line); border-radius: 20px; background: var(--zfx-card); text-align: center; font-weight: 650; box-shadow: 0 8px 25px rgba(22, 65, 54, .05); transition: transform .18s ease, border-color .18s ease; }
.zfx-category:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--zfx-primary) 45%, var(--zfx-line)); }
.zfx-category__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 1.25rem; }
.zfx-color-1 { background: #f59e0b; }.zfx-color-2 { background: #129bd2; }.zfx-color-3 { background: #e64291; }.zfx-color-4 { background: #12ad9e; }.zfx-color-5 { background: #8056e9; }.zfx-color-6 { background: #1ea96a; }

.zfx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.zfx-steps article { position: relative; min-height: 250px; padding: 34px 24px 26px; border: 1px solid var(--zfx-line); border-radius: var(--zfx-radius); background: var(--zfx-card); box-shadow: var(--zfx-shadow); }
.zfx-step-number { position: absolute; top: -14px; left: 20px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--zfx-primary); color: #fff; font-weight: 800; }
.zfx-step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; background: color-mix(in srgb, var(--zfx-primary) 10%, var(--zfx-card)); color: var(--zfx-primary); font-size: 1.4rem; }

.zfx-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.zfx-pro-card { overflow: hidden; border: 1px solid var(--zfx-line); border-radius: var(--zfx-radius); background: var(--zfx-card); box-shadow: var(--zfx-shadow); transition: transform .18s ease; }
.zfx-pro-card:hover { transform: translateY(-4px); }
.zfx-pro-card__cover { min-height: 150px; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.4), transparent 30%), linear-gradient(135deg, #7ed8c3, #269fc8); }
.zfx-avatar { width: 78px; height: 78px; display: grid; place-items: center; border: 4px solid rgba(255,255,255,.75); border-radius: 50%; background: #0f7765; color: #fff; font-size: 1.45rem; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.zfx-avatar--large { width: 112px; height: 112px; flex: 0 0 auto; font-size: 2rem; }
.zfx-verified { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: #e9fbf4; color: #09634f; font-size: .76rem; font-weight: 750; }
.zfx-pro-card__cover .zfx-verified { position: absolute; top: 14px; left: 14px; }
.zfx-pro-card__body { padding: 20px; }
.zfx-pro-card__body h3 { margin-bottom: 5px; }
.zfx-pro-card__body > p { min-height: 24px; font-size: .9rem; }
.zfx-pro-card__meta { padding: 12px 0; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--zfx-line); color: var(--zfx-muted); font-size: .85rem; }
.zfx-pro-card__price { padding-top: 14px; display: flex; flex-direction: column; }
.zfx-pro-card__price small { color: var(--zfx-muted); }
.zfx-pro-card__price strong { font-size: 1.25rem; }
.zfx-pro-card__price strong small { font-size: .75rem; font-weight: 500; }

.zfx-stats { padding: 54px 0; background: var(--zfx-soft); border-block: 1px solid var(--zfx-line); }
.zfx-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.zfx-stats__grid div { display: flex; flex-direction: column; gap: 5px; }
.zfx-stats strong { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.zfx-stats span { color: var(--zfx-muted); }

.zfx-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 74px; }
.zfx-trust-grid article { padding: 28px; border: 1px solid var(--zfx-line); border-radius: var(--zfx-radius); }
.zfx-trust-grid article > span { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; background: color-mix(in srgb, var(--zfx-primary) 10%, var(--zfx-card)); color: var(--zfx-primary); font-weight: 800; }
.zfx-pro-cta { padding: 54px; display: grid; grid-template-columns: 1.5fr .7fr; align-items: center; gap: 40px; border-radius: 32px; background: linear-gradient(135deg, #087760, #1a9f8f 55%, #159fd1); color: #fff; box-shadow: 0 20px 48px rgba(9, 124, 104, .22); }
.zfx-pro-cta h2,
.zfx-pro-cta p { color: #fff; }
.zfx-pro-cta ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 30px; padding: 0; margin: 22px 0 28px; list-style: none; }
.zfx-pro-cta li::before { content: "✓"; margin-right: 8px; }
.zfx-pro-cta__visual { width: 220px; aspect-ratio: 1; margin-left: auto; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 40px; background: rgba(255,255,255,.12); text-align: center; font-size: 2.2rem; font-weight: 800; transform: rotate(3deg); }
.zfx-pro-cta__visual small { font-size: 1rem; font-weight: 500; }

.zfx-page-hero { padding: 76px 0 64px; background: radial-gradient(circle at 8% 0%, rgba(127, 237, 218, .35), transparent 40%), radial-gradient(circle at 90% 10%, rgba(255, 222, 158, .28), transparent 35%), var(--zfx-soft); border-bottom: 1px solid var(--zfx-line); }
.zfx-page-hero--compact { padding-block: 54px; }
.zfx-page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.zfx-page-hero p { font-size: 1.08rem; }
.zfx-filter { margin-top: 28px; display: grid; grid-template-columns: 1.2fr 1fr auto auto; gap: 12px; }
.zfx-filter input,
.zfx-filter select { min-height: 50px; padding: 0 16px; border: 1px solid var(--zfx-line); border-radius: 15px; background: var(--zfx-card); color: var(--zfx-text); font: inherit; }

.zfx-job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.zfx-job-card { padding: 24px; border: 1px solid var(--zfx-line); border-radius: var(--zfx-radius); background: var(--zfx-card); box-shadow: 0 10px 30px rgba(22,65,54,.06); }
.zfx-job-card h3 { margin: 14px 0 10px; }
.zfx-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.zfx-tags span { padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--zfx-primary) 9%, var(--zfx-card)); color: var(--zfx-primary-dark); font-size: .78rem; font-weight: 700; }
.zfx-job-card__meta { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-top: 1px solid var(--zfx-line); color: var(--zfx-muted); font-size: .85rem; }
.zfx-job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.zfx-job-card__foot a { color: var(--zfx-primary); font-weight: 700; }
.zfx-job-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr); gap: 28px; align-items: start; }
.zfx-job-detail aside { display: grid; gap: 18px; }
.zfx-job-detail dl div { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--zfx-line); }
.zfx-job-detail dt { color: var(--zfx-muted); }
.zfx-job-detail dd { margin: 0; font-weight: 700; }
.zfx-prose { color: var(--zfx-text); }
.zfx-prose p { color: var(--zfx-text); }
.zfx-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zfx-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 15px; }

.zfx-empty { padding: 54px 30px; border: 1px dashed var(--zfx-line); border-radius: var(--zfx-radius); background: var(--zfx-soft); text-align: center; }
.zfx-empty .zfx-button { margin-top: 8px; }
.zfx-panel { padding: 28px; border: 1px solid var(--zfx-line); border-radius: var(--zfx-radius); background: var(--zfx-card); box-shadow: 0 10px 30px rgba(22,65,54,.06); }
.zfx-panel__head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 20px; }
.zfx-panel__head h2 { margin-top: 8px; font-size: 1.45rem; }
.zfx-panel + .zfx-panel { margin-top: 24px; }

.zfx-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--zfx-bg); }
.zfx-auth__intro { padding: clamp(40px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 10% 10%, rgba(127,237,218,.45), transparent 42%), linear-gradient(150deg, #f7fcfa, #e7f5f1); color: #11211d; }
.zfx-auth__intro .zfx-brand { margin-bottom: 70px; align-self: flex-start; }
.zfx-auth__intro h1 { color: #11211d; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.zfx-auth__intro p { color: #4c625a; font-size: 1.08rem; }
.zfx-auth__intro ul { padding: 0; margin: 25px 0 0; list-style: none; display: grid; gap: 12px; }
.zfx-auth__intro li::before { content: "✓"; color: var(--zfx-primary); margin-right: 10px; }
.zfx-auth__panel { padding: 45px 24px; display: grid; place-items: center; }
.zfx-auth__panel .zfx-form { width: min(100%, 520px); }
.zfx-auth-card { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 20px; text-align: center; }

.zfx-form { display: grid; gap: 18px; }
.zfx-form label,
.zfx-form fieldset { display: grid; gap: 7px; color: var(--zfx-text); font-weight: 650; }
.zfx-form small { color: var(--zfx-muted); font-weight: 400; }
.zfx-form input:not([type="checkbox"]):not([type="radio"]),
.zfx-form textarea,
.zfx-form select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--zfx-line); border-radius: 14px; background: var(--zfx-bg); color: var(--zfx-text); font: inherit; outline: 0; }
.zfx-form textarea { resize: vertical; }
.zfx-form input:focus,
.zfx-form textarea:focus,
.zfx-form select:focus { border-color: var(--zfx-primary); box-shadow: 0 0 0 3px rgba(11,135,111,.12); }
.zfx-form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.zfx-form fieldset { padding: 18px; border: 1px solid var(--zfx-line); border-radius: 16px; }
.zfx-form legend { padding: 0 8px; }
.zfx-form__foot { text-align: center; font-size: .9rem; }
.zfx-form__foot a { color: var(--zfx-primary); font-weight: 700; }
.zfx-check { display: flex !important; grid-template-columns: auto 1fr; flex-direction: row; align-items: start; gap: 9px !important; font-size: .9rem; font-weight: 500 !important; }
.zfx-check input { margin-top: 4px; accent-color: var(--zfx-primary); }
.zfx-role-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.zfx-role-picker label { position: relative; }
.zfx-role-picker input { position: absolute; opacity: 0; pointer-events: none; }
.zfx-role-picker span { padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--zfx-line); border-radius: 15px; cursor: pointer; }
.zfx-role-picker input:checked + span { border-color: var(--zfx-primary); background: color-mix(in srgb, var(--zfx-primary) 8%, var(--zfx-card)); }
.zfx-role-picker small { font-weight: 400; }
.zfx-google-button { min-height: 50px; padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--zfx-line); border-radius: 14px; background: #fff; color: #1f1f1f; font-weight: 700; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.zfx-google-button:hover { border-color: #aeb8b4; box-shadow: 0 5px 16px rgba(22,65,54,.1); transform: translateY(-1px); color: #1f1f1f; }
.zfx-google-button:focus-visible { outline: 3px solid rgba(66,133,244,.28); outline-offset: 2px; }
.zfx-google-button svg { flex: 0 0 20px; }
.zfx-auth-divider { display: flex; align-items: center; gap: 12px; color: var(--zfx-muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.zfx-auth-divider::before,
.zfx-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--zfx-line); }
.zfx-google-terms { margin: -9px 4px 0; color: var(--zfx-muted); font-size: .78rem; line-height: 1.45; text-align: center; }

.zfx-form-shell { max-width: 860px; }
.zfx-form-shell > .zfx-form { padding: 34px; border: 1px solid var(--zfx-line); border-radius: var(--zfx-radius); background: var(--zfx-card); box-shadow: var(--zfx-shadow); }
.zfx-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; }
.zfx-progress > span { position: relative; display: grid; place-items: center; width: 36px; height: 36px; justify-self: center; border-radius: 50%; background: var(--zfx-line); color: var(--zfx-muted); font-weight: 800; }
.zfx-progress > span::before { content: ""; position: absolute; z-index: -1; top: 50%; right: 50%; width: calc(25vw - 36px); max-width: 190px; height: 2px; background: var(--zfx-line); }
.zfx-progress > span:first-child::before { display: none; }
.zfx-progress > span.is-active { background: var(--zfx-primary); color: #fff; }
.zfx-progress > span.is-active::before { background: var(--zfx-primary); }
.zfx-progress small { position: absolute; top: 44px; white-space: nowrap; color: var(--zfx-muted); font-size: .73rem; font-weight: 600; }
.zfx-category-suggestion { margin: 12px 0 0; padding: 11px 13px; border-radius: 12px; background: var(--zfx-soft); color: var(--zfx-muted); font-size: .86rem; font-weight: 500; }
.zfx-category-suggestion.is-selected { border: 1px solid color-mix(in srgb, var(--zfx-primary) 35%, transparent); background: color-mix(in srgb, var(--zfx-primary) 9%, var(--zfx-card)); color: var(--zfx-primary); }
.zfx-form-step { display: none; padding-top: 20px; }
.zfx-form-step.is-active { display: grid; gap: 18px; }
.zfx-form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.zfx-form-nav .zfx-next,
.zfx-form-nav .zfx-submit { margin-left: auto; }
.zfx-review { display: grid; gap: 10px; }
.zfx-review > div { padding: 13px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--zfx-line); }

.zfx-dashboard { padding: 64px 0 100px; background: var(--zfx-soft); min-height: 75vh; }
.zfx-dashboard__head { margin-bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.zfx-dashboard__head > div > span { color: var(--zfx-primary); font-weight: 750; }
.zfx-dashboard__head h1 { margin-top: 8px; font-size: clamp(2.3rem, 5vw, 4rem); }
.zfx-dashboard__grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; }
.zfx-sidebar { padding: 12px; align-self: start; display: grid; gap: 5px; border: 1px solid var(--zfx-line); border-radius: 18px; background: var(--zfx-card); position: sticky; top: 96px; }
.zfx-sidebar a { padding: 12px 14px; border-radius: 12px; color: var(--zfx-muted); font-weight: 650; }
.zfx-sidebar a:hover,
.zfx-sidebar a.is-active { background: color-mix(in srgb, var(--zfx-primary) 9%, var(--zfx-card)); color: var(--zfx-primary); }
.zfx-status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--zfx-soft); color: var(--zfx-muted); font-size: .8rem; font-weight: 750; }
.zfx-status--approved { background: #e7f9f1; color: #0a7454; }
.zfx-status--pending { background: #fff6dd; color: #855f00; }
.zfx-status--rejected,
.zfx-status--suspended { background: #feeaea; color: #9d2727; }
.zfx-alert,
.zfx-notice { padding: 15px 17px; border: 1px solid #efd489; border-radius: 14px; background: #fff9e8; color: #725600; }
.zfx-notice { margin: 0 auto 24px; max-width: var(--zfx-container); }
.zfx-notice--error { border-color: #edaaaa; background: #fff0f0; color: #8e2727; }
.zfx-notice--success { border-color: #9bdcc5; background: #ebfaf4; color: #086b4d; }
.zfx-checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.zfx-quote-list { display: grid; gap: 12px; }
.zfx-quote-list article { padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 20px; border: 1px solid var(--zfx-line); border-radius: 16px; }
.zfx-quote-list article p { margin: 5px 0; }
.zfx-quote-price { display: flex; flex-direction: column; align-items: end; gap: 9px; }
.zfx-table { display: grid; border: 1px solid var(--zfx-line); border-radius: 14px; overflow: hidden; }
.zfx-table__row { padding: 13px 16px; display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 12px; border-bottom: 1px solid var(--zfx-line); }
.zfx-table__row:last-child { border-bottom: 0; }
.zfx-table__head { background: var(--zfx-soft); font-weight: 750; }

.zfx-profile-hero { display: flex; align-items: center; gap: 28px; }
.zfx-profile-hero h1 { margin: 10px 0; }
.zfx-profile-content { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.6fr); gap: 30px; align-items: start; }
.zfx-profile-content aside { position: sticky; top: 100px; }

.zfx-footer { padding-top: 70px; background: #0d201b; color: #d5e3de; }
.zfx-footer .zfx-brand,
.zfx-footer h3 { color: #fff; }
.zfx-footer p,
.zfx-footer a { color: #aabdb6; }
.zfx-footer a:hover { color: #fff; }
.zfx-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.zfx-footer__grid > div { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.zfx-brand--footer { margin-bottom: 14px; }
.zfx-footer__bottom { margin-top: 55px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: #8ca49c; font-size: .88rem; }

@media (max-width: 1000px) {
  .zfx-nav { gap: 16px; }
  .zfx-categories { grid-template-columns: repeat(4, 1fr); }
  .zfx-steps { grid-template-columns: repeat(2, 1fr); }
  .zfx-card-grid { grid-template-columns: repeat(2, 1fr); }
  .zfx-checkbox-grid { grid-template-columns: repeat(2, 1fr); }
  .zfx-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .zfx-container { width: min(calc(100% - 28px), var(--zfx-container)); }
  .zfx-header__inner { min-height: 66px; }
  .zfx-nav-toggle { display: block; }
  .zfx-nav,
  .zfx-header__actions { display: none; }
  .zfx-header.is-open .zfx-header__inner { flex-wrap: wrap; padding-bottom: 16px; }
  .zfx-header.is-open .zfx-nav,
  .zfx-header.is-open .zfx-header__actions { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .zfx-header.is-open .zfx-nav { max-height: calc(100vh - 92px); overflow-y: auto; }
  .zfx-header.is-open .zfx-nav a,
  .zfx-header.is-open .zfx-header__actions a { padding: 9px 0; }
  .zfx-mega__trigger { width: 100%; padding: 9px 0; justify-content: space-between; color: var(--zfx-muted); text-align: left; }
  .zfx-mega__panel { width: 100%; padding: 12px 0 0; position: static; display: none; visibility: visible; opacity: 1; pointer-events: auto; transform: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .zfx-mega.is-open .zfx-mega__panel { display: block; transform: none; }
  .zfx-mega__grid { grid-template-columns: 1fr; gap: 20px; }
  .zfx-mega__group a { padding: 8px 10px !important; }
  .zfx-mega__foot { align-items: flex-start; flex-direction: column; gap: 8px; }
  .zfx-theme-toggle { display: none; }
  .zfx-hero { min-height: auto; }
  .zfx-hero__content { padding-block: 80px; }
  .zfx-search { grid-template-columns: 1fr; gap: 5px; border-radius: 18px; }
  .zfx-search label { min-height: 50px; }
  .zfx-search label + label { border-left: 0; border-top: 1px solid var(--zfx-line); }
  .zfx-section { padding-block: 64px; }
  .zfx-categories { grid-template-columns: repeat(2, 1fr); }
  .zfx-steps,
  .zfx-card-grid,
  .zfx-job-grid,
  .zfx-trust-grid,
  .zfx-stats__grid { grid-template-columns: 1fr; }
  .zfx-stats__grid { gap: 35px; }
  .zfx-pro-cta { padding: 34px 24px; grid-template-columns: 1fr; }
  .zfx-pro-cta ul { grid-template-columns: 1fr; }
  .zfx-pro-cta__visual { display: none; }
  .zfx-filter { grid-template-columns: 1fr; }
  .zfx-section__head,
  .zfx-dashboard__head { align-items: start; flex-direction: column; }
  .zfx-auth { grid-template-columns: 1fr; }
  .zfx-auth__intro { min-height: 42vh; padding: 40px 24px; }
  .zfx-auth__intro .zfx-brand { margin-bottom: 40px; }
  .zfx-auth__panel { padding-block: 50px; }
  .zfx-form-row,
  .zfx-role-picker { grid-template-columns: 1fr; }
  .zfx-progress small { display: none; }
  .zfx-form-shell > .zfx-form { padding: 24px 17px; }
  .zfx-dashboard__grid { grid-template-columns: 1fr; }
  .zfx-sidebar { position: static; display: flex; overflow-x: auto; }
  .zfx-sidebar a { white-space: nowrap; }
  .zfx-job-detail,
  .zfx-profile-content { grid-template-columns: 1fr; }
  .zfx-profile-content aside { position: static; }
  .zfx-profile-hero { align-items: start; flex-direction: column; }
  .zfx-checkbox-grid { grid-template-columns: 1fr; }
  .zfx-quote-list article { grid-template-columns: 1fr; }
  .zfx-quote-price { align-items: start; }
  .zfx-table { overflow-x: auto; }
  .zfx-table__row { min-width: 600px; }
  .zfx-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .zfx-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .zofix-platform-page *,
  .zofix-platform-page *::before,
  .zofix-platform-page *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ZoFix customer and professional portal */
.zofix-customer-portal-page,
.zofix-professional-portal-page,
.zofix-job-form-page {
  --zfx-bg: #071410;
  --zfx-soft: #0b1c17;
  --zfx-card: #0c1a16;
  --zfx-text: #f2f7f5;
  --zfx-muted: #8ba39b;
  --zfx-line: #1b342d;
  --zfx-primary: #15b99b;
  --zfx-primary-dark: #20c6a8;
  --zfx-cyan: #129ed0;
  background: #071410;
}
.zfx-main--portal { min-height: 100vh; }
.zfx-portal { min-height: 100vh; display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #071410; color: #f2f7f5; }
.zfx-portal button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.zfx-portal__sidebar { height: 100vh; height: 100dvh; min-height: 0; position: sticky; top: 0; z-index: 40; padding: 0 14px max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid #1a302a; background: #081612; }
.zfx-portal__brand { min-height: 88px; margin: 0 -14px 24px; padding: 0 28px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1a302a; color: #fff; font-size: 1.45rem; font-weight: 820; letter-spacing: -.04em; }
.zfx-portal__brand > span:first-child { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #15b99b, #149ed0); color: #fff; font-size: 1.15rem; }
.zfx-portal__brand .zfx-brand__mark--image { border-radius: 13px; }
.zfx-portal__brand > span:last-child { color: #fff; }
.zfx-portal__brand > span:last-child > span { color: #20c6a8; }
.zfx-portal__nav-title { padding: 0 14px 12px; color: #7d9890; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.zfx-portal__nav {
  min-height: 0;
  padding-right: 7px;
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #20c6a8 #0d241e;
}
.zfx-portal__nav::-webkit-scrollbar { width: 9px; }
.zfx-portal__nav::-webkit-scrollbar-track { margin-block: 4px; border-radius: 999px; background: #0d241e; }
.zfx-portal__nav::-webkit-scrollbar-thumb { min-height: 44px; border: 2px solid #0d241e; border-radius: 999px; background: linear-gradient(180deg, #20c6a8, #129ed0); }
.zfx-portal__nav::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #37d8ba, #22afe0); }
.zfx-portal__nav a,
.zfx-portal__sidebar-foot a { min-height: 43px; padding: 9px 13px; display: flex; align-items: center; gap: 13px; border: 1px solid transparent; border-radius: 22px; color: #8da59e; font-size: .94rem; font-weight: 620; }
.zfx-portal__nav a > span,
.zfx-portal__sidebar-foot a > span { width: 22px; text-align: center; font-size: 1.25rem; }
.zfx-portal__nav a:hover { color: #fff; background: #10231e; }
.zfx-portal__nav a.is-active { border-color: rgba(255,255,255,.15); background: #28c3a8; color: #061612; box-shadow: 0 7px 22px rgba(21,185,155,.16); }
.zfx-portal__sidebar-foot { margin-top: 12px; padding-top: 12px; display: grid; flex: 0 0 auto; gap: 4px; border-top: 1px solid #1a302a; background: #081612; }
.zfx-portal__sidebar-foot a.is-danger { color: #f34d4d; }
body.admin-bar .zfx-portal__sidebar { height: calc(100vh - 32px); height: calc(100dvh - 32px); top: 32px; }
.zfx-portal__main { min-width: 0; }
.zfx-portal__topbar { height: 88px; position: sticky; top: 0; z-index: 30; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #19312a; background: rgba(5,16,13,.96); backdrop-filter: blur(14px); }
.zfx-portal__identity { display: flex; align-items: center; gap: 13px; }
.zfx-portal__identity > span:last-child { display: grid; line-height: 1.2; }
.zfx-portal__identity small { color: #7d9890; }
.zfx-portal__avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #073227; color: #16b899; font-weight: 780; }
.zfx-portal__top-actions { display: flex; align-items: center; gap: 20px; }
.zfx-portal__top-actions a,
.zfx-portal__top-actions button { padding: 5px; border: 0; background: transparent; color: #a5b7b2; font-size: 1.4rem; cursor: pointer; }
.zfx-portal-menu { display: none; border: 0; background: transparent; color: #fff; font-size: 1.25rem; }
.zfx-portal__content { width: min(100%, 1660px); min-height: calc(100vh - 88px); margin: 0 auto; padding: 42px 36px 90px; }
.zfx-portal .zfx-notice { max-width: none; margin: 0 0 22px; }
.zfx-test-mode-banner { margin: -14px 0 28px; padding: 13px 17px; display: flex; align-items: center; gap: 14px; border: 1px solid #e3ad24; border-radius: 16px; background: linear-gradient(135deg, #34280e, #1d2415); color: #f8e8a9; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.zfx-test-mode-banner strong { flex: 0 0 auto; padding: 5px 9px; border-radius: 8px; background: #ffc83d; color: #2a2006; font-size: .76rem; letter-spacing: .08em; }
.zfx-test-mode-banner span { font-size: .9rem; line-height: 1.45; }
.zfx-test-chip { width: max-content; margin: 0 8px 9px 0; padding: 4px 8px; display: inline-flex; align-items: center; border: 1px solid #e3ad24; border-radius: 999px; background: #33280d; color: #ffd76e; font-size: .66rem; font-weight: 800; letter-spacing: .05em; vertical-align: middle; }
.zfx-portal__page-head { min-height: 72px; margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.zfx-portal__page-head h1 { margin: 0 0 6px; font-size: clamp(1.85rem, 3.3vw, 2.45rem); }
.zfx-portal__page-head p { margin: 0; color: #8ba39b; font-size: 1rem; }
.zfx-portal__page-head > a:not(.zfx-button) { font-weight: 700; }
.zfx-metric-grid { margin-bottom: 34px; display: grid; gap: 18px; }
.zfx-metric-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zfx-metric-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zfx-metric { min-height: 100px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; border: 1px solid #1e3931; border-radius: 24px; background: #091814; box-shadow: 0 12px 35px rgba(0,0,0,.15); }
.zfx-metric > span,
.zfx-card-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: #07372b; color: #19b99b; font-size: 1.35rem; }
.zfx-metric > div { min-width: 0; display: grid; }
.zfx-metric strong { overflow-wrap: anywhere; color: #fff; font-size: 1.45rem; line-height: 1.2; }
.zfx-metric small { color: #87a29a; }
.zfx-metric--green > span { color: #20c66d; background: #07351d; }
.zfx-metric--amber > span { color: #f0a310; background: #2a1e08; }
.zfx-metric--blue > span { color: #20aadb; background: #082a35; }
.zfx-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.zfx-section-title { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.zfx-section-title h2,
.zfx-subheading { margin: 0 0 18px; font-size: 1.35rem; }
.zfx-section-title a { color: #1cc0a1; font-weight: 670; }
.zfx-portal-list { display: grid; gap: 14px; }
.zfx-portal-job { overflow: hidden; border: 1px solid #1b3930; border-radius: 25px; background: #091814; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.zfx-portal-job[hidden] { display: none; }
.zfx-portal-job > a { min-height: 118px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.zfx-portal-job h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -.02em; }
.zfx-portal-job p { margin: 0 0 7px; color: #86a097; }
.zfx-portal-job small { color: #779188; }
.zfx-job-status { display: inline-flex; margin-left: 8px; padding: 4px 8px; border-radius: 99px; background: #092c24; color: #1dbb9c; font-size: .66rem; font-weight: 760; vertical-align: middle; }
.zfx-job-status--urgent { background: #321416; color: #ff5c5c; }
.zfx-job-status--accepted { background: #0b321e; color: #29c872; }
.zfx-job-offers { min-width: 60px; display: grid; justify-items: end; }
.zfx-job-offers strong { color: #1bc1a0; font-size: 1.6rem; }
.zfx-overview-side { display: grid; gap: 18px; }
.zfx-portal-card { padding: 26px; border: 1px solid #1b3930; border-radius: 25px; background: #091814; box-shadow: 0 12px 30px rgba(0,0,0,.13); }
.zfx-portal-card h2 { font-size: 1.2rem; }
.zfx-portal-card > strong { display: block; color: #fff; font-size: 1.08rem; }
.zfx-portal-card > small { color: #86a097; }
.zfx-notification-card > div { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 5px; text-align: center; }
.zfx-notification-card > a { display: block; color: #18b99b; text-align: center; font-weight: 650; }
.zfx-empty-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #093629; color: #1fc0a1; font-size: 1.75rem; }
.zfx-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.zfx-mini-metric { min-height: 135px; padding: 22px; display: grid; align-content: center; gap: 4px; border: 1px solid #1b3930; border-radius: 25px; background: #091814; }
.zfx-mini-metric > span { color: #1ab99b; font-size: 1.4rem; }
.zfx-mini-metric strong { color: #fff; font-size: 1.6rem; }
.zfx-mini-metric small { color: #829d95; }
.zfx-portal-empty { min-height: 250px; padding: 36px 24px; display: grid; place-items: center; align-content: center; border: 1px dashed #1d3931; border-radius: 28px; background: #0b1d18; text-align: center; }
.zfx-portal-empty h2 { margin: 0 0 8px; font-size: 1.25rem; }
.zfx-portal-empty p { max-width: 560px; margin: 0 auto; }
.zfx-portal-empty .zfx-button { margin-top: 18px; }
.zfx-job-toolbar { margin-bottom: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.zfx-job-toolbar > label { min-height: 50px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border: 1px solid #1b3930; border-radius: 16px; background: #07130f; }
.zfx-job-toolbar input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; }
.zfx-job-filters { padding: 5px; display: flex; align-items: center; border: 1px solid #1b3930; border-radius: 16px; }
.zfx-job-filters button,
.zfx-feed-filters button { min-height: 38px; padding: 0 15px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: #8ca49d; font: inherit; font-weight: 650; cursor: pointer; }
.zfx-job-filters button.is-active,
.zfx-feed-filters button.is-active { background: #25c0a4; color: #071410; }
.zfx-preset-grid { margin-bottom: 28px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.zfx-preset-grid article { min-height: 150px; display: grid; align-content: center; gap: 5px; }
.zfx-preset-grid .zfx-card-icon { margin-bottom: 8px; }
.zfx-loyalty-balance,
.zfx-referral-banner,
.zfx-current-plan { margin-bottom: 24px; padding: 28px; display: flex; align-items: center; gap: 18px; border: 1px solid #15523f; border-radius: 26px; background: linear-gradient(100deg, #0a2a20, #202617); }
.zfx-loyalty-balance div { display: grid; }
.zfx-loyalty-balance strong { color: #24c8a7; font-size: 2.2rem; line-height: 1; }
.zfx-loyalty-balance small,
.zfx-current-plan small { color: #88a099; text-transform: uppercase; letter-spacing: .05em; }
.zfx-reward-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.zfx-reward-grid article { display: grid; align-content: start; gap: 8px; }
.zfx-reward-grid b { color: #1dbb9c; font-size: 1.35rem; }
.zfx-reward-grid button,
.zfx-price-grid button,
.zfx-calendar-grid button { min-height: 44px; margin-top: 8px; border: 1px solid #1a3930; border-radius: 13px; background: #07130f; color: #8ca39c; font: inherit; font-weight: 700; }
.zfx-referral-banner { justify-content: space-between; }
.zfx-referral-banner h2 { margin-bottom: 6px; }
.zfx-referral-banner > div:last-child { max-width: 55%; display: flex; gap: 10px; align-items: center; }
.zfx-referral-banner code { max-width: 520px; padding: 14px; overflow: hidden; border-radius: 14px; background: #061410; color: #d7e3df; text-overflow: ellipsis; white-space: nowrap; }
.zfx-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.zfx-settings-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px, .8fr); gap: 24px; align-items: start; }
.zfx-settings-grid aside { display: grid; gap: 22px; }
.zfx-settings-profile { display: grid; gap: 18px; }
.zfx-settings-avatar { display: flex; align-items: center; gap: 16px; }
.zfx-settings-avatar > div { display: grid; }
.zfx-settings-grid label,
.zfx-pro-profile label,
.zfx-ai-grid label { display: grid; gap: 7px; color: #eaf2ef; font-weight: 650; }
.zfx-settings-grid input,
.zfx-settings-grid textarea,
.zfx-pro-profile input,
.zfx-pro-profile textarea,
.zfx-ai-grid textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #1b3930; border-radius: 14px; outline: 0; background: #06130f; color: #f1f7f5; font: inherit; }
.zfx-language-list { display: grid; gap: 8px; }
.zfx-language-list button { min-height: 46px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #1b3930; border-radius: 15px; background: transparent; color: #eaf3f0; text-align: left; }
.zfx-language-list button.is-active { border-color: #17a88d; color: #18b99b; }
.zfx-preferences { display: grid; gap: 14px; }
.zfx-switch { display: flex !important; align-items: center; justify-content: space-between; }
.zfx-switch input { position: absolute; opacity: 0; pointer-events: none; }
.zfx-switch i { width: 46px; height: 25px; position: relative; border-radius: 99px; background: #1a312b; }
.zfx-switch i::after { content: ""; width: 19px; height: 19px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.zfx-switch input:checked + i { background: #1cb99b; }
.zfx-switch input:checked + i::after { transform: translateX(21px); }

/* Four-step job intake */
.zfx-job-wizard { min-height: calc(100vh - 74px); padding: 54px 0 85px; background: #071410; }
.zfx-job-wizard .zfx-form-shell { max-width: 1000px; }
.zfx-wizard-heading { margin-bottom: 42px; }
.zfx-wizard-heading h1 { margin-bottom: 6px; font-size: 2.25rem; }
.zfx-wizard-heading p { font-size: 1.05rem; }
.zfx-job-wizard .zfx-progress { max-width: 790px; margin: 0 auto 52px; }
.zfx-job-wizard .zfx-progress > span { width: 48px; height: 48px; background: #142720; color: #789089; }
.zfx-job-wizard .zfx-progress > span.is-active { background: linear-gradient(135deg, #15b99b, #119ed0); color: #fff; }
.zfx-job-wizard .zfx-progress > span.is-complete { background: #24be6b; color: transparent; }
.zfx-job-wizard .zfx-progress > span.is-complete::after { content: "✓"; position: absolute; color: #fff; }
.zfx-job-wizard .zfx-progress > span::before { background: #1b3930; z-index: 0; }
.zfx-job-wizard .zfx-progress small { top: 10px; left: 58px; color: #8ba39b; font-size: .9rem; }
.zfx-job-wizard .zfx-progress > span.is-active small { color: #f2f7f5; }
.zfx-job-wizard .zfx-progress > span.is-complete small { color: #8ba39b; }
.zfx-job-wizard .zfx-form-shell > .zfx-form { padding: 42px; border-color: #1d3931; background: #091814; box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.zfx-job-wizard .zfx-form-step { min-height: 410px; padding-top: 0; align-content: start; }
.zfx-ai-assist { justify-self: start; min-height: 46px; padding: 0 20px; border: 1px solid #145444; border-radius: 15px; background: transparent; color: #1ab99b; font: inherit; font-weight: 700; cursor: pointer; }
.zfx-choice-fieldset { padding: 0 !important; border: 0 !important; }
.zfx-choice-fieldset legend { padding: 0 0 10px; }
.zfx-category-picker { max-height: 225px; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow-y: auto; border: 1px solid #1b3930; border-radius: 18px; }
.zfx-category-picker label,
.zfx-choice-cards label,
.zfx-profile-categories label { position: relative; }
.zfx-category-picker input,
.zfx-choice-cards input,
.zfx-profile-categories input { position: absolute; opacity: 0; }
.zfx-category-picker label > span,
.zfx-profile-categories label > span { min-height: 42px; padding: 9px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #1a372f; border-radius: 13px; color: #cbd8d4; cursor: pointer; }
.zfx-category-picker i,
.zfx-profile-categories i { width: 8px; height: 8px; border-radius: 50%; background: #1ab99b; }
.zfx-category-picker input:checked + span,
.zfx-profile-categories input:checked + span { border-color: #18b99b; background: #0d2b23; color: #1bc1a0; }
.zfx-choice-cards { display: grid; gap: 10px; }
.zfx-choice-cards--three { grid-template-columns: repeat(3, 1fr); }
.zfx-choice-cards--two { grid-template-columns: repeat(2, 1fr); }
.zfx-choice-cards label > span { min-height: 78px; padding: 15px; display: grid; border: 1px solid #1a372f; border-radius: 17px; cursor: pointer; }
.zfx-choice-cards label small { color: #789089; }
.zfx-choice-cards input:checked + span { border-color: #18b99b; background: #0d2b23; }
.zfx-date-input { display: grid; grid-template-columns: minmax(0,1fr) 52px; gap: 8px; }
.zfx-date-input button { min-height: 50px; border: 1px solid #1b3930; border-radius: 14px; background: #0b241d; color: #1fc3a3; font-size: 1.25rem; cursor: pointer; }
.zfx-date-input button:hover,
.zfx-date-input button:focus-visible { border-color: #1fc3a3; outline: 2px solid rgba(31,195,163,.18); }
.zfx-insurance-fields[hidden] { display: none !important; }
.zfx-insurance-fields { margin: 5px 0; padding: 20px; display: grid; gap: 15px; border: 1px solid #1b4439; border-radius: 18px; background: #0b211b; }
.zfx-insurance-fields legend { padding: 0 8px; color: #f2f8f6; font-weight: 800; }
.zfx-photo-drop__zone { min-height: 165px; padding: 24px; position: relative; display: grid; place-items: center; align-content: center; gap: 9px; border: 2px dashed #224239; border-radius: 18px; color: #8ba39b; text-align: center; cursor: pointer; }
.zfx-photo-drop__zone b { font-size: 2rem; color: #91aaa2; }
.zfx-photo-drop__zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.zfx-review-card { padding: 24px; border: 1px solid #1b3930; border-radius: 20px; background: #081511; }
.zfx-review-card h2 { font-size: 1.3rem; }
.zfx-review-card dl { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.zfx-review-card dl div { display: grid; }
.zfx-review-card dt { color: #7d9890; font-size: .8rem; }
.zfx-review-card dd { margin: 0; color: #f1f7f5; font-weight: 700; }
.zfx-review-note { padding: 16px 18px; border-radius: 16px; background: #10241e; color: #89a39b; }

/* Professional portal */
.zfx-portal-alert { margin-bottom: 24px; padding: 16px 20px; border: 1px solid #7c641e; border-radius: 18px; background: #272413; color: #e7d28e; }
.zfx-portal-alert--premium { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; }
.zfx-portal-alert--premium span { grid-column: 2; }
.zfx-performance { margin: 0; display: grid; gap: 14px; }
.zfx-performance div { display: flex; justify-content: space-between; gap: 16px; }
.zfx-performance dt { color: #7f9a91; }
.zfx-performance dd { margin: 0; color: #fff; font-weight: 750; }
.zfx-feed-filters { margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.zfx-feed-filters > div { display: flex; flex-wrap: wrap; gap: 8px; }
.zfx-feed-filters button { border-color: #1b3930; }
.zfx-pro-offer { overflow: hidden; border: 1px solid #1b3930; border-radius: 24px; background: #091814; }
.zfx-pro-offer a { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.zfx-pro-offer h2 { margin: 8px 0 4px; font-size: 1.1rem; }
.zfx-pro-offer > a > strong { color: #20c3a2; font-size: 1.45rem; }
.zfx-job-detail-tabs { width: fit-content; margin-bottom: 22px; padding: 4px; display: flex; gap: 3px; border: 1px solid #1a3930; border-radius: 16px; }
.zfx-job-detail-tabs span { padding: 9px 18px; border-radius: 12px; color: #8ca39c; }
.zfx-job-detail-tabs span.is-active { background: #22bfa2; color: #061410; font-weight: 700; }
.zfx-pro-job-detail { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.75fr); gap: 24px; align-items: stretch; }
.zfx-pro-job-detail > * { min-height: 330px; }
.zfx-customer-job-detail { display: grid; gap: 24px; }
.zfx-customer-job-detail > .zfx-portal-card { display: grid; gap: 18px; }
.zfx-customer-job-detail .zfx-section-title h2 { margin: 0; }
.zfx-customer-job-detail .zfx-section-title > span { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #0b3328; color: #20c3a2; font-weight: 750; }
.zfx-customer-job-detail .zfx-quote-list article { border-color: #1b3930; background: #07130f; }
.zfx-customer-job-detail .zfx-quote-price { display: grid; justify-items: end; align-content: start; gap: 12px; }
.zfx-customer-job-detail .zfx-quote-price > strong { color: #20c3a2; font-size: 1.35rem; }
.zfx-inline-empty { min-height: 150px; display: grid; place-items: center; align-content: center; text-align: center; }
.zfx-inline-empty p { margin: 5px 0 0; color: #829d95; }
.zfx-detail-metrics { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zfx-detail-metrics div { min-height: 110px; padding: 15px; display: grid; align-content: center; border: 1px solid #1b3930; border-radius: 18px; }
.zfx-detail-metrics small { color: #789188; }
.zfx-detail-metrics strong { margin-top: 3px; color: #f2f8f6; line-height: 1.35; }
.zfx-dossier-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .65fr); gap: 24px; align-items: start; }
.zfx-dossier-main,
.zfx-dossier-side { min-width: 0; display: grid; gap: 22px; }
.zfx-dossier-side { position: sticky; top: 112px; }
.zfx-card-heading { margin-bottom: 22px; display: flex; align-items: center; gap: 13px; }
.zfx-card-heading > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: #08372b; color: #1dc2a1; font-size: 1.2rem; }
.zfx-card-heading > div { display: grid; gap: 2px; }
.zfx-card-heading small { color: #779188; font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.zfx-card-heading h2 { margin: 0; }
.zfx-customer-card__identity { padding: 18px; display: flex; align-items: center; gap: 14px; border: 1px solid #1b3930; border-radius: 18px; background: #07130f; }
.zfx-customer-card__identity > div { display: grid; }
.zfx-customer-card__identity small { color: #7f9a91; }
.zfx-customer-card__identity strong { color: #fff; font-size: 1.18rem; }
.zfx-customer-avatar { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #0b876f, #19a8d4); color: #fff; font-weight: 800; }
.zfx-customer-details { margin: 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zfx-customer-details > div { min-width: 0; padding: 15px; display: grid; align-content: start; gap: 4px; border: 1px solid #18362e; border-radius: 16px; }
.zfx-customer-details dt { color: #789188; font-size: .78rem; }
.zfx-customer-details dd { margin: 0; overflow-wrap: anywhere; color: #edf7f4; font-weight: 700; line-height: 1.35; }
.zfx-action-row { display: flex; flex-wrap: wrap; gap: 10px; }
.zfx-button--whatsapp { background: #1e9b55; box-shadow: 0 9px 24px rgba(30,155,85,.2); }
.zfx-privacy-note { padding: 16px; border: 1px solid #25423a; border-radius: 15px; background: #10231e; }
.zfx-job-information > .zfx-prose { padding: 0 2px; }
.zfx-job-photos { margin-top: 28px; padding-top: 24px; border-top: 1px solid #19352d; }
.zfx-job-photos .zfx-section-title { min-height: auto; margin-bottom: 14px; }
.zfx-job-photos .zfx-section-title > span { color: #7e9890; font-size: .82rem; }
.zfx-photo-heading { margin: 0 !important; font-size: 1.05rem !important; }
.zfx-photo-grid a { display: block; overflow: hidden; border: 1px solid #21453a; border-radius: 16px; background: #07130f; }
.zfx-photo-grid img { display: block; border-radius: 0; }
.zfx-photo-empty { min-height: 116px; padding: 18px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 15px; border: 1px dashed #2a5146; border-radius: 18px; background: #081712; }
.zfx-photo-empty > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #0b3026; color: #1fc1a1; font-size: 1.25rem; }
.zfx-photo-empty > div { display: grid; gap: 3px; }
.zfx-photo-empty strong { color: #f0f8f5; }
.zfx-photo-empty p { margin: 0; color: #819b93; font-size: .88rem; }
.zfx-workflow-details { padding: 0; overflow: hidden; }
.zfx-workflow-details > summary { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #eff8f5; cursor: pointer; list-style: none; }
.zfx-workflow-details > summary::-webkit-details-marker { display: none; }
.zfx-workflow-details > summary::after { content: "+"; width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #0e2d24; color: #20c3a2; font-size: 1.4rem; line-height: 1; }
.zfx-workflow-details[open] > summary::after { content: "−"; }
.zfx-workflow-details > p { margin: 0; padding: 0 24px 16px; }
.zfx-workflow-details > form { padding: 0 24px 24px; }
.zfx-workflow-summary { display: flex; align-items: center; gap: 13px; }
.zfx-workflow-summary > b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #0b3328; color: #20c3a2; }
.zfx-workflow-summary > span { display: grid; }
.zfx-workflow-summary small { color: #789188; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.zfx-workflow-summary strong { color: #f1f8f6; }
.zfx-change-badge { margin-left: auto; padding: 6px 10px; border: 1px solid #245044; border-radius: 99px; color: #8fb3a8; font-size: .76rem; font-weight: 700; }
.zfx-workflow-body { padding: 24px; border-top: 1px solid #1b3930; background: #081511; }
.zfx-workflow-body > h3 { margin-bottom: 6px; }
.zfx-workflow-body > p { font-size: .9rem; }
.zfx-date-form { margin-top: 18px; }
.zfx-date-form input[type="date"] { color-scheme: dark; }
.zfx-reason-picker { grid-template-columns: repeat(2, minmax(0,1fr)); }
.zfx-reason-picker legend { color: #edf7f4; }
.zfx-reason-picker legend small { display: block; margin-top: 3px; color: #79928a; }
.zfx-check-row { position: relative; display: block !important; }
.zfx-check-row input { position: absolute; opacity: 0; pointer-events: none; }
.zfx-check-row span { min-height: 48px; padding: 11px 13px; display: flex; align-items: center; border: 1px solid #204139; border-radius: 13px; background: #07130f; color: #b9cbc5; cursor: pointer; font-size: .87rem; font-weight: 600; }
.zfx-check-row input:checked + span { border-color: #20c3a2; background: #0c3027; color: #effaf7; }
.zfx-check-row input:focus-visible + span { outline: 3px solid rgba(32,195,162,.18); }
.zfx-invoice-action-card { display: grid; gap: 8px; }
.zfx-invoice-action-card .zfx-card-icon { margin-bottom: 4px; }
.zfx-invoice-action-card h2,
.zfx-invoice-action-card p { margin-bottom: 4px; }
.zfx-invoice-action-card .zfx-button { margin-top: 8px; }
.zfx-created-invoice .zfx-card-heading { margin-bottom: 0; }
.zfx-created-invoice .zfx-big-number { margin-top: 26px !important; }
.zfx-created-invoice__costs { margin: 18px 0; display: grid; }
.zfx-created-invoice__costs > div { padding: 9px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #1b3930; }
.zfx-created-invoice__costs dt { color: #7d9890; }
.zfx-created-invoice__costs dd { margin: 0; color: #eef7f4; font-weight: 700; }
.zfx-invoice-note { padding: 13px; display: grid; gap: 4px; border-radius: 13px; background: #10241e; font-size: .86rem; }
.zfx-invoice-note strong { color: #eaf6f2; }
body.zfx-modal-open { overflow: hidden; }
.zfx-invoice-modal { width: min(620px, calc(100vw - 28px)); max-height: min(900px, calc(100vh - 28px)); max-height: min(900px, calc(100dvh - 28px)); padding: 0; overflow: hidden auto; border: 0; border-radius: 22px; background: #fff; color: #172033; box-shadow: 0 28px 90px rgba(0,0,0,.38); }
.zfx-invoice-modal::backdrop { background: rgba(3, 12, 9, .76); backdrop-filter: blur(3px); }
.zfx-invoice-modal__header { min-height: 72px; padding: 18px 22px; position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5eaf2; background: rgba(255,255,255,.97); }
.zfx-invoice-modal__header > div { display: flex; align-items: center; gap: 10px; }
.zfx-invoice-modal__header > div > span { color: #1769ed; font-size: 1.25rem; }
.zfx-invoice-modal__header h2 { margin: 0; color: #172033; font-size: 1.25rem; letter-spacing: -.02em; }
.zfx-modal-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #718096; font-size: 1.6rem; cursor: pointer; }
.zfx-modal-close:hover { background: #f1f4f8; color: #172033; }
.zfx-invoice-form { padding: 24px; gap: 20px; }
.zfx-invoice-form label { color: #273247; }
.zfx-invoice-form label > small { color: #778195; }
.zfx-invoice-form input:not([type="checkbox"]):not([type="radio"]),
.zfx-invoice-form textarea { border-color: #dce2eb; background: #f8fafc; color: #182235; }
.zfx-invoice-form input:focus,
.zfx-invoice-form textarea:focus { border-color: #1769ed; box-shadow: 0 0 0 3px rgba(23,105,237,.12); }
.zfx-invoice-breakdown { padding: 18px; border: 1px solid #d9e4f8; border-radius: 16px; background: #f2f6fe; }
.zfx-invoice-breakdown h3 { margin: 0 0 12px; color: #172033; font-size: .92rem; letter-spacing: 0; }
.zfx-invoice-breakdown dl { margin: 0; display: grid; }
.zfx-invoice-breakdown dl > div { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e0e6ef; }
.zfx-invoice-breakdown dl > div:last-child { border-bottom: 0; }
.zfx-invoice-breakdown dt { color: #747f92; }
.zfx-invoice-breakdown dt small { color: #9aa3b2; }
.zfx-invoice-breakdown dd { margin: 0; color: #273247; font-weight: 700; white-space: nowrap; }
.zfx-invoice-breakdown .is-total { min-height: 40px; margin-top: 3px; padding-top: 5px; }
.zfx-invoice-breakdown .is-total dt { color: #1c2738; font-weight: 800; }
.zfx-invoice-breakdown .is-total dd { color: #1769ed; font-size: 1.12rem; }
.zfx-invoice-breakdown--summary { border-color: #e5e9ef; background: #f7f8fa; }
.zfx-invoice-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.zfx-money-input { position: relative; display: block; }
.zfx-money-input > b { position: absolute; top: 50%; left: 14px; z-index: 1; transform: translateY(-50%); color: #8791a3; }
.zfx-money-input > input { padding-left: 36px !important; }
.zfx-invoice-submit { min-height: 58px; border-radius: 14px; background: #1769ed; box-shadow: 0 12px 24px rgba(23,105,237,.24); }
.zfx-invoice-submit:hover { box-shadow: 0 14px 28px rgba(23,105,237,.3); }
.zfx-quote-confirm { padding: 18px; border-radius: 18px; background: #0c3021; }
.zfx-quote-confirm h3 { color: #28c971; }
.zfx-inline-quote { padding: 0; background: transparent; box-shadow: none; }
.zfx-ai-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 24px; }
.zfx-ai-grid > div { display: grid; gap: 9px; }
.zfx-ai-grid > div article { padding: 13px; display: flex; align-items: center; gap: 12px; border: 1px solid #1b3930; border-radius: 16px; background: #091814; }
.zfx-ai-grid > div article.is-active { border-color: #19b99b; }
.zfx-ai-grid > div article > div { display: grid; }
.zfx-ai-grid > div article > b { margin-left: auto; }
.zfx-ai-grid > section { display: grid; align-content: start; gap: 16px; }
.zfx-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.zfx-price-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.zfx-price-grid article { display: grid; align-content: start; }
.zfx-price-grid article > strong { margin: 12px 0; font-size: 2rem; }
.zfx-price-grid article > strong small { font-size: .8rem; color: #8ca39c; }
.zfx-price-grid ul { min-height: 130px; padding: 0; display: grid; gap: 8px; list-style: none; color: #8da59d; }
.zfx-price-grid li::before { content: "✓"; margin-right: 9px; color: #20bf6a; }
.zfx-price-grid .is-current { border-color: #20b99c; }
.zfx-price-actions { display: grid; gap: 9px; margin-top: auto; }
.zfx-price-actions .zfx-button,
.zfx-price-actions button { width: 100%; min-height: 44px; }
.zfx-subscription-status { display: inline-flex; width: max-content; margin-top: 5px; padding: 4px 8px; border: 1px solid #265044; border-radius: 999px; color: #93b9ad; font-size: .75rem; font-weight: 700; }
.zfx-billing-note { margin-top: 20px; color: #8da59d; font-size: .86rem; }
.zfx-inline-limit { display: grid; gap: 12px; }
.zfx-current-plan > div:nth-child(2) { display: grid; }
.zfx-current-plan > div:last-child { margin-left: auto; display: grid; text-align: right; }
.zfx-current-plan strong { font-size: 1.6rem; }
.zfx-pro-profile { display: grid; gap: 24px; }
.zfx-pro-profile > section { display: grid; gap: 17px; }
.zfx-pro-profile > button { justify-self: end; }
.zfx-profile-categories { max-height: 315px; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; overflow-y: auto; border: 1px solid #1b3930; border-radius: 18px; }
.zfx-profile-categories b { margin-left: auto; }
.zfx-earnings-grid,
.zfx-calendar-grid { margin-bottom: 28px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.65fr); gap: 24px; }
.zfx-big-number { margin: 45px 0 12px !important; font-size: 2.5rem !important; }
.zfx-calendar-placeholder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.zfx-calendar-placeholder span { min-height: 68px; padding: 9px; border: 1px solid #17332b; border-radius: 12px; color: #cbd7d3; }

@media (max-width: 1200px) {
  .zfx-portal { grid-template-columns: 250px minmax(0,1fr); }
  .zfx-portal__content { padding-inline: 24px; }
  .zfx-metric-grid--four,
  .zfx-reward-grid { grid-template-columns: repeat(2, 1fr); }
  .zfx-overview-grid { grid-template-columns: 1fr; }
  .zfx-overview-side { grid-template-columns: repeat(2, 1fr); }
  .zfx-profile-categories { grid-template-columns: repeat(3, 1fr); }
  .zfx-price-grid { grid-template-columns: repeat(2, 1fr); }
	.zfx-dossier-grid { grid-template-columns: minmax(0,1fr) 330px; }
}

@media (max-width: 850px) {
  .zfx-portal { display: block; }
  .zfx-portal__sidebar { width: min(86vw, 310px); position: fixed; left: 0; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 18px 0 40px rgba(0,0,0,.35); }
  .zfx-portal.is-menu-open .zfx-portal__sidebar { transform: translateX(0); }
  .zfx-portal-menu { display: block; }
  .zfx-portal__identity { margin-right: auto; margin-left: 12px; }
  .zfx-portal__topbar { height: 72px; padding: 0 18px; }
  .zfx-portal__content { min-height: calc(100vh - 72px); padding: 28px 16px 70px; }
  .zfx-metric-grid--three,
  .zfx-preset-grid,
  .zfx-price-grid--three { grid-template-columns: repeat(2, 1fr); }
  .zfx-settings-grid,
  .zfx-pro-job-detail,
  .zfx-ai-grid,
  .zfx-earnings-grid,
  .zfx-calendar-grid { grid-template-columns: 1fr; }
	.zfx-dossier-grid { grid-template-columns: 1fr; }
	.zfx-dossier-side { position: static; }
  .zfx-category-picker { grid-template-columns: repeat(2, 1fr); }
  .zfx-profile-categories { grid-template-columns: repeat(2, 1fr); }
  .zfx-detail-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 782px) {
  body.admin-bar .zfx-portal__sidebar { height: calc(100vh - 46px); height: calc(100dvh - 46px); top: 46px; }
}

@media (max-width: 560px) {
	.zfx-test-mode-banner { margin-top: -8px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .zfx-portal__top-actions { gap: 7px; }
  .zfx-portal__page-head { align-items: flex-start; flex-direction: column; }
  .zfx-metric-grid--four,
  .zfx-metric-grid--three,
  .zfx-preset-grid,
  .zfx-reward-grid,
  .zfx-info-grid,
  .zfx-overview-side,
  .zfx-price-grid,
  .zfx-price-grid--three { grid-template-columns: 1fr; }
  .zfx-job-toolbar { grid-template-columns: 1fr; }
  .zfx-job-filters { overflow-x: auto; }
  .zfx-referral-banner { align-items: stretch; flex-direction: column; }
  .zfx-referral-banner > div:last-child { max-width: none; flex-direction: column; align-items: stretch; }
  .zfx-job-wizard { padding-top: 32px; }
  .zfx-job-wizard .zfx-form-shell > .zfx-form { padding: 24px 17px; }
  .zfx-job-wizard .zfx-progress small { display: none; }
  .zfx-category-picker,
  .zfx-choice-cards--three,
  .zfx-choice-cards--two,
  .zfx-profile-categories,
  .zfx-review-card dl { grid-template-columns: 1fr; }
  .zfx-detail-metrics { grid-template-columns: 1fr; }
  .zfx-portal-job > a,
  .zfx-pro-offer a { align-items: flex-start; flex-direction: column; }
  .zfx-customer-job-detail .zfx-quote-price { justify-items: start; }
	.zfx-customer-details,
	.zfx-reason-picker,
	.zfx-invoice-field-grid { grid-template-columns: 1fr; }
	.zfx-photo-empty { grid-template-columns: auto 1fr; }
	.zfx-photo-empty .zfx-button { grid-column: 1 / -1; width: 100%; }
	.zfx-workflow-details > summary { align-items: flex-start; }
	.zfx-change-badge { display: none; }
	.zfx-invoice-form { padding: 18px; }
	.zfx-invoice-modal__header { padding-inline: 18px; }
}
