:root {
  --ink: #17232e;
  --muted: #5f6d78;
  --paper: #f8f9fa;
  --white: #fff;
  --blue: #0065bd;
  --blue-dark: #0065bd;
  --blue-light: #6aade4;
  --cvut-dark: #003b70;
  --gold: #6aade4;
  --line: #dce1e3;
  --shadow: 0 20px 50px rgba(15, 42, 56, .12);
  --radius: 1.25rem;
  --max: 1180px;
}

@font-face { font-family: "SVK Icons"; src: url("fonts/bootstrap-icons.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "SVK FA"; src: url("fonts/fontawesome-solid.woff2") format("woff2"); font-weight: 900; font-display: block; }

* { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
button, input, select, textarea { font-family: Arial, sans-serif; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 Inter, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.2; letter-spacing: -.015em; }
h1 { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 99; padding: .7rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e5e5e5; color: #222; background: rgba(255,255,255,.97); box-shadow: 0 1px 8px rgba(0,0,0,.05); }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand span, .brand img { display: none; }
.brand::before { content: ""; display: block; width: 245px; height: 82px; background: url("media/logo-header.svg") left center / contain no-repeat; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 650; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.menu-button { display: none; width: 46px; height: 42px; border: 1px solid #ccc; border-radius: .25rem; color: inherit; background: transparent; font-size: 1.35rem; }
.hero { min-height: 680px; display: grid; place-items: center; color: var(--white); text-align: center; background: linear-gradient(rgba(0,0,0,.32), rgba(0,0,0,.48)), url("media/theme.jpg") center/cover; }
.hero-inner { display: flex; align-items: center; flex-direction: column; padding-block: 5rem; }
.hero-inner::before { content: ""; width: min(310px, 68vw); aspect-ratio: 1.25; margin-bottom: 1.25rem; background: url("media/logo-hero.svg") center / contain no-repeat; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.eyebrow { display: inline-block; margin-bottom: 1.25rem; padding: .45rem .9rem; border-radius: .3rem; background: var(--blue); text-align: center; text-transform: uppercase; font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.eyebrow > span { display: inline-block; margin-top: .2rem; }
.lead { max-width: 62ch; font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.86); }
.countdown { width: min(100%, 620px); margin-top: 2rem; padding: 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(4,31,43,.44); backdrop-filter: blur(8px); }
.countdown-label { margin: 0 0 .7rem; color: rgba(255,255,255,.78); font-size: .85rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.countdown-grid span { display: flex; flex-direction: column; }
.countdown-grid strong { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-grid small { margin-top: .35rem; color: rgba(255,255,255,.72); }
.countdown-message { margin: 0; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 850; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid var(--blue); border-radius: .3rem; color: var(--white); background: var(--blue); text-decoration: none; font-weight: 700; }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section.white { background: var(--white); }
.section-heading { max-width: 700px; margin-bottom: 2.5rem; }
.kicker { margin-bottom: .7rem; color: var(--blue); text-transform: uppercase; font-weight: 850; font-size: .8rem; letter-spacing: .13em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.benefits-grid { grid-template-columns: repeat(4, 1fr); }
.benefits-section { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.benefits-section .section-heading { max-width: none; }
.benefits-section .section-heading h2 { white-space: nowrap; }
.invitation-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .35rem; background: var(--white); box-shadow: 0 3px 12px rgba(0,0,0,.04); }
.card-number { display: block; min-height: 2.4rem; color: var(--blue); font-size: clamp(1.35rem, 1.75vw, 2rem); line-height: 1.2; font-weight: 900; white-space: nowrap; }
.card-number-wide { width: max-content; max-width: 100%; line-height: 1.02; word-spacing: 0; letter-spacing: 0; text-align: left; white-space: normal; }
.card-number-wide + h3 { margin-top: .35rem; }
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.topic { position: relative; min-height: 205px; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; gap: 1rem; overflow: hidden; padding: 1.35rem 1rem 1.5rem; border: 1px solid #d7e9f6; border-radius: .35rem; color: var(--ink); background: linear-gradient(145deg, #fff 35%, #f3f9fd); text-align: center; font-weight: 700; box-shadow: 0 5px 18px rgba(0, 101, 189, .07); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.topic::before { content: ""; position: absolute; top: 22px; left: 50%; width: 86px; height: 78px; background: linear-gradient(145deg, var(--blue-light), var(--blue)); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transform: translateX(-50%); box-shadow: 0 10px 25px rgba(0,101,189,.22); transition: transform .3s ease, filter .3s ease; }
.topic::after { position: absolute; top: 47px; left: 50%; color: var(--white); font: 2rem/1 "SVK Icons"; transform: translateX(-50%); z-index: 1; }
.topic:nth-child(1)::after { content: "\f220"; }
.topic:nth-child(2)::after { content: "\f7bf"; top: 43px; font: 900 2.35rem/1 "SVK FA"; transform: translateX(-50%) rotate(-12deg); }
.topic:nth-child(3)::after { content: "\f3ee"; }
.topic:nth-child(4)::after { content: ""; top: 35px; width: 57px; height: 57px; background: url("icons/bim-model.svg") center / contain no-repeat; filter: drop-shadow(0 2px 0 rgba(0,0,0,.08)); }
.topic:nth-child(5)::after { content: "\f47f"; }
.topic:nth-child(6)::after { content: "\f2d6"; }
.topic:nth-child(7)::after { content: "\f645"; }
.topic:nth-child(8)::after { content: ""; top: 45px; width: 48px; height: 30px; background: radial-gradient(circle at center, #fff 0 6px, transparent 6.5px), radial-gradient(circle at 5px 5px, transparent 0 3px, #fff 3.5px 5px, transparent 5.5px), radial-gradient(circle at 43px 5px, transparent 0 3px, #fff 3.5px 5px, transparent 5.5px), radial-gradient(circle at 5px 25px, transparent 0 3px, #fff 3.5px 5px, transparent 5.5px), radial-gradient(circle at 43px 25px, transparent 0 3px, #fff 3.5px 5px, transparent 5.5px), linear-gradient(35deg, transparent 45%, #fff 46% 53%, transparent 54%), linear-gradient(-35deg, transparent 45%, #fff 46% 53%, transparent 54%); border-radius: 50%; }
.topic:nth-child(9)::after { content: ""; top: 43px; width: 50px; height: 34px; background: linear-gradient(145deg, transparent 0 20%, rgba(255,255,255,.72) 21% 45%, transparent 46%), #fff; clip-path: polygon(0 78%, 15% 42%, 30% 58%, 48% 12%, 65% 48%, 78% 30%, 100% 72%, 100% 88%, 76% 70%, 58% 88%, 36% 66%, 18% 92%); filter: drop-shadow(0 4px 0 rgba(255,255,255,.35)); }
.topic:nth-child(10)::after { content: ""; top: 34px; width: 59px; height: 59px; background: url("icons/laser-scanner.svg") center / contain no-repeat; filter: drop-shadow(0 2px 0 rgba(0,0,0,.08)); }
.topic:hover { border-color: var(--blue-light); box-shadow: 0 14px 30px rgba(0, 101, 189, .15); transform: translateY(-4px); }
.topic:hover::before { filter: brightness(1.08); transform: translateX(-50%) rotate(6deg) scale(1.06); }
.speaker { padding: 2rem; border-top: 4px solid var(--blue); background: linear-gradient(180deg, #f3f8fc 0, var(--white) 180px); }
.personal-invitation { display: grid; grid-template-columns: minmax(220px, 330px) 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(1.5rem, 4vw, 3rem); border-left: 5px solid var(--blue); background: linear-gradient(120deg, #eef6fc, #fff 62%); box-shadow: var(--shadow); }
.invitation-photo { padding: 8px; border: 1px solid var(--blue-light); background: var(--white); box-shadow: 12px 12px 0 #dcecf8; }
.invitation-photo img { display: block; width: 100%; height: auto; }
.invitation-content h2 { color: var(--cvut-dark); }
.invitation-lead { color: #2c3d49; font-size: 1.12rem; line-height: 1.75; }
.speaker-portrait { width: min(240px, 72%); margin: 0 auto 1.75rem; padding: 7px; border: 1px solid var(--blue-light); background: var(--white); box-shadow: 10px 10px 0 #dcecf8; }
.speaker .speaker-portrait img { width: 100%; height: auto; object-fit: contain; }
.speaker-content { padding: 0; }
.speaker-content h3 { color: var(--blue); font-size: 1.55rem; }
.speaker-content p { color: #46535d; }
.speaker-role { padding-bottom: .8rem; border-bottom: 1px solid var(--line); color: var(--ink) !important; font-weight: 700; }
.speaker-honor { margin-top: 1.4rem; padding: .8rem 1rem; border-left: 4px solid var(--blue-light); color: var(--blue) !important; background: #eef6fc; font-weight: 700; }
.program { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--white); background: var(--blue-dark); }
.program .button { flex: none; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 1.5rem; }
.logos a { display: grid; min-height: 160px; padding: 1.15rem; place-items: center; border: 1px solid #e1edf5; border-radius: .35rem; background: var(--white); transition: background-color .2s ease, transform .2s ease; }
.logos img { height: 105px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.logos img.institution-logo { width: auto; max-width: 100%; height: 78px; }
.logos a:hover, .logos a:focus-visible { background: #eef6fc; transform: translateY(-2px); }
.logos a:hover img, .logos a:focus-visible img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
.page-hero { padding-block: clamp(1.75rem, 4vw, 2.75rem); color: var(--white); background: var(--cvut-dark); }
.page-hero h1 { margin-bottom: .65rem; padding: 0; color: var(--white); background: transparent; font-size: clamp(2.25rem, 5vw, 4rem); }
.page-hero .kicker { margin-bottom: .4rem; color: var(--blue-light); }
.page-hero .lead { color: rgba(255,255,255,.82); }
.content { max-width: 780px; }
.map { width: 100%; min-height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-link { color: var(--blue); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.form-frame { width: 100%; min-height: 1000px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.notice { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #fff8e7; }
.admin-link { margin-left: .35rem; padding: .45rem .8rem; border: 1px solid var(--blue); border-radius: .25rem; color: var(--blue) !important; font-size: .85rem; }
.admin-link:hover, .admin-link[aria-current="page"] { color: var(--white) !important; background: var(--blue); }
.registration-layout { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.5fr); gap: 3rem; align-items: start; }
.registration-layout--success { max-width: 760px; grid-template-columns: 1fr; }
.registration-info { position: sticky; top: 145px; }
.registration-info ul { padding-left: 1.2rem; }
.registration-price { margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-left: 4px solid var(--blue); background: #eef6fc; }
.registration-price span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.registration-price strong { display: block; margin: .25rem 0 .65rem; color: var(--cvut-dark); font-size: 2rem; }
.registration-price p { margin: .35rem 0; }
.privacy-note { margin-top: 2rem; padding: 1rem; border-left: 4px solid var(--blue-light); background: #eef6fc; font-size: .9rem; }
.form-card { padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: .35rem; background: var(--white); box-shadow: 0 12px 35px rgba(0,59,112,.08); }
.registration-form fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.registration-form legend { width: 100%; margin-bottom: 1.25rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 1.35rem; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.registration-form label, .login-form label { display: grid; gap: .4rem; margin-bottom: 1rem; font-weight: 700; }
.registration-form input, .registration-form select, .registration-form textarea, .login-form input, .admin-table select { width: 100%; min-height: 46px; padding: .7rem .8rem; border: 1px solid #b8c2ca; border-radius: .25rem; color: var(--ink); background: var(--white); font: inherit; }
.registration-form textarea { min-height: 90px; resize: vertical; }
.registration-form input:focus, .registration-form select:focus, .registration-form textarea:focus, .login-form input:focus { border-color: var(--blue); outline: 3px solid rgba(106,173,228,.35); }
.checkbox-group { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; margin-bottom: 1.25rem; }
.checkbox-group > span { width: 100%; font-weight: 700; }
.checkbox-group label, .consent { display: flex; align-items: flex-start; gap: .5rem; margin: 0; font-weight: 500; }
.checkbox-group input, .consent input { width: 1.1rem; min-height: 1.1rem; margin-top: .25rem; flex: none; accent-color: var(--blue); }
.consent, .event-option { display: flex !important; align-items: center; gap: .8rem !important; margin: 1rem 0 !important; padding: 1rem 1.1rem; border: 1px solid var(--blue-light); border-left: 4px solid var(--blue); background: #eef6fc; cursor: pointer; font-weight: 600 !important; }
.consent input, .event-option input { width: 1.2rem; min-height: 1.2rem; margin: 0; flex: none; accent-color: var(--blue); }
.event-option span { display: grid; gap: .1rem; }
.event-option strong, .event-option small, .consent { font-family: Arial, sans-serif; }
.event-option strong { font-size: 1rem; font-weight: 600; line-height: 1.65; }
.event-option small { color: var(--muted); font-weight: 500; }
.accommodation-choice { margin: 1rem 0; padding: 1rem 1.1rem; border: 1px solid var(--blue-light); border-left: 4px solid var(--blue); background: #eef6fc; }
.accommodation-choice > span { display: block; margin-bottom: .65rem; font-weight: 600; }
.accommodation-note { margin: -.15rem 0 .8rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.choice-row { display: flex; gap: 1.25rem; }
.choice-row label { display: flex; align-items: center; gap: .45rem; margin: 0; font-weight: 500; }
.choice-row input { width: 1.1rem; min-height: 1.1rem; margin: 0; accent-color: var(--blue); }
.accommodation-days { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--blue-light); }
.accommodation-days[hidden] { display: none; }
.field-error { color: #a51d2d; font-weight: 700; }
.field-hint { display: block; margin-top: .45rem; padding: .55rem .7rem; border: 1px solid #c9dce9; border-left: 3px solid var(--blue); background: var(--white); color: var(--cvut-dark); font-size: .85rem; font-weight: 500; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-hint strong { color: var(--blue); }
.row-actions { display: grid; gap: .4rem; justify-items: stretch; }
.edit-link { display: inline-block; padding: .35rem .6rem; border: 1px solid #9ab9d0; border-radius: .25rem; color: var(--blue); text-align: center; font-size: .85rem; font-weight: 700; text-decoration: none; }
.edit-link:hover, .edit-link:focus-visible { color: var(--white); background: var(--blue); }
.admin-edit-form { width: min(900px, 100%); }
.admin-edit-form fieldset { margin: 0 0 1.25rem; padding: 1.25rem; border: 1px solid #c9dce9; }
.admin-edit-form legend { padding: 0 .45rem; color: var(--cvut-dark); font-weight: 800; }
.admin-edit-form .checkbox-group { margin: 1rem 0; }
.admin-edit-form fieldset > label:not(.consent) { display: grid; gap: .3rem; margin: 0 0 1rem; font-weight: 700; }
.contribution-fields[hidden] { display: none; }
.partner-program[hidden] { display: none; }
.partner-program { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin: 1.25rem 0; padding: 1rem 1.25rem; border: 1px solid var(--blue-light); background: #f6fafd; }
.partner-program > span { width: 100%; color: var(--cvut-dark); font-weight: 700; }
.partner-program label { display: flex; align-items: center; gap: .45rem; margin: 0; font-weight: 500; }
.partner-program input { width: 1.1rem; min-height: 1.1rem; margin: 0; accent-color: var(--blue); }
.dietary-choice { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin: 1.25rem 0; }
.dietary-choice > span { width: 100%; font-weight: 700; }
.dietary-choice label { display: flex; align-items: center; gap: .45rem; margin: 0; font-weight: 500; }
.dietary-choice input { width: 1.1rem; min-height: 1.1rem; margin: 0; accent-color: var(--blue); }
.contribution-fields { margin: 1.25rem 0; padding: 1.25rem; border-left: 4px solid var(--blue); background: #eef6fc; }
.optional-label { color: var(--muted); font-weight: 500; }
.form-errors { margin-bottom: 1.5rem; padding: 1rem; border-left: 4px solid #c60c30; color: #711122; background: #fff1f3; }
.form-errors p { margin: .25rem 0 0; }
.form-success { padding: 3rem 1rem; text-align: center; }
.form-success h2 { color: var(--blue); }
.submit-button { width: 100%; }
.login-wrap { max-width: 520px; }
.login-form .button { width: 100%; margin-top: .5rem; }
.admin-hero { padding-block: 2.5rem; }
.admin-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.admin-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.secondary-admin-button { color: var(--blue); background: var(--white); }
.mail-settings-card { width: min(900px, 100%); }
.mail-settings-card fieldset { margin: 0 0 1.25rem; padding: 1.25rem; border: 1px solid #c9dce9; }
.mail-settings-card legend { padding: 0 .45rem; color: var(--cvut-dark); font-weight: 800; }
.mail-settings-card .choice-row { margin: 0; }
.mail-fallback { margin: 0 0 1.25rem; padding: 1rem 1.25rem; border: 1px solid #d7e9f6; background: #f6fafd; }
.mail-fallback summary { color: var(--blue); cursor: pointer; font-weight: 800; }
.mail-fallback .form-grid { margin-top: 1rem; }
.form-note { margin: .6rem 0 0; color: var(--muted); font-size: .85rem; }
.mail-mode-choice { flex-wrap: wrap; }
.mail-test-card { margin-top: 1.5rem; }
.mail-status { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.status-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 99px; font-size: .85rem; font-weight: 800; }
.status-pill::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.status-on { color: #14602e; background: #dff3e6; }
.status-off { color: #a00927; background: #fbe3e7; }
.status-queue { color: #7a5800; background: #fff0bf; }
.mail-status form { margin: 0; }
button.status-pill { border: 0; font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; }
button.status-pill:hover, button.status-pill:focus-visible { filter: brightness(.93); outline-offset: 2px; }
.queue-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding: 1rem 1.2rem; border: 1px solid #e3d18a; border-left: 4px solid #b58900; background: #fff8dc; }
.queue-box p { margin: 0; }
.mail-log-heading { margin: 2rem 0 .5rem; color: var(--cvut-dark); }
.mail-log-heading small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.mail-log-list { margin: 0; padding: .8rem 1rem .8rem 2.2rem; border: 1px solid #d7e9f6; background: #f6fafd; font-family: Consolas, monospace; font-size: .78rem; word-break: break-all; }
.mail-log-list li { margin: .2rem 0; }
.count-badge { display: inline-grid; min-width: 2.1rem; height: 2.1rem; padding-inline: .45rem; place-items: center; border-radius: 99px; color: var(--white); background: var(--blue); font-size: 1rem; vertical-align: middle; }
.registration-dashboard { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; margin: -.5rem 0 1.25rem; }
.dashboard-panel { padding: 1.25rem; border: 1px solid #d5e5f1; border-top: 4px solid var(--blue); border-radius: .35rem; background: #f7fbfe; }
.dashboard-panel--total { color: var(--white); border-color: var(--cvut-dark); background: var(--cvut-dark); }
.dashboard-panel h3 { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 0 1rem; color: inherit; font-size: 1rem; }
.dashboard-total-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: 100%; }
.dashboard-total-columns > div { min-width: 0; }
.dashboard-total-columns > div + div { margin-left: 1rem; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.3); }
.dashboard-total-columns strong { display: block; margin: -.25rem 0 .8rem; font-size: 2.8rem; line-height: 1; }
.dashboard-total-columns p { margin: 1rem 0 0; color: rgba(255,255,255,.78); font-size: .85rem; }
.dashboard-breakdown { display: grid; gap: .35rem; }
.dashboard-breakdown span { display: flex; justify-content: space-between; gap: 1rem; }
.dashboard-breakdown b, .dashboard-total { display: inline-grid; min-width: 1.7rem; height: 1.7rem; padding: 0 .4rem; place-items: center; border-radius: 99px; color: var(--cvut-dark); background: var(--white); }
.dashboard-total { color: var(--white); background: var(--blue); }
.dashboard-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.dashboard-days span { display: grid; min-width: 0; padding: .75rem .35rem; place-items: center; border: 1px solid #d5e5f1; border-radius: .3rem; background: var(--white); }
.dashboard-days b { color: var(--cvut-dark); font-size: 1.65rem; line-height: 1; }
.dashboard-days small { margin-top: .35rem; color: var(--muted); white-space: nowrap; }
.icon-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin-bottom: 1.5rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .35rem; color: var(--muted); background: #fbfcfd; font-size: .78rem; }
.icon-legend span:not(.status-icon) { margin-right: .7rem; }
.participant-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; }
.participant-icons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.status-icon { display: inline-grid; width: 1.85rem; height: 1.85rem; flex: 0 0 1.85rem; place-items: center; border: 1px solid #b9d6ea; border-radius: 50%; color: var(--blue); background: #edf6fc; }
.status-icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status-icon--note { color: #8a5a00; border-color: #ead39d; background: #fff8e7; }
.status-icon--evening { color: #8b3150; border-color: #e5bfd0; background: #fff1f6; }
.status-icon--speaker { color: #00579d; }
.status-icon--partner { color: #3e6379; border-color: #c4d5df; background: #f1f6f8; }
.registration-cancelled { opacity: .55; }
.abstract-list { margin-bottom: 2rem; }
.abstract-list > h3 { color: var(--blue); }
.abstract-card { margin-bottom: .65rem; padding: 1rem 1.2rem; }
.abstract-card summary { color: var(--cvut-dark); cursor: pointer; font-weight: 700; }
.abstract-card p { margin: 1rem 0 0; white-space: normal; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .35rem; box-shadow: 0 8px 25px rgba(0,59,112,.06); }
.admin-table { width: 100%; min-width: 1050px; border-collapse: collapse; background: var(--white); font-size: .9rem; }
.admin-table th { padding: .9rem; color: var(--white); background: var(--cvut-dark); text-align: left; }
.admin-table td { padding: 1rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tbody tr:hover { background: #f5f9fc; }
.admin-table small { display: block; margin-top: .25rem; color: var(--muted); }
.admin-table details { max-width: 250px; }
.admin-table summary { color: var(--blue); cursor: pointer; font-weight: 700; }
.admin-table select { min-width: 125px; min-height: 38px; padding: .4rem; }
.delete-button { padding: .45rem .65rem; border: 1px solid #c60c30; border-radius: .25rem; color: #a00927; background: transparent; cursor: pointer; }
.delete-button:hover { color: var(--white); background: #c60c30; }
.program-saved { margin-bottom: 1.5rem; padding: .8rem 1rem; color: #174d2a; background: #eaf7ee; text-align: left; }
.program-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 0 0 1.5rem; }
.program-stats div { padding: 1rem 1.1rem; border: 1px solid #d7e9f6; border-top: 3px solid var(--blue); background: #f6fafd; }
.program-stats strong { display: block; color: var(--cvut-dark); font-size: 2rem; line-height: 1; }
.program-stats span { display: block; margin-top: .45rem; color: #52616d; font-size: .82rem; font-weight: 700; }
.program-editor-list { display: grid; gap: 1rem; }
.program-editor-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); gap: 2rem; border-left: 4px solid var(--blue); }
.program-contribution h3 { color: var(--cvut-dark); }
.program-type { display: inline-block; margin-bottom: .6rem; padding: .25rem .55rem; color: var(--blue); background: #eef6fc; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.program-status { display: inline-block; margin-bottom: .6rem; margin-left: .5rem; padding: .25rem .55rem; color: #14602e; background: #dff3e6; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.program-editor-card.is-scheduled { border-left-color: #2e9e5b; }
.program-contribution details { margin-top: 1rem; }
.program-contribution summary { color: var(--blue); cursor: pointer; font-weight: 700; }
.program-settings { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.program-settings label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 700; }
.program-settings input, .program-settings select { width: 100%; min-height: 42px; padding: .55rem .65rem; border: 1px solid #b8c2ca; border-radius: .25rem; background: var(--white); }
.program-settings .program-toggle { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; padding: .65rem; background: #eef6fc; }
.program-toggle input { width: 1.1rem; min-height: 1.1rem; accent-color: var(--blue); }
.program-settings .button { grid-column: 1 / -1; }
.program-live-preview { margin-top: 3rem; padding-top: 2rem; border-top: 3px solid var(--cvut-dark); }
.program-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.program-preview-heading h2 { margin-bottom: 0; color: var(--cvut-dark); }
.program-live-preview iframe { display: block; width: 100%; min-height: 760px; border: 1px solid #c9dce9; border-radius: .35rem; background: var(--white); box-shadow: var(--shadow); }
.schedule { display: grid; gap: 3rem; }
.schedule-day > h2 { padding-bottom: .65rem; border-bottom: 3px solid var(--blue); color: var(--cvut-dark); }
.schedule-session { margin-top: 1.5rem; }
.schedule-session > h3 { color: var(--blue); }
.schedule-head { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 2px solid var(--cvut-dark); color: var(--cvut-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.schedule-head:has(span:nth-child(3)) { grid-template-columns: 72px 1fr 190px; }
.schedule-item { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.schedule-item.has-controls { grid-template-columns: 72px 1fr 190px; }
.schedule-item > span { color: var(--blue); font-weight: 800; }
.schedule-time { padding-left: .75rem; font-size: 1.05rem; }
.schedule-head span:first-child { padding-left: .75rem; }
.schedule-item h4 { margin: 0; font-size: 1.08rem; }
.schedule-item p { margin: .25rem 0 0; color: var(--muted); }
.schedule-controls, .schedule-controls form { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.schedule-controls button { min-width: 34px; min-height: 34px; border: 1px solid #9ab9d0; border-radius: .25rem; color: var(--blue); background: var(--white); cursor: pointer; font-weight: 800; }
.schedule-controls button:hover { color: var(--white); background: var(--blue); }
.schedule-controls .remove { padding-inline: .65rem; border-color: #c60c30; color: #a00927; }
.schedule-controls .remove:hover { background: #c60c30; }
.fixed-item { --fixed-accent: var(--cvut-dark); border-left: 0; padding-inline: 0; background: #eef6fc; box-shadow: inset 4px 0 var(--fixed-accent); }
.fixed-item h4 { color: var(--cvut-dark); }
.evening-item { --fixed-accent: var(--blue); background: #e5f2fb; }
.time-conflict { outline: 2px solid #c60c30; outline-offset: -2px; }
.conflict-note { display: block; margin-top: .35rem; color: #a00927; font-weight: 700; }
.preview-notice { display: inline-block; margin-top: 1rem; padding: .6rem .8rem; color: #674d00; background: #fff4ce; font-weight: 700; }
.gallery-empty { min-height: 300px; display: grid; place-items: center; text-align: center; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.photo-grid .photo-tile { position: relative; margin: 0; }
.photo-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f5; }
.photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.photo-grid a:hover img, .photo-grid a:focus-visible img { transform: scale(1.04); }
.photo-remove-form { position: absolute; top: .45rem; right: .45rem; margin: 0; }
.photo-remove { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(23, 35, 46, .72); color: #fff; font-size: 1.15rem; font-weight: 800; line-height: 1; cursor: pointer; }
.photo-remove:hover, .photo-remove:focus-visible { background: #c60c30; }
.photo-status { position: absolute; top: .45rem; left: .45rem; padding: .2rem .5rem; color: #14602e; background: #dff3e6; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.gallery-publish { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.2rem; border: 1px solid #d7e9f6; border-left: 4px solid var(--blue); background: #f6fafd; }
.gallery-publish p { margin: 0; color: var(--cvut-dark); font-weight: 700; }
.gallery-publish-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.gallery-upload { margin-bottom: 2rem; display: grid; gap: .8rem; border-left: 4px solid var(--blue); }
.gallery-upload .button { justify-self: start; }
.gallery-upload-note { margin: 0; color: var(--muted); font-size: .85rem; }
.gallery-dropzone { position: relative; display: grid; place-items: center; gap: .4rem; min-height: 170px; padding: 2rem 1rem; border: 2px dashed #9ab9d0; border-radius: .35rem; background: #f6fafd; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.gallery-dropzone.is-dragover { border-color: var(--blue); background: #e5f2fb; }
.gallery-dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone-text strong { display: block; color: var(--cvut-dark); font-size: 1.05rem; }
.dropzone-text span { color: var(--muted); font-size: .9rem; }
.dropzone-selection { position: relative; z-index: 1; pointer-events: none; color: var(--blue); font-weight: 800; }
.upload-progress { display: grid; gap: .4rem; }
.upload-progress-track { height: 12px; overflow: hidden; border-radius: 99px; background: #dce8f2; }
.upload-progress-bar { width: 0; height: 100%; border-radius: 99px; background: var(--blue); transition: width .2s ease; }
.upload-progress.is-processing .upload-progress-bar { background: repeating-linear-gradient(-45deg, var(--blue) 0 12px, #338ccd 12px 24px); animation: upload-progress-stripes 1s linear infinite; }
.upload-progress-label { color: var(--cvut-dark); font-size: .85rem; font-weight: 700; }
@keyframes upload-progress-stripes { from { background-position: 0 0; } to { background-position: 34px 0; } }
.lightbox { border: 0; padding: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 21, 35, .9); }
.lightbox-figure { margin: 0; display: grid; place-items: center; gap: .75rem; }
.lightbox img { display: block; max-width: min(90vw, 1280px); max-height: 82vh; background: #0d1b28; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .15s ease; }
.lightbox-counter { color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 700; letter-spacing: .05em; }
.lightbox-button { position: fixed; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, .16); cursor: pointer; transition: background .15s ease; }
.lightbox-button:hover, .lightbox-button:focus-visible { background: var(--blue); }
.lightbox-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-download { top: 1rem; right: 4.6rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-loader { position: fixed; top: 50%; left: 50%; z-index: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 4px solid rgba(255, 255, 255, .25); border-top-color: var(--white); border-radius: 50%; animation: lightbox-spin .8s linear infinite; }
@keyframes lightbox-spin { to { transform: rotate(360deg); } }
.site-footer { padding-block: 3rem; color: rgba(255,255,255,.86); background: var(--cvut-dark); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--white); }

@media (max-width: 820px) {
  .benefits-section .section-heading h2 { white-space: normal; }
  .program-stats { grid-template-columns: repeat(2, 1fr); }
  .menu-button { display: block; }
  .nav { position: absolute; top: 112px; left: 0; right: 0; display: none; padding: 1rem; flex-direction: column; align-items: stretch; color: #222; background: var(--white); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-button { width: 40px; height: 40px; }
  .lightbox-download { right: 4.1rem; }
  .lightbox img { max-width: 94vw; max-height: 72vh; }
  .program, .footer-inner { align-items: flex-start; flex-direction: column; }
  .brand::before { width: 190px; height: 72px; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .registration-layout { grid-template-columns: 1fr; }
  .registration-info { position: static; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
  .registration-dashboard { grid-template-columns: 1fr; }
  .admin-nav { position: static; display: flex; padding: 0; flex-direction: row; color: #222; background: transparent; box-shadow: none; }
  .program-editor-card { grid-template-columns: 1fr; }
  .personal-invitation { grid-template-columns: 1fr; }
  .invitation-photo { width: min(290px, 82%); margin-inline: auto; }
  .program-preview-heading { align-items: flex-start; flex-direction: column; }
  .program-live-preview iframe { min-height: 620px; }
  .schedule-head, .schedule-head:has(span:nth-child(3)), .schedule-item, .schedule-item.has-controls { grid-template-columns: 64px 1fr; }
  .schedule-head:has(span:nth-child(3)) span:last-child { display: none; }
  .schedule-controls { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .topics { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
