:root {
    --pt-black: #2f2f2d;
    --pt-brown: #fbfbfa;
    --pt-purple: #5e6ad2;
    --pt-purple-dark: #4f5abd;
    --pt-line: rgba(55, 53, 47, .12);
    --pt-muted: rgba(55, 53, 47, .58);
    --pt-white: #ffffff;
    --pt-sidebar: #f7f7f5;
    --pt-hover: rgba(55, 53, 47, .055);
    --pt-active: rgba(55, 53, 47, .09);
    --pt-topbar-height: 45px;
    --pt-sidebar-width: 244px;
}

* { box-sizing: border-box; }

body {
    color: var(--pt-black);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
    background: rgba(130, 65, 130, .2);
    color: var(--pt-black);
}

.pt-navbar {
    background: rgba(251, 250, 244, .96);
    border-bottom: 1px solid var(--pt-line);
}

.pt-navbar__inner {
    align-items: center;
    display: flex;
    height: 64px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 24px;
}

.pt-brand {
    align-items: center;
    color: var(--pt-black);
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.pt-brand img {
    display: block;
    height: auto;
    width: 126px;
}

.pt-brand__label,
.pt-navbar__eyebrow {
    color: var(--pt-muted);
    font-size: 11px;
    font-weight: 600;
}

.pt-navbar__page {
    align-items: center;
    gap: 8px;
}

.pt-navbar__eyebrow::after {
    content: "/";
    margin-left: 8px;
}

.pt-navbar__title {
    color: var(--pt-black);
    font-size: 11px;
    font-weight: 600;
}

.pt-navbar__actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.pt-user-button,
.pt-brand-switcher {
    align-items: center;
    background: transparent;
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    color: var(--pt-black);
    display: flex;
    font-size: 12px;
    font-weight: 600;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}

.pt-brand-switcher {
    cursor: pointer;
    gap: 8px;
    padding: 0 12px;
}

.pt-brand-switcher__dot {
    background: var(--pt-purple);
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.pt-brand-switcher .bi-chevron-down {
    color: var(--pt-muted);
    font-size: 9px;
}

.pt-user-button {
    gap: 7px;
    padding: 0 12px;
}

.pt-user-button__avatar,
.pt-user-button > .bi-box-arrow-right {
    display: none;
}

.pt-user-button:hover,
.pt-brand-switcher:hover {
    background: var(--pt-black);
    border-color: var(--pt-black);
    color: var(--pt-brown);
}

.pt-dropdown {
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(9, 23, 23, .1);
    opacity: 0;
    padding: 6px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    visibility: hidden;
    width: 210px;
}

.group:hover .pt-dropdown,
.group:focus-within .pt-dropdown {
    opacity: 1;
    visibility: visible;
}

.pt-dropdown__label {
    color: var(--pt-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 8px 10px;
}

.pt-dropdown__item {
    align-items: center;
    border-radius: 6px;
    color: var(--pt-black);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    padding: 9px 10px;
    text-decoration: none;
}

.pt-dropdown__item:hover {
    background: var(--pt-brown);
    color: var(--pt-purple);
}

.pt-dashboard-body {
    background: var(--pt-brown);
    min-height: 100vh;
}

.pt-dashboard {
    margin: 0 auto;
    max-width: 1120px;
    padding: 72px 24px 64px;
}

.pt-hero {
    align-items: center;
    border-bottom: 1px solid var(--pt-line);
    display: flex;
    gap: 32px;
    justify-content: space-between;
    padding-bottom: 32px;
}

.pt-hero h1 {
    color: var(--pt-black);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1;
    margin: 0;
}

.pt-search-wrap {
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    display: flex;
    flex: 0 1 280px;
    height: 42px;
}

.pt-search-wrap input {
    background: transparent;
    border: 0;
    color: var(--pt-black);
    font-size: 13px;
    min-width: 0;
    outline: 0;
    padding: 0 14px;
    width: 100%;
}

.pt-search-wrap input::placeholder { color: var(--pt-muted); }

.pt-search-wrap:focus-within {
    border-color: var(--pt-purple);
    box-shadow: 0 0 0 3px rgba(130, 65, 130, .12);
}

.pt-section-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 48px 0 16px;
}

.pt-section-heading h2 {
    color: var(--pt-black);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
}

.pt-count-pill {
    color: var(--pt-muted);
    font-size: 11px;
}

.pt-workspace-grid {
    border-top: 1px solid var(--pt-black);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pt-workspace-card {
    border-bottom: 1px solid var(--pt-line);
    min-width: 0;
    padding: 26px 24px 20px;
}

.pt-workspace-card:nth-child(odd) { border-right: 1px solid var(--pt-line); }
.pt-workspace-card[hidden] { display: none; }

.pt-workspace-card__top {
    display: flex;
    justify-content: flex-start;
}

.pt-card-tag {
    color: var(--pt-purple);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pt-workspace-card h3 {
    color: var(--pt-black);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.03em;
    margin: 10px 0 18px;
}

.pt-card-links {
    border-top: 1px solid var(--pt-line);
}

.pt-card-links a {
    border-bottom: 1px solid var(--pt-line);
    color: var(--pt-black);
    display: block;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 0;
    text-decoration: none;
    transition: color .15s;
}

.pt-card-links a:last-child { border-bottom: 0; }
.pt-card-links a:hover { color: var(--pt-purple); }

.pt-empty-state {
    border-bottom: 1px solid var(--pt-line);
    color: var(--pt-muted);
    font-size: 13px;
    padding: 48px 0;
    text-align: center;
}

.pt-basic-dashboard {
    margin: 0 auto;
    max-width: 1120px;
    padding: 56px 24px 72px;
}

.pt-basic-grid {
    display: grid;
    gap: 44px 48px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pt-basic-section {
    min-width: 0;
}

.pt-basic-section h2 {
    border-bottom: 1px solid var(--pt-line);
    color: var(--pt-black);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.015em;
    margin: 0 0 12px;
    padding-bottom: 10px;
}

.pt-basic-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-basic-section li + li {
    margin-top: 7px;
}

.pt-basic-section a {
    color: var(--pt-muted);
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .15s;
}

.pt-basic-section a:hover {
    color: var(--pt-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Marks a link that still works but is on its way out, so the newer entry
   above it reads as the one to use. */
.pt-basic-note {
    font-size: 11px;
    opacity: .6;
}

/* Class Operations -------------------------------------------------------
   Dense operational screens use the same warm, restrained visual language
   as the command centre. The hierarchy is deliberate: status and the next
   human action stay visible; configuration and audit detail sit underneath. */
.ops-body {
    background: #ffffff;
    min-height: 100vh;
}

.ops-shell {
    margin: 0 auto;
    max-width: 1120px;
    padding: 42px 24px 80px;
}

.ops-breadcrumb {
    color: var(--pt-muted);
    display: inline-flex;
    font-size: 12px;
    font-weight: 650;
    gap: 7px;
    text-decoration: none;
}

.ops-breadcrumb:hover { color: var(--pt-purple); }

.ops-page-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--pt-line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 18px;
    padding-bottom: 28px;
}

.ops-page-head--first { margin-top: 0; }

.ops-eyebrow {
    color: var(--pt-purple);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.ops-page-head h1 {
    color: var(--pt-black);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 720;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin: 0;
}

.ops-lead {
    color: var(--pt-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0 0;
    max-width: 660px;
}

.ops-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ops-button {
    align-items: center;
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    color: var(--pt-black);
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 680;
    gap: 7px;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    text-decoration: none;
}

.ops-button:hover { border-color: var(--pt-black); }

.ops-button--primary {
    background: var(--pt-purple);
    border-color: var(--pt-purple);
    color: var(--pt-white);
}

.ops-button--primary:hover {
    background: var(--pt-purple-dark);
    border-color: var(--pt-purple-dark);
}

.ops-button--danger {
    border-color: #d6a4a4;
    color: #8b2929;
}

.ops-button--small {
    font-size: 11px;
    min-height: 30px;
    padding: 5px 9px;
}

.ops-flash {
    background: #ffffff;
    border: 1px solid #bbdfc6;
    border-radius: 8px;
    color: #176534;
    font-size: 12px;
    margin-top: 18px;
    padding: 11px 13px;
}

.ops-flash--error {
    background: #ffffff;
    border-color: #efb3b3;
    color: #9f2424;
}

.ops-summary-grid {
    border-bottom: 1px solid var(--pt-line);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 24px;
}

.ops-stat {
    border-right: 1px solid var(--pt-line);
    min-width: 0;
    padding: 6px 22px 22px;
}

.ops-stat:first-child { padding-left: 0; }
.ops-stat:last-child { border-right: 0; }
.ops-stat__label {
    color: var(--pt-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ops-stat__value {
    color: var(--pt-black);
    font-size: 30px;
    font-weight: 720;
    letter-spacing: -.04em;
    line-height: 1;
    margin: 9px 0 5px;
}

.ops-stat__note {
    color: var(--pt-muted);
    font-size: 11px;
    line-height: 1.45;
}

.ops-status {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(130, 65, 130, .2);
    border-radius: 999px;
    color: var(--pt-purple-dark);
    display: inline-flex;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    padding: 5px 9px;
    text-transform: uppercase;
}

.ops-status--good {
    background: #ffffff;
    border-color: #bbdfc6;
    color: #176534;
}

.ops-status--warn {
    background: #ffffff;
    border-color: #ead19a;
    color: #80590e;
}

.ops-status--bad {
    background: #ffffff;
    border-color: #efb3b3;
    color: #9f2424;
}

.ops-section {
    border-top: 1px solid var(--pt-line);
    margin-top: 34px;
    padding-top: 24px;
}

.ops-section--first {
    border-top: 0;
    margin-top: 24px;
    padding-top: 0;
}

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

.ops-section h2,
.ops-disclosure summary h2 {
    color: var(--pt-black);
    font-size: 18px;
    font-weight: 720;
    letter-spacing: -.02em;
    margin: 0;
}

.ops-section-head p,
.ops-disclosure summary p {
    color: var(--pt-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 5px 0 0;
}

.ops-panel {
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 10px;
    padding: 20px;
}

.ops-panel--attention {
    background: #ffffff;
    border-color: #e2c88f;
}

.ops-list {
    border-top: 1px solid var(--pt-black);
    margin-top: 24px;
}

.ops-class-row {
    align-items: center;
    border-bottom: 1px solid var(--pt-line);
    color: var(--pt-black);
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(100px, .6fr)) 24px;
    min-width: 0;
    padding: 22px 4px;
    text-decoration: none;
}

.ops-class-row:hover { background: #fafafa; }
.ops-class-row h2 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
}
.ops-class-row p { color: var(--pt-muted); font-size: 11px; margin: 5px 0 0; }
.ops-row-metric span { color: var(--pt-muted); display: block; font-size: 10px; }
.ops-row-metric strong { display: block; font-size: 13px; margin-top: 5px; }
.ops-past { margin: 12px 0 26px; }
.ops-past summary { color: var(--pt-muted); cursor: pointer; font-size: 11px; font-weight: 650; }
.ops-past__row { color: var(--pt-muted); display: flex; font-size: 12px; justify-content: space-between; padding: 9px 2px; text-decoration: none; }
.ops-past__row:hover { color: var(--pt-purple); }

.ops-disclosure {
    border-top: 1px solid var(--pt-line);
    margin-top: 28px;
}

.ops-disclosure > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    list-style: none;
    padding: 22px 2px;
}

.ops-disclosure > summary::-webkit-details-marker { display: none; }
.ops-disclosure > summary::after { color: var(--pt-muted); content: "+"; font-size: 22px; font-weight: 300; }
.ops-disclosure[open] > summary::after { content: "−"; }
.ops-disclosure__body { padding-bottom: 12px; }

.ops-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-form-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ops-field { color: var(--pt-black); display: block; font-size: 11px; font-weight: 680; min-width: 0; }
.ops-field--wide { grid-column: 1 / -1; }
.ops-field input,
.ops-field select,
.ops-field textarea,
.ops-search input,
.ops-search select {
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    color: var(--pt-black);
    font: inherit;
    font-size: 13px;
    margin-top: 7px;
    min-height: 40px;
    outline: none;
    padding: 9px 11px;
    width: 100%;
}

.ops-field textarea { line-height: 1.5; resize: vertical; }
.ops-field input:focus,
.ops-field select:focus,
.ops-field textarea:focus,
.ops-search input:focus,
.ops-search select:focus {
    border-color: var(--pt-purple);
    box-shadow: 0 0 0 3px rgba(130, 65, 130, .1);
}
.ops-field input[readonly] { background: #f7f6f2; color: var(--pt-muted); cursor: not-allowed; }

.ops-field__hint { color: var(--pt-muted); display: block; font-size: 10px; font-weight: 450; line-height: 1.45; margin-top: 6px; }
.ops-checks { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; }
.ops-checks label { color: var(--pt-muted); font-size: 12px; }
.ops-choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ops-choice { background: var(--pt-white); border: 1px solid var(--pt-line); border-radius: 9px; cursor: pointer; padding: 15px; }
.ops-choice strong { font-size: 12px; margin-left: 6px; }
.ops-choice small { color: var(--pt-muted); display: block; font-size: 10px; line-height: 1.45; margin: 5px 0 0 23px; }

.ops-table-wrap { border: 1px solid var(--pt-line); border-radius: 9px; overflow-x: auto; }
.ops-table { border-collapse: collapse; min-width: 720px; width: 100%; }
.ops-table--compact { min-width: 0; table-layout: fixed; }
.ops-table th { background: #ffffff; color: var(--pt-muted); font-size: 9px; font-weight: 720; letter-spacing: .07em; padding: 11px 13px; text-align: left; text-transform: uppercase; }
.ops-table td { border-top: 1px solid rgba(9, 23, 23, .09); color: var(--pt-muted); font-size: 11px; line-height: 1.45; padding: 12px 13px; vertical-align: top; }
.ops-table td strong { color: var(--pt-black); display: block; font-size: 12px; }
.ops-empty { color: var(--pt-muted); font-size: 12px; padding: 32px 0; text-align: center; }

.ops-recording-list { border-top: 1px solid var(--pt-line); }
.ops-recording-row {
    align-items: start;
    border-bottom: 1px solid var(--pt-line);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(320px, 1fr) minmax(220px, auto) auto;
    padding: 16px 2px;
}
.ops-recording-row__number {
    align-items: center;
    border: 1px solid var(--pt-line);
    border-radius: 999px;
    color: var(--pt-muted);
    display: inline-flex;
    font-size: 10px;
    height: 24px;
    justify-content: center;
    margin-right: 8px;
    width: 24px;
}
.ops-recording-row__main strong { color: var(--pt-black); font-size: 13px; }
.ops-recording-row__fields { margin-top: 13px; }
.ops-recording-row__meta { align-items: center; color: var(--pt-muted); display: flex; flex-wrap: wrap; font-size: 10px; gap: 9px; }

.ops-transcript-list { border-top: 1px solid var(--pt-line); }
.ops-transcript-chunk { border-bottom: 1px solid var(--pt-line); display: grid; gap: 16px; grid-template-columns: 64px minmax(0, 1fr); padding: 16px 2px; }
.ops-transcript-chunk__time { color: var(--pt-purple); font-size: 11px; font-weight: 720; text-decoration: none; }
.ops-transcript-chunk__time:hover { text-decoration: underline; text-underline-offset: 3px; }
.ops-transcript-chunk p { color: var(--pt-black); font-size: 13px; line-height: 1.65; margin: 0; }

.ops-search { display: flex; gap: 8px; max-width: 300px; }
.ops-search input, .ops-search select { margin-top: 0; }
.ops-search .ops-button { flex: 0 0 auto; }
.ops-inline-note { color: var(--pt-muted); font-size: 11px; line-height: 1.5; margin: 10px 0 0; }
.ops-alert-row { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.ops-alert-row + .ops-alert-row { border-top: 1px solid rgba(9, 23, 23, .1); margin-top: 14px; padding-top: 14px; }

.ops-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ops-funnel__step { border-right: 1px solid var(--pt-line); min-width: 0; padding: 6px 18px 18px; }
.ops-funnel__step:first-child { padding-left: 0; }
.ops-funnel__step:last-child { border-right: 0; }
.ops-funnel__step span { color: var(--pt-muted); display: block; font-size: 10px; }
.ops-funnel__step strong { display: block; font-size: 23px; letter-spacing: -.03em; margin-top: 8px; }

.ops-sync-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ops-sync-card { border: 1px solid var(--pt-line); border-radius: 9px; padding: 15px; }
.ops-sync-card h3 { font-size: 13px; margin: 0; }
.ops-sync-card p { color: var(--pt-muted); font-size: 10px; line-height: 1.45; min-height: 30px; }

/* Email journey --------------------------------------------------------- */
.ops-flow-summary {
    border-bottom: 1px solid var(--pt-line);
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, .7fr));
    margin-top: 24px;
}

.ops-flow-summary > div {
    border-right: 1px solid var(--pt-line);
    min-width: 0;
    padding: 7px 20px 20px;
}

.ops-flow-summary > div:first-child { padding-left: 0; }
.ops-flow-summary > div:last-child { border-right: 0; }
.ops-flow-summary span,
.ops-flow-step__meta span {
    color: var(--pt-muted);
    display: block;
    font-size: 9px;
    font-weight: 720;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ops-flow-summary strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    margin-top: 7px;
}

.ops-flow-note {
    align-items: center;
    border: 1px solid rgba(130, 65, 130, .18);
    border-radius: 9px;
    color: var(--pt-muted);
    display: flex;
    font-size: 11px;
    gap: 9px;
    line-height: 1.45;
    margin-top: 24px;
    padding: 11px 13px;
}

.ops-flow-note i { color: var(--pt-purple); }

.ops-kill-switch {
    align-items: center;
    border: 1px solid;
    border-radius: 11px;
    display: grid;
    gap: 15px;
    grid-template-columns: 42px minmax(0, 1fr);
    margin-top: 26px;
    padding: 18px;
}

.ops-kill-switch--on {
    background: #f3fbf5;
    border-color: #a9d9b8;
}

.ops-kill-switch--off {
    background: #fff8eb;
    border-color: #e4c985;
}

.ops-kill-switch__icon {
    align-items: center;
    background: var(--pt-white);
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #176534;
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.ops-kill-switch--off .ops-kill-switch__icon { color: #80590e; }
.ops-kill-switch__copy p {
    color: var(--pt-muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .09em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.ops-kill-switch__copy h2 { font-size: 16px; margin: 0; }
.ops-kill-switch__copy span,
.ops-kill-switch__copy small {
    color: var(--pt-muted);
    display: block;
    font-size: 10px;
    line-height: 1.45;
    margin-top: 5px;
}

.ops-kill-switch__copy small { font-size: 9px; }
.ops-flow-list { margin-top: 36px; }
.ops-flow + .ops-flow { margin-top: 50px; }

.ops-flow__head {
    align-items: flex-start;
    display: grid;
    gap: 14px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    margin-bottom: 22px;
}

.ops-flow__icon {
    align-items: center;
    background: rgba(130, 65, 130, .08);
    border: 1px solid rgba(130, 65, 130, .16);
    border-radius: 9px;
    color: var(--pt-purple);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.ops-flow__trigger {
    color: var(--pt-purple);
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .1em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.ops-flow__head h2 {
    font-size: 21px;
    letter-spacing: -.025em;
    margin: 0;
}

.ops-flow__head > div > p:last-child {
    color: var(--pt-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 5px 0 0;
}

.ops-flow__steps { margin-left: 18px; }
.ops-flow-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    position: relative;
}

.ops-flow-step__rail { position: relative; }
.ops-flow-step__rail::after {
    background: var(--pt-line);
    bottom: 0;
    content: "";
    left: 15px;
    position: absolute;
    top: 0;
    width: 1px;
}

.ops-flow-step:last-child .ops-flow-step__rail::after { bottom: 28px; }
.ops-flow-step__rail span {
    align-items: center;
    background: var(--pt-white);
    border: 1px solid var(--pt-purple);
    border-radius: 50%;
    color: var(--pt-purple-dark);
    display: flex;
    font-size: 10px;
    font-weight: 750;
    height: 31px;
    justify-content: center;
    left: 0;
    position: relative;
    top: 22px;
    width: 31px;
    z-index: 1;
}

.ops-flow-step__card {
    border: 1px solid var(--pt-line);
    border-radius: 11px;
    margin-bottom: 14px;
    overflow: hidden;
}

.ops-flow-step--off .ops-flow-step__card { opacity: .62; }
.ops-flow-step__top {
    align-items: flex-start;
    background: #fafafa;
    border-bottom: 1px solid var(--pt-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 17px 18px;
}

.ops-flow-step__timing {
    color: var(--pt-black);
    font-size: 13px;
    font-weight: 720;
    margin: 0;
}

.ops-flow-step__date {
    color: var(--pt-muted);
    font-size: 10px;
    margin: 6px 0 0;
}

.ops-flow-step__date i { margin-right: 5px; }
.ops-flow-step__message { padding: 18px 18px 15px; }
.ops-flow-step__message > span {
    color: var(--pt-purple);
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ops-flow-step__message h3 {
    font-size: 16px;
    letter-spacing: -.015em;
    margin: 6px 0 0;
}

.ops-flow-step__message p {
    color: var(--pt-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 6px 0 0;
}

.ops-flow-step__meta {
    align-items: end;
    border-top: 1px solid var(--pt-line);
    display: grid;
    gap: 16px;
    grid-template-columns: 1.4fr .65fr .8fr auto;
    padding: 14px 18px;
}

.ops-flow-step__meta strong {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 5px;
}

.ops-flow-step__meta small {
    color: var(--pt-muted);
    display: block;
    font-size: 9px;
    line-height: 1.35;
    margin-top: 3px;
}

.ops-flow-delivery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.ops-flow-delivery .ops-flow-delivery__item {
    border: 1px solid var(--pt-line);
    border-radius: 999px;
    display: inline-flex;
    font-size: 9px;
    margin: 0;
    padding: 3px 6px;
}

.ops-flow-delivery__item--failed { border-color: #efb3b3 !important; color: #9f2424; }
.ops-flow-delivery__item--held { border-color: #ead19a !important; color: #80590e; }
.ops-flow-delivery__item--sent { border-color: #bbdfc6 !important; color: #176534; }

@media (max-width: 800px) {
    .ops-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-stat:nth-child(2) { border-right: 0; }
    .ops-stat:nth-child(n+3) { border-top: 1px solid var(--pt-line); padding-top: 18px; }
    .ops-class-row { grid-template-columns: 1fr 1fr; }
    .ops-class-row > :first-child { grid-column: 1 / -1; }
    .ops-class-row > :last-child { display: none; }
    .ops-form-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-funnel__step { border-bottom: 1px solid var(--pt-line); padding: 14px; }
    .ops-funnel__step:first-child { padding-left: 14px; }
    .ops-funnel__step:nth-child(2n) { border-right: 0; }
    .ops-sync-grid { grid-template-columns: 1fr; }
    .ops-flow-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-recording-row { grid-template-columns: minmax(0, 1fr) auto; }
    .ops-recording-row__meta { grid-column: 1 / -1; grid-row: 2; }
    .ops-flow-summary > div:nth-child(2) { border-right: 0; }
    .ops-flow-summary > div:nth-child(n+3) { border-top: 1px solid var(--pt-line); padding-top: 17px; }
    .ops-flow-step__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-flow-step__meta .ops-button { justify-self: start; }
    .ops-kill-switch { grid-template-columns: 42px minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .ops-shell { padding: 28px 16px 64px; }
    .ops-page-head { display: block; }
    .ops-page-head .ops-actions { margin-top: 18px; }
    .ops-summary-grid { grid-template-columns: 1fr 1fr; }
    .ops-stat { padding: 5px 13px 16px; }
    .ops-stat__value { font-size: 25px; }
    .ops-form-grid,
    .ops-form-grid--four,
    .ops-choice-grid { grid-template-columns: 1fr; }
    .ops-section-head { display: block; }
    .ops-section-head .ops-search,
    .ops-section-head .ops-actions { margin-top: 12px; max-width: none; }
    .ops-class-row { gap: 14px; padding: 18px 2px; }
    .ops-past__row { align-items: flex-start; flex-direction: column; gap: 5px; }
    .ops-flow-summary > div { padding: 12px 12px 15px; }
    .ops-flow-summary > div:first-child { padding-left: 12px; }
    .ops-flow__head { grid-template-columns: 38px minmax(0, 1fr); }
    .ops-flow__head > .ops-status { grid-column: 2; justify-self: start; }
    .ops-flow__steps { margin-left: 0; }
    .ops-flow-step { grid-template-columns: 30px minmax(0, 1fr); }
    .ops-flow-step__rail span { height: 25px; top: 20px; width: 25px; }
    .ops-flow-step__rail::after { left: 12px; }
    .ops-flow-step__top { padding: 15px; }
    .ops-flow-step__message { padding: 16px 15px 14px; }
    .ops-flow-step__meta { grid-template-columns: 1fr; padding: 14px 15px; }
    .ops-kill-switch { grid-template-columns: 1fr; }
    .ops-recording-row { grid-template-columns: 1fr; }
    .ops-recording-row__meta { grid-column: auto; grid-row: auto; }
    .ops-recording-row .ops-button { justify-self: start; }
}

.pt-login-body {
    align-items: center;
    background: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 20px;
}

.pt-login-shell {
    max-width: 420px;
    width: 100%;
}

.pt-login-card {
    background: var(--pt-white);
    border: 1px solid var(--pt-line);
    border-radius: 12px;
    padding: 42px;
    width: 100%;
}

.pt-login-logo {
    display: block;
    height: auto;
    width: 170px;
}

.pt-login-card h1 {
    color: var(--pt-black);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.025em;
    margin: 20px 0 32px;
}

.pt-form-label {
    color: var(--pt-black);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pt-form-input {
    background: #ffffff;
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    color: var(--pt-black);
    font-size: 14px;
    height: 46px;
    outline: 0;
    padding: 0 13px;
    width: 100%;
}

.pt-form-input:focus {
    border-color: var(--pt-purple);
    box-shadow: 0 0 0 3px rgba(130, 65, 130, .12);
}

.pt-primary-button,
.pt-secondary-button {
    align-items: center;
    border-radius: 8px;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    height: 46px;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.pt-primary-button {
    background: var(--pt-purple);
    border: 1px solid var(--pt-purple);
    color: var(--pt-white);
    cursor: pointer;
    margin-top: 12px;
}

.pt-primary-button:hover {
    background: var(--pt-purple-dark);
    border-color: var(--pt-purple-dark);
}

.pt-primary-button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.pt-secondary-button {
    border: 1px solid var(--pt-line);
    color: var(--pt-black);
}

.pt-secondary-button:hover {
    border-color: var(--pt-black);
}

.pt-divider {
    align-items: center;
    color: var(--pt-muted);
    display: flex;
    font-size: 11px;
    gap: 12px;
    margin: 20px 0;
}

.pt-divider::before,
.pt-divider::after {
    background: var(--pt-line);
    content: "";
    flex: 1;
    height: 1px;
}

.pt-login-link {
    color: var(--pt-purple);
    display: block;
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
}

.pt-login-link:hover { color: var(--pt-purple-dark); }

.pt-alert {
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 20px;
    padding: 11px 12px;
}

.pt-alert--error {
    background: #ffffff;
    border: 1px solid #efb3b3;
    color: #9f2424;
}

.pt-alert--success {
    background: #ffffff;
    border: 1px solid #bbdfc6;
    color: #176534;
}

@media (max-width: 700px) {
    .pt-navbar__inner { padding: 0 16px; }
    .pt-brand img { width: 112px; }
    .pt-brand__label { display: none; }
    .pt-dashboard { padding: 48px 16px; }
    .pt-hero {
        align-items: stretch;
        flex-direction: column;
        gap: 24px;
    }
    .pt-search-wrap { flex-basis: auto; }
    .pt-section-heading { margin-top: 40px; }
    .pt-workspace-grid { grid-template-columns: 1fr; }
    .pt-workspace-card,
    .pt-workspace-card:nth-child(odd) {
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .pt-login-card { padding: 34px 24px; }
}

@media (max-width: 960px) {
    .pt-basic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .pt-basic-dashboard { padding: 40px 20px 56px; }
    .pt-basic-grid {
        gap: 34px 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 440px) {
    .pt-basic-grid { grid-template-columns: 1fr; }
}

/* Admin application shell -------------------------------------------------
   A quiet, information-first system inspired by Linear and Notion. The shell
   deliberately uses borders and hierarchy instead of heavy shadows or motion. */
.pt-app-body {
    background: #fbfbfa !important;
    color: #37352f;
    min-height: 100vh;
    padding-left: var(--pt-sidebar-width);
    padding-top: var(--pt-topbar-height);
}

.pt-sidebar {
    background: var(--pt-sidebar);
    border-right: 1px solid var(--pt-line);
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: var(--pt-sidebar-width);
    z-index: 60;
}

.pt-sidebar__workspace {
    align-items: center;
    display: flex;
    gap: 6px;
    height: 52px;
    padding: 0 9px 0 10px;
}

.pt-workspace-mark {
    align-items: center;
    border-radius: 6px;
    color: #37352f;
    display: flex;
    flex: 1;
    gap: 9px;
    min-width: 0;
    padding: 4px;
    text-decoration: none;
}

.pt-workspace-mark:hover { background: var(--pt-hover); }

.pt-workspace-mark__logo {
    align-items: center;
    background: #000;
    border-radius: 5px;
    display: flex;
    flex: 0 0 25px;
    height: 25px;
    justify-content: center;
    overflow: hidden;
}

.pt-workspace-mark__logo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pt-workspace-mark__copy,
.pt-sidebar__profile-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.pt-workspace-mark__copy strong,
.pt-sidebar__profile-copy strong {
    color: #37352f;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-workspace-mark__copy small,
.pt-sidebar__profile-copy small {
    color: var(--pt-muted);
    font-size: 9px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-icon-button,
.pt-sidebar__collapse {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: #787774;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: background-color .15s, color .15s;
    width: 28px;
}

.pt-icon-button:hover,
.pt-sidebar__collapse:hover {
    background: var(--pt-active);
    color: #37352f;
}

.pt-sidebar__search-wrap {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--pt-line);
    border-radius: 6px;
    display: flex;
    height: 30px;
    margin: 2px 11px 10px;
    padding: 0 7px;
}

.pt-sidebar__search-wrap:focus-within {
    background: #fff;
    border-color: rgba(94, 106, 210, .52);
    box-shadow: 0 0 0 2px rgba(94, 106, 210, .1);
}

.pt-sidebar__search-wrap > i {
    color: #9b9a97;
    font-size: 11px;
}

.pt-sidebar__search {
    background: transparent;
    border: 0;
    color: #37352f;
    flex: 1;
    font-size: 11px;
    min-width: 0;
    outline: 0;
    padding: 0 7px;
}

.pt-sidebar__search::placeholder { color: #9b9a97; }

.pt-sidebar kbd,
.pt-topbar kbd {
    background: rgba(55, 53, 47, .06);
    border: 1px solid rgba(55, 53, 47, .09);
    border-radius: 4px;
    color: #9b9a97;
    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    line-height: 17px;
    padding: 0 4px;
}

.pt-sidebar__nav {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 7px 14px;
    scrollbar-color: rgba(55, 53, 47, .13) transparent;
    scrollbar-width: thin;
}

.pt-nav-group { margin-top: 13px; }

.pt-nav-group__label {
    align-items: center;
    color: #9b9a97;
    display: flex;
    font-size: 9px;
    font-weight: 650;
    gap: 7px;
    letter-spacing: .02em;
    margin: 0 7px 4px;
    min-height: 20px;
    text-transform: uppercase;
}

.pt-nav-group__label i { font-size: 10px; }

.pt-nav-link {
    align-items: center;
    border-radius: 5px;
    color: #64635f;
    display: flex;
    font-size: 11.5px;
    font-weight: 450;
    gap: 9px;
    height: 29px;
    margin: 1px 0;
    overflow: hidden;
    padding: 0 8px;
    text-decoration: none;
    transition: background-color .12s, color .12s;
    white-space: nowrap;
}

.pt-nav-link > i {
    color: #91908d;
    flex: 0 0 15px;
    font-size: 12px;
    text-align: center;
}

.pt-nav-link:hover {
    background: var(--pt-hover);
    color: #37352f;
}

.pt-nav-link.is-active {
    background: var(--pt-active);
    color: #272724;
    font-weight: 560;
}

.pt-nav-link.is-active > i { color: #5e6ad2; }
.pt-nav-link[hidden], .pt-nav-group[hidden] { display: none; }
.pt-nav-empty { color: #9b9a97; font-size: 11px; padding: 20px 8px; text-align: center; }

.pt-sidebar__footer {
    border-top: 1px solid var(--pt-line);
    padding: 8px;
}

.pt-sidebar__profile {
    align-items: center;
    border-radius: 6px;
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 4px;
}

.pt-avatar {
    align-items: center;
    background: #e8e7e4;
    border: 1px solid rgba(55, 53, 47, .08);
    border-radius: 50%;
    color: #64635f;
    display: flex;
    flex: 0 0 25px;
    font-size: 9px;
    font-weight: 700;
    height: 25px;
    justify-content: center;
}

.pt-topbar {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--pt-line);
    display: flex;
    height: var(--pt-topbar-height);
    justify-content: space-between;
    left: var(--pt-sidebar-width);
    padding: 0 14px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 50;
}

.pt-topbar__crumbs {
    align-items: center;
    color: #37352f;
    display: flex;
    font-size: 11px;
    gap: 7px;
    min-width: 0;
}

.pt-topbar__crumbs a { color: #9b9a97; text-decoration: none; }
.pt-topbar__crumbs a:hover { color: #37352f; }
.pt-topbar__crumbs i { color: #c2c1bf; font-size: 8px; }
.pt-topbar__crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-topbar__actions { align-items: center; display: flex; gap: 4px; }
.pt-mobile-menu { display: none; }

.pt-topbar__search {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: #787774;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    gap: 6px;
    height: 28px;
    padding: 0 6px;
}

.pt-topbar__search:hover { background: var(--pt-hover); color: #37352f; }
.pt-mobile-overlay { display: none; }

.pt-sidebar-collapsed { padding-left: 64px; }
.pt-sidebar-collapsed .pt-sidebar { width: 64px; }
.pt-sidebar-collapsed .pt-topbar { left: 64px; }
.pt-sidebar-collapsed .pt-workspace-mark__copy,
.pt-sidebar-collapsed .pt-sidebar__profile-copy,
.pt-sidebar-collapsed .pt-sidebar__profile .pt-icon-button,
.pt-sidebar-collapsed .pt-sidebar__search,
.pt-sidebar-collapsed .pt-sidebar__search-wrap kbd,
.pt-sidebar-collapsed .pt-nav-group__label span,
.pt-sidebar-collapsed .pt-nav-link span { display: none; }
.pt-sidebar-collapsed .pt-sidebar__workspace { padding: 0 7px; }
.pt-sidebar-collapsed .pt-workspace-mark { flex: 0 0 auto; padding: 4px; }
.pt-sidebar-collapsed .pt-sidebar__collapse { margin-left: auto; }
.pt-sidebar-collapsed .pt-sidebar__search-wrap { justify-content: center; margin-left: 10px; margin-right: 10px; padding: 0; }
.pt-sidebar-collapsed .pt-nav-group__label { justify-content: center; margin-left: 0; margin-right: 0; }
.pt-sidebar-collapsed .pt-nav-link { justify-content: center; padding: 0; }
.pt-sidebar-collapsed .pt-nav-link > i { flex-basis: auto; }
.pt-sidebar-collapsed .pt-sidebar__profile { justify-content: center; }

/* Home ------------------------------------------------------------------ */
.pt-dashboard-body { background: #fbfbfa; }

.pt-home {
    margin: 0 auto;
    max-width: 1160px;
    padding: 34px 44px 40px;
}

.pt-kicker {
    color: #9b9a97;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .04em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.pt-home-section { margin-top: 34px; }
.pt-home > .pt-home-section:first-child { margin-top: 0; }
.pt-home-section__head { align-items: end; display: flex; justify-content: space-between; margin-bottom: 12px; }
.pt-home-section__head h2 { color: #37352f; font-size: 13px; font-weight: 650; margin: 0; }
.pt-home-section__head p { color: #9b9a97; font-size: 10px; margin: 3px 0 0; }
.pt-count { color: #9b9a97; font-size: 10px; }

.pt-quick-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pt-quick-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    color: #37352f;
    display: flex;
    gap: 11px;
    min-height: 72px;
    padding: 13px;
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}

.pt-quick-card:hover { background: #fafafa; border-color: rgba(55, 53, 47, .2); }
.pt-quick-card__icon {
    align-items: center;
    background: #efeff8;
    border-radius: 6px;
    color: #5e6ad2;
    display: flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
}
.pt-quick-card__icon--blue { background: #eaf2f8; color: #337ea9; }
.pt-quick-card__icon--amber { background: #fbf3db; color: #cb912f; }
.pt-quick-card__icon--green { background: #edf3ec; color: #448361; }
.pt-quick-card__icon--rose { background: #fbe4e4; color: #d44c47; }
.pt-quick-card__icon--cyan { background: #e7f3f8; color: #0f7b8d; }
.pt-quick-card__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pt-quick-card__copy strong { font-size: 12px; font-weight: 600; }
.pt-quick-card__copy small { color: #9b9a97; font-size: 9.5px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-quick-card__arrow { color: #c2c1bf; font-size: 11px; }
.pt-quick-empty {
    align-items: center;
    background: rgba(255, 255, 255, .55);
    border: 1px dashed rgba(55, 53, 47, .16);
    border-radius: 8px;
    color: #787774;
    display: flex;
    gap: 11px;
    grid-column: 1 / -1;
    min-height: 72px;
    padding: 13px;
}
.pt-quick-empty > span {
    align-items: center;
    background: #efefed;
    border-radius: 6px;
    color: #9b9a97;
    display: flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}
.pt-quick-empty div { display: flex; flex-direction: column; }
.pt-quick-empty strong { color: #64635f; font-size: 11.5px; font-weight: 600; }
.pt-quick-empty small { color: #9b9a97; font-size: 9.5px; margin-top: 3px; }

.pt-tool-groups {
    background: var(--pt-line);
    border: 1px solid var(--pt-line);
    border-radius: 8px;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.pt-tool-group { background: #fff; min-width: 0; padding: 17px; }
.pt-tool-group__head { align-items: center; display: flex; gap: 9px; margin-bottom: 11px; }
.pt-tool-group__head > span {
    align-items: center;
    background: #f1f1ef;
    border-radius: 5px;
    color: #787774;
    display: flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}
.pt-tool-group__head h3 { color: #37352f; font-size: 11.5px; font-weight: 650; margin: 0; }
.pt-tool-group__head p { color: #aaa9a5; font-size: 9px; margin: 2px 0 0; }
.pt-tool-list a {
    align-items: center;
    border-radius: 5px;
    color: #64635f;
    display: flex;
    font-size: 10.5px;
    justify-content: space-between;
    min-height: 29px;
    padding: 0 7px;
    text-decoration: none;
}
.pt-tool-list a:hover { background: var(--pt-hover); color: #37352f; }
.pt-tool-list a span { align-items: center; display: flex; gap: 8px; min-width: 0; }
.pt-tool-list a span i { color: #9b9a97; font-size: 11px; width: 13px; }
.pt-tool-list a > i { color: #c8c7c4; font-size: 8px; }
.pt-home-empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; }
.pt-home-empty > i { color: #c2c1bf; font-size: 22px; }
.pt-home-empty h3 { font-size: 13px; margin: 10px 0 3px; }
.pt-home-empty p { color: #9b9a97; font-size: 10px; margin: 0; }
.pt-home-footer { align-items: center; border-top: 1px solid var(--pt-line); color: #aaa9a5; display: flex; font-size: 9px; justify-content: space-between; margin-top: 38px; padding-top: 15px; }
.pt-home-footer > span:first-child { align-items: center; display: flex; gap: 6px; }
.pt-status-dot { background: #4dab74; border-radius: 50%; display: inline-block; height: 6px; width: 6px; }

/* Shared visual reset for legacy Tailwind templates ---------------------- */
.pt-app-body .bg-gray-50,
.pt-app-body .bg-gray-100 { background-color: #fbfbfa !important; }
.pt-app-body .bg-gray-200 { background-color: #efefed !important; }
.pt-app-body .bg-white { background-color: #fff !important; }
.pt-app-body .border-gray-100,
.pt-app-body .border-gray-200,
.pt-app-body .border-gray-300 { border-color: var(--pt-line) !important; }
.pt-app-body .text-gray-900,
.pt-app-body .text-gray-800,
.pt-app-body .text-gray-700 { color: #37352f !important; }
.pt-app-body .text-gray-600,
.pt-app-body .text-gray-500 { color: #787774 !important; }
.pt-app-body .text-gray-400 { color: #aaa9a5 !important; }
.pt-app-body .text-blue-600,
.pt-app-body .text-blue-700,
.pt-app-body .text-indigo-600,
.pt-app-body .text-purple-600 { color: #5e6ad2 !important; }
.pt-app-body .bg-blue-600,
.pt-app-body .bg-blue-700,
.pt-app-body .bg-indigo-600,
.pt-app-body .bg-indigo-700,
.pt-app-body .bg-gray-800,
.pt-app-body .bg-gray-900 {
    background-color: #2f2f2d !important;
    border-color: #2f2f2d !important;
}
.pt-app-body .bg-blue-600:hover,
.pt-app-body .bg-blue-700:hover,
.pt-app-body .bg-indigo-600:hover,
.pt-app-body .bg-indigo-700:hover,
.pt-app-body .bg-gray-800:hover,
.pt-app-body .bg-gray-900:hover { background-color: #1f1f1e !important; }
.pt-app-body .bg-blue-50,
.pt-app-body .bg-blue-100,
.pt-app-body .bg-indigo-50,
.pt-app-body .bg-indigo-100,
.pt-app-body .bg-purple-50,
.pt-app-body .bg-purple-100 { background-color: #efeff8 !important; }
.pt-app-body .shadow,
.pt-app-body .shadow-sm,
.pt-app-body .shadow-md,
.pt-app-body .shadow-lg,
.pt-app-body .shadow-xl { box-shadow: none !important; }
.pt-app-body .rounded-xl { border-radius: 8px !important; }
.pt-app-body .rounded-lg { border-radius: 7px !important; }
.pt-app-body .rounded-md { border-radius: 6px !important; }
.pt-app-body input:not([type="checkbox"]):not([type="radio"]),
.pt-app-body select,
.pt-app-body textarea {
    border-color: rgba(55, 53, 47, .16) !important;
    border-radius: 6px;
    color: #37352f;
    outline: 0;
}
.pt-app-body input:not([type="checkbox"]):not([type="radio"]):focus,
.pt-app-body select:focus,
.pt-app-body textarea:focus {
    border-color: rgba(94, 106, 210, .6) !important;
    box-shadow: 0 0 0 2px rgba(94, 106, 210, .1) !important;
    outline: 0 !important;
}
.pt-app-body table { border-color: var(--pt-line); }
.pt-app-body thead { background: #f7f7f5 !important; }
.pt-app-body th { color: #787774 !important; font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.pt-app-body tbody tr { transition: background-color .12s; }
.pt-app-body tbody tr:hover { background-color: #fafafa !important; }
.pt-app-body .btn-modern:hover,
.pt-app-body .btn-modern:active { transform: none !important; }

/* Sign-in keeps the same quiet visual language without rendering the app shell. */
.pt-login-body {
    background-color: #f7f7f5;
    background-image: radial-gradient(rgba(55, 53, 47, .08) .7px, transparent .7px);
    background-size: 18px 18px;
}
.pt-login-shell { max-width: 390px; }
.pt-login-card {
    border-color: rgba(55, 53, 47, .14);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 15, 15, .04), 0 12px 34px rgba(15, 15, 15, .04);
    padding: 34px;
}
.pt-login-brand { align-items: center; display: flex; font-size: 12px; font-weight: 650; gap: 8px; margin-bottom: 31px; }
.pt-login-card .pt-kicker { margin-bottom: 7px; }
.pt-login-card h1 { font-size: 23px; font-weight: 650; margin: 0; }
.pt-login-intro { color: #787774; font-size: 11px; line-height: 1.55; margin: 8px 0 25px; }
.pt-code-help { color: #9b9a97; font-size: 10px; margin: -3px 0 10px; }
.pt-login-card .pt-form-input { border-radius: 6px; font-size: 12px; height: 40px; }
.pt-login-card .pt-primary-button,
.pt-login-card .pt-secondary-button { border-radius: 6px; font-size: 11.5px; gap: 8px; height: 40px; }
.pt-login-card .pt-primary-button { background: #2f2f2d; border-color: #2f2f2d; }
.pt-login-card .pt-primary-button:hover { background: #1f1f1e; border-color: #1f1f1e; }
.pt-login-security { align-items: center; border-top: 1px solid var(--pt-line); color: #aaa9a5; display: flex; font-size: 9px; gap: 6px; margin: 28px 0 0; padding-top: 17px; }

/* Existing operations screens inherit the shell instead of fighting it. */
.pt-app-body.ops-body { background: #fbfbfa; }
.pt-app-body .ops-shell { max-width: 1080px; padding-top: 44px; }
.pt-app-body .ops-page-head h1 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 650; }
.pt-app-body .ops-panel,
.pt-app-body .ops-table-wrap,
.pt-app-body .ops-flow-step__card { border-radius: 8px; box-shadow: none; }
.pt-app-body .ops-button--primary { background: #2f2f2d; border-color: #2f2f2d; }
.pt-app-body .ops-button--primary:hover { background: #1f1f1e; border-color: #1f1f1e; }
.pt-app-body .ops-eyebrow { color: #5e6ad2; }

@media (max-width: 960px) {
    .pt-home { padding-left: 28px; padding-right: 28px; }
    .pt-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .pt-app-body,
    .pt-sidebar-collapsed { padding-left: 0; }
    .pt-sidebar,
    .pt-sidebar-collapsed .pt-sidebar {
        display: none;
        width: min(286px, calc(100vw - 44px));
    }
    .pt-sidebar-open .pt-sidebar { display: flex; }
    .pt-topbar,
    .pt-sidebar-collapsed .pt-topbar { left: 0; }
    .pt-mobile-menu { display: inline-flex; }
    .pt-topbar__crumbs { margin-right: auto; }
    .pt-topbar__search span,
    .pt-topbar__search kbd { display: none; }
    .pt-sidebar-open .pt-mobile-overlay {
        background: rgba(15, 15, 15, .28);
        display: block;
        inset: 0;
        position: fixed;
        z-index: 55;
    }
    .pt-sidebar-open .pt-workspace-mark__copy,
    .pt-sidebar-open .pt-sidebar__profile-copy,
    .pt-sidebar-open .pt-sidebar__profile .pt-icon-button,
    .pt-sidebar-open .pt-sidebar__search,
    .pt-sidebar-open .pt-sidebar__search-wrap kbd,
    .pt-sidebar-open .pt-nav-group__label span,
    .pt-sidebar-open .pt-nav-link span { display: flex; }
    .pt-sidebar-open .pt-nav-link { justify-content: flex-start; padding: 0 8px; }
    .pt-home { padding: 28px 18px; }
    .pt-tool-groups { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .pt-quick-grid { grid-template-columns: 1fr; }
}
