:root {
    --bg: var(--bs-tertiary-bg, #f7f2eb);
    --panel: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.88);
    --panel-strong: var(--bs-body-bg, #ffffff);
    --text: var(--bs-body-color, #1f1a17);
    --muted: var(--bs-secondary-color, #665c56);
    --accent: var(--bs-primary, #d85c31);
    --accent-dark: var(--bs-primary-text-emphasis, #8f3111);
    --line: var(--bs-border-color-translucent, rgba(31, 26, 23, 0.12));
    --success: var(--bs-success-bg-subtle, #d7f1df);
    --success-text: var(--bs-success-text-emphasis, #155f2f);
    --error: var(--bs-danger-bg-subtle, #fde4df);
    --error-text: var(--bs-danger-text-emphasis, #8c2b1f);
    --warning: var(--bs-warning-bg-subtle, #fff2d6);
    --warning-text: var(--bs-warning-text-emphasis, #7a5310);
    --info: var(--bs-info-bg-subtle, #edf4ff);
    --info-text: var(--bs-info-text-emphasis, #21446d);
    --brand-surface: #f7f8fc;
    --brand-ink: #2f3443;
    --brand-pink: #ed2e91;
    --brand-coral: #f0546f;
    --brand-orange: #f7931e;
    --brand-gradient: linear-gradient(
        92deg,
        var(--brand-pink) 0%,
        var(--brand-coral) 58%,
        var(--brand-orange) 100%
    );
    --shadow: 0 24px 48px rgba(110, 64, 36, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(var(--bs-primary-rgb, 216, 92, 49), 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(var(--bs-warning-rgb, 180, 143, 76), 0.16), transparent 28%),
        linear-gradient(180deg, rgba(var(--bs-body-bg-rgb, 255, 248, 240), 0.96) 0%, var(--bg) 100%);
    font-family: var(--bs-body-font-family, "Aptos", "Segoe UI", sans-serif);
}

a {
    color: inherit;
}

small a,
.supporting-text a,
.bootstrap-preview-header a {
    color: var(--accent-dark);
    font-weight: 600;
}

.page-shell {
    width: calc(100% - clamp(16px, 2vw, 40px));
    max-width: 1820px;
    margin: 0 auto;
    padding: 18px 0 48px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.brand-link-shell {
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.brand-meta {
    display: grid;
    gap: 4px;
    align-content: center;
}

.brand-caption {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.brand strong,
h1,
h2,
h3 {
    font-family: "Bahnschrift", "Aptos", sans-serif;
    letter-spacing: 0.01em;
}

.brand-kicker,
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    color: var(--accent-dark);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ghost-link,
.ghost-button {
    border: 0;
    background: transparent;
    text-decoration: none;
    color: var(--muted);
    font: inherit;
    cursor: pointer;
}

.page-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.flash-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.flash {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.flash-success {
    background: var(--success);
    color: var(--success-text);
}

.flash-error {
    background: var(--error);
    color: var(--error-text);
}

.flash-warning {
    background: var(--warning);
    color: var(--warning-text);
}

.hero-card,
.panel {
    background: var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 32px;
    padding: 42px;
}

.hero-copy h1,
.panel h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 0.98;
}

.hero-text,
.supporting-text {
    color: var(--muted);
    line-height: 1.6;
}

.hero-guidance {
    margin-top: 18px;
}

.action-grid {
    display: grid;
    gap: 16px;
}

.action-tile {
    display: grid;
    gap: 6px;
    padding: 22px;
    border-radius: 22px;
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff 0%, #fff4ea 100%);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(143, 49, 17, 0.1);
}

.action-tile-disabled {
    opacity: 0.72;
    cursor: not-allowed;
    box-shadow: none;
}

.action-primary {
    background: linear-gradient(135deg, #d85c31 0%, #f6a24f 100%);
    color: #fffdfb;
}

.tile-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.tile-hint {
    font-size: 0.96rem;
    line-height: 1.45;
}

.panel {
    padding: 32px;
}

.auth-stack {
    display: grid;
    gap: 18px;
}

.auth-header-wrap {
    display: flex;
    justify-content: center;
}

.auth-header-image {
    display: block;
    width: min(1200px, 100%);
    height: auto;
}

.auth-panel {
    margin-top: 0;
}

.narrow-panel {
    width: min(980px, 100%);
    margin: 0 auto;
}

.stack-form {
    display: grid;
    gap: 18px;
}

.field-row,
.button-row,
.panel-heading,
.detail-grid,
.settings-grid,
.template-header {
    display: flex;
    gap: 18px;
}

.field-row {
    align-items: flex-start;
}

.field-row > *,
.detail-grid > *,
.settings-grid > * {
    flex: 1;
}

.field {
    display: grid;
    gap: 8px;
    align-content: start;
}

.field-stack {
    display: grid;
    gap: 18px;
}

.field span {
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="file"],
select,
textarea {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fffdfb;
    color: var(--text);
    font: inherit;
    line-height: 1.3;
    align-self: start;
}

textarea {
    min-height: 140px;
}

small {
    color: var(--muted);
}

input:disabled,
button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.primary-button,
.secondary-button,
.danger-button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 0;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        rgba(var(--bs-warning-rgb, 245, 157, 68), 1) 100%
    );
    color: #fffefc;
}

.secondary-button {
    background: var(--bs-secondary-bg, #f2e6da);
    color: var(--accent-dark);
    border: 1px solid var(--line);
}

.danger-button {
    background: var(--bs-danger, #231813);
    color: var(--bs-light, #fffaf5);
}

.panel-heading {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hero-alert {
    margin-top: 18px;
}

.upload-intro {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}

.upload-intro-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.upload-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.98;
}

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

.upload-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.78fr);
    gap: 28px;
    align-items: start;
}

.video-summary,
.soft-card,
.panel-inner {
    background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.82);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}

.video-preview-card {
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(180deg, #2d211b 0%, #110d0a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.video-preview-player {
    display: block;
    width: 100%;
    max-height: 240px;
    border-radius: 14px;
    background: #000;
}

.inline-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.inline-alert-error {
    background: var(--error);
    color: var(--error-text);
}

.inline-alert-info {
    background: var(--info);
    color: var(--info-text);
}

.status-chip {
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb, 216, 92, 49), 0.12);
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.meta-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.meta-list div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.meta-list dt {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.meta-list dd {
    margin: 0;
    font-weight: 600;
}

.brief-card {
    display: grid;
    gap: 14px;
    height: 100%;
}

.sequence-list,
.guidance-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.inline-form {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
}

.actions-cell a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.template-card {
    display: grid;
    gap: 14px;
}

.compact-heading {
    margin-bottom: 0;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
}

.checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.checkbox-grid {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-user-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-library-card {
    display: grid;
    gap: 18px;
}

.wysiwyg {
    display: grid;
    gap: 10px;
}

.wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wysiwyg-toolbar button {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(var(--bs-body-bg-rgb, 255, 248, 242), 0.92);
    font: inherit;
    cursor: pointer;
}

.wysiwyg-surface {
    min-height: 180px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(var(--bs-body-bg-rgb, 255, 254, 252), 0.96);
    line-height: 1.6;
}

.bootstrap-preview-card {
    display: grid;
    gap: 18px;
}

.bootstrap-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.bootstrap-preview-header h2 {
    margin: 0 0 6px;
}

.bootstrap-preview-demo {
    border: 1px dashed var(--line);
    border-radius: 18px;
    padding: 18px;
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), 0.02);
}

.brand-lockup {
    --brand-lockup-size: 1rem;
    display: grid;
    gap: 0.1em;
    width: fit-content;
    font-family: "Bahnschrift", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--brand-lockup-size);
    font-weight: 700;
    line-height: 0.84;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.brand-lockup-compact {
    --brand-lockup-size: 0.8rem;
}

.brand-lockup-medium {
    --brand-lockup-size: 1.25rem;
}

.brand-lockup-large {
    --brand-lockup-size: 1.6rem;
}

.brand-lockup-hero {
    --brand-lockup-size: clamp(1.6rem, 2.6vw, 2.6rem);
}

.brand-lockup-light {
    color: #ffffff;
}

.brand-lockup-dark {
    color: var(--brand-ink);
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 0.08em;
    white-space: nowrap;
}

.brand-pill {
    display: inline-block;
    height: 0.66em;
    border: 0.1em solid currentColor;
    border-radius: 999px;
    transform: translateY(0.03em);
}

.brand-pill-long {
    width: 4.55em;
}

.brand-pill-medium {
    width: 4.15em;
}

.brand-pill-short {
    width: 2.85em;
}

.brand-banner {
    width: 100%;
}

.brand-banner-inner {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    min-height: 260px;
    padding: clamp(24px, 2.5vw, 36px);
    border-radius: 18px;
    background: var(--brand-gradient);
}

.brand-banner-inner::before,
.brand-banner-inner::after {
    content: "";
    position: absolute;
    border: 10px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    pointer-events: none;
}

.brand-banner-inner::before {
    width: 280px;
    height: 90px;
    right: -30px;
    top: 22px;
}

.brand-banner-inner::after {
    width: 460px;
    height: 140px;
    right: -80px;
    bottom: -34px;
}

.brand-banner-lockup {
    position: relative;
    z-index: 1;
}

.brand-banner-copy {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.96rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.public-body {
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-surface) 100%);
}

.public-body .page-shell {
    width: calc(100% - clamp(16px, 2.4vw, 48px));
    max-width: 1880px;
    padding-top: 10px;
}

.public-body .topbar {
    margin-bottom: 24px;
    padding: 10px 0 18px;
    border-bottom: 1px solid rgba(47, 52, 67, 0.12);
}

.public-body .brand-kicker,
.public-body .eyebrow {
    color: rgba(47, 52, 67, 0.64);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
}

.public-body h1,
.public-body h2,
.public-body h3 {
    color: var(--brand-ink);
    font-family: "Bahnschrift", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.public-body .brand-caption,
.public-body .ghost-link,
.public-body .ghost-button,
.public-body .supporting-text,
.public-body .hero-text {
    color: rgba(47, 52, 67, 0.76);
}

.public-body .panel,
.public-body .hero-card {
    background: rgba(247, 248, 252, 0.72);
    backdrop-filter: none;
    border: 1px solid rgba(47, 52, 67, 0.1);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(33, 28, 52, 0.04);
}

.public-body .soft-card,
.public-body .video-summary,
.public-body .panel-inner {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(47, 52, 67, 0.1);
    border-radius: 14px;
    box-shadow: none;
}

.public-body .panel,
.public-body .hero-card,
.public-body .soft-card,
.public-body .video-summary,
.public-body .panel-inner {
    padding: clamp(22px, 2.2vw, 38px);
}

.public-body input[type="text"],
.public-body input[type="email"],
.public-body input[type="password"],
.public-body input[type="url"],
.public-body input[type="file"],
.public-body select,
.public-body textarea {
    min-height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(47, 52, 67, 0.16);
    background: rgba(255, 255, 255, 0.94);
}

.public-body textarea {
    min-height: 128px;
}

.public-body .primary-button,
.public-body .secondary-button,
.public-body .danger-button,
.public-body .button-link {
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 10px;
    letter-spacing: 0.01em;
}

.public-body .primary-button {
    background: var(--brand-gradient);
    color: #ffffff;
}

.public-body .secondary-button {
    background: transparent;
    color: var(--brand-ink);
    border: 1px solid rgba(47, 52, 67, 0.18);
}

.public-body .danger-button {
    background: #45263a;
    color: #fff9fd;
}

.homepage-stage {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 34px;
    align-items: stretch;
    margin-bottom: 0;
    padding: clamp(28px, 3vw, 44px);
    border-radius: 22px;
    background: var(--brand-gradient);
}

.homepage-stage::before,
.homepage-stage::after {
    content: "";
    position: absolute;
    border: 12px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    pointer-events: none;
}

.homepage-stage::before {
    width: 360px;
    height: 118px;
    right: -30px;
    top: 24px;
}

.homepage-stage::after {
    width: 620px;
    height: 180px;
    right: -120px;
    bottom: -50px;
}

.homepage-stage-no-visual {
    grid-template-columns: minmax(0, 1fr);
}

.homepage-stage-copy,
.auth-stage-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    align-content: start;
}

.homepage-stage-copy {
    padding-right: min(4vw, 48px);
}

.homepage-stage-lockup {
    margin-bottom: 10px;
}

.homepage-stage-eyebrow {
    color: rgba(255, 255, 255, 0.82) !important;
}

.homepage-stage-copy h1 {
    margin: 0;
    max-width: 11ch;
    color: #ffffff;
    font-size: clamp(2.9rem, 5.5vw, 5rem);
    line-height: 0.92;
}

.homepage-stage-copy .homepage-copy,
.homepage-stage-copy .hero-text {
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem;
}

.homepage-stage-meta {
    display: grid;
    gap: 18px;
    align-content: start;
}

.homepage-stage .inline-alert {
    margin-bottom: 0;
    width: min(100%, 820px);
    padding: 22px 26px;
    border-radius: 18px;
    font-size: clamp(1.22rem, 1.8vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
}

.homepage-stage .hero-alert {
    margin-top: 0;
}

.homepage-stage .inline-alert-info {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.homepage-stage .inline-alert-error {
    background: rgba(69, 38, 58, 0.28);
    color: #ffffff;
}

.homepage-stage-organizers {
    display: inline-flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    width: fit-content;
    max-width: 100%;
    padding: 16px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 38px rgba(47, 31, 46, 0.12);
}

.homepage-stage-organizer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-stage-organizer-logo {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.homepage-stage-organizer-logo-formasup {
    height: clamp(38px, 4vw, 62px);
}

.homepage-stage-organizer-logo-anasup {
    height: clamp(34px, 3.6vw, 56px);
}

.homepage-stage-visual {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 520px;
}

.homepage-stage-visual img,
.homepage-hero-placeholder {
    width: 100%;
    min-height: 100%;
    border-radius: 16px;
}

.homepage-stage-visual img {
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 38px rgba(47, 31, 46, 0.14);
}

.homepage-hero-placeholder {
    display: grid;
    gap: 16px;
    align-content: end;
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.homepage-placeholder-kicker {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.homepage-placeholder-inner {
    display: grid;
    gap: 12px;
}

.homepage-action-board {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: -52px 22px 28px;
}

.public-body .action-tile {
    min-height: 200px;
    padding: 24px 24px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(47, 52, 67, 0.1);
    box-shadow: 0 16px 28px rgba(47, 52, 67, 0.07);
}

.public-body .action-primary {
    background: #ffffff;
    color: var(--brand-ink);
}

.public-body .action-primary .tile-label {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.public-body .action-primary .action-step {
    color: var(--brand-pink);
}

.public-body .action-primary .tile-hint {
    color: rgba(47, 52, 67, 0.72);
}

.public-body .action-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(47, 52, 67, 0.09);
}

.action-step {
    display: inline-flex;
    margin-bottom: auto;
    color: rgba(47, 52, 67, 0.44);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.public-body .tile-label {
    font-size: 1.34rem;
    font-weight: 700;
    line-height: 1.04;
}

.public-body .tile-hint {
    max-width: 28ch;
    color: rgba(47, 52, 67, 0.72);
    font-size: 0.98rem;
}

.public-body .homepage-section {
    gap: 24px;
}

.public-body .homepage-section h2 {
    margin: 0;
    max-width: 13ch;
    font-size: clamp(2.1rem, 3vw, 3.3rem);
    line-height: 0.94;
}

.public-body .homepage-process-title {
    max-width: none;
    font-size: clamp(2rem, 2.7vw, 3.2rem);
    line-height: 1;
    white-space: nowrap;
}

.public-body .homepage-partners-title {
    max-width: none;
    font-size: clamp(2rem, 2.7vw, 3.2rem);
    line-height: 1;
    white-space: nowrap;
}

.public-body .homepage-section-header {
    gap: 28px;
}

.public-body .homepage-step-card {
    min-height: 250px;
    padding-top: 62px;
}

.public-body .homepage-step-index {
    top: 18px;
    left: 20px;
    min-width: auto;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brand-pink);
    letter-spacing: 0.16em;
}

.public-body .homepage-step-card h3 {
    font-size: 1.45rem;
}

.public-body .homepage-note-card {
    padding: 20px 22px;
}

.public-body .homepage-logo-card {
    min-height: 138px;
}

.public-body .homepage-footer-note {
    border-radius: 16px;
    background: var(--brand-gradient);
}

.public-body .homepage-footer-note p {
    color: #ffffff;
}

.auth-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 32px;
    align-items: start;
}

.auth-stage-copy {
    gap: 24px;
    padding-right: min(4vw, 56px);
}

.auth-stage-text {
    display: grid;
    gap: 12px;
}

.auth-stage-text h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    line-height: 0.94;
}

.auth-stage-list {
    gap: 14px;
    max-width: 58ch;
}

.auth-form-panel {
    display: grid;
    gap: 18px;
    padding-top: 10px;
}

.public-body .auth-header-wrap {
    justify-content: flex-start;
}

.public-body .upload-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.public-body .upload-intro {
    position: relative;
    overflow: hidden;
    gap: 26px;
    margin-bottom: 30px;
    padding: clamp(24px, 2.8vw, 40px);
    border-radius: 22px;
    background: var(--brand-gradient);
}

.public-body .upload-intro::before,
.public-body .upload-intro::after {
    content: "";
    position: absolute;
    border: 10px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    pointer-events: none;
}

.public-body .upload-intro::before {
    width: 280px;
    height: 88px;
    right: 16px;
    top: 22px;
}

.public-body .upload-intro::after {
    width: 420px;
    height: 138px;
    right: -36px;
    bottom: -48px;
}

.upload-intro-brand {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.public-body .upload-intro-top {
    position: relative;
    z-index: 1;
}

.public-body .upload-title {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    line-height: 1;
    white-space: nowrap;
}

.upload-progress[hidden] {
    display: none !important;
}

.upload-progress {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(47, 52, 67, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.upload-progress.is-active {
    display: grid;
}

.upload-progress.is-error {
    border-color: rgba(140, 43, 31, 0.24);
    background: rgba(253, 228, 223, 0.92);
}

.upload-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.upload-progress-meta strong,
.upload-progress-meta span {
    color: var(--brand-ink);
}

.upload-progress-track {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: rgba(47, 52, 67, 0.1);
}

.upload-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--brand-gradient);
    transition: width 0.18s ease;
}

.upload-progress-status {
    margin: 0;
}

.public-body .upload-intro .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.public-body .upload-brief-grid {
    position: relative;
    z-index: 1;
    gap: 16px;
}

.public-body .upload-intro .brief-card {
    padding: 22px;
    background: rgba(255, 255, 255, 0.92);
}

.public-body .video-summary {
    position: sticky;
    top: 18px;
}

.public-body .video-preview-card {
    border-radius: 14px;
    padding: 8px;
}

.public-body .video-preview-player {
    border-radius: 8px;
}

.public-body .status-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.homepage-copy {
    white-space: pre-line;
}

.homepage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(380px, 0.78fr);
    gap: 32px;
    align-items: stretch;
}

.homepage-hero-copy {
    display: grid;
    gap: 18px;
    align-content: start;
}

.homepage-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-hero-visual {
    display: flex;
}

.homepage-hero-visual img,
.homepage-hero-placeholder {
    width: 100%;
    min-height: 100%;
    border-radius: 24px;
}

.homepage-hero-visual img {
    min-height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.homepage-hero-placeholder {
    display: grid;
    align-content: end;
    gap: 10px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 32%),
        linear-gradient(135deg, rgba(var(--bs-primary-rgb, 216, 92, 49), 0.96) 0%, rgba(var(--bs-warning-rgb, 245, 157, 68), 0.96) 100%);
    color: #fffdf8;
}

.homepage-placeholder-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    opacity: 0.8;
}

.homepage-section {
    display: grid;
    gap: 20px;
}

.homepage-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.homepage-process-header {
    display: block;
}

.homepage-section-header > * {
    flex: 1;
}

.homepage-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.homepage-step-card {
    position: relative;
    min-height: 220px;
    padding-top: 58px;
}

.homepage-step-card h3 {
    margin: 0 0 10px;
}

.homepage-step-index {
    position: absolute;
    top: 20px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb, 216, 92, 49), 0.12);
    color: var(--accent-dark);
    font-weight: 800;
}

.homepage-requirements-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
}

.homepage-requirements-copy {
    display: grid;
    gap: 14px;
}

.homepage-note-card {
    display: grid;
    gap: 8px;
}

.homepage-note-card p {
    margin: 0;
}

.homepage-requirements-card {
    display: grid;
    align-content: start;
}

.homepage-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.homepage-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 152px;
    text-align: center;
}

.homepage-logo-card img {
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

.homepage-logo-card-empty {
    grid-column: 1 / -1;
}

.homepage-footer-note {
    padding: 26px 28px;
}

.homepage-footer-note p {
    margin: 0;
}

.homepage-admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(380px, 0.66fr);
    gap: 28px;
    align-items: start;
}

.homepage-admin-sidebar {
    display: grid;
    gap: 18px;
}

.homepage-action-admin-grid,
.homepage-partner-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.homepage-action-admin-card {
    align-content: start;
}

.homepage-action-admin-card h3 {
    margin: 0;
}

.homepage-toggle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.homepage-toggle-card {
    margin: 0;
    padding: 16px;
}

.homepage-toggle-card strong {
    display: block;
    margin-bottom: 4px;
}

.homepage-asset-admin-list {
    display: grid;
    gap: 14px;
}

.homepage-asset-admin-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.68);
}

.homepage-asset-admin-card h3 {
    margin: 0 0 4px;
}

.homepage-asset-admin-card p {
    margin: 0;
}

.homepage-asset-admin-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 14px;
    border-radius: 16px;
    border: 1px dashed var(--line);
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), 0.02);
}

.homepage-asset-admin-preview img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.homepage-preview-card {
    display: grid;
    gap: 18px;
}

.homepage-preview-frame {
    width: 100%;
    min-height: 760px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

@media (max-width: 920px) {
    .hero-card,
    .upload-brief-grid,
    .upload-grid,
    .settings-grid,
    .detail-grid,
    .homepage-hero,
    .homepage-step-grid,
    .homepage-requirements-layout,
    .homepage-logo-grid,
    .homepage-admin-layout {
        grid-template-columns: 1fr;
        display: grid;
    }

    .field-row,
    .button-row,
    .panel-heading,
    .template-header,
    .inline-form,
    .upload-intro-top,
    .bootstrap-preview-header,
    .homepage-section-header,
    .brand-link-shell {
        flex-direction: column;
    }

    .panel,
    .hero-card {
        padding: 24px;
    }

    .button-row > * {
        width: 100%;
    }

    .homepage-stage,
    .auth-stage,
    .homepage-action-board {
        grid-template-columns: 1fr;
    }

    .homepage-stage-organizers {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .homepage-stage-copy,
    .auth-stage-copy {
        padding-right: 0;
    }

    .brand-meta {
        gap: 2px;
    }

    .brand-banner-inner,
    .public-body .upload-intro {
        padding: 24px;
    }

    .homepage-action-board {
        margin: 18px 0 28px;
    }

    .public-body .tile-hint {
        max-width: none;
    }

    .homepage-stage-visual {
        min-height: 300px;
    }

    .homepage-hero-visual img,
    .homepage-hero-placeholder {
        min-height: 260px;
    }

    .public-body .upload-title,
    .auth-stage-text h1,
    .homepage-stage-copy h1 {
        max-width: none;
    }

    .public-body .upload-title {
        white-space: normal;
    }

    .public-body .homepage-process-title {
        white-space: normal;
    }

    .public-body .homepage-partners-title {
        white-space: normal;
    }

    .upload-progress-meta {
        align-items: flex-start;
    }

    .homepage-preview-frame {
        min-height: 520px;
    }
}
