:root {
    --hpj-workspace-sidebar-width: 284px;
    --hpj-workspace-sidebar-collapsed-width: 80px;
    --hpj-workspace-topbar-height: 76px;
    --hpj-workspace-ink: #082238;
    --hpj-workspace-muted: #657686;
    --hpj-workspace-line: #dce7e5;
    --hpj-workspace-surface: #ffffff;
    --hpj-workspace-soft: #eef7f5;
    --hpj-workspace-primary: #008a70;
    --hpj-workspace-primary-dark: #006b58;
}

html,
body.hpj-workspace-body {
    min-height: 100%;
}

.hpj-workspace-skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 1100;
    padding: 10px 14px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    background: var(--hpj-workspace-primary-dark);
    transform: translateY(-160%);
    transition: transform .15s ease;
}

.hpj-workspace-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.hpj-workspace-body :focus-visible {
    outline: 3px solid rgba(0, 138, 112, .38);
    outline-offset: 2px;
}

body.hpj-workspace-body {
    margin: 0;
    background: #f4f8fb;
    color: var(--hpj-workspace-ink);
}

.hpj-workspace-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
}

.hpj-workspace-symbols symbol,
.hpj-workspace-shell svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hpj-workspace-symbols symbol[id^="hpj-ws-mobile-"] path {
    fill: currentColor;
    fill-rule: evenodd;
    clip-rule: evenodd;
    stroke: none;
}

.hpj-workspace-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

.hpj-workspace-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas:
        "brand"
        "context"
        "navigation";
    width: var(--hpj-workspace-sidebar-width);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    background: var(--hpj-workspace-surface);
    border-right: 1px solid var(--hpj-workspace-line);
    box-shadow: 10px 0 30px rgba(17, 50, 63, .045);
    transition: width .22s ease, transform .22s ease;
}

.hpj-workspace-sidebar__brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--hpj-workspace-topbar-height);
    padding: 14px 17px 13px 22px;
    border-bottom: 1px solid var(--hpj-workspace-line);
}

.hpj-workspace-sidebar__brand > a {
    display: flex;
    align-items: center;
    min-width: 0;
}

.hpj-workspace-sidebar__brand img {
    display: block;
    width: auto;
    max-width: 184px;
    height: 39px;
    object-fit: contain;
    object-position: left center;
}

.hpj-workspace-sidebar__fallback {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-weight: 900;
    border-radius: 13px;
    background: linear-gradient(135deg, #00795f, #23b6a1);
}

.hpj-workspace-sidebar__brand button,
.hpj-workspace-mobile-toggle,
.hpj-workspace-icon-action {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #3f5964;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
}

.hpj-workspace-sidebar__brand button:hover,
.hpj-workspace-mobile-toggle:hover,
.hpj-workspace-icon-action:hover {
    color: var(--hpj-workspace-primary-dark);
    border-color: #cde6e0;
    background: var(--hpj-workspace-soft);
}

.hpj-workspace-sidebar__brand button svg,
.hpj-workspace-mobile-toggle svg,
.hpj-workspace-icon-action svg {
    width: 22px;
    height: 22px;
}

.hpj-workspace-sidebar__brand button svg {
    transition: transform .22s ease;
}

.hpj-workspace-switcher {
    position: relative;
    z-index: 30;
    grid-area: context;
    min-width: 0;
    margin: 16px 14px 9px;
}

.hpj-workspace-sidebar__context {
    position: relative;
    grid-area: context;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    width: calc(100% - 28px);
    margin: 16px 14px 9px;
    padding: 11px;
    overflow: hidden;
    border: 1px solid #d6e8e4;
    border-radius: 15px;
    background: linear-gradient(135deg, #f4faf8, #f8fbfb);
    box-shadow: 0 6px 18px rgba(17, 67, 63, .035);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.hpj-workspace-switcher > .hpj-workspace-sidebar__context {
    width: 100%;
    margin: 0;
    color: inherit;
    font: inherit;
    text-align: left;
}

.hpj-workspace-sidebar__context.is-selectable {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    cursor: pointer;
}

.hpj-workspace-sidebar__context.is-selectable:hover,
.hpj-workspace-sidebar__context.is-selectable:focus-within {
    border-color: #b8dad2;
    background: linear-gradient(135deg, #edf8f5, #f7fbfa);
    box-shadow: 0 8px 22px rgba(17, 67, 63, .07);
}

.hpj-workspace-sidebar__context > img,
.hpj-workspace-sidebar__context > .hpj-workspace-sidebar__context-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    object-fit: contain;
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hpj-workspace-primary-dark), #16aa90);
    box-shadow: 0 5px 12px rgba(0, 107, 88, .16);
}

.hpj-workspace-sidebar__context > img.is-portrait {
    object-fit: cover;
}

.hpj-workspace-sidebar__context > img.is-logo {
    padding: 4px;
    object-fit: contain;
    background: #fff;
}

.hpj-workspace-sidebar__context-avatar--icon svg {
    width: 22px;
    height: 22px;
}

.hpj-workspace-sidebar__context > div,
.hpj-workspace-sidebar__context-copy {
    min-width: 0;
    margin: 0;
    line-height: 1.15;
}

.hpj-workspace-sidebar__context small,
.hpj-workspace-sidebar__context strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpj-workspace-sidebar__context small {
    margin-bottom: 5px;
    color: var(--hpj-workspace-muted);
    font-size: .71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.hpj-workspace-sidebar__context strong {
    font-size: .94rem;
}

.hpj-workspace-sidebar__context-chevron {
    width: 17px;
    height: 17px;
    color: #526d76;
    transform: rotate(90deg);
    pointer-events: none;
}

.hpj-workspace-switcher.is-open .hpj-workspace-sidebar__context-chevron {
    transform: rotate(270deg);
}

.hpj-workspace-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    width: max(100%, 280px);
    max-width: min(320px, calc(100vw - 24px));
    max-height: min(520px, calc(100dvh - 150px));
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #bdd3ce transparent;
    border: 1px solid #d4e5e1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(3, 29, 39, .2);
}

.hpj-workspace-switcher__menu[hidden] {
    display: none;
}

.hpj-workspace-switcher__menu p {
    margin: 9px 10px 5px;
    color: #778b96;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.hpj-workspace-switcher__menu p:first-child {
    margin-top: 3px;
}

.hpj-workspace-switcher__option {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 7px 9px;
    color: #38515e;
    text-align: left;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.hpj-workspace-switcher__option:hover,
.hpj-workspace-switcher__option:focus-visible {
    color: var(--hpj-workspace-primary-dark);
    border-color: #d4e8e3;
    background: #f0f8f6;
    outline: 0;
}

.hpj-workspace-switcher__option.is-active {
    color: #006f5a;
    border-color: #c5e3dc;
    background: linear-gradient(90deg, #e3f5f0, #f1faf7);
}

.hpj-workspace-switcher__option > img,
.hpj-workspace-switcher__initial,
.hpj-workspace-switcher__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    font-weight: 900;
    border: 1px solid #d4e7e2;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--hpj-workspace-primary-dark), #16aa90);
}

.hpj-workspace-switcher__option > img.is-portrait {
    object-fit: cover;
}

.hpj-workspace-switcher__option > img.is-logo {
    padding: 4px;
    object-fit: contain;
    background: #fff;
}

.hpj-workspace-switcher__icon {
    color: #00745f;
    background: #e8f5f2;
}

.hpj-workspace-switcher__icon svg {
    width: 21px;
    height: 21px;
}

.hpj-workspace-switcher__copy {
    min-width: 0;
}

.hpj-workspace-switcher__copy strong,
.hpj-workspace-switcher__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpj-workspace-switcher__copy strong {
    color: var(--hpj-workspace-ink);
    font-size: .84rem;
}

.hpj-workspace-switcher__copy small {
    margin-top: 3px;
    color: #70838d;
    font-size: .7rem;
}

.hpj-workspace-switcher__check {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    border-radius: 50%;
    background: var(--hpj-workspace-primary);
    opacity: 0;
}

.hpj-workspace-switcher__option.is-active .hpj-workspace-switcher__check {
    opacity: 1;
}

.hpj-workspace-sidebar__nav {
    grid-area: navigation;
    min-height: 0;
    padding: 5px 12px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #bdd3ce transparent;
}

.hpj-workspace-sidebar__nav::-webkit-scrollbar {
    width: 6px;
}

.hpj-workspace-sidebar__nav::-webkit-scrollbar-track {
    background: transparent;
}

.hpj-workspace-sidebar__nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #bdd3ce;
}

.hpj-workspace-sidebar__nav::-webkit-scrollbar-thumb:hover {
    background: #91b7af;
}

.hpj-workspace-sidebar__nav section + section {
    margin-top: 22px;
}

.hpj-workspace-sidebar__nav.is-dense section + section {
    margin-top: 16px;
}

.hpj-workspace-sidebar__nav .hpj-workspace-nav-group + .hpj-workspace-nav-group {
    margin-top: 6px;
}

.hpj-workspace-sidebar__nav p {
    margin: 0 11px 7px;
    color: #80909e;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.hpj-workspace-nav-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 34px;
    margin: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #718493;
    padding: 7px 11px;
    cursor: pointer;
    font: 800 .7rem/1.15 "Inter", sans-serif;
    letter-spacing: .075em;
    text-align: left;
    text-transform: uppercase;
    transition: color .15s ease, background .15s ease;
}

.hpj-workspace-nav-group__toggle:hover,
.hpj-workspace-nav-group__toggle:focus-visible {
    color: var(--hpj-workspace-primary-dark);
    background: #f0f7f6;
}

.hpj-workspace-nav-group__toggle:focus-visible {
    outline: 3px solid rgba(0, 127, 111, .2);
    outline-offset: 1px;
}

.hpj-workspace-nav-group__toggle > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpj-workspace-nav-group__toggle > i {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin: -3px 2px 0 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .16s ease, margin .16s ease;
}

.hpj-workspace-nav-group.is-expanded > .hpj-workspace-nav-group__toggle {
    color: #47606d;
}

.hpj-workspace-nav-group.is-expanded > .hpj-workspace-nav-group__toggle > i {
    margin-top: 3px;
    transform: rotate(225deg);
}

.hpj-workspace-nav-group__items {
    display: grid;
}

.hpj-workspace-sidebar__nav a,
.hpj-workspace-sidebar__logout {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    margin: 2px 0;
    padding: 8px 12px;
    overflow: hidden;
    color: #4b606f;
    font-size: .91rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 12px;
}

.hpj-workspace-sidebar__logout-form {
    margin: 10px 0 0;
}

.hpj-workspace-sidebar__logout {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.hpj-workspace-sidebar__nav.is-dense a {
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: .87rem;
}

.hpj-workspace-sidebar__nav a > span,
.hpj-workspace-sidebar__logout > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hpj-workspace-sidebar__nav a svg,
.hpj-workspace-sidebar__logout svg {
    box-sizing: border-box;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 6px;
    border: 1px solid #deebe8;
    border-radius: 10px;
    background: #f4f8f8;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.hpj-workspace-sidebar__nav a:hover,
.hpj-workspace-sidebar__logout:hover {
    color: var(--hpj-workspace-primary-dark);
    background: #f0f7f6;
}

.hpj-workspace-sidebar__nav a:hover svg,
.hpj-workspace-sidebar__logout:hover svg {
    border-color: #c6e0da;
    background: #e9f5f2;
    transform: translateY(-1px);
}

.hpj-workspace-sidebar__nav a.is-active {
    color: #006f5a;
    background: linear-gradient(90deg, #dff3ee, #edf8f5);
    border-radius: 0 12px 12px 0;
    box-shadow: inset 3px 0 0 var(--hpj-workspace-primary);
}

.hpj-workspace-sidebar__nav a.is-active svg {
    border-color: #bcded6;
    background: #e2f4ef;
}

.hpj-workspace-sidebar__mode-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0 0 5px;
    padding: 7px 10px;
    color: #4b606f;
    border-radius: 12px;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}

.hpj-workspace-sidebar__mode-toggle:hover,
.hpj-workspace-sidebar__mode-toggle:focus-within {
    color: var(--hpj-workspace-primary-dark);
    background: #f0f7f6;
}

.hpj-workspace-sidebar__mode-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.hpj-workspace-sidebar__mode-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.hpj-workspace-sidebar__mode-copy strong,
.hpj-workspace-sidebar__mode-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpj-workspace-sidebar__mode-copy strong {
    font-size: .84rem;
    line-height: 1.2;
}

.hpj-workspace-sidebar__mode-copy small {
    margin-top: 2px;
    color: #748793;
    font-size: .68rem;
    line-height: 1.15;
}

.hpj-workspace-sidebar__mode-switch {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 22px;
    border: 1px solid #bdcfcc;
    border-radius: 999px;
    background: #dfe9e7;
    transition: border-color .18s ease, background .18s ease;
}

.hpj-workspace-sidebar__mode-switch::after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    content: "";
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(8, 34, 56, .2);
    transition: transform .18s ease;
}

.hpj-workspace-sidebar__mode-toggle input:checked + .hpj-workspace-sidebar__mode-copy + .hpj-workspace-sidebar__mode-switch {
    border-color: var(--hpj-workspace-primary);
    background: var(--hpj-workspace-primary);
}

.hpj-workspace-sidebar__mode-toggle input:checked + .hpj-workspace-sidebar__mode-copy + .hpj-workspace-sidebar__mode-switch::after {
    transform: translateX(16px);
}

.hpj-workspace-sidebar__mode-toggle input:focus-visible + .hpj-workspace-sidebar__mode-copy + .hpj-workspace-sidebar__mode-switch {
    outline: 3px solid rgba(0, 138, 112, .3);
    outline-offset: 2px;
}

.hpj-workspace-stage {
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: var(--hpj-workspace-sidebar-width);
    transition: margin-left .22s ease;
}

.hpj-workspace-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, auto);
    gap: 22px;
    align-items: center;
    min-height: var(--hpj-workspace-topbar-height);
    padding: 10px clamp(18px, 2.2vw, 34px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--hpj-workspace-line);
    backdrop-filter: blur(14px);
}

.hpj-workspace-topbar__start,
.hpj-workspace-topbar__actions,
.hpj-workspace-account {
    display: flex;
    align-items: center;
}

.hpj-public-workspace-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
}

.hpj-public-workspace-shell .hpj-workspace-stage,
.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-stage {
    margin-left: 0;
}

.hpj-public-workspace-shell .hpj-workspace-sidebar,
.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar {
    width: var(--hpj-workspace-sidebar-width);
    transform: translateX(-102%);
    box-shadow: 18px 0 50px rgba(3, 29, 39, .22);
}

.hpj-public-workspace-shell.is-menu-open .hpj-workspace-sidebar {
    transform: translateX(0);
}

.hpj-public-workspace-shell .hpj-workspace-mobile-toggle {
    display: inline-grid;
}

.hpj-public-workspace-shell .hpj-workspace-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1035;
    display: block;
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: rgba(5, 29, 36, .48);
    transition: opacity .2s ease, visibility .2s ease;
}

.hpj-public-workspace-shell.is-menu-open .hpj-workspace-backdrop {
    visibility: visible;
    opacity: 1;
}

body.hpj-public-workspace-body.hpj-workspace-menu-open {
    overflow: hidden;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__brand {
    padding-right: 17px;
    padding-left: 22px;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__brand > a,
.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__brand img {
    display: flex !important;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__brand button svg {
    transform: rotate(180deg);
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__context {
    display: grid;
    justify-content: initial;
    margin: 16px 14px 9px;
    padding: 11px;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__context div,
.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-nav-group__toggle,
.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__nav a span {
    display: block;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-nav-group__toggle {
    display: flex;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__nav {
    padding-right: 12px;
    padding-left: 12px;
}

.hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar__nav a {
    justify-content: flex-start;
    padding-right: 12px;
    padding-left: 12px;
}

.hpj-public-workspace-topbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.hpj-public-workspace-topbar__link,
.hpj-public-workspace-topbar__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    color: var(--hpj-workspace-primary-dark);
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
}

.hpj-public-workspace-topbar__link:hover,
.hpj-public-workspace-topbar__link:focus-visible {
    color: var(--hpj-workspace-primary-dark);
    background: var(--hpj-workspace-soft);
}

.hpj-public-workspace-topbar__primary {
    color: #fff;
    background: var(--hpj-workspace-primary);
}

.hpj-public-workspace-topbar__primary:hover,
.hpj-public-workspace-topbar__primary:focus-visible {
    color: #fff;
    background: var(--hpj-workspace-primary-dark);
}

.hpj-public-workspace-content {
    container-name: cb2-public-workspace;
    container-type: inline-size;
    padding: 0;
}

.hpj-establishment-workspace-shell {
    --hpj-workspace-soft: color-mix(in srgb, var(--hpj-workspace-primary) 9%, #fff);
}

.hpj-establishment-workspace-sidebar__brand-logo {
    max-width: 176px !important;
    height: 48px !important;
    padding: 4px 8px;
    object-position: left center !important;
    border-radius: 10px;
    background: var(--hpj-workspace-logo-bg, #fff);
}

.hpj-establishment-workspace-sidebar__attribution {
    padding: 10px 18px 16px;
    color: var(--hpj-workspace-muted);
    font-size: .72rem;
    font-weight: 750;
    text-align: center;
    border-top: 1px solid var(--hpj-workspace-line);
}

.hpj-establishment-workspace-topbar {
    border-bottom-color: color-mix(in srgb, var(--hpj-workspace-primary) 18%, #dce7e5);
}

.hpj-establishment-topbar-quick-reservation {
    border: 1px solid color-mix(in srgb, var(--hpj-workspace-primary) 28%, #d7e4e1);
    background: var(--hpj-workspace-soft);
    white-space: nowrap;
}

.hpj-establishment-workspace-content .cb2-page-main {
    padding-bottom: clamp(32px, 6vw, 76px);
}

.hpj-public-workspace-content > .cb2-home,
.hpj-public-workspace-content > .cb2-page {
    min-height: calc(100vh - var(--hpj-workspace-topbar-height));
}

.hpj-workspace-topbar__start,
.hpj-workspace-page-title {
    min-width: 0;
}

.hpj-workspace-page-title {
    flex: 1 1 auto;
    max-width: 100%;
    overflow: hidden;
}

.hpj-workspace-mobile-toggle {
    display: none;
    margin-right: 9px;
}

.hpj-workspace-page-title span,
.hpj-workspace-page-title strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpj-workspace-page-title span {
    margin-bottom: 4px;
    color: var(--hpj-workspace-muted);
    font-size: .71rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hpj-workspace-page-title strong {
    font-size: 1.05rem;
}

.hpj-workspace-topbar__actions {
    justify-content: flex-end;
    gap: 5px;
    min-width: 0;
}

.hpj-workspace-live-summary {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-right: 5px;
    padding: 7px 10px;
    color: #526a75;
    font-size: .75rem;
    white-space: nowrap;
    border: 1px solid #dbe9e6;
    border-radius: 999px;
    background: #f5faf9;
    overflow: hidden;
}

.hpj-workspace-live-summary strong {
    color: var(--hpj-workspace-primary-dark);
    font-size: .9rem;
}

.hpj-workspace-icon-action {
    position: relative;
    color: #294754;
    text-decoration: none;
}

.hpj-workspace-icon-badge,
.hpj-workspace-nav-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    color: #fff;
    font-size: .69rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1;
    border-radius: 999px;
    background: var(--hpj-workspace-primary);
}

.hpj-workspace-icon-badge[hidden],
.hpj-workspace-nav-badge[hidden] {
    display: none;
}

.hpj-workspace-icon-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: .62rem;
    box-shadow: 0 0 0 2px #fff;
}

.hpj-workspace-nav-badge {
    flex: 0 0 auto;
    margin-left: auto;
}

.hpj-workspace-nav-badge--attention {
    background: #c56d08;
}

.hpj-workspace-account {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 240px;
    margin-left: 6px;
    padding: 4px 8px 4px 4px;
    color: var(--hpj-workspace-ink);
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
}

.hpj-workspace-account:hover {
    color: var(--hpj-workspace-primary-dark);
    background: var(--hpj-workspace-soft);
}

.hpj-workspace-account-menu__dropdown {
    width: min(370px, calc(100vw - 24px));
    max-height: min(680px, calc(100dvh - 96px));
    margin-top: 8px !important;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #d9e6e4;
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(3, 29, 39, .16);
}

.hpj-workspace-account-menu__dropdown .dropdown-item {
    padding: 9px 11px;
    color: var(--hpj-workspace-ink);
    font-weight: 700;
    border-radius: 9px;
}

.hpj-workspace-account-menu__dropdown .dropdown-item:hover,
.hpj-workspace-account-menu__dropdown .dropdown-item:focus {
    color: var(--hpj-workspace-primary-dark);
    background: var(--hpj-workspace-soft);
}

.hpj-workspace-account-menu__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.hpj-workspace-account-menu__links .dropdown-item {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
}

.hpj-workspace-account-menu__links .dropdown-item svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: var(--hpj-workspace-primary-dark);
}

.hpj-workspace-account-menu__heading,
.hpj-workspace-account-menu__workspaces > p {
    margin: 8px 10px 5px;
    color: #778b96;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.hpj-workspace-account-menu__heading {
    margin-top: 2px;
}

.hpj-workspace-account-menu__workspaces {
    display: grid;
    gap: 2px;
}

.hpj-workspace-account-menu__workspaces .hpj-workspace-switcher__option {
    min-height: 52px;
}

.hpj-workspace-account-menu__dropdown .hpj-workspace-account-menu__logout {
    color: #a93636;
}

.hpj-workspace-account__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #fff;
    font-weight: 900;
    border-radius: 50%;
    background: linear-gradient(135deg, #006f5a, #17ae94);
}

.hpj-workspace-account__avatar--icon svg {
    width: 22px;
    height: 22px;
}

img.hpj-workspace-account__avatar {
    object-fit: cover;
}

img.hpj-workspace-account__avatar.is-logo {
    padding: 4px;
    object-fit: contain;
    border: 1px solid #d7e7e4;
    border-radius: 12px;
    background: #fff;
}

.hpj-workspace-account__copy {
    min-width: 0;
}

.hpj-workspace-account__copy strong,
.hpj-workspace-account__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpj-workspace-account__copy strong {
    max-width: 164px;
    font-size: .84rem;
}

.hpj-workspace-account__copy small {
    color: var(--hpj-workspace-muted);
    font-size: .72rem;
}

.hpj-workspace-content {
    min-height: calc(100vh - var(--hpj-workspace-topbar-height));
    padding: clamp(18px, 2.4vw, 38px);
}

.hpj-workspace-content:focus {
    outline: none;
}

/* Compatibilidade central para páginas administrativas que ainda possuem o
   contêiner visual anterior. O shell passa a controlar fundo, largura e
   espaçamento sem exigir uma segunda navegação ou uma reescrita por página. */
.hpj-workspace-content > .cb2-home.cb2-page {
    width: min(100%, 1480px);
    min-height: 0;
    margin: 0 auto;
    overflow: visible;
    background: transparent;
}

.hpj-workspace-content > .cb2-home.cb2-page > .cb2-shell,
.hpj-workspace-content > .cb2-shell,
.hpj-workspace-content > .hpj-page-head,
.hpj-workspace-content > .hpj-page-header,
.hpj-workspace-content > .hpj-form--wide {
    width: min(100%, 1480px);
    max-width: 1480px;
    margin-right: auto;
    margin-left: auto;
}

.hpj-workspace-content > .cb2-home.cb2-page > .cb2-shell,
.hpj-workspace-content > .cb2-shell {
    padding-right: 0;
    padding-left: 0;
}

.hpj-workspace-content .cb2-page-main {
    min-height: 0;
    padding-top: 0;
}

.hpj-workspace-content .cb2-page-hero,
.hpj-workspace-content > .hpj-page-head,
.hpj-workspace-content > .hpj-page-header {
    margin-top: 0;
    border-radius: 20px;
}

.hpj-workspace-content .cb2-page-hero {
    padding: clamp(20px, 2.2vw, 30px);
}

.hpj-workspace-content .cb2-page-hero h1 {
    font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.hpj-workspace-content .cb2-ledger-hero-actions,
.hpj-workspace-content .hpj-row-actions,
.hpj-workspace-content .hpj-customer-actions,
.hpj-workspace-content .hpj-report-filter-actions {
    flex-wrap: wrap;
}

html.cb2-fonts-loading .hpj-workspace-content .cb2-home {
    opacity: 1 !important;
}

.hpj-workspace-content > .hpj-account-dashboard,
.hpj-workspace-content > .hpj-workspace-page-width,
.hpj-workspace-content > .hpj-workspace-status {
    width: min(100%, 1480px);
    margin-right: auto;
    margin-left: auto;
}

.hpj-workspace-backdrop {
    display: none;
}

.hpj-workspace-mobile-nav {
    display: none;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar {
    width: var(--hpj-workspace-sidebar-collapsed-width);
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-stage {
    margin-left: var(--hpj-workspace-sidebar-collapsed-width);
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand {
    padding-right: 12px;
    padding-left: 12px;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand > a,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand img,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__fallback {
    display: none !important;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand button svg {
    transform: rotate(180deg);
}

@media (min-width: 901px) {
    html:not(.hpj-workspace-sidebar-floating).hpj-workspace-sidebar-collapsed
        .hpj-workspace-shell:not(.hpj-public-workspace-shell)
        .hpj-workspace-sidebar__brand {
        position: relative;
        justify-content: center;
        padding: 10px;
    }

    html:not(.hpj-workspace-sidebar-floating).hpj-workspace-sidebar-collapsed
        .hpj-workspace-shell:not(.hpj-public-workspace-shell)
        .hpj-workspace-sidebar__brand > a {
        display: flex !important;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: url("/img/brand/iconeLogo.png") center / 43px 43px no-repeat;
    }

    html:not(.hpj-workspace-sidebar-floating).hpj-workspace-sidebar-collapsed
        .hpj-workspace-shell:not(.hpj-public-workspace-shell)
        .hpj-workspace-sidebar__brand button {
        position: absolute;
        right: 3px;
        bottom: 4px;
        width: 25px;
        height: 25px;
        color: var(--hpj-workspace-primary-dark);
        border-color: #cde6e0;
        border-radius: 9px;
        background: #fff;
        box-shadow: 0 3px 9px rgba(8, 34, 56, .12);
    }

    html:not(.hpj-workspace-sidebar-floating).hpj-workspace-sidebar-collapsed
        .hpj-workspace-shell:not(.hpj-public-workspace-shell)
        .hpj-workspace-sidebar__brand button svg {
        width: 16px;
        height: 16px;
    }
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-switcher {
    margin-right: 8px;
    margin-left: 8px;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__context {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 8px;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__context-copy,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__context-chevron,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav p,
.hpj-workspace-sidebar-collapsed .hpj-workspace-nav-group__toggle,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav a span,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__logout span {
    display: none;
}

@media (min-width: 901px) {
    .hpj-workspace-sidebar-collapsed .hpj-workspace-nav-group__items[hidden] {
        display: grid !important;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav .hpj-workspace-nav-group + .hpj-workspace-nav-group {
        margin-top: 2px;
    }
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: .58rem;
    box-shadow: 0 0 0 2px #fff;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav {
    padding-right: 9px;
    padding-left: 9px;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav a,
.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__logout {
    justify-content: center;
    padding-right: 10px;
    padding-left: 10px;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav a.is-active {
    border-radius: 12px;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__mode-toggle {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
}

.hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__mode-copy {
    display: none;
}

@media (min-width: 901px) {
    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell) .hpj-workspace-stage {
        margin-left: 0;
    }

    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell) .hpj-workspace-sidebar {
        width: var(--hpj-workspace-sidebar-width);
        transform: translateX(-102%);
        box-shadow: 18px 0 50px rgba(3, 29, 39, .22);
    }

    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell).is-menu-open .hpj-workspace-sidebar {
        transform: translateX(0);
    }

    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell) .hpj-workspace-mobile-toggle {
        display: inline-grid;
    }

    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell) .hpj-workspace-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1035;
        display: block;
        visibility: hidden;
        opacity: 0;
        border: 0;
        background: rgba(5, 29, 36, .48);
        transition: opacity .2s ease, visibility .2s ease;
    }

    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell).is-menu-open .hpj-workspace-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .hpj-workspace-sidebar-floating .hpj-workspace-shell:not(.hpj-public-workspace-shell) .hpj-workspace-sidebar__brand button svg {
        transform: rotate(180deg);
    }

    html.hpj-workspace-sidebar-floating body.hpj-workspace-menu-open {
        overflow: hidden;
    }
}

@media (min-width: 1121px) {
    .hpj-workspace-shell:not(.hpj-public-workspace-shell) > .hpj-workspace-sidebar {
        grid-template-rows: auto minmax(0, 1fr);
        grid-template-areas:
            "brand"
            "navigation";
    }

    .hpj-workspace-shell:not(.hpj-public-workspace-shell) > .hpj-workspace-sidebar > .hpj-workspace-switcher {
        display: none;
    }
}

@media (max-width: 1120px) {
    .hpj-workspace-topbar {
        grid-template-columns: minmax(160px, 1fr) auto;
        gap: 14px;
    }

    .hpj-workspace-account-menu {
        display: none;
    }

    .hpj-workspace-live-summary span {
        display: none;
    }

    .hpj-establishment-topbar-quick-reservation {
        display: none;
    }
}

@media (max-width: 1700px) {
    .hpj-workspace-live-summary {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --hpj-workspace-topbar-height: 68px;
        --hpj-workspace-mobile-nav-clearance: calc(74px + env(safe-area-inset-bottom));
    }

    .hpj-workspace-sidebar__mode-toggle {
        display: none;
    }

    body.hpj-workspace-menu-open {
        overflow: hidden;
    }

    .hpj-workspace-sidebar,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar {
        bottom: var(--hpj-workspace-mobile-nav-clearance);
        width: min(86vw, 310px);
        min-height: 0;
        height: calc(100dvh - var(--hpj-workspace-mobile-nav-clearance));
        transform: translateX(-102%);
        box-shadow: 18px 0 50px rgba(3, 29, 39, .22);
    }

    .hpj-establishment-workspace-shell .hpj-workspace-sidebar,
    .hpj-workspace-sidebar-collapsed .hpj-establishment-workspace-shell .hpj-workspace-sidebar {
        bottom: 0;
        height: 100dvh;
    }

    .hpj-public-workspace-shell .hpj-workspace-sidebar,
    .hpj-workspace-sidebar-collapsed .hpj-public-workspace-shell .hpj-workspace-sidebar {
        width: min(86vw, 310px);
    }

    .hpj-workspace-shell.is-menu-open .hpj-workspace-sidebar {
        transform: translateX(0);
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand > a,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand img {
        display: flex !important;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand {
        padding-right: 17px;
        padding-left: 22px;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand button svg {
        transform: none;
    }

    .hpj-workspace-sidebar__brand button svg,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__brand button svg {
        transform: rotate(180deg);
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-switcher {
        margin: 16px 14px 9px;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__context {
        display: grid;
        justify-content: initial;
        margin: 0;
        padding: 11px;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__context-copy,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__context-chevron,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav p,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-nav-group__toggle,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav a span {
        display: block;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-nav-group__toggle {
        display: flex;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-sidebar__nav a {
        justify-content: flex-start;
        padding-right: 12px;
        padding-left: 12px;
    }

    .hpj-workspace-sidebar-collapsed .hpj-workspace-nav-badge {
        position: static;
        top: auto;
        right: auto;
        min-width: 22px;
        height: 22px;
        margin-left: auto;
        padding: 0 6px;
        font-size: .69rem;
        box-shadow: none;
    }

    .hpj-workspace-stage,
    .hpj-workspace-sidebar-collapsed .hpj-workspace-stage {
        margin-left: 0;
    }

    .hpj-workspace-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px 13px;
    }

    .hpj-workspace-mobile-toggle {
        display: inline-grid;
    }

    .hpj-workspace-page-title span {
        display: none;
    }

    .hpj-workspace-topbar__actions .hpj-workspace-icon-action:first-child,
    .hpj-workspace-account-menu {
        display: none;
    }

    .hpj-public-workspace-topbar__actions .hpj-workspace-icon-action {
        display: none;
    }

    .hpj-public-workspace-topbar__actions {
        gap: 4px;
    }

    .hpj-public-workspace-topbar__primary {
        display: inline-flex;
        font-size: .78rem;
        min-height: 38px;
        padding: 6px 12px;
        white-space: nowrap;
    }

    .hpj-public-workspace-topbar__link {
        min-height: 38px;
        padding: 6px 10px;
        font-size: .82rem;
    }

    .hpj-workspace-live-summary {
        margin-right: 0;
        padding: 6px 9px;
    }

    .hpj-workspace-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1035;
        display: block;
        visibility: hidden;
        opacity: 0;
        border: 0;
        background: rgba(5, 29, 36, .48);
        transition: opacity .2s ease, visibility .2s ease;
    }

    .hpj-workspace-shell.is-menu-open .hpj-workspace-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .hpj-workspace-content {
        padding: 14px 10px 92px;
    }

    .hpj-public-workspace-content {
        padding: 0 0 74px;
    }

    .hpj-workspace-mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        display: grid;
        align-items: stretch;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
        border-top: 1px solid #d7e5df;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -12px 32px rgba(23, 32, 29, .16);
        backdrop-filter: blur(12px);
    }

    .hpj-workspace-mobile-nav a {
        display: grid;
        place-items: center;
        gap: 3px;
        min-width: 0;
        padding: 8px 2px 9px;
        color: #52645e;
        font-size: .68rem;
        font-weight: 850;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
    }

    .hpj-workspace-mobile-nav a:hover,
    .hpj-workspace-mobile-nav a:focus-visible {
        color: var(--hpj-workspace-primary-dark);
    }

    .hpj-workspace-mobile-nav svg {
        display: block;
        width: 24px;
        height: 24px;
        fill: currentColor;
        stroke: none;
    }

    .hpj-workspace-mobile-nav a.is-active {
        color: var(--hpj-workspace-primary-dark);
    }

    .hpj-workspace-mobile-nav span {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hpj-workspace-content .cb2-page-hero,
    .hpj-workspace-content > .hpj-page-head,
    .hpj-workspace-content > .hpj-page-header {
        border-radius: 16px;
    }

    .hpj-workspace-content .cb2-page-hero {
        padding: 20px;
    }
}

.hpj-notification-center[hidden] {
    display: none;
}

body.hpj-notification-center-open {
    overflow: hidden;
}

.hpj-notification-center {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    max-width: 100vw;
    overflow: hidden;
}

.hpj-notification-center__backdrop {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 0;
    border: 0;
    background: rgba(4, 25, 34, .52);
    backdrop-filter: blur(2px);
}

.hpj-notification-center__panel {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    color: var(--hpj-workspace-ink);
    background: #f7fafb;
    border-left: 1px solid rgba(212, 229, 225, .9);
    box-shadow: -24px 0 60px rgba(4, 31, 39, .2);
    animation: hpj-notification-panel-in .2s ease-out;
}

.hpj-notification-center__panel img {
    display: block;
    max-width: 100%;
    height: auto;
}

@keyframes hpj-notification-panel-in {
    from { transform: translateX(32px); opacity: .6; }
    to { transform: translateX(0); opacity: 1; }
}

.hpj-notification-center__header,
.hpj-notification-center__toolbar,
.hpj-notification-center__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hpj-notification-center__header {
    padding: 20px 20px 15px;
    background: #fff;
    border-bottom: 1px solid var(--hpj-workspace-line);
}

.hpj-notification-center__header span {
    display: block;
    margin-bottom: 3px;
    color: var(--hpj-workspace-primary-dark);
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.hpj-notification-center__header h2 {
    margin: 0;
    font-size: 1.38rem;
}

.hpj-notification-center__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #46616c;
    border: 1px solid #d9e6e3;
    border-radius: 12px;
    background: #f7faf9;
}

.hpj-notification-center__close:hover {
    color: var(--hpj-workspace-primary-dark);
    background: var(--hpj-workspace-soft);
}

.hpj-notification-center__close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.hpj-notification-center__toolbar {
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid var(--hpj-workspace-line);
}

.hpj-notification-center__toolbar strong {
    color: #526b74;
    font-size: .84rem;
}

.hpj-notification-center__toolbar button,
.hpj-notification-center__more {
    padding: 7px 10px;
    color: var(--hpj-workspace-primary-dark);
    font-size: .8rem;
    font-weight: 800;
    border: 0;
    border-radius: 9px;
    background: var(--hpj-workspace-soft);
}

.hpj-notification-center__toolbar button:disabled,
.hpj-notification-center__more:disabled {
    cursor: default;
    opacity: .5;
}

.hpj-notification-center__status {
    min-height: 0;
    padding: 0 20px;
    color: #63767d;
    font-size: .84rem;
    text-align: center;
}

.hpj-notification-center__status:not(:empty) {
    padding-top: 14px;
    padding-bottom: 14px;
}

.hpj-notification-center__list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
}

.hpj-notification-center__item + .hpj-notification-center__item {
    margin-top: 9px;
}

.hpj-notification-center__item-action {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 14px;
    color: inherit;
    text-align: left;
    border: 1px solid #dce8e5;
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.hpj-notification-center__item-action:hover {
    border-color: #a8d2c9;
    box-shadow: 0 9px 22px rgba(8, 47, 55, .08);
    transform: translateY(-1px);
}

.hpj-notification-center__item.is-unread .hpj-notification-center__item-action {
    border-color: rgba(0, 138, 112, .38);
    background: #edf9f6;
    box-shadow: 0 8px 20px rgba(0, 105, 86, .08);
}

.hpj-notification-center__item.is-busy {
    pointer-events: none;
    opacity: .65;
}

.hpj-notification-center__dot {
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: #c4d0cd;
}

.hpj-notification-center__item.is-unread .hpj-notification-center__dot {
    background: var(--hpj-workspace-primary);
    box-shadow: 0 0 0 4px rgba(0, 138, 112, .12);
}

.hpj-notification-center__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.hpj-notification-center__copy strong {
    color: #173d45;
    font-size: .94rem;
    overflow-wrap: anywhere;
}

.hpj-notification-center__copy > span {
    color: #536a72;
    font-size: .86rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.hpj-notification-center__copy time {
    margin-top: 2px;
    color: #7a8b90;
    font-size: .74rem;
}

.hpj-notification-center__state {
    padding: 4px 7px;
    color: #006b58;
    font-size: .69rem;
    font-weight: 900;
    border-radius: 999px;
    background: #d8f1eb;
}

.hpj-notification-center__more {
    justify-self: center;
    margin: 0 12px 12px;
}

.hpj-notification-center__more[hidden] {
    display: none;
}

.hpj-notification-center__footer {
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--hpj-workspace-line);
}

.hpj-notification-center__footer a {
    color: var(--hpj-workspace-primary-dark);
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 560px) {
    .hpj-notification-center {
        display: block;
    }

    .hpj-notification-center__backdrop {
        display: none;
    }

    .hpj-notification-center__panel {
        width: 100%;
        min-width: 0;
        max-width: 100vw;
        box-sizing: border-box;
        border-left: 0;
    }

    .hpj-notification-center__header {
        padding-top: calc(16px + env(safe-area-inset-top));
    }

    .hpj-notification-center__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hpj-workspace-sidebar,
    .hpj-workspace-stage,
    .hpj-workspace-backdrop,
    .hpj-workspace-sidebar__brand button svg,
    .hpj-notification-center__panel,
    .hpj-notification-center__item-action {
        transition: none;
        animation: none;
    }
}
.subscription-upgrade-page {
    display: grid;
    gap: 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
}

.subscription-upgrade-hero {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    padding: 1.75rem;
    border: 1px solid var(--hpj-ws-border, #dfe5e2);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f5fbf7 0%, #fff 58%, #f8f7ff 100%);
}

.subscription-upgrade-eyebrow,
.subscription-upgrade-policy > div > span {
    color: #247345;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.subscription-upgrade-hero h1,
.subscription-upgrade-policy h2 {
    margin: .3rem 0 .55rem;
}

.subscription-upgrade-hero p {
    max-width: 720px;
    margin: 0;
    color: #57645d;
}

.subscription-upgrade-current {
    display: grid;
    min-width: 230px;
    gap: .25rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    color: #fff;
    background: #193f2a;
}

.subscription-upgrade-current small,
.subscription-upgrade-current span { color: #cce2d3; }
.subscription-upgrade-current strong { font-size: 1.2rem; }

.subscription-upgrade-notice {
    display: grid;
    gap: .2rem;
    padding: 1rem 1.2rem;
    border: 1px solid #b9ddc5;
    border-radius: .9rem;
    background: #f0faf3;
    color: #204c30;
}

.subscription-upgrade-notice.is-pending {
    border-color: #ead58f;
    background: #fff9e7;
    color: #5c4913;
}

.subscription-upgrade-policy {
    display: grid;
    grid-template-columns: minmax(230px, .65fr) minmax(320px, 1.35fr);
    gap: 2rem;
    padding: 1.4rem 1.6rem;
    border-radius: 1.1rem;
    background: #18231d;
    color: #fff;
}

.subscription-upgrade-policy h2 { font-size: 1.25rem; }
.subscription-upgrade-policy ol { margin: 0; padding-left: 1.25rem; color: #dbe6df; }
.subscription-upgrade-policy li + li { margin-top: .45rem; }

.subscription-upgrade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.subscription-plan-card {
    display: grid;
    gap: 1.15rem;
    padding: 1.35rem;
    border: 1px solid #dfe5e2;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 8px 28px rgba(24, 43, 33, .05);
}

.subscription-plan-card.is-current { border-color: #6e9c80; box-shadow: inset 0 3px 0 #3a7b54; }
.subscription-plan-card.is-upgrade { border-color: #8f7ce0; box-shadow: inset 0 3px 0 #725bd0, 0 12px 32px rgba(68, 48, 145, .09); }
.subscription-plan-card header h2 { margin: .35rem 0 .4rem; font-size: 1.45rem; }
.subscription-plan-card header p { margin: 0; color: #647068; min-height: 3em; }

.subscription-plan-badge {
    display: inline-flex;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #e9f5ed;
    color: #29633e;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.subscription-plan-badge.is-upgrade { background: #eeeaff; color: #5842b4; }

.subscription-plan-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}

.subscription-plan-prices > div {
    display: grid;
    gap: .15rem;
    padding: .85rem;
    border-radius: .8rem;
    background: #f5f7f6;
}

.subscription-plan-prices small,
.subscription-plan-prices span { color: #6a756e; }
.subscription-plan-prices strong { font-size: 1.25rem; color: #1d3125; }

.subscription-plan-section { padding-top: .85rem; border-top: 1px solid #e8ece9; }
.subscription-plan-section h3 { margin: 0 0 .65rem; font-size: .9rem; color: #34463b; }
.subscription-plan-section ul { display: grid; gap: .4rem; margin: 0; padding-left: 1.15rem; color: #57645d; font-size: .9rem; }
.subscription-plan-section dl { display: grid; gap: .35rem; margin: 0; }
.subscription-plan-section dl div { display: flex; justify-content: space-between; gap: 1rem; }
.subscription-plan-section dt { color: #657169; font-weight: 500; }
.subscription-plan-section dd { margin: 0; text-align: right; font-weight: 700; }
.subscription-plan-muted { margin: .65rem 0 0; color: #78837c; font-size: .82rem; }

.subscription-plan-card footer { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.subscription-plan-card footer form,
.subscription-plan-card footer button { width: 100%; }
.subscription-plan-current-label { grid-column: 1 / -1; padding: .75rem; border-radius: .7rem; background: #f1f5f2; color: #526158; text-align: center; font-weight: 700; }
.subscription-upgrade-empty { padding: 1.5rem; border: 1px dashed #c8d1cb; border-radius: 1rem; text-align: center; }

.subscription-comparison {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce5df;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 48px rgba(24, 43, 33, .08);
}

.subscription-comparison__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.55rem 1.65rem;
    border-bottom: 1px solid #e3e9e5;
    background: linear-gradient(120deg, #f2faf5 0%, #fff 55%, #f4f1ff 100%);
}

.subscription-comparison__header h2 { margin: .3rem 0 .4rem; color: #173323; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.subscription-comparison__header p { margin: 0; color: #607067; }
.subscription-comparison__hint { display: flex; flex: 0 0 auto; align-items: center; gap: .7rem; padding: .75rem .9rem; border: 1px solid #d7e9dc; border-radius: .9rem; color: #335c42; background: rgba(255, 255, 255, .8); font-size: .78rem; line-height: 1.25; }
.subscription-comparison__hint svg { width: 2rem; height: 2rem; padding: .4rem; border-radius: .6rem; color: #fff; background: #2e7649; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.subscription-comparison__scroll-guide { padding: .7rem 1rem; border-bottom: 1px solid #dfe8e2; background: #f5f9f6; }
.subscription-comparison__scroll-guide[hidden] { display: none; }
.subscription-comparison__top-scroll { width: calc(100% - 240px); max-width: 100%; height: 18px; margin-left: 240px; overflow-x: scroll; overscroll-behavior-inline: contain; scrollbar-color: #2e7649 #dfece3; scrollbar-width: auto; }
.subscription-comparison__top-scroll > div { width: calc(var(--subscription-plan-count) * 205px); height: 1px; }
.subscription-comparison__scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
.subscription-comparison__scroll::-webkit-scrollbar { width: 0; height: 0; }
.subscription-comparison__top-scroll::-webkit-scrollbar { height: 16px; }
.subscription-comparison__top-scroll::-webkit-scrollbar-track { border: 1px solid #c7dacd; border-radius: 999px; background: #dfece3; }
.subscription-comparison__top-scroll::-webkit-scrollbar-thumb { min-width: 72px; border: 3px solid #dfece3; border-radius: 999px; background: #2e7649; }
.subscription-comparison__top-scroll::-webkit-scrollbar-thumb:hover { background: #205f39; }
.subscription-comparison__scroll:focus-visible { outline: 3px solid rgba(91, 69, 187, .35); outline-offset: -3px; }
.subscription-comparison__table { width: 100%; min-width: calc(240px + (var(--subscription-plan-count) * 205px)); border-spacing: 0; border-collapse: separate; color: #273b30; table-layout: fixed; }
.subscription-comparison__table th,
.subscription-comparison__table td { padding: .85rem 1rem; border-right: 1px solid #e8edea; border-bottom: 1px solid #e8edea; vertical-align: middle; }
.subscription-comparison__table tr > :last-child { border-right: 0; }
.subscription-comparison__table tbody tr:last-child > * { border-bottom: 0; }
.subscription-comparison__table thead th { height: 144px; background: #f8faf9; }
.subscription-comparison__corner { position: sticky; left: 0; z-index: 3; width: 240px; text-align: left; }
.subscription-comparison__corner span,
.subscription-comparison__corner small { display: block; }
.subscription-comparison__corner span { color: #1f3d2b; font-size: 1rem; }
.subscription-comparison__corner small { margin-top: .3rem; color: #748078; font-weight: 500; }
.subscription-comparison__plan { position: relative; width: 205px; color: #243b2d; text-align: center; }
.subscription-comparison__plan strong,
.subscription-comparison__plan > span:not(.subscription-comparison__badge) { display: block; }
.subscription-comparison__plan strong { margin: .35rem 0 .6rem; font-size: 1.15rem; }
.subscription-comparison__plan > span:not(.subscription-comparison__badge) { color: #286544; font-size: 1.05rem; font-weight: 800; }
.subscription-comparison__plan small { color: #6f7d74; font-size: .72rem; font-weight: 500; }
.subscription-comparison__badge { display: inline-flex; padding: .2rem .48rem; border-radius: 999px; color: #27643d; background: #e4f3e9; font-size: .65rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.subscription-comparison__badge.is-upgrade { color: #5942b2; background: #ebe7ff; }
.subscription-comparison__table .is-current { background: #f0f8f3; }
.subscription-comparison__plan.is-current::before { position: absolute; inset: 0 0 auto; height: 4px; content: ""; background: #348057; }

.subscription-comparison__table tbody th[scope="row"] { position: sticky; left: 0; z-index: 2; width: 240px; color: #435249; background: #fff; text-align: left; font-size: .86rem; font-weight: 700; }
.subscription-comparison__table tbody th[scope="row"] small { display: block; color: #7b867f; font-size: .72rem; font-weight: 500; }
.subscription-comparison__table tbody td { text-align: center; font-size: .86rem; }
.subscription-comparison__table tbody td strong,
.subscription-comparison__table tbody td > small { display: block; }
.subscription-comparison__table tbody td strong { color: #243b2d; }
.subscription-comparison__table tbody td > small { margin-top: .15rem; color: #7a867e; font-size: .7rem; }
.subscription-comparison__table tbody tr:not(.subscription-comparison__group):hover th,
.subscription-comparison__table tbody tr:not(.subscription-comparison__group):hover td { background: #f8fbf9; }
.subscription-comparison__table tbody tr:not(.subscription-comparison__group):hover td.is-current { background: #eaf6ee; }

.subscription-comparison__group th,
.subscription-comparison__group td { padding: .7rem 1rem; background: #eaf4ed; }
.subscription-comparison__group th { position: sticky; left: 0; z-index: 3; width: 240px; color: #264a34; text-align: left; font-size: .76rem; font-weight: 850; letter-spacing: .055em; white-space: nowrap; text-transform: uppercase; }
.subscription-comparison__group svg { width: 1.15rem; height: 1.15rem; margin-right: .45rem; vertical-align: -.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.subscription-comparison__availability { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; color: #7e8982; font-size: .78rem; font-weight: 700; }
.subscription-comparison__availability > span { display: inline-grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; color: #818d85; background: #edf0ee; font-size: .8rem; }
.subscription-comparison__availability.is-included { color: #286944; }
.subscription-comparison__availability.is-included > span { color: #fff; background: #36905e; }
.subscription-comparison__footer { display: flex; align-items: flex-start; gap: .55rem; padding: .9rem 1.2rem; color: #64726a; background: #f8faf9; font-size: .78rem; }
.subscription-comparison__footer svg { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.subscription-comparison__footer p { margin: 0; }

.subscription-usage-page {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 1320px;
    gap: 1.4rem;
    margin: 0 auto;
}

.subscription-usage-page > *,
.subscription-usage-hero > div,
.subscription-usage-section,
.subscription-usage-section__head > div,
.subscription-billing-overview,
.subscription-usage-grid,
.subscription-usage-card__head > div,
.subscription-usage-benefits__content > div {
    min-width: 0;
}

.subscription-usage-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem;
    overflow: hidden;
    color: #fff;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 85% 0, rgba(99, 220, 185, .3), transparent 34%),
        linear-gradient(135deg, #0a3a33, #0a6655 60%, #12866e);
    box-shadow: 0 16px 42px rgba(5, 75, 62, .17);
}

.subscription-usage-hero > div { max-width: 760px; }
.subscription-usage-hero > div > span,
.subscription-usage-section__head > div > span {
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.subscription-usage-hero > div > span { color: #a9e7d6; }
.subscription-usage-hero h1 { margin: .35rem 0 .55rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.subscription-usage-hero p { max-width: 720px; margin: 0; color: #d6eee8; }
.subscription-usage-hero aside {
    display: grid;
    flex: 0 0 230px;
    gap: .25rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1rem;
    background: rgba(3, 34, 29, .3);
    backdrop-filter: blur(8px);
}
.subscription-usage-hero aside small,
.subscription-usage-hero aside span { color: #c9e5de; }
.subscription-usage-hero aside strong { font-size: 1.25rem; }

.subscription-usage-alert {
    padding: 1rem 1.15rem;
    color: #694d0a;
    border: 1px solid #efd68b;
    border-radius: .9rem;
    background: #fff9e7;
}

.subscription-usage-section {
    padding: 1.35rem;
    border: 1px solid #dce7e3;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 8px 28px rgba(18, 55, 47, .045);
}

.subscription-usage-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.subscription-usage-section__head > div > span { color: #27806a; }
.subscription-usage-section__head h2 { margin: .2rem 0 0; font-size: 1.35rem; }
.subscription-usage-section__head > small { color: #71827d; }

.subscription-usage-hero h1,
.subscription-usage-hero p,
.subscription-usage-section__head h2,
.subscription-billing-card,
.subscription-usage-card,
.subscription-resource-card {
    overflow-wrap: anywhere;
}

.subscription-billing-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.subscription-billing-card {
    display: flex;
    min-width: 0;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem;
    border: 1px solid #dfe9e5;
    border-radius: 1rem;
    background: #fbfdfc;
}
.subscription-billing-card--current { border-color: #b9dfd4; background: linear-gradient(145deg, #f0faf7, #fbfdfc); }
.subscription-billing-card--next { border-color: #a9d5c9; box-shadow: 0 8px 22px rgba(14, 109, 86, .07); }
.subscription-billing-card > span { color: #5d706a; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.subscription-billing-card > strong { margin-top: .55rem; color: #123d33; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.15; }
.subscription-billing-card > p { margin: .75rem 0 0; color: #63756f; font-size: .84rem; }
.subscription-billing-card > em {
    margin-top: auto;
    padding: .35rem .58rem;
    color: #17634f;
    border-radius: 999px;
    background: #e5f5ef;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
}
.subscription-billing-card > em.is-warning { color: #805611; background: #fff2cd; }
.subscription-billing-card dl { display: grid; width: 100%; gap: .42rem; margin: .85rem 0 1rem; }
.subscription-billing-card dl div { display: flex; justify-content: space-between; gap: .8rem; padding-bottom: .4rem; border-bottom: 1px solid #e5ece9; font-size: .8rem; }
.subscription-billing-card dt { color: #6a7b76; font-weight: 600; }
.subscription-billing-card dd { margin: 0; color: #253f38; font-weight: 800; text-align: right; }

.subscription-billing-card dl div > *,
.subscription-usage-card dl div > * {
    min-width: 0;
}

.subscription-usage-section .table-responsive {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.subscription-usage-grid { display: grid; gap: 1rem; }
.subscription-usage-grid--primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subscription-usage-grid--establishments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subscription-establishment-usage .subscription-usage-grid--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subscription-usage-grid--resources { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.subscription-usage-card,
.subscription-resource-card {
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid #e0e9e6;
    border-radius: 1rem;
    background: #fbfdfc;
}

.subscription-usage-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
}
.subscription-usage-card__head > div { display: grid; gap: .2rem; }
.subscription-usage-card__head span,
.subscription-resource-card > span { color: #5d706a; font-size: .83rem; font-weight: 750; }
.subscription-usage-card__head strong,
.subscription-resource-card > strong { color: #123d33; font-size: 1.75rem; line-height: 1; }
.subscription-usage-card__head strong small,
.subscription-resource-card > strong small { color: #71817c; font-size: .9rem; }
.subscription-usage-card__head em {
    padding: .3rem .5rem;
    color: #17634f;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
    border-radius: 999px;
    background: #e7f5f0;
}
.subscription-usage-card > p,
.subscription-resource-card > p,
.subscription-usage-benefits p { margin: .8rem 0 0; color: #697a74; font-size: .84rem; }
.subscription-usage-card dl { display: grid; gap: .35rem; margin: .8rem 0 0; padding-top: .7rem; border-top: 1px solid #e5ece9; }
.subscription-usage-card dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.subscription-usage-card dt { color: #70807b; }
.subscription-usage-card dd { margin: 0; color: #243c35; font-weight: 800; text-align: right; }
.subscription-usage-card__detail-link {
    display: inline-flex;
    align-items: center;
    margin-top: .85rem;
    color: #0d725d;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}
.subscription-usage-card__detail-link:hover { color: #075343; text-decoration: underline; }

.subscription-usage-meter {
    height: 9px;
    margin-top: .9rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e4ece9;
}
.subscription-usage-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #13a07e, #48c6a4);
}
.subscription-usage-meter.is-over i,
.subscription-resource-card.is-over .subscription-usage-meter i { background: linear-gradient(90deg, #cf7a1b, #eea941); }

.subscription-resource-card { display: grid; gap: .55rem; }
.subscription-resource-card > p { margin-top: .15rem; }
.subscription-resource-card > em { color: #a85d0d; font-size: .75rem; font-style: normal; font-weight: 850; }

.subscription-usage-benefits__content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.subscription-usage-benefits__content > div { padding: 1rem; border-radius: .9rem; background: #f4f8f6; }
.subscription-usage-benefits h3 { margin: 0 0 .7rem; font-size: .95rem; }
.subscription-usage-benefits ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.subscription-usage-benefits li {
    padding: .45rem .7rem;
    color: #235c4d;
    font-size: .8rem;
    font-weight: 750;
    border: 1px solid #cbe5dd;
    border-radius: 999px;
    background: #fff;
}

.subscription-usage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .2rem .1rem;
}
.subscription-usage-footer p { max-width: 760px; margin: 0; color: #687a74; font-size: .84rem; }
.subscription-usage-empty { padding: 2rem; text-align: center; border: 1px dashed #bfcec9; border-radius: 1rem; background: #fff; }
.subscription-usage-empty h2 { margin-top: 0; }

.subscription-message-filters__grid {
    display: grid;
    grid-template-columns: minmax(210px, 1.25fr) repeat(2, minmax(145px, .7fr)) minmax(210px, 1.2fr);
    gap: .9rem;
    align-items: end;
}
.subscription-message-filters__grid label { display: grid; gap: .38rem; min-width: 0; }
.subscription-message-filters__grid label > span {
    color: #52675f;
    font-size: .75rem;
    font-weight: 800;
}
.subscription-message-filters__grid input,
.subscription-message-filters__grid select {
    width: 100%;
    min-height: 42px;
    padding: .55rem .68rem;
    color: #223b34;
    border: 1px solid #cbdad5;
    border-radius: .7rem;
    background: #fff;
}
.subscription-message-filters__grid input:focus,
.subscription-message-filters__grid select:focus {
    border-color: #19876f;
    outline: 3px solid rgba(25, 135, 111, .13);
}
.subscription-message-filters__actions { display: flex; gap: .6rem; align-items: center; }
.subscription-message-table-wrap { width: 100%; overflow-x: auto; }
.subscription-message-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.subscription-message-table th,
.subscription-message-table td { padding: .85rem .75rem; border-bottom: 1px solid #e2ebe8; text-align: left; vertical-align: top; }
.subscription-message-table th {
    color: #5f716b;
    background: #f5f9f7;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.subscription-message-table td { color: #314840; font-size: .84rem; }
.subscription-message-table td strong { display: block; color: #193f35; }
.subscription-message-table td small { display: block; margin-top: .18rem; color: #75857f; }
.subscription-message-empty {
    padding: 2rem 1rem;
    color: #546962;
    text-align: center;
    border: 1px dashed #c5d5d0;
    border-radius: .9rem;
    background: #f9fbfa;
}
.subscription-message-empty strong { color: #21443a; }
.subscription-message-empty p { margin: .35rem 0 0; }
.subscription-message-pagination {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.subscription-message-pagination a {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: .4rem .7rem;
    color: #176b57;
    border: 1px solid #c9ddd6;
    border-radius: .65rem;
    background: #fff;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}
.subscription-message-pagination a:hover,
.subscription-message-pagination a.is-active { color: #fff; border-color: #14745e; background: #14745e; }

@media (max-width: 760px) {
    .subscription-upgrade-hero { flex-direction: column; }
    .subscription-upgrade-current { width: 100%; }
    .subscription-upgrade-policy { grid-template-columns: 1fr; gap: .75rem; }
    .subscription-upgrade-grid { grid-template-columns: 1fr; }
    .subscription-comparison__header { align-items: flex-start; flex-direction: column; padding: 1.25rem; }
    .subscription-comparison__hint { display: none; }
    .subscription-comparison__table { min-width: calc(190px + (var(--subscription-plan-count) * 175px)); }
    .subscription-comparison__top-scroll { width: calc(100% - 190px); margin-left: 190px; }
    .subscription-comparison__top-scroll > div { width: calc(var(--subscription-plan-count) * 175px); }
    .subscription-comparison__scroll-guide { padding-inline: .75rem; }
    .subscription-comparison__corner,
    .subscription-comparison__table tbody th[scope="row"],
    .subscription-comparison__group th { width: 190px; }
    .subscription-comparison__plan { width: 175px; }
    .subscription-comparison__table th,
    .subscription-comparison__table td { padding: .75rem .7rem; }
    .subscription-usage-hero,
    .subscription-usage-section__head,
    .subscription-usage-footer { align-items: stretch; flex-direction: column; }
    .subscription-usage-page { gap: 1rem; }
    .subscription-usage-hero { gap: 1.25rem; padding: 1.25rem; }
    .subscription-usage-section { padding: 1rem; }
    .subscription-usage-hero aside { width: 100%; flex-basis: auto; }
    .subscription-usage-grid--primary,
    .subscription-usage-grid--establishments,
    .subscription-usage-grid--resources,
    .subscription-usage-benefits__content,
    .subscription-billing-overview { grid-template-columns: 1fr; }
    .subscription-establishment-usage .subscription-usage-grid--primary { grid-template-columns: 1fr; }
    .subscription-billing-card { width: 100%; min-height: 0; }
    .subscription-billing-card dl div,
    .subscription-usage-card dl div { align-items: flex-start; flex-wrap: wrap; }
    .subscription-billing-card dt,
    .subscription-usage-card dt { flex: 1 1 52%; }
    .subscription-billing-card dd,
    .subscription-usage-card dd { flex: 1 1 40%; }
    .subscription-message-filters__grid { grid-template-columns: 1fr; }
    .subscription-message-filters__actions { align-items: stretch; flex-direction: column; }
    .subscription-message-filters__actions .btn { width: 100%; }
    .subscription-message-pagination { justify-content: center; }
}

@media (min-width: 761px) and (max-width: 1120px) {
    .subscription-usage-grid--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .subscription-usage-grid--resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .subscription-billing-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .subscription-message-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
