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

.platform-option {
    display: block;
    cursor: pointer;
}

.platform-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.platform-option span {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #dce2df;
    border-radius: 13px;
    background: #fbfcfb;
    transition: .18s ease;
}

.platform-option strong {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #e6eeea;
    color: #275d4a;
    font-size: 18px;
}

.platform-option b {
    font-size: 14px;
}

.platform-option small {
    color: #727a76;
    font-weight: 500;
}

.platform-option input:checked + span {
    border-color: #3f7961;
    background: #f0f7f3;
    box-shadow: 0 0 0 3px rgba(63, 121, 97, .09);
}

.platform-option input:checked + span strong {
    background: #275d4a;
    color: #fff;
}

.seo-auto-box {
    padding: 16px 18px;
    border: 1px solid #d8e5df;
    border-radius: 12px;
    background: #f0f7f3;
}

.seo-auto-box strong {
    display: block;
    margin-bottom: 6px;
    color: #275d4a;
    font-size: 14px;
}

.seo-auto-box p {
    margin: 0;
    color: #627069;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 620px) {
    .platform-options {
        grid-template-columns: 1fr;
    }
}

.related-copy-area h3 {
    margin: 0;
    font-size: 16px;
}

.related-group + .related-group {
    margin-top: 26px;
}

.related-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.related-group-head button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: #f0f2f1;
    color: #727a76;
    font-size: 18px;
    cursor: pointer;
}

.related-group-head button:hover {
    background: #f5dede;
    color: #a43d3d;
}

.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #e5e9e6;
}

.related-list a {
    color: #275d4a;
    font-weight: 700;
}

.related-list button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #8a9590;
    font-size: 17px;
    cursor: pointer;
}

.related-list button:hover {
    background: #f5dede;
    color: #a43d3d;
}

.related-group.is-excluded .related-list,
.related-list li.is-excluded a {
    opacity: .35;
}

.related-group.is-excluded h3,
.related-list li.is-excluded a {
    color: #929b97;
    text-decoration: line-through;
}

.related-group.is-excluded .related-group-head button,
.related-list li.is-excluded button {
    background: #e0eee7;
    color: #275d4a;
    font-weight: 800;
}

.quick-links {
    margin-top: 30px;
    padding: 22px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.quick-links p {
    margin: 0 7px 10px;
    color: #738b81;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 7px;
    color: #a7bbb2;
    font-size: 12px;
    line-height: 1.4;
}

.quick-links a:hover {
    color: #fff;
}

.quick-links b {
    color: #6e887d;
    font-size: 13px;
}

.content-row {
    padding: 14px 8px;
    transition: background .16s ease;
}

.list-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.platform-tabs {
    display: flex;
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid #e1e6e3;
    border-radius: 10px;
    background: #edf1ef;
    white-space: nowrap;
}

.platform-tabs a {
    padding: 8px 13px;
    border-radius: 7px;
    color: #6f7974;
    font-size: 12px;
    font-weight: 750;
}

.platform-tabs a.active {
    background: #fff;
    color: #275d4a;
    box-shadow: 0 2px 8px rgba(35, 55, 47, .08);
}

.title-search {
    display: flex;
    flex: 1 1 360px;
    align-items: center;
    gap: 7px;
    width: auto;
    max-width: 460px;
    min-width: 0;
}

.title-search input[type="search"] {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    padding: 9px 12px;
}

.title-search .button {
    flex: 0 0 auto;
    padding: 9px 14px;
    white-space: nowrap;
}

.search-clear {
    color: #727a76;
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .list-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .title-search {
        width: 100%;
        max-width: none;
        flex-basis: auto;
    }
}

@media (max-width: 460px) {
    .platform-tabs a {
        flex: 1;
        padding-inline: 8px;
        text-align: center;
    }

    .search-clear {
        display: none;
    }
}

.content-row:hover {
    background: rgba(255, 255, 255, .7);
}

.content-row .row-link {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1;
}

.row-delete button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e3d7d7;
    border-radius: 8px;
    background: #fff;
    color: #9a5555;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.row-delete button span { font-size: 17px; line-height: 1; }

.row-delete button:hover {
    background: #f5dede;
    color: #a43d3d;
}

.content-row .row-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
}

.content-row .row-body h2 {
    margin: 0;
    font-size: 16px;
}

.content-row .row-meta {
    margin: 6px 0 0;
    gap: 7px;
}

.platform-label {
    color: #727a76;
    font-size: 11px;
    font-weight: 700;
}

.content-row .badge {
    padding: 3px 7px;
    font-size: 10px;
}

.content-row .publication-badge {
    gap: 5px;
    background: #dff0e7;
    color: #245f45;
}

.publication-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3e8a66;
}

.publication-badge b {
    font-size: inherit;
    font-weight: 650;
    opacity: .72;
}

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

.publication-item {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(220px, 1.3fr);
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #e5e9e6;
    border-radius: 11px;
    background: #fbfcfb;
}

.publication-check {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    column-gap: 10px;
    cursor: pointer;
}

.publication-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.publication-check span {
    grid-row: 1 / 3;
    width: 21px;
    height: 21px;
    border: 1px solid #cbd4d0;
    border-radius: 6px;
    background: #fff;
}

.publication-check input:checked + span {
    border-color: #275d4a;
    background: #275d4a;
    box-shadow: inset 0 0 0 5px #fff;
}

.publication-check strong {
    font-size: 14px;
}

.publication-check small {
    color: #5d806f;
    font-size: 10px;
    font-weight: 600;
}

.publication-item input[type="url"]:disabled {
    opacity: .45;
    background: #f0f2f1;
}

@media (max-width: 700px) {
    .publication-item {
        grid-template-columns: 1fr;
    }
}

.copy-floating {
    position: fixed;
    right: 28px;
    top: 24px;
    z-index: 70;
    gap: 7px;
    min-width: 118px;
    box-shadow: 0 12px 30px rgba(24, 52, 41, .28);
}

.copy-floating span {
    font-size: 16px;
}

@media (max-width: 620px) {
    .copy-floating {
        right: 16px;
        top: 76px;
        min-width: auto;
    }
}

@media (max-width: 900px) {
    .quick-links {
        display: none;
    }
}

.publication-bottom {
    position: fixed;
    left: 268px;
    right: 28px;
    bottom: 78px;
    z-index: 58;
    max-height: 28vh;
    overflow-y: auto;
    margin: 0;
    padding: 13px 16px;
    box-shadow: 0 12px 38px rgba(24, 42, 35, .16);
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.publication-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
}

.publication-title h2 {
    margin: 0 0 4px;
}

.publication-title p {
    display: none;
}

.publication-title > span {
    padding: 5px 8px;
    border-radius: 7px;
    background: #edf3f0;
    color: #426755;
    font-size: 10px;
    font-weight: 800;
}

.publication-bottom .publication-list {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

.publication-bottom .publication-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 7px 9px;
    transition: .16s ease;
}

.publication-bottom .publication-item.is-published {
    border-color: #79a28f;
    background: #f0f7f3;
}

.publication-bottom .publication-item input[type="url"] {
    display: none;
    padding: 6px 8px;
    font-size: 11px;
}

.publication-bottom .publication-item.is-published input[type="url"] {
    display: block;
}

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

.wordpress-status-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wordpress-status-panel h2 { margin: 0 0 7px; }
.wordpress-status-panel p { margin: 0; color: #727a76; font-size: 13px; line-height: 1.6; }

.copy-fields-panel .field-copy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.copy-fields-panel .field-copy-head:not(:first-child) {
    margin-top: 22px;
}

.copy-fields-panel .field-copy-head h2 {
    margin: 0;
}

.field-copy-head button {
    padding: 5px 9px;
    border: 1px solid #dce4df;
    border-radius: 8px;
    background: #f7faf8;
    color: #426755;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.field-copy-head button:hover {
    border-color: #75a18d;
    background: #edf6f1;
}

.savebar .wordpress-save:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.visual-editor .writer-heading {
    letter-spacing: -0.025em;
    color: #172a23;
}

.visual-editor h2.writer-heading {
    position: relative;
    margin: 46px 0 18px;
    padding: 16px 18px 16px 22px;
    border-radius: 16px;
    border: 1px solid #dbe8e2;
    background: linear-gradient(135deg, #f3faf6 0%, #ffffff 72%);
    box-shadow: 0 12px 30px rgba(35, 74, 58, .08);
    font-size: 26px;
    line-height: 1.38;
}

.visual-editor h2.writer-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    bottom: 17px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2386ff, #4aa876);
}

.visual-editor h3.writer-heading {
    position: relative;
    margin: 31px 0 12px;
    padding-left: 17px;
    font-size: 20px;
    line-height: 1.45;
}

.visual-editor h3.writer-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: .34em;
    width: 5px;
    height: 1.05em;
    border-radius: 999px;
    background: #2386ff;
}

.visual-editor h2.writer-heading-style-premium {
    padding: 12px 0 12px 22px;
    border: 0;
    border-left: 10px solid #b78b45;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #2d2419;
}

.visual-editor h2.writer-heading-style-premium::before {
    display: none;
}

.visual-editor h3.writer-heading-style-premium {
    padding: 8px 0 8px 15px;
    border-left: 4px solid #d4b37a;
    color: #3a2d1f;
}

.visual-editor h3.writer-heading-style-premium::before {
    display: none;
}

.visual-editor h2.writer-heading-style-lifestyle {
    padding: 17px 20px;
    border: 1px solid #d9e7ff;
    border-radius: 22px;
    background: #f3f8ff;
    box-shadow: 0 10px 24px rgba(55, 102, 176, .08);
    color: #16315d;
}

.visual-editor h2.writer-heading-style-lifestyle::before {
    left: 14px;
    top: 50%;
    bottom: auto;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #5b8def;
    transform: translateY(-50%);
}

.visual-editor h3.writer-heading-style-lifestyle {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1e3a68;
}

.visual-editor h3.writer-heading-style-lifestyle::before {
    display: none;
}

.visual-editor h2.writer-heading-style-ocean {
    padding: 18px 22px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5c6 0%, #2563eb 100%);
    box-shadow: 0 16px 34px rgba(23, 132, 151, .18);
    color: #ffffff;
}

.visual-editor h2.writer-heading-style-ocean::before {
    display: none;
}

.visual-editor h3.writer-heading-style-ocean {
    padding: 0 0 9px;
    border-bottom: 3px solid #67e8f9;
    color: #164b56;
}

.visual-editor h3.writer-heading-style-ocean::before {
    display: none;
}

.visual-editor h2.writer-heading-style-forest {
    padding: 8px 0 8px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #183c24;
}

.visual-editor h2.writer-heading-style-forest::before {
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 8px;
    border-radius: 3px;
    background: #2f7d45;
}

.visual-editor h3.writer-heading-style-forest {
    padding-left: 18px;
    color: #204b2e;
}

.visual-editor h3.writer-heading-style-forest::before {
    width: 8px;
    border-radius: 3px;
    background: #4fa463;
}

.visual-editor h2.writer-heading-style-sunset {
    padding: 0 0 13px;
    border: 0;
    border-bottom: 4px solid #ff7a45;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #5b2617;
}

.visual-editor h2.writer-heading-style-sunset::before {
    left: 0;
    top: auto;
    bottom: -4px;
    width: 36%;
    height: 4px;
    border-radius: 999px;
    background: #ef476f;
}

.visual-editor h3.writer-heading-style-sunset {
    padding: 0 0 7px;
    border-bottom: 1px solid #ffd7c2;
    color: #68301e;
}

.visual-editor h3.writer-heading-style-sunset::before {
    display: none;
}

.visual-editor h2.writer-heading-style-mono {
    padding: 14px 0;
    border: 0;
    border-top: 2px solid #111827;
    border-bottom: 1px solid #d7dce2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #171a1f;
}

.visual-editor h2.writer-heading-style-mono::before {
    display: none;
}

.visual-editor h3.writer-heading-style-mono {
    padding-left: 0;
    color: #20242b;
    text-transform: none;
}

.visual-editor h3.writer-heading-style-mono::before {
    display: none;
}

.visual-editor h2.writer-heading-style-lavender {
    padding: 17px 20px;
    border: 2px dashed #c7b4ff;
    border-radius: 18px;
    background: #faf6ff;
    box-shadow: none;
    color: #3c2762;
}

.visual-editor h2.writer-heading-style-lavender::before {
    display: none;
}

.visual-editor h3.writer-heading-style-lavender {
    padding: 9px 13px;
    border-left: 0;
    border-radius: 12px;
    background: #f2ebff;
    color: #493171;
}

.visual-editor h3.writer-heading-style-lavender::before {
    display: none;
}

.visual-editor h2.writer-heading-style-mint {
    display: inline-block;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    background: #dcfff3;
    box-shadow: inset 0 0 0 2px #93efd0;
    color: #164b43;
}

.visual-editor h2.writer-heading-style-mint::before {
    display: none;
}

.visual-editor h3.writer-heading-style-mint {
    display: inline-block;
    padding: 6px 13px 6px 30px;
    border-radius: 999px;
    background: #effefa;
    color: #1e5b51;
}

.visual-editor h3.writer-heading-style-mint::before {
    left: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #20c997;
    transform: translateY(-50%);
}

.visual-editor h2.writer-heading-style-slate {
    padding: 17px 20px;
    border: 0;
    border-radius: 10px;
    background: #111827;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .18);
    color: #ffffff;
}

.visual-editor h2.writer-heading-style-slate::before {
    display: none;
}

.visual-editor h3.writer-heading-style-slate {
    padding: 9px 12px;
    border-left: 5px solid #64748b;
    background: #f1f5f9;
    color: #263449;
}

.visual-editor h3.writer-heading-style-slate::before {
    display: none;
}

.visual-editor h2.writer-heading-style-peach {
    padding: 16px 20px;
    border: 1px solid #ffd2c2;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8f3 0%, #ffe9df 100%);
    box-shadow: 0 10px 24px rgba(245, 145, 108, .14);
    color: #6d2f1e;
}

.visual-editor h2.writer-heading-style-peach::before {
    left: 14px;
    top: -7px;
    width: 38px;
    height: 14px;
    border-radius: 999px;
    background: #ff9f7f;
}

.visual-editor h3.writer-heading-style-peach {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 12px;
    background: #fff3ec;
    color: #7a3a28;
}

.visual-editor h3.writer-heading-style-peach::before {
    display: none;
}

.visual-editor h2.writer-heading-style-berry {
    display: inline-block;
    padding: 12px 18px 12px 38px;
    border: 0;
    border-radius: 999px;
    background: #ffeef4;
    box-shadow: inset 0 0 0 2px #ffc4d8;
    color: #6a2343;
}

.visual-editor h2.writer-heading-style-berry::before {
    left: 14px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #e75480;
    transform: translateY(-50%) rotate(12deg);
}

.visual-editor h3.writer-heading-style-berry {
    padding: 0 0 8px;
    border-bottom: 2px solid #f8bfd2;
    color: #7b2a4c;
}

.visual-editor h3.writer-heading-style-berry::before {
    display: none;
}

.visual-editor h2.writer-heading-style-lemon {
    padding: 16px 20px;
    border: 1px solid #f4e39d;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffef3 0%, #fff7d1 100%);
    box-shadow: 0 10px 22px rgba(228, 191, 66, .15);
    color: #624c08;
}

.visual-editor h2.writer-heading-style-lemon::before {
    left: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #facc15;
    transform: translateY(-50%) rotate(45deg);
}

.visual-editor h3.writer-heading-style-lemon {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff8d9;
    color: #6e5710;
}

.visual-editor h3.writer-heading-style-lemon::before {
    display: none;
}

.visual-editor h2.writer-heading-style-rose {
    padding: 15px 20px;
    border: 0;
    border-radius: 16px;
    background: #fff2f7;
    box-shadow: inset 0 0 0 2px #f8c4d8;
    color: #77264b;
}

.visual-editor h2.writer-heading-style-rose::before {
    left: 14px;
    top: -8px;
    width: 44px;
    height: 16px;
    border-radius: 8px 8px 12px 12px;
    background: #ec4899;
}

.visual-editor h3.writer-heading-style-rose {
    padding: 0 0 8px;
    border-bottom: 2px solid #f4bad1;
    color: #8b2f58;
}

.visual-editor h3.writer-heading-style-rose::before {
    display: none;
}

.visual-editor h2.writer-heading-style-sky {
    padding: 16px 20px;
    border: 1px solid #cbe7ff;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(222, 241, 255, .95));
    box-shadow: 0 12px 26px rgba(73, 148, 214, .14);
    color: #1d4161;
    backdrop-filter: blur(2px);
}

.visual-editor h2.writer-heading-style-sky::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: -3px;
    width: auto;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7dd3fc, #2563eb);
}

.visual-editor h3.writer-heading-style-sky {
    padding-left: 16px;
    color: #28547a;
}

.visual-editor h3.writer-heading-style-sky::before {
    width: 6px;
    border-radius: 999px;
    background: #38bdf8;
}

.visual-editor h2.writer-heading-style-cocoa {
    padding: 14px 20px 14px 28px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7efe8 0%, #efdfd1 100%);
    box-shadow: 0 10px 20px rgba(120, 82, 52, .14);
    color: #4a2d18;
}

.visual-editor h2.writer-heading-style-cocoa::before {
    left: 12px;
    top: 50%;
    width: 8px;
    height: 20px;
    border-radius: 999px;
    background: #9a6a44;
    transform: translateY(-50%);
}

.visual-editor h3.writer-heading-style-cocoa {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 10px;
    background: #f4e8dd;
    color: #5f3c24;
}

.visual-editor h3.writer-heading-style-cocoa::before {
    display: none;
}

@media (max-width: 760px) {
    .savebar-actions { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 700px) {
    .publication-bottom {
        display: block;
    }

    .publication-title {
        margin-bottom: 10px;
    }

    .publication-bottom .publication-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.page-content .main {
    padding-bottom: 225px;
}

.page-content .savebar {
    position: fixed;
    left: 268px;
    right: 28px;
    bottom: 14px;
    z-index: 60;
    margin: 0;
}

@media (max-width: 900px) {
    .publication-bottom,
    .page-content .savebar {
        left: 22px;
        right: 22px;
    }
}

@media (max-width: 620px) {
    .publication-bottom {
        left: 16px;
        right: 16px;
        bottom: 74px;
        max-height: 30vh;
        padding: 12px;
    }

    .page-content .main {
        padding-bottom: 285px;
    }

    .page-content .savebar {
        left: 16px;
        right: 16px;
        bottom: 10px;
    }
}
