/* Firemní výzva /firma/<slug> - barvy firmy přicházejí přes --accent z šablony */

.firm-top { position: relative; z-index: 5; background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(13, 17, 23, 0.25); }
.firm-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.firm-logo { display: flex; align-items: center; min-width: 0; color: var(--ink); text-decoration: none; }
.firm-logo img { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.firm-logo strong { font-family: var(--heading); font-size: 1.5rem; }
.firm-by { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--ink); text-decoration: none; }
.firm-by small { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.firm-by-brand { display: inline-flex; align-items: center; gap: 7px; font-family: var(--heading); font-size: 1rem; }
.firm-by-brand img { width: 24px; height: 24px; border-radius: 7px; }
.firm-by-brand b { color: #ff5a1f; font-weight: inherit; }
.firm-by:hover .firm-by-brand { color: var(--accent-dark); }
@media (max-width: 520px) { .firm-top .wrap { min-height: 68px; } .firm-logo img { height: 40px; max-width: 180px; } .firm-by small { font-size: 0.62rem; } .firm-by-brand { font-size: 0.85rem; } .firm-by-brand img { width: 20px; height: 20px; } }

.firm-demo-bar { background: #18122b; color: #fff; font-size: 0.92rem; }
.firm-demo-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.firm-demo-bar i.fa-eye { color: var(--gold); margin-right: 4px; }
.firm-demo-links { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.firm-demo-links a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.firm-demo-links .firm-demo-cta { padding: 6px 14px; border-radius: 999px; background: var(--gold); color: #3b2500; text-decoration: none; font-weight: 800; }

.firm-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 0% 0%, var(--accent) 0%, var(--accent-dark) 55%, color-mix(in srgb, var(--accent-dark) 55%, #05070d) 100%); color: #fff; padding: 64px 0 80px; }
.firm-orbs i { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: firm-float 18s ease-in-out infinite alternate; }
.firm-orbs i:nth-child(1) { width: 520px; height: 520px; right: -140px; top: -180px; background: color-mix(in srgb, var(--accent) 70%, #fff); }
.firm-orbs i:nth-child(2) { width: 380px; height: 380px; left: 30%; bottom: -220px; background: color-mix(in srgb, var(--accent) 60%, #ff3d8b); opacity: 0.35; animation-duration: 22s; }
.firm-orbs i:nth-child(3) { width: 260px; height: 260px; left: -80px; top: 40%; background: color-mix(in srgb, var(--accent) 50%, #22d3ee); opacity: 0.3; animation-duration: 26s; }
@keyframes firm-float { to { transform: translate(60px, 40px) scale(1.15); } }
.firm-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.firm-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .firm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .firm-hero { padding: 36px 0 48px; } }
.firm-eyebrow { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); font-weight: 700; font-size: 0.92rem; }
.firm-live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #4ade80; }
.firm-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #4ade80; animation: firm-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes firm-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.firm-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.6rem); margin: 18px 0 22px; line-height: 0.98; letter-spacing: -0.02em; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.18); }
.firm-h1-small { display: block; font-size: 0.38em; letter-spacing: 0; opacity: 0.85; margin-bottom: 8px; font-weight: 700; }
.firm-hero-icon { display: inline-block; vertical-align: middle; font-size: 0.62em; animation: firm-bob 3s ease-in-out infinite; }
@keyframes firm-bob { 50% { transform: translateY(-6px) rotate(-6deg); } }

.firm-progress { max-width: 520px; margin-bottom: 26px; }
.firm-progress-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 8px; }
.firm-progress-line strong { color: #fff; font-size: 1.05rem; }
.firm-progress-track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.firm-progress-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--gold) 60%, #fff)); box-shadow: 0 0 18px rgba(255, 255, 255, 0.6); transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
.firm-progress.is-in .firm-progress-track i, html:not(.firm-js) .firm-progress-track i { width: var(--w); }

.firm-countdown { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px; margin-bottom: 26px; }
.firm-countdown div { min-width: 82px; text-align: center; padding: 12px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.firm-countdown strong { display: block; font-family: var(--heading); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.firm-countdown span { font-size: 0.8rem; opacity: 0.85; }
.firm-countdown p { grid-column: 1 / -1; margin: 4px 0 0; opacity: 0.85; }
@media (max-width: 520px) { .firm-countdown div { min-width: 0; } .firm-countdown strong { font-size: 1.6rem; } }

.firm-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.firm-stats div { flex: 1 1 140px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); }
.firm-stats strong { display: block; font-family: var(--heading); font-size: 2.3rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.firm-stats span { font-size: 0.88rem; opacity: 0.88; }
@media (max-width: 520px) { .firm-stats { gap: 8px; } .firm-stats div { flex: 1 1 0; min-width: 0; padding: 12px; } .firm-stats strong { font-size: 1.7rem; } .firm-stats span { font-size: 0.76rem; display: block; line-height: 1.25; } }

.firm-welcome { position: relative; display: flex; gap: 14px; background: rgba(255, 255, 255, 0.95); color: var(--ink); border-radius: 20px; padding: 18px 22px; font-size: 1.05rem; line-height: 1.55; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); transform: rotate(-0.6deg); }
.firm-welcome > i { color: var(--accent); font-size: 1.4rem; margin-top: 2px; }

.firm-join { color: var(--ink); position: sticky; top: 20px; }
@media (max-width: 900px) { .firm-join { position: static; } }
.firm-form, .firm-card { position: relative; background: #fff; border-radius: 26px; padding: 30px; box-shadow: 0 40px 80px -20px rgba(5, 7, 13, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6); }
.firm-join .firm-form::before, .firm-join .firm-card::before { content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: 29px; background: conic-gradient(from var(--spin, 0deg), #fff, var(--gold), #fff, color-mix(in srgb, var(--accent) 40%, #fff), #fff); opacity: 0.8; animation: firm-spin 6s linear infinite; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes firm-spin { to { --spin: 360deg; } }
.firm-form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.firm-form h2, .firm-card h2 { font-size: 1.55rem; margin: 0; }
.firm-free { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; font-size: 0.85rem; white-space: nowrap; }
.firm-card p { color: var(--muted); }
.firm-mine { text-align: center; }
.firm-mine-badge { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.7rem; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.18); animation: firm-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.4s; }
@keyframes firm-pop { from { transform: scale(0); } }
.firm-flash { background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; font-weight: 600; }
.firm-flash i { color: var(--green); }
.firm-form .company-consent small { display: block; }
.firm-form .company-field input:focus { box-shadow: 0 0 0 4px var(--accent-soft); }
.firm-cta { position: relative; overflow: hidden; font-size: 1.05rem; padding-top: 16px; padding-bottom: 16px; box-shadow: 0 14px 30px -8px var(--accent); }
.firm-cta::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); animation: firm-shine 3.5s ease-in-out infinite 1.5s; }
@keyframes firm-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.firm-cta i { transition: transform 0.2s; }
.firm-cta:hover i { transform: translateX(4px); }

/* Úvodní animace a objevování při posunu */
.firm-rise { animation: firm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--d, 0) * 0.1s); }
@keyframes firm-rise { from { opacity: 0; transform: translateY(24px); } }
.firm-js .firm-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--d, 0) * 0.06s); }
.firm-js .firm-reveal.is-in { opacity: 1; transform: none; }
.firm-welcome.firm-rise { animation-name: firm-rise-tilt; }
@keyframes firm-rise-tilt { from { opacity: 0; transform: translateY(24px) rotate(-0.6deg); } }

.firm-how { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.firm-how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .firm-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .firm-how-grid { grid-template-columns: minmax(0, 1fr); } }
.firm-how-grid > div { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; }
.firm-how-grid b { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); font-size: 1.15rem; }
.firm-how-grid strong { font-size: 1rem; }
.firm-how-grid span { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

.firm-section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.firm-section-head h2 { margin: 6px 0 8px; font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
.firm-section-head p { color: var(--muted); margin: 0; }

/* 30 okének */
.firm-calendar-section { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.firm-calendar { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .firm-calendar { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; } }
.firm-door { position: relative; aspect-ratio: 1; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 10px; overflow: hidden; }
.firm-door b { font-family: var(--heading); font-size: 1.25rem; line-height: 1; }
.firm-door small { font-weight: 700; font-size: 0.78rem; align-self: flex-end; }
.firm-door small i { font-size: 0.7em; }
.firm-door.is-past { color: #fff; background: color-mix(in srgb, var(--accent) calc(35% + var(--share) * 0.65), var(--accent-soft)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.firm-door.is-future { background: #fff; border: 1.5px dashed var(--line); color: var(--muted); }
.firm-door.is-future i { align-self: flex-end; opacity: 0.45; font-size: 0.85rem; }
.firm-door.is-today { color: #3b2500; background: linear-gradient(140deg, #ffe08a, var(--gold)); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold), 0 14px 30px -6px rgba(255, 176, 32, 0.7); animation: firm-glow 2.2s ease-in-out infinite; z-index: 1; }
.firm-door.is-today em { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 999px; background: #fff; }
@keyframes firm-glow { 50% { transform: scale(1.06); } }
.firm-js .firm-door.firm-reveal { transform: translateY(14px) scale(0.85); }
.firm-js .firm-door.firm-reveal.is-in { transform: none; }
.firm-js .firm-door.is-today.firm-reveal.is-in { transform: none; animation: firm-glow 2.2s ease-in-out infinite 1s; }
@media (max-width: 520px) { .firm-door { border-radius: 11px; padding: 5px 6px; } .firm-door b { font-size: 0.95rem; } .firm-door small { font-size: 0.62rem; } .firm-door.is-today em { display: none; } }

/* Žebříček */
.firm-board-section { background: var(--paper); padding-top: 24px; }
.firm-empty { background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 24px; text-align: center; color: var(--muted); }

.firm-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; max-width: 820px; margin: 0 auto 36px; }
.firm-podium.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.firm-step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.firm-step-medal { font-size: 2.6rem; line-height: 1; margin-bottom: 6px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15)); }
.is-place1 .firm-step-medal { font-size: 3.4rem; animation: firm-bob 3s ease-in-out infinite; }
.firm-step strong { font-family: var(--heading); font-size: 1.25rem; }
.firm-step-avg { font-family: var(--heading); font-size: 2.1rem; color: var(--accent-dark); line-height: 1.1; }
.firm-step small { color: var(--muted); margin-bottom: 12px; }
.firm-step-block { position: relative; width: 100%; display: grid; place-items: center; border-radius: 18px 18px 6px 6px; color: #fff; font-family: var(--heading); background: linear-gradient(180deg, var(--accent), var(--accent-dark)); box-shadow: 0 20px 40px -14px var(--accent-dark); transform-origin: bottom; }
.firm-step-block b { font-size: 2.6rem; opacity: 0.9; }
.firm-step-block em { position: absolute; top: -12px; font-style: normal; font-family: var(--text); font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.is-place1 .firm-step-block { height: 170px; background: linear-gradient(180deg, #ffd166, var(--gold)); color: #3b2500; box-shadow: 0 24px 48px -14px rgba(255, 176, 32, 0.8); }
.is-place2 .firm-step-block { height: 120px; }
.is-place3 .firm-step-block { height: 86px; opacity: 0.85; }
.firm-js .firm-step.firm-reveal .firm-step-block { transform: scaleY(0); transition: transform 0.9s cubic-bezier(0.34, 1.3, 0.64, 1); transition-delay: calc(var(--d, 0) * 0.15s + 0.2s); }
.firm-js .firm-step.firm-reveal.is-in .firm-step-block { transform: none; }
.firm-step.is-mine strong { color: var(--accent-dark); }
@media (max-width: 520px) { .firm-step strong { font-size: 1rem; } .firm-step-avg { font-size: 1.5rem; } .firm-step small { font-size: 0.72rem; } .firm-step-medal { font-size: 2rem; } .is-place1 .firm-step-medal { font-size: 2.6rem; } .is-place1 .firm-step-block { height: 130px; } .is-place2 .firm-step-block { height: 92px; } .is-place3 .firm-step-block { height: 66px; } }

.firm-teams { list-style: none; padding: 0; margin: 0 auto 40px; max-width: 820px; display: grid; gap: 10px; }
.firm-teams li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; transition: transform 0.2s, box-shadow 0.2s; }
.firm-teams li:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(13, 17, 23, 0.08); }
.firm-teams li.is-first { border-color: var(--gold); box-shadow: 0 10px 24px rgba(255, 176, 32, 0.18); }
.firm-teams li.is-mine { border-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), #fff 60%); }
.firm-rank { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); font-family: var(--heading); font-size: 1.1rem; }
.is-first .firm-rank { background: var(--gold); color: #3b2500; }
.firm-team { flex: 1; min-width: 0; }
.firm-team-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.firm-team-line span { color: var(--muted); font-size: 0.92rem; }
.firm-you { font-style: normal; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; margin-left: 6px; border-radius: 999px; background: var(--accent); color: #fff; vertical-align: middle; }
.firm-bar { height: 10px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.firm-bar i { display: block; height: 100%; width: 0; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, var(--accent-dark), var(--accent)); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.firm-bar.is-in i, html:not(.firm-js) .firm-bar i { width: var(--w); }

.firm-people { max-width: 820px; margin: 0 auto; }
.firm-people h3 { font-size: 1.25rem; margin: 0 0 14px; }
.firm-people h3 i { color: #ff6b2c; }
.firm-people ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .firm-people ol { grid-template-columns: minmax(0, 1fr); } }
.firm-people li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.firm-people li.is-top { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.firm-people li.is-mine { border-color: var(--accent); background: var(--accent-soft); }
.firm-people li b { width: 28px; color: var(--muted); font-size: 1.05rem; }
.firm-people li.is-top b { font-size: 1.45rem; line-height: 1; }
.firm-people small { color: var(--muted); }
.firm-people em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--accent-dark); white-space: nowrap; }
.firm-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: hsl(var(--hue, 200) 75% 90%); color: hsl(var(--hue, 200) 55% 32%); font-weight: 800; }
.firm-note { color: var(--muted); font-size: 0.88rem; margin: 10px 0 0; }

.firm-final { position: relative; overflow: hidden; text-align: center; color: #fff; padding: 64px 0; background: radial-gradient(100% 140% at 50% 0%, var(--accent), var(--accent-dark)); }
.firm-final h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 8px; }
.firm-final p { opacity: 0.9; margin: 0 0 24px; font-size: 1.1rem; }
.firm-final-btn { background: #fff; color: var(--accent-dark); font-weight: 800; padding: 14px 28px; border-radius: 999px; box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.4); }
.firm-final-btn:hover { background: #fff; color: var(--accent-dark); transform: translateY(-2px); }

.firm-sticky { display: none; }
@media (max-width: 900px) {
	.firm-sticky { display: flex; justify-content: center; gap: 8px; align-items: center; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; padding: 15px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.45); transform: translateY(140%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
	.firm-sticky.is-shown { transform: none; }
}

.firm-foot { padding: 28px 0; text-align: center; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
.firm-foot a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
	.firm-hero *, .firm-hero *::before, .firm-hero *::after, .firm-door, .firm-step-medal { animation: none !important; }
	.firm-js .firm-reveal, .firm-js .firm-step.firm-reveal .firm-step-block { opacity: 1; transform: none; transition: none; }
}

/* Přehled pro HR */
.firm-report h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 6px 0 10px; }
.firm-report-lead { color: var(--muted); max-width: 760px; }
.firm-report-lead a { color: var(--accent-dark); font-weight: 600; }
.firm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
@media (max-width: 720px) { .firm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.firm-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.firm-tiles span { display: block; color: var(--muted); font-size: 0.88rem; }
.firm-tiles strong { font-family: var(--heading); font-size: 1.9rem; }
.firm-tiles small { font-family: var(--text); font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.firm-report-card { margin-bottom: 20px; box-shadow: none; border: 1px solid var(--line); }
.firm-report-card h2 { margin-bottom: 14px; }
.firm-table { width: 100%; border-collapse: collapse; }
.firm-table th, .firm-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.firm-table th { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.firm-days { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 160px; }
.firm-day { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.firm-day i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); }
.firm-day small { font-size: 0.65rem; color: var(--muted); }
.firm-day.is-today i { background: var(--gold); }
.firm-day.is-future i { background: var(--line); }
.firm-invite { width: 100%; font: inherit; font-size: 0.95rem; line-height: 1.5; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); margin: 8px 0 12px; resize: vertical; }
.firm-team-line span b { color: var(--accent-dark); font-weight: 800; }
.firm-stats strong { white-space: nowrap; }

/* Stránka partnera (ViVi) - přihlášení kódem a výběr ze všech výzev */
.partner-lead { max-width: 540px; font-size: 1.12rem; color: rgba(255, 255, 255, 0.86); margin: 0 0 28px; }
.partner-note { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.partner-code { font-size: 1.6rem !important; letter-spacing: 0.35em; text-align: center; font-weight: 800; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.partner-challenge { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
a.partner-challenge:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--accent), 0 12px 28px -18px var(--accent); }
.partner-challenge-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.4rem; }
.partner-challenge-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.partner-challenge-text small { color: var(--muted); font-size: 0.85rem; }
.partner-challenge > i { color: var(--accent); }
.partner-test-code { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #fff7d6; color: #6b4e00; font-size: 0.92rem; }
.partner-test-code strong { letter-spacing: 0.2em; font-size: 1.1rem; }
.firm-foot-langs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 12px; font-size: 0.88rem; }
.firm-foot-langs .fa-globe { opacity: 0.6; }
.firm-foot-langs a.is-current { color: var(--ink); font-weight: 700; text-decoration: none; pointer-events: none; }
