/* Campaigns table — live React demo styles (matches All Campaigns mockup) */

.ct-wrap {
    --ct-text: #1a1a1a;
    --ct-muted: #5c5c5c;
    --ct-border: #e5e5e5;
    --ct-border-strong: #1a1a1a;
    --ct-surface: #ffffff;
    --ct-surface-soft: #f3f3f3;
    --ct-surface-selected: #f0f0f0;
    --ct-bulk: #ececec;
    --ct-link: #2563eb;
    --ct-link-hover: #1d4ed8;
    --ct-primary: #C45000;
    --ct-primary-hover: #a84400;
    --ct-radius: 8px;
    --ct-radius-pill: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ct-text);
    background: var(--ct-surface);
    border: 1px solid var(--ct-border);
    border-radius: 12px;
    padding: 24px 24px 0;
    margin: 28px 0 8px;
    overflow: visible;
    position: relative;
}

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

.ct-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.ct-subtitle {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    color: var(--ct-text);
    line-height: 1.45;
}

.ct-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border: none;
    border-radius: var(--ct-radius-pill);
    background: var(--ct-primary);
    color: #fff;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 150ms ease, opacity 150ms ease;
}

.ct-upload:hover {
    background: var(--ct-primary-hover);
    opacity: 1;
}

.ct-upload:active {
    background: #000;
    opacity: 1;
}

.ct-upload:focus-visible {
    outline: 2px solid var(--ct-text);
    outline-offset: 2px;
}

.ct-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 12px;
}

.ct-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
}

.ct-filter-picker {
    position: relative;
    flex: 0 0 auto;
}

.ct-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--ct-border-strong);
    border-radius: var(--ct-radius-pill);
    background: var(--ct-surface);
    color: var(--ct-text);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    cursor: pointer;
}

.ct-filters-btn:hover {
    opacity: 1;
    background: var(--ct-surface-soft);
}

.ct-filters-btn[aria-expanded="true"] {
    background: var(--ct-surface-soft);
}

.ct-filters-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--ct-radius-pill);
    background: var(--ct-text);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
}

.ct-filter-picker-menu {
    min-width: 220px;
}

.ct-filter-menu-hint {
    margin: 0 0 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ct-muted);
}

.ct-filter-chip {
    position: relative;
}

.ct-filter-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: var(--ct-radius-pill);
    background: var(--ct-surface-soft);
    color: var(--ct-text);
    font: inherit;
    font-size: 0.8125rem;
    padding: 7px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.ct-filter-chip-btn:hover {
    opacity: 1;
    filter: brightness(0.97);
}

.ct-filter-chip-btn[aria-expanded="true"] {
    box-shadow: inset 0 0 0 1.5px var(--ct-border-strong);
}

.ct-filter-label {
    color: var(--ct-muted);
}

.ct-filter-value {
    font-weight: 600;
}

.ct-filter-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    min-width: 200px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ct-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
}

.ct-filter-option:hover {
    background: var(--ct-surface-soft);
}

.ct-filter-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--ct-text);
    cursor: pointer;
}

.ct-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    color: var(--ct-link);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 4px 2px;
    cursor: pointer;
}

.ct-clear-filters:hover {
    opacity: 1;
    color: var(--ct-link-hover);
    text-decoration: underline;
}

.ct-search {
    position: relative;
    flex: 0 0 280px;
    width: 280px;
    max-width: 48%;
    min-width: 180px;
    z-index: 30;
}

.ct-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ct-muted);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.ct-search-input {
    width: 100%;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius-pill);
    background: #fff;
    font: inherit;
    font-size: 0.875rem;
    padding: 9px 14px 9px 36px;
    color: var(--ct-text);
}

.ct-search-input::placeholder {
    color: #9a9a9a;
}

.ct-search-input:focus {
    outline: 2px solid var(--ct-text);
    outline-offset: 1px;
}

.ct-smart-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 280px;
    max-height: 320px;
    overflow: auto;
    z-index: 40;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    padding: 8px 0 6px;
}

.ct-smart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 10px;
    border-bottom: 1px solid var(--ct-border);
    margin-bottom: 4px;
}

.ct-smart-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 4px 2px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9a9a9a;
    cursor: pointer;
}

.ct-smart-action.is-accent {
    color: var(--ct-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ct-smart-action:disabled {
    color: #bdbdbd;
    cursor: not-allowed;
    text-decoration: none;
}

.ct-smart-action:not(:disabled):hover {
    color: var(--ct-primary-hover);
}

.ct-smart-divider {
    width: 1px;
    height: 16px;
    background: #d0d0d0;
}

.ct-smart-list {
    display: flex;
    flex-direction: column;
    padding: 2px 0;
}

.ct-smart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font: inherit;
    font-size: 0.875rem;
    color: var(--ct-text);
    text-align: left;
    cursor: pointer;
}

.ct-smart-item:hover {
    background: #f5f5f5;
}

.ct-smart-item svg {
    color: var(--ct-muted);
    flex-shrink: 0;
}

.ct-smart-empty {
    margin: 0;
    padding: 12px 14px;
    font-size: 0.8125rem;
    color: var(--ct-muted);
}

.ct-muted {
    color: var(--ct-muted);
}

.ct-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--ct-text);
    cursor: pointer;
    padding: 0;
}

.ct-icon-btn:hover {
    background: #ececec;
}

.ct-saved-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 26, 26, 0.35);
}

.ct-saved-modal {
    width: min(920px, 100%);
    max-height: min(860px, calc(100vh - 48px));
    overflow: auto;
    background: #f3f3f3;
    border-radius: 16px;
    padding: 24px 28px 28px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.ct-saved-back {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0 0 16px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ct-text);
    cursor: pointer;
}

.ct-saved-back .back-arrow {
    padding-right: 0.75rem;
}

.ct-saved-back:hover .back-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ct-saved-title {
    margin: 0 0 6px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ct-text);
}

.ct-saved-subtitle {
    margin: 0 0 20px;
    max-width: 42rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ct-muted);
}

.ct-saved-table-wrap {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 12px;
    overflow: hidden;
}

.ct-saved-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.875rem;
}

.ct-saved-table th,
.ct-saved-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--ct-border);
    vertical-align: middle;
}

.ct-saved-table tbody tr:last-child > td {
    border-bottom: none;
}

.ct-saved-table th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ct-text);
    background: #fafafa;
}

.ct-saved-col-expand {
    width: 44px;
}

.ct-saved-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0 0 4px;
    font: inherit;
    font-weight: 600;
    color: var(--ct-text);
    cursor: pointer;
    border-bottom: 2px solid #8b1e1e;
}

.ct-saved-name {
    font-weight: 600;
}

.ct-saved-term {
    color: var(--ct-text);
}

.ct-saved-empty {
    text-align: center;
    color: var(--ct-muted);
    padding: 28px 14px !important;
}

.ct-saved-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ct-saved-run {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--ct-border-strong);
    border-radius: var(--ct-radius-pill);
    background: #fff;
    padding: 6px 12px;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ct-text);
    cursor: pointer;
}

.ct-saved-run:hover {
    background: #f5f5f5;
}

.ct-saved-more-wrap {
    position: relative;
}

.ct-saved-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 5;
    min-width: 160px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-saved-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 6px;
    padding: 8px 10px;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--ct-text);
    cursor: pointer;
    text-align: left;
}

.ct-saved-menu button:hover {
    background: #f5f5f5;
}

.ct-saved-menu button.is-danger {
    color: #b42318;
}

.ct-saved-chevron {
    display: inline-flex;
    transition: transform 0.15s ease;
}

.ct-saved-chevron.is-open {
    transform: rotate(180deg);
}

.ct-saved-detail-row td {
    background: #f7f7f7;
    border-bottom: 1px solid var(--ct-border);
    padding: 0;
}

.ct-saved-detail {
    padding: 14px 18px 18px 58px;
}

.ct-saved-detail-label {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.ct-saved-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ct-saved-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--ct-radius-pill);
    background: #fff;
    border: 1px solid var(--ct-border);
    font-size: 0.8125rem;
    color: var(--ct-text);
}

.ct-bulk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--ct-bulk);
    border-radius: 6px 6px 0 0;
    padding: 8px 12px;
    min-height: 44px;
}

.ct-bulk-left,
.ct-bulk-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-bulk-count {
    font-size: 0.875rem;
    font-weight: 500;
}

.ct-select-all {
    border: none;
    background: transparent;
    color: var(--ct-link);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ct-select-all:hover {
    opacity: 1;
    color: var(--ct-link-hover);
}

.ct-bulk-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--ct-text);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    min-height: 36px;
}

.ct-bulk-action svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ct-bulk-action:hover:not(:disabled) {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.ct-bulk-action:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ct-bulk-action[aria-label="More bulk actions"] {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
}

.ct-table-scroll {
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px 8px;
}

.ct-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    min-width: 640px;
}

.ct-col-check {
    width: 40px;
}

.ct-col-expand {
    width: 28px;
}

.ct-table th,
.ct-table td {
    text-align: left;
    padding: 12px 12px;
    border-bottom: 1px solid var(--ct-border);
    vertical-align: middle;
    font-size: 0.875rem;
}

.ct-table td.ct-cell-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-table thead th {
    font-weight: 600;
    border-bottom: 2px solid var(--ct-border);
    white-space: nowrap;
    position: relative;
}

.ct-table thead th.is-sorted {
    border-bottom-color: var(--ct-text);
}

.ct-th-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    position: relative;
    padding-right: 8px;
}

.ct-th-sort {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.ct-th-sort:hover {
    opacity: 0.75;
}

.ct-th-sort:focus-visible {
    outline: 2px solid var(--ct-text);
    outline-offset: 2px;
    border-radius: 2px;
}

.ct-th-sort-placeholder {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.ct-col-resize {
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: -12px;
    width: 10px;
    cursor: col-resize;
    touch-action: none;
    user-select: none;
}

.ct-col-resize::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: transparent;
    border-radius: 1px;
}

.ct-th:hover .ct-col-resize::after,
.ct-col-resize:hover::after {
    background: var(--ct-border-strong);
}

body.ct-is-resizing,
body.ct-is-resizing * {
    cursor: col-resize !important;
    user-select: none !important;
}

.ct-cell-name .ct-campaign-link {
    display: inline;
}

.ct-table tbody tr {
    transition: background 120ms ease;
}

.ct-table tbody tr.is-selected {
    background: var(--ct-surface-selected);
}

.ct-table tbody tr:hover {
    background: #f7f7f7;
}

.ct-table tbody tr.is-selected:hover {
    background: #ebebeb;
}

.ct-check-cell {
    width: 40px;
    padding-left: 8px !important;
    padding-right: 4px !important;
}

.ct-expand-cell {
    width: 28px;
    padding-left: 0 !important;
    padding-right: 4px !important;
}

.ct-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--ct-text);
    cursor: pointer;
    vertical-align: middle;
}

.ct-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--ct-muted);
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
}

.ct-expand:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
    color: var(--ct-text);
}

.ct-expand svg {
    transition: transform 150ms ease;
}

.ct-expand[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.ct-campaign-link {
    color: var(--ct-text);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ct-campaign-link:hover {
    opacity: 1;
    color: var(--color-link-hover, #c45000);
}

.ct-status {
    display: inline-flex;
    align-items: center;
    border-radius: var(--ct-radius-pill);
    background: var(--ct-surface-soft);
    color: var(--ct-text);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    white-space: nowrap;
}

.ct-status.is-live {
    background: #ececec;
}

.ct-status.is-draft {
    background: #f3f0e8;
}

.ct-status.is-paused {
    background: #f5e8e4;
}

.ct-status.is-ended {
    background: #ececec;
    color: var(--ct-muted);
}

.ct-status.is-scheduled {
    background: #e8eef8;
}

.ct-detail-row td {
    background: #fafafa;
    border-bottom: 1px solid var(--ct-border);
    padding: 12px 16px 16px 76px;
    font-size: 0.8125rem;
    color: var(--ct-muted);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.ct-empty {
    text-align: center;
    padding: 40px 16px !important;
    color: var(--ct-muted);
}

.ct-filter-text-menu,
.ct-filter-date-menu {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ct-date-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ct-muted);
}

.ct-date-input {
    width: 100%;
    border: 1px solid var(--ct-border);
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ct-text);
    padding: 8px 10px;
}

.ct-date-input:focus {
    outline: 2px solid var(--ct-text);
    outline-offset: 1px;
}

.ct-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 0 8px;
    border-top: 1px solid var(--ct-border);
    font-size: 0.8125rem;
    color: var(--ct-muted);
}

.ct-page-size {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ct-page-size-select {
    border: 1px solid var(--ct-border);
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--ct-text);
    padding: 6px 8px;
    cursor: pointer;
}

.ct-page-meta {
    font-weight: 500;
    color: var(--ct-text);
}

.ct-page-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ct-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ct-border);
    border-radius: 6px;
    background: #fff;
    color: var(--ct-text);
    cursor: pointer;
    padding: 0;
}

.ct-page-btn:hover:not(:disabled) {
    opacity: 1;
    background: var(--ct-surface-soft);
}

.ct-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ct-page-jump {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 4px;
    color: var(--ct-muted);
}

.ct-page-input {
    width: 3rem;
    height: 32px;
    border: 1px solid var(--ct-border);
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--ct-text);
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.ct-page-input::-webkit-outer-spin-button,
.ct-page-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ct-page-input:focus {
    outline: 2px solid var(--ct-text);
    outline-offset: 1px;
}

.ct-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 1.25rem;
    padding: 0 0 16px;
    font-size: 0.8125rem;
    color: var(--ct-muted);
}

/* Table guide — skeleton demos with focused interactive regions */
.tables-doc .ct-wrap--guide {
    margin: 28px 0 0;
    pointer-events: none;
}

.tables-doc .ct-wrap--guide:not(.ct-wrap--essential) {
    border: 16px solid #F8F8F8;
    border-radius: 32px;
    background: #fff;
}

.tables-doc .ct-wrap--guide .ct-bulk {
    background: #fafafa;
}

.tables-doc .ct-wrap--guide:not(.ct-wrap--essential) .ct-bulk {
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 0;
}

.tables-doc .ct-wrap--guide .ct-bulk.is-guide-active {
    padding-left: 32px;
}

.tables-doc .panel-stack .ct-wrap {
    margin: 0;
}

.tables-doc .panel-stack .ct-wrap--callouts {
    padding: 56px 24px 20px 56px;
}

.ct-wrap--callouts {
    padding-top: 56px;
}

.ct-callouts {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    overflow: visible;
}

.ct-callouts-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ct-callout-stem {
    stroke: #c45000;
    stroke-width: 2;
    stroke-linecap: butt;
}

.ct-callout-tip {
    fill: #c45000;
}

.ct-callout-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    margin: 0;
    border-radius: 999px;
    background: #c45000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

.tables-doc .ct-wrap--essential {
    padding: 56px 24px 20px 56px;
    pointer-events: auto;
}

.tables-doc .section > .ct-wrap--guide:first-child,
.tables-doc #cover-table-skeleton .ct-wrap--guide {
    margin-top: 0;
    margin-bottom: 24px;
}

.tables-doc .cover-table-playground .ct-wrap--guide {
    margin-top: 0;
    margin-bottom: 0;
}

.ct-wrap--guide .is-guide-active,
.ct-wrap--guide .is-guide-active * {
    pointer-events: auto;
}

.ct-sk-activate {
    pointer-events: auto;
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-align: inherit;
    box-sizing: border-box;
}

.ct-header > .ct-sk-activate.ct-sk-heading {
    flex: 1;
    min-width: 0;
}

.ct-header > .ct-sk-activate:not(.ct-sk-heading) {
    flex-shrink: 0;
}

.ct-sk-activate.ct-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ct-sk-activate:hover .ct-sk-bone,
.ct-sk-activate:focus-visible .ct-sk-bone {
    background: #d4d4d4;
}

.ct-sk-activate:focus-visible {
    outline: 2px solid #c45000;
    outline-offset: 2px;
    border-radius: 6px;
}

.ct-check-cell .ct-sk-activate,
.ct-expand-cell .ct-sk-activate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ct-sk-activate.ct-bulk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ct-sk-activate.ct-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ct-sk-bone {
    display: block;
    border-radius: 999px;
    background: #e4e4e4;
}

.ct-sk-heading {
    flex: 1;
    min-width: 0;
}

.ct-sk-title {
    height: 32px;
    width: 220px;
    max-width: 70%;
    border-radius: 10px;
    background: #d8d8d8;
}

.ct-sk-subtitle {
    height: 12px;
    width: 168px;
    max-width: 50%;
    margin-top: 10px;
    border-radius: 7px;
    background: #e4e4e4;
}

#cover-table-skeleton .ct-sk-title {
    width: 280px;
    max-width: 70%;
}

#cover-table-skeleton .ct-sk-subtitle {
    width: 358px;
    max-width: 60%;
}

.ct-sk-cta {
    width: 148px;
    height: 40px;
    border-radius: 999px;
    background: #c45c4c;
    flex-shrink: 0;
}

.ct-sk-pill-md {
    width: 128px;
    height: 36px;
    background: #d0d0d0;
}

.ct-sk-pill-lg {
    width: min(260px, 42vw);
    height: 36px;
    background: #f1f1f1;
}

.ct-sk-pill-sm {
    width: 72px;
    height: 28px;
}

.ct-sk-pill-xs {
    width: 48px;
    height: 28px;
    background: #f1f1f1;
}

.ct-sk-sq,
.ct-sk-sq-sm {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #e4e4e4;
}

.ct-sk-sq-sm {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.ct-sk-name {
    height: 14px;
    width: 72%;
    background: #ead6d1;
}

.ct-sk-mid {
    height: 14px;
    width: 64%;
}

.ct-guide-sk-row td {
    padding: 14px 8px;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
}

.ct-wrap--guide .ct-table thead th {
    padding: 12px 8px;
    vertical-align: middle;
}

.ct-col-actions,
.ct-actions-cell {
    width: 44px;
    text-align: center;
}

.ct-row-actions {
    position: relative;
    display: inline-flex;
}

.ct-row-actions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--ct-text);
    cursor: pointer;
    padding: 0;
}

.ct-row-actions-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.ct-row-actions-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 50;
    min-width: 140px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ct-row-actions-item {
    display: block;
    width: 100%;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--ct-text);
    font: inherit;
    font-size: 0.875rem;
    text-align: left;
    padding: 8px 10px;
    cursor: pointer;
}

.ct-row-actions-item:hover {
    background: var(--ct-surface-soft);
}

@media (max-width: 720px) {
    .ct-wrap {
        padding: 16px 14px 0;
    }

    .ct-header {
        flex-direction: column;
        align-items: stretch;
    }

    .ct-upload {
        align-self: flex-start;
    }

    .ct-toolbar {
        gap: 8px;
    }

    .ct-search {
        flex: 0 0 160px;
        width: 160px;
        max-width: 46%;
        min-width: 140px;
    }

    .ct-table-scroll {
        margin: 0 -14px;
        padding: 0 14px 8px;
    }

    .tables-doc .ct-wrap--guide:not(.ct-wrap--essential) .ct-bulk {
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .ct-detail-row td {
        padding-left: 16px;
    }

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

    .ct-guide-sk-hide-sm {
        display: none;
    }
}
