:root {
    --tfp-ink: #14202b;
    --tfp-muted: #64717d;
    --tfp-line: #dce3e8;
    --tfp-paper: #f5f7f8;
    --tfp-white: #fff;
    --tfp-brand: #116b82;
    --tfp-brand-dark: #0c4b5c;
    --tfp-sidebar: #0b3763;
    --tfp-accent: #dba634;
    --tfp-navy: #0b3763;
    --tfp-gold: #dba634;
}

* { box-sizing: border-box; }
html, body.tfp-portal-page { margin: 0; min-height: 100%; }
body.tfp-portal-page { background: var(--tfp-paper); color: var(--tfp-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.tfp-app { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: 82px minmax(0, 1fr); grid-template-areas: "header header" "sidebar main"; }
.tfp-sidebar { grid-area: sidebar; position: sticky; top: 82px; height: calc(100vh - 82px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; padding: 16px 18px; color: #fff; background: var(--tfp-sidebar); }
.tfp-brand { display: grid; gap: 4px; padding: 6px 12px 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.tfp-brand-kicker { color: #fff; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tfp-brand-product { color: #a9c2d7; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tfp-nav { display: flex; flex-direction: column; gap: 2px; }
.tfp-nav-heading { display: block; margin: 12px 10px 3px; padding-top: 2px; overflow: visible; color: #8fb0bc; font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; white-space: nowrap; }
.tfp-nav a { padding: 7px 12px; border-radius: 8px; color: #dce8ec; font-size: 14px; font-weight: 650; text-decoration: none; }
.tfp-nav a:hover, .tfp-nav a:focus-visible { color: #fff; background: rgba(255,255,255,.09); }
.tfp-nav a.is-active { color: #172638; background: var(--tfp-accent); box-shadow: none; }
.tfp-nav a.tfp-nav-action { margin: 4px 0 6px; border: 1px solid rgba(219, 166, 52, .72); color: #ffe8a8; background: rgba(219, 166, 52, .1); font-size: 12px; font-weight: 800; }
.tfp-nav a.tfp-nav-action:hover, .tfp-nav a.tfp-nav-action:focus-visible { border-color: var(--tfp-accent); color: #fff4d6; background: rgba(219, 166, 52, .18); }
.tfp-sidebar-footer { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255,255,255,.14); }
.tfp-sidebar-footer span, .tfp-sidebar-footer a { display: block; }
.tfp-sidebar-footer span { margin-bottom: 5px; font-size: 13px; }
.tfp-sidebar-footer a { color: #b7c9d0; font-size: 12px; }
.tfp-main { grid-area: main; min-width: 0; }
.tfp-topbar { grid-area: header; position: sticky; z-index: 60; top: 0; height: 82px; display: flex; align-items: center; gap: 18px; padding: 0 30px; border-bottom: 4px solid var(--tfp-accent); background: #fff; }
.tfp-topbar a { color: var(--tfp-sidebar); font-size: 13px; font-weight: 750; text-decoration: none; }
.tfp-header-home { display: inline-flex; align-items: center; min-width: 0; }
.tfp-header-logo { display: block; width: min(310px, 38vw); height: 52px; object-fit: contain; object-position: left center; filter: none; }
.tfp-header-product { padding-left: 18px; border-left: 1px solid #d3dde5; color: var(--tfp-muted); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.tfp-view-site { margin-left: auto; padding: 10px 16px; border: 1px solid var(--tfp-accent); border-radius: 8px; background: var(--tfp-accent); color: #172638 !important; }
.tfp-view-site:hover, .tfp-view-site:focus-visible { background: #e4b84e; }
.tfp-menu-button { display: none; }
.tfp-content { max-width: 1180px; margin: 0 auto; padding: 52px 44px 80px; }
.tfp-content.tfp-contact-record-content { padding-top: 20px; }
.tfp-eyebrow { margin: 0 0 8px; color: var(--tfp-brand); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tfp-content h1 { margin: 0 0 30px; color: var(--tfp-ink); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; }
.tfp-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.tfp-page-heading h1 { margin-bottom: 7px; }
.tfp-page-heading p:last-child { margin: 0; color: var(--tfp-muted); font-size: 14px; }
.tfp-demo-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 13px 16px; border: 1px solid #d7c58f; border-radius: 10px; background: #fff9e8; }
.tfp-demo-banner strong { flex: 0 0 auto; color: #75550b; font-size: 12px; }
.tfp-demo-banner span { color: #6c6658; font-size: 12px; line-height: 1.45; }
.tfp-preview-banner { display: flex; align-items: center; gap: 14px; margin: -24px 0 26px; padding: 12px 15px; border: 1px solid #d7c58f; border-radius: 10px; background: #fff9e8; color: #6c6658; font-size: 12px; }
.tfp-preview-banner strong { color: #75550b; }
.tfp-preview-banner span { flex: 1; }
.tfp-preview-banner a { color: var(--tfp-brand-dark); font-weight: 800; }
.tfp-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.tfp-metric { padding: 20px; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-metric span, .tfp-metric strong, .tfp-metric small { display: block; }
.tfp-metric span { color: var(--tfp-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tfp-metric strong { margin: 7px 0 4px; color: var(--tfp-sidebar); font-size: 27px; }
.tfp-metric small { color: var(--tfp-muted); font-size: 11px; }
.tfp-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tfp-card, .tfp-placeholder { border: 1px solid var(--tfp-line); border-radius: 15px; background: var(--tfp-white); box-shadow: 0 10px 30px rgba(20,32,43,.05); }
.tfp-card { min-height: 158px; padding: 25px; color: var(--tfp-ink); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.tfp-card:hover, .tfp-card:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(20,32,43,.1); }
.tfp-card strong, .tfp-card span { display: block; }
.tfp-card strong { margin-bottom: 10px; font-size: 18px; }
.tfp-card span { color: var(--tfp-muted); font-size: 14px; line-height: 1.55; }
.tfp-placeholder { max-width: 760px; padding: 30px; }
.tfp-placeholder p { margin: 14px 0 0; color: var(--tfp-muted); line-height: 1.65; }
.tfp-status { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #176148; background: #e3f5ed; font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.tfp-status.is-ready { color: #176148; background: #e3f5ed; }
.tfp-status.is-blocked { color: #7b1f1f; background: #fde8e8; }
.tfp-connection-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #d8e1e9; }
.tfp-connection-summary small { color: #65788a; }
.tfp-connection-summary .tfp-payroll-ready-count { margin-left: auto; color: #0b3763; font-weight: 800; }
.tfp-notice { margin: 0 0 20px; padding: 13px 16px; border: 1px solid; border-radius: 10px; font-size: 14px; }
.tfp-notice.is-success { border-color: #a9dcc8; color: #185c47; background: #eaf8f2; }
.tfp-notice.is-error { border-color: #e3b7b2; color: #8a3028; background: #fff0ee; }
.tfp-settings-form { display: grid; gap: 20px; }
.tfp-settings-panel { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(20,32,43,.04); }
.tfp-settings-panel > header { padding: 22px 25px; border-bottom: 1px solid var(--tfp-line); background: #fbfcfc; }
.tfp-settings-panel h2 { margin: 0 0 6px; font-size: 19px; }
.tfp-settings-panel header p { margin: 0; color: var(--tfp-muted); font-size: 13px; line-height: 1.5; }
.tfp-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; padding: 25px; }
.tfp-field { display: grid; align-content: start; gap: 7px; }
.tfp-field.is-wide { grid-column: 1 / -1; }
.tfp-field > span { font-size: 13px; font-weight: 800; }
.tfp-field input, .tfp-field textarea, .tfp-field select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #bcc8cf; border-radius: 8px; background: #fff; color: var(--tfp-ink); font: inherit; }
.tfp-field input[type="color"] { max-width: 100px; padding: 4px; }
.tfp-field input:focus, .tfp-field textarea:focus, .tfp-field select:focus { outline: 3px solid rgba(17,107,130,.14); border-color: var(--tfp-brand); }
.tfp-field small { color: var(--tfp-muted); font-size: 11px; line-height: 1.45; }
.tfp-connection-settings-form .tfp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    padding: 25px;
}
.tfp-connection-settings-form .tfp-form-grid label {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 8px;
}
.tfp-connection-settings-form .tfp-form-grid label > span {
    display: block;
    color: var(--tfp-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}
.tfp-connection-settings-form .tfp-form-grid input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #bcc8cf;
    border-radius: 8px;
    background: #fff;
    color: var(--tfp-ink);
    font: inherit;
}
.tfp-connection-settings-form .tfp-form-grid input:focus {
    outline: 3px solid rgba(17,107,130,.14);
    border-color: var(--tfp-brand);
}
.tfp-connection-settings-form .tfp-form-grid small {
    display: block;
    color: var(--tfp-muted);
    font-size: 11px;
    line-height: 1.45;
}
.tfp-connection-settings-form .tfp-form-actions {
    position: static;
    margin: 0 25px 25px;
    padding: 16px 18px;
}
.tfp-form-actions { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border: 1px solid var(--tfp-line); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 30px rgba(20,32,43,.08); }
.tfp-form-actions span { color: var(--tfp-muted); font-size: 12px; }
.tfp-form-actions button { padding: 11px 17px; border: 0; border-radius: 8px; background: var(--tfp-brand); color: #fff; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.tfp-form-actions button:hover, .tfp-form-actions button:focus-visible { background: var(--tfp-brand-dark); }
.tfp-billing-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 22px; padding: 28px; border: 1px solid #174b7b; border-top: 4px solid var(--tfp-accent); border-radius: 16px; color: #fff; background: var(--tfp-sidebar); box-shadow: 0 14px 34px rgba(23,75,130,.18); }
.tfp-billing-hero > div { min-width: 0; }
.tfp-billing-hero h2 { margin: 13px 0 7px; color: #fff !important; font-size: 25px; line-height: 1.15; }
.tfp-billing-hero p { max-width: 650px; margin: 0; color: #dbe8f5 !important; font-size: 14px; line-height: 1.55; }
.tfp-billing-hero .tfp-status { border: 1px solid rgba(255,255,255,.55); color: #4f3b0a; background: #f6e9bd; }
.tfp-billing-hero form { flex: 0 0 auto; margin: 0; }
.tfp-billing-empty { max-width: none; padding: 26px 28px; border-left: 4px solid var(--tfp-accent); }
.tfp-billing-empty .tfp-status { color: #77530a; background: #fff1c9; }
.tfp-billing-empty p { max-width: 700px; margin-top: 12px; }
.tfp-primary-button { padding: 12px 17px; border: 0; border-radius: 9px; color: #172638; background: var(--tfp-accent); font: inherit; font-size: 13px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.tfp-primary-button:hover, .tfp-primary-button:focus-visible { background: #efbd55; }
.tfp-table-wrap { overflow-x: auto; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-billing-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tfp-billing-table th, .tfp-billing-table td { padding: 15px 17px; border-bottom: 1px solid var(--tfp-line); text-align: left; white-space: nowrap; }
.tfp-billing-table th { color: var(--tfp-muted); background: #f8fafb; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.tfp-billing-table td:nth-child(2) { min-width: 210px; white-space: normal; }
.tfp-billing-table a { color: var(--tfp-brand); font-weight: 750; }
.tfp-paid-status { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #176148; background: #e3f5ed; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.tfp-billing-summary-grid { margin-bottom: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tfp-static-card { min-height: 132px; cursor: default; }
.tfp-static-card:hover { transform: none; box-shadow: 0 10px 30px rgba(20,32,43,.05); }
.tfp-static-card > span { margin-bottom: 10px; color: var(--tfp-muted); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.tfp-static-card > strong { margin-bottom: 7px; }
.tfp-static-card > small { color: var(--tfp-muted); font-size: 12px; }
.tfp-record-grid { display: flex; flex-direction: column; gap: 8px; }
.tfp-record-card { min-height: 76px; display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); gap: 12px 22px; align-items: start; padding: 16px 19px; border: 1px solid var(--tfp-line); border-radius: 10px; background: #fff; box-shadow: 0 4px 14px rgba(20,32,43,.035); }
.tfp-record-card > span { font-size: 16px; font-weight: 850; }
.tfp-record-card p { margin: 0; color: var(--tfp-muted); font-size: 13px; line-height: 1.5; }
.tfp-record-card small { grid-column: 2; color: #517260; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.tfp-area-grid { display: flex; flex-direction: column; gap: 8px; }
.tfp-area-grid article { display: grid; grid-template-columns: minmax(180px, 230px) minmax(220px, 1fr) auto; gap: 22px; align-items: center; min-height: 66px; padding: 15px 19px; border: 1px solid var(--tfp-line); border-radius: 10px; background: #fff; }
.tfp-area-grid strong { font-size: 15px; }
.tfp-area-grid span { color: var(--tfp-muted); font-size: 11px; line-height: 1.4; }
.tfp-area-grid article::after { content: "Published"; color: #517260; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-align: right; text-transform: uppercase; }
.tfp-toolbar { display: flex; gap: 12px; margin-bottom: 15px; }
.tfp-toolbar input, .tfp-toolbar select { min-height: 43px; padding: 9px 12px; border: 1px solid #bcc8cf; border-radius: 8px; background: #fff; color: var(--tfp-ink); font: inherit; font-size: 13px; }
.tfp-toolbar input { flex: 1; }
.tfp-contact-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 8px; border: 1px solid var(--tfp-line); border-radius: 12px; background: #fff; }
.tfp-contact-tabs a { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 16px; border: 1px solid var(--tfp-line); border-radius: 9px; color: var(--tfp-brand-dark); background: #f7f9fb; font-weight: 850; text-decoration: none; }
.tfp-contact-tabs a span { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; padding: 2px 7px; border-radius: 999px; background: #e7edf2; color: var(--tfp-brand-dark); font-size: 11px; }
.tfp-contact-tabs a:hover, .tfp-contact-tabs a:focus-visible { border-color: var(--tfp-accent); background: #fffaf0; outline: none; }
.tfp-contact-tabs a.is-active { border-color: var(--tfp-accent); background: var(--tfp-accent); box-shadow: 0 4px 12px rgba(219,166,52,.2); }
.tfp-contact-tabs a.is-active span { background: var(--tfp-brand-dark); color: #fff; }
.tfp-sort-link { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.tfp-sort-link:hover, .tfp-sort-link:focus-visible { color: var(--tfp-brand-blue); text-decoration: underline; text-decoration-color: var(--tfp-accent); text-underline-offset: 4px; outline: none; }
.tfp-sort-link span { min-width: 12px; color: var(--tfp-accent); font-size: 12px; }
.tfp-sort-button { display: inline-flex; align-items: center; gap: 5px; margin: -6px -8px; padding: 6px 8px; border: 0; color: inherit; background: transparent; font: inherit; font-weight: inherit; letter-spacing: inherit; text-align: left; text-transform: inherit; cursor: pointer; }
.tfp-sort-button:hover, .tfp-sort-button:focus-visible { color: var(--tfp-brand-blue); text-decoration: underline; text-decoration-color: var(--tfp-accent); text-underline-offset: 4px; outline: none; }
.tfp-sort-button .tfp-sort-indicator { min-width: 12px; color: var(--tfp-accent); font-size: 12px; }
.tfp-data-table { border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-table-wrap > .tfp-data-table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; box-shadow: none; font-size: 13px; }
.tfp-table-wrap > .tfp-data-table th, .tfp-table-wrap > .tfp-data-table td { padding: 15px 17px; border-bottom: 1px solid var(--tfp-line); text-align: left; vertical-align: top; }
.tfp-table-wrap > .tfp-data-table th { color: var(--tfp-muted); background: #f8fafb; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.tfp-table-wrap > .tfp-data-table td small { display: block; margin-top: 4px; color: var(--tfp-muted); }
.tfp-table-wrap > .tfp-data-table a { color: var(--tfp-brand-dark); font-weight: 800; }
.tfp-client-info-panel { margin-bottom: 22px; }
.tfp-client-info-panel > .tfp-client-info-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.tfp-client-info-header > div { min-width: 0; }
.tfp-client-info-edit { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #c7d7e4; border-radius: 50%; color: var(--tfp-brand-blue); background: #fff; text-decoration: none; transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
.tfp-client-info-edit svg { width: 19px; height: 19px; fill: currentColor; }
.tfp-client-info-edit:hover, .tfp-client-info-edit:focus-visible { border-color: var(--tfp-accent); color: var(--tfp-brand-dark); background: #fff8df; outline: none; transform: translateY(-1px); }
.tfp-client-contact-form { padding: 22px 26px 26px; }
.tfp-client-contact-form .tfp-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
.tfp-client-contact-form .tfp-form-grid label { display: grid; min-width: 0; gap: 7px; color: var(--tfp-brand-dark); font-size: 12px; font-weight: 800; }
.tfp-client-contact-form .tfp-form-grid label span { display: block; line-height: 1.25; }
.tfp-client-contact-form .tfp-form-grid input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 9px 11px; }
.tfp-client-contact-form .tfp-form-actions { position: static; margin-top: 22px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tfp-client-service-history .tfp-table-wrap { overflow-x: auto; }
.tfp-client-service-history tr.is-upcoming td { background: #fffaf0; }
.tfp-client-service-history .tfp-muted { color: var(--tfp-muted); font-size: 11px; }
.tfp-client-service-history + .tfp-client-service-history { margin-top: 22px; }
.tfp-client-properties-overview { margin-top: 22px; }
.tfp-client-cancellation-policy { margin: 20px 24px; padding: 15px 17px; border: 1px solid #e2c66f; border-left: 4px solid var(--tfp-accent); border-radius: 10px; background: #fffaf0; }
.tfp-client-cancellation-policy strong { display: block; margin-bottom: 5px; color: var(--tfp-brand-dark); font-size: 13px; }
.tfp-client-cancellation-policy p { margin: 0; color: var(--tfp-muted); font-size: 12px; line-height: 1.55; }
.tfp-client-booking-bar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; padding: 20px 22px; border: 1px solid #e2c66f; border-radius: 14px; background: #fffaf0; box-shadow: 0 8px 24px rgba(7, 31, 58, .05); }
.tfp-client-booking-bar > div { min-width: 0; }
.tfp-client-booking-bar strong, .tfp-client-booking-bar span { display: block; }
.tfp-client-booking-bar strong { color: var(--tfp-brand-dark); font-size: 17px; }
.tfp-client-booking-bar span { margin-top: 4px; color: var(--tfp-muted); font-size: 11px; line-height: 1.5; }
.tfp-client-booking-bar .tfp-primary-button { flex: 0 0 auto; text-decoration: none; }
.tfp-client-booking-panel { overflow: hidden; }
.tfp-booking-frame-wrap { min-height: 720px; overflow: visible; background: #fff; }
.tfp-booking-frame { display: block; width: 100%; min-height: 720px; border: 0; overflow: hidden; background: #fff; }
.tfp-booking-fallback { margin: 0; padding: 14px 20px 18px; color: var(--tfp-muted); font-size: 12px; text-align: center; }
.tfp-booking-fallback a { color: var(--tfp-brand-blue); font-weight: 700; }
.tfp-client-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.tfp-client-kpi-grid > a { min-width: 0; padding: 20px 22px; border: 1px solid var(--tfp-line); border-top: 4px solid var(--tfp-accent); border-radius: 14px; color: inherit; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.045); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.tfp-client-kpi-grid > a:hover, .tfp-client-kpi-grid > a:focus-visible { border-color: #d9b039; box-shadow: 0 12px 28px rgba(8,41,79,.12); outline: 0; transform: translateY(-2px); }
.tfp-client-kpi-grid span, .tfp-client-kpi-grid strong, .tfp-client-kpi-grid small { display: block; }
.tfp-client-kpi-grid span { color: var(--tfp-muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tfp-client-kpi-grid strong { margin-top: 8px; color: var(--tfp-brand-dark); font-size: 31px; line-height: 1; }
.tfp-client-kpi-grid small { margin-top: 8px; color: var(--tfp-muted); font-size: 10px; line-height: 1.4; }
.tfp-client-service-history { scroll-margin-top: 118px; }
.tfp-client-property-overview { overflow: hidden; margin-bottom: 22px; }
.tfp-client-property-map-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr); min-height: 430px; }
.tfp-client-property-map { position: relative; min-height: 430px; overflow: hidden; background: #dcecf4; }
.tfp-client-map-loading { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 7px; padding: 30px; color: var(--tfp-muted); background: linear-gradient(145deg, #dcecf4, #f5f9fb); text-align: center; }
.tfp-client-map-loading strong { color: var(--tfp-brand-dark); font-size: 18px; }
.tfp-client-map-loading span { max-width: 440px; font-size: 11px; line-height: 1.5; }
.tfp-client-map-loading.is-error { background: #fffaf0; }
.tfp-client-property-list { max-height: 430px; overflow-y: auto; margin: 0; padding: 0; border-left: 1px solid var(--tfp-line); background: #fff; list-style: none; }
.tfp-client-property-list li { margin: 0; border-bottom: 1px solid var(--tfp-line); }
.tfp-client-property-list li:last-child { border-bottom: 0; }
.tfp-client-property-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; width: 100%; box-sizing: border-box; margin: 0; padding: 17px 16px; border: 0; color: var(--tfp-ink); background: #fff; text-align: left; text-decoration: none; cursor: pointer; }
.tfp-client-property-list a:hover, .tfp-client-property-list a:focus-visible { background: #fffaf0; outline: 0; }
.tfp-property-pin-number { display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid #fff; border-radius: 50%; color: var(--tfp-brand-dark); background: var(--tfp-accent); box-shadow: 0 2px 7px rgba(8,41,79,.2); font-size: 12px; font-weight: 900; }
.tfp-client-property-list strong, .tfp-client-property-list small, .tfp-client-property-list em { display: block; }
.tfp-client-property-list strong { color: var(--tfp-brand-dark); font-size: 14px; line-height: 1.25; }
.tfp-client-property-list small { margin-top: 4px; color: var(--tfp-muted); font-size: 10px; line-height: 1.4; }
.tfp-client-property-list em { margin-top: 7px; color: #4d7461; font-size: 9px; font-style: normal; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.tfp-client-map-info { display: grid; gap: 5px; min-width: 190px; padding: 4px 2px; color: #172638; }
.tfp-client-map-info strong { color: #08294f; font-size: 15px; }
.tfp-client-map-info span { font-size: 11px; line-height: 1.4; }
.tfp-client-map-info small { color: #4d7461; font-size: 10px; font-weight: 800; }
.tfp-data-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tfp-data-table th, .tfp-data-table td { padding: 15px 17px; border-bottom: 1px solid var(--tfp-line); text-align: left; }
.tfp-data-table th { color: var(--tfp-muted); background: #f8fafb; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.tfp-data-table td > strong, .tfp-data-table td > small { display: block; }
.tfp-data-table td > small { margin-top: 4px; color: var(--tfp-muted); }
.tfp-list-rows { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-list-rows article, .tfp-list-rows > a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px; border-bottom: 1px solid var(--tfp-line); color: var(--tfp-ink); text-decoration: none; }
.tfp-list-rows article:last-child, .tfp-list-rows > a:last-child { border-bottom: 0; }
.tfp-list-rows strong, .tfp-list-rows span { display: block; }
.tfp-list-rows span { margin-top: 5px; color: var(--tfp-muted); font-size: 12px; }
.tfp-list-rows time { flex: 0 0 auto; color: var(--tfp-muted); font-size: 11px; }
.tfp-date-filter { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; padding: 20px 24px; border-bottom: 1px solid var(--tfp-line); background: #fff; }
.tfp-date-filter label { display: grid; gap: 6px; color: var(--tfp-muted); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.tfp-date-filter input { min-width: 175px; padding: 11px 12px; border: 1px solid #bcc8cf; border-radius: 9px; background: #fff; color: var(--tfp-ink); font: inherit; font-size: 13px; }
.tfp-view-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 5px; width: fit-content; max-width: 100%; border: 1px solid var(--tfp-line); border-radius: 12px; background: #fff; }
.tfp-view-tabs a { padding: 10px 15px; border-radius: 8px; color: var(--tfp-blue); font-weight: 800; text-decoration: none; }
.tfp-view-tabs a:hover, .tfp-view-tabs a:focus-visible { background: #f2f6f9; color: var(--tfp-ink); }
.tfp-view-tabs a.is-active { background: var(--tfp-gold); color: var(--tfp-ink); }
.tfp-report-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--tfp-line); background: #f8fafb; }
.tfp-report-summary > div { padding: 18px 24px; border-right: 1px solid var(--tfp-line); }
.tfp-report-summary > div:last-child { border-right: 0; }
.tfp-report-summary span, .tfp-report-summary strong { display: block; }
.tfp-report-summary span { margin-bottom: 5px; color: var(--tfp-muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.tfp-report-summary strong { color: var(--tfp-ink); font-size: 17px; }
.tfp-report-note { padding: 15px 22px; border-top: 1px solid var(--tfp-line); color: var(--tfp-muted); background: #fffaf0; font-size: 11px; line-height: 1.5; }
.tfp-preview-options > a:hover { background: #fffaf0; }
.tfp-preview-client-form { display: grid; gap: 12px; padding: 18px 20px; border-top: 1px solid var(--tfp-line); background: #fff; }
.tfp-preview-client-form > span { margin: 0; }
.tfp-preview-client-form label { display: grid; gap: 6px; max-width: 520px; }
.tfp-preview-client-form label span { margin: 0; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.tfp-preview-client-form input { min-height: 40px; padding: 8px 11px; border: 1px solid var(--tfp-line); border-radius: 8px; }
.tfp-preview-client-form .tfp-primary-button { width: fit-content; }
.tfp-preview-contact-details { margin: 0; padding: 18px 20px; }
.tfp-preview-contact-details div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--tfp-line); }
.tfp-preview-contact-details div:last-child { border-bottom: 0; }
.tfp-preview-contact-details dt { color: var(--tfp-muted); }
.tfp-preview-contact-details dd { margin: 0; font-weight: 750; text-align: right; }
.tfp-empty-state { padding: 32px; border: 1px dashed #bdc9cf; border-radius: 14px; background: #fff; color: var(--tfp-muted); text-align: center; }
.tfp-connection-state { max-width: 820px; }
.tfp-financial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.tfp-upload-panel { position: sticky; top: 104px; }
.tfp-upload-panel form { display: grid; gap: 17px; padding: 22px; }
.tfp-upload-drop { display: grid; gap: 8px; padding: 18px; border: 1px dashed #9eafb9; border-radius: 10px; background: #f8fafb; }
.tfp-upload-drop > span { font-size: 13px; font-weight: 800; }
.tfp-upload-drop input { max-width: 100%; font-size: 12px; }
.tfp-upload-drop small { color: var(--tfp-muted); font-size: 10px; }
.tfp-financial-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tfp-financial-actions form { margin: 0; }
.tfp-danger-button { padding: 9px 12px; border: 1px solid #efd1cd; border-radius: 8px; background: #fff7f6; color: #9a3c34; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.tfp-section-jump { position: sticky; z-index: 10; top: 94px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 10px; border: 1px solid var(--tfp-line); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(20,32,43,.06); }
.tfp-section-jump a { padding: 8px 11px; border-radius: 7px; color: var(--tfp-brand-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.tfp-section-jump a:hover, .tfp-section-jump a:focus-visible { background: #fff3ce; }
.tfp-record-section { scroll-margin-top: 160px; margin-bottom: 34px; padding: 24px; border: 1px solid var(--tfp-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(20,32,43,.04); }
.tfp-record-section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.tfp-record-section > header h2 { margin: 0 0 6px; font-size: 24px; }
.tfp-record-section > header p:last-child { margin: 0; color: var(--tfp-muted); font-size: 12px; line-height: 1.5; }
.tfp-record-section .tfp-settings-panel { box-shadow: none; }
.tfp-stripe-kpis { margin: 0; padding: 22px; }
.tfp-stripe-connection-panel { margin: 0 22px 22px; }
.tfp-stripe-connection-panel form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; padding: 20px 24px; }
.tfp-stripe-connection-panel .tfp-field { flex: 1; margin: 0; }
.tfp-stripe-connection-panel form + form { padding-top: 0; }
.tfp-client-payment-action { padding: 20px 24px; border-top: 1px solid var(--tfp-line); }
.tfp-saved-payment-methods article { align-items: center; }
.tfp-onsite-payment-form { margin: 0 24px 24px; padding: 24px; border: 1px solid #b7c9d8; border-top: 4px solid var(--tfp-accent); border-radius: 14px; background: #f8fbfd; box-shadow: 0 12px 30px rgba(7,31,58,.08); }
.tfp-onsite-payment-form[hidden] { display: none; }
.tfp-onsite-payment-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.tfp-onsite-payment-heading span { color: var(--tfp-muted); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.tfp-onsite-payment-heading h3 { margin: 5px 0 6px; color: var(--tfp-brand-dark); font-size: 20px; }
.tfp-onsite-payment-heading p { margin: 0; color: var(--tfp-muted); font-size: 13px; line-height: 1.55; }
.tfp-payment-cancel { display: grid; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; place-items: center; border: 1px solid var(--tfp-line); border-radius: 50%; color: var(--tfp-brand-dark); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.tfp-payment-cancel:hover, .tfp-payment-cancel:focus-visible { border-color: var(--tfp-brand); color: #fff; background: var(--tfp-brand); }
.tfp-payment-message { min-height: 20px; margin-bottom: 10px; color: var(--tfp-muted); font-size: 13px; }
.tfp-payment-message.is-error { padding: 10px 12px; border: 1px solid #e3b7b2; border-radius: 8px; color: #8a3028; background: #fff0ee; }
.tfp-stripe-payment-element { min-height: 80px; padding: 18px; border: 1px solid var(--tfp-line); border-radius: 11px; background: #fff; }
.tfp-onsite-payment-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.tfp-onsite-payment-actions button:disabled, .tfp-client-payment-action button:disabled { opacity: .58; cursor: wait; }
.tfp-record-section .tfp-empty-state { min-height: 116px; display: grid; place-items: center; }
.tfp-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.tfp-expiration { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #176148; background: #e3f5ed; font-size: 10px; font-weight: 800; }
.tfp-expiration.is-expired { color: #8a3028; background: #fff0ee; }
.tfp-bank-actions { display: flex; align-items: center; gap: 9px; }
.tfp-bank-actions form { margin: 0; }
.tfp-integration-status { margin: 0 !important; padding: 5px 8px; border-radius: 999px; background: #eef4f8; font-size: 9px !important; font-weight: 800; text-transform: uppercase; }
.tfp-notice.is-preview { border-color: #d7c58f; color: #75550b; background: #fff9e8; }
.tfp-preview-fieldset { display: contents; margin: 0; padding: 0; border: 0; }
.tfp-preview-fieldset:disabled { opacity: .78; }
.tfp-metric { text-decoration: none; }
.tfp-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #265c70; background: #e3f2f6; font-size: 10px; font-weight: 850; white-space: nowrap; }
.tfp-pill.is-new { color: #704f08; background: #fff1c6; }
.tfp-pill.is-warm { color: #87421d; background: #ffeadc; }
.tfp-pill.is-done { color: #176148; background: #e3f5ed; }
.tfp-activity-list { padding: 4px 24px; }
.tfp-activity-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--tfp-line); }
.tfp-activity-list article:last-child { border-bottom: 0; }
.tfp-activity-list p { margin: 4px 0 0; color: var(--tfp-muted); font-size: 12px; }
.tfp-activity-list time { color: var(--tfp-muted); font-size: 11px; }
.tfp-activity-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--tfp-brand); box-shadow: 0 0 0 4px rgba(17,107,130,.12); }
.tfp-activity-dot.is-gold { background: var(--tfp-accent); box-shadow: 0 0 0 4px rgba(219,166,52,.16); }
.tfp-stage-list { display: grid; gap: 12px; }
.tfp-stage-list details { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(20,32,43,.04); }
.tfp-stage-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 19px; background: #f9fbfc; cursor: pointer; list-style: none; }
.tfp-stage-list summary::-webkit-details-marker { display: none; }
.tfp-stage-list summary::after { content: "+"; order: 3; color: var(--tfp-muted); font-size: 18px; font-weight: 500; }
.tfp-stage-list details[open] summary::after { content: "−"; }
.tfp-stage-name { flex: 1; display: flex; align-items: center; gap: 10px; }
.tfp-stage-name i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #81909a; }
.tfp-stage-name i.is-new { background: var(--tfp-accent); }
.tfp-stage-name i.is-contacted { background: #438cab; }
.tfp-stage-name i.is-estimate { background: #d47f47; }
.tfp-stage-name i.is-scheduled { background: #2b8b65; }
.tfp-stage-name strong { font-size: 14px; }
.tfp-stage-name small { color: var(--tfp-muted); font-size: 11px; }
.tfp-stage-total { color: var(--tfp-sidebar); font-size: 13px; font-weight: 850; }
.tfp-stage-body { border-top: 1px solid var(--tfp-line); }
.tfp-pipeline-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; padding: 9px; border: 1px solid var(--tfp-line); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(5,35,66,.04); }
.tfp-pipeline-filter > span { margin: 0 5px 0 3px; color: var(--tfp-muted); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.tfp-pipeline-filter a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 14px; border: 1px solid var(--tfp-line); border-radius: 8px; color: var(--tfp-brand-dark); background: #f7f9fb; font-size: 11px; font-weight: 850; line-height: 1; text-decoration: none; }
.tfp-pipeline-filter a:hover, .tfp-pipeline-filter a:focus-visible { border-color: var(--tfp-accent); color: var(--tfp-brand-dark); background: #fffaf0; outline: none; }
.tfp-pipeline-filter a.is-active { border-color: var(--tfp-accent); color: var(--tfp-brand-dark); background: var(--tfp-accent); box-shadow: 0 4px 12px rgba(219,166,52,.2); }
.tfp-pipeline-command-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.tfp-pipeline-command-bar article { min-width: 0; padding: 17px 18px; border: 1px solid var(--tfp-line); border-top: 4px solid #8ca0b4; border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(5,35,66,.05); }
.tfp-pipeline-command-bar article.is-red { border-top-color: #cf3f3f; background: #fffafa; }
.tfp-pipeline-command-bar article.is-green { border-top-color: #23865e; background: #f8fdfb; }
.tfp-pipeline-command-bar article.is-warning { border-top-color: #d49a16; background: #fffbef; }
.tfp-pipeline-command-bar span, .tfp-pipeline-command-bar strong, .tfp-pipeline-command-bar small { display: block; }
.tfp-pipeline-command-bar span { color: var(--tfp-muted); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.tfp-pipeline-command-bar span b { margin-right: 3px; font-size: 15px; letter-spacing: 0; }
.tfp-pipeline-command-bar strong { margin: 7px 0 5px; color: var(--tfp-brand-dark); font-size: clamp(18px, 2vw, 27px); line-height: 1.05; }
.tfp-pipeline-command-bar small { color: var(--tfp-muted); font-size: 9px; line-height: 1.4; }
.tfp-pipeline-guidance { margin: 0 0 16px; padding: 13px 16px; border-left: 4px solid var(--tfp-accent); border-radius: 0 9px 9px 0; color: var(--tfp-muted); background: #fffaf0; font-size: 11px; line-height: 1.5; }
.tfp-pipeline-guidance strong { color: var(--tfp-brand-dark); }
.tfp-pipeline-row { width: 100%; display: grid; grid-template-columns: .72fr 1.45fr 1fr 1.35fr .8fr; gap: 16px; align-items: center; padding: 14px 19px; border: 0; border-bottom: 1px solid var(--tfp-line); background: #fff; color: var(--tfp-ink); font: inherit; font-size: 12px; text-align: left; }
button.tfp-pipeline-row { cursor: pointer; }
button.tfp-pipeline-row:hover, button.tfp-pipeline-row:focus-visible { background: #fffaf0; outline: none; box-shadow: inset 4px 0 0 var(--tfp-accent); }
button.tfp-pipeline-row.is-red { background: #fffafa; box-shadow: inset 4px 0 0 #cf3f3f; }
button.tfp-pipeline-row.is-green { box-shadow: inset 4px 0 0 #23865e; }
button.tfp-pipeline-row.is-warning { background: #fffcf4; box-shadow: inset 4px 0 0 #d49a16; }
.tfp-pipeline-row:last-child { border-bottom: 0; }
.tfp-pipeline-row strong { font-size: 12px; }
.tfp-pipeline-row span { min-width: 0; color: var(--tfp-muted); }
.tfp-pipeline-row span:nth-child(4) { color: var(--tfp-sidebar); font-weight: 800; }
.tfp-health-cell, .tfp-pipeline-identity { display: grid; gap: 3px; }
.tfp-health-cell { grid-template-columns: 20px 1fr; align-items: center; }
.tfp-health-cell i { width: 20px; grid-row: 1 / span 2; font-size: 14px; font-style: normal; line-height: 1; }
.tfp-health-cell strong { color: var(--tfp-brand-dark); }
.tfp-health-cell small, .tfp-pipeline-identity small { color: var(--tfp-muted); font-size: 9px; line-height: 1.35; }
.tfp-pipeline-identity strong { overflow-wrap: anywhere; color: var(--tfp-ink); }
.tfp-next-action { line-height: 1.4; }
.tfp-pipeline-row .is-urgent { color: #9b521f; font-weight: 800; }
.tfp-pipeline-head { padding-top: 10px; padding-bottom: 10px; background: #f5f7f8; }
.tfp-pipeline-head span { font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tfp-pipeline-list { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(5, 35, 66, .05); }
.tfp-pipeline-row:disabled { opacity: .6; cursor: default; }
.tfp-conversation-layout { min-height: 560px; display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; }
.tfp-thread-list { border-right: 1px solid var(--tfp-line); }
.tfp-thread-list button { width: 100%; display: grid; gap: 5px; padding: 18px; border: 0; border-bottom: 1px solid var(--tfp-line); background: #fff; color: var(--tfp-ink); text-align: left; cursor: pointer; }
.tfp-thread-list button.is-active { box-shadow: inset 4px 0 0 var(--tfp-accent); background: #fff9e8; }
.tfp-thread-list span { overflow: hidden; color: var(--tfp-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tfp-thread-list small { color: var(--tfp-brand-dark); font-size: 10px; }
.tfp-message-panel { display: flex; flex-direction: column; min-width: 0; }
.tfp-message-panel > header { display: flex; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--tfp-line); }
.tfp-message-panel header strong, .tfp-message-panel header span { display: block; }
.tfp-message-panel header span { margin-top: 3px; color: var(--tfp-muted); font-size: 11px; }
.tfp-message-panel header button, .tfp-appointment-list button { border: 1px solid var(--tfp-line); border-radius: 7px; background: #fff; color: var(--tfp-brand-dark); font-weight: 750; }
.tfp-message-stream { flex: 1; display: flex; flex-direction: column; gap: 13px; padding: 24px; background: #f8fafb; }
.tfp-message-stream p { max-width: 70%; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.tfp-message-stream .is-inbound { align-self: flex-start; border: 1px solid var(--tfp-line); background: #fff; }
.tfp-message-stream .is-outbound { align-self: flex-end; color: #fff; background: var(--tfp-sidebar); }
.tfp-message-panel footer { display: flex; gap: 12px; padding: 16px; border-top: 1px solid var(--tfp-line); }
.tfp-message-panel textarea { flex: 1; padding: 10px; border: 1px solid #bcc8cf; border-radius: 8px; font: inherit; }
.tfp-appointment-list { display: grid; gap: 13px; }
.tfp-appointment-list article { display: grid; grid-template-columns: 66px 1fr auto; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--tfp-line); border-radius: 13px; background: #fff; }
.tfp-appointment-list time { display: grid; justify-items: center; padding: 10px; border-radius: 9px; color: #fff; background: var(--tfp-sidebar); }
.tfp-appointment-list time strong { font-size: 22px; }
.tfp-appointment-list time span { font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.tfp-appointment-list h2 { margin: 8px 0 4px; font-size: 16px; }
.tfp-appointment-list p { margin: 0; color: var(--tfp-muted); font-size: 12px; }
.tfp-appointment-list button { padding: 9px 13px; }
.tfp-back-link { margin: 0 0 20px; padding: 0; border: 0; background: transparent; color: var(--tfp-brand-dark); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.tfp-page-back-link { display: inline-block; margin-bottom: 14px; }
.tfp-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.tfp-detail-heading h1 { margin-bottom: 7px; }
.tfp-detail-heading p:last-child { margin: 0; color: var(--tfp-muted); font-size: 13px; }
.tfp-detail-actions { display: flex; align-items: center; gap: 9px; }
.tfp-ghl-icon-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8d7e2;
    border-radius: 50%;
    background: #fff;
    color: #0b4f79;
    box-shadow: 0 5px 16px rgba(7, 43, 78, .08);
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.tfp-ghl-icon-link:hover,
.tfp-ghl-icon-link:focus {
    border-color: #0b4f79;
    background: #0b4f79;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}
.tfp-ghl-icon-link:focus-visible { box-shadow: 0 0 0 3px rgba(226, 170, 44, .35); }
.tfp-ghl-icon-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tfp-secondary-button, .tfp-danger-link { padding: 11px 15px; border: 1px solid var(--tfp-line); border-radius: 8px; background: #fff; color: var(--tfp-brand-dark); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.tfp-danger-link { display: block; width: 100%; margin-top: 12px; border-color: #efd1cd; color: #9a3c34; background: #fff7f6; }
.tfp-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 20px; align-items: start; }
.tfp-detail-main { display: grid; gap: 20px; min-width: 0; }
.tfp-detail-sidebar { position: sticky; top: 86px; }
.tfp-detail-card { padding: 22px; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-detail-card h2 { margin: 14px 0 17px; font-size: 18px; }
.tfp-detail-card p { color: var(--tfp-muted); font-size: 11px; line-height: 1.55; }
.tfp-detail-card dl { margin: 0 0 17px; }
.tfp-detail-card dl div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--tfp-line); font-size: 11px; }
.tfp-detail-card dt { color: var(--tfp-muted); }
.tfp-detail-card dd { margin: 0; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.tfp-detail-card > label { display: grid; gap: 7px; margin: 16px 0; color: var(--tfp-muted); font-size: 11px; }
.tfp-detail-card > label input { min-height: 39px; padding: 9px 10px; border: 1px solid #bcc8cf; border-radius: 7px; font: inherit; }
.tfp-detail-card .tfp-secondary-button { width: 100%; }
.tfp-lock-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #75550b; background: #fff1c6; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.tfp-contact-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 22px; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; }
.tfp-contact-hero > div:first-child { display: flex; align-items: center; gap: 14px; }
.tfp-contact-hero h2 { margin: 0 0 4px; font-size: 20px; }
.tfp-contact-hero p { margin: 0; color: var(--tfp-muted); font-size: 12px; }
.tfp-contact-hero .tfp-contact-type-line { display: block; margin-top: 4px; color: #167042; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.tfp-contact-hero .tfp-customer-since { margin-top: 7px; color: var(--tfp-brand-dark); font-size: 12px; font-weight: 750; }
.tfp-contact-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: -8px 0 20px; }
.tfp-contact-kpis article { padding: 17px 20px; border: 1px solid var(--tfp-line); border-top: 4px solid var(--tfp-accent); border-radius: 11px; background: #fff; }
.tfp-contact-kpis span, .tfp-contact-kpis strong { display: block; }
.tfp-contact-kpis span { color: var(--tfp-muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tfp-contact-kpis strong { margin-top: 7px; color: var(--tfp-brand-dark); font-size: 24px; line-height: 1; }
.tfp-contact-sidebar { padding: 18px; }
.tfp-contact-sidebar > h2 { margin: 13px 0 14px; }
.tfp-contact-job-button { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tfp-contact-job-button:hover, .tfp-contact-job-button:focus-visible { background: #fff8e8; }
.tfp-job-confirmation { max-width: 860px; padding: clamp(28px, 5vw, 58px); text-align: center; }
.tfp-job-confirmation-icon { display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #e2f4e9; color: #167042; font-size: 42px; font-weight: 900; }
.tfp-job-confirmation h2 { max-width: 720px; margin: 6px auto 10px; color: #071f41; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; overflow-wrap: anywhere; text-wrap: balance; }
.tfp-job-confirmation > p:not(.tfp-eyebrow) { max-width: 660px; margin: 0 auto 28px; color: #617083; font-size: 17px; line-height: 1.55; }
.tfp-job-confirmation-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 28px; overflow: hidden; border: 1px solid #d8e5ef; border-radius: 14px; background: #f8fbfe; text-align: left; }
.tfp-job-confirmation-details div { padding: 18px 20px; border-bottom: 1px solid #d8e5ef; }
.tfp-job-confirmation-details div:nth-child(odd) { border-right: 1px solid #d8e5ef; }
.tfp-job-confirmation-details dt { margin-bottom: 5px; color: #617083; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tfp-job-confirmation-details dd { margin: 0; color: #071f41; font-weight: 800; overflow-wrap: anywhere; }
.tfp-job-confirmation-actions { justify-content: center; gap: 10px; }
@media (max-width: 700px) {
    .tfp-job-confirmation-details { grid-template-columns: 1fr; }
    .tfp-job-confirmation-details div:nth-child(odd) { border-right: 0; }
    .tfp-job-confirmation-actions { align-items: stretch; flex-direction: column; }
}
.tfp-contact-side-nav { overflow: hidden; margin: 0 -4px; border: 1px solid var(--tfp-line); border-radius: 10px; }
.tfp-contact-side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-bottom: 1px solid var(--tfp-line); color: var(--tfp-brand-dark); text-decoration: none; }
.tfp-contact-side-nav a:last-child { border-bottom: 0; }
.tfp-contact-side-nav a:hover { background: #fff8e8; box-shadow: inset 3px 0 0 var(--tfp-accent); }
.tfp-contact-side-nav span { font-size: 10px; font-weight: 800; }
.tfp-contact-side-nav small { display: block; margin-top: 2px; color: var(--tfp-muted); font-size: 8px; font-weight: 650; }
.tfp-contact-side-nav strong { min-width: 28px; color: var(--tfp-brand-dark); font-size: 16px; text-align: right; }
#contact-details, #contact-properties, #contact-smart-meters, #contact-jobs, #contact-appointments, #contact-conversations, #contact-invoices { scroll-margin-top: 98px; }
.tfp-avatar, .tfp-calendar-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--tfp-sidebar); font-size: 15px; font-weight: 850; }
.tfp-performance-period { min-height: 40px; padding: 8px 12px; border: 1px solid var(--tfp-line); border-radius: 8px; background: #fff; color: var(--tfp-ink); font: inherit; font-size: 12px; font-weight: 750; }
.tfp-performance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.tfp-performance-metric { min-width: 0; padding: 18px; border: 1px solid var(--tfp-line); border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-performance-metric span, .tfp-performance-metric strong, .tfp-performance-metric small { display: block; }
.tfp-performance-metric span { color: var(--tfp-muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.tfp-performance-metric strong { margin: 9px 0 5px; color: var(--tfp-ink); font-size: 26px; }
.tfp-performance-metric small { color: var(--tfp-muted); font-size: 10px; line-height: 1.4; }
.tfp-connection-list { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-connection-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(210px, 1.5fr) minmax(115px, .65fr) auto; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--tfp-line); }
.tfp-connection-row:last-child { border-bottom: 0; }
.tfp-connection-row strong, .tfp-connection-row small { display: block; }
.tfp-connection-row small { margin-top: 4px; color: var(--tfp-muted); font-size: 10px; line-height: 1.45; }
.tfp-integration-mark { display: flex; align-items: center; gap: 11px; }
.tfp-integration-mark i { width: 38px; height: 38px; display: grid; place-items:center; flex: 0 0 auto; border-radius: 10px; color: #fff; background: var(--tfp-sidebar); font-size: 11px; font-style: normal; font-weight: 900; }
.tfp-integration-status { color: #8a6320; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.tfp-connection-row button { padding: 9px 13px; border: 1px solid var(--tfp-accent); border-radius: 8px; background: #fffaf0; color: var(--tfp-brand-dark); font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.tfp-attribution-head, .tfp-attribution-row { display: grid; grid-template-columns: minmax(160px, 1.4fr) repeat(4, minmax(85px, .7fr)); gap: 14px; align-items: center; padding: 13px 18px; }
.tfp-attribution-head { border-bottom: 1px solid var(--tfp-line); background: #f8fafb; color: var(--tfp-muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tfp-attribution-row { color: var(--tfp-muted); font-size: 11px; }
.tfp-attribution-row strong { color: var(--tfp-ink); }
.tfp-integration-note { margin-top: 12px; color: var(--tfp-muted); font-size: 10px; line-height: 1.5; }
.tfp-map-panel { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,43,.04); }
.tfp-map-panel > header { padding: 19px 20px; border-bottom: 1px solid var(--tfp-line); }
.tfp-map-panel h2 { margin: 0 0 5px; font-size: 18px; }
.tfp-map-panel header p { margin: 0; color: var(--tfp-muted); font-size: 11px; }
.tfp-map-canvas { position: relative; min-height: 420px; background: #d8ebf1; }
.tfp-google-map { display: none; width: 100%; height: 610px; }
.tfp-map-canvas.is-google-ready .tfp-google-map { display: block; }
.tfp-map-canvas.is-google-ready .tfp-map-setup { display: none; }
.tfp-map-setup { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; padding: 32px; color: var(--tfp-muted); background: linear-gradient(135deg,#d8ebf1,#eff6f2); text-align: center; }
.tfp-map-setup strong { color: var(--tfp-ink); font-size: 18px; }
.tfp-map-setup p { max-width: 470px; line-height: 1.55; }
.tfp-map-error { display: none; padding: 14px; color: #87421d; background: #fff4ed; font-size: 11px; }
.tfp-map-canvas.has-google-error .tfp-map-error { display: block; position: relative; z-index: 2; }
.tfp-map-legend { display: flex; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--tfp-line); color: var(--tfp-muted); background: #fff; font-size: 10px; }
.tfp-map-legend span:before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: rgba(219,166,52,.65); vertical-align: -1px; }
.tfp-portal-record-list { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 12px; background: #fff; }
.tfp-portal-record-list > article { display: grid; grid-template-columns: minmax(180px,1fr) auto; gap: 12px 20px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--tfp-line); }
.tfp-portal-record-list > article:last-child { border-bottom: 0; }
.tfp-portal-record-list strong, .tfp-portal-record-list small { display: block; }
.tfp-portal-record-list small { margin-top: 4px; color: var(--tfp-muted); font-size: 10px; }
.tfp-property-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.tfp-client-properties .tfp-property-grid { grid-template-columns: 1fr; }
.tfp-property-card { min-width: 0; overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(20,32,43,.07); }
.tfp-property-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 3px solid var(--tfp-accent); background: var(--tfp-sidebar); color: #fff; cursor: pointer; list-style: none; }
.tfp-property-card > summary::-webkit-details-marker { display: none; }
.tfp-property-card:not([open]) > summary { border-bottom-color: transparent; }
.tfp-property-card h3 { margin: 5px 0 0; color: #fff; font-size: clamp(22px,2.2vw,32px); line-height: 1.12; overflow-wrap: anywhere; }
.tfp-property-label { color: var(--tfp-accent); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tfp-property-summary-meta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tfp-meter-count { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tfp-property-toggle { position: relative; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); }
.tfp-property-toggle::before, .tfp-property-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%,-50%); }
.tfp-property-toggle::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .16s ease; }
.tfp-property-card[open] .tfp-property-toggle::after { transform: translate(-50%,-50%) rotate(0deg); }
.tfp-property-card-body { background: #fff; }
.tfp-property-mini-map { position: relative; min-height: 330px; overflow: hidden; border-bottom: 1px solid var(--tfp-line); background: #dcecf4; }
.tfp-property-mini-map > div { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 24px; color: var(--tfp-muted); background: linear-gradient(145deg,#dcecf4,#f5f9fb); text-align: center; }
.tfp-property-mini-map > div strong { color: var(--tfp-brand-dark); font-size: 18px; }
.tfp-property-mini-map > div span { font-size: 11px; }
.tfp-record-photo-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; padding: 22px 26px 0; }
.tfp-record-photo-gallery a { position: relative; min-height: 160px; overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 12px; background: #edf3f7; text-decoration: none; }
.tfp-record-photo-gallery img { display: block; width: 100%; height: 180px; object-fit: cover; transition: transform .2s ease; }
.tfp-record-photo-gallery a:hover img, .tfp-record-photo-gallery a:focus-visible img { transform: scale(1.025); }
.tfp-record-photo-gallery a:focus-visible { outline: 3px solid rgba(230,171,39,.45); outline-offset: 2px; }
.tfp-record-photo-gallery span { position: absolute; right: 0; bottom: 0; left: 0; padding: 9px 11px; color: #fff; background: linear-gradient(transparent,rgba(5,30,58,.88)); font-size: 10px; font-weight: 800; }
.tfp-property-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; margin: 0; padding: 24px 26px; }
.tfp-property-details div { min-width: 0; }
.tfp-property-details dt { margin: 0 0 5px; color: var(--tfp-muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tfp-property-details dd { margin: 0; color: var(--tfp-ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.tfp-moen-account { display: grid; gap: 16px; margin: 0 26px 24px; padding: 20px; border: 1px solid #d7c070; border-left: 5px solid var(--tfp-accent); border-radius: 12px; background: #fffaf0; }
.tfp-moen-account header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.tfp-moen-account header span { display: block; margin-bottom: 4px; color: #8b6812; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tfp-moen-account header h4 { margin: 0; color: var(--tfp-sidebar); font-size: 17px; }
.tfp-moen-account header p, .tfp-moen-update-note { margin: 5px 0 0; color: var(--tfp-muted); font-size: 11px; line-height: 1.5; }
.tfp-moen-credentials { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.tfp-moen-credentials > div { min-width: 0; padding: 14px; border: 1px solid #e1d7b5; border-radius: 9px; background: #fff; }
.tfp-moen-credentials > div > span { display: block; margin-bottom: 7px; color: var(--tfp-muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tfp-moen-copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tfp-moen-copy-row strong { min-width: 0; color: var(--tfp-sidebar); font-size: 12px; overflow-wrap: anywhere; }
.tfp-moen-copy-row strong.tfp-masked-password { font-size: 18px; letter-spacing: .12em; line-height: 1; }
.tfp-moen-copy-row button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--tfp-brand-dark); border-radius: 7px; color: var(--tfp-brand-dark); background: #fff; font: inherit; font-size: 9px; font-weight: 850; line-height: 1.2; cursor: pointer; }
.tfp-moen-copy-row button:hover, .tfp-moen-copy-row button:focus-visible { border-color: var(--tfp-accent); color: var(--tfp-sidebar); background: #fff9e8; outline: 0; }
.tfp-moen-account .tfp-meter-app-links { justify-content: flex-start; }
.tfp-moen-update-note { padding-top: 12px; border-top: 1px solid #e1d7b5; }
.tfp-property-password-notice { display: grid; gap: 4px; margin: 0 26px 24px; padding: 14px 16px; border: 1px solid #e1c46d; border-left: 4px solid var(--tfp-accent); border-radius: 9px; color: var(--tfp-ink); background: #fff9e8; }
.tfp-property-password-notice strong { color: var(--tfp-sidebar); font-size: 12px; }
.tfp-property-password-notice span { color: var(--tfp-muted); font-size: 11px; line-height: 1.5; }
.tfp-property-history { padding: 22px 26px 26px; border-top: 1px solid var(--tfp-line); background: #fff; }
.tfp-property-history h4 { margin: 0 0 14px; color: var(--tfp-blue); font-size: 15px; }
.tfp-property-job-list { display: grid; gap: 8px; }
.tfp-property-job-list > a, .tfp-property-job-list > div { display: grid; grid-template-columns: minmax(105px, auto) auto auto minmax(90px, 1fr) auto; gap: 8px; align-items: center; min-width: 0; padding: 13px 14px; border: 1px solid var(--tfp-line); border-left: 4px solid var(--tfp-accent); border-radius: 9px; color: var(--tfp-ink); background: #f9fbfc; text-decoration: none; }
.tfp-property-job-list > a:hover, .tfp-property-job-list > a:focus-visible { border-color: #d7b658; background: #fffaf0; outline: 0; }
.tfp-property-job-list time { color: var(--tfp-muted); font-size: 10px; white-space: nowrap; }
.tfp-property-job-list strong { color: var(--tfp-brand-dark); font-size: 13px; white-space: nowrap; }
.tfp-property-job-list b { color: var(--tfp-ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.tfp-property-job-list em { justify-self: end; color: var(--tfp-brand-blue); font-size: 9px; font-style: normal; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tfp-no-jobs { padding: 15px 16px; border: 1px dashed #bdcad5; border-radius: 10px; color: var(--tfp-muted); background: #f8fbfe; font-size: 12px; }
.tfp-property-meters { padding: 22px 26px 26px; border-top: 1px solid var(--tfp-line); background: #f8fbfe; }
.tfp-property-meters h4 { margin: 0 0 14px; color: var(--tfp-blue); font-size: 15px; }
.tfp-property-meter-list { display: grid; gap: 12px; }
.tfp-property-meter-list article { padding: 15px 16px; border: 1px solid var(--tfp-line); border-left: 4px solid var(--tfp-accent); border-radius: 10px; background: #fff; }
.tfp-meter-photo-strip { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 2px; }
.tfp-meter-photo-strip a { flex: 0 0 118px; overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 9px; background: #edf3f7; }
.tfp-meter-photo-strip img { display: block; width: 118px; height: 92px; object-fit: cover; }
.tfp-job-photo-strip { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.tfp-job-photo-strip a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--tfp-line); background: #edf3f7; }
.tfp-job-photo-strip img { display: block; width: 74px; height: 58px; border-radius: 8px; object-fit: cover; }
.tfp-property-job-list .tfp-job-photo-strip { flex: 1 0 100%; margin-top: 4px; }
.tfp-property-job-list .tfp-job-photo-strip img { width: 64px; height: 50px; }
.tfp-property-meter-list strong, .tfp-property-meter-list small { display: block; }
.tfp-property-meter-list strong { color: var(--tfp-sidebar); font-size: 14px; }
.tfp-property-meter-list small { margin-top: 4px; color: var(--tfp-muted); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.tfp-meter-app-downloads { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 14px; padding: 15px 16px; border: 1px solid #cbd8e2; border-radius: 10px; background: #fff; }
.tfp-meter-app-downloads > div:first-child { display: grid; gap: 3px; min-width: 0; }
.tfp-meter-app-downloads strong { color: var(--tfp-sidebar); font-size: 13px; }
.tfp-meter-app-downloads span { color: var(--tfp-muted); font-size: 10px; line-height: 1.45; }
.tfp-meter-app-links { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tfp-meter-app-links a, .tfp-meter-app-links a:visited { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 2px solid #d79d20 !important; border-radius: 9px; color: #071f3a !important; background: #e6ab27 !important; box-shadow: 0 5px 12px rgba(7,31,58,.12); font-size: 11px; font-weight: 900; line-height: 1.2; text-decoration: none !important; text-shadow: none; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.tfp-meter-app-links a:hover, .tfp-meter-app-links a:focus-visible { border-color: #071f3a !important; color: #fff !important; background: #071f3a !important; box-shadow: 0 8px 18px rgba(7,31,58,.22); outline: 0; transform: translateY(-1px); }
.tfp-no-meter { padding: 16px; border: 1px dashed #bdcad5; border-radius: 10px; color: var(--tfp-muted); background: #fff; font-size: 13px; }
.tfp-client-meter-records > article { grid-template-columns: auto minmax(0,1fr); align-items: start; }
.tfp-client-meter-records .tfp-meter-photo-strip { max-width: 390px; margin: 0; }
.tfp-record-links { display: flex; gap: 12px; }
.tfp-record-links a { color: var(--tfp-brand-dark); font-size: 11px; font-weight: 800; }
.tfp-portal-editor { grid-column: 1 / -1; border: 1px solid var(--tfp-line); border-radius: 10px; background: #f8fafb; }
.tfp-portal-editor > summary { padding: 12px 14px; color: var(--tfp-brand-dark); font-size: 11px; font-weight: 850; cursor: pointer; }
.tfp-portal-editor > form { display: grid; gap: 14px; padding: 16px; border-top: 1px solid var(--tfp-line); }
.tfp-pipeline-booking { margin-bottom: 20px; border-color: #d7c070; background: #fffaf0; }
.tfp-pipeline-booking > summary { padding: 15px 17px; color: #071f3a; font-size: 12px; }
.tfp-portal-editor label, .tfp-inline-record-form label { display: grid; gap: 6px; color: var(--tfp-muted); font-size: 10px; font-weight: 800; }
.tfp-portal-editor input, .tfp-portal-editor textarea, .tfp-portal-editor select, .tfp-inline-record-form input { min-width: 0; padding: 10px 11px; border: 1px solid #bcc8cf; border-radius: 8px; background: #fff; color: var(--tfp-ink); font: inherit; }

.tfp-action-form-card {
    overflow: hidden;
    border: 1px solid var(--tfp-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(12, 47, 78, .06);
}
.tfp-action-form-card__header { padding: 28px 30px 24px; border-bottom: 1px solid var(--tfp-line); }
.tfp-action-form-card__header h2 { margin: 12px 0 8px; color: var(--tfp-ink); font-size: clamp(24px, 2vw, 34px); line-height: 1.1; }
.tfp-action-form-card__header p { max-width: 900px; margin: 0; color: var(--tfp-muted); font-size: 16px; line-height: 1.55; }
.tfp-unified-form { display: grid; gap: 22px; padding: 28px 30px 32px; }
.tfp-unified-form .tfp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.tfp-unified-form label { display: grid; align-content: start; gap: 7px; min-width: 0; color: var(--tfp-brand-dark); font-size: 12px; font-weight: 850; }
.tfp-unified-form label.is-full { grid-column: 1 / -1; }
.tfp-unified-form input,
.tfp-unified-form select,
.tfp-unified-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #b8c9d5;
    border-radius: 10px;
    background: #fff;
    color: var(--tfp-ink);
    font: inherit;
    font-weight: 600;
    line-height: 1.35;
}
.tfp-unified-form textarea { min-height: 126px; resize: vertical; }
.tfp-unified-form input:focus,
.tfp-unified-form select:focus,
.tfp-unified-form textarea:focus { outline: 3px solid rgba(18, 110, 181, .16); border-color: #126eb5; box-shadow: none; }
.tfp-unified-form small { color: var(--tfp-muted); font-size: 12px; font-weight: 500; line-height: 1.4; }
.tfp-form-guidance { padding: 16px 18px; border-left: 4px solid var(--tfp-gold); border-radius: 8px; background: #fff8e5; color: var(--tfp-muted); }
.tfp-form-guidance strong { display: block; margin-bottom: 4px; color: var(--tfp-brand-dark); }
.tfp-form-guidance p { margin: 0; }
.tfp-association-panel { border: 1px solid var(--tfp-line); border-radius: 12px; background: #f7fafc; }
.tfp-association-panel > summary { padding: 16px 18px; color: var(--tfp-brand-dark); font-weight: 850; cursor: pointer; }
.tfp-association-panel[open] > summary { border-bottom: 1px solid var(--tfp-line); }
.tfp-association-panel > p { margin: 18px 18px 0; color: var(--tfp-muted); }
.tfp-association-panel > .tfp-form-grid { padding: 18px; }
.tfp-employee-editor { margin-bottom: 20px; background: #fff; }
.tfp-employee-editor .tfp-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tfp-employee-editor .tfp-form-grid input { box-sizing: border-box; width: 100%; }
.tfp-employee-editor .tfp-primary-button { justify-self: start; }
.tfp-contact-editor { margin-bottom: 20px; background: #fff; }
.tfp-contact-editor .tfp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.tfp-contact-editor .tfp-contact-address-grid { grid-template-columns: minmax(160px,2fr) minmax(90px,1fr) minmax(110px,1fr) minmax(90px,1fr); }
.tfp-contact-editor .tfp-primary-button { justify-self: start; }
.tfp-contact-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(250px, 290px); }
.tfp-contact-main { grid-template-columns: minmax(0, 1fr); align-items: start; }
.tfp-contact-main > #contact-conversations { grid-column: 1; grid-row: auto; order: 1; }
.tfp-contact-main > :not(#contact-conversations) { grid-column: 1; order: 2; }
.tfp-contact-sidebar { position: sticky; }
.tfp-contact-sidebar-details { margin: -2px -2px 0; padding: 2px 2px 0; border-bottom: 0; }
.tfp-contact-sidebar-details h2 { margin: 0 0 12px; padding-right: 104px; }
.tfp-contact-sidebar-details dl { display: grid; gap: 10px; margin: 0; }
.tfp-contact-sidebar-details dl div { display: grid; gap: 3px; min-width: 0; }
.tfp-contact-sidebar-details dl div:last-child { border-bottom: 0; }
.tfp-contact-sidebar-details dt { color: var(--tfp-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.tfp-contact-sidebar-details dd { overflow-wrap: anywhere; margin: 0; color: var(--tfp-brand-dark); font-size: 11px; font-weight: 800; }
.tfp-contact-sidebar-editor {
    position: absolute;
    z-index: 6;
    top: 24px;
    right: 24px;
    width: auto;
    margin: 0;
    padding: 0;
    border-top: 0;
}
.tfp-contact-icon-editor { display: block; border: 0; border-radius: 0; background: transparent; }
.tfp-contact-icon-editor > summary {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 4px 0 4px 8px;
    border: 0;
    border-radius: 0;
    color: #0b4f79;
    background: transparent;
    font-size: 10px;
    font-weight: 850;
    list-style: none;
}
.tfp-contact-icon-editor > summary::-webkit-details-marker { display: none; }
.tfp-contact-icon-editor > summary:hover,
.tfp-contact-icon-editor > summary:focus-visible { color: #0874b7; background: transparent; }
.tfp-contact-icon-editor > summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tfp-contact-icon-editor[open] > summary { margin-bottom: 12px; }
.tfp-contact-icon-editor > form {
    position: absolute;
    top: 36px;
    right: 0;
    width: min(520px, calc(100vw - 80px));
    border: 1px solid var(--tfp-line);
    border-radius: 10px;
    background: #f8fafb;
    box-shadow: 0 18px 45px rgba(7,31,58,.2);
}
.tfp-contact-notes-panel { margin: 0 -2px 18px; padding: 0 2px 18px; border-bottom: 1px solid var(--tfp-line); }
.tfp-contact-notes-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tfp-contact-notes-heading h2 { margin: 0; }
.tfp-contact-notes-list { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.tfp-contact-notes-list article { padding: 10px; border: 1px solid var(--tfp-line); border-radius: 10px; background: #f7fafc; }
.tfp-contact-notes-list p { margin: 0; overflow-wrap: anywhere; color: var(--tfp-brand-dark); font-size: 11px; line-height: 1.5; }
.tfp-contact-notes-list time { display: block; margin-top: 7px; color: var(--tfp-muted); font-size: 9px; font-weight: 700; }
.tfp-contact-notes-empty { margin: 0 0 12px; color: var(--tfp-muted); font-size: 11px; }
.tfp-contact-sidebar-schedule {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 10px 14px;
    border: 1px solid #d6a329;
    border-radius: 10px;
    color: var(--tfp-brand-dark);
    background: #fff7e3;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.tfp-contact-sidebar-schedule:hover,
.tfp-contact-sidebar-schedule:focus-visible {
    border-color: var(--tfp-brand-dark);
    color: #fff;
    background: var(--tfp-brand-dark);
    transform: translateY(-1px);
}
.tfp-contact-sidebar-schedule svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tfp-contact-sidebar-schedule + .tfp-contact-sidebar-followup { margin-top: -12px; }
.tfp-contact-sidebar-schedule.is-disabled {
    cursor: not-allowed;
    border-color: #cbd3da;
    color: #7a8792;
    background: #eef1f3;
    transform: none;
}
.tfp-contact-sidebar-schedule.is-disabled:hover { border-color: #cbd3da; color: #7a8792; background: #eef1f3; transform: none; }
.tfp-contact-note-form { display: grid; gap: 10px; margin-top: 12px; }
.tfp-contact-note-form label { display: grid; gap: 6px; }
.tfp-contact-note-form label > span { color: var(--tfp-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.tfp-contact-note-form textarea { width: 100%; min-height: 110px; resize: vertical; }
.tfp-contact-note-form .tfp-primary-button { width: 100%; justify-content: center; }
.tfp-contact-sidebar-editor .tfp-form-grid,
.tfp-contact-sidebar-editor .tfp-contact-address-grid { grid-template-columns: 1fr; }
.tfp-contact-summary-panel { display: block; margin-bottom: 20px; }
.tfp-contact-summary-panel .tfp-contact-side-nav { display: grid; grid-template-columns: repeat(6, minmax(105px, 1fr)); margin: 0; }
.tfp-contact-summary-panel .tfp-contact-side-nav a { border-right: 1px solid var(--tfp-line); border-bottom: 0; }
.tfp-contact-summary-panel .tfp-contact-side-nav a:last-child { border-right: 0; }
.tfp-contact-collapsible > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; user-select: none; }
.tfp-contact-collapsible > header > div:first-child { flex: 1 1 auto; min-width: 0; }
.tfp-contact-collapsible > header:focus-visible { outline: 3px solid rgba(219,166,52,.42); outline-offset: -3px; }
.tfp-contact-collapsible.is-collapsed > :not(header) { display: none; }
.tfp-collapse-header-actions { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.tfp-collapse-action { min-height: 36px; padding: 8px 13px; white-space: nowrap; }
.tfp-contact-collapse-icon { display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: auto; border: 1px solid #d6e0e6; border-radius: 999px; color: var(--tfp-brand-dark); background: #fff; font-size: 18px; font-weight: 900; line-height: 1; }
.tfp-contact-collapsible:not(.is-collapsed) .tfp-contact-collapse-icon { color: #fff; background: var(--tfp-brand-dark); }
.tfp-property-editor { margin: 16px 18px; background: #fff; }
.tfp-property-editor .tfp-form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tfp-property-editor .tfp-property-nickname, .tfp-property-editor .tfp-property-street { grid-column: span 2; }
.tfp-property-editor .tfp-primary-button { justify-self: start; }
.tfp-smart-meter-editor .tfp-smart-meter-form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tfp-smart-meter-editor .tfp-meter-property { grid-column: span 2; }
.tfp-smart-meter-editor .tfp-smart-meter-form-grid label { display: grid; align-content: start; min-width: 0; gap: 7px; margin: 0; }
.tfp-smart-meter-editor .tfp-smart-meter-form-grid label > span { color: var(--tfp-brand-dark); font-size: 10px; font-weight: 800; line-height: 1.25; }
.tfp-smart-meter-editor .tfp-smart-meter-form-grid input,
.tfp-smart-meter-editor .tfp-smart-meter-form-grid select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 9px 12px; }
.tfp-smart-meter-editor .tfp-smart-meter-form-grid input.is-locked { cursor: not-allowed; border-color: #d2dbe2; color: #697986; background: #eef2f5; }
.tfp-smart-meter-editor [data-moen-credential-help] { margin: 15px 0; }
.tfp-contact-property-list { border-top: 1px solid var(--tfp-line); }
.tfp-conversation-preview { display: grid; gap: 4px; color: var(--tfp-brand-dark); text-decoration: none; }
.tfp-conversation-preview strong { max-width: 320px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tfp-conversation-preview small { color: var(--tfp-muted); font-size: 9px; }
.tfp-contact-conversations article { scroll-margin-top: 110px; }
.tfp-live-conversation-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tfp-conversation-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.tfp-conversation-refresh-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #256449; background: #e2f4eb; font-size: 9px; font-weight: 800; }
.tfp-conversation-refresh-status.is-refreshing { color: #75550b; background: #fff1c6; }
.tfp-conversation-refresh-status.is-error { color: #8c2922; background: #fde9e7; }
.tfp-contact-conversations { display: grid; gap: 16px; min-width: 0; max-height: 680px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 22px; scrollbar-gutter: stable; }
.tfp-conversation-thread { min-width: 0; overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 10px; background: #f7fafc; }
.tfp-conversation-thread > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; cursor: pointer; }
.tfp-conversation-thread > summary span { display: grid; gap: 3px; }
.tfp-conversation-thread > summary strong { font-size: 12px; }
.tfp-conversation-thread > summary small, .tfp-conversation-thread > summary time { color: var(--tfp-muted); font-size: 10px; }
.tfp-message-history { display: grid; gap: 15px; min-width: 0; overflow: hidden; padding: 20px; border-top: 1px solid var(--tfp-line); background: #fff; }
.tfp-message-history article { box-sizing: border-box; min-width: 0; width: fit-content; max-width: 90%; padding: 16px 18px; border-radius: 12px; background: #edf4fa; }
.tfp-message-history article.is-outgoing { justify-self: end; background: #fff5dc; }
.tfp-message-history article header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.tfp-message-history article header strong { color: var(--tfp-brand-dark); font-size: 11px; }
.tfp-message-history article time { color: var(--tfp-muted); font-size: 10px; }
.tfp-message-history article p { min-width: 0; margin: 9px 0 0; color: var(--tfp-ink); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.tfp-message-history article p a { color: #075f87; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.tfp-message-recordings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tfp-message-recordings a { display: inline-flex; align-items: center; min-height: 32px; padding: 7px 10px; border: 1px solid #d9a72f; border-radius: 8px; color: var(--tfp-brand-dark); background: #fff3cf; font-size: 10px; font-weight: 850; line-height: 1.2; text-decoration: none; }
.tfp-message-recordings a:hover, .tfp-message-recordings a:focus-visible { color: #fff; background: var(--tfp-brand-dark); }
.tfp-conversation-composer { display: grid; gap: 12px; padding: 16px 18px 18px; border-top: 1px solid var(--tfp-line); background: #f8fafb; }
.tfp-conversation-composer label { display: grid; gap: 6px; color: var(--tfp-muted); font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.tfp-conversation-composer .tfp-conversation-subject[hidden] { display: none; }
.tfp-conversation-composer select, .tfp-conversation-composer input, .tfp-conversation-composer textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #b9c8d2; border-radius: 8px; background: #fff; color: var(--tfp-ink); font: inherit; letter-spacing: normal; text-transform: none; }
.tfp-conversation-composer textarea { min-height: 92px; resize: vertical; }
.tfp-conversation-compose-row { display: grid; grid-template-columns: minmax(130px, .55fr) minmax(190px, .9fr) minmax(0, 1.25fr); gap: 12px; }
.tfp-template-unavailable { margin: 0; color: #8a5b00; font-size: 12px; }
.tfp-conversation-compose-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tfp-conversation-compose-actions > span { color: var(--tfp-muted); font-size: 10px; }
.tfp-conversation-compose-actions > span.is-success { color: #256449; }
.tfp-conversation-compose-actions > span.is-error { color: #8c2922; }
.tfp-associated-link { transition: background .15s ease, box-shadow .15s ease; }
.tfp-associated-link:hover { background: #fffaf0; box-shadow: inset 4px 0 0 var(--tfp-accent); }
.tfp-open-associated { justify-self: end; color: var(--tfp-brand-dark); font-size: 10px; font-weight: 850; text-decoration: none; }
.tfp-open-associated:hover { text-decoration: underline; text-underline-offset: 3px; }
.tfp-conversation-row-link { display: contents; color: inherit; text-decoration: none; }
.tfp-invoice-link { color: var(--tfp-brand-dark); font-weight: 850; text-decoration: underline; text-decoration-color: rgba(219,166,52,.7); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tfp-invoice-link:hover { color: #17679d; text-decoration-color: var(--tfp-accent); }
.tfp-inline-record-form { display: grid; grid-template-columns: 150px minmax(200px,1fr) auto; gap: 14px; align-items: end; padding: 18px 20px; }
.tfp-delete-form { padding-top: 0 !important; border-top: 0 !important; }
.tfp-calendar-icon { line-height: 1; border-radius: 9px; font-size: 18px; }
.tfp-calendar-icon span { display: block; margin-top: -11px; font-size: 8px; letter-spacing: .08em; }
.tfp-detail-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--tfp-line); }
.tfp-detail-summary div { padding: 17px; background: #fff; }
.tfp-detail-summary span, .tfp-detail-summary strong { display: block; }
.tfp-detail-summary span { margin-bottom: 7px; color: var(--tfp-muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.tfp-detail-summary strong { font-size: 12px; }
.tfp-detail-summary .is-alert { color: #9b521f; }
.tfp-detail-note { margin: 20px; padding: 17px; border-left: 4px solid var(--tfp-accent); background: #fffaf0; }
.tfp-detail-note strong { font-size: 12px; }
.tfp-detail-note p { margin: 7px 0 0; color: var(--tfp-muted); font-size: 12px; line-height: 1.55; }
.tfp-access-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px; }
.tfp-access-list span { padding: 7px 10px; border-radius: 999px; color: #265c70; background: #e3f2f6; font-size: 10px; font-weight: 800; }
.tfp-sop-steps { display: grid; gap: 11px; padding: 0 25px 25px; }
.tfp-sop-steps article { display: grid; grid-template-columns: 32px 1fr; gap: 13px; padding: 15px; border: 1px solid var(--tfp-line); border-radius: 10px; }
.tfp-sop-steps article > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #172638; background: var(--tfp-accent); font-size: 11px; font-weight: 850; }
.tfp-sop-steps strong { font-size: 12px; }
.tfp-sop-steps p { margin: 5px 0 0; color: var(--tfp-muted); font-size: 11px; line-height: 1.5; }
.tfp-record-card[data-detail-type], .tfp-area-grid article[data-detail-type], .tfp-data-table tbody tr[data-detail-type], .tfp-appointment-list article[data-detail-type] { cursor: pointer; }
.tfp-record-card[data-detail-type]:hover, .tfp-record-card[data-detail-type]:focus-visible, .tfp-area-grid article[data-detail-type]:hover, .tfp-area-grid article[data-detail-type]:focus-visible { border-color: #d7c58f; background: #fffdf7; outline: none; box-shadow: inset 4px 0 0 var(--tfp-accent); }
.tfp-data-table tbody tr[data-detail-type]:hover, .tfp-appointment-list article[data-detail-type]:hover { background: #fffaf0; }
.tfp-appointment-form-generator { overflow: hidden; }
.tfp-appointment-form-generator form { display: grid; gap: 24px; padding: 26px; }
.tfp-appointment-form-generator .tfp-form-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px 22px;
    padding: 0;
}
.tfp-appointment-form-generator .tfp-form-grid label {
    grid-column: span 4;
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 8px;
    color: var(--tfp-brand-dark);
    font-size: 12px;
    font-weight: 800;
}
.tfp-appointment-form-generator .tfp-form-grid label.is-wide { grid-column: span 8; }
.tfp-appointment-form-generator .tfp-form-grid label.is-full { grid-column: 1 / -1; }
.tfp-appointment-form-generator .tfp-form-grid label.is-compact { grid-column: span 2; }
.tfp-appointment-form-generator .tfp-form-grid label span { display: block; line-height: 1.3; }
.tfp-appointment-form-generator .tfp-form-grid input,
.tfp-appointment-form-generator .tfp-form-grid textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #b9cada;
    border-radius: 8px;
    color: var(--tfp-ink);
    background: #fff;
    box-shadow: none;
    font: inherit;
}
.tfp-appointment-form-generator .tfp-form-grid input:focus,
.tfp-appointment-form-generator .tfp-form-grid textarea:focus {
    border-color: var(--tfp-brand);
    outline: 3px solid rgba(17,107,130,.14);
    box-shadow: none;
}
.tfp-followup-intro header { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.tfp-followup-intro header > div { min-width: 0; }
.tfp-followup-intro header > strong { flex: 0 0 auto; color: var(--tfp-brand-dark); font-size: 14px; }
.tfp-followup-form { display: grid; gap: 22px; padding: 24px; }
.tfp-followup-form .tfp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.tfp-followup-form label { display: grid; min-width: 0; gap: 7px; color: var(--tfp-brand-dark); font-size: 11px; font-weight: 850; }
.tfp-followup-form label > span { line-height: 1.3; }
.tfp-followup-form .tfp-form-span { grid-column: 1 / -1; }
.tfp-followup-form input,
.tfp-followup-form select,
.tfp-followup-form textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 10px 12px; border: 1px solid #b9cada; border-radius: 8px; color: var(--tfp-ink); background: #fff; box-shadow: none; font: inherit; }
.tfp-followup-form input,
.tfp-followup-form select,
.tfp-followup-form textarea { max-width: none; }
.tfp-followup-form textarea { min-height: 120px; resize: vertical; }
.tfp-followup-form input:focus,
.tfp-followup-form select:focus,
.tfp-followup-form textarea:focus { border-color: var(--tfp-brand); outline: 3px solid rgba(17,107,130,.14); box-shadow: none; }
.tfp-followup-form .tfp-form-actions { margin: 0; padding: 0; }
.tfp-followup-panel > header { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.tfp-followup-panel > header > div { min-width: 0; }
.tfp-followup-panel > header > strong { flex: 0 0 auto; color: var(--tfp-brand-dark); font-size: 14px; }
.tfp-followup-minimal-grid { max-width: 840px; }
.tfp-appointment-form-generator .tfp-form-actions {
    position: static;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--tfp-line);
    background: #f7fafc;
    box-shadow: none;
}
.tfp-generated-form-link { border-top: 4px solid var(--tfp-accent); }
.tfp-generated-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 20px 22px 10px; }
.tfp-generated-link-row input { min-width: 0; width: 100%; padding: 12px 14px; border: 1px solid var(--tfp-line); border-radius: 8px; background: #f7fafc; }
.tfp-generated-link-row .tfp-secondary-button { text-align: center; text-decoration: none; }
.tfp-field-note { margin: 0; padding: 0 22px 20px; color: var(--tfp-muted); font-size: 11px; }
.tfp-overview-collapse { overflow: hidden; margin-bottom: 24px; }
.tfp-overview-collapse > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; }
.tfp-overview-collapse > summary::-webkit-details-marker { display: none; }
.tfp-overview-collapse > summary::after { content: "+"; color: var(--tfp-muted); font-size: 24px; font-weight: 500; line-height: 1; }
.tfp-overview-collapse[open] > summary::after { content: "−"; }
.tfp-overview-collapse > summary span, .tfp-overview-collapse > summary strong, .tfp-overview-collapse > summary small { display: block; }
.tfp-overview-collapse > summary strong { color: var(--tfp-brand-dark); font-size: 22px; }
.tfp-overview-collapse > summary small { margin-top: 5px; color: var(--tfp-muted); font-size: 11px; font-weight: 500; }
.tfp-overview-collapse-content { padding: 0 22px 22px; border-top: 1px solid var(--tfp-line); }
.tfp-overview-collapse-content > .tfp-list-rows, .tfp-overview-collapse-content > .tfp-empty-state { margin-top: 20px; }
.tfp-overview-marketing { margin-bottom: 24px; }
.tfp-overview-marketing-content { padding: 0; }
.tfp-marketing-date-toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 18px 22px; border: 0; border-bottom: 1px solid var(--tfp-line); }
.tfp-marketing-date-toggle::before { content: "Date range"; color: var(--tfp-brand-dark); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.tfp-marketing-date-toggle > div { display: inline-flex; flex-wrap: wrap; gap: 5px; padding: 4px; border: 1px solid var(--tfp-line); border-radius: 10px; background: #f2f6f9; }
.tfp-marketing-date-toggle label { cursor: pointer; }
.tfp-marketing-date-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tfp-marketing-date-toggle span { display: block; padding: 8px 12px; border-radius: 7px; color: var(--tfp-muted); font-size: 10px; font-weight: 850; white-space: nowrap; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.tfp-marketing-date-toggle input:checked + span { color: var(--tfp-brand-dark); background: var(--tfp-accent); box-shadow: 0 3px 10px rgba(7, 31, 58, .1); }
.tfp-marketing-date-toggle input:focus-visible + span { outline: 2px solid var(--tfp-brand-dark); outline-offset: 2px; }
.tfp-overview-marketing-content > .tfp-performance-grid { margin: 0; padding: 22px; background: #f8fafb; }
.tfp-overview-marketing-content > .tfp-table-wrap { overflow-x: auto; padding: 0 22px 22px; }
.tfp-overview-subhead { padding: 20px 22px 16px; border-top: 1px solid var(--tfp-line); }
.tfp-overview-subhead h3 { margin: 0 0 5px; color: var(--tfp-brand-dark); font-size: 17px; }
.tfp-overview-subhead p { margin: 0; color: var(--tfp-muted); font-size: 11px; }
.tfp-overview-table-content { overflow-x: auto; padding: 20px 22px 22px; }
.tfp-overview-table-content > .tfp-data-table { width: 100%; }
.tfp-overview-reviews { margin-bottom: 24px; }
.tfp-review-profile-link { color: var(--tfp-brand-dark); font-weight: 850; text-decoration: underline; text-decoration-color: var(--tfp-accent); text-underline-offset: 3px; }
.tfp-connection-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #75550b; background: #fff3ce; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tfp-appointment-confirmation-list article { align-items: center; }
.tfp-appointment-confirmation-list article > div:first-child { display: grid; gap: 7px; }
.tfp-appointment-confirmation-list article > div:first-child small { color: var(--tfp-muted); font-size: 11px; line-height: 1.4; }
.tfp-appointment-row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.tfp-appointment-row-actions time { min-width: 145px; text-align: right; }
.tfp-appointment-status-group { margin-top: 22px; }
.tfp-appointment-status-group.is-unconfirmed { border-top: 4px solid #cf4e45; }
.tfp-appointment-status-group.is-override { border-top: 4px solid var(--tfp-gold); }
.tfp-appointment-status-group.is-confirmed { border-top: 4px solid #68a950; }
.tfp-status.is-unconfirmed { color: #8e2923; background: #fde6e4; }
.tfp-status.is-override { color: #76500b; background: #fff1c9; }
.tfp-status.is-confirmed { color: #2e6b22; background: #e7f5e2; }
.tfp-appointment-override-form { display: inline-flex; margin: 0; }
.tfp-appointment-override-form .tfp-primary-button { min-height: 42px; white-space: nowrap; }
.tfp-confirmation-link-button { min-height: 38px; padding: 9px 13px; border: 1px solid var(--tfp-accent); border-radius: 8px; color: var(--tfp-brand-dark); background: #fffaf0; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.tfp-confirmation-link-button:hover { background: #fff3ce; }
.tfp-confirmation-link-button:disabled { opacity: .48; cursor: not-allowed; }
.tfp-secondary-approval-panel { display: grid; gap: 12px; padding: 18px; border: 1px solid #e4bd57; border-radius: 12px; background: #fffaf0; }
.tfp-secondary-approval-panel > h3, .tfp-secondary-approval-panel > p { margin: 0; }
.tfp-secondary-approval-panel > p { color: var(--tfp-muted); }
.tfp-secondary-approval-panel pre { max-height: 240px; margin: 0; padding: 14px; overflow: auto; border: 1px solid var(--tfp-line); border-radius: 9px; background: #fff; color: var(--tfp-brand-dark); font: inherit; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.tfp-secondary-approval-panel form { display: grid; gap: 10px; }
.tfp-secondary-approval-panel textarea { width: 100%; min-height: 130px; resize: vertical; }
.tfp-secondary-approval-panel .tfp-primary-button { justify-self: start; }
.tfp-modal[hidden] { display: none; }
.tfp-modal { position: fixed; z-index: 100100; inset: 0; display: grid; place-items: center; padding: 24px; }
.tfp-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(5, 28, 54, .7); cursor: default; }
.tfp-modal-dialog { position: relative; width: min(720px, 100%); overflow: hidden; border-top: 5px solid var(--tfp-accent); border-radius: 16px; background: #fff; box-shadow: 0 28px 90px rgba(4, 25, 48, .34); }
.tfp-modal-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid var(--tfp-line); }
.tfp-modal-dialog > header > div { min-width: 0; flex: 1 1 auto; }
.tfp-modal-dialog h2 { max-width: 100%; overflow-wrap: anywhere; margin: 3px 0 0; color: var(--tfp-brand-dark); font-size: clamp(20px, 2.5vw, 25px); line-height: 1.12; }
.tfp-modal-close { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 1px solid var(--tfp-line); border-radius: 50%; color: var(--tfp-brand-dark); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.tfp-modal-status { min-height: 20px; margin: 0; padding: 20px 26px 8px; color: var(--tfp-muted); font-size: 12px; line-height: 1.5; }
.tfp-modal-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 26px 20px; }
.tfp-modal-link-row input { min-width: 0; width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--tfp-line); border-radius: 8px; color: var(--tfp-brand-dark); background: #f7fafc; font: inherit; }
.tfp-modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 17px 26px 22px; border-top: 1px solid var(--tfp-line); background: #f8fafb; }
.tfp-modal-actions .tfp-secondary-button { text-decoration: none; }
body.tfp-modal-open { overflow: hidden; }
.tfp-opportunity-dialog { width: min(860px, 100%); max-height: min(820px, calc(100vh - 48px)); overflow-y: auto; }
.tfp-opportunity-content { display: grid; gap: 18px; padding: 18px 26px 24px; }
.tfp-opportunity-content > section { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 11px; background: #fff; }
.tfp-opportunity-content h3 { margin: 0; padding: 13px 16px; border-bottom: 1px solid var(--tfp-line); color: var(--tfp-brand-dark); background: #f6f9fb; font-size: 13px; }
.tfp-workflow-health.is-red { border-color: #e9b7b7; }
.tfp-workflow-health.is-green { border-color: #addbc9; }
.tfp-workflow-health.is-warning { border-color: #e6c66f; }
.tfp-workflow-summary-card { display: grid; grid-template-columns: 15px 1fr; gap: 12px; align-items: start; padding: 16px; background: #f8fdfb; }
.tfp-workflow-health.is-red .tfp-workflow-summary-card { background: #fff5f5; }
.tfp-workflow-health.is-warning .tfp-workflow-summary-card { background: #fffbef; }
.tfp-workflow-summary-card i { width: 12px; height: 12px; margin-top: 2px; border-radius: 50%; background: #23865e; box-shadow: 0 0 0 5px rgba(35,134,94,.12); }
.tfp-workflow-health.is-red .tfp-workflow-summary-card i { background: #cf3f3f; box-shadow: 0 0 0 5px rgba(207,63,63,.12); }
.tfp-workflow-health.is-warning .tfp-workflow-summary-card i { background: #d49a16; box-shadow: 0 0 0 5px rgba(212,154,22,.14); }
.tfp-workflow-summary-card strong, .tfp-workflow-summary-card small { display: block; }
.tfp-workflow-summary-card strong { color: var(--tfp-brand-dark); font-size: 13px; }
.tfp-workflow-summary-card small { margin-top: 4px; color: var(--tfp-muted); font-size: 10px; line-height: 1.45; }
.tfp-workflow-issues { display: grid; }
.tfp-workflow-issue { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--tfp-line); }
.tfp-workflow-issue b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #cf3f3f; font-size: 10px; }
.tfp-workflow-issue.is-mismatch b { background: #a66d00; }
.tfp-workflow-issue strong, .tfp-workflow-issue small { display: block; }
.tfp-workflow-issue strong { color: var(--tfp-ink); font-size: 11px; }
.tfp-workflow-issue p { margin: 4px 0; color: var(--tfp-muted); font-size: 10px; line-height: 1.45; }
.tfp-workflow-issue small { color: var(--tfp-brand-dark); font-size: 9px; font-weight: 850; }
.tfp-warning-stage-control { border-color: #e6c66f !important; background: #fffcf4 !important; }
.tfp-warning-stage-control form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px; align-items: end; padding: 16px 16px 10px; }
.tfp-warning-stage-control label { display: grid; gap: 7px; color: var(--tfp-brand-dark); font-size: 10px; font-weight: 850; }
.tfp-warning-stage-control select { width: 100%; min-height: 42px; border: 1px solid #d9bc70; border-radius: 8px; background: #fff; }
.tfp-warning-stage-control > p { margin: 0; padding: 0 16px 16px; color: var(--tfp-muted); font-size: 9px; line-height: 1.45; }
.tfp-opportunity-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.tfp-opportunity-fields > div { min-width: 0; padding: 13px 16px; border-bottom: 1px solid var(--tfp-line); }
.tfp-opportunity-fields > div:nth-child(odd) { border-right: 1px solid var(--tfp-line); }
.tfp-opportunity-fields dt { margin-bottom: 4px; color: var(--tfp-muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.tfp-opportunity-fields dd { overflow-wrap: anywhere; margin: 0; color: var(--tfp-ink); font-size: 12px; font-weight: 750; line-height: 1.45; }
.tfp-opportunity-notes p { margin: 0; padding: 16px; color: var(--tfp-muted); font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.tfp-opportunity-invoices { display: grid; }
.tfp-opportunity-invoices > a, .tfp-opportunity-invoices > div { display: grid; grid-template-columns: minmax(180px, 1.5fr) minmax(135px, .8fr) auto minmax(90px, .5fr); gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--tfp-line); color: var(--tfp-ink); text-decoration: none; }
.tfp-opportunity-invoices > a:last-child, .tfp-opportunity-invoices > div:last-child { border-bottom: 0; }
.tfp-opportunity-invoices > a:hover, .tfp-opportunity-invoices > a:focus-visible { background: #fffaf0; box-shadow: inset 4px 0 0 var(--tfp-accent); outline: 0; }
.tfp-opportunity-invoices > a > span:first-child, .tfp-opportunity-invoices > div > span:first-child { display: grid; gap: 3px; }
.tfp-opportunity-invoices strong { color: var(--tfp-brand-dark); font-size: 12px; }
.tfp-opportunity-invoices small { color: var(--tfp-muted); font-size: 10px; }
.tfp-opportunity-invoices > p { margin: 0; padding: 17px 16px; color: var(--tfp-muted); font-size: 12px; }
.tfp-public-form-shell { padding: clamp(28px, 5vw, 70px) 20px; background: #edf5fa; }
.tfp-appointment-public-page { margin: 0; background: #edf5fa; color: #172638; }
.tfp-public-form-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; padding: 10px max(20px, calc((100vw - 1040px) / 2)); border-bottom: 4px solid #dba634; background: #fff; box-shadow: 0 8px 30px rgba(9,46,82,.08); }
.tfp-public-form-header img { display: block; width: min(240px, 52vw); max-height: 64px; object-fit: contain; }
.tfp-public-form-phone { color: #08294f; font-size: 17px; font-weight: 850; text-decoration: none; }
.tfp-public-form-footer { padding: 24px 20px; color: #dce8f3; background: #08294f; text-align: center; font-size: 13px; }
.tfp-sop-back-link { display:inline-flex; margin:0 0 16px; }
.tfp-sop-reader { max-width:980px; }
.tfp-sop-reader > header { padding:28px 32px; }
.tfp-sop-reader > header h2 {
    max-width: 100%;
    margin: 6px 0 8px;
    color: var(--tfp-ink);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}
.tfp-sop-reader > header p:last-child { max-width:760px; margin-bottom:0; color:var(--tfp-muted); }
.tfp-sop-visual-guide { padding: 30px 32px; border-top: 1px solid var(--tfp-line); border-bottom: 1px solid var(--tfp-line); background: #f7fafc; }
.tfp-sop-visual-heading { margin-bottom: 18px; }
.tfp-sop-visual-heading .tfp-eyebrow { margin: 0 0 5px; }
.tfp-sop-visual-heading h3 { margin: 0 0 6px; color: var(--tfp-ink); font-size: 22px; }
.tfp-sop-visual-heading > p:last-child { margin: 0; color: var(--tfp-muted); }
.tfp-sop-visual-step + .tfp-sop-visual-step { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--tfp-line); }
.tfp-sop-visual-step > h4 { margin: 0 0 12px; color: var(--tfp-ink); font-size: 18px; }
.tfp-sop-annotated-screen { position: relative; margin: 0; overflow: hidden; border: 3px solid var(--tfp-brand-dark); border-radius: 14px; background: var(--tfp-brand-dark); box-shadow: 0 15px 34px rgba(8, 41, 79, .18); }
.tfp-sop-annotated-screen img { display: block; width: 100%; height: auto; }
.tfp-sop-click-marker {
    position: absolute;
    left: var(--tfp-marker-x);
    top: var(--tfp-marker-y);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 3px solid #fff;
    border-radius: 50%;
    color: var(--tfp-brand-dark);
    background: var(--tfp-accent);
    box-shadow: 0 0 0 5px rgba(219, 166, 52, .32), 0 5px 14px rgba(8, 41, 79, .32);
    font-size: 16px;
    font-weight: 950;
    transform: translate(-50%, -50%);
}
.tfp-sop-marker-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.tfp-sop-marker-key li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px; }
.tfp-sop-marker-key li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--tfp-brand-dark); background: var(--tfp-accent); font-size: 13px; font-weight: 950; }
.tfp-sop-marker-key p { margin: 2px 0 0; color: var(--tfp-ink); font-size: 14px; line-height: 1.45; }
.tfp-sop-reader-content { padding:30px 32px 42px; font-size:16px; line-height:1.7; color:var(--tfp-ink); }
.tfp-sop-reader-content p { margin:0 0 18px; white-space:pre-line; }
.tfp-sop-reader-content h2 { margin:34px 0 12px; color:var(--tfp-ink); font-size:26px; line-height:1.18; }
.tfp-sop-reader-content h2:first-child { margin-top:0; }
.tfp-sop-reader-content ol,.tfp-sop-reader-content ul { margin:0 0 22px; padding-left:24px; }
.tfp-sop-reader-content li { margin:0 0 9px; }
.tfp-sop-reader-content strong { color:var(--tfp-brand-dark); }
.tfp-sop-chapter-index { padding:30px 32px 36px; border-bottom:1px solid var(--tfp-line); background:#fff; }
.tfp-sop-chapter-heading { max-width:760px; margin-bottom:24px; }
.tfp-sop-chapter-heading .tfp-eyebrow { margin:0 0 5px; }
.tfp-sop-chapter-heading h3 { margin:0 0 8px; color:var(--tfp-ink); font-size:24px; line-height:1.18; }
.tfp-sop-chapter-heading > p:last-child { margin:0; color:var(--tfp-muted); line-height:1.55; }
.tfp-sop-chapter-group + .tfp-sop-chapter-group { margin-top:28px; padding-top:24px; border-top:1px solid var(--tfp-line); }
.tfp-sop-chapter-group > h4 { margin:0 0 14px; color:var(--tfp-brand-dark); font-size:18px; }
.tfp-sop-chapter-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tfp-sop-chapter-grid a { display:flex; min-width:0; min-height:176px; flex-direction:column; padding:18px; border:1px solid #d9e2ea; border-radius:16px; background:#f8fbfd; color:var(--tfp-ink); text-decoration:none; box-sizing:border-box; transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.tfp-sop-chapter-grid a:hover,.tfp-sop-chapter-grid a:focus-visible { border-color:#dda724; box-shadow:0 10px 24px rgba(4,36,70,.09); transform:translateY(-1px); }
.tfp-sop-chapter-grid small { display:block; margin-bottom:7px; color:#7a5a00; font-size:12px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
.tfp-sop-chapter-grid strong { display:block; margin-bottom:7px; color:var(--tfp-brand-dark); font-size:17px; line-height:1.3; }
.tfp-sop-chapter-grid span { display:block; color:var(--tfp-muted); font-size:14px; line-height:1.45; }
.tfp-sop-chapter-grid b { display:block; margin-top:auto; padding-top:14px; color:#0b68a3; font-size:14px; }
.tfp-sop-version-line { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:16px; padding-top:14px; border-top:1px solid var(--tfp-line); color:var(--tfp-muted); font-size:13px; }
.tfp-sop-change-summary { margin:0; padding:18px 32px; border-top:1px solid var(--tfp-line); border-bottom:1px solid #edd38b; background:#fff8df; }
.tfp-sop-change-summary .tfp-eyebrow { margin:0 0 5px; color:#795500; }
.tfp-sop-change-intro { margin:0 0 12px; color:var(--tfp-ink); font-size:15px; line-height:1.5; }
.tfp-sop-change-history { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.tfp-sop-change-history li { display:grid; grid-template-columns:145px minmax(0,1fr); gap:16px; padding:10px 12px; border:1px solid #ead792; border-radius:10px; background:rgba(255,255,255,.62); }
.tfp-sop-change-history time { color:#795500; font-size:12px; font-weight:800; line-height:1.45; }
.tfp-sop-change-history p { min-width:0; margin:0; color:var(--tfp-ink); font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.tfp-sop-list-change { max-width:720px; margin:7px 0 9px; color:var(--tfp-muted); font-size:12px; line-height:1.45; }
.tfp-sop-list-change strong { color:var(--tfp-ink); }
.tfp-sop-review-badge { display:inline-flex; align-items:center; justify-content:center; width:max-content; padding:7px 11px; border-radius:999px; font-size:11px; font-weight:900; letter-spacing:.035em; line-height:1; text-transform:uppercase; white-space:nowrap; }
.tfp-sop-review-badge.is-current { color:#176b4d; background:#e2f5ec; }
.tfp-sop-review-badge.needs-review { color:#7a5400; background:#fff0bd; }
.tfp-sop-acknowledgement,.tfp-sop-review-roster { margin:24px 32px 32px; padding:24px; border:1px solid var(--tfp-line); border-left:5px solid var(--tfp-accent); border-radius:14px; background:#fffaf0; }
.tfp-sop-acknowledgement.is-current { border-left-color:#2c9a6b; background:#f3fbf7; }
.tfp-sop-acknowledgement h3,.tfp-sop-review-roster h3 { margin:0 0 7px; color:var(--tfp-ink); font-size:21px; }
.tfp-sop-acknowledgement p,.tfp-sop-review-roster p { margin:0 0 16px; color:var(--tfp-muted); line-height:1.55; }
.tfp-sop-acknowledgement form { display:grid; gap:16px; }
.tfp-sop-review-check { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:11px; color:var(--tfp-ink); font-weight:750; line-height:1.45; }
.tfp-sop-review-check input { width:20px; height:20px; margin:1px 0 0; accent-color:var(--tfp-brand-dark); }
.tfp-sop-review-list { display:grid; gap:9px; }
.tfp-sop-review-user { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 14px; border:1px solid var(--tfp-line); border-radius:10px; background:#fff; }
.tfp-sop-review-user > div { display:grid; gap:2px; }
.tfp-sop-review-user strong { color:var(--tfp-ink); }
.tfp-sop-review-user small { color:var(--tfp-muted); }
@media (max-width:720px) {
    .tfp-sop-reader > header,.tfp-sop-reader-content,.tfp-sop-visual-guide,.tfp-sop-change-summary,.tfp-sop-chapter-index { padding:22px 20px; }
    .tfp-sop-chapter-grid { grid-template-columns:1fr; }
    .tfp-sop-chapter-grid a { min-height:0; }
    .tfp-sop-marker-key { grid-template-columns: 1fr; }
    .tfp-sop-change-history li { grid-template-columns:1fr; gap:5px; }
    .tfp-sop-click-marker { width: 28px; height: 28px; border-width: 2px; box-shadow: 0 0 0 3px rgba(219, 166, 52, .32), 0 4px 10px rgba(8, 41, 79, .28); font-size: 13px; }
    .tfp-sop-version-line,.tfp-sop-review-user { align-items:flex-start; flex-direction:column; }
    .tfp-sop-acknowledgement,.tfp-sop-review-roster { margin:20px; padding:20px; }
}
.tfp-public-form-card { width: min(1040px, 100%); margin: 0 auto; padding: clamp(20px, 4vw, 42px); border-top: 5px solid #dba634; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(9, 46, 82, .12); }
.tfp-public-form-card > h1 { margin: 6px 0 10px; color: #08294f; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.tfp-public-form-card > p:not(.tfp-eyebrow) { color: #617183; font-size: 16px; line-height: 1.55; }
.tfp-public-appointment-description { margin: 22px 0 0; padding: 18px 20px; border: 1px solid #d7c070; border-left: 5px solid #dba634; border-radius: 10px; background: #fffaf0; }
.tfp-public-appointment-description span { display: block; margin-bottom: 7px; color: #75550b; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tfp-public-appointment-description p { margin: 0; color: #172638; font-size: 15px; line-height: 1.55; }
.tfp-public-form-card.is-message { max-width: 720px; }
.tfp-public-form-frame { display: block; overflow: hidden; width: 100%; min-height: 1550px; margin-top: 24px; border: 0; border-radius: 12px; background: #fff; }
.tfp-master-record-map { position: relative; min-height: 480px; overflow: hidden; background: #dcecf4; }
.tfp-shortcode-fields { display: grid; gap: 12px; }
.tfp-shortcode-notice { display: grid; gap: 4px; padding: 15px 17px; border-left: 4px solid var(--tfp-accent); border-radius: 8px; background: #fffaf0; }
.tfp-shortcode-notice strong { color: var(--tfp-brand-dark); font-size: 11px; }
.tfp-shortcode-notice span { color: var(--tfp-muted); font-size: 10px; line-height: 1.5; }
.tfp-shortcode-notice.is-locked { margin: 0; background: #f6f8fa; border-left-color: var(--tfp-line); }
.tfp-shortcode-field-group { overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 10px; background: #fff; }
.tfp-shortcode-field-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; color: var(--tfp-brand-dark); background: #f7fafc; cursor: pointer; font-size: 11px; font-weight: 850; text-transform: capitalize; }
.tfp-shortcode-field-group > summary small { color: var(--tfp-muted); font-size: 9px; font-weight: 700; }
.tfp-shortcode-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px; border-top: 1px solid var(--tfp-line); }
.tfp-shortcode-field-grid label { min-width: 0; }
.tfp-shortcode-field-grid label.is-wide { grid-column: 1 / -1; }
.tfp-shortcode-field-grid input, .tfp-shortcode-field-grid textarea { width: 100%; box-sizing: border-box; }

@media (max-width: 1180px) {
    .tfp-contact-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, 260px); }
    .tfp-contact-summary-panel .tfp-contact-side-nav { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
    .tfp-contact-summary-panel .tfp-contact-side-nav a { border-right: 1px solid var(--tfp-line); border-bottom: 1px solid var(--tfp-line); }
}

@media (max-width: 820px) {
    .tfp-pipeline-command-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tfp-client-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-client-property-map-layout { grid-template-columns: 1fr; }
    .tfp-client-property-list { max-height: none; border-top: 1px solid var(--tfp-line); border-left: 0; }
    .tfp-property-grid { grid-template-columns: 1fr; }
    .tfp-client-contact-form .tfp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-employee-editor .tfp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-appointment-confirmation-list article, .tfp-appointment-row-actions { align-items: flex-start; flex-direction: column; }
    .tfp-appointment-row-actions time { min-width: 0; text-align: left; }
    .tfp-modal { padding: 12px; }
    .tfp-modal-link-row { grid-template-columns: 1fr; }
    .tfp-modal-actions { align-items: stretch; flex-direction: column; }
    .tfp-opportunity-dialog { max-height: calc(100vh - 24px); }
    .tfp-app { grid-template-columns: 1fr; grid-template-rows: 82px minmax(0, 1fr); grid-template-areas: "header" "main"; }
    .tfp-sidebar { position: fixed; z-index: 50; top: 82px; height: calc(100vh - 82px); width: min(280px, 88vw); transform: translateX(-105%); transition: transform .2s ease; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
    .tfp-sidebar.is-open { transform: translateX(0); }
    .tfp-topbar { justify-content: flex-start; padding: 0 20px; }
    .tfp-menu-button { display: inline-flex; padding: 8px 12px; border: 1px solid var(--tfp-line); border-radius: 8px; background: #fff; color: var(--tfp-ink); font-weight: 750; }
    .tfp-header-logo { width: min(230px, 43vw); height: 44px; }
    .tfp-header-product { display: none; }
    .tfp-content { padding: 38px 20px 60px; }
    .tfp-field-grid { grid-template-columns: 1fr; padding: 20px; }
    .tfp-field.is-wide { grid-column: auto; }
    .tfp-connection-settings-form .tfp-form-grid { grid-template-columns: 1fr; padding: 20px; }
    .tfp-connection-settings-form .tfp-form-actions { margin: 0 20px 20px; }
    .tfp-form-actions { align-items: stretch; flex-direction: column; }
    .tfp-billing-hero { align-items: stretch; flex-direction: column; }
    .tfp-primary-button { width: 100%; }
    .tfp-billing-summary-grid { grid-template-columns: 1fr; }
    .tfp-page-heading { align-items: stretch; flex-direction: column; }
    .tfp-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-demo-banner { align-items: flex-start; flex-direction: column; gap: 5px; }
    .tfp-preview-banner { align-items: flex-start; flex-direction: column; }
    .tfp-conversation-layout { grid-template-columns: 1fr; }
    .tfp-thread-list { border-right: 0; border-bottom: 1px solid var(--tfp-line); }
    .tfp-message-stream p { max-width: 90%; }
    .tfp-stage-name small { display: none; }
    .tfp-pipeline-row { grid-template-columns: 1.1fr 1.3fr .8fr 1fr; }
    .tfp-pipeline-row > :nth-child(4) { display: none; }
    .tfp-detail-layout { grid-template-columns: 1fr; }
    .tfp-contact-detail-layout { grid-template-columns: 1fr; }
    .tfp-contact-summary-panel .tfp-contact-side-nav { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
    .tfp-financial-layout { grid-template-columns: 1fr; }
    .tfp-upload-panel { position: static; }
    .tfp-section-jump { top: 92px; }
    .tfp-detail-sidebar { position: static; }
    .tfp-detail-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tfp-performance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-connection-row { grid-template-columns: 1fr auto; }
    .tfp-connection-row > :nth-child(2), .tfp-connection-row > :nth-child(3) { grid-column: 1; }
    .tfp-connection-row > :last-child { grid-column: 2; grid-row: 1; }
    .tfp-attribution-head, .tfp-attribution-row { grid-template-columns: minmax(130px, 1.3fr) repeat(2, minmax(75px, .7fr)); }
    .tfp-attribution-head > :nth-child(4), .tfp-attribution-head > :nth-child(5), .tfp-attribution-row > :nth-child(4), .tfp-attribution-row > :nth-child(5) { display: none; }
    .tfp-inline-record-form { grid-template-columns: 1fr; }
    .tfp-contact-editor .tfp-contact-address-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tfp-conversation-compose-row { grid-template-columns: 1fr; }
    .tfp-conversation-compose-actions { align-items: stretch; flex-direction: column; }
    .tfp-live-conversation-panel > header { align-items: flex-start; flex-direction: column; }
    .tfp-conversation-header-actions { width: 100%; justify-content: space-between; }
    .tfp-property-editor .tfp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-report-summary { grid-template-columns: 1fr; }
    .tfp-report-summary > div { border-right: 0; border-bottom: 1px solid var(--tfp-line); }
    .tfp-report-summary > div:last-child { border-bottom: 0; }
    .tfp-shortcode-field-grid { grid-template-columns: 1fr; }
    .tfp-shortcode-field-grid label.is-wide { grid-column: auto; }
    .tfp-generated-link-row { grid-template-columns: 1fr; }
    .tfp-appointment-form-generator .tfp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-appointment-form-generator .tfp-form-grid label,
    .tfp-appointment-form-generator .tfp-form-grid label.is-compact { grid-column: span 1; }
    .tfp-appointment-form-generator .tfp-form-grid label.is-wide { grid-column: 1 / -1; }
    .tfp-followup-form .tfp-form-grid { grid-template-columns: 1fr; }
    .tfp-followup-form .tfp-form-span { grid-column: auto; }
    .tfp-followup-intro header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .tfp-pipeline-command-bar { grid-template-columns: 1fr 1fr; }
    .tfp-client-kpi-grid { grid-template-columns: 1fr; }
    .tfp-client-property-map { min-height: 360px; }
    .tfp-property-card > summary { display: grid; padding: 20px; }
    .tfp-property-summary-meta { justify-content: space-between; width: 100%; }
    .tfp-property-mini-map { min-height: 280px; }
    .tfp-record-photo-gallery { grid-template-columns: 1fr; padding: 20px 20px 0; }
    .tfp-property-details { grid-template-columns: 1fr; padding: 20px; }
    .tfp-moen-account { margin: 0 20px 20px; }
    .tfp-moen-credentials { grid-template-columns: 1fr; }
    .tfp-property-password-notice { margin: 0 20px 20px; }
    .tfp-property-history { padding: 20px; }
    .tfp-property-job-list > a, .tfp-property-job-list > div { grid-template-columns: 1fr auto auto; }
    .tfp-property-job-list time { grid-column: 1 / -1; }
    .tfp-property-job-list em { grid-column: 1 / -1; justify-self: start; }
    .tfp-property-meters { padding: 20px; }
    .tfp-meter-app-downloads { align-items: stretch; flex-direction: column; }
    .tfp-meter-app-links { justify-content: flex-start; }
    .tfp-client-contact-form { padding: 18px; }
    .tfp-client-contact-form .tfp-form-grid { grid-template-columns: 1fr; }
    .tfp-employee-editor .tfp-form-grid { grid-template-columns: 1fr; }
    .tfp-view-site { display: none; }
    .tfp-metric-grid { grid-template-columns: 1fr; }
    .tfp-toolbar { flex-direction: column; }
    .tfp-appointment-list article { grid-template-columns: 56px 1fr; }
    .tfp-appointment-list article > button { grid-column: 1 / -1; min-height: 38px; }
    .tfp-record-card, .tfp-area-grid article { grid-template-columns: 1fr; gap: 7px; }
    .tfp-record-card small, .tfp-area-grid article::after { grid-column: auto; margin-top: 5px; text-align: left; }
    .tfp-stage-list summary { padding: 14px; }
    .tfp-stage-total { display: none; }
    .tfp-pipeline-head { display: none; }
    .tfp-pipeline-row { grid-template-columns: 1fr; gap: 5px; padding: 15px; }
    .tfp-pipeline-row > :nth-child(4) { display: block; }
    .tfp-opportunity-fields { grid-template-columns: 1fr; }
    .tfp-warning-stage-control form { grid-template-columns: 1fr; }
    .tfp-opportunity-fields > div:nth-child(odd) { border-right: 0; }
    .tfp-opportunity-invoices > a, .tfp-opportunity-invoices > div { grid-template-columns: 1fr auto; }
    .tfp-opportunity-invoices > a > span:nth-child(2), .tfp-opportunity-invoices > div > span:nth-child(2) { grid-column: 1 / -1; }
    .tfp-detail-heading, .tfp-contact-hero { align-items: stretch; flex-direction: column; }
    .tfp-client-booking-bar { align-items: stretch; flex-direction: column; }
    .tfp-client-booking-bar .tfp-primary-button { text-align: center; }
    .tfp-detail-actions { flex-wrap: wrap; }
    .tfp-detail-actions .tfp-primary-button { flex: 1; }
    .tfp-detail-summary { grid-template-columns: 1fr; }
    .tfp-contact-kpis { grid-template-columns: 1fr; }
    .tfp-performance-grid { grid-template-columns: 1fr; }
    .tfp-marketing-date-toggle { align-items: flex-start; flex-direction: column; }
    .tfp-google-map { height: 430px; }
    .tfp-portal-record-list > article { grid-template-columns: 1fr; }
    .tfp-date-filter { align-items: stretch; flex-direction: column; }
    .tfp-date-filter input { width: 100%; }
    .tfp-contact-editor .tfp-form-grid, .tfp-contact-editor .tfp-contact-address-grid { grid-template-columns: 1fr; }
    .tfp-property-editor .tfp-form-grid { grid-template-columns: 1fr; }
    .tfp-property-editor .tfp-property-nickname, .tfp-property-editor .tfp-property-street { grid-column: auto; }
    .tfp-smart-meter-editor .tfp-meter-property { grid-column: auto; }
    .tfp-message-history article { max-width: 100%; }
    .tfp-appointment-form-generator form { padding: 20px; }
    .tfp-appointment-form-generator .tfp-form-grid { grid-template-columns: 1fr; }
    .tfp-appointment-form-generator .tfp-form-grid label,
    .tfp-appointment-form-generator .tfp-form-grid label.is-wide,
    .tfp-appointment-form-generator .tfp-form-grid label.is-compact { grid-column: auto; }
}

/* Central TaskFunnels custom-object task queue. */
.tfp-task-setup {
    padding: clamp(26px, 4vw, 52px);
    border: 1px solid var(--tfp-line);
    border-top: 5px solid var(--tfp-gold);
    border-radius: 24px;
    background: #fff;
}
.tfp-task-setup h2 { margin: 14px 0 8px; }
.tfp-task-setup .tfp-primary-button { display: inline-flex; margin-top: 12px; }
.tfp-task-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(210px, .7fr));
    gap: 16px;
    margin-bottom: 20px;
}
.tfp-next-task-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid #315d89;
    border-left: 8px solid var(--tfp-gold);
    border-radius: 22px;
    background: var(--tfp-navy);
    color: #fff;
    box-shadow: 0 16px 34px rgba(7, 40, 78, .16);
}
.tfp-next-task-panel.is-flagged { border-left-color: #c6413a; }
.tfp-next-task-panel.is-clear { border-left-color: #70b85a; }
.tfp-next-task-panel > div { display: grid; gap: 6px; }
.tfp-next-task-panel h2,
.tfp-next-task-panel p,
.tfp-next-task-panel small { margin: 0; color: #fff; }
.tfp-next-task-panel h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.08; }
.tfp-next-task-panel p,
.tfp-next-task-panel small { opacity: .82; }
.tfp-next-task-kicker {
    color: var(--tfp-gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.tfp-next-task-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 24px;
    border: 2px solid var(--tfp-gold);
    border-radius: 14px;
    background: var(--tfp-gold);
    color: var(--tfp-navy);
    font-weight: 900;
    text-decoration: none;
}
.tfp-next-task-button:hover,
.tfp-next-task-button:focus-visible { background: #fff2ca; color: var(--tfp-navy); }
.tfp-task-dashboard-stat {
    display: grid;
    align-content: center;
    gap: 8px;
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--tfp-line);
    border-radius: 22px;
    background: #fff;
    color: var(--tfp-navy);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(7, 40, 78, .05);
}
.tfp-task-dashboard-stat:hover,
.tfp-task-dashboard-stat:focus,
.tfp-task-dashboard-stat.is-active {
    border-color: var(--tfp-gold);
    box-shadow: 0 0 0 2px rgba(225, 166, 38, .14);
}
.tfp-task-dashboard-stat span,
.tfp-task-dashboard-stat small { color: var(--tfp-muted); }
.tfp-task-dashboard-stat strong {
    overflow-wrap: anywhere;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
}
.tfp-task-sync-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: -4px 0 20px;
    padding: 16px 18px;
    border: 1px solid var(--tfp-line);
    border-radius: 16px;
    background: #fff;
}
.tfp-task-sync-form > div { display: grid; gap: 3px; }
.tfp-task-sync-form strong { color: var(--tfp-navy); font-size: 16px; }
.tfp-task-sync-form span { color: var(--tfp-muted); line-height: 1.45; }
.tfp-task-sync-form .tfp-secondary-button { flex: 0 0 auto; white-space: nowrap; }
.tfp-task-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.tfp-task-metrics > a {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--tfp-line);
    border-radius: 20px;
    background: #fff;
    color: var(--tfp-navy);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(7, 40, 78, .05);
}
.tfp-task-metrics > a:hover,
.tfp-task-metrics > a:focus,
.tfp-task-metrics > a.is-active {
    border-color: var(--tfp-gold);
    box-shadow: 0 0 0 2px rgba(225, 166, 38, .14);
}
.tfp-task-metrics span { color: var(--tfp-muted); }
.tfp-task-metrics strong { font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.tfp-task-metrics small { color: var(--tfp-muted); }
.tfp-task-list-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.tfp-task-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.tfp-task-filters a {
    padding: 9px 16px;
    border: 1px solid var(--tfp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--tfp-navy);
    font-weight: 800;
    text-decoration: none;
}
.tfp-task-filters a.is-active { border-color: var(--tfp-gold); background: var(--tfp-gold); }
.tfp-task-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: min(100%, 560px);
}
.tfp-task-search label { flex: 1 1 360px; }
.tfp-task-search input[type="search"] {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid var(--tfp-line);
    border-radius: 12px;
    background: #fff;
}
.tfp-task-search > a { color: var(--tfp-blue); font-weight: 800; }
.tfp-task-list { display: grid; gap: 12px; }
.tfp-task-row {
    overflow: visible;
    border: 1px solid var(--tfp-line);
    border-left: 7px solid #91a1b1;
    border-radius: 18px;
    background: #fff;
}
.tfp-task-row.is-ready { border-left-color: #70b85a; }
.tfp-task-row.is-flagged { border-left-color: #c6413a; }
.tfp-task-row.is-waiting { border-left-color: #91a1b1; }
.tfp-task-row.is-next { box-shadow: 0 0 0 3px rgba(225, 166, 38, .22); }
.tfp-task-row.is-completed { border-left-color: #91a1b1; opacity: .8; }
.tfp-task-row-summary {
    display: grid;
    grid-template-columns: 20px minmax(260px, 1fr) minmax(130px, .45fr) minmax(180px, .55fr) auto auto;
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 16px 20px;
}
.tfp-task-light {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #91a1b1;
    box-shadow: 0 0 0 5px rgba(145, 161, 177, .14);
}
.tfp-task-row.is-ready .tfp-task-light { background: #70b85a; box-shadow: 0 0 0 5px rgba(112, 184, 90, .15); }
.tfp-task-row.is-flagged .tfp-task-light { background: #c6413a; box-shadow: 0 0 0 5px rgba(198, 65, 58, .14); }
.tfp-task-row.is-waiting .tfp-task-light { background: #91a1b1; box-shadow: 0 0 0 5px rgba(145, 161, 177, .14); }
.tfp-task-row.is-completed .tfp-task-light { background: #91a1b1; box-shadow: none; }
.tfp-task-main { display: grid; gap: 3px; min-width: 0; }
.tfp-task-main strong { overflow-wrap: anywhere; font-size: 18px; color: var(--tfp-navy); }
.tfp-task-main small,
.tfp-task-due small { color: var(--tfp-muted); }
.tfp-task-assignee { color: var(--tfp-ink); font-weight: 700; }
.tfp-task-due { display: grid; gap: 2px; }
.tfp-task-start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid var(--tfp-gold);
    border-radius: 12px;
    background: var(--tfp-gold);
    color: var(--tfp-navy);
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}
.tfp-task-start-button:hover,
.tfp-task-start-button:focus-visible { background: #fff2ca; color: var(--tfp-navy); }
.tfp-task-flag-control { position: relative; }
.tfp-task-flag-control > summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--tfp-line);
    border-radius: 12px;
    background: #fff;
    color: var(--tfp-navy);
    font-size: 22px;
    cursor: pointer;
    list-style: none;
}
.tfp-task-flag-control > summary::-webkit-details-marker { display: none; }
.tfp-task-row.is-flagged .tfp-task-flag-control > summary {
    border-color: #c6413a;
    background: #fff0ef;
    color: #a12d28;
}
.tfp-task-flag-control > form {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    gap: 10px;
    width: min(330px, calc(100vw - 48px));
    padding: 16px;
    border: 1px solid var(--tfp-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(7, 40, 78, .2);
}
.tfp-task-flag-control form p { margin: 0; color: var(--tfp-muted); }
.tfp-task-flag-control form label { display: grid; gap: 6px; }
.tfp-task-flag-control form label span { color: var(--tfp-muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.tfp-task-flag-control form textarea { width: 100%; min-height: 84px; margin: 0; }
.tfp-task-last-note { margin-top: 18px !important; padding: 14px; border-radius: 12px; background: #fff4cf; }
.tfp-task-safeguard {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border-left: 5px solid var(--tfp-gold);
    border-radius: 10px;
    background: #fff4cf;
    color: var(--tfp-navy);
}
body.tfp-task-guide-open { overflow: hidden; }
.tfp-task-guide-modal[hidden] { display: none !important; }
.tfp-task-guide-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 24, 48, .76);
    backdrop-filter: blur(3px);
}
.tfp-task-guide {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 15, 35, .34);
}
.tfp-task-guide-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px 20px;
    border-bottom: 1px solid var(--tfp-line);
    background: #fff;
}
.tfp-task-guide-header h2 {
    max-width: 620px;
    margin: 5px 0 0;
    color: var(--tfp-navy);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}
.tfp-task-guide-kicker,
.tfp-task-guide-question {
    color: #6b7a8b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.tfp-task-guide-close {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--tfp-navy);
    font-size: 35px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}
.tfp-task-guide-close:hover,
.tfp-task-guide-close:focus-visible { background: #eef4f8; }
.tfp-task-guide-progress {
    display: grid;
    grid-template-columns: auto minmax(100px, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 26px;
    color: #607185;
    font-size: 13px;
    font-weight: 800;
    background: #f4f8fb;
}
.tfp-task-guide-progress-track {
    overflow: hidden;
    height: 7px;
    border-radius: 999px;
    background: #d9e3eb;
}
.tfp-task-guide-progress-track > span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: var(--tfp-gold);
    transition: width .2s ease;
}
.tfp-task-guide-step {
    padding: clamp(26px, 5vw, 46px);
}
.tfp-task-guide-step[hidden] { display: none !important; }
.tfp-task-guide-step h3 {
    margin: 7px 0 14px;
    color: var(--tfp-navy);
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.12;
}
.tfp-task-guide-step-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.tfp-form-label-with-help {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

.tfp-form-label-with-help > h3,
.tfp-form-label-with-help > span {
    margin: 0;
}
.tfp-task-guide-step-title h3 { flex: 1 1 auto; }
.tfp-context-help {
    flex: 0 0 auto;
    position: relative;
    margin-top: 7px;
}
.tfp-context-help > summary {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid var(--tfp-blue);
    border-radius: 50%;
    background: #fff;
    color: var(--tfp-blue);
    font: 900 20px/1 Arial, sans-serif;
    cursor: pointer;
    list-style: none;
}
.tfp-context-help > summary::-webkit-details-marker { display: none; }
.tfp-context-help > summary:hover,
.tfp-context-help > summary:focus-visible,
.tfp-context-help[open] > summary {
    background: var(--tfp-blue);
    color: #fff;
    outline: 0;
}
.tfp-context-help-popup {
    position: absolute;
    z-index: 8;
    top: calc(100% + 10px);
    right: 0;
    width: min(440px, calc(100vw - 64px));
    padding: 18px 20px;
    border: 1px solid #cbd8e4;
    border-top: 4px solid var(--tfp-gold);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(5, 38, 74, .18);
    color: var(--tfp-navy);
}
.tfp-context-help-popup strong {
    display: block;
    margin-bottom: 7px;
    font-size: 16px;
}
.tfp-context-help-popup p {
    margin: 0;
    color: var(--tfp-muted);
    font-size: 16px;
    line-height: 1.55;
}
.tfp-task-guide-step > p { color: var(--tfp-muted); font-size: 17px; }
.tfp-task-guide-instructions {
    padding: 20px;
    border: 1px solid #d5e0e8;
    border-radius: 16px;
    background: #f8fbfd;
    color: #26384b;
    font-size: 17px;
    line-height: 1.65;
}
.tfp-task-guide-instructions ol { margin: 14px 0 0 22px; }
.tfp-task-guide-instructions li + li { margin-top: 8px; }
.tfp-task-guide-record-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    margin-top: 24px;
    padding: 16px 20px;
    border: 2px solid var(--tfp-gold);
    border-radius: 14px;
    background: #fff8e6;
    color: var(--tfp-navy);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}
.tfp-task-guide-record-link:hover,
.tfp-task-guide-record-link:focus-visible { background: var(--tfp-gold); color: var(--tfp-navy); }
.tfp-task-guide-verification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 15px 17px;
    border: 1px solid var(--tfp-line);
    border-radius: 14px;
    background: #f7fafc;
    color: var(--tfp-navy);
    font-weight: 800;
    line-height: 1.4;
}
.tfp-task-guide-verification input {
    width: 21px;
    height: 21px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--tfp-green);
}
.tfp-task-guide-field { display: grid; gap: 9px; margin-top: 22px; }
.tfp-task-guide-field > span { color: var(--tfp-navy); font-weight: 900; }
.tfp-task-guide-field textarea,
.tfp-task-guide-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 12px 14px;
    border: 2px solid #bdcedd;
    border-radius: 12px;
    background: #fff;
    color: var(--tfp-ink);
    box-shadow: none;
    font: inherit;
    font-size: 17px;
}
.tfp-task-guide-field textarea { min-height: 150px; padding: 15px; }
.tfp-task-guide-field input { padding: 10px 14px; }
.tfp-task-guide-field textarea:focus,
.tfp-task-guide-field input:focus {
    border-color: var(--tfp-brand);
    outline: 3px solid rgba(17,107,130,.14);
    box-shadow: none;
}
.tfp-task-guide-choice-list { display: grid; gap: 14px; margin-top: 24px; }
.tfp-task-guide-choice-list button {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 19px 20px;
    border: 2px solid #c9d7e3;
    border-radius: 15px;
    background: #fff;
    color: var(--tfp-navy);
    text-align: left;
    cursor: pointer;
}
.tfp-task-guide-choice-list button:hover,
.tfp-task-guide-choice-list button:focus-visible { border-color: var(--tfp-gold); background: #fff8e6; }
.tfp-task-guide-choice-list strong { font-size: 18px; }
.tfp-task-guide-choice-list span { color: var(--tfp-muted); }
.tfp-task-guide-controls {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}
.tfp-task-guide-controls.is-end { justify-content: flex-end; }
.tfp-task-guide-controls button { cursor: pointer; }
.tfp-task-guide-review {
    display: grid;
    gap: 0;
    margin: 22px 0 0;
    border: 1px solid var(--tfp-line);
    border-radius: 16px;
    background: #f8fbfd;
}
.tfp-task-guide-review > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--tfp-line);
}
.tfp-task-guide-review > div:last-child { border-bottom: 0; }
.tfp-task-guide-review dt { color: #68788a; font-weight: 800; }
.tfp-task-guide-review dd { margin: 0; color: var(--tfp-navy); font-weight: 800; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .tfp-task-dashboard { grid-template-columns: 1fr 1fr; }
    .tfp-next-task-panel { grid-column: 1 / -1; }
    .tfp-task-list-tools { align-items: stretch; flex-direction: column; }
    .tfp-task-search { justify-content: stretch; width: 100%; min-width: 0; }
    .tfp-task-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-task-row-summary { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; }
    .tfp-task-assignee, .tfp-task-due { grid-column: 2; }
    .tfp-task-start-button { grid-column: 3; grid-row: 1 / span 2; }
    .tfp-task-flag-control { grid-column: 3; grid-row: 3; justify-self: end; }
}

@media (max-width: 620px) {
    .tfp-task-dashboard { grid-template-columns: 1fr; }
    .tfp-next-task-panel { grid-column: auto; }
    .tfp-next-task-panel { align-items: stretch; flex-direction: column; }
    .tfp-next-task-button { width: 100%; }
    .tfp-task-search { align-items: stretch; flex-wrap: wrap; }
    .tfp-task-search label { flex-basis: 100%; }
    .tfp-task-search .tfp-secondary-button { flex: 1 1 auto; }
    .tfp-task-sync-form { align-items: stretch; flex-direction: column; }
    .tfp-task-sync-form .tfp-secondary-button { width: 100%; }
    .tfp-task-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tfp-task-metrics > a { padding: 16px; }
    .tfp-task-row-summary { grid-template-columns: 16px minmax(0, 1fr); padding: 14px; }
    .tfp-task-assignee, .tfp-task-due { grid-column: 2; }
    .tfp-task-start-button { grid-column: 1 / -1; grid-row: auto; width: 100%; }
    .tfp-task-flag-control { grid-column: 2; grid-row: auto; justify-self: end; }
    .tfp-task-guide-modal { align-items: flex-end; padding: 0; }
    .tfp-task-guide {
        width: 100%;
        max-height: calc(100vh - 12px);
        border-radius: 22px 22px 0 0;
    }
    .tfp-task-guide-header { padding: 19px 18px 16px; }
    .tfp-task-guide-progress { padding: 12px 18px; }
    .tfp-task-guide-step { padding: 24px 18px; }
    .tfp-context-help-popup {
        position: fixed;
        right: 18px;
        bottom: 18px;
        top: auto;
        left: 18px;
        width: auto;
    }
    .tfp-task-guide-controls { flex-direction: column-reverse; }
    .tfp-task-guide-controls button,
    .tfp-task-guide-controls a { width: 100%; }
    .tfp-task-guide-review > div { grid-template-columns: 1fr; gap: 4px; }
}

.tfp-invoice-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--tfp-accent);
    border-radius: 8px;
    color: var(--tfp-brand-dark);
    background: #fff8e8;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}
.tfp-invoice-edit-button:hover,
.tfp-invoice-edit-button:focus-visible { background: var(--tfp-accent); color: var(--tfp-brand-dark); }
.tfp-invoice-edit-button.is-disabled {
    border-color: #d8dee5;
    color: #8692a0;
    background: #eef1f4;
    cursor: not-allowed;
}
.tfp-invoice-editor-page { display: grid; gap: 18px; }
.tfp-invoice-editor-card { overflow: hidden; }
.tfp-invoice-editor-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}
.tfp-invoice-editor-header .tfp-eyebrow { margin: 0 0 6px; }
.tfp-invoice-editor-header h2 { margin: 0 0 7px; }
.tfp-invoice-editor-header .tfp-status { flex: 0 0 auto; }
.tfp-invoice-editor-header .tfp-status.is-draft { color: #765300; background: #fff0bd; }
.tfp-invoice-editor-header .tfp-status.is-locked { color: #596775; background: #e9edf1; }
.tfp-invoice-locked-notice {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    padding: 16px 22px;
    border-top: 1px solid var(--tfp-line);
    border-bottom: 1px solid var(--tfp-line);
    color: #596775;
    background: #f2f4f6;
}
.tfp-invoice-editor-form { display: grid; gap: 24px; padding: 24px; }
.tfp-invoice-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.tfp-invoice-editor-form label { display: grid; gap: 7px; min-width: 0; color: var(--tfp-brand-dark); font-size: 11px; font-weight: 850; }
.tfp-invoice-editor-form label > span { color: var(--tfp-brand-dark); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.tfp-invoice-editor-form .tfp-form-label-with-help > span { color: var(--tfp-brand-dark); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.tfp-invoice-editor-form input,
.tfp-invoice-editor-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #b9cada;
    border-radius: 8px;
    background: #fff;
    color: var(--tfp-ink);
    box-shadow: none;
    font: inherit;
    font-size: 14px;
}
.tfp-invoice-editor-form textarea { min-height: 92px; resize: vertical; }
.tfp-invoice-editor-form input:focus,
.tfp-invoice-editor-form textarea:focus {
    border-color: var(--tfp-brand);
    outline: 3px solid rgba(17,107,130,.14);
    box-shadow: none;
}
.tfp-invoice-editor-form input:disabled,
.tfp-invoice-editor-form textarea:disabled,
.tfp-followup-form input:disabled,
.tfp-followup-form select:disabled,
.tfp-followup-form textarea:disabled {
    border-color: #d7dfe6;
    background: #eef2f5;
    color: #73808d;
    cursor: not-allowed;
    opacity: 1;
}
.tfp-invoice-form-grid .is-wide { grid-column: span 2; }
.tfp-invoice-form-grid .is-full { grid-column: 1 / -1; }
.tfp-invoice-items-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.tfp-invoice-items-heading h3,
.tfp-invoice-items-heading p { margin: 0; }
.tfp-invoice-items { display: grid; gap: 12px; }
.tfp-invoice-item {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(220px, 1.5fr) 110px 150px 38px;
    align-items: end;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--tfp-line);
    border-radius: 12px;
    background: #f9fbfc;
}
.tfp-invoice-remove-item {
    width: 38px;
    min-height: 42px;
    border: 1px solid #ddb1b1;
    border-radius: 9px;
    color: #8c2727;
    background: #fff;
    font-size: 23px;
    cursor: pointer;
}
.tfp-invoice-total {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 16px;
    padding-top: 4px;
}
.tfp-invoice-total span { color: var(--tfp-muted); font-weight: 800; }
.tfp-invoice-total strong { color: var(--tfp-brand-dark); font-size: 25px; }
.tfp-invoice-editor-form .tfp-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.tfp-invoice-editor-form .tfp-form-actions span { color: var(--tfp-muted); font-size: 12px; }

@media (max-width: 980px) {
    .tfp-invoice-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfp-invoice-item { grid-template-columns: 1fr 1fr; }
    .tfp-invoice-item .is-name,
    .tfp-invoice-item .is-description { grid-column: span 1; }
}
@media (max-width: 620px) {
    .tfp-invoice-editor-header,
    .tfp-invoice-items-heading,
    .tfp-invoice-editor-form .tfp-form-actions { align-items: stretch; flex-direction: column; }
    .tfp-invoice-form-grid,
    .tfp-invoice-item { grid-template-columns: 1fr; }
    .tfp-invoice-form-grid .is-wide,
    .tfp-invoice-form-grid .is-full { grid-column: auto; }
    .tfp-invoice-remove-item { width: 100%; }
}

.tfp-clickable-property-row { cursor: pointer; transition: background-color .16s ease, box-shadow .16s ease; }
.tfp-clickable-property-row:hover,
.tfp-clickable-property-row:focus { background: #fff9e9; outline: 0; box-shadow: inset 4px 0 0 var(--tfp-accent); }
.tfp-clickable-property-row td:first-child a { position: relative; z-index: 1; }
.tfp-property-dialog { width: min(760px, 100%); max-height: min(880px, calc(100vh - 48px)); overflow-y: auto; }
.tfp-property-dialog form { display: grid; gap: 0; }
.tfp-property-edit-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px 26px;
}
.tfp-property-edit-fields label { display: grid; gap: 7px; min-width: 0; color: var(--tfp-brand-dark); font-weight: 800; }
.tfp-property-edit-fields label > span,
.tfp-property-owner span { color: var(--tfp-muted); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tfp-property-edit-fields input { box-sizing: border-box; width: 100%; min-width: 0; }
.tfp-property-edit-fields .is-full,
.tfp-property-owner { grid-column: 1 / -1; }
.tfp-property-owner { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--tfp-line); border-radius: 10px; background: #f7fafc; }
.tfp-property-owner strong { color: var(--tfp-brand-dark); }
.tfp-property-review { padding: 22px 26px; }
.tfp-property-review .tfp-notice { margin: 0 0 18px; }
.tfp-property-review .tfp-notice p { margin: 6px 0 0; }
.tfp-property-review dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid var(--tfp-line); border-radius: 11px; }
.tfp-property-review dl div { padding: 14px 16px; border-bottom: 1px solid var(--tfp-line); }
.tfp-property-review dl div:nth-child(odd) { border-right: 1px solid var(--tfp-line); }
.tfp-property-review dt { color: var(--tfp-muted); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tfp-property-review dd { margin: 4px 0 0; color: var(--tfp-brand-dark); font-weight: 800; overflow-wrap: anywhere; }

@media (max-width: 620px) {
    .tfp-action-form-card__header { padding: 22px 20px 20px; }
    .tfp-unified-form { padding: 22px 20px 26px; }
    .tfp-unified-form .tfp-form-grid { grid-template-columns: 1fr; }
    .tfp-unified-form label.is-full { grid-column: auto; }
    .tfp-property-edit-fields,
    .tfp-property-review dl { grid-template-columns: 1fr; }
    .tfp-property-edit-fields .is-full,
    .tfp-property-owner { grid-column: auto; }
    .tfp-property-review dl div:nth-child(odd) { border-right: 0; }
}
.tfp-task-rebuild-confirm {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tfp-task-rebuild-confirm[hidden] {
    display: none;
}

.tfp-danger-button {
    background: #b42318;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 16px;
}

.tfp-text-button {
    background: transparent;
    border: 0;
    color: #0a68b0;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 4px;
    text-decoration: underline;
}
.tfp-employee-list {
    display: grid;
    gap: 10px;
}

.tfp-employee-row {
    align-items: center;
    background: #fff;
    border: 1px solid #d7e1e9;
    border-radius: 14px;
    color: #073c55;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    text-decoration: none;
}

.tfp-employee-row span:first-child {
    display: grid;
    gap: 3px;
}

.tfp-employee-row small {
    color: #64748b;
}

.tfp-employee-row:hover,
.tfp-employee-row:focus-visible {
    border-color: #e2a927;
    box-shadow: 0 8px 20px rgba(7, 60, 85, .08);
}
