/* Rozszerzenia aplikacji oparte bezpośrednio na zmiennych i geometrii szablonu głównego. */
.auth-body { background: #f5f5f1; }
.auth-shell { display: grid; grid-template-columns: minmax(390px, .88fr) 1.12fr; min-height: 100vh; }
.auth-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 46px clamp(34px, 6vw, 90px); overflow: hidden; color: #fff; background: var(--teal-dark); }
.auth-visual::before { content: ""; position: absolute; inset: 0; opacity: .08; background: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 80px); }
.auth-visual::after { content: ""; position: absolute; right: -330px; bottom: -310px; width: 720px; height: 720px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.018); }
.auth-visual > * { position: relative; z-index: 1; }.auth-visual h1 { margin: 22px 0; font-size: clamp(42px, 4.4vw, 68px); line-height: 1.04; letter-spacing: -.045em; }.auth-visual p { max-width: 520px; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.75; }.auth-step, .auth-kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .15em; }.auth-card { display: flex; flex-direction: column; justify-content: center; width: min(560px, calc(100% - 50px)); margin: auto; padding: 50px 0; }.auth-card h2 { margin: 12px 0 8px; color: var(--text); font-size: 38px; line-height: 1.15; }.auth-card > p { margin: 0 0 27px; color: #778587; font-size: 13px; line-height: 1.7; }.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.field { display: grid; gap: 7px; }.field.full, .form-submit.full { grid-column: 1 / -1; }.field span { color: var(--text); font-size: 11px; font-weight: 600; }.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(43,43,43,.2); outline: 0; color: var(--text); background: #fff; font: inherit; font-size: 12px; }.field textarea { min-height: 110px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(39,115,109,.08); }.field small { color: #8d999a; font-size: 9px; }.form-submit { display: grid; place-items: center; min-height: 55px; border: 0; color: var(--gold-ink); background: var(--gold); font-size: 13px; font-weight: 700; cursor: pointer; }.auth-alt { margin: 22px 0 0; color: #7c898a; font-size: 12px; text-align: center; }.auth-alt a { color: var(--teal); font-weight: 700; }.notice { margin: 0 0 20px; padding: 13px 15px; font-size: 11px; line-height: 1.5; }.notice.error { color: #7b3024; background: #fae7e3; border-left: 3px solid var(--coral); }.notice.success { color: #205f48; background: #e4f3eb; border-left: 3px solid var(--teal); }.check-field { display: flex; align-items: flex-start; gap: 8px; grid-column: 1 / -1; color: #718082; font-size: 10px; }.check-field input { margin-top: 2px; accent-color: var(--teal); }
.panel-page { min-height: 100vh; background: #f4f5f1; }.panel-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); min-height: 100vh; }.panel-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 30px 20px; color: #fff; background: var(--teal-dark); }.panel-sidebar .brand { margin: 0 12px 48px; }.panel-sidebar nav { display: grid; gap: 6px; }.panel-sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 13px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 600; }.panel-sidebar nav a.active, .panel-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 3px 0 var(--gold); }.panel-sidebar nav b { width: 18px; color: var(--gold); font-size: 15px; }.panel-logout { margin-top: auto; }.panel-logout button { width: 100%; padding: 13px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65); background: transparent; cursor: pointer; font-size: 10px; }.panel-main { min-width: 0; }.panel-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 0 clamp(20px,4vw,55px); border-bottom: 1px solid rgba(43,43,43,.13); background: #fff; }.panel-company { display: grid; }.panel-company b { font-size: 12px; }.panel-company span { margin-top: 3px; color: #849092; font-size: 9px; }.panel-user { display: flex; align-items: center; gap: 10px; }.panel-avatar { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: var(--teal); font-size: 10px; font-weight: 700; }.panel-user span { display: grid; font-size: 10px; }.panel-user small { margin-top: 3px; color: #849092; font-size: 8px; }.panel-content { width: min(1180px, calc(100% - 50px)); margin: auto; padding: 50px 0 75px; }.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }.panel-heading span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .14em; }.panel-heading h1 { margin: 9px 0 5px; font-size: 34px; line-height: 1.1; }.panel-heading p { margin: 0; color: #7b898b; font-size: 11px; }.panel-button { display: inline-grid; place-items: center; min-height: 48px; padding: 0 21px; border: 0; color: var(--gold-ink); background: var(--gold); font-size: 11px; font-weight: 700; cursor: pointer; }.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.stat-card, .panel-card { border: 1px solid rgba(43,43,43,.14); background: #fff; }.stat-card { min-height: 140px; padding: 23px; }.stat-card span { color: #788789; font-size: 9px; }.stat-card strong { display: block; margin: 14px 0 7px; font-size: 31px; }.stat-card small { color: #879496; font-size: 8px; }.panel-card { margin-top: 15px; }.panel-card header { display: flex; align-items: center; justify-content: space-between; min-height: 75px; padding: 0 23px; border-bottom: 1px solid rgba(43,43,43,.12); }.panel-card header h2 { margin: 0; font-size: 15px; }.panel-card header a { color: var(--teal); font-size: 9px; font-weight: 700; }.contest-list-row { display: grid; grid-template-columns: 58px minmax(180px,1.5fr) .7fr .7fr .6fr 28px; align-items: center; gap: 16px; min-height: 82px; padding: 0 23px; border-bottom: 1px solid rgba(43,43,43,.09); }.contest-list-row:last-child { border-bottom: 0; }.contest-list-thumb { display: grid; place-items: center; width: 50px; height: 50px; overflow: hidden; color: var(--gold-ink); background: var(--gold); font-size: 10px; font-weight: 800; }.contest-list-thumb img { width: 100%; height: 100%; object-fit: cover; }.contest-list-row > div:nth-child(2) { display: grid; }.contest-list-row b { font-size: 10px; }.contest-list-row small { margin-top: 4px; color: #819092; font-size: 8px; }.panel-status { display: inline-flex; align-items: center; width: max-content; padding: 6px 9px; font-size: 8px; font-weight: 700; }.panel-status.active { color: #256a4c; background: #e4f3eb; }.panel-status.draft { color: #6e7776; background: #ecefed; }.panel-status.review { color: #8c6814; background: #fff2c8; }.panel-form { padding: 30px; }.panel-form .auth-form-grid { max-width: 900px; }.format-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 11px; margin-bottom: 25px; }.format-option { position: relative; min-height: 185px; padding: 24px 17px; border: 1px solid rgba(43,43,43,.16); background: #fff; cursor: pointer; }.format-option:has(input:checked) { border: 2px solid var(--teal); padding: 23px 16px; }.format-option input { position: absolute; opacity: 0; }.format-option i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; color: var(--teal); background: #dfeeea; font-style: normal; font-size: 18px; }.format-option b { display: block; font-size: 10px; }.format-option p { min-height: 33px; margin: 7px 0 15px; color: #7e8a8c; font-size: 8px; line-height: 1.45; }.format-option small { font-size: 8px; }.empty-state { padding: 70px 25px; color: #788789; text-align: center; font-size: 12px; }.public-empty { grid-column: 1 / -1; padding: 65px; border: 1px solid rgba(43,43,43,.13); text-align: center; }
@media (max-width: 1050px) { .format-grid { grid-template-columns: repeat(3,1fr); }.stats-grid { grid-template-columns: repeat(2,1fr); }.contest-list-row { grid-template-columns: 50px 1.5fr .7fr .6fr; }.contest-list-row > :nth-child(4), .contest-list-row > :nth-child(6) { display:none; } }
@media (max-width: 760px) { .auth-shell { grid-template-columns: 1fr; }.auth-visual { min-height: 460px; padding: 32px 25px; }.auth-card { padding: 45px 0; }.panel-layout { grid-template-columns: 68px minmax(0,1fr); }.panel-sidebar { padding-inline: 10px; }.panel-sidebar .brand-copy, .panel-sidebar nav a:not(.active) { font-size: 0; }.panel-sidebar .brand { margin-inline: auto; }.panel-sidebar nav a { justify-content: center; padding: 0; font-size: 0; }.panel-sidebar nav b { font-size: 16px; text-align:center; }.panel-content { width: calc(100% - 30px); }.format-grid { grid-template-columns: repeat(2,1fr); }.panel-heading { align-items:flex-start; flex-direction:column; }.panel-user > span { display:none; } }
@media (max-width: 520px) { .auth-form-grid { grid-template-columns: 1fr; }.field.full, .form-submit.full { grid-column: auto; }.auth-card h2 { font-size: 31px; }.stats-grid, .format-grid { grid-template-columns: 1fr; }.contest-list-row { grid-template-columns: 46px 1fr 25px; }.contest-list-row > :nth-child(3), .contest-list-row > :nth-child(5) { display:none; } }
.contest-list-row { grid-template-columns: 58px minmax(180px,1.5fr) .7fr .7fr .6fr 70px; }
.contest-edit-link { color: var(--teal); font-size: 9px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1050px) { .contest-list-row { grid-template-columns: 50px 1.5fr .7fr .6fr; } }
@media (max-width: 520px) { .contest-list-row { grid-template-columns: 46px 1fr 55px; } }
@media (max-width: 1050px) { .contest-list-row > :nth-child(4), .contest-list-row > :nth-child(5) { display:none; }.contest-list-row > :nth-child(6) { display:inline; } }
@media (max-width: 520px) { .contest-list-row > :nth-child(3) { display:none; } }

/* Spójny system wizualny portalu — dopracowanie strony publicznej, konta i panelu. */
:root {
  --surface: #f2f3ef;
  --surface-warm: #f7f6f1;
  --ink-soft: #6d7b7d;
  --panel-line: rgba(38, 56, 59, .12);
  --panel-shadow: 0 18px 50px rgba(30, 54, 52, .07);
}

button, a, input, select, textarea { transition: border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255, 186, 35, .42); outline-offset: 3px; }

/* Strona główna */
.home-page .page, .home-page .stage, .home-page .hero-card { min-height: 0; }
.home-page .hero-shell { min-height: clamp(680px, 82svh, 840px); }
.home-page .hero-background {
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 186, 35, .12), transparent 19rem),
    radial-gradient(circle at 70% 58%, rgba(255,255,255,.22), transparent 27rem),
    linear-gradient(90deg, #071817 0%, #153d3a 33%, #60716c 62%, #dde0d9 84%, #fff 100%);
}
.home-page .hero-background::after { background: linear-gradient(90deg, rgba(0,0,0,.26), rgba(8,34,32,.1) 46%, rgba(255,255,255,.06) 72%, #fff 100%); }
.home-page .hero-tint { background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 45%, rgba(255,255,255,.08) 74%, #fff 100%); }
.home-page .nav-bar { height: 100px; }
.home-page .account-actions { top: 30px; }
.home-page .create-link, .home-page .login-button { height: 56px; }
.home-page .create-link:hover, .home-page .login-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(25,39,38,.14); }
.home-page .copy-block { top: clamp(190px, 25vh, 230px); }
.home-page .copy-block h1 { max-width: 650px; font-size: clamp(43px, 3.5vw, 60px); white-space: normal; }
.home-page .copy-block p { max-width: 620px; color: rgba(255,255,255,.82); font-size: clamp(15px,1.12vw,19px); }
.home-page .search-panel { top: clamp(390px, 50vh, 445px); height: 102px; border-left: 5px solid var(--gold); box-shadow: 0 24px 60px rgba(3,25,23,.18); }
.home-page .search-panel button:hover { background: #ffc94f; transform: translateY(-1px); }
.home-page .partners { bottom: clamp(94px, 12vh, 125px); }
.platform-signals { gap: 0; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.platform-signals span { display: inline-flex; align-items: center; }
.platform-signals span + span::before { content: ""; width: 4px; height: 4px; margin: 0 18px; background: var(--gold); }
.home-page .image-stack { width: clamp(490px, 38vw, 620px); height: clamp(470px, 58vh, 570px); }
.hero-empty-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px,4.2vw,68px); color: var(--text); background: rgba(255,255,255,.97); box-shadow: 0 35px 80px rgba(4,29,27,.2); }
.hero-empty-card::before { content: ""; position: absolute; top: 0; left: 0; width: 86px; height: 7px; background: var(--gold); }
.hero-empty-card::after { content: "KP"; position: absolute; right: 34px; bottom: 22px; color: rgba(31,98,93,.055); font-size: 118px; font-weight: 800; line-height: 1; }
.hero-empty-kicker { position: relative; z-index: 1; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero-empty-card h2 { position: relative; z-index: 1; max-width: 460px; margin: 18px 0 16px; color: #172b2d; font-size: clamp(32px,2.8vw,46px); line-height: 1.08; letter-spacing: -.035em; }
.hero-empty-card > p { position: relative; z-index: 1; max-width: 470px; margin: 0; color: #718083; font-size: 13px; line-height: 1.75; }
.hero-empty-features { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 30px 0; border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); }
.hero-empty-features span { min-height: 76px; padding: 17px 12px 15px 0; color: #718083; font-size: 9px; line-height: 1.45; }
.hero-empty-features span + span { padding-left: 16px; border-left: 1px solid var(--panel-line); }
.hero-empty-features b { display: block; margin-bottom: 4px; color: var(--teal-dark); font-size: 17px; }
.hero-empty-card > a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: space-between; width: min(100%,260px); min-height: 52px; padding: 0 18px; color: var(--gold-ink); background: var(--gold); font-size: 11px; font-weight: 750; }
.hero-empty-card > a:hover { width: min(100%,274px); }
.home-page .seo-divider { min-height: 132px; }
.home-page .contests-section { padding-top: 82px; background: linear-gradient(90deg,#fff 0 var(--side-rail),transparent var(--side-rail)), radial-gradient(circle at 33% 22%,rgba(255,255,255,.16),transparent 22rem), linear-gradient(270deg,#071817 0%,#153d3a 47%,#667570 76%,#fff 100%); }
.home-page .contests-section::before { background: linear-gradient(270deg,rgba(0,0,0,.22),rgba(9,42,39,.08) 48%,rgba(255,255,255,.05) 76%,#fff 100%); }
.home-page .section-heading { margin-bottom: 34px; }
.home-page .section-heading h2 { font-size: clamp(34px,3vw,52px); }
.home-page .filters-bar { justify-content: flex-start; margin-bottom: 32px; }
.home-page.is-empty-catalog .filters-bar { display: none; }
.home-page .public-empty { display: grid; grid-template-columns: 80px minmax(260px,1fr) auto; align-items: center; gap: 30px; min-height: 220px; padding: 42px 48px; border: 1px solid rgba(255,255,255,.16); background: rgba(7,24,23,.24); text-align: left; box-shadow: 0 28px 70px rgba(0,0,0,.13); }
.public-empty-mark { display: grid; place-items: center; width: 64px; height: 78px; color: var(--gold-ink); background: var(--gold); font-size: 34px; }
.public-empty small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.public-empty h3 { margin: 9px 0 8px; color: #fff; font-size: clamp(22px,2vw,32px); line-height: 1.2; }
.public-empty p { max-width: 620px; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.7; }
.public-empty > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 180px; min-height: 52px; padding: 0 18px; color: var(--gold-ink); background: var(--gold); font-size: 11px; font-weight: 750; }
.public-empty > a:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,0,0,.2); }
.home-page .site-footer { margin-top: 42px; padding-bottom: 6px; }
.home-page .contests-section { padding-bottom: 0; }
.home-page .contests-rail { top: 0; bottom: 0; height: auto; }
.home-page .site-footer { padding-bottom: 0; }

/* Logowanie i rejestracja */
.auth-body { background: var(--surface-warm); }
.auth-shell { grid-template-columns: minmax(470px,.92fr) 1.08fr; }
.auth-visual { min-height: 100svh; padding: 38px clamp(34px,5vw,76px); background: linear-gradient(145deg,#0b2d2b 0%,#1f625d 62%,#2d7a73 100%); }
.auth-visual::before { opacity: .055; background: repeating-linear-gradient(90deg,#fff 0 1px,transparent 1px 80px),repeating-linear-gradient(0deg,#fff 0 1px,transparent 1px 80px); }
.auth-visual::after { right: -250px; bottom: -300px; border-color: rgba(255,186,35,.22); }
.auth-visual-content { margin-top: auto; margin-bottom: auto; padding: 70px 0 40px; }
.auth-visual h1 { max-width: 650px; margin: 22px 0 18px; font-size: clamp(46px,4.5vw,72px); }
.auth-visual p { max-width: 590px; color: rgba(255,255,255,.72); font-size: 14px; }
.auth-benefits { display: grid; grid-template-columns: repeat(3,1fr); max-width: 650px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.auth-benefits span { padding: 19px 12px 19px 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.5; }
.auth-benefits span + span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.16); }
.auth-benefits b { display: block; margin-bottom: 6px; color: var(--gold); font-size: 11px; }
.auth-visual-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.46); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.auth-card { width: min(600px,calc(100% - 70px)); padding: 54px 0; }
.auth-back { width: max-content; margin-bottom: 54px; color: #7e8b8d; font-size: 10px; font-weight: 650; }
.auth-back:hover { color: var(--teal); transform: translateX(-3px); }
.auth-card h2 { margin-top: 10px; font-size: clamp(38px,3.3vw,52px); letter-spacing: -.035em; }
.auth-card > p { max-width: 510px; margin-bottom: 30px; }
.auth-card .field { gap: 8px; }
.auth-card .field span { font-size: 11px; }
.auth-card .field input { min-height: 56px; padding-inline: 17px; background: rgba(255,255,255,.76); }
.auth-card .field input::placeholder { color: #a7b0b0; }
.auth-card .form-submit { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; text-align: left; }
.auth-card .form-submit:hover { background: #ffc94f; box-shadow: 0 14px 30px rgba(109,77,6,.12); transform: translateY(-1px); }
.auth-alt { padding-top: 18px; border-top: 1px solid var(--panel-line); }

/* Panel firmy */
.panel-page { color: var(--text); background: var(--surface); }
.panel-layout { grid-template-columns: 260px minmax(0,1fr); }
.panel-sidebar { width: 260px; padding: 34px 24px 26px; background: linear-gradient(180deg,#103f3c 0%,#1f625d 72%,#174c48 100%); box-shadow: 12px 0 45px rgba(8,42,39,.09); }
.panel-sidebar::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035; background: repeating-linear-gradient(0deg,#fff 0 1px,transparent 1px 72px); }
.panel-sidebar > * { position: relative; z-index: 1; }
.panel-sidebar .brand { margin: 0 8px 40px; }
.sidebar-label { margin: 0 10px 13px; color: rgba(255,255,255,.34); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.panel-sidebar nav { gap: 5px; }
.panel-sidebar nav a { min-height: 51px; padding: 0 12px; border: 1px solid transparent; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .015em; }
.panel-sidebar nav a b { width: 24px; color: rgba(255,186,35,.76); font-size: 8px; letter-spacing: .07em; }
.panel-sidebar nav a.active, .panel-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.06); box-shadow: inset 3px 0 var(--gold); }
.sidebar-help { display: grid; gap: 8px; margin-top: 28px; padding: 17px; border: 1px solid rgba(255,255,255,.1); background: rgba(3,25,23,.1); }
.sidebar-help small { color: rgba(255,255,255,.42); font-size: 7px; line-height: 1.55; letter-spacing: .13em; }
.sidebar-help a { color: var(--gold); font-size: 9px; font-weight: 700; }
.panel-logout button { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 13px; font-size: 9px; }
.panel-logout button:hover { color: #fff; border-color: rgba(255,186,35,.5); }
.panel-topbar { min-height: 88px; padding-inline: clamp(24px,4vw,58px); border-color: var(--panel-line); box-shadow: 0 1px 0 rgba(255,255,255,.7); }
.panel-company small { margin-bottom: 5px; color: var(--teal); font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.panel-company b { font-size: 13px; }
.panel-company span { font-size: 9px; }
.panel-avatar { width: 42px; height: 42px; background: var(--teal-dark); font-style: normal; }
.panel-user span { font-size: 10px; }
.panel-content { width: min(1210px,calc(100% - 64px)); padding: 52px 0 80px; }
.panel-heading { align-items: center; margin-bottom: 34px; }
.panel-heading > div > span { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: 9px; }
.panel-heading > div > span::before { content: ""; width: 24px; height: 3px; background: var(--gold); }
.panel-heading h1 { margin: 10px 0 7px; color: #233638; font-size: clamp(34px,3vw,46px); letter-spacing: -.035em; }
.panel-heading p { max-width: 680px; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.panel-button { display: inline-flex; align-items: center; gap: 13px; min-height: 52px; padding: 0 22px; box-shadow: 0 12px 28px rgba(126,87,4,.1); }
.panel-button > span { font-size: 17px; font-weight: 400; }
.panel-button:hover { background: #ffc94f; box-shadow: 0 16px 32px rgba(126,87,4,.16); transform: translateY(-2px); }
.stats-grid { gap: 16px; }
.stat-card { position: relative; min-height: 168px; overflow: hidden; padding: 24px; border: 0; background: #fff; box-shadow: var(--panel-shadow); }
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: #ced6d3; }
.stat-card.is-active::before { background: var(--teal); }
.stat-card.is-review::before { background: var(--gold); }
.stat-card.is-draft::before { background: #91a19e; }
.stat-number { position: absolute; top: 18px; right: 20px; color: rgba(31,98,93,.12) !important; font-size: 26px !important; font-weight: 800; }
.stat-card > small { color: #7c898a; font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.stat-card strong { margin: 21px 0 4px; color: #203436; font-size: 38px; line-height: 1; }
.stat-card p { margin: 0; color: #8a9596; font-size: 9px; }
.panel-card { margin-top: 18px; overflow: hidden; border: 0; background: #fff; box-shadow: var(--panel-shadow); }
.panel-card header { min-height: 82px; padding: 0 27px; border-color: var(--panel-line); }
.panel-card header > div small { color: var(--teal); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.panel-card header h2 { margin-top: 5px; font-size: 16px; }
.panel-card header a { font-size: 9px; }
.panel-card header a:hover { color: #b87900; }
.panel-empty { display: grid; grid-template-columns: 62px minmax(240px,1fr) auto; align-items: center; gap: 23px; min-height: 186px; padding: 30px 32px; text-align: left; }
.panel-empty > span { display: grid; place-items: center; width: 58px; height: 68px; color: var(--gold-ink); background: var(--gold); font-size: 17px; font-weight: 800; }
.panel-empty h3 { margin: 0 0 7px; color: #25383a; font-size: 17px; }
.panel-empty p { max-width: 560px; margin: 0; color: #819092; font-size: 10px; line-height: 1.65; }
.panel-empty > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(39,115,109,.24); color: var(--teal); font-size: 9px; font-weight: 750; }
.panel-empty > a:hover { border-color: var(--teal); background: #edf5f2; }
.contest-list-row { min-height: 88px; padding-inline: 27px; border-color: var(--panel-line); }
.contest-list-row:hover { background: #f9faf7; }
.contest-list-thumb { width: 52px; height: 52px; }
.contest-list-row b { font-size: 10px; }
.contest-list-row small { font-size: 8px; }
.contest-edit-link { font-size: 9px; }
.panel-status { padding: 7px 10px; }
.panel-form { padding: clamp(26px,3vw,40px); }
.panel-form .auth-form-grid { max-width: 980px; }
.field { gap: 9px; }
.field span { font-size: 10px; font-weight: 650; }
.field input, .field select, .field textarea { min-height: 54px; padding: 13px 15px; border-color: rgba(38,56,59,.17); background: #fcfcfa; font-size: 11px; }
.field textarea { min-height: 132px; line-height: 1.65; }
.form-submit { min-height: 56px; padding-inline: 21px; font-size: 11px; }
.form-submit:hover { background: #ffc94f; box-shadow: 0 12px 26px rgba(126,87,4,.11); }
.format-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.format-option { min-height: 202px; padding: 24px 20px; border: 0; background: #fff; box-shadow: var(--panel-shadow); }
.format-option:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(30,54,52,.11); }
.format-option:has(input:checked) { padding: 22px 18px; border: 2px solid var(--teal); box-shadow: 0 20px 50px rgba(39,115,109,.13); }
.format-option i { width: 46px; height: 46px; margin-bottom: 20px; color: var(--gold-ink); background: var(--gold); }
.format-option b { font-size: 11px; }
.format-option p { min-height: 38px; margin: 8px 0 16px; font-size: 9px; }
.format-option small { font-size: 8px; }

/* Strona pojedynczego konkursu */
.detail-page { background: var(--surface); }
.detail-hero { background: #123f3c; }
.detail-panel, .detail-side-panel, .countdown-card { box-shadow: var(--panel-shadow); }
.detail-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(126,87,4,.14); }

@media (max-width: 1200px) {
  .home-page .hero-shell { min-height: 720px; }
  .home-page .image-stack { right: 26px; width: min(45vw,540px); height: 520px; }
  .home-page .copy-block { width: 44vw; }
  .format-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .panel-layout { grid-template-columns: 230px minmax(0,1fr); }
  .panel-sidebar { width: 230px; padding-inline: 18px; }
}

@media (max-width: 900px) {
  .home-page .hero-shell { min-height: auto; }
  .home-page .hero-content { min-height: auto; padding-bottom: 30px; }
  .home-page .copy-block { display: none; top: auto; left: auto; width: 100%; }
  .home-page .copy-block h1 { font-size: clamp(36px,7vw,52px); }
  .home-page .image-stack { right: auto; width: 100%; height: auto; min-height: 430px; margin-top: 34px; }
  .hero-empty-card { position: relative; min-height: 430px; }
  .home-page .search-panel { top: auto; right: auto; bottom: auto; left: auto; height: auto; min-height: 0; margin-top: 24px; }
  .home-page .partners { top: auto; right: auto; bottom: auto; left: auto; margin-top: 24px; }
  .home-page .contests-section { background: linear-gradient(145deg,#153d3a,#071817); }
  .home-page .section-heading { align-items: start; }
  .home-page .public-empty { grid-template-columns: 64px 1fr; }
  .public-empty > a { grid-column: 2; width: max-content; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: 390px; padding: 30px 34px; }
  .auth-visual-content { padding: 48px 0 24px; }
  .auth-visual h1 { font-size: clamp(38px,7vw,54px); }
  .auth-benefits { margin-top: 26px; }
  .auth-card { width: min(620px,calc(100% - 48px)); padding: 42px 0 56px; }
  .auth-back { margin-bottom: 34px; }
  .panel-layout { grid-template-columns: 82px minmax(0,1fr); }
  .panel-sidebar { width: 82px; padding: 28px 12px 20px; }
  .panel-sidebar .brand { margin-inline: auto; }
  .panel-sidebar .brand-copy, .sidebar-label, .sidebar-help, .panel-sidebar nav a span, .panel-logout button > span { display: none; }
  .panel-sidebar nav a { justify-content: center; padding: 0; }
  .panel-sidebar nav a b { width: auto; font-size: 9px; text-align: center; }
  .panel-logout button { justify-content: center; padding: 6px; font-size: 8px; }
  .panel-content { width: calc(100% - 34px); padding-top: 40px; }
  .panel-heading { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .home-page .nav-bar { height: 76px; }
  .home-page .hero-content { padding: 28px 18px 24px; }
  .home-page .copy-block p br { display: none; }
  .home-page .image-stack { min-height: 0; margin-top: 28px; }
  .hero-empty-card { min-height: 400px; padding: 34px 27px; }
  .hero-empty-card::after { font-size: 80px; }
  .hero-empty-features { grid-template-columns: 1fr; }
  .hero-empty-features span { min-height: 48px; padding: 10px 0; }
  .hero-empty-features span + span { padding-left: 0; border-top: 1px solid var(--panel-line); border-left: 0; }
  .hero-empty-features b { display: inline; margin-right: 6px; }
  .platform-signals { flex-wrap: wrap !important; row-gap: 10px !important; }
  .home-page .seo-divider { min-height: 100px; }
  .home-page .contests-section { padding-top: 54px; }
  .home-page .public-empty { grid-template-columns: 1fr; padding: 30px 24px; }
  .public-empty-mark { width: 48px; height: 58px; font-size: 25px; }
  .public-empty > a { grid-column: auto; }
  .auth-visual { min-height: 330px; padding: 24px 22px; }
  .auth-visual-content { padding: 36px 0 18px; }
  .auth-visual p { font-size: 12px; }
  .auth-benefits { display: none; }
  .auth-visual-footer { font-size: 7px; }
  .auth-card { width: calc(100% - 36px); padding-top: 34px; }
  .auth-back { margin-bottom: 28px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .field.full, .form-submit.full { grid-column: auto; }
  .panel-layout { grid-template-columns: 62px minmax(0,1fr); }
  .panel-sidebar { width: 62px; padding-inline: 8px; }
  .panel-sidebar .brand-and { width: 24px; height: 34px; }
  .panel-topbar { min-height: 74px; padding-inline: 16px; }
  .panel-company small, .panel-company span, .panel-user > span { display: none; }
  .panel-company b { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .panel-content { width: calc(100% - 24px); padding: 31px 0 55px; }
  .panel-heading { align-items: flex-start; margin-bottom: 25px; }
  .panel-heading h1 { font-size: 31px; }
  .stats-grid, .format-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 138px; }
  .panel-card header { padding-inline: 18px; }
  .panel-empty { grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 18px; }
  .panel-empty > span { width: 46px; height: 54px; }
  .panel-empty > a { grid-column: 2; width: max-content; }
  .panel-form { padding: 20px 16px; }
}

/* Czytelniejszy panel i finalny układ pięciu formatów. */
.panel-sidebar nav a { font-size: 13px; }
.panel-sidebar nav a b { font-size: 9px; }
.sidebar-label { font-size: 9px; }
.sidebar-help small { font-size: 8px; }
.sidebar-help a, .panel-logout button { font-size: 10px; }
.panel-company small { font-size: 8px; }
.panel-company b { font-size: 15px; }
.panel-company span { font-size: 11px; }
.panel-user span { font-size: 11px; }
.panel-user small { font-size: 9px; }
.panel-heading > div > span { font-size: 10px; }
.panel-heading p { font-size: 14px; }
.panel-button { font-size: 12px; }
.stat-card > small { font-size: 10px; }
.stat-card p { font-size: 12px; }
.panel-card header > div small { font-size: 8px; }
.panel-card header h2 { font-size: 20px; }
.panel-card header a { font-size: 10px; }
.panel-empty h3 { font-size: 19px; }
.panel-empty p { font-size: 13px; }
.panel-empty > a { font-size: 11px; }
.contest-list-row b { font-size: 13px; }
.contest-list-row small { font-size: 11px; }
.contest-edit-link, .panel-status { font-size: 10px; }
.field span { font-size: 13px; }
.field input, .field select, .field textarea { font-size: 14px; }
.field small { font-size: 11px; }
.form-submit { font-size: 14px; font-weight: 750; }

.format-fieldset { margin: 0; padding: 0; border: 0; }
.format-fieldset legend { margin: 0 0 16px; color: #26383b; font-size: 18px; font-weight: 650; }
.format-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; }
.format-option { grid-column: span 2; display: flex; flex-direction: column; min-height: 250px; padding: 27px 24px; }
.format-option:nth-child(4) { grid-column: 2 / span 2; }
.format-option:has(input:checked) { padding: 25px 22px; }
.format-option i { flex: 0 0 auto; width: 52px; height: 52px; margin-bottom: 24px; font-size: 21px; }
.format-option b { font-size: 16px; line-height: 1.3; }
.format-option p { min-height: 46px; margin: 10px 0 22px; color: #718083; font-size: 12px; line-height: 1.6; }
.format-option small { margin-top: auto; color: #6f7c7e; font-size: 11px; }
.format-option small strong { color: #233638; font-size: 14px; }
.format-option:nth-child(4) { grid-column: span 2; }
.format-option.is-submit-format { color: #fff; background: linear-gradient(145deg,#103f3c,#1f625d); box-shadow: 0 22px 54px rgba(14,61,57,.2); }
.format-option.is-submit-format::before { content: "SZYBKIE ZGŁOSZENIE"; position: absolute; top: 24px; right: 22px; color: rgba(255,255,255,.48); font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.format-option.is-submit-format:has(input:checked) { border-color: var(--gold); background: linear-gradient(145deg,#103f3c,#1f625d); box-shadow: 0 22px 54px rgba(14,61,57,.24); }
.format-option.is-submit-format i { color: var(--gold-ink); background: var(--gold); }
.format-option.is-submit-format b { color: #fff; }
.format-option.is-submit-format p { color: rgba(255,255,255,.67); }
.format-option.is-submit-format small { color: var(--gold); }
.format-option.is-submit-format small strong { color: var(--gold); }
.format-option.is-submit-format:hover { box-shadow: 0 28px 62px rgba(14,61,57,.28); }
.format-action { display: flex; align-items: center; justify-content: space-between; width: 100%; font-weight: 700; }
[hidden] { display: none !important; }
.contest-details-form { padding: 0; }
.contest-details-form > header { min-height: 90px; }
.contest-details-form > header > span { color: #899596; font-size: 10px; }
.contest-details-form > .auth-form-grid { max-width: none; padding: clamp(26px,3vw,40px); }
.contest-details-form .form-submit { display: flex; align-items: center; justify-content: space-between; text-align: left; }

@media (max-width: 1200px) {
  .format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .format-option, .format-option:nth-child(4) { grid-column: auto; }
  .format-option:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
}

@media (max-width: 900px) {
  .panel-sidebar nav a { font-size: 11px; }
  .format-option { min-height: 228px; }
}

@media (max-width: 620px) {
  .panel-heading p { font-size: 12px; }
  .panel-company b { font-size: 12px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-option, .format-option:nth-child(4), .format-option:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
  .format-option { min-height: 218px; }
  .contest-details-form > header { padding: 18px; }
  .contest-details-form > header > span { display: none; }
  .contest-details-form > .auth-form-grid { padding: 22px 17px; }
}

/* Konfigurator niezależnej strony konkursowej. */
.panel-heading-actions { display:flex; align-items:center; gap:12px; }
.panel-heading-actions form { margin:0; }
.panel-secondary-button { display:inline-grid; place-items:center; min-height:52px; padding:0 20px; border:1px solid rgba(39,115,109,.25); color:var(--teal); background:#fff; font-size:12px; font-weight:750; }
.panel-secondary-button:hover { border-color:var(--teal); background:#edf5f2; transform:translateY(-2px); }
.contest-editor-form { display:grid; gap:18px; }
.editor-section { margin-top:0; }
.editor-section>header>span { color:#899596; font-size:10px; }
.editor-section-body { padding:clamp(26px,3vw,40px); }
.brand-upload-grid { display:grid; grid-template-columns:.7fr 1.3fr; gap:20px; }
.upload-card { display:grid; gap:10px; padding:20px; border:1px solid var(--panel-line); background:#fafbf8; cursor:pointer; }
.upload-card>span { font-size:13px; font-weight:700; }
.upload-card>small { color:#849092; font-size:10px; }
.upload-card input[type=file] { width:100%; font-size:11px; }
.upload-preview { display:grid; place-items:center; height:230px; overflow:hidden; color:#96a3a2; background:#eef1ec; }
.upload-preview.is-logo { height:160px; }
.upload-preview img { width:100%; height:100%; object-fit:contain; }
.upload-preview b { font-size:24px; letter-spacing:.12em; }
.template-choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.template-choice { position:relative; display:grid; gap:17px; padding:14px; border:2px solid transparent; background:#f7f8f5; cursor:pointer; }
.template-choice:has(input:checked) { border-color:var(--teal); box-shadow:0 18px 45px rgba(39,115,109,.12); }
.template-choice>input,.palette-choice>input { position:absolute; opacity:0; pointer-events:none; }
.template-choice>div>b { font-size:14px; }
.template-choice>div>p { margin:5px 0 0; color:#7b898b; font-size:10px; }
.template-mini { position:relative; display:flex; flex-direction:column; justify-content:center; min-height:185px; overflow:hidden; padding:24px; }
.template-mini i { position:absolute; top:18px; right:18px; width:54px; height:65px; background:currentColor; opacity:.18; }
.template-mini b { position:relative; font-size:7px; letter-spacing:.15em; }
.template-mini strong { position:relative; margin-top:12px; font-size:24px; line-height:1; }
.template-mini em { position:absolute; right:-30px; bottom:-30px; width:130px; height:130px; border:1px solid currentColor; border-radius:50%; opacity:.25; }
.theme-neon .template-mini { color:#e9fff8; background:linear-gradient(145deg,#071d1b,#16534d); }
.theme-neon .template-mini b { color:#55e6bd; }
.theme-editorial .template-mini { color:#231f1a; background:#efe7d7; }
.theme-editorial .template-mini strong { font-family:Georgia,serif; font-weight:400; }
.theme-editorial .template-mini i { border-radius:999px 999px 0 0; background:#b35f3b; opacity:.75; }
.theme-vivid .template-mini { color:#23132e; background:#ffcf48; border:3px solid #23132e; border-radius:20px; box-shadow:7px 7px 0 #ff6b76; }
.theme-vivid .template-mini i { background:#7b4dff; border-radius:14px; opacity:1; transform:rotate(7deg); }
.palette-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.palette-choice { position:relative; display:grid; gap:9px; padding:10px; border:2px solid transparent; background:#f8f9f6; cursor:pointer; }
.palette-choice:has(input:checked) { border-color:var(--teal); }
.palette-choice>span { height:56px; background:linear-gradient(135deg,var(--swatch-bg) 0 60%,var(--swatch-accent) 60%); }
.palette-choice>b { font-size:10px; }
.custom-color-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px; margin-top:22px; }
.custom-colors-toggle { display:flex; align-items:center; gap:10px; margin-top:24px; color:#536567; font-size:11px; font-weight:700; }
.custom-colors-toggle input { width:17px; height:17px; accent-color:var(--teal); }
.custom-color-grid input[type=color] { padding:6px; cursor:pointer; }
.editor-save-bar { position:sticky; bottom:16px; z-index:10; display:flex; align-items:center; justify-content:space-between; gap:30px; padding:18px 22px; border:1px solid rgba(255,255,255,.12); color:#fff; background:#153f3c; box-shadow:0 24px 60px rgba(9,48,45,.28); }
.editor-save-bar>div { display:grid; }
.editor-save-bar small { color:rgba(255,255,255,.5); font-size:9px; }
.editor-save-bar b { margin-top:4px; font-size:13px; }
.editor-save-bar .form-submit { display:flex; align-items:center; justify-content:space-between; gap:35px; min-width:260px; }
.entries-card { overflow:visible; }
.entries-table-wrap { overflow:auto; }
.entries-table { width:100%; min-width:850px; border-collapse:collapse; }
.entries-table th,.entries-table td { padding:17px 20px; border-bottom:1px solid var(--panel-line); text-align:left; font-size:11px; }
.entries-table th { color:#7d898b; background:#f6f7f3; font-size:9px; letter-spacing:.09em; }
.entries-table td:first-child { display:grid; }
.entries-table td small { margin-top:4px; color:#899596; }
.entries-table a { color:var(--teal); font-weight:700; }

@media(max-width:1050px){
 .template-choice-grid{grid-template-columns:1fr}.template-choice{grid-template-columns:240px 1fr;align-items:center}.template-mini{min-height:145px}
 .palette-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
 .panel-heading-actions{width:100%;flex-wrap:wrap}.brand-upload-grid{grid-template-columns:1fr}.template-choice{grid-template-columns:1fr}.palette-grid{grid-template-columns:repeat(2,1fr)}
 .custom-color-grid{grid-template-columns:1fr}.editor-save-bar{position:relative;bottom:auto;display:grid}.editor-save-bar .form-submit{min-width:0;width:100%}
}

/* Publiczny katalog firm, profile organizatorów i dokumenty. */
.check-field a { color:var(--teal); font-weight:700; text-decoration:underline; }
.public-page { min-height:100vh; color:#243638; background:#f4f5f1; }
.public-header { position:relative; z-index:20; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:92px; padding:0 clamp(24px,6vw,100px); color:#fff; background:#0d302e; border-bottom:1px solid rgba(255,255,255,.1); }
.public-header nav { display:flex; gap:34px; font-size:13px; font-weight:650; }
.public-header nav a:hover { color:var(--gold); }
.public-account { display:flex; justify-content:flex-end; align-items:center; gap:13px; font-size:12px; font-weight:650; }
.public-account>a { display:grid; place-items:center; min-height:44px; padding:0 17px; border:1px solid rgba(255,255,255,.22); }
.public-account .public-header-cta { border-color:var(--gold); color:var(--gold-ink); background:var(--gold); }
.public-main { min-height:calc(100vh - 92px); }
.public-hero,.company-profile-hero,.legal-hero { position:relative; overflow:hidden; color:#fff; background:linear-gradient(135deg,#0b2e2c 0%,#1f625d 65%,#2f7b73 100%); }
.public-hero::before,.company-profile-hero::before,.legal-hero::before { content:""; position:absolute; inset:0; opacity:.06; background:repeating-linear-gradient(90deg,#fff 0 1px,transparent 1px 80px),repeating-linear-gradient(0deg,#fff 0 1px,transparent 1px 80px); }
.public-hero::after,.company-profile-hero::after,.legal-hero::after { content:""; position:absolute; right:-210px; bottom:-330px; width:620px; height:620px; border:1px solid rgba(255,186,35,.34); border-radius:50%; box-shadow:0 0 0 90px rgba(255,255,255,.025),0 0 0 180px rgba(255,255,255,.015); }
.public-hero>* ,.company-profile-hero>* ,.legal-hero>* { position:relative; z-index:2; }
.public-hero-compact { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; min-height:440px; padding:90px clamp(24px,9vw,150px) 78px; }
.public-kicker,.verified-label { color:var(--gold); font-size:10px; font-weight:800; letter-spacing:.15em; }
.public-hero h1,.company-profile-hero h1,.legal-hero h1 { margin:15px 0 19px; font-size:clamp(42px,5vw,75px); line-height:1.04; letter-spacing:-.05em; }
.public-hero p { max-width:720px; margin:0; color:rgba(255,255,255,.7); font-size:15px; line-height:1.8; }
.public-hero aside { display:grid; min-width:190px; padding:24px 0 8px 34px; border-left:1px solid rgba(255,255,255,.22); }
.public-hero aside strong { color:var(--gold); font-size:54px; line-height:1; }.public-hero aside span { margin-top:7px; color:rgba(255,255,255,.62); font-size:11px; }
.companies-directory,.company-contests { padding:80px clamp(24px,9vw,150px) 105px; }
.public-section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:35px; }
.public-section-heading span { color:var(--teal); font-size:10px; font-weight:800; letter-spacing:.15em; }.public-section-heading h2 { margin:8px 0 0; font-size:clamp(31px,3vw,49px); line-height:1.1; }.public-section-heading p { max-width:490px; margin:0; color:#788688; font-size:13px; line-height:1.7; }
.company-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.company-card { position:relative; min-height:485px; overflow:hidden; border:1px solid rgba(32,57,56,.14); background:#fff; box-shadow:0 22px 55px rgba(24,57,54,.07); }
.company-card-link { position:absolute; inset:0; z-index:5; }.company-card-visual { position:relative; height:155px; overflow:hidden; background:linear-gradient(135deg,#103e3b,#2b746e); }.company-card-visual img { width:100%; height:100%; object-fit:cover; opacity:.45; filter:saturate(.6); }.company-card-visual span { position:absolute; inset:0; background:linear-gradient(180deg,transparent,rgba(6,35,33,.55)); }
.company-card-logo,.company-profile-mark { display:grid; place-items:center; overflow:hidden; color:var(--teal-dark); background:#fff; box-shadow:0 12px 32px rgba(7,40,38,.14); }
.company-card-logo { position:absolute; z-index:4; top:111px; left:30px; width:90px; height:90px; border:1px solid rgba(32,57,56,.1); }.company-card-logo img,.company-profile-mark img { width:100%; height:100%; padding:10px; object-fit:contain; }.company-card-logo b { font-size:24px; }
.company-card-copy { padding:67px 30px 28px; }.company-card-copy h3 { margin:10px 0 11px; font-size:25px; line-height:1.2; }.company-card-copy p { min-height:76px; margin:0; color:#718083; font-size:12px; line-height:1.7; }.company-card-copy footer { display:grid; grid-template-columns:auto 1fr auto; align-items:end; gap:8px; margin-top:25px; padding-top:19px; border-top:1px solid rgba(32,57,56,.11); }.company-card-copy footer b { color:var(--teal); font-size:23px; }.company-card-copy footer span { color:#899596; font-size:9px; }.company-card-copy footer em { color:var(--teal); font-size:10px; font-style:normal; font-weight:750; }
.company-card:hover { transform:translateY(-5px); box-shadow:0 30px 68px rgba(24,57,54,.13); }
.public-directory-empty { padding:55px; border:1px solid rgba(32,57,56,.13); background:#fff; text-align:center; }.public-directory-empty h3 { margin:0 0 8px; font-size:24px; }.public-directory-empty p { margin:0; color:#788688; }
.company-profile-hero { display:grid; grid-template-columns:190px minmax(0,1fr) 220px; align-items:center; gap:55px; min-height:520px; padding:80px clamp(24px,9vw,150px); }.company-profile-mark { width:190px; height:190px; }.company-profile-mark b { font-size:50px; }.company-profile-copy h1 { margin-bottom:17px; }.company-profile-copy p { max-width:700px; margin:0; color:rgba(255,255,255,.74); font-size:14px; line-height:1.8; }.company-profile-actions { display:flex; gap:12px; margin-top:27px; }.company-profile-actions a { display:grid; place-items:center; min-height:49px; padding:0 19px; border:1px solid rgba(255,255,255,.25); font-size:11px; font-weight:700; }.company-profile-actions a:first-child { border-color:var(--gold); color:var(--gold-ink); background:var(--gold); }.company-profile-hero aside { display:grid; padding:25px 0 25px 32px; border-left:1px solid rgba(255,255,255,.2); }.company-profile-hero aside strong { color:var(--gold); font-size:61px; line-height:1; }.company-profile-hero aside span { margin:8px 0 20px; color:rgba(255,255,255,.75); font-size:12px; }.company-profile-hero aside small { color:rgba(255,255,255,.45); font-size:9px; }
.profile-contest-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }.profile-contest-card { position:relative; overflow:hidden; border:1px solid rgba(32,57,56,.13); background:#fff; box-shadow:0 22px 55px rgba(24,57,54,.07); }.profile-contest-card>a { position:absolute; inset:0; z-index:3; }.profile-contest-card>div { display:grid; place-items:center; height:225px; overflow:hidden; background:linear-gradient(145deg,#e8ede8,#f9faf7); }.profile-contest-card>div img { width:100%; height:100%; object-fit:contain; padding:25px; }.profile-contest-card>div span { font-size:40px; font-weight:800; }.profile-contest-card>section { padding:26px; }.profile-contest-card small { color:var(--teal); font-size:9px; font-weight:800; letter-spacing:.1em; }.profile-contest-card h3 { min-height:56px; margin:9px 0; font-size:21px; line-height:1.3; }.profile-contest-card p { min-height:61px; margin:0; color:#788688; font-size:11px; line-height:1.65; }.profile-contest-card footer { display:flex; justify-content:space-between; margin-top:20px; padding-top:16px; border-top:1px solid rgba(32,57,56,.1); font-size:10px; }.profile-contest-card footer b { color:var(--teal); }
.legal-hero { min-height:370px; padding:85px clamp(24px,15vw,250px) 70px; }.legal-hero h1 { font-size:clamp(42px,5vw,70px); }.legal-hero p { max-width:770px; margin:0; color:rgba(255,255,255,.7); font-size:14px; line-height:1.8; }.legal-document { display:grid; grid-template-columns:260px minmax(0,760px); justify-content:center; gap:75px; padding:75px 24px 110px; }.legal-document>nav { position:sticky; top:24px; align-self:start; display:grid; border-top:1px solid rgba(32,57,56,.15); }.legal-document>nav a { padding:14px 0; border-bottom:1px solid rgba(32,57,56,.12); color:#718083; font-size:11px; }.legal-document>nav a:hover { color:var(--teal); }.legal-document>div { display:grid; gap:45px; }.legal-document section { position:relative; padding-left:58px; }.legal-document section>span { position:absolute; top:3px; left:0; color:var(--gold); font-size:20px; font-weight:800; }.legal-document h2 { margin:0 0 15px; font-size:28px; }.legal-document p { margin:0 0 13px; color:#5f7072; font-size:13px; line-height:1.85; }.legal-document p a { color:var(--teal); font-weight:700; }
.public-footer { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:42px; padding:35px clamp(24px,6vw,100px); color:rgba(255,255,255,.58); background:#0d302e; font-size:10px; }.public-footer>div { display:grid; }.public-footer>div a { color:#fff; font-size:14px; font-weight:700; }.public-footer>div span { margin-top:4px; }.public-footer nav { display:flex; gap:24px; }.public-footer nav a:hover { color:var(--gold); }

/* Moderacja i elementy statusów w panelu. */
.moderation-banner { display:grid; gap:5px; margin-bottom:20px; padding:17px 19px; border-left:4px solid #b07b15; background:#fff2c8; }.moderation-banner b { font-size:13px; }.moderation-banner span { color:#6f7777; font-size:11px; line-height:1.55; }.moderation-banner.verified { border-color:#27736d; background:#e4f3eb; }.moderation-banner.rejected { border-color:#c35542; background:#fae7e3; }.company-logo-editor { display:grid; place-items:center; width:150px; height:120px; overflow:hidden; border:1px solid var(--panel-line); background:#f4f6f2; }.company-logo-editor img { width:100%; height:100%; padding:12px; object-fit:contain; }.company-logo-editor b { font-size:27px; }.rules-editor { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:center; }.current-rules { display:flex; justify-content:space-between; align-items:center; min-height:78px; padding:0 20px; color:var(--teal); background:#edf5f2; border:1px solid rgba(39,115,109,.18); font-size:11px; }.current-rules b { font-size:13px; }
.moderation-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }.moderation-stats article { padding:22px; border:1px solid var(--panel-line); background:#fff; }.moderation-stats small { color:#788688; font-size:9px; }.moderation-stats strong { display:block; margin-top:10px; font-size:31px; }.moderation-section { margin-top:20px; }.moderation-section>header>span { color:#899596; font-size:10px; }.moderation-row { display:grid; grid-template-columns:minmax(240px,1.3fr) 1fr .7fr minmax(260px,1.2fr); align-items:center; gap:20px; padding:24px; border-bottom:1px solid var(--panel-line); }.moderation-row:last-child { border-bottom:0; }.moderation-row h3 { margin:4px 0; font-size:15px; }.moderation-row p,.moderation-row small { margin:0; color:#829092; font-size:10px; }.moderation-checks,.moderation-links { display:grid; gap:6px; }.moderation-checks span { font-size:9px; font-weight:700; }.moderation-checks .ok { color:#267153; }.moderation-checks .missing { color:#b24b3a; }.moderation-links a { color:var(--teal); font-size:10px; font-weight:700; }.moderation-actions { display:grid; gap:8px; }.moderation-actions textarea { min-height:54px; padding:9px; border:1px solid var(--panel-line); font-size:10px; resize:vertical; }.moderation-actions>div { display:flex; justify-content:flex-end; gap:7px; }.moderation-actions button { min-height:34px; padding:0 10px; border:0; font-size:9px; font-weight:750; cursor:pointer; }.moderation-actions .reject { color:#7e3327; background:#fae7e3; }.moderation-actions .approve { color:#fff; background:var(--teal); }.moderation-company { display:flex; align-items:center; gap:13px; }.company-mini-logo { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; overflow:hidden; color:var(--teal); background:#edf2ee; font-size:11px; font-weight:800; }.company-mini-logo img { width:100%; height:100%; padding:5px; object-fit:contain; }

@media(max-width:1050px){.company-grid,.profile-contest-grid{grid-template-columns:repeat(2,1fr)}.company-profile-hero{grid-template-columns:145px 1fr}.company-profile-mark{width:145px;height:145px}.company-profile-hero aside{grid-column:2}.moderation-row{grid-template-columns:1fr 1fr}.moderation-actions{grid-column:1/-1}}
@media(max-width:760px){.public-header{grid-template-columns:1fr auto;padding:0 18px}.public-header>nav{display:none}.public-account>a:first-child:not(:last-child){display:none}.public-hero-compact{grid-template-columns:1fr;min-height:390px;padding:65px 24px}.public-hero aside{margin-top:30px;padding-left:0;border-top:1px solid rgba(255,255,255,.2);border-left:0}.public-section-heading{align-items:start;flex-direction:column}.company-grid,.profile-contest-grid{grid-template-columns:1fr}.companies-directory,.company-contests{padding:55px 20px 75px}.company-profile-hero{grid-template-columns:1fr;gap:25px;padding:55px 24px}.company-profile-mark{width:125px;height:125px}.company-profile-hero aside{grid-column:auto;padding-left:0;border-top:1px solid rgba(255,255,255,.2);border-left:0}.legal-hero{padding:65px 24px}.legal-document{grid-template-columns:1fr;gap:35px;padding:45px 20px 75px}.legal-document>nav{position:static}.legal-document section{padding-left:43px}.public-footer{grid-template-columns:1fr;gap:20px}.public-footer nav{flex-wrap:wrap}.rules-editor{grid-template-columns:1fr}.moderation-stats{grid-template-columns:1fr}.moderation-row{grid-template-columns:1fr}.moderation-actions{grid-column:auto}}
