/* Application and administration */
.app-page, .app-page *, .app-page *::before, .app-page *::after {
    box-sizing: border-box;
}
.app-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17221f;
    background: #f5f7f5;
}
.app-page body {
    margin: 0;
}
.app-page header {
    background: #fff;
    border-bottom: 1px solid #dfe7e2;
}
.app-page header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.app-page .container {
    width: min(100% - 2rem, 64rem);
    margin: 0 auto;
}
.app-page .brand {
    color: #17221f;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}
.app-page main {
    padding: 3rem 0;
}
.app-page .card {
    max-width: 34rem;
    background: #fff;
    border: 1px solid #dfe7e2;
    border-radius: .75rem;
    padding: 1.5rem;
}
.app-page .trial-signup-card {
    max-width: 42rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}
.app-page .trial-signup-card h1 {
    margin-bottom: .65rem;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1.2;
}
.app-page .trial-signup-intro {
    margin: 0;
    color: #64716c;
    font-size: 1rem;
    line-height: 1.6;
}
.app-page .trial-signup-notice {
    margin: 1.4rem 0 1.75rem;
    padding: 1rem 1.15rem;
    border: 1px solid #d6e5d8;
    border-left: 4px solid #28644e;
    border-radius: .55rem;
    background: #f1f7f1;
    color: #43564a;
    font-size: .9rem;
    line-height: 1.55;
}
.app-page .trial-signup-notice h2 {
    margin: 0 0 .55rem;
    color: #245c47;
    font-size: 1rem;
    line-height: 1.35;
}
.app-page .trial-signup-notice ul {
    display: grid;
    gap: .4rem;
    margin: 0;
    padding-left: 1.2rem;
}
.app-page .trial-signup-card .form-note {
    margin: .55rem 0 0;
    color: #64716c;
    font-size: .82rem;
    line-height: 1.5;
}
.app-page .terms-acceptance {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-top: 1.35rem;
}
.app-page .terms-acceptance input[type="checkbox"] {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    margin: .2rem 0 0;
    padding: 0;
    border: 0;
    border-radius: .2rem;
    background: transparent;
    accent-color: #28644e;
}
.app-page .terms-acceptance label {
    flex: 1;
    margin: 0;
    color: #43564a;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.55;
}
.app-page .terms-error {
    margin: .5rem 0 0;
    color: #a62222;
    font-size: .82rem;
}
.app-page h1 {
    margin-top: 0;
}
.app-page .muted {
    color: #64716c;
}
.app-page label {
    display: block;
    font-weight: 600;
    margin: 1.25rem 0 .4rem;
}
.app-page input, .app-page select, .app-page textarea {
    box-sizing: border-box;
    width: 100%;
    padding: .7rem;
    border: 1px solid #9cac9f;
    border-radius: .35rem;
    font: inherit;
    background: #fff;
}
.app-page input.inline-checkbox {
    width: auto;
}
.app-page .switch {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    cursor: pointer;
}
.app-page .switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    opacity: 0;
}
.app-page .switch-track {
    position: relative;
    flex: none;
    width: 3rem;
    height: 1.7rem;
    border-radius: 1rem;
    background: #74847b;
}
.app-page .switch-track::after {
    content: "";
    position: absolute;
    top: .2rem;
    left: .2rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: #fff;
}
.app-page .switch input:checked + .switch-track {
    background: #28644e;
}
.app-page .switch input:checked + .switch-track::after {
    transform: translateX(1.3rem);
}
.app-page .switch input:focus-visible + .switch-track {
    outline: 3px solid #a5681c;
    outline-offset: 3px;
}
.app-page .switch-state {
    color: #52635a;
    font-weight: 400;
}
.app-page .switch-state::after {
    content: "Off";
}
.app-page .switch input:checked ~ .switch-state::after {
    content: "On";
}
@media (forced-colors: active) {
    .app-page .switch input {
        position: static;
        width: 1rem;
        height: 1rem;
        opacity: 1;
    }
    .app-page .switch-track {
        display: none;
    }
}
.app-page button {
    background: #28644e;
    color: white;
    border: 0;
    border-radius: .35rem;
    padding: .7rem 1rem;
    font: inherit;
    cursor: pointer;
}
.app-page button:hover {
    background: #1d4e3b;
}
.app-page a {
    color: #28644e;
}
.app-page .error {
    color: #a62222;
}
.app-page .auth-recovery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    border: 1px solid #e3ebe5;
    border-radius: .55rem;
    background: #f7faf7;
    color: #52635a;
    font-size: .88rem;
}
.app-page .auth-recovery a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem .8rem;
    border: 1px solid #d0ded4;
    border-radius: .45rem;
    background: #fff;
    color: #285f49;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.app-page .auth-recovery a:hover {
    border-color: #a9c7af;
    background: #edf4ef;
}
.app-page .auth-recovery a:focus-visible {
    outline: 3px solid #a5681c;
    outline-offset: 2px;
}
.app-page .logout {
    background: transparent;
    color: #28644e;
    padding: .4rem;
}
.app-page .logout:hover {
    background: #edf4ef;
}
.app-page .nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.app-page .hosted-enquiry-return-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem .95rem;
    border: 1px solid #cfe0d3;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3f8f3, #fff);
    box-shadow: 0 2px 7px #19382d12;
    color: #285f49;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.app-page .hosted-enquiry-return-link:hover {
    transform: translateY(-1px);
    border-color: #9fbea6;
    box-shadow: 0 4px 11px #19382d1c;
}
.app-page .hosted-enquiry-return-link:focus-visible {
    outline: 3px solid #c4873b;
    outline-offset: 3px;
}
.app-page .button-link {
    display: inline-block;
    background: #28644e;
    color: #fff;
    border-radius: .35rem;
    padding: .7rem 1rem;
    text-decoration: none;
}
.app-page .button-link:hover {
    background: #1d4e3b;
}
.app-page .danger {
    background: #a62222;
}
.app-page .danger:hover {
    background: #801919;
}
.app-page .alert {
    padding: .75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: .35rem;
    background: #e2f1e7;
}
.app-page .wide {
    max-width: none;
}
.app-page .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.app-page .stat {
    margin: .25rem 0 0;
    font-size: 2rem;
    font-weight: 700;
}
.app-page .table-wrap {
    overflow-x: auto;
}
.app-page table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}
.app-page th, .app-page td {
    padding: .8rem;
    border-bottom: 1px solid #dfe7e2;
    vertical-align: middle;
}
.app-page .actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.app-page .actions form {
    margin: 0;
}
.app-page .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.app-page .list-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem;
    margin: 1.5rem 0;
}
.app-page .list-filters-search {
    flex: 1 1 15rem;
}
.app-page .list-filters label {
    margin: 0 0 .4rem;
}
.app-page .button-secondary {
    background: #fff;
    color: #28644e;
    border: 1px solid #9cac9f;
}
.app-page .button-secondary:hover {
    background: #edf4ef;
}
.app-page .record-cell {
    padding: 0;
}
.app-page .record-link {
    display: block;
    min-height: 100%;
    padding: .8rem;
    color: inherit;
    text-decoration: none;
}
.app-page .record-link:hover {
    background: #edf4ef;
    text-decoration: underline;
}
.app-page .record-row {
    cursor: pointer;
}
.app-page .record-row:hover {
    background: #f5faf6;
}
.app-page .table-action {
    display: inline-block;
    padding: .55rem .8rem;
    border: 1px solid #b9cbbd;
    border-radius: .35rem;
    text-decoration: none;
    white-space: nowrap;
}
.app-page .admin-layout {
    display: flex;
    min-height: 100vh;
}
.app-page .sidebar {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 230px;
    flex-direction: column;
    min-height: 100vh;
    padding: 1.5rem 1rem;
    background: #17362d;
    color: #e5f1e7;
}
.app-page .sidebar .brand {
    color: #fff;
    padding: 0 .75rem;
}
.app-page .sidebar-label {
    padding: 2rem .75rem .5rem;
    color: #b7cfbf;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.app-page .sidebar nav {
    display: grid;
    gap: .3rem;
}
.app-page .sidebar nav a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .75rem;
    border-radius: .4rem;
    color: #e5f1e7;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}
.app-page .sidebar-nav-icon { display: grid; flex: 0 0 1.15rem; width: 1.15rem; height: 1.15rem; place-items: center; color: #b7cfbf; }
.app-page .sidebar-nav-icon svg { display: block; width: 100%; height: 100%; }
.app-page .sidebar nav a:hover .sidebar-nav-icon, .app-page .sidebar nav a[aria-current="page"] .sidebar-nav-icon { color: #fff; }
.app-page .sidebar-nav-divider { box-sizing: border-box; flex: none; width: 100%; height: 1px; margin: .45rem 0; border: 0; background: linear-gradient(90deg, transparent, #ffffff35 10%, #ffffff35 90%, transparent); }
.app-page .sidebar nav a:hover, .app-page .sidebar nav a[aria-current="page"] {
    background: #315d4a;
    color: #fff;
}
.app-page .sidebar form {
    margin-top: auto;
    padding-top: 2rem;
}
.app-page .sidebar .logout {
    width: 100%;
    color: #e5f1e7;
    text-align: left;
    padding: .7rem .75rem;
}
.app-page .sidebar .logout:hover {
    background: #315d4a;
}
.app-page .admin-main {
    box-sizing: border-box;
    flex: 1;
    width: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.app-page .message-body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
@media (max-width: 700px) {
    .app-page .sidebar {
        flex-basis: 88px;
        padding: 1rem .4rem;
    }
    .app-page .sidebar .brand {
        padding: 0 .3rem;
        font-size: .82rem;
        letter-spacing: -.05em;
    }
    .app-page .sidebar-label {
        padding: 1.5rem .3rem .5rem;
        font-size: .6rem;
    }
    .app-page .sidebar nav a, .app-page .sidebar .logout {
        padding: .65rem .3rem;
        font-size: .75rem;
        overflow-wrap: anywhere;
    }
    .app-page .admin-main {
        padding: 1.5rem 1rem;
    }
}
.app-page dl {
    display: grid;
    grid-template-columns: minmax(7rem, auto) 1fr;
    gap: .75rem 1rem;
}
.app-page dt {
    font-weight: 600;
}
.app-page dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* Public brochure */
.brochure-page {
    color-scheme: light;
    scroll-behavior: smooth;
    --ink: #17362d;
    --muted: #526960;
    --green: #245c47;
    --cream: #f5f6ef;
    --line: #dce5dc;
}
.brochure-page, .brochure-page * {
    box-sizing: border-box;
}
.back-to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 1000;
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: var(--green, #245c47);
    color: #fff;
    box-shadow: 0 6px 22px #10281d38;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-3px); background: #173f31; box-shadow: 0 9px 26px #10281d45; }
.back-to-top:focus-visible { outline: 3px solid #dfb25b; outline-offset: 3px; }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }
.brochure-page body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
.brochure-page a {
    color: inherit;
}
@media (max-width: 600px) {
    .back-to-top { right: 1rem; bottom: 1rem; width: 3rem; height: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .brochure-page { scroll-behavior: auto; }
    .back-to-top { transition: none; }
}
.brochure-page .wrap {
    width: min(1120px, calc(100% - 3rem));
    margin: 0 auto;
}
.brochure-page .header {
    background: #fff;
    border-bottom: 1px solid #e6ece5;
}
.brochure-page .header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brochure-page .logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.07em;
    text-decoration: none;
    white-space: nowrap;
}
.brochure-page .logo span {
    color: #43856a;
}
.brochure-page .nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.6rem;
    font-size: .9rem;
    font-weight: 600;
}
.brochure-page .nav a {
    text-decoration: none;
}
.brochure-page .nav a:hover, .brochure-page .footer a:hover {
    text-decoration: underline;
}
.brochure-page .nav-login {
    padding: .55rem 1rem;
    border: 1px solid #bfd0c3;
    border-radius: .5rem;
}
.brochure-page .hero {
    background: var(--cream);
    padding: 6rem 0 5.5rem;
}
.brochure-page .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 5rem;
    align-items: center;
}
.brochure-page .eyebrow {
    margin: 0 0 1rem;
    color: #39765b;
    font-size: .77rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
}
.brochure-page h1, .brochure-page h2, .brochure-page h3, .brochure-page p {
    margin-top: 0;
}
.brochure-page h1 {
    max-width: 13ch;
    margin-bottom: 1.5rem;
    font-size: clamp(2.7rem, 5.5vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: -.055em;
}
.brochure-page h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.13;
    letter-spacing: -.045em;
}
.brochure-page h3 {
    line-height: 1.25;
}
.brochure-page .lead {
    max-width: 36rem;
    color: var(--muted);
    font-size: 1.15rem;
}
.brochure-page .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}
.brochure-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.2rem;
    border: 1px solid var(--green);
    border-radius: .5rem;
    background: var(--green);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.brochure-page .button:hover {
    background: #183f30;
}
.brochure-page .button-outline {
    background: transparent;
    color: var(--green);
}
.brochure-page .button-outline:hover {
    background: #e4ede3;
}
.brochure-page a:focus-visible, .brochure-page button:focus-visible, .brochure-page input:focus-visible, .brochure-page textarea:focus-visible {
    outline: 3px solid #c4873b;
    outline-offset: 3px;
}
.brochure-page .hero-panel {
    position: relative;
    background: #fff;
    border: 1px solid #dfe9dc;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 20px 50px #183e2d12;
}
.brochure-page .panel-label {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 2rem;
    color: #316a50;
    background: #eaf3e9;
    font-size: .75rem;
    font-weight: 700;
}
.brochure-page .hero-panel h2 {
    margin: 1.3rem 0 .5rem;
    font-size: 1.65rem;
}
.brochure-page .hero-panel > p {
    color: var(--muted);
}
.brochure-page .panel-item {
    display: flex;
    gap: .85rem;
    padding: 1rem 0;
    border-top: 1px solid #e8eee8;
}
.brochure-page .panel-number {
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    color: var(--green);
    background: #edf4ed;
    font-size: .8rem;
    font-weight: 800;
}
.brochure-page .panel-item strong, .brochure-page .panel-item span {
    display: block;
}
.brochure-page .panel-item span {
    color: var(--muted);
    font-size: .87rem;
}
.brochure-page section {
    padding: 5rem 0;
}
.brochure-page .section-intro {
    max-width: 41rem;
    margin-bottom: 2.5rem;
}
.brochure-page .section-intro p, .brochure-page .card p, .brochure-page .pricing-note, .brochure-page .contact-copy p {
    color: var(--muted);
}
.brochure-page .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.brochure-page .card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: #fff;
}
.brochure-page .feature-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.5rem;
    border-radius: .65rem;
    color: var(--green);
    background: #eaf3e9;
    font-size: 1.15rem;
    font-weight: 800;
}
.brochure-page .card h3 {
    margin-bottom: .75rem;
    font-size: 1.35rem;
    letter-spacing: -.02em;
}
.brochure-page .card ul {
    margin: 1.25rem 0 0;
    padding-left: 1.25rem;
}
.brochure-page .card li {
    margin: .45rem 0;
}
.brochure-page .feature-page-intro {
    padding: 4.5rem 0;
    background: var(--cream);
}
.brochure-page .feature-page-intro h1 {
    max-width: 17ch;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}
.brochure-page .feature-page-intro .lead {
    max-width: 44rem;
}
.brochure-page .feature-page-content {
    padding-top: 4rem;
}
.brochure-page .feature-page-content .section-intro {
    max-width: 48rem;
}
.brochure-page .feature-page-content .section-intro h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.65rem);
}
.brochure-page .feature-page-content .section-intro p:last-child {
    margin-bottom: 0;
}
.brochure-page .feature-page-link {
    margin: 1.5rem 0 0;
    color: var(--muted);
    text-align: center;
}
.brochure-page .feature-page-link a {
    color: var(--green);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.brochure-page .feature-stories {
    display: grid;
    gap: 1.5rem;
}
.brochure-page .feature-story {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    grid-template-areas: "copy preview";
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 36px #183e2d08;
}
.brochure-page .feature-story-reversed {
    grid-template-columns: 1.15fr .85fr;
    grid-template-areas: "preview copy";
}
.brochure-page .feature-story-copy {
    grid-area: copy;
}
.brochure-page .feature-story-copy h3 {
    max-width: 17ch;
    margin-bottom: .85rem;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    letter-spacing: -.04em;
}
.brochure-page .feature-story-copy > p:not(.feature-kicker) {
    color: var(--muted);
}
.brochure-page .feature-kicker {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    color: #39765b;
    font-size: .77rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.brochure-page .feature-kicker span {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: .55rem;
    background: #eaf3e9;
    font-size: .8rem;
}
.brochure-page .feature-story-copy ul {
    display: grid;
    gap: .7rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}
.brochure-page .feature-story-copy li {
    position: relative;
    margin: 0;
    padding-left: 1.65rem;
    color: #29473c;
}
.brochure-page .feature-story-copy li::before {
    position: absolute;
    left: 0;
    color: #39765b;
    content: "\2713";
    font-weight: 800;
}
.brochure-page .product-preview {
    grid-area: preview;
    min-width: 0;
    margin: 0;
}
.brochure-page .preview-window {
    overflow: hidden;
    border: 1px solid #dfe8df;
    border-radius: .8rem;
    background: #f7f9f7;
    box-shadow: 0 16px 38px #183e2d12;
}
.brochure-page .preview-topbar {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 3rem;
    padding: .6rem 1rem;
    border-bottom: 1px solid #e6ece6;
    background: #fff;
}
.brochure-page .preview-brand {
    color: #17362d;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: -.06em;
    white-space: nowrap;
}
.brochure-page .preview-brand span {
    color: #43856a;
}
.brochure-page .preview-workspace {
    margin-left: auto;
    color: #718078;
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.brochure-page .preview-avatar {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    color: #245c47;
    background: #eaf3e9;
    font-size: .7rem;
    font-weight: 800;
}
.brochure-page .preview-content {
    padding: clamp(.85rem, 2.5vw, 1.4rem);
}
.brochure-page .preview-eyebrow {
    margin-bottom: .5rem;
    color: #638073;
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.brochure-page .preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}
.brochure-page .preview-heading > strong {
    color: #17362d;
    font-size: 1.1rem;
    letter-spacing: -.035em;
}
.brochure-page .preview-heading > span:not(.preview-add) {
    color: #728078;
    font-size: .65rem;
}
.brochure-page .preview-add {
    padding: .4rem .6rem;
    border-radius: .35rem;
    color: #fff;
    background: #245c47;
    font-size: .63rem;
    font-weight: 700;
    white-space: nowrap;
}
.brochure-page .preview-template-list {
    display: grid;
    gap: .65rem;
}
.brochure-page .preview-template-item {
    padding: .75rem .85rem;
    border: 1px solid #e2eae2;
    border-radius: .5rem;
    background: #fff;
}
.brochure-page .preview-template-item > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .45rem;
}
.brochure-page .preview-template-item > div > small {
    color: #638073;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .07em;
}
.brochure-page .preview-template-item > strong {
    display: block;
    color: #29473c;
    font-size: .73rem;
}
.brochure-page .preview-template-item > p {
    margin: .25rem 0 0;
    color: #728078;
    font-size: .62rem;
    line-height: 1.5;
}
.brochure-page .preview-template-note {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-top: .75rem;
    padding: .7rem .75rem;
    border-radius: .5rem;
    background: #eaf3e9;
    color: #526960;
    font-size: .6rem;
    line-height: 1.5;
}
.brochure-page .preview-template-note > span:first-child {
    color: #39765b;
    font-size: .85rem;
}
.brochure-page .preview-template-note strong {
    color: #245c47;
}
.brochure-page .preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    margin-bottom: .75rem;
}
.brochure-page .preview-stats > div, .brochure-page .preview-list, .brochure-page .preview-quote-list, .brochure-page .preview-reminder {
    border: 1px solid #e2eae2;
    border-radius: .5rem;
    background: #fff;
}
.brochure-page .preview-stats > div {
    display: grid;
    gap: .1rem;
    padding: .65rem .75rem;
}
.brochure-page .preview-stats span {
    color: #64796e;
    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.brochure-page .preview-stats strong {
    color: #17362d;
    font-size: 1.4rem;
    line-height: 1.2;
}
.brochure-page .preview-stats small {
    color: #728078;
    font-size: .58rem;
}
.brochure-page .preview-quick-action {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .65rem;
    padding: .65rem .75rem;
    border: 1px solid #e2eae2;
    border-radius: .5rem;
    background: #fff;
}
.brochure-page .preview-quick-icon, .brochure-page .preview-reminder-form-icon {
    display: grid;
    flex: 0 0 1.8rem;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: .45rem;
    color: #39765b;
    background: #eaf3e9;
    font-weight: 800;
}
.brochure-page .preview-quick-action > span:last-child {
    display: grid;
    min-width: 0;
}
.brochure-page .preview-quick-action small {
    color: #64796e;
    font-size: .49rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.brochure-page .preview-quick-action strong {
    color: #29473c;
    font-size: .65rem;
}
.brochure-page .preview-quick-action > span:last-child > span {
    color: #728078;
    font-size: .57rem;
}
.brochure-page .preview-dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}
.brochure-page .preview-activity-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2eae2;
    border-radius: .5rem;
    background: #fff;
}
.brochure-page .preview-activity-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    padding: .55rem .65rem;
}
.brochure-page .preview-activity-item .preview-record-avatar {
    flex-basis: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
}
.brochure-page .preview-activity-item .preview-record-info strong {
    font-size: .61rem;
}
.brochure-page .preview-activity-item .preview-record-info small {
    font-size: .53rem;
}
.brochure-page .preview-quote-avatar {
    color: #896322;
    background: #fbf0d7;
}
.brochure-page .preview-list-heading {
    display: flex;
    justify-content: space-between;
    padding: .65rem .75rem;
    border-bottom: 1px solid #edf1ed;
    color: #29473c;
    font-size: .68rem;
}
.brochure-page .preview-list-heading span {
    color: #39765b;
    font-size: .61rem;
    font-weight: 700;
}
.brochure-page .preview-record {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    padding: .6rem .75rem;
}
.brochure-page .preview-record + .preview-record {
    border-top: 1px solid #edf1ed;
}
.brochure-page .preview-record-avatar {
    display: grid;
    flex: 0 0 1.7rem;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    color: #32664f;
    background: #eaf3e9;
    font-size: .65rem;
    font-weight: 800;
}
.brochure-page .preview-record-info {
    display: grid;
    min-width: 0;
    margin-right: auto;
}
.brochure-page .preview-record-info strong {
    overflow: hidden;
    color: #29473c;
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brochure-page .preview-record-info small {
    overflow: hidden;
    color: #728078;
    font-size: .57rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brochure-page .preview-status {
    display: inline-flex;
    align-items: center;
    padding: .25rem .4rem;
    border-radius: 2rem;
    font-size: .55rem;
    font-weight: 700;
    white-space: nowrap;
}
.brochure-page .preview-status-new, .brochure-page .preview-status-sent {
    color: #8a5b18;
    background: #fff2d6;
}
.brochure-page .preview-status-progress {
    color: #316354;
    background: #e4f2e9;
}
.brochure-page .preview-status-accepted {
    color: #28603d;
    background: #e4f2e9;
}
.brochure-page .preview-status-draft {
    color: #5e6a64;
    background: #edf0ed;
}
.brochure-page .preview-quote-list {
    overflow: hidden;
}
.brochure-page .preview-quote-head, .brochure-page .preview-quote-row {
    display: grid;
    grid-template-columns: .8fr 1.3fr .8fr .8fr;
    align-items: center;
    gap: .3rem;
    min-width: 0;
    padding: .62rem .7rem;
}
.brochure-page .preview-quote-head {
    color: #64796e;
    background: #f7f9f7;
    font-size: .49rem;
    font-weight: 800;
    letter-spacing: .04em;
}
.brochure-page .preview-quote-row {
    border-top: 1px solid #edf1ed;
    color: #526960;
    font-size: .59rem;
}
.brochure-page .preview-quote-row > * {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brochure-page .preview-quote-row strong {
    color: #29473c;
    font-size: .58rem;
}
.brochure-page .preview-reminder {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .7rem;
    padding: .65rem .75rem;
}
.brochure-page .preview-reminder-icon {
    display: grid;
    flex: 0 0 1.7rem;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: .4rem;
    color: #39765b;
    background: #eaf3e9;
}
.brochure-page .preview-reminder > span:nth-child(2) {
    display: grid;
    min-width: 0;
}
.brochure-page .preview-reminder small {
    color: #64796e;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.brochure-page .preview-reminder strong {
    overflow: hidden;
    color: #29473c;
    font-size: .61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brochure-page .preview-reminder-date {
    margin-left: auto;
    color: #526960;
    font-size: .58rem;
    white-space: nowrap;
}
.brochure-page .preview-reminder-content .preview-eyebrow {
    margin-bottom: .8rem;
}
.brochure-page .preview-reminder-form-heading {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
}
.brochure-page .preview-reminder-form-icon {
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
}
.brochure-page .preview-reminder-form-heading > span:last-child {
    display: grid;
    gap: .15rem;
}
.brochure-page .preview-reminder-form-heading strong {
    color: #17362d;
    font-size: .9rem;
    letter-spacing: -.02em;
}
.brochure-page .preview-reminder-form-heading small {
    color: #728078;
    font-size: .6rem;
}
.brochure-page .preview-form-label {
    margin: .75rem 0 .35rem;
    color: #526960;
    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .07em;
}
.brochure-page .preview-input, .brochure-page .preview-time-field {
    border: 1px solid #dce5dc;
    border-radius: .4rem;
    background: #fff;
}
.brochure-page .preview-input {
    padding: .55rem .65rem;
    color: #29473c;
    font-size: .65rem;
}
.brochure-page .preview-schedule-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
}
.brochure-page .preview-schedule-choice {
    display: grid;
    justify-items: center;
    gap: .15rem;
    min-width: 0;
    padding: .5rem .2rem;
    border: 1px solid #dfe9e0;
    border-radius: .45rem;
    background: #fff;
    text-align: center;
}
.brochure-page .preview-schedule-choice strong {
    color: #526b5b;
    font-size: .6rem;
}
.brochure-page .preview-schedule-choice small {
    color: #849188;
    font-size: .49rem;
    white-space: nowrap;
}
.brochure-page .preview-schedule-choice.is-selected {
    border-color: #75a982;
    background: #f0f7f1;
    box-shadow: inset 0 0 0 1px #75a982;
}
.brochure-page .preview-schedule-choice.is-selected strong {
    color: #28644e;
}
.brochure-page .preview-time-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .75rem;
    padding: .5rem .65rem;
}
.brochure-page .preview-time-field span {
    color: #526960;
    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.brochure-page .preview-time-field strong {
    color: #29473c;
    font-size: .65rem;
}
.brochure-page .preview-customer-option {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin-top: .8rem;
    color: #29473c;
    font-size: .6rem;
    line-height: 1.4;
}
.brochure-page .preview-checkbox {
    display: grid;
    flex: 0 0 .9rem;
    place-items: center;
    width: .9rem;
    height: .9rem;
    border: 1px solid #75a982;
    border-radius: .2rem;
    color: #fff;
    background: #39765b;
    font-size: .58rem;
}
.brochure-page .preview-reminder-note {
    margin: .45rem 0 .75rem;
    padding-left: 1.35rem;
    color: #728078;
    font-size: .53rem;
}
.brochure-page .preview-form-button {
    padding: .55rem .75rem;
    border-radius: .4rem;
    color: #fff;
    background: #245c47;
    font-size: .63rem;
    font-weight: 700;
    text-align: center;
}
.brochure-page .preview-timeline {
    padding: .85rem 1rem .25rem;
    border: 1px solid #e2eae2;
    border-radius: .55rem;
    background: #fff;
}
.brochure-page .preview-timeline-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid #edf1ed;
}
.brochure-page .preview-timeline-heading > span:first-child {
    display: grid;
    gap: .15rem;
}
.brochure-page .preview-timeline-heading small {
    color: #638073;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.brochure-page .preview-timeline-heading strong {
    color: #17362d;
    font-size: .86rem;
}
.brochure-page .preview-timeline-count {
    flex: none;
    padding: .3rem .5rem;
    border: 1px solid #e1e9e2;
    border-radius: 2rem;
    color: #65796c;
    background: #f7faf7;
    font-size: .58rem;
    font-weight: 700;
}
.brochure-page .preview-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: .75rem minmax(0, 1fr);
    gap: .6rem;
    padding: .75rem 0;
}
.brochure-page .preview-timeline-item:not(:last-child)::after {
    position: absolute;
    top: 1.35rem;
    bottom: -.15rem;
    left: .28rem;
    width: 1px;
    background: #e4ece5;
    content: "";
}
.brochure-page .preview-timeline-marker {
    position: relative;
    z-index: 1;
    width: .62rem;
    height: .62rem;
    margin: .2rem 0 0 .02rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #6f9c7a;
    box-shadow: 0 0 0 1px #dce8de;
}
.brochure-page .preview-timeline-marker.preview-event-status {
    background: #d09c3e;
}
.brochure-page .preview-timeline-marker.preview-event-reminder {
    background: #5282bd;
}
.brochure-page .preview-timeline-copy {
    min-width: 0;
}
.brochure-page .preview-timeline-copy > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .55rem;
}
.brochure-page .preview-event-badge {
    display: inline-flex;
    align-items: center;
    padding: .23rem .42rem;
    border: 1px solid #bfe3ca;
    border-radius: 2rem;
    color: #216239;
    background: #d9f0e0;
    font-size: .53rem;
    font-weight: 750;
    white-space: nowrap;
}
.brochure-page .preview-event-badge.preview-event-status {
    border-color: #dbd2f3;
    color: #5a438d;
    background: #eee8fb;
}
.brochure-page .preview-event-badge.preview-event-reminder {
    border-color: #c8d9f5;
    color: #28548d;
    background: #e5eefc;
}
.brochure-page .preview-timeline-copy time {
    color: #89978e;
    font-size: .58rem;
}
.brochure-page .preview-timeline-copy p {
    margin: .35rem 0 0;
    color: #52665a;
    font-size: .68rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.brochure-page .preview-statistics-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}
.brochure-page .preview-statistics-heading strong {
    color: #17362d;
    font-size: 1.05rem;
}
.brochure-page .preview-statistics-heading > span {
    padding: .35rem .55rem;
    border: 1px solid #d6e8d8;
    border-radius: .35rem;
    color: #43735a;
    background: #f3f9f2;
    font-size: .58rem;
    font-weight: 700;
}
.brochure-page .preview-statistics-totals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .65rem;
}
.brochure-page .preview-statistics-totals > div {
    display: grid;
    gap: .1rem;
    padding: .55rem .7rem;
    border: 1px solid #e2eae2;
    border-radius: .45rem;
    background: #fff;
}
.brochure-page .preview-statistics-totals small {
    color: #64796e;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .05em;
}
.brochure-page .preview-statistics-totals strong {
    color: #17362d;
    font-size: 1.2rem;
    line-height: 1.2;
}
.brochure-page .preview-statistics-totals span {
    color: #728078;
    font-size: .55rem;
}
.brochure-page .preview-statistics-chart {
    padding: .65rem .7rem .3rem;
    border: 1px solid #e2eae2;
    border-radius: .5rem;
    background: #fff;
}
.brochure-page .preview-chart-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
}
.brochure-page .preview-chart-heading > span:first-child {
    display: grid;
    gap: .1rem;
}
.brochure-page .preview-chart-heading small:first-child {
    color: #638073;
    font-size: .47rem;
    font-weight: 800;
    letter-spacing: .07em;
}
.brochure-page .preview-chart-heading strong {
    color: #17362d;
    font-size: .76rem;
}
.brochure-page .preview-chart-heading small:last-child {
    color: #718578;
    font-size: .54rem;
}
.brochure-page .preview-chart-period {
    flex: none;
    padding: .28rem .45rem;
    border-radius: 2rem;
    color: #43735a;
    background: #f3f9f2;
    font-size: .52rem;
    font-weight: 700;
}
.brochure-page .preview-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .55rem;
}
.brochure-page .preview-chart-legend > span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #627c6d;
    font-size: .53rem;
}
.brochure-page .preview-chart-legend strong {
    color: #29473c;
}
.brochure-page .preview-chart-key {
    width: .43rem;
    height: .43rem;
    border-radius: 50%;
}
.brochure-page .preview-chart-key-enquiries, .brochure-page .preview-bar-enquiries {
    background: linear-gradient(180deg, #70bd8d, #32835f);
}
.brochure-page .preview-chart-key-quotes, .brochure-page .preview-bar-quotes {
    background: linear-gradient(180deg, #ecc77a, #c9903d);
}
.brochure-page .preview-bar-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .3rem;
    margin-top: .25rem;
}
.brochure-page .preview-bar-column {
    display: grid;
    grid-template-rows: 1fr auto;
    min-width: 0;
    text-align: center;
}
.brochure-page .preview-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 7rem;
    border-bottom: 1px solid #cbd9ce;
    background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #eaf1eb calc(25% - 1px), #eaf1eb 25%);
}
.brochure-page .preview-bars i {
    width: min(.65rem, 38%);
    border-radius: .25rem .25rem 0 0;
}
.brochure-page .preview-bar-column small {
    padding: .3rem 0;
    color: #7d9183;
    font-size: .5rem;
    font-weight: 600;
}
.brochure-page .product-preview figcaption {
    margin-top: .55rem;
    color: #728078;
    font-size: .72rem;
    text-align: right;
}
.brochure-page .pricing {
    background: #f6f8f4;
}
.brochure-page .price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.brochure-page .price-card {
    display: flex;
    flex-direction: column;
}
.brochure-page .price-card.featured {
    border: 2px solid #39765b;
}
.brochure-page .price {
    margin: .7rem 0;
    color: var(--ink) !important;
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
}
.brochure-page .price span {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: 0;
}
.brochure-page .price-card .button {
    margin-top: auto;
}
.brochure-page .price-card > p:not(.price) {
    min-height: 3rem;
}
.brochure-page .pricing-note {
    margin: 1.25rem 0 0;
    font-size: .95rem;
}
.brochure-page .contact {
    background: #eaf2e9;
}
.brochure-page .contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}
.brochure-page .contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: .8rem;
    border: 1px solid #dae7d8;
}
.brochure-page label {
    display: block;
    margin: 1rem 0 .35rem;
    font-size: .9rem;
    font-weight: 700;
}
.brochure-page input, .brochure-page textarea {
    width: 100%;
    padding: .8rem;
    border: 1px solid #afc0b3;
    border-radius: .4rem;
    color: var(--ink);
    background: #fff;
    font: inherit;
}
.brochure-page textarea {
    min-height: 140px;
    resize: vertical;
}
.brochure-page .contact-form .button {
    margin-top: 1.25rem;
}
.brochure-page .terms-acceptance {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-top: 1.25rem;
}
.brochure-page .terms-acceptance input[type="checkbox"] {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    margin: .18rem 0 0;
    padding: 0;
    accent-color: var(--green);
}
.brochure-page .terms-acceptance label {
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.45;
}
.brochure-page .terms-links {
    margin: .3rem 0 0 1.8rem;
    font-size: .78rem;
}
.brochure-page .terms-links a, .brochure-page .legal-document a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: .15em;
}
.brochure-page .terms-error {
    margin: .5rem 0 0;
    color: #8d2923;
    font-size: .82rem;
}
.brochure-page .form-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .85rem;
}
.brochure-page .notice {
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border-radius: .4rem;
    color: #245c47;
    background: #eaf3e9;
}
.brochure-page .notice-error {
    color: #8d2923;
    background: #fff0ef;
}
.brochure-page .notice ul {
    margin: 0;
    padding-left: 1.2rem;
}
.brochure-page .footer {
    padding: 2rem 0;
    color: #d9e8dd;
    background: #17362d;
}
.brochure-page .footer-inner {
    display: grid;
    gap: 1.1rem;
    font-size: .9rem;
}
.brochure-page .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brochure-page .footer-top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .7rem 1.15rem;
}
.brochure-page .footer-top-links a {
    color: #e8f1eb;
    font-size: .8rem;
    text-decoration: none;
}
.brochure-page .footer-top-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.brochure-page .legal-document {
    max-width: 860px;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.brochure-page .legal-document h2 {
    margin: 2rem 0 .6rem;
    color: var(--ink);
    font-size: 1.3rem;
}
.brochure-page .legal-document p, .brochure-page .legal-document li {
    color: var(--muted);
    line-height: 1.75;
}
.brochure-page .legal-document ul {
    padding-left: 1.4rem;
}
.brochure-page .legal-document .legal-updated {
    color: #708078;
    font-size: .85rem;
    font-weight: 700;
}
.brochure-page .cookie-policy-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
}
.brochure-page .cookie-policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.brochure-page .cookie-policy-table th, .brochure-page .cookie-policy-table td {
    padding: .8rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.brochure-page .cookie-policy-table thead th {
    color: var(--ink);
    background: #f5f8f4;
}
.brochure-page .cookie-policy-table tbody th {
    min-width: 12rem;
    color: #29473c;
}
.cookie-notice {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1200;
    padding: .9rem 1.1rem;
    border: 1px solid #d5e0d7;
    border-radius: .8rem;
    background: #fff;
    color: #344c3e;
    box-shadow: 0 12px 40px #10281d2e;
}
.cookie-notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto;
}
.cookie-notice-content p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.5;
}
.cookie-notice-content a {
    color: #285f49;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .15em;
}
.cookie-notice-content button {
    flex: 0 0 auto;
    padding: .65rem .95rem;
    border: 1px solid #285f49;
    border-radius: .5rem;
    background: #285f49;
    color: #fff;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.cookie-notice-content button:hover {
    background: #1b4936;
}
.cookie-notice-content button:focus-visible {
    outline: 3px solid #c4873b;
    outline-offset: 3px;
}
body.cookie-notice-visible .back-to-top {
    bottom: 6.5rem;
}
.brochure-page .footer-brand {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.brochure-page .footer-brand > span {
    color: #d9e8dd;
    font-size: .82rem;
}
.brochure-page .footer-company {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ffffff2e;
    color: #d9e8dd;
}
.brochure-page .footer-company-details {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
}
.brochure-page .footer-company-block {
    min-width: 0;
}
.brochure-page .footer-company-block p {
    margin: 0;
    color: inherit;
}
.brochure-page .footer-company-block .footer-label {
    margin-bottom: .35rem;
    color: #a9c2b4;
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.brochure-page .footer-company-block > p:not(.footer-label), .brochure-page .footer-company-block address {
    font-size: .78rem;
    line-height: 1.55;
}
.brochure-page .footer-company-block address {
    margin: 0;
    font-style: normal;
}
.brochure-page .footer-copyright {
    align-self: end;
    color: #bcd0c3;
    font-size: .72rem;
    white-space: nowrap;
}
.brochure-page .footer .logo {
    color: #fff;
}
@media (max-width: 760px) {
    .brochure-page .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 0;
    }
    .brochure-page .nav {
        gap: 1rem;
    }
    .brochure-page .hero {
        padding: 4rem 0;
    }
    .brochure-page .feature-page-intro {
        padding: 3.5rem 0;
    }
    .brochure-page .hero-grid, .brochure-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .brochure-page .features, .brochure-page .price-grid {
        grid-template-columns: 1fr;
    }
    .brochure-page .footer-inner {
        gap: .75rem;
    }
    .brochure-page .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }
    .brochure-page .footer-top-links {
        justify-content: flex-start;
    }
    .cookie-notice-content {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }
    body.cookie-notice-visible .back-to-top {
        bottom: 8.5rem;
    }
    .brochure-page .footer-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
    .brochure-page .footer-company {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
    .brochure-page .footer-company-details {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
    .brochure-page .footer-copyright {
        align-self: start;
    }
    .brochure-page .feature-story, .brochure-page .feature-story-reversed {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "preview";
        gap: 1.5rem;
    }
    .brochure-page .preview-quote-row .preview-status {
        padding: .2rem .25rem;
        font-size: .45rem;
    }
    .brochure-page .preview-dashboard-panels {
        grid-template-columns: 1fr;
    }
    .brochure-page .preview-schedule-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .brochure-page .price-card > p:not(.price) {
        min-height: 0;
    }
    .brochure-page section {
        padding: 3.5rem 0;
    }
}

/* Tenant welcome page */
.tenant-home-page {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17221f;
    background: radial-gradient(ellipse at 75% 15%, #e5f0e7 0, transparent 34%), linear-gradient(135deg, #f8faf8, #eef4ef);
}
.tenant-home-page body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
.tenant-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1120px, 100%);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1.4rem 1.5rem;
}
.tenant-home-brand {
    color: #19382d;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.055em;
    text-decoration: none;
}
.tenant-home-brand span { color: #4b8b61; }
.tenant-home-powered {
    color: #78877e;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.tenant-home-main {
    display: grid;
    flex: 1;
    place-items: center;
    padding: 1.5rem 1.25rem 3.5rem;
}
.tenant-home-card {
    position: relative;
    width: min(760px, 100%);
    box-sizing: border-box;
    overflow: hidden;
    padding: clamp(2rem, 7vw, 4.5rem);
    border: 1px solid #e0e9e1;
    border-radius: 1.4rem;
    background: linear-gradient(145deg, #fff, #f9fcf9);
    box-shadow: 0 20px 60px #19382d12;
}
.tenant-home-card::after {
    position: absolute;
    z-index: 0;
    top: -105px;
    right: -85px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, #dcecdfa6, #dcecdf00 70%);
    content: "";
    pointer-events: none;
}
.tenant-home-eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 .8rem;
    color: #5a8268;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .16em;
}
.tenant-home-card h1 {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0;
    color: #19382d;
    font-size: clamp(2.35rem, 7vw, 4.25rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}
.tenant-home-intro {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 1.1rem 0 1.7rem;
    color: #718178;
    font-size: clamp(.95rem, 2vw, 1.08rem);
    line-height: 1.65;
}
.tenant-home-highlights {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 0 0 1.55rem;
    padding: 0;
    list-style: none;
}
.tenant-home-highlight {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem .55rem .55rem;
    border: 1px solid #e4ebe4;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 3px 10px #19382d08;
}
.tenant-home-highlight-icon {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    flex: none;
    place-items: center;
    border-radius: .6rem;
}
.tenant-home-highlight-icon svg { width: 1.15rem; height: 1.15rem; }
.tenant-home-highlight-enquiries .tenant-home-highlight-icon { background: #e6f3e8; color: #36734d; }
.tenant-home-highlight-quotes .tenant-home-highlight-icon { background: #fff1d9; color: #a76e1d; }
.tenant-home-highlight > span:last-child { display: grid; gap: .12rem; }
.tenant-home-highlight strong { color: #365341; font-size: .68rem; }
.tenant-home-highlight small { color: #829087; font-size: .59rem; }
.tenant-home-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}
.tenant-home-button {
    display: inline-flex;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .72rem 1rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    font-size: .78rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.tenant-home-button-primary {
    background: linear-gradient(135deg, #28644e, #1d4e3b);
    box-shadow: 0 5px 13px #28644e24;
    color: #fff;
}
.tenant-home-button-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #235a45, #173f30);
    box-shadow: 0 8px 18px #28644e30;
}
.tenant-home-button-secondary {
    border-color: #d6e3d8;
    background: #fff;
    color: #34664a;
}
.tenant-home-button-secondary:hover {
    transform: translateY(-1px);
    border-color: #b7cfbb;
    background: #f4f8f4;
}
.tenant-home-page a:focus-visible {
    outline: 3px solid #c4873b;
    outline-offset: 3px;
}
.tenant-home-footnote {
    margin: 2rem 0 0;
    padding-top: .9rem;
    border-top: 1px solid #e9efea;
    color: #87958b;
    font-size: .68rem;
}
.tenant-home-footnote strong { color: #587462; }
@media (max-width: 560px) {
    .tenant-home-header { padding: 1.1rem 1rem; }
    .tenant-home-main { padding: .6rem 1rem 2rem; }
    .tenant-home-card { padding: 2rem 1.35rem; border-radius: 1rem; }
    .tenant-home-actions { align-items: stretch; flex-direction: column; }
    .tenant-home-button { width: 100%; }
}

/* Not found page */
.not-found-page {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #19382d;
    background: radial-gradient(ellipse at 50% 38%, #fff 0, #f6faf6 38%, transparent 72%), linear-gradient(135deg, #f8faf8, #eef4ef);
}
.not-found-page body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
}
.not-found-header {
    display: flex;
    width: min(1120px, 100%);
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
    padding: 1.4rem 1.5rem;
}
.not-found-brand {
    color: #19382d;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.055em;
    text-decoration: none;
}
.not-found-brand span { color: #4b8b61; }
.not-found-business { color: #78877e; font-size: .75rem; font-weight: 650; }
.not-found-main { display: grid; flex: 1; place-items: center; padding: 1.5rem 1.25rem 3rem; }
.not-found-card {
    display: flex;
    width: min(640px, 100%);
    box-sizing: border-box;
    align-items: center;
    flex-direction: column;
    padding: clamp(2rem, 6vw, 3.75rem);
    text-align: center;
}
.not-found-illustration {
    position: relative;
    display: grid;
    width: 7rem;
    height: 7rem;
    place-items: center;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff 0, #eef7ef 48%, #e6f0e6 100%);
    color: #39704e;
    box-shadow: 0 12px 38px #39704e14;
}
.not-found-illustration svg { width: 4.8rem; height: 4.8rem; }
.not-found-spark { position: absolute; width: .45rem; height: .45rem; border-radius: 50%; }
.not-found-spark-one { top: .55rem; right: .45rem; background: #d6a64f; }
.not-found-spark-two { bottom: .7rem; left: .45rem; width: .3rem; height: .3rem; background: #78a982; }
.not-found-eyebrow { margin: 0 0 .65rem; color: #688371; font-size: .65rem; font-weight: 800; letter-spacing: .16em; }
.not-found-eyebrow span { padding: 0 .25rem; color: #d1a353; }
.not-found-card h1 {
    max-width: 510px;
    margin: 0;
    color: #19382d;
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.025em;
}
.not-found-walkabout {
    display: inline-block;
    color: #a76e1d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08em;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -.03em;
    text-decoration: underline wavy #d6a64f;
    text-decoration-thickness: .07em;
    text-underline-offset: .12em;
    transform: rotate(-2deg);
}
.not-found-copy { max-width: 450px; margin: 1rem 0 1.5rem; color: #718178; font-size: .92rem; line-height: 1.65; }
.not-found-actions { display: flex; justify-content: center; }
.not-found-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .72rem 1.1rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    background: linear-gradient(135deg, #28644e, #1d4e3b);
    box-shadow: 0 5px 13px #28644e24;
    color: #fff;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.not-found-button:hover { transform: translateY(-1px); background: linear-gradient(135deg, #235a45, #173f30); box-shadow: 0 8px 18px #28644e30; }
.not-found-page a:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
.not-found-footer { padding: 0 1rem 1.3rem; color: #87958b; font-size: .68rem; text-align: center; }
.not-found-footer strong { color: #587462; }
@media (max-width: 560px) {
    .not-found-header { padding: 1.1rem 1rem; }
    .not-found-main { padding: .6rem 1rem 2rem; }
    .not-found-card { padding: 2rem .5rem; }
    .not-found-button { width: 100%; }
}

/* Customer workspace */
.app-page .workspace-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f7f4;
    color: #21362e;
}
.workspace-layout, .workspace-layout * { box-sizing: border-box; }
.app-page .workspace-sidebar {
    display: flex;
    flex: 0 0 250px;
    flex-direction: column;
    padding: 2rem 1.15rem 1.25rem;
    background: #173a30;
    color: #e8f2eb;
}
.workspace-brand {
    padding: 0 .75rem;
    color: #fff !important;
    font-size: 1.48rem;
    font-weight: 800;
    letter-spacing: -.07em;
    text-decoration: none;
}
.workspace-brand span { color: #a9d8b7; }
.workspace-brand .brand-dot { color: #e1bc70; }
.workspace-business {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 2.5rem 0 1.1rem;
    padding: .85rem;
    border: 1px solid #ffffff24;
    border-radius: .75rem;
    background: #ffffff0d;
    min-width: 0;
}
.workspace-business-icon, .account-avatar {
    display: grid;
    flex: 0 0 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: .6rem;
    background: #d3e9d8;
    color: #275b45;
    font-weight: 800;
}
.workspace-business small, .workspace-business strong, .account-name strong, .account-name small { display: block; overflow-wrap: anywhere; }
.workspace-business small, .workspace-nav-label { color: #adc8b9; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.workspace-business strong { margin-top: .2rem; font-size: .88rem; }
.workspace-nav-label { padding: 0 .8rem; }
.workspace-sidebar nav { display: grid; gap: .3rem; margin-top: .75rem; }
.workspace-sidebar nav a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .8rem;
    border-radius: .55rem;
    color: #cbded2;
    font-size: .91rem;
    font-weight: 600;
    text-decoration: none;
}
.workspace-sidebar nav a span { width: 1.2rem; font-size: 1.2rem; text-align: center; }
.workspace-sidebar nav a .workspace-nav-icon-support, .workspace-sidebar nav a .workspace-nav-icon-help { display: grid; place-items: center; }
.workspace-nav-icon-support svg, .workspace-nav-icon-help svg { width: 1.15rem; height: 1.15rem; }
.workspace-sidebar nav a:hover, .workspace-sidebar nav a[aria-current="page"] { color: #fff; background: #ffffff19; }
.workspace-sidebar nav a[aria-current="page"] { box-shadow: inset 3px 0 #aad9b7; }
.workspace-nav-divider { display: block; height: 1px; margin: .55rem .8rem; background: linear-gradient(90deg, transparent, #ffffff35 12%, #ffffff35 88%, transparent); }
.workspace-sidebar nav a .workspace-feedback-icon { color: #aad9b7; }
.workspace-logout-form { margin: 0 0 1.35rem; }
.workspace-logout-form button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .68rem .8rem; border: 1px solid #ffffff25; border-radius: .55rem; background: #ffffff0b; color: #e8f2eb; font: inherit; font-size: .84rem; font-weight: 650; text-align: left; cursor: pointer; }
.workspace-logout-form button:hover { border-color: #ffffff55; background: #ffffff19; color: #fff; }
.workspace-logout-form svg { flex: none; width: 1.15rem; height: 1.15rem; }
.workspace-account {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: auto;
    padding: 1.5rem .3rem 0;
    border-top: 1px solid #ffffff20;
}
.account-avatar { flex-basis: 2.2rem; height: 2.2rem; border-radius: 50%; }
.account-name { flex: 1; min-width: 0; font-size: .8rem; }
.account-name small { margin-top: .15rem; color: #adc8b9; font-size: .7rem; }
.account-name .account-login-time { margin-top: .3rem; font-size: .68rem; }
.workspace-account form { width: 100%; }
.app-page .workspace-account button { padding: .45rem 0; color: #cbded2; background: transparent; font-size: .8rem; }
.app-page .workspace-account button:hover { color: #fff; text-decoration: underline; }
.app-page .workspace-main { flex: 1 1 0; width: 0; min-width: 0; max-width: 1500px; margin: 0 auto; padding: 3.5rem clamp(1.5rem, 4vw, 4.5rem); }
.admin-live-account-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; padding: .85rem 1rem; border: 1px solid #e6d9bb; border-left: 4px solid #b88a43; border-radius: .7rem; background: linear-gradient(110deg, #fffaf0, #fff); color: #4a463d; box-shadow: 0 4px 16px #4737190a; }
.admin-live-account-banner-copy { display: grid; min-width: 0; gap: .15rem; }
.admin-live-account-banner-copy > p { margin: 0; color: #8a6a32; font-size: .58rem; font-weight: 800; letter-spacing: .09em; }
.admin-live-account-banner-copy > strong { color: #3c493f; font-size: .88rem; }
.admin-live-account-banner-copy > span, .admin-live-account-banner-copy > small { color: #6f766e; font-size: .7rem; line-height: 1.45; }
.admin-live-account-banner-link { flex: 0 0 auto; color: #285f49; font-size: .75rem; font-weight: 750; text-decoration: underline; text-underline-offset: .15em; }
.admin-live-account-banner form { flex: 0 0 auto; margin: 0; }
.admin-live-account-banner form button { display: grid; width: 2rem; height: 2rem; place-items: center; padding: 0; border: 1px solid #e2d9c8; border-radius: 50%; background: #fff; color: #716958; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.admin-live-account-banner form button:hover { border-color: #b88a43; color: #4a463d; }
.admin-live-account-banner form button:focus-visible { outline: 3px solid #c4873b; outline-offset: 2px; }
.trial-live-account-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.15rem; padding: 1rem 1.2rem; border: 1px solid #1e503b; border-radius: .85rem; background: linear-gradient(115deg, #1d4936, #2c684b); color: #fff; box-shadow: 0 10px 24px #1f4a3022; }
.trial-live-account-cta > div { min-width: 0; }
.trial-live-account-cta .workspace-eyebrow { color: #c1dec9; }
.trial-live-account-cta h2 { margin: .2rem 0; color: #fff; font-size: .98rem; }
.trial-live-account-cta p:not(.workspace-eyebrow) { max-width: 52rem; margin: .2rem 0 0; color: #e1ece4; font-size: .73rem; line-height: 1.5; }
.trial-live-account-cta form { flex: 0 0 auto; margin: 0; }
.trial-live-account-cta .workspace-button { margin: 0; border-color: #fff; background: #fff; color: #24583d; white-space: nowrap; }
.trial-live-account-cta .workspace-button:hover { border-color: #e5efe7; background: #e5efe7; }
.trial-live-account-requested { border-color: #cfe0d1; background: linear-gradient(110deg, #f2f8f2, #fff); color: #344c3e; }
.trial-live-account-requested .workspace-eyebrow { color: #638171; }
.trial-live-account-requested h2 { color: #203d30; }
.trial-live-account-requested p:not(.workspace-eyebrow) { color: #6f8075; }
.trial-live-account-requested .workspace-button { border-color: #d0ded4; background: #fff; color: #285f49; }
.trial-live-account-dialog { width: min(34rem, calc(100vw - 2rem)); max-width: none; margin: auto; padding: 1.4rem; border: 1px solid #dbe6dd; border-radius: .9rem; background: #fff; color: #344c3e; box-shadow: 0 24px 80px #10281d40; }
.trial-live-account-dialog::backdrop { background: #14251cb8; backdrop-filter: blur(3px); }
.trial-live-account-dialog h2 { margin: .25rem 0 .55rem; color: #203d30; font-size: 1.25rem; letter-spacing: -.03em; }
.trial-live-account-dialog > p:not(.workspace-eyebrow) { margin: .45rem 0; color: #52685a; font-size: .82rem; line-height: 1.6; }
.trial-live-account-dialog .workspace-eyebrow { color: #638171; }
.trial-live-account-dialog .trial-live-account-dialog-note { padding: .65rem .75rem; border-radius: .5rem; background: #f3f7f3; color: #6f8075; font-size: .73rem; }
.trial-live-account-dialog form { margin: 1rem 0 0; }
.trial-live-account-dialog-actions { display: flex; justify-content: flex-end; gap: .6rem; }
.trial-live-account-dialog-actions .workspace-button { margin: 0; padding: .68rem .9rem; font-size: .76rem; }
.workspace-current-date { margin: 0 0 1rem; color: #708078; font-size: .82rem; font-weight: 600; text-align: right; }
.app-page .trial-workspace-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .9rem; margin: 0 0 1rem; padding: .65rem .85rem; border: 1px solid #e7dfce; border-left: 3px solid #b88a43; border-radius: .55rem; background: #fbf8f1; color: #5d5547; font-size: .72rem; line-height: 1.45; }
.trial-workspace-notice-heading { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; }
.trial-workspace-notice-heading strong { color: #4a463d; font-size: .78rem; }
.trial-workspace-notice-heading span { color: #716958; }
.trial-workspace-notice-heading a { margin-left: auto; color: #285f49; font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.trial-duration { display: flex; flex: 1 1 100%; align-items: center; gap: .55rem; color: #716958; font-size: .66rem; }
.trial-duration-label { min-width: 6.2rem; font-weight: 700; }
.trial-duration-segments { display: flex; align-items: center; gap: .2rem; }
.trial-duration-segment { display: block; width: .68rem; height: .3rem; border-radius: 99px; background: hsl(var(--trial-day-hue), 52%, 43%); }
.trial-duration-segment.is-elapsed { background: #d7d9d4; }
.trial-workspace-notice > p { flex: 1 1 100%; margin: 0; }
.trial-feedback-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .85rem; margin: -.25rem 0 1rem; padding: .7rem .8rem; border: 1px solid #d6e2ef; border-left: 3px solid #3974b8; border-radius: .6rem; background: linear-gradient(110deg, #f1f6fc, #fff); color: #344c3e; }
.trial-feedback-prompt-copy { flex: 1 1 18rem; }
.trial-feedback-prompt-copy strong { color: #1e3a5f; font-size: .77rem; }
.trial-feedback-prompt-copy p { margin: .15rem 0 0; color: #607187; font-size: .7rem; line-height: 1.45; }
.trial-feedback-prompt-link { display: inline-flex; align-items: center; justify-content: center; padding: .5rem .75rem; border: 1px solid #285f49; border-radius: .45rem; background: #285f49; color: #fff; font-size: .7rem; font-weight: 700; text-decoration: none; }
.trial-feedback-prompt-link:hover { background: #1b4936; }
.trial-feedback-prompt form { margin: 0; }
.trial-feedback-prompt form button { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #687b91; font-size: 1.1rem; }
.trial-feedback-prompt form button:hover { background: #e4edf7; color: #1e3a5f; }
.workspace-page-header { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.25rem; padding: 1.15rem 1.35rem; border: 1px solid #e0e9e1; border-radius: .9rem; background: radial-gradient(ellipse at 94% 0, #eaf5e9 0, transparent 38%), linear-gradient(110deg, #fff, #fbfdfb); box-shadow: 0 6px 20px #1f4a3008; }
.workspace-page-header h1 { margin: .4rem 0; font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -.045em; }
.workspace-eyebrow { margin: 0; color: #638171; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.workspace-subtitle { margin: .65rem 0 0; color: #708078; font-size: .95rem; line-height: 1.5; }
.app-page .workspace-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex-shrink: 0; padding: .85rem 1.1rem; border: 1px solid #285f49; border-radius: .55rem; background: #285f49; color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; }
.app-page .workspace-button:hover { background: #1b4936; }
.app-page .workspace-button-secondary { background: #fff; color: #285f49; border-color: #d0ded4; }
.app-page .workspace-button-secondary:hover { background: #edf4ef; }
.workspace-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.app-page .workspace-stat { position: relative; display: flex; flex-direction: column; min-height: 180px; padding: 1.35rem; border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; color: #718078; text-decoration: none; font-size: .83rem; box-shadow: 0 4px 20px #1f4a3008; }
a.workspace-stat:hover { border-color: #a7c7af; }
.workspace-stat .stat-label { color: #788b7f; font-size: .67rem; font-weight: 800; letter-spacing: .09em; }
.workspace-stat > strong { margin: .8rem 0 .45rem; color: #203d30; font-size: 2.25rem; line-height: 1; }
.stat-icon { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .6rem; color: #397454; background: #eaf5ec; font-size: 1.2rem; }
.stat-icon-gold { color: #9c7131; background: #fbf3e2; }
.workspace-stat-help { background: #e9f2e8 !important; }
.workspace-stat.workspace-stat-help > strong { margin: 1rem 0 .5rem; font-size: 1.12rem; }
.workspace-stat-help a { margin-top: auto; padding-top: .75rem; font-weight: 700; text-decoration: none; }
.workspace-package-promo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .9rem; margin: 0 0 1.15rem; padding: 1.05rem 1.2rem; border: 1px solid #dce8df; border-radius: .9rem; background: radial-gradient(ellipse at 92% 0, #eaf5e9 0, transparent 38%), linear-gradient(110deg, #fff, #f8fbf8); box-shadow: 0 8px 22px #1f4a3008; }
.workspace-package-promo-icon { display: grid; flex: 0 0 2.65rem; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid #dce9df; border-radius: .75rem; background: #edf6ee; color: #397454; font-size: 1.1rem; }
.workspace-package-promo-content { min-width: 0; }
.workspace-package-promo-content > .workspace-eyebrow { color: #638171; font-size: .56rem; }
.workspace-package-promo-content h2 { margin: .25rem 0 .2rem; color: #203d30; font-size: .95rem; letter-spacing: -.02em; }
.workspace-package-promo-content > p:not(.workspace-eyebrow) { margin: 0; color: #6f8075; font-size: .69rem; line-height: 1.5; }
.workspace-package-promo-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .3rem .6rem; margin-top: .55rem; padding: .5rem .65rem; border: 1px solid #e3ebe4; border-radius: .5rem; background: #ffffffc9; }
.workspace-package-promo-offer > div > strong, .workspace-package-promo-offer > div > small { display: block; }
.workspace-package-promo-offer > div > strong { color: #345441; font-size: .66rem; }
.workspace-package-promo-offer > div > small { margin-top: .12rem; color: #849188; font-size: .58rem; }
.workspace-package-promo-price { color: #285f49; font-size: .8rem; white-space: nowrap; }
.workspace-package-promo-price span { color: #819087; font-size: .56rem; font-weight: 600; }
.workspace-package-promo-offer > p { grid-column: 1 / -1; margin: .12rem 0 0; color: #548064; font-size: .57rem; font-weight: 700; }
.workspace-package-promo-offer > button.workspace-button { margin: 0; padding: .55rem .7rem; border-color: #b7cfbb; background: linear-gradient(180deg, #f3f9f3, #e5f0e6); color: #285f49; font-size: .67rem; white-space: nowrap; cursor: pointer; }
.workspace-package-promo-offer > button.workspace-button:hover { border-color: #89b391; background: #dcecdc; }
.workspace-package-promo-offer > button.workspace-button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
.workspace-package-promo-compact { padding: .9rem 1rem; }
.workspace-package-promo-compact .workspace-package-promo-icon { width: 2.3rem; height: 2.3rem; }
.workspace-package-promo-compact .workspace-package-promo-content h2 { font-size: .83rem; }
.workspace-package-promo-compact .workspace-package-promo-offer { margin-top: .4rem; }
.workspace-package-promo-compact .workspace-package-promo-offer > button.workspace-button { padding: .5rem .6rem; font-size: .62rem; }
.workspace-package-dialog { width: min(calc(100% - 2rem), 600px); max-width: 600px; max-height: min(88vh, 760px); margin: auto; padding: 1.35rem; overflow: auto; border: 1px solid #dbe6dd; border-radius: 1rem; background: radial-gradient(ellipse at 100% 0, #eff7ee 0, transparent 38%), #fff; color: #344c3e; box-shadow: 0 24px 80px #10281d40; }
.workspace-package-dialog::backdrop { background: #14251cb8; backdrop-filter: blur(3px); }
.workspace-package-dialog-header { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid #e8eee8; }
.workspace-package-dialog-header .workspace-eyebrow { font-size: .58rem; }
.workspace-package-dialog-header h2 { margin: .2rem 0 0; color: #203d30; font-size: 1.22rem; letter-spacing: -.03em; }
.workspace-package-dialog-intro { margin: 1rem 0 .75rem; color: #52685a; font-size: .82rem; line-height: 1.65; }
.workspace-package-dialog-features { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.workspace-package-dialog-features li { position: relative; padding: .62rem .7rem .62rem 2rem; border: 1px solid #e8eee8; border-radius: .55rem; background: #fbfdfb; color: #40584a; font-size: .75rem; line-height: 1.5; }
.workspace-package-dialog-features li::before { position: absolute; top: .58rem; left: .7rem; display: grid; width: 1rem; height: 1rem; place-items: center; border-radius: 50%; background: #e6f2e7; color: #397454; font-size: .65rem; font-weight: 800; content: "✓"; }
.workspace-package-dialog-pricing { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75rem; margin-top: .9rem; padding: .85rem; border: 1px solid #cfe0d1; border-radius: .65rem; background: linear-gradient(110deg, #f2f8f2, #fff); }
.workspace-package-dialog-pricing > div { display: grid; gap: .2rem; }
.workspace-package-dialog-pricing > div > span { color: #71877a; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.workspace-package-dialog-pricing > div > strong { color: #285f49; font-size: 1.15rem; white-space: nowrap; }
.workspace-package-dialog-pricing > div > strong > small { color: #7b8b80; font-size: .65rem; }
.workspace-package-dialog-pricing > p { margin: 0; color: #6f8075; font-size: .65rem; line-height: 1.5; }
.workspace-package-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.workspace-package-dialog-footer > p { margin: 0; color: #829087; font-size: .64rem; line-height: 1.45; }
.workspace-package-dialog-footer form { flex: 0 0 auto; margin: 0; }
.workspace-package-dialog-footer .workspace-button { margin: 0; padding: .62rem .95rem; font-size: .75rem; }
.workspace-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 1rem; }
.workspace-panel, .workspace-layout .card, .workspace-activity { border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; box-shadow: 0 4px 20px #1f4a3008; }
.workspace-panel { min-width: 0; padding: 1.5rem; }
.dashboard-next-up { margin-bottom: 1.15rem; }
.dashboard-next-up-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #edf1ed; }
.dashboard-next-up-heading h2 { margin: .35rem 0 0; color: #203d30; font-size: 1.12rem; letter-spacing: -.02em; }
.dashboard-next-up-heading > div > p:last-child { margin: .4rem 0 0; color: #718078; font-size: .82rem; }
.dashboard-next-up-count { flex: 0 0 auto; padding: .4rem .7rem; border: 1px solid #e0e9e1; border-radius: 2rem; background: #f7faf7; color: #607466; font-size: .68rem; font-weight: 700; }
.dashboard-next-up-item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid #edf1ed; color: inherit; text-decoration: none; }
.dashboard-next-up-item:last-child { padding-bottom: 0; border-bottom: 0; }
.dashboard-next-up-item:hover .dashboard-next-up-copy strong { color: #28644e; text-decoration: underline; }
.dashboard-next-up-icon { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid #e1ebe2; border-radius: .65rem; background: #f1f7f1; color: #397454; font-size: 1.2rem; }
.dashboard-next-up-copy { min-width: 0; }
.dashboard-next-up-copy strong, .dashboard-next-up-copy small { display: block; overflow-wrap: anywhere; }
.dashboard-next-up-copy strong { color: #344c3e; font-size: .84rem; }
.dashboard-next-up-copy small { margin-top: .25rem; color: #849188; font-size: .72rem; }
.dashboard-next-up-item .status-badge { justify-self: end; }
.dashboard-next-up-empty { padding: 1.1rem 0 0; color: #728078; font-size: .85rem; }
.dashboard-next-up-empty strong { color: #344c3e; }
.dashboard-next-up-empty p { margin: .35rem 0 0; }
.workspace-setup-panel { margin-bottom: 1.15rem; }
.workspace-setup-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #edf1ed; }
.workspace-setup-heading h2 { margin: .35rem 0 0; color: #203d30; font-size: 1.12rem; letter-spacing: -.02em; }
.workspace-setup-heading > div > p:last-child { margin: .4rem 0 0; color: #718078; font-size: .82rem; }
.workspace-setup-progress { flex: 0 0 auto; padding: .4rem .7rem; border: 1px solid #dce8df; border-radius: 2rem; background: #edf6ee; color: #397454; font-size: .68rem; font-weight: 700; }
.workspace-setup-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.workspace-setup-step { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-width: 0; padding: .8rem; border: 1px solid #e6eee7; border-radius: .65rem; background: #fbfdfb; }
.workspace-setup-icon { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #dce8df; border-radius: 50%; background: #edf6ee; color: #397454; font-size: .75rem; font-weight: 800; }
.workspace-setup-copy { min-width: 0; }
.workspace-setup-copy strong, .workspace-setup-copy small { display: block; overflow-wrap: anywhere; }
.workspace-setup-copy strong { color: #344c3e; font-size: .78rem; }
.workspace-setup-copy small { margin-top: .2rem; color: #849188; font-size: .67rem; line-height: 1.4; }
.workspace-setup-step-complete { background: #f5faf5; }
.workspace-setup-step-complete .workspace-setup-icon { border-color: #cde3d0; background: #dff1e1; }
.workspace-setup-status { color: #548064; font-size: .68rem; font-weight: 700; }
.workspace-setup-action { color: #285f49; font-size: .7rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.workspace-setup-action:hover { text-decoration: underline; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #edf1ed; }
.panel-heading h2, .list-heading h2, .workspace-detail-card h2, .workspace-detail-side h2, .workspace-activity h2 { margin: .35rem 0 0; font-size: 1.12rem; letter-spacing: -.02em; }
.panel-heading > a, .workspace-empty a { font-size: .78rem; font-weight: 700; text-decoration: none; }
.recent-record { display: flex; align-items: center; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid #edf1ed; color: inherit !important; text-decoration: none; }
.recent-record:last-child { border-bottom: 0; padding-bottom: 0; }
.recent-record:hover .record-info strong { color: #28644e; text-decoration: underline; }
.record-avatar { display: grid; flex: 0 0 2.35rem; height: 2.35rem; place-items: center; border-radius: 50%; background: #eaf4eb; color: #427857; font-size: .8rem; font-weight: 800; }
.record-avatar-gold { background: #fbf2df; color: #926b35; }
.record-info { flex: 1; min-width: 0; }
.record-info strong, .record-info small { display: block; overflow-wrap: anywhere; }
.record-info strong { font-size: .87rem; }
.record-info small { margin-top: .3rem; color: #849188; font-size: .75rem; }
.status-badge { display: inline-block; padding: .35rem .65rem; border-radius: 2rem; background: #edf1ee; color: #52665a; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.status-new, .status-sent { background: #dbeafe; color: #164b91; }
.status-contacted { background: #ede0fa; color: #61348e; }
.status-in_progress, .status-expired { background: #ffedc2; color: #765000; }
.status-accepted, .status-completed { background: #d3f2df; color: #176239; }
.status-draft { background: #e6eaf0; color: #384759; }
.status-rejected, .status-not_proceeding { background: #fde0e2; color: #922b3d; }
.workspace-empty { padding: 2.4rem 1rem; color: #728078; text-align: center; font-size: .9rem; }
.workspace-empty strong { color: #344c3e; }
.workspace-empty p { margin: .5rem 0 .8rem; }
.list-panel { padding: 0; overflow: hidden; }
.list-heading { display: flex; justify-content: space-between; padding: 1.5rem 1.5rem 0; }
.list-heading h2 { margin: 0; }
.list-heading p { margin: .4rem 0 0; color: #849188; font-size: .8rem; }
.workspace-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; padding: 1.25rem 1.5rem; }
.workspace-filters .filter-search { flex: 1 1 220px; }
.workspace-layout .workspace-filters label { margin: 0 0 .4rem; color: #607367; font-size: .75rem; }
.workspace-layout input, .workspace-layout select, .workspace-layout textarea { border-color: #d3dfd5; border-radius: .5rem; color: #253e30; }
.workspace-layout .workspace-filters input, .workspace-layout .workspace-filters select { min-height: 42px; font-size: .85rem; }
.workspace-filters button { min-height: 42px; font-size: .85rem; font-weight: 700; }
.clear-filters { padding: .7rem .2rem; font-size: .85rem; }
.workspace-table { min-width: 680px; font-size: .86rem; }
.workspace-table thead { background: #f8faf8; }
.app-page .workspace-table th { padding: .85rem 1.5rem; color: #829288; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.app-page .workspace-table td { padding: 1rem 1.5rem; border-color: #edf1ed; }
.workspace-table tbody tr:hover { background: #f8fbf8; }
.workspace-table small { display: block; margin-top: .3rem; color: #87958a; font-size: .75rem; }
.app-page .table-primary { color: #244b38; font-weight: 700; text-decoration: none; }
.table-primary:hover, .table-view:hover { text-decoration: underline !important; }
.table-view { font-weight: 700; text-decoration: none; white-space: nowrap; }
.list-panel .pagination { padding: 0 1.5rem 1.5rem; color: #6f8075; font-size: .82rem; }
.workspace-back { display: inline-block; margin-bottom: 1.5rem; font-size: .85rem; font-weight: 700; text-decoration: none; }
.workspace-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.workspace-layout .workspace-detail-card { max-width: none; padding: 1.75rem; }
.workspace-detail-card h2 { margin: 0 0 1.25rem; }
.workspace-detail-card dl { margin-bottom: 2rem; }
.workspace-detail-card dt { color: #788b7f; font-size: .85rem; }
.workspace-detail-card dd { font-size: .9rem; }
.workspace-detail-card button, .workspace-detail-side button { margin-top: 1rem; }
.workspace-detail-side > h2 { margin: 0 0 .5rem; }
.workspace-detail-side > h2:not(:first-child) { margin-top: 2rem; }
.workspace-detail-side > .muted { font-size: .83rem; line-height: 1.5; }
.workspace-layout .reminder-card { max-width: none; margin-bottom: .75rem; padding: 1.2rem; font-size: .85rem; overflow-wrap: anywhere; }
.workspace-layout .reminder-card p { margin: .4rem 0; }
.workspace-activity { margin-top: 1.5rem; padding: 1.5rem; font-size: .85rem; }
.workspace-header-actions, .template-actions, .template-copy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.template-form { width: min(100%, 48rem); }
.template-form textarea { resize: vertical; }
.template-hint { color: #64796c; font-size: .83rem; line-height: 1.5; }
.template-hint code { color: #285f49; overflow-wrap: anywhere; }
.workspace-email-template-page { --template-ink: #203d30; --template-muted: #788b7f; max-width: 1240px; margin: 0 auto; }
.template-editor-header { align-items: center; }
.template-editor-header .workspace-subtitle { max-width: 45rem; }
.template-editor-header-badge { display: grid; flex: 0 0 3rem; width: 3rem; height: 3rem; place-items: center; border: 1px solid #dce9df; border-radius: .8rem; background: #edf6ee; color: #397454; font-size: 1.25rem; }
.template-editor-errors { margin-bottom: 1rem; padding: .9rem 1.1rem; border: 1px solid #f0d2cf; border-left: 4px solid #b65b54; border-radius: .65rem; background: #fff8f7; color: #7d3e39; font-size: .78rem; }
.template-editor-errors strong { display: block; margin-bottom: .3rem; }
.template-editor-errors ul { margin: 0; padding-left: 1.2rem; }
.template-editor-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .8fr); align-items: start; gap: 1rem; }
.workspace-layout .template-editor-form { width: 100%; max-width: none; padding: 0; overflow: hidden; }
.template-editor-section { padding: 1.35rem 1.45rem; border-bottom: 1px solid #edf1ed; }
.template-editor-section-heading { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1rem; }
.template-editor-section-heading h2 { margin: .05rem 0 0; color: #203d30; font-size: .96rem; letter-spacing: -.02em; }
.template-editor-section-heading p { margin: .2rem 0 0; color: #788b7f; font-size: .68rem; line-height: 1.5; }
.template-editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; }
.template-editor-fields-single { grid-template-columns: 1fr; }
.template-editor-field { display: grid; min-width: 0; gap: .4rem; }
.workspace-layout .template-editor-field label { margin: 0; color: #52685a; font-size: .72rem; font-weight: 750; }
.workspace-layout .template-editor-field input, .workspace-layout .template-editor-field select, .workspace-layout .template-editor-field textarea { width: 100%; min-width: 0; min-height: 44px; padding: .65rem .75rem; border: 1px solid #dfe8e0; border-radius: .55rem; background: #fff; color: #344c3e; font-size: .79rem; }
.workspace-layout .template-editor-field textarea { min-height: 235px; resize: vertical; line-height: 1.65; }
.workspace-layout .template-editor-field input:focus, .workspace-layout .template-editor-field select:focus, .workspace-layout .template-editor-field textarea:focus { border-color: #75a982; outline: 3px solid #e1f0e3; }
.template-editor-field input::placeholder, .template-editor-field textarea::placeholder { color: #a0aaa3; }
.template-editor-field small { color: #849188; font-size: .64rem; line-height: 1.45; }
.template-editor-field-error { color: #9b4540; font-size: .68rem; line-height: 1.4; }
.template-editor-actions { display: flex; justify-content: flex-end; gap: .65rem; padding: 1rem 1.45rem; background: #fbfcfb; }
.template-editor-actions .workspace-button { margin: 0; }
.template-editor-actions .workspace-button-secondary { border-color: #dce7de; background: #fff; color: #42684e; }
.template-editor-actions .workspace-button-secondary:hover { background: #f1f7f1; }
.template-editor-guide { display: grid; gap: .8rem; min-width: 0; }
.template-guide-card { padding: 1.15rem; background: radial-gradient(ellipse at 100% 0, #eff7ee 0, transparent 44%), #fff; }
.template-guide-card .template-editor-section-heading { margin-bottom: .85rem; }
.template-guide-card .template-editor-section-heading h2 { font-size: .85rem; }
.template-guide-card .template-editor-section-heading p { font-size: .64rem; }
.template-placeholder-list { display: grid; gap: .45rem; }
.template-placeholder-list > div { display: grid; gap: .18rem; min-width: 0; padding: .6rem .65rem; border: 1px solid #e7eee7; border-radius: .5rem; background: #fbfdfb; }
.template-placeholder-list code { width: fit-content; max-width: 100%; padding: .15rem .35rem; border-radius: .3rem; background: #edf5ed; color: #326449; font-size: .67rem; font-weight: 700; overflow-wrap: anywhere; }
.template-placeholder-list span { color: #78877e; font-size: .62rem; }
.template-quote-placeholders { margin-top: .85rem; padding-top: .8rem; border-top: 1px solid #edf1ed; }
.template-quote-placeholders > p { margin: 0 0 .45rem; color: #7d8c82; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.template-guide-note { display: flex; align-items: flex-start; gap: .65rem; padding: .95rem; border-color: #dce9df; background: linear-gradient(145deg, #f3f9f3, #fff); }
.template-guide-note-icon { display: grid; flex: 0 0 1.45rem; width: 1.45rem; height: 1.45rem; place-items: center; border-radius: 50%; background: #e2f1e4; color: #397454; font-size: .75rem; font-weight: 800; }
.template-guide-note strong { color: #345441; font-size: .7rem; }
.template-guide-note p { margin: .25rem 0 0; color: #718078; font-size: .64rem; line-height: 1.5; }
@media (max-width: 900px) {
    .template-editor-layout { grid-template-columns: 1fr; }
    .template-editor-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .template-editor-header-badge { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; }
    .template-editor-section { padding: 1.1rem; }
    .template-editor-fields, .template-editor-guide { grid-template-columns: 1fr; }
    .template-editor-actions { flex-direction: column-reverse; padding: 1rem 1.1rem; }
    .template-editor-actions .workspace-button { width: 100%; }
}
.template-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-top: 1px solid #edf1ed; }
.template-row strong, .template-row small { display: block; overflow-wrap: anywhere; }
.template-row small { margin-top: .35rem; color: #728078; }
.trial-template-row { align-items: flex-start; }
.trial-template-preview { flex: 1; min-width: 0; }
.trial-template-editor-dialog { width: min(72rem, calc(100vw - 2rem)); max-width: none; max-height: min(90vh, 60rem); margin: auto; padding: 1.25rem; overflow: auto; border: 1px solid #dbe6dd; border-radius: 1rem; background: #f5f7f5; color: #344c3e; box-shadow: 0 24px 80px #10281d40; }
.trial-template-editor-dialog::backdrop { background: #14251cb8; backdrop-filter: blur(3px); }
.trial-template-editor-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #e1e9e2; }
.trial-template-editor-dialog-heading h2 { margin: .2rem 0 0; color: #203d30; font-size: 1.25rem; letter-spacing: -.03em; }
.trial-template-editor-dialog-heading p:last-child { margin: .3rem 0 0; color: #718078; font-size: .75rem; line-height: 1.5; }
.trial-template-editor-dialog-heading .workspace-button { flex: 0 0 auto; margin: 0; padding: .6rem .8rem; font-size: .72rem; }
.trial-template-editor-sample { -webkit-user-select: none; user-select: none; }
.trial-template-editor-sample input:disabled, .trial-template-editor-sample select:disabled, .trial-template-editor-sample textarea:disabled { background: #fff; color: #344c3e; opacity: 1; }
.trial-template-editor-sample .template-editor-actions { justify-content: flex-end; }
.trial-template-editor-sample .template-editor-actions button:disabled { opacity: .65; cursor: not-allowed; }
.trial-template-editor-layout { max-width: 100%; }
.trial-template-preview-content, .trial-email-message { -webkit-user-select: none; user-select: none; }
.trial-template-preview-content { margin-top: .8rem; color: #52685a; font-size: .78rem; }
.trial-template-preview-content p { margin: .45rem 0 0; }
.trial-template-preview-content p b { display: block; margin-bottom: .15rem; color: #718078; font-size: .68rem; }
.trial-template-preview-content p span { display: block; white-space: pre-wrap; }
.trial-email-preview { max-width: 58rem; }
.trial-email-preview-notice { margin-bottom: .85rem; padding: .65rem .8rem; border: 1px solid #e7dfce; border-left: 3px solid #b88a43; border-radius: .5rem; background: #fbf8f1; color: #5d5547; font-size: .76rem; }
.trial-email-client { overflow: hidden; border: 1px solid #b6cbe8; border-radius: .8rem; background: #e8effa; box-shadow: 0 8px 24px #1c477c24; }
.trial-email-client-toolbar { display: flex; align-items: center; gap: .65rem; min-height: 2.5rem; padding: .45rem .85rem; border-bottom: 1px solid #d4e0f0; background: #f7f9fd; color: #526b8b; font-size: .68rem; font-weight: 700; }
.trial-email-client-dots { display: flex; gap: .25rem; }
.trial-email-client-dots i { width: .42rem; height: .42rem; border-radius: 50%; background: #a7bfdc; }
.trial-email-client-dots i:first-child { background: #ee828b; }
.trial-email-client-dots i:nth-child(2) { background: #e9bd64; }
.trial-email-client-dots i:last-child { background: #69b18c; }
.trial-email-client-content { padding: clamp(.85rem, 3vw, 1.5rem); }
.trial-email-summary { padding: 0 .1rem 1rem; }
.trial-email-subject-label { color: #2f679f; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.trial-email-summary h2 { margin: .25rem 0 .9rem; color: #183455; font-size: clamp(1.05rem, 2.3vw, 1.35rem); line-height: 1.35; overflow-wrap: anywhere; }
.trial-email-sender { display: flex; align-items: center; gap: .6rem; }
.trial-email-avatar, .trial-email-brand-mark { display: grid; flex: 0 0 auto; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, #3e78c2, #204c8c); color: #fff; font-size: .78rem; font-weight: 800; }
.trial-email-sender-details { display: grid; min-width: 0; gap: .08rem; color: #294462; font-size: .72rem; }
.trial-email-sender-details strong { overflow-wrap: anywhere; }
.trial-email-sender-details small { color: #72849b; font-size: .66rem; }
.trial-email-recipient { margin-left: auto; color: #2b629c; font-size: .66rem; text-align: right; }
.trial-email-message { max-width: 42rem; margin: 0 auto; overflow: hidden; border: 1px solid #d2deed; border-radius: .55rem; background: #fff; box-shadow: 0 4px 16px #1c477c18; }
.trial-email-message-brand { display: flex; align-items: center; gap: .6rem; padding: .95rem 1.15rem; background: linear-gradient(110deg, #162f53, #1d5ca6); color: #fff; font-size: .82rem; overflow-wrap: anywhere; }
.trial-email-brand-mark { width: 1.7rem; height: 1.7rem; border-radius: .45rem; background: #ffffff24; color: #fff; font-size: .7rem; }
.trial-email-message-body { padding: 1rem 1.15rem 1.2rem; color: #2d4056; font-size: .86rem; line-height: 1.75; overflow-wrap: anywhere; }
.trial-email-message-body p { margin: 0 0 .9rem; white-space: pre-line; }
.trial-email-message-body p:last-child { margin-bottom: 0; }
.trial-email-client-caption { margin: .7rem 0 0; color: #687b94; font-size: .66rem; text-align: center; }
.template-actions a, .app-page .template-delete { font-size: .85rem; font-weight: 700; }
.app-page .template-delete { padding: .5rem; color: #984941; background: transparent; }
.app-page .template-delete:hover { text-decoration: underline; }
.template-select { display: flex; align-items: center; gap: .75rem; }
.template-select button { flex-shrink: 0; margin-top: 0; }
.template-copy-actions button { margin-top: 0; }
.statistics-controls { margin-bottom: 1.25rem; }
.statistics-controls .workspace-filters { padding: 0; }
.statistics-period { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.statistics-period a { font-size: .85rem; font-weight: 700; text-decoration: none; }
.statistics-period strong { font-size: .9rem; }
.statistics-note { margin: 1rem 0 0; color: #64796c; font-size: .8rem; line-height: 1.5; }
.statistics-totals .workspace-stat { min-height: 135px; }
.statistics-table th[scope="row"], .status-table th[scope="row"] { color: #344c3e; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.statistics-chart-panel { background: radial-gradient(ellipse at 100% 0, #eff7ee 0, transparent 40%), #fff; }
.statistics-chart-title { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.6rem 1.5rem 0; }
.statistics-chart-title h2 { margin: .4rem 0; color: #1d3d2e; font-size: 1.35rem; letter-spacing: -.035em; }
.statistics-chart-title p:not(.workspace-eyebrow) { margin: 0; color: #718578; font-size: .85rem; }
.statistics-chart-period { padding: .4rem .7rem; border: 1px solid #d6e8d8; border-radius: 2rem; background: #f3f9f2; color: #43735a; font-size: .72rem; font-weight: 700; }
.statistics-chart-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem 0; }
.statistics-legend { display: flex; flex-wrap: wrap; gap: .65rem; }
.statistics-legend-item { display: flex; align-items: flex-start; gap: .6rem; min-width: 8rem; padding: .7rem .85rem; border: 1px solid #e6eee6; border-radius: .65rem; background: #fff; color: #718578; font-size: .72rem; font-weight: 600; }
.statistics-legend-item strong { display: block; margin-top: .2rem; color: #254735; font-size: 1.35rem; line-height: 1; }
.statistics-key { flex: 0 0 .65rem; height: .65rem; margin-top: .12rem; border-radius: 50%; }
.statistics-key-enquiries { background: #32835f; }
.statistics-key-quotes { background: #c9903d; }
.statistics-chart-scale { color: #627c6d; font-size: .75rem; font-weight: 700; }
.statistics-chart-scale small { display: block; margin-top: .2rem; color: #91a297; font-size: .7rem; font-weight: 400; }
.statistics-plot { display: flex; gap: .7rem; padding: 1.7rem 1.5rem .3rem; }
.statistics-axis { display: flex; flex: none; flex-direction: column; justify-content: space-between; align-items: end; height: 10rem; color: #95a69a; font-size: .7rem; }
.statistics-chart-scroll { position: relative; flex: 1; min-width: 0; overflow-x: auto; }
.statistics-chart-scroll:focus-visible { outline: 3px solid #c4873b; outline-offset: -3px; }
.statistics-chart { display: flex; width: max-content; min-width: 100%; gap: .15rem; }
.statistics-chart-column { flex: 1 0 1.5rem; min-width: 1.5rem; text-align: center; }
.statistics-chart-bars { display: flex; align-items: end; justify-content: center; gap: 3px; height: 10rem; border-bottom: 1px solid #cbd9ce; background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #eaf1eb calc(25% - 1px), #eaf1eb 25%); }
.statistics-chart-bar { width: min(.8rem, 40%); border-radius: .35rem .35rem 0 0; transition: filter .15s ease; }
.statistics-chart-bar:hover { filter: brightness(.85); }
.statistics-chart-bar-enquiries { background: linear-gradient(180deg, #70bd8d, #32835f); }
.statistics-chart-bar-quotes { background: linear-gradient(180deg, #ecc77a, #c9903d); }
.statistics-chart-label { display: block; padding: .65rem 0; color: #7d9183; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.statistics-chart-empty { position: absolute; top: 3.5rem; left: 0; right: 0; margin: 0; color: #819689; font-size: .85rem; text-align: center; pointer-events: none; }
.statistics-chart-hint { display: none; margin: 0; padding: 0 1.5rem .75rem; color: #718578; font-size: .75rem; }
.statistics-data { border-top: 1px solid #edf1ed; }
.statistics-data summary { padding: 1rem 1.5rem; color: #28644e; cursor: pointer; font-size: .85rem; font-weight: 700; }
.statistics-data summary:focus-visible { outline: 3px solid #c4873b; outline-offset: -3px; }
.statistics-status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.status-table { min-width: 0; margin-top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.workspace-layout a:focus-visible, .workspace-layout button:focus-visible, .workspace-layout input:focus-visible, .workspace-layout select:focus-visible, .workspace-layout textarea:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 850px) {
    .app-page .workspace-layout { display: block; }
    .app-page .workspace-sidebar { padding: 1rem 1.25rem; }
    .workspace-business { margin: 1rem 0 .75rem; }
    .workspace-logout-form { margin: 0 0 .8rem; }
    .workspace-nav-label { display: none; }
    .workspace-sidebar nav { display: flex; flex-wrap: wrap; margin: 0; }
    .workspace-sidebar nav a { padding: .6rem .75rem; }
    .workspace-nav-divider { flex: 0 0 100%; margin: .35rem .5rem; }
    .workspace-login-time { flex: 0 0 100%; margin: 0 .5rem; }
    .workspace-account { margin-top: 1rem; padding: .75rem 0 0; }
    .workspace-account form { width: auto; }
    .app-page .workspace-main { width: 100%; padding: 2rem 1.25rem; }
}
@media (max-width: 700px) {
    .admin-live-account-banner, .trial-live-account-cta { align-items: flex-start; flex-direction: column; }
    .admin-live-account-banner { position: relative; padding-right: 3rem; }
    .admin-live-account-banner-link { flex: initial; }
    .admin-live-account-banner form { position: absolute; top: .65rem; right: .65rem; }
    .trial-live-account-cta form, .trial-live-account-cta .workspace-button { width: 100%; }
}

.workspace-support-page .workspace-back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; color: #557667; font-size: .78rem; font-weight: 700; text-decoration: none; }
.workspace-support-page .workspace-back:hover { color: #285f49; }
.support-ticket-list { overflow: hidden; padding: 0; border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; box-shadow: 0 4px 20px #1f4a3008; }
.support-ticket-list .list-heading { align-items: center; padding-bottom: 1rem; }
.support-ticket-list .list-heading h2 { margin: 0; color: #294536; font-size: 1.05rem; }
.support-ticket-list .list-heading p { margin: .25rem 0 0; color: #859188; font-size: .75rem; }
.support-ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid #edf1ed; color: #2e4939; text-decoration: none; transition: background .15s ease; }
.support-ticket-row:hover { background: #f7faf7; }
.support-ticket-copy, .support-ticket-copy strong, .support-ticket-copy small { display: block; min-width: 0; }
.support-ticket-copy strong { font-size: .87rem; overflow-wrap: anywhere; }
.support-ticket-copy small { margin-top: .3rem; color: #859188; font-size: .7rem; }
.support-ticket-status { display: inline-flex; flex: none; align-items: center; gap: .7rem; color: #779180; font-size: .9rem; }
.support-pagination { padding: .8rem 1.2rem; border-top: 1px solid #edf1ed; }
.support-request-form { display: grid; gap: 1.15rem; max-width: 850px; padding: 1.5rem; border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; box-shadow: 0 4px 20px #1f4a3008; }
.support-form-intro { display: flex; align-items: center; gap: .85rem; padding-bottom: 1rem; border-bottom: 1px solid #edf1ed; }
.support-form-icon { display: grid; flex: none; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: .7rem; background: #eaf5ec; color: #397454; font-size: 1.2rem; font-weight: 800; }
.support-form-intro strong { color: #294536; font-size: .92rem; }
.support-form-intro p { margin: .2rem 0 0; color: #7c8b81; font-size: .73rem; }
.support-form-field { display: grid; gap: .4rem; }
.support-form-field label, .admin-support-reply-form label { color: #344c3e; font-size: .78rem; font-weight: 750; }
.support-form-field input, .support-form-field select, .support-form-field textarea, .admin-support-reply-form textarea { width: 100%; padding: .75rem .85rem; border: 1px solid #dce5dd; border-radius: .5rem; background: #fff; color: #263d31; font: inherit; font-size: .82rem; line-height: 1.55; }
.support-form-field textarea, .admin-support-reply-form textarea { min-height: 10rem; resize: vertical; }
.support-form-field input::placeholder, .support-form-field textarea::placeholder { color: #a0aaa3; }
.feedback-expectations { max-width: 850px; margin: 0 0 1rem; padding: 1rem 1.15rem; border: 1px solid #dce9dd; border-radius: .7rem; background: #f5faf5; color: #53665a; font-size: .78rem; line-height: 1.6; }
.feedback-expectations strong { color: #294536; }
.feedback-expectations p { margin: .4rem 0 0; }
.feedback-expectations a { color: #315d43; font-weight: 700; }
.feedback-request-form { margin-bottom: 1.5rem; }
.feedback-request-form .support-form-field textarea { min-height: 7rem; }
.feedback-request-form .support-form-actions { justify-content: flex-start; }
.admin-feedback-table td small { display: block; margin-top: .25rem; color: #829087; font-size: .66rem; }
.admin-feedback-cover { background: radial-gradient(ellipse at 92% 0, #eaf5e9 0, transparent 38%), linear-gradient(110deg, #fff, #f8fbf8); }
.admin-feedback-content { display: grid; gap: 1rem; }
.admin-feedback-content h2 { margin: 0; color: #294536; font-size: .9rem; }
.admin-feedback-content p { margin: .5rem 0 0; color: #51665a; font-size: .82rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-feedback-status-form { display: grid; gap: .75rem; margin-top: 1rem; }
.admin-feedback-status-form p { margin: 0; color: #78877e; font-size: .78rem; line-height: 1.55; }
.admin-feedback-status-form label { color: #344c3e; font-size: .78rem; font-weight: 750; }
.admin-feedback-status-form select { width: min(100%, 22rem); min-height: 42px; padding: .6rem .75rem; border: 1px solid #d7e2d9; border-radius: .5rem; background: #fff; color: #2e4737; font-size: .78rem; }
.admin-feedback-status-form button { justify-self: start; }
.support-field-error { margin: 0; color: #a42e3d; font-size: .72rem; }
.support-form-actions { display: flex; justify-content: flex-end; gap: .7rem; padding-top: .25rem; }
.support-detail-heading { align-items: flex-start; }
.support-detail-heading > .status-badge { margin-top: .3rem; }
.support-conversation { display: grid; gap: .85rem; padding: 1.2rem; border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; box-shadow: 0 4px 20px #1f4a3008; }
.support-message { padding: 1rem 1.1rem; border: 1px solid #e4ebe5; border-radius: .7rem; background: #fbfdfb; }
.support-message-admin { border-color: #d7e8da; background: #f0f7f1; }
.support-message-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.support-message-heading strong { color: #294536; font-size: .78rem; }
.support-message-heading time { color: #859188; font-size: .65rem; }
.support-message > p { margin: .65rem 0 0; color: #51665a; font-size: .82rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-waiting-note { display: flex; align-items: center; gap: .5rem; margin: .1rem 0 0; color: #718578; font-size: .73rem; }
.support-waiting-note span { color: #558268; font-size: 1rem; }
.admin-support-table td small { display: block; margin-top: .25rem; color: #829087; font-size: .66rem; }
.support-admin-submitter { color: #405c4b; font-size: .75rem; font-weight: 700; }
.admin-support-cover { background: radial-gradient(ellipse at 92% 0, #eaf5e9 0, transparent 38%), linear-gradient(110deg, #fff, #f8fbf8); }
.admin-support-cover .admin-record-cover-copy > span { color: #668174; }
.admin-support-conversation { display: grid; gap: .85rem; margin-bottom: 1rem; }
.admin-support-reply-form { display: grid; gap: .7rem; }
.admin-support-reply-form .admin-detail-panel-heading { margin-bottom: 0; }
.support-reply-help { margin: 0 0 .2rem; color: #718078; font-size: .74rem; }
.admin-support-reply-form textarea { min-height: 9rem; }
.admin-support-reply-form .admin-primary-action { display: inline-flex; align-items: center; justify-self: start; gap: .4rem; padding: .68rem .95rem; border: 1px solid #28644e; border-radius: .55rem; background: #28644e; color: #fff; font-family: inherit; font-size: .76rem; font-weight: 750; cursor: pointer; }
.admin-support-reply-form .admin-primary-action:hover { background: #1d4e3b; }
.admin-support-reply-form .admin-primary-action > span { color: #c4e1ca; font-size: 1.05rem; line-height: .8; }
@media (max-width: 600px) {
    .support-ticket-row { align-items: flex-start; padding: .9rem 1rem; }
    .support-ticket-status { flex-direction: column-reverse; align-items: flex-end; gap: .25rem; }
    .support-request-form { padding: 1rem; }
    .support-form-actions { flex-direction: column-reverse; }
    .support-form-actions .workspace-button { width: 100%; }
    .support-detail-heading { flex-direction: column; }
    .support-message-heading { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
@media (max-width: 600px) {
    .workspace-page-header { align-items: flex-start; flex-direction: column; padding: 1rem; }
    .workspace-detail-grid { grid-template-columns: 1fr; }
    .workspace-package-promo { grid-template-columns: auto minmax(0, 1fr); padding: .9rem; }
    .workspace-package-promo-offer { grid-template-columns: minmax(0, 1fr) auto; }
    .workspace-package-promo-offer > button.workspace-button { grid-column: 1 / -1; justify-self: start; }
    .workspace-package-dialog { padding: 1rem; }
    .workspace-package-dialog-pricing { grid-template-columns: 1fr; }
    .workspace-package-dialog-footer { align-items: stretch; flex-direction: column; }
    .workspace-package-dialog-footer .workspace-button { width: 100%; }
    .workspace-filters > div:not(.filter-search) { flex: 1 1 100%; }
    .workspace-filters button { flex: 1; }
    .panel-heading { align-items: flex-start; flex-direction: column; }
    .template-row { align-items: flex-start; flex-direction: column; }
    .template-select { align-items: stretch; flex-direction: column; }
    .statistics-chart-hint { display: block; }
}
@media (max-width: 420px) {
    .workspace-package-promo-offer { grid-template-columns: minmax(0, 1fr); }
    .workspace-package-promo-price { margin-top: .2rem; }
    .workspace-package-promo-offer > button.workspace-button { justify-self: start; width: auto; }
}

/* Administration dashboard */
.admin-dashboard { --admin-ink: #19382d; --admin-muted: #74857b; --admin-line: #e5ece6; }
.app-page .admin-dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.65rem; background: transparent; border: 0; }
.admin-dashboard .admin-eyebrow { margin: 0 0 .45rem; color: #638171; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.admin-dashboard-heading h1 { margin: 0; color: var(--admin-ink); font-size: clamp(1.9rem, 3.2vw, 2.55rem); line-height: 1.08; letter-spacing: -.055em; }
.admin-dashboard-subtitle { margin: .65rem 0 0; color: #74847b; font-size: .9rem; }
.admin-date { flex: none; padding: .55rem .8rem; border: 1px solid #e1e9e2; border-radius: 2rem; background: #fff; color: #65796c; font-size: .75rem; font-weight: 650; }
.admin-inspirational-quote { position: relative; display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; padding: 1.05rem 3.25rem 1.05rem 1.35rem; border: 1px solid #dceade; border-radius: .9rem; background: linear-gradient(110deg, #f1f8f1, #fbfcf8); color: #315a43; }
.admin-inspirational-quote-mark { flex: none; color: #75a982; font-family: Georgia, serif; font-size: 2.8rem; line-height: .8; }
.admin-inspirational-quote p { margin: 0; font-size: .95rem; font-weight: 650; line-height: 1.5; }
.admin-inspirational-quote button { position: absolute; top: .55rem; right: .65rem; display: grid; width: 2rem; height: 2rem; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #587565; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.admin-inspirational-quote button:hover { background: #e4efe5; }
.admin-inspirational-quote button:focus-visible { outline: 3px solid #c4873b; outline-offset: 2px; }
.admin-dashboard-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 170px; box-sizing: border-box; overflow: hidden; margin-bottom: 1.25rem; padding: 2rem 2.2rem; border: 1px solid #234f3d; border-radius: 1.15rem; background: radial-gradient(ellipse at 75% 15%, #34674f 0, transparent 38%), linear-gradient(110deg, #17392e, #1d4937 70%, #25563f); color: #fff; box-shadow: 0 12px 30px #1c493013; }
.admin-hero-copy, .admin-hero-total { position: relative; z-index: 1; }
.admin-hero-kicker { margin: 0 0 .55rem; color: #a9d8b7; font-size: .64rem; font-weight: 800; letter-spacing: .15em; }
.admin-hero-copy h2 { margin: 0; color: #fff; font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.04em; }
.admin-hero-copy > p:last-child { margin: .55rem 0 0; color: #d3e2d7; font-size: .85rem; }
.admin-hero-total { display: flex; align-items: center; gap: .85rem; min-width: 205px; padding: 1rem 1.15rem; border: 1px solid #ffffff25; border-radius: .8rem; background: #ffffff10; backdrop-filter: blur(5px); }
.admin-hero-total-icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .7rem; background: #ffffff18; color: #c5e7cc; font-size: 1.25rem; }
.admin-hero-total strong, .admin-hero-total small { display: block; }
.admin-hero-total strong { font-size: 1.55rem; line-height: 1.1; }
.admin-hero-total small { margin-top: .25rem; color: #c4d9ca; font-size: .68rem; }
.admin-hero-orb { position: absolute; border: 1px solid #ffffff0d; border-radius: 50%; pointer-events: none; }
.admin-hero-orb-one { top: -105px; right: 12%; width: 290px; height: 290px; }
.admin-hero-orb-two { top: -62px; right: 16%; width: 205px; height: 205px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.25rem; }
.admin-metric-card { position: relative; min-width: 0; overflow: hidden; padding: 1.15rem 1.2rem 1.2rem; border: 1px solid var(--admin-line); border-radius: .85rem; background: #fff; box-shadow: 0 4px 18px #204a3008; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.admin-metric-card:hover { transform: translateY(-2px); border-color: #ccdbcf; box-shadow: 0 9px 24px #204a3010; }
.admin-metric-card::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--metric-accent, #4f9d70); content: ""; opacity: .8; }
.admin-metric-businesses { --metric-accent: #338565; }
.admin-metric-users { --metric-accent: #5783c3; }
.admin-metric-enquiries { --metric-accent: #40a580; }
.admin-metric-quotes { --metric-accent: #cf9a43; }
.admin-metric-support { --metric-accent: #7d68ad; }
.admin-metric-support-open { --metric-accent: #c97a52; }
.admin-metric-sales { --metric-accent: #5887a8; }
.admin-metric-sales-open { --metric-accent: #bd654f; }
.admin-metric-top { display: flex; align-items: center; gap: .55rem; }
.admin-metric-icon { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: .55rem; background: color-mix(in srgb, var(--metric-accent) 12%, white); color: var(--metric-accent); font-size: 1rem; }
.admin-metric-label { color: #819087; font-size: .61rem; font-weight: 800; letter-spacing: .09em; }
.admin-metric-value { display: block; margin: .85rem 0 .35rem; color: var(--admin-ink); font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.admin-metric-note { color: #809087; font-size: .73rem; }
.admin-metric-note b { color: #426350; font-weight: 750; }
.admin-dashboard-panels { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; gap: 1.25rem; }
.admin-panel { min-width: 0; padding: 1.4rem; border: 1px solid var(--admin-line); border-radius: .9rem; background: #fff; box-shadow: 0 4px 18px #204a3008; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-panel-heading .admin-eyebrow { margin-bottom: .35rem; }
.admin-panel-heading h2 { margin: 0; color: var(--admin-ink); font-size: 1.12rem; letter-spacing: -.025em; }
.admin-panel-mark { color: #71a685; font-size: 1.2rem; }
.admin-panel-description { margin: .5rem 0 1.45rem; color: #829087; font-size: .78rem; line-height: 1.5; }
.admin-adoption-list { display: grid; gap: 1.4rem; }
.admin-adoption-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; color: #465e50; font-size: .82rem; font-weight: 700; }
.admin-adoption-meta > span { display: flex; align-items: center; gap: .55rem; }
.admin-adoption-meta strong { color: #244535; font-size: .8rem; }
.admin-adoption-meta strong small { color: #95a197; font-size: .72rem; font-weight: 500; }
.admin-feature-dot, .admin-legend-dot { display: inline-block; flex: none; width: .55rem; height: .55rem; border-radius: 50%; }
.admin-feature-enquiries, .admin-legend-user-active { background: #4aa77a; }
.admin-feature-quotes { background: #d09b46; }
.admin-progress-track { height: .55rem; overflow: hidden; border-radius: 1rem; background: #edf2ee; }
.admin-progress-fill { display: block; height: 100%; min-width: 0; border-radius: inherit; transition: width .65s cubic-bezier(.2,.8,.2,1); }
.admin-progress-enquiries { background: linear-gradient(90deg, #64c18b, #328462); }
.admin-progress-quotes { background: linear-gradient(90deg, #efc66f, #c58b36); }
.admin-adoption-percent { display: block; margin-top: .45rem; color: #89978e; font-size: .68rem; text-align: right; }
.admin-panel-footnote { margin: 1.45rem 0 0; padding-top: .85rem; border-top: 1px solid #edf1ed; color: #929e95; font-size: .67rem; }
.admin-live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #56b77a; box-shadow: 0 0 0 4px #56b77a1c; }
.admin-health-switch { display: inline-flex; gap: .2rem; margin: -.25rem 0 1.2rem; padding: .25rem; border: 1px solid #e8eee8; border-radius: .6rem; background: #f7faf7; }
.app-page .admin-health-switch button { padding: .48rem .75rem; border: 0; border-radius: .42rem; background: transparent; color: #76877c; font-size: .7rem; font-weight: 700; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.app-page .admin-health-switch button:hover { background: #edf3ee; color: #315c43; }
.app-page .admin-health-switch button[aria-pressed="true"] { background: #fff; color: #285d43; box-shadow: 0 1px 5px #1c48301a; }
.admin-health-content { display: flex; align-items: center; gap: 1.25rem; min-height: 145px; }
.admin-health-content[hidden] { display: none !important; }
.admin-health-donut { display: grid; flex: 0 0 138px; width: 138px; height: 138px; place-items: center; border-radius: 50%; background: conic-gradient(#4fc48b 0 var(--admin-active-share), #e5ece6 var(--admin-active-share) 100%); }
.admin-health-donut::before { grid-area: 1 / 1; width: 108px; height: 108px; border-radius: 50%; background: #fff; content: ""; }
.admin-health-donut > span { z-index: 1; grid-area: 1 / 1; text-align: center; }
.admin-health-donut strong, .admin-health-donut small { display: block; }
.admin-health-donut strong { color: #244a35; font-size: 1.55rem; line-height: 1; letter-spacing: -.05em; }
.admin-health-donut small { margin-top: .3rem; color: #87958b; font-size: .68rem; font-weight: 700; }
.admin-health-donut-users { background: conic-gradient(#7b9cdc 0 var(--admin-active-share), #e5ece6 var(--admin-active-share) 100%); }
.admin-health-legend { flex: 1 1 auto; min-width: 0; }
.admin-health-legend > div { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .57rem 0; border-bottom: 1px solid #eff3ef; color: #738178; font-size: .75rem; }
.admin-health-legend > div span { display: flex; align-items: center; gap: .5rem; }
.admin-health-legend > div strong { color: #2e4b39; font-size: .83rem; }
.admin-legend-active { background: #4fc48b; }
.admin-legend-inactive { background: #d9e2da; }
.admin-health-legend > div .admin-legend-user-active { background: #7b9cdc; }
.admin-health-legend > p { margin: .75rem 0 0; color: #99a49b; font-size: .66rem; }
.admin-dashboard a:focus-visible, .admin-dashboard button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 1050px) {
    .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-dashboard-panels { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .app-page .admin-layout { display: block; }
    .app-page .sidebar { min-height: auto; padding: 1rem 1.1rem; }
    .app-page .sidebar .brand { padding: 0; font-size: 1.1rem; }
    .app-page .sidebar-label { padding: 1rem 0 .4rem; }
    .app-page .sidebar nav { display: flex; flex-wrap: wrap; gap: .25rem; }
    .app-page .sidebar nav a, .app-page .sidebar .logout { padding: .55rem .65rem; font-size: .78rem; }
    .app-page .sidebar-nav-divider { flex-basis: 100%; margin: .3rem 0; }
    .app-page .sidebar form { margin-top: .55rem; padding-top: .5rem; }
    .app-page .admin-main { width: 100%; max-width: none; padding: 1.5rem 1rem; }
    .app-page .admin-dashboard-heading { align-items: flex-start; flex-direction: column; gap: .85rem; }
}
@media (max-width: 480px) {
    .admin-dashboard-hero { align-items: flex-start; flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
    .admin-hero-total { min-width: 0; }
    .admin-metrics { gap: .65rem; }
    .admin-metric-card { padding: 1rem; }
    .admin-metric-label { font-size: .56rem; }
    .admin-metric-value { font-size: 1.75rem; }
    .admin-metric-note { font-size: .68rem; }
    .admin-panel { padding: 1.15rem; }
    .admin-health-content { align-items: flex-start; flex-direction: column; }
    .admin-health-donut { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-metric-card, .admin-progress-fill, .admin-health-switch button { transition: none; }
}

/* Superadmin business and quote listings */
.admin-listing { --listing-ink: #19382d; --listing-muted: #78877e; --listing-line: #e4ebe5; }
.app-page .admin-listing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; background: transparent; border: 0; }
.admin-listing-heading .admin-eyebrow { margin: 0 0 .45rem; color: #638171; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.admin-listing-heading h1 { margin: 0; color: var(--listing-ink); font-size: clamp(1.9rem, 3.2vw, 2.45rem); line-height: 1.08; letter-spacing: -.05em; }
.admin-trial-setup-help { position: relative; display: inline-flex; margin-left: .3rem; vertical-align: middle; }
.admin-trial-setup-help > button { display: inline-grid; width: 1.45rem; height: 1.45rem; place-items: center; padding: 0; border: 1px solid #cbd9ce; border-radius: 50%; background: #fff; color: #43664d; font-size: .85rem; font-weight: 750; line-height: 1; cursor: help; }
.admin-trial-setup-help > button:focus-visible { outline: 3px solid #76a78870; outline-offset: 2px; }
.admin-trial-setup-tooltip { position: absolute; z-index: 20; top: calc(100% + .55rem); left: 0; display: none; width: min(27rem, calc(100vw - 3rem)); padding: .9rem 1rem; border: 1px solid #dce7dd; border-radius: .7rem; background: #fff; box-shadow: 0 12px 32px #19382d24; color: #42564a; font-size: .76rem; font-weight: 450; line-height: 1.5; letter-spacing: normal; white-space: normal; }
.admin-trial-setup-tooltip::before { position: absolute; top: -.65rem; right: 0; left: 0; height: .65rem; content: ""; }
.admin-trial-setup-help:hover .admin-trial-setup-tooltip, .admin-trial-setup-help:focus-within .admin-trial-setup-tooltip { display: block; }
.admin-trial-setup-tooltip > strong { color: #19382d; font-size: .84rem; }
.admin-trial-setup-tooltip ol { display: grid; gap: .35rem; margin: .55rem 0; padding-left: 1.1rem; }
.admin-trial-setup-tooltip a { color: #2e6a4b; font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .15em; }
.admin-trial-setup-reference { display: block; padding-top: .45rem; border-top: 1px solid #edf1ed; color: #718078; font-size: .7rem; }
.admin-trial-setup-reference code { color: #42564a; font-size: inherit; }
.admin-listing-subtitle { margin: .55rem 0 0; color: #78877e; font-size: .85rem; line-height: 1.5; }
.admin-listing-total { flex: none; padding: .65rem .9rem; border: 1px solid #e1e9e2; border-radius: 2rem; background: #fff; color: #708177; font-size: .75rem; }
.admin-listing-total strong { color: #284d39; font-size: .95rem; }
.admin-listing-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.admin-listing-actions a { display: inline-flex; align-items: center; padding: .62rem .85rem; border: 1px solid #dfe8e0; border-radius: .55rem; background: #fff; color: #396448; font-size: .76rem; font-weight: 700; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.admin-listing-actions a:hover { border-color: #b7cfbd; background: #f3f8f3; }
.admin-listing-note { margin: -.25rem 0 1rem; color: #8a978e; font-size: .69rem; }
.admin-list-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin: 1.15rem 0; padding: 1rem; border: 1px solid var(--listing-line); border-radius: .8rem; background: #fff; box-shadow: 0 4px 18px #204a3008; }
.admin-filter-search { flex: 1 1 250px; min-width: min(100%, 220px); }
.admin-filter-field { flex: 0 1 155px; min-width: 130px; }
.admin-billing-company-details-form .admin-billing-address-field { flex: 1 1 100%; }
.admin-billing-company-details-form > button { margin-left: auto; }
.admin-list-filters label { display: block; margin: 0 0 .38rem; color: #627568; font-size: .69rem; font-weight: 750; }
.app-page .admin-list-filters input, .app-page .admin-list-filters select, .app-page .admin-list-filters textarea { min-height: 42px; padding: .6rem .75rem; border-color: #d7e2d9; border-radius: .5rem; color: #2e4737; font-size: .78rem; }
.app-page .admin-billing-company-details-form .admin-billing-address-field textarea { min-height: 6rem; resize: vertical; }
.app-page .admin-list-filters input:focus, .app-page .admin-list-filters select:focus, .app-page .admin-list-filters textarea:focus { border-color: #78a789; outline: 3px solid #76a78830; }
.app-page .admin-list-filters button { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; padding: .65rem .95rem; border-radius: .5rem; font-size: .78rem; font-weight: 750; }
.admin-list-filters button span { font-size: 1.1rem; line-height: .8; }
.admin-filter-clear { display: inline-flex; align-items: center; min-height: 42px; padding: 0 .35rem; color: #587362 !important; font-size: .75rem; font-weight: 700; text-decoration: none; }
.admin-filter-clear:hover { color: #285d43 !important; text-decoration: underline; }
.admin-table-panel { overflow: hidden; border: 1px solid var(--listing-line); border-radius: .85rem; background: #fff; box-shadow: 0 5px 20px #204a3008; }
.admin-table-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid #edf1ed; }
.admin-table-topline strong, .admin-table-topline span { display: block; }
.admin-table-topline strong { color: #2b4938; font-size: .82rem; }
.admin-table-topline div > span { margin-top: .2rem; color: #919d94; font-size: .66rem; }
.admin-table-total { flex: none; padding: .35rem .6rem; border-radius: 2rem; background: #f1f6f1; color: #5d7665; font-size: .66rem; font-weight: 700; }
.admin-data-table { width: 100%; min-width: 980px; border-collapse: separate !important; border-spacing: 0; text-align: left; }
.admin-data-table thead { background: #f8faf8; }
.app-page .admin-data-table th { padding: .78rem .85rem; border-bottom: 1px solid #e9efea; color: #849188; font-size: .61rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
.app-page .admin-data-table td { padding: .88rem .85rem; border-bottom: 1px solid #edf1ed; color: #4a5d50; font-size: .76rem; vertical-align: middle; }
.admin-data-table tbody tr:last-child td { border-bottom: 0; }
.admin-data-table tbody tr { transition: background .14s ease; }
.admin-data-table tbody tr:hover { background: #f7faf7; }
.admin-data-table .record-row { cursor: pointer; }
.app-page .admin-data-table .admin-table-empty { padding: 3rem 1.5rem; color: #89978e; text-align: center; font-size: .8rem; }
.admin-business-cell { display: flex; align-items: center; gap: .7rem; min-width: 190px; }
.admin-business-avatar { display: grid; flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid #dceade; border-radius: .7rem; background: linear-gradient(145deg, #eff7ee, #e0eee2); color: #477656; font-size: .83rem; font-weight: 800; }
.admin-business-info, .admin-quote-customer, .admin-quote-business { display: grid; gap: .28rem; min-width: 0; }
.admin-business-info small, .admin-quote-customer small { color: #89968d; font-size: .67rem; overflow-wrap: anywhere; }
.admin-table-link { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; color: #315d43 !important; font-size: .77rem; font-weight: 750; line-height: 1.35; text-decoration: none !important; overflow-wrap: anywhere; }
.admin-table-link > span { flex: none; color: #7aa084; font-size: .68rem; transition: transform .15s ease, color .15s ease; }
.admin-table-link:hover { color: #1e4933 !important; }
.admin-table-link:hover > span { transform: translate(2px, -2px); color: #347550; }
.admin-operations-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: .85rem; }
.admin-operations-card { display: grid; justify-items: start; gap: .55rem; min-width: 0; padding: 1rem; border: 1px solid var(--listing-line); border-radius: .8rem; background: #fff; box-shadow: 0 4px 16px #204a3008; }
.admin-operations-label { color: #839087; font-size: .6rem; font-weight: 800; letter-spacing: .09em; }
.admin-operations-card .status-badge { margin: 0; }
.admin-operations-value { color: #284b38; font-size: 1.65rem; line-height: 1; }
.admin-operations-card small { color: #78877e; font-size: .65rem; line-height: 1.45; overflow-wrap: anywhere; }
.admin-operations-note { margin: .7rem 0 1rem; color: #718078; font-size: .69rem; line-height: 1.55; }
.admin-operations-note code, .admin-operations code { color: #355d43; font-size: .9em; overflow-wrap: anywhere; }
.admin-operations-panel { margin-bottom: 1rem; }
.admin-operations-panel .admin-operations-note { padding: 0 1.2rem; }
.admin-operations-deliveries { margin: .5rem 0 1rem; padding: 1rem; border: 1px solid var(--listing-line); border-radius: .85rem; background: linear-gradient(135deg, #fff 45%, #f5f9f5); }
.admin-operations-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.admin-operations-section-heading .admin-eyebrow { margin: 0 0 .25rem; color: #638171; font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.admin-operations-section-heading h2 { margin: 0; color: #294a37; font-size: 1rem; }
.admin-operations-section-heading > p { margin: 0; color: #78877e; font-size: .68rem; }
.admin-operations-delivery-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.admin-operations-delivery-counts article { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .8rem; border: 1px solid #e8eee8; border-radius: .6rem; background: #fff; }
.admin-operations-delivery-counts span { color: #718078; font-size: .68rem; }
.admin-operations-delivery-counts strong { color: #315d43; font-size: 1rem; }
@media (max-width: 1000px) {
    .admin-operations-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-operations-delivery-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .admin-operations-summary, .admin-operations-delivery-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-operations-section-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
    .admin-operations-summary, .admin-operations-delivery-counts { grid-template-columns: 1fr; }
}
.admin-data-table .status-badge { padding: .32rem .58rem; border: 1px solid transparent; font-size: .65rem; letter-spacing: .01em; }
.admin-data-table .status-active { border-color: #c9ead4; background: #d3f2df; color: #176239; }
.admin-data-table .status-inactive { border-color: #e0e6e1; background: #e6eaf0; color: #536258; }
.admin-data-table .status-issued { border-color: #cfe7d4; background: #e9f5eb; color: #39744c; }
.admin-data-table .status-suspended { border-color: #f2cfd2; background: #fde0e2; color: #922b3d; }
.admin-feature-state { display: inline-flex; align-items: center; gap: .4rem; color: #77877d; font-size: .69rem; font-weight: 650; white-space: nowrap; }
.admin-feature-state::before { width: .43rem; height: .43rem; border-radius: 50%; background: #d5ded6; content: ""; }
.admin-feature-on { color: #3a7651; }
.admin-feature-on::before { background: #58ad78; box-shadow: 0 0 0 3px #58ad781b; }
.admin-count-value { display: inline-block; min-width: 1.8rem; color: #294a37; font-weight: 750; text-align: center; }
.admin-count-subtle { color: #75867b; font-variant-numeric: tabular-nums; }
.admin-count-link { display: inline-flex; align-items: center; gap: .4rem; color: #326748 !important; font-weight: 750; text-decoration: none; }
.admin-count-link:hover { color: #1c4d33 !important; }
.admin-count-link span { color: #78a186; transition: transform .15s ease; }
.admin-count-link:hover span { transform: translateX(3px); }
.admin-table-panel .pagination { justify-content: flex-end; margin: 0; padding: .85rem 1.2rem; border-top: 1px solid #edf1ed; color: #77877d; font-size: .72rem; }
.admin-table-panel .pagination a { padding: .4rem .65rem; border: 1px solid #dce7de; border-radius: .45rem; background: #fff; color: #35674a; font-weight: 700; text-decoration: none; }
.admin-table-panel .pagination a:hover { background: #eff6ef; }
.admin-quote-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0 .6rem; }
.admin-quote-total-card { min-width: 0; padding: .85rem .9rem; border: 1px solid var(--listing-line); border-radius: .72rem; background: #fff; box-shadow: 0 3px 13px #204a3006; }
.admin-quote-total-card > span { display: block; min-height: 1.25rem; color: #8a978e; font-size: .58rem; font-weight: 800; letter-spacing: .07em; }
.admin-quote-total-card > span .status-badge { padding: .25rem .45rem; font-style: normal; font-size: .58rem; letter-spacing: 0; text-transform: uppercase; }
.admin-quote-total-card > strong { display: block; margin-top: .35rem; color: #244735; font-size: 1.35rem; line-height: 1; letter-spacing: -.04em; }
.admin-quote-total-card > small { display: block; margin-top: .3rem; color: #98a39a; font-size: .6rem; }
.admin-quote-total-all { background: linear-gradient(145deg, #f1f8f1, #fff); }
.admin-quote-total-all > span { color: #5c7d66; }
.admin-quote-total-all > strong { color: #23583b; }
.admin-quote-business { align-items: start; gap: .38rem; }
.admin-quote-business .status-badge { font-size: .58rem; }
.admin-quote-customer { max-width: 190px; }
.admin-quote-amount { color: #254a36 !important; font-variant-numeric: tabular-nums; font-weight: 750; white-space: nowrap; }
.admin-date-cell { display: block; color: #52675a; font-size: .7rem; white-space: nowrap; }
.admin-date-cell small { display: block; margin-top: .2rem; color: #9aa59c; font-size: .63rem; }
.admin-date-missing { color: #9aa59c; font-size: .68rem; white-space: nowrap; }
.admin-listing a:focus-visible, .admin-listing button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 1000px) {
    .admin-quote-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .app-page .admin-listing-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
    .admin-listing-actions { justify-content: flex-start; }
    .admin-list-filters { padding: .85rem; }
    .admin-filter-field { flex: 1 1 140px; }
    .admin-quote-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-table-topline { padding: .85rem; }
    .admin-table-panel .pagination { justify-content: center; padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-listing-actions a, .admin-table-link > span, .admin-count-link span, .admin-data-table tbody tr { transition: none; }
}

/* Superadmin user and sales-enquiry listings */
.admin-list-tabs { display: flex; gap: .25rem; width: fit-content; max-width: 100%; margin: .25rem 0 1rem; padding: .25rem; border: 1px solid #e4ebe5; border-radius: .65rem; background: #f2f6f2; }
.admin-list-tabs a { display: inline-flex; align-items: center; padding: .58rem .85rem; border-radius: .45rem; color: #78877e !important; font-size: .73rem; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.admin-list-tabs a:hover { color: #315d43 !important; }
.admin-list-tabs a[aria-current="page"] { background: #fff; color: #2e6445 !important; box-shadow: 0 1px 5px #1c48301a; }
.admin-listing-actions .admin-primary-action { display: inline-flex; align-items: center; gap: .4rem; padding: .68rem .95rem; border: 1px solid #28644e; border-radius: .55rem; background: #28644e; color: #fff; font-size: .76rem; font-weight: 750; text-decoration: none; box-shadow: 0 3px 10px #28644e1c; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.admin-listing-actions .admin-primary-action:hover { transform: translateY(-1px); background: #1d4e3b; box-shadow: 0 5px 13px #28644e27; }
.admin-primary-action > span { font-size: 1.05rem; line-height: .8; }
.admin-listing-actions .admin-listing-total { align-self: center; }
.admin-invoice-create-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; margin: .8rem 0 .45rem; }
.admin-invoice-template-field { display: grid; flex: 0 1 18rem; min-width: 0; gap: .3rem; color: #627568; font-size: .68rem; font-weight: 750; }
.app-page .admin-invoice-template-field select { width: 100%; max-width: 18rem; min-height: 36px; padding: .45rem .65rem; border: 1px solid #d7e2d9; border-radius: .45rem; background: #fff; color: #2e4737; font: inherit; font-size: .73rem; }
.admin-invoice-create-form .admin-primary-action { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 36px; padding: .5rem .8rem; border: 1px solid #28644e; border-radius: .5rem; background: #28644e; color: #fff; font-size: .72rem; font-weight: 750; cursor: pointer; }
.admin-invoice-create-form .admin-primary-action:hover { background: #1d4e3b; }
.admin-invoice-origin, .admin-invoice-issued-at { display: block; margin-top: .22rem; color: #78877e; font-size: .62rem; line-height: 1.4; }
.admin-invoice-origin { color: #53705c; }
.app-page .admin-list-filters .button-secondary { border: 1px solid #d5e0d7; background: #fff; color: #42684e; }
.app-page .admin-list-filters .button-secondary:hover { background: #eff6ef; }
.admin-user-table { min-width: 900px; }
.admin-enquiry-table { min-width: 1020px; }
.admin-user-cell { display: flex; align-items: center; gap: .7rem; min-width: 215px; }
.admin-user-avatar { display: grid; flex: 0 0 2.3rem; width: 2.3rem; height: 2.3rem; place-items: center; border: 1px solid #d9e7dc; border-radius: 50%; background: linear-gradient(145deg, #f1f8f1, #dfede2); color: #477656; font-size: .82rem; font-weight: 800; }
.admin-user-info { display: grid; gap: .25rem; min-width: 0; }
.admin-user-info small { color: #89968d; font-size: .67rem; overflow-wrap: anywhere; }
.admin-role-badge, .admin-platform-label { display: inline-flex; align-items: center; width: fit-content; padding: .34rem .58rem; border: 1px solid #e2e9e3; border-radius: 2rem; background: #f2f5f2; color: #5e7064; font-size: .64rem; font-weight: 750; white-space: nowrap; }
.admin-role-admin { border-color: #d7dffa; background: #edf0fc; color: #4a5891; }
.admin-role-owner { border-color: #cfe7d4; background: #e9f5eb; color: #39744c; }
.admin-role-staff { border-color: #dce5ed; background: #eff4f8; color: #526e86; }
.admin-platform-label { border-color: #d8e6dc; background: #f0f7f1; color: #477154; }
.admin-user-business { display: grid; gap: .25rem; min-width: 0; }
.admin-user-business small { color: #929e95; font-size: .64rem; }
.admin-data-table .status-locked { border-color: #e0e6e1; background: #e6eaf0; color: #536258; }
.admin-data-table .status-deleted { border-color: #f2d5d5; background: #f9e9e9; color: #98504a; }
.admin-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; min-width: 145px; }
.admin-row-actions form { margin: 0; }
.app-page .admin-row-action { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: .38rem .58rem; border: 1px solid #dce6dd; border-radius: .45rem; background: #fff; color: #43664d; font-size: .67rem; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.app-page .admin-row-action:hover { border-color: #bad1bf; background: #f1f7f1; color: #285d43; }
.app-page .admin-row-action.admin-row-danger { border-color: #f0d9d7; color: #9a514a; }
.app-page .admin-row-action.admin-row-danger:hover { border-color: #e7bdb9; background: #fff4f3; color: #873e38; }
.app-page .admin-row-action.admin-row-restore { border-color: #cfe5d4; background: #eef7ef; color: #35714a; }
.app-page .admin-row-action.admin-row-restore:hover { border-color: #a9d1b3; background: #e3f2e5; }
.admin-enquiry-avatar { border-color: #dce3f2; background: linear-gradient(145deg, #f0f3fb, #e2e9f7); color: #526a9b; }
.admin-enquiry-business { display: inline-block; max-width: 200px; color: #4a6252; font-size: .73rem; font-weight: 650; overflow-wrap: anywhere; }
.admin-enquiry-preview { display: -webkit-box; max-width: 340px; overflow: hidden; color: #718078; font-size: .72rem; line-height: 1.45; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.admin-user-table td:last-child, .admin-enquiry-table td:last-child { padding-right: 1rem; }
.admin-user-table td:last-child, .admin-enquiry-table td:last-child { text-align: right; }
.admin-listing a:focus-visible, .admin-listing button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 700px) {
    .admin-listing-actions { align-items: flex-start; }
    .admin-listing-actions .admin-listing-total { align-self: center; }
    .admin-list-tabs { width: 100%; }
    .admin-list-tabs a { flex: 1; justify-content: center; }
    .admin-row-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-list-tabs a, .admin-listing-actions .admin-primary-action, .admin-row-action { transition: none; }
}

/* Superadmin quote investigation */
.admin-quote-detail { --detail-ink: #19382d; --detail-muted: #78877e; --detail-line: #e4ebe5; }
.app-page .admin-record-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.2rem; background: transparent; border: 0; }
.admin-record-heading .admin-eyebrow, .admin-detail-panel-heading .admin-eyebrow, .admin-section-heading .admin-eyebrow { margin: 0 0 .4rem; color: #638171; font-size: .64rem; font-weight: 800; letter-spacing: .14em; }
.admin-record-heading h1 { margin: 0; color: var(--detail-ink); font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.08; letter-spacing: -.05em; overflow-wrap: anywhere; }
.admin-record-heading .admin-listing-subtitle { margin-top: .5rem; }
.admin-quote-detail .admin-listing-actions { flex: none; }
.admin-quote-cover { position: relative; overflow: hidden; margin-bottom: 1.2rem; padding: 1.35rem 1.6rem 1.15rem; border: 1px solid #244e3b; border-radius: 1rem; background: radial-gradient(ellipse at 87% 14%, #3b7155 0, transparent 37%), linear-gradient(110deg, #17392e, #1d4937 75%, #28583f); color: #fff; box-shadow: 0 12px 30px #1c493013; }
.admin-quote-cover::after { position: absolute; top: -105px; right: 12%; width: 245px; height: 245px; border: 1px solid #ffffff0e; border-radius: 50%; content: ""; pointer-events: none; }
.admin-quote-cover-top, .admin-quote-cover-foot, .admin-quote-cover-main { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-quote-cover-top { padding-bottom: 1rem; border-bottom: 1px solid #ffffff20; }
.admin-quote-cover-top > a { display: inline-flex; align-items: center; gap: .55rem; color: #eef7ef !important; font-size: .78rem; font-weight: 750; text-decoration: none; }
.admin-quote-cover-top > a > span:last-child { color: #b7d8bd; font-size: .7rem; }
.admin-quote-business-avatar { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border: 1px solid #ffffff30; border-radius: .55rem; background: #ffffff17; color: #d7edda; font-size: .72rem; }
.admin-quote-detail .admin-quote-cover .status-badge { border-color: #ffffff25; background: #ffffff14; color: #f0f8f0; font-size: .64rem; }
.admin-quote-detail .admin-quote-cover .status-active { border-color: #9cddb273; background: #8bd1a331; color: #d3f2dc; }
.admin-quote-detail .admin-quote-cover .status-inactive { border-color: #dce5dc4d; background: #ffffff14; color: #e2eae3; }
.admin-quote-detail .admin-quote-cover .status-suspended { border-color: #ffc1ba70; background: #ef817134; color: #ffe0db; }
.admin-quote-cover-main { align-items: flex-end; padding: 1.15rem 0 1.05rem; }
.admin-quote-cover-label, .admin-quote-cover-value > span { display: block; margin: 0 0 .38rem; color: #b2d7bd; font-size: .59rem; font-weight: 800; letter-spacing: .13em; }
.admin-quote-cover-main h2 { margin: 0; color: #fff; font-size: clamp(1.45rem, 2.7vw, 2.05rem); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.admin-quote-cover-main > div:first-child > p:last-child { margin: .55rem 0 0; color: #d3e2d7; font-size: .8rem; overflow-wrap: anywhere; }
.admin-quote-cover-main > div:first-child > p:last-child span { padding: 0 .15rem; color: #9fc2a8; }
.admin-quote-cover-value { flex: none; min-width: 150px; text-align: right; }
.admin-quote-cover-value > span { color: #accdb3; }
.admin-quote-cover-value > strong { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.admin-quote-cover-foot { justify-content: flex-start; flex-wrap: wrap; padding-top: .85rem; border-top: 1px solid #ffffff20; color: #c1d8c6; font-size: .67rem; }
.admin-quote-cover-foot > span:not(.status-badge) { display: inline-flex; align-items: center; gap: .4rem; }
.admin-quote-cover-foot .status-badge { padding: .3rem .6rem; font-size: .63rem; }
.admin-cover-indicator { width: .43rem; height: .43rem; border-radius: 50%; background: #c6e2cb; }
.admin-quote-information { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr); align-items: stretch; gap: 1rem; margin-bottom: 1.8rem; }
.admin-detail-panel { min-width: 0; padding: 1.3rem; border: 1px solid var(--detail-line); border-radius: .85rem; background: #fff; box-shadow: 0 4px 18px #204a3008; }
.admin-detail-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.1rem; }
.admin-detail-panel-heading h2 { margin: 0; color: var(--detail-ink); font-size: 1.04rem; letter-spacing: -.025em; }
.admin-detail-panel-icon { display: grid; flex: none; width: 2rem; height: 2rem; place-items: center; border-radius: .6rem; background: #edf5ee; color: #4a8059; font-size: 1rem; }
.admin-notes-icon { background: #faf3e6; color: #a37c38; }
.app-page .admin-quote-detail .admin-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .72rem 1rem; margin: 0; }
.admin-detail-facts > div { min-width: 0; padding: .1rem 0 .55rem; border-bottom: 1px solid #eff3ef; }
.admin-detail-facts dt, .admin-reminder-facts dt, .admin-delivery-facts dt { margin: 0 0 .25rem; color: #8a978e; font-size: .63rem; font-weight: 750; letter-spacing: .035em; }
.admin-detail-facts dd, .admin-reminder-facts dd, .admin-delivery-facts dd { margin: 0; color: #394f40; font-size: .74rem; line-height: 1.45; overflow-wrap: anywhere; }
.admin-detail-facts dd small { display: block; margin-top: .17rem; color: #9aa59c; font-size: .6rem; }
.admin-detail-facts a { color: #34694a; font-weight: 700; text-decoration: none; }
.admin-detail-facts a:hover { text-decoration: underline; }
.admin-detail-facts .admin-detail-id, .admin-reminder-facts .admin-detail-id { color: #68786d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; overflow-wrap: anywhere; }
.admin-detail-facts .admin-detail-related { grid-column: 1 / -1; }
.admin-detail-related dd > a { display: inline-flex; flex-direction: column; gap: .2rem; }
.admin-detail-related dd > a span { color: #89978e; font-size: .63rem; font-weight: 500; }
.admin-detail-empty-value { color: #97a198; }
.admin-quote-notes-body { min-height: 125px; margin: 0; padding: 1rem; border: 1px solid #e8eee8; border-left: 3px solid #80ad89; border-radius: .55rem; background: linear-gradient(145deg, #f8fbf8, #fff); color: #5a6e60; font-size: .78rem; line-height: 1.65; }
.admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.admin-section-heading h2 { margin: 0; color: var(--detail-ink); font-size: 1.3rem; letter-spacing: -.035em; }
.admin-section-heading p:not(.admin-eyebrow) { margin: .35rem 0 0; color: #849188; font-size: .73rem; }
.admin-section-count { flex: none; padding: .4rem .65rem; border: 1px solid #e0e9e1; border-radius: 2rem; background: #fff; color: #5f7868; font-size: .65rem; font-weight: 750; }
.admin-delivery-note, .admin-paused-notice { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .75rem; padding: .75rem .9rem; border: 1px solid #e4e9ec; border-radius: .65rem; background: #f6f8fa; color: #73818a; }
.admin-delivery-note > span { display: grid; flex: none; width: 1.1rem; height: 1.1rem; place-items: center; border-radius: 50%; background: #e4ebef; color: #657b88; font-size: .68rem; font-weight: 800; }
.admin-delivery-note p { margin: 0; font-size: .67rem; line-height: 1.5; }
.admin-paused-notice { flex-direction: column; gap: .2rem; border-color: #f0dfc5; background: #fff9ee; color: #82683d; }
.admin-paused-notice strong { font-size: .72rem; }
.admin-paused-notice span { font-size: .68rem; line-height: 1.45; }
.admin-reminder-list { display: grid; gap: .8rem; }
.admin-reminder-card { padding: 1.15rem; border: 1px solid var(--detail-line); border-radius: .8rem; background: #fff; box-shadow: 0 4px 15px #204a3007; }
.admin-reminder-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .9rem; }
.admin-reminder-heading .admin-eyebrow { margin: 0 0 .3rem; color: #87988d; font-size: .57rem; font-weight: 800; letter-spacing: .12em; }
.admin-reminder-heading h3 { margin: 0; color: #294737; font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.admin-reminder-state { display: inline-flex; flex: none; align-items: center; gap: .38rem; padding: .32rem .58rem; border: 1px solid #dfe7df; border-radius: 2rem; background: #f1f5f1; color: #68786d; font-size: .61rem; font-weight: 750; text-transform: capitalize; }
.admin-reminder-state::before { width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; content: ""; }
.admin-reminder-scheduled { border-color: #c8d9f5; background: #e5eefc; color: #28548d; }
.admin-reminder-due { border-color: #f1d899; background: #fff3d4; color: #805c16; }
.admin-reminder-completed { border-color: #bfe3ca; background: #d9f0e0; color: #216239; }
.admin-reminder-cancelled { border-color: #edcfcc; background: #f8e9e7; color: #8a4944; }
.admin-reminder-due:not(.admin-reminder-state) { display: flex; align-items: center; gap: .5rem; margin: .8rem 0; padding: .58rem .7rem; border: 1px solid #e6eee7; border-radius: .5rem; background: #f7faf7; color: #708278; font-size: .68rem; }
.admin-reminder-due > span:first-child { color: #5c916d; font-size: .9rem; }
.admin-reminder-due strong { color: #395844; }
.app-page .admin-quote-detail .admin-reminder-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: .2rem 0 1rem; }
.admin-reminder-facts > div, .admin-delivery-facts > div { min-width: 0; }
.admin-deliveries { margin-top: .2rem; padding-top: .9rem; border-top: 1px solid #edf1ed; }
.admin-deliveries-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .65rem; }
.admin-deliveries-heading h4 { margin: 0; color: #48604f; font-size: .73rem; }
.admin-deliveries-heading > span { display: grid; min-width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; background: #edf4ee; color: #55775e; font-size: .61rem; font-weight: 750; }
.admin-delivery-card { display: grid; grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr); gap: 1rem; margin-top: .55rem; padding: .8rem; border: 1px solid #e8eee9; border-radius: .6rem; background: #fafcfa; }
.admin-delivery-recipient { display: flex; align-items: flex-start; gap: .55rem; }
.admin-delivery-icon { display: grid; flex: none; width: 1.75rem; height: 1.75rem; place-items: center; border-radius: .5rem; background: #edf4ee; color: #5b8064; font-size: .8rem; }
.admin-delivery-recipient strong, .admin-delivery-recipient small { display: block; overflow-wrap: anywhere; }
.admin-delivery-recipient strong { color: #3a5543; font-size: .7rem; }
.admin-delivery-recipient small { margin-top: .2rem; color: #99a49b; font-size: .57rem; }
.app-page .admin-quote-detail .admin-delivery-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .8rem; margin: 0; }
.admin-delivery-facts dd { font-size: .65rem; }
.admin-delivery-empty { margin: .4rem 0 0; padding: .75rem; border-radius: .5rem; background: #f7f9f7; color: #89968d; font-size: .67rem; line-height: 1.5; }
.admin-detail-empty { display: grid; justify-items: center; padding: 1.7rem 1rem; border: 1px dashed #dfe8e0; border-radius: .75rem; background: #fafcfa; color: #829187; text-align: center; }
.admin-detail-empty > span { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: .7rem; background: #edf4ee; color: #63866b; font-size: 1.05rem; }
.admin-detail-empty strong { margin-top: .65rem; color: #52695a; font-size: .78rem; }
.admin-detail-empty p { margin: .3rem 0 0; font-size: .67rem; }
.admin-followups-section > .pagination { justify-content: flex-end; margin: .5rem 0 0; font-size: .72rem; }
.admin-activity-section { margin-top: 1.8rem; }
.admin-activity-panel { margin-top: .8rem; }
.admin-activity-table { min-width: 650px; }
.admin-activity-table .admin-activity-event { display: inline-flex; align-items: center; gap: .38rem; padding: .34rem .58rem; border: 1px solid #dfe7df; border-radius: 2rem; background: #f1f5f1; color: #68786d; font-size: .64rem; font-weight: 750; white-space: nowrap; }
.admin-activity-table .admin-activity-event::before { width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; content: ""; }
.admin-activity-table .admin-activity-event-created, .admin-activity-table .admin-activity-event-reminder-completed { border-color: #bfe3ca; background: #d9f0e0; color: #216239; }
.admin-activity-table .admin-activity-event-updated { border-color: #c8d9f5; background: #e5eefc; color: #28548d; }
.admin-activity-table .admin-activity-event-status-changed { border-color: #dbd2f3; background: #eee8fb; color: #5a438d; }
.admin-activity-table .admin-activity-event-reminder-scheduled { border-color: #c8d9f5; background: #e5eefc; color: #28548d; }
.admin-activity-table .admin-activity-event-reminders-cancelled { border-color: #edcfcc; background: #f8e9e7; color: #8a4944; }
.admin-activity-table td:last-child { min-width: 230px; }
.admin-quote-detail a:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 900px) {
    .admin-quote-information { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .app-page .admin-record-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
    .admin-quote-cover { padding: 1.1rem; }
    .admin-quote-cover-main { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .admin-quote-cover-value { min-width: 0; text-align: left; }
    .admin-quote-cover-foot { gap: .55rem .8rem; }
    .app-page .admin-quote-detail .admin-detail-facts { grid-template-columns: 1fr; }
    .admin-detail-facts .admin-detail-related { grid-column: auto; }
    .app-page .admin-quote-detail .admin-reminder-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-delivery-card { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .admin-detail-panel, .admin-reminder-card { padding: .95rem; }
    .admin-reminder-heading { align-items: flex-start; flex-direction: column; }
    .app-page .admin-quote-detail .admin-reminder-facts, .app-page .admin-quote-detail .admin-delivery-facts { grid-template-columns: 1fr; }
    .admin-section-heading { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-quote-detail * { scroll-behavior: auto; }
}

/* Superadmin business, user, and enquiry record pages */
.admin-record-detail { --detail-ink: #19382d; --detail-muted: #78877e; --detail-line: #e4ebe5; }
.admin-record-cover { position: relative; display: flex; align-items: center; gap: .9rem; overflow: hidden; margin-bottom: 1rem; padding: 1.15rem 1.35rem; border: 1px solid #244e3b; border-radius: .9rem; background: radial-gradient(ellipse at 87% 14%, #3b7155 0, transparent 37%), linear-gradient(110deg, #17392e, #1d4937 75%, #28583f); color: #fff; box-shadow: 0 10px 24px #1c493010; }
.admin-record-cover::after { position: absolute; top: -95px; right: 12%; width: 220px; height: 220px; border: 1px solid #ffffff0e; border-radius: 50%; content: ""; pointer-events: none; }
.admin-record-avatar, .admin-record-cover-copy, .admin-record-cover > .status-badge, .admin-record-cover-badges { position: relative; z-index: 1; }
.admin-record-avatar { display: grid; flex: 0 0 3rem; width: 3rem; height: 3rem; place-items: center; border: 1px solid #ffffff30; border-radius: .85rem; background: #ffffff17; color: #e2f1e4; font-size: 1.1rem; font-weight: 800; }
.admin-record-cover-copy { display: grid; flex: 1 1 auto; gap: .2rem; min-width: 0; }
.admin-record-cover-copy > span { color: #b2d7bd; font-size: .58rem; font-weight: 800; letter-spacing: .13em; }
.admin-record-cover-copy > strong { color: #fff; font-size: 1rem; overflow-wrap: anywhere; }
.admin-record-cover-copy > small { color: #c9ded0; font-size: .69rem; overflow-wrap: anywhere; }
.admin-record-detail .admin-record-cover > .status-badge { flex: none; border-color: #ffffff25; background: #ffffff14; color: #f0f8f0; font-size: .65rem; }
.admin-record-detail .admin-record-cover .status-active { border-color: #9cddb273; background: #8bd1a331; color: #d3f2dc; }
.admin-record-detail .admin-record-cover .status-inactive { border-color: #dce5dc4d; background: #ffffff14; color: #e2eae3; }
.admin-record-detail .admin-record-cover .status-suspended { border-color: #ffc1ba70; background: #ef817134; color: #ffe0db; }
.admin-record-detail .status-active { border-color: #bfe3ca; background: #d9f0e0; color: #216239; }
.admin-record-detail .status-locked { border-color: #dce4df; background: #e9eeea; color: #536258; }
.admin-record-detail .status-deleted { border-color: #edcfcc; background: #f8e9e7; color: #8a4944; }
.admin-invoice-sequence { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid #dce8dd; border-radius: .65rem; background: #f7fbf7; }
.admin-invoice-sequence h3 { margin: 0 0 .65rem; color: #506b58; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.admin-invoice-sequence dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.admin-invoice-sequence dt { margin-bottom: .2rem; color: #839188; font-size: .62rem; font-weight: 750; }
.admin-invoice-sequence dd { margin: 0; color: #264a36; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; font-weight: 750; overflow-wrap: anywhere; }
.admin-invoice-sequence p { margin: .65rem 0 0; color: #78877e; font-size: .65rem; line-height: 1.5; }
.admin-invoice-issue-form { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.admin-invoice-issue-form button:disabled { cursor: wait; opacity: .7; }
.admin-invoice-issue-status { color: #396448; font-size: .75rem; font-weight: 700; }
.admin-record-cover-badges { display: flex; flex: none; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.admin-record-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.admin-record-stats article { min-width: 0; padding: .85rem 1rem; border: 1px solid var(--detail-line); border-radius: .72rem; background: #fff; box-shadow: 0 3px 14px #204a3007; }
.admin-record-stats article > span, .admin-record-stats article > strong, .admin-record-stats article > small { display: block; }
.admin-record-stats article > span { color: #839188; font-size: .57rem; font-weight: 800; letter-spacing: .09em; }
.admin-record-stats article > strong { margin-top: .45rem; color: #264a36; font-size: 1.4rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.admin-record-stats article > small { margin-top: .28rem; color: #97a198; font-size: .61rem; }
.admin-record-detail .admin-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .72rem 1rem; margin: 0; }
.admin-record-detail .admin-record-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: start; gap: 1rem; }
.admin-record-detail .admin-detail-panel { margin-bottom: 1rem; }
.admin-record-detail .admin-detail-related { grid-column: 1 / -1; }
.admin-record-detail .admin-record-message { min-height: 125px; margin: 0; padding: 1rem; border: 1px solid #e8eee8; border-left: 3px solid #80ad89; border-radius: .55rem; background: linear-gradient(145deg, #f8fbf8, #fff); color: #5a6e60; font-size: .78rem; line-height: 1.65; }
.admin-record-detail .admin-invoice-template-preview { overflow-wrap: anywhere; margin: 0; padding: 1rem; border: 1px solid var(--detail-line); border-radius: .65rem; background: #fafcfa; color: #43584a; font: inherit; line-height: 1.65; white-space: pre-wrap; }
.admin-record-detail .admin-template-default-option { display: flex; align-items: center; gap: .55rem; margin: .8rem 0 1rem; }
.admin-record-detail .admin-template-default-option input[type="checkbox"] { flex: none; width: 1rem; height: 1rem; margin: 0; accent-color: #32744d; }
.admin-record-detail .admin-template-default-option label { margin: 0; color: #52695a; font-size: .78rem; font-weight: 650; cursor: pointer; }
.admin-feature-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .55rem; border: 1px solid #dfe7df; border-radius: 2rem; background: #f1f5f1; color: #68786d; font-size: .62rem; font-weight: 750; }
.admin-feature-pill::before { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; content: ""; }
.admin-feature-pill-on { border-color: #bfe3ca; background: #d9f0e0; color: #216239; }
.admin-feature-pill-off { border-color: #e0e6e1; background: #e9eeea; color: #66746a; }
.admin-record-list-section { margin-top: 1.8rem; }
.admin-record-list-section .admin-section-heading > div { max-width: 850px; }
.admin-record-list-section .admin-section-heading p:not(.admin-eyebrow) { line-height: 1.6; }
.admin-source-badge { display: inline-flex; align-items: center; width: fit-content; padding: .32rem .55rem; border: 1px solid #d7e3ed; border-radius: 2rem; background: #edf4fa; color: #446782; font-size: .62rem; font-weight: 700; white-space: nowrap; }
.admin-business-enquiries-table { min-width: 760px; }
.admin-business-users-table { min-width: 700px; }
.admin-enquiry-customer { display: grid; gap: .25rem; min-width: 175px; }
.admin-enquiry-customer small { color: #89968d; font-size: .64rem; overflow-wrap: anywhere; }
.admin-record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; padding-top: 1rem; border-top: 1px solid #edf1ed; }
.admin-record-actions form { margin: 0; }
.admin-record-actions .admin-primary-action { display: inline-flex; align-items: center; gap: .4rem; padding: .68rem .95rem; border: 1px solid #28644e; border-radius: .55rem; background: #28644e; color: #fff; font-size: .76rem; font-weight: 750; text-decoration: none; transition: background .15s ease; }
.admin-record-actions .admin-primary-action:hover { background: #1d4e3b; }
.admin-record-actions .admin-primary-action span { color: #c4e1ca; }
.admin-record-action-panel { margin-top: 1rem; }
.admin-user-profile { max-width: 850px; }
.admin-user-profile .admin-record-actions { margin-top: .8rem; }
.admin-user-setup-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; border: 1px solid #d5e7d8; border-radius: .7rem; background: #f3faf4; }
.admin-user-setup-panel-blocked { border-color: #e9c98f; background: #fff8e9; }
.admin-user-setup-panel .admin-eyebrow { margin: 0 0 .3rem; color: #638171; font-size: .59rem; font-weight: 800; letter-spacing: .12em; }
.admin-user-setup-panel h3 { margin: 0; color: #294a37; font-size: .9rem; }
.admin-user-setup-panel p:not(.admin-eyebrow) { margin: .35rem 0 0; color: #66776c; font-size: .72rem; line-height: 1.5; }
.admin-user-setup-panel-blocked .admin-eyebrow { color: #956b2c; }
.admin-user-setup-panel-blocked p:not(.admin-eyebrow) { color: #795b31; }
.admin-user-setup-panel button { flex: none; }
.admin-user-setup-panel button:disabled { border-color: #d7d4ca; background: #e9e7e0; color: #77766f; cursor: not-allowed; opacity: 1; }
.admin-enquiry-detail-icon { background: #edf2fb; color: #536d9a; }
.admin-record-detail a:focus-visible, .admin-record-detail button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 900px) {
    .admin-record-detail .admin-record-columns { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .admin-record-detail .admin-record-cover { align-items: flex-start; flex-wrap: wrap; }
    .admin-record-cover-copy { flex-basis: calc(100% - 4rem); }
    .admin-record-detail .admin-record-cover > .status-badge, .admin-record-cover-badges { margin-left: 3.9rem; }
    .admin-record-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-record-detail .admin-detail-facts { grid-template-columns: 1fr; }
    .admin-record-detail .admin-detail-related { grid-column: auto; }
}
@media (max-width: 480px) {
    .admin-record-detail .admin-record-cover { padding: .95rem; }
    .admin-record-stats { gap: .5rem; }
    .admin-record-stats article { padding: .75rem; }
    .admin-record-cover-badges { margin-left: 0; justify-content: flex-start; }
    .admin-record-detail .admin-record-cover > .status-badge { margin-left: 0; }
}
@media (max-width: 560px) {
    .admin-user-setup-panel { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-record-actions .admin-primary-action { transition: none; }
}

/* Customer quote form */
.workspace-quote-form-page { --quote-ink: #203d30; --quote-muted: #788b7f; --quote-line: #e0e9e1; max-width: 1080px; margin: 0 auto; }
.quote-form-header { align-items: center; }
.quote-form-header .workspace-subtitle { max-width: 42rem; }
.quote-form-header-icon { display: grid; flex: 0 0 3rem; width: 3rem; height: 3rem; place-items: center; border: 1px solid #dce9df; border-radius: .8rem; background: #edf6ee; color: #397454; font-size: 1.35rem; }
.quote-form-errors { margin-bottom: 1rem; padding: .9rem 1.1rem; border: 1px solid #f0d2cf; border-left: 4px solid #b65b54; border-radius: .65rem; background: #fff8f7; color: #7d3e39; font-size: .78rem; }
.quote-form-errors strong { display: block; margin-bottom: .3rem; }
.quote-form-errors ul { margin: 0; padding-left: 1.2rem; }
.workspace-layout .quote-record-form { max-width: none; padding: 0; overflow: hidden; }
.quote-form-section { padding: 1.4rem 1.5rem; border-bottom: 1px solid #edf1ed; }
.quote-form-section .quote-section-heading { margin-bottom: 1.05rem; }
.quote-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1.1rem; }
.quote-form-field { display: grid; min-width: 0; gap: .38rem; }
.quote-form-field-wide { grid-column: 1 / -1; }
.workspace-layout .quote-form-field > label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .6rem; margin: 0; color: #52685a; font-size: .72rem; font-weight: 750; }
.quote-form-field > label > span { color: #8a988f; font-size: .6rem; font-weight: 600; }
.workspace-layout .quote-form-field > input, .workspace-layout .quote-form-field > select, .workspace-layout .quote-form-field > textarea, .quote-amount-input > input, .quote-date-picker-control > input { width: 100%; min-width: 0; min-height: 44px; padding: .65rem .75rem; border: 1px solid #dfe8e0; border-radius: .55rem; background: #fff; color: #344c3e; font-size: .8rem; }
.workspace-layout .quote-form-field > textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.quote-form-field > input:focus, .quote-form-field > select:focus, .quote-form-field > textarea:focus, .quote-amount-input > input:focus, .quote-date-picker-control > input:focus { border-color: #75a982; outline: 3px solid #e1f0e3; }
.quote-amount-input { position: relative; }
.quote-amount-input > span { position: absolute; top: 50%; left: .8rem; z-index: 1; color: #839188; font-size: .8rem; transform: translateY(-50%); }
.quote-amount-input > input { padding-left: 1.75rem; }
.quote-date-picker-control { display: flex; align-items: stretch; gap: .35rem; min-height: 50px; padding: .22rem; border: 1px solid #dfe8e0; border-radius: .6rem; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.quote-date-picker-control:focus-within { border-color: #75a982; box-shadow: 0 0 0 3px #e1f0e3; }
.workspace-layout .quote-form-field .quote-date-picker-control > input { flex: 1 1 auto; width: 0; min-width: 0; min-height: 42px; padding: .6rem .7rem; border: 0; border-radius: .35rem; background: transparent; outline: 0; }
.quote-date-picker-control > input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.quote-date-picker-button { position: static; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; margin: 0; padding: .5rem .8rem; border: 1px solid #b9d1bd; border-radius: .45rem; background: linear-gradient(180deg, #f1f8f1, #e6f1e7); color: #285f49; box-shadow: inset 0 1px 0 #ffffffb3; font-size: .7rem; font-weight: 800; cursor: pointer; }
.quote-date-picker-button:hover { border-color: #8db596; background: #dcecdc; }
.quote-date-picker-button:focus-visible { outline: 3px solid #c4873b; outline-offset: 2px; }
.quote-date-picker-button svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.quote-form-help { color: #849188; font-size: .64rem; line-height: 1.45; }
.quote-form-field-error { color: #9b4540; font-size: .68rem; }
.quote-form-actions { display: flex; justify-content: flex-end; gap: .65rem; padding: 1rem 1.5rem; background: #fbfcfb; }
.quote-form-actions .workspace-button { margin: 0; }
.quote-form-actions .workspace-button-secondary { border-color: #dce7de; background: #fff; color: #42684e; }
.quote-form-actions .workspace-button-secondary:hover { background: #f1f7f1; }
@media (max-width: 700px) {
    .quote-form-fields { grid-template-columns: 1fr; }
    .quote-form-field-wide { grid-column: auto; }
}
@media (max-width: 600px) {
    .quote-form-header-icon { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; }
    .quote-form-section { padding: 1.1rem; }
    .quote-form-actions { flex-direction: column-reverse; padding: 1rem 1.1rem; }
    .quote-form-actions .workspace-button { width: 100%; }
}
@media (max-width: 420px) {
    .quote-date-picker-control { gap: .2rem; }
    .quote-date-picker-button { gap: .25rem; padding: .45rem .55rem; font-size: .62rem; }
}

/* Customer quote detail */
.workspace-quote-detail { --quote-ink: #203d30; --quote-muted: #788b7f; --quote-line: #e0e9e1; }
.quote-page-header .workspace-subtitle .status-badge { margin-left: .25rem; vertical-align: .08rem; }
.quote-showcase { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: 1.5rem; overflow: hidden; min-height: 190px; margin-bottom: 1.35rem; padding: 1.6rem 1.8rem; border: 1px solid #244e3b; border-radius: 1rem; background: radial-gradient(ellipse at 75% 15%, #3b7155 0, transparent 38%), linear-gradient(110deg, #17392e, #1d4937 72%, #28583f); color: #fff; box-shadow: 0 12px 28px #1c493013; }
.quote-showcase::after { position: absolute; top: -110px; right: 12%; width: 250px; height: 250px; border: 1px solid #ffffff0f; border-radius: 50%; content: ""; pointer-events: none; }
.quote-showcase-main, .quote-showcase-meta { position: relative; z-index: 1; }
.quote-showcase-kicker { color: #b2d7bd; font-size: .64rem; font-weight: 800; letter-spacing: .14em; }
.quote-showcase-main > strong { display: block; margin-top: .5rem; color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quote-showcase-main > p { margin: .65rem 0 0; color: #d3e2d7; font-size: .84rem; }
.quote-showcase-main > p span { padding: 0 .25rem; color: #acd0b4; }
.quote-showcase-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.quote-showcase-meta > div { display: grid; align-content: center; gap: .45rem; min-width: 0; min-height: 76px; padding: .7rem .75rem; border: 1px solid #ffffff24; border-radius: .65rem; background: #ffffff10; backdrop-filter: blur(4px); }
.quote-showcase-meta > div > span { color: #b7d8bd; font-size: .59rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.quote-showcase-meta > div > strong { color: #fff; font-size: .72rem; font-weight: 650; overflow-wrap: anywhere; }
.quote-showcase-meta .status-badge { justify-self: start; padding: .28rem .52rem; border: 1px solid #ffffff35; background: #ffffff18; color: #fff; font-size: .64rem; }
.quote-showcase-meta .status-accepted, .quote-showcase-meta .status-completed { border-color: #9cddb273; background: #8bd1a331; color: #e3f6e8; }
.quote-showcase-meta .status-rejected, .quote-showcase-meta .status-not_proceeding { border-color: #ffc1ba70; background: #ef817134; color: #ffe0db; }
.quote-detail-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 1.15rem; }
.quote-detail-main, .quote-follow-up { display: grid; gap: 1rem; min-width: 0; }
.quote-information, .quote-notes { min-width: 0; }
.workspace-layout .quote-information, .workspace-layout .quote-notes { padding: 1.35rem 1.45rem; }
.quote-section-heading { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.quote-section-icon { display: grid; flex: 0 0 2.2rem; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: .65rem; background: #eaf4eb; color: #397454; font-size: 1rem; }
.quote-section-icon.quote-notes-icon { background: #fbf2df; color: #9a7137; }
.quote-section-icon.quote-reminder-icon { background: #eaf1fb; color: #52719b; }
.quote-section-heading h2 { margin: 0; color: var(--quote-ink); font-size: 1rem; letter-spacing: -.02em; }
.quote-section-heading p { margin: .2rem 0 0; color: var(--quote-muted); font-size: .7rem; line-height: 1.45; }
.quote-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .9rem; margin: 0; }
.quote-detail-facts > div { min-width: 0; padding: .65rem .7rem; border: 1px solid #edf1ed; border-radius: .55rem; background: #fbfcfb; }
.quote-detail-facts dt { margin-bottom: .28rem; color: #89978e; font-size: .62rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.quote-detail-facts dd { margin: 0; color: #344c3e; font-size: .78rem; font-weight: 650; overflow-wrap: anywhere; }
.quote-detail-facts .quote-detail-related { grid-column: 1 / -1; }
.quote-related-link { display: inline-flex; align-items: center; gap: .35rem; color: #28644e !important; font-weight: 700; text-decoration: none; }
.quote-related-link:hover { text-decoration: underline; }
.quote-notes-content { min-height: 70px; margin: 0; padding: .9rem 1rem; border: 1px solid #f0eadc; border-left: 3px solid #c99a4e; border-radius: .55rem; background: linear-gradient(145deg, #fffdf8, #fff); color: #596a5f; font-size: .82rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.workspace-enquiry-detail { --quote-ink: #203d30; --quote-muted: #788b7f; --quote-line: #e0e9e1; }
.enquiry-summary-banner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; overflow: hidden; margin-bottom: 1.15rem; padding: 1rem 1.2rem; border: 1px solid #dce8df; border-radius: .9rem; background: radial-gradient(ellipse at 94% 0, #eaf5e9 0, transparent 38%), linear-gradient(110deg, #fff, #f8fbf8); box-shadow: 0 8px 22px #1f4a3008; }
.enquiry-summary-icon { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid #dce9df; border-radius: .75rem; background: #edf6ee; color: #397454; font-size: 1.15rem; }
.enquiry-summary-copy { display: grid; min-width: 0; gap: .2rem; }
.enquiry-summary-copy > span, .enquiry-summary-status > span { color: #71877a; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.enquiry-summary-copy > strong { color: #203d30; font-size: .9rem; letter-spacing: -.02em; }
.enquiry-summary-copy > small { color: #7d8c82; font-size: .68rem; overflow-wrap: anywhere; }
.enquiry-summary-status { display: grid; justify-items: end; gap: .35rem; padding-left: 1rem; border-left: 1px solid #e1ebe3; }
.enquiry-summary-status .status-badge { padding: .32rem .55rem; font-size: .65rem; }
.enquiry-detail-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 1.15rem; }
.enquiry-detail-main { display: grid; min-width: 0; gap: 1rem; }
.workspace-layout .enquiry-information, .workspace-layout .enquiry-message, .workspace-layout .enquiry-management { min-width: 0; padding: 1.35rem 1.45rem; }
.enquiry-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .9rem; margin: 0; }
.enquiry-detail-facts > div { min-width: 0; padding: .7rem .75rem; border: 1px solid #edf1ed; border-radius: .58rem; background: #fbfcfb; }
.enquiry-detail-facts dt { margin-bottom: .28rem; color: #89978e; font-size: .61rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.enquiry-detail-facts dd { margin: 0; color: #344c3e; font-size: .78rem; font-weight: 650; overflow-wrap: anywhere; }
.enquiry-detail-facts a { color: #28644e; text-decoration: none; }
.enquiry-detail-facts a:hover { text-decoration: underline; }
.enquiry-message-icon { background: #edf2fb; color: #536d9a; }
.enquiry-message-content { min-height: 90px; margin: 0; padding: 1rem 1.05rem; border: 1px solid #e4eaf3; border-left: 3px solid #8197bd; border-radius: .6rem; background: linear-gradient(145deg, #fafbfe, #fff); color: #47576d; font-size: .82rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.enquiry-management-form { display: grid; gap: 1rem; }
.enquiry-status-field, .enquiry-notes-field { display: grid; gap: .42rem; }
.enquiry-management-form label { color: #52685a; font-size: .72rem; font-weight: 750; }
.enquiry-status-field select, .enquiry-notes-field textarea { width: 100%; border: 1px solid #dfe8e0; border-radius: .55rem; background: #fff; color: #344c3e; font-size: .8rem; }
.enquiry-status-field select { min-height: 44px; padding: .6rem .75rem; }
.enquiry-notes-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.enquiry-notes-heading > span { padding: .24rem .45rem; border: 1px solid #e8dfca; border-radius: 2rem; background: #fbf6e9; color: #8a7043; font-size: .55rem; font-weight: 800; letter-spacing: .08em; }
.enquiry-notes-field > p:not(.enquiry-field-error) { margin: 0; color: #7a8980; font-size: .68rem; line-height: 1.5; }
.enquiry-notes-field textarea { min-height: 145px; padding: .75rem .85rem; resize: vertical; line-height: 1.6; }
.enquiry-notes-field textarea::placeholder { color: #a0aaa3; }
.enquiry-notes-field textarea:focus, .enquiry-status-field select:focus { border-color: #75a982; outline: 3px solid #e1f0e3; }
.enquiry-notes-field > small { justify-self: end; color: #98a39b; font-size: .6rem; }
.enquiry-field-error { margin: 0; color: #9b4540; font-size: .68rem; line-height: 1.4; }
.enquiry-management-actions { display: flex; justify-content: flex-end; padding-top: .8rem; border-top: 1px solid #edf1ed; }
.enquiry-management-actions .workspace-button { margin: 0; }
.quote-activity { min-width: 0; margin-top: 0; padding: 1.2rem 1.35rem; }
.quote-activity-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .6rem; padding-bottom: .9rem; border-bottom: 1px solid #edf1ed; }
.quote-activity-heading .workspace-eyebrow { font-size: .59rem; }
.quote-activity-heading h2 { margin: .22rem 0 0; color: var(--quote-ink); font-size: 1.02rem; }
.quote-activity-count { flex: none; padding: .32rem .55rem; border: 1px solid #e1e9e2; border-radius: 2rem; background: #f7faf7; color: #65796c; font-size: .64rem; font-weight: 700; }
.quote-activity-item { position: relative; display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .65rem; padding: .85rem 0; }
.quote-activity-item:not(:last-of-type)::after { position: absolute; top: 1.55rem; bottom: -.2rem; left: .34rem; width: 1px; background: #e4ece5; content: ""; }
.quote-activity-marker { position: relative; z-index: 1; width: .68rem; height: .68rem; margin: .18rem 0 0 .02rem; border: 2px solid #fff; border-radius: 50%; background: #6f9c7a; box-shadow: 0 0 0 1px #dce8de; }
.quote-activity-marker.status-in_progress { background: #d09c3e; }
.quote-activity-marker.status-rejected { background: #c76b65; }
.quote-activity-marker.status-completed { background: #48a66a; }
.quote-activity-copy { min-width: 0; }
.quote-activity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.quote-activity-meta .status-badge { padding: .25rem .48rem; font-size: .61rem; }
.quote-activity-meta time { color: #89978e; font-size: .65rem; }
.quote-activity-copy > p { margin: .42rem 0 0; color: #52665a; font-size: .78rem; line-height: 1.55; overflow-wrap: anywhere; }
.quote-activity-empty { display: grid; justify-items: center; gap: .3rem; padding: 1.5rem .75rem; color: #849188; text-align: center; }
.quote-activity-empty > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #f0f5f0; color: #588063; font-size: 1.1rem; }
.quote-activity-empty strong { color: #3b5544; font-size: .8rem; }
.quote-activity-empty p { margin: 0; font-size: .7rem; }
.quote-activity .pagination { display: flex; justify-content: flex-end; gap: .6rem; margin: .3rem -1.35rem -1.2rem; padding: .8rem 1.35rem; border-top: 1px solid #edf1ed; color: #6f8075; font-size: .72rem; }
.quote-activity .pagination a { padding: .35rem .6rem; border: 1px solid #dce7de; border-radius: .45rem; background: #fff; color: #35674a; font-weight: 700; text-decoration: none; }
.quote-activity .pagination a:hover { background: #eff6ef; }
.quote-reminders-panel, .quote-schedule-panel { padding: 1.15rem !important; }
.quote-reminders-panel > h2 { margin: 0; color: var(--quote-ink); font-size: 1.05rem; }
.quote-reminders-panel > .muted { margin: .35rem 0 .85rem; color: var(--quote-muted); font-size: .7rem; line-height: 1.45; }
.quote-reminders-panel > p:last-child { margin: .75rem 0 0; color: var(--quote-muted); font-size: .75rem; }
.workspace-layout .quote-reminders-panel .reminder-card { margin: 0 0 .65rem; padding: .85rem; border-color: #e7eee7; border-radius: .65rem; box-shadow: none; }
.quote-reminders-panel .reminder-card:last-child { margin-bottom: 0; }
.reminder-card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; }
.reminder-card-heading > strong { color: #355340; font-size: .78rem; }
.reminder-card-heading .status-badge { padding: .25rem .48rem; font-size: .61rem; }
.reminder-card-description { margin: .45rem 0 .5rem !important; color: #52665a; font-size: .75rem; line-height: 1.5; }
.reminder-customer-recipient { padding: .5rem .6rem; border-radius: .45rem; background: #f1f7f2; color: #597362; font-size: .66rem; overflow-wrap: anywhere; }
.reminder-delivery-status { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: #75867b; font-size: .66rem; }
.reminder-delivery-status .status-badge { padding: .22rem .45rem; font-size: .58rem; }
.reminder-delivery-status small { flex-basis: 100%; color: #909d94; font-size: .59rem; overflow-wrap: anywhere; }
.workspace-layout .quote-reminders-panel .reminder-card form { margin-top: .7rem; }
.workspace-layout .quote-reminders-panel .reminder-complete-button { min-height: 34px; margin: 0; padding: .42rem .65rem; font-size: .68rem; }
.quote-schedule-panel .quote-section-heading { align-items: flex-start; }
.quote-schedule-form { display: grid; gap: .4rem; }
.workspace-layout .quote-schedule-form label { margin-top: .35rem; color: #52685a; font-size: .7rem; font-weight: 700; }
.quote-schedule-form label > span { color: #89978e; font-weight: 500; }
.workspace-layout .quote-schedule-form input:not([type="checkbox"]) { width: 100%; min-height: 42px; padding: .6rem .7rem; font-size: .78rem; }
.quote-schedule-form .quote-customer-email-option { display: flex; align-items: flex-start; gap: .5rem; margin-top: .6rem !important; padding: .7rem; border: 1px solid #e4ece5; border-radius: .55rem; background: #f8fbf8; line-height: 1.45; }
.quote-schedule-form .quote-customer-email-option input { flex: none; margin-top: .12rem; }
.quote-schedule-hint { margin: 0; color: #849188; font-size: .65rem; line-height: 1.5; }
.quote-schedule-form .workspace-button { width: 100%; margin-top: .5rem; padding: .7rem .9rem; font-size: .78rem; }
@media (max-width: 900px) {
    .quote-showcase { grid-template-columns: 1fr; gap: 1rem; }
    .quote-detail-grid { grid-template-columns: 1fr; }
    .enquiry-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .quote-showcase { padding: 1.2rem; }
    .quote-showcase-meta { grid-template-columns: 1fr; }
    .quote-showcase-meta > div { min-height: 0; }
    .quote-detail-facts { grid-template-columns: 1fr; }
    .quote-detail-facts .quote-detail-related { grid-column: auto; }
    .enquiry-summary-banner { grid-template-columns: auto minmax(0, 1fr); padding: .9rem; }
    .enquiry-summary-status { grid-column: 2; justify-items: start; padding: .65rem 0 0; border-top: 1px solid #e1ebe3; border-left: 0; }
    .enquiry-detail-facts { grid-template-columns: 1fr; }
    .workspace-layout .enquiry-information, .workspace-layout .enquiry-message, .workspace-layout .enquiry-management { padding: 1.05rem; }
    .enquiry-management-actions .workspace-button { width: 100%; }
    .quote-activity .pagination { justify-content: center; flex-wrap: wrap; margin-right: -1.35rem; margin-left: -1.35rem; padding-right: .8rem; padding-left: .8rem; text-align: center; }
}
.quote-reminder-timing { min-width: 0; margin: .35rem 0 .1rem; padding: 0; border: 0; }
.quote-reminder-timing legend { margin-bottom: .45rem; color: #52685a; font-size: .7rem; font-weight: 700; }
.quote-schedule-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.quote-schedule-choice { position: relative; display: grid; align-content: center; justify-items: center; gap: .2rem; min-width: 0; min-height: 62px; margin: 0 !important; padding: .45rem .3rem; border: 1px solid #dfe9e0; border-radius: .55rem; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.quote-schedule-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quote-schedule-choice > span { color: #526b5b; font-size: .68rem; font-weight: 750; }
.quote-schedule-choice > small { color: #94a097; font-size: .57rem; font-weight: 500; }
.quote-schedule-choice:has(input:checked) { border-color: #75a982; background: #f0f7f1; box-shadow: inset 0 0 0 1px #75a982; }
.quote-schedule-choice:has(input:checked) > span { color: #28644e; }
.quote-schedule-choice:focus-within { outline: 3px solid #c4873b; outline-offset: 2px; }
.quote-custom-date { display: grid; gap: .25rem; padding: .75rem; border: 1px solid #e0e9e1; border-radius: .6rem; background: #f8fbf8; }
.quote-custom-date[hidden] { display: none; }
.quote-field-error { margin: 0; color: #9b4540; font-size: .68rem; line-height: 1.4; }
.quote-schedule-form .quote-schedule-hint { margin: .1rem 0 .2rem; }
@media (max-width: 420px) {
    .quote-schedule-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .quote-schedule-choice { transition: none; }
}

/* Superadmin audit log */
.admin-audit { --audit-ink: #19382d; --audit-muted: #78877e; --audit-line: #e4ebe5; }
.admin-audit .admin-listing-heading { margin-bottom: 1rem; }
.admin-audit-sessions { margin: 0 0 1rem; padding: 1rem 1.15rem; border: 1px solid var(--audit-line); border-radius: .85rem; background: linear-gradient(135deg, #fff 45%, #f3f8f3); box-shadow: 0 5px 20px #204a3008; }
.admin-audit-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-audit-section-heading .admin-eyebrow { margin: 0 0 .25rem; color: #638171; font-size: .6rem; font-weight: 800; letter-spacing: .14em; }
.admin-audit-section-heading h2 { margin: 0; color: var(--audit-ink); font-size: 1rem; letter-spacing: -.02em; }
.admin-audit-section-heading p:not(.admin-eyebrow) { margin: .25rem 0 0; color: var(--audit-muted); font-size: .69rem; }
.admin-audit-section-heading > .status-badge { flex: none; }
.admin-audit-session-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: .55rem; margin-top: .9rem; }
.admin-audit-session { position: relative; display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .68rem .75rem; border: 1px solid #e8eee8; border-radius: .65rem; background: #ffffffc9; }
.admin-audit-session .admin-user-avatar { flex: 0 0 2rem; width: 2rem; height: 2rem; }
.admin-audit-online { position: absolute; top: .55rem; left: 2.25rem; width: .48rem; height: .48rem; border: 2px solid #fff; border-radius: 50%; background: #48a66a; box-shadow: 0 0 0 2px #48a66a22; }
.admin-audit-session-copy { display: grid; min-width: 0; gap: .12rem; }
.admin-audit-session-copy strong { color: #294a37; font-size: .72rem; overflow-wrap: anywhere; }
.admin-audit-session-copy small { color: #78877e; font-size: .64rem; overflow-wrap: anywhere; }
.admin-audit-session-copy > span { margin-top: .12rem; color: #8a978e; font-size: .6rem; }
.admin-audit-empty { margin: .75rem 0 0; padding: .75rem; border-radius: .55rem; background: #f5f8f5; color: #78877e; font-size: .72rem; }
.admin-audit-filters { gap: .7rem; }
.admin-audit-filters .admin-filter-search { flex-basis: 210px; }
.admin-audit-filters .admin-filter-field { flex-basis: 135px; }
.admin-audit-filters button { min-width: 76px; }
.admin-audit-table { min-width: 1040px; }
.admin-audit-table th:first-child { min-width: 380px; }
.admin-audit-table th:nth-child(2) { min-width: 205px; }
.admin-audit-table th:nth-child(3) { min-width: 165px; }
.admin-audit-activity { display: grid; justify-items: start; gap: .35rem; max-width: 520px; }
.admin-audit-activity > .status-badge { padding: .29rem .52rem; border: 1px solid #dfe8e0; font-size: .59rem; letter-spacing: .025em; text-transform: uppercase; }
.admin-audit-activity > .admin-audit-billing-event { border-color: #dce5f2; background: #e7eef9; color: #3c587d; }
.admin-audit-activity > strong { color: #344f3c; font-size: .74rem; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.admin-audit-subject { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; color: #89968d; font-size: .64rem; }
.admin-audit-subject .admin-table-link { font-size: .68rem; }
.admin-audit-fields, .admin-audit-changes { display: flex; flex-wrap: wrap; gap: .28rem; }
.admin-audit-fields > span { padding: .2rem .42rem; border: 1px solid #e5ebe5; border-radius: 1rem; background: #f6f8f6; color: #68796d; font-size: .58rem; font-weight: 650; }
.admin-audit-changes > span { padding: .2rem .45rem; border: 1px solid #dce9df; border-radius: .4rem; background: #f2f8f2; color: #47664f; font-size: .61rem; }
.admin-audit-changes strong { color: #315d43; }
.admin-audit-actor { min-width: 190px; }
.admin-audit-actor .admin-user-avatar { flex: 0 0 2rem; width: 2rem; height: 2rem; }
.admin-audit-actor .admin-user-info { display: grid; gap: .18rem; min-width: 0; }
.admin-audit-actor .admin-user-info > strong { color: #52675a; font-size: .7rem; }
.admin-audit-actor .admin-user-info small { max-width: 170px; }
.admin-audit-relative-time { display: block; margin-top: .2rem; color: #98a39a; font-size: .61rem; white-space: nowrap; }
.admin-audit .admin-table-panel .pagination { min-height: 48px; }
@media (max-width: 700px) {
    .admin-audit-section-heading { align-items: flex-start; flex-direction: column; }
    .admin-audit-section-heading > .status-badge { align-self: flex-start; }
    .admin-audit-sessions { padding: .85rem; }
    .admin-audit-filters .admin-filter-search, .admin-audit-filters .admin-filter-field { flex: 1 1 145px; }
    .admin-audit-filters .admin-filter-search { flex-basis: 100%; }
}

.workspace-howto-link { display: inline-flex; align-items: center; gap: .35rem; color: #2e6a4b; font-size: .73rem; font-weight: 750; line-height: 1.4; text-decoration: none; }
.workspace-howto-link:hover { color: #174b35; text-decoration: underline; text-underline-offset: .15em; }
.workspace-howto-link-block { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid #e8eee8; }
.quote-form-header-actions { display: flex; align-items: center; gap: .8rem; }
.quote-status-help { margin-top: .35rem; font-size: .66rem; }
.workspace-help-page .workspace-back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; color: #557667; font-size: .78rem; font-weight: 700; text-decoration: none; }
.workspace-help-page .workspace-back:hover { color: #285f49; }
.help-search-panel { margin-bottom: 1rem; padding: 1.2rem; border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; box-shadow: 0 4px 20px #1f4a3008; }
.help-search-form { display: grid; gap: .55rem; }
.help-search-form > label { color: #344c3e; font-size: .8rem; font-weight: 750; }
.help-search-form > div { display: flex; gap: .6rem; }
.help-search-form input { flex: 1; min-width: 0; padding: .7rem .8rem; border: 1px solid #dce5dd; border-radius: .5rem; background: #fff; color: #263d31; font: inherit; font-size: .82rem; }
.help-search-form .workspace-button { flex: none; padding: .7rem .9rem; }
.help-privacy-note { margin: .55rem 0 0; color: #859188; font-size: .66rem; }
.help-categories { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; }
.help-categories a { padding: .4rem .7rem; border: 1px solid #dfe8e0; border-radius: 2rem; background: #fff; color: #63796b; font-size: .68rem; font-weight: 700; text-decoration: none; }
.help-categories a:hover, .help-categories a[aria-current="page"] { border-color: #b7cfbb; background: #eaf5ec; color: #285f49; }
.help-article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .8rem; }
.help-article-card { display: flex; min-width: 0; flex-direction: column; padding: 1.05rem 1.15rem; border: 1px solid #e0e9e1; border-radius: .75rem; background: #fff; color: #294536; text-decoration: none; box-shadow: 0 4px 18px #1f4a3007; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.help-article-card:hover { transform: translateY(-2px); border-color: #b9d1bd; box-shadow: 0 8px 22px #1f4a3010; }
.help-article-category { color: #638171; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.help-article-card > strong { margin-top: .45rem; font-size: .92rem; line-height: 1.35; }
.help-article-card > p { margin: .45rem 0 1rem; color: #718078; font-size: .73rem; line-height: 1.5; }
.help-article-link { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; color: #356b4e; font-size: .69rem; font-weight: 750; }
.help-no-results { display: grid; justify-items: center; gap: .55rem; padding: 2.5rem 1.25rem; text-align: center; }
.help-no-results h2 { margin: 0; color: #294536; font-size: 1.1rem; }
.help-no-results p { max-width: 32rem; margin: 0 0 .45rem; color: #718078; font-size: .78rem; line-height: 1.55; }
.help-empty-icon { color: #59836a; font-size: 1.7rem; }
.help-diagram-panel { margin-bottom: 1rem; padding: 1.15rem; border: 1px solid #dce8df; border-radius: .85rem; background: linear-gradient(120deg, #fff, #f7fbf7); }
.help-diagram-panel > .workspace-eyebrow { margin-bottom: .8rem; }
.help-flow-diagram { display: flex; align-items: stretch; gap: .6rem; margin: 0; padding: 0; counter-reset: help-flow; list-style: none; }
.help-flow-diagram li { position: relative; display: flex; flex: 1 1 135px; align-items: center; justify-content: center; min-height: 68px; padding: .7rem .65rem .7rem 2rem; border: 1px solid #dfe9e0; border-radius: .6rem; background: #fff; color: #3d5b48; box-shadow: 0 3px 12px #1f4a3009, inset 0 1px 0 #ffffffb3; font-size: .7rem; font-weight: 700; line-height: 1.4; text-align: center; }
.help-flow-diagram li:nth-child(4n + 1) { --help-flow-accent: #417451; border-color: #cfe1d1; background: linear-gradient(145deg, #f5faf4, #eaf4eb); }
.help-flow-diagram li:nth-child(4n + 2) { --help-flow-accent: #3d7478; border-color: #c9dddc; background: linear-gradient(145deg, #f2f9f8, #e6f2f0); }
.help-flow-diagram li:nth-child(4n + 3) { --help-flow-accent: #936c35; border-color: #e8dcc3; background: linear-gradient(145deg, #fcf8ef, #f6efdf); }
.help-flow-diagram li:nth-child(4n) { --help-flow-accent: #5b6d99; border-color: #d5dced; background: linear-gradient(145deg, #f4f6fb, #e9edf7); }
.help-flow-diagram li::before { position: absolute; left: .55rem; display: grid; width: 1.15rem; height: 1.15rem; place-items: center; border-radius: 50%; background: var(--help-flow-accent, #397454); color: #fff; box-shadow: 0 2px 5px #1f4a3018; content: counter(help-flow); counter-increment: help-flow; font-size: .58rem; font-weight: 800; }
.help-flow-diagram li:not(:last-child)::after { position: absolute; right: -.58rem; z-index: 1; color: #6e9a79; content: "→"; font-size: .9rem; font-weight: 800; }
.help-article-content { padding: 1.35rem 1.5rem; border: 1px solid #e0e9e1; border-radius: .85rem; background: #fff; box-shadow: 0 4px 20px #1f4a3008; }
.help-article-content h2, .help-related-guides h2 { margin: 0 0 .8rem; color: #294536; font-size: 1.05rem; }
.help-article-markdown { color: #53675b; font-size: .84rem; line-height: 1.75; overflow-wrap: anywhere; }
.help-article-markdown > :first-child { margin-top: 0; }
.help-article-markdown > :last-child { margin-bottom: 0; }
.help-article-markdown p, .help-article-markdown ul, .help-article-markdown ol, .help-article-markdown blockquote, .help-article-markdown pre { margin: .75rem 0; }
.help-article-markdown h2, .help-article-markdown h3 { margin: 1.15rem 0 .45rem; color: #345441; line-height: 1.3; }
.help-article-markdown h2 { font-size: 1.05rem; }
.help-article-markdown h3 { font-size: .92rem; }
.help-article-markdown ul, .help-article-markdown ol { padding-left: 1.4rem; }
.help-article-markdown li + li { margin-top: .3rem; }
.help-article-markdown a { color: #2e6a4b; font-weight: 650; text-underline-offset: .15em; }
.help-article-markdown blockquote { padding: .2rem .9rem; border-left: 3px solid #9dbda4; color: #667b6d; }
.help-article-markdown pre { overflow-x: auto; padding: .85rem; border-radius: .55rem; background: #f3f7f3; font-size: .76rem; }
.help-article-markdown :not(pre) > code { padding: .12rem .3rem; border-radius: .25rem; background: #f0f5f0; font-size: .85em; }
.help-article-markdown img { display: block; max-width: 100%; height: auto; margin: 1rem auto; border: 1px solid #e0e9e1; border-radius: .65rem; }
.help-related-guides { margin-top: 1.25rem; }
.help-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .55rem; }
.help-related-grid a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .75rem .85rem; border: 1px solid #e2eae3; border-radius: .55rem; background: #fff; color: #356b4e; font-size: .72rem; font-weight: 700; text-decoration: none; }
.help-related-grid a:hover { border-color: #b7cfbb; background: #f7faf7; }
.help-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding: 1rem 1.15rem; border: 1px solid #e2eae3; border-radius: .75rem; background: #f9fbf9; }
.help-contact-panel strong { color: #345441; font-size: .79rem; }
.help-contact-panel p { margin: .2rem 0 0; color: #819087; font-size: .67rem; }
.admin-help-listing .admin-listing-actions { align-items: center; }
.admin-help-listing .admin-list-filters { margin-bottom: 1rem; }
.admin-help-table td small { display: block; margin-top: .25rem; color: #829087; font-size: .63rem; }
.admin-help-misses { margin-top: 1rem; }
.admin-help-form { display: grid; gap: 1rem; }
.admin-help-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.admin-help-form-fields > div { display: grid; align-content: start; gap: .35rem; }
.admin-help-form-fields label { color: #344c3e; font-size: .74rem; font-weight: 750; }
.admin-help-form-fields input, .admin-help-form-fields textarea { width: 100%; padding: .7rem .8rem; border: 1px solid #dce5dd; border-radius: .5rem; color: #263d31; font: inherit; font-size: .78rem; line-height: 1.5; }
.admin-help-form-fields textarea { resize: vertical; }
.admin-help-form-fields small { color: #849188; font-size: .65rem; }
.admin-help-field-wide { grid-column: 1 / -1; }
.admin-help-form .switch { margin-top: .15rem; }
.admin-help-form-actions { justify-content: flex-end; }
.help-editor-toolbar { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }
.help-editor-toolbar button { min-height: 34px; padding: .35rem .55rem; border: 1px solid #d5e0d7; border-radius: .4rem; background: #fff; color: #42684e; font: inherit; font-size: .67rem; font-weight: 700; cursor: pointer; }
.help-editor-toolbar button:hover, .help-editor-toolbar button:focus-visible { border-color: #9cbea4; background: #eff6ef; }
.admin-help-form-fields .help-editor-toolbar + textarea { min-height: 18rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; }
.admin-business-form { display: grid; gap: 1rem; }
.admin-business-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.admin-business-form-fields > div { display: grid; align-content: start; gap: .35rem; }
.admin-business-form-fields .admin-business-field-wide { grid-column: 1 / -1; }
.admin-business-form-fields label, .admin-business-features legend { color: #344c3e; font-size: .74rem; font-weight: 750; }
.admin-business-form-fields input, .admin-business-form-fields select { width: 100%; min-height: 42px; padding: .65rem .8rem; border: 1px solid #dce5dd; border-radius: .5rem; background: #fff; color: #263d31; font: inherit; font-size: .78rem; }
.admin-business-form-fields small { color: #849188; font-size: .65rem; line-height: 1.5; }
.admin-business-features { display: grid; gap: .75rem; margin: 0; padding: 1rem; border: 1px solid #e4ebe5; border-radius: .65rem; }
.admin-business-features legend { padding: 0 .35rem; }
.admin-business-form-actions { justify-content: flex-end; }
.help-image-tools { display: grid; gap: .35rem; margin-top: .65rem; padding: .8rem; border: 1px solid #e5ece5; border-radius: .55rem; background: #f8faf8; }
.help-image-tools > label { color: #344c3e; font-size: .7rem; font-weight: 750; }
.help-image-tools > div { display: flex; gap: .5rem; }
.help-image-tools input[type="text"] { flex: 1; min-width: 0; }
.help-image-tools button { flex: none; padding: .55rem .75rem; border: 1px solid #d5e0d7; border-radius: .45rem; background: #fff; color: #42684e; font: inherit; font-size: .7rem; font-weight: 700; cursor: pointer; }
.help-image-tools button:hover { background: #eff6ef; }
.help-image-tools button:disabled { opacity: .6; cursor: wait; }
.help-image-tools > small, #help-image-status { color: #849188; font-size: .64rem; }
#help-image-status:not(:empty) { color: #42684e; }
.admin-integration-demo { --demo-ink: #19382d; --demo-muted: #78877e; --demo-line: #e4ebe5; }
.admin-integration-demo .admin-listing-heading { margin-bottom: 1.2rem; }
.integration-demo-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 1.1rem; }
.integration-demo-grid .admin-panel { padding: 1.35rem; }
.integration-demo-grid .admin-panel h2 { margin: 0; color: var(--demo-ink); font-size: 1.08rem; letter-spacing: -.025em; }
.integration-demo-alert { margin-bottom: 1rem; padding: .95rem 1rem; border: 1px solid #e3e9e3; border-radius: .7rem; background: #f8faf8; color: #42584a; font-size: .73rem; line-height: 1.55; }
.integration-demo-alert strong { color: #294b38; font-size: .78rem; }
.integration-demo-alert p { margin: .35rem 0 0; }
.integration-demo-alert ul { margin: .35rem 0 0; padding-left: 1.2rem; }
.integration-demo-alert-error { border-color: #efc8c3; background: #fff7f6; color: #8d3930; }
.integration-demo-alert-error strong { color: #843a32; }
.integration-demo-alert-warning { border-color: #ead9b5; background: linear-gradient(120deg, #fffaf0, #fffdf8); }
.integration-demo-alert-success { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem 1rem; border-color: #c9dfce; background: linear-gradient(120deg, #f1f8f2, #f8fbf8); }
.integration-demo-alert-success p { color: #698073; }
.integration-demo-alert-success a { color: #2c6849; font-size: .72rem; font-weight: 750; text-underline-offset: .15em; }
.integration-demo-alert pre, .integration-demo-request pre { overflow-x: auto; margin: .65rem 0 0; padding: .7rem .8rem; border-radius: .5rem; background: #eef3ef; color: #355342; font-size: .68rem; line-height: 1.5; }
.integration-demo-alert-success pre { grid-column: 1 / -1; margin-top: .2rem; }
.integration-demo-form { display: grid; gap: .42rem; }
.integration-demo-form label { margin-top: .25rem; color: #344c3e; font-size: .72rem; font-weight: 750; }
.integration-demo-form label span { color: #89968d; font-weight: 500; }
.integration-demo-form input, .integration-demo-form textarea { width: 100%; padding: .67rem .75rem; border: 1px solid #dce5dd; border-radius: .5rem; color: #263d31; font: inherit; font-size: .76rem; line-height: 1.5; }
.integration-demo-form textarea { resize: vertical; }
.integration-demo-form input:focus, .integration-demo-form textarea:focus { border-color: #75a585; outline: 3px solid #75a58526; }
.integration-demo-form button { justify-self: start; margin-top: .45rem; }
.integration-demo-form button:disabled { opacity: .55; cursor: not-allowed; }
.integration-demo-walkthrough > .admin-eyebrow { margin: 0 0 .35rem; color: #638171; font-size: .64rem; font-weight: 800; letter-spacing: .14em; }
.integration-demo-steps { display: grid; gap: .9rem; margin: 1.1rem 0; padding: 0; list-style: none; }
.integration-demo-steps li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .65rem; align-items: start; }
.integration-demo-steps li > span { display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border: 1px solid #d2e3d5; border-radius: 50%; background: #eff7f0; color: #39704e; font-size: .7rem; font-weight: 800; }
.integration-demo-steps strong { color: #365341; font-size: .75rem; }
.integration-demo-steps p { margin: .2rem 0 0; color: #7b8a80; font-size: .68rem; line-height: 1.55; }
.integration-demo-steps code { color: #38644a; font-size: .94em; }
.integration-demo-request { padding-top: .85rem; border-top: 1px solid #edf1ed; }
.integration-demo-request > span { color: #87958b; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.integration-demo-request pre { margin-top: .45rem; }
.admin-integration-demo a:focus-visible, .admin-integration-demo button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
.integration-token-layout { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr); align-items: start; gap: 1rem; margin-bottom: 1rem; }
.integration-token-layout .admin-panel { min-width: 0; padding: 1.2rem; }
.integration-token-layout .admin-panel h2 { margin: 0; color: #29473c; font-size: 1rem; }
.integration-token-layout .admin-panel-description { margin: .55rem 0 .9rem; color: #718078; font-size: .72rem; line-height: 1.5; }
.integration-token-form { display: grid; gap: .45rem; }
.integration-token-form label { margin-top: .2rem; color: #344c3e; font-size: .7rem; font-weight: 750; }
.app-page .integration-token-form input, .app-page .integration-token-form select { min-height: 42px; padding: .6rem .7rem; border: 1px solid #d7e2d9; border-radius: .5rem; background: #fff; color: #2e4737; font: inherit; font-size: .75rem; }
.app-page .integration-token-form input:focus, .app-page .integration-token-form select:focus { border-color: #78a789; outline: 3px solid #76a78830; }
.integration-token-form .integration-token-demo-choice { display: flex; align-items: flex-start; gap: .55rem; margin-top: .5rem; line-height: 1.45; }
.app-page .integration-token-form .integration-token-demo-choice input { width: 1rem; min-width: 1rem; min-height: 1rem; margin: .1rem 0 0; padding: 0; accent-color: #28644e; }
.integration-token-field-help { color: #718078; font-size: .65rem; line-height: 1.45; }
.integration-token-form .admin-primary-action { justify-self: start; margin-top: .45rem; padding: .65rem .9rem; border: 1px solid #28644e; border-radius: .5rem; background: #28644e; color: #fff; font: inherit; font-size: .75rem; font-weight: 750; cursor: pointer; }
.integration-token-form .admin-primary-action:hover { background: #1d4e3b; }
.integration-token-field-error { color: #a64238; font-size: .65rem; }
.integration-token-steps { display: grid; gap: .65rem; margin: .8rem 0 1rem; padding-left: 1.35rem; color: #64746a; font-size: .7rem; line-height: 1.55; }
.integration-token-steps strong { color: #345441; }
.integration-token-steps code, .integration-token-guide code { color: #355d43; font-size: .92em; overflow-wrap: anywhere; }
.integration-token-guide .integration-demo-alert { margin: 0; font-size: .68rem; }
.integration-token-guide .integration-demo-alert ol { margin: .45rem 0 0; padding-left: 1.15rem; }
.integration-token-guide .integration-demo-alert li + li { margin-top: .25rem; }
.integration-token-guide .integration-demo-alert a, .admin-integration-tokens a:not(.admin-table-link):not(.admin-primary-action) { color: #2e6a4b; font-weight: 700; text-underline-offset: .15em; }
.integration-token-confirm-form { display: grid; justify-items: start; gap: .35rem; }
.integration-token-guide .integration-token-confirm-form { margin-top: .65rem; }
.integration-token-action-password { width: 100%; max-width: 190px; min-height: 34px; padding: .45rem .55rem; border: 1px solid #d7e2d9; border-radius: .45rem; background: #fff; color: #2e4737; font: inherit; font-size: .68rem; }
.integration-token-action-password:focus { border-color: #78a789; outline: 3px solid #76a78830; }
.integration-token-secret textarea { display: block; width: 100%; margin-top: .65rem; padding: .7rem; border: 1px solid #c9dfce; border-radius: .5rem; background: #fff; color: #274c37; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; resize: vertical; }
.integration-token-filters { margin-top: 1rem; }
.integration-token-table { min-width: 1040px; }
.integration-token-table td > strong, .integration-token-table td > small { display: block; }
.integration-token-business-slug, .integration-token-id, .integration-token-revoked-time { margin-top: .2rem; color: #89968d; font-size: .62rem; overflow-wrap: anywhere; }
.integration-token-id { max-width: 180px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.integration-token-demo-badge { display: inline-flex; margin-top: .35rem; padding: .2rem .45rem; border: 1px solid #ead9b5; border-radius: 1rem; background: #fff8e9; color: #795b31; font-size: .58rem; font-weight: 750; }
.integration-token-table form { margin: 0; }
.integration-token-table .admin-row-action { min-height: 30px; }
.integration-token-secret.integration-demo-alert-success { display: block; }
.integration-token-secret > p { margin: .35rem 0 0; color: #698073; font-size: .7rem; line-height: 1.5; }
.admin-roadmap-horizon { margin-top: 1rem; }
.admin-roadmap-reference { display: block; margin-bottom: .2rem; color: #829087; font-size: .63rem; font-weight: 750; letter-spacing: .06em; }
.admin-roadmap-description { min-width: 14rem; max-width: 34rem; white-space: normal; }
.admin-roadmap .admin-row-actions { min-width: 0; }
.admin-roadmap .admin-row-action:disabled { opacity: .4; cursor: not-allowed; }
.admin-roadmap-form { margin-top: 1rem; }
.admin-roadmap-form-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .45fr); gap: 1rem; }
.admin-roadmap-form-fields > div { display: grid; gap: .38rem; }
.admin-roadmap-form-fields label { color: #52685a; font-size: .72rem; font-weight: 750; }
.admin-roadmap-form-fields input, .admin-roadmap-form-fields select, .admin-roadmap-form-fields textarea { width: 100%; padding: .7rem .75rem; border: 1px solid #dce6dd; border-radius: .5rem; background: #fff; color: #273d30; font: inherit; }
.admin-roadmap-form-fields textarea { resize: vertical; }
.admin-roadmap-field-wide { grid-column: 1 / -1; }
@media (max-width: 700px) {
    .admin-roadmap-form-fields { grid-template-columns: 1fr; }
}
.admin-todos .admin-listing-heading { margin-bottom: 1rem; }
.admin-todo-create { margin-bottom: 1.3rem; }
.admin-todo-create form { margin-top: .9rem; }
.admin-todo-create-fields { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1fr) 7rem auto; align-items: end; gap: .75rem; }
.admin-todo-create-fields > div, .admin-todo-edit-fields > div { display: grid; gap: .35rem; }
.admin-todo-create-fields label, .admin-todo-edit-fields label { color: #52685a; font-size: .68rem; font-weight: 750; }
.admin-todo-create-fields label span { color: #8a978e; font-weight: 500; }
.admin-todo-create-fields input, .admin-todo-edit-fields input { min-width: 0; width: 100%; min-height: 38px; padding: .55rem .65rem; border: 1px solid #dce6dd; border-radius: .45rem; background: #fff; color: #273d30; font: inherit; font-size: .76rem; }
.admin-todo-progress-field > div { display: flex; align-items: center; gap: .4rem; }
.admin-todo-progress-field > div span { color: #718078; font-size: .75rem; }
.admin-todo-create-fields .admin-primary-action, .admin-todo-item .admin-primary-action { justify-content: center; min-height: 38px; padding: .55rem .8rem; border: 1px solid #28644e; border-radius: .5rem; background: #28644e; color: #fff; font-size: .72rem; font-weight: 750; cursor: pointer; }
.admin-todo-create-fields .admin-primary-action:hover, .admin-todo-item .admin-primary-action:hover { background: #1d4e3b; }
.admin-todo-list { display: grid; gap: .65rem; margin-top: 1rem; }
.admin-todo-section-heading { display: flex; align-items: center; gap: .55rem; margin: .2rem 0; }
.admin-todo-section-heading h2 { margin: 0; color: #29473c; font-size: 1rem; }
.admin-todo-section-heading > span { display: inline-flex; min-width: 1.35rem; height: 1.35rem; align-items: center; justify-content: center; padding: 0 .35rem; border-radius: 1rem; background: #edf4ee; color: #4a7055; font-size: .65rem; font-weight: 750; }
.admin-todo-item { position: relative; padding: 1rem 1.1rem; }
.admin-todo-item > form:first-child { display: grid; gap: .75rem; }
.admin-todo-item-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.admin-todo-complete-toggle { display: inline-flex; align-items: center; gap: .5rem; color: #52685a; font-size: .73rem; font-weight: 700; cursor: pointer; }
.admin-todo-complete-toggle input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: #34704c; }
.admin-todo-edit-fields { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1.3fr) 7rem; gap: .75rem; }
.admin-todo-progress-display { display: grid; grid-template-columns: minmax(5rem, 1fr) auto; align-items: center; gap: .3rem .6rem; }
.admin-todo-progress-display progress { width: 100%; height: .45rem; accent-color: #34704c; }
.admin-todo-progress-display > span { color: #52685a; font-size: .67rem; font-weight: 700; }
.admin-todo-progress-display > small { grid-column: 1 / -1; color: #87948b; font-size: .62rem; }
.admin-todo-delete-form { display: flex; justify-content: flex-end; margin-top: .35rem; }
.admin-todo-delete-form .admin-row-action { min-height: 27px; padding: .3rem .45rem; }
.admin-todo-item-completed { background: #f9fbf9; }
.admin-todo-item-completed .admin-todo-item-heading > .admin-primary-action { background: #fff; color: #396448; }
.admin-todo-item-completed .admin-todo-edit-fields input[name="title"] { color: #718078; }
.admin-todo-empty { padding: 1.2rem; color: #78877e; font-size: .76rem; }
@media (max-width: 800px) {
    .admin-todo-create-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .admin-todo-edit-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .admin-todo-create-fields, .admin-todo-edit-fields { grid-template-columns: 1fr; }
}
.admin-integration-tokens a:focus-visible, .admin-integration-tokens button:focus-visible { outline: 3px solid #c4873b; outline-offset: 3px; }
@media (max-width: 700px) {
    .workspace-header-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
    .quote-form-header-actions { align-self: flex-start; flex-wrap: wrap; }
    .help-search-form > div { align-items: stretch; flex-direction: column; }
    .help-search-form .workspace-button { width: 100%; }
    .help-flow-diagram { align-items: stretch; flex-direction: column; gap: .45rem; }
    .help-flow-diagram li { flex: none; justify-content: flex-start; min-height: 54px; text-align: left; }
    .help-flow-diagram li:not(:last-child)::after { top: auto; right: auto; bottom: -.57rem; left: 50%; content: "↓"; transform: translateX(-50%); }
    .help-contact-panel { align-items: stretch; flex-direction: column; }
    .help-contact-panel .workspace-button { width: 100%; }
    .admin-help-form-fields { grid-template-columns: 1fr; }
    .admin-business-form-fields { grid-template-columns: 1fr; }
    .admin-help-field-wide { grid-column: auto; }
    .admin-business-form-fields .admin-business-field-wide { grid-column: auto; }
    .help-image-tools > div { align-items: stretch; flex-direction: column; }
    .help-image-tools button { width: 100%; }
    .integration-demo-grid { grid-template-columns: 1fr; }
    .integration-token-layout { grid-template-columns: 1fr; }
    .integration-demo-alert-success { grid-template-columns: 1fr; align-items: start; }
    .integration-demo-alert-success pre { grid-column: auto; }
}
