:root {
    --pc-primary: #ff6900;
    --pc-primary-hover: #e65f00;
    --pc-primary-dark: #a14000;
    --pc-brown: #4b3533;
    --pc-brown-soft: #725856;
    --pc-bg: #f4f3f3;
    --pc-bg-warm: #fff8f6;
    --pc-card: #ffffff;
    --pc-input: #ebeaea;
    --pc-border-soft: #e2bfb0;
    --pc-text: #261812;
    --pc-muted: #5a4136;
    --pc-info: #00629f;
    --pc-error: #ba1a1a;
    --pc-radius-sm: 4px;
    --pc-radius-md: 8px;
    --pc-radius-card: 12px;
    --pc-shadow-card: 0 4px 12px rgba(75, 53, 51, 0.04);
    --pc-shadow-hover: 0 8px 24px rgba(75, 53, 51, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    color: var(--pc-text);
    background: var(--pc-bg);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
.pc-heading {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-weight: 700;
}

a {
    color: var(--pc-primary);
    text-decoration: none;
}

a:hover {
    color: var(--pc-primary-dark);
}

.btn {
    border-radius: var(--pc-radius-md);
    font-weight: 800;
}

.btn-primary {
    --bs-btn-bg: var(--pc-primary);
    --bs-btn-border-color: var(--pc-primary);
    --bs-btn-hover-bg: var(--pc-primary-hover);
    --bs-btn-hover-border-color: var(--pc-primary-hover);
    --bs-btn-color: #fff;
}

.btn-outline-secondary {
    --bs-btn-color: var(--pc-brown);
    --bs-btn-border-color: var(--pc-brown);
    --bs-btn-hover-bg: var(--pc-brown);
    --bs-btn-hover-border-color: var(--pc-brown);
    --bs-btn-hover-color: #fff;
}

.pc-app-shell {
    display: flex;
    width: 100%;
    overflow-x: hidden;
}

.pc-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    display: flex;
    width: 256px;
    flex-direction: column;
    padding: 24px 0;
    background: var(--pc-brown);
    color: #fff;
    box-shadow: 10px 0 30px rgba(38, 24, 18, 0.12);
}

.pc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 24px;
    color: #fff;
}

.pc-brand:hover {
    color: #fff;
}

.pc-brand-mark {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
    background: var(--pc-primary);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.pc-brand-logo-small {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
}

.pc-brand-logo {
    display: block;
    width: min(156px, 100%);
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
}

.pc-brand-logo-sidebar {
    width: min(190px, 100%);
    max-height: 36px;
}

.pc-brand strong,
.pc-brand small {
    display: block;
}

.pc-brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.pc-sidebar-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.pc-sidebar-footer {
    display: grid;
    gap: 4px;
}

.pc-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 24px;
    border-left: 4px solid transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.pc-sidebar-link:hover,
.pc-sidebar-link.is-active {
    border-left-color: var(--pc-primary);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.pc-sidebar-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.pc-sidebar-link i {
    width: 20px;
    text-align: center;
}

.pc-main {
    flex: 1 1 auto;
    width: calc(100% - 256px);
    max-width: calc(100% - 256px);
    min-width: 0;
    overflow-x: hidden;
    margin-left: 256px;
}

.pc-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(75, 53, 51, 0.06);
    background: rgba(244, 243, 243, 0.92);
    backdrop-filter: blur(14px);
}

.pc-search {
    position: relative;
    width: min(420px, 100%);
}

.pc-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: rgba(75, 53, 51, 0.48);
    transform: translateY(-50%);
}

.pc-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 16px 0 42px;
    border: 0;
    border-radius: var(--pc-radius-md);
    background: var(--pc-input);
    color: var(--pc-text);
    outline: none;
}

.pc-search input:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.16);
}

.pc-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-icon-button,
.pc-profile-button {
    border: 0;
    background: #fff;
    color: var(--pc-brown);
    box-shadow: var(--pc-shadow-card);
}

.pc-icon-button {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
}

.pc-notification-dot {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--pc-primary);
}

.pc-profile-button {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: var(--pc-radius-md);
}

.pc-profile-button strong,
.pc-profile-button small {
    display: block;
    text-align: left;
}

.pc-profile-button strong {
    font-size: 13px;
}

.pc-profile-button small {
    color: var(--pc-muted);
    font-size: 11px;
}

.pc-avatar {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffdbcc;
    color: var(--pc-primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.pc-content {
    width: min(1440px, 100%);
    max-width: 100%;
    overflow-x: hidden;
    padding: 32px;
}

.pc-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.pc-page-header h1 {
    margin: 0;
    color: var(--pc-text);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
}

.pc-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.pc-kicker {
    margin: 0 0 8px;
    color: var(--pc-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pc-muted {
    margin: 8px 0 0;
    color: var(--pc-muted);
}

.pc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--pc-muted);
    font-size: 13px;
    font-weight: 800;
}

.pc-breadcrumb a {
    color: var(--pc-muted);
}

.pc-breadcrumb a:hover,
.pc-breadcrumb span {
    color: var(--pc-primary);
}

.pc-breadcrumb i {
    font-size: 10px;
    opacity: 0.55;
}

.pc-stat-card,
.pc-panel {
    border-radius: var(--pc-radius-card);
    background: #fff;
    box-shadow: var(--pc-shadow-card);
}

.pc-stat-card {
    min-height: 174px;
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pc-stat-card:hover {
    box-shadow: var(--pc-shadow-hover);
    transform: translateY(-2px);
}

.pc-stat-card p {
    margin: 18px 0 8px;
    color: var(--pc-muted);
    font-weight: 700;
}

.pc-stat-card strong {
    display: block;
    color: var(--pc-brown);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 34px;
    line-height: 1;
}

.pc-stat-card small {
    display: block;
    margin-top: 10px;
    color: rgba(90, 65, 54, 0.75);
    font-weight: 700;
}

.pc-stat-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
    background: #ffeae1;
    color: var(--pc-primary);
    font-size: 20px;
}

.pc-stat-card.is-live .pc-stat-icon {
    background: var(--pc-primary);
    color: #fff;
}

.pc-panel {
    padding: 24px;
    min-width: 0;
}

.pc-form-stack {
    display: grid;
    gap: 24px;
}

.pc-section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.pc-section-title > span:first-child {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
    background: #ffeae1;
    color: var(--pc-primary);
    font-size: 18px;
}

.pc-section-title h2 {
    margin: 0;
    color: var(--pc-brown);
    font-size: 22px;
}

.pc-section-title p {
    margin: 4px 0 0;
    color: var(--pc-muted);
}

.form-label {
    color: var(--pc-brown);
    font-size: 13px;
    font-weight: 800;
}

.pc-participant-block {
    padding-top: 22px;
    border-top: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-participant-block:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.pc-participant-block + .pc-participant-block {
    margin-top: 24px;
}

.pc-participant-block h3,
.pc-inline-heading h3 {
    margin: 0 0 14px;
    color: var(--pc-brown);
    font-size: 18px;
}

.pc-inline-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.pc-mini-note {
    color: var(--pc-muted);
    font-size: 13px;
    font-weight: 700;
}

.pc-inline-heading h3 {
    margin: 0;
}

.pc-person-list {
    display: grid;
    gap: 10px;
}

.pc-person-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 0.8fr) minmax(0, 1.1fr) 38px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: var(--pc-radius-md);
    background: #fff8f6;
}

.pc-person-row-edit {
    grid-template-columns: 32px minmax(0, 0.9fr) minmax(0, 1.1fr) 38px;
}

.pc-person-row-observer,
.pc-person-row-observer-create {
    grid-template-columns: 32px minmax(0, 0.85fr) minmax(0, 1fr) minmax(120px, 0.55fr) minmax(220px, 1.15fr) 38px;
}

.pc-person-row.is-saving {
    opacity: 0.72;
}

.pc-person-row.has-error {
    box-shadow: inset 0 0 0 2px rgba(186, 26, 26, 0.28);
}

.pc-person-row > i {
    color: var(--pc-primary);
    text-align: center;
}

.pc-observer-inline-access {
    min-width: 0;
}

.pc-observer-inline-access a {
    display: block;
    max-width: 100%;
    margin-top: 4px;
    overflow: hidden;
    color: var(--pc-primary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-sticky-column {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.pc-summary-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.pc-summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pc-summary-list dt {
    color: var(--pc-muted);
    font-size: 13px;
    font-weight: 800;
}

.pc-summary-list dd {
    margin: 0;
    color: var(--pc-brown);
    font-weight: 800;
    text-align: right;
}

.pc-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.pc-panel-header h2 {
    margin: 0;
    color: var(--pc-brown);
    font-size: 22px;
}

.pc-panel-header p {
    margin: 5px 0 0;
    color: var(--pc-muted);
}

.pc-table {
    margin: 0;
}

.pc-table thead th {
    color: rgba(90, 65, 54, 0.72);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pc-table td,
.pc-table th {
    padding: 16px 12px;
    border-color: rgba(75, 53, 51, 0.08);
}

.pc-table td strong,
.pc-table td span {
    display: block;
}

.pc-table td strong {
    color: var(--pc-brown);
}

.pc-table td span {
    margin-top: 3px;
    color: rgba(90, 65, 54, 0.72);
    font-size: 13px;
}

.pc-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-badge-live {
    color: #7b2f00;
    background: #ffdbcc;
}

.pc-badge-scheduled {
    color: var(--pc-brown);
    background: #ebeaea;
}

.pc-badge-draft {
    color: #765c5a;
    background: #fad8d4;
}

.pc-badge-completed {
    color: #004a79;
    background: #cfe4ff;
}

.pc-row-action {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
    color: var(--pc-brown);
}

.pc-row-action:hover {
    background: #ffeae1;
    color: var(--pc-primary);
}

.pc-person-remove {
    color: rgba(90, 65, 54, 0.62);
}

.pc-person-remove:hover {
    background: #fad8d4;
    color: var(--pc-error);
}

.pc-filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(420px, 1.4fr);
    gap: 18px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: var(--pc-radius-card);
    background: #fff;
    box-shadow: var(--pc-shadow-card);
}

.pc-filter-panel-compact {
    margin-bottom: 28px;
}

.pc-filter-search {
    position: relative;
}

.pc-filter-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: rgba(75, 53, 51, 0.48);
    transform: translateY(-50%);
}

.pc-filter-search input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px 0 42px;
    border: 0;
    border-radius: var(--pc-radius-md);
    background: var(--pc-input);
    color: var(--pc-text);
    outline: none;
}

.pc-filter-search input:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.16);
}

.pc-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pc-filter-grid label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.pc-filter-grid label span {
    color: rgba(90, 65, 54, 0.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-control,
.form-select {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: var(--pc-radius-md);
    background-color: var(--pc-input);
    color: var(--pc-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pc-primary);
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 0, 0.15);
}

.pc-count-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: #ffeae1;
    color: var(--pc-primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.pc-events-table td > strong {
    font-size: 15px;
}

.pc-stack {
    color: var(--pc-brown) !important;
    font-weight: 800;
}

.pc-mono {
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 12px !important;
}

.pc-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

button.pc-row-action {
    border: 0;
    background: transparent;
}

.pc-pagination-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-pagination-row p {
    margin: 0;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-pagination-row nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-page-link {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-sm);
    color: var(--pc-brown);
    font-size: 13px;
    font-weight: 800;
}

.pc-page-link:hover,
.pc-page-link.is-active {
    background: var(--pc-primary);
    color: #fff;
}

.pc-page-link.is-disabled {
    pointer-events: none;
    opacity: 0.36;
}

.pagination {
    display: flex;
    gap: 6px;
    margin: 0;
}

.page-item .page-link {
    border: 0;
    border-radius: var(--pc-radius-sm);
    color: var(--pc-brown);
    font-size: 13px;
    font-weight: 800;
}

.page-item.active .page-link,
.page-link:hover {
    background: var(--pc-primary);
    color: #fff;
}

.pc-empty-state {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    gap: 12px;
    text-align: center;
}

.pc-empty-state span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #ffeae1;
    color: var(--pc-primary);
    font-size: 24px;
}

.pc-empty-state h3 {
    margin: 0;
    color: var(--pc-brown);
    font-size: 24px;
}

.pc-empty-state p {
    margin: 0 0 8px;
    color: var(--pc-muted);
}

.pc-client-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pc-client-card {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--pc-radius-card);
    background: #fff;
    box-shadow: var(--pc-shadow-card);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pc-client-card:hover {
    box-shadow: var(--pc-shadow-hover);
    transform: translateY(-2px);
}

.pc-client-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.pc-client-logo,
.pc-client-add {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--pc-primary);
    color: #fff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.pc-client-logo-blue {
    background: var(--pc-info);
}

.pc-client-logo-soft {
    background: var(--pc-brown);
}

.pc-client-card h2 {
    margin: 0 0 8px;
    color: var(--pc-brown);
    font-size: 22px;
}

.pc-client-card p {
    margin: 0;
    color: var(--pc-muted);
}

.pc-client-card dl {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}

.pc-client-card dl div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-client-card dt {
    color: rgba(90, 65, 54, 0.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pc-client-card dd {
    margin: 0;
    color: var(--pc-brown);
    font-weight: 800;
    text-align: right;
}

.pc-client-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.pc-client-actions .btn {
    flex: 1;
}

.pc-client-card-new {
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(75, 53, 51, 0.16);
    background: #fff8f6;
    text-align: center;
}

.pc-client-card-new .pc-client-add {
    margin-bottom: 18px;
    background: #ffeae1;
    color: var(--pc-primary);
}

.pc-client-card-new .btn {
    margin-top: 24px;
}

.pc-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 16px;
    background: var(--pc-brown);
    color: #fff;
    box-shadow: var(--pc-shadow-hover);
}

.pc-detail-hero h2 {
    margin: 18px 0 8px;
    font-size: 30px;
}

.pc-detail-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.pc-detail-hero dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.pc-detail-hero dl div {
    padding: 16px;
    border-radius: var(--pc-radius-md);
    background: rgba(255, 255, 255, 0.08);
}

.pc-detail-hero dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-detail-hero dd {
    margin: 6px 0 0;
    color: #fff;
    font-weight: 800;
}

.pc-roster {
    display: grid;
    gap: 16px;
}

.pc-roster article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: var(--pc-radius-md);
    background: #fff8f6;
}

.pc-roster article > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
    background: #ffeae1;
    color: var(--pc-primary);
}

.pc-roster h3 {
    margin: 0 0 8px;
    color: var(--pc-brown);
    font-size: 18px;
}

.pc-roster p {
    margin: 2px 0 0;
    color: var(--pc-muted);
}

.pc-roster-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-roster-line strong {
    color: var(--pc-brown);
}

.pc-roster-line small {
    color: var(--pc-muted);
    text-align: right;
}

.pc-observer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1.1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-observer-row-readonly {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1.15fr);
}

.pc-observer-identity,
.pc-observer-access,
.pc-observer-actions {
    min-width: 0;
}

.pc-observer-row > form {
    grid-column: 3;
    justify-self: end;
    margin: 0;
}

.pc-observer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.pc-observer-identity strong,
.pc-observer-identity small,
.pc-observer-access a,
.pc-observer-access small {
    display: block;
}

.pc-observer-identity strong {
    color: var(--pc-brown);
}

.pc-observer-identity small,
.pc-observer-access small {
    margin-top: 3px;
    color: var(--pc-muted);
    font-size: 12px;
}

.pc-observer-access a {
    max-width: 100%;
    margin-top: 5px;
    overflow: hidden;
    color: var(--pc-primary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-access-state {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 0.22rem 0.58rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-access-state.is-active {
    background: #d7f2e3;
    color: #005c2c;
}

.pc-access-state.is-disabled {
    background: #fad8d4;
    color: var(--pc-error);
}

.pc-pin-line {
    margin-top: 8px;
    color: var(--pc-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-pin-line strong {
    display: inline-flex;
    margin-left: 6px;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    background: #ffeae1;
    color: var(--pc-primary-dark);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    letter-spacing: 0.08em;
}

.pc-observer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.pc-observer-stats span {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
    background: rgba(75, 53, 51, 0.07);
    color: var(--pc-muted);
    font-size: 11px;
    font-weight: 800;
}

.pc-observer-access-manager {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-unmatched-accesses {
    margin-top: 16px;
}

.pc-unmatched-accesses h4 {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(75, 53, 51, 0.12);
    color: var(--pc-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pc-link-box,
.pc-muted-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    min-height: 48px;
    padding: 12px;
    border-radius: var(--pc-radius-md);
    background: #fff8f6;
}

.pc-link-box span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-muted-box {
    color: var(--pc-muted);
    font-weight: 700;
}

.pc-service-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--pc-radius-md);
    background: #fff8f6;
}

.pc-service-meta span {
    color: rgba(90, 65, 54, 0.72);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-service-meta strong {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--pc-brown);
    font-size: 12px;
}

.pc-timeline {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-timeline li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.pc-timeline li > span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--pc-primary);
    color: #fff;
    font-size: 13px;
}

.pc-timeline strong {
    color: var(--pc-brown);
}

.pc-timeline p {
    margin: 3px 0 0;
    color: var(--pc-muted);
    font-size: 13px;
}

.pc-live-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 30px;
    border-radius: 16px;
    background: var(--pc-brown);
    color: #fff;
    box-shadow: var(--pc-shadow-hover);
}

.pc-live-strip h2 {
    margin: 0;
    font-size: 30px;
}

.pc-live-strip p:not(.pc-kicker) {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.pc-access-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.pc-access-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border-radius: var(--pc-radius-md);
    background: #fff8f6;
}

.pc-access-item strong,
.pc-access-item span,
.pc-access-item a {
    display: block;
}

.pc-access-item span,
.pc-access-item a {
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: var(--pc-muted);
    font-size: 12px;
}

.pc-video-preview {
    display: grid;
    min-height: 520px;
    place-items: center;
    border-radius: var(--pc-radius-card);
    background: linear-gradient(135deg, #261812, #4b3533);
    color: #fff;
    box-shadow: var(--pc-shadow-card);
}

.pc-video-preview div {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.pc-video-preview i {
    color: var(--pc-primary);
    font-size: 44px;
}

.pc-video-preview strong {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 24px;
}

.pc-video-preview span {
    color: rgba(255, 255, 255, 0.68);
}

.pc-watch-shell {
    min-height: 100vh;
    background: var(--pc-bg);
}

.pc-watch-auth {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(75, 53, 51, 0.96), rgba(38, 24, 18, 0.94)),
        radial-gradient(circle at 18% 20%, rgba(255, 105, 0, 0.25), transparent 34%);
}

.pc-watch-card {
    width: min(100%, 460px);
    padding: 36px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--pc-shadow-hover);
}

.pc-watch-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-watch-card h1 {
    margin: 0;
    color: var(--pc-text);
    font-size: 32px;
}

.pc-pin-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-align: center;
}

.pc-watch-page {
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: 28px;
}

.pc-watch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.pc-watch-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.pc-watch-brand {
    padding: 0;
    color: var(--pc-brown);
}

.pc-watch-brand-logo {
    width: min(210px, 42vw);
    max-height: 40px;
}

.pc-watch-brand:hover {
    color: var(--pc-brown);
}

.pc-watch-brand small {
    color: var(--pc-muted);
}

.pc-watch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
    gap: 22px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 16px;
    background: var(--pc-brown);
    color: #fff;
}

.pc-watch-hero h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 52px);
}

.pc-watch-hero p:not(.pc-kicker) {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.pc-watch-hero dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.pc-watch-hero dl div {
    padding: 16px;
    border-radius: var(--pc-radius-md);
    background: rgba(255, 255, 255, 0.08);
}

.pc-watch-hero dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-watch-hero dd {
    margin: 6px 0 0;
    color: #fff;
    font-weight: 800;
}

.pc-watch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.34fr);
    gap: 24px;
    align-items: start;
}

.pc-watch-player {
    display: grid;
    min-height: 620px;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #261812, #4b3533);
    color: #fff;
    text-align: center;
    box-shadow: var(--pc-shadow-card);
}

.pc-watch-player div {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 520px;
    padding: 24px;
}

.pc-watch-player i {
    color: var(--pc-primary);
    font-size: 44px;
}

.pc-watch-player strong {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 28px;
}

.pc-watch-player span {
    color: rgba(255, 255, 255, 0.7);
}

.pc-watch-player-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #1b1110;
}

.pc-vimeo-player {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.pc-watch-side {
    display: grid;
    gap: 18px;
}

.pc-watch-observer-list {
    display: grid;
    gap: 10px;
}

.pc-watch-observer-list div {
    display: grid;
    gap: 3px;
    padding: 10px 0;
    border-top: 1px solid rgba(75, 53, 51, 0.08);
}

.pc-watch-observer-list div:first-child {
    border-top: 0;
}

.pc-watch-observer-list strong {
    color: var(--pc-brown);
}

.pc-watch-observer-list span {
    color: var(--pc-muted);
    font-size: 12px;
}

.pc-auth-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    background: var(--pc-bg-warm);
}

.pc-auth-brand {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    background:
        linear-gradient(135deg, rgba(75, 53, 51, 0.96), rgba(38, 24, 18, 0.96)),
        radial-gradient(circle at 15% 15%, rgba(255, 105, 0, 0.32), transparent 34%);
    color: #fff;
}

.pc-auth-logo {
    padding: 0;
}

.pc-auth-copy {
    max-width: 560px;
}

.pc-auth-copy h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
}

.pc-auth-copy p:not(.pc-kicker) {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.6;
}

.pc-auth-panel {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 40px;
}

.pc-auth-card {
    width: min(100%, 460px);
    padding: 36px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--pc-shadow-hover);
}

.pc-auth-mark {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pc-radius-md);
    background: var(--pc-primary);
    color: #fff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.pc-auth-mark-logo {
    display: block;
    padding: 6px;
    object-fit: contain;
}

.pc-auth-heading {
    margin: 24px 0;
}

.pc-auth-heading h2 {
    margin: 0;
    color: var(--pc-text);
    font-size: 34px;
}

.pc-auth-heading p:not(.pc-kicker) {
    margin: 8px 0 0;
    color: var(--pc-muted);
}

.pc-login-form {
    display: grid;
    gap: 12px;
}

.pc-input-icon {
    position: relative;
}

.pc-input-icon i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: rgba(75, 53, 51, 0.48);
    transform: translateY(-50%);
}

.pc-input-icon .form-control {
    padding-left: 42px;
}

.pc-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 6px 0 12px;
    font-size: 14px;
}

.pc-login-options .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.pc-login-options .form-check-input {
    margin: 0;
}

@media (max-width: 991.98px) {
    .pc-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
        padding: 16px 0;
    }

    .pc-sidebar-nav,
    .pc-sidebar-footer {
        display: none;
    }

    .pc-main {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .pc-app-shell {
        display: block;
    }

    .pc-topbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .pc-topbar-actions {
        justify-content: space-between;
    }

    .pc-content {
        padding: 20px 16px;
    }

    .pc-page-header,
    .pc-live-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .pc-page-actions {
        justify-content: flex-start;
    }

    .pc-filter-panel,
    .pc-filter-grid {
        grid-template-columns: 1fr;
    }

    .pc-client-grid {
        grid-template-columns: 1fr;
    }

    .pc-detail-hero,
    .pc-detail-hero dl {
        grid-template-columns: 1fr;
    }

    .pc-pagination-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .pc-person-row {
        grid-template-columns: 28px 1fr;
    }

    .pc-person-row input,
    .pc-person-row .pc-observer-inline-access,
    .pc-person-row button {
        grid-column: 2;
    }

    .pc-sticky-column {
        position: static;
    }

    .pc-auth-shell {
        grid-template-columns: 1fr;
    }

    .pc-auth-brand {
        min-height: auto;
        padding: 28px;
    }

    .pc-auth-copy {
        margin-top: 72px;
    }

    .pc-auth-panel {
        min-height: auto;
        padding: 24px;
    }

    .pc-access-item,
    .pc-observer-row,
    .pc-watch-grid,
    .pc-watch-hero {
        grid-template-columns: 1fr;
    }

    .pc-observer-row > form {
        grid-column: auto;
        justify-self: start;
    }

    .pc-observer-actions {
        justify-content: flex-start;
    }

    .pc-watch-page {
        padding: 18px;
    }

    .pc-watch-player {
        min-height: 420px;
    }

    .pc-watch-player-embed {
        min-height: 0;
    }
}
