body.ftcp-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.ftcp-shell.ftcp-workspace {
    --ftcp-forest: #184f43;
    --ftcp-forest-hover: #286b57;
    --ftcp-ink: #173e33;
    --ftcp-text: #426458;
    --ftcp-border: #cbdcd1;
    --ftcp-canvas: #edf3ef;
    --ftcp-dashboard-width: 1116px;
    background: var(--ftcp-canvas);
    color: var(--ftcp-ink);
    display: flow-root;
    flex: 1 0 auto;
}

.ftcp-workspace .ftcp-top { background: var(--ftcp-forest); }
.ftcp-workspace .ftcp-top > div {
    width: min(var(--ftcp-dashboard-width), calc(100% - 48px));
    margin: 0 auto;
    min-height: 72px;
    gap: 22px;
}
.ftcp-workspace .ftcp-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 700 27px/1 Georgia, serif;
    letter-spacing: 0;
    white-space: nowrap;
}
.ftcp-workspace .ftcp-brand svg { width: 32px; height: 32px; }
.ftcp-workspace .ftcp-brand span,
.ftcp-workspace .ftcp-top a { color: #fafcf8; }
.ftcp-workspace .ftcp-top nav { gap: 4px; }
.ftcp-workspace .ftcp-top nav a {
    padding: 10px 13px;
    font-size: 13px;
    border-radius: 7px;
}
.ftcp-workspace .ftcp-top nav a[aria-current="page"],
.ftcp-workspace .ftcp-top nav a:hover {
    background: var(--ftcp-forest-hover);
    border-color: #6a9987;
}
.ftcp-workspace .ftcp-account-links {
    border-left: 1px solid #6a9987;
    align-items: center;
    gap: 18px;
    padding-left: 20px;
    font-size: 12px;
    min-height: 40px;
}
.ftcp-workspace .ftcp-account-links a {
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    gap: 4px;
}
.ftcp-workspace .ftcp-account-links a[aria-current="page"] { font-weight: 700; }
.ftcp-workspace .ftcp-top a:focus-visible { outline: 2px solid #f3e2b8; }

.ftcp-workspace .ftcp-dashboard-main {
    width: min(var(--ftcp-dashboard-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 63px 0 100px;
}
.ftcp-workspace .ftcp-dashboard-main .ftcp-page-heading { margin: 0 0 44px; }
.ftcp-workspace .ftcp-dashboard-main h1 {
    margin: 0 0 10px;
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 800;
    color: var(--ftcp-ink);
}
.ftcp-workspace .ftcp-dashboard-main .ftcp-page-heading p,
.ftcp-workspace .ftcp-dashboard-main .ftcp-eyebrow { color: var(--ftcp-text); }
.ftcp-workspace .ftcp-dashboard-main .ftcp-page-heading p { font-size: 22px; }
.ftcp-workspace .ftcp-dashboard-main .ftcp-eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    margin: 0 0 17px;
}
.ftcp-workspace .ftcp-dashboard { gap: 18px; }
.ftcp-workspace .ftcp-dashboard-card {
    display: block;
    color: var(--ftcp-ink);
    border-color: var(--ftcp-border);
    border-radius: 18px;
    text-decoration: none;
    min-height: 280px;
    padding: 22px 21px 61px;
    transition: border-color .15s ease, background-color .15s ease;
}
.ftcp-workspace .ftcp-dashboard-card:hover {
    background: #fbfdf9;
    border-color: #6a9987;
}
.ftcp-workspace .ftcp-dashboard-card:focus-visible { outline-color: var(--ftcp-forest); }
.ftcp-workspace .ftcp-dashboard-card h2 {
    font-size: 27px;
    margin: 0 0 12px;
    color: var(--ftcp-ink);
}
.ftcp-workspace .ftcp-dashboard-card p {
    color: var(--ftcp-text);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    max-width: 290px;
}
.ftcp-workspace .ftcp-dashboard-card > .ftcp-icon {
    width: 61px;
    height: 61px;
    margin: 0 0 14px;
    background: #e2f0e8;
    color: var(--ftcp-forest);
}
.ftcp-workspace .ftcp-dashboard-card > .ftcp-icon--chat { background: #e8ece0; }
.ftcp-workspace .ftcp-dashboard-card > .ftcp-icon--receipt { background: #f3eddf; }
.ftcp-workspace .ftcp-dashboard-card > .ftcp-icon svg { width: 30px; height: 30px; }
.ftcp-workspace .ftcp-dashboard-card .ftcp-arrow {
    right: 20px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    font-size: 23px;
    border-color: var(--ftcp-border);
    color: var(--ftcp-forest);
}

@media (max-width: 980px) {
    .ftcp-workspace .ftcp-top > div { flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; }
    .ftcp-workspace .ftcp-top nav { margin-left: auto; }
    .ftcp-workspace .ftcp-account-links { margin-left: auto; }
}
@media (max-width: 760px) {
    .ftcp-workspace .ftcp-top > div,
    .ftcp-workspace .ftcp-dashboard-main { width: calc(100% - 32px); }
    .ftcp-workspace .ftcp-top nav { margin: 0; order: 3; width: 100%; }
    .ftcp-workspace .ftcp-account-links { border-left: 0; padding-left: 0; gap: 14px; }
    .ftcp-workspace .ftcp-account-links > a:first-child { display: inline-flex; }
    .ftcp-workspace .ftcp-dashboard-main { padding-top: 36px; }
    .ftcp-workspace .ftcp-dashboard-main .ftcp-page-heading { margin-bottom: 27px; }
    .ftcp-workspace .ftcp-dashboard-main .ftcp-page-heading p { font-size: 18px; }
    .ftcp-workspace .ftcp-dashboard-card { min-height: 204px; padding: 17px 18px 51px; }
    .ftcp-workspace .ftcp-dashboard-card h2 { font-size: 23px; }
    .ftcp-workspace .ftcp-dashboard-card p { font-size: 16px; }
    .ftcp-workspace .ftcp-dashboard-card > .ftcp-icon { width: 49px; height: 49px; margin-bottom: 9px; }
    .ftcp-workspace .ftcp-dashboard-card > .ftcp-icon svg { width: 25px; height: 25px; }
}
@media (max-width: 440px) {
    .ftcp-workspace .ftcp-top > div { align-items: start; }
    .ftcp-workspace .ftcp-brand { width: 100%; }
    .ftcp-workspace .ftcp-account-links { margin: 0; }
    .ftcp-workspace .ftcp-top nav a { padding: 9px 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .ftcp-workspace .ftcp-dashboard-card { transition: none; }
}

.ftcp-workspace .ftcp-company-detail {
    width: min(var(--ftcp-dashboard-width), calc(100% - 48px));
    margin: 34px auto 100px;
}
.ftcp-company-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 24px;
    margin-bottom: 18px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--ftcp-border);
}
.ftcp-company-toolbar__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
    gap: 6px 10px;
}
.ftcp-company-toolbar__title h1 {
    margin: 0;
    color: var(--ftcp-ink);
    font: 700 clamp(20px, 3vw, 24px)/1.2 Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
}
.ftcp-company-toolbar__package {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid #a5c2b3;
    border-radius: 3px;
    background: #edf5ee;
    color: var(--ftcp-ink);
    font: 800 13px/1 Arial, Helvetica, sans-serif;
}
.ftcp-company-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.ftcp-company-toolbar .ftcp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    padding: 7px 12px;
    border-radius: 8px;
    font: 700 13px/1.25 Arial, Helvetica, sans-serif;
    text-align: center;
}
.ftcp-company-toolbar .ftcp-btn svg { width: 13px; height: 13px; flex: none; }
.ftcp-company-toolbar .ftcp-company-toolbar__preview {
    min-width: 103px;
    border-color: #a04528;
    background: #a04528;
    color: #fff !important;
}
.ftcp-company-toolbar .ftcp-company-toolbar__preview:hover { background: #843720; }
.ftcp-company-toolbar .ftcp-company-toolbar__edit {
    min-width: 166px;
    border-color: #83a99a;
    background: #fff;
    color: var(--ftcp-ink) !important;
}
.ftcp-company-toolbar .ftcp-company-toolbar__edit:hover { background: #e4efe8; }
.ftcp-company-toolbar .ftcp-company-toolbar__upgrade {
    min-width: 160px;
    border-color: var(--ftcp-forest);
    background: var(--ftcp-forest);
    color: #fff !important;
}
.ftcp-company-toolbar .ftcp-company-toolbar__upgrade:hover { background: var(--ftcp-forest-hover); }
.ftcp-company-toolbar .ftcp-btn:focus-visible {
    outline: 2px solid var(--ftcp-forest);
    outline-offset: 2px;
}
@media (max-width: 800px) {
    .ftcp-company-toolbar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .ftcp-workspace .ftcp-company-detail { width: calc(100% - 32px); margin-top: 24px; }
    .ftcp-company-toolbar__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ftcp-company-toolbar .ftcp-btn { min-width: 0; min-height: 44px; }
    .ftcp-company-toolbar .ftcp-company-toolbar__upgrade { grid-column: 1 / -1; }
}
