/* Společné styly rozvržení (dříve vkládané z render() do každé stránky). */
.admin-link{margin-left:10px;color:var(--angel-blue);font-weight:650;text-decoration:none}
.admin-link+.admin-link{margin-left:16px;margin-right:0}
.admin-link+.admin-link:last-of-type{margin-right:auto}
header.admin-header{justify-content:flex-start}
header.admin-header nav{margin-left:auto}
.plus-button{padding:0;border:0}
.class-nav{display:flex;gap:7px;flex-wrap:wrap}
.class-switcher .class-picker,.donation-open{background:#edf3ee;color:var(--ink);padding:7px 10px}
.class-switcher .class-picker.is-selected{background:var(--green);color:#fff}
.class-title{margin:28px 0 12px}
.class-title h2{margin:0}
.public-link{display:flex;align-items:center;gap:8px;margin:0 0 18px}
.public-link a{overflow-wrap:anywhere}
.copy-link{background:#edf3ee;color:var(--ink);padding:6px 9px;font-size:18px;line-height:1}
.add-row td{padding-top:7px;padding-bottom:7px}
.config-actions{white-space:nowrap}
.config-actions button{padding:5px 8px;margin-left:4px}
.config-dialog{width:min(440px,calc(100% - 32px))}
nav .logout-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px!important;border-radius:8px;background:#c43d3d!important;color:#fff!important}
nav .logout-button svg{display:block;width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
nav .logout-button .logout-door{fill:#fff}

/* Changelog v plovoucím okně */
.changelog-dialog .changelog-entry{padding:9px 12px;margin:0 0 6px;border-radius:9px}
.changelog-dialog .changelog-entry h2{margin:0 0 2px;font-size:16px;line-height:1.25}
.changelog-dialog .changelog-entry time{margin-bottom:3px;font-size:12px}
.changelog-dialog .changelog-entry p{margin:0;font-size:14px;line-height:1.35}
.changelog-link{margin-left:12px!important}
.changelog-dialog{width:min(820px,calc(100% - 32px));max-height:calc(100vh - 48px);padding:24px;border:2px solid var(--angel-yellow);border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.changelog-dialog::backdrop{background:rgba(0,21,56,.55)}
.changelog-scroll{max-height:calc(100vh - 190px);overflow-y:auto;padding:4px 8px 4px 0}
.changelog-dialog .dialog-actions{justify-content:flex-end}
.changelog-link{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-left:4px;padding:6px!important;border-radius:8px;background:var(--angel-blue,#00296b);color:#fff!important}
.changelog-link svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Zpětná vazba */
.feedback-open{position:fixed;right:24px;bottom:24px;z-index:50;width:56px;height:56px;border:0;border-radius:50%;background:var(--angel-blue,#00296b);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.22);cursor:pointer}
.feedback-open svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.feedback-dialog{width:min(500px,calc(100% - 32px));border:2px solid var(--angel-yellow,#ffca3a);border-radius:16px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.feedback-dialog::backdrop{background:rgba(0,21,56,.55)}
.feedback-dialog textarea{display:block;width:100%;min-height:180px;margin-top:8px;padding:10px;border:1px solid #b9c9bd;border-radius:7px;font:inherit;resize:vertical}
