@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.rt-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    width: min(1360px, 100%);
    margin: 0 auto;
    gap: 1rem;
    align-items: start;
}

.rt-community-feed-sidebar {
    position: sticky;
    top: 1rem;
    margin-top: -1rem;
    padding: 0.85rem;
}

.rt-community-feed-column,
.rt-community-admin-form,
.rt-community-admin-feed-list,
.rt-community-admin-feed-edit,
.rt-community-comments {
    display: grid;
    gap: 0.75rem;
}

.rt-community-feed-nav {
    display: grid;
    gap: 0.55rem;
    padding: 0;
}

.rt-community-feed-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 0.72rem;
    background: rgba(15, 23, 42, 0.48);
    padding: 0.62rem 0.82rem;
    color: #d7deea;
    font-weight: 760;
    box-shadow: none !important;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rt-community-feed-link span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.55rem;
}

.rt-community-feed-link small {
    color: #8b97aa;
    font-size: 0.72rem;
    font-weight: 800;
}

.rt-community-feed-link:hover,
.rt-community-feed-link.is-active {
    border-color: rgba(255, 200, 61, 0.38);
    background: rgba(255, 200, 61, 0.11);
    color: #fff0bd;
    transform: translateX(-1px);
}

.rt-community-feed-link.is-active {
    box-shadow: inset 2px 0 0 0 rgba(255, 200, 61, 0.9) !important;
}

.rt-community-feed-link:hover i,
.rt-community-feed-link.is-active i {
    color: #ffc83d;
}

.rt-community-composer,
.rt-community-post,
.rt-community-feed-sidebar {
    border-color: rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(145deg, rgba(14, 21, 32, 0.95) 0%, rgba(6, 11, 18, 0.96) 78%),
        #08111d;
}

.rt-community-composer {
    padding: 0.8rem;
}

.rt-community-composer form {
    display: grid;
    gap: 0.72rem;
}

.rt-community-composer-prompt {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
}

.rt-community-composer-prompt > img,
.rt-community-composer-prompt > span,
.rt-community-create-author > img,
.rt-community-create-author > span {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.rt-community-composer-prompt > img,
.rt-community-create-author > img {
    object-fit: cover;
}

.rt-community-composer-prompt > span,
.rt-community-create-author > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 200, 61, 0.24), rgba(79, 209, 197, 0.18));
    color: #fff1bf;
    font-weight: 850;
}

.rt-community-composer-trigger {
    display: flex;
    min-width: 0;
    min-height: 3.25rem;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 0.85rem;
    background: #111a27;
    padding: 0.55rem 1.05rem;
    color: #aeb8c7;
    font-size: 1rem;
    font-weight: 720;
    text-align: left;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.rt-community-composer-trigger:hover,
.rt-community-composer-trigger:focus-visible {
    border-color: rgba(255, 200, 61, 0.34);
    background: #162234;
    color: #f8fafc;
}

.rt-community-composer-head,
.rt-community-post-head,
.rt-community-author,
.rt-community-comment-main,
.rt-community-profile-main {
    display: flex;
    align-items: center;
    gap: 0.78rem;
}

.rt-community-composer-head img,
.rt-community-author img,
.rt-community-comment-avatar img,
.rt-community-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rt-community-composer-head > img,
.rt-community-composer-head > span,
.rt-community-author > img,
.rt-community-author > span {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.rt-community-composer-head > span,
.rt-community-author > span,
.rt-community-comment-avatar span,
.rt-community-profile-avatar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 200, 61, 0.24), rgba(79, 209, 197, 0.18));
    color: #fff1bf;
    font-weight: 850;
}

.rt-community-composer-head strong,
.rt-community-author a,
.rt-community-author strong,
.rt-community-comment-head a,
.rt-community-comment-head strong {
    color: #f8fafc;
    font-weight: 820;
}

.rt-community-composer-head small,
.rt-community-author small,
.rt-community-comment-head small {
    display: block;
    color: #8d99ab;
    font-size: 0.78rem;
    font-weight: 650;
}

.rt-community-composer-actions,
.rt-community-post-head,
.rt-community-post-actions,
.rt-community-admin-feed-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.rt-community-post {
    display: grid;
    gap: 0.62rem;
    overflow: visible;
    padding: 1rem;
}

.rt-community-post .rt-community-post-head {
    z-index: 40;
}

.rt-community-post-body,
.rt-community-profile-text {
    color: #dce4ef;
    font-size: 0.94rem;
    font-weight: 560;
    line-height: 1.62;
}

.rt-community-post-body h3 {
    margin: 0 0 0.22rem;
    color: #f8fafc;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 840;
}

.rt-community-post-body p {
    margin: 0;
}

.rt-community-post-body a,
.rt-community-profile-text a,
.rt-community-comment-bubble a {
    color: #ffd56b;
    font-weight: 760;
    text-decoration: underline;
    text-decoration-color: rgba(255, 213, 107, 0.35);
}

.rt-community-mention {
    border-radius: 0.28rem;
    background: rgba(255, 200, 61, 0.12);
    padding: 0.02rem 0.18rem;
    color: #ffd56b !important;
    font-weight: 850;
    text-decoration: none !important;
}

.rt-community-mention:hover,
.rt-community-mention:focus-visible {
    background: rgba(255, 200, 61, 0.2);
}

.rt-community-mention-menu {
    position: fixed;
    z-index: 1200;
    display: grid;
    gap: 0.18rem;
    overflow: hidden;
    border: 1px solid rgba(255, 200, 61, 0.18);
    border-radius: 0.72rem;
    background: #07101b;
    padding: 0.28rem;
    box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.98);
}

.rt-community-mention-menu button {
    display: grid;
    gap: 0.08rem;
    width: 100%;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    padding: 0.48rem 0.58rem;
    color: #dce4ef;
    cursor: pointer;
    text-align: left;
}

.rt-community-mention-menu button:hover,
.rt-community-mention-menu button.is-active {
    background: rgba(255, 200, 61, 0.11);
    color: #fff0bd;
}

.rt-community-mention-menu span {
    font-size: 0.84rem;
    font-weight: 850;
}

.rt-community-mention-menu small {
    color: #8d99ab;
    font-size: 0.72rem;
    font-weight: 760;
}

.rt-community-post-menu {
    position: relative;
    margin-left: auto;
    z-index: 50;
}

.rt-community-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.6rem;
    background: rgba(15, 23, 42, 0.55);
    color: #9aa7ba;
}

.rt-community-post-menu-details {
    position: relative;
}

.rt-community-post-menu-details summary {
    list-style: none;
    cursor: pointer;
}

.rt-community-post-menu-details summary::-webkit-details-marker {
    display: none;
}

.rt-community-post-menu-details[open] summary {
    border-color: rgba(255, 200, 61, 0.35);
    color: #ffd56b;
}

.rt-community-post-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 60;
    min-width: 13.5rem;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.72rem;
    background: #070d16 !important;
    box-shadow: 0 18px 42px -26px rgba(0, 0, 0, 0.95);
    padding: 0.35rem;
}

.rt-community-post-menu-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #070d16;
}

.rt-community-post-menu-panel form {
    background: #070d16;
}

.rt-community-menu-action {
    display: inline-flex;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    border-radius: 0.52rem;
    background: #070d16;
    padding: 0.5rem 0.6rem;
    color: #dce4ef;
    font-size: 0.82rem;
    font-weight: 780;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
}

.rt-community-menu-action:hover {
    background: rgba(255, 255, 255, 0.055);
    color: #fff0bd;
}

.rt-community-menu-action--danger {
    color: #fecaca;
}

.rt-community-menu-action--danger:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
}

.rt-community-icon-button--static {
    border-color: transparent;
    background: transparent;
}

.rt-community-icon-button:hover {
    border-color: rgba(248, 113, 113, 0.4);
    color: #fecaca;
}

.rt-community-edit {
    border-radius: 0.72rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.42);
    padding: 0.68rem;
}

.rt-community-edit:not([hidden]) {
    display: grid;
    gap: 0.6rem;
}

.rt-community-edit summary {
    color: #aeb8c7;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 760;
}

.rt-community-edit form {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.rt-community-post-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding-top: 0.28rem;
    color: #8e9aad;
    font-size: 0.82rem;
    font-weight: 700;
}

.rt-community-post-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #aeb8c7;
    font-size: 0.82rem;
    font-weight: 720;
}

.rt-community-reaction-count {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.rt-community-comment-count {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 0.5rem;
    color: #aeb8c7;
    padding: 0.2rem 0.35rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.rt-community-comment-count i {
    color: #cbd5e1;
}

.rt-community-comment-count:hover,
.rt-community-comment-count:focus-visible {
    background: rgba(255, 255, 255, 0.045);
    color: #fff0bd;
}

.rt-community-comment-count:hover i,
.rt-community-comment-count:focus-visible i {
    color: #ffc83d;
}

.rt-community-reaction-count i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: #2387ff;
    color: #fff;
    font-size: 0.62rem;
}

.rt-community-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.1rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: #cbd5e1;
    padding: 0.42rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.rt-community-action:hover {
    background: rgba(255, 255, 255, 0.045);
    color: #fff0bd;
}

.rt-community-action.is-active {
    background: rgba(255, 200, 61, 0.09);
    color: #ffd56b;
}

.rt-community-create-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.74);
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.rt-community-create-modal:not(.hidden) {
    display: flex;
}

.rt-community-create-modal-card {
    width: min(720px, 100%);
    max-height: min(94vh, 900px);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    background: #07101b;
    box-shadow: 0 28px 80px -42px rgba(0, 0, 0, 0.98);
}

.rt-community-create-modal-head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: #08111d;
    padding: 1rem 4rem;
}

.rt-community-create-modal-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.35rem;
    font-weight: 880;
}

.rt-community-create-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #151f2c;
    color: #aeb8c7;
    font-size: 1.35rem;
}

.rt-community-create-close:hover {
    background: #1e2b3a;
    color: #f8fafc;
}

.rt-community-create-form {
    display: grid;
    gap: 1rem;
    max-height: calc(min(94vh, 900px) - 4.8rem);
    overflow-y: auto;
    padding: 1.2rem;
    scrollbar-width: none;
}

.rt-community-create-form::-webkit-scrollbar {
    display: none;
}

.rt-community-create-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.rt-community-create-author strong {
    display: block;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 850;
}

.rt-community-create-feed {
    margin-top: 0.35rem;
    width: auto;
    min-width: 11rem;
    min-height: 2.15rem;
    padding-block: 0.36rem;
    font-size: 0.82rem;
}

.rt-community-create-textarea {
    min-height: 13rem;
    resize: vertical;
    border-color: transparent;
    background: #07101b;
    padding: 0;
    color: #f8fafc;
    font-size: 1.55rem;
    font-weight: 650;
    line-height: 1.35;
}

.rt-community-create-textarea:focus {
    border-color: transparent;
    box-shadow: none;
}

.rt-community-create-submit {
    width: 100%;
}

.rt-community-comment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.74);
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.rt-community-comment-modal:not(.hidden) {
    display: flex;
}

.rt-community-comment-modal-card {
    width: min(720px, 100%);
    max-height: min(94vh, 900px);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    background: #07101b;
    box-shadow: 0 28px 80px -42px rgba(0, 0, 0, 0.98);
}

.rt-community-comment-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: #08111d;
    padding: 1rem;
}

.rt-community-comment-modal-head p {
    margin: 0 0 0.2rem;
    color: #ffc83d;
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rt-community-comment-modal-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.08rem;
    font-weight: 860;
}

.rt-community-comment-modal-body {
    display: grid;
    gap: 1rem;
    max-height: calc(min(94vh, 900px) - 5rem);
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: none;
}

.rt-community-comment-modal-body::-webkit-scrollbar {
    display: none;
}

.rt-community-comment-modal-post {
    display: grid;
    gap: 0.75rem;
    border-radius: 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #0a1421;
    padding: 0.9rem;
}

.rt-community-modal-comment-form {
    display: grid;
    gap: 0.5rem;
    border-radius: 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #0a1421;
    padding: 0.7rem;
}

.rt-community-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.rt-community-comments {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding-top: 0.85rem;
}

.rt-community-modal-comments {
    border-top: 0;
    padding-top: 0;
}

.rt-community-no-comments {
    margin: 0;
    border-radius: 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #0a1421;
    padding: 0.85rem;
    color: #8d99ab;
    font-size: 0.88rem;
    font-weight: 700;
}

.rt-community-comment {
    display: grid;
    gap: 0.5rem;
    position: relative;
}

.rt-community-comment > * {
    position: relative;
    z-index: 1;
}

.rt-community-comment--has-replies::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 2.55rem;
    bottom: 1.2rem;
    z-index: 0;
    width: 2px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
}

.rt-community-comment--reply {
    margin-left: 3.1rem;
}

.rt-community-comment--reply::before {
    content: "";
    position: absolute;
    left: calc(-2.05rem + 2px);
    top: 1.04rem;
    z-index: 0;
    width: calc(2.08rem - 2px);
    height: 2px;
    background: rgba(148, 163, 184, 0.2);
    pointer-events: none;
}

.rt-community-comment--reply:last-of-type::after {
    content: "";
    position: absolute;
    left: -2.16rem;
    top: 1.16rem;
    bottom: -0.65rem;
    z-index: -1;
    width: 0.48rem;
    background: #07101b;
    pointer-events: none;
}

.rt-community-comment-main {
    align-items: flex-start;
}

.rt-community-comment-avatar {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 auto;
}

.rt-community-comment-bubble {
    min-width: 0;
    flex: 1 1 auto;
    border: 1px solid rgba(255, 200, 61, 0.1);
    border-radius: 1.05rem 1.05rem 1.05rem 0.38rem;
    background: #0e1928;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    padding: 0.62rem 0.78rem;
}

.rt-community-comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
}

.rt-community-comment-bubble p {
    margin: 0.25rem 0 0;
    color: #dce4ef;
    font-size: 0.86rem;
    line-height: 1.5;
}

.field-input.rt-community-comment-input {
    border: 0;
    border-radius: 1.05rem 1.05rem 1.05rem 0.38rem;
    background: #0e1928;
    box-shadow: none;
    min-height: 4.2rem;
    padding: 0.58rem 0.72rem;
    resize: vertical;
}

.field-input.rt-community-comment-input:focus {
    border-color: transparent;
    background: #0e1928;
    box-shadow: none;
}

.rt-community-comment-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
}

.rt-community-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: 3.1rem;
}

.rt-community-comment-reply-toggle {
    border: 0;
    background: transparent;
    color: #8d99ab;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 850;
    padding: 0.12rem 0;
    transition: color 0.18s ease;
}

.rt-community-comment-reply-toggle:hover,
.rt-community-comment-reply-toggle:focus-visible,
.rt-community-comment-reply-toggle[aria-expanded="true"] {
    color: #ffc83d;
}

.rt-community-reply-form {
    margin-left: 3.1rem;
}

.rt-community-reply-form[hidden] {
    display: none;
}

.rt-community-reply-bubble {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 200, 61, 0.14);
    border-radius: 1.05rem 1.05rem 1.05rem 0.38rem;
    background: #0e1928;
    padding: 0.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rt-community-reply-bubble input.rt-community-reply-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 700;
}

.rt-community-reply-bubble input.rt-community-reply-input:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rt-community-reply-bubble input.rt-community-reply-input::placeholder {
    color: #738096;
}

.rt-community-reply-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.68rem;
    background: linear-gradient(135deg, #ffc83d, #ffb21f);
    color: #111827;
    cursor: pointer;
    box-shadow: 0 0.7rem 1.4rem rgba(255, 184, 36, 0.18);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.rt-community-reply-submit:hover,
.rt-community-reply-submit:focus-visible {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.rt-community-empty h2 {
    margin: 0 0 0.45rem;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 850;
}

.rt-community-empty p {
    margin: 0;
    color: #9aa7ba;
}

.rt-community-profile-hero {
    display: grid;
    gap: 1rem;
}

.rt-community-profile-main {
    align-items: center;
}

.rt-community-profile-avatar {
    width: 6.8rem;
    height: 6.8rem;
    border-radius: 1.4rem;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 200, 61, 0.26);
    background: rgba(15, 23, 42, 0.72);
}

.rt-community-profile-main h1 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0;
}

.rt-community-profile-main p {
    margin: 0.25rem 0 0;
    color: #9aa7ba;
    font-weight: 700;
}

.rt-community-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 1rem;
}

.rt-community-badge-list,
.rt-community-social-list,
.rt-community-release-list,
.rt-community-admin-badge-grid {
    display: grid;
    gap: 0.65rem;
}

.rt-community-badge,
.rt-community-social-list a,
.rt-community-release-row,
.rt-community-admin-badge-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.58);
    padding: 0.72rem 0.8rem;
    color: #dce4ef;
    font-weight: 760;
}

.rt-community-badge i {
    color: #ffd56b;
}

.rt-community-release-cover {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.6rem;
    overflow: hidden;
    flex: 0 0 auto;
}

.rt-community-release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rt-community-release-row strong,
.rt-community-release-row small {
    display: block;
}

.rt-community-release-row small {
    margin-top: 0.12rem;
    color: #8d99ab;
    font-size: 0.78rem;
}

.rt-community-admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
    align-items: start;
}

.rt-community-admin-check,
.rt-community-admin-badge-option {
    cursor: pointer;
}

.rt-community-admin-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #dce4ef;
    font-size: 0.86rem;
    font-weight: 720;
}

.rt-community-admin-feed-row {
    display: grid;
    gap: 0.72rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.5);
    padding: 0.85rem;
}

.rt-community-admin-feed-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(6rem, 8rem);
    gap: 0.6rem;
}

.rt-community-admin-badge-option input {
    flex: 0 0 auto;
}

.rt-community-admin-badge-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.rt-community-admin-badge-option i {
    color: #ffd56b;
}

@media (max-width: 980px) {
    .rt-community-layout,
    .rt-community-profile-grid,
    .rt-community-admin-grid {
        grid-template-columns: 1fr;
    }

    .rt-community-feed-sidebar {
        order: -1;
        position: static;
        margin-top: 0;
    }

    .rt-community-feed-nav {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.1rem 0 0.25rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 200, 61, 0.46) rgba(15, 23, 42, 0.56);
    }

    .rt-community-feed-nav::-webkit-scrollbar {
        height: 0.42rem;
    }

    .rt-community-feed-nav::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.56);
        border-radius: 999px;
    }

    .rt-community-feed-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 200, 61, 0.46);
        border-radius: 999px;
    }

    .rt-community-feed-link {
        flex: 0 0 auto;
        min-width: max-content;
    }

    .rt-community-feed-link:hover,
    .rt-community-feed-link.is-active {
        transform: translateY(-1px);
    }

    .rt-community-feed-link.is-active {
        box-shadow: inset 0 -2px 0 0 rgba(255, 200, 61, 0.9) !important;
    }
}

@media (max-width: 640px) {
    .rt-community-feed-sidebar,
    .rt-community-composer,
    .rt-community-post {
        padding: 0.85rem;
    }

    .rt-community-feed-link {
        min-height: 2.35rem;
        padding: 0.52rem 0.7rem;
    }

    .rt-community-create-modal,
    .rt-community-comment-modal {
        align-items: flex-end;
        padding: 0.5rem;
    }

    .rt-community-create-modal-card,
    .rt-community-comment-modal-card {
        max-height: calc(100dvh - 1rem);
        border-radius: 0.9rem;
    }

    .rt-community-create-form {
        max-height: calc(100dvh - 5.8rem);
    }

    .rt-community-comment-modal-body {
        max-height: calc(100dvh - 6rem);
    }

    .rt-community-create-modal-head {
        padding-inline: 3.6rem;
    }

    .rt-community-create-textarea {
        min-height: 10rem;
        font-size: 1.25rem;
    }

    .rt-community-comment-form,
    .rt-community-admin-feed-top {
        grid-template-columns: 1fr;
    }

    .rt-community-comment--reply,
    .rt-community-comment-actions,
    .rt-community-reply-form {
        margin-left: 1.25rem;
    }

    .rt-community-comment--reply::before {
        left: calc(-0.2rem + 2px);
        width: calc(1.25rem - 2px);
    }

    .rt-community-comment--reply:last-of-type::after {
        left: -0.31rem;
    }

    .rt-community-profile-main {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Dashboard redesign */
.rt-dashboard {
    --rt-dashboard-grid-gap: 0.95rem;
    color: #f6f7fb;
    min-height: calc(100vh - 3rem);
    margin: -1.5rem -1.25rem -1.5rem;
    padding: 1.5rem 1.25rem;
    position: relative;
    background:
        radial-gradient(circle at 28% 12%, rgba(255, 200, 61, 0.12) 0%, transparent 26%),
        radial-gradient(circle at 78% 25%, rgba(56, 209, 181, 0.08) 0%, transparent 25%),
        linear-gradient(135deg, #070b10 0%, #0c1118 45%, #080a0f 100%);
}

.rt-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.rt-dashboard-header h1 {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.15;
    font-weight: 760;
}

.rt-dashboard-header p {
    margin: 0.32rem 0 0;
    color: #9aa6b6;
    font-size: 0.95rem;
}

.rt-dashboard-top-grid,
.rt-dashboard-main-grid {
    display: grid;
    gap: var(--rt-dashboard-grid-gap);
}

.rt-dashboard-top-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
}

.rt-dashboard-top-grid > .rt-card {
    min-width: 0;
}

.rt-card--release,
.rt-card--year,
.rt-card--strategy {
    grid-column: span 4;
}

.rt-dashboard-main-grid {
    margin-top: var(--rt-dashboard-grid-gap);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
}

.rt-dashboard-main-column {
    grid-column: span 8;
}

.rt-dashboard-side-column {
    grid-column: span 4;
}

.rt-dashboard-main-column,
.rt-dashboard-side-column {
    display: grid;
    gap: var(--rt-dashboard-grid-gap);
    min-width: 0;
}

.rt-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.rt-card::after {
    content: "";
    pointer-events: none;
    position: absolute;
    right: -7rem;
    bottom: -4.8rem;
    width: 20rem;
    height: 12rem;
    opacity: 0.42;
    background:
        repeating-radial-gradient(ellipse at center, rgba(255, 200, 61, 0.26) 0 1px, transparent 1px 7px);
    transform: rotate(-10deg);
}

.rt-card > * {
    position: relative;
    z-index: 1;
}

.rt-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rt-card-heading h2 {
    margin: 0;
    color: #ffc83d;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rt-card-heading h2 i {
    margin-right: 0.45rem;
}

.rt-card-heading a,
.rt-card-heading span {
    color: #c7d0dc;
    font-size: 0.78rem;
    text-decoration: none;
}

.rt-card-heading a:hover,
.rt-text-link:hover {
    color: #ffc83d;
}

.rt-next-release {
    display: grid;
    grid-template-columns: minmax(9.5rem, 12rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.rt-next-release-cover {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.rt-next-release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rt-next-release-body h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.24rem;
    line-height: 1.15;
    font-weight: 760;
}

.rt-soft-badge {
    margin-top: 0.52rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    font-size: 0.74rem;
    font-weight: 720;
}

.rt-soft-badge--green {
    background: rgba(52, 217, 134, 0.14);
    color: #9cf0c3;
    border: 1px solid rgba(52, 217, 134, 0.28);
}

.rt-next-release-label,
.rt-next-release-date,
.rt-muted {
    color: #a7b2c2;
    font-size: 0.82rem;
}

.rt-next-release-label {
    margin: 1rem 0 0.35rem;
}

.rt-next-release-date {
    margin: 0.82rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.rt-countdown {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.rt-countdown strong {
    color: #ffc83d;
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 800;
    min-width: 2.35rem;
}

.app-mobile-menu-trigger-wrap {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 0.875rem);
    right: calc(env(safe-area-inset-right) + 0.875rem);
    z-index: 35;
}

.rt-countdown strong + strong {
    border-left: 1px solid rgba(148, 163, 184, 0.22);
    padding-left: 0.72rem;
}

.rt-countdown-value {
    display: block;
    color: #ffc83d;
}

.rt-countdown-label {
    display: block;
    margin-top: 0.2rem;
    color: #9aa6b6;
    font-size: 0.62rem;
    text-transform: uppercase;
}

.rt-primary-action {
    margin-top: 1rem;
    min-height: 2.4rem;
    border-radius: 9px;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.58rem 1rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.rt-primary-action--full {
    width: 100%;
}

.rt-primary-action:hover {
    color: #080808;
    filter: brightness(1.05);
}

.rt-empty-card,
.rt-empty-line {
    color: #a8b3c2;
    font-size: 0.88rem;
}

.rt-year-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.rt-year-grid > div + div {
    border-left: 1px solid rgba(148, 163, 184, 0.16);
    padding-left: 1rem;
}

.rt-year-label {
    margin: 0;
    color: #f3f6fa;
    font-size: 1rem;
    font-weight: 760;
}

.rt-year-label span {
    display: block;
    color: #8e9aaa;
    font-size: 0.78rem;
    font-weight: 500;
}

.rt-year-count {
    margin: 0.9rem 0 0.24rem;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 820;
}

.rt-year-count span {
    color: #a6b1bf;
    font-size: 1rem;
}

.rt-year-count--yellow {
    color: #ffc83d;
}

.rt-year-count--blue {
    color: #5b9dff;
}

.rt-progress {
    margin-top: 0.7rem;
    height: 0.38rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(89, 101, 119, 0.55);
}

.rt-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffcf4b 0%, #ffb31a 100%);
}

.rt-progress--green span {
    background: linear-gradient(90deg, #42df8f 0%, #31c97c 100%);
}

.rt-warning-line {
    margin: 0.65rem 0 0;
    color: #ffc83d;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 650;
}

.rt-outline-badge {
    margin-top: 1.15rem;
    display: inline-flex;
    border-radius: 8px;
    border: 1px solid rgba(91, 157, 255, 0.62);
    color: #82b7ff;
    padding: 0.42rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 720;
}

.rt-text-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffc83d;
    font-size: 0.78rem;
    font-weight: 720;
    text-decoration: none;
}

.rt-strategy-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.rt-strategy-list {
    display: grid;
    gap: 0.85rem;
}

.rt-strategy-list p {
    margin: 0;
    color: #aeb8c7;
    font-size: 0.78rem;
}

.rt-strategy-list strong {
    display: block;
    margin-top: 0.18rem;
    color: #70b4ff;
    font-size: 1rem;
    font-weight: 760;
}

.rt-strategy-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
}

.rt-strategy-item > span {
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-strategy-item--green > span {
    background: rgba(52, 217, 134, 0.17);
    color: #66e7a8;
}

.rt-strategy-item--green strong {
    color: #74edaf;
}

.rt-strategy-item--purple > span {
    background: rgba(171, 106, 255, 0.18);
    color: #bd8bff;
}

.rt-strategy-item--purple strong {
    color: #c998ff;
}

.rt-ring {
    --rt-ring-progress: 0%;
    width: 8rem;
    aspect-ratio: 1;
    border-radius: 999px;
    background: conic-gradient(#38d1b5 0 var(--rt-ring-progress), #1c2430 var(--rt-ring-progress) 100%);
    display: grid;
    place-items: center;
}

.rt-ring > div {
    width: 6.45rem;
    aspect-ratio: 1;
    border-radius: inherit;
    background: #111820;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.rt-ring strong {
    color: #f8fafc;
    font-size: 1.42rem;
    line-height: 1;
}

.rt-ring strong span,
.rt-ring small {
    color: #9aa6b6;
}

.rt-ring small,
.rt-ring b {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.72rem;
}

.rt-ring b {
    color: #f8fafc;
}

.rt-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 12.25rem));
    gap: 0.78rem;
    justify-content: start;
}

.rt-release-tile,
.rt-create-tile {
    min-height: 11.4rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(10, 15, 22, 0.68);
    overflow: hidden;
    color: #f3f6fb;
    text-decoration: none;
}

.rt-release-tile {
    display: grid;
}

.rt-release-tile-media {
    position: relative;
    min-height: 5.75rem;
    background: #111827;
}

.rt-release-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.rt-release-tile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 12, 0.05) 0%, rgba(8, 12, 18, 0.78) 100%);
}

.rt-release-tile-media span {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.42);
    background: rgba(20, 18, 12, 0.52);
    color: #ffd56b;
    padding: 0.22rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.rt-pipeline-grid .release-tile-body {
    padding: 0.62rem;
}

.rt-pipeline-grid .release-tile-title {
    font-size: 0.84rem;
}

.rt-pipeline-grid .release-tile-date-line,
.rt-pipeline-grid .release-tile-progress-head {
    font-size: 0.7rem;
}

.rt-release-tile-body h3,
.rt-project-top strong,
.rt-next-step-body h3,
.rt-overdue-row strong,
.rt-insight strong {
    margin: 0;
    color: #f6f8fc;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 760;
}

.rt-release-tile-body p,
.rt-project-main p,
.rt-next-step-body p,
.rt-overdue-row p,
.rt-insight p {
    margin: 0.35rem 0 0;
    color: #aeb8c7;
    font-size: 0.76rem;
    line-height: 1.35;
}

.rt-next-step-items {
    margin: 0.7rem 0 0;
    padding-left: 1rem;
    color: #cbd4e1;
    font-size: 0.74rem;
    line-height: 1.45;
}

.rt-next-step-items li + li {
    margin-top: 0.28rem;
}

.rt-release-tile-progress,
.rt-project-progress {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    color: #cfd7e2;
    font-size: 0.74rem;
}

.rt-create-tile {
    border-style: dashed;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.55rem;
    color: #dce4ef;
}

.rt-create-tile span {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.36);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffc83d;
}

.rt-project-list {
    display: grid;
    gap: 0.7rem;
}

.rt-project-row {
    --project-tile-tone: #c27aff;
    --project-tile-tone-rgb: 194, 122, 255;
    --project-tile-tone-soft: rgba(var(--project-tile-tone-rgb), 0.16);
    --project-tile-tone-border: rgba(var(--project-tile-tone-rgb), 0.56);
    --project-tile-tone-glow: rgba(var(--project-tile-tone-rgb), 0.22);
    --project-tile-card-bg: #10141a;
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    border-radius: 12px;
    border: 1px solid var(--project-tile-tone-border);
    background:
        linear-gradient(180deg, rgba(var(--project-tile-tone-rgb), 0.12) 0%, transparent 42%),
        var(--project-tile-card-bg);
    box-shadow: 0 28px 46px -34px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(var(--project-tile-tone-rgb), 0.11);
    padding: 0.72rem;
    color: #f8fafc;
    text-decoration: none;
}

.rt-project-row:hover,
.rt-project-row:focus-visible {
    border-color: rgba(var(--project-tile-tone-rgb), 0.82);
    box-shadow: 0 28px 54px -34px rgba(0, 0, 0, 0.95), 0 0 34px -24px var(--project-tile-tone), inset 0 0 0 1px rgba(var(--project-tile-tone-rgb), 0.18);
}

.rt-project-row--planned {
    --project-tile-tone: #c27aff;
    --project-tile-tone-rgb: 194, 122, 255;
}

.rt-project-row--active {
    --project-tile-tone: #ff9b22;
    --project-tile-tone-rgb: 255, 155, 34;
}

.rt-project-row--waiting {
    --project-tile-tone: #ff5f76;
    --project-tile-tone-rgb: 255, 95, 118;
}

.rt-project-row--done {
    --project-tile-tone: #34d986;
    --project-tile-tone-rgb: 52, 217, 134;
}

.rt-project-thumb {
    width: 100%;
    min-height: 3.7rem;
    aspect-ratio: 1.55 / 1;
    border-radius: 9px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 26% 22%, rgba(var(--project-tile-tone-rgb), 0.9) 0%, rgba(var(--project-tile-tone-rgb), 0.24) 28%, transparent 55%),
        radial-gradient(circle at 78% 18%, rgba(var(--project-tile-tone-rgb), 0.2) 0%, transparent 34%),
        linear-gradient(145deg, rgba(var(--project-tile-tone-rgb), 0.48) 0%, rgba(var(--project-tile-tone-rgb), 0.1) 48%, #0c1118 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--project-tile-tone-rgb), 0.18);
}

.rt-project-thumb::before {
    content: '';
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: 9%;
    height: 42%;
    background:
        radial-gradient(70% 90% at 20% 100%, rgba(var(--project-tile-tone-rgb), 0.2) 0%, transparent 64%),
        radial-gradient(72% 82% at 88% 100%, rgba(var(--project-tile-tone-rgb), 0.3) 0%, transparent 62%);
    opacity: 0.82;
    transform: skewY(-7deg);
}

.rt-project-thumb-mark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.72rem;
    border: 1px solid rgba(var(--project-tile-tone-rgb), 0.68);
    background: rgba(12, 16, 22, 0.55);
    color: color-mix(in srgb, var(--project-tile-tone) 72%, white);
    text-shadow: 0 0 18px rgba(var(--project-tile-tone-rgb), 0.28);
    box-shadow: 0 18px 34px -24px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.rt-project-thumb-mark i {
    font-size: 1.25rem;
    line-height: 1;
}

.rt-project-main {
    min-width: 0;
}

.rt-project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.rt-project-top strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-project-top span {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(var(--project-tile-tone-rgb), 0.13);
    border: 1px solid rgba(var(--project-tile-tone-rgb), 0.28);
    color: color-mix(in srgb, var(--project-tile-tone) 78%, white);
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 760;
}

.rt-project-progress {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
}

.rt-project-progress .rt-progress > span {
    background: linear-gradient(90deg, color-mix(in srgb, var(--project-tile-tone) 68%, white) 0%, var(--project-tile-tone) 100%);
    box-shadow: 0 0 16px rgba(var(--project-tile-tone-rgb), 0.32);
}

.rt-next-step-card .rt-card-heading span {
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.4);
    color: #ffc83d;
    padding: 0.22rem 0.5rem;
    font-weight: 760;
    text-transform: uppercase;
}

.rt-next-step-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.rt-next-step-body > span {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 200, 61, 0.18);
    color: #ffc83d;
}

.rt-insight-list,
.rt-overdue-list {
    display: grid;
    gap: 0.4rem;
}

.rt-insight,
.rt-overdue-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.68rem;
    align-items: center;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(9, 14, 21, 0.45);
    padding: 0.62rem;
    text-decoration: none;
}

.rt-insight > span {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-insight--warning > span {
    background: rgba(255, 200, 61, 0.16);
    color: #ffc83d;
}

.rt-insight--danger > span,
.rt-overdue-row > span {
    background: rgba(255, 82, 102, 0.16);
    color: #ff6576;
}

.rt-insight--success > span {
    background: rgba(52, 217, 134, 0.16);
    color: #67e8a8;
}

.rt-insight--info > span {
    background: rgba(91, 157, 255, 0.16);
    color: #73adff;
}

.rt-insight > i {
    color: #7f8b9b;
    font-size: 0.72rem;
}

.rt-danger-count {
    min-width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: #ff5266;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.rt-overdue-row > span {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255, 82, 102, 0.5);
}

.rt-overdue-row em {
    color: #ff6576;
    font-size: 0.76rem;
    line-height: 1.1;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.rt-overdue-row em small {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.68rem;
}

.rt-calendar-page {
    display: grid;
    gap: 0.95rem;
}

.rt-calendar-header {
    margin-bottom: 0;
}

.rt-calendar-kicker {
    margin: 0 0 0.42rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffc83d;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rt-calendar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rt-calendar-year-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 2.45rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(12, 17, 24, 0.72);
    padding: 0.24rem;
}

.rt-calendar-year-nav a,
.rt-calendar-year-nav span {
    min-width: 2.1rem;
    min-height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dbe3ee;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
}

.rt-calendar-year-nav a:hover {
    background: rgba(255, 200, 61, 0.12);
    color: #ffc83d;
}

.rt-calendar-year-nav span {
    min-width: 4rem;
    background: linear-gradient(135deg, rgba(255, 200, 61, 0.2), rgba(255, 179, 26, 0.08));
    color: #ffc83d;
}

.rt-calendar-new-release {
    margin-top: 0;
}

.rt-calendar-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.rt-calendar-summary-card {
    min-height: 5.4rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem;
}

.rt-calendar-summary-card > span {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-calendar-summary-card strong {
    display: block;
    color: #f8fafc;
    font-size: 1.28rem;
    line-height: 1.05;
    font-weight: 820;
}

.rt-calendar-summary-card p {
    margin: 0.28rem 0 0;
    color: #9aa6b6;
    font-size: 0.78rem;
}

.rt-calendar-summary-card--wide strong {
    font-size: 0.92rem;
}

.rt-calendar-filter-card {
    padding: 1rem;
}

.rt-calendar-filter-form {
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) minmax(13rem, 1fr) auto;
    align-items: end;
    gap: 0.9rem;
}

.rt-calendar-filter-card .field-label {
    color: #aeb8c7;
}

.rt-calendar-filter-card .field-select {
    border-color: rgba(148, 163, 184, 0.24);
    background-color: rgba(7, 11, 16, 0.86);
    color: #f8fafc;
}

.rt-calendar-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.rt-calendar-secondary-action {
    min-height: 2.45rem;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(17, 24, 35, 0.82);
    color: #e4ebf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.78rem;
    font-size: 0.8rem;
    font-weight: 760;
    text-decoration: none;
}

.rt-calendar-secondary-action:hover {
    border-color: rgba(255, 200, 61, 0.42);
    color: #ffc83d;
}

.rt-calendar-month-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.rt-calendar-month-card {
    padding: 0;
    overflow: hidden;
}

.rt-calendar-month-card::after {
    width: 14rem;
    height: 8rem;
    right: -6rem;
    bottom: -4rem;
    opacity: 0.2;
}

.rt-calendar-month-head {
    min-height: 4.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem 0.82rem;
}

.rt-calendar-month-head h2 {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.02rem;
    line-height: 1.15;
    font-weight: 760;
}

.rt-calendar-month-head p {
    margin: 0.25rem 0 0;
    color: #9aa6b6;
    font-size: 0.72rem;
}

.rt-calendar-month-releases {
    margin-top: 0.35rem;
    display: grid;
    gap: 0.22rem;
}

.rt-calendar-month-releases a,
.rt-calendar-month-releases small {
    min-width: 0;
    color: #cfd8e6;
    display: flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-decoration: none;
}

.rt-calendar-month-releases a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-calendar-month-releases a:hover {
    color: #ffc83d;
}

.rt-calendar-month-releases span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.rt-calendar-month-releases small {
    color: #8e9aaa;
}

.rt-calendar-month-head > span {
    min-width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: rgba(255, 200, 61, 0.14);
    color: #ffc83d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 820;
}

.rt-calendar-weekdays,
.rt-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.rt-calendar-weekdays {
    padding: 0.7rem 0.72rem 0.25rem;
    color: #758296;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 820;
    text-transform: uppercase;
}

.rt-calendar-days {
    row-gap: 0.18rem;
    padding: 0 0.72rem 0.9rem;
}

.rt-calendar-day {
    position: relative;
    min-height: 2.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rt-calendar-day--link {
    cursor: pointer;
}

.rt-calendar-day--link:hover .rt-calendar-day-number {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px -14px rgba(255, 200, 61, 0.8);
}

.rt-calendar-window-marker {
    position: absolute;
    inset: 0.38rem 0;
    opacity: 0.9;
}

.rt-calendar-window-marker--start {
    border-radius: 999px 0 0 999px;
}

.rt-calendar-window-marker--end {
    border-radius: 0 999px 999px 0;
}

.rt-calendar-window-marker--start.rt-calendar-window-marker--end {
    border-radius: 999px;
}

.rt-calendar-day-number {
    position: relative;
    z-index: 1;
    width: 1.74rem;
    height: 1.74rem;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c9d3e1;
    font-size: 0.76rem;
    font-weight: 720;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.rt-calendar-day-number--muted {
    color: #4f5b6a;
}

.rt-calendar-day-number--window,
.rt-calendar-day-number--draft-window {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f6fb;
}

.rt-calendar-day-number--draft-window {
    color: #b7c2d0;
}

.rt-calendar-day-number--release {
    color: #ffffff;
    box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.9);
}

.rt-calendar-day-number--production-start {
    color: #ffffff;
    box-shadow: 0 10px 20px -14px rgba(255, 95, 118, 0.9), 0 0 16px rgba(255, 95, 118, 0.34);
}

.rt-calendar-day-number--draft-release {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
}

.rt-calendar-day-number--today {
    outline: 2px solid rgba(255, 200, 61, 0.78);
    outline-offset: 2px;
}

.rt-projects-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-projects-header {
    margin-bottom: 0;
}

.rt-projects-header-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.rt-projects-header-meta span {
    min-height: 2.45rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(12, 17, 24, 0.72);
    color: #dbe3ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 780;
}

.rt-projects-header-meta i {
    color: #ffc83d;
}

.rt-projects-grid {
    gap: 0.95rem;
    align-items: start;
    align-content: start;
}

.rt-projects-page .project-tile-card {
    border: 0 !important;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 28px 46px -34px rgba(0, 0, 0, 0.9);
}

.rt-projects-page .project-tile-card:hover,
.rt-projects-page .project-tile-card:focus-within {
    border: 0 !important;
    box-shadow: 0 28px 54px -34px rgba(0, 0, 0, 0.95), 0 0 34px -24px var(--project-tile-tone);
}

.rt-project-tile-type {
    margin: 0 0 0.25rem;
    overflow: hidden;
    color: #8e9aaa;
    font-size: 0.72rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-projects-message {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.82rem;
}

.rt-projects-message > span {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-projects-message p {
    margin: 0;
    color: #f8fafc;
    font-weight: 800;
}

.rt-projects-message small {
    display: block;
    margin-top: 0.26rem;
    color: #a7b2c2;
    font-size: 0.82rem;
    line-height: 1.45;
}

.rt-projects-message--warning > span {
    background: rgba(255, 200, 61, 0.16);
}

.rt-admin-users-page .dashboard-banner {
    margin-bottom: 0.95rem;
}

.rt-admin-users-create-action {
    margin-top: 0;
    white-space: nowrap;
}

.rt-admin-users-card {
    padding: 0;
}

.rt-admin-users-card-heading {
    margin-bottom: 0;
    padding: 1.08rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.rt-admin-users-card-heading > div {
    min-width: 0;
}

.rt-admin-users-card-heading p {
    margin: 0.32rem 0 0;
    color: #9aa6b6;
    font-size: 0.82rem;
    font-weight: 650;
}

.rt-admin-users-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: min(100%, 29rem);
}

.rt-admin-users-search-field {
    position: relative;
    flex: 1 1 20rem;
    min-width: 13rem;
}

.rt-admin-users-search-field i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8b9d;
    font-size: 0.88rem;
}

.rt-admin-users-search-field input {
    width: 100%;
    min-height: 2.45rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(8, 12, 18, 0.78);
    color: #f4f7fb;
    padding: 0.6rem 0.85rem 0.6rem 2.35rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rt-admin-users-search-field input::placeholder {
    color: #7f8b9d;
}

.rt-admin-users-search-field input:focus {
    border-color: rgba(255, 200, 61, 0.66);
    background: rgba(10, 15, 22, 0.94);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12);
}

.rt-admin-users-search-submit {
    width: 2.45rem;
    min-width: 2.45rem;
    height: 2.45rem;
    min-height: 2.45rem;
    margin-top: 0;
    padding: 0;
    border-radius: 10px;
}

.rt-admin-users-table-wrap {
    overflow-x: auto;
}

.rt-admin-users-table {
    width: 100%;
    min-width: 58rem;
    border-collapse: collapse;
    color: #dce4ef;
    font-size: 0.88rem;
}

.rt-admin-users-table th,
.rt-admin-users-table td {
    padding: 0.88rem 1rem;
    text-align: left;
    vertical-align: middle;
}

.rt-admin-users-table thead {
    background: rgba(8, 12, 18, 0.7);
}

.rt-admin-users-table th {
    color: #8793a5;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rt-admin-users-table tbody tr {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    transition: background 0.2s ease;
}

.rt-admin-users-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.rt-admin-users-table td {
    color: #d2dbe7;
}

.rt-admin-users-name {
    margin: 0;
    color: #f7fafc;
    font-weight: 760;
    line-height: 1.18;
}

.rt-admin-users-real-name,
.rt-admin-users-email {
    margin: 0.22rem 0 0;
    font-size: 0.78rem;
    line-height: 1.25;
}

.rt-admin-users-real-name {
    color: #b5bfcd;
}

.rt-admin-users-email {
    color: #8995a6;
}

.rt-admin-users-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.42rem;
}

.rt-admin-users-actions form {
    margin: 0;
}

.rt-admin-users-icon-action {
    width: 2.18rem;
    height: 2.18rem;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(19, 25, 34, 0.92);
    color: #dbe4ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rt-admin-users-icon-action:hover {
    border-color: rgba(255, 200, 61, 0.62);
    background: rgba(255, 200, 61, 0.1);
    color: #ffd56b;
    transform: translateY(-1px);
}

.rt-admin-users-icon-action--primary {
    border-color: rgba(255, 200, 61, 0.44);
    background: rgba(255, 200, 61, 0.16);
    color: #ffd56b;
}

.rt-admin-users-icon-action--danger {
    border-color: rgba(231, 75, 92, 0.42);
    background: rgba(62, 18, 26, 0.7);
    color: #ff8da0;
}

.rt-admin-users-icon-action--danger:hover {
    border-color: rgba(255, 117, 143, 0.72);
    background: rgba(88, 24, 36, 0.82);
    color: #ffb3c0;
}

.rt-admin-users-empty {
    padding: 2rem 1rem;
    color: #9aa6b6;
    text-align: center;
}

.rt-admin-users-pagination {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding: 1rem 1.1rem;
    color: #dce4ef;
}

.rt-admin-users-pagination nav,
.rt-admin-users-pagination p,
.rt-admin-users-pagination span,
.rt-admin-users-pagination a {
    color: inherit;
}

.rt-admin-users-pagination a,
.rt-admin-users-pagination span[aria-current] span {
    border-color: rgba(148, 163, 184, 0.24) !important;
    background: rgba(19, 25, 34, 0.92) !important;
    color: #dce4ef !important;
}

.rt-admin-users-pagination a:hover {
    border-color: rgba(255, 200, 61, 0.62) !important;
    color: #ffd56b !important;
}

.rt-admin-user-edit-page .dashboard-banner {
    margin-bottom: 0.95rem;
}

.rt-admin-user-edit-back {
    flex: 0 0 auto;
}

.rt-admin-user-edit-form {
    display: grid;
    gap: 0.95rem;
}

.rt-admin-user-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
    align-items: start;
}

.rt-admin-user-edit-wide {
    grid-column: 1 / -1;
}

.rt-admin-user-edit-page .rt-card-heading p {
    margin: 0.32rem 0 0;
    color: #9aa6b6;
    font-size: 0.82rem;
    font-weight: 550;
    line-height: 1.4;
}

.rt-admin-user-edit-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rt-admin-user-edit-fields--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rt-admin-user-edit-page .field-label {
    color: #f8fafc;
}

.rt-admin-user-edit-page .field-input,
.rt-admin-user-edit-page .field-select,
.rt-admin-user-edit-page input[type='text'],
.rt-admin-user-edit-page input[type='email'],
.rt-admin-user-edit-page input[type='number'],
.rt-admin-user-edit-page select {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-admin-user-edit-page .field-input::placeholder {
    color: #7f8b9d;
}

.rt-admin-user-edit-page .field-input:focus,
.rt-admin-user-edit-page .field-select:focus,
.rt-admin-user-edit-page input:focus,
.rt-admin-user-edit-page select:focus {
    border-color: rgba(255, 200, 61, 0.66);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12);
}

.rt-admin-user-edit-page .ui-help {
    color: #aeb8c7;
}

.rt-feature-toggle-list {
    display: grid;
    gap: 0.58rem;
}

.rt-feature-toggle-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(11, 16, 23, 0.58);
    padding: 0.78rem 0.86rem;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.rt-feature-toggle-row:hover {
    border-color: rgba(255, 200, 61, 0.34);
    background: rgba(17, 23, 32, 0.72);
}

.rt-feature-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rt-feature-toggle-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.rt-feature-toggle-copy > span {
    color: #f8fafc;
    font-size: 0.94rem;
    font-weight: 760;
    line-height: 1.2;
}

.rt-feature-toggle-copy small {
    color: #9aa6b6;
    font-size: 0.78rem;
    font-weight: 560;
    line-height: 1.35;
}

.rt-feature-toggle-switch {
    position: relative;
    width: 3.1rem;
    height: 1.75rem;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(51, 65, 85, 0.72);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.rt-feature-toggle-switch::after {
    content: "";
    position: absolute;
    top: 0.18rem;
    left: 0.2rem;
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
    background: #f8fafc;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.36);
    transition: transform 0.2s ease;
}

.rt-feature-toggle-input:checked ~ .rt-feature-toggle-switch {
    border-color: rgba(255, 200, 61, 0.62);
    background: linear-gradient(135deg, #ffc83d, #f59e0b);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rt-feature-toggle-input:checked ~ .rt-feature-toggle-switch::after {
    transform: translateX(1.3rem);
    background: #111827;
}

.rt-feature-toggle-input:focus-visible ~ .rt-feature-toggle-switch {
    outline: 2px solid rgba(255, 200, 61, 0.72);
    outline-offset: 3px;
}

.rt-academy-course-access {
    margin-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding-top: 1rem;
}

.rt-academy-course-access-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.72rem;
}

.rt-academy-course-access-head h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 0.96rem;
    font-weight: 790;
    line-height: 1.2;
}

.rt-academy-course-access-head p {
    margin: 0.24rem 0 0;
    color: #9aa6b6;
    font-size: 0.78rem;
    font-weight: 560;
    line-height: 1.35;
}

.rt-academy-course-access-head span {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.58);
    color: #aeb8c7;
    padding: 0.28rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 820;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rt-academy-course-access.is-enabled .rt-academy-course-access-head span {
    border-color: rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

.rt-academy-course-access.is-disabled {
    opacity: 0.72;
}

.rt-academy-course-list {
    display: grid;
    gap: 0.5rem;
}

.rt-academy-course-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.46);
    padding: 0.72rem 0.78rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.rt-academy-course-row:hover {
    border-color: rgba(255, 200, 61, 0.28);
    background: rgba(20, 28, 40, 0.68);
}

.rt-academy-course-row.is-disabled {
    cursor: not-allowed;
}

.rt-academy-course-checkbox {
    margin-top: 0.18rem;
    width: 1rem;
    height: 1rem;
    border-radius: 0.28rem;
    border-color: rgba(148, 163, 184, 0.34);
    background: rgba(2, 6, 23, 0.72);
    color: #ffc83d;
}

.rt-academy-course-checkbox:disabled {
    opacity: 0.45;
}

.rt-academy-course-copy {
    display: grid;
    gap: 0.16rem;
    min-width: 0;
}

.rt-academy-course-copy > span {
    color: #f8fafc;
    font-size: 0.88rem;
    font-weight: 730;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.rt-academy-course-copy small {
    color: #9aa6b6;
    font-size: 0.75rem;
    font-weight: 540;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.rt-academy-course-row.is-disabled .rt-academy-course-copy > span,
.rt-academy-course-row.is-disabled .rt-academy-course-copy small {
    color: #7f8b9d;
}

.rt-admin-user-edit-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(91, 157, 255, 0.26);
    background: rgba(91, 157, 255, 0.1);
    color: #bfd8ff;
    padding: 0.82rem 0.9rem;
    font-size: 0.86rem;
    line-height: 1.45;
}

.rt-admin-user-edit-note i {
    margin-top: 0.18rem;
    color: #70b4ff;
}

.rt-admin-user-edit-meta dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.rt-admin-user-edit-meta dl > div {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(11, 16, 23, 0.58);
    padding: 0.78rem 0.85rem;
    min-width: 0;
}

.rt-admin-user-edit-meta dt {
    color: #8793a5;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rt-admin-user-edit-meta dd {
    margin: 0.36rem 0 0;
    color: #f8fafc;
    font-size: 0.94rem;
    font-weight: 720;
    overflow-wrap: anywhere;
}

.rt-admin-user-edit-submit,
.rt-admin-user-edit-danger-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.rt-admin-user-edit-submit {
    justify-content: flex-end;
    margin-bottom: 0.9rem;
}

.rt-admin-user-edit-submit .rt-primary-action {
    margin-top: 0;
    border: 0;
}

.rt-admin-user-edit-danger-actions {
    justify-content: flex-end;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding-top: 0.95rem;
}

.rt-admin-user-edit-danger-actions form {
    margin: 0;
}

.rt-admin-setup-page .dashboard-banner {
    margin-bottom: 0.95rem;
}

.rt-admin-setup-form {
    display: grid;
    gap: 0.95rem;
}

.rt-admin-setup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
    align-items: start;
}

.rt-admin-setup-wide,
.rt-admin-setup-span {
    grid-column: 1 / -1;
}

.rt-admin-setup-page .rt-card-heading p {
    margin: 0.32rem 0 0;
    color: #9aa6b6;
    font-size: 0.82rem;
    font-weight: 550;
    line-height: 1.4;
}

.rt-admin-setup-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rt-admin-setup-fields--single {
    grid-template-columns: 1fr;
}

.rt-admin-setup-page .field-label {
    color: #f8fafc;
}

.rt-admin-setup-page .field-input,
.rt-admin-setup-page .field-select,
.rt-admin-setup-page .field-textarea,
.rt-admin-setup-page input[type='text'],
.rt-admin-setup-page input[type='email'],
.rt-admin-setup-page input[type='url'],
.rt-admin-setup-page input[type='file'],
.rt-admin-setup-page input[type='password'],
.rt-admin-setup-page textarea,
.rt-admin-setup-page select {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-admin-setup-page .field-input::placeholder,
.rt-admin-setup-page textarea::placeholder {
    color: #7f8b9d;
}

.rt-admin-setup-page .field-input:focus,
.rt-admin-setup-page .field-select:focus,
.rt-admin-setup-page .field-textarea:focus,
.rt-admin-setup-page input:focus,
.rt-admin-setup-page textarea:focus,
.rt-admin-setup-page select:focus {
    border-color: rgba(255, 200, 61, 0.66);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12);
}

.rt-admin-setup-page input[type='file']::file-selector-button {
    border: 0;
    border-radius: 8px;
    background: rgba(255, 200, 61, 0.14);
    color: #ffc83d;
    cursor: pointer;
    font-weight: 760;
    margin-right: 0.7rem;
    padding: 0.45rem 0.7rem;
}

.rt-admin-setup-page .ui-help {
    margin: 0.35rem 0 0;
    color: #aeb8c7;
}

.rt-admin-setup-page .ui-error {
    margin: 0.35rem 0 0;
}

.rt-admin-setup-current-media {
    min-width: 0;
}

.rt-admin-setup-preview {
    display: block;
    margin-top: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.92);
    object-fit: contain;
}

.rt-admin-setup-preview--logo {
    width: min(100%, 14rem);
    height: 4rem;
    background: rgba(8, 12, 18, 0.92);
    padding: 0.7rem;
}

.rt-admin-setup-preview--favicon {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.45rem;
}

.rt-admin-setup-check-list {
    display: grid;
    gap: 0.55rem;
}

.rt-admin-setup-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.65rem;
    color: #dbe4ef;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.35;
}

.rt-admin-setup-check input[type='checkbox'] {
    width: 1rem;
    height: 1rem;
    accent-color: #ffc83d;
}

.rt-admin-setup-submit {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.9rem;
}

.rt-admin-setup-submit .rt-primary-action {
    margin-top: 0;
    border: 0;
}

.rt-admin-strategy-header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.rt-admin-strategy-page {
    display: grid;
    align-content: start;
    gap: 0.95rem;
}

.rt-admin-strategy-card {
    margin: 0;
}

.rt-admin-strategy-metrics {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.rt-admin-analytics-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.rt-admin-analytics-grid > div,
.rt-admin-strategy-metrics > div,
.rt-admin-strategy-answer {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(11, 16, 23, 0.58);
    padding: 0.82rem 0.9rem;
    min-width: 0;
}

.rt-admin-analytics-grid dt,
.rt-admin-strategy-metrics dt,
.rt-admin-strategy-answer p,
.rt-admin-strategy-answer small {
    color: #8793a5;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rt-admin-analytics-grid dt {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.rt-admin-analytics-grid dt i {
    color: #ffc83d;
    font-size: 0.82rem;
}

.rt-admin-analytics-grid dd,
.rt-admin-strategy-metrics dd,
.rt-admin-strategy-answer strong {
    display: block;
    margin: 0.38rem 0 0;
    color: #f8fafc;
    font-size: 0.96rem;
    line-height: 1.45;
    font-weight: 720;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.rt-admin-analytics-grid small {
    display: block;
    margin-top: 0.32rem;
    color: #7f8a9b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.rt-admin-strategy-answer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.rt-admin-strategy-answer p,
.rt-admin-strategy-answer small {
    margin: 0;
}

.rt-admin-strategy-answer small {
    display: block;
    margin-top: 0.55rem;
    color: #6f7b8e;
    font-size: 0.66rem;
}

.rt-admin-blueprints-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-admin-blueprints-page .rt-dashboard-header {
    margin-bottom: 0;
}

.rt-blueprints-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rt-blueprints-header-actions form {
    margin: 0;
}

.rt-blueprints-create-action {
    border: 0;
    cursor: pointer;
    margin-top: 0;
    white-space: nowrap;
}

.rt-blueprints-scope-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 2.45rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(12, 17, 24, 0.72);
    padding: 0.24rem;
}

.rt-blueprints-scope-nav a {
    min-height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dbe3ee;
    padding: 0 0.72rem;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.rt-blueprints-scope-nav a:hover {
    background: rgba(255, 200, 61, 0.12);
    color: #ffc83d;
}

.rt-blueprints-scope-nav a.is-active {
    background: linear-gradient(135deg, rgba(255, 200, 61, 0.2), rgba(255, 179, 26, 0.08));
    color: #ffc83d;
}

.rt-blueprints-empty-card > span {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-blueprints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
    gap: 0.95rem;
    align-items: stretch;
}

.rt-blueprint-card {
    min-height: 13rem;
    display: grid;
    gap: 1rem;
    align-content: space-between;
    border-radius: 14px;
}

.rt-blueprint-card--default {
    border-color: rgba(255, 200, 61, 0.42);
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), 0 0 34px -28px rgba(255, 200, 61, 0.95);
}

.rt-blueprint-card::after {
    opacity: 0.24;
}

.rt-blueprint-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.72rem;
}

.rt-blueprint-card-head h2 {
    margin: 0;
    overflow: hidden;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-blueprint-card-head p {
    margin: 0.25rem 0 0;
    color: #9aa6b6;
    font-size: 0.78rem;
}

.rt-blueprint-icon {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #9aa6b6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-blueprint-icon--active {
    border-color: rgba(255, 200, 61, 0.34);
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
}

.rt-blueprint-meta {
    min-height: 1.8rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rt-blueprint-meta span {
    min-height: 1.58rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    color: #c7d0dc;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 780;
}

.rt-blueprint-meta i {
    color: #ffc83d;
}

.rt-blueprint-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
}

.rt-blueprint-open-action {
    margin-top: 0;
    width: 100%;
}

.rt-blueprint-secondary-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.rt-blueprint-secondary-actions form {
    margin: 0;
}

.rt-blueprint-icon-action {
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 9px;
    background: rgba(17, 24, 35, 0.82);
    color: #e4ebf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.rt-blueprint-icon-action:hover,
.rt-blueprint-icon-action.is-active {
    border-color: rgba(255, 200, 61, 0.42);
    background: rgba(255, 200, 61, 0.12);
    color: #ffc83d;
}

.rt-blueprints-empty-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.82rem;
}

.rt-blueprints-empty-card h2 {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1rem;
    font-weight: 800;
}

.rt-blueprints-empty-card p {
    margin: 0.26rem 0 0;
    color: #a7b2c2;
    font-size: 0.84rem;
    line-height: 1.45;
}

.rt-admin-blueprint-edit-page .rt-dashboard-header {
    margin-bottom: 0;
}

.rt-blueprint-edit-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rt-blueprint-edit-header-actions form {
    margin: 0;
}

.rt-blueprint-editor-card {
    display: grid;
    gap: 1rem;
}

.rt-blueprint-editor-card::after,
.rt-blueprint-modal-card::after {
    opacity: 0.2;
}

.rt-blueprint-editor-card .rt-card-heading {
    margin-bottom: 0;
}

.rt-blueprint-editor-card .rt-card-heading p {
    margin: 0.28rem 0 0;
    color: #9aa6b6;
    font-size: 0.8rem;
    font-weight: 700;
}

.rt-blueprint-meta-panel {
    display: grid;
    gap: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(7, 11, 16, 0.5);
    padding: 0.9rem;
}

.rt-blueprint-unsaved-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    border: 1px solid rgba(255, 200, 61, 0.44);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(58, 44, 15, 0.88) 0%, rgba(27, 24, 16, 0.94) 100%);
    padding: 0.68rem 0.78rem;
}

.rt-blueprint-unsaved-hint.hidden {
    display: none;
}

.rt-blueprint-unsaved-hint p {
    margin: 0;
    color: #ffd775;
    font-size: 0.82rem;
    font-weight: 760;
}

.rt-blueprint-compact-action {
    min-height: 2rem;
    padding: 0.38rem 0.68rem;
    font-size: 0.74rem;
}

.rt-blueprint-settings-panel > p {
    margin: 0 0 0.55rem;
    color: #9aa6b6;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rt-blueprint-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
}

.rt-blueprint-settings-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
}

.rt-admin-blueprint-edit-page .field-input,
.rt-admin-blueprint-edit-page .field-textarea,
.rt-blueprint-modal .field-input,
.rt-blueprint-modal .field-textarea {
    border-color: rgba(148, 163, 184, 0.24);
    background-color: rgba(7, 11, 16, 0.86);
    color: #f8fafc;
}

.rt-admin-blueprint-edit-page .field-input::placeholder,
.rt-admin-blueprint-edit-page .field-textarea::placeholder,
.rt-blueprint-modal .field-input::placeholder,
.rt-blueprint-modal .field-textarea::placeholder {
    color: #6f7b8e;
}

.rt-admin-blueprint-edit-page .field-input:focus,
.rt-admin-blueprint-edit-page .field-textarea:focus,
.rt-blueprint-modal .field-input:focus,
.rt-blueprint-modal .field-textarea:focus {
    border-color: rgba(255, 200, 61, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12);
}

.rt-blueprint-active-toggle {
    min-height: 2.45rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 9px;
    background: rgba(17, 24, 35, 0.82);
    color: #e4ebf5;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.78rem;
    font-size: 0.8rem;
    font-weight: 760;
}

.rt-blueprint-active-toggle input[type='checkbox'] {
    border-color: rgba(148, 163, 184, 0.42);
    background-color: rgba(7, 11, 16, 0.8);
    color: #ffc83d;
}

.rt-blueprint-danger-action {
    min-height: 2.45rem;
    width: 100%;
    border: 1px solid rgba(164, 45, 69, 0.72);
    border-radius: 9px;
    background: rgba(42, 15, 20, 0.92);
    color: #ff9fb0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.78rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.rt-blueprint-danger-action:hover {
    border-color: rgba(198, 62, 90, 0.88);
    background: rgba(59, 20, 28, 0.96);
    color: #ffc4cf;
}

.rt-blueprint-week-board-wrap {
    margin-top: 0.2rem;
}

.rt-admin-blueprint-edit-page .release-week-board {
    gap: 0.95rem;
}

.rt-admin-blueprint-edit-page .release-week-column {
    border-radius: 14px;
    overflow: hidden;
}

.rt-admin-blueprint-edit-page .release-week-column > header {
    background: rgba(7, 11, 16, 0.3);
}

.rt-admin-blueprint-edit-page .release-week-column h3 {
    color: #f8fafc;
    font-size: 0.9rem;
}

.rt-admin-blueprint-edit-page .release-week-column header p {
    color: #9aa6b6;
}

.rt-admin-blueprint-edit-page .release-week-column header span {
    background: rgba(255, 95, 118, 0.94);
    color: #fff;
}

.rt-admin-blueprint-edit-page .release-week-task-card p {
    color: #f8fafc;
}

.rt-admin-blueprint-edit-page .release-week-task-card [data-task-chevron],
.rt-admin-blueprint-edit-page [data-add-task-chevron] {
    color: #aeb8c7;
}

.rt-admin-blueprint-edit-page .release-week-task-body p {
    background: rgba(7, 11, 16, 0.62) !important;
    color: #c7d0dc !important;
}

.rt-blueprint-task-action {
    min-height: 1.95rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 7px;
    background: rgba(17, 24, 35, 0.82);
    color: #e4ebf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.58rem;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
}

.rt-blueprint-task-action:hover {
    border-color: rgba(255, 200, 61, 0.42);
    color: #ffc83d;
}

.rt-blueprint-task-action--danger {
    border-color: rgba(164, 45, 69, 0.72);
    background: rgba(42, 15, 20, 0.92);
    color: #ff9fb0;
}

.rt-admin-blueprint-edit-page .js-add-task-details {
    border-color: rgba(148, 163, 184, 0.24) !important;
    background: rgba(17, 24, 35, 0.78) !important;
}

.rt-admin-blueprint-edit-page .js-add-task-summary {
    color: #e4ebf5 !important;
}

.rt-admin-blueprint-edit-page .js-add-task-details form {
    border-top-color: rgba(148, 163, 184, 0.16) !important;
}

.rt-blueprint-add-action {
    width: 100%;
    border: 0;
    margin-top: 0;
    cursor: pointer;
}

.rt-blueprint-modal-card {
    overflow: hidden;
    border-radius: 14px;
}

.rt-blueprint-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 1rem 1.1rem;
}

.rt-blueprint-modal-head h3 {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1rem;
    font-weight: 800;
}

.rt-blueprint-modal-head p {
    margin: 0.22rem 0 0;
    overflow: hidden;
    color: #9aa6b6;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-blueprint-modal-body {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.1rem 1.1rem;
}

.rt-blueprint-modal .field-label {
    color: #aeb8c7;
}

.rt-blueprint-modal-delete {
    width: auto;
}

.rt-admin-email-template-list {
    display: grid;
    gap: 1.25rem;
}

.rt-admin-email-template-card {
    overflow: hidden;
}

.rt-admin-email-template-table th:last-child,
.rt-admin-email-template-table td:last-child {
    width: 5rem;
    text-align: right;
}

.rt-admin-email-template-heading {
    align-items: flex-start;
    gap: 1rem;
}

.rt-admin-email-template-heading > span {
    max-width: 22rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #697386;
    padding: 0.4rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: right;
}

.rt-admin-email-template-frame {
    display: block;
    width: 100%;
    height: 720px;
    margin-top: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.9rem;
    background: #070b10;
}

@media (max-width: 1320px) {
    .rt-dashboard-top-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .rt-card--release,
    .rt-card--year {
        grid-column: span 6;
    }

    .rt-calendar-summary-grid,
    .rt-calendar-month-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rt-card--strategy {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .rt-dashboard {
        min-height: calc(100vh - 4rem);
        margin: -2rem -2.5rem -2rem;
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 1120px) {
    .rt-dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .rt-dashboard-main-column,
    .rt-dashboard-side-column {
        grid-column: auto;
    }

    .rt-admin-user-edit-grid,
    .rt-admin-setup-grid,
    .rt-admin-user-edit-fields--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rt-admin-user-edit-meta dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rt-admin-analytics-grid,
    .rt-admin-strategy-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rt-calendar-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .rt-calendar-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .rt-pipeline-grid,
    .rt-calendar-summary-grid,
    .rt-calendar-month-grid {
        grid-template-columns: 1fr;
    }

    .rt-dashboard-top-grid {
        grid-template-columns: 1fr;
    }

    .rt-card--release,
    .rt-card--year,
    .rt-card--strategy {
        grid-column: auto;
    }

    .rt-strategy-card-body,
    .rt-year-grid {
        grid-template-columns: 1fr;
    }

    .rt-next-release {
        grid-template-columns: minmax(8rem, 38%) minmax(0, 1fr);
        gap: 1rem;
        align-items: center;
    }

    .rt-admin-users-card-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .rt-admin-users-search {
        justify-content: stretch;
        min-width: 0;
        width: 100%;
    }

    .rt-admin-user-edit-grid,
    .rt-admin-user-edit-fields,
    .rt-admin-user-edit-fields--four,
    .rt-admin-user-edit-meta dl,
    .rt-admin-setup-grid,
    .rt-admin-setup-fields,
    .rt-admin-analytics-grid,
    .rt-admin-strategy-metrics,
    .rt-admin-strategy-answer-list {
        grid-template-columns: 1fr;
    }

    .rt-year-grid > div + div {
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.16);
        padding-left: 0;
        padding-top: 1rem;
    }
}

@media (max-width: 620px) {
    .rt-dashboard-header,
    .rt-card-heading,
    .rt-project-top,
    .rt-calendar-actions,
    .rt-projects-header-meta,
    .rt-blueprints-header-actions,
    .rt-blueprint-edit-header-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .rt-projects-header-meta span {
        width: 100%;
    }

    .rt-calendar-filter-form {
        grid-template-columns: 1fr;
    }

    .rt-calendar-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rt-calendar-year-nav,
    .rt-blueprints-scope-nav,
    .rt-calendar-new-release,
    .rt-calendar-secondary-action,
    .rt-blueprints-create-action,
    .rt-admin-users-create-action {
        width: 100%;
    }

    .rt-blueprints-header-actions form {
        width: 100%;
    }

    .rt-blueprint-edit-header-actions,
    .rt-blueprint-edit-header-actions form {
        width: 100%;
    }

    .rt-blueprints-scope-nav {
        justify-content: space-between;
    }

    .rt-blueprints-scope-nav a {
        flex: 1 1 0;
        padding-inline: 0.45rem;
        text-align: center;
    }

    .rt-blueprint-actions {
        grid-template-columns: 1fr;
    }

    .rt-blueprint-settings-grid,
    .rt-blueprint-settings-fields {
        grid-template-columns: 1fr;
    }

    .rt-blueprint-active-toggle,
    .rt-blueprint-danger-action {
        width: 100%;
    }

    .rt-blueprint-secondary-actions {
        justify-content: stretch;
    }

    .rt-blueprint-secondary-actions form {
        flex: 1 1 0;
    }

    .rt-blueprint-icon-action {
        flex: 1 1 0;
        width: 100%;
    }

    .rt-admin-users-search {
        flex-direction: column;
        align-items: stretch;
    }

    .rt-admin-users-search-field,
    .rt-admin-users-search-submit {
        width: 100%;
    }

    .rt-admin-user-edit-submit,
    .rt-admin-setup-submit,
    .rt-admin-user-edit-danger-actions {
        justify-content: stretch;
    }

    .rt-admin-user-edit-submit .rt-primary-action,
    .rt-admin-setup-submit .rt-primary-action {
        width: 100%;
    }

    .rt-calendar-year-nav {
        justify-content: space-between;
    }

    .rt-project-row {
        grid-template-columns: 1fr;
    }

    .rt-project-thumb {
        width: 5.75rem;
        max-width: none;
    }
}

@media (max-width: 620px) {
    .rt-next-release {
        grid-template-columns: minmax(7.25rem, 36%) minmax(0, 1fr);
        gap: 0.85rem;
    }

    .rt-next-release-body h3 {
        font-size: 1.08rem;
    }

    .rt-next-release .rt-soft-badge {
        margin-top: 0.38rem;
        padding: 0.2rem 0.48rem;
        font-size: 0.68rem;
    }

    .rt-next-release-label {
        margin-top: 0.72rem;
    }

    .rt-next-release-label,
    .rt-next-release-date {
        font-size: 0.72rem;
    }

    .rt-next-release-date {
        gap: 0.32rem;
        margin-top: 0.62rem;
    }

    .rt-next-release .rt-countdown {
        gap: 0.34rem;
    }

    .rt-next-release .rt-countdown strong {
        min-width: 1.5rem;
        font-size: 1.08rem;
    }

    .rt-next-release .rt-countdown strong + strong {
        padding-left: 0.34rem;
    }

    .rt-next-release .rt-countdown-label {
        font-size: 0.52rem;
    }

    .rt-next-release .rt-primary-action {
        min-height: 2.15rem;
        padding: 0.48rem 0.7rem;
        font-size: 0.74rem;
    }
}

@media (max-width: 430px) {
    .rt-next-release {
        grid-template-columns: minmax(6.25rem, 34%) minmax(0, 1fr);
        gap: 0.7rem;
    }

    .rt-next-release-body h3 {
        font-size: 1rem;
    }

    .rt-next-release .rt-countdown {
        gap: 0.24rem;
    }

    .rt-next-release .rt-countdown strong {
        min-width: 1.32rem;
        font-size: 0.96rem;
    }

    .rt-next-release .rt-countdown strong + strong {
        padding-left: 0.24rem;
    }

    .rt-next-release .rt-primary-action {
        width: 100%;
    }
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('/fonts/sora-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('/fonts/sora-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #000000;
    --bg-2: #000000;
    --surface: rgba(26, 30, 36, 0.96);
    --surface-solid: #1a1e24;
    --surface-muted: #14181e;
    --border: #454c58;
    --text: #f5f5f5;
    --text-muted: #a3a3a3;
    --brand: #ffc83d;
    --brand-strong: #ffb000;
    --field-bg: #0d0d0d;
    --field-bg-disabled: #161616;
    --field-border: #3f3f3f;
    --field-text: #f5f5f5;
    --field-placeholder: #8e8e8e;
    --radius-card: 20px;
    --radius-pill: 999px;
    --shadow-card: 0 24px 42px -30px rgba(0, 0, 0, 0.9);
}

body {
    background:
        radial-gradient(1100px 560px at 0% -10%, rgba(255, 200, 61, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% -5%, rgba(255, 176, 0, 0.07), transparent 52%),
        radial-gradient(1400px 900px at 50% 120%, rgba(255, 200, 61, 0.04), transparent 64%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--text);
    overflow-x: hidden;
}

.app-shell {
    position: relative;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: clip;
}

.app-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(1200px 680px at 50% 0%, black 55%, transparent 100%);
    z-index: 0;
}

.app-shell > * {
    position: relative;
    z-index: 1;
}

.surface-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    min-width: 0;
}

.ui-panel {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(20, 24, 30, 0.82);
    padding: 1rem;
    min-width: 0;
}

.ui-section-title {
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 650;
    color: var(--text);
}

.ui-section-subtitle,
.ui-help,
.ui-muted-text {
    color: var(--text-muted);
}

.ui-section-subtitle,
.ui-help,
.ui-error,
.ui-success {
    font-size: 0.78rem;
    line-height: 1.45;
}

.ui-error {
    color: #ff99ae;
}

.ui-success {
    color: #72e6aa;
}

.ui-muted-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.ui-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(20, 24, 30, 0.82);
    padding: 0.72rem 0.8rem;
}

.ui-row-title {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 620;
}

.ui-avatar {
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface-muted);
}

.ui-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 680;
}

.ui-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(20, 24, 30, 0.9);
    color: var(--text-muted);
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.ui-icon-link:hover {
    border-color: var(--brand);
    background: #1f1a0b;
    color: var(--brand);
}

.ui-field-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.ui-field-link:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.ui-field-link svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.ui-field-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-modal-backdrop {
    background: rgba(0, 0, 0, 0.68);
}

.ui-modal {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface-solid);
    box-shadow: 0 28px 70px -36px rgba(0, 0, 0, 0.95);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #121212;
    padding: 0.52rem 1rem;
    font-size: 0.875rem;
    font-weight: 650;
    box-shadow: 0 10px 24px -14px rgba(255, 200, 61, 0.7);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -18px rgba(255, 200, 61, 0.75);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    border: 1px solid #3c4450;
    background: rgba(26, 30, 36, 0.98);
    color: #f2f2f2;
    padding: 0.52rem 1rem;
    font-size: 0.875rem;
    font-weight: 620;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    background: #1e232b;
    border-color: #ffc83d;
    color: #ffc83d;
}

.btn-danger-tone {
    border-color: #a42d45;
    background: #2a0f14;
    color: #ff758f;
}

.btn-danger-tone:hover {
    background: #3b141c;
    border-color: #b63a55;
    color: #ff9fb0;
}

.btn-accent-tone {
    border-color: #ffc83d;
    background: #1f1a0b;
    color: #ffe39c;
}

.btn-accent-tone:hover {
    background: #2b2410;
    border-color: #ffd56b;
    color: #ffefc4;
}

.app-shell:has(.customer-welcome-page) > .pointer-events-none,
.app-shell:has(.customer-welcome-page) > .absolute.inset-x-0 {
    display: none;
}

.customer-welcome-page {
    min-height: 100vh;
    margin: 0;
    padding: 1.25rem;
    display: grid;
    grid-template-rows: auto 1fr;
}

.customer-welcome-topbar {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.customer-welcome-brand {
    display: inline-flex;
    align-items: center;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.customer-welcome-brand strong {
    color: var(--brand);
}

.customer-welcome-brand img {
    display: block;
    width: auto;
    max-width: min(13rem, 52vw);
    height: 3rem;
    object-fit: contain;
}

.customer-welcome-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.45rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 9px;
    background: rgba(17, 24, 35, 0.82);
    color: #e4ebf5;
    padding: 0.55rem 0.78rem;
    font-size: 0.8rem;
    font-weight: 760;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.customer-welcome-logout i {
    width: 1rem;
    height: 1rem;
    color: #ffc83d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-welcome-logout:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 200, 61, 0.42);
    background: rgba(17, 24, 35, 0.94);
    color: #ffc83d;
}

.sidebar-logout-button {
    width: 100%;
}

.customer-welcome-main {
    display: grid;
    justify-items: center;
    align-items: start;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(1.1rem, 4vh, 2.4rem) 0 3rem;
}

.customer-welcome-card {
    width: min(46rem, 100%);
    padding: clamp(1.25rem, 4vw, 2rem);
    text-align: center;
}

.customer-welcome-card::after {
    content: "";
    pointer-events: none;
    position: absolute;
    right: -7rem;
    bottom: -4.8rem;
    width: 20rem;
    height: 12rem;
    opacity: 0.42;
    background:
        repeating-radial-gradient(ellipse at center, rgba(255, 200, 61, 0.26) 0 1px, transparent 1px 7px);
    transform: rotate(-10deg);
}

.customer-welcome-copy {
    padding: 0;
}

.customer-welcome-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 200, 61, 0.34);
    border-radius: 14px;
    background: rgba(255, 200, 61, 0.12);
    color: #ffc83d;
    font-size: 1.4rem;
}

.customer-welcome-kicker {
    margin: 0 0 0.42rem;
    color: #ffc83d;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.customer-welcome-copy h1 {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.customer-welcome-copy p:last-child {
    max-width: 34rem;
    margin: 0.8rem auto 0;
    color: #aeb8c7;
    font-size: 0.98rem;
    line-height: 1.5;
    white-space: pre-line;
}

.customer-welcome-video-frame {
    margin: 1.35rem 0 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: #05070d;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.95);
}

.customer-welcome-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    background: #05070d;
    object-fit: cover;
}

.customer-welcome-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 200, 61, 0.16) 0%, transparent 34%),
        linear-gradient(145deg, rgba(17, 24, 35, 0.92), rgba(5, 7, 13, 0.98));
}

.customer-welcome-video-placeholder p {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1rem;
    font-weight: 760;
}

.customer-welcome-video-placeholder span {
    display: block;
    margin-top: 0.55rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.customer-welcome-card-footer {
    padding: 1.35rem 0 0;
}

.customer-welcome-projects-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.4rem;
    width: 100%;
    border-radius: 9px;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
    padding: 0.58rem 1rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 26px -20px rgba(255, 200, 61, 0.78);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.customer-welcome-projects-button svg,
.customer-welcome-projects-button i {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-welcome-projects-button:hover {
    transform: translateY(-1px);
    color: #080808;
    filter: brightness(1.05);
    box-shadow: 0 18px 30px -22px rgba(255, 200, 61, 0.9);
}

.verify-email-page {
    min-height: 100vh;
    margin: 0;
    padding: 1.25rem;
    display: grid;
    grid-template-rows: auto 1fr;
}

.verify-email-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.verify-email-brand {
    display: inline-flex;
    align-items: center;
    color: #f8fafc;
    text-decoration: none;
}

.verify-email-brand img {
    width: auto;
    max-width: min(13rem, 52vw);
    height: 3rem;
    object-fit: contain;
}

.verify-email-brand strong {
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.verify-email-brand span {
    color: #ffc83d;
}

.verify-email-main {
    display: grid;
    place-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 8vh, 5rem) 0;
}

.verify-email-card {
    width: min(34rem, 100%);
    padding: clamp(1.25rem, 4vw, 2rem);
    text-align: center;
}

.verify-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 200, 61, 0.34);
    border-radius: 14px;
    background: rgba(255, 200, 61, 0.12);
    color: #ffc83d;
    font-size: 1.4rem;
}

.verify-email-kicker {
    margin: 0 0 0.45rem;
    color: #ffc83d;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.verify-email-card h1 {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.08;
    font-weight: 800;
}

.verify-email-card > p:not(.verify-email-kicker) {
    max-width: 28rem;
    margin: 0.8rem auto 0;
    color: #aeb8c7;
    font-size: 0.98rem;
}

.verify-email-status {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.2rem;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    padding: 0.85rem 0.95rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
}

.verify-email-status i {
    margin-top: 0.12rem;
}

.verify-email-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.verify-email-actions .btn-primary,
.verify-email-actions .btn-secondary {
    width: 100%;
    border-radius: 9px;
}

.verify-email-actions .btn-primary {
    border: 0;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
}

.verify-email-actions .btn-secondary {
    gap: 0.45rem;
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

@media (max-width: 640px) {
    .customer-welcome-page {
        padding: 0.8rem;
    }

    .customer-welcome-topbar {
        min-height: auto;
        padding: 0.9rem;
    }

    .customer-welcome-logout {
        min-height: 2.75rem;
        padding: 0.62rem 0.85rem;
    }

    .customer-welcome-logout span {
        display: none;
    }

    .customer-welcome-main {
        padding: 2rem 0 3rem;
    }

    .customer-welcome-card {
        border-radius: 16px;
    }

    .customer-welcome-video-frame {
        margin: 0 1rem 1.35rem;
        border-radius: 0.75rem;
    }

    .customer-welcome-card-footer {
        padding: 1.15rem 1rem 1.35rem;
    }

    .customer-welcome-projects-button {
        width: 100%;
    }

    .verify-email-page {
        padding: 1rem;
    }

    .verify-email-topbar {
        align-items: flex-start;
    }

    .verify-email-topbar .customer-welcome-logout {
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
    }

    .verify-email-topbar .customer-welcome-logout span {
        display: none;
    }
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.45rem;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 10px;
    background: transparent;
    padding: 0.62rem 0.72rem;
    font-size: 0.88rem;
    font-weight: 720;
    color: #aeb8c7;
    appearance: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    box-shadow: none !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.sidebar-nav {
    display: grid;
    gap: 1.05rem;
}

.sidebar-nav-section {
    display: grid;
    gap: 0.28rem;
}

.sidebar-nav-heading {
    margin: 0 0 0.12rem;
    padding: 0 0.72rem;
    color: rgba(127, 138, 160, 0.58);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.app-sidebar .sidebar-link,
.app-sidebar .sidebar-link *,
.app-sidebar .sidebar-link::before,
.app-sidebar .sidebar-link::after {
    -webkit-tap-highlight-color: transparent;
}

.sidebar-link:visited,
.sidebar-link:focus,
.sidebar-link:focus-visible,
.sidebar-link:active,
.sidebar-link:target,
.sidebar-link:focus-within,
.sidebar-link:hover:focus,
.sidebar-link:hover:active {
    border: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    outline-offset: 0 !important;
}

.sidebar-link:focus-visible,
.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.045);
    color: #f8fafc;
}

.sidebar-link:hover {
    transform: translateX(1px);
}

.sidebar-link i {
    width: 1.08rem;
    color: #748094;
    font-size: 0.95rem;
    line-height: 1;
    text-align: center;
    transition: color 0.18s ease;
    flex: 0 0 auto;
}

.sidebar-link span {
    min-width: 0;
}

.sidebar-link:hover i,
.sidebar-link-active i {
    color: #ffc83d;
}

.sidebar-link-active {
    background: linear-gradient(90deg, rgba(255, 200, 61, 0.2), rgba(255, 200, 61, 0.06));
    color: #fff1b8;
    box-shadow: inset 2px 0 0 0 rgba(255, 200, 61, 0.95) !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: 0.2rem 0.56rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.status-badge.hidden {
    display: none;
}

.badge-default {
    background: #2a2a2a;
    color: #f0f0f0;
}

.badge-success {
    background: #1f1a0b;
    color: #ffe39c;
    border: 1px solid #ffc83d;
    box-shadow: inset 0 0 0 1px rgba(255, 227, 156, 0.08);
}

.badge-released {
    background: rgba(15, 36, 27, 0.88);
    color: #8de6bf;
    border: 1px solid #2f7b61;
    box-shadow: inset 0 0 0 1px rgba(141, 230, 191, 0.08);
}

.badge-warning {
    background: rgba(255, 200, 61, 0.2);
    color: #ffd56b;
}

.badge-info {
    background: #242424;
    color: #dddddd;
}

.badge-muted {
    background: #202020;
    color: #b9b9b9;
}

.badge-danger {
    background: #2a0f14;
    color: #ff758f;
    border: 1px solid #a42d45;
    box-shadow: inset 0 0 0 1px rgba(255, 117, 143, 0.08);
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 760;
}

.metric-value {
    color: #f8f8f8;
    font-size: 1.95rem;
    line-height: 1.04;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-weight: 650;
}

.dashboard-banner {
    margin-bottom: 0.74rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    border-radius: 14px;
    border: 1px solid #3b4452;
    background: linear-gradient(90deg, rgba(20, 26, 36, 0.96) 0%, rgba(17, 23, 33, 0.92) 100%);
    padding: 0.72rem 0.9rem;
}

.dashboard-banner-content {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    color: #d6dde8;
    font-size: 0.95rem;
}

.dashboard-banner-content svg {
    width: 1.02rem;
    height: 1.02rem;
    flex-shrink: 0;
}

.dashboard-banner-content i {
    width: 1.02rem;
    height: 1.02rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-banner--warning {
    border-color: rgba(255, 200, 61, 0.45);
    background: linear-gradient(90deg, rgba(58, 44, 15, 0.88) 0%, rgba(27, 24, 16, 0.94) 100%);
}

.dashboard-banner--warning .dashboard-banner-content {
    color: #ffd775;
}

.dashboard-banner--success {
    border-color: rgba(46, 179, 133, 0.5);
    background: linear-gradient(90deg, rgba(14, 48, 38, 0.9) 0%, rgba(13, 34, 29, 0.95) 100%);
}

.dashboard-banner--success .dashboard-banner-content {
    color: #77dcbb;
}

.dashboard-banner-action {
    padding: 0.43rem 0.85rem;
    font-size: 0.8rem;
}

.project-next-step-banner {
    margin-bottom: 1.25rem;
}

.dashboard-metrics {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.dashboard-metric-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 1.35rem 1.35rem;
}

.dashboard-metric-title {
    margin: 0;
    color: #d4dae4;
    font-size: 0.92rem;
    font-weight: 620;
}

.dashboard-metric-value {
    margin: 0.42rem 0 0;
    color: #f7f8fa;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.95rem;
    line-height: 1.03;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.dashboard-metric-hint {
    margin: 0.34rem 0 0;
    color: #a4afbe;
    font-size: 0.9rem;
}

.dashboard-metric-icon {
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-metric-icon svg {
    width: 1.58rem;
    height: 1.58rem;
}

.dashboard-metric-icon--brand {
    background: rgba(255, 200, 61, 0.16);
    color: #ffc83d;
}

.dashboard-metric-icon--green {
    background: rgba(46, 179, 133, 0.17);
    color: #59d8a8;
}

.dashboard-metric-icon--violet {
    background: rgba(124, 95, 255, 0.18);
    color: #9986ff;
}

.dashboard-top-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    align-items: stretch;
}

.dashboard-top-card {
    min-width: 0;
    height: 100%;
}

.dashboard-top-grid .dashboard-next-release {
    grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
}

.dashboard-top-grid .dashboard-next-release-cover {
    width: min(100%, 10rem);
}

.dashboard-top-grid .dashboard-strategy-profile-content {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.95rem;
}

.dashboard-top-grid .dashboard-strategy-ring {
    width: 8.7rem;
}

.dashboard-top-grid .dashboard-strategy-ring-inner {
    width: 6.3rem;
}

.dashboard-top-grid .dashboard-strategy-ring-inner p {
    font-size: 1.68rem;
}

.dashboard-top-grid .dashboard-strategy-ring-inner small {
    font-size: 0.68rem;
}

.dashboard-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 0.95rem;
    align-items: start;
}

.dashboard-pipeline-row {
    margin-top: 0.95rem;
}

.dashboard-grid-main,
.dashboard-grid-side {
    min-width: 0;
}

.dashboard-grid-main,
.dashboard-grid-side {
    display: grid;
    gap: 0.95rem;
}

.dashboard-panel {
    padding: 1.25rem;
}

.dashboard-panel--tall {
    min-height: 100%;
}

.dashboard-panel-title {
    margin: 0;
    color: #f4f5f6;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.125rem;
    line-height: 1.25;
    font-weight: 620;
}

.dashboard-panel-subtitle {
    margin: 0.34rem 0 0;
    color: #a4aebb;
    font-size: 0.9rem;
}

.dashboard-insights-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.8rem;
}

.dashboard-insight {
    border-radius: 14px;
    border: 1px solid #4b5567;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.74rem;
    padding: 0.9rem 0.95rem;
}

.dashboard-insight-icon {
    width: 1.44rem;
    height: 1.44rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.05rem;
}

.dashboard-insight-icon svg {
    width: 1.24rem;
    height: 1.24rem;
}

.dashboard-insight-icon i {
    font-size: 1.08rem;
    line-height: 1;
}

.dashboard-insight-title {
    margin: 0;
    color: #f3f5f8;
    font-size: 0.94rem;
    font-weight: 620;
}

.dashboard-insight-text {
    margin: 0.3rem 0 0;
    color: #c6cdd8;
    font-size: 0.9rem;
}

.dashboard-insight--warning {
    border-color: rgba(255, 200, 61, 0.36);
    background: rgba(255, 200, 61, 0.08);
    color: #f4f7fb;
}

.dashboard-insight--warning .dashboard-insight-icon {
    color: #ffc83d;
}

.dashboard-insight--warning .dashboard-insight-title {
    color: #ffc83d;
}

.dashboard-insight--warning .dashboard-insight-text {
    color: #c7d0dc;
}

.dashboard-insight--danger {
    border-color: rgba(219, 68, 98, 0.52);
    background: linear-gradient(90deg, rgba(65, 20, 30, 0.9) 0%, rgba(36, 18, 23, 0.95) 100%);
}

.dashboard-insight--danger .dashboard-insight-icon {
    color: #f8738f;
}

.dashboard-insight--success {
    border-color: rgba(64, 190, 146, 0.45);
    background: linear-gradient(90deg, rgba(12, 53, 42, 0.88) 0%, rgba(15, 34, 30, 0.94) 100%);
}

.dashboard-insight--success .dashboard-insight-icon {
    color: #63d9af;
}

.dashboard-insight-link {
    margin-top: 0.62rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 200, 61, 0.78);
    padding: 0.35rem 0.78rem;
    color: #ffd56b;
    font-size: 0.84rem;
    font-weight: 640;
}

.dashboard-insight-link:hover {
    border-color: #ffd56b;
    color: #fff0c5;
}

.dashboard-insight-attention-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    min-width: 0;
}

.dashboard-insight-attention-copy {
    min-width: 0;
}

.dashboard-insight--attention .dashboard-insight-link {
    flex: 0 0 auto;
    margin-top: 0;
}

.dashboard-empty-state {
    margin: 0;
    border-radius: 12px;
    border: 1px dashed #4a5566;
    padding: 0.9rem 0.95rem;
    color: #b8c2cf;
    font-size: 0.9rem;
}

.dashboard-profile-grid {
    margin-top: 0.92rem;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.onboarding-result-steps {
    margin-top: 0.92rem;
    display: grid;
    gap: 0.65rem;
}

.onboarding-check {
    color: #f7f7f7;
}

.onboarding-check-header {
    margin-bottom: 1.55rem;
}

.onboarding-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #a8b0bc;
    font-size: 0.84rem;
    font-weight: 640;
}

.onboarding-breadcrumb span:first-child {
    color: #f5f5f5;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    font-weight: 730;
}

.onboarding-check-header h1:not(.page-header-title) {
    margin: 1.35rem 0 0;
    color: #f8f8f8;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.05;
}

.onboarding-check-header p {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    margin: 0.92rem 0 0;
    color: #a8b0bc;
    font-size: 1rem;
    line-height: 1.5;
}

.onboarding-check-header svg {
    width: 1.28rem;
    height: 1.28rem;
    color: #ffc83d;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.onboarding-check-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1180px) {
    .onboarding-check-layout {
        grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
    }
}

.onboarding-check-main,
.onboarding-side-card {
    border: 1px solid #2f3744;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 200, 61, 0.075), transparent 32%),
        linear-gradient(145deg, rgba(22, 27, 34, 0.94), rgba(12, 16, 23, 0.96));
    box-shadow: 0 28px 54px -42px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(12px);
}

.onboarding-check-main {
    border-radius: 1.05rem;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.onboarding-stepper {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0.35rem 0 1.45rem;
}

.onboarding-stepper-questions {
    overflow-x: auto;
    padding-bottom: 0.42rem;
}

.onboarding-stepper-item {
    position: relative;
    display: flex;
    justify-content: center;
    color: #aeb6c2;
    min-width: 0;
}

.onboarding-stepper-item::after {
    content: '';
    position: absolute;
    top: 1.08rem;
    left: calc(50% + 1.28rem);
    right: calc(-50% + 1.28rem);
    height: 2px;
    background: #343c48;
}

.onboarding-stepper-item:last-child::after {
    display: none;
}

.onboarding-stepper-item button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid #3d4654;
    background: #111821;
    color: #c9d0dc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.88rem;
    font-weight: 760;
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.onboarding-stepper-item button:focus-visible {
    outline: 2px solid rgba(255, 200, 61, 0.68);
    outline-offset: 3px;
}

.onboarding-stepper-item.is-active,
.onboarding-stepper-item.is-complete {
    color: #ffc83d;
}

.onboarding-stepper-item.is-active button,
.onboarding-stepper-item.is-complete button {
    border-color: #ffc83d;
    background: linear-gradient(180deg, #ffd765 0%, #ffc83d 100%);
    color: #15110a;
    box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.11), 0 16px 30px -20px rgba(255, 200, 61, 0.72);
}

.onboarding-stepper-item.is-complete::after {
    background: #ffc83d;
}

.onboarding-form {
    display: grid;
    gap: 1rem;
}

.onboarding-question-panel {
    min-height: 21rem;
    border-radius: 0.92rem;
    border: 1px solid #2f3744;
    background: rgba(12, 17, 24, 0.7);
    padding: clamp(1rem, 2vw, 1.28rem);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.onboarding-question-kicker {
    margin: 0 0 0.82rem;
    color: #ffc83d;
    font-size: 0.7rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.onboarding-question-panel h2 {
    margin: 0;
    color: #f8f8f8;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.16rem, 2.4vw, 1.55rem);
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.15;
}

.onboarding-question-description {
    margin: 0.48rem 0 0;
    color: #c0c6d0;
    font-size: 0.88rem;
    line-height: 1.55;
}

.onboarding-choice-list {
    display: grid;
    gap: 0.58rem;
    margin-top: 1.15rem;
}

.onboarding-choice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.82rem;
    min-height: 5.45rem;
    border-radius: 0.82rem;
    border: 1px solid #323a47;
    background:
        linear-gradient(90deg, rgba(255, 200, 61, 0.055), transparent 72%),
        rgba(14, 19, 27, 0.75);
    color: #f4f4f4;
    padding: 0.82rem 1rem;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.onboarding-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 200, 61, 0.42);
}

.onboarding-choice:has(input:checked) {
    border-color: #ffc83d;
    background:
        linear-gradient(90deg, rgba(255, 200, 61, 0.15), rgba(255, 200, 61, 0.03) 72%),
        rgba(20, 21, 18, 0.86);
    box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.18), 0 20px 40px -34px rgba(255, 200, 61, 0.6);
}

.onboarding-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onboarding-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.45rem;
    height: 3.45rem;
    border-radius: 999px;
    border: 1px solid #343d49;
    background: #101720;
    color: #f1f5f9;
    flex: 0 0 auto;
}

.onboarding-choice:has(input:checked) .onboarding-choice-icon {
    border-color: rgba(255, 200, 61, 0.45);
    color: #ffc83d;
}

.onboarding-choice-icon i {
    font-size: 1.45rem;
    line-height: 1;
}

.onboarding-choice-copy {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.onboarding-choice-copy strong {
    color: #f8f8f8;
    font-size: 0.92rem;
    font-weight: 780;
    line-height: 1.2;
}

.onboarding-choice-copy small {
    color: #b4bdc9;
    font-size: 0.82rem;
    line-height: 1.5;
}

.onboarding-choice-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    border: 1px solid #596270;
    color: transparent;
    font-size: 0.78rem;
    font-weight: 900;
}

.onboarding-choice:has(input:checked) .onboarding-choice-check {
    border-color: #ffc83d;
    background: #ffc83d;
    color: #15110a;
}

.onboarding-choice-list-compact {
    gap: 0.58rem;
}

.onboarding-choice-compact {
    min-height: 3.18rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.onboarding-choice-compact .onboarding-choice-icon {
    width: 2.35rem;
    height: 2.35rem;
}

.onboarding-choice-compact .onboarding-choice-icon i {
    font-size: 1.02rem;
}

.onboarding-existing-release-list {
    display: grid;
    gap: 0.8rem;
}

.onboarding-existing-release-row {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 720px) {
    .onboarding-existing-release-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.onboarding-existing-release-row span {
    display: block;
    margin-bottom: 0.34rem;
    color: #c8d0dc;
    font-size: 0.76rem;
    font-weight: 730;
}

.onboarding-input-with-icon {
    position: relative;
    display: block;
}

.onboarding-input-with-icon i {
    position: absolute;
    left: 0.92rem;
    top: 50%;
    z-index: 1;
    color: #ffc83d;
    font-size: 0.95rem;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.onboarding-input-with-icon .field-input {
    padding-left: 2.7rem;
}

.onboarding-check .field-label {
    color: #c8d0dc;
}

.onboarding-check .field-input,
.onboarding-check .field-select {
    border-color: #343d49;
    background: rgba(8, 12, 18, 0.78);
    color: #f4f4f5;
}

.onboarding-check .field-input:focus,
.onboarding-check .field-select:focus {
    border-color: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.14);
}

.onboarding-error {
    margin-top: 0.65rem;
    color: #ff9db0;
    font-size: 0.8rem;
    font-weight: 680;
}

.onboarding-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.onboarding-form-actions-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-left: auto;
}

.onboarding-progress-label {
    color: #aab3c0;
    font-size: 0.8rem;
    font-weight: 700;
}

.onboarding-progress-label strong {
    color: #ffc83d;
    margin-left: 0.3rem;
}

.onboarding-form-actions .btn-primary {
    gap: 0.42rem;
    min-width: 9.5rem;
}

.onboarding-form-actions .btn-primary i {
    font-size: 0.92rem;
    line-height: 1;
}

.onboarding-check-side {
    display: grid;
    gap: 1rem;
}

.onboarding-side-card {
    border-radius: 1rem;
    padding: 1.25rem;
}

.onboarding-side-card h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.2rem;
    color: #f5f5f5;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1rem;
    font-weight: 740;
    letter-spacing: 0;
}

.onboarding-side-card h2 i {
    width: 1.18rem;
    height: 1.18rem;
    color: #ffc83d;
    font-size: 1.08rem;
    line-height: 1.18rem;
    text-align: center;
    flex: 0 0 auto;
}

.onboarding-rec-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.onboarding-rec-list div:not(.onboarding-rec-divider) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.onboarding-rec-list dt {
    color: #d6dce5;
    font-size: 0.9rem;
    font-weight: 650;
}

.onboarding-rec-list dd {
    margin: 0;
    color: #ffc83d;
    font-size: 0.94rem;
    font-weight: 820;
    text-align: right;
    white-space: nowrap;
}

.onboarding-rec-divider {
    height: 1px;
    background: #313946;
}

.onboarding-mini-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.36rem;
    margin-top: 1.35rem;
    padding: 0 0.2rem;
}

.onboarding-mini-timeline span {
    width: 0.86rem;
    height: 0.86rem;
    border-radius: 999px;
    background: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12);
}

.onboarding-side-note {
    margin: 1.25rem 0 0;
    border-radius: 0.72rem;
    border: 1px solid #323b48;
    background: rgba(8, 12, 18, 0.5);
    color: #b9c1cc;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    padding: 0.82rem 0.9rem;
}

.onboarding-side-card p {
    margin: 0;
    color: #c2c9d3;
    font-size: 0.9rem;
    line-height: 1.6;
}

.onboarding-side-card ul {
    display: grid;
    gap: 0.62rem;
    margin: 1.2rem 0 0;
    border-top: 1px solid #313946;
    padding: 1rem 0 0;
    color: #d6dce5;
    font-size: 0.86rem;
    font-weight: 650;
    list-style: none;
}

.onboarding-side-card li {
    position: relative;
    padding-left: 1.45rem;
}

.onboarding-side-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    border: 1px solid #ffc83d;
    color: #ffc83d;
    font-size: 0.58rem;
    font-weight: 900;
}

.strategy-result-page {
    color: #f7f7f7;
}

.strategy-result-header {
    margin-bottom: 1.45rem;
}

.strategy-result-layout {
    display: grid;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 1180px) {
    .strategy-result-layout {
        grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
    }
}

.strategy-result-main,
.strategy-result-side {
    display: grid;
    gap: 1rem;
}

.strategy-result-card,
.strategy-result-call-card {
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: clamp(1rem, 2vw, 1.35rem);
}

.strategy-result-kicker,
.strategy-result-section-title {
    margin: 0 0 1.05rem;
    color: #ffc83d;
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.strategy-result-metrics {
    display: grid;
    gap: 1rem;
}

@media (min-width: 820px) {
    .strategy-result-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.strategy-result-metric {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

@media (min-width: 820px) {
    .strategy-result-metric:not(:last-child) {
        border-right: 1px solid #313946;
        padding-right: 1rem;
    }
}

.strategy-result-metric-icon,
.strategy-result-action-card span,
.strategy-result-situation-list span,
.strategy-result-meaning-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid #394250;
    background: #101720;
    color: #5ea0ff;
    flex: 0 0 auto;
}

.strategy-result-metric p {
    margin: 0;
    color: #d7dde6;
    font-size: 0.86rem;
    font-weight: 650;
}

.strategy-result-metric strong {
    display: block;
    margin-top: 0.34rem;
    color: #8db8ff;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.15rem, 2vw, 1.32rem);
    font-weight: 760;
    line-height: 1.2;
}

.strategy-result-metric:nth-child(2) .strategy-result-metric-icon {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.34);
    color: #b578ff;
}

.strategy-result-metric:nth-child(2) strong {
    color: #bd82ff;
}

.strategy-result-metric:nth-child(3) .strategy-result-metric-icon {
    background: rgba(49, 187, 119, 0.18);
    border-color: rgba(49, 187, 119, 0.34);
    color: #4ce08c;
}

.strategy-result-metric:nth-child(3) strong {
    color: #4ce08c;
}

.strategy-result-plan-card {
    container-type: inline-size;
    overflow: hidden;
}

.strategy-result-timeline {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    overflow-x: hidden;
    padding: 0.35rem 0.2rem 1.1rem;
}

.strategy-result-timeline-item {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.48rem;
    color: #cbd3df;
    font-size: 0.72rem;
    font-weight: 690;
    min-width: 0;
}

.strategy-result-timeline-item::after {
    content: '';
    position: absolute;
    top: 1.84rem;
    left: 50%;
    right: -50%;
    border-top: 2px dashed rgba(255, 200, 61, 0.4);
}

.strategy-result-timeline-item:last-child::after {
    display: none;
}

.strategy-result-timeline-item i {
    position: relative;
    z-index: 1;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    background: #7f8794;
}

.strategy-result-timeline-item.is-release i {
    width: 1rem;
    height: 1rem;
    background: #ffc83d;
    box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.12);
}

.strategy-result-timeline-item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    border: 1px solid #ffc83d;
    color: #ffc83d;
    font-size: 0.68rem;
    font-weight: 780;
    line-height: 1;
    padding: 0.34rem 0.42rem;
}

.strategy-result-timeline-releases {
    display: grid;
    justify-items: center;
    gap: 0.28rem;
}

.strategy-result-timeline-item strong.is-released {
    border-color: rgba(123, 231, 149, 0.82);
    color: #7be795;
}

.strategy-result-cycle {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin: 1rem -1.35rem -1.35rem;
    border-top: 1px solid #303846;
    padding: 1rem 1.35rem 1.15rem;
}

.strategy-result-cycle-copy {
    flex: 1;
    min-width: 0;
}

.strategy-result-cycle > i {
    color: #f8f8f8;
    font-size: 1.15rem;
}

.strategy-result-cycle strong {
    color: #f7f7f7;
    font-size: 0.98rem;
}

.strategy-result-cycle p {
    margin: 0.35rem 0 0;
    color: #aeb7c4;
    font-size: 0.84rem;
    line-height: 1.5;
}

.strategy-result-warning {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 200, 61, 0.36);
    background: rgba(255, 200, 61, 0.08);
    padding: 0.95rem 1rem;
    color: #f4f7fb;
}

.strategy-result-warning > i {
    color: #ffc83d;
    font-size: 1rem;
    margin-top: 0.15rem;
}

.strategy-result-warning strong {
    display: block;
    color: #ffc83d;
    font-size: 0.86rem;
    font-weight: 820;
    margin-bottom: 0.24rem;
}

.strategy-result-warning p {
    color: #c7d0dc;
    font-size: 0.8rem;
    line-height: 1.55;
}

.strategy-result-plan-action {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.strategy-result-plan-action button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    min-height: 2.25rem;
    border-radius: 0.42rem;
    border: 1px solid #ffc83d;
    background: rgba(255, 200, 61, 0.08);
    color: #ffc83d;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 760;
    padding: 0 0.95rem;
}

.strategy-result-actions-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 860px) {
    .strategy-result-actions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.strategy-result-action-card {
    display: grid;
    align-content: start;
    gap: 0.62rem;
    border-radius: 0.78rem;
    border: 1px solid #4b5567;
    background: rgba(20, 24, 30, 0.82);
    padding: 0.9rem;
}

.strategy-result-action-card:nth-child(1) {
    border-color: #4b5567;
    background: rgba(20, 24, 30, 0.82);
}

.strategy-result-action-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.strategy-result-action-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.42rem;
    min-width: 0;
}

.strategy-result-action-card:nth-child(1) .strategy-result-action-card-head > span {
    background: rgba(63, 131, 248, 0.22);
    border-color: rgba(63, 131, 248, 0.34);
    color: #5ea0ff;
}

.strategy-result-action-card--next-due {
    border-color: #ffc83d !important;
    background:
        linear-gradient(145deg, rgba(255, 200, 61, 0.13), rgba(20, 24, 30, 0.92)) !important;
}

.strategy-result-action-card--next-due .strategy-result-action-card-head > span {
    background: rgba(255, 200, 61, 0.2) !important;
    border-color: rgba(255, 200, 61, 0.48) !important;
    color: #ffc83d !important;
}

.strategy-result-next-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.5);
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
    font-size: 0.75rem;
    font-weight: 820;
    line-height: 1;
    padding: 0.42rem 0.62rem;
}

.strategy-result-action-card--completed {
    border-color: rgba(76, 224, 140, 0.72) !important;
    background:
        linear-gradient(145deg, rgba(76, 224, 140, 0.12), rgba(20, 24, 30, 0.9)) !important;
}

.strategy-result-action-card--completed .strategy-result-action-card-head > span {
    background: rgba(76, 224, 140, 0.2) !important;
    border-color: rgba(76, 224, 140, 0.48) !important;
    color: #4ce08c !important;
}

.strategy-result-completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid rgba(76, 224, 140, 0.45);
    background: rgba(76, 224, 140, 0.12);
    color: #76f2aa;
    font-size: 0.75rem;
    font-weight: 820;
    line-height: 1;
    padding: 0.42rem 0.62rem;
}

.strategy-result-action-card:nth-child(2) {
    border-color: #4b5567;
    background: rgba(20, 24, 30, 0.82);
}

.strategy-result-action-card:nth-child(2) .strategy-result-action-card-head > span {
    background: rgba(63, 131, 248, 0.22);
    border-color: rgba(63, 131, 248, 0.34);
    color: #5ea0ff;
}

.strategy-result-action-card:nth-child(3) {
    border-color: #4b5567;
    background: rgba(20, 24, 30, 0.82);
}

.strategy-result-action-card:nth-child(3) span {
    background: #101720;
    border-color: #394250;
    color: #cbd3df;
}

.strategy-result-action-card h2 {
    margin: 0;
    color: #f7f7f7;
    font-size: 0.95rem;
    font-weight: 760;
}

.strategy-result-action-card p {
    margin: 0;
    color: #aeb7c4;
    font-size: 0.78rem;
    line-height: 1.45;
}

.strategy-result-action-card ul {
    display: grid;
    gap: 0.36rem;
    margin: 0.1rem 0 0;
    padding: 0;
    list-style: none;
    color: #dce2ea;
    font-size: 0.76rem;
}

.strategy-result-action-card li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.82rem;
    height: 0.82rem;
    margin-right: 0.42rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: #5ea0ff;
    font-size: 0.52rem;
    font-weight: 900;
}

.strategy-result-action-card:nth-child(2) li::before {
    color: #5ea0ff;
}

.strategy-result-action-card:nth-child(3) li::before {
    color: #cbd3df;
}

.strategy-result-action-card a,
.strategy-result-wide-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    min-height: 2.25rem;
    border-radius: 0.42rem;
    border: 1px solid #ffc83d;
    color: #ffc83d;
    font-size: 0.86rem;
    font-weight: 760;
    text-decoration: none;
}

.strategy-result-action-card a {
    margin-top: 0.35rem;
}

.strategy-result-wide-action {
    margin-top: 0.9rem;
    width: 100%;
}

.strategy-result-situation-list,
.strategy-result-meaning-list {
    display: grid;
    gap: 0.72rem;
}

.strategy-result-situation-list > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 0.85rem;
    align-items: center;
    border-radius: 0.72rem;
    border: 1px solid #313946;
    background: rgba(10, 15, 22, 0.58);
    padding: 0.85rem;
}

.strategy-result-situation-list > div:nth-child(1) {
    border-color: #313946;
    background: rgba(10, 15, 22, 0.58);
}

.strategy-result-situation-list > div:nth-child(1) span {
    background: rgba(49, 187, 119, 0.22);
    border-color: rgba(49, 187, 119, 0.34);
    color: #4ce08c;
}

.strategy-result-situation-list > div:nth-child(1) strong {
    color: #4ce08c;
}

.strategy-result-situation-list > div:nth-child(2) {
    border-color: #313946;
    background: rgba(10, 15, 22, 0.58);
}

.strategy-result-situation-list > div:nth-child(2) span {
    background: rgba(49, 187, 119, 0.18);
    border-color: rgba(49, 187, 119, 0.3);
    color: #4ce08c;
}

.strategy-result-situation-list > div:nth-child(2) strong {
    color: #4ce08c;
}

.strategy-result-situation-list span {
    grid-row: span 2;
}

.strategy-result-situation-list p,
.strategy-result-meaning-list p {
    margin: 0;
    color: #aeb7c4;
    font-size: 0.82rem;
    line-height: 1.45;
}

.strategy-result-situation-list strong {
    color: #9fe04f;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.18rem;
    font-weight: 780;
}

.strategy-result-note {
    display: flex;
    gap: 0.5rem;
    margin: 0.72rem 0 0;
    border-radius: 0.62rem;
    border: 1px solid #313946;
    background: rgba(10, 15, 22, 0.5);
    color: #aeb7c4;
    font-size: 0.78rem;
    line-height: 1.45;
    padding: 0.72rem;
}

.strategy-result-meaning-list > div {
    display: flex;
    gap: 0.72rem;
    align-items: flex-start;
}

.strategy-result-meaning-list > div:nth-child(1) span {
    background: rgba(49, 187, 119, 0.22);
    border-color: rgba(49, 187, 119, 0.34);
    color: #4ce08c;
}

.strategy-result-meaning-list > div:nth-child(2) span {
    background: rgba(49, 187, 119, 0.18);
    border-color: rgba(49, 187, 119, 0.3);
    color: #4ce08c;
}

.strategy-result-meaning-list > div:nth-child(3) span {
    background: rgba(139, 92, 246, 0.23);
    border-color: rgba(139, 92, 246, 0.34);
    color: #b578ff;
}

.strategy-result-meaning-list strong {
    display: block;
    color: #f5f5f5;
    font-size: 0.9rem;
    font-weight: 760;
}

.strategy-result-meaning-list p {
    margin-top: 0.18rem;
}

.strategy-result-call-card {
    border-color: rgba(255, 200, 61, 0.82);
    background: rgba(14, 19, 27, 0.94);
}

.strategy-result-call-card > p:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #ffc83d;
    font-size: 0.74rem;
    font-weight: 830;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.strategy-result-call-card h2 {
    margin: 0.8rem 0 0;
    color: #f8f8f8;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.18rem;
    font-weight: 760;
    letter-spacing: 0;
}

.strategy-result-call-card p:not(:first-child) {
    margin: 0.65rem 0 0;
    color: #c9d0da;
    font-size: 0.84rem;
    line-height: 1.5;
}

.strategy-result-call-card ul {
    display: grid;
    gap: 0.4rem;
    margin: 0.9rem 0 1rem;
    padding: 0;
    list-style: none;
    color: #dce2ea;
    font-size: 0.82rem;
}

.strategy-result-call-card li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.88rem;
    height: 0.88rem;
    margin-right: 0.45rem;
    border-radius: 999px;
    border: 1px solid #ffc83d;
    color: #ffc83d;
    font-size: 0.58rem;
    font-weight: 900;
}

.strategy-result-call-card .btn-primary {
    width: 100%;
    justify-content: center;
    gap: 0.55rem;
}

.strategy-result-call-card small {
    display: block;
    margin-top: 0.58rem;
    color: #aeb7c4;
    font-size: 0.72rem;
    text-align: center;
}

/* Strategy result dashboard redesign */
.strategy-result-page.rt-dashboard {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.strategy-result-page .strategy-result-header {
    margin-bottom: 0;
}

.strategy-result-page .strategy-result-layout {
    gap: 0.95rem;
}

@media (min-width: 1180px) {
    .strategy-result-page .strategy-result-layout {
        grid-template-columns: minmax(0, 2fr) minmax(24rem, 0.98fr);
    }
}

.strategy-result-page .strategy-result-main,
.strategy-result-page .strategy-result-side {
    gap: 0.95rem;
}

.strategy-result-page .strategy-result-card {
    border-color: rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.strategy-result-page .strategy-result-kicker,
.strategy-result-page .strategy-result-section-title {
    margin: 0 0 1rem;
    color: #ffc83d;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0;
}

.strategy-result-page .strategy-result-metrics {
    gap: 0.75rem;
}

.strategy-result-page .strategy-result-metric {
    min-height: 5.15rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.72);
    padding: 0.85rem;
}

@media (min-width: 820px) {
    .strategy-result-page .strategy-result-metric:not(:last-child) {
        border-right: 1px solid rgba(148, 163, 184, 0.16);
        padding-right: 0.85rem;
    }
}

.strategy-result-page .strategy-result-metric-icon,
.strategy-result-page .strategy-result-action-card span,
.strategy-result-page .strategy-result-situation-list span,
.strategy-result-page .strategy-result-meaning-list span {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9px;
    border-color: rgba(91, 157, 255, 0.3);
    background: rgba(91, 157, 255, 0.14);
    color: #70b4ff;
}

.strategy-result-page .strategy-result-metric p {
    color: #aeb8c7;
    font-size: 0.78rem;
}

.strategy-result-page .strategy-result-metric strong {
    color: #70b4ff;
    font-size: 1.08rem;
}

.strategy-result-page .strategy-result-metric:nth-child(2) .strategy-result-metric-icon {
    background: rgba(171, 106, 255, 0.18);
    border-color: rgba(171, 106, 255, 0.34);
    color: #bd8bff;
}

.strategy-result-page .strategy-result-metric:nth-child(2) strong {
    color: #c998ff;
}

.strategy-result-page .strategy-result-metric:nth-child(3) .strategy-result-metric-icon {
    background: rgba(52, 217, 134, 0.17);
    border-color: rgba(52, 217, 134, 0.3);
    color: #66e7a8;
}

.strategy-result-page .strategy-result-metric:nth-child(3) strong {
    color: #74edaf;
}

.strategy-result-page .strategy-result-timeline {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.52);
    padding: 0.85rem 0.75rem 1rem;
}

.strategy-result-page .strategy-result-timeline-item {
    color: #aeb8c7;
}

.strategy-result-page .strategy-result-timeline-item::after {
    border-top-color: rgba(255, 200, 61, 0.32);
}

.strategy-result-page .strategy-result-timeline-item i {
    background: rgba(148, 163, 184, 0.72);
}

.strategy-result-page .strategy-result-timeline-item.is-release i {
    background: #ffc83d;
    box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.12), 0 0 20px rgba(255, 200, 61, 0.24);
}

.strategy-result-page .strategy-result-cycle {
    margin: 1rem 0 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.58);
    padding: 0.85rem;
}

.strategy-result-page .strategy-result-cycle > i {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 9px;
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.strategy-result-page .strategy-result-plan-action button,
.strategy-result-page .strategy-result-action-card a,
.strategy-result-page .strategy-result-wide-action {
    min-height: 2.4rem;
    border-radius: 9px;
    border: 0;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
    box-shadow: 0 14px 26px -20px rgba(255, 200, 61, 0.78);
}

.strategy-result-page .strategy-result-warning {
    border-color: rgba(255, 200, 61, 0.28);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 200, 61, 0.14) 0%, rgba(11, 16, 23, 0.72) 100%);
}

@container (max-width: 48rem) {
    .strategy-result-page .strategy-result-timeline {
        padding: 0.75rem 0.45rem 0.85rem;
    }

    .strategy-result-page .strategy-result-timeline-item {
        gap: 0.36rem;
    }

    .strategy-result-page .strategy-result-timeline-item span {
        font-size: 0;
        line-height: 1;
    }

    .strategy-result-page .strategy-result-timeline-item span::before {
        content: attr(data-mobile-label);
        font-size: 0.62rem;
        font-weight: 760;
    }

    .strategy-result-page .strategy-result-timeline-item::after {
        top: 1.55rem;
    }

    .strategy-result-page .strategy-result-timeline-item i {
        width: 0.42rem;
        height: 0.42rem;
    }

    .strategy-result-page .strategy-result-timeline-item.is-release i {
        width: 0.82rem;
        height: 0.82rem;
        box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12), 0 0 16px rgba(255, 200, 61, 0.2);
    }

    .strategy-result-page .strategy-result-timeline-releases {
        min-width: 0;
    }

    .strategy-result-page .strategy-result-timeline-item strong {
        width: 1.35rem;
        height: 1.15rem;
        border-radius: 999px;
        padding: 0;
        font-size: 0;
    }

    .strategy-result-page .strategy-result-timeline-item strong::after {
        content: 'R';
        font-size: 0.58rem;
        font-weight: 820;
    }
}

@media (max-width: 640px) {
    .strategy-result-page .strategy-result-timeline {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        overflow-x: hidden;
        padding: 0.75rem 0.45rem 0.85rem;
    }

    .strategy-result-page .strategy-result-timeline-item {
        min-width: 0;
        gap: 0.36rem;
    }

    .strategy-result-page .strategy-result-timeline-item span {
        font-size: 0;
        line-height: 1;
    }

    .strategy-result-page .strategy-result-timeline-item span::before {
        content: attr(data-mobile-label);
        font-size: 0.62rem;
        font-weight: 760;
    }

    .strategy-result-page .strategy-result-timeline-item::after {
        top: 1.55rem;
    }

    .strategy-result-page .strategy-result-timeline-item i {
        width: 0.42rem;
        height: 0.42rem;
    }

    .strategy-result-page .strategy-result-timeline-item.is-release i {
        width: 0.82rem;
        height: 0.82rem;
        box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12), 0 0 16px rgba(255, 200, 61, 0.2);
    }

    .strategy-result-page .strategy-result-timeline-releases {
        min-width: 0;
    }

    .strategy-result-page .strategy-result-timeline-item strong {
        width: 1.35rem;
        height: 1.15rem;
        border-radius: 999px;
        padding: 0;
        font-size: 0;
    }

    .strategy-result-page .strategy-result-timeline-item strong::after {
        content: 'R';
        font-size: 0.58rem;
        font-weight: 820;
    }
}

.strategy-result-page .strategy-result-actions-grid {
    gap: 0.75rem;
}

.strategy-result-page .strategy-result-action-card {
    border-color: rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.72);
    padding: 0.9rem;
}

.strategy-result-page .strategy-result-action-card--next-due {
    border-color: rgba(255, 200, 61, 0.62) !important;
    background:
        linear-gradient(145deg, rgba(255, 200, 61, 0.12), rgba(11, 16, 23, 0.88)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.strategy-result-page .strategy-result-next-badge,
.strategy-result-page .strategy-result-completed-badge {
    border-radius: 999px;
    font-size: 0.68rem;
}

.strategy-result-page .strategy-result-action-card h2 {
    color: #f8fafc;
    font-size: 0.95rem;
}

.strategy-result-page .strategy-result-action-card p,
.strategy-result-page .strategy-result-action-card ul,
.strategy-result-page .strategy-result-meaning-list p {
    color: #aeb8c7;
}

.strategy-result-page .strategy-result-action-card li::before {
    color: #ffc83d;
}

.strategy-result-page .strategy-result-meaning-list > div {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.58);
    padding: 0.75rem;
}

.strategy-result-page .strategy-result-meaning-list strong {
    color: #f8fafc;
}

.academy-page {
    color: #f7f7f7;
}

.academy-overview-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.academy-overview-page .academy-topbar {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.academy-overview-page .academy-course-overview-grid {
    gap: 0.95rem;
    align-items: start;
}

.academy-overview-page .academy-course-overview-card {
    border-color: rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.academy-overview-page .academy-course-overview-card:hover {
    border-color: rgba(255, 200, 61, 0.54);
    box-shadow: 0 28px 54px -38px rgba(0, 0, 0, 0.96), 0 0 30px -24px rgba(255, 200, 61, 0.8);
}

.academy-overview-page .academy-course-overview-media {
    position: relative;
    border: 0;
    border-radius: 14px;
    background:
        radial-gradient(circle at 28% 12%, rgba(255, 200, 61, 0.38), transparent 34%),
        radial-gradient(circle at 78% 20%, rgba(56, 209, 181, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(255, 200, 61, 0.18) 0%, rgba(11, 16, 23, 0.94) 58%, #080a0f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 42px -34px rgba(0, 0, 0, 0.95);
}

.academy-overview-page .academy-course-overview-media::before {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 8%;
    height: 42%;
    background:
        radial-gradient(70% 90% at 20% 100%, rgba(255, 200, 61, 0.18) 0%, transparent 64%),
        radial-gradient(72% 82% at 88% 100%, rgba(255, 200, 61, 0.24) 0%, transparent 62%);
    opacity: 0.86;
    transform: skewY(-7deg);
}

.academy-overview-page .academy-video-stage {
    position: relative;
    z-index: 1;
}

.academy-overview-page .academy-course-overview-copy h2 {
    color: #f8fafc;
    font-size: clamp(1.25rem, 2.1vw, 1.65rem);
}

.academy-overview-page .academy-course-overview-copy p {
    color: #aeb8c7;
}

.academy-overview-page .academy-course-overview-subtitle {
    color: #ffc83d !important;
}

.academy-overview-page .academy-progress {
    margin-top: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.58);
    padding: 0.75rem;
}

.academy-overview-page .academy-progress div {
    background: rgba(89, 101, 119, 0.55);
}

.academy-roadmap-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.academy-roadmap-page .academy-topbar {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.academy-roadmap-page .academy-back-link {
    min-height: 2.45rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(12, 17, 24, 0.72);
    color: #dbe3ee;
    padding: 0.55rem 0.8rem;
}

.academy-roadmap-page .academy-back-link:hover {
    border-color: rgba(255, 200, 61, 0.42);
    color: #ffc83d;
}

.academy-roadmap-page .academy-course-hero {
    margin-bottom: 0;
    border-color: rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.academy-roadmap-page .academy-video-preview {
    border-radius: 14px;
    background:
        radial-gradient(circle at 28% 12%, rgba(255, 200, 61, 0.36), transparent 34%),
        radial-gradient(circle at 78% 20%, rgba(56, 209, 181, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(255, 200, 61, 0.16) 0%, rgba(11, 16, 23, 0.94) 58%, #080a0f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 42px -34px rgba(0, 0, 0, 0.95);
}

.academy-roadmap-page .academy-video-preview video {
    border-radius: inherit;
}

.academy-roadmap-page .academy-course-copy h2 {
    color: #f8fafc;
    font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.academy-roadmap-page .academy-course-copy > p:not(.academy-kicker) {
    color: #aeb8c7;
}

.academy-roadmap-page .academy-progress {
    margin-top: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.58);
    padding: 0.75rem;
}

.academy-roadmap-page .academy-progress div {
    background: rgba(89, 101, 119, 0.55);
}

.academy-roadmap-page .academy-video-grid {
    gap: 0.75rem;
}

.academy-roadmap-page .academy-video-card {
    border-color: rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.78), rgba(11, 16, 23, 0.86)),
        #0e131a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.academy-roadmap-page .academy-video-card:hover {
    border-color: rgba(255, 200, 61, 0.42);
    box-shadow: 0 24px 42px -34px rgba(0, 0, 0, 0.95), 0 0 26px -22px rgba(255, 200, 61, 0.82);
}

.academy-roadmap-page .academy-video-card--current {
    border-color: rgba(255, 200, 61, 0.72);
    background:
        linear-gradient(145deg, rgba(255, 200, 61, 0.14), rgba(11, 16, 23, 0.9)),
        #0e131a;
}

.academy-roadmap-page .academy-video-card--done {
    border-color: rgba(52, 217, 134, 0.4);
    background:
        linear-gradient(145deg, rgba(52, 217, 134, 0.1), rgba(11, 16, 23, 0.88)),
        #0e131a;
}

.academy-roadmap-page .academy-video-card--started {
    border-color: rgba(255, 200, 61, 0.36);
}

.academy-roadmap-page .academy-video-text > span {
    min-width: 3.15rem;
    height: 3.15rem;
    border-radius: 10px;
    background: rgba(11, 16, 23, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #8e9aaa;
}

.academy-roadmap-page .academy-video-card--done .academy-video-text > span {
    border-color: rgba(52, 217, 134, 0.35);
    color: #74edaf;
}

.academy-roadmap-page .academy-video-card--current .academy-video-text > span,
.academy-roadmap-page .academy-video-card--started .academy-video-text > span {
    border-color: rgba(255, 200, 61, 0.42);
    color: #ffc83d;
}

.academy-roadmap-page .academy-video-text h3 {
    color: #f8fafc;
}

.academy-roadmap-page .academy-video-text p,
.academy-roadmap-page .academy-video-meta {
    color: #aeb8c7;
}

.academy-roadmap-page .academy-video-card--done .academy-video-meta small {
    color: #74edaf;
}

.academy-roadmap-page .academy-note {
    margin-top: 0;
    border-color: rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a;
    color: #aeb8c7;
}

.academy-topbar {
    margin-bottom: 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

.academy-topbar h1 {
    margin: 0;
    color: #f7f7f7;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

.academy-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #a9b2bf;
    font-size: 0.88rem;
    font-weight: 720;
    text-decoration: none;
    transition: color 0.18s ease;
}

.academy-back-link:hover {
    color: #ffc83d;
}

.academy-course-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.academy-course-overview-card {
    display: grid;
    grid-template-columns: minmax(12rem, 24rem) minmax(0, 1fr);
    gap: clamp(1rem, 2.2vw, 1.5rem);
    align-items: center;
    border: 1px solid #2b333f;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 25, 32, 0.94), rgba(9, 13, 18, 0.92));
    color: inherit;
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: clamp(1rem, 2.2vw, 1.35rem);
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.academy-course-overview-card:hover {
    border-color: rgba(255, 200, 61, 0.7);
    transform: translateY(-1px);
}

.academy-course-overview-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 200, 61, 0.26), transparent 42%),
        linear-gradient(180deg, #05070a, #12100b 62%, #050505);
}

.academy-course-overview-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academy-course-overview-copy {
    min-width: 0;
}

.academy-course-overview-copy h2 {
    margin: 0;
    color: #f7f7f7;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.16;
}

.academy-course-overview-copy p {
    margin: 0.85rem 0 0;
    color: #b8c0cc;
    font-size: 0.93rem;
    line-height: 1.55;
}

.academy-course-overview-subtitle {
    color: #ffc83d !important;
    font-weight: 760;
}

.academy-course-hero {
    display: grid;
    grid-template-columns: minmax(17rem, 28rem) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
    margin-bottom: 1rem;
    border: 1px solid #2b333f;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 25, 32, 0.94), rgba(9, 13, 18, 0.92));
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.academy-video-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 12rem;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 200, 61, 0.26), transparent 42%),
        linear-gradient(180deg, #05070a, #12100b 62%, #050505);
}

.academy-video-preview video {
    display: block;
    width: 100%;
    height: 100%;
    background: #050505;
    object-fit: cover;
}

.academy-video-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    text-align: center;
}

.academy-video-placeholder p {
    margin: 0.9rem 0 0;
    color: #c5ccd7;
    font-size: 0.84rem;
}

.academy-video-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.42);
}

.academy-video-stage strong {
    color: rgba(255, 255, 255, 0.22);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 820;
    line-height: 1;
}

.academy-video-wave {
    width: 2.1rem;
    height: 1.25rem;
    background: repeating-linear-gradient(90deg, #ffc83d 0 0.15rem, transparent 0.15rem 0.36rem);
    mask-image: radial-gradient(ellipse at center, black 48%, transparent 72%);
}

.academy-video-wave--right {
    transform: scaleX(-1);
}

.academy-course-copy {
    min-width: 0;
}

.academy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    color: #ffc83d;
    font-size: 0.72rem;
    font-weight: 830;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.academy-course-copy h2 {
    margin: 0;
    color: #f7f7f7;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.16;
}

.academy-course-copy > p:not(.academy-kicker) {
    max-width: 42rem;
    margin: 0.9rem 0 0;
    color: #b8c0cc;
    font-size: 0.93rem;
    line-height: 1.6;
}

.academy-progress {
    display: grid;
    grid-template-columns: auto auto minmax(9rem, 21rem) auto;
    align-items: center;
    gap: 0.45rem 0.5rem;
    margin-top: 2rem;
    color: #c7ced8;
    font-size: 0.86rem;
}

.academy-progress strong {
    color: #f7f7f7;
}

.academy-progress div {
    overflow: hidden;
    height: 0.62rem;
    border-radius: 999px;
    background: #242b34;
}

.academy-progress div i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffc83d, #ffb000);
    transition: width 0.35s ease;
}

.academy-progress em {
    color: #dfe4ea;
    font-style: normal;
}

.academy-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.9rem;
}

.academy-video-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 6.7rem;
    border: 1px solid #2b333f;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 25, 32, 0.88), rgba(11, 15, 20, 0.86));
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 1rem;
    text-align: left;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.academy-video-card:hover {
    border-color: rgba(255, 200, 61, 0.7);
    transform: translateY(-1px);
}

.academy-video-card--current {
    border-color: #ffc83d;
    background: linear-gradient(145deg, rgba(28, 29, 26, 0.94), rgba(11, 15, 20, 0.9));
}

.academy-video-card--started {
    border-color: rgba(255, 200, 61, 0.42);
}

.academy-video-card:disabled {
    cursor: not-allowed;
    opacity: 0.68;
}

.academy-video-card:focus-visible {
    outline: 2px solid rgba(255, 200, 61, 0.72);
    outline-offset: 3px;
}

.academy-video-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.academy-video-text > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.15rem;
    color: #6f7784;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 0.95;
    flex: 0 0 auto;
}

.academy-video-card--done .academy-video-text > span,
.academy-video-card--current .academy-video-text > span,
.academy-video-card--started .academy-video-text > span {
    color: #ffc83d;
}

.academy-video-text h3 {
    margin: 0;
    color: #f7f7f7;
    font-size: 0.98rem;
    font-weight: 780;
    line-height: 1.25;
}

.academy-video-text p {
    margin: 0.32rem 0 0;
    color: #b5bdc9;
    font-size: 0.84rem;
    line-height: 1.4;
}

.academy-video-meta {
    display: grid;
    justify-items: end;
    gap: 1.05rem;
    color: #c8ced8;
    text-align: right;
    white-space: nowrap;
}

.academy-video-meta time {
    font-size: 0.9rem;
}

.academy-video-meta small {
    color: #b7bec9;
    font-size: 0.76rem;
}

.academy-video-card--done .academy-video-meta small {
    color: #9fc313;
}

.academy-video-card--current .academy-video-meta small {
    color: #ffc83d;
    font-weight: 780;
}

.academy-video-card--started .academy-video-meta small {
    color: #ffc83d;
}

.academy-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    border: 1px solid #2b333f;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 25, 32, 0.88), rgba(11, 15, 20, 0.86));
    padding: 1rem 1.35rem;
    color: #b8c0cc;
}

.academy-note i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 2px solid #ffc83d;
    border-radius: 999px;
    color: #ffc83d;
    flex: 0 0 auto;
}

.academy-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.academy-empty-state {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-color: rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(24, 29, 36, 0.92), rgba(11, 16, 23, 0.94));
    color: #c8d0dc;
    padding: 1.1rem;
}

.academy-empty-state i {
    color: #ffc83d;
}

@media (max-width: 1180px) {
    .academy-course-overview-card,
    .academy-course-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .academy-video-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .academy-progress {
        grid-template-columns: auto 1fr;
    }

    .academy-progress div {
        grid-column: 1 / -1;
    }

    .academy-video-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .academy-video-meta {
        grid-column: 1;
        justify-items: start;
        gap: 0.35rem;
        text-align: left;
    }

    .academy-video-text > span {
        min-width: 2.65rem;
        font-size: 1.7rem;
    }
}

.rt-admin-academy-page {
    display: grid;
    gap: 1rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-admin-academy-page .rt-dashboard-header {
    margin-bottom: 0.25rem;
}

.rt-admin-academy-card {
    align-self: start;
    border-radius: 14px;
}

.rt-admin-academy-card::after {
    display: none;
}

.rt-admin-academy-card-heading {
    align-items: center;
    margin-bottom: 0;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.rt-admin-academy-card-heading > div {
    min-width: 0;
}

.rt-admin-academy-card-heading p {
    margin: 0.22rem 0 0;
    color: #9aa6b6;
    font-size: 0.82rem;
    font-weight: 650;
}

.rt-admin-academy-card-heading > span {
    color: #8f9bad;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.rt-admin-academy-table {
    min-width: 50rem;
}

.rt-admin-academy-table th,
.rt-admin-academy-table td {
    padding: 0.78rem 0.9rem;
}

.rt-admin-academy-table th:nth-child(3),
.rt-admin-academy-table th:nth-child(4),
.rt-admin-academy-table td:nth-child(3),
.rt-admin-academy-table td:nth-child(4) {
    width: 7rem;
    text-align: center;
}

.rt-admin-academy-table th:last-child,
.rt-admin-academy-table td:last-child {
    width: 8rem;
    text-align: right;
}

.rt-admin-academy-table .rt-admin-users-actions {
    justify-content: flex-end;
}

.rt-admin-academy-form {
    display: grid;
    gap: 1rem;
}

.rt-admin-academy-wide {
    grid-column: 1 / -1;
}

.rt-admin-academy-role-grid,
.rt-admin-academy-role-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.rt-admin-academy-current-image {
    display: grid;
    gap: 0.6rem;
}

.rt-admin-academy-image-preview {
    display: block;
    width: min(100%, 22rem);
    aspect-ratio: 16 / 9;
    border: 1px solid #343434;
    border-radius: 8px;
    object-fit: cover;
}

.rt-admin-academy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.rt-admin-academy-video-manager {
    display: grid;
    gap: 1rem;
}

.rt-admin-academy-video-form,
.rt-admin-academy-video-edit-fields {
    display: grid;
    grid-template-columns: minmax(4.5rem, 0.35fr) minmax(10rem, 1fr) minmax(10rem, 1fr) minmax(12rem, 1.5fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.rt-admin-academy-video-list {
    display: grid;
    gap: 0.75rem;
}

.rt-admin-academy-video-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
    border: 1px solid #2b333f;
    border-radius: 8px;
    background: rgba(12, 17, 24, 0.62);
    padding: 0.85rem;
}

.rt-admin-academy-video-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 0.05rem;
}

.rt-admin-academy-errors {
    display: grid;
    gap: 0.25rem;
}

@media (max-width: 1120px) {
    .rt-admin-academy-video-form,
    .rt-admin-academy-video-edit-fields,
    .rt-admin-academy-video-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .rt-admin-academy-video-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .app-shell:has(.onboarding-check) main {
        padding: 1rem 1rem 1.35rem;
    }

    .onboarding-check {
        margin-top: 0.15rem;
        min-width: 0;
    }

    .onboarding-check-header {
        margin-bottom: 0.9rem;
        padding-right: 3.25rem;
    }

    .onboarding-check-layout {
        gap: 0.85rem;
    }

    .onboarding-check-main,
    .onboarding-side-card {
        border-radius: 0.85rem;
    }

    .onboarding-check-main {
        padding: 0.78rem;
    }

    .onboarding-stepper {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 0.12rem;
        margin: 0.1rem 0 0.9rem;
        overflow: visible;
        padding: 0.1rem 0;
    }

    .onboarding-stepper::before {
        content: '';
        position: absolute;
        left: 0.7rem;
        right: 0.7rem;
        top: 50%;
        height: 2px;
        border-radius: 999px;
        background: #343c48;
        transform: translateY(-50%);
    }

    .onboarding-stepper-item::after {
        display: none;
    }

    .onboarding-stepper-item {
        flex: 0 0 auto;
    }

    .onboarding-stepper-item button {
        width: 1.24rem;
        min-width: 0;
        height: 1.24rem;
        border-radius: 999px;
        border-color: transparent;
        background: transparent;
        color: transparent;
        font-size: 0;
        box-shadow: none;
    }

    .onboarding-stepper-item button::before {
        content: '';
        width: 0.48rem;
        height: 0.48rem;
        border-radius: 999px;
        border: 1px solid #596270;
        background: #222a35;
        transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    }

    .onboarding-stepper-item.is-active button {
        transform: none;
    }

    .onboarding-stepper-item.is-active button,
    .onboarding-stepper-item.is-complete button {
        border-color: transparent;
        background: transparent;
        color: transparent;
        box-shadow: none;
    }

    .onboarding-stepper-item.is-active button::before,
    .onboarding-stepper-item.is-complete button::before {
        border-color: #ffc83d;
        background: #ffc83d;
    }

    .onboarding-stepper-item.is-active button::before {
        width: 0.72rem;
        height: 0.72rem;
        box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.14), 0 10px 18px -12px rgba(255, 200, 61, 0.82);
    }

    .onboarding-question-panel {
        min-height: auto;
        border-radius: 0.78rem;
        padding: 0.92rem;
    }

    .onboarding-question-kicker {
        margin-bottom: 0.58rem;
        font-size: 0.64rem;
    }

    .onboarding-question-panel h2 {
        font-size: 1.08rem;
        line-height: 1.22;
    }

    .onboarding-question-description {
        font-size: 0.82rem;
    }

    .onboarding-choice {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: auto;
        gap: 0.65rem;
        border-radius: 0.72rem;
        padding: 0.78rem;
    }

    .onboarding-choice-icon {
        display: none;
    }

    .onboarding-choice-copy {
        gap: 0.28rem;
    }

    .onboarding-choice-copy strong {
        font-size: 0.88rem;
        line-height: 1.25;
    }

    .onboarding-choice-copy small {
        font-size: 0.77rem;
        line-height: 1.42;
    }

    .onboarding-choice-check {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.7rem;
    }

    .onboarding-form-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.7rem;
    }

    .onboarding-form-actions-right {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        margin-left: 0;
    }

    .onboarding-progress-label {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .onboarding-form-actions .btn-primary,
    .onboarding-form-actions .btn-secondary {
        width: 100%;
        min-height: 2.75rem;
    }

    .onboarding-side-card {
        padding: 0.95rem;
    }

    .onboarding-side-card h2 {
        margin-bottom: 0.7rem;
        font-size: 0.92rem;
    }

    .onboarding-side-card p,
    .onboarding-side-card li {
        font-size: 0.82rem;
        line-height: 1.45;
    }
}

.dashboard-profile-item {
    border-radius: 12px;
    border: 1px solid #4a5568;
    background: rgba(11, 15, 22, 0.6);
    padding: 0.72rem 0.82rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.62rem;
    min-height: 86px;
}

.dashboard-profile-label {
    margin: 0;
    color: #9eabba;
    font-size: 0.8rem;
    line-height: 1.2;
}

.dashboard-profile-icon {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9e8eff;
    flex-shrink: 0;
}

.dashboard-profile-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-profile-copy {
    min-width: 0;
}

.dashboard-profile-item strong {
    display: block;
    margin-top: 0.2rem;
    color: #f4f6f9;
    font-size: 1.08rem;
    font-weight: 620;
    line-height: 1.2;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.dashboard-strategy-profile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-strategy-profile-edit {
    padding: 0.42rem 0.88rem;
    font-size: 0.78rem;
    box-shadow: none;
}

.dashboard-strategy-profile-content {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.15rem;
}

.dashboard-strategy-profile-list {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.dashboard-strategy-profile-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.dashboard-strategy-profile-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-strategy-profile-icon svg {
    width: 1.16rem;
    height: 1.16rem;
}

.dashboard-strategy-profile-icon--blue {
    background: rgba(63, 131, 248, 0.22);
    color: #5ea0ff;
}

.dashboard-strategy-profile-icon--green {
    background: rgba(49, 187, 119, 0.22);
    color: #4ce08c;
}

.dashboard-strategy-profile-icon--violet {
    background: rgba(139, 92, 246, 0.23);
    color: #b578ff;
}

.dashboard-strategy-profile-copy {
    min-width: 0;
}

.dashboard-strategy-profile-copy p {
    margin: 0;
    color: #aab3c1;
    font-size: 0.72rem;
    font-weight: 720;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.dashboard-strategy-profile-copy strong {
    display: block;
    margin-top: 0.22rem;
    color: #8db8ff;
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 610;
    overflow-wrap: anywhere;
}

.dashboard-strategy-profile-item:nth-child(2) .dashboard-strategy-profile-copy strong {
    color: #f4f7fb;
}

.dashboard-strategy-profile-item:nth-child(2) .dashboard-strategy-profile-copy strong span {
    color: #39e49b;
    font-size: 1.28rem;
    font-weight: 720;
}

.dashboard-strategy-profile-item:nth-child(3) .dashboard-strategy-profile-copy strong {
    color: #bd82ff;
}

.dashboard-strategy-ring {
    --dashboard-strategy-progress: 0%;
    width: 10.25rem;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: #111722;
    display: grid;
    place-items: center;
    position: relative;
}

.dashboard-strategy-ring::before {
    content: '';
    position: absolute;
    inset: 0.72rem;
    border-radius: inherit;
    background: conic-gradient(#38d1b5 0 var(--dashboard-strategy-progress), #1e2735 var(--dashboard-strategy-progress) 100%);
}

.dashboard-strategy-ring-inner {
    position: relative;
    width: 7.4rem;
    aspect-ratio: 1 / 1;
    border-radius: inherit;
    background: #111722;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.dashboard-strategy-ring-inner p {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 2rem;
    line-height: 1;
    font-weight: 720;
}

.dashboard-strategy-ring-inner p span {
    color: #e7edf5;
    font-size: 1.3rem;
}

.dashboard-strategy-ring-inner small {
    margin-top: 0.56rem;
    color: #cdd6e1;
    font-size: 0.75rem;
    font-weight: 590;
}

.dashboard-strategy-ring-inner strong {
    margin-top: 0.1rem;
    color: #f3f7fb;
    font-size: 0.84rem;
    font-weight: 720;
}

.dashboard-year-overview {
    overflow: hidden;
}

.dashboard-year-overview-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-year-overview-column + .dashboard-year-overview-column {
    border-left: 1px solid #303847;
    padding-left: 1rem;
}

.dashboard-year-overview-year {
    margin: 0;
    color: #d7dde7;
    font-size: 1.03rem;
    font-weight: 650;
}

.dashboard-year-overview-year span {
    color: #9fa8b7;
    font-size: 0.78rem;
    font-weight: 520;
}

.dashboard-year-overview-count {
    margin: 0.72rem 0 0;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 2.4rem;
    line-height: 0.95;
    font-weight: 700;
}

.dashboard-year-overview-count span {
    color: #9ba5b5;
    font-size: 1.25rem;
    font-weight: 650;
}

.dashboard-year-overview-count--brand {
    color: #ffb13b;
}

.dashboard-year-overview-count--blue {
    color: #6aa5ff;
}

.dashboard-year-overview-caption {
    margin: 0.5rem 0 0;
    color: #a9b2c0;
    font-size: 0.82rem;
}

.dashboard-year-overview-progress {
    margin-top: 0.76rem;
    height: 0.44rem;
    border-radius: 999px;
    background: #3d4654;
    overflow: hidden;
}

.dashboard-year-overview-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffad32, #ffc83d);
}

.dashboard-year-overview-warning {
    margin: 0.72rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffc83d;
    font-size: 0.78rem;
    font-weight: 620;
}

.dashboard-year-overview-warning svg,
.dashboard-year-overview-recommendation svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.dashboard-year-overview-pill {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(92, 145, 255, 0.5);
    background: rgba(50, 100, 215, 0.12);
    color: #8db8ff;
    padding: 0.42rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 620;
}

.dashboard-year-overview-recommendation {
    margin-top: 1.1rem;
    border-radius: 12px;
    border: 1px solid #2e3847;
    background: rgba(20, 26, 36, 0.76);
    display: flex;
    align-items: center;
    gap: 0.58rem;
    padding: 0.74rem 0.82rem;
    color: #d8dee8;
    font-size: 0.84rem;
}

.dashboard-year-overview-recommendation svg {
    color: #62a4ff;
}

.dashboard-next-release {
    margin-top: 1rem;
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr);
    gap: 1.1rem;
}

.dashboard-next-release-cover {
    width: min(100%, 11.5rem);
    aspect-ratio: 1 / 1;
    align-self: start;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #4b5568;
    background: #111826;
}

.dashboard-next-release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-next-release-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.dashboard-next-release-title {
    margin: 0;
    color: #f4f5f6;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.18;
}

.dashboard-next-release-alert {
    margin-top: 0.62rem;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 176, 0, 0.72);
    background: rgba(54, 35, 8, 0.76);
    color: #ffbf4f;
    padding: 0.34rem 0.58rem;
    font-size: 0.76rem;
    font-weight: 680;
}

.dashboard-next-release-alert svg {
    width: 0.88rem;
    height: 0.88rem;
}

.dashboard-next-release-label {
    margin: 1rem 0 0;
    color: #a6afbf;
    font-size: 0.82rem;
}

.dashboard-next-release-interval {
    margin: 0.12rem 0 0;
    color: #39e49b;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.55rem;
    line-height: 1.08;
    font-weight: 700;
}

.dashboard-next-release-date {
    margin: 0.42rem 0 0;
    color: #aeb7c5;
    font-size: 0.82rem;
}

.dashboard-next-release-cta {
    margin-top: 1rem;
    gap: 0.48rem;
    white-space: nowrap;
    text-decoration: none;
}

.dashboard-next-release-cta svg {
    width: 1rem;
    height: 1rem;
}

.dashboard-active-releases-panel {
    overflow: hidden;
}

.dashboard-active-releases-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-active-releases-link {
    gap: 0.42rem;
    font-size: 0.76rem;
    white-space: nowrap;
    text-decoration: none;
}

.dashboard-active-releases-link svg {
    width: 0.92rem;
    height: 0.92rem;
}

.dashboard-active-releases-grid {
    margin-top: 1.08rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 16.5rem));
    gap: 1rem;
    justify-content: start;
}

.dashboard-active-release-card,
.dashboard-active-release-create {
    min-width: 0;
    border-radius: 14px;
    border: 1px solid #4a5568;
    background: rgba(11, 15, 22, 0.6);
    text-decoration: none;
}

.dashboard-active-release-card {
    position: relative;
    overflow: hidden;
    padding: 0.72rem;
    color: #e7edf6;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-active-release-card:hover {
    border-color: rgba(255, 200, 61, 0.58);
    background: rgba(15, 21, 31, 0.82);
    transform: translateY(-1px);
}

.dashboard-current-projects-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-current-projects-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.72rem;
}

.dashboard-current-project {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    border-radius: 14px;
    border: 1px solid #455066;
    background: rgba(11, 15, 22, 0.54);
    padding: 0.86rem 0.92rem;
    color: #e9eef7;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-current-project:hover {
    border-color: rgba(255, 200, 61, 0.54);
    background: rgba(15, 21, 31, 0.82);
    transform: translateY(-1px);
}

.dashboard-current-project-status {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    margin-top: 0.24rem;
    background: #9aa5b5;
    box-shadow: 0 0 0 4px rgba(154, 165, 181, 0.12);
}

.dashboard-current-project--active .dashboard-current-project-status {
    background: #53d2a0;
    box-shadow: 0 0 0 4px rgba(83, 210, 160, 0.14);
}

.dashboard-current-project--waiting .dashboard-current-project-status {
    background: #ffc83d;
    box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.14);
}

.dashboard-current-project--planned .dashboard-current-project-status {
    background: #8ab4ff;
    box-shadow: 0 0 0 4px rgba(138, 180, 255, 0.14);
}

.dashboard-current-project-main {
    min-width: 0;
}

.dashboard-current-project-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.dashboard-current-project-title {
    margin: 0;
    color: #f5f7fb;
    font-size: 0.95rem;
    line-height: 1.25;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-current-project-badge {
    flex: 0 0 auto;
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.32);
    padding: 0.18rem 0.5rem;
    color: #ffd56b;
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 700;
}

.dashboard-current-project-meta {
    margin: 0.24rem 0 0;
    color: #aeb8c7;
    font-size: 0.8rem;
    line-height: 1.35;
}

.dashboard-current-project-progress-head {
    margin-top: 0.66rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #c5cfdb;
    font-size: 0.76rem;
    font-weight: 680;
}

.dashboard-active-release-top {
    position: relative;
    display: grid;
    grid-template-columns: 4.35rem minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
}

.dashboard-active-release-cover {
    width: 4.35rem;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(104, 118, 143, 0.72);
    background: #111826;
    box-shadow: 0 14px 28px -22px rgba(0, 0, 0, 0.95);
}

.dashboard-active-release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-active-release-main {
    min-width: 0;
    display: grid;
    gap: 0.5rem;
}

.dashboard-active-release-title {
    margin: 0;
    color: #f4f7fb;
    font-size: 0.94rem;
    line-height: 1.16;
    font-weight: 700;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dashboard-active-release-status {
    justify-self: start;
    max-width: 100%;
    font-size: 0.66rem;
    padding: 0.22rem 0.46rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-active-release-meta {
    margin-top: 0.9rem;
    border-top: 1px solid rgba(67, 78, 98, 0.58);
    padding-top: 0.72rem;
    display: grid;
    gap: 0.16rem;
}

.dashboard-active-release-meta span,
.dashboard-active-release-progress-head {
    color: #9faabc;
    font-size: 0.76rem;
}

.dashboard-active-release-meta strong {
    color: #e8edf5;
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 640;
}

.dashboard-active-release-progress-head {
    margin-top: 0.86rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.dashboard-active-release-progress-track {
    margin-top: 0.34rem;
    height: 0.34rem;
    border-radius: 999px;
    background: rgba(60, 70, 86, 0.86);
    overflow: hidden;
}

.dashboard-active-release-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #8b95a5;
}

.dashboard-active-release-progress--brand {
    background: linear-gradient(90deg, #ffb22d, #ffc83d);
}

.dashboard-active-release-progress--blue {
    background: linear-gradient(90deg, #4b83ff, #75a6ff);
}

.dashboard-active-release-progress--purple {
    background: linear-gradient(90deg, #a044ff, #c175ff);
}

.dashboard-active-release-create {
    min-height: 11.7rem;
    border-style: dashed;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.72rem;
    color: #d8e0ec;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dashboard-active-release-create:hover {
    border-color: rgba(255, 200, 61, 0.7);
    background: rgba(255, 200, 61, 0.07);
    color: #fff3c8;
    transform: translateY(-1px);
}

.dashboard-active-release-create span {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 155, 176, 0.76);
    background: rgba(20, 28, 40, 0.74);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-active-release-create svg {
    width: 1.2rem;
    height: 1.2rem;
}

.dashboard-active-release-create strong {
    max-width: 5.2rem;
    color: inherit;
    font-size: 0.9rem;
    line-height: 1.16;
    font-weight: 660;
}

.dashboard-active-release-card.release-tile-card {
    display: block;
    padding: 0;
    color: inherit;
}

.dashboard-active-release-card.release-tile-card:hover {
    background: var(--release-tile-card-bg) !important;
}

.dashboard-active-release-card .release-tile-body {
    min-height: 9rem;
}

.dashboard-active-release-card .release-tile-title {
    pointer-events: none;
}

.dashboard-next-step-panel {
    display: grid;
    gap: 1rem;
    border-color: rgba(255, 200, 61, 0.44);
    background: linear-gradient(135deg, rgba(24, 28, 34, 0.96) 0%, rgba(36, 31, 18, 0.9) 100%);
}

.dashboard-next-step-panel--blue {
    border-color: rgba(93, 156, 236, 0.42);
    background: linear-gradient(135deg, rgba(20, 28, 42, 0.96) 0%, rgba(16, 35, 56, 0.9) 100%);
}

.dashboard-next-step-panel--green {
    border-color: rgba(79, 196, 139, 0.42);
    background: linear-gradient(135deg, rgba(18, 33, 29, 0.96) 0%, rgba(14, 48, 37, 0.9) 100%);
}

.dashboard-next-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.dashboard-next-step-badge {
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.5);
    padding: 0.22rem 0.55rem;
    color: #ffd56b;
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 720;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-next-step-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.82rem;
}

.dashboard-next-step-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 12px;
    background: rgba(255, 200, 61, 0.18);
    color: #ffd15b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-next-step-panel--blue .dashboard-next-step-icon {
    background: rgba(93, 156, 236, 0.18);
    color: #8cc4ff;
}

.dashboard-next-step-panel--green .dashboard-next-step-icon {
    background: rgba(79, 196, 139, 0.18);
    color: #73e0aa;
}

.dashboard-next-step-icon svg {
    width: 1.28rem;
    height: 1.28rem;
}

.dashboard-next-step-copy {
    min-width: 0;
}

.dashboard-next-step-title {
    margin: 0;
    color: #f5f7fb;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 720;
}

.dashboard-next-step-text {
    margin: 0.35rem 0 0;
    color: #c8d0dc;
    font-size: 0.88rem;
    line-height: 1.45;
}

.dashboard-next-step-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    border-radius: 10px;
    background: var(--brand);
    color: #16130a;
    padding: 0.62rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 760;
    text-decoration: none;
}

.dashboard-next-step-link:hover {
    background: var(--brand-strong);
}

.dashboard-next-step-link svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.4;
}

.dashboard-overdue-panel {
    padding-bottom: 0.82rem;
}

.dashboard-overdue-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-overdue-count {
    min-width: 1.72rem;
    height: 1.72rem;
    border-radius: 999px;
    background: #ea4f5f;
    color: #fff6f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.42rem;
    font-size: 0.82rem;
    font-weight: 760;
}

.dashboard-overdue-list {
    margin-top: 0.82rem;
    display: grid;
}

.dashboard-overdue-item {
    border-top: 1px solid rgba(57, 67, 84, 0.82);
    padding: 0.72rem 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.72rem;
    align-items: start;
    color: #e9eef7;
    text-decoration: none;
}

.dashboard-overdue-item:hover .dashboard-overdue-title {
    color: #fff2bf;
}

.dashboard-overdue-icon {
    width: 1.48rem;
    height: 1.48rem;
    border-radius: 7px;
    background: rgba(231, 75, 92, 0.2);
    color: #f05d6d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-overdue-icon svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.5;
}

.dashboard-overdue-main {
    min-width: 0;
}

.dashboard-overdue-title {
    margin: 0;
    color: #f4f7fb;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 620;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-overdue-release {
    margin: 0.2rem 0 0;
    color: #a6b0bf;
    font-size: 0.78rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-overdue-age {
    min-width: 4.8rem;
    text-align: right;
}

.dashboard-overdue-age strong,
.dashboard-overdue-age span {
    display: block;
}

.dashboard-overdue-age strong {
    color: #ff5a66;
    font-size: 0.9rem;
    line-height: 1.1;
    font-weight: 760;
}

.dashboard-overdue-age span {
    margin-top: 0.16rem;
    color: #ff6570;
    font-size: 0.74rem;
    line-height: 1.1;
    font-weight: 640;
}

.dashboard-overdue-all-link {
    border-top: 1px solid rgba(57, 67, 84, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding-top: 0.7rem;
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 560;
    text-decoration: none;
}

.dashboard-overdue-all-link:hover {
    color: var(--brand-strong);
}

.dashboard-overdue-all-link svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 1220px) {
    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard-top-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-profile-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-year-overview-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-year-overview-column + .dashboard-year-overview-column {
        border-left: 0;
        border-top: 1px solid #303847;
        padding-left: 0;
        padding-top: 1rem;
    }

    .dashboard-strategy-profile-content {
        grid-template-columns: 1fr;
    }

    .dashboard-strategy-ring {
        justify-self: center;
    }

    .dashboard-next-release {
        grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-metric-card {
        padding: 1.1rem 1.05rem;
    }

    .dashboard-panel {
        padding: 1.02rem;
    }

    .dashboard-strategy-profile-head {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-strategy-profile-edit {
        align-self: flex-start;
    }

    .dashboard-strategy-ring {
        width: min(100%, 9.4rem);
    }

    .dashboard-next-release {
        grid-template-columns: 1fr;
    }

    .dashboard-next-release-cover {
        width: min(100%, 14rem);
    }

    .dashboard-active-releases-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .dashboard-current-projects-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .dashboard-active-releases-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-active-release-card {
        padding: 0.62rem;
    }

    .dashboard-active-release-create {
        min-height: 7rem;
    }

    .dashboard-insight-attention-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-overdue-item {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.6rem;
    }

    .dashboard-overdue-age {
        min-width: 4.2rem;
    }
}

.field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.81rem;
    font-weight: 680;
    color: #d6d6d6;
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--field-border);
    background: var(--field-bg);
    color: var(--field-text);
    font-size: 0.92rem;
    color-scheme: dark;
}

.field-input,
.field-select {
    padding: 0.63rem 0.8rem;
}

/* Ensure text-like inputs with field-input match select corner radius */
input[type='text'].field-input,
input[type='email'].field-input,
input[type='url'].field-input,
input[type='file'].field-input,
input[type='number'].field-input,
input[type='password'].field-input,
input[type='month'].field-input,
input[type='date'].field-input {
    border-radius: 14px;
}

.field-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5L10 12L14.5 7.5' stroke='%23f3f3f3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
    padding-right: 2.35rem;
}

.field-select::-ms-expand {
    display: none;
}

.field-filter-trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 14px;
    border: 1px solid var(--field-border);
    background: var(--field-bg);
    color: var(--field-text);
    font-size: 0.92rem;
    font-weight: 560;
    padding: 0.63rem 0.8rem;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.field-filter-trigger::-webkit-details-marker {
    display: none;
}

.field-filter-trigger:focus-visible {
    outline: none;
    border-color: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2);
}

.field-filter-trigger svg {
    width: 0.92rem;
    height: 0.92rem;
    color: currentColor;
}

/* Global checkbox shape: use circles everywhere */
input[type='checkbox'] {
    border-radius: 999px !important;
}

.field-textarea {
    min-height: 110px;
    padding: 0.72rem 0.82rem;
}

/* Keep all text-like form controls dark across the app */
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='date'],
input[type='month'],
input[type='url'],
input[type='search'],
input[type='tel'],
select,
textarea {
    border-color: var(--field-border);
    background: var(--field-bg);
    color: var(--field-text);
    color-scheme: dark;
}

.field-input::placeholder,
.field-select::placeholder,
.field-textarea::placeholder,
input[type='text']::placeholder,
input[type='email']::placeholder,
input[type='password']::placeholder,
input[type='number']::placeholder,
input[type='date']::placeholder,
input[type='month']::placeholder,
input[type='url']::placeholder,
input[type='search']::placeholder,
input[type='tel']::placeholder,
textarea::placeholder {
    color: var(--field-placeholder);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    outline: none;
    border-color: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2);
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='url']:focus,
input[type='search']:focus,
input[type='tel']:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2);
}

.field-input:disabled,
.field-select:disabled,
.field-textarea:disabled,
input[type='text']:disabled,
input[type='email']:disabled,
input[type='password']:disabled,
input[type='number']:disabled,
input[type='date']:disabled,
input[type='month']:disabled,
input[type='url']:disabled,
input[type='search']:disabled,
input[type='tel']:disabled,
select:disabled,
textarea:disabled {
    background: var(--field-bg-disabled);
    border-color: #343434;
    color: #a1a1a1;
    opacity: 1;
}

/* Prevent bright browser autofill overlays on dark fields */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--field-text);
    -webkit-box-shadow: 0 0 0 1000px var(--field-bg) inset;
    transition: background-color 9999s ease-in-out 0s;
}

.page-header-wrap {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.page-header-title {
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.78rem;
    font-weight: 640;
    letter-spacing: -0.02em;
    color: #f8f8f8;
}

.page-header-subtitle {
    margin-top: 0.24rem;
    max-width: 42rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #9f9f9f;
}

@media (min-width: 768px) {
    .page-header-wrap {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .page-header-title {
        font-size: 1.45rem;
        line-height: 1.2;
        word-break: break-word;
    }
}

.calendar-day {
    min-height: 86px;
}

.calendar-month-day {
    min-height: 150px;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.calendar-month-day.is-drop-target {
    border-color: #ffc83d;
    background: linear-gradient(180deg, rgba(255, 200, 61, 0.12), rgba(0, 0, 0, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 200, 61, 0.45), 0 8px 20px -16px rgba(255, 200, 61, 0.45);
    transform: scale(1.008);
    z-index: 2;
}

.js-calendar-event.is-dragging-event {
    opacity: 0.62;
    box-shadow: 0 0 0 2px rgba(255, 200, 61, 0.95);
}

.calendar-event-drag-ghost {
    border-radius: 8px;
    border: 1px solid #383838;
    background: rgba(15, 15, 15, 0.9);
    color: #f5f5f5;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 28px -16px rgba(15, 23, 42, 0.35);
}

.switch {
    position: relative;
    display: inline-flex;
    width: 46px;
    height: 28px;
}

.switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    width: 46px;
    height: 28px;
    border-radius: 999px;
    background: #2d2d2d;
    transition: background 0.2s ease;
    position: relative;
    cursor: pointer;
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    top: 3px;
    left: 3px;
    border-radius: 999px;
    background: #f5f5f5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.switch input:checked + .switch-slider {
    background: #ffc83d;
}

.release-detail-header {
    margin-bottom: 1.1rem;
    --release-header-cover-width: clamp(160px, 20vw, 280px);
    --release-header-main-gap: clamp(1.15rem, 1.9vw, 1.75rem);
}

.release-detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    min-width: 0;
}

.release-detail-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #8e8e8e;
    font-size: 0.82rem;
    font-weight: 560;
    min-width: 0;
}

.release-detail-breadcrumbs > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.release-detail-breadcrumbs a {
    color: #b5b5b5;
    text-decoration: none;
}

.release-detail-breadcrumbs a:hover {
    color: #ffe39c;
}

.release-detail-header-row {
    margin-top: 0.78rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    min-width: 0;
}

.release-detail-header-main {
    display: flex;
    align-items: flex-start;
    gap: var(--release-header-main-gap);
    min-width: 0;
    flex: 1 1 720px;
}

.release-detail-header-cover {
    width: var(--release-header-cover-width);
    flex-shrink: 0;
}

.release-detail-header-cover-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0.95rem;
    overflow: hidden;
    border: 1px solid #2e3542;
    background: linear-gradient(135deg, #152033 0%, #0c111b 100%);
}

.release-detail-header-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-detail-heading {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: var(--release-header-cover-width);
}

.release-detail-heading-summary {
    width: 100%;
    min-width: 0;
}

.release-detail-status-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.52rem;
}

.release-detail-title {
    margin: 0;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(1.65rem, 3.25vw, 2.8rem);
    line-height: 1.02;
    color: #f5f5f5;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.release-detail-meta {
    margin-top: 0.62rem;
    display: flex;
    align-items: center;
    gap: 0.95rem 1.2rem;
    flex-wrap: wrap;
    color: #c0cad8;
    font-size: 0.95rem;
}

.release-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #c0cad8;
    font-weight: 540;
    white-space: nowrap;
}

.release-detail-meta-item svg,
.release-detail-meta-item i {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
    flex-shrink: 0;
}

.release-detail-meta-timing {
    color: inherit;
}

.release-detail-meta-timing--upcoming {
    color: #4ade80;
}

.release-detail-header-info-box {
    margin-top: 0.9rem;
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 0.95rem;
    border: 1px solid var(--border);
    background: #1b1f25;
    box-shadow:
        0 22px 36px -30px rgba(0, 0, 0, 0.88),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: 0.72rem 0.86rem;
    overflow: hidden;
}

.release-detail-header-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    min-height: 0;
    overflow: visible;
}

.release-detail-header-info-grid.is-with-production {
    grid-template-columns: 1fr;
}

.release-detail-header-info-column {
    min-width: 0;
    padding: 0;
}

.release-detail-header-info-column + .release-detail-header-info-column {
    border-top: 1px solid rgba(79, 89, 104, 0.72);
    padding-top: 0.7rem;
}

.release-detail-header-info-column--production .release-detail-production-checks {
    gap: 0.44rem;
}

.release-detail-header-info-column--production .release-detail-production-toggle {
    border-radius: 0.72rem;
    padding: 0.4rem 0.5rem;
}

.release-detail-header-info-column--production .release-detail-production-toggle p {
    font-size: 0.72rem;
    line-height: 1.2;
}

.release-detail-header-info-kicker {
    margin: 0 0 0.56rem;
    color: #f0cb62;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 680;
}

.release-detail-header-info-list {
    margin: 0;
    display: grid;
    gap: 0.46rem;
}

.release-detail-header-info-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.5rem;
    min-width: 0;
}

.release-detail-header-info-list > div.release-detail-header-info-slots-table {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.36rem;
}

.release-detail-header-info-slots-table dd {
    text-align: left;
}

.release-detail-production-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.release-detail-production-slot {
    min-width: 0;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(11, 16, 23, 0.46);
    padding: 0.42rem 0.46rem;
    text-align: center;
}

.release-detail-production-slot.is-target {
    border-color: rgba(255, 200, 61, 0.42);
    background: rgba(255, 200, 61, 0.08);
}

.release-detail-production-slot span,
.release-detail-production-slot strong {
    display: block;
    overflow-wrap: anywhere;
}

.release-detail-production-slot span {
    color: #afbac8;
    font-size: 0.68rem;
    font-weight: 760;
    line-height: 1.2;
    text-transform: uppercase;
}

.release-detail-production-slot strong {
    margin-top: 0.22rem;
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.15;
}

.release-detail-header-info-list dt {
    margin: 0;
    color: #afbac8;
    font-size: 0.78rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.release-detail-header-info-list dd {
    margin: 0;
    color: #f5f5f5;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
    min-width: 0;
}

.release-detail-header-info-list dd.release-detail-header-info-value--warning {
    color: #f0cb62;
}

.release-detail-header-info-list dd.release-detail-header-info-value--success {
    color: #3ee18b;
}

.release-detail-header-info-list dd.release-detail-header-info-value--danger {
    color: #ff758f;
}

.release-detail-header-info-list dd.release-detail-header-info-value--muted {
    color: #8f9bad;
}

.release-detail-production-slot-value--warning {
    color: #f0cb62;
}

.release-detail-production-slot-value--success {
    color: #3ee18b;
}

.release-detail-production-slot-value--danger {
    color: #ff758f;
}

.release-detail-production-slot-value--muted {
    color: #8f9bad;
}

.release-detail-header-info-list small {
    grid-column: 1 / -1;
    color: #3ad39f;
    font-size: 0.79rem;
    font-weight: 600;
}

.release-detail-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    flex-shrink: 0;
}

.release-detail-actions form {
    min-width: 0;
}

.release-detail-mobile-actions {
    display: none;
}

.release-live-toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    border-width: 2px;
    padding: 0.42rem 0.7rem;
}

.release-live-toggle-chip > span {
    font-size: 0.73rem;
    font-weight: 650;
    color: #f4f4f4;
}

.release-detail-action-menu {
    position: relative;
}

.release-detail-action-menu > summary {
    list-style: none;
}

.release-detail-action-menu > summary::-webkit-details-marker {
    display: none;
}

.release-detail-action-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.38rem);
    width: 12rem;
    border-radius: 0.8rem;
    border: 1px solid #454c58;
    background: #14181e;
    box-shadow: 0 20px 36px -26px rgba(0, 0, 0, 0.92);
    padding: 0.55rem;
    z-index: 16;
}

.release-detail-action-menu:not([open]) .release-detail-action-menu-panel {
    display: none;
}

.release-detail-tabs {
    margin-top: 0.9rem;
    display: flex;
    align-items: flex-end;
    gap: 1.05rem;
    overflow-x: visible;
    border-bottom: 1px solid rgba(74, 88, 111, 0.58);
    padding-bottom: 0.05rem;
    padding-left: 0;
}

.release-detail-tabs a,
.release-detail-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    border: 0;
    background: transparent;
    color: #a3afbf;
    font-size: 1.02rem;
    font-weight: 540;
    padding: 0.68rem 0.08rem 0.8rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.release-detail-tabs a:hover,
.release-detail-tabs button:hover {
    color: #d5deeb;
    background: transparent;
}

.release-detail-tabs a.is-active,
.release-detail-tabs button.is-active {
    color: #f4c84c;
    font-weight: 620;
}

.release-detail-tabs a.is-active::after,
.release-detail-tabs button.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: #f4c84c;
}

.release-detail-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: #1b1f25;
    color: #d8d8d8;
    font-size: 0.68rem;
    font-weight: 680;
    padding: 0 0.3rem;
}

.release-detail-alert-stack {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.release-detail-alert {
    margin: 0;
}

.release-detail-layout {
    display: block;
    gap: 1rem;
    width: 100%;
    max-width: none;
}

.release-detail-layout > [data-release-tab-panel] {
    width: 100%;
    max-width: none;
}

.release-detail-layout > [data-release-tab-panel] > * {
    width: 100%;
    max-width: none;
}

.release-detail-layout > [data-release-tab-panel] > .surface-card {
    width: 100%;
    max-width: none;
}

@media (min-width: 760px) {
    .release-detail-header-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .release-detail-header-info-grid.is-with-production {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .release-detail-header-info-column {
        padding: 0 0.8rem;
    }

    .release-detail-header-info-column:first-child,
    .release-detail-header-info-grid.is-with-production .release-detail-header-info-column:nth-child(3) {
        padding-left: 0;
    }

    .release-detail-header-info-column:last-child {
        padding-right: 0;
    }

    .release-detail-header-info-column + .release-detail-header-info-column {
        border-top: 0;
        border-left: 1px solid rgba(79, 89, 104, 0.72);
        padding-top: 0;
    }

    .release-detail-header-info-grid.is-with-production .release-detail-header-info-column:nth-child(3) {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(79, 89, 104, 0.72);
        margin-top: 0.7rem;
        padding-top: 0.7rem;
        padding-right: 0;
    }
}

@media (min-width: 1160px) {
    .release-detail-header-info-grid.is-with-production {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .release-detail-header-info-grid.is-with-production .release-detail-header-info-column:nth-child(3) {
        grid-column: auto;
        border-top: 0;
        border-left: 1px solid rgba(79, 89, 104, 0.72);
        margin-top: 0;
        padding-top: 0;
        padding-left: 0.8rem;
    }
}

.release-detail-overview-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: start;
}

.release-detail-overview-grid > * {
    align-self: start;
}

.release-detail-card-kicker {
    margin: 0;
    color: #f4f4f4;
    font-size: 0.96rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 680;
}

.release-detail-progress-card {
    display: grid;
    gap: 0.85rem;
}

.release-detail-progress-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
}

.release-detail-progress-ring {
    --progress: 0;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: conic-gradient(#ffc83d calc(var(--progress) * 1%), rgba(70, 76, 88, 0.62) 0);
    position: relative;
}

.release-detail-progress-ring::before {
    content: '';
    position: absolute;
    width: 5.1rem;
    height: 5.1rem;
    border-radius: 999px;
    background: #11151b;
    border: 1px solid #404753;
}

.release-detail-progress-ring span {
    position: relative;
    z-index: 1;
    color: #f8f8f8;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.release-detail-progress-summary {
    min-width: 0;
}

.release-detail-progress-text {
    margin: 0;
    color: #d4d4d4;
    font-size: 0.93rem;
    font-weight: 560;
}

.release-detail-progress-track {
    margin-top: 0.58rem;
    height: 0.36rem;
    border-radius: 999px;
    background: rgba(74, 81, 93, 0.72);
    overflow: hidden;
}

.release-detail-progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd56b 0%, #ffc83d 100%);
}

.release-detail-progress-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.release-detail-progress-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid #454c58;
    background: rgba(26, 30, 36, 0.86);
    min-height: 6.1rem;
    padding: 0.72rem 0.58rem;
    text-align: center;
}

.release-detail-progress-stats > div span {
    display: block;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 650;
}

.release-detail-progress-stats > div small {
    display: block;
    margin-top: 0.22rem;
    color: #a7a7a7;
    font-size: 0.76rem;
    font-weight: 560;
}

.release-detail-progress-stats .is-danger {
    border-color: #7f2234;
    background: rgba(59, 20, 28, 0.5);
}

.release-detail-progress-stats .is-danger span {
    color: #ff8ea3;
}

.release-detail-progress-stats .is-warning {
    border-color: #a87b1c;
    background: rgba(59, 42, 10, 0.5);
}

.release-detail-progress-stats .is-warning span {
    color: #ffd98a;
}

.release-detail-progress-stats .is-success {
    border-color: #2f7b61;
    background: rgba(15, 36, 27, 0.56);
}

.release-detail-progress-stats .is-success span {
    color: #8de6bf;
}

.release-detail-next-card {
    display: grid;
    gap: 0.72rem;
    align-content: start;
}

.release-detail-next-title {
    margin: 0;
    color: #f4f4f4;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 620;
}

.release-detail-next-meta {
    margin: 0;
    color: #a8a8a8;
    font-size: 0.86rem;
}

.release-detail-next-owner {
    margin-top: 0.4rem;
    border-top: 1px solid #3f4652;
    padding-top: 0.62rem;
}

.release-detail-next-owner span {
    color: #8f8f8f;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 680;
}

.release-detail-next-owner p {
    margin: 0.3rem 0 0;
    color: #e2e2e2;
    font-size: 0.9rem;
    font-weight: 580;
}

.release-detail-side-card {
    display: grid;
    gap: 0.78rem;
    align-content: start;
}

.release-detail-summary-card {
    gap: 0.9rem;
}

.release-detail-summary-block {
    display: grid;
    gap: 0.55rem;
}

.release-detail-summary-block + .release-detail-summary-block {
    border-top: 1px solid #3f4652;
    padding-top: 0.72rem;
}

.release-detail-side-title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    color: #f4f4f4;
    font-size: 0.96rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 680;
}

.release-detail-side-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    border: 1px solid #7f2234;
    background: rgba(59, 20, 28, 0.6);
    color: #ff9fb0;
    font-size: 0.72rem;
    font-weight: 680;
}

.release-detail-info-list,
.release-detail-dates-list {
    margin: 0;
    display: grid;
    gap: 0.62rem;
}

.release-detail-info-list > div,
.release-detail-dates-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: baseline;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3f4652;
}

.release-detail-info-list > div:last-child,
.release-detail-dates-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.release-detail-info-list dt,
.release-detail-dates-list dt {
    margin: 0;
    color: #9a9a9a;
    font-size: 0.78rem;
}

.release-detail-info-list dd,
.release-detail-dates-list dd {
    margin: 0;
    color: #ececec;
    font-size: 0.9rem;
    font-weight: 600;
}

.release-detail-dates-list small {
    grid-column: 1 / -1;
    color: #86e4b8;
    font-size: 0.76rem;
    font-weight: 560;
}

.release-detail-side-subtitle {
    margin: 0 0 0.55rem;
    color: #9a9a9a;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 670;
}

.release-detail-production-checks {
    display: grid;
    gap: 0.55rem;
}

.release-detail-production-toggle {
    border-width: 2px;
    border-radius: 0.85rem;
    padding: 0.56rem 0.68rem;
}

.release-detail-team-avatars {
    display: flex;
    align-items: center;
    gap: 0.34rem;
    flex-wrap: wrap;
}

.release-detail-team-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: #171b21;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6d6d6;
    font-size: 0.74rem;
    font-weight: 670;
}

.release-detail-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-detail-team-avatar.is-overflow {
    background: #212730;
    color: #c3c3c3;
}

.release-detail-team-pending {
    margin: 0;
    color: #95a6bc;
    font-size: 0.76rem;
}

.release-detail-problems-list {
    display: grid;
    gap: 0.52rem;
}

.release-detail-problems-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid #3f4652;
    padding-bottom: 0.45rem;
}

.release-detail-problems-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.release-detail-problems-list p {
    margin: 0;
    color: #e2e2e2;
    font-size: 0.86rem;
}

.release-detail-problems-list small {
    font-size: 0.75rem;
    font-weight: 620;
    text-transform: capitalize;
}

.release-detail-problems-list small.is-hoch {
    color: #ff8ea3;
}

.release-detail-problems-list small.is-mittel {
    color: #ffd98a;
}

.release-detail-problems-list small.is-niedrig {
    color: #8de6bf;
}

.release-detail-no-problems {
    margin: 0;
    color: #8f8f8f;
    font-size: 0.84rem;
}

.release-detail-files-overview-card {
    display: grid;
    gap: 0.72rem;
    align-content: start;
}

.release-detail-notes-overview-card {
    display: grid;
    gap: 0.72rem;
    align-content: start;
}

.release-detail-notes-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.release-detail-notes-overview-title {
    margin: 0;
    color: #f4f4f4;
    font-size: 1.1rem;
    font-weight: 620;
    line-height: 1.15;
}

.release-detail-notes-overview-show-all {
    border-radius: 0.72rem;
    padding: 0.42rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.1;
    font-weight: 620;
    white-space: nowrap;
}

.release-detail-notes-overview-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr);
}

.release-detail-notes-overview-item {
    border-radius: 0.72rem;
    border: 1px solid #3f4652;
    background: linear-gradient(155deg, rgba(20, 24, 32, 0.92) 0%, rgba(14, 18, 25, 0.92) 100%);
    padding: 0.78rem 0.85rem;
    min-height: 8rem;
    display: grid;
    gap: 0.55rem;
    align-content: start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    border-left-width: 2px;
}

.release-detail-notes-overview-item--amber {
    border-left-color: #d4a739;
}

.release-detail-notes-overview-item--green {
    border-left-color: #37b386;
}

.release-detail-notes-overview-item--blue {
    border-left-color: #4f97de;
}

.release-detail-notes-overview-item--purple {
    border-left-color: #9e69d5;
}

.release-detail-notes-overview-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

.release-detail-notes-overview-item-title {
    margin: 0;
    color: #f3f3f3;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.24;
}

.release-detail-notes-overview-item--amber .release-detail-notes-overview-item-title {
    color: #ffd882;
}

.release-detail-notes-overview-item--green .release-detail-notes-overview-item-title {
    color: #80e6c4;
}

.release-detail-notes-overview-item--blue .release-detail-notes-overview-item-title {
    color: #8dc0ff;
}

.release-detail-notes-overview-item--purple .release-detail-notes-overview-item-title {
    color: #c9a0ff;
}

.release-detail-notes-overview-item-time {
    margin: 0;
    color: #95a6bc;
    font-size: 0.72rem;
    white-space: nowrap;
    line-height: 1.35;
}

.release-detail-notes-overview-item-content {
    margin: 0;
    color: rgba(225, 231, 240, 0.92);
    font-size: 0.79rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.release-detail-notes-overview-item-meta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
}

.release-detail-notes-overview-item-avatar {
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 245, 252, 0.34);
    background: rgba(9, 13, 20, 0.5);
    color: #e9eef7;
    font-size: 0.62rem;
    font-weight: 670;
    line-height: 1;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.release-detail-notes-overview-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-detail-notes-overview-item-author {
    color: rgba(205, 214, 226, 0.9);
    font-size: 0.72rem;
    font-weight: 560;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-detail-notes-overview-empty {
    margin: 0;
    color: #9aa6b5;
    font-size: 0.84rem;
}

.release-detail-files-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.release-detail-files-title {
    margin: 0;
    color: #f4f4f4;
    font-size: 1.1rem;
    font-weight: 620;
    line-height: 1.15;
}

.release-detail-files-show-all {
    border-radius: 0.72rem;
    padding: 0.42rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.1;
    font-weight: 620;
    white-space: nowrap;
}

.release-detail-files-list {
    display: grid;
}

.release-detail-files-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.72rem;
    padding: 0.56rem 0.06rem;
    border-bottom: 1px solid #3f4652;
}

.release-detail-files-row:last-child {
    border-bottom: 0;
}

.release-detail-files-main {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    min-width: 0;
}

.release-detail-file-icon {
    width: 1.72rem;
    height: 1.72rem;
    border-radius: 0.48rem;
    border: 1px solid #4b5362;
    background: rgba(18, 24, 33, 0.86);
    color: #c5ccda;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.release-detail-file-icon svg {
    width: 1rem;
    height: 1rem;
}

.release-detail-file-icon.is-audio {
    border-color: #a87b1c;
    background: rgba(59, 42, 10, 0.5);
    color: #ffd98a;
}

.release-detail-file-icon.is-image {
    border-color: #2b6fa7;
    background: rgba(22, 45, 67, 0.5);
    color: #8fcfff;
}

.release-detail-file-icon.is-video {
    border-color: #6b46ad;
    background: rgba(46, 28, 68, 0.52);
    color: #c8a1ff;
}

.release-detail-file-icon.is-pdf {
    border-color: #8f2336;
    background: rgba(61, 20, 30, 0.54);
    color: #ff9fb0;
}

.release-detail-file-icon.is-archive {
    border-color: #2f7b61;
    background: rgba(15, 36, 27, 0.56);
    color: #8de6bf;
}

.release-detail-file-copy {
    min-width: 0;
}

.release-detail-file-name {
    display: inline-block;
    max-width: 100%;
    color: #eef2f8;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 560;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-detail-file-name:hover {
    color: #ffe39c;
}

.release-detail-file-meta {
    margin: 0.16rem 0 0;
    color: #9aa6b5;
    font-size: 0.75rem;
    line-height: 1.25;
}

.release-detail-file-uploader-avatar {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: #171b21;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6d6d6;
    font-size: 0.62rem;
    font-weight: 670;
    flex-shrink: 0;
}

.release-detail-file-uploader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-detail-files-more-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #82bbff;
    font-size: 0.9rem;
    font-weight: 620;
    text-decoration: none;
}

.release-detail-files-more-link:hover {
    color: #acd2ff;
}

.release-detail-files-empty {
    margin: 0;
    color: #8f8f8f;
    font-size: 0.84rem;
}

.release-files-shell {
    display: grid;
    gap: 1rem;
}

.release-files-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.release-files-kicker {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 680;
}

.release-files-title {
    margin: 0.18rem 0 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 590;
}

.release-files-release-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.72rem;
    align-items: center;
    border-radius: 0.92rem;
    border: 1px solid #3f4652;
    background: rgba(15, 20, 27, 0.75);
    padding: 0.7rem;
}

.release-files-release-cover {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.64rem;
    overflow: hidden;
    border: 1px solid #4a505a;
    background: #171b21;
}

.release-files-release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-files-release-meta {
    min-width: 0;
}

.release-files-release-meta p {
    margin: 0;
    color: #f3f3f3;
    font-size: 1.02rem;
    font-weight: 620;
    line-height: 1.2;
}

.release-files-release-meta > div {
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: #b0b7c2;
    font-size: 0.79rem;
}

.release-files-toolbar {
    --release-toolbar-control-height: 2.68rem;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr);
}

.release-files-toolbar .release-toolbar-search {
    width: 100%;
}

.release-files-filter-select {
    width: 100%;
    height: var(--release-toolbar-control-height);
    border-radius: 14px;
    border-color: var(--field-border);
    background-color: var(--field-bg);
    color: var(--field-text);
    font-size: 0.9rem;
    font-weight: 560;
    line-height: 1.2;
    padding: 0 2.15rem 0 0.8rem;
    background-position: right 0.72rem center;
    background-size: 0.95rem 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.release-files-filter-select:hover {
    border-color: #4f5560;
    background-color: #101010;
}

.release-files-filter-select:focus {
    border-color: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2);
}

.release-files-section-title {
    margin: 0;
    color: #d6d6d6;
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 680;
}

.release-files-folder-grid {
    margin-top: 0.55rem;
    display: grid;
    gap: 0.62rem;
    grid-template-columns: minmax(0, 1fr);
}

.release-files-folder-card {
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(26, 30, 36, 0.96) 0%, rgba(20, 24, 30, 0.96) 100%);
    min-height: 3.2rem;
    padding: 0.68rem 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 16px 24px -24px rgba(0, 0, 0, 0.85);
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.release-files-folder-card:hover {
    border-color: #5b6575;
    background: linear-gradient(180deg, #1e232b 0%, #1a2028 100%);
    transform: translateY(-1px);
}

.release-files-folder-card.is-active {
    border-color: #ffc83d;
    background: linear-gradient(180deg, rgba(39, 35, 23, 0.88) 0%, rgba(27, 25, 20, 0.9) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 200, 61, 0.28), 0 16px 28px -24px rgba(0, 0, 0, 0.75);
}

.release-files-folder-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6dce6;
    flex-shrink: 0;
}

.release-files-folder-icon svg {
    width: 1.08rem;
    height: 1.08rem;
}

.release-files-folder-meta strong {
    display: block;
    color: #eef1f6;
    font-size: 0.83rem;
    font-weight: 590;
    line-height: 1.2;
}

.release-files-folder-meta small {
    display: block;
    margin-top: 0.12rem;
    color: var(--text-muted);
    font-size: 0.69rem;
}

.release-files-folder-card.is-audio .release-files-folder-icon,
.release-files-folder-card.is-artwork .release-files-folder-icon,
.release-files-folder-card.is-promo .release-files-folder-icon,
.release-files-folder-card.is-docs .release-files-folder-icon {
    color: #d6dce6;
}

.release-files-error-box {
    margin-top: 0.6rem;
    border-radius: 0.72rem;
    border: 1px solid #7f2234;
    background: rgba(68, 23, 34, 0.5);
    color: #ffb7c2;
    font-size: 0.82rem;
    padding: 0.6rem 0.7rem;
}

.release-files-table-wrap {
    margin-top: 0.55rem;
    border-radius: 0.95rem;
    border: 1px solid var(--border);
    overflow: auto;
    background: rgba(20, 24, 30, 0.84);
}

.release-files-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.release-files-table thead th {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 630;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.68rem 0.72rem;
    border-bottom: 1px solid #343b47;
}

.release-files-table tbody td {
    padding: 0.62rem 0.72rem;
    border-bottom: 1px solid #2f3641;
    color: var(--text);
    font-size: 0.83rem;
    vertical-align: middle;
}

.release-files-table tbody tr:last-child td {
    border-bottom: 0;
}

.release-files-name-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.release-files-name-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.45rem;
    border: 1px solid #4b5362;
    background: rgba(17, 21, 27, 0.8);
    color: #c1c8d3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.release-files-name-icon i {
    width: 0.95rem;
    height: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.release-files-name-icon.is-audio {
    border-color: #a87b1c;
    background: rgba(59, 42, 10, 0.5);
    color: #ffd98a;
}

.release-files-name-icon.is-image {
    border-color: #2b6fa7;
    background: rgba(22, 45, 67, 0.5);
    color: #8fcfff;
}

.release-files-name-icon.is-video {
    border-color: #6b46ad;
    background: rgba(46, 28, 68, 0.52);
    color: #c8a1ff;
}

.release-files-name-icon.is-pdf {
    border-color: #8f2336;
    background: rgba(61, 20, 30, 0.54);
    color: #ff9fb0;
}

.release-files-name-icon.is-archive {
    border-color: #2f7b61;
    background: rgba(15, 36, 27, 0.56);
    color: #8de6bf;
}

.release-files-name-icon.is-file {
    border-color: #4b5362;
    background: #171d27;
    color: #b7c0cd;
}

.release-files-name-text {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 560;
    line-height: 1.3;
    word-break: break-word;
}

.release-files-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.1rem;
    border-radius: 999px;
    border: 1px solid #465063;
    background: rgba(27, 32, 40, 0.9);
    color: #d8dee8;
    font-size: 0.7rem;
    font-weight: 650;
    padding: 0.13rem 0.45rem;
}

.release-files-row-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: flex-end;
}

.release-files-uploader {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.release-files-uploader-avatar {
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--field-bg);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6d6d6;
    font-size: 0.62rem;
    font-weight: 670;
    flex-shrink: 0;
}

.release-files-uploader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-files-uploader-name {
    color: var(--text);
    font-size: 0.83rem;
    line-height: 1.2;
}

.release-files-link-btn,
.release-files-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.52rem;
    border: 1px solid #4a505a;
    background: rgba(26, 30, 36, 0.98);
    color: #eceef2;
    font-size: 0.68rem;
    font-weight: 650;
    padding: 0.24rem 0.44rem;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.release-files-delete-btn {
    color: #ffadb8;
    border-color: #7f2234;
}

.release-files-link-btn:hover,
.release-files-delete-btn:hover {
    transform: translateY(-1px);
}

.release-files-link-btn:hover {
    border-color: #ffc83d;
    color: #ffe39c;
}

.release-files-delete-btn:hover {
    border-color: #b63a55;
    background: #3b141c;
    color: #ffb9c5;
}

.release-files-empty-row {
    border-radius: 0.85rem;
    border: 1px dashed var(--border);
    background: var(--surface-muted);
    padding: 0.7rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.release-team-name-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.release-team-avatar-dot {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: #1a2230;
    color: #edf0f5;
    font-size: 0.68rem;
    font-weight: 680;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.release-team-avatar-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-team-name-text {
    color: #edf0f5;
    font-size: 0.85rem;
    font-weight: 560;
    line-height: 1.3;
    word-break: break-word;
}

.release-team-name-you {
    margin-left: 0.24rem;
    color: #9ab2d8;
    font-size: 0.7rem;
    font-weight: 630;
}

.release-team-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.1rem;
    border-radius: 999px;
    border: 1px solid #465063;
    background: #1a2230;
    color: #d6dce6;
    font-size: 0.7rem;
    font-weight: 650;
    padding: 0.13rem 0.45rem;
}

.release-team-row-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: flex-end;
}

.release-team-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.52rem;
    border: 1px solid #4a505a;
    background: rgba(14, 17, 23, 0.45);
    color: #d7d9dd;
    font-size: 0.68rem;
    font-weight: 650;
    padding: 0.24rem 0.44rem;
    text-decoration: none;
}

.release-team-action-btn.is-danger {
    color: #ffadb8;
    border-color: #7f2234;
}

.release-team-row-static {
    color: #7d8796;
    font-size: 0.75rem;
}

@media (min-width: 900px) {
    .release-detail-overview-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "progress progress"
            "summary team"
            "problems problems"
            "notes notes"
            "files files";
    }

    .release-detail-progress-card {
        grid-area: progress;
    }

    .release-detail-problems-card {
        grid-area: problems;
    }

    .release-detail-team-card {
        grid-area: team;
    }

    .release-detail-overview-summary-card {
        grid-area: summary;
    }

    .release-detail-notes-overview-card {
        grid-area: notes;
    }

    .release-detail-notes-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .release-detail-files-overview-card {
        grid-area: files;
    }
}

@media (min-width: 1280px) {
    .release-detail-overview-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "progress progress summary"
            "problems problems team"
            "notes notes notes"
            "files files files";
    }

    .release-detail-progress-card {
        grid-area: progress;
    }

    .release-detail-problems-card {
        grid-area: problems;
    }

    .release-detail-team-card {
        grid-area: team;
    }

    .release-detail-overview-summary-card {
        grid-area: summary;
    }

    .release-detail-notes-overview-card {
        grid-area: notes;
    }

    .release-detail-notes-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .release-detail-files-overview-card {
        grid-area: files;
    }
}

@media (max-width: 1023px) {
    .release-detail-header-main {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(10rem, var(--release-header-cover-width)) minmax(0, 1fr);
        gap: 0.9rem;
        align-items: start;
    }

    .release-detail-header-cover {
        width: 100%;
    }

    .release-detail-heading {
        display: contents;
        min-height: 0;
        width: 100%;
    }

    .release-detail-heading-summary {
        grid-column: 2;
        min-width: 0;
    }

    .release-detail-header-info-box {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 0;
        margin-top: 0.15rem;
    }
}

@media (max-width: 760px) {
    .release-detail-topbar {
        align-items: stretch;
        flex-direction: column;
        gap: 0.7rem;
    }

    .release-detail-header-main {
        grid-template-columns: minmax(6.5rem, 34vw) minmax(0, 1fr);
        gap: 0.75rem;
    }

    .release-detail-title {
        max-width: none;
        font-size: clamp(1.55rem, 8vw, 2.2rem);
    }

    .release-detail-header-info-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .release-detail-header-info-column {
        padding: 0;
    }

    .release-detail-header-info-column + .release-detail-header-info-column {
        border-left: 0;
        border-top: 1px solid rgba(79, 89, 104, 0.72);
        padding-top: 0.7rem;
    }

    .release-detail-meta {
        gap: 0.6rem 0.85rem;
        font-size: 0.88rem;
    }

    .release-detail-tabs a {
        font-size: 0.92rem;
        padding: 0.58rem 0.02rem 0.7rem;
    }

    .release-detail-tabs {
        gap: 0.85rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .release-detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .release-detail-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 0.9fr);
        justify-content: flex-start;
        align-items: stretch;
    }

    .release-detail-actions form {
        display: flex;
        min-width: 0;
    }

    .release-detail-actions .btn-primary,
    .release-detail-actions .btn-secondary {
        width: 100%;
        min-width: 0;
        padding-inline: 0.68rem;
        white-space: nowrap;
    }

    .release-detail-notes-overview-head {
        flex-wrap: wrap;
    }

    .release-detail-notes-overview-show-all {
        width: 100%;
        justify-content: center;
    }

    .release-detail-action-menu > summary {
        width: 100%;
        justify-content: center;
    }

    .release-live-toggle-chip {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .release-live-toggle-chip > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .release-files-header {
        align-items: stretch;
    }

    .release-files-header > * {
        width: 100%;
    }

    .release-files-header .btn-primary {
        width: 100%;
    }

    .release-files-title,
    .release-files-folder-meta,
    .release-files-folder-meta strong,
    .release-files-folder-meta small,
    .release-files-name-text,
    .release-files-uploader-name {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .release-files-folder-card {
        min-width: 0;
    }

    .release-files-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .release-files-table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .release-files-table thead {
        display: none;
    }

    .release-files-table tbody {
        display: grid;
        gap: 0.72rem;
    }

    .release-files-table tbody tr {
        display: grid;
        gap: 0.58rem;
        border-radius: 0.9rem;
        border: 1px solid var(--border);
        background: rgba(20, 24, 30, 0.84);
        padding: 0.78rem;
        min-width: 0;
    }

    .release-files-table tbody tr.hidden {
        display: none !important;
    }

    .release-files-table tbody td {
        display: grid;
        grid-template-columns: minmax(5.8rem, 0.42fr) minmax(0, 1fr);
        align-items: center;
        gap: 0.55rem;
        border-bottom: 0;
        padding: 0;
        min-width: 0;
    }

    .release-files-table tbody td::before {
        color: var(--text-muted);
        font-size: 0.68rem;
        font-weight: 670;
        letter-spacing: 0.06em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .release-files-table tbody td:nth-child(1) {
        grid-template-columns: 1fr;
    }

    .release-files-table tbody td:nth-child(1)::before {
        display: none;
    }

    .release-files-table tbody td:nth-child(2)::before {
        content: 'Typ';
    }

    .release-files-table tbody td:nth-child(3)::before {
        content: 'Größe';
    }

    .release-files-table tbody td:nth-child(4)::before {
        content: 'Hinzugefügt';
    }

    .release-files-table tbody td:nth-child(5)::before {
        content: 'Von';
    }

    .release-files-table tbody td:nth-child(6) {
        grid-template-columns: 1fr;
        padding-top: 0.1rem;
    }

    .release-files-table tbody td:nth-child(6)::before {
        display: none;
    }

    .release-files-name-cell,
    .release-files-uploader {
        min-width: 0;
    }

    .release-files-row-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        justify-content: stretch;
    }

    .release-files-row-actions form {
        display: flex;
        min-width: 0;
    }

    .release-files-link-btn,
    .release-files-delete-btn {
        width: 100%;
        min-width: 0;
    }

    .release-team-name-text,
    .release-team-row-static {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .release-team-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .release-team-table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .release-team-table thead {
        display: none;
    }

    .release-team-table tbody {
        display: grid;
        gap: 0.48rem;
    }

    .release-team-table tbody tr {
        display: grid;
        grid-template-columns: 2.1rem minmax(0, 1fr) auto;
        gap: 0 0.72rem;
        align-items: center;
        border-radius: 0.82rem;
        border: 1px solid transparent;
        background: transparent;
        padding: 0.5rem 0.12rem;
        min-width: 0;
    }

    .release-team-table tbody tr + tr {
        border-top-color: #2d3340;
    }

    .release-team-table tbody tr.hidden {
        display: none !important;
    }

    .release-team-invite-row td {
        background: transparent;
    }

    .release-team-table tbody td {
        display: grid;
        align-content: start;
        border-bottom: 0;
        padding: 0;
        min-width: 0;
    }

    .release-team-table tbody td::before {
        display: none;
    }

    .release-team-table tbody td:nth-child(1) {
        display: contents;
    }

    .release-team-table tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin-top: 0.08rem;
    }

    .release-team-table tbody td:nth-child(3) {
        display: none;
    }

    .release-team-table tbody td:nth-child(4) {
        grid-column: 3;
        grid-row: 1 / span 2;
        grid-template-columns: 1fr;
        align-self: center;
        min-width: 6.2rem;
    }

    .release-team-name-cell {
        display: contents;
    }

    .release-team-avatar-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        width: 2.1rem;
        height: 2.1rem;
    }

    .release-team-name-text {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        min-width: 0;
        line-height: 1.12;
    }

    .release-team-table tbody td,
    .release-team-role-badge {
        overflow-wrap: anywhere;
    }

    .release-team-role-badge {
        justify-self: start;
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        text-align: left;
        border: 0;
        background: transparent;
        color: #9aa4b3;
        font-size: 0.76rem;
        font-weight: 520;
        line-height: 1.15;
        padding: 0;
    }

    .release-team-row-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.36rem;
        justify-content: stretch;
    }

    .release-team-row-actions form {
        display: flex;
        min-width: 0;
    }

    .release-team-action-btn {
        width: 100%;
        min-width: 0;
        border-radius: 0.58rem;
        padding: 0.36rem 0.5rem;
    }

}

@media (max-width: 480px) {
    .surface-card.release-weekly-card,
    .release-files-shell {
        padding: 1rem;
    }

    .release-detail-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 0.38rem 0.62rem;
    }

    .release-detail-meta-item {
        white-space: normal;
        font-size: 0.82rem;
    }

    .release-detail-header-info-list > div {
        grid-template-columns: 1fr;
        gap: 0.16rem;
    }

    .release-detail-header-info-list dd {
        text-align: left;
    }

    .release-detail-tabs {
        gap: 0.7rem;
    }

    .release-team-table tbody tr {
        grid-template-columns: 2.1rem minmax(0, 1fr);
    }

    .release-team-table tbody td:nth-child(1),
    .release-team-table tbody td:nth-child(2),
    .release-team-table tbody td:nth-child(4) {
        grid-column: auto;
    }

    .release-team-table tbody td:nth-child(1) {
        display: contents;
    }

    .release-team-table tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 2;
    }

    .release-team-table tbody td:nth-child(4) {
        grid-column: 2;
        grid-row: 3;
        margin-left: 0;
        margin-top: 0.62rem;
        min-width: 0;
    }

    .release-team-table tbody td {
        grid-template-columns: 1fr;
        gap: 0.18rem;
    }

    .release-team-table tbody td::before {
        font-size: 0.64rem;
    }

    .release-team-row-actions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 860px) {
    .release-files-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
    }

    .release-files-folder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (min-width: 1260px) {
    .release-files-folder-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

.release-year-heading {
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.8rem;
    font-weight: 650;
    letter-spacing: 0.005em;
    color: var(--text);
}

.rt-releases-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-releases-header {
    margin-bottom: 0;
}

.rt-releases-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.rt-releases-header-actions .rt-primary-action,
.rt-releases-page .rt-primary-action {
    margin-top: 0;
}

.rt-releases-page .release-toolbar {
    margin-bottom: 0;
    overflow: visible;
    z-index: 20;
    border-color: rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1rem;
}

.rt-releases-page .release-toolbar::after {
    display: none;
}

.rt-releases-page .release-toolbar-tab {
    min-height: 2.35rem;
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(11, 16, 23, 0.48);
    color: #dbe3ee;
    font-size: 0.84rem;
    font-weight: 720;
}

.rt-releases-page .release-toolbar-tab:hover {
    border-color: rgba(255, 200, 61, 0.36);
    color: #ffc83d;
}

.rt-releases-page .release-toolbar-tab.is-active {
    border-color: rgba(255, 200, 61, 0.5);
    background: rgba(255, 200, 61, 0.12);
    color: #ffc83d;
    box-shadow: none;
}

.rt-releases-page .release-toolbar-tab-count {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(11, 16, 23, 0.7);
    color: #aeb8c7;
}

.rt-releases-page .release-toolbar-tab.is-active .release-toolbar-tab-count {
    border-color: rgba(255, 200, 61, 0.55);
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
}

.rt-releases-page .field-input,
.rt-releases-page .field-select,
.rt-releases-page .field-filter-trigger {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-releases-page .release-toolbar-filter-panel {
    border-color: rgba(148, 163, 184, 0.2);
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.98), rgba(11, 16, 23, 0.98)),
        #0e131a;
}

.rt-release-groups {
    display: grid;
    gap: 1.1rem;
}

.rt-release-year-group {
    display: grid;
    gap: 0.8rem;
}

.rt-releases-page .release-year-heading {
    margin: 0;
    color: #ffc83d;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0;
}

.rt-releases-page .release-tiles-grid {
    gap: 0.95rem;
}

.rt-releases-page .release-tile-card {
    border: 0 !important;
    border-radius: 16px !important;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.96) 70%),
        #0e131a !important;
    box-shadow: 0 28px 46px -34px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rt-releases-page .release-tile-card:hover,
.rt-releases-page .release-tile-card:focus-within {
    border: 0 !important;
    box-shadow: 0 28px 54px -34px rgba(0, 0, 0, 0.96), 0 0 34px -26px rgba(255, 200, 61, 0.85);
}

.rt-releases-page .release-tile-body {
    background: transparent;
}

.rt-releases-page .release-tile-date-line,
.rt-releases-page .release-tile-progress-head {
    color: #aeb8c7;
}

.rt-releases-page .release-tile-progress-track {
    background: rgba(89, 101, 119, 0.55);
}

.rt-releases-page .release-tile-menu-trigger {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(11, 16, 23, 0.68);
}

.rt-release-empty-card {
    border-color: rgba(148, 163, 184, 0.22) !important;
    border-radius: 16px !important;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a !important;
    padding: 2rem !important;
    text-align: center;
}

.rt-release-empty-card > div {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
}

.rt-release-empty-card p {
    margin: 0;
    color: #f8fafc;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.2rem;
    font-weight: 760;
}

.rt-release-empty-card small {
    color: #aeb8c7;
    font-size: 0.9rem;
}

.rt-release-detail-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-release-detail-page .release-detail-header {
    margin-bottom: 0;
    border: 0;
    padding: 1.1rem;
}

.rt-release-detail-page .release-detail-header-row {
    margin-top: 0.85rem;
}

.rt-release-detail-page .release-detail-header-cover-media {
    border: 0;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 42px -34px rgba(0, 0, 0, 0.95);
}

.rt-release-detail-page .release-detail-meta-item {
    min-height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(11, 15, 22, 0.58);
    color: #dbe3ee;
    padding: 0.42rem 0.68rem;
    font-size: 0.82rem;
    font-weight: 720;
}

.rt-release-detail-page .release-detail-meta-item i {
    color: #ffc83d;
}

.rt-release-detail-page .release-detail-header-info-box {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(8, 13, 20, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.rt-release-detail-page .release-detail-header-info-column + .release-detail-header-info-column {
    border-color: rgba(148, 163, 184, 0.14);
}

.rt-release-detail-page .release-detail-actions .btn-primary,
.rt-release-detail-page .release-detail-actions .btn-secondary,
.rt-release-detail-page .btn-primary,
.rt-release-detail-page .btn-secondary {
    border-radius: 9px;
}

.rt-release-detail-page .release-detail-actions .btn-primary,
.rt-release-detail-page .btn-primary {
    border: 0;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
    box-shadow: 0 14px 26px -20px rgba(255, 200, 61, 0.78);
}

.rt-release-detail-page .release-detail-actions .btn-secondary,
.rt-release-detail-page .btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-release-detail-page .btn-danger-tone {
    border-color: rgba(255, 95, 118, 0.35);
    background: rgba(255, 95, 118, 0.1);
    color: #ff9faf;
}

.rt-release-detail-page .release-live-toggle-chip {
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: rgba(11, 16, 23, 0.72) !important;
}

.rt-release-detail-page .release-live-toggle-chip > span {
    color: #dbe3ee;
}

.rt-release-detail-page .release-detail-alert-stack {
    margin-bottom: 0;
}

.rt-release-detail-page .release-detail-alert {
    border-radius: 12px !important;
    border-color: rgba(255, 200, 61, 0.28) !important;
    background:
        linear-gradient(135deg, rgba(255, 200, 61, 0.14) 0%, rgba(11, 16, 23, 0.72) 100%) !important;
    color: #f8fafc;
}

.rt-release-detail-page .js-overdue-tasks-alert {
    border-color: rgba(255, 95, 118, 0.3) !important;
    background:
        linear-gradient(135deg, rgba(255, 95, 118, 0.14) 0%, rgba(11, 16, 23, 0.74) 100%) !important;
}

.rt-release-detail-page .release-detail-alert p {
    color: #f8fafc !important;
}

.rt-release-detail-page .release-detail-alert p + p {
    color: #c7d0dc !important;
}

.rt-release-detail-page .release-detail-layout {
    margin-top: 0 !important;
}

.rt-release-detail-page .surface-card {
    border: 0 !important;
    border-radius: 16px !important;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a !important;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rt-release-detail-page .release-weekly-card h2 {
    color: #f8fafc !important;
}

.rt-release-detail-page .release-weekly-card p {
    color: #aeb8c7 !important;
}

.rt-release-detail-page .release-week-column {
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(11, 16, 23, 0.64) !important;
}

.rt-release-detail-page .release-week-column header {
    border-color: rgba(148, 163, 184, 0.14) !important;
}

.rt-release-detail-page .release-week-column h3 {
    color: #f8fafc !important;
}

.rt-release-detail-page .release-week-column header p {
    color: #aeb8c7 !important;
}

.rt-release-detail-page .release-week-task-card {
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(24, 29, 36, 0.72) !important;
}

.rt-release-detail-page .release-week-task-card.is-done {
    border-color: rgba(52, 217, 134, 0.34) !important;
    background: rgba(52, 217, 134, 0.1) !important;
}

.rt-release-detail-page .release-week-task-card.is-overdue {
    border-color: rgba(255, 95, 118, 0.34) !important;
    background: rgba(255, 95, 118, 0.1) !important;
}

.rt-release-detail-page .release-week-task-card [data-event-title] {
    color: #f8fafc !important;
}

.rt-release-detail-page .release-week-task-body,
.rt-release-detail-page .js-add-task-details,
.rt-release-detail-page .release-week-empty {
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(8, 13, 20, 0.72) !important;
    color: #aeb8c7 !important;
}

.rt-release-detail-page .js-add-task-details form {
    border-color: rgba(148, 163, 184, 0.14) !important;
}

.rt-release-detail-page .js-add-task-summary {
    color: #dbe3ee !important;
}

.rt-release-detail-page .field-input,
.rt-release-detail-page .field-select,
.rt-release-detail-page .field-textarea,
.rt-release-detail-page input[type='search'],
.rt-release-detail-page select,
.rt-release-detail-page textarea {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-release-detail-page [data-blueprint-modal] > div {
    border-color: rgba(148, 163, 184, 0.22) !important;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.98), rgba(11, 16, 23, 0.98)),
        #0e131a !important;
    color: #f8fafc;
}

.rt-release-detail-page [data-blueprint-modal] p {
    color: #f8fafc !important;
}

.rt-settings-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-settings-page .rt-settings-header {
    margin-bottom: 0;
}

.rt-settings-page .rt-settings-grid {
    align-items: start;
}

.rt-settings-page .surface-card {
    border: 0 !important;
    border-radius: 16px !important;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 70%),
        #0e131a !important;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #f8fafc;
}

.rt-settings-page .ui-panel,
.rt-settings-page .ui-row {
    border-color: rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(11, 16, 23, 0.58);
}

.rt-settings-page .ui-section-title {
    color: #ffc83d;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rt-settings-page .ui-section-subtitle,
.rt-settings-page .ui-help,
.rt-settings-page .ui-muted-text {
    color: #aeb8c7;
}

.rt-settings-page .ui-row-title,
.rt-settings-page .field-label {
    color: #f8fafc;
}

.rt-settings-page .field-input,
.rt-settings-page .field-select,
.rt-settings-page .field-textarea,
.rt-settings-page input[type='text'],
.rt-settings-page input[type='email'],
.rt-settings-page input[type='number'],
.rt-settings-page input[type='url'],
.rt-settings-page input[type='file'],
.rt-settings-page select,
.rt-settings-page textarea {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-settings-page input[type='file']::file-selector-button {
    border: 0;
    border-radius: 8px;
    background: rgba(255, 200, 61, 0.14);
    color: #ffc83d;
    cursor: pointer;
    font-weight: 760;
    margin-right: 0.7rem;
    padding: 0.45rem 0.7rem;
}

.rt-settings-page .btn-primary {
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
    box-shadow: 0 14px 26px -20px rgba(255, 200, 61, 0.78);
}

.rt-settings-page .btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 9px;
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-settings-page .btn-danger-tone {
    border-color: rgba(255, 95, 118, 0.35);
    background: rgba(255, 95, 118, 0.1);
    color: #ff9faf;
}

.rt-settings-page .badge,
.rt-settings-page .badge-info {
    border: 1px solid rgba(91, 157, 255, 0.32);
    background: rgba(91, 157, 255, 0.14);
    color: #70b4ff;
}

.rt-settings-page .rounded-lg.border {
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(11, 16, 23, 0.58) !important;
}

.rt-settings-page .rounded-lg.border span,
.rt-settings-page .rounded-lg.border p {
    color: #dbe3ee !important;
}

.rt-settings-page .ui-avatar,
.rt-settings-page .ui-avatar-fallback {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(11, 16, 23, 0.72);
    color: #ffc83d;
}

.rt-settings-page .ui-icon-link {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(11, 16, 23, 0.72);
    color: #dbe3ee;
}

.rt-settings-page .ui-icon-link:hover {
    border-color: rgba(255, 200, 61, 0.45);
    color: #ffc83d;
}

.rt-settings-page + .ui-modal-backdrop {
    background: rgba(2, 6, 12, 0.76);
    backdrop-filter: blur(8px);
}

.rt-settings-page + .ui-modal-backdrop .ui-modal {
    border-color: rgba(148, 163, 184, 0.22);
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.98), rgba(11, 16, 23, 0.98)),
        #0e131a;
    color: #f8fafc;
}

.release-toolbar {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.release-toolbar-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    max-width: 100%;
    overflow-x: auto;
}

.release-toolbar-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    border-radius: 0.6rem;
    padding: 0.52rem 0.74rem;
    border: 1px solid transparent;
    color: #d4d4d4;
    font-size: 0.92rem;
    font-weight: 560;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.release-toolbar-tab:hover {
    color: #ffe39c;
    border-color: rgba(255, 200, 61, 0.35);
}

.release-toolbar-tab.is-active {
    color: #ffe39c;
    background: rgba(255, 200, 61, 0.12);
    border-color: rgba(255, 200, 61, 0.45);
    box-shadow: inset 0 -2px 0 rgba(255, 200, 61, 0.95);
}

.release-toolbar-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    padding: 0 0.35rem;
    background: #1b1f25;
    border: 1px solid #3c4450;
    color: #c8c8c8;
    font-size: 0.72rem;
    font-weight: 650;
}

.release-toolbar-tab.is-active .release-toolbar-tab-count {
    color: #121212;
    border-color: #ffd56b;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

.release-toolbar-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.release-toolbar-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 1 1 22rem;
    min-width: 15rem;
    max-width: 24rem;
    border-radius: 14px;
}

.release-toolbar-search input {
    width: 100%;
    border-radius: inherit;
    padding: 0.63rem 2.25rem 0.63rem 0.8rem;
}

.release-toolbar-search-icon {
    position: absolute;
    right: 0.72rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: #8e8e8e;
    pointer-events: none;
}

.release-toolbar-search-icon i {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.release-toolbar-filter {
    position: relative;
    flex: 0 0 auto;
}

.release-toolbar-filter > summary {
    width: 100%;
}

.release-toolbar-filter[open] > summary,
.release-toolbar-filter > summary:focus-visible {
    outline: none;
    border-color: #ffc83d;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2);
}

.release-toolbar-filter-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    width: min(20rem, 82vw);
    border-radius: 14px;
    border: 1px solid var(--field-border);
    background: var(--field-bg);
    box-shadow: 0 22px 48px -26px rgba(0, 0, 0, 0.92);
    padding: 0.8rem;
    display: grid;
    gap: 0.75rem;
    z-index: 15;
}

.release-toolbar-filter-panel .field-label {
    color: #d6d6d6;
}

.release-toolbar-filter-panel .field-select {
    border-color: var(--field-border);
    background: var(--field-bg);
    color: var(--field-text);
}

.release-toolbar-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.release-toolbar-sort {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.release-toolbar-sort > span {
    color: #8e8e8e;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.release-toolbar-sort .field-select {
    min-width: 10.8rem;
}

.bulk-shift-dialog {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border-color: rgba(86, 99, 116, 0.55);
    background: linear-gradient(180deg, rgba(24, 31, 39, 0.98) 0%, rgba(16, 22, 29, 0.98) 100%);
    color: #f8fafc;
}

.bulk-shift-header {
    border-bottom: 1px solid rgba(86, 99, 116, 0.35);
}

.bulk-shift-header-icon {
    display: inline-flex;
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 200, 61, 0.13);
    color: #ffc83d;
}

.bulk-shift-header-icon svg {
    width: 1.9rem;
    height: 1.9rem;
}

.bulk-shift-title {
    margin: 0.35rem 0 0;
    color: #f8fafc;
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.2;
}

.bulk-shift-subtitle {
    margin-top: 0.35rem;
    max-width: 30rem;
    color: #aab4c1;
    font-size: 0.84rem;
    line-height: 1.45;
}

.bulk-shift-close {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #bac4d0;
    cursor: pointer;
}

.bulk-shift-close:hover,
.bulk-shift-close:focus-visible {
    background: rgba(148, 163, 184, 0.12);
    color: #f8fafc;
    outline: none;
}

.bulk-shift-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.bulk-shift-body {
    border-bottom: 1px solid rgba(86, 99, 116, 0.35);
}

.bulk-shift-section-label {
    display: block;
    color: #aab4c1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bulk-release-picker {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.65) transparent;
}

.bulk-release-option .bulk-release-choice {
    position: relative;
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 5.4rem;
    padding: 0.625rem;
    border-color: rgba(107, 119, 135, 0.5);
    background: rgba(23, 30, 38, 0.72);
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.bulk-release-info {
    min-width: 0;
    padding-right: 1.25rem;
}

.bulk-release-option .bulk-release-choice:hover {
    border-color: rgba(148, 163, 184, 0.68);
    background: rgba(27, 36, 45, 0.88);
}

.bulk-release-cover {
    display: block;
    width: 4.25rem;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.55rem;
    background: #111827;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bulk-release-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bulk-release-title,
.bulk-release-status {
    overflow: hidden;
    text-overflow: ellipsis;
}

.bulk-release-title {
    display: -webkit-box !important;
    color: #f8fafc;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.bulk-release-meta {
    color: #aab4c1;
}

.bulk-release-status {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.bulk-release-option .bulk-release-check {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    padding: 0;
    border-color: rgba(148, 163, 184, 0.48) !important;
    background: rgba(15, 23, 42, 0.34) !important;
    color: transparent !important;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.bulk-release-option:has(.bulk-release-checkbox:checked) .bulk-release-choice,
.bulk-release-option.is-selected .bulk-release-choice {
    border-color: rgba(255, 200, 61, 0.72) !important;
    background: rgba(255, 200, 61, 0.08) !important;
    box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.22);
}

.bulk-release-option:has(.bulk-release-checkbox:checked) .bulk-release-check,
.bulk-release-option.is-selected .bulk-release-check {
    border-color: rgba(255, 200, 61, 0.95) !important;
    background: #ffc83d !important;
    color: #111827 !important;
}

.bulk-release-option:has(.bulk-release-checkbox:checked) .bulk-release-status,
.bulk-release-option.is-selected .bulk-release-status {
    border-color: rgba(34, 197, 94, 0.34) !important;
    background: rgba(34, 197, 94, 0.13) !important;
    color: #70d49d !important;
}

.bulk-shift-stepper {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    overflow: hidden;
    min-height: 2.7rem;
    border: 1px solid rgba(86, 99, 116, 0.6);
    border-radius: 0.65rem;
    background: rgba(11, 16, 22, 0.72);
}

.bulk-shift-stepper button,
.bulk-shift-stepper input {
    border: 0;
    background: transparent;
    color: #f8fafc;
}

.bulk-shift-stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(86, 99, 116, 0.5);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.bulk-shift-stepper button:last-child {
    border-right: 0;
    border-left: 1px solid rgba(86, 99, 116, 0.5);
}

.bulk-shift-stepper button:hover,
.bulk-shift-stepper button:focus-visible {
    background: rgba(148, 163, 184, 0.12);
    outline: none;
}

.bulk-shift-stepper input {
    width: 100%;
    min-width: 0;
    text-align: center;
    font-weight: 800;
    outline: none;
    -moz-appearance: textfield;
}

.bulk-shift-stepper input::-webkit-outer-spin-button,
.bulk-shift-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.bulk-shift-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3rem;
    border: 1px solid rgba(255, 200, 61, 0.52);
    border-radius: 0.65rem;
    background: rgba(255, 200, 61, 0.06);
    padding: 0.85rem 1rem;
    color: #e5e7eb;
}

.bulk-shift-summary svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: #ffc83d;
}

.bulk-shift-summary p {
    margin: 0;
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.35;
}

.bulk-shift-summary strong {
    color: #ffc83d;
    font-weight: 800;
}

.bulk-shift-error {
    color: #fda4af;
    font-size: 0.78rem;
}

.bulk-shift-footer {
    background: rgba(12, 17, 23, 0.44);
}

.bulk-shift-secondary-action,
.bulk-shift-primary-action {
    display: inline-flex;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 0.65rem;
    padding: 0.65rem 1rem;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.1;
    cursor: pointer;
}

.bulk-shift-secondary-action {
    border: 1px solid rgba(86, 99, 116, 0.65);
    background: rgba(23, 30, 38, 0.52);
    color: #f8fafc;
}

.bulk-shift-secondary-action:hover,
.bulk-shift-secondary-action:focus-visible {
    border-color: rgba(148, 163, 184, 0.82);
    background: rgba(30, 39, 49, 0.82);
    outline: none;
}

.bulk-shift-primary-action {
    border: 1px solid rgba(255, 200, 61, 0.95);
    background: #ffc83d;
    color: #111827;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.18);
}

.bulk-shift-primary-action:hover,
.bulk-shift-primary-action:focus-visible {
    background: #ffd45c;
    outline: none;
}

@media (max-width: 700px) {
    .release-toolbar {
        align-items: stretch;
    }

    .release-toolbar-tabs {
        width: 100%;
    }

    .release-toolbar-controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .release-toolbar-search {
        flex: 1 1 auto;
        min-width: 13rem;
        max-width: 100%;
    }

    .release-toolbar-filter-panel {
        left: 0;
        right: auto;
        width: min(22rem, calc(100vw - 2rem));
    }
}

.release-tiles-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .release-tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .release-tiles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1536px) {
    .release-tiles-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1920px) {
    .release-tiles-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.release-tile-card {
    --release-tile-card-bg: #14181e;
    border-radius: 14px !important;
    border-color: rgba(69, 76, 88, 0.92) !important;
    background: var(--release-tile-card-bg) !important;
    backdrop-filter: blur(9px);
    box-shadow: 0 26px 42px -32px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.release-tile-card:hover,
.release-tile-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(255, 200, 61, 0.58) !important;
    box-shadow: 0 28px 50px -34px rgba(0, 0, 0, 0.92), inset 0 0 0 1px rgba(255, 200, 61, 0.18);
}

.release-tile-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 0;
    isolation: isolate;
    background-color: var(--release-tile-card-bg);
}

.release-tile-media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 58%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(20, 24, 30, 0) 0%,
        rgba(20, 24, 30, 0) 30%,
        rgba(20, 24, 30, 0.16) 50%,
        rgba(20, 24, 30, 0.6) 72%,
        var(--release-tile-card-bg) 92%,
        var(--release-tile-card-bg) 100%
    );
}

.release-tile-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 54%,
        rgba(0, 0, 0, 0.84) 68%,
        rgba(0, 0, 0, 0.52) 82%,
        rgba(0, 0, 0, 0.14) 94%,
        rgba(0, 0, 0, 0.04) 98%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 54%,
        rgba(0, 0, 0, 0.84) 68%,
        rgba(0, 0, 0, 0.52) 82%,
        rgba(0, 0, 0, 0.14) 94%,
        rgba(0, 0, 0, 0.04) 98%,
        rgba(0, 0, 0, 0) 100%
    );
}

.release-tile-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.1) 0%,
            rgba(10, 10, 10, 0.12) 58%,
            rgba(20, 24, 30, 0.4) 76%,
            var(--release-tile-card-bg) 94%,
            var(--release-tile-card-bg) 100%
        ),
        linear-gradient(140deg, rgba(255, 200, 61, 0.12), transparent 52%);
    pointer-events: none;
}

.release-tile-media-top {
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    top: 0.58rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.release-tile-media-indicators {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.release-tile-alert {
    width: 1.3rem;
    height: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.28));
}

.release-tile-alert svg {
    width: 100%;
    height: 100%;
}

.release-tile-menu {
    position: relative;
}

.release-tile-menu > summary {
    list-style: none;
}

.release-tile-menu > summary::-webkit-details-marker {
    display: none;
}

.release-tile-menu-trigger {
    width: 1.34rem;
    height: 1.34rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: rgba(14, 16, 20, 0.95);
    color: #d7d7d7;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 0;
    display: grid;
    align-items: center;
    justify-content: center;
    place-items: center;
    cursor: pointer;
    user-select: none;
}

.release-tile-menu-trigger:hover {
    border-color: #ffc83d;
    color: #ffe39c;
}

.release-tile-menu-trigger i {
    width: 0.9rem;
    height: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.release-tile-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.3rem);
    min-width: 8.5rem;
    border-radius: 0.68rem;
    border: 1px solid #3f4652;
    background: rgba(20, 24, 30, 0.98);
    box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.85);
    padding: 0.32rem;
    display: grid;
    gap: 0.16rem;
    z-index: 5;
}

.release-tile-menu:not([open]) .release-tile-menu-panel {
    display: none;
}

.release-tile-menu-link {
    width: 100%;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 0.45rem;
    border: 0;
    background: transparent;
    color: #e4e4e4;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    padding: 0.42rem 0.5rem;
}

.release-tile-menu-link:hover {
    background: rgba(255, 200, 61, 0.12);
    color: #ffe39c;
}

.release-tile-menu-link-danger {
    color: #ff97ab;
}

.release-tile-menu-link-danger:hover {
    background: rgba(164, 45, 69, 0.24);
    color: #ffc3cf;
}

.release-tile-status-row {
    position: absolute;
    left: 0.8rem;
    bottom: 0.64rem;
    z-index: 2;
}

.release-tile-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.71rem;
    font-weight: 620;
    line-height: 1;
    padding: 0.24rem 0.56rem;
    backdrop-filter: blur(4px);
}

.release-tile-status-blue {
    background: rgba(255, 200, 61, 0.14);
    border-color: rgba(255, 200, 61, 0.6);
    color: #ffe39c;
}

.release-tile-status-purple {
    background: rgba(42, 42, 42, 0.9);
    border-color: rgba(114, 114, 114, 0.72);
    color: #dddddd;
}

.release-tile-status-green {
    background: rgba(15, 77, 56, 0.46);
    border-color: rgba(46, 205, 142, 0.72);
    color: #9ef1cd;
}

.release-tile-status-slate {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(88, 88, 88, 0.8);
    color: #d2d2d2;
}

.release-tile-body {
    position: relative;
    z-index: 3;
    margin-top: -0.35rem;
    padding: 1.19rem 0.9rem 0.78rem;
    background: var(--release-tile-card-bg);
}

.release-tile-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 610;
    color: #f5f5f5;
}

.release-tile-title:hover {
    color: #ffe39c;
}

.rt-pipeline-grid .rt-release-tile {
    min-width: 0;
    width: 100%;
    height: 100%;
}

.rt-pipeline-grid .release-tile-body {
    min-width: 0;
    overflow: hidden;
}

.rt-pipeline-grid .release-tile-title {
    display: -webkit-box;
    min-height: calc(0.84rem * 1.22 * 2);
    max-height: calc(0.84rem * 1.22 * 2);
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.22;
}

.rt-pipeline-grid .release-tile-date-line {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rt-pipeline-grid .release-tile-progress-head,
.rt-pipeline-grid .release-tile-progress-track {
    min-width: 0;
}

.release-tile-artist {
    margin-top: 0.28rem;
    font-size: 0.72rem;
    color: #a3a3a3;
}

.release-tile-date-line {
    margin-top: 0.38rem;
    font-size: 0.72rem;
    color: #a3a3a3;
}

.release-tile-timing {
    margin-top: 0.12rem;
    font-size: 0.91rem;
    font-weight: 630;
    line-height: 1.2;
    min-height: 1.1rem;
}

.release-tile-timing-placeholder {
    visibility: hidden;
}

.release-tile-timing-upcoming {
    color: #3ee18b;
}

.release-tile-timing-past {
    color: #ff99ae;
}

.release-tile-progress-head {
    margin-top: 0.64rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a3a3a3;
}

.release-tile-progress-track {
    margin-top: 0.34rem;
    height: 0.34rem;
    width: 100%;
    border-radius: 999px;
    background: rgba(61, 68, 80, 0.58);
    overflow: hidden;
}

.release-tile-progress-fill {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: 999px;
}

.release-tile-progress-fill-blue {
    background: linear-gradient(90deg, #ffd56b 0%, #ffc83d 100%);
}

.release-tile-progress-fill-purple {
    background: linear-gradient(90deg, #9b9b9b 0%, #848484 100%);
}

.release-tile-progress-fill-green {
    background: linear-gradient(90deg, #38d07f 0%, #23b86d 100%);
}

.release-tile-progress-fill-muted {
    background: linear-gradient(90deg, #737373 0%, #5f5f5f 100%);
}

.release-tile-footer {
    margin-top: 0.74rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.release-tile-problems {
    margin: 0;
    font-size: 0.73rem;
    font-weight: 590;
}

.release-tile-problems-danger {
    color: #ff7089;
}

.release-tile-problems-open {
    color: #ffc83d;
}

.release-tile-problems-none {
    color: #8e8e8e;
}

.release-tile-avatars {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 1.28rem;
    max-width: 8.4rem;
    flex-wrap: wrap;
}

.release-tile-avatar {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f242b;
    color: #d8d8d8;
    font-size: 0.6rem;
    font-weight: 700;
    margin-left: -0.22rem;
}

.release-tile-avatar:first-child {
    margin-left: 0;
}

.release-tile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-tile-avatar-count {
    margin-left: -0.24rem;
    min-width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: #171b21;
    color: #cecece;
    font-size: 0.62rem;
    font-weight: 670;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-tile-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.project-tile-card {
    --project-tile-tone: #c27aff;
    --project-tile-tone-rgb: 194, 122, 255;
    --project-tile-tone-soft: rgba(var(--project-tile-tone-rgb), 0.16);
    --project-tile-tone-border: rgba(var(--project-tile-tone-rgb), 0.56);
    --project-tile-tone-glow: rgba(var(--project-tile-tone-rgb), 0.22);
    --project-tile-card-bg: #10141a;
    --release-tile-card-bg: var(--project-tile-card-bg);
    cursor: pointer;
    border-color: var(--project-tile-tone-border) !important;
    background:
        linear-gradient(180deg, rgba(var(--project-tile-tone-rgb), 0.12) 0%, transparent 42%),
        var(--project-tile-card-bg) !important;
    box-shadow: 0 28px 46px -34px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(var(--project-tile-tone-rgb), 0.11);
}

.project-tile-card:hover,
.project-tile-card:focus-within {
    border-color: rgba(var(--project-tile-tone-rgb), 0.82) !important;
    box-shadow: 0 28px 54px -34px rgba(0, 0, 0, 0.95), 0 0 34px -24px var(--project-tile-tone), inset 0 0 0 1px rgba(var(--project-tile-tone-rgb), 0.18);
}

.project-tile-card--planned {
    --project-tile-tone: #c27aff;
    --project-tile-tone-rgb: 194, 122, 255;
}

.project-tile-card--active {
    --project-tile-tone: #ff9b22;
    --project-tile-tone-rgb: 255, 155, 34;
}

.project-tile-card--waiting {
    --project-tile-tone: #ff5f76;
    --project-tile-tone-rgb: 255, 95, 118;
}

.project-tile-card--done {
    --project-tile-tone: #34d986;
    --project-tile-tone-rgb: 52, 217, 134;
}

.project-tile-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1.55 / 1;
    padding-top: 2.2rem;
    background:
        radial-gradient(circle at 26% 22%, rgba(var(--project-tile-tone-rgb), 0.9) 0%, rgba(var(--project-tile-tone-rgb), 0.24) 28%, transparent 55%),
        radial-gradient(circle at 78% 18%, rgba(var(--project-tile-tone-rgb), 0.2) 0%, transparent 34%),
        linear-gradient(145deg, rgba(var(--project-tile-tone-rgb), 0.48) 0%, rgba(var(--project-tile-tone-rgb), 0.1) 48%, #0c1118 100%);
}

.project-tile-media::before {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 10%;
    height: 40%;
    z-index: 0;
    background:
        radial-gradient(70% 90% at 20% 100%, rgba(var(--project-tile-tone-rgb), 0.2) 0%, transparent 64%),
        radial-gradient(72% 82% at 88% 100%, rgba(var(--project-tile-tone-rgb), 0.3) 0%, transparent 62%);
    opacity: 0.82;
    transform: skewY(-7deg);
}

.project-tile-status-row {
    position: absolute;
    top: 1.05rem;
    right: 1.05rem;
    z-index: 3;
}

.project-tile-status {
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
    min-height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--project-tile-tone-rgb), 0.34);
    background: rgba(12, 16, 22, 0.48);
    color: #f3f4f6;
    font-size: 0.76rem;
    font-weight: 680;
    line-height: 1;
    padding: 0.36rem 0.72rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
}

.project-tile-status span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: var(--project-tile-tone);
    box-shadow: 0 0 14px var(--project-tile-tone-glow);
    flex: 0 0 auto;
}

.project-tile-mark {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.2rem, 34%, 6.2rem);
    aspect-ratio: 1 / 1;
    border-radius: 1.15rem;
    border: 1px solid rgba(var(--project-tile-tone-rgb), 0.7);
    background: rgba(12, 16, 22, 0.55);
    color: color-mix(in srgb, var(--project-tile-tone) 72%, white);
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 2rem;
    font-weight: 760;
    line-height: 1;
    text-shadow: 0 0 18px rgba(var(--project-tile-tone-rgb), 0.28);
    box-shadow: 0 20px 42px -28px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.project-tile-mark i {
    font-size: 2.8rem;
    line-height: 1;
}

.project-tile-footer {
    align-items: flex-end;
    justify-content: center;
    margin-top: 0.95rem;
}

.project-tile-counts {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.56rem;
    max-width: 100%;
    min-width: 0;
}

.project-tile-counts span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2.02rem;
    border-radius: 999px;
    border: 1px solid rgba(151, 164, 182, 0.28);
    background: rgba(11, 15, 21, 0.62);
    color: #e5e7eb;
    font-size: 0.78rem;
    font-weight: 720;
    line-height: 1;
    padding: 0.42rem 0.78rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    white-space: nowrap;
}

.project-tile-counts svg,
.project-tile-counts i {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: var(--project-tile-tone);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-tile-counts svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-tile-progress-percent {
    color: var(--project-tile-tone);
    font-weight: 800;
}

.project-tile-progress-fill {
    background: linear-gradient(90deg, color-mix(in srgb, var(--project-tile-tone) 68%, white) 0%, var(--project-tile-tone) 100%);
    box-shadow: 0 0 16px rgba(var(--project-tile-tone-rgb), 0.32);
}

.rt-project-detail-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-project-detail-dashboard-header {
    margin-bottom: 0;
}

.rt-project-detail-dashboard-header .rt-calendar-secondary-action {
    align-self: flex-start;
}

.rt-project-detail-page .project-detail-header {
    margin-bottom: 0;
    border: 0;
    padding: 1.1rem;
}

.rt-project-detail-page .release-detail-header-row {
    margin-top: 0;
}

.rt-project-detail-page .release-detail-header-main {
    align-items: stretch;
}

.rt-project-detail-page .release-detail-header-cover-media {
    border: 0;
    border-radius: 14px;
    min-height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 42px -34px rgba(0, 0, 0, 0.95);
}

.rt-project-detail-page .release-detail-heading {
    min-height: 0;
    justify-content: space-between;
}

.rt-project-detail-page .release-detail-heading-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.rt-project-detail-page .release-detail-status-row {
    margin-bottom: 0;
}

.rt-project-detail-page .release-detail-meta {
    margin-top: 0;
    gap: 0.6rem;
}

.rt-project-detail-page .release-detail-meta-item {
    min-height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(11, 15, 22, 0.58);
    color: #dbe3ee;
    padding: 0.42rem 0.68rem;
    font-size: 0.82rem;
    font-weight: 720;
}

.rt-project-detail-page .release-detail-meta-item i {
    color: #ffc83d;
}

.rt-project-detail-page .release-detail-header-info-box {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(8, 13, 20, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    padding: 0.85rem;
}

.rt-project-detail-page .release-detail-header-info-column + .release-detail-header-info-column {
    border-color: rgba(148, 163, 184, 0.14);
}

.rt-project-detail-page .release-detail-tabs {
    margin-top: 0;
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

.rt-project-detail-page .project-detail-layout {
    margin-top: 0;
}

.rt-project-detail-page .project-song-table-wrap,
.rt-project-detail-page .project-detail-files-card,
.rt-project-detail-page .project-contributors-card {
    margin-top: 0 !important;
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.9) 0%, rgba(11, 16, 23, 0.94) 72%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rt-project-detail-page .project-detail-files-card {
    padding: 1.1rem;
}

.rt-project-detail-page .project-song-table th,
.rt-project-detail-page .project-song-table td {
    border-color: rgba(148, 163, 184, 0.13);
}

.rt-project-detail-page .project-song-table th {
    background: rgba(24, 29, 36, 0.94);
    color: #9aa6b6;
}

.rt-project-detail-page .project-song-table td {
    background: rgba(11, 16, 23, 0.68);
}

.rt-project-detail-page .project-song-table tbody tr:hover td {
    background: rgba(20, 27, 36, 0.86);
}

.rt-project-detail-page .project-files-group,
.rt-project-detail-page .project-files-row,
.rt-project-detail-page .project-files-empty {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(11, 16, 23, 0.72);
}

.rt-project-detail-page .project-files-group-summary {
    background: rgba(24, 29, 36, 0.86);
}

.project-detail-cover-media {
    --project-tile-tone: #c27aff;
    --project-tile-tone-rgb: 194, 122, 255;
    --project-tile-tone-glow: rgba(var(--project-tile-tone-rgb), 0.22);
    position: relative;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 26% 22%, rgba(var(--project-tile-tone-rgb), 0.9) 0%, rgba(var(--project-tile-tone-rgb), 0.24) 28%, transparent 55%),
        radial-gradient(circle at 78% 18%, rgba(var(--project-tile-tone-rgb), 0.2) 0%, transparent 34%),
        linear-gradient(145deg, rgba(var(--project-tile-tone-rgb), 0.48) 0%, rgba(var(--project-tile-tone-rgb), 0.1) 48%, #0c1118 100%);
}

.project-detail-cover-media::before {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 10%;
    height: 40%;
    z-index: 0;
    background:
        radial-gradient(70% 90% at 20% 100%, rgba(var(--project-tile-tone-rgb), 0.2) 0%, transparent 64%),
        radial-gradient(72% 82% at 88% 100%, rgba(var(--project-tile-tone-rgb), 0.3) 0%, transparent 62%);
    opacity: 0.82;
    transform: skewY(-7deg);
}

.project-detail-cover-media.project-tile-card--planned {
    --project-tile-tone: #c27aff;
    --project-tile-tone-rgb: 194, 122, 255;
}

.project-detail-cover-media.project-tile-card--active {
    --project-tile-tone: #ff9b22;
    --project-tile-tone-rgb: 255, 155, 34;
}

.project-detail-cover-media.project-tile-card--waiting {
    --project-tile-tone: #ff5f76;
    --project-tile-tone-rgb: 255, 95, 118;
}

.project-detail-cover-media.project-tile-card--done {
    --project-tile-tone: #34d986;
    --project-tile-tone-rgb: 52, 217, 134;
}

.project-detail-cover-mark {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52%;
    aspect-ratio: 1 / 1;
    border-radius: 1.15rem;
    border: 1px solid rgba(var(--project-tile-tone-rgb), 0.7);
    background: rgba(12, 16, 22, 0.55);
    color: color-mix(in srgb, var(--project-tile-tone) 72%, white);
    font-size: 0;
    line-height: 1;
    text-shadow: 0 0 18px rgba(var(--project-tile-tone-rgb), 0.28);
    box-shadow: 0 20px 42px -28px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.project-detail-cover-mark i {
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1;
}

.project-detail-progress {
    margin: 0;
}

.project-detail-progress-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-detail-progress-kicker {
    margin: 0;
    color: #f5f5f5;
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.project-detail-progress-percent {
    color: #f8f8f8;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1.4rem;
    font-weight: 720;
    line-height: 1;
    white-space: nowrap;
}

.project-detail-progress-track {
    margin-top: 0.72rem;
    height: 0.46rem;
    width: 100%;
    border-radius: 999px;
    background: rgba(61, 68, 80, 0.72);
    overflow: hidden;
}

.project-detail-progress-fill {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #38d07f 0%, #23b86d 100%);
}

@media (min-width: 760px) {
    .project-detail-header-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.project-detail-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.project-song-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 0.78rem;
    border: 1px solid #2d3440;
    background: #14181e;
    box-shadow: 0 18px 30px -28px rgba(0, 0, 0, 0.88), inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.project-song-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    color: #e5e7eb;
}

.project-song-table th,
.project-song-table td {
    border-right: 1px solid #2d3440;
    border-bottom: 1px solid #2d3440;
    text-align: left;
    vertical-align: middle;
}

.project-song-table th:last-child,
.project-song-table td:last-child {
    border-right: 0;
}

.project-song-table tbody tr:last-child td {
    border-bottom: 0;
}

.project-song-table th {
    background: #1b1f25;
    color: #9da8b8;
    font-size: 0.73rem;
    font-weight: 720;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.68rem 0.75rem;
}

.project-song-table td {
    background: #14181e;
    padding: 0.72rem 0.75rem;
}

.project-song-table tbody tr:hover td {
    background: #171c23;
}

.project-song-title-cell {
    display: grid;
    gap: 0.14rem;
    min-width: 0;
}

.project-song-title-cell strong {
    color: #f5f5f5;
    font-size: 0.92rem;
    font-weight: 710;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.project-song-title-cell span {
    color: #95a0b0;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.035em;
}

.project-song-production-start {
    display: inline-flex;
    color: #f5f5f5;
    font-size: 0.88rem;
    font-weight: 710;
    line-height: 1.25;
    white-space: pre-line;
}

.project-song-table-action-head {
    width: 7.2rem;
    text-align: center;
}

.project-song-action-cell {
    width: 1%;
    text-align: center;
    white-space: nowrap;
}

.project-song-contributors-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 2rem;
    border: 1px solid rgba(255, 200, 61, 0.32);
    border-radius: 999px;
    background: rgba(255, 200, 61, 0.09);
    color: #ffe8a3;
    padding: 0.34rem 0.64rem;
    font-size: 0.72rem;
    font-weight: 760;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.project-song-contributors-toggle:hover,
.project-song-contributors-toggle:focus-visible {
    border-color: rgba(255, 200, 61, 0.62);
    background: rgba(255, 200, 61, 0.16);
    color: #fff4cf;
    outline: none;
}

.project-song-contributors-toggle[aria-expanded="true"] {
    border-color: rgba(52, 217, 134, 0.52);
    background: rgba(52, 217, 134, 0.12);
    color: #baf7d3;
}

.project-song-contributors-empty-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    color: #7f8a9a;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.1;
}

.project-song-contributors-row[hidden] {
    display: none !important;
}

.project-song-contributors-row > td {
    padding: 0;
    background: rgba(10, 15, 22, 0.86);
}

.project-song-contributors-panel {
    display: grid;
    gap: 0.88rem;
    padding: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(145deg, rgba(18, 25, 35, 0.92) 0%, rgba(9, 14, 21, 0.94) 100%),
        #0b1017;
}

.project-song-contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.72rem;
}

.project-song-contributor-group {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 0.7rem;
    background: rgba(15, 21, 30, 0.58);
    padding: 0.66rem;
}

.project-song-contributor-group h4 {
    margin: 0;
    color: #c7d0de;
    font-size: 0.7rem;
    font-weight: 780;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.project-song-contributor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}

.project-song-contributor-chip {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    gap: 0.32rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(9, 14, 21, 0.72);
    color: #eef3f9;
    padding: 0.32rem 0.52rem;
    font-size: 0.75rem;
    font-weight: 710;
    line-height: 1.15;
}

.project-song-contributor-chip span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.project-song-contributor-chip small {
    flex: 0 1 auto;
    min-width: 0;
    color: #9aa6b6;
    font-size: 0.68rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.project-song-contributors-form {
    display: grid;
    gap: 0.85rem;
}

.project-song-contributors-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 0.78rem;
}

.project-song-contributor-edit-group {
    display: grid;
    align-content: start;
    gap: 0.62rem;
    min-width: 0;
    min-height: 8.1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.82rem;
    background: rgba(15, 21, 30, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    padding: 0.78rem;
}

.project-song-contributor-edit-group h4 {
    display: flex;
    align-items: center;
    gap: 0.44rem;
    margin: 0;
    color: #e7edf6;
    font-size: 0.8rem;
    font-weight: 760;
    letter-spacing: 0;
}

.project-song-contributor-edit-group h4 i {
    width: 1.05rem;
    color: #ffc83d;
    font-size: 0.78rem;
    text-align: center;
}

.project-song-contributor-add-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.15rem;
    gap: 0.5rem;
    align-items: center;
}

.project-song-contributor-add-row.is-musician {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.58fr) 2.15rem;
}

.project-song-contributor-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    min-height: 1.95rem;
}

.project-song-contributor-input,
.project-song-contributor-instrument-input {
    width: 100%;
    min-height: 2.34rem;
    border-radius: 0.58rem;
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(8, 13, 20, 0.58);
    color: #edf0f5;
    font-size: 0.82rem;
    font-weight: 560;
}

.project-song-contributor-input::placeholder,
.project-song-contributor-instrument-input::placeholder {
    color: #7f8a9a;
}

.project-song-contributor-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid rgba(255, 200, 61, 0.46);
    border-radius: 999px;
    background: rgba(255, 200, 61, 0.08);
    color: #ffc83d;
    font-size: 0.8rem;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.project-song-contributor-add-btn:hover,
.project-song-contributor-add-btn:focus-visible {
    border-color: rgba(255, 200, 61, 0.72);
    background: rgba(255, 200, 61, 0.15);
    color: #ffe8a3;
    outline: none;
}

.project-song-contributor-edit-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 0.36rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.46rem;
    background: rgba(8, 13, 20, 0.68);
    color: #e7edf6;
    padding: 0.28rem 0.34rem 0.28rem 0.48rem;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.15;
}

.project-song-contributor-edit-chip span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.project-song-contributor-edit-chip small {
    min-width: 0;
    color: #9aa6b6;
    font-size: 0.7rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.project-song-contributor-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.16rem;
    height: 1.16rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #9aa6b6;
    font-size: 0.68rem;
}

.project-song-contributor-chip-remove:hover,
.project-song-contributor-chip-remove:focus-visible {
    background: rgba(255, 95, 118, 0.14);
    color: #ffb0bb;
    outline: none;
}

.project-song-contributors-actions {
    display: flex;
    justify-content: flex-end;
}

.project-contributors-card {
    display: grid;
    gap: 1rem;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.9) 0%, rgba(11, 16, 23, 0.94) 72%),
        #0e131a;
    box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.94), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1rem;
}

.project-contributors-table-wrap {
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    overflow: auto;
    background: rgba(11, 16, 23, 0.64);
}

.project-contributors-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.project-contributors-table thead th {
    text-align: left;
    color: #97a1af;
    font-size: 0.72rem;
    font-weight: 630;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.68rem 0.72rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    background: rgba(24, 29, 36, 0.94);
}

.project-contributors-table tbody td {
    padding: 0.62rem 0.72rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    color: #dbe3ee;
    font-size: 0.83rem;
    vertical-align: middle;
}

.project-contributors-table tbody tr:last-child td {
    border-bottom: 0;
}

.project-contributor-name {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.24rem;
}

.project-contributor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.project-contributor-song-list {
    color: #aeb8c7;
    font-size: 0.78rem;
    font-weight: 560;
    overflow-wrap: anywhere;
}

.project-contributor-gema {
    color: #dbe3ee;
    font-size: 0.78rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.project-contributor-access-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
}

.project-contributor-access-options {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(8, 13, 20, 0.72);
    padding: 0.18rem;
}

.project-contributor-access-option {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.project-contributor-access-option input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.project-contributor-access-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.82rem;
    border-radius: 999px;
    color: #9aa6b6;
    padding: 0.28rem 0.62rem;
    font-size: 0.7rem;
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
}

.project-contributor-access-option input:checked + span {
    background: rgba(255, 200, 61, 0.14);
    color: #ffe8a3;
}

.project-contributor-access-option input:focus-visible + span {
    outline: 2px solid rgba(255, 200, 61, 0.48);
    outline-offset: 2px;
}

.project-contributor-access-unavailable {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(15, 21, 30, 0.58);
    color: #7f8a9a;
    padding: 0.24rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.project-stage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #4a505a;
    background: #1f242b;
    color: #d8d8d8;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    min-width: 4.35rem;
    padding: 0.34rem 0.58rem;
    white-space: nowrap;
}

.project-stage-pill.is-done {
    border-color: rgba(46, 205, 142, 0.72);
    background: rgba(15, 77, 56, 0.46);
    color: #9ef1cd;
}

.project-stage-pill.is-active {
    border-color: rgba(255, 200, 61, 0.6);
    background: rgba(255, 200, 61, 0.14);
    color: #ffe39c;
}

.project-stage-pill.is-review {
    border-color: rgba(76, 154, 255, 0.68);
    background: rgba(37, 99, 235, 0.22);
    color: #bfdbfe;
}

.project-stage-pill.is-open {
    border-color: rgba(255, 95, 118, 0.7);
    background: rgba(127, 29, 45, 0.34);
    color: #fecdd3;
    box-shadow: inset 0 0 0 1px rgba(255, 95, 118, 0.06);
}

.project-song-empty {
    color: #a3afbf;
    font-weight: 650;
    text-align: center;
}

.project-files-empty {
    margin: 0;
    border-radius: 0.78rem;
    border: 1px solid #2f3641;
    background: rgba(20, 24, 30, 0.72);
    color: #a3afbf;
    font-size: 0.88rem;
    font-weight: 650;
    padding: 1rem;
    text-align: center;
}

.project-files-groups {
    display: grid;
    gap: 1rem;
}

.project-files-error {
    margin: 0;
    border-radius: 0.72rem;
    border: 1px solid #7f2234;
    background: rgba(68, 23, 34, 0.5);
    color: #ffb7c2;
    font-size: 0.84rem;
    font-weight: 650;
    padding: 0.72rem 0.8rem;
}

.project-files-download-form {
    display: grid;
    gap: 0.82rem;
}

.project-files-group {
    border-radius: 0.95rem;
    border: 1px solid #323b49;
    background: rgba(16, 20, 27, 0.8);
    overflow: hidden;
    box-shadow: 0 18px 30px -28px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.project-files-group-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.78rem;
    min-height: 4rem;
    padding: 0.78rem 0.9rem;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, rgba(29, 34, 42, 0.96) 0%, rgba(22, 27, 34, 0.96) 100%);
}

.project-files-group-summary::-webkit-details-marker {
    display: none;
}

.project-files-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.18rem;
    height: 2.18rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, 0.34);
    background: rgba(255, 200, 61, 0.12);
    color: #ffd56b;
    flex-shrink: 0;
}

.project-files-group-icon svg,
.project-files-group-icon i {
    width: 1.08rem;
    height: 1.08rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-files-group-copy {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.project-files-group-copy strong {
    color: #f5f5f5;
    font-size: 1.03rem;
    font-weight: 760;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.project-files-group-copy small {
    color: #9eabbc;
    font-size: 0.78rem;
    font-weight: 680;
}

.project-files-group-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #c9d2df;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.project-files-group-chevron svg,
.project-files-group-chevron i {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-files-group:not([open]) .project-files-group-chevron {
    transform: rotate(-90deg);
}

.project-files-group[open] .project-files-group-summary {
    border-bottom: 1px solid #323b49;
}

.project-files-group-body {
    display: grid;
    gap: 0.95rem;
    padding: 0.95rem;
}

.project-files-section {
    display: grid;
    gap: 0.48rem;
}

.project-files-section-title {
    margin: 0;
    color: #aebbd0;
    font-size: 0.95rem;
    font-weight: 790;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.project-files-list {
    display: grid;
    gap: 0.42rem;
}

.project-files-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(5.8rem, 12rem) minmax(4.8rem, 7rem) auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 3.15rem;
    border-radius: 0.72rem;
    border: 1px solid #303846;
    background: rgba(22, 27, 34, 0.82);
    padding: 0.58rem 0.72rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.022);
}

.project-files-row-main {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    min-width: 0;
}

.project-files-row-name {
    color: #eef2f8;
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: anywhere;
}

.project-files-row-version,
.project-files-row-size {
    color: #a9b6c8;
    font-size: 0.84rem;
    font-weight: 660;
    line-height: 1.25;
}

.project-files-row-size {
    text-align: right;
    white-space: nowrap;
}

.project-files-row-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.6rem;
    border: 1px solid #566174;
    background: linear-gradient(180deg, rgba(35, 42, 52, 0.94) 0%, rgba(19, 24, 31, 0.94) 100%);
    color: #dce5f2;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.project-files-row-download svg,
.project-files-row-download i {
    width: 1.08rem;
    height: 1.08rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-files-row-download:hover {
    border-color: #ffc83d;
    color: #ffd56b;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.project-files-row-download:focus-visible {
    outline: 2px solid rgba(255, 200, 61, 0.62);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .project-files-group-summary {
        padding: 0.72rem;
    }

    .project-files-group-body {
        padding: 0.72rem;
    }

    .project-files-section-title {
        font-size: 0.82rem;
    }

    .project-files-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.44rem;
        align-items: start;
    }

    .project-files-row-version,
    .project-files-row-size {
        padding-left: 3.08rem;
        text-align: left;
    }

    .project-files-row-download {
        margin-left: 3.08rem;
    }
}

@media (max-width: 520px) {
    .release-year-heading {
        font-size: 1.55rem;
    }

    .release-tile-body {
        margin-top: 0;
        padding: 0.78rem 0.78rem 0.72rem;
    }
}

/* Mobile layout stabilization for app screens */
@media (max-width: 1023px) {
    main.relative {
        overflow-x: clip;
    }

    .rt-dashboard {
        box-sizing: border-box;
        width: calc(100% + 2.5rem);
        max-width: none;
        margin: -1.5rem -1.25rem -1.5rem;
        padding: 1.5rem 1.25rem;
        overflow-x: clip;
        padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1.5rem));
    }

    .rt-dashboard-header {
        min-width: 0;
        padding-right: 3.3rem;
    }

    .rt-dashboard-header > div {
        min-width: 0;
        max-width: 100%;
    }

    .rt-dashboard-header h1,
    .rt-dashboard-header p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .rt-admin-users-page .rt-dashboard-header {
        align-items: stretch;
        padding-right: 0;
    }

    .rt-admin-users-page .rt-dashboard-header > div {
        padding-right: 3.3rem;
    }

    .rt-admin-users-create-action {
        width: 100%;
    }

    .rt-card,
    .release-toolbar,
    .release-detail-header,
    .project-song-table-wrap,
    .rt-admin-users-card {
        max-width: 100%;
    }

    .rt-card::after {
        max-width: 72vw;
    }
}

@media (max-width: 700px) {
    .rt-releases-header {
        gap: 0.85rem;
    }

    .rt-releases-header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .rt-releases-header-actions .rt-calendar-secondary-action,
    .rt-releases-header-actions .rt-primary-action {
        width: 100%;
    }

    .rt-releases-page .release-toolbar {
        min-width: 0;
        overflow: hidden;
        padding: 0.82rem;
    }

    .release-toolbar-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.42rem;
        overflow: visible;
    }

    .rt-releases-page .release-toolbar-tab,
    .release-toolbar-tab {
        min-width: 0;
        justify-content: center;
        gap: 0.28rem;
        padding-inline: 0.44rem;
        font-size: 0.78rem;
        text-align: center;
    }

    .release-toolbar-tab > span:first-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .release-toolbar-controls {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .release-toolbar-search,
    .release-toolbar-sort,
    .release-toolbar-sort .field-select,
    .release-toolbar-filter,
    .release-toolbar-filter > summary {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .release-toolbar-filter-panel {
        position: static;
        width: 100%;
        margin-top: 0.55rem;
    }
}

@media (max-width: 640px) {
    .rt-release-detail-page {
        gap: 0.78rem;
    }

    .rt-release-detail-page .release-detail-header {
        padding: 0.82rem;
    }

    .rt-release-detail-page .release-detail-topbar {
        gap: 0.62rem;
        padding-right: 0;
    }

    .rt-release-detail-page .release-detail-breadcrumbs {
        box-sizing: border-box;
        width: 100%;
        padding-right: 3rem;
        font-size: 0.72rem;
    }

    .rt-release-detail-page .release-detail-actions {
        display: none;
    }

    .rt-release-detail-page .release-live-toggle-chip {
        width: 100%;
        justify-content: space-between;
        min-height: 2.42rem;
        border-radius: 0.72rem;
    }

    .rt-release-detail-page .release-detail-actions > form,
    .rt-release-detail-page .release-detail-actions > .btn-primary {
        display: none;
    }

    .rt-release-detail-page .release-detail-mobile-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.52rem;
        margin-top: 0.7rem;
        width: 100%;
    }

    .rt-release-detail-page .release-detail-mobile-actions .release-live-toggle-chip {
        grid-column: 1 / -1;
        min-height: 2.42rem;
        border-radius: 0.72rem;
    }

    .rt-release-detail-page .release-detail-mobile-actions form,
    .rt-release-detail-page .release-detail-mobile-actions .btn-primary,
    .rt-release-detail-page .release-detail-mobile-actions .btn-secondary {
        width: 100%;
    }

    .rt-release-detail-page .release-detail-mobile-actions .btn-primary,
    .rt-release-detail-page .release-detail-mobile-actions .btn-secondary {
        min-height: 2.38rem;
        padding-inline: 0.62rem;
        font-size: 0.82rem;
    }

    .rt-release-detail-page .release-detail-header-row {
        margin-top: 0.78rem;
    }

    .rt-release-detail-page .release-detail-header-main {
        display: grid;
        grid-template-columns: minmax(7.2rem, 34vw) minmax(0, 1fr);
        gap: 0.78rem;
        align-items: start;
        width: 100%;
    }

    .rt-release-detail-page .release-detail-header-cover {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 100%;
        justify-self: start;
    }

    .rt-release-detail-page .release-detail-heading {
        display: contents;
        min-height: 0;
        width: 100%;
    }

    .rt-release-detail-page .release-detail-heading-summary {
        display: contents;
        min-width: 0;
    }

    .rt-release-detail-page .release-detail-header-info-box {
        grid-column: 1 / -1;
    }

    .rt-release-detail-page .release-detail-status-row {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin-bottom: 0.46rem;
    }

    .rt-release-detail-page .release-detail-title {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        font-size: clamp(1.42rem, 8vw, 2.2rem);
        line-height: 1.05;
    }

    .rt-release-detail-page .release-detail-meta {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.48rem;
        width: 100%;
        margin-top: 0.72rem;
    }

    .rt-release-detail-page .release-detail-meta-item {
        min-width: 0;
        min-height: 2.2rem;
        justify-content: flex-start;
        padding: 0.42rem 0.52rem;
        white-space: normal;
    }

    .rt-release-detail-page .release-detail-meta-item > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
    }

    .rt-release-detail-page .release-detail-header-info-box {
        margin-top: 0.78rem;
        padding: 0.78rem;
    }

    .rt-release-detail-page .release-detail-header-info-list > div {
        grid-template-columns: 1fr;
        gap: 0.18rem;
    }

    .rt-release-detail-page .release-detail-header-info-list dd {
        text-align: left;
    }

    .rt-release-detail-page .release-detail-production-slot-grid {
        grid-template-columns: 1fr;
    }

    .rt-release-detail-page .release-detail-tabs {
        padding-inline: 0;
    }
}

@media (max-width: 760px) {
    .rt-project-detail-dashboard-header {
        gap: 0.75rem;
    }

    .rt-project-detail-dashboard-header .rt-calendar-secondary-action {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        overflow: hidden;
        white-space: normal;
        text-align: left;
    }

    .rt-project-detail-page .project-detail-header {
        padding: 0.9rem;
    }

    .rt-project-detail-page .release-detail-header-main {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .rt-project-detail-page .release-detail-header-cover {
        width: min(9rem, 48vw);
    }

    .rt-project-detail-page .release-detail-heading-summary {
        grid-column: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .rt-project-detail-page .release-detail-header-info-box {
        grid-column: auto;
        min-width: 0;
        overflow: hidden;
    }

    .rt-project-detail-page .release-detail-header-info-grid,
    .rt-project-detail-page .project-detail-header-info-grid {
        grid-template-columns: 1fr;
    }

    .rt-project-detail-page .release-detail-meta {
        width: 100%;
    }

    .rt-project-detail-page .release-detail-meta-item {
        max-width: 100%;
    }

    .project-detail-progress-track {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .rt-project-detail-page .project-song-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .rt-project-detail-page .project-song-table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .rt-project-detail-page .project-song-table thead {
        display: none;
    }

    .rt-project-detail-page .project-song-table tbody {
        display: grid;
        gap: 0.62rem;
    }

    .rt-project-detail-page .project-song-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.52rem;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 0.84rem;
        background:
            linear-gradient(145deg, rgba(14, 20, 29, 0.92) 0%, rgba(8, 13, 20, 0.96) 100%),
            #0b1017;
        padding: 0.72rem;
        overflow: hidden;
    }

    .rt-project-detail-page .project-song-table th,
    .rt-project-detail-page .project-song-table td {
        display: block;
        min-width: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0;
    }

    .rt-project-detail-page .project-song-table td::before {
        content: attr(data-label);
        color: #8e9bad;
        font-size: 0.56rem;
        font-weight: 760;
        letter-spacing: 0.045em;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        text-transform: uppercase;
    }

    .rt-project-detail-page .project-song-table td:first-child {
        grid-column: 1 / -1;
        padding-bottom: 0.52rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    .rt-project-detail-page .project-song-table td:first-child::before,
    .rt-project-detail-page .project-song-empty::before {
        display: none;
    }

    .rt-project-detail-page .project-song-title-cell strong {
        display: -webkit-box;
        max-height: calc(0.94rem * 1.18 * 2);
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 0.94rem;
        line-height: 1.18;
    }

    .rt-project-detail-page .project-song-title-cell span {
        font-size: 0.68rem;
    }

    .rt-project-detail-page .project-song-table td:nth-child(2) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        border: 1px solid rgba(148, 163, 184, 0.13);
        border-radius: 0.62rem;
        background: rgba(15, 21, 30, 0.58);
        padding: 0.5rem 0.58rem;
    }

    .rt-project-detail-page .project-song-table td:nth-child(2)::before {
        color: #a1adbd;
        font-size: 0.58rem;
        line-height: 1.1;
        text-align: left;
    }

    .rt-project-detail-page .project-song-table td:nth-child(n+3) {
        display: grid;
        grid-template-rows: auto minmax(1.58rem, auto);
        align-content: start;
        justify-items: stretch;
        gap: 0.34rem;
        border: 1px solid rgba(148, 163, 184, 0.12);
        border-radius: 0.62rem;
        background: rgba(15, 21, 30, 0.42);
        padding: 0.46rem;
    }

    .rt-project-detail-page .project-song-table td:nth-child(n+3)::before {
        display: block;
        color: #99a5b6;
        font-size: 0.55rem;
        line-height: 1;
        text-align: left;
    }

    .rt-project-detail-page .project-song-production-start {
        color: #e6edf7;
        font-size: 0.76rem;
        text-align: right;
        white-space: normal;
    }

    .rt-project-detail-page .project-stage-pill {
        align-self: stretch;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 1.58rem;
        padding: 0.28rem 0.38rem;
        font-size: 0.62rem;
        line-height: 1.05;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rt-project-detail-page .project-song-table .project-song-action-cell {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border: 1px solid rgba(148, 163, 184, 0.12);
        border-radius: 0.62rem;
        background: rgba(15, 21, 30, 0.42);
        padding: 0.46rem;
        white-space: normal;
    }

    .rt-project-detail-page .project-song-table .project-song-action-cell::before {
        display: none;
    }

    .rt-project-detail-page .project-song-contributors-toggle {
        width: 100%;
        min-height: 2.05rem;
    }

    .rt-project-detail-page .project-song-contributors-empty-inline {
        width: 100%;
        justify-content: flex-start;
        min-height: 1.58rem;
        padding: 0 0.18rem;
    }

    .rt-project-detail-page .project-song-table .project-song-contributors-row {
        display: block;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0;
    }

    .rt-project-detail-page .project-song-table .project-song-contributors-row[hidden] {
        display: none !important;
    }

    .rt-project-detail-page .project-song-table .project-song-contributors-row > td {
        display: block;
        border: 0;
        background: transparent;
        padding: 0;
    }

    .rt-project-detail-page .project-song-table .project-song-contributors-row > td::before {
        display: none;
    }

    .rt-project-detail-page .project-song-contributors-panel {
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 0.84rem;
        padding: 0.78rem;
    }

    .rt-project-detail-page .project-song-contributors-grid {
        grid-template-columns: 1fr;
    }

    .rt-project-detail-page .project-contributors-card {
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .rt-project-detail-page .project-contributors-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .rt-project-detail-page .project-contributors-table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .rt-project-detail-page .project-contributors-table thead {
        display: none;
    }

    .rt-project-detail-page .project-contributors-table tbody {
        display: grid;
        gap: 0.56rem;
    }

    .rt-project-detail-page .project-contributors-table tbody tr {
        display: grid;
        grid-template-columns: 2.1rem minmax(0, 1fr);
        gap: 0.5rem 0.72rem;
        align-items: start;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        padding: 0.72rem 0.12rem;
        min-width: 0;
    }

    .rt-project-detail-page .project-contributors-table tbody tr:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .rt-project-detail-page .project-contributors-table tbody td {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.28rem;
        border-bottom: 0;
        padding: 0;
        min-width: 0;
    }

    .rt-project-detail-page .project-contributors-table tbody td:nth-child(1) {
        display: contents;
    }

    .rt-project-detail-page .project-contributors-table tbody td:nth-child(2),
    .rt-project-detail-page .project-contributors-table tbody td:nth-child(3),
    .rt-project-detail-page .project-contributors-table tbody td:nth-child(4),
    .rt-project-detail-page .project-contributors-table tbody td:nth-child(5) {
        grid-column: 2;
    }

    .rt-project-detail-page .project-contributors-table tbody td:nth-child(2)::before,
    .rt-project-detail-page .project-contributors-table tbody td:nth-child(3)::before,
    .rt-project-detail-page .project-contributors-table tbody td:nth-child(4)::before,
    .rt-project-detail-page .project-contributors-table tbody td:nth-child(5)::before {
        content: attr(data-label);
        color: #7d8796;
        font-size: 0.64rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .rt-project-detail-page .project-contributor-avatar {
        grid-column: 1;
        grid-row: 1 / span 4;
        align-self: start;
        width: 2.1rem;
        height: 2.1rem;
    }

    .rt-project-detail-page .project-contributor-name {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        min-width: 0;
    }

    .rt-project-detail-page .project-contributor-access-form {
        display: grid;
        justify-content: stretch;
        gap: 0.5rem;
    }

    .rt-project-detail-page .project-contributor-access-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: 0.72rem;
    }

    .rt-project-detail-page .project-contributor-access-option span {
        width: 100%;
        padding-inline: 0.38rem;
        white-space: normal;
        text-align: center;
    }

    .rt-project-detail-page .project-contributor-access-unavailable {
        width: 100%;
        justify-self: stretch;
        justify-content: center;
    }

    .rt-project-detail-page .project-song-empty {
        grid-column: 1 / -1;
        padding: 0.85rem;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .rt-project-detail-page .project-song-table tr {
        grid-template-columns: 1fr;
    }

    .rt-project-detail-page .project-song-table td {
        padding: 0;
    }

    .rt-project-detail-page .project-song-table td:nth-child(n+3) {
        padding: 0.44rem;
    }

    .rt-project-detail-page .project-song-production-start {
        text-align: right;
    }
}

@media (max-width: 620px) {
    .rt-admin-users-card-heading {
        align-items: stretch;
    }

    .rt-admin-users-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 2.7rem;
        width: 100%;
    }

    .rt-admin-users-search-field {
        min-width: 0;
        width: 100%;
    }

    .rt-admin-users-search-submit {
        width: 2.7rem;
        min-width: 2.7rem;
        height: 2.7rem;
        min-height: 2.7rem;
    }

    .rt-admin-users-table-wrap {
        overflow: visible;
    }

    .rt-admin-users-table,
    .rt-admin-users-table thead,
    .rt-admin-users-table tbody,
    .rt-admin-users-table tr,
    .rt-admin-users-table th,
    .rt-admin-users-table td {
        display: block;
    }

    .rt-admin-users-table {
        min-width: 0;
        width: 100%;
    }

    .rt-admin-users-table thead {
        display: none;
    }

    .rt-admin-users-table tbody {
        display: grid;
        gap: 0.72rem;
        padding: 0.85rem;
    }

    .rt-admin-users-table tbody tr {
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 13px;
        background: rgba(11, 16, 23, 0.68);
        overflow: hidden;
    }

    .rt-admin-users-table td {
        display: grid;
        grid-template-columns: minmax(6.5rem, 38%) minmax(0, 1fr);
        gap: 0.75rem;
        align-items: center;
        min-height: 2.65rem;
        padding: 0.7rem 0.78rem;
        border-top: 1px solid rgba(148, 163, 184, 0.1);
    }

    .rt-admin-users-table td:first-child {
        border-top: 0;
        grid-template-columns: 1fr;
        gap: 0.15rem;
        align-items: start;
    }

    .rt-admin-users-table td::before {
        content: attr(data-label);
        color: #8793a5;
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .rt-admin-users-table td:first-child::before,
    .rt-admin-users-table td.rt-admin-users-empty::before {
        display: none;
    }

    .rt-admin-users-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .rt-admin-users-pagination {
        padding: 0.85rem;
    }
}

@media (max-width: 560px) {
    .strategy-result-page .strategy-result-cycle {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .strategy-result-page .strategy-result-plan-action {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
        justify-content: stretch;
    }

    .strategy-result-page .strategy-result-plan-action button {
        width: 100%;
    }

    .strategy-result-page .strategy-result-warning {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .strategy-result-page .strategy-result-action-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .strategy-result-page .strategy-result-action-card-badges,
    .strategy-result-page .strategy-result-next-badge,
    .strategy-result-page .strategy-result-completed-badge {
        max-width: 100%;
    }
}

/* Global dark utility overrides */
.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-slate-50\/30,
.bg-slate-50\/40,
.bg-slate-50\/50,
.bg-slate-50\/70,
.bg-slate-50\/80,
.bg-white\/65,
.bg-white\/70,
.bg-white\/75,
.bg-white\/80,
.bg-white\/85,
.bg-white\/90,
.bg-white\/95,
.bg-brand-50,
.bg-brand-50\/30,
.bg-brand-50\/40 {
    background-color: #1a1e24 !important;
}

.text-slate-950,
.text-slate-900,
.text-slate-800,
.text-slate-700 {
    color: #f3f3f3 !important;
}

.text-slate-600,
.text-slate-500,
.text-slate-400 {
    color: #a3a3a3 !important;
}

.text-brand-700,
.text-brand-600,
.text-brand-500 {
    color: #ffc83d !important;
}

.border-slate-100,
.border-slate-200,
.border-slate-300,
.border-slate-400,
.border-brand-100,
.border-brand-200,
.border-brand-300,
.border-brand-400 {
    border-color: #4a515d !important;
}

.app-sidebar {
    position: fixed !important;
    isolation: isolate;
    max-height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background:
        linear-gradient(180deg, rgba(12, 17, 24, 0.98) 0%, rgba(7, 10, 15, 0.99) 42%, #05070b 100%) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03), 26px 0 60px -52px rgba(0, 0, 0, 0.95);
    color: #dce4ef;
}

@media (min-width: 1024px) {
    .app-sidebar {
        position: sticky !important;
        top: 0;
        height: 100vh;
        min-height: 0;
        align-self: start;
    }
}

.app-sidebar::-webkit-scrollbar {
    width: 0.5rem;
}

.app-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.app-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
}

.app-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 200, 61, 0.38);
}

.app-sidebar::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(255, 200, 61, 0.08), transparent 42%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 28px);
    opacity: 0.72;
}

.app-sidebar > * {
    position: relative;
    z-index: 1;
}

.app-sidebar-brand {
    margin-bottom: 1.35rem !important;
}

.app-sidebar-logo-link {
    min-width: 0;
}

.app-sidebar-logo-link img {
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.38));
}

.app-sidebar-close {
    border-radius: 9px !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    background: rgba(11, 16, 23, 0.78) !important;
    color: #dce4ef !important;
}

.app-sidebar nav {
    display: grid;
    gap: 0.28rem;
}

.app-sidebar .sidebar-nav {
    gap: 1.05rem;
}

.app-sidebar .mt-8 {
    margin-top: 1.45rem !important;
}

.app-sidebar .mt-8 > p {
    color: #798497 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.13em !important;
}

.app-sidebar-account,
.app-sidebar-support-card {
    border-color: rgba(148, 163, 184, 0.16) !important;
    border-radius: 14px !important;
    background:
        linear-gradient(145deg, rgba(24, 29, 36, 0.92) 0%, rgba(11, 16, 23, 0.94) 76%),
        #0e131a !important;
    box-shadow: 0 18px 44px -38px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.app-sidebar-account > p,
.app-sidebar-support-card > p {
    color: #8793a5 !important;
}

.app-sidebar-support-card .inline-flex.h-7 {
    border-color: rgba(148, 163, 184, 0.2) !important;
    background: rgba(11, 16, 23, 0.74) !important;
    color: #aeb8c7 !important;
}

.app-sidebar-support-card .inline-flex.h-7:hover {
    border-color: rgba(255, 200, 61, 0.48) !important;
    color: #ffc83d !important;
}

.app-sidebar-support-card .btn-primary {
    width: 100%;
    border-radius: 9px;
    margin-top: 0;
}

.sidebar-logout-button {
    justify-content: center;
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(11, 16, 23, 0.78);
    color: #e7edf6;
}

.sidebar-logout-button:hover {
    border-color: rgba(255, 200, 61, 0.48);
    background: rgba(16, 22, 31, 0.94);
    color: #ffc83d;
}

.sidebar-avatar-ring {
    position: relative;
    display: inline-grid;
    place-items: center;
    overflow: visible;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 999px;
    padding: 0.18rem;
    flex: 0 0 auto;
    background: #343a46;
    isolation: isolate;
}

.sidebar-avatar-ring--free {
    background: linear-gradient(135deg, #414956, #6b7280);
}

.sidebar-avatar-ring--pro {
    background: linear-gradient(135deg, #ffdc73, #ffc83d 48%, #a86600);
    box-shadow: 0 0 16px rgba(255, 200, 61, 0.28);
}

.sidebar-avatar-ring--customer {
    background: conic-gradient(from 20deg, #fff5be, #ffc83d, #8f5a00, #fff0a3, #ffc83d, #fff5be);
    box-shadow: 0 0 22px rgba(255, 200, 61, 0.48), 0 0 44px rgba(255, 200, 61, 0.16);
}

.sidebar-avatar-ring--staff {
    background: linear-gradient(135deg, #8dbdff, #315d98);
}

.sidebar-avatar-image,
.sidebar-avatar-fallback {
    width: calc(3.35rem - 0.36rem);
    height: calc(3.35rem - 0.36rem);
    border-radius: 999px !important;
    border: 2px solid #000000;
    box-sizing: border-box;
    clip-path: circle(50% at 50% 50%);
    grid-area: 1 / 1;
}

.sidebar-avatar-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.sidebar-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #f8fafc;
    font-size: 0.86rem;
    font-weight: 800;
}

.sidebar-avatar-badge {
    position: absolute;
    right: -0.42rem;
    bottom: -0.22rem;
    min-width: 1.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #151922;
    color: #e5e7eb;
    padding: 0.12rem 0.34rem;
    font-size: 0.58rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.9);
}

.sidebar-avatar-ring--pro .sidebar-avatar-badge,
.sidebar-avatar-ring--customer .sidebar-avatar-badge {
    border-color: rgba(255, 200, 61, 0.44);
    background: linear-gradient(135deg, #ffdf73, #ffc83d);
    color: #171008;
}

.sidebar-avatar-ring--customer .sidebar-avatar-badge {
    box-shadow: 0 0 16px rgba(255, 200, 61, 0.38), 0 8px 18px -10px rgba(0, 0, 0, 0.9);
}

.sidebar-account-name {
    display: flex;
    align-items: center;
    gap: 0.34rem;
}

.sidebar-account-name span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-customer-verified {
    flex: 0 0 auto;
    color: #4aa3ff;
    font-size: 0.82rem;
    filter: drop-shadow(0 0 6px rgba(74, 163, 255, 0.42));
}

.sidebar-logout-form {
    margin-top: 1rem;
}

/* Keep warning/success/error color logic, but in dark variants */
.bg-amber-50 { background-color: #2a1f08 !important; }
.bg-amber-100 { background-color: #3b2a0a !important; }
.bg-amber-50\/70 { background-color: rgba(42, 31, 8, 0.7) !important; }
.border-amber-200 { border-color: #7c5b14 !important; }
.border-amber-300 { border-color: #a87b1c !important; }
.text-amber-900 { color: #ffe3a8 !important; }
.text-amber-800 { color: #ffd98a !important; }
.text-amber-700 { color: #ffc83d !important; }

.bg-emerald-50 { background-color: #0f241b !important; }
.bg-emerald-100 { background-color: #153226 !important; }
.bg-emerald-50\/60 { background-color: rgba(15, 36, 27, 0.6) !important; }
.border-emerald-200 { border-color: #2f7b61 !important; }
.border-emerald-300 { border-color: #3f9b79 !important; }
.text-emerald-900 { color: #b8f2d8 !important; }
.text-emerald-800 { color: #8de6bf !important; }
.text-emerald-700 { color: #6ee7b7 !important; }

.bg-rose-50 { background-color: #2a0f14 !important; }
.bg-rose-100 { background-color: #3b141c !important; }
.bg-rose-50\/40 { background-color: rgba(42, 15, 20, 0.4) !important; }
.bg-rose-50\/70 { background-color: rgba(42, 15, 20, 0.7) !important; }
.border-rose-200 { border-color: #7f2234 !important; }
.border-rose-300 { border-color: #a42d45 !important; }
.text-rose-900 { color: #ffc0cb !important; }
.text-rose-800 { color: #ff9fb0 !important; }
.text-rose-700 { color: #ff758f !important; }
.text-rose-600 { color: #ff5c7c !important; }

.hover\:bg-rose-100:hover { background-color: #3b141c !important; }
.hover\:bg-emerald-100:hover { background-color: #153226 !important; }

.rt-release-edit-page {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.rt-release-edit-page .rt-release-edit-header {
    margin-bottom: 0;
}

.rt-release-edit-page .rt-release-edit-header .btn-secondary,
.rt-release-edit-page .release-edit-form .btn-secondary {
    gap: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 9px;
    background: rgba(11, 16, 23, 0.72);
    color: #f8fafc;
}

.rt-release-edit-page .rt-release-edit-header .btn-secondary:hover,
.rt-release-edit-page .release-edit-form .btn-secondary:hover {
    border-color: rgba(255, 200, 61, 0.45);
    color: #ffc83d;
}

.rt-release-edit-page .rt-release-edit-card {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.rt-release-edit-page .release-edit-form {
    display: grid;
    gap: 1.05rem;
}

.rt-release-edit-page .release-edit-form .release-edit-grid {
    gap: 1rem;
}

.rt-release-edit-page .field-label,
.rt-release-edit-page .release-edit-form .field-label,
.rt-release-edit-page .release-edit-form .text-slate-900,
.rt-release-edit-page .release-edit-form .text-slate-700 {
    color: #f8fafc !important;
}

.rt-release-edit-page .release-edit-form .text-slate-500,
.rt-release-edit-page .release-edit-form .text-slate-600,
.rt-release-edit-page .release-edit-form .text-slate-400,
.rt-release-edit-page .release-edit-form p:not(.text-rose-600) {
    color: #aeb8c7 !important;
}

.rt-release-edit-page .release-edit-form .rounded-lg.border,
.rt-release-edit-page .release-edit-form .rounded-xl.border {
    border-color: rgba(148, 163, 184, 0.18) !important;
    background: rgba(11, 16, 23, 0.58) !important;
}

.rt-release-edit-page .release-edit-form input[type='radio'] {
    border-color: rgba(148, 163, 184, 0.32);
    background-color: rgba(11, 16, 23, 0.72);
    color: #ffc83d;
}

.rt-release-edit-page .release-edit-form input[type='radio']:checked {
    border-color: #ffc83d;
    background-color: #ffc83d;
}

.rt-release-edit-page .release-edit-form input[type='color'] {
    border-color: rgba(148, 163, 184, 0.22) !important;
    background: rgba(11, 16, 23, 0.72) !important;
}

.rt-release-edit-page [data-release-color-preset] {
    border-color: rgba(248, 250, 252, 0.3) !important;
    box-shadow: 0 0 0 2px rgba(11, 16, 23, 0.88);
}

.rt-release-edit-page .release-cover-dropzone {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(11, 16, 23, 0.62);
    border-radius: 14px;
}

.rt-release-edit-page .release-cover-overlay {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(2, 6, 12, 0.48);
}

.rt-release-edit-page .release-edit-form > .flex:last-child {
    justify-content: flex-end;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding-top: 1rem;
}

.rt-release-edit-page .release-edit-form .btn-primary {
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #ffcf4b 0%, #ffb31a 100%);
    color: #151008;
    box-shadow: 0 14px 26px -20px rgba(255, 200, 61, 0.78);
}

/* Release edit page: ensure form fields stay dark */
.release-edit-form .field-input,
.release-edit-form .field-select,
.release-edit-form .field-textarea {
    background-color: #0f0f0f !important;
    border-color: #424242 !important;
    color: #f3f3f3 !important;
}

.release-edit-form .field-input::placeholder,
.release-edit-form .field-select::placeholder,
.release-edit-form .field-textarea::placeholder {
    color: #8f8f8f !important;
}

.release-edit-form .field-input:focus,
.release-edit-form .field-select:focus,
.release-edit-form .field-textarea:focus {
    border-color: #ffc83d !important;
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2) !important;
}

.release-cover-dropzone {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px dashed #4a515d;
    background: #14181e;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.release-cover-dropzone:hover {
    border-color: rgba(255, 200, 61, 0.55);
}

.release-cover-dropzone:focus-visible {
    outline: none;
    border-color: rgba(255, 200, 61, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.2);
}

.release-cover-dropzone.is-dragover {
    border-color: rgba(255, 200, 61, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 200, 61, 0.22);
    transform: translateY(-1px);
}

.release-cover-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.release-cover-overlay {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(2px);
    padding: 0.55rem 0.65rem;
}

.release-song-option-row > td {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    vertical-align: middle;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.release-song-options-table {
    border-collapse: separate;
    border-spacing: 0 0.4rem;
}

.release-song-options-table thead th {
    border-bottom: 1px solid #4a515d;
}

.release-song-options-table thead th:first-child {
    padding-left: 0.85rem;
}

.release-song-option-row > td:first-child {
    padding-left: 0.85rem;
    border-top-left-radius: 0.65rem;
    border-bottom-left-radius: 0.65rem;
}

.release-song-option-row > td:first-child .js-release-song-checkbox {
    margin-top: 0;
}

.release-song-option-row > td:last-child {
    border-top-right-radius: 0.65rem;
    border-bottom-right-radius: 0.65rem;
}

.release-song-option-row:not(.release-song-option-selected) > td {
    background-color: rgba(20, 24, 30, 0.5);
}

.release-song-option-row.release-song-option-selected > td {
    background-color: rgba(255, 200, 61, 0.08);
    border-top-color: rgba(255, 200, 61, 0.52);
    border-bottom-color: rgba(255, 200, 61, 0.52);
}

.release-song-option-row.release-song-option-selected > td:first-child {
    border-left: 1px solid rgba(255, 200, 61, 0.52);
}

.release-song-option-row.release-song-option-selected > td:last-child {
    border-right: 1px solid rgba(255, 200, 61, 0.52);
}

.admin-template-item-toggle {
    transition: background-color 0.16s ease;
}

.admin-template-item-toggle:hover {
    background: rgba(20, 24, 30, 0.84) !important;
}

/* Weekly planning: make tasks stand out more clearly */
.release-week-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1rem;
}

.release-week-board .release-week-column {
    border-color: #596171 !important;
    background: linear-gradient(180deg, rgba(21, 26, 33, 0.95) 0%, rgba(16, 20, 26, 0.95) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 34px -28px rgba(0, 0, 0, 0.9);
}

.release-week-board .release-week-column.border-rose-300 {
    border-color: #a42d45 !important;
    background: linear-gradient(180deg, rgba(52, 19, 27, 0.78) 0%, rgba(34, 14, 21, 0.72) 100%) !important;
}

.release-week-board .release-week-column.is-current-week {
    border-color: rgba(255, 200, 61, 0.72) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 200, 61, 0.2);
}

.release-week-board .release-week-column.border-rose-300.is-current-week {
    border-color: rgba(255, 200, 61, 0.72) !important;
}

.release-week-board .release-week-column > header {
    border-bottom-color: #596171 !important;
}

.release-week-board .release-week-column.is-current-week > header {
    border-bottom-color: rgba(255, 200, 61, 0.38) !important;
}

.release-week-board .release-week-column > header > div,
.release-week-task-card > div,
.release-week-suggestion-card > div,
.js-add-task-summary {
    min-width: 0;
}

.release-week-task-card,
.release-week-suggestion-card {
    position: relative;
    border-color: #697385 !important;
    background: #242b34 !important;
    box-shadow: 0 12px 26px -22px rgba(0, 0, 0, 0.95);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.release-week-task-card .js-release-task-toggle,
.release-week-suggestion-card .js-release-task-toggle {
    min-width: 0;
}

.release-week-task-card [data-event-title],
.release-week-suggestion-card [data-event-title],
.js-add-task-summary span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.release-week-task-card:hover,
.release-week-suggestion-card:hover {
    transform: translateY(-1px);
    border-color: #ffc83d !important;
    box-shadow: 0 18px 32px -24px rgba(255, 200, 61, 0.32);
}

.release-week-task-card.is-done {
    border-color: #2f7b61 !important;
    background: rgba(16, 43, 33, 0.88) !important;
}

.release-week-task-card.is-overdue {
    border-color: #a42d45 !important;
    background: rgba(67, 18, 30, 0.9) !important;
}

.release-week-task-card.is-overdue:hover {
    border-color: #c63e5a !important;
    box-shadow: 0 18px 32px -24px rgba(198, 62, 90, 0.45);
}

.release-week-task-body {
    border-color: #5b6677 !important;
    background: rgba(15, 19, 25, 0.9) !important;
}

.release-week-empty {
    border-color: #5b6677 !important;
    background: rgba(15, 19, 25, 0.78) !important;
}

@media (min-width: 680px) {
    .release-week-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .release-week-board {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .release-week-board {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .release-edit-form .release-edit-grid {
        grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.5rem;
        align-items: start;
    }

    .release-edit-form .release-edit-grid > :nth-child(1) {
        grid-column: 2 / 4 !important;
    }

    .release-edit-form .release-edit-grid > :nth-child(2) {
        grid-column: 2 !important;
    }

    .release-edit-form .release-edit-grid > :nth-child(3) {
        grid-column: 3 !important;
    }

    .release-edit-form .release-edit-grid > :nth-child(4) {
        grid-column: 2 / 4 !important;
    }

    .release-edit-form .release-edit-grid > :nth-child(5) {
        grid-column: 2 / 4 !important;
    }

    .release-edit-form .release-edit-grid > :nth-child(6) {
        grid-column: 1 !important;
        grid-row: 1 / span 5 !important;
        align-self: start;
    }

    .release-edit-form .release-edit-grid > :nth-child(6) .release-cover-dropzone {
        max-width: 220px;
    }

    .release-edit-form .release-edit-grid > :nth-child(n + 7) {
        grid-column: 1 / 4 !important;
    }
}

.switch input:checked + .switch-slider::before {
    transform: translateX(18px);
}

.switch input:focus-visible + .switch-slider {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* Public EPK layout */
.epk-page {
    --epk-accent: #ffc83d;
    --epk-bg-panel: rgba(14, 17, 22, 0.96);
    --epk-bg-panel-soft: rgba(20, 24, 30, 0.82);
    --epk-border: #4a515d;
    --epk-text: #f3f3f3;
    --epk-text-muted: #a3a3a3;
    --epk-badge-default-bg: rgba(148, 163, 184, 0.22);
    --epk-badge-default-text: #e2e8f0;
    --epk-badge-success-bg: rgba(34, 197, 94, 0.24);
    --epk-badge-success-text: #dcfce7;
    --epk-badge-warning-bg: rgba(245, 158, 11, 0.24);
    --epk-badge-warning-text: #fef3c7;
    --epk-badge-info-bg: rgba(59, 130, 246, 0.24);
    --epk-badge-info-text: #dbeafe;
    --epk-badge-muted-bg: rgba(100, 116, 139, 0.28);
    --epk-badge-muted-text: #e2e8f0;
    --epk-badge-danger-bg: rgba(239, 68, 68, 0.24);
    --epk-badge-danger-text: #fee2e2;
    display: grid;
    gap: 1.9rem;
    padding-bottom: 2.2rem;
    position: relative;
    isolation: isolate;
}

.epk-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--epk-hero-image, none);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.epk-page::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1000px 580px at 15% -8%, color-mix(in srgb, var(--epk-accent) 22%, transparent), transparent 56%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.72));
}

.epk-page > * {
    position: relative;
    z-index: 1;
}

.epk-page.epk-theme-light {
    --epk-bg-panel: rgba(252, 252, 252, 0.96);
    --epk-bg-panel-soft: rgba(245, 246, 248, 0.95);
    --epk-border: #d6d9de;
    --epk-text: #0f172a;
    --epk-text-muted: #475569;
    --epk-badge-default-bg: #e2e8f0;
    --epk-badge-default-text: #0f172a;
    --epk-badge-success-bg: #dcfce7;
    --epk-badge-success-text: #14532d;
    --epk-badge-warning-bg: #fef3c7;
    --epk-badge-warning-text: #78350f;
    --epk-badge-info-bg: #dbeafe;
    --epk-badge-info-text: #1e3a8a;
    --epk-badge-muted-bg: #e5e7eb;
    --epk-badge-muted-text: #334155;
    --epk-badge-danger-bg: #fee2e2;
    --epk-badge-danger-text: #7f1d1d;
}

.epk-page.epk-theme-light::after {
    background:
        radial-gradient(1000px 580px at 15% -8%, color-mix(in srgb, var(--epk-accent) 20%, transparent), transparent 58%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.62), rgba(248, 250, 252, 0.8));
}

.epk-page .status-badge {
    border: 1px solid color-mix(in srgb, var(--epk-border) 58%, transparent);
}

.epk-page .badge-default {
    background: var(--epk-badge-default-bg);
    color: var(--epk-badge-default-text);
}

.epk-page .badge-success {
    background: var(--epk-badge-success-bg);
    color: var(--epk-badge-success-text);
}

.epk-page .badge-released {
    background: var(--epk-badge-success-bg);
    color: var(--epk-badge-success-text);
}

.epk-page .badge-warning {
    background: var(--epk-badge-warning-bg);
    color: var(--epk-badge-warning-text);
}

.epk-page .badge-info {
    background: var(--epk-badge-info-bg);
    color: var(--epk-badge-info-text);
}

.epk-page .badge-muted {
    background: var(--epk-badge-muted-bg);
    color: var(--epk-badge-muted-text);
}

.epk-page .badge-danger {
    background: var(--epk-badge-danger-bg);
    color: var(--epk-badge-danger-text);
}

.app-shell:has(.epk-page.epk-theme-light) {
    background:
        radial-gradient(1200px 720px at 0% -20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45) 48%, transparent 70%),
        radial-gradient(900px 520px at 100% 0%, rgba(214, 217, 222, 0.38), transparent 58%),
        linear-gradient(180deg, #f8fafc, #eef2f7 65%, #e9edf3);
}

.app-shell:has(.epk-page.epk-theme-light)::before {
    background-image: linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    mask-image: radial-gradient(1200px 700px at 50% 0%, black 58%, transparent 100%);
}

.app-shell:has(.epk-page.epk-theme-light) > .absolute {
    display: none;
}

.app-shell:has(.epk-page.epk-theme-dark) {
    background:
        radial-gradient(1100px 560px at 0% -10%, color-mix(in srgb, var(--epk-accent, #ffc83d) 20%, transparent), transparent 55%),
        radial-gradient(900px 420px at 100% -5%, color-mix(in srgb, var(--epk-accent, #ffc83d) 15%, transparent), transparent 52%),
        linear-gradient(180deg, #000, #020202);
}

.app-shell:has(.epk-page) > .relative.mx-auto {
    padding-top: 0;
}

.epk-hero,
.epk-section {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.epk-page.epk-theme-light .epk-hero {
    box-shadow: none;
}

.epk-hero {
    padding: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}

.epk-hero-grid {
    display: grid;
    gap: 1rem;
}

.epk-hero-cover {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border-top: 1px solid color-mix(in srgb, var(--epk-border) 58%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--epk-border) 58%, transparent);
    border-left: 0;
    border-right: 0;
    min-height: clamp(340px, 58vh, 680px);
    background: #0d0f12;
}

.epk-hero-cover-image,
.epk-hero-cover-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epk-hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.58));
}

.epk-page.epk-theme-light .epk-hero-cover::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(15, 23, 42, 0.25));
}

.epk-hero-content {
    padding: 1.3rem 0.2rem 0.1rem;
}

.epk-hero-content-wrap {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 1.35rem;
}

.epk-kicker {
    margin: 0;
    color: var(--epk-accent);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 760;
}

.epk-title {
    margin-top: 0.4rem;
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.04;
    color: var(--epk-text);
    letter-spacing: -0.025em;
}

.epk-artist {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: var(--epk-text-muted);
}

.epk-subtitle {
    margin-top: 0.85rem;
    max-width: 62ch;
    color: color-mix(in srgb, var(--epk-text) 82%, transparent);
    line-height: 1.55;
    font-size: 0.94rem;
}

.epk-anchor-nav {
    position: fixed;
    top: max(0.85rem, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    width: min(calc(100% - 1.4rem), 1080px);
    margin-top: 0;
    padding: 0.66rem 0.9rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(6, 8, 11, 0.48);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.9);
}

.epk-anchor-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.1rem;
}

.epk-anchor-link {
    display: inline-block;
    color: #f8fafc;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 640;
    padding: 0.16rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.epk-anchor-link:hover {
    color: var(--epk-accent);
    border-bottom-color: var(--epk-accent);
}

.epk-anchor-link:focus-visible {
    outline: none;
    color: var(--epk-accent);
    border-bottom-color: var(--epk-accent);
}

.epk-page.epk-theme-light .epk-anchor-nav {
    border-color: rgba(15, 23, 42, 0.24);
    background: rgba(248, 250, 252, 0.72);
}

.epk-page.epk-theme-light .epk-anchor-link {
    color: #0f172a;
}

.epk-section {
    position: relative;
    margin-top: 0.15rem;
    padding: 1.62rem 0.95rem 1rem;
    border: 1px solid color-mix(in srgb, var(--epk-accent) 34%, var(--epk-border));
    border-radius: 1rem;
    background: color-mix(in srgb, var(--epk-bg-panel-soft) 24%, transparent);
    box-shadow:
        0 16px 34px -28px color-mix(in srgb, var(--epk-accent) 42%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--epk-accent) 26%, transparent),
        inset 0 -1px 0 color-mix(in srgb, var(--epk-border) 55%, transparent);
    backdrop-filter: blur(4px);
    scroll-margin-top: 6.2rem;
}

.epk-section::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.7rem;
    bottom: 0.7rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--epk-accent) 88%, white 12%), color-mix(in srgb, var(--epk-accent) 58%, transparent));
    opacity: 0.95;
    pointer-events: none;
}

.epk-page.epk-theme-light .epk-section {
    border-color: color-mix(in srgb, var(--epk-accent) 36%, #cbd5e1);
    background: color-mix(in srgb, #ffffff 62%, transparent);
    box-shadow:
        0 14px 26px -24px color-mix(in srgb, var(--epk-accent) 32%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--epk-accent) 22%, white),
        inset 0 -1px 0 #d7dde6;
}

.epk-page.epk-theme-light .epk-section::before {
    background: linear-gradient(180deg, color-mix(in srgb, var(--epk-accent) 72%, white 28%), color-mix(in srgb, var(--epk-accent) 52%, white 48%));
}

.epk-section + .epk-section {
    margin-top: 1.15rem;
}

.epk-section-title {
    font-family: 'Sora', ui-sans-serif, system-ui;
    font-size: 1rem;
    font-weight: 620;
    letter-spacing: 0.02em;
    color: var(--epk-text);
}

.epk-facts {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.epk-release-cover-wrap {
    margin-top: 0.9rem;
}

.epk-release-cover {
    position: relative;
    aspect-ratio: 1 / 1;
    width: min(100%, 260px);
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid color-mix(in srgb, var(--epk-border) 55%, transparent);
    background: color-mix(in srgb, var(--epk-bg-panel-soft) 62%, transparent);
}

.epk-release-cover-image,
.epk-release-cover-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epk-fact-card {
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--epk-border) 55%, transparent);
    border-radius: 0;
    background: transparent;
    padding: 0.55rem 0.1rem 0.5rem;
}

.epk-fact-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--epk-text-muted);
    font-weight: 700;
}

.epk-fact-value {
    margin-top: 0.24rem;
    font-size: 0.9rem;
    font-weight: 620;
    color: var(--epk-text);
}

.epk-story-text {
    margin-top: 0.7rem;
    color: color-mix(in srgb, var(--epk-text) 86%, transparent);
    line-height: 1.7;
    font-size: 0.94rem;
}

.epk-empty {
    margin-top: 0.7rem;
    color: var(--epk-text-muted);
    font-size: 0.9rem;
}

.epk-track-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.2rem;
}

.epk-track-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: center;
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--epk-border) 55%, transparent);
    border-radius: 0;
    background: transparent;
    padding: 0.72rem 0.1rem;
}

.epk-track-number {
    align-self: stretch;
    min-width: 2.3rem;
    border-radius: 0.7rem;
    border: 1px solid color-mix(in srgb, var(--epk-border) 60%, transparent);
    background: color-mix(in srgb, var(--epk-bg-panel-soft) 45%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--epk-accent);
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    font-weight: 760;
}

.epk-track-title {
    font-size: 0.93rem;
    line-height: 1.35;
    color: var(--epk-text);
    font-weight: 620;
}

.epk-track-meta {
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.epk-track-deadline,
.epk-track-audio-missing {
    font-size: 0.76rem;
    color: var(--epk-text-muted);
}

.epk-audio-player {
    margin-top: 0.6rem;
    width: min(100%, 380px);
    height: 36px;
    accent-color: var(--epk-accent);
    border-radius: 999px;
}

.epk-social-list {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.2rem;
}

.epk-social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--epk-border) 55%, transparent);
    border-radius: 0;
    padding: 0.55rem 0.1rem;
    background: transparent;
    color: var(--epk-text);
    font-size: 0.85rem;
    transition: border-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}

.epk-social-link:hover {
    border-color: var(--epk-accent);
    color: var(--epk-accent);
    transform: translateY(-1px);
}

.epk-social-arrow {
    font-size: 0.86rem;
}

.epk-fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: epk-fade-in 0.5s ease forwards;
    animation-delay: var(--epk-delay, 0ms);
}

@keyframes epk-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1024px) {
    .epk-page {
        gap: 2.2rem;
    }

    .epk-hero {
        padding: 0;
    }

    .epk-hero-cover {
        min-height: clamp(440px, 64vh, 760px);
    }

    .epk-hero-content {
        padding: 1.5rem 0.2rem 0.1rem;
    }

    .epk-hero-content-wrap {
        padding: 0 2.4rem;
    }

    .epk-anchor-nav {
        width: min(calc(100% - 2.2rem), 1180px);
    }

    .epk-section {
        padding: 1.75rem 1.1rem 1.05rem;
    }

    #release-info {
        display: grid;
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        grid-template-areas:
            "title title"
            "cover facts";
        column-gap: 1.5rem;
        row-gap: 0.5rem;
        align-items: start;
    }

    #release-info > .epk-section-title {
        grid-area: title;
    }

    #release-info > .epk-release-cover-wrap {
        grid-area: cover;
        margin-top: 0.4rem;
    }

    #release-info > .epk-facts {
        grid-area: facts;
        margin-top: 0.4rem;
    }
}
