:root {
    color-scheme: light;
    --blue: #3a7afe;
    --green: #258c5b;
    --mint: #e5f7ee;
    --slate: #172033;
    --muted: #6f7d90;
    --line: #e4eaf1;
    --surface: #ffffff;
    --soft: #bfd1e6;
    --amber: #b45309;
    --purple: #7655c5;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--soft);
    color: var(--slate);
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.screen {
    display: grid;
    gap: 18px;
}

.hero-panel,
.surface,
.metric-card,
.job-card,
.property-card,
.chat-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(21, 32, 51, 0.08);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 26px;
    align-items: center;
    padding: clamp(24px, 5vw, 48px);
    overflow: hidden;
}

.demo-hero,
.product-hero {
    align-items: stretch;
    grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
}

.home-hero {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding-inline: 0;
}

.home-screen .home-hero,
.home-screen .home-hero .hero-copy {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.home-screen .home-hero .hero-copy {
    padding: 0;
}

.hero-copy h1:focus,
.hero-copy h1:focus-visible {
    outline: none;
    box-shadow: none;
}

.landlord-dashboard-hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(500px, 1.1fr);
}

.landlord-dashboard-hero .hero-copy h1 {
    max-width: 12ch;
    font-size: 3.7rem;
    line-height: 1.05;
}

.hero-copy h1 {
    margin-bottom: 16px;
    max-width: 720px;
    color: var(--slate);
    font-size: clamp(2.1rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy p,
.section-copy {
    max-width: 64ch;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-card-stack {
    display: grid;
    gap: 12px;
}

.role-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
}

.role-card strong,
.role-card span {
    display: block;
}

.role-card span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2px;
}

.section-heading h2 {
    margin-bottom: 4px;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
}

.button.secondary {
    background: #edf3fb;
    color: #24324a;
}

.button.danger {
    background: #fff1f0;
    border-color: #ffd1cc;
    color: #9f2d20;
}

.link-button {
    justify-self: start;
    padding: 0;
    border: 0;
    color: var(--blue);
    background: transparent;
    font-weight: 900;
    cursor: pointer;
}

.link-button:disabled {
    color: var(--muted);
    cursor: not-allowed;
}

.button.green {
    background: var(--green);
}

.button.amber {
    background: var(--amber);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    padding: 18px;
}

.metric-card small,
.muted-label {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.metric-card strong {
    display: block;
    margin-top: 8px;
    color: var(--slate);
    font-size: 2rem;
    line-height: 1;
}

.accent-blue {
    border-top: 4px solid var(--blue);
}

.accent-green {
    border-top: 4px solid var(--green);
}

.accent-amber {
    border-top: 4px solid #f0a63a;
}

.accent-purple {
    border-top: 4px solid var(--purple);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
}

.surface {
    padding: 20px;
}

.compact-surface {
    padding-block: 16px;
}

.workspace-brief {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.action-stack {
    display: grid;
    min-width: min(280px, 100%);
    gap: 10px;
}

.demo-control-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: center;
}

.demo-control-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.demo-entry-panel {
    border-color: #bcd0ef;
    background: #f7faff;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.pipeline-column {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
}

.pipeline-column strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    line-height: 1;
}

.pipeline-column p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.repair-board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.repair-board-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #fbfcfe;
}

.repair-board-search {
    min-width: 0;
}

.repair-board-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.filter-chip {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cfe1f7;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    border-color: #9dbcfb;
    box-shadow: 0 0 0 4px rgba(58, 122, 254, 0.1);
    outline: none;
}

.filter-chip.active {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
}

.focused-repair-list {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #ffffff;
}

.focused-repair-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.focused-repair-list-heading h3 {
    margin: 2px 0 0;
    font-size: 1.05rem;
}

.quiet-button {
    min-height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.focused-repair-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.focused-repair-list-actions {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.optional-data-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid #f1c778;
    border-radius: 8px;
    background: #fff8e8;
    color: #5c4217;
}

.optional-data-warning div {
    display: grid;
    gap: 4px;
}

.optional-data-warning span {
    color: #6b5731;
}

.focused-repair-card {
    display: grid;
    gap: 7px;
    min-height: 132px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fafc;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.focused-repair-card:hover,
.focused-repair-card:focus-visible {
    border-color: #9dbcfb;
    box-shadow: 0 10px 26px rgba(58, 122, 254, 0.12);
    outline: none;
}

.focused-repair-card.active {
    border-color: var(--blue);
    background: #f5f8ff;
    box-shadow: inset 4px 0 0 var(--blue);
}

.focused-repair-card strong,
.focused-repair-card small {
    display: block;
}

.focused-repair-card strong {
    color: var(--slate);
}

.focused-repair-card small {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.repair-board-column {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 210px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fafc;
}

.repair-board-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.repair-board-heading span {
    color: #334155;
    font-weight: 900;
}

.repair-board-heading strong {
    display: inline-grid;
    min-width: 32px;
    min-height: 32px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--blue);
    font-size: 0.92rem;
}

.repair-board-card {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.repair-board-card:hover,
.repair-board-card:focus-visible {
    border-color: #9dbcfb;
    box-shadow: 0 10px 26px rgba(58, 122, 254, 0.12);
    outline: none;
}

.repair-board-card.active {
    border-color: var(--blue);
    box-shadow: inset 4px 0 0 var(--blue), 0 12px 28px rgba(58, 122, 254, 0.14);
}

.repair-board-card strong,
.repair-board-card span,
.repair-board-card small {
    display: block;
}

.repair-board-card strong {
    color: var(--slate);
}

.repair-board-card span {
    color: #42526b;
    font-size: 0.9rem;
}

.repair-board-card small,
.empty-board-note {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.empty-board-note {
    margin: 0;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
}

.repair-action-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.selected-repair-details {
    display: block;
    overflow: hidden;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #ffffff;
}

.selected-repair-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    background: #f8fbff;
}

.selected-repair-summary::-webkit-details-marker {
    display: none;
}

.selected-repair-summary > span:first-child {
    display: grid;
    gap: 4px;
}

.selected-repair-summary strong,
.selected-repair-summary small {
    display: block;
}

.selected-repair-summary strong {
    color: var(--slate);
    font-size: 1.05rem;
}

.selected-repair-summary small {
    color: var(--muted);
    line-height: 1.4;
}

.selected-repair-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 18px;
    padding: 18px;
    border-top: 1px solid var(--line);
}

.selected-repair-details-collapsed .selected-repair-summary {
    background: #f0fdf4;
}

.repair-action-main,
.repair-action-controls {
    display: grid;
    align-content: start;
    gap: 14px;
}

.repair-action-main h3 {
    margin-bottom: 4px;
    font-size: 1.35rem;
}

.repair-action-main .job-topline p {
    margin-bottom: 0;
    color: var(--muted);
}

.repair-action-details,
.repair-record-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.repair-record-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.action-focus-grid div {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #cfe1f7;
    border-radius: 14px;
    background: #f7fbff;
}

.action-focus-grid small {
    color: #245fdc;
    font-size: 0.75rem;
    font-weight: 900;
}

.action-focus-grid strong {
    color: var(--slate);
}

.repair-action-details div,
.repair-record-summary div,
.next-step-panel {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.repair-action-details small,
.repair-action-details strong,
.repair-record-summary small,
.repair-record-summary strong,
.repair-record-summary span,
.next-step-panel small,
.next-step-panel p {
    display: block;
}

.repair-action-details small,
.repair-record-summary small,
.next-step-panel small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.repair-action-details strong,
.repair-record-summary strong {
    margin-top: 4px;
}

.repair-record-summary span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.repair-case-reference {
    display: block;
    color: #42526b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.next-step-panel p {
    margin: 6px 0 0;
    color: #334155;
    line-height: 1.55;
}

.repair-timeline-panel,
.simple-links-panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.repair-record-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.repair-record-card,
.record-action-heading {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.record-action-heading {
    background: #f8fafc;
}

.landlord-next-action-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #a9c4fb;
    border-radius: 16px;
    background: #f6f9ff;
}

.contractor-handoff-panel {
    display: grid;
    align-items: start;
    gap: 18px;
    border-color: #bbf7d0;
    background: #f1fcf6;
}

.contractor-handoff-panel h2 {
    margin-bottom: 6px;
}

.availability-window-editor,
.availability-match-list {
    display: grid;
    gap: 10px;
}

.availability-window-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid #cfe1f7;
    border-radius: 8px;
    background: #ffffff;
}

.availability-match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 8px;
    background: #ffffff;
}

.availability-match-row.is-match {
    border-color: #86c5a3;
    background: #f0fdf4;
}

.availability-match-row strong,
.availability-match-row span {
    display: block;
}

.availability-response-panel,
.availability-choice-list {
    display: grid;
    gap: 12px;
}

.availability-response-panel > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.availability-choice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px;
    border: 1px solid #cfe1f7;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.availability-choice input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.availability-choice strong,
.availability-choice small {
    display: block;
}

.availability-choice small {
    margin-top: 3px;
    color: var(--muted);
}

.availability-match-row span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .availability-window-row,
    .availability-match-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.landlord-next-action-card .record-action-heading {
    padding: 0;
    border: 0;
    background: transparent;
}

.landlord-next-action-card .button {
    justify-self: start;
}

.closed-record-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f0fdf4;
}

.closed-next-step-panel,
.closed-side-panel {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.closed-next-step-panel {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
}

.closed-next-step-panel small,
.closed-side-panel small {
    color: #166534;
    font-size: 0.75rem;
    font-weight: 900;
}

.closed-next-step-panel p {
    margin: 0;
    color: #166534;
    line-height: 1.5;
}

.closed-record-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.closed-record-heading h3,
.closed-record-heading p {
    margin: 0;
}

.closed-record-heading p {
    margin-top: 6px;
    color: #166534;
    line-height: 1.5;
}

.closed-file-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.closed-file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.closed-file-actions .field-hint {
    flex: 1 1 260px;
}

.closed-file-strip div,
.closed-file-notes div {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #ffffff;
}

.closed-file-strip small,
.closed-file-notes small {
    color: #166534;
    font-size: 0.75rem;
    font-weight: 900;
}

.closed-file-strip strong {
    color: var(--slate);
    line-height: 1.25;
}

.closed-file-strip span,
.closed-file-notes p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.closed-record-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.closed-record-grid div {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #ffffff;
}

.closed-record-grid small {
    color: #166534;
    font-size: 0.75rem;
    font-weight: 900;
}

.closed-record-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.closed-file-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.closed-archive-panel {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #ffffff 0%, #f4fdf7 100%);
}

.closed-archive-search {
    max-width: 640px;
}

.closed-archive-list {
    display: grid;
    gap: 10px;
}

.closed-archive-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #d7eadc;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
}

.closed-archive-item strong,
.closed-archive-item span {
    display: block;
}

.closed-archive-item strong {
    color: var(--slate);
}

.closed-archive-item span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.closed-archive-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
}

.closed-archive-actions {
    justify-self: end;
}

.secondary-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.repair-record-card small,
.record-action-heading small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.repair-record-card strong,
.record-action-heading strong {
    color: var(--slate);
}

.repair-record-card p,
.record-action-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.repair-record-card a {
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
}

.repair-timeline-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.repair-timeline-heading small,
.simple-links-panel small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.repair-timeline-heading span {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 900;
}

.repair-stage-list {
    display: grid;
    gap: 8px;
}

.repair-stage {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.repair-stage.complete {
    border-color: #bfe8d0;
    background: #f4fbf7;
}

.repair-stage.current {
    border-color: #a9c4fb;
    background: #f3f7ff;
    box-shadow: inset 4px 0 0 var(--blue);
}

.repair-stage.upcoming {
    color: #5d6b7f;
}

.repair-step-marker {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: #dbe6f5;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 900;
}

.repair-stage.complete .repair-step-marker {
    background: var(--green);
    color: #ffffff;
}

.repair-stage.complete .repair-step-marker::before {
    content: "✓";
}

.repair-stage.complete .repair-step-marker {
    font-size: 0;
}

.repair-stage.complete .repair-step-marker::before {
    font-size: 1rem;
}

.repair-stage.current .repair-step-marker {
    background: var(--blue);
    color: #ffffff;
}

.repair-stage strong,
.repair-stage p,
.repair-stage small,
.repair-activity-list > small {
    display: block;
}

.repair-stage strong {
    color: var(--slate);
}

.repair-stage p {
    margin: 3px 0;
    color: #334155;
    line-height: 1.45;
}

.repair-stage small {
    color: var(--muted);
    font-weight: 800;
}

.repair-activity-list {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.repair-activity-list > small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.repair-timeline-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.repair-timeline-item > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--blue);
    font-weight: 900;
}

.repair-timeline-item strong,
.repair-timeline-item p,
.repair-timeline-item small {
    display: block;
}

.repair-timeline-item p {
    margin: 4px 0;
    color: #334155;
    line-height: 1.45;
}

.repair-timeline-item small {
    color: var(--muted);
}

.simple-links-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.simple-link-list {
    display: grid;
    gap: 8px;
}

.simple-link-list a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    color: #24324a;
    font-weight: 900;
    text-decoration: none;
}

.simple-link-list a:hover,
.simple-link-list a:focus-visible {
    border-color: #9dbcfb;
    outline: none;
}

.invite-link-panel {
    gap: 12px;
    border-color: #cfe1f7;
    background: #f8fbff;
}

.invite-link-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #ffffff;
}

.invite-link-card strong,
.invite-link-card span,
.invite-link-card small {
    display: block;
}

.invite-link-card span {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.45;
}

.invite-link-card small {
    margin-top: 8px;
    color: #166534;
    font-weight: 900;
}

.invite-link-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
}

.muted-invite-card {
    background: #f8fafc;
}

.quiet-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.fixed-invite-role {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #cfe1f7;
    border-radius: 14px;
    background: #f8fbff;
}

.fixed-invite-role small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.fixed-invite-role span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.public-repair-workspace {
    align-items: start;
}

.contractor-action-panel,
.evidence-upload,
.appointment-summary,
.repair-description {
    display: grid;
    gap: 12px;
}

.contractor-action-panel {
    padding: 16px;
    border: 1px solid #cfe1f7;
    border-radius: 8px;
    background: #f8fbff;
}

.contractor-action-panel p,
.repair-description p,
.appointment-summary p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.appointment-summary small,
.appointment-summary span,
.evidence-upload small {
    color: var(--muted);
}

.appointment-summary strong {
    font-size: 1.05rem;
}

.public-update-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dbe7f5;
}

.contractor-link-notice {
    max-width: 720px;
    margin: 8vh auto 0;
    display: grid;
    gap: 18px;
}

.contractor-link-notice h1,
.contractor-link-notice p {
    margin: 0;
}

.contractor-link-notice p {
    color: var(--muted);
    line-height: 1.65;
}

.notice-callout {
    display: grid;
    gap: 5px;
    padding: 14px;
    border-left: 4px solid var(--blue);
    background: #f8fbff;
}

.notice-callout span {
    color: var(--muted);
}

.checkbox-field {
    grid-template-columns: auto 1fr;
    align-content: center;
    align-items: center;
}

.checkbox-field input {
    width: 20px;
    height: 20px;
}

.supporting-workspace {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
}

.supporting-workspace > .section-heading {
    margin-bottom: 0;
}

.compliance-disclaimer {
    border-color: #f7c36d;
    background: #fffaf0;
}

.compliance-disclaimer p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.launch-trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.launch-trust-strip h2,
.launch-trust-strip p {
    margin-bottom: 6px;
}

.launch-trust-strip p {
    max-width: 66ch;
    color: var(--muted);
    line-height: 1.65;
}

.legal-page {
    margin-inline: auto;
    max-width: 980px;
}

.legal-hero,
.legal-content {
    padding: clamp(24px, 5vw, 48px);
}

.legal-hero h1 {
    max-width: 18ch;
    margin: 8px 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.legal-hero p,
.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.75;
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content a,
.contact-page a:not(.button) {
    color: #245fdc;
    font-weight: 700;
}

.contact-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.contact-summary h2 {
    overflow-wrap: anywhere;
}

.contact-guidance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 24px;
}

.contact-guidance h2 {
    margin: 6px 0;
    font-size: 1.2rem;
}

.contact-guidance p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.signup-consent {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500 !important;
    line-height: 1.55;
}

.signup-consent input {
    width: 20px !important;
    height: 20px;
    margin-top: 2px;
}

.signup-consent a {
    color: #245fdc;
    font-weight: 700;
}

.compliance-list {
    display: grid;
    gap: 12px;
}

.compliance-item {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.compliance-item-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.compliance-item h3,
.trust-card h3 {
    margin-bottom: 6px;
}

.compliance-item p,
.trust-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.compliance-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.compliance-date-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
}

.compliance-save-row {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 12px;
}

.compliance-meta-grid div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.compliance-meta-grid small,
.compliance-meta-grid strong {
    display: block;
}

.compliance-meta-grid small {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trust-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.privacy-rule-list {
    display: grid;
    gap: 12px;
}

.privacy-rule {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.privacy-rule span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: var(--green);
    font-weight: 900;
}

.privacy-rule h3 {
    margin-bottom: 6px;
}

.privacy-rule p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.card-list {
    display: grid;
    gap: 12px;
}

.property-card,
.job-card {
    padding: 16px;
}

.property-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(58, 122, 254, 0.16), rgba(37, 140, 91, 0.16)),
        #edf3fb;
}

.property-documents-panel {
    display: grid;
    gap: 16px;
}

.property-directory-panel {
    display: grid;
    gap: 16px;
}

.compact-details {
    display: block;
}

.compact-details-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.compact-details-summary::-webkit-details-marker {
    display: none;
}

.compact-details-summary div,
.compact-details-summary > span:first-child {
    display: grid;
    gap: 4px;
}

.compact-details-summary strong {
    color: var(--slate);
    font-size: 1.05rem;
}

.compact-details-summary span:last-child:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.4;
}

.compact-details-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #eaf1fb;
    color: #1e3a8a;
    font-weight: 900;
    white-space: nowrap;
}

.compact-details[open] .compact-details-action {
    background: #dbeafe;
}

.compact-details[open] .compact-details-action::before {
    content: "Close";
}

.compact-details[open] .compact-details-action {
    font-size: 0;
}

.compact-details[open] .compact-details-action::before {
    font-size: 0.95rem;
}

.compact-details-body {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.repair-details-drawer {
    display: block;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #ffffff;
}

.repair-details-drawer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    cursor: pointer;
    list-style: none;
}

.repair-details-drawer summary::-webkit-details-marker {
    display: none;
}

.repair-details-drawer summary span:first-child {
    display: grid;
    gap: 4px;
}

.repair-details-drawer summary strong,
.repair-details-drawer summary small {
    display: block;
}

.repair-details-drawer summary strong {
    color: var(--slate);
}

.repair-details-drawer summary small {
    color: var(--muted);
    line-height: 1.4;
}

.repair-details-body {
    display: grid;
    gap: 14px;
    padding: 0 14px 14px;
}

.landlord-tools-drawer {
    background: rgba(255, 255, 255, 0.72);
}

.landlord-tools-body > .surface {
    box-shadow: none;
}

.property-hub-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
}

.property-hub-selector {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #ffffff;
}

.property-hub-selector .field {
    margin: 0;
}

.property-file-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.property-file-heading h3 {
    margin: 8px 0 4px;
    color: var(--slate);
}

.property-file-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.property-file-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.property-file-summary div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #ffffff;
}

.property-file-summary small,
.property-contact-file small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-file-summary strong,
.property-contact-file strong {
    color: var(--slate);
}

.property-file-summary span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.property-contact-file {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #f8fbff;
}

.property-contractor-selector {
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #f8fbff;
}

.property-contractor-selector .field {
    margin: 0;
}

.approved-contractor-list {
    display: grid;
    gap: 8px;
}

.approved-contractor-row {
    display: grid;
    gap: 3px;
    padding: 10px 0;
    border-top: 1px solid #e5edf7;
}

.approved-contractor-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.approved-contractor-row span {
    color: var(--slate);
    font-weight: 900;
}

.document-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
    gap: 16px;
    align-items: start;
}

.document-upload-card,
.document-list-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
}

.document-property-picker {
    display: grid;
    gap: 10px;
}

.document-property-picker strong {
    color: #334155;
    font-size: 0.88rem;
}

.document-add-property-panel {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #ffffff;
}

.document-add-property-panel strong,
.document-add-property-panel span {
    display: block;
}

.document-add-property-panel span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.document-add-property-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
    gap: 10px;
    align-items: end;
}

.document-list-heading,
.document-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.document-list-heading strong,
.document-list-heading span,
.document-row strong,
.document-row span,
.document-row small {
    display: block;
}

.document-list-heading span,
.document-row span,
.document-row small {
    color: var(--muted);
}

.document-list {
    display: grid;
    gap: 10px;
}

.document-row {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.document-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #245fdc;
    background: #e8f0ff;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.tag.green {
    color: #15803d;
    background: #e5f7ee;
}

.tag.amber {
    color: #9a4f08;
    background: #fff2dc;
}

.tag.purple {
    color: #5e3fb3;
    background: #f0ebff;
}

.job-card {
    display: grid;
    gap: 10px;
}

.highlight-card {
    border-color: #f7c36d;
    background: #fffaf0;
}

.review-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.review-summary div {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.review-summary small,
.review-summary strong {
    display: block;
}

.review-summary small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.review-actions {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
    gap: 10px;
    align-items: end;
}

.contractor-action-panel {
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #f8fbff;
}

.contractor-action-panel strong {
    color: var(--slate);
}

.contractor-action-panel .section-copy {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.repair-quote-panel {
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #cfe1f7;
}

.contractor-action-panel.repair-quote-panel {
    padding: 14px 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
}

.repair-quote-heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.repair-quote-heading p,
.repair-quote-panel > p {
    margin: 5px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.repair-quote-summary {
    display: grid;
    gap: 5px;
    padding-left: 12px;
    border-left: 3px solid #7aa4f8;
}

.repair-quote-summary span,
.repair-quote-summary small,
.repair-quote-panel > small {
    color: var(--muted);
    line-height: 1.45;
}

.access-confirmation-choice {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}

.access-confirmation-choice input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brand);
}

.visit-access-panel {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #cfe1f7;
}

.visit-access-panel > p,
.visit-access-panel > small {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.visit-access-response {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-left: 3px solid #d59b27;
    background: #fff8e9;
}

.visit-access-response.confirmed {
    border-left-color: #2f8f62;
    background: #eef9f3;
}

.visit-access-response span {
    color: var(--muted);
    line-height: 1.45;
}

.contractor-action-grid {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(130px, 0.8fr) auto;
    gap: 10px;
    align-items: end;
}

.contractor-note-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.completion-note-panel {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #f8fbff;
}

.completion-note-panel small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.completion-note-panel p {
    margin: 0;
    color: var(--slate);
    line-height: 1.6;
}

.tenant-detail-panel {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #f6c96c;
    border-radius: 16px;
    background: #fffbeb;
}

.tenant-detail-panel small,
.tenant-detail-panel span {
    display: block;
}

.tenant-detail-panel small {
    color: #9a4f08;
    font-size: 0.78rem;
    font-weight: 900;
}

.tenant-detail-panel p {
    margin: 0;
    color: var(--slate);
    line-height: 1.55;
}

.tenant-detail-panel span {
    color: #70450f;
    font-size: 0.88rem;
    line-height: 1.45;
}

.completion-review-actions {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.payment-tracking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-card {
    border-color: #d6eadf;
    background: #fbfffd;
}

.plan-lock-panel {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #f8fbff;
}

.plan-lock-panel h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
}

.plan-lock-panel p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.payment-form-grid {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(140px, 0.8fr);
    gap: 10px;
    align-items: end;
}

.payment-actions {
    display: flex;
    justify-content: flex-end;
}

.conversation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.conversation-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #f8fbff;
}

.conversation-card > div strong,
.conversation-card > div span {
    display: block;
}

.conversation-card > div span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.conversation-card p {
    margin: 0;
    color: var(--slate);
    line-height: 1.5;
}

.conversation-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.conversation-link:hover {
    border-color: var(--blue);
    transform: translateY(-1px);
}

.demo-ready-grid {
    margin-top: 16px;
}

.demo-purpose-note {
    display: grid;
    gap: 6px;
    max-width: 680px;
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #d6e4ff;
    border-left: 4px solid var(--blue);
    border-radius: 14px;
    background: #f4f8ff;
}

.demo-purpose-note strong,
.demo-purpose-note span {
    display: block;
}

.demo-purpose-note span {
    color: #334155;
    line-height: 1.55;
}

.demo-hero-media,
.product-hero-media {
    position: relative;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #edf3fb;
}

.demo-hero-media img,
.demo-hero-caption,
.product-hero-media img,
.product-hero-caption {
    grid-area: auto;
}

.demo-hero-media img,
.product-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 360px;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    object-position: center;
}

.demo-hero-caption,
.product-hero-caption {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.demo-hero-caption .tag,
.product-hero-caption .tag {
    justify-self: start;
}

.demo-hero-caption h2,
.demo-hero-caption p,
.product-hero-caption h2,
.product-hero-caption p {
    margin: 0;
}

.demo-hero-caption p,
.product-hero-caption p {
    color: var(--muted);
    line-height: 1.5;
}

.hero-purpose-list {
    margin-bottom: 0;
}

.demo-hero-stats,
.product-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.demo-hero-stats div,
.product-hero-stats div {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
}

.demo-hero-stats small,
.demo-hero-stats strong,
.product-hero-stats small,
.product-hero-stats strong {
    display: block;
}

.demo-hero-stats small,
.product-hero-stats small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.demo-hero-stats strong,
.product-hero-stats strong {
    margin-top: 4px;
}

.private-demo-summary,
.product-summary,
.product-snapshot {
    align-content: start;
}

.private-demo-summary .tag,
.product-summary .tag,
.product-snapshot .tag {
    justify-self: start;
}

.release-readiness-panel {
    display: grid;
    gap: 16px;
}

.beta-command-panel {
    display: grid;
    gap: 16px;
}

.beta-readiness-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.beta-readiness-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #fbfcfe;
}

.beta-readiness-card.ready {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.beta-readiness-card.attention {
    border-color: #f6c96c;
    background: #fffbeb;
}

.beta-readiness-card.blocked {
    border-color: #d8c7ff;
    background: #f7f3ff;
}

.beta-readiness-card h3,
.beta-readiness-card p {
    margin: 0;
}

.release-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.release-stage-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #fbfcfe;
}

.release-stage-card.current {
    border-color: #f6c96c;
    background: #fffbeb;
}

.release-stage-card h3,
.release-stage-card p {
    margin: 0;
}

.release-stage-card p {
    color: var(--muted);
    line-height: 1.5;
}

.release-check-list {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.release-check-list li {
    position: relative;
    padding-left: 24px;
    color: #42526b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.release-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--blue);
}

.readiness-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.readiness-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 14px;
    background: #fbfcfe;
}

.readiness-check > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 30px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
}

.readiness-check strong,
.readiness-check p {
    display: block;
    margin: 0;
}

.readiness-check p {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.5;
}

.readiness-check.passed {
    border-left-color: var(--green);
}

.readiness-check.passed > span {
    color: #15803d;
    background: #e5f7ee;
}

.readiness-check.failed {
    border-left-color: #f0a63a;
}

.readiness-check.failed > span {
    color: #9a4f08;
    background: #fff2dc;
}

.conversation-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #f8fbff;
}

.conversation-switcher strong,
.conversation-switcher span {
    display: block;
}

.conversation-switcher span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.tenant-confirmation-actions {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.compact-field {
    margin: 0;
}

.job-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.job-title {
    margin-bottom: 3px;
    font-weight: 900;
}

.job-meta {
    color: var(--muted);
    font-size: 0.92rem;
}

.timeline {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
}

.timeline-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #245fdc;
    background: #e8f0ff;
    font-weight: 900;
}

.timeline-item p {
    margin-bottom: 2px;
    color: var(--slate);
    font-weight: 800;
}

.timeline-item span {
    color: var(--muted);
    font-size: 0.86rem;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.flow-step {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.flow-step span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--blue);
    font-weight: 900;
}

.compact-demo-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-demo-path .flow-step {
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.compact-demo-path .flow-step:hover,
.compact-demo-path .flow-step:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.guided-demo-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
}

.guided-demo-summary {
    align-self: stretch;
}

.guided-demo-media img {
    min-height: 300px;
    aspect-ratio: 16 / 9;
}

.demo-flow-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.demo-flow-header p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.demo-progress {
    min-width: 180px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.demo-progress strong,
.demo-progress span {
    display: block;
}

.demo-progress span {
    margin-top: 4px;
    color: var(--muted);
}

.single-demo-board {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 16px;
}

.demo-step-list {
    display: grid;
    align-content: start;
    gap: 10px;
}

.demo-step-button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--slate);
    text-align: left;
}

.demo-step-button span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: #edf3fb;
    color: #245fdc;
    font-weight: 900;
}

.demo-step-button strong,
.demo-step-button small {
    display: block;
}

.demo-step-button small {
    margin-top: 3px;
    color: var(--muted);
}

.demo-step-button.active {
    border-color: #b9cdfd;
    background: #f5f8ff;
}

.demo-step-button.active span {
    background: var(--blue);
    color: #ffffff;
}

.demo-step-button.complete span {
    background: var(--mint);
    color: var(--green);
}

.demo-stage-card {
    min-height: 420px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.demo-stage-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.demo-stage-topline small {
    color: var(--muted);
    font-weight: 900;
}

.demo-stage-card h3 {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.demo-stage-card > p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.demo-record {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.demo-record div,
.demo-note-box {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.demo-record small,
.demo-record strong {
    display: block;
}

.demo-record small {
    margin-bottom: 4px;
    color: var(--muted);
}

.demo-note-box {
    margin-bottom: 18px;
}

.demo-note-box p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.guided-journey {
    display: grid;
    gap: 12px;
}

.journey-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.journey-step > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    color: #245fdc;
    background: #e8f0ff;
    font-weight: 900;
}

.journey-step.active {
    border-color: #b9cdfd;
    background: #f5f8ff;
}

.journey-step.active > span {
    color: #ffffff;
    background: var(--blue);
}

.journey-step small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.journey-step h3 {
    margin-bottom: 6px;
}

.journey-step p {
    margin-bottom: 12px;
    color: var(--muted);
    line-height: 1.55;
}

.repair-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.repair-step {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.repair-step span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 10px;
    color: #245fdc;
    background: #e8f0ff;
    font-weight: 900;
}

.repair-step.active {
    border-color: #b9cdfd;
    background: #f4f8ff;
}

.repair-step.active span {
    color: #ffffff;
    background: var(--blue);
}

.repair-step strong,
.repair-step p {
    display: block;
    margin: 0;
}

.repair-step p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.success-summary {
    display: grid;
    gap: 16px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.summary-grid div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.summary-grid small,
.summary-grid strong {
    display: block;
}

.summary-grid small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.summary-grid strong {
    margin-top: 4px;
}

.pricing-grid,
.feature-gate-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pricing-card {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(21, 32, 51, 0.08);
}

.pricing-card.active {
    border-color: #9dbcfb;
    box-shadow: inset 4px 0 0 var(--blue), 0 18px 48px rgba(58, 122, 254, 0.12);
}

.pricing-card-topline {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.pricing-card h2 {
    margin: 4px 0 0;
    font-size: 1.25rem;
}

.pricing-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.pricing-limit,
.feature-gate-grid div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.pricing-limit small,
.pricing-limit strong,
.feature-gate-grid small,
.feature-gate-grid strong,
.feature-gate-grid span {
    display: block;
}

.pricing-limit small,
.feature-gate-grid small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.pricing-limit strong {
    margin-top: 4px;
    font-size: 2rem;
}

.feature-gate-grid strong {
    margin-top: 5px;
}

.feature-gate-grid span {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.5;
}

.compact-list {
    margin-bottom: 0;
}

.field-hint {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.error-text {
    color: #b91c1c;
    font-size: 0.86rem;
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    line-height: 1.5;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
}

.demo-snapshot {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfcfe;
}

.demo-snapshot h2,
.demo-snapshot p {
    margin: 0;
}

.demo-snapshot p {
    color: var(--muted);
    line-height: 1.6;
}

.demo-record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.demo-record-grid div,
.demo-role-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.demo-record-grid small,
.demo-record-grid strong,
.demo-record-grid span,
.demo-role-card strong,
.demo-role-card span {
    display: block;
}

.demo-record-grid small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.demo-record-grid strong {
    margin-top: 4px;
}

.demo-record-grid span,
.demo-role-card span {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.5;
}

.demo-chat-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.demo-script-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.demo-script-grid .flow-step {
    display: grid;
    align-content: start;
    gap: 12px;
}

.demo-script-grid .button {
    justify-self: start;
}

.feedback-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.feedback-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.feedback-card strong,
.feedback-card span {
    display: block;
}

.feedback-card span {
    color: var(--muted);
    font-size: 0.86rem;
}

.feedback-card p {
    margin: 0;
    color: var(--slate);
    line-height: 1.5;
}

.no-print {
    print-color-adjust: exact;
}

.chat-panel {
    display: grid;
    grid-template-rows: auto minmax(260px, auto) auto auto auto;
    min-height: 640px;
    overflow: hidden;
}

.chat-header,
.chat-compose {
    padding: 18px;
    background: #ffffff;
}

.chat-header {
    border-bottom: 1px solid var(--line);
}

.chat-stream {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
    background: #f9fbfe;
}

.job-updates-panel {
    display: grid;
    gap: 14px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.job-updates-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.job-updates-header strong,
.job-updates-header span {
    display: block;
}

.job-updates-header span:not(.tag) {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.empty-update-card {
    padding: 14px;
    border: 1px dashed #cbd8e7;
    border-radius: 14px;
    color: var(--muted);
    background: #fbfcfe;
    line-height: 1.5;
}

.file-update-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.file-update-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.file-update-card .tag {
    justify-self: start;
}

.file-update-card p,
.file-update-card small {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.file-update-card small {
    font-size: 0.78rem;
    font-weight: 800;
}

.photo-update-form {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(240px, 1.1fr) auto;
    gap: 12px;
    align-items: end;
}

.quick-message-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px 0;
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.message {
    max-width: 72%;
    padding: 13px 15px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.message.mine {
    justify-self: end;
    color: #ffffff;
    background: var(--blue);
    border-color: var(--blue);
}

.message strong,
.message span {
    display: block;
}

.message span {
    margin-top: 5px;
    color: inherit;
    opacity: 0.76;
    font-size: 0.78rem;
}

.message-delete-button {
    margin-top: 8px;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    opacity: 0.82;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.message-delete-button:disabled {
    cursor: default;
    opacity: 0.5;
}

.review-handoff-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.review-handoff-panel h3,
.review-handoff-panel p {
    margin: 0;
}

.review-handoff-panel p {
    margin-top: 6px;
    color: #166534;
    line-height: 1.5;
}

.chat-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.chat-compose input {
    min-height: 46px;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
}

.auth-screen {
    display: grid;
    min-height: calc(100vh - 160px);
    place-items: center;
}

.auth-panel {
    width: min(520px, 100%);
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(21, 32, 51, 0.08);
}

.auth-panel h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
}

.auth-panel h1:focus,
.auth-panel h1:focus-visible {
    outline: none;
    box-shadow: none;
}

.auth-panel p {
    color: var(--muted);
    line-height: 1.65;
}

.auth-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.role-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
    padding: 6px;
    border-radius: 14px;
    background: #edf3fb;
}

.role-tabs button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #334155;
    cursor: pointer;
    font-weight: 900;
}

.role-tabs button.active {
    color: #ffffff;
    background: var(--blue);
}

.demo-switcher {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #d6e4ff;
    border-radius: 14px;
    background: #f4f8ff;
}

.demo-switcher > span {
    color: #245fdc;
    font-size: 0.78rem;
    font-weight: 900;
}

.demo-switcher .button-row {
    gap: 8px;
}

.demo-switcher .button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
}

.invited-access-panel {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #fbfcfe;
}

.invited-access-panel > span {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 900;
}

.invited-access-panel p {
    margin: 0;
}

.invited-access-panel .role-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.signup-next-steps {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #cfe1f7;
    border-radius: 16px;
    background: #f5f9ff;
}

.signup-next-steps ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.signup-next-steps li {
    display: grid;
    gap: 4px;
    padding-left: 14px;
    border-left: 3px solid var(--blue);
}

.signup-next-steps strong,
.signup-next-steps span {
    display: block;
}

.signup-next-steps span,
.signup-next-steps p,
.signup-footnote {
    color: var(--muted);
    line-height: 1.5;
}

.signup-next-steps p,
.signup-footnote {
    margin: 0;
    font-size: 0.9rem;
}

.local-test-switcher {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
}

.local-test-switcher > span {
    color: #166534;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.local-test-switcher p {
    margin: 0;
    color: #166534;
    line-height: 1.5;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 900;
}

.auth-form input {
    min-height: 48px;
    width: 100%;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--slate);
}

.auth-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(58, 122, 254, 0.12);
    outline: none;
}

.auth-form select {
    min-height: 48px;
    width: 100%;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--slate);
}

.auth-form select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(58, 122, 254, 0.12);
    outline: none;
}

.signup-plan-summary {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #cfe1f7;
    border-radius: 12px;
    background: #f5f9ff;
}

.signup-plan-summary > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.signup-plan-summary span,
.signup-plan-summary p,
.signup-plan-summary small {
    color: var(--muted);
}

.signup-plan-summary p,
.signup-plan-summary ul {
    margin: 0;
}

.handoff-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.75fr));
    gap: 14px;
    margin-bottom: 18px;
}

.handoff-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 18px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #fbfcfe;
}

.handoff-card.primary {
    grid-row: span 2;
    background: linear-gradient(135deg, #f7fbff 0%, #edf6ff 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.handoff-card > span:not(.eyebrow) {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 900;
}

.handoff-card h3,
.handoff-card p,
.handoff-script p {
    margin: 0;
}

.handoff-card p,
.handoff-script p {
    color: var(--muted);
    line-height: 1.55;
}

.handoff-script {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 14px;
    border-left: 3px solid var(--green);
    border-radius: 12px;
    background: #f0fdf4;
}

.handoff-question-list {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.handoff-question-list p {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #f8fbff;
    color: #334155;
    font-weight: 800;
}

.beta-launch-hero .beta-launch-summary {
    background: #f8fbff;
}

.beta-launch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr));
    gap: 14px;
    margin-bottom: 18px;
}

.beta-launch-card {
    display: grid;
    align-content: start;
    gap: 10px;
    border-color: #dbe7f5;
}

.beta-launch-card.primary {
    background: linear-gradient(135deg, #f7fbff 0%, #eef7f1 100%);
}

.beta-launch-card h2,
.beta-launch-card h3,
.beta-launch-card p,
.beta-tester-script h2,
.beta-tester-script p {
    margin: 0;
}

.beta-launch-card p,
.beta-tester-script p {
    color: var(--muted);
    line-height: 1.6;
}

.beta-step-number {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 900;
}

.beta-checklist-panel {
    display: grid;
    gap: 14px;
}

.beta-check-list {
    display: grid;
    gap: 10px;
}

.beta-tester-script {
    display: grid;
    align-content: start;
    gap: 14px;
    border-color: #cfe1f7;
    background: #f8fbff;
}

.error-banner {
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    color: #9a4f08;
    background: #fff7ed;
    font-weight: 800;
}

.code-callout {
    padding: 12px 14px;
    border: 1px solid #d6e4ff;
    border-radius: 12px;
    color: #245fdc;
    background: #e8f0ff;
    font-weight: 800;
}

.code-callout strong {
    margin-left: 4px;
    font-size: 1.05rem;
}

.validation-errors {
    padding-left: 18px;
    color: #9a4f08;
}

.validation-message {
    color: #9a4f08;
    font-size: 0.82rem;
    font-weight: 800;
}

.success-banner {
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #15803d;
    background: #ecfdf5;
    font-weight: 800;
}

.inline-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 12px;
}

.inline-actions a {
    color: #166534;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.setup-progress-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.setup-progress-card,
.onboarding-panel {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: #f8fbff;
}

.setup-progress-card {
    width: 100%;
    appearance: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.setup-progress-card.active {
    border-color: #6f9ff5;
    box-shadow: inset 0 -4px 0 var(--blue), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.setup-progress-card.complete {
    border-color: #bbf7d0;
    background: #ecfdf5;
}

.setup-progress-card:hover,
.setup-progress-card:focus-visible {
    border-color: #9dbcfb;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    outline: none;
    transform: translateY(-1px);
}

.setup-progress-card small,
.setup-progress-card strong,
.setup-progress-card span {
    display: block;
}

.setup-progress-card small {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #dbe6f5;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
}

.setup-progress-card.complete small {
    background: var(--green);
    color: #ffffff;
    font-size: 0;
}

.setup-progress-card.complete small::before {
    content: "✓";
    font-size: 0.9rem;
}

.setup-progress-card span {
    color: var(--muted);
    line-height: 1.5;
}

.setup-complete-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #b7e4cf;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5fff9 0%, #e7f7ee 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.setup-complete-panel h2,
.setup-complete-panel p {
    margin: 0;
}

.setup-complete-panel p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.setup-stage-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin: 26px 0 14px;
}

.setup-stage-heading h2,
.setup-stage-heading p {
    margin: 0;
}

.setup-stage-heading p {
    max-width: 680px;
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.55;
}

.setup-stage-progress {
    padding: 8px 11px;
    border: 1px solid #dbe7f5;
    border-radius: 8px;
    background: #f8fbff;
    color: #42526b;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.setup-stage-transition {
    margin: 0 0 14px;
}

.setup-grid-focused {
    grid-template-columns: minmax(0, 760px);
}

.setup-stage-navigation {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.setup-stage-navigation > span {
    flex: 1;
}

.first-use-confidence-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #cfe1f7;
    border-radius: 18px;
    background: #ffffff;
}

.first-use-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.first-use-card {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 148px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #f8fbff;
}

.first-use-card small {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 900;
}

.first-use-card strong,
.first-use-card span {
    display: block;
}

.first-use-card span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.core-journey-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #cfe1f7;
    border-radius: 18px;
    background: #ffffff;
}

.core-journey-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.core-journey-step {
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 136px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.core-journey-step.current {
    border-color: #a9c4fb;
    background: #f3f7ff;
    box-shadow: inset 4px 0 0 var(--blue);
}

.core-journey-step.complete {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.core-journey-step small {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #dbe6f5;
    color: #42526b;
    font-size: 0.75rem;
    font-weight: 900;
}

.core-journey-step.current small {
    background: var(--blue);
    color: #ffffff;
}

.core-journey-step.complete small {
    background: var(--green);
    color: #ffffff;
    font-size: 0;
}

.core-journey-step.complete small::before {
    content: "✓";
    font-size: 0.9rem;
}

.core-journey-step strong,
.core-journey-step span {
    display: block;
}

.core-journey-step span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.setup-next-action-panel {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
}

.setup-next-action-panel h3,
.setup-next-action-panel p {
    margin: 0;
}

.setup-next-action-panel p {
    margin-top: 6px;
    color: #166534;
    line-height: 1.5;
}

.setup-local-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.setup-local-banner .button {
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
}

.job-property-choice-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #cfe1f7;
    border-radius: 16px;
    background: #f8fbff;
}

.job-property-choice-panel h3,
.job-property-choice-panel p {
    margin: 0;
}

.job-property-choice-panel p {
    color: var(--muted);
    line-height: 1.5;
}

.inline-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.getting-started-panel {
    margin-bottom: 18px;
}

.tenant-access-panel {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.setup-access-panel {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #f8fbff;
}

.setup-access-panel h3,
.setup-access-panel p {
    margin: 0;
}

.setup-access-panel p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

.setup-access-grid {
    display: grid;
    gap: 10px;
}

.setup-access-preview {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.tenant-link-ready {
    display: block;
    padding: 9px 11px;
    border: 1px solid #bbd7f4;
    border-radius: 8px;
    background: #ffffff;
    color: #17446f;
    font-weight: 800;
    line-height: 1.4;
}

.setup-access-actions {
    justify-content: flex-start;
}

.tenant-assignment-panel {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #cfe1f7;
    border-radius: 16px;
    background: #f5f9ff;
}

.tenant-assignment-panel h3,
.tenant-assignment-panel p {
    margin: 0;
}

.tenant-assignment-panel p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

.tenant-access-panel h3,
.tenant-access-panel p {
    margin: 0;
}

.tenant-access-panel p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

.access-expectation-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.access-expectation-strip span {
    display: block;
    padding: 10px;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #fbfcfe;
    color: #42526b;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.tenant-access-list {
    display: grid;
    gap: 10px;
}

.tenant-access-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #f8fbff;
}

.tenant-access-card strong,
.tenant-access-card span {
    display: block;
}

.tenant-access-card span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.invite-link-ready-text {
    overflow-wrap: break-word;
}

.tenant-message-preview {
    margin: 10px 0 0;
    padding: 10px;
    border-left: 3px solid #3b82f6;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.88rem;
    line-height: 1.45;
}

.invite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.onboarding-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 18px;
}

.onboarding-panel h2 {
    margin: 0;
}

.account-summary-panel {
    align-content: start;
}

.trial-status-panel {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #cfe1f7;
    border-radius: 14px;
    background: #f8fbff;
}

.trial-status-panel .tag,
.trial-status-panel .button {
    justify-self: start;
}

.trial-status-panel strong,
.trial-status-panel p {
    margin: 0;
}

.trial-status-panel p {
    color: var(--muted);
    line-height: 1.5;
}

.account-summary-list,
.security-action-grid {
    display: grid;
    gap: 14px;
}

.account-summary-list div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.account-summary-list small,
.account-summary-list strong {
    display: block;
}

.account-summary-list small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.account-summary-list strong {
    margin-top: 4px;
}

.account-verification-state {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7fafc;
}

.account-verification-state small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.security-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.setup-wide {
    grid-column: 1 / -1;
}

.setup-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #f8fbff;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.setup-note strong {
    color: var(--slate);
}

.amber-note {
    border-color: #f7c36d;
    background: #fffaf0;
}

.data-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.tenant-report-form {
    max-width: 820px;
    grid-template-columns: minmax(0, 1fr);
}

.tenant-report-form .span-2 {
    grid-column: 1;
}

.repair-type-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #bdd0ea;
    border-radius: 999px;
    background: #eef6ff;
    color: #17406d;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.suggestion-chip:hover,
.suggestion-chip:focus-visible {
    border-color: var(--blue);
    background: #e5efff;
    outline: none;
}

.suggestion-chip.secondary {
    border-color: #d4dce8;
    background: #ffffff;
    color: var(--muted);
}

.assignment-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
}

.field {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 900;
}

.field input,
.field select,
.field textarea {
    min-height: 46px;
    width: 100%;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--slate);
}

.field textarea {
    min-height: 92px;
    padding-top: 12px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(58, 122, 254, 0.12);
    outline: none;
}

.span-2 {
    grid-column: 1 / -1;
}

@media (max-width: 1040px) {
    .hero-panel,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flow-grid {
        grid-template-columns: 1fr;
    }

    .repair-journey,
    .single-demo-board,
    .summary-grid,
    .demo-record-grid,
    .demo-record,
    .compliance-meta-grid,
    .compliance-date-form,
    .trust-grid,
    .demo-control-panel,
    .pipeline-grid,
    .repair-board-controls,
    .repair-board-grid,
    .focused-repair-grid,
    .repair-action-panel,
    .repair-action-details,
    .repair-record-summary,
    .action-focus-grid,
    .repair-record-grid,
    .closed-record-heading,
    .closed-file-strip,
    .closed-record-grid,
    .closed-file-notes,
    .closed-archive-item,
    .closed-archive-meta,
    .pricing-grid,
    .feature-gate-grid,
    .release-stage-grid,
    .beta-readiness-grid,
    .beta-launch-grid,
    .handoff-grid,
    .setup-progress-grid,
    .first-use-grid,
    .access-expectation-strip,
    .core-journey-grid,
    .setup-complete-panel,
    .setup-stage-heading,
    .onboarding-panel,
    .security-action-grid,
    .review-summary,
    .review-actions,
    .contractor-action-grid,
    .contractor-note-actions,
    .completion-review-actions,
    .payment-tracking-grid,
    .payment-form-grid,
    .conversation-grid,
    .file-update-grid,
    .property-file-summary,
    .property-hub-selector,
    .document-workspace,
    .document-add-property-grid,
    .photo-update-form,
    .tenant-access-card,
    .tenant-confirmation-actions {
        grid-template-columns: 1fr;
    }

    .contact-guidance {
        grid-template-columns: 1fr;
    }

    .setup-stage-heading {
        align-items: start;
    }

    .invite-actions {
        justify-content: flex-start;
    }

    .repair-board-filter-group {
        justify-content: flex-start;
    }

    .closed-archive-actions {
        justify-self: stretch;
    }

    .workspace-brief,
    .demo-flow-header,
    .conversation-switcher,
    .launch-trust-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .demo-script-grid {
        grid-template-columns: 1fr;
    }

    .setup-grid,
    .data-form,
    .assignment-form {
        grid-template-columns: 1fr;
    }

    .demo-hero-media img,
    .product-hero-media img {
        min-height: 320px;
    }

    .setup-wide,
    .span-2 {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .demo-control-actions {
        grid-template-columns: 1fr;
    }

    .property-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .property-card .button-row {
        grid-column: 1 / -1;
    }

    .section-heading,
    .job-topline,
    .property-file-heading,
    .document-list-heading,
    .document-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .demo-hero-media img,
    .product-hero-media img {
        min-height: 260px;
    }

    .demo-hero-caption,
    .product-hero-caption {
        padding: 14px;
    }

    .demo-hero-stats,
    .product-hero-stats {
        grid-template-columns: 1fr;
    }

    .message {
        max-width: 90%;
    }

    .chat-compose {
        grid-template-columns: 1fr;
    }

    .quick-message-row {
        display: grid;
    }
}

@media print {
    body {
        background: #ffffff;
    }

    .sidebar,
    .topbar,
    .no-print,
    .navbar-toggler {
        display: none !important;
    }

    .page {
        display: block !important;
        min-height: auto !important;
    }

    .content {
        padding: 0 !important;
    }

    .screen {
        gap: 12px;
    }

    .hero-panel,
    .surface,
    .metric-card,
    .job-card,
    .property-card,
    .chat-panel {
        box-shadow: none !important;
        break-inside: avoid;
    }

    .button {
        text-decoration: none;
    }
}
