/* OpenArt-inspired browse surface for the Creation Centre home only. */
@media (min-width: 921px) {
    #creation-app .creation-home-categories > .creation-mobile-history { display: none !important; }
}

html body #creation-app[data-creation-page="home"],
html body #creation-app[data-creation-page="home"] .creation-workspace,
html body #creation-app[data-creation-page="home"] .creation-main,
body:has(#creation-app[data-creation-page="home"]) {
    background: #fff !important;
    color: #15233a !important;
}

html body #creation-app[data-creation-page="home"] .creation-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 clamp(18px, 4vw, 58px) 70px !important;
    overflow-x: clip;
}

html body #creation-app[data-creation-page="home"] .creation-home-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding-top: 22px;
}

html body #creation-app[data-creation-page="home"] :is(h1, h2, h3, p, span, strong, small, a, button) {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

html body #creation-app[data-creation-page="home"] .creation-home-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

html body #creation-app[data-creation-page="home"] .creation-home-kicker,
html body #creation-app[data-creation-page="home"] .creation-home-section-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #1475de !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

html body #creation-app[data-creation-page="home"] .creation-home-hero h1 {
    margin: 0;
    color: #15233a !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 780;
    line-height: 1.1;
}

html body #creation-app[data-creation-page="home"] .creation-home-hero p {
    max-width: 610px;
    margin: 8px 0 0;
    color: #66758b !important;
    font-size: 14px;
    line-height: 1.5;
}

html body #creation-app[data-creation-page="home"] .creation-home-history {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #dce5f0 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #4d6079 !important;
    box-shadow: 0 4px 14px rgba(31, 72, 122, .06) !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

html body #creation-app[data-creation-page="home"] .creation-home-history:hover {
    border-color: #a9c9f3 !important;
    background: #f5f9ff !important;
    color: #0d6bd5 !important;
}

html body #creation-app[data-creation-page="home"] .creation-home-categories {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 28px;
    padding: 3px;
    border: 1px solid #e2e9f2 !important;
    border-radius: 9px;
    background: #f7f9fc !important;
    box-shadow: none !important;
}

html body #creation-app[data-creation-page="home"] .creation-home-categories a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #63748c !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

html body #creation-app[data-creation-page="home"] .creation-home-categories a:hover {
    background: #fff !important;
    color: #0d6bd5 !important;
}

html body #creation-app[data-creation-page="home"] .creation-home-categories a.active {
    border-color: #c7dcf8 !important;
    background: #fff !important;
    color: #0969d5 !important;
    box-shadow: 0 2px 7px rgba(37, 99, 184, .08);
}

html body #creation-app[data-creation-page="home"] .creation-home-categories :is(img, .creation-category-icon) {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    object-fit: contain;
}

/* Keep category tabs dimensionally stable while the active state changes. */
html body #creation-app[data-creation-page="home"] .creation-home-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 304px);
    box-sizing: border-box;
}

html body #creation-app[data-creation-page="home"] .creation-home-categories a {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid transparent;
    font-weight: 700;
}

html body #creation-app[data-creation-page="home"] .creation-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

html body #creation-app[data-creation-page="home"] .creation-home-section-head h2 {
    margin: 0;
    color: #15233a !important;
    font-size: 22px;
    font-weight: 780;
    line-height: 1.2;
}

html body #creation-app[data-creation-page="home"] .creation-home-section-head p {
    max-width: 680px;
    margin: 6px 0 0;
    color: #718198 !important;
    font-size: 13px;
    line-height: 1.5;
}

html body #creation-app[data-creation-page="home"] .creation-category-card-grid.creation-quick-start-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    grid-column: auto;
    height: 246px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e7f0 !important;
    border-radius: 9px;
    background: #fff !important;
    color: #15233a !important;
    box-shadow: 0 6px 18px rgba(33, 72, 118, .07) !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card::before {
    display: none;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media {
    position: relative;
    top: auto;
    height: auto;
    min-height: 158px;
    overflow: hidden;
    background: #eaf0f7;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media::after {
    display: none;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease, filter .35s ease;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-shade {
    position: absolute;
    inset: auto 0 0;
    height: 70px;
    background: linear-gradient(to bottom, transparent, rgba(6, 19, 36, .54));
    pointer-events: none;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-label {
    top: 11px;
    right: 11px;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .7) !important;
    border-radius: 5px;
    background: rgba(12, 28, 48, .48) !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    backdrop-filter: blur(8px);
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    min-height: 78px;
    padding: 11px 42px 11px 13px;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    background: #fff;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy strong {
    max-width: 100%;
    overflow: visible;
    color: #15233a !important;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
    white-space: normal;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy small {
    max-width: 100%;
    overflow: visible;
    color: #718198 !important;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-arrow {
    right: 12px;
    bottom: 14px;
    width: 27px;
    height: 27px;
    border: 1px solid #d8e3f0;
    border-radius: 50%;
    background: #f7faff;
    color: #2877d5 !important;
    font-size: 14px;
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover {
    border-color: #9fc5f3 !important;
    box-shadow: 0 13px 26px rgba(31, 87, 153, .13) !important;
    transform: translateY(-2px);
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover .creation-category-card-media img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.035);
}

html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover .creation-category-card-arrow {
    border-color: #2877d5;
    background: #2877d5;
    color: #fff !important;
}

html body #creation-app[data-creation-page="home"] .creation-home-inspiration {
    margin-top: 42px;
    padding-top: 0;
    border-top: 0 !important;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-history {
    margin-bottom: 3px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button {
    min-height: 31px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #718198;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button:hover {
    background: #f3f7fc;
    color: #246fc2;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button.active {
    border-color: #c7dcf8;
    background: #edf5ff;
    color: #0969d5;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card {
    display: block;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e7f0;
    border-radius: 9px;
    background: #fff;
    color: #15233a;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 6px 18px rgba(33, 72, 118, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-1 {
    grid-column: span 2;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-media {
    position: relative;
    display: block;
    height: 176px;
    overflow: hidden;
    background: #edf2f7;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-1 .creation-inspiration-card-media {
    height: 222px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card:hover {
    border-color: #9fc5f3;
    box-shadow: 0 13px 26px rgba(31, 87, 153, .12);
    transform: translateY(-2px);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card:hover .creation-inspiration-card-media img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.035);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-kind {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 5px;
    background: rgba(8, 25, 44, .48);
    color: #fff;
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    backdrop-filter: blur(8px);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-play,
html body #creation-app[data-creation-page="home"] .creation-inspiration-audio-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 50%;
    background: rgba(8, 25, 44, .5);
    color: #fff;
    font-size: 15px;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-audio-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-audio-mark i {
    display: block;
    width: 3px;
    height: 12px;
    border-radius: 3px;
    background: #fff;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-audio-mark i:nth-child(2) {
    height: 20px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-audio-mark i:nth-child(3) {
    height: 16px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 65px;
    padding: 11px 13px 12px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy strong {
    color: #15233a;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.3;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy small {
    color: #718198;
    font-size: 11px;
    line-height: 1.35;
}

html body #creation-app[data-creation-page="home"] .creation-home-disclaimer {
    margin-top: 30px;
    color: #8190a4 !important;
    font-size: 11px;
}

html body #creation-app[data-creation-page="home"] .creation-home-disclaimer a {
    color: #1a72d5 !important;
}

html body.creation-inspiration-modal-open {
    overflow: hidden;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-modal[hidden] {
    display: none;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 22, 38, .62);
    backdrop-filter: blur(7px);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(8, 27, 52, .28);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .54);
    border-radius: 50%;
    background: rgba(8, 25, 44, .55);
    color: #fff;
    cursor: pointer;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-close svg {
    width: 17px;
    height: 17px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(340px, .66fr);
    min-height: 520px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer {
    min-width: 0;
    min-height: 520px;
    padding: 22px;
    display: grid;
    place-items: center;
    background: #0d1826;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer-frame {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 476px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #111d2d;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer-frame img,
html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer-frame video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-media-error {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(8, 25, 44, .76);
    color: #fff;
    font-size: 12px;
    text-align: center;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer-frame.is-music img {
    object-fit: cover;
    opacity: .82;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-music-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(8, 20, 35, .72);
    color: #dce9f9;
    backdrop-filter: blur(10px);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-preview-button {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-preview-button:hover,
html body #creation-app[data-creation-page="home"] .creation-inspiration-preview-button.is-playing {
    border-color: #8bc2ff;
    background: #277cd8;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-music-controls span {
    color: #aebdd0;
    font-size: 11px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-music-controls audio {
    width: min(100%, 360px);
    min-width: 0;
    height: 34px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 42px 34px 30px;
    background: #fff;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading {
    padding-right: 28px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-type {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 5px;
    background: #edf5ff;
    color: #0d6bd5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading h2 {
    margin: 13px 0 0;
    color: #15233a !important;
    font-size: 25px;
    font-weight: 780;
    line-height: 1.18;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading p {
    margin: 8px 0 0;
    color: #718198 !important;
    -webkit-text-fill-color: #718198 !important;
    font-size: 13px;
    line-height: 1.45;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll {
    min-height: 0;
    flex: 1 1 auto;
    margin-top: 28px;
    padding-top: 20px;
    overflow-y: auto;
    border-top: 1px solid #e6edf5;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-label {
    display: block;
    margin-bottom: 10px;
    color: #4a617e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll p {
    margin: 0;
    color: #3e5068 !important;
    -webkit-text-fill-color: #3e5068 !important;
    font-size: 14px;
    line-height: 1.75;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-actions {
    margin-top: 24px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-actions .creation-primary {
    min-height: 44px;
    gap: 10px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    html body #creation-app[data-creation-page="home"] .creation-category-card-grid.creation-quick-start-grid,
    html body #creation-app[data-creation-page="home"] .creation-inspiration-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html body #creation-app[data-creation-page="home"] .creation-main {
        padding: 0 14px 44px !important;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-shell {
        padding-top: 18px;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 15px;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-hero h1 {
        font-size: 30px !important;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-categories {
        width: 100%;
        margin-bottom: 22px;
        box-sizing: border-box;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-categories a {
        flex: 1 1 0;
        padding: 0 7px;
    }

    html body #creation-app[data-creation-page="home"] .creation-category-card-grid.creation-quick-start-grid,
    html body #creation-app[data-creation-page="home"] .creation-inspiration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card {
        height: 224px;
    }

    html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media {
        min-height: 140px;
    }

    html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy {
        min-height: 72px;
        padding-right: 35px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-card-1 {
        grid-column: span 2;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-card-media {
        height: 150px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-card-1 .creation-inspiration-card-media {
        height: 190px;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-history {
        margin-bottom: 0;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-modal {
        padding: 10px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog {
        max-height: calc(100vh - 20px);
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-grid {
        display: flex;
        max-height: calc(100vh - 20px);
        flex-direction: column;
        overflow-y: auto;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer {
        min-height: 300px;
        padding: 12px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-viewer-frame {
        min-height: 276px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-panel {
        min-height: 340px;
        padding: 28px 22px 22px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll {
        max-height: 220px;
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card,
    html body #creation-app[data-creation-page="home"] .creation-inspiration-card,
    html body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media img,
    html body #creation-app[data-creation-page="home"] .creation-inspiration-card-media img {
        transition: none;
    }
}

/* Result and execution surfaces need the same theme treatment as the studio
 * shell. Keep the creation centre home page intentionally separate. */
html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] {
    --creation-ink: #eef2f7;
    --creation-muted: #a9b7c9;
    --creation-line: #2d3a4d;
    --creation-soft: #182437;
    background: #0f141d !important;
    color: #eef2f7 !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .creation-workspace,
html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .creation-main {
    background: #0f141d !important;
    color: #eef2f7 !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .creation-history-shortcut {
    border-color: rgba(96, 165, 250, .28) !important;
    background: rgba(30, 64, 175, .16) !important;
    color: #b8c6d9 !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] :is(
    .creation-breadcrumb,
    .creation-heading p,
    .result-prompt-line,
    .result-media-state,
    .result-initial-waiting,
    .creation-disclaimer
) {
    color: #a9b7c9 !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] :is(
    .creation-heading h1,
    .result-actions h2,
    .result-initial-waiting strong,
    .result-media-state strong,
    .result-variant span
) {
    color: #eef2f7 !important;
    -webkit-text-fill-color: currentColor !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .result-status.processing {
    background: rgba(37, 99, 235, .22) !important;
    color: #9dccff !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] :is(
    .result-media-stage,
    .result-initial-waiting
) {
    border-color: #34465e !important;
    background: linear-gradient(135deg, #172437, #111b2a) !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .result-spinner {
    border-color: #2f4664 !important;
    border-top-color: #6ba8ff !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .result-variant {
    border-color: #2f4057 !important;
    background: #172437 !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .result-variant.active {
    border-color: #6ba8ff !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .result-actions {
    border-left-color: #2d3a4d !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] :is(
    .setting-option,
    .creation-outline,
    .result-bottom-actions .creation-outline
) {
    border-color: #465873 !important;
    background: #172437 !important;
    color: #dce7f4 !important;
    -webkit-text-fill-color: currentColor !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .setting-option:is(:hover, :focus-visible, .active),
html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .creation-outline:is(:hover, :focus-visible) {
    border-color: #6ba8ff !important;
    background: #203755 !important;
    color: #a9ccff !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .creation-primary {
    background: #2878e8 !important;
    border-color: #2878e8 !important;
    color: #fff !important;
}

html body[data-ui-theme="dark"] #creation-app[data-creation-page="result"] .result-actions > hr {
    border-top-color: #2d3a4d !important;
}

/* The home redesign is loaded after the shared dark-theme stylesheet, so its
 * light surface rules need an explicit dark counterpart. */
html[data-ui-theme="dark"] body:has(#creation-app[data-creation-page="home"]),
body[data-ui-theme="dark"]:has(#creation-app[data-creation-page="home"]),
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"],
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"],
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-workspace,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-workspace,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-main,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-main {
    background: #0b111c !important;
    color: #f5f8fc !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] :is(
    aside[data-fuuvo-shared-sidebar="1"],
    .feature-sidebar
),
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] :is(
    aside[data-fuuvo-shared-sidebar="1"],
    .feature-sidebar
) {
    background: #101925 !important;
    border-color: #2b394c !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-kicker,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-kicker,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-section-eyebrow,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-section-eyebrow {
    color: #79b9ff !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-hero h1,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-hero h1,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-section-head h2,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-section-head h2 {
    color: #f5f8fc !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-hero p,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-hero p,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-section-head p,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-section-head p {
    color: #a8b6c9 !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] :is(
    .creation-home-history,
    .creation-home-categories
),
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] :is(
    .creation-home-history,
    .creation-home-categories
) {
    border-color: #2b394c !important;
    background: #121a26 !important;
    color: #d7e1ee !important;
    box-shadow: none !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-history:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-history:hover {
    border-color: #537fb9 !important;
    background: #1b2a3d !important;
    color: #eef6ff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-categories a,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-categories a {
    color: #aebed2 !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-categories a:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-categories a:hover {
    background: #1b2a3d !important;
    color: #eef6ff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-categories a.active,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-categories a.active {
    border-color: #5b98e8 !important;
    background: #1d4776 !important;
    color: #fff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-card,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-card {
    border-color: #334357 !important;
    background: #141e2c !important;
    color: #f5f8fc !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2) !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-media,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-card-media,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-card-media {
    background: #202c3d !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy {
    background: #141e2c !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy strong,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy strong,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy strong,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-card-copy strong {
    color: #f5f8fc !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy small,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-copy small,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy small,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-card-copy small {
    color: #a8b6c9 !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-arrow,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card-arrow {
    border-color: #3a516c !important;
    background: #1b2a3d !important;
    color: #91c4ff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-card:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-card:hover {
    border-color: #5d8fd0 !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .3) !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover .creation-category-card-arrow,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-quick-start-grid .creation-category-card:hover .creation-category-card-arrow {
    border-color: #79b9ff !important;
    background: #2878e8 !important;
    color: #fff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-tabs button {
    color: #a8b6c9 !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-tabs button:hover {
    background: #1b2a3d !important;
    color: #dcecff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button.active,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-tabs button.active {
    border-color: #5b98e8 !important;
    background: #203c62 !important;
    color: #dcecff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-disclaimer,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-disclaimer {
    color: #899ab0 !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-disclaimer a,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-disclaimer a {
    color: #8fc4ff !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-dialog,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-dialog,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-brief-panel,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-brief-panel {
    border-color: #344357 !important;
    background: #141e2c !important;
    color: #eef2f7 !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-type,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-dialog-type {
    background: #203c62 !important;
    color: #a9ccff !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading h2,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading h2 {
    color: #f5f8fc !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading p,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-brief-heading p,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll p,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll p {
    color: #c0ccda !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-brief-scroll {
    border-top-color: #2b394c !important;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-brief-label,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-brief-label {
    color: #9fb7d3 !important;
}

/* Expanded Director-style library controls. */
html body #creation-app[data-creation-page="home"] .creation-home-shell {
    width: min(1380px, 100%);
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools {
    margin: -10px 0 30px;
    border: 1px solid #e0e8f2;
    border-radius: 10px;
    background: #fbfdff;
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    color: #1e3350;
    cursor: pointer;
    list-style: none;
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools summary::-webkit-details-marker {
    display: none;
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools-label {
    color: #1d6fc9;
    font-size: 13px;
    font-weight: 780;
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools-count {
    color: #8190a4;
    font-size: 11px;
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools-chevron {
    margin-left: auto;
    color: #3978b9;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

html body #creation-app[data-creation-page="home"] .creation-home-more-tools[open] .creation-home-more-tools-chevron {
    transform: rotate(180deg);
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 10px 10px;
    border-top: 1px solid #e7edf4;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border-radius: 8px;
    color: #1e3350;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item:hover {
    background: #f0f6ff;
    transform: translateY(-1px);
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item img {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    object-fit: cover;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item span:not(.creation-home-tool-drawer-arrow) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item strong,
html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item strong {
    color: #263e5b;
    font-size: 12px;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item small {
    color: #8291a5;
    font-size: 10px;
}

html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-arrow {
    color: #2877d5;
    font-size: 16px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs {
    flex-wrap: wrap;
    padding: 3px;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #f9fbfd;
    width: fit-content;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button {
    min-width: 72px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs::-webkit-scrollbar {
    display: none;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button {
    flex: 0 0 auto;
    min-width: 88px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(32, 73, 118, .07);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card[hidden] {
    display: none !important;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-1,
html body #creation-app[data-creation-page="home"] .creation-inspiration-card-6 {
    grid-column: span 2;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-1 .creation-inspiration-card-media,
html body #creation-app[data-creation-page="home"] .creation-inspiration-card-6 .creation-inspiration-card-media {
    height: 246px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-media {
    height: 198px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-hover {
    position: absolute;
    right: 11px;
    bottom: 11px;
    left: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 33px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 6px;
    background: rgba(9, 24, 42, .68);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
    backdrop-filter: blur(9px);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card:hover .creation-inspiration-card-hover,
html body #creation-app[data-creation-page="home"] .creation-inspiration-card:focus-visible .creation-inspiration-card-hover {
    opacity: 1;
    transform: translateY(0);
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy {
    min-height: 82px;
    padding: 12px 13px 13px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-card-meta {
    display: block;
    margin-top: 3px;
    color: #9aa8b9;
    font-size: 10px;
    line-height: 1.25;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-dialog-actions .creation-primary {
    flex: 1 1 100%;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-secondary {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #d7e2ee;
    border-radius: 7px;
    background: #f8fbff;
    color: #48617e;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 720;
}

html body #creation-app[data-creation-page="home"] .creation-inspiration-secondary:hover,
html body #creation-app[data-creation-page="home"] .creation-inspiration-secondary[aria-pressed="true"] {
    border-color: #8bb9ec;
    background: #edf6ff;
    color: #126bc9;
}

@media (max-width: 1160px) {
    html body #creation-app[data-creation-page="home"] .creation-inspiration-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html body #creation-app[data-creation-page="home"] .creation-home-more-tools {
        margin-top: -6px;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-more-tools-count {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html body #creation-app[data-creation-page="home"] .creation-home-tool-drawer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs {
        width: 100%;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-tabs button {
        flex: 0 0 auto;
        min-width: 82px;
        padding: 0 7px;
    }

    html body #creation-app[data-creation-page="home"] .creation-inspiration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-more-tools,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-more-tools {
    border-color: #2b3a4e;
    background: #111b29;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-more-tools summary,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-more-tools summary {
    color: #dce7f5;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-more-tools-count,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-more-tools-count,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item small,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item small {
    color: #91a3ba;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-tool-drawer,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-tool-drawer {
    border-top-color: #2b3a4e;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item:hover {
    background: #1b2b40;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item strong,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-home-tool-drawer-item strong {
    color: #e5edf8;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-tabs,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-tabs {
    border-color: #2b3a4e;
    background: #111b29;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-card-meta,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-card-meta {
    color: #8fa1b7;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-secondary,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-secondary {
    border-color: #3a4c63;
    background: #1a293b;
    color: #c4d2e2;
}

html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-secondary:hover,
html[data-ui-theme="dark"] body #creation-app[data-creation-page="home"] .creation-inspiration-secondary[aria-pressed="true"],
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-secondary:hover,
body[data-ui-theme="dark"] #creation-app[data-creation-page="home"] .creation-inspiration-secondary[aria-pressed="true"] {
    border-color: #5f96d4;
    background: #203d61;
    color: #dcecff;
}

/* Keep the category switcher the same size on the visual, writing and audio
   landing pages. The active route may change, but the tab rail must not
   resize or shift its controls when its label/state changes. */
html body #creation-app .creation-subpage-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 304px);
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    gap: 4px;
    padding: 3px;
    overflow: visible;
}

html body #creation-app .creation-subpage-categories a {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    height: 32px;
    box-sizing: border-box;
    padding: 0 11px;
    white-space: nowrap;
}

html body #creation-app .creation-subpage-categories img {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

@media (max-width: 680px) {
    html body #creation-app .creation-subpage-categories {
        width: 100%;
        max-width: 304px;
    }

    html body #creation-app .creation-subpage-categories a {
        padding: 0 7px;
    }
}

/* Keep the category switcher visually identical while moving between the
   visual, writing and audio landing pages. */
html body #creation-app .creation-subpage-categories {
    border: 1px solid #e2e9f2 !important;
    border-radius: 9px;
    background: #f7f9fc !important;
    box-shadow: none !important;
}

html body #creation-app .creation-subpage-categories a {
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent !important;
    color: #63748c !important;
    font-size: 12px;
    font-weight: 700;
    -webkit-text-fill-color: currentColor !important;
}

html body #creation-app .creation-subpage-categories a:hover {
    border-color: transparent !important;
    background: #fff !important;
    color: #0d6bd5 !important;
}

html body #creation-app .creation-subpage-categories a.active {
    border-color: #c7dcf8 !important;
    background: #fff !important;
    color: #0969d5 !important;
    box-shadow: 0 2px 7px rgba(37, 99, 184, .08) !important;
}

html body #creation-app .creation-subpage-categories :is(img, .creation-category-icon) {
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
    flex: 0 0 17px;
    object-fit: contain;
}

html[data-ui-theme="dark"] body #creation-app .creation-subpage-categories,
body[data-ui-theme="dark"] #creation-app .creation-subpage-categories {
    border-color: #2b394c !important;
    background: #121a26 !important;
    color: #d7e1ee !important;
}

html[data-ui-theme="dark"] body #creation-app .creation-subpage-categories a,
body[data-ui-theme="dark"] #creation-app .creation-subpage-categories a {
    color: #aebed2 !important;
}

html[data-ui-theme="dark"] body #creation-app .creation-subpage-categories a:hover,
body[data-ui-theme="dark"] #creation-app .creation-subpage-categories a:hover {
    background: #1b2a3d !important;
    color: #eef6ff !important;
}

html[data-ui-theme="dark"] body #creation-app .creation-subpage-categories a.active,
body[data-ui-theme="dark"] #creation-app .creation-subpage-categories a.active {
    border-color: #5b98e8 !important;
    background: #1d4776 !important;
    color: #fff !important;
}

/* Keep the visual, writing and audio landing pages on one content grid. */
html body #creation-app:is([data-creation-page="home"], [data-creation-page="writing"], [data-creation-page="voice"]) .creation-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 clamp(18px, 4vw, 58px) 70px !important;
    box-sizing: border-box;
}

html body #creation-app:is([data-creation-page="home"], [data-creation-page="writing"], [data-creation-page="voice"]) :is(.creation-home-shell, .creation-category-shell) {
    width: min(1240px, 100%);
    margin-inline: auto;
    box-sizing: border-box;
}

/* Keep the outer creation surface on the same centred desktop measure as the
 * other public workspaces. The inner home/category shell remains capped for
 * comfortable reading while the right side no longer looks unbalanced. */
@media (min-width: 921px) {
    html body #creation-app:is([data-creation-page="home"], [data-creation-page="writing"], [data-creation-page="voice"]) .creation-main[data-fuuvo-app-scroll="1"] {
        width: min(1560px, calc(100% - 80px)) !important;
        max-width: 1560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
