@font-face {
    font-family: "BNP Sans";
    src: url("../fonts/bnpp-sans-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "BNP Sans";
    src: url("../fonts/bnpp-sans.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "BNP Sans";
    src: url("../fonts/bnpp-sans-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --mint: #78c8a8;
    --green: #00945f;
    --ink: #f7fffc;
    --deep: #062e33;
    --card: rgba(3, 28, 32, 0.72);
    --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

html {
    touch-action: manipulation;
    background: #0a4e54;
}

body {
    color: var(--ink);
    font-family: "BNP Sans", sans-serif;
    font-weight: 400;
    background: #0a4e54;
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.scene {
    position: relative;
    z-index: 0;
    isolation: isolate;
    min-height: 100%;
}

.scene::before,
.scene::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.scene::before {
    z-index: -2;
    background: url("../bnp-basecamp-backgrounf.jpg") center center / cover no-repeat;
}

.scene::after {
    z-index: -1;
    background: radial-gradient(ellipse at 50% 42%, rgba(4, 50, 54, 0.02), rgba(3, 24, 28, 0.18));
}

button, input, textarea { font-family: inherit; color: inherit; }

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

::selection { background: var(--green); color: white; }


.logo { height: 34px; width: auto; display: block; }

.mark {
    display: block;
    height: auto;
    max-width: 100%;
    pointer-events: none;
    user-select: none;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-side { text-align: right; line-height: 1.15; }

.topbar-side strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.topbar-side span {
    color: var(--mint);
    font-size: 14px;
    letter-spacing: 0.04em;
}

.kicker {
    margin: 0 0 8px;
    color: var(--mint);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
}

.prompt {
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.12;
    font-size: clamp(30px, 7vw, 48px);
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 20, 24, 0.35);
}

.hint, .agenda-note, .empty-note {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
}

.answer-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.answer-input,
#answer {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--deep);
    font-size: 16px;
    padding: 18px 22px;
    min-height: 56px;
}

#answer::placeholder { color: rgba(6, 46, 51, 0.45); }

#answer:focus {
    outline: 3px solid var(--mint);
    outline-offset: 3px;
}

.answer-button,
.btn {
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: white;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0 28px;
    min-height: 56px;
    cursor: pointer;
}

.answer-button:disabled,
.btn:disabled { opacity: 0.6; cursor: default; }

.btn { padding: 12px 18px; min-height: 0; }

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-danger {
    background: transparent;
    color: #ffd0d0;
    border: 1px solid rgba(255, 180, 180, 0.45);
    margin-top: 16px;
}

.form-status {
    min-height: 1.4em;
    margin-top: 10px;
    font-size: 15px;
}

.form-status.is-ok { color: var(--mint); }
.form-status.is-bad { color: #ffd0d0; }

.tally {
    color: var(--mint);
    font-size: 15px;
    letter-spacing: 0.04em;
}

.stage { position: relative; flex: 1; min-height: 0; }

.cloud {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.stage-mark,
.cloud-empty { z-index: 0; }

.cloud-empty {
    position: absolute;
    margin: 0;
    font-weight: 300;
    font-size: clamp(18px, 2vw, 28px);
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 20, 24, 0.45);
}

.stage.has-words .cloud-empty { display: none; }

.word {
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0.42em 0.78em;
    white-space: nowrap;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    color: #f7fffc;
    user-select: none;
    cursor: pointer;
    background: rgba(4, 28, 32, 0.78);
    border: 1px solid #8ef0c4;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--s, 1));
    opacity: var(--o, 1);
}

.word.is-open {
    z-index: 8;
    background: rgba(2, 12, 16, 0.94);
}

.fly-chip {
    position: fixed;
    z-index: 30;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    padding: 0.32em 0.64em;
    border-radius: 999px;
    background: rgba(4, 28, 32, 0.9);
    color: #f7fffc;
    border: 1px solid #8ef0c4;
    font-weight: 700;
    font-size: 28px;
    pointer-events: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

@media (hover: hover) {
    .answer-button:hover,
    .btn:hover { background: #0aab6e; }
    .btn-ghost:hover,
    .btn-danger:hover { background: rgba(255, 255, 255, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
    .stage-mark,
    .join-mark { animation: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
    .stage.is-empty .stage-mark,
    .join-mark { animation: floaty 7s ease-in-out infinite; }
}

@keyframes floaty {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/* Ekran 65" */
.screen-board,
.screen-board .scene {
    height: 100dvh;
    overflow: hidden;
}

.board-app {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 16px 18px 12px;
    gap: 4px;
}

.screen-board .logo { height: 52px; }
.screen-board .topbar-side {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    color: #8ef0c4;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.screen-board .topbar-side span {
    color: #8ef0c4;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.02em;
}
.screen-board .place-bar { opacity: 0.9; }
.screen-board .board-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 28px;
}
.screen-board .prompt {
    font-weight: 700;
    font-size: clamp(42px, 3.3vw, 64px);
    color: #8ef0c4;
    text-align: center;
    text-shadow: none;
    line-height: 1;
}
.corner-lockup { display: none; }
.screen-board:has(.stage.has-words) .corner-lockup {
    display: block;
    position: fixed;
    left: 22px;
    bottom: 18px;
    width: 188px;
    height: auto;
    z-index: 7;
    pointer-events: none;
}
.screen-board:has(.stage.has-words) .stage-mark { display: none; }

.screen-board .stage.is-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.screen-board .stage-mark {
    position: relative;
    width: min(48vw, 720px);
}

.screen-board .cloud-empty {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    transform: none;
}

@media (hover: hover) {
    .answer-open:hover { background: #0aab6e; }
}

.answer-open {
    align-self: center;
    margin-top: 12px;
    margin-bottom: 28px;
    min-width: min(480px, 72vw);
    min-height: 68px;
    padding: 0 36px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: white;
    font-weight: 700;
    font-size: clamp(20px, 1.7vw, 28px);
    letter-spacing: 0.02em;
    cursor: pointer;
}

.modal[hidden] { display: none !important; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(3, 18, 22, 0.62);
    backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    width: min(980px, calc(100vw - 40px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 22px 22px 20px;
    border-radius: 28px;
    text-align: center;
    background: rgba(4, 32, 36, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.modal-card .prompt {
    margin: 0 0 18px;
    padding: 6px 56px 0;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    color: #8ef0c4;
    text-shadow: none;
}
.char-left {
    margin: 10px 8px 0;
    text-align: right;
    font-size: 20px;
    font-weight: 400;
    color: #8ef0c4;
}
.char-left.is-low { color: #ffd0d0; }
.modal-card #answer {
    width: 100%;
    display: block;
    resize: none;
    border-radius: 24px;
    text-align: left;
    font-size: 28px;
    line-height: 1.25;
    min-height: 96px;
    padding: 16px 20px;
}
.modal-card .answer-button {
    width: 100%;
    margin-top: 16px;
    min-height: 72px;
    font-size: 22px;
}
.modal-card .form-status { text-align: center; font-size: 20px; }

.osk {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    user-select: none;
    touch-action: manipulation;
}

.osk-row {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.osk button {
    flex: 1 1 0;
    min-width: 0;
    height: 58px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #f7fffc;
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.osk button.osk-wide { flex: 1.35 1 0; font-size: 26px; }
.osk button.osk-space {
    flex: 1 1 auto;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.08em;
}
.osk button.is-on {
    background: #8ef0c4;
    color: #062e33;
}
.osk button:active {
    background: #00945f;
    color: white;
}

.crowd[hidden] { display: none !important; }

.corner-dock {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 7;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.board-qr {
    display: block;
    width: 148px;
    height: 148px;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.board-qr img {
    display: block;
    width: 100%;
    height: 100%;
}

.screen-board .crowd,
.corner-dock .crowd {
    position: relative;
    right: auto;
    bottom: auto;
}

.crowd {
    position: absolute;
    right: 36px;
    bottom: 22px;
    z-index: 6;
    width: 76px;
    height: 76px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 50%;
    color: #8ef0c4;
    background: rgba(4, 28, 32, 0.78);
    border: 2px solid #8ef0c4;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.crowd svg { width: 22px; height: 22px; }
.crowd b {
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.jpg-root {
    position: fixed;
    left: -12000px;
    top: 0;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    color: var(--ink);
    font-family: "BNP Sans", sans-serif;
    background: #0a4e54;
}

.jpg-root .jpg-bg {
    position: absolute;
    inset: 0;
    width: 1920px;
    height: 1080px;
    object-fit: cover;
}

.jpg-sheet {
    position: relative;
    z-index: 1;
    height: 1080px;
    display: flex;
    flex-direction: column;
    padding: 36px 56px 40px;
}

.jpg-root .logo { height: 52px; }
.jpg-root .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px;
    min-height: 0;
}
.jpg-root .topbar-side {
    display: flex;
    gap: 10px;
    margin: 0;
    color: #8ef0c4;
    font-size: 22px;
    font-weight: 300;
    white-space: nowrap;
}
.jpg-root .topbar-side span { color: #8ef0c4; font-size: 22px; font-weight: 300; }
.jpg-root .prompt {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #8ef0c4;
    text-shadow: none;
}
.jpg-root .corner-dock {
    position: absolute;
    right: 28px;
    bottom: 28px;
}
.jpg-root .stage { position: relative; flex: 1; min-height: 0; }
.jpg-root:has(.stage.has-words) .corner-lockup {
    display: block;
    position: absolute;
    left: 28px;
    bottom: 28px;
    width: 188px;
    height: auto;
    z-index: 6;
    pointer-events: none;
}
.jpg-root:has(.stage.has-words) .stage-mark { display: none; }
.jpg-root .stage-mark {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 780px;
    transform: translate(-50%, -50%);
}
.jpg-root .cloud { position: absolute; inset: 0; }
.jpg-root .word { position: absolute; }

/* Agenda */
.screen-agenda,
.screen-phone { overflow-x: clip; }

.screen-agenda .scene {
    min-height: 100%;
    padding: max(22px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 40px max(18px, env(safe-area-inset-left));
}

.screen-agenda .scene::before,
.screen-agenda .scene::after,
.screen-phone .scene::before,
.screen-phone .scene::after {
    inset: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
}

.screen-agenda .scene::before,
.screen-phone .scene::before {
    background: url("../bnp-basecamp-backgrounf.jpg") left center / cover no-repeat;
}

.screen-agenda .topbar { margin-bottom: 28px; }

.screen-agenda .topbar-side strong,
.screen-agenda .topbar-side span {
    display: block;
    color: #8ef0c4;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.agenda-shell { width: min(1180px, 100%); margin: 0 auto; }

.agenda-mark { width: min(72vw, 420px); margin: 8px auto 36px; }

.agenda-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 8px;
}

.agenda-heading h1,
.live-clock strong {
    font-size: clamp(42px, 7vw, 76px);
    letter-spacing: -0.045em;
    line-height: 1;
}

.agenda-heading h1 { font-weight: 400; }

.live-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.live-clock strong {
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.045em;
}

.sim-badge {
    display: inline-block;
    margin-top: 6px;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint);
    border: 1px solid rgba(120, 200, 168, 0.7);
    border-radius: 999px;
    padding: 3px 8px;
}

.agenda-days { margin-top: 12px; }

.day-title {
    margin: 22px 0 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
}

.day-title .is-today {
    color: white;
    margin-right: 8px;
}

.day-list { display: flex; flex-direction: column; gap: 12px; }

.slot {
    position: relative;
    display: grid;
    grid-template-columns: 168px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(3, 22, 26, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    scroll-margin: 22vh;
    backdrop-filter: blur(10px);
}

.slot-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
    font-size: 16px;
}

.slot-time .bi,
.slot-sub .bi {
    flex: none;
    color: #8ef0c4;
    font-size: 1.05em;
    line-height: 1;
}

.slot-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.slot-sub {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.35;
}

.slot-pill {
    display: none;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(120, 200, 168, 0.8);
    color: var(--mint);
    background: rgba(0, 0, 0, 0.28);
    letter-spacing: 0.04em;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 9px;
}

.slot.is-now .slot-pill { display: inline-flex; }

.slot-bar {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.slot-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #8ef0c4;
}

.slot.is-now {
    background: rgba(142, 240, 196, 0.12);
    border: 1px solid #8ef0c4;
    box-shadow: none;
    padding-bottom: 22px;
}

.slot.is-now .slot-bar { display: block; }
.slot.is-now .slot-time { color: #8ef0c4; font-weight: 700; }
.slot.is-past { opacity: 0.72; }

.slot.is-break .slot-title { font-weight: 400; color: rgba(255, 255, 255, 0.82); }

.agenda-note { margin-top: 14px; text-align: right; font-size: 12px; }

@media (max-width: 640px) {
    .slot { grid-template-columns: 1fr auto; }
    .slot-time { grid-column: 1 / -1; font-size: 13px; }
    .agenda-heading { align-items: flex-start; }
}

@media (min-width: 1100px) and (max-height: 1100px) {
    .agenda-shell {
        width: min(1680px, 100%);
        display: grid;
        grid-template-columns: 280px 1fr auto;
        grid-template-areas:
            "mark title clock"
            "days days days"
            "note note note";
        column-gap: 64px;
        align-items: center;
    }
    .agenda-mark { grid-area: mark; width: 280px; margin: 0; }
    .agenda-heading { display: contents; }
    .agenda-heading h1 { grid-area: title; }
    .live-clock { grid-area: clock; }
    .agenda-days { grid-area: days; margin-top: 8px; }
    .agenda-note { grid-area: note; }
    .day + .day { margin-top: 0; }
    .agenda-days { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; align-items: start; }
}

@media (max-width: 1200px) and (min-height: 1400px) {
    .screen-agenda .scene { padding: 32px 40px 48px; }
    .agenda-mark { width: min(68vw, 640px); }
    .agenda-heading h1 { font-size: 84px; }
    .live-clock strong { font-size: 84px; }
    .day-title { font-size: 18px; margin-top: 28px; }
    .slot { padding: 18px 20px; border-radius: 18px; }
    .slot-title { font-size: 26px; }
    .slot-time { font-size: 20px; }
    .slot-sub { font-size: 18px; }
    .slot-pill { font-size: 13px; padding: 6px 11px; }
}

/* Prowadzący */
.screen-host .scene,
.screen-login .scene,
.screen-fault .scene { min-height: 100dvh; }

.screen-host .scene {
    padding: 22px 20px 48px;
}

.host-wrap { width: min(1040px, 100%); margin: 0 auto; }

.host-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 18px 0 4px;
}

.host-toolbar h1,
.login-card h1 {
    font-weight: 300;
    letter-spacing: -0.04em;
    font-size: clamp(32px, 5vw, 48px);
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.admin-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.admin-tabs a.is-on {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.host-card[hidden] { display: none !important; }

.host-card,
.login-card {
    background: rgba(3, 28, 32, 0.78);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    backdrop-filter: blur(16px);
}

.host-card { margin-top: 16px; }
.host-card h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; }
.host-card h3 { margin: 18px 0 8px; font-size: 16px; color: var(--mint); }

.login-wrap {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card { width: min(460px, 100%); text-align: center; }
.login-card .logo { height: 32px; margin: 0 auto 8px; }
.login-card .join-mark { width: min(100%, 280px); margin: 8px auto 12px; }

.answers-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.answers-bar h3 { margin-top: 10px; }
.answers-bar .hint { margin: 0; }

.btn-trash {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: transparent;
    color: #ffd0d0;
    border: 1px solid rgba(255, 170, 170, 0.55);
    font-weight: 700;
    cursor: pointer;
}

.btn-trash svg { width: 18px; height: 18px; flex: none; }
.btn-trash:hover { background: rgba(180, 35, 24, 0.35); }

.answer-fold { margin-top: 14px; }
.answer-fold summary {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}
.answer-fold summary::-webkit-details-marker { display: none; }
.answer-fold summary .when-open { display: none; }
.answer-fold[open] summary .when-closed { display: none; }
.answer-fold[open] summary .when-open { display: inline; }
.answer-fold[open] summary { margin-bottom: 8px; }
.admin-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 22px;
}
.admin-links a { color: var(--mint); }
.login-card h1 { margin-bottom: 16px; }

.stack { display: flex; flex-direction: column; gap: 12px; }

.field,
.host-wrap textarea,
.host-wrap input[type="text"],
.host-wrap input[type="password"],
.host-wrap input[type="date"],
.host-wrap input[type="time"],
.host-wrap input[type="datetime-local"] {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: white;
    color: var(--deep);
    padding: 12px 14px;
    font-size: 16px;
}

.host-wrap textarea { min-height: 92px; resize: vertical; }

.flash {
    background: rgba(120, 200, 168, 0.16);
    border: 1px solid rgba(120, 200, 168, 0.5);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 14px;
}

.flash.is-bad {
    background: rgba(120, 40, 40, 0.35);
    border-color: rgba(255, 180, 180, 0.45);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.link-card {
    display: block;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-card strong { display: block; margin-bottom: 6px; font-size: 18px; }
.link-card em { display: block; font-style: normal; color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; font-weight: 300; }
.link-card span { color: var(--mint); font-size: 13px; word-break: break-all; }

.mod-list { margin: 8px 0 12px; }

.word-mod {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Telefon */
.phone-app {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 36px max(18px, env(safe-area-inset-left));
}

.phone-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.phone-meta {
    margin: 0;
    text-align: right;
    color: #8ef0c4;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.25;
}

.phone-meta span { display: block; }

.phone-mark {
    width: min(68vw, 260px);
    margin: 8px auto 22px;
}

.screen-phone .prompt {
    font-weight: 700;
    font-size: clamp(28px, 7.2vw, 40px);
    line-height: 1.12;
    color: #8ef0c4;
    text-align: center;
    text-shadow: none;
    margin-bottom: 22px;
}

.phone-form #answer {
    width: 100%;
    display: block;
    resize: none;
    border-radius: 22px;
    font-size: 18px;
    line-height: 1.35;
    min-height: 140px;
    padding: 16px 18px;
}

.phone-form .answer-button {
    width: 100%;
    margin-top: 14px;
    min-height: 56px;
    font-size: 18px;
}

.phone-form .form-status {
    min-height: 1.4em;
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
}

.phone-note {
    margin-top: 18px;
    text-align: center;
    font-weight: 300;
    font-size: 15px;
    color: rgba(247, 255, 252, 0.78);
}

.word-mod span { font-weight: 700; }
.word-mod em { color: var(--mint); font-style: normal; }
.word-mod.is-hidden span { opacity: 0.6; }

.sim-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 12px 0;
}

.sim-row input[type="datetime-local"] { width: auto; flex: 1 1 220px; }

.agenda-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.agenda-form input[type="text"] { width: auto; flex: 1 1 180px; }
.agenda-form input[type="date"],
.agenda-form input[type="time"] { width: auto; }

.agenda-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 10px;
}

.agenda-row .agenda-form { flex: 1; }

.check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.text-link { color: var(--mint); }

.empty-note { margin: 8px 0; }
