.mc-delivery-shell {
    color: var(--ink);
    font-family: var(--sans);
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
}

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

.mc-delivery-header h2,
.mc-delivery-toolbar h3,
.mc-delivery-create h3,
.mc-delivery-card h4,
.mc-delivery-detail h5 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0;
}

.mc-delivery-header h2 {
    font-size: 1.75rem;
    line-height: 1.05;
    margin: 0 0 7px;
}

.mc-delivery-header p {
    color: var(--ink-3);
    font-size: 0.94rem;
    line-height: 1.45;
    margin: 0;
    max-width: 660px;
}

.mc-delivery-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mc-delivery-kicker {
    color: var(--plot-slate);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.mc-delivery-alert {
    background: #fff1f0;
    border: 1px solid #f2bbb4;
    border-radius: 8px;
    color: #8a241b;
    margin-bottom: 16px;
    padding: 10px 12px;
}

.mc-delivery-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 18px;
}

.mc-delivery-stats div {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-height: 74px;
    padding: 13px 14px;
}

.mc-delivery-stats span {
    color: var(--ink);
    display: block;
    font-family: var(--serif);
    font-size: 1.55rem;
    line-height: 1;
}

.mc-delivery-stats strong {
    color: var(--ink-3);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
}

.mc-delivery-layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
}

.mc-delivery-create,
.mc-delivery-library,
.mc-delivery-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
}

.mc-delivery-create,
.mc-delivery-library {
    padding: 18px;
}

.mc-delivery-library {
    min-width: 0;
}

.mc-delivery-section-head,
.mc-delivery-toolbar,
.mc-delivery-card-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mc-delivery-section-head h3,
.mc-delivery-toolbar h3,
.mc-delivery-detail h5 {
    font-size: 1.04rem;
    line-height: 1.15;
    margin: 0;
}

.mc-delivery-section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.mc-delivery-field {
    display: block;
    margin-top: 13px;
}

.mc-delivery-field span {
    color: var(--ink-2);
    display: block;
    font-size: 0.78rem;
    font-weight: 750;
    margin-bottom: 5px;
}

.mc-delivery-field em {
    color: var(--muted);
    display: block;
    font-size: 0.76rem;
    font-style: normal;
    line-height: 1.35;
    margin-top: 6px;
}

.mc-delivery-field input,
.mc-delivery-field select,
.mc-delivery-field textarea,
.mc-delivery-input,
.mc-delivery-textarea,
.mc-delivery-filter-row input,
.mc-delivery-filter-row select {
    appearance: none;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    min-height: 38px;
    outline: none;
    padding: 9px 10px;
    width: 100%;
}

.mc-delivery-field textarea,
.mc-delivery-textarea {
    line-height: 1.45;
    min-height: 84px;
    resize: vertical;
}

.mc-delivery-field input:focus,
.mc-delivery-field select:focus,
.mc-delivery-field textarea:focus,
.mc-delivery-input:focus,
.mc-delivery-textarea:focus,
.mc-delivery-filter-row input:focus,
.mc-delivery-filter-row select:focus {
    border-color: rgba(74, 93, 128, 0.42);
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.12);
}

.mc-delivery-two-col {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.mc-delivery-check {
    align-items: center;
    align-self: end;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 7px;
    color: var(--ink-2);
    display: flex;
    gap: 9px;
    min-height: 38px;
    padding: 8px 10px;
}

.mc-delivery-check input {
    accent-color: var(--plot-slate);
}

.mc-delivery-mode-grid {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.mc-delivery-mode {
    appearance: none;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    gap: 3px;
    padding: 12px;
    text-align: left;
}

.mc-delivery-mode:hover,
.mc-delivery-mode.is-active {
    border-color: rgba(74, 93, 128, 0.42);
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.1);
}

.mc-delivery-mode span {
    color: var(--plot-slate);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mc-cross-shell {
    color: var(--ink);
    font-family: var(--sans);
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
}

.mc-cross-loading {
    background: #f6f4ee;
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink-3);
    font-family: var(--sans);
    margin: 28px auto;
    max-width: 1180px;
    padding: 24px;
}

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

.mc-cross-header h2,
.mc-cross-ops h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0;
}

.mc-cross-header h2 {
    font-size: 1.75rem;
    line-height: 1.05;
    margin: 0 0 7px;
}

.mc-cross-header p {
    color: var(--ink-3);
    font-size: 0.94rem;
    line-height: 1.45;
    margin: 0;
    max-width: 660px;
}

.mc-cross-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mc-cross-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 18px;
}

.mc-cross-stats div {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-height: 74px;
    padding: 13px 14px;
}

.mc-cross-stats span {
    color: var(--ink);
    display: block;
    font-family: var(--serif);
    font-size: 1.55rem;
    line-height: 1;
}

.mc-cross-stats strong {
    color: var(--ink-3);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
}

.mc-cross-ops {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    margin-bottom: 24px;
}

.mc-cross-ops-main,
.mc-cross-runbook {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 18px;
}

.mc-cross-ops-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mc-cross-ops h3 {
    font-size: 1.06rem;
    line-height: 1.15;
    margin: 0;
}

.mc-cross-ops p {
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 14px;
}

.mc-cross-pill {
    background: rgba(201, 162, 75, 0.18);
    border: 1px solid rgba(201, 162, 75, 0.28);
    border-radius: 999px;
    color: #765719;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 9px;
}

.mc-cross-pill.is-ready {
    background: rgba(10, 122, 61, 0.1);
    border-color: rgba(10, 122, 61, 0.22);
    color: #0a6c38;
}

.mc-cross-rule-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mc-cross-rule-grid div,
.mc-cross-action {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
}

.mc-cross-rule-grid div {
    min-height: 132px;
    padding: 12px;
}

.mc-cross-rule-grid span {
    align-items: center;
    background: rgba(74, 93, 128, 0.12);
    border-radius: 999px;
    color: var(--plot-slate);
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 850;
    height: 24px;
    justify-content: center;
    margin-bottom: 9px;
    width: 24px;
}

.mc-cross-rule-grid strong,
.mc-cross-action strong {
    color: var(--ink);
    display: block;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.mc-cross-rule-grid em,
.mc-cross-action span {
    color: var(--ink-3);
    display: block;
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.35;
}

.mc-cross-action-grid {
    display: grid;
    gap: 8px;
}

.mc-cross-action {
    cursor: pointer;
    min-height: 78px;
    padding: 12px;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.mc-cross-action:hover {
    background: var(--surface-hover);
    border-color: rgba(74, 93, 128, 0.35);
    transform: translateY(-1px);
}

.mc-cross-swap-board,
.mc-cross-group-board {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 18px;
}

.mc-cross-swap-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mc-cross-swap-head h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 0 6px;
}

.mc-cross-swap-head p {
    color: var(--ink-3);
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
    max-width: 650px;
}

.mc-cross-swap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mc-cross-swap-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}

.mc-cross-swap-stats div {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 11px 12px;
}

.mc-cross-swap-stats strong {
    color: var(--ink);
    display: block;
    font-family: var(--serif);
    font-size: 1.28rem;
    line-height: 1;
}

.mc-cross-swap-stats span {
    color: var(--ink-3);
    display: block;
    font-size: 0.76rem;
    font-weight: 750;
    margin-top: 6px;
}

.mc-cross-swap-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mc-cross-swap-column {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-height: 260px;
    padding: 12px;
}

.mc-cross-swap-column-head {
    border-bottom: 1px solid var(--rule);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.mc-cross-swap-column-head strong {
    color: var(--ink);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.mc-cross-swap-column-head span,
.mc-cross-swap-empty {
    color: var(--ink-3);
    display: block;
    font-size: 0.78rem;
    line-height: 1.4;
}

.mc-cross-swap-empty {
    background: rgba(74, 93, 128, 0.07);
    border: 1px dashed rgba(74, 93, 128, 0.24);
    border-radius: 8px;
    padding: 12px;
}

.mc-cross-swap-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 9px;
    padding: 11px;
}

.mc-cross-swap-card:last-child {
    margin-bottom: 0;
}

.mc-cross-swap-card-head {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 7px;
}

.mc-cross-swap-card-head strong {
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.25;
}

.mc-cross-swap-card-head span {
    background: rgba(201, 162, 75, 0.16);
    border-radius: 999px;
    color: #765719;
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 800;
    max-width: 110px;
    overflow: hidden;
    padding: 3px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-cross-swap-card-head span.is-live {
    background: rgba(10, 122, 61, 0.1);
    color: #0a6c38;
}

.mc-cross-swap-card p,
.mc-cross-swap-card em {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
}

.mc-cross-swap-card p {
    color: var(--ink-2);
    margin-bottom: 4px;
}

.mc-cross-swap-card em {
    color: var(--ink-3);
    font-style: normal;
}

.mc-cross-tracking {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.mc-cross-tracking span {
    background: rgba(74, 93, 128, 0.08);
    border: 1px solid rgba(74, 93, 128, 0.14);
    border-radius: 6px;
    color: var(--ink-2);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 4px 7px;
}

.mc-cross-swap-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.mc-cross-swap-card-actions button,
.mc-cross-swap-card-actions a {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 6px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 800;
    min-height: 30px;
    padding: 5px 9px;
    text-decoration: none;
}

.mc-cross-swap-card-actions button:hover,
.mc-cross-swap-card-actions a:hover {
    background: var(--surface-hover);
}

.mc-cross-widget-card,
.mc-cross-report-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 20px;
}

.mc-cross-widget-card h3,
.mc-cross-report-card h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.06rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.mc-cross-widget-card > p {
    color: var(--ink-3);
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0 0 16px;
}

.mc-cross-email-preview {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin: 0 auto;
    max-width: 680px;
    padding: 24px;
}

.mc-cross-email-title {
    border-bottom: 1px solid var(--rule);
    border-top: 1px solid var(--rule);
    color: var(--ink-3);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding: 9px 0;
    text-align: center;
    text-transform: uppercase;
}

.mc-cross-email-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mc-cross-email-book {
    align-items: flex-start;
    display: grid;
    gap: 13px;
    grid-template-columns: 74px minmax(0, 1fr);
}

.mc-cross-email-cover {
    aspect-ratio: 2 / 3;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(31, 29, 24, 0.12);
    width: 74px;
}

.mc-cross-email-cover.is-case {
    background: linear-gradient(150deg, #d7cab5, #4a5d80 52%, #1f1d18);
}

.mc-cross-email-cover.is-harbour {
    background: linear-gradient(150deg, #c7d5d1, #3a7a72 54%, #251f24);
}

.mc-cross-email-book strong,
.mc-cross-email-book span,
.mc-cross-email-book em,
.mc-cross-email-book a {
    display: block;
}

.mc-cross-email-book strong {
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mc-cross-email-book span {
    color: var(--ink-3);
    font-size: 0.8rem;
    margin-bottom: 7px;
}

.mc-cross-email-book em {
    color: var(--ink-2);
    font-size: 0.8rem;
    font-style: normal;
    line-height: 1.35;
    margin-bottom: 10px;
}

.mc-cross-email-book a {
    color: var(--plot-slate);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.mc-cross-report-body {
    align-items: center;
    display: flex;
    gap: 16px;
}

.mc-cross-report-mark {
    align-items: center;
    background: rgba(74, 93, 128, 0.12);
    border-radius: 999px;
    color: var(--plot-slate);
    display: flex;
    flex: 0 0 auto;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 850;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.mc-cross-report-body p {
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 4px;
}

.mc-cross-report-body p:last-child {
    color: var(--ink-3);
    font-size: 0.84rem;
    margin-bottom: 0;
}

.mc-delivery-mode strong {
    font-size: 0.94rem;
}

.mc-delivery-mode em {
    color: var(--ink-3);
    font-size: 0.8rem;
    font-style: normal;
    line-height: 1.35;
}

.mc-delivery-create-footer {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.mc-delivery-create-footer span {
    color: var(--ink-3);
    font-size: 0.8rem;
}

.mc-delivery-btn,
.mc-delivery-icon-btn,
.mc-delivery-link {
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.mc-delivery-btn.primary {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: var(--paper);
}

.mc-delivery-btn.primary:hover:not(:disabled) {
    background: var(--ink-2);
}

.mc-delivery-btn.secondary,
.mc-delivery-icon-btn,
.mc-delivery-link {
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--ink);
}

.mc-delivery-btn.secondary:hover:not(:disabled),
.mc-delivery-icon-btn:hover,
.mc-delivery-link:hover {
    background: var(--paper-2);
}

.mc-delivery-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.mc-delivery-chip {
    background: rgba(74, 93, 128, 0.11);
    border: 1px solid rgba(74, 93, 128, 0.18);
    border-radius: 999px;
    color: #354761;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 6px 9px;
    text-transform: capitalize;
    white-space: nowrap;
}

.mc-delivery-chip.ok {
    background: #e4f2e7;
    border-color: #c5dfcb;
    color: #225c34;
}

.mc-delivery-chip.warn {
    background: #fbefd6;
    border-color: #ecd7a9;
    color: #80570f;
}

.mc-delivery-chip.soft {
    background: var(--paper-2);
    border-color: var(--rule);
    color: var(--ink-3);
}

.mc-delivery-filter-row {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(160px, 1fr) 140px;
    max-width: 410px;
    width: 100%;
}

.mc-delivery-card-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.mc-delivery-card {
    overflow: hidden;
    padding: 16px;
}

.mc-delivery-card.is-expanded {
    border-color: rgba(74, 93, 128, 0.28);
}

.mc-delivery-card-main {
    min-width: 0;
}

.mc-delivery-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mc-delivery-title-row h4 {
    font-size: 1.05rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-delivery-url-row {
    align-items: center;
    color: var(--ink-3);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 8px;
    margin-top: 6px;
}

.mc-delivery-url-row a {
    color: var(--plot-slate);
    font-weight: 750;
    text-decoration: none;
}

.mc-delivery-url-row a:hover {
    text-decoration: underline;
}

.mc-delivery-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.mc-delivery-metrics {
    border-top: 1px solid var(--rule-2);
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
    padding-top: 12px;
}

.mc-delivery-metrics span {
    color: var(--ink-3);
    font-size: 0.78rem;
    line-height: 1.35;
}

.mc-delivery-metrics strong {
    color: var(--ink);
    display: block;
    font-size: 0.92rem;
}

.mc-delivery-detail {
    border-top: 1px solid var(--rule);
    display: grid;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
}

.mc-delivery-detail-section {
    background: color-mix(in srgb, var(--paper-2) 70%, white);
    border: 1px solid var(--rule-2);
    border-radius: 8px;
    min-width: 0;
    padding: 14px;
}

.mc-delivery-mini-loader {
    color: var(--ink-3);
    font-size: 0.84rem;
}

.mc-delivery-file-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
}

.mc-delivery-file-slot {
    background: var(--paper);
    border: 1px dashed var(--rule);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 4px;
    min-height: 96px;
    padding: 12px;
}

.mc-delivery-file-slot.has-file {
    border-style: solid;
    border-color: rgba(58, 122, 114, 0.32);
}

.mc-delivery-file-slot input {
    display: none;
}

.mc-delivery-file-slot strong {
    color: var(--ink);
    font-size: 0.86rem;
}

.mc-delivery-file-slot span,
.mc-delivery-file-slot em {
    color: var(--ink-3);
    font-size: 0.76rem;
    font-style: normal;
    line-height: 1.35;
}

.mc-delivery-code-row {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: 92px 92px minmax(170px, 1fr) auto;
    margin-top: 10px;
}

.mc-delivery-field.compact {
    margin-top: 0;
}

.mc-delivery-code-output {
    margin-top: 12px;
}

.mc-delivery-code-output div {
    color: var(--ink-2);
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.mc-delivery-code-output pre {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 0.78rem;
    max-height: 170px;
    overflow: auto;
    padding: 10px;
}

.mc-delivery-gift-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mc-delivery-textarea,
.mc-delivery-input {
    margin-top: 10px;
}

.mc-delivery-textarea.compact {
    min-height: 64px;
}

.mc-delivery-send-row {
    align-items: center;
    color: var(--ink-3);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 10px;
    margin-top: 10px;
}

.mc-delivery-send-row .has-error {
    color: #8a241b;
    font-weight: 750;
}

.mc-delivery-result {
    color: #225c34;
    font-weight: 750;
}

.mc-delivery-reminder-box {
    align-items: end;
    background: var(--paper);
    border: 1px solid var(--rule-2);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto;
    margin-top: 12px;
    padding: 12px;
}

.mc-delivery-reminder-box strong,
.mc-delivery-reminder-box span {
    display: block;
}

.mc-delivery-reminder-box strong {
    color: var(--ink);
    font-size: 0.88rem;
}

.mc-delivery-reminder-box span {
    color: var(--ink-3);
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 3px;
}

.mc-delivery-reminder-box .mc-delivery-input {
    margin-top: 0;
}

.mc-delivery-empty {
    align-items: flex-start;
    background: var(--paper-2);
    border: 1px dashed var(--rule);
    border-radius: 8px;
    color: var(--ink-3);
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding: 18px;
}

.mc-delivery-empty strong {
    color: var(--ink);
}

.mc-delivery-empty.slim {
    margin-top: 12px;
    padding: 12px;
}

.mc-delivery-table-wrap {
    max-width: 100%;
    margin-top: 12px;
    min-width: 0;
    overflow-x: auto;
}

.mc-delivery-table {
    border-collapse: collapse;
    font-size: 0.84rem;
    min-width: 680px;
    text-align: left;
    width: 100%;
}

.mc-delivery-table th {
    color: var(--ink-3);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 8px 8px;
    text-transform: uppercase;
}

.mc-delivery-table td {
    border-top: 1px solid var(--rule-2);
    color: var(--ink-2);
    padding: 9px 8px;
}

.mc-delivery-table td:first-child {
    overflow-wrap: anywhere;
}

.mc-mail-shell {
    color: var(--ink);
    font-family: var(--sans);
    margin: 0 auto;
    max-width: 1180px;
    padding: 28px;
}

.mc-mail-header,
.mc-mail-header-actions,
.mc-mail-section-head,
.mc-mail-toolbar,
.mc-broadcast-card-head,
.mc-compose-actions {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mc-mail-header {
    margin-bottom: 18px;
}

.mc-mail-header h2,
.mc-mail-toolbar h3,
.mc-mail-section-head h3,
.mc-broadcast-card h3,
.mc-compose-preview h3,
.mc-mail-segment-preview h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0;
}

.mc-mail-header h2 {
    font-size: 1.75rem;
    line-height: 1.05;
    margin: 0 0 7px;
}

.mc-mail-header p,
.mc-mail-toolbar p,
.mc-mail-segment-preview p {
    color: var(--ink-3);
    font-size: 0.94rem;
    line-height: 1.45;
    margin: 0;
    max-width: 680px;
}

.mc-mail-kicker {
    color: var(--plot-slate);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.mc-mail-btn,
.mc-mail-icon-btn {
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
}

.mc-mail-btn.primary {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: var(--paper);
}

.mc-mail-btn.secondary,
.mc-mail-icon-btn {
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--ink);
}

.mc-mail-btn.secondary.danger {
    color: #8a241b;
}

.mc-mail-btn:hover,
.mc-mail-icon-btn:hover {
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.1);
}

.mc-mail-btn:disabled,
.mc-mail-btn.is-busy {
    cursor: not-allowed;
    opacity: 0.58;
}

.mc-mail-btn input {
    display: none;
}

.mc-mail-icon-btn {
    font-size: 1rem;
    min-width: 36px;
    padding: 7px 10px;
}

.mc-mail-alert,
.mc-mail-success {
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
}

.mc-mail-alert {
    background: #fff1f0;
    border: 1px solid #f2bbb4;
    color: #8a241b;
}

.mc-mail-success {
    background: #edf8ef;
    border: 1px solid #b9dfc0;
    color: #225c34;
}

.mc-mail-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.mc-mail-stats div,
.mc-broadcast-metrics div {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-height: 72px;
    padding: 13px 14px;
}

.mc-mail-stats strong,
.mc-broadcast-metrics strong {
    color: var(--ink);
    display: block;
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1;
}

.mc-mail-stats span,
.mc-broadcast-metrics span {
    color: var(--ink-3);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
}

.mc-mail-layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: 270px minmax(0, 1fr);
}

.mc-mail-panel,
.mc-mail-segments,
.mc-broadcast-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
}

.mc-mail-panel,
.mc-mail-segments {
    padding: 18px;
}

.mc-mail-segments {
    display: grid;
    gap: 8px;
}

.mc-mail-section-head h3,
.mc-mail-toolbar h3 {
    font-size: 1.04rem;
    margin: 0;
}

.mc-mail-segment {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--ink-2);
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 11px;
    text-align: left;
}

.mc-mail-segment:hover,
.mc-mail-segment.is-active {
    background: var(--paper-2);
    border-color: var(--rule);
    color: var(--ink);
}

.mc-mail-segment span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-mail-segment strong {
    color: var(--ink-3);
    font-size: 0.82rem;
}

.mc-mail-empty {
    background: var(--paper-2);
    border: 1px dashed var(--rule);
    border-radius: 8px;
    color: var(--ink-3);
    display: grid;
    gap: 4px;
    padding: 18px;
}

.mc-mail-empty strong {
    color: var(--ink);
}

.mc-mail-empty.slim {
    font-size: 0.82rem;
    padding: 12px;
}

.mc-mail-subscribers {
    min-width: 0;
}

.mc-mail-toolbar {
    margin-bottom: 14px;
}

.mc-mail-search,
.mc-mail-field {
    display: block;
}

.mc-mail-search {
    min-width: min(320px, 100%);
}

.mc-mail-search.compact {
    min-width: 190px;
}

.mc-mail-search span,
.mc-mail-field span {
    color: var(--ink-2);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.mc-mail-search input,
.mc-mail-search select,
.mc-mail-field input,
.mc-mail-field select,
.mc-mail-field textarea,
.mc-compose-actions input {
    appearance: none;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 7px;
    box-sizing: border-box;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    min-height: 38px;
    outline: none;
    padding: 9px 10px;
    width: 100%;
}

.mc-mail-field textarea {
    line-height: 1.48;
    min-height: 300px;
    resize: vertical;
}

.mc-mail-search input:focus,
.mc-mail-search select:focus,
.mc-mail-field input:focus,
.mc-mail-field select:focus,
.mc-mail-field textarea:focus,
.mc-compose-actions input:focus {
    border-color: rgba(74, 93, 128, 0.42);
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.12);
}

.mc-mail-table-wrap {
    overflow-x: auto;
}

.mc-mail-table {
    border-collapse: collapse;
    min-width: 720px;
    text-align: left;
    width: 100%;
}

.mc-mail-table th {
    color: var(--ink-3);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 10px 9px;
    text-transform: uppercase;
}

.mc-mail-table td {
    border-top: 1px solid var(--rule-2);
    color: var(--ink-2);
    padding: 11px 9px;
    vertical-align: top;
}

.mc-mail-table td strong {
    color: var(--ink);
    display: block;
}

.mc-mail-table td > span {
    color: var(--ink-3);
    display: block;
    font-size: 0.8rem;
    margin-top: 2px;
}

.mc-mail-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mc-mail-chip-row span {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.74rem;
    padding: 3px 8px;
}

.mc-mail-builder-grid,
.mc-compose-grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.mc-mail-builder .mc-mail-field,
.mc-compose-editor .mc-mail-field {
    margin-bottom: 14px;
}

.mc-mail-type-grid {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.mc-mail-type {
    appearance: none;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 4px;
    padding: 12px;
    text-align: left;
}

.mc-mail-type:hover,
.mc-mail-type.is-active {
    border-color: rgba(74, 93, 128, 0.42);
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.1);
}

.mc-mail-type span {
    color: var(--plot-slate);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mc-mail-type em {
    color: var(--ink-3);
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.35;
}

.mc-mail-segment-definition {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-top: 16px;
    padding: 12px;
}

.mc-mail-segment-definition span {
    color: var(--ink-3);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mc-mail-segment-definition code {
    color: var(--ink-2);
    display: block;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.mc-mail-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.mc-broadcast-toolbar {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 14px;
}

.mc-broadcast-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mc-broadcast-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.mc-broadcast-card h3 {
    font-size: 1.08rem;
    line-height: 1.18;
    margin: 9px 0 5px;
}

.mc-broadcast-card p {
    color: var(--ink-3);
    margin: 0;
}

.mc-mail-status {
    border: 1px solid var(--rule);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    line-height: 1;
    padding: 5px 8px;
    text-transform: uppercase;
}

.mc-mail-status.is-sent {
    background: #edf8ef;
    border-color: #b9dfc0;
    color: #225c34;
}

.mc-mail-status.is-scheduled,
.mc-mail-status.is-sending {
    background: #eef3f9;
    border-color: #cbd8e8;
    color: var(--plot-slate);
}

.mc-mail-status.is-cancelled {
    background: #fff1f0;
    border-color: #f2bbb4;
    color: #8a241b;
}

.mc-mail-status.is-draft {
    background: var(--paper-2);
    color: var(--ink-3);
}

.mc-broadcast-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mc-broadcast-metrics div {
    min-height: 62px;
    padding: 10px;
}

.mc-broadcast-metrics strong {
    font-size: 1.1rem;
}

.mc-broadcast-facts,
.mc-compose-checklist {
    display: grid;
    gap: 8px;
    margin: 0;
}

.mc-broadcast-facts div,
.mc-compose-checklist div {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.mc-broadcast-facts dt,
.mc-compose-checklist dt {
    color: var(--ink-3);
    font-size: 0.76rem;
    font-weight: 800;
}

.mc-broadcast-facts dd,
.mc-compose-checklist dd {
    color: var(--ink-2);
    margin: 0;
    text-align: right;
}

.mc-compose-routing {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
}

.mc-compose-send-note,
.mc-compose-sender {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink-3);
    font-size: 0.82rem;
    line-height: 1.38;
    padding: 11px 12px;
}

.mc-compose-send-note strong {
    color: var(--ink);
    display: block;
}

.mc-compose-send-note span {
    display: block;
    margin-top: 3px;
}

.mc-compose-preview-card {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 5px;
    padding: 13px;
}

.mc-compose-preview-card strong {
    color: var(--ink);
}

.mc-compose-preview-card span {
    color: var(--ink-3);
    font-size: 0.84rem;
}

.mc-compose-preview-body {
    border-bottom: 1px solid var(--rule);
    color: var(--ink-2);
    line-height: 1.52;
    margin-bottom: 14px;
    padding: 14px 0;
}

.mc-compose-preview-body p {
    margin: 0 0 12px;
}

.mc-compose-preview-body .muted {
    color: var(--ink-3);
}

.mc-compose-actions {
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 16px;
    padding-top: 16px;
}

.mc-compose-actions input {
    max-width: 220px;
    width: auto;
}

.mc-lp-shell {
    color: var(--ink);
    display: grid;
    gap: 18px;
    max-width: 1180px;
}

.mc-lp-hero {
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 22px;
}

.mc-lp-hero-copy h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4vw, 2.55rem);
    line-height: 1.04;
    margin: 0 0 10px;
}

.mc-lp-hero-copy p {
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
    max-width: 780px;
}

.mc-lp-context,
.mc-lp-button-row,
.mc-lp-path {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mc-lp-context {
    margin-top: 16px;
}

.mc-lp-context span,
.mc-lp-button-row span {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 10px;
}

.mc-lp-score {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.mc-lp-score div:first-child {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
}

.mc-lp-score span {
    color: var(--ink-3);
    font-size: 0.78rem;
    font-weight: 800;
}

.mc-lp-score strong {
    font-family: var(--serif);
    font-size: 2rem;
}

.mc-lp-meter {
    background: color-mix(in srgb, var(--ink) 10%, transparent);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.mc-lp-meter span {
    background: var(--ink);
    display: block;
    height: 100%;
}

.mc-lp-path {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 14px;
}

.mc-lp-path div {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: flex;
    flex: 1 1 210px;
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
}

.mc-lp-path span,
.mc-lp-deliverables span {
    align-items: center;
    background: var(--ink);
    border-radius: 999px;
    color: var(--paper);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.mc-lp-path strong {
    font-size: 0.9rem;
}

.mc-lp-layout {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: 340px minmax(0, 1fr);
}

.mc-lp-asset-list {
    display: grid;
    gap: 8px;
}

.mc-lp-asset {
    appearance: none;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px;
    text-align: left;
}

.mc-lp-asset:hover,
.mc-lp-asset.is-active {
    background: var(--paper-2);
    border-color: color-mix(in srgb, var(--ink) 26%, var(--rule));
}

.mc-lp-asset strong,
.mc-lp-asset em {
    display: block;
}

.mc-lp-asset strong {
    font-size: 0.94rem;
}

.mc-lp-asset em {
    color: var(--ink-3);
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.35;
    margin-top: 3px;
}

.mc-lp-status {
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.72rem;
    font-weight: 900;
    height: max-content;
    padding: 4px 8px;
    white-space: nowrap;
}

.mc-lp-status.is-ready {
    background: #edf8ef;
    border-color: #b9dfc0;
    color: #225c34;
}

.mc-lp-status.is-started {
    background: #f5f0df;
    border-color: #dbc987;
    color: #655111;
}

.mc-lp-status.is-needs {
    background: #fff7ed;
    border-color: #e9b889;
    color: #7b3f11;
}

.mc-lp-detail {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-width: 0;
    padding: 20px;
}

.mc-lp-detail-head,
.mc-lp-preview-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.mc-lp-detail h3 {
    font-family: var(--serif);
    font-size: 1.55rem;
    margin: 0;
}

.mc-lp-detail-body {
    color: var(--ink-2);
    line-height: 1.56;
    margin: 14px 0;
}

.mc-lp-proof {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 13px;
}

.mc-lp-operator-check {
    background: #f8fbfb;
    border: 1px solid color-mix(in srgb, var(--plot-slate, #52616f) 26%, var(--rule));
    border-radius: 8px;
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding: 13px;
}

.mc-lp-proof span,
.mc-lp-operator-check span,
.mc-lp-live-grid span,
.mc-lp-preview-head span {
    color: var(--ink-3);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mc-lp-proof strong,
.mc-lp-operator-check strong {
    color: var(--ink-2);
    font-weight: 700;
    line-height: 1.45;
}

.mc-lp-deliverables {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.mc-lp-deliverables div {
    align-items: center;
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: flex;
    gap: 9px;
    min-width: 0;
    padding: 10px;
}

.mc-lp-deliverables span {
    background: transparent;
    border: 2px solid var(--ink-3);
    height: 18px;
    width: 18px;
}

.mc-lp-deliverables strong {
    font-size: 0.86rem;
    min-width: 0;
}

.mc-lp-live-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.mc-lp-live-grid div {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 11px 12px;
}

.mc-lp-live-grid strong {
    color: var(--ink);
    font-size: 0.9rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mc-lp-preview {
    border-top: 1px solid var(--rule);
    margin-top: 20px;
    padding-top: 16px;
}

.mc-lp-preview-head {
    align-items: center;
    margin-bottom: 12px;
}

.mc-lp-preview-head button {
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    padding: 0;
}

.mc-lp-mock-page {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: 150px minmax(0, 1fr);
    padding: 18px;
}

.mc-lp-mock-cover {
    aspect-ratio: 0.72;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--ink) 78%, #30455f), color-mix(in srgb, #c2a04a 70%, var(--paper))),
        var(--ink);
    border: 1px solid rgba(42, 36, 25, 0.22);
    border-radius: 7px;
}

.mc-lp-mock-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.mc-lp-mock-copy h4 {
    font-family: var(--serif);
    font-size: 1.55rem;
    margin: 0 0 8px;
}

.mc-lp-mock-copy p {
    color: var(--ink-2);
    line-height: 1.5;
    margin: 0;
}

.mc-store-shell {
    color: var(--ink);
    font-family: var(--sans);
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
}

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

.mc-store-kicker {
    color: var(--plot-slate);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.mc-store-header h2,
.mc-store-panel h3,
.mc-product-card h4,
.mc-bundle-card h4 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0;
}

.mc-store-header h2 {
    font-size: 1.75rem;
    line-height: 1.05;
    margin: 0 0 7px;
}

.mc-store-header p,
.mc-store-panel-head p,
.mc-product-title-row p,
.mc-bundle-main p {
    color: var(--ink-3);
    line-height: 1.45;
    margin: 0;
}

.mc-store-header p {
    font-size: 0.94rem;
    max-width: 670px;
}

.mc-store-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mc-store-alert,
.mc-store-note,
.mc-store-loading {
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 10px 12px;
}

.mc-store-alert {
    background: #fff1f0;
    border: 1px solid #f2bbb4;
    color: #8a241b;
}

.mc-store-note,
.mc-store-loading {
    background: #f6f4ee;
    border: 1px solid var(--rule);
    color: var(--ink-2);
}

.mc-store-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 18px;
}

.mc-store-stats div,
.mc-store-panel,
.mc-product-card,
.mc-bundle-card,
.mc-store-empty {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
}

.mc-store-stats div {
    min-height: 74px;
    padding: 13px 14px;
}

.mc-store-stats span {
    color: var(--ink);
    display: block;
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1;
}

.mc-store-stats strong {
    color: var(--ink-3);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
}

.mc-store-panel {
    margin-bottom: 18px;
    padding: 18px;
}

.mc-store-panel-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mc-store-panel-head h3 {
    font-size: 1.08rem;
    line-height: 1.15;
    margin: 0 0 5px;
}

.mc-store-toggle {
    align-items: center;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink-2);
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 750;
    gap: 8px;
    min-height: 38px;
    padding: 8px 10px;
}

.mc-store-toggle input {
    accent-color: var(--plot-slate);
}

.mc-product-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mc-product-card,
.mc-bundle-card {
    min-width: 0;
    padding: 15px;
}

.mc-product-card.is-ready {
    border-color: rgba(46, 125, 75, 0.35);
    box-shadow: inset 0 0 0 1px rgba(46, 125, 75, 0.08);
}

.mc-product-title-row,
.mc-bundle-main {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mc-product-card h4,
.mc-bundle-card h4 {
    font-size: 1rem;
    margin: 0 0 4px;
}

.mc-product-title-row p,
.mc-bundle-main p {
    font-size: 0.84rem;
}

.mc-store-chip {
    align-items: center;
    background: #eee9df;
    border: 1px solid rgba(37, 29, 22, 0.11);
    border-radius: 999px;
    color: var(--ink-2);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    min-height: 24px;
    padding: 3px 9px;
    text-transform: uppercase;
}

.mc-store-chip.success {
    background: #e7f4ea;
    border-color: #bedbc7;
    color: #245f38;
}

.mc-store-chip.warn {
    background: #fff2d6;
    border-color: #eed39a;
    color: #7a4b05;
}

.mc-product-meta {
    color: var(--ink-3);
    display: grid;
    gap: 4px;
    font-size: 0.8rem;
    margin: 14px 0;
}

.mc-product-controls {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(90px, 110px) minmax(0, 1fr) minmax(84px, auto);
}

.mc-store-price {
    align-items: center;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 7px;
    display: flex;
    min-height: 38px;
    padding: 0 9px;
}

.mc-store-price span {
    color: var(--ink-3);
    font-weight: 750;
}

.mc-store-price input {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--ink);
    font: inherit;
    min-width: 0;
    outline: none;
    padding: 8px 0 8px 5px;
    width: 100%;
}

.mc-product-upload {
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mc-product-upload input {
    cursor: pointer;
    inset: 0;
    opacity: 0;
    position: absolute;
}

.mc-preorder-card {
    background: #fbfaf6;
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 16px;
}

.mc-preorder-card.is-ready {
    border-color: rgba(46, 125, 75, 0.32);
    box-shadow: inset 0 0 0 1px rgba(46, 125, 75, 0.08);
}

.mc-preorder-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mc-preorder-head h4 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 5px;
}

.mc-preorder-head p {
    color: var(--ink-3);
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
    max-width: 720px;
}

.mc-preorder-controls {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(150px, 0.8fr) minmax(160px, 0.8fr) minmax(220px, 1fr);
    margin-bottom: 12px;
}

.mc-preorder-controls label,
.mc-preorder-primary-file {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 10px 11px;
}

.mc-preorder-controls label > span,
.mc-preorder-primary-file span {
    color: var(--ink-3);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mc-preorder-controls input,
.mc-preorder-controls select {
    appearance: none;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    min-height: 36px;
    outline: none;
    padding: 8px 9px;
    width: 100%;
}

.mc-preorder-controls input:focus,
.mc-preorder-controls select:focus {
    border-color: rgba(74, 93, 128, 0.42);
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.12);
}

.mc-preorder-primary-file strong {
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.35;
}

.mc-preorder-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 12px;
}

.mc-preorder-check {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    min-width: 0;
    padding: 12px;
}

.mc-preorder-check.is-ready {
    background: #f1f8f0;
    border-color: #c6dfbe;
}

.mc-preorder-check > span {
    color: #7a4b05;
    display: block;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mc-preorder-check.is-ready > span {
    color: #245f38;
}

.mc-preorder-check strong {
    color: var(--ink);
    display: block;
    font-size: 0.86rem;
    line-height: 1.2;
}

.mc-preorder-check p {
    color: var(--ink-3);
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 6px 0 0;
}

.mc-preorder-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mc-preorder-action {
    appearance: none;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 12px;
    text-align: left;
}

.mc-preorder-action:hover {
    border-color: rgba(74, 93, 128, 0.42);
    box-shadow: 0 0 0 3px rgba(74, 93, 128, 0.1);
}

.mc-preorder-action strong {
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.2;
}

.mc-preorder-action span {
    color: var(--ink-3);
    font-size: 0.78rem;
    line-height: 1.35;
}

.mc-bundle-list {
    display: grid;
    gap: 12px;
}

.mc-bundle-card {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1.3fr) minmax(100px, auto) minmax(180px, 1fr) auto;
}

.mc-bundle-price {
    align-items: baseline;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    white-space: nowrap;
}

.mc-bundle-price span {
    color: var(--ink-3);
    font-size: 0.85rem;
    text-decoration: line-through;
}

.mc-bundle-price strong {
    color: var(--ink);
}

.mc-bundle-items,
.mc-order-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mc-bundle-items span,
.mc-order-items span {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.74rem;
    font-weight: 750;
    padding: 3px 8px;
}

.mc-store-empty {
    color: var(--ink-3);
    display: grid;
    gap: 5px;
    padding: 16px;
}

.mc-store-empty strong {
    color: var(--ink);
}

.mc-orders-wrap {
    overflow-x: auto;
}

.mc-orders-table {
    border-collapse: collapse;
    font-size: 0.87rem;
    min-width: 980px;
    text-align: left;
    width: 100%;
}

.mc-orders-table th {
    border-bottom: 1px solid var(--rule);
    color: var(--ink-3);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0 10px 10px 0;
    text-transform: uppercase;
}

.mc-orders-table td {
    border-bottom: 1px solid rgba(37, 29, 22, 0.09);
    color: var(--ink-2);
    padding: 13px 10px 13px 0;
    vertical-align: top;
}

.mc-orders-table tr:last-child td {
    border-bottom: 0;
}

.mc-orders-table strong {
    color: var(--ink);
}

.mc-order-head-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}

.mc-order-notice {
    color: var(--ink-3);
    font-size: 0.8rem;
    font-weight: 700;
}

.mc-manual-fulfillment {
    align-items: end;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(190px, 1.2fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(130px, 0.75fr) minmax(130px, 0.75fr) auto auto;
    margin-bottom: 16px;
    padding: 12px;
}

.mc-manual-fulfillment > div strong,
.mc-manual-fulfillment > div span,
.mc-manual-fulfillment label span {
    display: block;
}

.mc-manual-fulfillment > div strong {
    color: var(--ink);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.mc-manual-fulfillment > div span,
.mc-manual-fulfillment label span {
    color: var(--ink-3);
    font-size: 0.74rem;
    line-height: 1.35;
}

.mc-manual-fulfillment label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.mc-manual-fulfillment input,
.mc-manual-fulfillment select {
    appearance: none;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    min-height: 36px;
    min-width: 0;
    padding: 8px 9px;
    width: 100%;
}

.mc-manual-check {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 7px;
    display: flex !important;
    gap: 7px !important;
    min-height: 36px;
    padding: 8px 9px;
}

.mc-manual-check input {
    accent-color: var(--plot-slate);
    min-height: auto;
    width: auto;
}

.mc-manual-fulfillment button {
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 7px;
    color: var(--paper);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 850;
    min-height: 36px;
    padding: 8px 14px;
}

.mc-manual-fulfillment button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.mc-order-items,
.mc-order-delivery,
.mc-order-actions {
    display: grid;
    gap: 5px;
}

.mc-order-items span,
.mc-order-delivery span,
.mc-order-delivery em {
    color: var(--ink-3);
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.3;
}

.mc-order-delivery strong {
    display: block;
}

.mc-order-source {
    color: var(--ink-3);
    display: block;
    font-size: 0.73rem;
    font-style: normal;
    line-height: 1.3;
    margin-top: 5px;
    max-width: 190px;
    overflow-wrap: anywhere;
}

.mc-order-actions {
    grid-template-columns: repeat(3, minmax(74px, 1fr));
    min-width: 252px;
}

.mc-order-actions button {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 7px;
    color: var(--ink-2);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    min-height: 32px;
    padding: 7px 9px;
}

.mc-order-actions button:hover:not(:disabled) {
    border-color: rgba(74, 93, 128, 0.38);
    color: var(--ink);
}

.mc-order-actions button.danger {
    color: #8a241b;
}

.mc-order-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

@media (max-width: 1080px) {
    .mc-delivery-layout {
        grid-template-columns: 1fr;
    }

    .mc-delivery-create {
        max-width: none;
    }

    .mc-mail-layout,
    .mc-mail-builder-grid,
    .mc-compose-grid,
    .mc-lp-hero,
    .mc-lp-layout {
        grid-template-columns: 1fr;
    }

    .mc-broadcast-grid {
        grid-template-columns: 1fr;
    }

    .mc-product-grid,
    .mc-bundle-card {
        grid-template-columns: 1fr;
    }

    .mc-delivery-gift-grid {
        grid-template-columns: 1fr;
    }

    .mc-cross-swap-grid {
        grid-template-columns: 1fr;
    }

    .mc-bundle-price {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .topbar {
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 10px !important;
    }

    .brand {
        flex: 0 0 auto !important;
        min-width: auto !important;
    }

    .brand-text,
    .story-title,
    .topbar .search {
        display: none !important;
    }

    .topbar nav,
    .topbar-right {
        flex: 0 0 auto !important;
    }

    .if-shell-tabs {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .if-shell-tab {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .share-wrap {
        display: none !important;
    }

    .if-shell-nav {
        gap: 8px !important;
        overflow: hidden !important;
        padding: 0 8px !important;
    }

    .if-shell-brand {
        border-right: 0 !important;
        flex: 0 0 auto !important;
        gap: 6px !important;
        padding-right: 0 !important;
    }

    .if-shell-wordmark,
    .if-shell-series-wrap {
        display: none !important;
    }

    .mc-shell-root {
        display: block !important;
        min-height: calc(100vh - 64px) !important;
    }

    .mc-shell-sidebar {
        border-bottom: 1px solid var(--rule) !important;
        border-right: 0 !important;
        box-sizing: border-box !important;
        display: grid !important;
        gap: 10px !important;
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        padding: 12px 12px 10px !important;
        width: 100% !important;
        white-space: normal !important;
    }

    .mc-shell-brand {
        display: none !important;
    }

    .mc-shell-nav-group {
        display: grid !important;
        gap: 5px !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        min-width: 0 !important;
        white-space: normal !important;
    }

    .mc-shell-nav-label {
        padding: 0 4px 5px !important;
    }

    .mc-shell-nav-button {
        box-sizing: border-box !important;
        line-height: 1.2 !important;
        padding: 8px 9px !important;
        white-space: normal !important;
        width: 100% !important;
    }

    .mc-shell-main {
        overflow: visible !important;
        padding: 18px 14px 128px !important;
    }

    .if-shell-ai-dock.mc-central-dock {
        display: none !important;
    }

    .if-shell.if-shell-tab-marketing-central .if-ref-upgrade-cta {
        display: none !important;
    }

    .mc-delivery-shell {
        max-width: none;
        padding: 0;
    }

    .mc-mail-shell {
        max-width: none;
        padding: 0;
    }

    .mc-store-shell {
        max-width: none;
        padding: 0;
    }

    .mc-cross-shell {
        max-width: none;
        padding: 0;
    }

    .mc-delivery-header,
    .mc-delivery-toolbar,
    .mc-delivery-card-head,
    .mc-delivery-section-head,
    .mc-mail-header,
    .mc-mail-toolbar,
    .mc-broadcast-card-head,
    .mc-compose-actions,
    .mc-mail-header-actions,
    .mc-store-header,
    .mc-cross-header,
    .mc-cross-swap-head,
    .mc-store-panel-head,
    .mc-product-title-row,
    .mc-bundle-main {
        align-items: stretch;
        flex-direction: column;
    }

    .mc-delivery-stats,
    .mc-mail-stats,
    .mc-store-stats,
    .mc-cross-stats,
    .mc-cross-swap-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc-delivery-two-col,
    .mc-delivery-filter-row,
    .mc-delivery-metrics,
    .mc-delivery-file-grid,
    .mc-delivery-code-row,
    .mc-delivery-reminder-box,
    .mc-compose-routing,
    .mc-broadcast-metrics,
    .mc-cross-ops,
    .mc-cross-rule-grid,
    .mc-cross-email-grid,
    .mc-preorder-controls,
    .mc-preorder-grid,
    .mc-preorder-actions,
    .mc-manual-fulfillment {
        grid-template-columns: 1fr;
    }

    .mc-cross-email-preview {
        padding: 16px;
    }

    .mc-cross-email-book {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .mc-cross-email-cover {
        width: 64px;
    }

    .mc-preorder-head {
        align-items: stretch;
        flex-direction: column;
    }

    .mc-delivery-card-actions,
    .mc-delivery-create-footer,
    .mc-mail-actions {
        justify-content: flex-start;
    }

    .mc-mail-btn,
    .mc-mail-search,
    .mc-compose-actions input,
    .mc-store-header-actions,
    .mc-cross-header-actions,
    .mc-cross-swap-actions,
    .mc-cross-swap-actions .mc-mail-btn,
    .mc-cross-header-actions .mc-mail-btn,
    .mc-product-controls .mc-mail-btn {
        width: 100%;
    }

    .mc-store-header-actions,
    .mc-product-controls {
        grid-template-columns: 1fr;
    }

    .mc-store-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .mc-order-head-actions,
    .mc-order-head-actions .mc-mail-btn {
        width: 100%;
    }

    .mc-lp-shell {
        max-width: none;
    }

    .mc-lp-hero,
    .mc-lp-detail {
        padding: 16px;
    }

    .mc-lp-detail-head,
    .mc-lp-preview-head {
        align-items: stretch;
        flex-direction: column;
    }

    .mc-lp-asset {
        grid-template-columns: 1fr;
    }

    .mc-lp-deliverables,
    .mc-lp-live-grid,
    .mc-lp-mock-page {
        grid-template-columns: 1fr;
    }

    .mc-lp-mock-cover {
        max-width: 160px;
    }
}
