body.pbc-lawyer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: #f3f1eb;
    color: #1c1915;
    font-family: "Plus Jakarta Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.pbc-lawyer main {
    flex: 1 0 auto;
    width: 100%;
    padding: 28px 0 12px;
}

.pbc-bar {
    position: sticky;
    top: var(--beta-banner-height, 0px);
    z-index: 1040;
    background: #10281f !important;
    border-bottom: 1px solid rgba(228, 201, 138, 0.18);
    box-shadow: none;
}

.pbc-bar .navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 16px;
    padding: 0;
}

.pbc-bar .navbar-brand img {
    width: 78px;
    height: auto;
}

.pbc-bar .nav-link {
    color: rgba(248, 244, 236, 0.9) !important;
    font-size: 14px;
    font-weight: 600;
}

.pbc-bar .nav-link:hover,
.pbc-bar .nav-link:focus,
.pbc-bar .nav-item.active .nav-link {
    color: #e4c98a !important;
}

.pbc-bar .navbar-toggler {
    border-color: rgba(228, 201, 138, 0.35);
}

.pbc-bar .dropdown-menu {
    min-width: 180px;
    margin-top: 8px;
    padding: 6px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(16, 40, 31, 0.16);
}

.pbc-bar .dropdown-item {
    border-radius: 8px;
    color: #1c1915;
    font-size: 14px;
    font-weight: 600;
}

.pbc-bar .dropdown-item:hover,
.pbc-bar .dropdown-item:focus,
.pbc-bar .dropdown-item.active,
.pbc-bar .dropdown-item:active {
    background: #f3f1eb;
    color: #10281f;
}

.pbc-bar__name {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    text-transform: capitalize;
}

.pbc-account {
    width: min(980px, 100%);
    padding-bottom: 12px;
}

.pbc-account__hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 28px 28px 24px;
    border-radius: 22px;
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(228, 201, 138, 0.22), transparent 60%),
        #10281f;
    color: #f8f4ec;
}

.pbc-account__kicker {
    margin: 0 0 6px;
    color: #e4c98a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pbc-account__hero h1 {
    margin: 0;
    color: #f8f4ec;
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-transform: capitalize;
}

.pbc-account__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    color: rgba(246, 241, 231, 0.72);
    font-size: 14px;
}

.pbc-account__meta span {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e4c98a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pbc-account__ghost {
    flex: none;
    height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(228, 201, 138, 0.45);
    border-radius: 10px;
    color: #e4c98a;
    font-size: 13px;
    font-weight: 700;
    line-height: 36px;
}

.pbc-account__ghost:hover,
.pbc-account__ghost:focus {
    background: rgba(228, 201, 138, 0.12);
    color: #f8f4ec;
    text-decoration: none;
}

.pbc-account__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 16px;
    align-items: start;
}

.pbc-account__card {
    margin-bottom: 16px;
    padding: 22px 22px 8px;
    border: 1px solid #e7e1d6;
    border-radius: 18px;
    background: #fffcf7;
}

.pbc-account__card h2 {
    margin: 0 0 6px;
    color: #10281f;
    font-size: 1.15rem;
    font-weight: 700;
}

.pbc-account__lead {
    margin: 0 0 18px;
    color: #6e675e;
    font-size: 14px;
}

.pbc-account__list {
    margin: 8px 0 14px;
}

.pbc-account__list > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #efeae2;
}

.pbc-account__list dt {
    margin: 0;
    color: #6e675e;
    font-size: 13px;
    font-weight: 600;
}

.pbc-account__list dd {
    margin: 0;
    color: #1c1915;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.pbc-account__field {
    margin-bottom: 14px;
}

.pbc-account__field label {
    display: block;
    margin-bottom: 6px;
    color: #3d3830;
    font-size: 13px;
    font-weight: 600;
}

.pbc-account__password {
    display: flex;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
    border: 1px solid #e7e1d6;
    border-radius: 12px;
    background: #fff;
}

.pbc-account__password:focus-within {
    border-color: #1f7a4d;
    box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.16);
}

.pbc-account__input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 48px;
    padding: 0 8px 0 14px;
    border: 0;
    background: transparent;
    color: #1c1915;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    box-shadow: none;
}

.pbc-account__input:focus {
    outline: none;
}

.pbc-account__toggle {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 2px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6e675e;
    cursor: pointer;
}

.pbc-account__toggle:hover,
.pbc-account__toggle:focus {
    background: #f3f1eb;
    color: #10281f;
    outline: none;
}

.pbc-account__error {
    display: block;
    margin-top: 6px;
    color: #9b2c2c;
    font-size: 12.5px;
}

.pbc-account__submit {
    height: 46px;
    margin: 4px 0 16px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #1f7a4d;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.pbc-account__submit:hover,
.pbc-account__submit:focus {
    background: #186540;
    outline: none;
}

.pbc-account__alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fdecec;
    color: #9b2c2c;
    font-size: 14px;
    font-weight: 600;
}

.pbc-account__alert--success {
    background: #e8f6ee;
    color: #14633a;
}

@media (max-width: 860px) {
    .pbc-account__hero,
    .pbc-account__grid,
    .pbc-account__list > div {
        display: block;
    }

    .pbc-account__ghost {
        display: inline-block;
        margin-top: 16px;
    }

    .pbc-account__list dt {
        margin-bottom: 2px;
    }

    .pbc-account__list > div {
        padding: 12px 0;
    }
}

.pbc-bar .dropdown-divider {
    margin: 6px 8px;
}

body.pbc-lawyer .content-header,
body.pbc-lawyer .content,
body.pbc-lawyer .content-wrapper {
    background: transparent;
}

body.pbc-lawyer .content-header h1 {
    color: #1c1915;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

body.pbc-lawyer .card {
    border: 1px solid #e7e1d6;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 40, 31, 0.04);
}

body.pbc-lawyer .card-header {
    background: #fffcf7;
    border-bottom: 1px solid #efeae2;
    border-radius: 16px 16px 0 0;
    font-weight: 600;
}

body.pbc-lawyer .pbc-credit--bar {
    flex: none;
}
