.public-page {
    color: #182232;
    padding-bottom: 48px;
}

.public-hero {
    max-width: 920px;
    padding: 34px 0 24px;
}

.case-hero,
.use-hero {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
    gap: 26px;
    align-items: end;
    padding: 40px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 88% 12%, rgba(31, 111, 235, 0.12), transparent 30%),
        linear-gradient(135deg, #f7fbfc 0%, #eef6f1 54%, #edf4ff 100%);
    border: 1px solid #dce8ef;
}

.public-hero .eyebrow,
.content-kicker {
    margin: 0 0 10px;
    color: #0b6f79;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(3.4rem, 6vw, 6.4rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.public-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4b5b70;
    font-size: 1.8rem;
    line-height: 1.55;
}

.case-hero-panel {
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(20, 37, 63, 0.1);
}

.case-hero-panel strong {
    display: block;
    color: #111827;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.case-hero-panel span,
.case-hero-panel a {
    display: block;
    margin-top: 8px;
    font-size: 1.45rem;
    font-weight: 800;
}

.case-hero-panel span {
    color: #4b5b70;
}

.case-search-panel {
    display: grid;
    grid-template-columns: minmax(160px, 0.2fr) minmax(260px, 1fr);
    gap: 14px;
    align-items: center;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(20, 37, 63, 0.08);
}

.case-search-panel label {
    margin: 0;
    color: #172033;
    font-size: 1.45rem;
    font-weight: 900;
}

.case-search-control {
    position: relative;
}

.case-search-control i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #708095;
    transform: translateY(-50%);
}

.case-search-control input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px 10px 40px;
    border: 1px solid #cfdce8;
    border-radius: 6px;
    color: #172033;
    font-size: 1.45rem;
    font-weight: 700;
}

.case-filter-row {
    display: flex;
    flex-wrap: wrap;
    grid-column: 2;
    gap: 8px;
}

.case-filter-row button {
    padding: 8px 12px;
    border: 1px solid #d8e2ed;
    border-radius: 999px;
    background: #f8fbfe;
    color: #43536a;
    font-size: 1.25rem;
    font-weight: 900;
}

.case-filter-row button.active {
    background: #1f6feb;
    border-color: #1f6feb;
    color: #ffffff;
}

.featured-case {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 10px;
    background: #102236;
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(16, 34, 54, 0.22);
}

.case-visual {
    display: grid;
    overflow: hidden;
    min-height: 240px;
    place-items: center;
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 213, 104, 0.16), transparent 30%),
        linear-gradient(135deg, #eaf2f8, #dbe9e5);
    box-shadow: 0 18px 42px rgba(20, 37, 63, 0.12);
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-case-copy {
    padding: 12px 8px;
}

.featured-case h2,
.case-study-row h2,
.use-case-directory h2 {
    margin: 0;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.12;
}

.featured-case p {
    color: #dce8ef;
    font-size: 1.55rem;
    line-height: 1.55;
}

.featured-case .content-kicker {
    color: #90e0d2;
}

.featured-case dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.featured-case dt {
    color: #90a7bd;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-case dd {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.case-tags,
.use-token-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-tags span,
.use-token-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f4f2;
    color: #0b5561;
    font-size: 1.2rem;
    font-weight: 900;
}

.featured-case .case-tags span {
    background: rgba(144, 224, 210, 0.14);
    color: #bdf4e9;
}

.case-study-list,
.use-case-directory {
    display: grid;
    gap: 16px;
}

.case-study-row {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
}

.case-row-meta {
    display: grid;
    align-content: start;
    gap: 8px;
}

.case-row-meta span {
    color: rgba(31, 111, 235, 0.28);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.case-row-meta strong,
.case-row-meta small {
    color: #53657b;
    font-weight: 900;
    text-transform: uppercase;
}

.case-row-heading {
    display: flex;
    gap: 16px;
    align-items: start;
    justify-content: space-between;
}

.case-row-main > p {
    max-width: 900px;
    margin: 12px 0 0;
    color: #4b5b70;
    font-size: 1.55rem;
    line-height: 1.55;
}

.case-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.case-story-grid section {
    padding-top: 14px;
    border-top: 1px solid #e2ebf2;
}

.case-story-grid h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 1.45rem;
    font-weight: 900;
}

.case-story-grid p,
.output-list span {
    color: #4b5b70;
    font-size: 1.4rem;
    line-height: 1.5;
}

.output-list {
    display: grid;
    gap: 6px;
}

.output-list span {
    position: relative;
    padding-left: 16px;
}

.output-list span::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1f6feb;
    content: "";
}

.case-empty-state {
    padding: 22px;
    border: 1px dashed #b9c8d8;
    border-radius: 8px;
    color: #53657b;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.case-index-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 24px 0;
    border: 1px solid #d6e2ee;
    border-radius: 10px;
    background: #d6e2ee;
    box-shadow: 0 18px 44px rgba(20, 37, 63, 0.09);
}

.case-index-strip a {
    display: grid;
    gap: 4px;
    min-height: 86px;
    padding: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 111, 121, 0.08), transparent 38%),
        #ffffff;
    color: #172033;
    text-decoration: none;
}

.case-index-strip a:hover {
    background: #f4faf9;
}

.case-index-strip span {
    color: #0b6f79;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.case-index-strip strong {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
}

.case-study-page .case-study-list {
    gap: 12px;
}

.case-study-page .case-study-row {
    position: relative;
    grid-template-columns: 86px minmax(0, 1fr);
    overflow: hidden;
    padding: 0;
    border-color: #d8e4ef;
    background:
        linear-gradient(90deg, #f3faf8 0, #ffffff 18%, #ffffff 100%);
    box-shadow: 0 12px 34px rgba(20, 37, 63, 0.07);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.case-study-page .case-study-row:hover,
.case-study-page .case-study-row.is-expanded {
    border-color: #9ccfc7;
    box-shadow: 0 18px 48px rgba(20, 37, 63, 0.12);
    transform: translateY(-1px);
}

.case-study-page .case-row-meta {
    align-content: stretch;
    padding: 22px 12px;
    border-right: 1px solid #deebe8;
    background: rgba(232, 244, 242, 0.68);
    text-align: center;
}

.case-study-page .case-row-meta span {
    color: rgba(11, 111, 121, 0.26);
    font-size: 3.6rem;
}

.case-study-page .case-row-meta strong {
    color: #0b5561;
    font-size: 1.2rem;
    line-height: 1.2;
}

.case-study-page .case-row-main {
    padding: 22px 24px;
}

.case-study-page .case-row-heading {
    align-items: center;
}

.case-study-page .case-row-heading h2 {
    max-width: 820px;
    color: #121a28;
    font-size: clamp(2rem, 2.4vw, 2.8rem);
}

.case-expand-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #b9d8d3;
    border-radius: 999px;
    background: #ffffff;
    color: #0b6f79;
    font-size: 1.25rem;
    font-weight: 900;
    white-space: nowrap;
}

.case-expand-toggle:hover,
.case-expand-toggle[aria-expanded="true"] {
    background: #0b6f79;
    color: #ffffff;
}

.case-expand-toggle i {
    transition: transform 0.18s ease;
}

.case-expand-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.case-glance {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.case-glance > p {
    max-width: 920px;
    margin: 0;
    color: #43536a;
    font-size: 1.52rem;
    line-height: 1.55;
}

.case-glance dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.case-glance dt {
    color: #708095;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-glance dd {
    margin: 3px 0 0;
    color: #172033;
    font-size: 1.3rem;
    font-weight: 850;
    line-height: 1.35;
}

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

.case-metrics span {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 11px;
    border-left: 3px solid #0b6f79;
    border-radius: 6px;
    background: #f2f8fb;
    color: #253247;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.case-study-page .case-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2ebf2;
}

.case-study-page .case-story-grid[hidden] {
    display: none;
}

.case-story-copy {
    display: grid;
    gap: 14px;
}

.case-study-page .case-story-grid section,
.case-study-page .case-story-grid aside {
    padding: 16px;
    border: 1px solid #e1ebf3;
    border-radius: 8px;
    background: #ffffff;
}

.case-study-page .case-story-grid aside {
    align-self: start;
    background:
        radial-gradient(circle at 100% 0%, rgba(31, 111, 235, 0.08), transparent 42%),
        #f8fbfe;
}

.case-study-page .case-story-grid h3 {
    color: #0b5561;
}

.case-source-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    color: #1f6feb;
    font-size: 1.3rem;
    font-weight: 900;
}

body.case-overlay-open {
    overflow: hidden;
}

.case-study-page .case-study-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-study-card {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 330px;
    padding: 20px;
    border: 1px solid #dce8ef;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(246, 251, 252, 0.92), #ffffff 44%),
        #ffffff;
    box-shadow: 0 14px 34px rgba(20, 37, 63, 0.07);
}

.case-study-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, #0b6f79, #63b7ad);
    content: "";
}

.case-card-topline {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.case-card-topline span {
    color: rgba(11, 111, 121, 0.3);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.case-card-topline strong {
    max-width: 70%;
    color: #0b6f79;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-align: right;
    text-transform: uppercase;
}

.case-study-card h2 {
    margin: 0;
    color: #172033;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.08;
}

.case-study-card > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #4b5b70;
    font-size: 1.42rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.case-card-meta {
    display: grid;
    gap: 6px;
    padding-top: 2px;
}

.case-card-meta span {
    overflow: hidden;
    color: #53657b;
    font-size: 1.22rem;
    font-weight: 850;
    line-height: 1.32;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-study-card .case-metrics {
    grid-template-columns: 1fr;
    gap: 6px;
}

.case-study-card .case-metrics span {
    min-height: auto;
    padding: 7px 9px;
    border-left-color: #63b7ad;
    background: #f4faf9;
    font-size: 1.13rem;
}

.case-study-card .case-tags span {
    min-height: 26px;
    padding: 5px 9px;
    background: #eef4fa;
    color: #43536a;
    font-size: 1.08rem;
}

.case-detail-trigger {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    align-self: end;
    justify-self: start;
    min-height: 38px;
    margin-top: 4px;
    padding: 8px 13px;
    border: 1px solid #b8d7d3;
    border-radius: 999px;
    background: #ffffff;
    color: #0b6f79;
    font-size: 1.22rem;
    font-weight: 900;
}

.case-detail-trigger:hover,
.case-detail-trigger:focus {
    border-color: #0b6f79;
    background: #0b6f79;
    color: #ffffff;
}

.case-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    overflow-y: auto;
    padding: 36px;
    background: rgba(13, 24, 39, 0.74);
    backdrop-filter: blur(8px);
}

.case-detail-overlay[hidden] {
    display: none;
}

.case-detail-panel {
    position: relative;
    width: min(1120px, 100%);
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(216, 232, 239, 0.92);
    border-radius: 12px;
    background:
        radial-gradient(circle at 88% 4%, rgba(99, 183, 173, 0.16), transparent 28%),
        linear-gradient(180deg, #f8fbfc 0%, #ffffff 34%, #ffffff 100%);
    box-shadow: 0 34px 100px rgba(8, 16, 28, 0.34);
}

.case-detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d7e4ec;
    border-radius: 50%;
    background: #ffffff;
    color: #172033;
}

.case-detail-heading {
    padding: 34px 72px 18px 34px;
}

.case-detail-heading h2 {
    max-width: 820px;
    margin: 0;
    color: #101827;
    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
}

.case-detail-heading > p:last-child {
    max-width: 850px;
    margin: 16px 0 0;
    color: #43536a;
    font-size: 1.62rem;
    line-height: 1.55;
}

.case-detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0 34px 24px;
}

.case-detail-facts div {
    padding: 14px;
    background: #f1f7f8;
}

.case-detail-facts dt {
    color: #708095;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-detail-facts dd {
    margin: 5px 0 0;
    color: #172033;
    font-size: 1.34rem;
    font-weight: 850;
    line-height: 1.35;
}

.case-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
    gap: 20px;
    padding: 0 34px 34px;
}

.case-detail-story {
    display: grid;
    gap: 14px;
}

.case-detail-story section,
.case-detail-body aside {
    padding: 18px;
    border: 1px solid #e1ebf3;
    border-radius: 8px;
    background: #ffffff;
}

.case-detail-body aside {
    align-self: start;
    background: #f8fbfe;
}

.case-detail-story h3,
.case-detail-body aside h3 {
    margin: 0 0 10px;
    color: #0b5561;
    font-size: 1.48rem;
    font-weight: 900;
}

.case-detail-story p,
.case-detail-body aside p,
.case-detail-body .output-list span {
    color: #4b5b70;
    font-size: 1.43rem;
    line-height: 1.55;
}

.case-detail-body .case-metrics {
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}

.case-detail-body .case-tags {
    margin-top: 10px;
}

.use-case-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.use-case-tile {
    display: grid;
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(20, 37, 63, 0.08);
}

.use-case-tile .case-visual {
    min-height: 230px;
    border-radius: 0;
    box-shadow: none;
}

.use-case-tile-body {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.use-case-tile-topline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.use-case-tile-topline > span {
    color: rgba(31, 111, 235, 0.35);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
}

.use-case-tile-topline .content-kicker {
    margin: 0;
}

.use-case-tile h2 {
    margin: 0;
    color: #172033;
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1.12;
}

.use-token-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.use-token-preview span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f6fb;
    color: #43536a;
    font-size: 1.15rem;
    font-weight: 900;
}

.use-case-details {
    display: none;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #e2ebf2;
}

.use-case-tile.is-expanded .use-case-details {
    display: block;
}

.use-case-details h3 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 1.45rem;
    font-weight: 900;
}

.use-case-directory article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px 20px;
    align-items: start;
    padding: 24px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
}

.use-case-index {
    color: rgba(31, 111, 235, 0.25);
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1;
    grid-row: 1 / span 2;
}

.use-case-directory p {
    color: #4b5b70;
    font-size: 1.5rem;
    line-height: 1.55;
}

.use-case-directory .case-visual {
    grid-column: 2;
    width: 100%;
    min-height: 320px;
    aspect-ratio: 16 / 8;
}

.use-case-summary {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.use-case-directory article.is-expanded .use-case-summary {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.use-case-toggle {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1f6feb;
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.use-case-tile .use-case-toggle {
    justify-self: start;
    margin: 0;
}

.workflow-image-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.workflow-image-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workflow-image-trigger span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.78);
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.16);
}

.workflow-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(8, 16, 28, 0.92);
}

.workflow-lightbox[hidden] {
    display: none;
}

.workflow-lightbox img {
    max-width: min(96vw, 1800px);
    max-height: 90vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.workflow-lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 3rem;
    line-height: 1;
}

body.workflow-lightbox-open {
    overflow: hidden;
}

.content-grid,
.manual-grid,
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.content-card,
.manual-card,
.showcase-card,
.manual-cta {
    padding: 22px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
}

.content-card h2,
.manual-card h2,
.showcase-card h2,
.manual-cta h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 2.1rem;
    font-weight: 900;
}

.content-card p,
.manual-card p,
.showcase-card p,
.manual-cta p,
.content-card li,
.showcase-card li {
    color: #4b5b70;
    font-size: 1.48rem;
    line-height: 1.55;
}

.content-card ul,
.showcase-card ul {
    padding-left: 18px;
}

.card-media {
    display: grid;
    overflow: hidden;
    place-items: center;
    min-height: 180px;
    margin: -8px -8px 18px;
    border-radius: 8px;
    background: #eef3f8;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-placeholder {
    color: #607085;
    font-weight: 900;
    text-align: center;
}

.sample-list {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5edf4;
}

.manual-grid {
    margin-top: 20px;
}

.manual-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 28px;
    background: #f8fbfe;
}

.manual-topic-nav {
    position: sticky;
    top: 8px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 30px;
    padding: 12px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.manual-topic-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4f8;
    color: #23405c;
    font-size: 1.35rem;
    font-weight: 800;
}

.manual-topic {
    scroll-margin-top: 90px;
    margin-top: 42px;
}

.manual-topic-heading,
.manual-playlist-heading {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.manual-topic-heading > .content-kicker {
    min-width: 42px;
    margin-top: 6px;
    font-size: 1.6rem;
}

.manual-topic-heading > div {
    flex: 1;
}

.manual-topic-heading h2,
.manual-playlist-heading h3 {
    margin: 0 0 8px;
    color: #172033;
    font-weight: 900;
}

.manual-topic-heading p,
.manual-playlist-heading p {
    color: #526176;
    font-size: 1.45rem;
    line-height: 1.55;
}

.manual-card {
    display: flex;
    flex-direction: column;
}

.manual-card h3 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 2.05rem;
    font-weight: 900;
}

.manual-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.manual-resource-link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 8px 11px;
    border: 1px solid #cddce8;
    border-radius: 7px;
    background: #f7fafc;
    color: #1d577c;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 800;
}

button.manual-resource-link {
    cursor: pointer;
}

.manual-playlist {
    scroll-margin-top: 90px;
    margin-top: 24px;
    padding: 22px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #f8fbfe;
}

.manual-playlist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    justify-content: flex-end;
}

.manual-playlist-actions form {
    margin: 0;
}

.manual-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.manual-video-card {
    overflow: hidden;
    padding: 0 0 12px;
    border: 1px solid #d7e2eb;
    border-radius: 9px;
    background: #ffffff;
    color: #172033;
    cursor: pointer;
    text-align: left;
}

.manual-video-card[hidden] {
    display: none;
}

.manual-video-thumbnail {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #172033;
}

.manual-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manual-play-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.92);
    color: #ffffff;
}

.manual-video-title,
.manual-video-channel {
    display: block;
    padding: 0 12px;
}

.manual-video-title {
    margin-top: 11px;
    font-size: 1.42rem;
    font-weight: 850;
    line-height: 1.35;
}

.manual-video-channel {
    margin-top: 5px;
    color: #65758a;
    font-size: 1.25rem;
}

.manual-show-more {
    margin-top: 16px;
    padding: 9px 14px;
    border: 1px solid #b9cbd9;
    border-radius: 7px;
    background: #ffffff;
    color: #1d577c;
    font-weight: 850;
}

.manual-playlist-empty,
.manual-content-empty {
    margin-top: 16px;
    padding: 18px;
    border: 1px dashed #b9cbd9;
    border-radius: 8px;
    background: #ffffff;
    color: #526176;
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(8, 16, 28, 0.92);
}

.video-lightbox[hidden] {
    display: none;
}

.video-lightbox-frame {
    width: min(94vw, 1180px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.video-lightbox-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 3rem;
    line-height: 1;
}

.public-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid #dce5ef;
}

.showcase-page {
    background: #f7fafc;
}

.showcase-hero,
.showcase-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 22px;
    align-items: stretch;
    margin: 22px 0;
    padding: 28px;
    border: 1px solid #dce7ee;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fcff 0%, #eef8f5 52%, #f4f7fb 100%);
}

.showcase-hero h1,
.showcase-detail-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #111827;
    font-size: clamp(2.6rem, 4.4vw, 4.8rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.showcase-hero p,
.showcase-detail-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: #46576d;
    font-size: 1.65rem;
    line-height: 1.5;
}

.showcase-stat-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.showcase-stat-panel div,
.showcase-detail-panel,
.showcase-detail-grid article {
    border: 1px solid #d8e4ee;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 34px rgba(31, 45, 61, 0.08);
}

.showcase-stat-panel div {
    padding: 16px;
}

.showcase-stat-panel strong {
    display: block;
    color: #102236;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.showcase-stat-panel span {
    display: block;
    margin-top: 6px;
    color: #607085;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.showcase-create-panel,
.showcase-recent-panel {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(20, 37, 63, 0.06);
}

.showcase-landing-section[hidden],
#showcaseCatalogue[hidden],
#showcaseCatalogueHeading[hidden] {
    display: none !important;
}

.showcase-create-panel h2 {
    margin: 0;
    color: #172033;
    font-size: 2rem;
    font-weight: 900;
}

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

.showcase-create-actions .btn {
    min-height: 40px;
    font-weight: 900;
}

.showcase-create-actions .disabled {
    pointer-events: none;
    opacity: 0.58;
}

.showcase-create-dropdown .dropdown-menu {
    min-width: 220px;
    border-radius: 8px;
}

.showcase-create-dropdown .dropdown-menu a {
    color: #172033;
    font-size: 1.35rem;
    font-weight: 900;
}

.showcase-recent-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.showcase-action-bar a,
.showcase-results-head button,
.showcase-search-panel .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #cfdce8;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    font-size: 1.35rem;
    font-weight: 900;
}

.showcase-action-bar a:hover,
.showcase-results-head button:hover {
    border-color: #1f6feb;
    color: #1f6feb;
    text-decoration: none;
}

.showcase-search-panel {
    display: grid;
    gap: 12px;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(20, 37, 63, 0.08);
}

.showcase-search-primary {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.showcase-filter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr)) auto auto;
    gap: 10px;
    align-items: center;
}

.showcase-search-panel label {
    margin: 0;
    color: #172033;
    font-size: 1.35rem;
    font-weight: 900;
}

.showcase-search-control {
    position: relative;
}

.showcase-search-control i {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #708095;
    transform: translateY(-50%);
}

.showcase-search-panel input,
.showcase-search-panel select {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #cfdce8;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    font-size: 1.3rem;
    font-weight: 800;
}

.showcase-search-panel input {
    padding-left: 36px;
}

.showcase-search-primary input {
    min-height: 48px;
    font-size: 1.45rem;
}

.showcase-featured-toggle small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-weight: 600;
}

.showcase-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 12px;
}

.showcase-results-head h2 {
    margin: 0;
    color: #172033;
    font-size: 2.2rem;
    font-weight: 900;
}

.showcase-catalogue {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.showcase-project-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 420px;
    padding: 18px;
    border: 1px solid #dce5ef;
    border-top: 4px solid #b9c8d6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(20, 37, 63, 0.07);
}

.showcase-active-project {
    border-color: #f0c74d;
    border-top-color: #f0b429;
    background: #fff9df;
    box-shadow: 0 18px 42px rgba(196, 142, 18, 0.16);
}

.showcase-type-questionnaires,
.showcase-type-questionnaire {
    border-top-color: #8aa7b8;
}

.showcase-type-transcriptions,
.showcase-type-transcription {
    border-top-color: #87a995;
}

.showcase-type-recordings,
.showcase-type-recording {
    border-top-color: #b6a07a;
}

.showcase-type-lexicon,
.showcase-type-lexicons {
    border-top-color: #9b98bb;
}

.showcase-type-crawling {
    border-top-color: #8fa7a9;
}

.showcase-type-annotation {
    border-top-color: #b08f9a;
}

.showcase-type-validation {
    border-top-color: #a8a877;
}

.showcase-type-model,
.showcase-type-translation,
.showcase-type-transliteration {
    border-top-color: #8e9fbd;
}

.showcase-card-body {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.showcase-card-top,
.showcase-card-actions,
.showcase-count-row,
.showcase-token-row,
.showcase-detail-actions,
.showcase-sample-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.showcase-card-top {
    justify-content: space-between;
}

.showcase-kind,
.showcase-access,
.showcase-active-badge,
.showcase-count-row span,
.showcase-token-row span,
.showcase-sample-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 900;
}

.showcase-kind {
    background: #e8f4f2;
    color: #0b5561;
}

.showcase-access {
    background: #eef3f8;
    color: #4b5b70;
}

.showcase-access-owned {
    background: #e8f7ee;
    color: #116a38;
}

.showcase-access-shared {
    background: #fff6df;
    color: #8a5a00;
}

.showcase-active-badge {
    background: #ffe69a;
    color: #674600;
    border: 1px solid #e7bd3d;
}

.showcase-set-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #b8c9dc;
    border-radius: 50%;
    background: #f4f8fc;
    color: #335f89;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.showcase-set-active:hover,
.showcase-set-active:focus {
    border-color: #2878b8;
    background: #e7f3fc;
    color: #145f97;
    outline: none;
}

.showcase-set-active:focus-visible {
    box-shadow: 0 0 0 3px rgba(40, 120, 184, 0.2);
}

.showcase-set-active .material-symbols-outlined {
    font-size: 19px;
}

.showcase-set-active.is-loading .material-symbols-outlined {
    animation: showcase-active-spin 800ms linear infinite;
}

@keyframes showcase-active-spin {
    to {
        transform: rotate(360deg);
    }
}

.showcase-project-card h2,
.showcase-detail-grid h2 {
    margin: 0;
    color: #172033;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.showcase-project-card p,
.showcase-detail-grid p {
    margin: 0;
    color: #4b5b70;
    font-size: 1.42rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.showcase-summary-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 4px;
}

.showcase-card-summary {
    display: -webkit-box;
    min-height: 4.25rem;
    max-height: 4.25rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.showcase-summary-more {
    align-self: end;
    min-width: 28px;
    min-height: 28px;
    padding: 0 7px;
    border: 1px solid #cfdce8;
    border-radius: 999px;
    background: #ffffff;
    color: #1f6feb;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.showcase-card-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #e7edf4;
    border-bottom: 1px solid #e7edf4;
}

.showcase-card-facts dt,
.showcase-detail-panel dt {
    color: #708095;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-card-facts dd,
.showcase-detail-panel dd {
    overflow-wrap: anywhere;
    margin: 3px 0 0;
    color: #172033;
    font-size: 1.24rem;
    font-weight: 800;
}

.showcase-count-row span {
    background: #f2f6fb;
    color: #43536a;
}

.showcase-token-row span,
.showcase-sample-list span {
    background: #eef8f5;
    color: #0b5561;
}

.showcase-card-actions {
    align-self: end;
    margin-top: 6px;
    min-height: 82px;
    align-content: flex-end;
}

.showcase-card-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    white-space: normal;
}

.showcase-icon-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
}

.showcase-icon-btn .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
}

.showcase-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px 0;
}

.showcase-pagination span {
    color: #43536a;
    font-size: 1.3rem;
    font-weight: 900;
}

.showcase-empty {
    padding: 28px;
    border: 1px dashed #b7c6d7;
    border-radius: 8px;
    background: #ffffff;
    color: #607085;
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
}

.showcase-summary-overlay {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(13, 20, 32, 0.58);
}

.showcase-summary-overlay[hidden] {
    display: none;
}

.showcase-summary-dialog {
    position: relative;
    width: min(720px, 96vw);
    max-height: 86vh;
    overflow: auto;
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.showcase-summary-dialog h2 {
    margin: 0 44px 14px 0;
    color: #172033;
    font-size: 2.5rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.showcase-summary-dialog p {
    margin: 0;
    color: #43536a;
    font-size: 1.55rem;
    line-height: 1.62;
    white-space: pre-wrap;
}

.showcase-summary-close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d9e3ec;
    border-radius: 50%;
    background: #f8fbfe;
    color: #172033;
    font-size: 2.2rem;
    line-height: 1;
}

body.showcase-summary-open {
    overflow: hidden;
}

.showcase-detail-panel {
    padding: 18px;
    min-width: 0;
}

.showcase-detail-panel dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.showcase-hero-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
}

.showcase-hero-link input {
    min-width: 0;
    width: 100%;
    padding: 5px 7px;
    border: 1px solid #cfdce8;
    border-radius: 6px;
    background: #f8fbfe;
    color: #26384e;
    font-size: 1.1rem;
}

.showcase-detail-actions {
    margin-top: 20px;
}

.showcase-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.showcase-detail-grid article {
    padding: 22px;
}

.showcase-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.showcase-detail-stats div {
    padding: 14px;
    border-radius: 8px;
    background: #f5f8fb;
}

.showcase-detail-stats strong {
    display: block;
    color: #102236;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.showcase-detail-stats span {
    display: block;
    margin-top: 6px;
    color: #607085;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-settings-box {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f8fbfe;
}

.showcase-settings-box h4 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 1.7rem;
    font-weight: 900;
}

.showcase-manage-header,
.showcase-subsection-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.showcase-manage-header p,
.showcase-subsection-title p,
.showcase-history-panel p {
    margin: 2px 0 0;
    color: #607085;
    font-size: 1.2rem;
}

.showcase-status-pill {
    padding: 6px 10px;
    border-radius: 6px;
    background: #e9f4ff;
    color: #174569;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 14px;
    border-bottom: 1px solid #dce5ef;
}

.showcase-tab {
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #607085;
    font-size: 1.25rem;
    font-weight: 900;
}

.showcase-tab.active {
    border-bottom-color: #2f6f9f;
    color: #172033;
}

.showcase-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.showcase-settings-grid label {
    display: grid;
    gap: 4px;
    color: #43536a;
    font-size: 1.2rem;
    font-weight: 900;
}

.showcase-settings-grid input,
.showcase-settings-grid textarea,
.showcase-settings-grid select {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #cfdce8;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    font-size: 1.3rem;
}

.showcase-settings-grid textarea {
    min-height: 78px;
    resize: vertical;
}

.showcase-settings-grid .showcase-wide {
    grid-column: 1 / -1;
}

.showcase-field-block,
.showcase-sample-panel,
.showcase-thumbnail-panel,
.showcase-history-panel {
    padding: 12px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
}

.showcase-field-block > span,
.showcase-thumbnail-panel span,
.showcase-sample-panel h5,
.showcase-field-block h5,
.showcase-history-panel h5 {
    margin: 0;
    color: #172033;
    font-size: 1.35rem;
    font-weight: 900;
}

.showcase-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 34px;
    align-items: center;
}

.showcase-chip-row span,
.showcase-chip-button {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid #cfdce8;
    border-radius: 999px;
    background: #f1f6fb;
    color: #26384e;
    font-size: 1.2rem;
    font-weight: 800;
}

.showcase-public-access-panel {
    display: grid;
    gap: 10px;
}

.showcase-compact-toggle {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f8fbfe;
    font-size: 1.25rem;
}

.showcase-compact-toggle input[type="checkbox"],
.showcase-toggle-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
}

.showcase-compact-toggle span {
    display: grid;
    gap: 2px;
}

.showcase-compact-toggle strong {
    color: #172033;
    font-size: 1.25rem;
}

.showcase-compact-toggle small {
    color: #60758a;
    font-size: 1.15rem;
    font-weight: 600;
}

.showcase-toggle-row.is-disabled {
    opacity: 0.62;
}

.showcase-workspace-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #bfdbc5;
    border-radius: 999px;
    background: #edf8ef;
    color: #236436;
    font-size: 1.2rem;
    font-weight: 900;
}

.showcase-notification-anchor {
    position: relative;
}

.showcase-action-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    min-height: 19px;
    padding: 2px 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #e74c3c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.showcase-access-request-list {
    display: grid;
    gap: 8px;
}

.showcase-access-request-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f8fbfe;
}

.showcase-access-request-row strong,
.showcase-access-request-row span,
.showcase-access-request-row small {
    display: block;
}

.showcase-access-request-row strong {
    color: #172033;
    font-size: 1.3rem;
    font-weight: 900;
}

.showcase-access-request-row span,
.showcase-access-request-row small,
.showcase-access-request-row p {
    margin: 0;
    color: #60758a;
    font-size: 1.15rem;
    font-weight: 700;
}

.showcase-access-request-row p {
    grid-column: 1 / -1;
}

.showcase-chip-button {
    cursor: pointer;
}

.showcase-lexicon-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.showcase-lexicon-summary-grid h3,
.showcase-lexicon-summary-grid h5 {
    margin: 0 0 8px;
    color: #26384e;
    font-size: 1.25rem;
    font-weight: 900;
}

.showcase-lexicon-field-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.showcase-lexicon-field-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid #d4dee8;
    border-radius: 6px;
    background: #f8fbfe;
    color: #26384e;
    font-size: 1.2rem;
    font-weight: 800;
}

.showcase-lexicon-field-list small {
    padding: 2px 5px;
    border-radius: 999px;
    background: #e8f4ec;
    color: #2f6f4e;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-lexicon-public-block {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 24px;
}

.showcase-lexicon-public-block article {
    padding: 18px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
}

.showcase-tag-editor {
    display: grid;
    gap: 8px;
}

.showcase-thumbnail-panel {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.showcase-thumbnail-preview {
    display: grid;
    place-items: center;
    min-height: 112px;
    border: 1px dashed #bfd0df;
    border-radius: 8px;
    background: #f8fbfe;
    overflow: hidden;
}

.showcase-thumbnail-preview img {
    width: 100%;
    height: 112px;
    object-fit: cover;
}

.showcase-helper-text {
    margin: 7px 0 0;
    color: #607085;
    font-size: 1.15rem;
    font-weight: 800;
}

.showcase-sample-rule-grid,
.showcase-new-collection,
.showcase-collaborator-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.showcase-sample-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    font-weight: 900;
}

.showcase-new-collection,
.showcase-collaborator-row {
    grid-template-columns: minmax(110px, .5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
}

.showcase-new-collection {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    margin-top: 8px;
}

.showcase-inline-status {
    min-height: 24px;
    color: #174569;
    font-weight: 800;
}

.showcase-publish-actions {
    align-items: center;
    margin-top: 12px;
}

.showcase-history-panel {
    margin-top: 14px;
}

.showcase-history-panel[hidden],
[data-tab-section][hidden],
[data-sample-field][hidden] {
    display: none !important;
}

.showcase-sample-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.54);
}

.showcase-sample-overlay[hidden] {
    display: none !important;
}

.showcase-sample-dialog {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.showcase-sample-dialog-head,
.showcase-sample-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #dce5ef;
}

.showcase-sample-dialog-head h2 {
    margin: 0;
    color: #172033;
    font-size: 2rem;
    font-weight: 900;
}

.showcase-sample-dialog-head p {
    margin: 3px 0 0;
    color: #607085;
    font-size: 1.2rem;
    font-weight: 800;
}

.showcase-sample-table-wrap {
    overflow: auto;
    padding: 0 16px;
}

.showcase-sample-table {
    width: 100%;
    border-collapse: collapse;
    color: #172033;
}

.showcase-sample-table th,
.showcase-sample-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e7edf4;
    text-align: left;
    vertical-align: top;
    font-size: 1.2rem;
}

.showcase-sample-table th:nth-child(2),
.showcase-sample-table td:nth-child(2) {
    min-width: 170px;
}

.showcase-sample-table th:nth-child(4),
.showcase-sample-table td:nth-child(4),
.showcase-sample-table th:nth-child(5),
.showcase-sample-table td:nth-child(5) {
    min-width: 260px;
}

.showcase-sample-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #ffffff;
    color: #607085;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.showcase-sample-table td strong,
.showcase-sample-table td span {
    display: block;
}

.showcase-sample-table td span {
    margin-top: 3px;
    color: #708095;
    font-size: 1.05rem;
}

.showcase-audio-preview {
    display: none;
}

.showcase-audio-control {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.showcase-audio-play {
    width: 32px;
    height: 32px;
    border: 1px solid #c8d5e3;
    border-radius: 50%;
    background: #ffffff;
    color: #245f86;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.showcase-audio-play:hover,
.showcase-audio-play:focus {
    border-color: #2d7fa8;
    background: #eef8fb;
    outline: none;
}

.showcase-sample-dialog-actions {
    justify-content: flex-end;
    border-top: 1px solid #dce5ef;
    border-bottom: 0;
}

.showcase-history-panel ol {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #43536a;
}

.showcase-link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.showcase-collections-panel {
    margin-top: 18px;
}

.showcase-collection-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.showcase-collection-card {
    display: grid;
    gap: 4px;
    min-height: 96px;
    padding: 12px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    text-decoration: none;
}

.showcase-collection-card.active {
    border-color: #74a8d8;
    background: #eef7ff;
}

.showcase-collection-card strong {
    font-size: 1.45rem;
    font-weight: 900;
}

.showcase-collection-card span,
.showcase-collection-card p {
    margin: 0;
    color: #607085;
    font-size: 1.15rem;
    font-weight: 800;
}

.showcase-collaborator-list {
    display: grid;
    gap: 8px;
}

.showcase-collaborator-list div {
    display: grid;
    gap: 2px;
    padding: 9px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f8fbfe;
}

.showcase-collaborator-list strong {
    color: #172033;
    font-weight: 900;
}

.showcase-collaborator-list span,
.showcase-collaborator-list a {
    color: #607085;
    font-size: 1.2rem;
    font-weight: 800;
}

.showcase-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 4px;
}

.showcase-hero-chips span,
.showcase-hero-chips a {
    border: 1px solid #d9e5e1;
    border-radius: 999px;
    background: #f7fbfa;
    color: #23403a;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 7px 11px;
    text-decoration: none;
}

.showcase-muted-note {
    color: #66758a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 10px;
}

.showcase-browse-hero h1 {
    overflow-wrap: anywhere;
}

.showcase-public-browse {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.showcase-browse-row {
    background: #fff;
    border: 1px solid #dce8e5;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(30, 43, 56, .06);
    padding: 16px;
}

.showcase-browse-row div:first-child {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.showcase-browse-row strong {
    color: #182638;
    font-size: 1.45rem;
    font-weight: 900;
}

.showcase-browse-row span {
    color: #607085;
    font-size: 1.15rem;
    font-weight: 800;
}

.showcase-browse-row p {
    color: #26384c;
    font-size: 1.35rem;
    line-height: 1.55;
    margin: 0 0 8px;
}

.showcase-browse-row audio {
    margin-top: 8px;
    max-width: 420px;
    width: 100%;
}

@media (max-width: 991px) {
    .case-hero,
    .use-hero,
    .case-search-panel,
    .featured-case,
    .case-story-grid,
    .use-case-overview,
    .use-case-directory article {
        grid-template-columns: 1fr;
    }

    .case-filter-row {
        grid-column: 1;
    }

    .case-index-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-study-page .case-study-row,
    .case-study-page .case-story-grid {
        grid-template-columns: 1fr;
    }

    .case-study-page .case-row-meta {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        border-right: 0;
        border-bottom: 1px solid #deebe8;
        text-align: left;
    }

    .case-study-page .case-row-heading {
        display: grid;
    }

    .case-expand-toggle {
        justify-self: start;
    }

    .case-study-page .case-study-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-glance dl,
    .case-metrics {
        grid-template-columns: 1fr;
    }

    .case-detail-overlay {
        padding: 20px;
    }

    .case-detail-facts,
    .case-detail-body {
        grid-template-columns: 1fr;
    }

    .use-case-directory .case-visual {
        grid-column: 1;
        min-height: 220px;
    }

    .use-case-tile .case-visual {
        min-height: 220px;
    }

    .featured-case dl {
        grid-template-columns: 1fr;
    }

    .case-row-heading {
        display: grid;
    }

    .content-grid,
    .manual-grid,
    .showcase-grid,
    .showcase-hero,
    .showcase-detail-hero,
    .showcase-search-primary,
    .showcase-filter-row,
    .showcase-catalogue,
    .showcase-detail-grid,
    .showcase-lexicon-summary-grid,
    .manual-cta {
        grid-template-columns: 1fr;
    }

    .showcase-stat-panel,
    .showcase-detail-stats,
    .showcase-settings-grid,
    .showcase-recent-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .case-hero,
    .use-hero {
        padding: 24px;
    }

    .case-study-row {
        grid-template-columns: 1fr;
    }

    .case-row-meta {
        grid-template-columns: auto auto 1fr;
        align-items: end;
    }

    .case-row-meta span {
        font-size: 3.2rem;
    }

    .case-index-strip {
        grid-template-columns: 1fr;
    }

    .case-study-page .case-row-main {
        padding: 18px;
    }

    .case-study-page .case-study-list {
        grid-template-columns: 1fr;
    }

    .case-detail-overlay {
        padding: 10px;
    }

    .case-detail-heading {
        padding: 28px 58px 16px 20px;
    }

    .case-detail-heading h2 {
        font-size: 3rem;
    }

    .case-detail-facts,
    .case-detail-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .case-detail-body {
        padding-bottom: 20px;
    }

    .showcase-stat-panel,
    .showcase-card-facts,
    .showcase-detail-stats,
    .showcase-settings-grid,
    .showcase-link-row,
    .showcase-recent-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .manual-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .manual-topic-nav {
        position: static;
    }

    .manual-playlist-heading {
        display: grid;
    }

    .manual-playlist-actions {
        justify-content: flex-start;
    }

    .manual-video-grid {
        grid-template-columns: 1fr;
    }
}
