/* Approved contest-page concept, scoped to the working contest view. */
#view-contest.contest-reference{--cr-ink:#17211a;--cr-muted:#6b7a67;--cr-line:#d7dfd2;--cr-lime:#d9fa74;--cr-bg:#f3f4ec;background:var(--cr-bg);color:var(--cr-ink)}
#view-contest.contest-reference .public-dark{background:var(--cr-bg)}
#view-contest.contest-reference .public-dark>.breadcrumbs{display:flex;align-items:center;gap:9px;max-width:1320px;min-height:37px;margin:0 auto;padding:0 24px;color:#748274;font-size:11px}
#view-contest.contest-reference .public-dark>.breadcrumbs a{color:#71806e}
#view-contest.contest-reference .public-dark>.breadcrumbs span:last-child{color:#263729;font-weight:800}

/* Inset dark hero and portrait art. The global navigation keeps its own styling. */
#view-contest.contest-reference .contest-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 238px;align-items:center;gap:44px;max-width:1320px;min-height:448px;margin:0 auto;padding:46px 49px 62px;background:#121716;color:#fff}
#view-contest.contest-reference .contest-hero__intro{min-width:0}
#view-contest.contest-reference .contest-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#b9c6b9;font-size:10px;letter-spacing:.08em}
#view-contest.contest-reference .status-pill{border:1px solid #68834b;border-radius:99px;background:#253326;color:#d9fa74;font-size:10px;letter-spacing:0}
#view-contest.contest-reference .contest-hero h1{max-width:830px;margin:20px 0 17px;font:600 clamp(43px,4.7vw,68px)/.98 'Oswald',Impact,'Arial Narrow',sans-serif;letter-spacing:-.025em;text-transform:uppercase}
#view-contest.contest-reference .contest-hero h1 em{color:var(--cr-lime)}
#view-contest.contest-reference .contest-hero__intro>p{max-width:600px;color:#bfcbc0;font-size:14px;line-height:1.6}
#view-contest.contest-reference .contest-hero__tags{gap:7px;margin-top:20px}
#view-contest.contest-reference .contest-hero__tags span{padding:6px 9px;border:1px solid #526051;border-radius:3px;background:#17201a;color:#d8e2d4;font-size:10px}
#view-contest.contest-reference .contest-reference-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:27px}
#view-contest.contest-reference .contest-reference-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:4px;font-size:12px;font-weight:850;text-decoration:none;cursor:pointer}
#view-contest.contest-reference .contest-reference-apply{border:1px solid var(--cr-lime);background:var(--cr-lime);color:#17211a}
#view-contest.contest-reference .contest-reference-apply:hover{background:#c6f15d}
#view-contest.contest-reference .contest-reference-apply:disabled{opacity:.52;cursor:not-allowed}
#view-contest.contest-reference .contest-reference-apply[hidden]{display:none}
#view-contest.contest-reference .contest-reference-brief-link{border:1px solid #506050;background:transparent;color:#eef5eb}
#view-contest.contest-reference .contest-reference-brief-link:hover{border-color:#b6cbb3;background:#223027}
#view-contest.contest-reference .contest-poster.portrait-stage{position:relative;display:flex!important;flex-direction:column;align-items:stretch;justify-content:space-between;width:220px;height:350px;padding:0!important;border-radius:6px;background:transparent!important;box-shadow:none;overflow:visible!important}
#view-contest.contest-reference .contest-poster.portrait-stage>.portrait-frame{position:relative;top:auto;left:auto;display:flex;align-items:flex-end;width:100%;height:100%;max-width:none;aspect-ratio:auto;padding:13px;border:0;border-radius:6px;background:linear-gradient(112deg,transparent 0 28%,#7c2e18 28% 41%,#ff8b3d 41% 51%,transparent 51% 62%,#4a1f16 62% 74%,#b44a24 74% 100%),linear-gradient(135deg,#241511,#572616 60%,#a64523);box-shadow:0 20px 40px #0006;transform:none;overflow:hidden}
#view-contest.contest-reference .contest-poster.portrait-stage>.portrait-frame>strong{font:600 30px/.88 'Oswald',Impact,'Arial Narrow',sans-serif;text-shadow:0 3px 15px #0008}
#view-contest.contest-reference .contest-poster.portrait-stage>span:first-child{top:10px;left:10px;max-width:none;padding:5px 6px;border-radius:3px;background:var(--cr-lime);color:#162618;font-size:8px;line-height:1.2}
#view-contest.contest-reference .contest-poster.portrait-stage>small:last-child{right:9px;bottom:9px;border-radius:3px;background:#17201ccc;color:#fff;font-size:9px}

/* Real payout, application, deadline and clock nodes form the concept's stat strip. */
#view-contest.contest-reference .contest-dashboard{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-width:1280px;margin:-24px auto 0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
#view-contest.contest-reference .contest-dashboard__grid,#view-contest.contest-reference .contest-dashboard #contest-process{display:contents}
#view-contest.contest-reference .contest-dashboard #contest-process>div,#view-contest.contest-reference .contest-reference-stat{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:85px;padding:13px 17px;border:1px solid var(--cr-line);border-radius:6px;background:#fff;box-shadow:0 7px 20px #1f32100b}
#view-contest.contest-reference .contest-dashboard #contest-process>div:first-child{order:1;border-left:3px solid #a8cb65;background:#f0f8e8}
#view-contest.contest-reference .contest-dashboard #contest-process>div:nth-child(2){display:none}
#view-contest.contest-reference .contest-dashboard #contest-process>div:nth-child(3){order:2}
#view-contest.contest-reference .contest-reference-stat--timer{order:3;border-left:3px solid #abd35b;background:#f3fadf}
#view-contest.contest-reference .contest-reference-stat--stage{order:4}
#view-contest.contest-reference .contest-dashboard #contest-process small,#view-contest.contest-reference .contest-reference-stat>span{display:block;margin:0;color:#648844;font-size:10px;font-weight:700;letter-spacing:.07em;line-height:1.35;text-transform:uppercase}
#view-contest.contest-reference .contest-dashboard #contest-process strong,#view-contest.contest-reference .contest-reference-stat>b{display:block;margin:5px 0 0;color:#213026;font-size:22px;font-weight:650;line-height:1.1;white-space:nowrap}
#view-contest.contest-reference .contest-dashboard #contest-process>div>span,#view-contest.contest-reference .contest-reference-stat>small{display:block;margin:3px 0 0;color:#7b8a77;font-size:10px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#view-contest.contest-reference .contest-reference-stat--timer>b{font-variant-numeric:tabular-nums}

/* Ten real stages, their live current state, and the existing stage controls. */
#view-contest.contest-reference .contest-journey{max-width:1280px;margin:18px auto 0}
#view-contest.contest-reference .contest-workspace-progress{padding:21px 21px 20px;border:1px solid var(--cr-line);border-radius:9px;background:#fff}
#view-contest.contest-reference .contest-workspace-progress__heading h2{font:600 29px/1.07 'Oswald',Impact,'Arial Narrow',sans-serif;text-transform:uppercase}
#view-contest.contest-reference .contest-workspace-progress__position{padding:6px 10px;border:1px solid var(--cr-line);border-radius:99px;color:#678044;font-size:10px}
#view-contest.contest-reference .contest-workspace-progress__scroll{padding-top:5px}
#view-contest.contest-reference .contest-workspace-progress__track li i{width:21px;height:21px;border-width:2px;background:#fff}
#view-contest.contest-reference .contest-workspace-progress__track li.is-past i{background:var(--cr-lime);border-color:var(--cr-lime)}
#view-contest.contest-reference .contest-workspace-progress__track li.is-current i{background:#f6ffe8;border-color:#6b9a3f;box-shadow:0 0 0 4px #e6f3d2}
#view-contest.contest-reference .contest-workspace-progress__track li.is-current i::after{content:'';display:block;width:7px;height:7px;margin:5px auto;border-radius:50%;background:#6b9a3f}
#view-contest.contest-reference .contest-workspace-progress__track li b{color:#435542;font-size:11px;font-weight:600}
#view-contest.contest-reference .contest-workspace-progress__detail{gap:9px;margin-top:20px;padding:0;border:0;background:transparent}
#view-contest.contest-reference .contest-workspace-progress__detail>div{padding:13px 16px;border:1px solid #d9e8c9;border-radius:6px;background:#eef8e6}
#view-contest.contest-reference .contest-workspace-progress__detail>.contest-workspace-progress__next{border-color:#e0e9d9;background:#f9fcf6}
#view-contest.contest-reference .contest-workspace-progress__next{padding-left:16px}
#view-contest.contest-reference .contest-workspace-progress__detail h3{font-size:14px}

/* The existing role panel remains between the timeline and the working content. */
#view-contest.contest-reference .contest-workspace{max-width:1280px;margin-top:17px}
#view-contest.contest-reference .contest-reference-subnav{margin-top:18px;border-top:1px solid var(--cr-line);border-bottom:1px solid var(--cr-line);background:#eef1e8}
#view-contest.contest-reference .content-tabs{display:flex;align-items:center;gap:0;max-width:1280px;min-height:49px;margin:0 auto;padding:0;border:0;background:transparent;overflow-x:auto}
#view-contest.contest-reference .content-tabs::before{display:none}
#view-contest.contest-reference .content-tabs [data-contest-panel]{display:inline-flex}
#view-contest.contest-reference .content-tabs a,#view-contest.contest-reference .content-tabs button{display:inline-flex;align-items:center;flex:none;gap:4px;min-height:49px;margin:0;padding:10px 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#6d7d6d;font:800 12px/1.2 Inter,'Segoe UI',Arial,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
#view-contest.contest-reference .content-tabs a.active,#view-contest.contest-reference .content-tabs button.active,#view-contest.contest-reference .content-tabs a:hover,#view-contest.contest-reference .content-tabs button:hover{border-bottom-color:#1d2b20;color:#1d2b20;background:transparent}
#view-contest.contest-reference .content-tabs a span,#view-contest.contest-reference .content-tabs button span,#view-contest.contest-reference .content-tabs b{color:#6f8f4c;font-size:10px}
#view-contest.contest-reference .contest-body{grid-template-columns:minmax(0,1fr) 308px;align-items:start;gap:16px;max-width:1280px;padding:18px 0 80px}
#view-contest.contest-reference .contest-main{min-width:0}
#view-contest.contest-reference .contest-panel,#view-contest.contest-reference #contest-dashboard-applicants{margin:0 0 15px;padding:21px;border:1px solid var(--cr-line);border-radius:8px;background:#fff;box-shadow:none;scroll-margin-top:65px}
#view-contest.contest-reference .contest-panel[hidden]{display:none}
#view-contest.contest-reference .contest-panel .section-heading h2{font:600 30px/1.08 'Oswald',Impact,'Arial Narrow',sans-serif;text-transform:uppercase}

/* Brief: existing disclosure, customer materials and criteria keep their handlers. */
#view-contest.contest-reference #contest-panel-brief.contest-panel--full-brief{padding:20px 21px}
#view-contest.contest-reference .contest-full-brief{grid-template-columns:72px minmax(0,1fr);gap:16px;color:var(--cr-ink)}
#view-contest.contest-reference .contest-full-brief__poster{min-height:82px}
#view-contest.contest-reference .contest-full-brief__header small{color:#688945}
#view-contest.contest-reference .contest-full-brief__header h2{font-size:21px}
#view-contest.contest-reference .contest-full-brief__disclosure{border:0;border-top:1px solid #e1e9dc;border-radius:0;background:#fff}
#view-contest.contest-reference .contest-full-brief__disclosure summary{min-height:42px;padding:10px 0;color:#628338;text-transform:uppercase;letter-spacing:.06em}
#view-contest.contest-reference .contest-full-brief__body{padding:14px 0 0;border-top:1px solid #e3ebdc}
#view-contest.contest-reference .contest-full-brief__lead{font-size:13px}
#view-contest.contest-reference .contest-full-brief__section h3,#view-contest.contest-reference .contest-full-brief__extras h3{color:#547b35;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
#view-contest.contest-reference .contest-full-brief__row{padding:8px 0;border-top-color:#e9eee5}
#view-contest.contest-reference .contest-materials__group{border-color:#dbe6d3;background:#f9fcf6}
#view-contest.contest-reference .contest-materials__group summary{min-height:54px}
#view-contest.contest-reference .contest-materials__heading b{font-size:13px}

/* Real applicants appear under the brief, not in the aside. */
#view-contest.contest-reference #contest-dashboard-applicants .contest-applicants{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--cr-ink)}
#view-contest.contest-reference .contest-applicants__head{align-items:center}
#view-contest.contest-reference .contest-applicants__head span{color:#668745}
#view-contest.contest-reference .contest-applicants__head h2{margin:5px 0 0;color:var(--cr-ink);font:600 28px/1.08 'Oswald',Impact,'Arial Narrow',sans-serif;text-transform:uppercase}
#view-contest.contest-reference .contest-applicants__head>strong{padding:6px 10px;border:1px solid var(--cr-line);border-radius:99px;color:#5d7c3d;font-size:11px}
#view-contest.contest-reference .contest-applicants__status{margin:9px 0 0;color:#758373;font-size:11px}
#view-contest.contest-reference .contest-applicants__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}
#view-contest.contest-reference .contest-applicant{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:74px;padding:9px;border:1px solid #dce8d4;border-radius:6px;background:#f9fcf7;color:#1d2c20;text-align:left}
#view-contest.contest-reference .contest-applicant:hover{border-color:#a7c674;background:#f2f9e9}
#view-contest.contest-reference .contest-applicant__identity b{font-size:13px}
#view-contest.contest-reference .contest-applicant__country{font-size:9px}
#view-contest.contest-reference .contest-applicant__specialty,#view-contest.contest-reference .contest-applicant__portfolio{font-size:10px}

/* Work and discussion cards, with the same functional content and controls. */
#view-contest.contest-reference .empty-works{min-height:210px;padding:38px 20px;background:#f9fcf7;border-color:#d5dfd2}
#view-contest.contest-reference .empty-works>span{background:#d9fa74;color:#293f26}
#view-contest.contest-reference .qa-list article{background:#f9fcf7;border-color:#e1e9dc}
#view-contest.contest-reference .contest-aside{display:flex;flex-direction:column;gap:12px}
#view-contest.contest-reference .contest-aside .contest-dashboard__now{display:block;min-height:0;margin:0;padding:19px;border:1px solid #d4e4c7;border-left:3px solid #a5d25a;border-radius:8px;background:#f2fae5;color:#1e3223;box-shadow:none}
#view-contest.contest-reference .contest-aside #preview-contest-launch{display:flex;flex-direction:column;gap:0;padding:0;border:0;background:transparent;box-shadow:none;color:#213926}
#view-contest.contest-reference .contest-aside #preview-contest-launch small{color:#5d813a;font-size:10px;font-weight:900;letter-spacing:.08em;order:0}
#view-contest.contest-reference .contest-aside #preview-contest-launch strong{margin:7px 0 0;color:#1e3324;font-size:22px;line-height:1.15;order:1}
#view-contest.contest-reference .contest-aside #preview-contest-launch p{margin:7px 0 0;color:#61745f;font-size:11px;line-height:1.45;order:2}
#view-contest.contest-reference .contest-aside #preview-contest-launch output{display:block;width:auto;margin:10px 0 0;color:#547d31;font-size:25px;font-weight:900;font-variant-numeric:tabular-nums;order:3}
#view-contest.contest-reference .contest-aside #preview-contest-launch output[hidden]{display:none}
#view-contest.contest-reference .contest-aside .contest-dashboard__bottom{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:13px;padding-top:11px;border-top:1px solid #d8e8c8}
#view-contest.contest-reference .contest-aside .contest-dashboard__bottom>div{display:block}
#view-contest.contest-reference .contest-aside .contest-dashboard__bottom small{color:#6a8c48;font-size:9px;font-weight:900}
#view-contest.contest-reference .contest-aside .contest-dashboard__bottom strong{display:block;margin-top:4px;color:#243b28;font-size:13px}
#view-contest.contest-reference .contest-aside #apply-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;width:100%;margin:0;padding:9px 11px;border-radius:4px;background:var(--cr-lime);color:#18301b;text-align:center}
#view-contest.contest-reference .contest-aside #apply-button[hidden]{display:none}
#view-contest.contest-reference .contest-aside .aside-card{padding:19px;border-color:var(--cr-line);border-radius:8px}
#view-contest.contest-reference .contest-aside .prize-card{border-left:3px solid #a5d25a;background:#fff}
#view-contest.contest-reference .contest-aside .prize-total{padding:11px 8px;border-radius:5px;background:#f0f8e6}
#view-contest.contest-reference .contest-aside .aside-note{border:1px solid var(--cr-line);border-radius:8px;background:#fff}
#view-contest.contest-reference .contest-aside .timeline-card[hidden]{display:none}

@media(max-width:1360px){#view-contest.contest-reference .contest-hero,#view-contest.contest-reference .contest-dashboard,#view-contest.contest-reference .contest-journey,#view-contest.contest-reference .contest-workspace,#view-contest.contest-reference .content-tabs,#view-contest.contest-reference .contest-body{margin-left:24px;margin-right:24px}}
@media(max-width:1050px){#view-contest.contest-reference .contest-hero{grid-template-columns:minmax(0,1fr) 190px;gap:24px;min-height:410px;padding:35px 33px 55px}#view-contest.contest-reference .contest-poster.portrait-stage{width:185px;height:300px}#view-contest.contest-reference .contest-body{grid-template-columns:minmax(0,1fr) 270px}#view-contest.contest-reference .contest-applicants__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){#view-contest.contest-reference .contest-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}#view-contest.contest-reference .contest-body{grid-template-columns:1fr}#view-contest.contest-reference .contest-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#view-contest.contest-reference .contest-aside #contest-faq{grid-column:1/-1}}
@media(max-width:650px){#view-contest.contest-reference .public-dark>.breadcrumbs{padding:0 16px}#view-contest.contest-reference .contest-hero{grid-template-columns:1fr;gap:22px;min-height:0;margin:0 16px;padding:24px 20px 36px}#view-contest.contest-reference .contest-hero h1{font-size:clamp(34px,9vw,49px)}#view-contest.contest-reference .contest-poster.portrait-stage{justify-self:start;width:145px;height:235px}#view-contest.contest-reference .contest-poster.portrait-stage>.portrait-frame>strong{font-size:24px}#view-contest.contest-reference .contest-dashboard,#view-contest.contest-reference .contest-journey,#view-contest.contest-reference .contest-workspace,#view-contest.contest-reference .contest-body{margin-left:16px;margin-right:16px}#view-contest.contest-reference .contest-dashboard{gap:7px;margin-top:12px}#view-contest.contest-reference .contest-dashboard #contest-process>div,#view-contest.contest-reference .contest-reference-stat{min-height:78px;padding:10px}#view-contest.contest-reference .contest-dashboard #contest-process strong,#view-contest.contest-reference .contest-reference-stat>b{font-size:18px}#view-contest.contest-reference .contest-workspace-progress{padding:16px}#view-contest.contest-reference .content-tabs{margin:0 16px}#view-contest.contest-reference .contest-body{padding-top:15px}#view-contest.contest-reference .contest-applicants__list{grid-template-columns:1fr}#view-contest.contest-reference .contest-aside{grid-template-columns:1fr}#view-contest.contest-reference .contest-aside #contest-faq{grid-column:auto}}
@media(max-width:420px){#view-contest.contest-reference .contest-meta{font-size:9px}#view-contest.contest-reference .contest-hero h1{font-size:34px}#view-contest.contest-reference .contest-reference-actions>*{width:100%}#view-contest.contest-reference .contest-full-brief{grid-template-columns:54px minmax(0,1fr);gap:10px}#view-contest.contest-reference .contest-full-brief__header h2{font-size:18px}}
