/* Expanded editorial pages and entrant portal */
.editorial-page main { overflow: hidden; }
.editorial-page p { font-size: 18px; line-height: 1.75; }
.editorial-hero { position: relative; isolation: isolate; min-height: 620px; display: flex; align-items: center; color: #fff; background: #0b0908; overflow: hidden; }
.editorial-hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: url("../images/muse/category-hero.jpg") center / cover no-repeat; opacity: .42; transform: scale(1.02); }
.editorial-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,3,3,.96) 0%, rgba(17,8,4,.78) 52%, rgba(17,8,4,.24) 100%); }
.editorial-hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); align-items: center; gap: clamp(60px,8vw,140px); padding-top: 90px; padding-bottom: 90px; }
.editorial-hero h1 { max-width: 920px; margin: 24px 0; font-size: clamp(52px,5vw,82px); }
.editorial-hero p { max-width: 690px; color: rgba(255,255,255,.76); }
.editorial-hero .button-outline { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.editorial-hero .button-outline:hover { background: #fff; color: #15100e; }
.editorial-two-column { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(56px,8vw,130px); align-items: start; }
.editorial-two-column h2 { max-width: 680px; }
.division-mark,.legacy-year,.winner-count,.press-mark,.jury-values { justify-self: end; display: grid; place-items: center; width: min(330px,26vw); aspect-ratio: 1; border: 1px solid rgba(244,89,20,.55); border-radius: 50%; color: var(--orange); font-family: var(--serif); text-align: center; box-shadow: 0 0 70px rgba(244,89,20,.18), inset 0 0 44px rgba(244,89,20,.1); }
.division-mark strong,.legacy-year strong,.winner-count strong,.press-mark strong,.jury-values strong { display: block; font-size: clamp(54px,6vw,94px); line-height: .9; }
.division-mark span,.legacy-year span,.winner-count span,.press-mark span,.jury-values span { display: block; max-width: 150px; margin-top: 12px; font: 700 18px/1.35 var(--sans); text-transform: uppercase; }
.detail-facts { border-bottom: 1px solid var(--line); background: #fff; }
.detail-facts .container { display: grid; grid-template-columns: repeat(3,1fr); }
.detail-facts article { min-height: 150px; padding: 15px 34px; border-right: 1px solid var(--line); }
.detail-facts article:first-child { border-left: 1px solid var(--line); }
.detail-facts span,.portal-kicker,.step-label,.winner-level { display: block; margin-bottom: 12px; color: var(--orange); font-size: 18px; font-weight: 700; text-transform: uppercase; }
.detail-facts strong { display: block; font: 500 24px/1.25 var(--serif); }

/* Category detail */
.category-detail-hero::before { background-image: url("../images/muse/category-events.jpg"); }
.category-detail-hero.has-category-banner::before { content:none; }
.category-detail-banner { position:absolute; inset:0; z-index:-2; display:block; opacity:.65; }
.category-detail-banner img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.detail-category-groups { display: grid; gap: 18px; }
.detail-category-group { display: grid; grid-template-columns: minmax(210px,.38fr) 1fr; gap: 30px; padding: 30px; border: 1px solid var(--line); background: #fff; }
.detail-category-group h3 { margin: 0; font-size: 25px; }
.detail-subcategories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 26px; }
.detail-subcategories > * { position: relative; display: block; padding: 0 30px 12px 0; border-bottom: 1px solid #eee5e1; }
.detail-subcategories b { position: absolute; top: 0; right: 0; color: var(--orange); }
.detail-subcategories strong,.detail-subcategories small { display: block; }
.detail-subcategories strong { color: var(--orange); font-size: 18px; }
.detail-subcategories small { color: #625954; font-size: 18px; line-height: 1.5; }
.score-stack { border-top: 1px solid #46403d; }
.score-stack div { display: grid; grid-template-columns: 80px 1fr auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid #46403d; }
.score-stack b { font: 500 32px/1 var(--serif); color: var(--orange); }
.score-stack strong { color: #fff; }
.score-stack span { color: rgba(255,255,255,.58); font-size: 18px; }
.evaluation-grid,.principle-grid,.fact-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; padding: 1px; background: var(--line); }
.evaluation-grid > *,.principle-grid > *,.fact-grid > * { min-height: 230px; padding: 32px; background: #fff; }
.evaluation-grid span,.principle-grid span,.fact-grid span,.fact-grid small { color: var(--orange); font-size: 18px; font-weight: 700; }
.evaluation-grid h3,.principle-grid h3,.fact-grid h3 { margin-top: 36px; }
.evaluation-grid p,.principle-grid p,.fact-grid p { font-size: 18px; line-height: 1.65; }
.fact-grid strong { display: block; margin-top: 34px; font: 500 22px/1.3 var(--serif); }
.requirement-list { margin: 0; padding: 0; list-style: none; counter-reset: requirement; }
.requirement-list li { position: relative; counter-increment: requirement; padding: 21px 20px 21px 72px; border-bottom: 1px solid var(--line); }
.requirement-list li::before { position: absolute; left: 18px; top: 19px; content: "0" counter(requirement); color: var(--orange); font: 500 22px/1 var(--serif); }
.requirement-list > p { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.requirement-list > p strong { display: block; color: var(--orange); font: 500 21px/1.3 var(--serif); }

/* Legacy, jury and press */
.legacy-detail-hero::before { background-image: url("../images/muse/statuette.jpg"); background-position: center 35%; }
.legacy-meaning,.press-contact,.winner-share { color: #fff; background: var(--brown); }
.legacy-meaning p,.press-contact p,.winner-share p { color: rgba(255,255,255,.74); }
.timeline-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline-grid article { min-height: 300px; padding: 34px; border-right: 1px solid var(--line); }
.timeline-grid article:last-child { border-right: 0; }
.timeline-grid strong { color: var(--orange); font: 500 34px/1 var(--serif); }
.timeline-grid h3 { margin-top: 60px; }
.timeline-grid p { font-size: 18px; }
.legacy-meaning .principle-grid { background: rgba(255,255,255,.18); }
.legacy-meaning .principle-grid article { color: #fff; background: rgba(255,255,255,.04); }
.legacy-meaning .principle-grid p { color: rgba(255,255,255,.68); }
.jury-detail-hero::before,.nomination-hero::before { background-image: url("../images/muse/awards-hero.jpg"); }
.public-jury-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 18px; }
.public-juror-card { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: #211b18; }
.public-juror-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .45s ease, filter .45s ease; }
.public-juror-card:hover img { transform: scale(1.035); filter: saturate(1); }
.public-juror-card::after { position: absolute; inset: 30% 0 0; content: ""; background: linear-gradient(transparent,rgba(0,0,0,.94)); }
.public-juror-card div { position: relative; z-index: 1; width: 100%; padding: 26px 22px; color: #fff; }
.public-juror-card strong,.public-juror-card span,.public-juror-card small { display: block; }
.public-juror-card strong { font: 500 24px/1.2 var(--serif); }
.public-juror-card h3 { margin: 4px 0 8px; color: #fff; font-size: 24px; }
.public-juror-card p { margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.55; }
.public-juror-card span { margin-top: 8px; color: var(--orange); font-size: 18px; font-weight: 700; }
.public-juror-card small { color: rgba(255,255,255,.67); }
.jury-fallback,.empty-panel { padding: 60px; border: 1px solid var(--line); background: var(--cream); text-align: center; }
.press-hero::before { background-image: url("../images/muse/intro-pattern.jpg"); opacity: .7; }
.press-mark { border-radius: 0; transform: rotate(8deg); }
.press-mark > * { transform: rotate(-8deg); }
.download-list { display: grid; border-top: 1px solid var(--line); }
.download-list a { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.download-list a span { color: var(--orange); }

/* Forms */
.editorial-form,.portal-form { display: grid; gap: 22px; }
.editorial-form label,.portal-form label,.entry-form label { display: grid; gap: 9px; color: #302925; font-size: 18px; font-weight: 700; }
.editorial-form input,.editorial-form select,.editorial-form textarea,.portal-form input,.portal-form select,.portal-form textarea,.entry-form input,.entry-form select,.entry-form textarea,.inline-link-form input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfc5c0; border-radius: 0; color: #17110f; background: #fff; font: 18px/1.45 var(--sans); }
.editorial-form textarea,.portal-form textarea,.entry-form textarea { resize: vertical; }
.editorial-form input:focus,.editorial-form select:focus,.editorial-form textarea:focus,.portal-form input:focus,.portal-form select:focus,.entry-form input:focus,.entry-form select:focus,.entry-form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(244,89,20,.15); outline-offset: 1px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 22px; }
.check-grid label,.portal-check { display: flex; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-grid input,.portal-check input { flex: none; width: 18px; min-height: 18px; height: 18px; margin-top: 4px; }
.field-error { color: #af281e; font-size: 18px; font-weight: 700; }
.form-alert { padding: 14px 18px; border-left: 4px solid #af281e; color: #77170f; background: #fff0ee; }

/* Winners */
.winners-hero::before,.distinctions-hero::before,.winner-profile-hero::before { background-image: url("../images/muse/grand-distinction.png"); background-position: 74% 50%; opacity: .38; }
.winner-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.winner-card { display: grid; min-height: 490px; border: 1px solid var(--line); background: #fff; }
.winner-card-art { position: relative; min-height: 245px; display: grid; place-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 50% 30%,#8b3716 0,#321307 45%,#100806 100%); }
.winner-card-art::before { width: 120px; height: 120px; content: ""; border: 1px solid var(--orange); border-radius: 50%; box-shadow: 0 0 45px rgba(244,89,20,.44); }
.winner-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.winner-card > div:last-child { padding: 26px; }
.winner-card h3 { margin: 10px 0; font-size: 27px; }
.winner-card p { margin-bottom: 6px; font-size: 18px; }
.distinction-register { display: grid; gap: 1px; background: var(--line); }
.distinction-register article { display: grid; grid-template-columns: 100px 1fr auto; gap: 28px; align-items: center; padding: 28px 34px; background: #fff; }
.distinction-register b { color: var(--orange); font: 500 31px/1 var(--serif); }
.distinction-register h3,.distinction-register p { margin: 0; }
.winner-profile-hero { min-height: 640px; display: flex; align-items: center; color: #fff; background: #0b0908; }
.winner-profile-hero .container { padding-top: 100px; padding-bottom: 100px; }
.winner-profile-hero h1 { max-width: 1000px; margin: 22px 0; font-size: clamp(50px,5.5vw,86px); }
.winner-profile-meta { display: flex; gap: 16px 34px; flex-wrap: wrap; color: rgba(255,255,255,.68); }
.winner-brief { padding: 34px; border-left: 5px solid var(--orange); background: var(--cream); }

/* Portal shell */
.portal-page { min-height: 100vh; color: #17110f; background: #f6f2ef; }
.portal-header { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 12px clamp(24px,4vw,70px); border-bottom: 1px solid #ddd5d1; background: #fff; font-size: 18px; font-weight: 700; }
.portal-header img { width: 178px; height: 52px; object-fit: contain; }
.portal-header > a:last-child { justify-self: end; color: var(--orange); }
.portal-deadline { min-height: 50px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 9px clamp(24px,4vw,70px); color: #fff; background: var(--brown); font-size: 18px; }
.portal-deadline span { color: rgba(255,255,255,.65); }
.portal-deadline a { color: var(--orange); font-weight: 700; }
.portal-auth-shell { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(360px,.85fr) minmax(560px,1.15fr); }
.portal-auth-intro { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: 760px; padding: clamp(50px,8vw,130px); color: #fff; background: #0b0908; overflow: hidden; }
.portal-auth-intro::before { position: absolute; z-index: -2; inset: 0; content: ""; background: url("../images/muse/awards-hero.jpg") center / cover no-repeat; opacity: .42; }
.portal-auth-intro::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg,rgba(0,0,0,.9),rgba(47,18,7,.74)); }
.portal-auth-intro h1 { max-width: 660px; margin: 22px 0; font-size: clamp(44px,5vw,76px); }
.portal-auth-intro p { color: rgba(255,255,255,.72); }
.portal-edition { margin-top: 60px; color: var(--orange); font: 500 24px/1.2 var(--serif); }
.portal-form-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px,7vw,110px); background: #fff; }
.portal-form-panel > p { max-width: 650px; }
.portal-form-panel h2 { margin-top: 16px; }
.portal-login-shell .portal-form-panel { max-width: none; }
.dashboard-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); min-height: calc(100vh - 128px); }
.portal-sidebar { padding: 45px 26px; color: #fff; background: #161210; }
.portal-sidebar > strong { display: block; margin-bottom: 35px; font: 500 25px/1.2 var(--serif); }
.portal-sidebar a { display: block; padding: 13px 10px; border-bottom: 1px solid #302925; color: #bcb1ab; font-size: 18px; }
.portal-sidebar a.is-active,.portal-sidebar a:hover { color: var(--orange); }
.dashboard-content { padding: clamp(45px,6vw,90px); }
.dashboard-title { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 50px; }
.dashboard-title h1 { margin: 6px 0 0; font-size: clamp(42px,4vw,65px); }
.action-notice { display: grid; grid-template-columns: auto 1fr auto; gap: 25px; align-items: center; margin-bottom: 55px; padding: 25px 30px; border-left: 5px solid var(--orange); background: #fff; box-shadow: 0 12px 36px rgba(40,19,10,.06); }
.action-notice > span { color: var(--orange); font: 500 34px/1 var(--serif); }
.action-notice p { margin: 0; font-size: 18px; }
.dashboard-section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.dashboard-section-title h2 { margin: 6px 0 0; }
.portal-entry-list { display: grid; gap: 12px; }
.portal-entry-list article { display: grid; grid-template-columns: 54px minmax(240px,1fr) auto auto; gap: 28px; align-items: center; padding: 24px; border: 1px solid #ddd4cf; background: #fff; }
.entry-index { color: var(--orange); font: 500 24px/1 var(--serif); }
.entry-main strong,.entry-main span { display: block; }
.entry-main span { color: #766b65; font-size: 18px; }
.status { display: inline-flex; width: fit-content; margin-top: 8px; padding: 4px 9px; color: #77451f; background: #fff0df; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.entry-metrics { display: flex; gap: 20px; }
.entry-metrics span { text-align: center; color: #756a65; font-size: 18px; }
.entry-metrics b { display: block; color: #17110f; font: 500 22px/1.2 var(--serif); }
.entry-actions { display: flex; gap: 16px; }
.entry-actions a { color: var(--orange); font-size: 18px; font-weight: 700; }

/* Entry workflow */
.entry-workspace { display: grid; grid-template-columns: 260px minmax(0,1fr); min-height: calc(100vh - 128px); background: #f7f3f1; }
.entry-steps { position: sticky; top: 0; align-self: start; min-height: calc(100vh - 128px); padding: 42px 26px; color: #fff; background: #171310; }
.entry-steps > strong { display: block; margin-bottom: 30px; font: 500 26px/1.2 var(--serif); }
.entry-steps > a { display: grid; grid-template-columns: 34px 1fr; gap: 9px; padding: 14px 0; border-bottom: 1px solid #332b27; color: #b9afa9; font-size: 18px; }
.entry-steps > a span { color: var(--orange); }
.entry-steps > div { margin-top: 28px; padding: 18px; border: 1px solid #3e332d; }
.entry-steps small,.entry-steps strong { display: block; }
.entry-steps small { color: #8c817a; }
.entry-steps div strong { margin-top: 5px; color: var(--orange); }
.entry-form { width: min(100%,1000px); padding: clamp(45px,6vw,90px); }
.entry-form-heading { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.entry-form-heading h1 { margin: 5px 0; font-size: clamp(42px,5vw,68px); }
.entry-form-heading p { margin: 0; color: #8a7f78; font-size: 18px; }
.entry-form-section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.entry-form-section h2 { margin: 6px 0 28px; }
.entry-form-section > label + label,.entry-form-section > .form-grid + label,.entry-form-section > label + .form-grid { margin-top: 20px; }
.entry-form label small { color: #877b75; font-weight: 400; }
.entry-form-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 35px; }
.entry-form-actions > a { color: #786d66; font-size: 18px; font-weight: 700; }
.upload-dropzone { padding: 42px; border: 1px dashed #b7aaa3; background: #fff; text-align: center; }
.upload-dropzone input { margin: 18px 0 0; padding: 0; border: 0; }
.uploaded-list { display: grid; gap: 8px; margin-top: 18px; }
.uploaded-list li { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 12px 15px; background: #fff; list-style: none; font-size: 18px; }
.inline-link-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.inline-link-form .button { white-space: nowrap; }

.flash-stack { position: fixed; z-index: 2000; top: 24px; right: 24px; width: min(410px,calc(100% - 48px)); }
.flash-message { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 15px 14px 15px 18px; border-left: 4px solid var(--orange); color: #fff; background: #1c1714; box-shadow: 0 14px 42px rgba(0,0,0,.22); opacity: 1; transform: translateX(0); transition: opacity 200ms ease, transform 200ms ease; }
.flash-message.is-error { border-color: #e34031; }
.flash-message.is-success { border-color: #5aaa68; }
.flash-message.is-hiding { opacity: 0; transform: translateX(18px); pointer-events: none; }
.flash-dismiss { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.flash-dismiss:hover,.flash-dismiss:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); outline: none; }
@media (prefers-reduced-motion: reduce) { .flash-message { transition: none; } }
.not-found { min-height: 68vh; display: grid; place-items: center; text-align: center; background: var(--cream); }

/* The MUSE program keeps every readable text element at 18px or larger. */
small,
sub,
sup { font-size: 18px; }
.network-bar { min-height: 44px; height: auto; font-size: 18px; }
.network-inner { min-height: 44px; height: auto; overflow: visible; }
.network-list { flex: 1; min-width: 0; height: auto; flex-wrap: wrap; gap: 0 clamp(10px, 1.2vw, 20px); }
.network-item > a,
.network-item > button { height: 44px; }
.network-menu { top: 100%; }

/* 13-inch laptop */
@media (max-width: 1366px) {
  .editorial-hero { min-height: 560px; }
  .editorial-hero-grid { padding-top: 72px; padding-bottom: 72px; }
  .public-jury-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .evaluation-grid,.principle-grid,.fact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-auth-intro,.portal-form-panel { padding: 54px; }
  .portal-auth-intro h1 { font-size: clamp(44px,4.4vw,60px); }
  .dashboard-content { padding: 58px; }
}

/* Tablet */
@media (max-width: 1024px) {
  .editorial-hero-grid { grid-template-columns: 1fr .45fr; gap: 45px; }
  .editorial-two-column { grid-template-columns: 1fr 1fr; gap: 45px; }
  .division-mark,.legacy-year,.winner-count,.press-mark,.jury-values { width: min(260px,28vw); }
  .detail-category-group { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: repeat(2,1fr); }
  .timeline-grid article:nth-child(2) { border-right: 0; }
  .timeline-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .public-jury-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .winner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-auth-shell { grid-template-columns: 1fr; }
  .portal-auth-intro { min-height: 520px; }
  .portal-form-panel { padding: 70px clamp(30px,8vw,90px); }
  .dashboard-shell,.entry-workspace { grid-template-columns: 210px minmax(0,1fr); }
  .dashboard-content,.entry-form { padding: 50px 35px; }
  .portal-entry-list article { grid-template-columns: 42px 1fr auto; }
  .entry-actions { grid-column: 2 / -1; }
  .form-grid-three { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 760px) {
  .editorial-page p { font-size: 18px; }
  .editorial-hero { min-height: 650px; }
  .editorial-hero::before { background-image: url("../images/muse/category-hero-mobile.jpg"); }
  .editorial-hero-grid { grid-template-columns: 1fr; gap: 46px; padding-top: 78px; padding-bottom: 70px; }
  .editorial-hero h1 { font-size: 43px; }
  .editorial-two-column { grid-template-columns: 1fr; gap: 34px; }
  .division-mark,.legacy-year,.winner-count,.press-mark,.jury-values { justify-self: start; width: 220px; }
  .detail-facts .container { grid-template-columns: 1fr; }
  .detail-facts article,.detail-facts article:first-child { min-height: auto; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); }
  .detail-subcategories,.evaluation-grid,.principle-grid,.fact-grid { grid-template-columns: 1fr; }
  .detail-category-group { padding: 24px 20px; }
  .score-stack div { grid-template-columns: 62px 1fr; }
  .score-stack span { grid-column: 2; }
  .timeline-grid,.public-jury-grid,.winner-grid { grid-template-columns: 1fr; }
  .timeline-grid article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .public-juror-card { min-height: 470px; }
  .distinction-register article { grid-template-columns: 56px 1fr; padding: 24px 18px; }
  .distinction-register article > a { grid-column: 2; }
  .winner-profile-hero h1 { font-size: 43px; }
  .form-grid,.check-grid { grid-template-columns: 1fr; }
  .portal-header { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .portal-header > span { display: none; }
  .portal-header img { width: 145px; }
  .portal-deadline { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .portal-deadline span { display: none; }
  .portal-auth-intro { min-height: 500px; padding: 55px 25px; }
  .portal-auth-intro::before { background-image: url("../images/muse/awards-hero-mobile.jpg"); }
  .portal-auth-intro h1 { font-size: 43px; }
  .portal-form-panel { padding: 55px 22px; }
  .dashboard-shell,.entry-workspace { display: block; }
  .portal-sidebar,.entry-steps { position: static; min-height: auto; padding: 25px 20px; }
  .portal-sidebar > strong,.entry-steps > strong,.entry-steps > div { display: none; }
  .portal-sidebar { display: flex; gap: 8px; overflow-x: auto; }
  .portal-sidebar a { flex: none; border: 1px solid #332b27; }
  .entry-steps { display: flex; gap: 18px; overflow-x: auto; }
  .entry-steps > a { flex: none; border: 0; }
  .dashboard-content,.entry-form { width: 100%; padding: 45px 18px; }
  .dashboard-title { display: block; }
  .action-notice { grid-template-columns: auto 1fr; padding: 20px; }
  .action-notice > a { grid-column: 2; }
  .portal-entry-list article { grid-template-columns: 38px 1fr; gap: 18px; }
  .entry-metrics,.entry-actions { grid-column: 2; }
  .entry-form-section { padding: 38px 0; }
  .entry-form-actions { align-items: stretch; flex-direction: column-reverse; gap: 18px; }
  .inline-link-form { grid-template-columns: 1fr; }
  .upload-dropzone { padding: 30px 16px; }
}

/* Legal pages and cookie preferences */
.legal-hero {
  padding: 80px 0 72px;
  background: #321107;
  color: #fff;
}

.legal-hero h1 {
  max-width: 980px;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(48px, 5vw, 65px);
  line-height: 1.05;
}

.legal-section {
  padding: 80px 0 110px;
  background: #f7f0ed;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 820px);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
  justify-content: center;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  border-top: 2px solid #321107;
}

.legal-nav p {
  margin: 0;
  padding: 18px 0 14px;
  color: #321107;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.legal-nav a,
.legal-nav button {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #cdbdb5;
  background: transparent;
  color: #321107;
  font: inherit;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav button:hover,
.legal-nav button:focus-visible,
.legal-nav .is-active {
  color: var(--orange);
}

.legal-content {
  color: #241510;
  font-size: 18px;
  line-height: 1.75;
}

.legal-content h2 {
  margin: 52px 0 16px;
  color: #321107;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
}

.legal-content h3,
.legal-content .accordion {
  margin: 30px 0 10px;
  color: #c64722;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-content p,
.legal-content li {
  font-size: 18px;
}

.legal-content ul {
  margin: 12px 0 24px;
  padding-left: 24px;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: #9f3217;
  font-weight: 700;
}

.legal-content .legal-effective {
  margin: 0 0 34px;
  padding: 15px 18px;
  border-left: 4px solid var(--orange);
  background: #fff;
}

.legal-content .panel-faq {
  padding-bottom: 8px;
}

.footer-legal a,
.footer-cookie-settings {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cookie-settings {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.cookie-banner {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 0;
    left: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #513329;
    background: #1f0b05;
    box-shadow: 0 18px 60px rgba(20, 7, 2, .28);
    color: #fff;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--body);
  font-size: 14px;
}

.cookie-banner-copy p {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.55;
}

.cookie-banner-copy a {
  color: #fff;
  font-weight: 700;
}

.cookie-banner-actions,
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-banner .button,
.cookie-dialog .button {
  min-height: 44px;
  margin-top: 0;
  padding: 9px 16px;
  font-size: 14px;
}

.cookie-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #241510;
}

.cookie-dialog[hidden] {
  display: none;
}

.cookie-dialog .cookie-dialog-actions [data-cookie-reject] {
  background: #000;
  border-color: #000;
  color: #fff;
}

.cookie-dialog .cookie-dialog-actions [data-cookie-reject]:hover,
.cookie-dialog .cookie-dialog-actions [data-cookie-reject]:focus-visible {
  background: #262626;
  border-color: #262626;
  color: #fff;
}

.cookie-dialog .cookie-dialog-actions [data-cookie-reject]:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.cookie-dialog::backdrop {
  background: rgba(21, 8, 3, .68);
  backdrop-filter: blur(3px);
}

.cookie-dialog-card {
  overflow: auto;
  max-height: calc(100vh - 40px);
  padding: clamp(24px, 5vw, 46px);
  background: #f7f0ed;
}

.cookie-dialog-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-dialog h2 {
  margin: 16px 0 14px;
  color: #321107;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
}

.cookie-dialog p {
  font-size: 16px;
  line-height: 1.6;
}

.cookie-dialog-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid #8a6c5f;
  border-radius: 50%;
  background: transparent;
  color: #321107;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cookie-preference-list {
  display: grid;
  margin: 30px 0;
  border-top: 1px solid #cdbdb5;
}

.cookie-preference-list label {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #cdbdb5;
}

.cookie-preference-list strong,
.cookie-preference-list small {
  display: block;
}

.cookie-preference-list strong {
  font-size: 17px;
}

.cookie-preference-list small {
  margin-top: 3px;
  color: #664f45;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-preference-list input {
  width: 24px;
  height: 24px;
  accent-color: var(--orange);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav p {
    grid-column: 1 / -1;
  }

  .legal-nav a,
  .legal-nav button {
    padding-right: 12px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .legal-hero {
    padding: 64px 0 56px;
  }

  .legal-section {
    padding: 56px 0 80px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 20px;
  }

  .cookie-banner-actions,
  .cookie-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner .button,
  .cookie-dialog .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .editorial-hero h1,.winner-profile-hero h1,.portal-auth-intro h1 { font-size: 37px; }
  .public-juror-card { min-height: 420px; }
  .portal-header { gap: 12px; }
  .portal-header img { width: 118px; }
  .portal-header > a:last-child { max-width: 190px; text-align: right; font-size: 18px; line-height: 1.25; }
}

/* Requested global heading and category-hero dimensions. */
h1 { font-size: 50px !important; }
.category-hero-content {
  min-height: 0 !important;
  padding: 80px 0 !important;
}

/* Navigation and footer are intentionally more compact than page content. */
.network-bar,
.network-bar *,
.site-header,
.site-header *,
.site-footer,
.site-footer * { font-size: 14px !important; }

.network-bar .network-inner,
.network-bar .network-inner * { font-size: 12px !important; }

.footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.site-footer .footer-social-links a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(244,89,20,.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.04);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.site-footer .footer-social-links a:hover,
.site-footer .footer-social-links a:focus-visible {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  outline: none;
  transform: translateY(-2px);
}
.footer-social-links svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer .footer-email {
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
}
.site-footer .footer-email:hover,
.site-footer .footer-email:focus-visible {
  color: var(--orange);
  background: transparent;
  transform: none;
}

/* Categories page: PDF-faithful structure with main-page heading scale. */
.categories-page .category-hero {
  min-height: 0;
  background: #070504;
}

.categories-page .category-hero > picture img {
  object-position: center;
}

.categories-page .category-hero-content {
  grid-template-columns: minmax(0, 1.2fr) minmax(100px, 1fr);
  gap: clamp(70px, 8vw, 128px);
  padding: 80px 0 !important;
}

.categories-page .category-hero h1 {
  max-width: 850px;
  margin: 25px 0 28px;
  font-size: 50px !important;
}

.categories-page h2 {
  font-size: clamp(35px, 2.6vw, 40px);
}

.categories-page .category-hero-content > div:first-child > p {
  max-width: 820px;
  line-height: 1.65;
}

.categories-page .hero-note {
  max-width: 850px;
  margin-top: 28px;
  padding: 24px 30px;
  border-left-width: 4px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .14);
}

.categories-page .category-stats {
  width: 100%;
  max-width: 390px;
  justify-self: anchor-center;
  padding: 35px 48px;
  border-radius: 30px;
  box-shadow: 0 0 60px rgba(244, 89, 20, .18);
}

.categories-page .category-stats div {
  padding: 22px 10px;
}

.categories-page #directory {
  padding-top: 112px;
  padding-bottom: 126px;
  background: #fbf5f3;
}

.categories-page #directory .section-heading {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  margin-bottom: 42px;
}

.categories-page #directory .section-heading h2 {
  max-width: 560px;
  margin-top: 26px;
}

.categories-page #directory .section-heading > p {
  max-width: 650px;
  justify-self: end;
}

.categories-page .search-box {
  margin: 0 0 46px;
  padding: 15px 4px;
}

.categories-page .category-directory {
  align-items: stretch;
  gap: 18px 20px;
}

.categories-page .category-card {
  display: flex;
  height: 100%;
  min-height: 365px;
  padding: 34px 38px 28px;
  flex-direction: column;
  border-color: #ddd3cf;
  box-shadow: none;
}

.categories-page .category-card[hidden] {
  display: none;
}

.categories-page .category-card:hover {
  border-color: rgba(244, 89, 20, .5);
  box-shadow: 0 16px 38px rgba(54, 25, 14, .06);
}

.categories-page .category-card-head {
  min-height: 210px;
}

.categories-page .category-card-head > strong {
  font-size: 34px;
  line-height: 1;
}

.categories-page .category-card h3 {
  max-width: 480px;
  margin: 16px 0 12px;
  font-size: 27px;
  line-height: 1.16;
}

.categories-page .category-card p {
  max-width: 500px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.categories-page .category-expand {
  margin-top: auto;
  padding-top: 17px;
}

.categories-page .category-details {
  max-height: none;
  margin-top: 18px;
  padding: 0;
  overflow: visible;
}

.categories-page .category-group-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.categories-page .category-group-pills span {
  display: inline-flex;
  min-height: 32px;
  padding: 6px 13px;
  align-items: center;
  border: 1px solid #ddd4d0;
  border-radius: 999px;
  color: #554944;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.categories-page .category-card-link {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  margin-top: 18px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}

.categories-page .category-card-link:hover,
.categories-page .category-card-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.categories-page .multi-entry {
  padding-top: 112px;
  padding-bottom: 112px;
}

.categories-page .multi-entry .split,
.categories-page main > .section:not(#directory):not(.soft) .split {
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: start;
}

.categories-page .multi-entry h2,
.categories-page main > .section:not(#directory):not(.soft) h2 {
  max-width: 560px;
}

.categories-page .multi-entry .text-link,
.categories-page main > .section:not(#directory):not(.soft) .text-link {
  margin-top: 10px;
}

.categories-page .simple-steps {
  margin-top: 24px;
}

.categories-page .faq.left {
  max-width: 1000px;
  margin: 42px auto 0;
}

.categories-page .category-questions-section {
  padding: 120px 0 132px;
  background: #fbf5f3;
}

.categories-page .category-questions-section .eyebrow {
  margin-bottom: 24px;
}

.categories-page .category-questions-section h2 {
  text-align: center;
}

.categories-page .category-questions-section .faq.left {
  max-width: none;
  margin: 0 auto;
  border-top: 1px solid #aaa09b;
}

.categories-page .category-questions-section .faq details,
.categories-page .category-questions-section .faq details:last-child {
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aaa09b;
}

.categories-page .category-questions-section .faq summary {
  position: relative;
  padding: 24px 56px 24px 10px;
  color: #17110f;
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.categories-page .category-questions-section .faq summary::after {
  top: 50%;
  right: 10px;
  color: var(--orange);
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.categories-page .category-questions-section .faq details p {
  max-width: 900px;
  margin: 0;
  padding: 0 70px 28px 10px;
  color: #17110f;
  background: transparent;
  border: 0;
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 1279px) {
  .categories-page .category-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
    gap: 64px;
  }

  .categories-page .category-card {
    padding-inline: 30px;
  }
}

@media (max-width: 1100px) {
  .network-bar {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1024px) {
  .categories-page .category-hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .categories-page .category-stats {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: stretch;
    padding: 24px;
  }

  .categories-page .category-stats div {
    border-right: 1px solid #93431e;
    border-bottom: 0;
  }

  .categories-page .category-stats div:last-child {
    border-right: 0;
  }

  .categories-page #directory .section-heading,
  .categories-page .multi-entry .split,
  .categories-page main > .section:not(#directory):not(.soft) .split {
    grid-template-columns: 1fr;
  }

  .categories-page .category-directory {
    grid-template-columns: 1fr;
  }

  .categories-page #directory .section-heading > p {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .categories-page .category-hero-content {
    padding: 70px 0 58px !important;
  }

  .categories-page .category-hero h1 {
    font-size: 40px !important;
  }

  .categories-page h2 {
    font-size: 35px;
  }

  .categories-page .category-stats {
    grid-template-columns: 1fr;
  }

  .categories-page .category-stats div {
    border-right: 0;
    border-bottom: 1px solid #93431e;
  }

  .categories-page #directory,
  .categories-page .multi-entry {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .categories-page .category-card {
    min-height: 0;
    padding: 28px 22px 24px;
  }

  .categories-page .category-card-head {
    min-height: 190px;
  }

  .categories-page .category-card h3 {
    font-size: 24px;
  }

  .categories-page .category-group-pills span {
    font-size: 14px;
  }

  .categories-page .category-questions-section {
    padding: 76px 0 84px;
  }

  .categories-page .category-questions-section .eyebrow {
    margin-bottom: 18px;
  }

  .categories-page .category-questions-section h2 {
    margin: 14px 0 34px;
  }

  .categories-page .category-questions-section .faq summary {
    padding: 20px 42px 20px 0;
    font-size: 20px;
  }

  .categories-page .category-questions-section .faq summary::after {
    right: 2px;
  }

  .categories-page .category-questions-section .faq details p {
    padding: 0 36px 24px 0;
  }
}

/* Homepage featured-jury carousel: PDF-aligned, full-width and continuously repeating. */
.home-page .jury-slider { position: relative; width: 100%; overflow: hidden; }
.home-page .jury-carousel { width: 100%; }
.home-page .jury-carousel:not(.owl-loaded) { display: flex; gap: 24px; overflow: hidden; }
.home-page .jury-carousel:not(.owl-loaded) > .jury-card { flex: 0 0 calc((100% - 72px) / 4); }
.home-page .jury-carousel .owl-stage { display: flex; align-items: stretch; }
.home-page .jury-carousel .owl-item { display: flex; min-width: 0; }
.home-page .jury-carousel .jury-card { width: 100%; border: 0; }
.home-page .jury-carousel .jury-card-photo { aspect-ratio: 1 / 1.24; }
.home-page .jury-carousel .jury-card-details { min-height: 126px; padding: 22px 4px 26px; }
.home-page .jury-carousel .jury-card-details h3 { margin-bottom: 7px; font-size: clamp(22px, 1.65vw, 29px); }
.home-page .jury-carousel .jury-card-role { max-width: 100%; font-size: 14px; line-height: 1.45; }
.home-page .jury-carousel.is-fallback { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.home-page .jury-carousel.is-fallback > .jury-card { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; }

@media (max-width: 1024px) {
  .home-page .jury-carousel:not(.owl-loaded) > .jury-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 760px) {
  .home-page .jury-preview > .split { padding-bottom: 48px; }
  .home-page .jury-carousel:not(.owl-loaded) { gap: 14px; }
  .home-page .jury-carousel:not(.owl-loaded) > .jury-card { flex-basis: calc(100% - 44px); }
  .home-page .jury-carousel .jury-card-details { min-height: 116px; padding: 18px 2px 24px; }
}

/* MUSE entry system: shared public header and refined NYX-inspired workspace. */
.system-page {
  --system-bg: #f3efec;
  --system-card: #fff;
  --system-ink: #17110f;
  --system-muted: #756b65;
  --system-dark: #1a0d08;
  --system-line: #d8cec9;
  background: var(--system-bg);
}

.system-page main {
  min-height: calc(100vh - 126px);
}

.system-page .portal-deadline {
  min-height: 58px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px clamp(28px, 4vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(90deg, #2f1207, #481b0a);
}

.system-page .portal-deadline strong {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}

.system-page .portal-deadline span {
  color: rgba(255, 255, 255, .72);
}

.system-page .portal-deadline a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #fff;
  border-bottom: 1px solid var(--orange);
}

.dashboard-shell,
.entry-workspace {
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: calc(100vh - 184px);
  align-items: stretch;
  background: var(--system-bg);
}

.portal-sidebar,
.entry-steps {
  position: sticky;
  top: 82px;
  align-self: start;
  min-height: calc(100vh - 82px);
  max-height: calc(100vh - 82px);
  overflow-y: auto;
  padding: 48px 30px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0, rgba(244, 89, 20, .18), transparent 34%),
    linear-gradient(180deg, #1b0f0a, #0d0907);
}

.portal-sidebar-heading,
.entry-steps-heading {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.portal-sidebar-heading span,
.entry-steps-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-sidebar-heading strong,
.entry-steps-heading strong {
  display: block;
  color: #fff;
  font: 500 27px/1.2 var(--serif);
  text-transform: uppercase;
}

.portal-sidebar nav {
  display: grid;
}

.portal-sidebar a,
.entry-steps > a {
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: #d0c5bf;
}

.portal-sidebar a span,
.entry-steps > a span {
  color: var(--orange);
  font-weight: 700;
}

.portal-sidebar a:hover,
.portal-sidebar a:focus-visible,
.portal-sidebar a.is-active,
.entry-steps > a:hover,
.entry-steps > a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.portal-profile,
.entry-status-panel {
  margin-top: 38px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
}

.portal-profile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.portal-profile-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 700;
}

.portal-profile p,
.portal-profile small,
.entry-status-panel small,
.entry-status-panel strong {
  display: block;
  margin: 0;
}

.portal-profile p {
  min-width: 0;
}

.portal-profile p strong {
  display: block;
  color: #fff;
}

.portal-profile small,
.entry-status-panel small {
  overflow: hidden;
  color: #a99b94;
  text-overflow: ellipsis;
}

.portal-profile form {
  grid-column: 1 / -1;
}

.portal-profile button {
  width: 100%;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: var(--orange);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.entry-status-panel strong {
  margin-top: 6px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 24px;
}

.dashboard-content {
  min-width: 0;
  padding: clamp(52px, 5vw, 84px);
}

.dashboard-content-inner {
  width: min(100%, 1320px);
  margin-inline: auto;
}

.dashboard-title {
  align-items: center;
  margin-bottom: 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--system-line);
}

.dashboard-title > div {
  max-width: 780px;
}

.dashboard-title h1,
.entry-form-heading h1 {
  color: var(--system-ink);
}

.dashboard-title p,
.entry-form-heading p,
.entry-section-intro {
  color: var(--system-muted);
}

.dashboard-title .button {
  flex: none;
}

.action-notice {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  margin-bottom: 52px;
  padding: 28px 32px;
  border: 1px solid #e3d7d1;
  border-left: 6px solid var(--orange);
  background: #fffaf7;
  box-shadow: 0 16px 40px rgba(47, 18, 7, .07);
}

.action-notice > strong {
  color: var(--orange);
  font-size: 18px;
  text-transform: uppercase;
}

.action-notice h2 {
  margin: 0 0 6px;
  color: var(--system-ink);
  font-size: 30px;
}

.action-notice > a {
  color: var(--orange);
  font-weight: 700;
}

.dashboard-section-title {
  margin-bottom: 26px;
}

.dashboard-section-title h2 {
  font-size: 40px;
}

.dashboard-section-title > strong {
  color: var(--system-muted);
}

.portal-entry-list {
  gap: 16px;
}

.portal-entry-list article {
  position: relative;
  grid-template-columns: 56px minmax(300px, 1fr) minmax(280px, .7fr) 220px;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--system-line);
  border-top: 3px solid var(--orange);
  background: var(--system-card);
  box-shadow: 0 14px 36px rgba(47, 18, 7, .055);
}

.entry-index {
  align-self: start;
  padding-top: 4px;
  font-size: 29px;
}

.entry-main .status {
  margin: 0 0 12px;
  padding: 6px 11px;
  color: #7c2c0d;
  background: #fff0e8;
  border-radius: 999px;
}

.entry-main > strong {
  color: var(--orange);
}

.entry-main h3 {
  margin: 5px 0 9px;
  color: var(--system-ink);
  font-size: 27px;
}

.entry-main p {
  margin: 0;
  color: var(--system-muted);
}

.entry-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 8px;
}

.entry-metrics span {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border-left: 1px solid var(--system-line);
  text-align: left;
}

.entry-metrics small,
.entry-metrics strong {
  display: block;
}

.entry-metrics small {
  color: var(--system-muted);
}

.entry-metrics strong {
  margin-top: 4px;
  color: var(--system-ink);
  font: 500 22px/1.2 var(--serif);
}

.entry-actions {
  display: grid;
  gap: 10px;
}

.entry-actions a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border: 1px solid #edc4b2;
  color: #8d310e;
  background: #fff9f6;
}

.entry-actions a:hover,
.entry-actions a:focus-visible {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.empty-panel {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--system-line);
  background: #fff;
}

.empty-panel-index {
  color: var(--orange);
  font: 500 40px/1 var(--serif);
}

.empty-panel h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.empty-panel p {
  margin: 0;
  color: var(--system-muted);
}

.entry-form {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(52px, 5vw, 82px);
}

.entry-form-heading {
  padding: 0 0 42px;
  border-bottom: 1px solid var(--system-line);
}

.entry-form-heading p {
  max-width: 780px;
}

.entry-form-section {
  margin-top: 22px;
  padding: 42px;
  border: 1px solid var(--system-line);
  background: var(--system-card);
  box-shadow: 0 12px 34px rgba(47, 18, 7, .045);
}

.entry-form-section h2 {
  margin: 7px 0 14px;
  color: var(--system-ink);
  font-size: 36px;
}

.entry-section-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.entry-form label {
  color: #322722;
}

.entry-form input,
.entry-form select,
.entry-form textarea,
.inline-link-form input {
  min-height: 54px;
  border-color: #c9bdb7;
  border-radius: 6px;
  background: #fffdfc;
}

.entry-form textarea {
  min-height: 190px;
}

.entry-form label.portal-check {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.entry-form label.portal-check input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--orange);
}

.entry-copy-check {
  width: fit-content;
  margin-bottom: 18px;
}

.entry-form textarea.is-synchronized {
  color: #5f534d;
  background: #f4eeeb;
}

.entry-form input:hover,
.entry-form select:hover,
.entry-form textarea:hover {
  border-color: #9d8f88;
}

.entry-form-actions {
  margin-top: 22px;
  padding: 28px 0 0;
  border-top: 1px solid var(--system-line);
}

.entry-form-actions > a:not(.button) {
  color: #6f625c;
}

.upload-dropzone {
  display: grid;
  gap: 22px;
  padding: 38px;
  border: 2px dashed #c9a99a;
  border-radius: 8px;
  background: #fffaf7;
}

.upload-dropzone label {
  display: grid;
  justify-items: center;
  gap: 9px;
  cursor: pointer;
}

.upload-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 28px;
}

.upload-dropzone input[type="file"] {
  max-width: 620px;
  padding: 12px;
  border: 1px solid var(--system-line);
  border-radius: 6px;
  background: #fff;
}

.upload-dropzone .button {
  justify-self: center;
}

.uploaded-list {
  gap: 10px;
  margin-top: 20px;
}

.uploaded-list > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid var(--system-line);
  background: #fff;
}

.uploaded-list > div > span {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 22px;
}

.uploaded-list > div > a {
  min-width: 0;
  overflow: hidden;
  color: #8d310e;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uploaded-list > div > small {
  color: #50714e;
}

.material-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.material-section-heading > strong {
  flex: none;
  min-width: 66px;
  padding: 8px 12px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  text-align: center;
}

.material-upload-form,
.thumbnail-upload-form,
.supporting-link-form,
.bulk-material-form {
  margin-top: 24px;
}

.material-upload-form {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.entry-form .material-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.entry-form .upload-dropzone {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 38px;
  border: 2px dashed #c9a99a;
  border-radius: 8px;
  background: #fffaf7;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.entry-form .upload-dropzone-browse {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}

.entry-form .upload-dropzone:hover,
.entry-form .upload-dropzone:focus-within,
.entry-form .upload-dropzone.is-dragover {
  border-color: var(--orange);
  background: #fff3ed;
  box-shadow: inset 0 0 0 3px rgba(244, 89, 20, .08);
}

.dropzone-selection,
.thumbnail-upload-status,
.material-order-status {
  color: var(--system-muted);
}

.pending-file-queue {
  width: 100%;
  margin: 18px 0 0;
  text-align: left;
}

.pending-file-queue[hidden] { display: none; }

.pending-file-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.entry-form .pending-file-hint {
  margin: 12px 0;
  color: var(--system-muted);
}

.pending-file-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pending-file-card {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--system-line);
  border-radius: 5px;
  background: #fff;
}

.pending-file-remove {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c9a99a;
  border-radius: 999px;
  color: #78381e;
  background: #fff;
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.pending-file-remove:hover:not(:disabled) {
  background: #78381e;
  color: #fff;
}

.pending-file-remove:focus-visible,
.material-text-button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.entry-form .material-upload-form:has(.material-file-input:focus-visible) .upload-dropzone {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.pending-file-card img,
.pending-file-document {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 3px;
}

.pending-file-document,
.project-file-document {
  display: grid;
  place-items: center;
  color: var(--orange);
  background: #f3e8e3;
  font-family: var(--serif);
  font-weight: 700;
}

.pending-file-card small {
  overflow: hidden;
  color: var(--system-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.material-text-button,
.material-delete-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #b9aaa3;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.material-text-button {
  color: #5f534d;
}

.material-delete-button {
  color: #9c2d21;
  border-color: #c99088;
}

.material-delete-button:disabled {
  color: #a99e98;
  border-color: #d8cfca;
  background: #f3efed;
  cursor: not-allowed;
}

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

.project-file-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--system-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 18, 7, .05);
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.project-file-card.is-dragging {
  opacity: .48;
  border-color: var(--orange);
  transform: scale(.98);
}

.project-file-drag-handle {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #fff;
  background: rgba(24, 14, 10, .82);
  cursor: grab;
}

.project-file-media {
  display: block;
  height: 170px;
  background: #eee5e1;
}

.project-file-media img,
.project-file-media .project-file-document {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-file-details {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px 14px 8px;
}

.project-file-details > span:last-child {
  min-width: 0;
}

.project-file-details strong,
.project-file-details small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-file-details small {
  color: var(--system-muted);
}

.project-file-sequence {
  color: var(--orange);
  font-family: var(--serif);
  font-weight: 700;
}

.project-file-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px 14px;
}

.file-order-buttons {
  display: flex;
  gap: 5px;
}

.file-order-buttons button,
.supporting-link-row button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #c9bdb7;
  border-radius: 50%;
  color: #5f534d;
  background: #fff;
  cursor: pointer;
}

.file-order-buttons button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.entry-form label.material-select {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.entry-form label.material-select input,
.entry-form label.supporting-link-item input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--orange);
}

.material-order-status {
  margin: 10px 0 0;
}

.supporting-link-inputs {
  display: grid;
  gap: 10px;
}

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

.supporting-link-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.supporting-link-controls .button {
  margin-top: 0;
}

.supporting-link-list {
  display: grid;
  gap: 8px;
}

.entry-form label.supporting-link-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--system-line);
  border-radius: 5px;
  background: #fff;
  font-weight: 500;
}

.supporting-link-item > span {
  color: var(--orange);
  font-family: var(--serif);
}

.supporting-link-item a {
  min-width: 0;
  overflow: hidden;
  color: #8d310e;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-empty {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px dashed var(--system-line);
  color: var(--system-muted);
  background: #fffaf7;
  text-align: center;
}

.thumbnail-upload-form {
  display: grid;
  gap: 10px;
}

.entry-form label.thumbnail-dropzone {
  position: relative;
  width: min(100%, 620px);
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 2px dashed #c9a99a;
  border-radius: 8px;
  color: #fff;
  background: #26130c;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.entry-form label.thumbnail-dropzone.is-dragover,
.entry-form label.thumbnail-dropzone:hover,
.entry-form label.thumbnail-dropzone:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 89, 20, .1);
}

.thumbnail-dropzone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-placeholder {
  color: #d9c9c1;
}

.thumbnail-dropzone-control {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  color: #fff;
  background: rgba(20, 10, 6, .82);
  backdrop-filter: blur(8px);
}

.thumbnail-dropzone-control > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
}

.thumbnail-upload-form.is-uploading .thumbnail-dropzone {
  opacity: .72;
  pointer-events: none;
}

@media (max-width: 900px) {
  .project-file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pending-file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .material-section-heading,
  .supporting-link-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .material-section-heading > strong {
    align-self: flex-start;
  }

  .material-toolbar {
    grid-template-columns: 1fr auto;
  }

  .material-toolbar small {
    text-align: right;
  }

  .material-delete-button {
    grid-column: 1 / -1;
  }

  .supporting-link-controls .button {
    width: 100%;
  }

  .entry-form label.thumbnail-dropzone {
    min-height: 260px;
  }
}

@media (max-width: 1279px) {
  .portal-entry-list article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .entry-metrics,
  .entry-actions {
    grid-column: 2;
  }

  .entry-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .dashboard-shell,
  .entry-workspace {
    display: block;
  }

  .portal-sidebar,
  .entry-steps {
    position: static;
    min-height: 0;
    max-height: none;
    display: block;
    padding: 24px;
    overflow: visible;
  }

  .portal-sidebar-heading,
  .entry-steps-heading,
  .entry-status-panel {
    display: none;
  }

  .portal-sidebar nav,
  .entry-steps {
    white-space: nowrap;
  }

  .portal-sidebar nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portal-sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .portal-sidebar a,
  .entry-steps > a {
    flex: none;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
  }

  .portal-profile {
    display: none;
  }

  .dashboard-content,
  .entry-form {
    width: 100%;
    padding: 48px 28px;
  }

  .action-notice {
    grid-template-columns: 1fr;
  }

  .action-notice > a {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .system-page .portal-deadline {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .system-page .portal-deadline span {
    display: none;
  }

  .system-page h1 {
    font-size: clamp(43px, 13vw, 54px) !important;
  }

  .dashboard-content,
  .entry-form {
    padding: 42px 16px;
  }

  .dashboard-title {
    display: grid;
    gap: 25px;
  }

  .dashboard-title .button {
    width: 100%;
  }

  .action-notice,
  .entry-form-section,
  .empty-panel {
    padding: 26px 22px;
  }

  .dashboard-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .portal-entry-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 18px;
  }

  .entry-metrics {
    grid-template-columns: 1fr;
  }

  .entry-metrics span {
    min-height: 0;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid var(--system-line);
  }

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

  .empty-panel {
    grid-template-columns: 1fr;
  }

  .empty-panel .button {
    width: 100%;
  }

  .entry-form-section h2 {
    font-size: 31px;
  }

  .entry-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .entry-form-actions .button {
    width: 100%;
  }

  .upload-dropzone {
    padding: 28px 16px;
  }

  .inline-link-form {
    grid-template-columns: 1fr;
  }

  .inline-link-form .button {
    width: 100%;
  }

  .uploaded-list > div {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .uploaded-list > div > small {
    grid-column: 2;
  }
}

.entry-subcategory-fieldset {
  min-width: 0;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.entry-subcategory-fieldset legend {
  margin-bottom: 4px;
  color: #322722;
  font-weight: 700;
}

.entry-subcategory-fieldset > p {
  margin: 0 0 18px;
  color: var(--system-muted);
}

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

.entry-subcategory-option {
  position: relative;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--system-line);
  border-radius: 6px;
  background: #fffdfc;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.entry-subcategory-option[hidden] {
  display: none !important;
}

.entry-subcategory-option:hover,
.entry-subcategory-option:focus-within {
  border-color: #a9968d;
  box-shadow: 0 10px 24px rgba(47, 18, 7, .07);
  transform: translateY(-1px);
}

.entry-subcategory-option:has(input:checked) {
  border-color: var(--orange);
  box-shadow: inset 4px 0 0 var(--orange), 0 10px 24px rgba(244, 89, 20, .09);
}

.entry-form .entry-subcategory-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  min-height: 76px;
  padding: 0 0 28px;
  cursor: pointer;
}

.entry-form .entry-subcategory-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--orange);
}

.entry-subcategory-copy {
  display: grid;
  gap: 6px;
}

.entry-subcategory-copy strong {
  color: var(--system-ink);
  line-height: 1.35;
}

.entry-subcategory-price {
  white-space: nowrap;
  color: var(--orange);
  font-weight: 700;
}

.entry-subcategory-price[hidden] {
  display: none !important;
}

.entry-subcategory-info {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 4;
}

.entry-subcategory-info-button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  background: #fff;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.entry-subcategory-info-button:hover,
.entry-subcategory-info-button:focus-visible {
  color: #fff;
  background: var(--orange);
  outline: none;
}

.entry-subcategory-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  width: min(320px, 72vw);
  padding: 13px 15px;
  border-radius: 5px;
  color: #fff;
  background: #21130e;
  box-shadow: 0 12px 30px rgba(20, 9, 5, .24);
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.entry-subcategory-info:hover .entry-subcategory-tooltip,
.entry-subcategory-info:focus-within .entry-subcategory-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.entry-price-review {
  display: grid;
  grid-template-columns: 180px 230px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(120deg, #2f1207, #160c08);
}

.entry-price-review div {
  display: grid;
  gap: 3px;
}

.entry-price-review small {
  color: #000;
  text-transform: uppercase;
}

.entry-price-review strong {
  color: var(--orange);
  font-family: var(--serif);
  line-height: 1.1;
}

.entry-price-review p {
  margin: 0;
  color: #000;
  line-height: 1.5;
}

.entry-credit-list {
  display: grid;
  gap: 14px;
}

.entry-credit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--system-line);
  border-radius: 6px;
  background: #fffdfc;
}

.entry-credit-remove {
  min-height: 54px;
  padding: 10px 15px;
  border: 1px solid #c9bdb7;
  border-radius: 6px;
  color: #8c2d21;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.entry-credit-remove:hover,
.entry-credit-remove:focus-visible {
  border-color: #8c2d21;
  background: #fff4f2;
}

.entry-credit-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.entry-credit-controls .button {
  margin-top: 0;
}

.entry-credit-controls small {
  color: var(--system-muted);
}

@media (max-width: 760px) {
  .entry-subcategory-grid,
  .entry-credit-row,
  .entry-price-review {
    grid-template-columns: 1fr;
  }

  .entry-form .entry-subcategory-choice {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .entry-subcategory-price {
    grid-column: 2;
  }

  .entry-credit-remove {
    width: 100%;
  }

  .entry-credit-controls {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Entry submission typography. Header and footer typography remain unchanged. */
.system-page main {
  font-size: 16px;
}

.system-page main h1 {
  font-size: 50px !important;
}

.system-page main h2 {
  font-size: 30px;
}

.system-page main strong {
  font-size: 16px;
}

.system-page main small {
  font-size: 14px;
}

.system-page main sub,
.system-page main sup,
.system-page main .portal-deadline,
.system-page main .portal-kicker,
.system-page main .step-label,
.system-page main .portal-sidebar a,
.system-page main .action-notice p,
.system-page main .entry-main span,
.system-page main .status,
.system-page main .entry-metrics span,
.system-page main .entry-actions a,
.system-page main .entry-steps-heading span,
.system-page main .entry-steps > a,
.system-page main .entry-form-heading p,
.system-page main .entry-section-intro,
.system-page main .entry-form label,
.system-page main .entry-form input,
.system-page main .entry-form select,
.system-page main .entry-form textarea,
.system-page main .inline-link-form input,
.system-page main .entry-form-actions > a,
.system-page main .button {
  font-size: 16px;
}

.system-page main .entry-form-actions > a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* Checkout, payment, and completion workflow. */
.checkout-workspace,
.payment-shell {
  width: min(100% - 80px, 1440px);
  margin-inline: auto;
  padding: 72px 0 90px;
}

.checkout-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 34px;
  align-items: start;
}

.checkout-main {
  min-width: 0;
}

.checkout-heading,
.payment-heading {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--system-line);
}

.checkout-heading h1,
.payment-heading h1 {
  margin: 6px 0 10px;
}

.checkout-heading p,
.payment-heading p {
  margin: 0;
  color: var(--system-muted);
}

.checkout-card,
.checkout-summary {
  margin-bottom: 22px;
  padding: 34px;
  border: 1px solid var(--system-line);
  background: var(--system-card);
  box-shadow: 0 16px 38px rgba(47, 18, 7, .055);
}

.checkout-summary {
  position: static;
  margin: 101px 0 0;
  border-top: 1px solid var(--system-line);
  background: #1b100b;
  color: #fff;
}

.checkout-page .checkout-summary {
  position: sticky;
  top: 104px;
}

.checkout-summary h2 {
  margin: 4px 0 24px;
  color: #fff;
}

.checkout-summary dl {
  margin: 0;
}

.checkout-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.checkout-summary dt {
  color: #cabeb7;
}

.checkout-summary dd {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.checkout-summary .checkout-grand-total {
  align-items: end;
  padding: 24px 0;
  border-bottom-color: var(--orange);
}

.checkout-grand-total dd {
  text-align: right;
}

.checkout-grand-total dd span {
  display: block;
  color: var(--orange);
  font: 500 34px/1 var(--serif);
}

.checkout-grand-total dd small {
  display: block;
  margin-top: 7px;
  color: #a99b94;
}

.checkout-summary > p {
  margin: 22px 0 0;
  color: #a99b94;
  font-size: 14px;
}

.checkout-summary .button {
  width: 100%;
  justify-content: space-between;
}

.checkout-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.checkout-section-heading h2 {
  margin: 4px 0 0;
}

.checkout-section-heading > strong {
  color: var(--orange);
}

.checkout-section-intro {
  max-width: 760px;
  margin: -10px 0 24px;
  color: var(--system-muted);
}

.checkout-discount-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
}

.checkout-discount-controls input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #cfc5c0;
  color: #17110f;
  background: #fff;
  font: 700 16px/1.45 var(--sans);
  text-transform: uppercase;
}

.checkout-discount-controls input:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(244, 89, 20, .15);
  outline-offset: 1px;
}

.checkout-discount-controls input[readonly] {
  background: #f8f1ed;
}

.checkout-discount-controls button {
  min-height: 52px;
  padding: 10px 22px;
  border: 1px solid #302925;
  color: #fff;
  background: #302925;
  cursor: pointer;
  font: 700 16px/1 var(--sans);
}

.checkout-discount-controls button.is-remove {
  border-color: #9f291f;
  color: #9f291f;
  background: transparent;
}

.checkout-discount-controls button:disabled {
  cursor: wait;
  opacity: .58;
}

.checkout-discount-status {
  margin: 14px 0 0;
  color: var(--system-muted);
  font-size: 14px;
}

.checkout-discount-status.is-success {
  color: #237142;
  font-weight: 700;
}

.checkout-discount-status.is-error {
  color: #b42318;
  font-weight: 700;
}

.checkout-summary [data-summary-discount-code] {
  display: block;
  margin-top: 4px;
  color: #a99b94;
  font-size: 12px;
}

.checkout-discount .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-entry-list,
.payment-entry-lines {
  display: grid;
}

.checkout-entry-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e8dfda;
}

.checkout-entry-list article:last-child {
  border-bottom: 1px solid #e8dfda;
}

.checkout-line-number {
  color: var(--orange);
  font: 500 23px/1 var(--serif);
}

.checkout-entry-list h3 {
  margin: 4px 0;
  font-size: 21px;
}

.checkout-entry-list p,
.checkout-entry-list small {
  display: block;
  margin: 0;
  color: var(--system-muted);
}

.checkout-entry-list a {
  color: var(--orange);
  font-weight: 700;
}

.checkout-option-grid,
.payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-option,
.payment-choice {
  min-height: 170px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  padding: 24px;
  border: 1px solid #ddd3ce;
  background: #fffaf7;
}

.checkout-option span,
.checkout-option strong,
.checkout-option small,
.checkout-option b,
.payment-choice span,
.payment-choice strong,
.payment-choice small {
  display: block;
}

.checkout-option small,
.payment-choice small {
  margin: 8px 0 14px;
  color: var(--system-muted);
  font-size: 14px;
  font-weight: 400;
}

.checkout-option b {
  color: var(--orange);
}

.checkout-option select {
  min-width: 145px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid #cfc5c0;
  background: #fff;
  font: 16px var(--sans);
}

.checkout-option-toggle input,
.payment-choice input {
  width: 22px;
  height: 22px;
  flex: none;
  accent-color: var(--orange);
}

.payment-choice {
  min-height: 118px;
  justify-content: flex-start;
  align-items: flex-start;
  cursor: pointer;
}

.payment-choice:has(input:checked) {
  border-color: var(--orange);
  background: #fff4ef;
  box-shadow: inset 0 0 0 1px var(--orange);
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.checkout-form-grid label,
.payment-method-form label {
  display: grid;
  gap: 8px;
  color: #302925;
  font-weight: 700;
}

.checkout-form-grid .is-wide {
  grid-column: 1 / -1;
}

.checkout-form-grid input,
.checkout-form-grid select,
.payment-method-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfc5c0;
  border-radius: 0;
  color: #17110f;
  background: #fff;
  font: 16px/1.45 var(--sans);
}

.checkout-form-grid input:focus,
.checkout-form-grid select:focus,
.payment-method-form select:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(244, 89, 20, .15);
  outline-offset: 1px;
}

.checkout-form-grid .is-invalid {
  border-color: #b42318;
}

.checkout-alert {
  margin-bottom: 22px;
  padding: 18px 20px;
  border-left: 4px solid #cc8b20;
  background: #fff7e6;
}

.checkout-alert.is-error {
  border-left-color: #b42318;
  background: #fff1f0;
}

.checkout-alert ul {
  margin: 10px 0 0;
}

.checkout-empty {
  min-height: 360px;
  display: grid;
  place-content: center;
  text-align: center;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 34px;
  align-items: start;
}

.payment-layout .checkout-summary {
  margin-top: 0;
}

.payment-entry-lines article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid #e8dfda;
}

.payment-entry-lines small,
.payment-entry-lines strong,
.payment-entry-lines span {
  display: block;
}

.payment-entry-lines small,
.payment-entry-lines span {
  color: var(--system-muted);
}

.payment-entry-lines b {
  white-space: nowrap;
}

.payment-provider-card > h2,
.payment-test-confirm h2 {
  margin: 8px 0 16px;
}

.payment-method-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e8dfda;
}

.payment-method-form button {
  min-height: 50px;
  padding: 10px 18px;
  border: 1px solid #40352f;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.payment-test-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 20px;
  border: 1px dashed #d08732;
  background: #fff8e9;
}

.payment-test-panel p {
  margin: 5px 0 0;
  color: var(--system-muted);
  font-size: 14px;
}

.payment-test-panel a {
  flex: none;
  color: #9a4b13;
  font-weight: 700;
}

.payment-fact {
  padding: 18px 0 0;
}

.payment-fact small,
.payment-fact strong {
  display: block;
}

.payment-fact small {
  color: #a99b94;
}

.payment-test-shell {
  max-width: 920px;
}

.payment-test-confirm {
  padding: clamp(42px, 7vw, 80px);
  text-align: center;
}

.payment-test-badge,
.payment-success-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 700;
}

.payment-complete-shell {
  max-width: 1040px;
}

.payment-complete-hero {
  padding: clamp(48px, 8vw, 92px);
  color: #fff;
  background: radial-gradient(circle at 50% 0, rgba(244, 89, 20, .24), transparent 42%), #170e0a;
  text-align: center;
}

.payment-complete-hero h1 {
  margin: 12px 0 20px;
  color: #fff;
}

.payment-complete-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #d2c7c1;
}

.payment-complete-total {
  display: block;
  margin-top: 30px;
  color: var(--orange);
  font: 500 38px/1 var(--serif);
}

.payment-complete-total small {
  font: 14px var(--sans);
}

.payment-next-steps {
  margin-top: 24px;
  text-align: center;
}

.payment-complete-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1279px) {
  .checkout-workspace,
  .payment-shell { width: min(100% - 56px, 1180px); }
  .checkout-workspace { grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; }
  .payment-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; }
  .checkout-card,
  .checkout-summary { padding: 28px; }
  .checkout-option { flex-direction: column; align-items: stretch; }
}

@media (max-width: 980px) {
  .checkout-workspace,
  .payment-layout { grid-template-columns: 1fr; }
  .checkout-summary { margin-top: 0; }
  .checkout-page .checkout-summary { position: static; }
  .checkout-option-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .checkout-workspace,
  .payment-shell { width: min(100% - 32px, 720px); padding: 48px 0 64px; }
  .checkout-card,
  .checkout-summary { padding: 22px 18px; }
  .checkout-entry-list article { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .checkout-entry-list article > a { grid-column: 2 / -1; }
  .checkout-form-grid,
  .payment-choice-grid { grid-template-columns: 1fr; }
  .checkout-discount-controls { grid-template-columns: 1fr; }
  .checkout-form-grid .is-wide { grid-column: auto; }
  .checkout-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .payment-method-form { grid-template-columns: 1fr; }
  .payment-test-panel { align-items: flex-start; flex-direction: column; }
  .payment-complete-actions { align-items: stretch; flex-direction: column; }
  .payment-complete-actions .button { width: 100%; }
}

@media (max-width: 480px) {
  .checkout-entry-list article { grid-template-columns: 28px minmax(0, 1fr); }
  .checkout-entry-list article > strong,
  .checkout-entry-list article > a { grid-column: 2; }
  .checkout-option { padding: 20px 16px; }
  .payment-entry-lines article { flex-direction: column; }
}
