:root{--paper:#faf8f2;--ink:#193f42;--muted:#657474;--line:#dce2dc;--accent:#f0b398;--white:#fff;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button,summary{cursor:pointer}a{color: #00634f;font-weight: 600;text-decoration:none}a:hover{font-weight: 700;}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ba6544;outline-offset:4px}button{border:0}button:hover,.button:hover{filter:brightness(.95)}.wrap{width:min(1200px,calc(100% - 80px));margin:auto}.header{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font:700 25px var(--serif);letter-spacing:-1px}.logo{background:var(--ink);color:var(--paper);border-radius:9px;font:italic 30px var(--serif);padding:0 9px 5px}.beta{font:9px system-ui;letter-spacing:1px;border:1px solid var(--line);padding:3px 5px;margin-left:2px}.header nav{display:flex;gap:28px;font-size:13px}.header nav a{padding:12px 0}.header nav .active{border-bottom:2px solid var(--ink)}.outline{background:transparent;border:1px solid #b9c7c1;padding:10px 17px;border-radius:6px;font-size:13px;white-space:nowrap}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center;min-height:510px;padding-top:48px;padding-bottom:48px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;display:flex;align-items:center;gap:8px}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:#cc9277}h1,h2,h3,p{margin-top:0}h1{font:normal clamp(37px,4.3vw,59px)/1.12 var(--serif);letter-spacing:-2px;margin:23px 0}h1 em{font-weight:normal;color:#4d7772}h2{font:normal 32px/1.2 var(--serif);letter-spacing:-.7px;margin:10px 0 0}.hero p{color:var(--muted);font-size:15px;line-height:1.9}.button{display:inline-flex;align-items:center;gap:24px;background:var(--ink);color:white;padding:14px 21px;border-radius:5px;font-size:13px;margin-top:10px}.hero-note{font-size:11px;color:var(--muted);margin-top:18px}.hero-art{position:relative;height:360px;display:flex;align-items:center;justify-content:center}.orbit{position:absolute;width:330px;height:330px;border-radius:50%;background:#eceee3}.mini-cover{position:absolute;width:165px;height:250px;box-shadow:8px 16px 24px #193f4224;border-radius:2px 6px 6px 2px;padding:22px 18px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.mini-cover:before,.book-cover:before{content:'';position:absolute;inset:0;border-left:6px solid #0002;box-shadow:inset 2px 0 3px #fff3;pointer-events:none}.mini-cover small{font-size:8px;letter-spacing:2px}.mini-cover strong{font:normal 29px/1.1 var(--serif);z-index:1}.mini-cover>span{font-size:8px;letter-spacing:2px;z-index:1}.cover-forest{background:radial-gradient(ellipse at 15% 90%,#6d8870,transparent 60%),#244b47;color:#f4eac8;transform:rotate(-12eg);left:35px;top:47px}.cover-sun{background:#e8ad8c;color:#573e38;transform:rotate(9deg);right:22px;top:77px}.sun{width:125px;height:125px;border:1px solid #ffecd0;border-radius:50%;position:absolute;bottom:-25px;right:-15px;box-shadow:0 0 0 15px #f3c39e,0 0 0 16px #ffecd0}.art-caption{position:absolute;bottom:0;left:55px;font:italic 15px var(--serif);transform:rotate(-3deg)}.spark{position:absolute;right:0;top:8px;font-size:50px;color:#b2795e}.discovery{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:45px 0 30px}.section-heading,.results-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.demo-label{font-size:10px;background:#f4f2eb;padding:5px 10px;border-radius:20px;color:var(--muted)}#search-form{margin-top:27px}.searchbox{border:1px solid #cbd5ce;border-radius:7px;display:flex;align-items:center;padding:9px 16px;gap:12px}.searchbox>span:first-child{font-size:29px;line-height:1}.searchbox input{width:100%;border:0;padding:6px 0;background:transparent;color:var(--ink);min-width:0}.searchbox kbd{font-size:15px;color:#87938d}.filter-row{display:flex;align-items:start;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;flex-wrap:wrap}.filter-row>label:first-child{display:flex;align-items:center;gap:10px}.filter-row select{border:1px solid var(--line);border-radius:5px;padding:8px;background:#fafbf8;max-width:210px;color:var(--ink);font-size:12px}.check{display:flex;align-items:center;gap:7px;padding:8px 0}.check input,.trope-option input{accent-color:var(--ink)}.filter-row details{flex:1;min-width:180px}summary{display:inline-flex;align-items:center;justify-content:space-between;gap:.75rem;list-style:none;border:1px solid #b7cac0;border-radius:8px;padding:9px 14px;width:fit-content;max-width:100%;background:#e6f0eb;color:var(--ink);font-weight:600;line-height:1.45;transition:background-color .15s,border-color .15s}summary::-webkit-details-marker{display:none}summary::marker{content:""}summary::after{content:"";display:block;flex:0 0 7px;width:7px;height:7px;margin-left:.2rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}details[open]>summary::after{transform:rotate(225deg)}summary:hover{background:#d7e9df;border-color:#86a99c}details[open]>summary{background:#d7e9df;border-color:#86a99c}summary span{float:right}.trope-panel{padding:14px;background:var(--paper);margin-top:10px;border-radius:6px}.trope-panel>p{font-size:11px;color:var(--muted)}#trope-groups{display:grid;gap:16px}fieldset{border:0;padding:0;margin:0}legend{font-weight:650;margin-bottom:6px}.trope-options{display:flex;gap:6px;flex-wrap:wrap}.trope-option{border:1px solid var(--line);background:white;border-radius:5px;padding:5px 7px;display:flex;align-items:center;gap:5px}.text-button{background:none;padding:8px 0;font-size:12px;text-align:left}.filter-row>.text-button{margin-left:auto;color:var(--muted)}.results-heading{padding:28px 0 21px}.results-heading h3{font:normal 24px var(--serif);margin-bottom:5px}.results-heading p{font-size:12px;color:var(--muted);margin:0}#count{font:11px system-ui;background:#eef2eb;border-radius:20px;padding:4px 8px;vertical-align:middle;margin-left:7px}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}.book-card{min-width:0}.cover-stage{position:relative;background:#f3f1eb;padding:25px 30px;display:flex;justify-content:center;border-radius:7px}.book-cover{width:150px;aspect-ratio:2/3;position:relative;overflow:hidden;color:var(--cover-ink,#fff6df);background:var(--cover);padding:20px 14px 16px;box-shadow:4px 7px 10px #203b3226;display:flex;flex-direction:column;justify-content:space-between;text-align:center}.book-cover:after{content:'';position:absolute;border:1px solid currentColor;opacity:.22;width:140px;height:140px;bottom:-40px;right:-40px;border-radius:50%;box-shadow:0 0 0 15px #ffffff15,0 0 0 30px #ffffff10}.book-cover small{font-size:7px;letter-spacing:2px}.book-cover strong{font:normal 26px/1.1 var(--serif);position:relative;z-index:1}.book-cover span{font-size:7px;letter-spacing:2px}.bookmark{position:absolute;right:8px;top:8px;background:#fff;border:1px solid var(--line);border-radius:50%;width:30px;height:30px;line-height:1;font-size:19px}.bookmark[aria-pressed=true]{background:var(--ink);color:white}.genre-label{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;color:#7c7770;display:block;margin-top:15px}.book-title{font:normal 21px/1.25 var(--serif);padding:0;margin:5px 0;background:transparent;text-align:left;display:block}.author{font-size:11px;color:var(--muted);margin-bottom:11px}.tags{display:flex;gap:5px;flex-wrap:wrap}.tag{font-size:9px;border:1px solid #e0e6de;background:#f4f7f1;border-radius:4px;padding:3px 6px}.review-note{font-size:10px;color:#4e786c;margin:10px 0 0}.demo-footnote{font-size:10px;color:var(--muted);margin:25px 0 0}.empty{padding:40px 0}.community{display:grid;grid-template-columns:1fr 1fr;gap:55px;padding-top:48px;padding-bottom:48px}.community article+article{border-left:1px solid var(--line);padding-left:55px}.community h2{font-size:29px;margin-bottom:15px}.community p{font-size:13px;color:var(--muted);max-width:400px}.community .text-button{font-weight:650}footer{border-top:1px solid var(--line);padding:25px 0;display:flex;align-items:center;gap:20px}footer .brand{font-size:20px}footer p,footer>span{font-size:10px;color:var(--muted);margin:0}footer>span{margin-left:auto}dialog{border:1px solid var(--line);border-radius:12px;padding:35px;max-width:550px;width:calc(100% - 32px);color:var(--ink);background:var(--paper)}dialog::backdrop{background:#132e32a6}.close{position:absolute;right:12px;top:8px;background:transparent;font-size:28px}.dialog-tags{margin:20px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 22px;border-radius:8px;box-shadow:0 5px 25px #0002;width:max-content;max-width:calc(100% - 32px);font-size:13px;z-index:10;display:none}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;top:10px;left:10px;background:white;padding:10px;z-index:20}[hidden]{display:none!important}@media(min-width:1400px){.cover-forest{left:65px}.cover-sun{right:40px}}@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.header{flex-wrap:wrap;padding:20px 0;gap:15px}.header nav{order:3;width:100%;gap:24px}.hero{grid-template-columns:1.2fr 1fr}.mini-cover{width:140px;height:218px}.cover-forest{left:0}.cover-sun{right:0}.orbit{width:260px;height:260px}.hero-art{height:330px}.mini-cover strong{font-size:25px}.eyebrow{font-size:9px}.book-grid{gap:18px}.cover-stage{padding:20px 15px}.book-cover strong{font-size:22px}.section-heading{align-items:start}.demo-label{white-space:nowrap}}@media(max-width:700px){.wrap{width:calc(100% - 36px)}.brand{font-size:22px}.beta{display:none}.header nav{justify-content:space-between;font-size:12px;gap:10px}.hero{grid-template-columns:1fr;padding-top:36px;gap:15px}.hero h1{font-size:43px}.hero-art{max-width:340px;width:100%;margin:auto;height:310px}.hero .eyebrow{letter-spacing:1.1px}.cover-forest{left:25px;top:30px}.cover-sun{right:20px;top:55px}.art-caption{left:30px}.spark{right:15px}.section-heading{display:block}.section-heading h2{font-size:29px}.demo-label{display:inline-block;margin-top:14px}.results-heading{align-items:start}.results-heading h3{font-size:22px}.results-heading p{max-width:210px}.results-heading .outline{padding:9px;font-size:11px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.cover-stage{padding:18px 12px}.book-cover{max-width:140px;width:100%;padding:16px 10px}.book-cover strong{font-size:clamp(19px,5.6vw,26px)}.book-title{font-size:20px}.filter-row{gap:10px}.filter-row details{order:3;flex-basis:100%}.check{font-size:11px}.community{grid-template-columns:1fr;gap:28px;padding-top:35px;padding-bottom:35px}.community article+article{border-left:0;border-top:1px solid var(--line);padding:28px 0 0}.community h2{font-size:28px}footer{flex-wrap:wrap;gap:10px}footer>span{margin-left:0;width:100%}.desktop{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Einheitliche Ausrichtung auch bei kurzen Seiten ohne Scrollbar */
html{scrollbar-gutter:stable}

/* Registrierung und andere Kontoseiten */
.auth-page{padding-top:48px;padding-bottom:72px;min-height:calc(100vh - 190px)}
.auth-panel{max-width:480px}
.auth-page h1{margin-top:0}
.auth-page form{display:grid;gap:18px;margin-top:28px}
.auth-page form p{margin:0}
.auth-page label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.auth-page input:not([type="hidden"]){width:100%;border:1px solid #b9c7c1;border-radius:6px;background:#fff;padding:11px 13px;color:var(--ink)}
.auth-page button[type="submit"]{justify-self:start;background:var(--ink);color:#fff;padding:12px 20px;border-radius:5px}
.auth-page [role="alert"]{border-left:3px solid #ba6544;padding:10px 14px;background:#fff4ef;margin:20px 0}
.auth-page [role="alert"] p{margin:0 0 5px}
@media(max-width:700px){.auth-page{padding-top:30px;padding-bottom:48px;min-height:0}}
.header-account { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.header-logout { margin:0; }
.header-logout button { cursor:pointer; font:inherit; }
.header-nickname { font-size:13px; font-weight:600; }
.auth-panel { max-width:480px; }
@media (max-width:760px) {
  .header-account { justify-content:center; }
}
/* Benutzerkonto */

.account-page {
    padding-top: 48px;
    padding-bottom: 80px;
    max-width: 900px;
}

.account-heading {
    margin-bottom: 40px;
}

.account-heading h1 {
    margin: 12px 0;
}

.account-section {
    margin-bottom: 32px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
}

.account-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.account-details {
    margin: 0;
}

.account-details > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.account-details > div:last-child {
    border-bottom: 0;
}

.account-details dt {
    opacity: .7;
}

.account-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.account-verified {
    color: #75c69a;
}

.account-unverified {
    color: #e7ad70;
}

.account-section form {
    display: grid;
    gap: 16px;
}

.account-section textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    resize: vertical;
}

.account-section button {
    justify-self: start;
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.account-hint {
    margin: -8px 0 0;
    font-size: 13px;
    opacity: .65;
}

.account-message {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 10px;
}

.account-success {
    background: rgba(60,160,100,.15);
}

.account-error {
    background: rgba(200,70,70,.15);
}

.header-nickname {
    color: inherit;
    text-decoration: none;
}

.header-nickname:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .account-section {
        padding: 20px;
    }

    .account-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
/* Profilbereich */

.profile-settings,
.public-profile {
    padding-top: 48px;
    padding-bottom: 80px;
    max-width: 1000px;
}

.profile-intro {
    margin-bottom: 40px;
}

.profile-intro h1,
.public-profile h1 {
    margin: 12px 0;
}

.profile-link {
    display: inline-block;
    margin-top: 12px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-card {
    margin-bottom: 24px;
    padding: 30px;
    border: 1px solid rgba(128,128,128,.25);
    border-radius: 16px;
}

.profile-card h2 {
    margin-top: 0;
}

.profile-form {
    display: grid;
    gap: 14px;
}

.profile-form input[type="text"],
.profile-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid rgba(128,128,128,.35);
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.profile-form textarea {
    resize: vertical;
}

.profile-form button {
    justify-self: start;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}

.profile-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.profile-check input {
    margin-top: 5px;
}

.profile-hint {
    font-size: 13px;
    opacity: .7;
}

.profile-notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: 10px;
    background: rgba(80,160,110,.15);
}

.profile-facts {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
}

.profile-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.profile-facts dt {
    opacity: .7;
}

.profile-avatar-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #244d49;
    color: white;
    font-size: 48px;
    font-weight: 700;
    overflow: hidden;
}

.profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-large {
    width: 160px;
    height: 160px;
    margin: 0;
}

.public-profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.profile-biography {
    white-space: normal;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.profile-book-list {
    padding-left: 20px;
}

.profile-book-list li {
    margin-bottom: 12px;
}

.header-nickname {
    color: inherit;
    text-decoration: none;
}

.header-nickname:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        padding: 20px;
    }

    .public-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-facts {
        grid-template-columns: 1fr;
    }
}
.author-submit-form {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(128,128,128,.2);
}

.author-submit-form button {
    background: #244d49;
    color: #fff;
}

.profile-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(128,128,128,.35);
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: inherit;
}
/* Formularvalidierung */

.profile-form .input-error {
    border: 2px solid #d64545;
    background: rgba(214, 69, 69, 0.05);
}

.profile-form .input-error:focus {
    outline: 2px solid rgba(214, 69, 69, 0.25);
    outline-offset: 2px;
}

.field-error {
    color: #c83b3b;
    font-size: 13px;
    font-weight: 500;
    margin: -6px 0 8px;
}
/* Autorenprofil: Speichern und Einreichen */

.author-authorization {
    margin-top: 16px;
    padding: 20px;
    border: 1px solid rgba(128,128,128,.2);
    border-radius: 10px;
}

.author-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.author-form-actions button {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}

.author-save-draft {
    background: transparent;
    border: 1px solid #244d49;
    color: inherit;
}

.author-submit {
    background: #244d49;
    color: white;
    border: 1px solid #244d49;
}

.author-submit:hover {
    background: #31675f;
}

/* Autorenmoderation */

.author-moderation-form fieldset {
    border: 1px solid rgba(128, 128, 128, .25);
    border-radius: 10px;
    padding: 18px;
    margin: 20px 0;
}

.author-moderation-form legend {
    padding: 0 8px;
    font-weight: 600;
}

.author-correction-reasons .profile-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
}

.author-correction-reasons .profile-check input {
    width: auto;
    flex: 0 0 auto;
    margin-top: 4px;
}

.author-correction-reasons .profile-check span {
    flex: 1;
}

.author-reject {
    background: transparent;
    color: #a33030;
    border: 1px solid #a33030;
}

.author-reject:hover {
    background: rgba(163, 48, 48, .08);
}

@media (max-width: 600px) {
    .author-form-actions {
        flex-direction: column;
    }

    .author-form-actions button {
        width: 100%;
    }
}
/* =========================================
   ADMINISTRATION - INHALTSFILTER
   ========================================= */

.admin-filter-page {
    padding-top: 32px;
    padding-bottom: 64px;
}

.admin-filter-heading {
    margin-bottom: 32px;
}

.admin-filter-heading .augenbraue {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.admin-filter-heading .augenbraue a {
    color: inherit;
    text-decoration: none;
}

.admin-filter-heading .augenbraue a:hover {
    text-decoration: underline;
}

.admin-filter-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    opacity: 1;
    white-space: nowrap;
}

.admin-filter-breadcrumb strong {
    font-weight: 700;
}

.admin-filter-heading h1 {
    margin-bottom: 12px;
}

.admin-filter-message {
    padding: 14px 18px;
    margin-bottom: 24px;
    background: #e1ede1;
    border: 1px solid #c5dac5;
    border-radius: 12px;
}

/* Oberer Bereich */

.admin-filter-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin-bottom: 48px;
}

.admin-filter-card {
    min-width: 0;
    padding: 28px;
    background: #f8f7f2;
    border: 1px solid #d9ddd3;
    border-radius: 18px;
}

.admin-filter-card h2 {
    margin: 0 0 24px;
    font-size: 1.7rem;
}

/* Formulare */

.admin-filter-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.admin-filter-field label {
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-filter-field input,
.admin-filter-field select,
.admin-filter-field textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #c5d0c9;
    border-radius: 9px;
    background: #fff;
    color: #173d3c;
    font: inherit;
}

.admin-filter-field textarea {
    resize: vertical;
    min-height: 140px;
}

.admin-filter-field input:focus,
.admin-filter-field select:focus,
.admin-filter-field textarea:focus {
    outline: 2px solid #366b60;
    outline-offset: 1px;
}

.admin-filter-button,
.admin-filter-save {
    align-self: flex-start;
    padding: 11px 18px;
    background: #173d3c;
    color: #fff;
    border: 1px solid #173d3c;
    border-radius: 9px;
    font: inherit;
    cursor: pointer;
}

.admin-filter-button:hover,
.admin-filter-save:hover {
    background: #285b55;
}

.admin-filter-help {
    margin: 20px 0 0;
    color: #66756e;
    font-size: 0.82rem;
    line-height: 1.7;
}

.admin-filter-help code {
    padding: 2px 5px;
    background: #e8ebe4;
    border-radius: 4px;
}

/* Prüfergebnis */

.admin-filter-result {
    margin-top: 24px;
    padding: 18px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.admin-filter-result.is-flagged {
    background: #fff1d9;
    border: 1px solid #e6cca0;
}

.admin-filter-result.is-passed {
    background: #e1ede1;
    border: 1px solid #c5dac5;
}

.admin-filter-result p {
    margin: 10px 0;
}

.admin-filter-match {
    margin-top: 14px;
}

.admin-filter-match ul {
    margin: 8px 0 0;
    padding-left: 22px;
    overflow-wrap: anywhere;
}

/* Gespeicherte Regeln */

.admin-filter-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-filter-section-heading h2 {
    margin: 0;
}

.admin-filter-count {
    white-space: nowrap;
    color: #66756e;
    font-size: 0.85rem;
}

.admin-filter-empty {
    padding: 32px;
    text-align: center;
    background: #f1f3ed;
    border-radius: 14px;
    color: #66756e;
}

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

/* Eine Regel = eine Zeile */

.admin-filter-rule {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    min-width: 0;
    padding: 16px 18px;
    background: #e4ece2;
    border: 1px solid #d4dfd4;
    border-radius: 12px;
}

.admin-filter-rule.is-inactive {
    opacity: 0.65;
    background: #f0f0ed;
}

.admin-filter-rule-form {
    display: grid;
    grid-template-columns:
        minmax(130px, 1fr)
        minmax(160px, 1.2fr)
        minmax(160px, 1.5fr)
        auto
        auto;
    align-items: end;
    gap: 12px;
    min-width: 0;
}

.admin-filter-rule .admin-filter-field input,
.admin-filter-rule .admin-filter-field select {
    padding: 9px 10px;
    font-size: 0.9rem;
}

.admin-filter-active {
    display: flex;
    align-items: center;
    min-height: 40px;
    white-space: nowrap;
    font-size: 0.85rem;
}

.admin-filter-active label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.admin-filter-active input {
    accent-color: #173d3c;
}

.admin-filter-actions {
    display: flex;
    align-items: end;
}

.admin-filter-save {
    padding: 10px 14px;
    font-size: 0.85rem;
}

.admin-filter-delete-form {
    display: flex;
    align-items: end;
}

.admin-filter-delete {
    padding: 10px 12px;
    background: transparent;
    color: #9d3939;
    border: 1px solid #d8b4b4;
    border-radius: 9px;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.admin-filter-delete:hover {
    background: #fbe8e8;
}

/* Responsive */

@media (max-width: 1100px) {

    .admin-filter-rule-form {
        grid-template-columns:
            minmax(150px, 1fr)
            minmax(160px, 1fr)
            minmax(160px, 1fr);
    }

    .admin-filter-active,
    .admin-filter-actions {
        align-self: end;
    }
}

@media (max-width: 760px) {

    .admin-filter-top {
        grid-template-columns: 1fr;
    }

    .admin-filter-card {
        padding: 22px;
    }

    .admin-filter-rule {
        grid-template-columns: 1fr;
    }

    .admin-filter-rule-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-delete-form {
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {

    .admin-filter-page {
        padding-top: 20px;
    }

    .admin-filter-card {
        padding: 18px;
    }

    .admin-filter-rule {
        padding: 16px;
    }

    .admin-filter-rule-form {
        grid-template-columns: 1fr;
    }

    .admin-filter-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-filter-save,
    .admin-filter-delete {
        width: 100%;
    }

    .admin-filter-delete-form {
        justify-content: stretch;
    }
}
/* =========================================
   VERWALTUNG - DASHBOARD
   ========================================= */

.management-page {
    padding-top: 32px;
    padding-bottom: 72px;
}

.management-header {
    margin-bottom: 40px;
}

.management-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.management-eyebrow span {
    opacity: 0.5;
}

.management-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.management-welcome h1 {
    margin: 0 0 10px;
}

.management-welcome p {
    margin: 0;
    color: #596e69;
}

.management-role {
    padding: 9px 15px;
    border: 1px solid #c4d5cc;
    border-radius: 24px;
    background: #e6efe7;
    color: #244d49;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Bereiche */

.management-section {
    margin-bottom: 44px;
}

.management-section h2 {
    margin: 0 0 22px;
}

.management-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 22px;
}

.management-section-heading h2 {
    margin: 0;
}

.management-section-heading > span {
    font-size: 0.8rem;
    color: #71807a;
}

/* Statistiken */

.management-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.management-stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 112px;
    padding: 20px;
    border: 1px solid #d9e1da;
    border-radius: 15px;
    background: #f4f6f0;
}

.management-stat > span {
    color: #5d706a;
    font-size: 0.86rem;
}

.management-stat > strong {
    font-size: 2.2rem;
    line-height: 1;
    color: #173d3c;
    font-weight: 600;
}

/* Karten */

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.management-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 23px;
    border: 1px solid #d8dfd8;
    border-radius: 15px;
    background: #f8f7f2;
    color: inherit;
    text-decoration: none;
}

.management-card-link {
    transition:
        border-color 0.2s,
        background-color 0.2s,
        transform 0.2s;
}

.management-card-link:hover {
    border-color: #8aac9c;
    background: #edf3eb;
    transform: translateY(-2px);
}

.management-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.management-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #173d3c;
}

.management-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #61736c;
}

.management-counter {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 20px;
    background: #e5e9e2;
    color: #587067;
    font-size: 0.85rem;
    font-weight: 700;
}

.management-counter.has-items {
    background: #fff0d9;
    color: #9a5d22;
}

.management-status {
    margin-top: auto;
    padding-top: 8px;
    font-size: 0.78rem;
    color: #829089;
}

.management-card-link .management-status {
    color: #285b55;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 900px) {
    .management-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .management-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .management-grid {
        grid-template-columns: 1fr;
    }

    .management-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 420px) {
    .management-stats {
        gap: 10px;
    }

    .management-stat {
        padding: 15px;
        min-height: 100px;
    }

    .management-stat > strong {
        font-size: 1.8rem;
    }

    .management-card {
        padding: 18px;
    }
}
/* Autorenbiografie bearbeiten */

.author-bio-edit {
    margin-top: 18px;
}

.author-bio-edit > summary {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.author-bio-edit > summary::-webkit-details-marker {
    display: none;
}

.author-bio-edit > summary:hover {
    text-decoration: underline;
}

.author-bio-edit-content {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #d9ddd3;
    border-radius: 14px;
    background: #f8f7f2;
}

.author-bio-edit-content h3 {
    margin: 0 0 12px;
}

.author-bio-edit-content > p {
    margin-bottom: 20px;
    color: #5d706a;
}

.author-bio-edit-content > form > button[type="submit"] {
    padding: 11px 18px;
    background: #173d3c;
    color: #fff;
    border: 1px solid #173d3c;
    border-radius: 9px;
    font: inherit;
    cursor: pointer;
}

.author-bio-edit-content > form > button[type="submit"]:hover {
    background: #285b55;
}

@media (max-width: 600px) {
    .author-bio-edit-content {
        padding: 16px;
    }
}
/* =========================================
   AUTORENVERWALTUNG
   ========================================= */

/* Neues Autorenprofil */

.author-create-details {
    margin-bottom: 30px;
    border: 1px solid #d9ddd3;
    border-radius: 14px;
    background: #f8f7f2;
    overflow: hidden;
}

.author-create-details > summary {
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #173d3c;
}

.author-create-details > summary::-webkit-details-marker {
    display: none;
}
.author-create-content {
    padding: 0 22px 22px;
}

/* Profilstatus und öffentlicher Link */

.author-profile-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 8px;
    margin: 8px 0 20px;
}

.author-profile-status {
    margin: 0;
}

.author-profile-meta .profile-link {
    margin: 0;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Hinweise zur Freischaltung */

.author-review-details {
    margin: 12px 0 20px;
    border: 1px solid #d9e1d8;
    border-radius: 10px;
    background: #e4ece2;
    overflow: hidden;
}

.author-review-details > summary {
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
    color: #244d49;
    font-size: 0.9rem;
    font-weight: 600;
}

.author-review-details > summary::-webkit-details-marker {
    display: none;
}

.author-review-details > summary::before {
    content: '?';
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.2s;
}

.author-review-details[open] > summary::before {
    transform: rotate(90deg);
}

.author-review-content {
    padding: 0 16px 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Responsive */

@media (max-width: 600px) {

    .author-create-details > summary {
        padding: 15px;
    }

    .author-create-content {
        padding: 0 15px 15px;
    }

    .author-profile-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
/* Full-width accordion headers keep their card layout; other summaries size to content. */
.author-create-details > summary,
.author-review-details > summary {
    display: flex;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.author-create-details > summary:hover,
.author-review-details > summary:hover {
    background: #e7f0e9;
}

/* Kontomenü: Nickname öffnet per Hover, Klick oder Tastatur ein Dropdown. */
.header-user-menu {
    position: relative;
    min-width: 0;
    max-width: min(270px, 100%);
}
.header-user-menu > .header-user-trigger {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.header-user-menu > .header-user-trigger:hover,
.header-user-menu[open] > .header-user-trigger {
    border-color: #d6e5dd;
    background: #e6f0eb;
    text-decoration: none;
}
.header-user-menu > .header-user-trigger:hover {
    font-weight: 700;
}
.header-user-name {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-user-menu-panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    width: min(320px, calc(100vw - 24px));
    padding-top: 5px; /* hover-sichere Verbindung zwischen Nickname und Menü */
}
.header-user-menu-content {
    display: grid;
    gap: 2px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #d6e5dd;
    border-radius: 11px;
    background: #fffefa;
    box-shadow: 0 12px 28px #193f422b;
}
.header-user-menu-content > a,
.header-user-menu-content > .header-user-menu-disabled {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}
.header-user-menu-content > a {
    color: #00634f;
    font-weight: 600;
}
.header-user-menu-content > a:hover,
.header-user-menu-content > a:focus-visible,
.header-user-menu-content > a[aria-current="page"] {
    background: #e6f0eb;
    font-weight: 700;
    text-decoration: none;
}
.header-user-menu-disabled {
    color: #6b8079;
    cursor: default;
}
.header-user-menu-disabled small {
    margin-left: auto;
    color: #748a82;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
}
.header-user-menu-content > .header-user-menu-subitem {
    position: relative;
    padding-left: 32px;
}
.header-user-menu-subitem::before {
    content: "↳";
    position: absolute;
    left: 13px;
    color: #7b948a;
}
.header-user-menu-divider {
    height: 1px;
    margin: 5px 6px;
    background: #dce2dc;
}
@media (max-width: 700px) {
    /* Der Kontobereich steht mobil in einer eigenen Zeile.
       So bleibt das Dropdown links am Nickname und innerhalb des Viewports. */
    .header-account {
        width: 100%;
        justify-content: flex-start;
    }
    .header-user-menu-panel {
        left: 0;
        right: auto;
        width: min(320px, calc(100vw - 36px));
        max-width: calc(100vw - 36px);
    }
}

/* Konto: kompakte Verknüpfungen zu den bereits vorhandenen Bereichen */
.account-shortcuts { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; }
.account-shortcuts a { display:flex; flex-direction:column; gap:6px; border:1px solid #d7dfda; border-radius:8px; padding:1rem; color:#173e3c; text-decoration:none; }
.account-shortcuts a:hover, .account-shortcuts a:focus-visible { background:#e8f0e9; }
.account-shortcuts span { font-size:.9rem; font-weight:400; }

/* Konto: Änderungsformulare im Bereich Kontodaten einklappen */
.account-security-actions { display:grid; gap:.6rem; margin-top:1.1rem; }
.account-setting-fold { border:1px solid #d7dfda; border-radius:8px; overflow:hidden; }
.account-setting-fold summary { padding:.75rem 1rem; cursor:pointer; font-weight:600; color:#173e3c; }
.account-setting-fold summary:hover, .account-setting-fold summary:focus-visible { background:#e8f0e9; }
.account-setting-fold[open] > summary { border-bottom:1px solid #d7dfda; }
.account-setting-fold-body { padding:1rem; }
.account-setting-fold-body .profile-form { max-width:100%; }
.account-setting-fold-body input:not([type="hidden"]) { width:100%; max-width:100%; box-sizing:border-box; }

/* Registrierung: unmittelbare Feldprüfung ohne Neuladen */
.registration-availability { display:block; min-height:1.3em; margin-top:.3rem; font-size:.9rem; }
.registration-availability[data-state="available"] { color:#196d45; }
.registration-availability[data-state="unavailable"] { color:#b42335; }
.registration-availability[data-state="checking"] { color:#657a73; }
#registration-feedback:not([hidden]) { padding:.75rem 1rem; border-radius:8px; background:#fbe7e7; color:#8e2030; }
#registration-form button:disabled { opacity:.65; cursor:wait; }


/* Dynamische Startseite: echte Cover und einfache Suche. */
.bv-home .hero-art .bv-home-hero-book{position:absolute;display:block;width:165px;height:250px;z-index:1;box-shadow:8px 16px 24px #193f4224;border-radius:2px 6px 6px 2px;overflow:hidden;background:#244b47;transition:transform .2s ease}
.bv-home .hero-art .bv-home-hero-book img{display:block;width:100%;height:100%;object-fit:cover}
.bv-home .hero-art .bv-home-hero-book {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}
.bv-home .bv-home-hero-first{left:35px;top:47px;transform:rotate(-12deg)}
.bv-home .bv-home-hero-second{right:22px;top:77px;transform:rotate(9deg)}
.bv-home .bv-home-hero-first:hover,.bv-home .bv-home-hero-first:focus-visible{transform:rotate(-8deg) translateY(-6px)}
.bv-home .bv-home-hero-second:hover,.bv-home .bv-home-hero-second:focus-visible{transform:rotate(5deg) translateY(-6px)}
.bv-home-book-placeholder,.bv-home-book-cover-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px;text-align:center;background:#244b47;color:#f4eac8;padding:20px 10px;overflow:hidden}
.bv-home-book-placeholder{width:100%;height:100%}
.bv-home-book-placeholder strong,.bv-home-book-cover-placeholder strong{font:normal 21px/1.15 var(--serif);overflow-wrap:anywhere}
.bv-home-book-placeholder small,.bv-home-book-cover-placeholder small{font-size:8px;letter-spacing:1px;overflow-wrap:anywhere}
.bv-home-hero-empty{position:relative;z-index:1;max-width:240px;text-align:center;color:var(--ink);font:italic 19px/1.5 var(--serif)}
.bv-home-hero-empty span{font:normal 48px var(--serif);color:#b2795e}
.bv-home-hero-empty p{margin:0}
.bv-home .hero-art:has(.bv-home-hero-book) .art-caption{z-index:2}
.bv-home .searchbox{background:#fff}
.bv-home-search-options{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px}
.bv-home-search-options>label{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--ink);font-weight:600}
.bv-home-search-options select{min-width:195px;max-width:270px;border:1px solid #cbd5ce;border-radius:6px;background:#fafbf8;color:var(--ink);padding:9px 12px}
.bv-home-search-submit{display:inline-flex;align-items:center;gap:12px;background:var(--ink);color:#fff;padding:11px 17px;border-radius:6px;font-size:13px}
.bv-home-advanced-search{font-size:12px;margin-left:auto}
.bv-home-book-cover-link{height:245px;align-items:center}
.bv-home-book-cover-image{display:block;width:auto;max-width:100%;height:195px;object-fit:contain;border-radius:2px 5px 5px 2px;box-shadow:4px 7px 10px #203b3226}
.bv-home-book-cover-placeholder{width:130px;height:195px;border-radius:2px 5px 5px 2px;box-shadow:4px 7px 10px #203b3226}
.bv-home-book-title{color:var(--ink);font-weight:normal;line-height:1.3;margin:5px 0;display:block}
.bv-home-book-title:hover{color:#00634f;text-decoration:underline;font-weight:normal}
.bv-home-community-link{display:inline-block;font-size:12px;margin-top:7px}
@media(max-width:900px){.bv-home .hero-art .bv-home-hero-book{width:140px;height:218px}.bv-home .bv-home-hero-first{left:0}.bv-home .bv-home-hero-second{right:0}}
@media(max-width:700px){.bv-home .hero-art .bv-home-hero-book{width:140px;height:218px}.bv-home .bv-home-hero-first{left:25px;top:30px}.bv-home .bv-home-hero-second{right:20px;top:55px}.bv-home-search-options{align-items:stretch;gap:12px}.bv-home-search-options>label{flex:1 1 100%}.bv-home-search-options select{flex:1;max-width:none;min-width:0}.bv-home-search-submit{justify-content:center}.bv-home-advanced-search{margin-left:0}.bv-home-book-cover-link{height:auto;min-height:175px}.bv-home-book-cover-image{height:165px}.bv-home-book-cover-placeholder{width:110px;height:165px}}
@media(prefers-reduced-motion:reduce){.bv-home .hero-art .bv-home-hero-book{transition:none}}


/* Impressum und Datenschutzerklärung */
.bv-legal{max-width:880px;padding-top:2.7rem;padding-bottom:4rem}
.bv-legal h1{margin:.65rem 0 1.35rem}
.bv-legal section{padding:1.1rem 0;border-top:1px solid var(--line)}
.bv-legal section h2{font:normal clamp(1.25rem,2.1vw,1.65rem)/1.25 var(--serif);margin:0 0 .75rem}
.bv-legal p,.bv-legal address{font-size:.94rem;line-height:1.8;color:var(--ink);margin:0 0 .85rem;overflow-wrap:anywhere}
.bv-legal address{font-style:normal}
.bv-legal .bv-legal-intro{color:var(--muted);margin-bottom:1.6rem}
.bv-legal .bv-legal-updated{font-size:.78rem;color:var(--muted);margin-top:1.2rem}
.bv-legal a{text-decoration:underline;text-underline-offset:.16em}
.bv-footer-legal{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;font-size:.8rem}
.bv-footer-legal a{font-weight:500}
@media(max-width:700px){.bv-legal{padding-top:1.6rem;padding-bottom:2.5rem}.bv-legal section{padding:1rem 0}}


/* Administration: Registrierung und einmalige Einladungen */
.bv-invitations{max-width:1080px;padding-top:2rem;padding-bottom:4rem}
.bv-invitations h1{margin:.65rem 0 .5rem}
.bv-invitation-panel{padding:1.4rem;margin:1.35rem 0;border:1px solid #dce4dc;border-radius:14px;background:#f5f3ed}
.bv-invitation-panel h2{margin:0 0 .65rem;font:normal 1.55rem/1.25 var(--serif)}
.bv-invitation-panel h3{margin:.65rem 0}
.bv-invitation-panel p{margin:.35rem 0 .9rem;line-height:1.55}
.bv-invitation-form{display:flex;align-items:end;flex-wrap:wrap;gap:.75rem}
.bv-invitation-form label{width:100%;font-weight:600}
.bv-invitation-form select{min-width:280px;max-width:100%;width:auto;margin:0}
.bv-invitation-form input[type=number]{width:100px;margin:0}
.bv-invitation-form button{margin:0;width:auto}
.bv-invitation-help{font-size:.84rem;color:var(--muted);margin-top:1rem!important}
.bv-invitation-new{padding:1rem;margin-top:1rem;border:1px solid #b5cfc2;border-radius:10px;background:#e9f2e9}
.bv-invitation-new textarea{font-family:ui-monospace,monospace;max-width:100%;width:100%;margin:.4rem 0}
.bv-invitation-new button{width:auto}
.bv-invitation-notice{padding:.8rem 1rem;background:#e4eee5;border-radius:8px}
.bv-invitation-table-wrap{overflow-x:auto}
.bv-invitation-table{border-collapse:collapse;width:100%;font-size:.86rem}
.bv-invitation-table th,.bv-invitation-table td{padding:.75rem .5rem;border-bottom:1px solid #dce3d9;text-align:left;vertical-align:middle}
.bv-invitation-table form{margin:0}
.bv-invitation-table button{width:auto;padding:.35rem .65rem;margin:0}
@media(max-width:640px){.bv-invitation-panel{padding:1rem}.bv-invitation-form{align-items:stretch}.bv-invitation-form select{width:100%;min-width:0}}


/* Buchverbunden Feedback / Beta tickets */
.bv-feedback-trigger{position:fixed;right:1.2rem;bottom:1.2rem;z-index:300;background:#244b47;color:#fff;border:0;border-radius:999px;padding:.72rem 1.15rem;width:auto;box-shadow:0 7px 25px #162f2d42;cursor:pointer;font-weight:650}
.bv-feedback-trigger:hover,.bv-feedback-trigger:focus-visible{background:#34675f;color:#fff}
.bv-feedback-overlay[hidden]{display:none!important}
.bv-feedback-overlay{position:fixed;inset:0;z-index:2000;background:#0b29259e;display:grid;place-items:center;padding:1rem}
.bv-feedback-dialog-open{overflow:hidden}
.bv-feedback-dialog{background:#fffdf9;border-radius:16px;width:min(560px,100%);max-height:calc(100dvh - 2rem);overflow-y:auto;padding:1.5rem;box-shadow:0 16px 55px #0a272650}
.bv-feedback-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:1rem}
.bv-feedback-dialog-head h2{margin:.1rem 0 1rem;font:normal 1.7rem/1.3 var(--serif)}
.bv-feedback-dialog-head button{border:0;background:transparent;color:var(--ink);font-size:1.1rem;padding:.2rem .55rem;width:auto}
.bv-feedback-dialog label,.bv-feedback-reply label,.bv-feedback-status-form label{display:block;font-weight:600;margin:.75rem 0 .3rem}
.bv-feedback-dialog input,.bv-feedback-dialog select,.bv-feedback-dialog textarea,.bv-feedback-reply textarea{width:100%;max-width:100%;margin:0;box-sizing:border-box}
.bv-feedback-dialog textarea,.bv-feedback-reply textarea{resize:vertical}
.bv-feedback-url-label{font-size:.75rem;color:var(--muted);overflow-wrap:anywhere;margin:.8rem 0}
.bv-feedback-message{font-size:.88rem;min-height:1em;margin:.4rem 0}
.bv-feedback-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.8rem}
.bv-feedback-actions button{width:auto;margin:0}
.bv-feedback-page{padding-top:2rem;padding-bottom:4rem}
.bv-feedback-page h1{margin:.7rem 0 .5rem}
.bv-feedback-list-grid{display:grid;grid-template-columns:minmax(225px,1fr) minmax(0,1.7fr);gap:1rem;margin:1.5rem 0}
.bv-feedback-list{display:grid;align-content:start;gap:.65rem;max-height:70vh;overflow:auto}
.bv-feedback-ticket-item{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;padding:.9rem 1rem;background:#f5f3ed;border:1px solid #dde4dd;border-radius:12px;cursor:pointer;color:var(--ink);gap:.4rem}
.bv-feedback-ticket-item:hover,.bv-feedback-ticket-item.is-selected{border-color:#568277;background:#ecf3ec}
.bv-feedback-ticket-item.is-unread{border-left:4px solid #ad5437}
.bv-feedback-ticket-top{display:flex;justify-content:space-between;gap:.7rem;font-size:.73rem;color:var(--muted)}
.bv-feedback-ticket-item strong{font-size:1rem}
.bv-feedback-ticket-item small{font-size:.75rem;color:var(--muted)}
.bv-feedback-thread{border:1px solid #dde4dd;border-radius:13px;padding:1.4rem;background:#fffdf9;min-height:300px;min-width:0}
.bv-feedback-thread h2{margin:0 0 .8rem;font:normal 1.55rem/1.3 var(--serif)}
.bv-feedback-thread-meta{font-size:.8rem;color:var(--muted);overflow-wrap:anywhere}
.bv-feedback-source{text-decoration:underline}
.bv-feedback-conversation{display:flex;flex-direction:column;gap:.85rem;margin:1.4rem 0}
.bv-feedback-bubble{padding:.8rem 1rem;border:1px solid #e3e8df;background:#f6f4ef;border-radius:11px;max-width:92%;overflow-wrap:anywhere}
.bv-feedback-bubble.is-admin{background:#e8f0e9;border-color:#d3e3d5;align-self:flex-end}
.bv-feedback-bubble p{white-space:pre-wrap;line-height:1.5;margin:.45rem 0}
.bv-feedback-bubble small{font-size:.72rem;color:var(--muted)}
.bv-feedback-reply{border-top:1px solid #dde4dd;padding-top:1rem}
.bv-feedback-reply button,.bv-feedback-status-form button{width:auto;margin:.65rem 0}
.bv-feedback-status-form{border-top:1px solid #dde4dd;padding-top:.8rem}
.bv-feedback-status-form select{max-width:270px;display:block}
.bv-feedback-thread-result{font-size:.82rem;color:#a13e2d}
@media(max-width:720px){.bv-feedback-list-grid{grid-template-columns:1fr}.bv-feedback-list{max-height:300px}.bv-feedback-thread{padding:1rem}.bv-feedback-trigger{right:.7rem;bottom:.7rem}.bv-feedback-dialog{padding:1rem}}
