/* HCPC Wiki: SINGLE STYLESHEET V2.0.0
   Public + admin Wiki modules. Scoped CSS. Other site stylesheets remain untouched.
   DO NOT add global .grid / .row / body overrides.
*/

/* MODULE: wiki.css */
.wiki-home {
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.wiki-hero,
.wiki-search-panel,
.wiki-category-card,
.wiki-future-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    background: rgba(17, 24, 39, 0.78);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.wiki-hero {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.wiki-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 90% 10%, rgba(62, 207, 142, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.025), transparent 44%);
}

.wiki-hero__eyebrow,
.wiki-section-head__eyebrow {
    position: relative;
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.72;
}

.wiki-hero__content {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.wiki-hero h1,
.wiki-section-head h2 {
    margin: 0;
    line-height: 1.08;
}

.wiki-hero h1 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

.wiki-hero__lead {
    max-width: 820px;
    margin: 12px 0 0;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    opacity: 0.78;
}

.wiki-status {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(62, 207, 142, 0.26);
    border-radius: 4px;
    background: rgba(62, 207, 142, 0.10);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wiki-coming-soon {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 26px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 193, 7, 0.18);
    border-radius: 5px;
    background: rgba(255, 193, 7, 0.055);
}

.wiki-coming-soon__icon {
    font-size: 1.6rem;
    line-height: 1;
}

.wiki-coming-soon strong {
    display: block;
    margin-bottom: 4px;
}

.wiki-coming-soon p {
    margin: 0;
    line-height: 1.55;
    opacity: 0.76;
}

.wiki-search-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
}

.wiki-search-field {
    flex: 1 1 640px;
    min-width: 0;
}

.wiki-search-field > span:first-child {
    display: inline-block;
    margin: 0 0 -8px 12px;
    padding: 0 7px;
    position: relative;
    z-index: 2;
    background: rgb(17, 24, 39);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.82;
}

.wiki-search-field__control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.02);
}

.wiki-search-field__icon {
    font-size: 1.3rem;
    opacity: 0.55;
}

.wiki-search-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.wiki-search-field input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.wiki-search-panel small {
    max-width: 420px;
    line-height: 1.45;
    opacity: 0.58;
}

.wiki-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 34px 0 14px;
}

.wiki-section-head h2 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.wiki-section-head__count {
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.58;
}

.wiki-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wiki-category-card {
    display: flex;
    min-height: 235px;
    flex-direction: column;
    padding: 20px;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.wiki-category-card:hover,
.wiki-category-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(62, 207, 142, 0.30);
    background: rgba(24, 33, 48, 0.94);
    outline: none;
}

.wiki-category-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.wiki-category-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    background: rgba(255,255,255,0.04);
    font-size: 1.45rem;
}

.wiki-category-card__badge {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.64;
}

.wiki-category-card h3 {
    margin: 0 0 9px;
    font-size: 1.08rem;
}

.wiki-category-card p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.68;
}

.wiki-category-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.72;
}

.wiki-future-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.wiki-future-card {
    padding: 18px 20px;
}

.wiki-future-card span {
    display: block;
    margin-bottom: 5px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.54;
}

.wiki-future-card strong {
    font-size: 0.94rem;
}

@media (max-width: 1180px) {
    .wiki-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .wiki-home {
        width: min(100% - 22px, 1480px);
        padding-top: 20px;
    }

    .wiki-hero {
        padding: 22px;
    }

    .wiki-hero__content,
    .wiki-search-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .wiki-search-field {
        flex-basis: auto;
    }

    .wiki-search-panel small {
        max-width: none;
    }

    .wiki-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wiki-future-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .wiki-category-grid {
        grid-template-columns: 1fr;
    }

    .wiki-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .wiki-status {
        align-self: flex-start;
    }

    .wiki-category-card {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wiki-category-card {
        transition: none;
    }

    .wiki-category-card:hover,
    .wiki-category-card:focus-visible {
        transform: none;
    }
}

/* HCPC_WIKI_DESIGN_V1_2_0: gemeinsame Designfamilie fuer künftige Wiki-Module */
.hcpc-wiki-layout{width:min(100% - 64px,1440px);margin:30px auto 70px;color:#f1f4f7}
.hcpc-wiki-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:190px;padding:38px 34px;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:radial-gradient(circle at 88% 18%,rgba(234,163,65,.16),transparent 30%),linear-gradient(135deg,#13181e,#0e1217)}
.hcpc-wiki-hero::after{content:"";position:absolute;right:-70px;bottom:-110px;width:300px;height:300px;border:1px solid rgba(234,163,65,.16);border-radius:50%;z-index:-1;pointer-events:none}
.hcpc-wiki-eyebrow{display:block;color:#eba441;font-weight:800;font-size:12px;letter-spacing:.16em;margin-bottom:12px}
.hcpc-wiki-hero h1{margin:0;color:#f4f6f8;font-size:clamp(38px,5vw,64px);line-height:1;letter-spacing:-.04em}
.hcpc-wiki-hero p{margin:15px 0 0;color:#9da8b7;font-size:15px}
.hcpc-wiki-hero__actions{display:flex;gap:10px;flex-wrap:wrap;z-index:1}
.hcpc-wiki-btn,.hcpc-wiki-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #363f49;border-radius:7px;padding:10px 16px;color:#f2f4f6;background:#171d24;text-decoration:none;font:inherit;cursor:pointer}
.hcpc-wiki-btn:hover,.hcpc-wiki-tab:hover{border-color:#eba441;color:#f0ab44}
.hcpc-wiki-btn:not(.hcpc-wiki-btn--secondary),.hcpc-wiki-tab.is-active{background:#e9a440;border-color:#e9a440;color:#111820;font-weight:700}
.hcpc-wiki-controls{margin:20px 0 26px;display:grid;gap:14px}
.hcpc-wiki-tabs{display:flex;flex-wrap:wrap;gap:8px}
.hcpc-wiki-tab{font-size:13px;padding:10px 13px}.hcpc-wiki-tab span{opacity:.7}
.hcpc-wiki-search{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#b3c1d3;font-size:13px}.hcpc-wiki-search>div{display:flex;gap:8px}.hcpc-wiki-search input,.hcpc-wiki-layout input,.hcpc-wiki-layout textarea,.hcpc-wiki-layout select{background:#11171d;border:1px solid #363f49;border-radius:7px;color:#f4f6f8;padding:10px 12px;font:inherit;min-width:0}.hcpc-wiki-search input{width:min(330px,55vw)}
.hcpc-wiki-group{margin:28px 0 36px}.hcpc-wiki-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.hcpc-wiki-section-head small{color:#e9a440;font-size:11px;letter-spacing:.12em;font-weight:800}.hcpc-wiki-section-head h2{margin:5px 0;color:#f4f6f8;font-size:24px}.hcpc-wiki-section-head p{color:#9eacba;font-size:13px;margin:0}.hcpc-wiki-section-head>span{white-space:nowrap;color:#a9b6c7;font-size:12px}
@media(max-width:720px){.hcpc-wiki-layout{width:calc(100% - 28px);margin:16px auto 45px}.hcpc-wiki-hero{padding:28px 20px;min-height:0;display:block}.hcpc-wiki-hero__actions{margin-top:20px}.hcpc-wiki-search{display:block}.hcpc-wiki-search>div{margin-top:9px}}


/* HCPC_WIKI_EDIT_V1_2_1 – gemeinsame Wiki-Styles ausschließlich in wiki.css */
.hcpc-wiki-edit-form{margin-top:22px;display:grid;gap:18px}
.hcpc-wiki-edit-card{padding:24px;border:1px solid #313b45;background:#12181e;border-radius:12px;min-width:0}
.hcpc-wiki-edit-card[hidden]{display:none!important}
.hcpc-wiki-edit-card h2{margin:0 0 19px;color:#f3f5f7;font-size:23px}
.hcpc-wiki-edit-card-head h2{margin-bottom:5px}.hcpc-wiki-edit-card-head p{margin:0 0 20px;color:#a9b6c4;font-size:13px}
.hcpc-wiki-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hcpc-wiki-edit-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#dce3eb;font-size:13px}
.hcpc-wiki-edit-wide{grid-column:1/-1}.hcpc-wiki-edit-card textarea{resize:vertical}
.hcpc-wiki-ingredient-list{display:grid;gap:10px;margin-bottom:14px}
.hcpc-wiki-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.hcpc-wiki-edit-form .hcpc-wiki-map-option{display:flex;align-items:center;flex-direction:row;gap:10px;padding:12px 14px;border:1px solid #36414c;border-radius:7px;background:#151c23;cursor:pointer;color:#e2e8ef}
.hcpc-wiki-map-option:has(input:checked){border-color:#e9a440;background:#29251f}
.hcpc-wiki-edit-form .hcpc-wiki-map-option input{width:17px;height:17px;accent-color:#e9a440;flex:none}
.hcpc-wiki-form-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:2px}
@media(max-width:700px){.hcpc-wiki-edit-card{padding:16px}.hcpc-wiki-edit-grid{grid-template-columns:1fr}}


@media(max-width:700px){.hcpc-wiki-detail-card__inner{grid-template-columns:1fr;padding:17px}.hcpc-wiki-detail-card__head{padding:16px;align-items:flex-start}.hcpc-wiki-detail-card__footer{padding:14px 16px}.hcpc-wiki-detail-maps__content{padding:16px}}



/* MODULE: wiki-dinos.css */
/* HCPC Dino Wiki V1.0.0 - scoped. Follows wiki.css palette and layout; no changes to global CSS. */
.hd-wiki{max-width:1440px;margin:0 auto;color:#e9edf3;padding-bottom:26px}
.hd-wiki *{box-sizing:border-box}
.hd-wiki .hd-breadcrumb{color:#96a7b9;font-size:13px;margin:10px 0 17px}
.hd-wiki a{color:#e9a440;text-decoration:none}
.hd-wiki a:hover{text-decoration:underline}
.hd-wiki .hd-hero{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px;align-items:center}
.hd-wiki .hd-hero h1{margin:6px 0 10px}
.hd-wiki .hd-hero p{margin:0;color:#aab9c8}
.hd-wiki .hd-panel{border:1px solid #303943;border-radius:7px;background:#12181e;padding:20px;margin:0 0 16px;min-width:0}
.hd-wiki .hd-panel p{overflow-wrap:anywhere}
.hd-wiki .hd-actions,.hd-wiki .hd-pills,.hd-wiki .hd-checkboxes{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.hd-wiki .hd-pills{margin:13px 0 20px}
.hd-wiki .hd-pills span,.hd-wiki .hd-pills a{padding:5px 9px;font-size:12px;border:1px solid #414b58;border-radius:4px;color:#c3d4e0;background:#1a242d}
.hd-wiki .hd-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-20px -20px 18px;padding:15px 20px;background:#171e26;border-bottom:1px solid #303943;border-radius:7px 7px 0 0}
.hd-wiki .hd-section-head h2{margin:0;color:#e9edf3;font-size:1.1rem}
.hd-wiki .hd-section-head span{font-size:.8rem;color:#9cabbb}
.hd-wiki .hd-filters{display:grid;grid-template-columns:minmax(200px,2fr) repeat(2,minmax(120px,1fr)) auto auto;align-items:end;gap:12px}
.hd-wiki .hd-field,.hd-wiki .hd-filters label,.hd-wiki .hd-calc-fields label,.hd-wiki .hd-calculator>label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#aab9c8;font-size:13px}
.hd-wiki input:not([type=checkbox]),.hd-wiki select,.hd-wiki textarea{width:100%;color:#f3f7fa;background:#0e141a;border:1px solid #35404a;border-radius:5px;min-height:40px;padding:9px 11px;font:inherit}
.hd-wiki textarea{resize:vertical;min-height:85px}
.hd-wiki input:focus,.hd-wiki select:focus,.hd-wiki textarea:focus{outline:2px solid #e9a440;outline-offset:0}
.hd-wiki input[type=checkbox]{accent-color:#e9a440;width:17px;height:17px}
.hd-wiki .hcpc-wiki-btn{white-space:normal;cursor:pointer;font:inherit}
.hd-wiki .hd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:15px}
.hd-wiki .hd-dino-card{overflow:hidden;background:#171f27;border:1px solid #303943;border-radius:6px}
.hd-wiki .hd-cover{display:flex;align-items:center;justify-content:center;height:168px;background:#10171e;color:#e9a440}
.hd-wiki .hd-cover img{width:100%;height:100%;object-fit:contain;padding:8px}
.hd-wiki .hd-cover span{font-size:65px}
.hd-wiki .hd-dino-body{padding:15px}
.hd-wiki .hd-dino-body h3{margin:0;font-size:1.14rem}
.hd-wiki .hd-dino-body p{margin:8px 0;color:#aab9c8;font-size:13px}
.hd-wiki .hd-dino-body .hd-pills{margin:8px 0 18px}
.hd-wiki .hd-link{font-size:13px;font-weight:700}
.hd-wiki .hd-empty{color:#aab9c8;padding:15px}
.hd-wiki .hd-detail-hero{display:flex;gap:28px;align-items:center}
.hd-wiki .hd-hero-image{width:clamp(160px,30%,310px);min-width:145px;height:205px;flex:none;background:#0c1319;border:1px solid #303943;border-radius:5px;display:grid;place-items:center}
.hd-wiki .hd-hero-image img{width:100%;height:100%;object-fit:contain;padding:10px}
.hd-wiki .hd-hero-image span{font-size:80px}
.hd-wiki .hd-detail-info{min-width:0;flex:1}
.hd-wiki .hd-detail-info h1{margin:5px 0;font-size:clamp(23px,3vw,34px)}
.hd-wiki .hd-detail-info p{color:#aab9c8;margin:0}
.hd-wiki .hd-tabs{display:flex;gap:3px;overflow-x:auto;margin-bottom:15px;border-bottom:1px solid #303943}
.hd-wiki .hd-tabs a{flex:none;padding:13px 14px;color:#c2cbd5;border:1px solid transparent;border-bottom:3px solid transparent;white-space:nowrap;font-size:13px}
.hd-wiki .hd-tabs a.is-active{border-bottom-color:#e9a440;color:#e9a440;background:#20262d}
.hd-wiki .hd-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.hd-wiki h3{font-size:1rem;color:#ecf1f7}
.hd-wiki .hd-longtext{line-height:1.65;overflow-wrap:anywhere}
.hd-wiki .hd-table-wrap{overflow-x:auto}
.hd-wiki table{border-collapse:collapse;width:100%;min-width:520px}
.hd-wiki th,.hd-wiki td{padding:11px 12px;text-align:left;border-bottom:1px solid #303943;font-size:13px;vertical-align:middle}
.hd-wiki th{background:#1b242d;color:#dae5ef}
.hd-wiki .hd-list{display:grid;gap:11px}
.hd-wiki .hd-list article,.hd-wiki .hd-colors article{border:1px solid #303943;background:#171f27;border-radius:5px;padding:15px}
.hd-wiki .hd-list article h3{margin:0 0 9px}
.hd-wiki .hd-colors{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:13px}
.hd-wiki .hd-colors article>strong{color:#e9a440}
.hd-wiki .hd-command{display:flex;align-items:center;gap:12px;margin-top:10px;border:1px solid #303943;border-radius:5px;padding:9px;background:#0b1218;overflow:hidden}
.hd-wiki .hd-command code{flex:1;color:#dce5f0;font-size:12px;min-width:0;overflow-wrap:anywhere;user-select:all}
.hd-wiki .hd-command button{cursor:pointer;background:#e9a440;color:#151719;border:0;border-radius:4px;padding:8px;flex:none}
.hd-wiki button:disabled{opacity:.45;cursor:not-allowed}
.hd-wiki .hd-calc-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:10px 0}
.hd-wiki .hd-calculator{border:1px solid #394755;background:#172029;border-radius:5px;padding:15px;margin-top:15px}
.hd-wiki .hd-calculator h3{margin:0 0 7px}
.hd-wiki .hd-calculator p,.hd-wiki .hd-muted{color:#9fb0c1;font-size:13px;line-height:1.6}
.hd-wiki .hd-result{display:block;padding:12px;background:#101a20;border-left:3px solid #e9a440;margin:13px 0;font-weight:650;line-height:1.6}
.hd-wiki .hd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hd-wiki .hd-full{grid-column:1/-1}
.hd-wiki .hd-checkboxes{margin:14px 0 3px}
.hd-wiki .hd-checkboxes label{display:flex;align-items:center;gap:7px;border:1px solid #303943;border-radius:5px;padding:10px 12px;background:#171e26}
.hd-wiki .hd-edit-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr)) auto;gap:11px;align-items:end;padding:12px;background:#171e26;border:1px solid #303943;border-radius:5px;margin-bottom:10px}
.hd-wiki .hd-edit-row input[type=checkbox]{margin:12px}
.hd-wiki .hd-remove{cursor:pointer;color:#f3f7fa;background:#8f353b;border:1px solid #b4484f;border-radius:5px;font-size:22px;width:39px;height:39px}
.hd-wiki .hd-form-actions{display:flex;gap:12px;justify-content:flex-end;margin:15px 0 0}
.hd-wiki .hd-notice,.hd-wiki .hd-error{padding:12px 15px;border:1px solid #619b75;background:#12231b;border-radius:5px;margin-bottom:15px}
.hd-wiki .hd-error{background:#32191c;border-color:#cf555e}
.hd-wiki .hd-inline{display:flex;flex-direction:row;align-items:center;gap:8px}
.hd-wiki .hd-actions form{margin:0}
@media(max-width:850px){.hd-wiki .hd-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hd-wiki .hd-two{grid-template-columns:1fr}.hd-wiki .hd-detail-hero{align-items:flex-start}.hd-wiki .hd-calc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hd-wiki .hd-filters,.hd-wiki .hd-form-grid,.hd-wiki .hd-calc-fields{grid-template-columns:1fr}.hd-wiki .hd-detail-hero{flex-direction:column}.hd-wiki .hd-hero-image{width:100%}.hd-wiki .hd-section-head{align-items:flex-start;flex-direction:column}.hd-wiki .hd-edit-row{grid-template-columns:1fr}.hd-wiki .hd-form-actions{flex-wrap:wrap}}

/* DinoWiki V1.0.2: additive/scoped rules, matching existing HCPC palette */
.hd-wiki .hd-upload-grid{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:18px;align-items:start}
.hd-wiki .hd-image-preview{height:210px;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:5px;background:#0c1319;border:1px dashed #465461;color:#93a7b8}
.hd-wiki .hd-image-preview img{width:100%;height:100%;object-fit:contain}
.hd-wiki .hd-image-fallback{color:#9fb0c1;font-size:14px;text-align:center}
.hd-wiki .hd-cover .hd-image-fallback{font-size:14px;padding:15px}
.hd-wiki .hd-hero-image .hd-image-fallback{font-size:14px;padding:12px}
.hd-wiki .hd-breed-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:15px}
.hd-wiki .hd-breed-facts>div{border:1px solid #34434e;border-radius:5px;padding:12px;background:#101920;min-width:0}
.hd-wiki .hd-breed-facts small{display:block;font-size:12px;color:#9fb0c1;line-height:1.4}
.hd-wiki .hd-breed-facts strong{font-size:16px;color:#f1f5f7;display:block;margin-top:6px}
.hd-wiki .hd-breed-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 10px}
.hd-wiki .hd-breed-stages>div{border:1px solid #334451;background:#101820;border-radius:5px;padding:12px;display:flex;flex-wrap:wrap;column-gap:8px;row-gap:5px;align-items:center}
.hd-wiki .hd-breed-stages strong{color:#edf4fa}
.hd-wiki .hd-breed-stages span{font-size:12px;color:#a1b5c3}
.hd-wiki .hd-breed-stages b{font-size:14px;color:#e6a547;margin-left:auto}
.hd-wiki .hd-breed-stages .is-active{border-color:#e9a440;background:#24231c}
.hd-wiki .hd-progress-track{height:9px;background:#0e151c;border:1px solid #303943;border-radius:5px;overflow:hidden}
.hd-wiki .hd-progress-track>div{height:100%;width:0;background:#e9a440;transition:width .15s ease-out}
.hd-wiki .hd-breed-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.hd-wiki .hd-info-box{border:1px solid #34434e;background:#0d161d;padding:15px;border-radius:5px;min-width:0}
.hd-wiki .hd-info-box h3{margin:0 0 12px}
.hd-wiki .hd-info-box p{border-bottom:1px solid #26333d;padding:7px 0;margin:0;font-size:13px;color:#d4e0e9;overflow-wrap:anywhere}
.hd-wiki .hd-abilities{border:1px solid #34404a;background:#0d151a;border-radius:8px;padding:15px}
.hd-wiki .hd-ability-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}
.hd-wiki .hd-ability-choice{cursor:pointer;color:#e4edf4;border:1px solid #303943;background:#1a222a;border-radius:5px;padding:12px 15px;min-width:155px;text-align:left}
.hd-wiki .hd-ability-choice.is-active{border-color:#e9a440;background:#2a281e}
.hd-wiki .hd-ability-choice span,.hd-wiki .hd-ability-choice small{display:block}
.hd-wiki .hd-ability-choice small{margin-top:5px;color:#a9bbca}
.hd-wiki .hd-ability-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}
.hd-wiki .hd-ability-detail[hidden]{display:none}
.hd-wiki .hd-ability-media{aspect-ratio:16/10;min-height:190px;border:1px solid #34404a;border-radius:7px;overflow:hidden;background:#0a1016;display:grid;place-items:center}
.hd-wiki .hd-ability-media iframe,.hd-wiki .hd-ability-media img{width:100%;height:100%;object-fit:contain;border:0}
.hd-wiki .hd-ability-placeholder{font-size:14px;color:#839bae;text-align:center;padding:25px}
.hd-wiki .hd-ability-copy h3{font-size:1.32rem;margin:10px 0}
.hd-wiki .hd-ability-badge{font-weight:700;font-size:11px;color:#e9a440;letter-spacing:.07em}
.hd-wiki .hd-ability-key,.hd-wiki .hd-ability-activation{margin-top:14px;border:1px solid #36434d;background:#151d24;border-radius:5px;padding:12px}
.hd-wiki .hd-ability-activation p{margin:7px 0 0}
.hd-wiki .hd-spawn-advanced{margin-top:19px}
.hd-wiki .hd-spawn-advanced summary{cursor:pointer;font-weight:700;padding:12px 0;color:#e9a440;border-top:1px solid #394755}
.hd-wiki .hd-spawn-commands{display:grid;gap:2px}
.hd-wiki .hd-spawn-command-row{display:grid;grid-template-columns:minmax(165px,1fr) minmax(220px,2fr) auto;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #303c46}
.hd-wiki .hd-spawn-command-row strong{font-size:13px}
.hd-wiki .hd-spawn-command-row p{margin:5px 0 0}
.hd-wiki .hd-spawn-command-row code{display:block;overflow-wrap:anywhere;background:#0b1218;padding:10px;color:#b4e6ed;border:1px solid #303943;border-radius:5px;font-size:12px;user-select:all}
.hd-wiki .hd-spawn-command-row button{background:#1e2c37;border:1px solid #435869;border-radius:5px;color:#e1ebf3;padding:9px;cursor:pointer}
.hd-wiki .hd-spawn-command-row button:hover{border-color:#e9a440}
@media(max-width:850px){.hd-wiki .hd-upload-grid,.hd-wiki .hd-ability-detail{grid-template-columns:1fr}.hd-wiki .hd-breed-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.hd-wiki .hd-spawn-command-row{grid-template-columns:1fr auto}.hd-wiki .hd-spawn-command-row code{grid-row:2;grid-column:1/-1}}
@media(max-width:560px){.hd-wiki .hd-breed-stages,.hd-wiki .hd-breed-results{grid-template-columns:1fr}.hd-wiki .hd-breed-facts{grid-template-columns:1fr 1fr}.hd-wiki .hd-spawn-command-row{grid-template-columns:1fr}.hd-wiki .hd-spawn-command-row code{grid-row:auto;grid-column:auto}}

/* HCPC DinoWiki V1.0.3 — contextual help modal in the variant editor */
.hd-wiki .hd-field-caption{display:flex;gap:7px;align-items:center;min-height:22px}
.hd-wiki .hd-field-caption label{font:inherit;color:inherit;cursor:pointer}
.hd-wiki .hd-help-trigger{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;padding:0;border:1px solid #718497;border-radius:50%;background:#18242d;color:#e9f0f7;font:700 12px/1 Arial,sans-serif;cursor:pointer}
.hd-wiki .hd-help-trigger:hover,.hd-wiki .hd-help-trigger:focus-visible{background:#e9a440;color:#141a20;border-color:#e9a440}
.hd-wiki .hd-help-trigger:focus-visible,.hd-wiki .hd-help-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hd-wiki .hd-help-dialog{position:fixed;max-height:min(90vh,700px);overflow-y:auto;width:min(95vw,520px);padding:0;margin:auto;border:1px solid #445462;border-radius:6px;background:#111920;color:#e9edf3;box-shadow:0 22px 70px #000b;line-height:1.5}
.hd-wiki .hd-help-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(2px)}
.hd-wiki .hd-help-shell{padding:0 19px 18px}
.hd-wiki .hd-help-header{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:0 -19px 16px;padding:14px 16px 14px 19px;border-bottom:1px solid #31404b;background:#19232c}
.hd-wiki .hd-help-header h2{font-size:16px;line-height:1.3;margin:0;font-weight:700;color:#eef2f5}
.hd-wiki .hd-help-close{appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;padding:0;border:1px solid #d16469;border-radius:3px;background:#b7323a;color:white;font-size:22px;line-height:1;cursor:pointer}
.hd-wiki .hd-help-close:hover{background:#d34750;border-color:#f07981}
.hd-wiki .hd-help-dialog [data-hd-help-panel][hidden]{display:none}
.hd-wiki .hd-help-dialog h3{margin:3px 0 9px;color:#e9a440;font-size:15px}
.hd-wiki .hd-help-dialog p{margin:0 0 13px;color:#c6d3de;font-size:13px;line-height:1.65}
.hd-wiki .hd-help-dialog p:last-child{margin-bottom:0}
.hd-wiki .hd-help-dialog code{padding:2px 5px;border-radius:3px;background:#0a1118;border:1px solid #31424f;color:#c6e5ec;white-space:nowrap}
.hd-wiki .hd-help-dialog .hd-help-note{padding-top:11px;border-top:1px solid #2e3c46;font-size:12px;color:#9fb1c0}
.hd-wiki .hd-help-examples{display:grid;grid-template-columns:1fr 1.25fr;align-items:center;gap:10px;padding:12px;margin:0 0 13px;border:1px solid #344450;border-radius:5px;background:#0d151c;font-size:13px}
.hd-wiki .hd-help-examples>span{font-size:11px;font-weight:700;color:#9fb3c3}
.hd-wiki .hd-help-examples>strong{color:#f1f5f9}
@media(max-width:440px){.hd-wiki .hd-help-shell{padding:0 14px 16px}.hd-wiki .hd-help-header{margin:0 -14px 13px;padding:12px 14px}.hd-wiki .hd-help-header h2{font-size:14px}}

/* V1.0.4 compact editor; dynamic/repeatable sections remain full width */
.hd-wiki .hd-editor--compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;align-items:start}
.hd-wiki .hd-editor--compact>.hd-panel{grid-column:1/-1}
.hd-wiki .hd-editor--compact>.hd-panel--half{grid-column:span 1}
.hd-wiki .hd-editor--compact>.hd-panel--half .hd-form-grid{grid-template-columns:1fr}
.hd-wiki .hd-editor--compact>.hd-panel--half .hd-upload-grid{grid-template-columns:1fr}
.hd-wiki .hd-editor--compact>.hd-panel--half .hd-image-preview{max-height:165px}
.hd-wiki .hd-help-caption{display:inline-flex;gap:7px;align-items:center;flex-wrap:wrap}
.hd-wiki .hd-help-caption .hd-help-trigger{width:19px;height:19px;vertical-align:middle}
.hd-wiki .hd-help-example{border:1px solid #344450;border-radius:5px;padding:11px;background:#0d151c;color:#e9a440!important}
@media(max-width:1050px){.hd-wiki .hd-editor--compact{grid-template-columns:1fr}.hd-wiki .hd-editor--compact>.hd-panel--half{grid-column:1/-1}}

/* DinoWiki V1.0.4: question buttons beside labels, never inside labels */
.hd-wiki .hd-editor--compact>.hd-panel--basics .hd-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hd-wiki .hd-field-caption{display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap;min-height:22px}
.hd-wiki .hd-field-caption label{font:inherit;line-height:1.3;color:#aab9c8;cursor:pointer}
.hd-wiki .hd-checkbox-help{display:inline-flex;gap:5px;align-items:center;min-width:0;max-width:100%}
.hd-wiki .hd-checkbox-help label{margin:0}
.hd-wiki .hd-checkbox-help .hd-help-trigger{margin-left:2px}
.hd-wiki .hd-editor--compact>.hd-panel--media .hd-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:660px){.hd-wiki .hd-editor--compact>.hd-panel--basics .hd-form-grid,.hd-wiki .hd-editor--compact>.hd-panel--media .hd-form-grid{grid-template-columns:1fr}}


/* MODULE: wiki-dino-variants.css */
/* HCPC DinoWiki variants V1.0.20: dark layout, scoped CSS only. */
.hd-wiki .hd-variant-count{font-size:12px;color:#9ab1c0;margin:8px 0;font-weight:600}
.hd-wiki .hd-variant-more{font-size:12px;font-weight:500;margin-left:9px;color:#dfad69;text-decoration:none}
.hd-wiki .hd-variant-more:hover{text-decoration:underline}
.hd-wiki .hd-variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px}
.hd-wiki .hd-variant-card{min-width:0;padding:14px;border:1px solid #344552;border-radius:5px;background:#111d29;color:#dde6ef}
.hd-wiki .hd-variant-card-head{display:flex;gap:8px;align-items:start;justify-content:space-between;flex-wrap:wrap}
.hd-wiki .hd-variant-card-head strong{font-size:15px}
.hd-wiki .hd-variant-card-head span{font-size:11px;border:1px solid #4a5a68;padding:3px 7px;border-radius:5px;color:#b7c7d3}
.hd-wiki .hd-variant-class{font-size:12px;margin:12px 0 6px;overflow-wrap:anywhere}
.hd-wiki .hd-variant-class code,.hd-wiki .hd-variant-path code{overflow-wrap:anywhere}
.hd-wiki .hd-variant-check{font-size:12px;color:#9db1bf;margin:6px 0}
.hd-wiki .hd-variant-path{font-size:12px;color:#9db1bf;overflow-wrap:anywhere}
@media(max-width:560px){.hd-wiki .hd-variant-card{padding:12px}.hd-wiki .hd-variant-grid{grid-template-columns:1fr}}


/* MODULE: wiki-dino-categories.css */
/* HCPC Dino-Wiki V1.0.29 — scoped categories; retains existing wiki.css and wiki-dinos.css. */
.hd-wiki .hd-catalog-panel{overflow:visible}
.hd-wiki .hd-category-hint{margin:0 0 19px;color:#abbac6;font-size:.88rem;line-height:1.55}
.hd-wiki .hd-category-list{display:grid;gap:18px}
.hd-wiki .hd-category-group{border:1px solid #34414b;border-radius:7px;background:#131b22;overflow:hidden}
.hd-wiki .hd-category-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#19232c;padding:13px 16px;border-bottom:1px solid #34414b}
.hd-wiki .hd-category-title{display:flex;align-items:center;gap:10px;min-width:0}
.hd-wiki .hd-category-icon{font-size:1.15rem;line-height:1}
.hd-wiki .hd-category-title h3{margin:0;font-size:1.09rem;font-weight:700;color:#f1f5f8}
.hd-wiki .hd-category-total{font-size:.8rem;font-weight:700;padding:3px 8px;color:#dfebf7;border:1px solid #445464;border-radius:16px;background:#24313d;white-space:nowrap}
.hd-wiki .hd-category-toggle{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #526170;background:transparent;color:#ebf2f8;border-radius:5px;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;min-height:35px;padding:5px 10px;flex:none}
.hd-wiki .hd-category-toggle:hover,.hd-wiki .hd-category-toggle:focus-visible{background:#283744;border-color:#df9b3d}
.hd-wiki .hd-category-toggle:focus-visible{outline:2px solid #df9b3d;outline-offset:2px}
.hd-wiki .hd-category-chevron{font-size:1.1rem;line-height:1;transition:transform .2s ease}
.hd-wiki .hd-category-group[data-expanded="true"] .hd-category-chevron{transform:rotate(180deg)}
.hd-wiki .hd-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:15px}
.hd-wiki .hd-catalog-card{position:relative;min-width:0;display:flex;flex-direction:column;height:100%}
.hd-wiki .hd-catalog-card .hd-cover{height:150px}
.hd-wiki .hd-catalog-card .hd-dino-body{display:flex;flex:1;flex-direction:column;padding:12px}
.hd-wiki .hd-catalog-card .hd-dino-body h4{margin:0;font-size:1rem;line-height:1.4}
.hd-wiki .hd-catalog-card .hd-dino-body p{line-height:1.4;overflow-wrap:anywhere}
.hd-wiki .hd-catalog-card .hd-pills{gap:5px;margin:5px 0 15px}
.hd-wiki .hd-catalog-card .hd-pills span{font-size:11px;padding:4px 6px}
.hd-wiki .hd-catalog-card .hd-link{margin-top:auto}
.hd-wiki .hd-variant-bubble{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;min-width:34px;width:34px;height:34px;padding:0 4px;z-index:2;color:#131a20;background:#edae52;border:2px solid #131a20;border-radius:50%;font-size:.85rem;font-weight:800;line-height:1;box-shadow:0 2px 6px #0008}
.hd-wiki .hd-category-empty{color:#9eb0bf;font-size:.87rem;padding:18px}
html.hd-category-js .hd-wiki .hd-category-group:not([data-expanded="true"]) .hd-catalog-card:nth-child(n+5){display:none}
@media(max-width:1050px){.hd-wiki .hd-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hd-wiki .hd-category-grid{grid-template-columns:1fr}.hd-wiki .hd-category-header{padding:11px;align-items:flex-start}.hd-wiki .hd-category-title{flex-wrap:wrap}.hd-wiki .hd-category-title h3{font-size:1rem}.hd-wiki .hd-category-toggle{font-size:.75rem;padding:5px 8px}.hd-wiki .hd-catalog-card .hd-cover{height:190px}}
@media(prefers-reduced-motion:reduce){.hd-wiki .hd-category-chevron{transition:none}}


/* MODULE: wiki-dino-buildings.css */
/* HCPC_DINO_BUILDING_MEDIA_V1_0_15 - inherits existing HCPC colors and typography */
[data-hd-repeater="buildings"] .hd-edit-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;min-width:0}
[data-hd-repeater="buildings"] .hd-edit-row > .hd-field:first-of-type,
[data-hd-repeater="buildings"] .hd-edit-row > .hd-field:nth-of-type(2),
[data-hd-repeater="buildings"] .hd-building-upload,
[data-hd-repeater="buildings"] .hd-building-existing{grid-column:1/-1}
[data-hd-repeater="buildings"] .hd-edit-row .hd-remove{grid-column:1/-1;justify-self:end}
.hd-building-upload{position:relative;border:1px dashed var(--border-color, #66768e);border-radius:5px;padding:18px;min-height:110px;cursor:pointer;display:flex;flex-direction:column;gap:6px;justify-content:center;background:var(--card-bg,transparent);transition:border-color .15s,background .15s}
.hd-building-upload:hover,.hd-building-upload:focus-visible,.hd-building-upload.is-over{border-color:var(--primary,#78a9db);background:rgba(96,142,196,.08);outline-offset:2px}
.hd-building-upload strong{font-weight:650}.hd-building-upload small{opacity:.78}
.hd-building-upload input[type=file]{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.hd-building-pending{font-size:.86em;display:grid;gap:4px}.hd-building-file-item{overflow-wrap:anywhere}.hd-building-file-item.is-invalid{color:#e76b6b}
.hd-building-existing{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}
.hd-building-existing-item{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--border-color,#53647b);border-radius:5px;min-width:0}
.hd-building-existing-item img{width:100%;height:90px;object-fit:cover;border-radius:4px}
.hd-building-existing-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.78em}
.hd-building-video-symbol{height:90px;display:grid;place-items:center;background:rgba(127,145,165,.12)}
.hd-building-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.hd-building-card{min-width:0;border:1px solid var(--border-color,#53647b);border-radius:5px;padding:16px;display:grid;gap:10px;align-content:start}
.hd-building-card h3,.hd-building-materials h4{margin:0}.hd-building-card p{margin:0}
.hd-building-materials{padding:12px;border:1px solid var(--border-color,#53647b);border-radius:5px}
.hd-building-materials ul{margin:8px 0;padding-left:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
.hd-building-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:8px}
.hd-building-thumb{appearance:none;background:rgba(127,145,165,.12);border:1px solid var(--border-color,#53647b);border-radius:5px;min-height:86px;overflow:hidden;cursor:pointer;padding:0;color:inherit}
.hd-building-thumb:hover,.hd-building-thumb:focus-visible{border-color:var(--primary,#78a9db);outline-offset:2px}
.hd-building-thumb img{width:100%;height:100px;object-fit:cover;display:block}
.hd-building-video-tile{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.6rem;gap:6px}.hd-building-video-tile small{font-size:.7rem}
.hd-building-modal{padding:0;border:1px solid var(--border-color,#596c83);border-radius:5px;background:#142032;color:#f2f6fd;width:min(96vw,1100px);max-height:92dvh;box-shadow:0 20px 55px #0009}
.hd-building-modal::backdrop{background:rgba(0,0,0,.82)}
.hd-building-modal-inner{display:flex;flex-direction:column;min-height:180px;max-height:92dvh}
.hd-building-modal header,.hd-building-modal footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}
.hd-building-modal header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-building-modal-close{background:#b22b35;border:1px solid #e85b64;border-radius:4px;color:white;font-size:24px;line-height:1;width:32px;height:32px;cursor:pointer;flex-shrink:0}
.hd-building-modal-close:hover{background:#d43a46}
.hd-building-modal-stage{display:grid;place-items:center;min-height:100px;overflow:hidden;flex:1}
.hd-building-modal-stage img,.hd-building-modal-stage video{max-width:100%;max-height:calc(92dvh - 115px);object-fit:contain;display:block}
.hd-building-modal footer{border-top:1px solid #42516b}.hd-building-modal footer button:disabled{opacity:.4;cursor:default}
@media(max-width:720px){[data-hd-repeater="buildings"] .hd-edit-row{grid-template-columns:minmax(0,1fr)}[data-hd-repeater="buildings"] .hd-edit-row > *{grid-column:1/-1}.hd-building-grid{grid-template-columns:1fr}.hd-building-modal header,.hd-building-modal footer{padding:8px}.hd-building-materials ul{grid-template-columns:1fr 1fr}}


/* MODULE: wiki-dino-community.css */
/* HCPC_DINO_COMMUNITY_V1_0_21: extend existing HCPC wiki styles, no inline styling */
.hcpc-community-editor,.hcpc-community-add,.hcpc-community-gallery,.hcpc-community-review,.hcpc-community-my,.hcpc-community-audit,.hcpc-community-head{padding:18px;margin-top:14px}
.hcpc-community-editor form,.hcpc-community-add form{display:grid;gap:14px}
.hcpc-community-fields,.hcpc-community-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.hcpc-community-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.hcpc-community-field input,.hcpc-community-field select,.hcpc-community-field textarea,.hcpc-community-add input,.hcpc-community-add select,.hcpc-community-add textarea,.hcpc-review-item textarea{width:100%;box-sizing:border-box;background:transparent;border:1px solid #475464;border-radius:5px;color:inherit;padding:10px;min-height:38px;font:inherit}
.hcpc-community-field input[type=checkbox]{width:20px;min-height:20px}
.hcpc-community-field span,.hcpc-community-add label span{font-size:.84rem;color:#b5c1cc}
.hcpc-community-help{font-size:.9rem;color:#a5b5c4;line-height:1.5}
.hcpc-community-repeater{display:grid;gap:12px}
.hcpc-community-repeat-row{padding:14px;border:1px solid #323d49;border-radius:5px;display:grid;gap:10px}
.hcpc-community-repeat-row>button{justify-self:end}
.hcpc-community-map-group{border:1px solid #364655;border-radius:5px;padding:12px;display:flex;flex-wrap:wrap;gap:10px}
.hcpc-community-map{display:inline-flex;align-items:center;gap:7px}
.hcpc-community-map input{width:16px;height:16px}
.hcpc-community-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:26px 12px;border:1px dashed #6b7d91;border-radius:5px;cursor:pointer;min-height:110px}
.hcpc-community-drop.dragging{outline:2px solid #eaa83c}
.hcpc-community-drop small,.hcpc-community-upload-preview small{color:#9fb0c3}
.hcpc-community-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.hcpc-community-upload-preview img,.hcpc-community-upload-preview video{max-height:220px;max-width:100%;object-fit:contain}
.hcpc-community-upload-preview{display:grid;gap:7px}
.hcpc-community-check{display:flex;gap:10px;align-items:flex-start}
.hcpc-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}
.hcpc-gallery-item{padding:0;background:#111a22;border:1px solid #435161;border-radius:5px;overflow:hidden;color:inherit;min-height:140px;cursor:pointer;display:flex;flex-direction:column;text-align:left}
.hcpc-gallery-item img{width:100%;height:155px;object-fit:cover}
.hcpc-gallery-video-icon{height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:2rem}
.hcpc-gallery-video-icon small{font-size:.75rem}
.hcpc-gallery-caption{padding:9px;font-size:.8rem}
.hcpc-community-my summary,.hcpc-community-audit summary{cursor:pointer;font-weight:600;padding:10px}
.hcpc-community-records{border-top:1px solid #37424c;margin-top:12px;padding-top:8px}
.hcpc-community-records p{padding:9px 4px;border-bottom:1px solid #303b45;color:#b7c6d6}
.hcpc-community-confirm pre,.hcpc-review-json{white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;background:#0b131b;padding:14px;border:1px solid #394653;border-radius:5px;color:#d5e1ef}
.hcpc-community-review .hcpc-review-item{border:1px solid #3a4753;border-radius:5px;padding:16px;margin:13px 0}
.hcpc-review-title{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hcpc-review-title span{color:#a2b1bd}
.hcpc-review-item details{margin:12px 0}.hcpc-review-item summary{cursor:pointer}
.hcpc-review-actions{display:grid;gap:10px}.hcpc-review-actions label{display:grid;gap:8px}
.hcpc-community-modal{border:1px solid #566476;background:#0a1118;color:#e8eef4;border-radius:5px;padding:15px;max-width:min(94vw,1050px);max-height:92vh}
.hcpc-community-modal::backdrop{background:rgba(0,0,0,.85)}
.hcpc-community-modal-inner{display:grid;gap:9px;position:relative;min-width:min(90vw,550px)}
.hcpc-community-modal-inner img,.hcpc-community-modal-inner video{display:block;max-width:100%;max-height:72vh;margin:auto}
.hcpc-community-modal-inner iframe{width:100%;height:min(70vh,550px);border:0}
.hcpc-community-modal-close{justify-self:end;background:#b43232;color:white;border:0;border-radius:5px;width:32px;height:32px;cursor:pointer}
.hcpc-community-modal footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hcpc-community-modal footer button{background:transparent;color:inherit;border:1px solid #546477;border-radius:5px;padding:8px 12px;cursor:pointer}
@media(max-width:600px){.hcpc-community-fields,.hcpc-community-cols{grid-template-columns:1fr}.hcpc-review-actions .hd-actions{flex-wrap:wrap}.hcpc-community-modal-inner{min-width:0}}

.hcpc-review-diff{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.hcpc-community-error{padding:24px}.hcpc-community-inbox{padding:18px}.hcpc-community-inbox article{border-bottom:1px solid #354454;padding:12px 0}


/* MODULE: wiki-dino-community-gallery.css */
/* HCPC Dino Wiki Galerie V1.0.27 – uniform previews, responsive portrait/landscape lightbox. */
.hcpc-community-gallery{margin-top:14px}
.hcpc-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:14px}
.hcpc-gallery-card{min-width:0;display:flex;flex-direction:column;gap:0;border:1px solid #405063;border-radius:5px;overflow:hidden;background:#111920;color:#dce7f3}
.hcpc-v127-screen{height:240px;position:relative;display:flex;align-items:center;justify-content:center;background:#03070c;overflow:hidden}
.hcpc-v127-screen>img,.hcpc-v127-screen>video,.hcpc-v127-screen>iframe,.hcpc-v127-screen .hcpc-v127-native,.hcpc-v127-screen .hcpc-v127-iframe{height:100%;width:100%;display:block;object-fit:contain;border:0}
.hcpc-v127-screen iframe{aspect-ratio:auto}
.hcpc-v127-image-open{display:block;width:100%;height:100%;border:0;background:none;padding:0;cursor:zoom-in}
.hcpc-v127-image-open img{display:block;width:100%;height:100%;object-fit:cover}
.hcpc-v127-screen:fullscreen{height:100vh;width:100vw;display:grid;place-items:center;background:#03070c}
.hcpc-community-modal[data-preview="1"] [data-hcpc-modal-prev],.hcpc-community-modal[data-preview="1"] [data-hcpc-modal-next]{display:none}
.hcpc-v127-placeholder{display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;width:100%;height:100%;padding:16px;text-align:center;background:radial-gradient(circle at 50% 40%,#223547,#070d15)}
.hcpc-v127-provider{font-size:.83rem;color:#cbd8e4}
.hcpc-v127-video-symbol{font-size:2.6rem;color:#eea73c}
.hcpc-v127-play{cursor:pointer;background:#eda638;color:#0c1116;border:1px solid #e7aa51;border-radius:5px;padding:9px 15px;font-weight:650}
.hcpc-v127-card-footer{padding:10px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.hcpc-v127-card-footer .hcpc-v127-caption{font-size:.85rem;color:#bacbdb;min-width:0;overflow-wrap:anywhere;flex:1 1 130px}
.hcpc-v127-card-actions{display:flex;flex-wrap:wrap;gap:7px}
.hcpc-v127-control{cursor:pointer;background:transparent;color:#f1f5f9;border:1px solid #4b5a6b;border-radius:5px;font:inherit;font-size:.82rem;padding:8px 10px;line-height:1.2}
.hcpc-v127-control:hover,.hcpc-v127-control:focus-visible{border-color:#edaa43;color:#edaa43}
.hcpc-v127-edit-media{min-height:0;display:grid;gap:9px}
.hcpc-v127-edit-media img,.hcpc-v127-edit-media video,.hcpc-v127-edit-media iframe{width:100%;height:240px;object-fit:contain;background:#060b11;border:0;border-radius:5px}
.hcpc-v127-editor-shell{display:grid;place-items:center;min-height:120px;background:#080f16;border-radius:5px}
.hcpc-v127-editor-shell iframe,.hcpc-v127-editor-shell video{height:240px}
.hcpc-v127-external{font-size:.8rem;color:#ecab43;overflow-wrap:anywhere}
.hcpc-v127-unavailable{display:grid;gap:8px;text-align:center;padding:20px}
.hcpc-community-modal{box-sizing:border-box;width:max-content;max-width:96vw;max-height:96dvh;padding:12px;background:#0b1119;border:1px solid #506378;border-radius:5px;color:#edf5ff;overflow:auto}
.hcpc-community-modal::backdrop{background:rgba(0,0,0,.88)}
.hcpc-community-modal-inner{display:grid;gap:10px;min-width:0;width:min(90vw,1050px);max-width:100%;position:relative}
.hcpc-community-modal[data-format="portrait"] .hcpc-community-modal-inner{width:min(89vw,520px)}
.hcpc-v127-modal-stage{width:100%;aspect-ratio:16/9;max-height:80dvh;display:grid;place-items:center;background:#03070c;overflow:hidden}
.hcpc-community-modal[data-format="portrait"] .hcpc-v127-modal-stage{aspect-ratio:9/16;width:min(100%,calc(80dvh * 9 / 16));margin-inline:auto}
.hcpc-v127-modal-stage>img,.hcpc-v127-modal-stage>video,.hcpc-v127-modal-stage>iframe{width:100%;height:100%;display:block;object-fit:contain;border:0;max-width:100%;max-height:80dvh;margin:auto}
.hcpc-v127-modal-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:center}
.hcpc-community-modal-close{border:1px solid #cf4646;border-radius:5px;background:#9e2828;color:#fff;cursor:pointer;min-height:36px;min-width:36px;font-size:1.3rem}
.hcpc-community-modal footer{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap}
.hcpc-community-modal footer button{cursor:pointer;padding:8px 12px;border:1px solid #516477;background:transparent;color:#e8f0f9;border-radius:5px}
.hcpc-community-modal:fullscreen{height:100vh;width:100vw;max-width:none;max-height:none;display:grid;place-items:center;border:0;padding:15px;overflow:hidden}
.hcpc-community-modal:fullscreen .hcpc-community-modal-inner{width:min(98vw,calc(92vh * 16 / 9));max-width:none}
.hcpc-community-modal:fullscreen[data-format="portrait"] .hcpc-community-modal-inner{width:min(95vw,calc(88vh * 9 / 16))}
.hcpc-community-modal:fullscreen .hcpc-v127-modal-stage{max-height:88vh}
@media (max-width:650px){.hcpc-v127-screen{height:210px}.hcpc-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr))}.hcpc-community-modal{padding:8px}.hcpc-community-modal-inner{width:90vw}.hcpc-community-modal footer button{padding:7px 9px;font-size:.82rem}}


/* MODULE: wiki-dino-images.css */
/* HCPC Dino image rights review – uses existing HCPC wiki tokens and controls */
.hd-images-admin .hd-image-selector{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hd-images-admin .hd-image-selector select{flex:1;min-width:220px}
.hd-images-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}
.hd-image-card{border:1px solid var(--border-color,var(--hcpc-border,#364052));border-radius:5px;overflow:hidden;background:var(--card-bg,transparent)}
.hd-image-preview{min-height:150px;max-height:240px;display:grid;place-items:center;background:rgba(0,0,0,.12)}
.hd-image-preview img{width:100%;height:220px;object-fit:contain}
.hd-image-body{padding:14px}.hd-image-body h3{font-size:1rem;overflow-wrap:anywhere}
.hd-image-body dl{display:grid;grid-template-columns:1fr;gap:3px;margin:10px 0}.hd-image-body dt{font-size:.8rem;opacity:.72}.hd-image-body dd{margin:0 0 6px;overflow-wrap:anywhere}
.hd-image-body form{display:grid;gap:10px}.hd-image-body label{display:grid;gap:5px}.hd-image-body label.hd-check{display:flex;align-items:flex-start;gap:8px}
.hd-image-actions{display:flex;gap:6px;flex-wrap:wrap}.hd-image-actions button{flex:1 1 auto}.hd-image-status{font-weight:600}.hd-image-status.status-approved{color:#28bd81}.hd-image-status.status-rejected{color:#e76565}
@media(max-width:640px){.hd-image-preview img{height:155px}}

/* Review validation remains inside the HCPC Wiki layout; no plain error page. */
.hd-review-alert{border-left:4px solid #df5c5c;padding:12px 14px;margin:14px 0}
.hd-review-alert span{display:block;margin-top:4px}
.hd-image-card--error{border-color:#df5c5c}
.hd-review-instruction{font-size:.9rem;line-height:1.45;opacity:.9;margin:4px 0}
.hd-review-validation{color:#df7373;font-size:.9rem;font-weight:600;padding:9px;border:1px solid currentColor;border-radius:5px}
.hd-review-validation[hidden]{display:none}
.hd-image-card input.hd-review-field-error,.hd-image-card select.hd-review-field-error{outline:2px solid #df7373;outline-offset:1px}
.hd-image-card{scroll-margin-top:90px}


/* MODULE: wiki-artifacts.css */
/* HCPC Wiki Artefakte. Scoped to .wiki-artifacts, uses theme globals, no changes to app.css. */
.wiki-artifacts{--wa-fg:var(--text-color,var(--color-text,#eaf0f7));--wa-muted:var(--text-muted,var(--color-text-muted,#a0afc0));--wa-panel:var(--card-bg,var(--surface-card,var(--bg-card,#182536)));--wa-border:var(--border-color,var(--color-border,#354252));--wa-orange:var(--primary-color,var(--accent-color,#ed892e));color:var(--wa-fg);max-width:1440px;margin:0 auto;padding:20px 12px 28px}
.wiki-artifacts *{box-sizing:border-box}
.wiki-artifacts .wa-page-header{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:0 0 18px;flex-wrap:wrap}
.wiki-artifacts .wa-page-header h1{font-size:1.8rem;margin:3px 0 5px;color:inherit}
.wiki-artifacts .wa-page-header p,.wiki-artifacts .wa-note,.wiki-artifacts .wa-help{color:var(--wa-muted);margin:0;font-size:.92rem}
.wiki-artifacts .wa-eyebrow{font-size:.76rem;color:var(--wa-orange);font-weight:700;letter-spacing:.075em;text-transform:uppercase}
.wiki-artifacts .wa-card{background:var(--wa-panel);border:1px solid var(--wa-border);border-radius:6px;overflow:hidden;margin:0 0 16px;color:inherit}
.wiki-artifacts .wa-card__header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 17px;border-bottom:1px solid var(--wa-border);background:color-mix(in srgb,var(--wa-panel),var(--wa-orange) 5%)}
.wiki-artifacts .wa-card__header h2{font-size:1.05rem;margin:0;color:inherit}
.wiki-artifacts .wa-card__header span{font-size:.8rem;color:var(--wa-muted)}
.wiki-artifacts .wa-card__body{padding:17px}
.wiki-artifacts .wa-card__footer{display:flex;justify-content:flex-end;gap:9px;padding:12px 17px;border-top:1px solid var(--wa-border)}
.wiki-artifacts .wa-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 14px;min-height:39px;border:1px solid var(--wa-border);border-radius:5px;background:transparent;color:var(--wa-fg);text-decoration:none;font:inherit;cursor:pointer}
.wiki-artifacts .wa-button:hover{border-color:var(--wa-orange);color:var(--wa-fg)}
.wiki-artifacts .wa-button--primary{color:#161b21;background:var(--wa-orange);border-color:var(--wa-orange);font-weight:700}
.wiki-artifacts .wa-button--primary:hover{filter:brightness(1.08);color:#161b21}
.wiki-artifacts .wa-search-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.wiki-artifacts .wa-search-form .wa-field{flex:1;min-width:250px}
.wiki-artifacts .wa-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.wiki-artifacts .wa-field span{font-size:.78rem;font-weight:600;color:var(--wa-muted)}
.wiki-artifacts .wa-field input,.wiki-artifacts .wa-field select,.wiki-artifacts .wa-field textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--wa-border);border-radius:5px;background:var(--input-bg,var(--wa-panel));color:var(--wa-fg);font:inherit}
.wiki-artifacts .wa-field textarea{min-height:83px;resize:vertical}
.wiki-artifacts .wa-field input:focus,.wiki-artifacts .wa-field select:focus,.wiki-artifacts .wa-field textarea:focus{outline:1px solid var(--wa-orange);border-color:var(--wa-orange)}
.wiki-artifacts .wa-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.wiki-artifacts .wa-field--full{grid-column:1/-1}
.wiki-artifacts .wa-image-preview{display:flex;justify-content:center;align-items:center;background:color-mix(in srgb,var(--wa-panel),black 8%);border:1px solid var(--wa-border);border-radius:5px;padding:14px;min-height:130px}
.wiki-artifacts .wa-image-preview img{max-height:150px;max-width:100%;object-fit:contain}
.wiki-artifacts .wa-image-preview--large img{max-height:260px}
.wiki-artifacts .wa-location-list{display:grid;gap:12px;margin:14px 0}
.wiki-artifacts .wa-location{border:1px solid var(--wa-border);border-radius:6px;padding:12px}
.wiki-artifacts .wa-location__header{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px}
.wiki-artifacts .wa-location__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.wiki-artifacts .wa-remove{border:1px solid #ce4f55;border-radius:5px;background:#c4323b;color:white;font-size:19px;line-height:26px;width:29px;height:29px;cursor:pointer}
.wiki-artifacts .wa-check{display:flex;align-items:center;gap:8px;font-size:.9rem;cursor:pointer}
.wiki-artifacts .wa-check input{accent-color:var(--wa-orange)}
.wiki-artifacts .wa-table-wrap{overflow-x:auto}
.wiki-artifacts .wa-table{width:100%;border-collapse:collapse;color:inherit;text-align:left}
.wiki-artifacts .wa-table thead{background:color-mix(in srgb,var(--wa-panel),var(--wa-orange) 7%)}
.wiki-artifacts .wa-table th,.wiki-artifacts .wa-table td{padding:11px 14px;border-bottom:1px solid var(--wa-border);font-size:.91rem;vertical-align:middle}
.wiki-artifacts .wa-table tr:last-child td{border-bottom:0}
.wiki-artifacts a:not(.wa-button):not(.wa-artifact-card){color:var(--wa-orange)}
.wiki-artifacts .wa-pill{display:inline-flex;padding:4px 8px;border:1px solid var(--wa-border);border-radius:4px;font-size:.76rem;color:var(--wa-muted)}
.wiki-artifacts .wa-pill--ok{color:#49bb79;border-color:#49bb79}
.wiki-artifacts .wa-artifact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:15px}
.wiki-artifacts .wa-artifact-card{display:flex;gap:13px;align-items:center;background:var(--wa-panel);border:1px solid var(--wa-border);border-radius:6px;padding:14px;color:var(--wa-fg);text-decoration:none}
.wiki-artifacts .wa-artifact-card:hover{border-color:var(--wa-orange)}
.wiki-artifacts .wa-artifact-card__image{display:flex;justify-content:center;align-items:center;flex:none;width:70px;height:70px;border-radius:5px;border:1px solid var(--wa-border);font-size:32px}
.wiki-artifacts .wa-artifact-card__image img{max-height:66px;max-width:66px;object-fit:contain}
.wiki-artifacts .wa-artifact-card h2{margin:0 0 5px;font-size:1rem;color:inherit}
.wiki-artifacts .wa-artifact-card p{margin:0 0 7px;color:var(--wa-muted);font-size:.84rem}
.wiki-artifacts .wa-artifact-card span{color:var(--wa-orange);font-size:.82rem}
.wiki-artifacts .wa-alert{padding:12px 15px;margin-bottom:16px;border:1px solid #49bb79;border-radius:5px}
.wiki-artifacts .wa-alert--error{border-color:#cc4c50;color:#f17c81}
.wiki-artifacts .wa-warning-list p{margin:4px 0;color:var(--wa-muted)}
.wiki-artifacts .wa-note.wa-card__body{padding-top:0}
.wiki-artifacts.wa-public-map-integration{padding-top:20px;max-width:none}
.wiki-artifacts .wa-actions{display:flex;gap:9px;flex-wrap:wrap}
@media(max-width:850px){.wiki-artifacts .wa-location__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wiki-artifacts .wa-grid-2,.wiki-artifacts .wa-location__grid{grid-template-columns:1fr}.wiki-artifacts .wa-card__header{align-items:flex-start;flex-direction:column}.wiki-artifacts .wa-page-header h1{font-size:1.5rem}}

.wiki-artifacts.wa-wiki-home-link{padding:0 12px 22px}

/* HCPC 1.0.2 · Redaktionelle Entwürfe klar von veröffentlichten Einträgen trennen */
.wiki-artifacts .wa-inline-form{display:inline-flex;vertical-align:middle;margin:0 0 0 9px}
.wiki-artifacts .wa-inline-form .wa-button{min-height:30px;padding:5px 9px;font-size:.82rem}
.wiki-artifacts .wa-editor-drafts{margin-top:22px}


/* MODULE: wiki-map-pois.css */
/* Scoped only to POIs; no changes to existing server cards or zoom behavior. */
[data-interactive-map] [data-map-markers]{position:absolute;inset:0;pointer-events:none;z-index:2}
[data-interactive-map] [data-map-world]{position:relative}
[data-interactive-map] .wiki-poi-marker{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;display:grid;place-items:center;width:31px;height:31px;border:2px solid #ee9e31;background:#14212e;color:#fff;border-radius:50%;font-size:17px;cursor:pointer;padding:0;box-shadow:0 2px 7px #0008}
[data-interactive-map] .wiki-poi-marker:hover{border-color:#fff;z-index:5}
.wiki-poi-panel{margin:16px 0 24px;padding:16px;background:var(--card-bg,#172533);color:var(--text-color,#f5f7f9);border:1px solid var(--border-color,#42576a);border-radius:6px}
.wiki-poi-panel .wiki-poi-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.wiki-poi-panel button,.wiki-poi-panel input,.wiki-poi-panel select,.wiki-poi-panel textarea{font:inherit}
.wiki-poi-panel button{border:1px solid #ef9f36;border-radius:5px;padding:8px 12px;background:#253748;color:#fff;cursor:pointer}
.wiki-poi-panel label{display:flex;flex-direction:column;gap:5px;font-size:14px}
.wiki-poi-panel input,.wiki-poi-panel select,.wiki-poi-panel textarea{background:#101b27;color:#fff;border:1px solid #627282;border-radius:5px;padding:9px;min-width:0}
.wiki-poi-panel [data-poi-info]{margin-top:8px;overflow-wrap:anywhere}
.wiki-poi-panel [data-poi-form]{margin-top:14px;border-top:1px solid #627282;padding-top:14px}
.wiki-poi-panel .wiki-poi-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.wiki-poi-panel .wiki-poi-wide{grid-column:1 / -1}
.wiki-poi-panel .wiki-poi-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.wiki-poi-panel [hidden]{display:none!important}


/* MODULE: wiki-resources-v100.css */
/* HCPC Ressourcen V1.0.0. Only locally scoped resource components;
   no overrides of the HCPC navigation, layouts, global forms or header. */
.hcpc-rw{--rw-bg:#10171d;--rw-border:#303d48;--rw-surface:#161f28;--rw-ink:#f3f5f8;--rw-muted:#aec5dc;--rw-accent:#eda83e;color:var(--rw-ink);max-width:1280px;margin:36px auto 64px;padding:0 16px;font-size:14px}
.hcpc-rw *{box-sizing:border-box}
.hcpc-rw a{color:var(--rw-accent);text-decoration:none}
.hcpc-rw a:hover{text-decoration:underline}
.hcpc-rw .rw-breadcrumb{color:var(--rw-muted);font-size:12px;margin:0 0 18px}
.hcpc-rw .rw-hero{background:radial-gradient(circle at 91% 24%,#33291d,#13181e 37%,#10171d 75%);border:1px solid #3a3935;border-radius:17px;min-height:183px;padding:30px 32px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hcpc-rw .rw-kicker{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:var(--rw-accent);font-weight:800}
.hcpc-rw h1{font-size:clamp(30px,4vw,51px);line-height:1.1;letter-spacing:-.025em;margin:15px 0 10px;color:#f7f8fa}
.hcpc-rw h2,.hcpc-rw h3{color:var(--rw-ink)}
.hcpc-rw .rw-hero p{margin:0;color:var(--rw-muted);line-height:1.6}
.hcpc-rw .rw-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.hcpc-rw .rw-hero>.rw-actions{margin:0}
.hcpc-rw .rw-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #3b4754;border-radius:5px;background:#18212a;color:var(--rw-accent);padding:11px 15px;line-height:1.2;cursor:pointer;white-space:nowrap;font:inherit;text-align:center}
.hcpc-rw .rw-button:hover{filter:brightness(1.1);text-decoration:none}
.hcpc-rw .rw-primary{background:var(--rw-accent);border-color:var(--rw-accent);color:#12161a}
.hcpc-rw .rw-outline{background:#171f28}
.hcpc-rw .rw-panel{background:var(--rw-bg);border:1px solid var(--rw-border);border-radius:5px;margin-bottom:15px;min-width:0;overflow:hidden}
.hcpc-rw .rw-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#192129;padding:14px 18px;border-bottom:1px solid var(--rw-border)}
.hcpc-rw .rw-heading strong{font-size:15px}
.hcpc-rw .rw-heading small,.hcpc-rw .rw-heading span{font-size:12px;color:var(--rw-muted)}
.hcpc-rw .rw-panel-body{padding:18px;display:grid;gap:16px}
.hcpc-rw input:not([type=checkbox]),.hcpc-rw select,.hcpc-rw textarea{width:100%;min-width:0;background:#0c1319;border:1px solid #3c4b59;border-radius:5px;min-height:38px;padding:8px 11px;color:var(--rw-ink);outline-offset:2px;box-shadow:none;font:inherit}
.hcpc-rw input[type=checkbox]{width:auto;accent-color:var(--rw-accent)}
.hcpc-rw select{cursor:pointer}
.hcpc-rw textarea{resize:vertical;min-height:95px}
.hcpc-rw label{display:flex;flex-direction:column;gap:7px;color:#b1cbe6;font-size:12px;min-width:0}
.hcpc-rw .rw-filter{display:grid;grid-template-columns:minmax(150px,2.2fr) minmax(125px,1fr) minmax(125px,1fr) auto auto;align-items:end;gap:11px;padding:17px}
.hcpc-rw .rw-instruction{padding:4px 18px;color:var(--rw-muted);font-size:12px;line-height:1.6}
.hcpc-rw .rw-group{margin:15px 17px;border:1px solid #2e3c47;border-radius:5px;overflow:hidden}
.hcpc-rw .rw-group-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#1b2732;padding:10px 14px;border-bottom:1px solid #2e3c47}
.hcpc-rw .rw-group-heading h2{margin:0;font-size:15px}
.hcpc-rw .rw-group-heading small{font-size:12px;color:var(--rw-muted);background:#233645;border:1px solid #425564;border-radius:14px;padding:3px 7px;margin-left:5px}
.hcpc-rw .rw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px}
.hcpc-rw .rw-item{background:#172029;border:1px solid #303c46;border-radius:5px;overflow:hidden;min-width:0}
.hcpc-rw .rw-item[hidden]{display:none}
.hcpc-rw .rw-item-image{display:flex;align-items:center;justify-content:center;height:135px;background:#0f171d;border-bottom:1px solid #2b3943}
.hcpc-rw .rw-item-image img{width:100%;height:100%;object-fit:contain;padding:8px}
.hcpc-rw .rw-noimage{font-size:54px;color:#667887}
.hcpc-rw .rw-item-body{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:12px}
.hcpc-rw .rw-item-body h3{font-size:14px;color:var(--rw-accent);margin:0}
.hcpc-rw .rw-item-body p{margin:0;color:var(--rw-muted);font-size:12px}
.hcpc-rw .rw-tag{display:inline-block;border:1px solid #3a4c5a;border-radius:3px;padding:4px 7px;color:#b8d5f0;font-size:11px}
.hcpc-rw .rw-detail-link{display:block;margin:8px 0 0;font-weight:650;font-size:12px}
.hcpc-rw .rw-empty{grid-column:1/-1;color:var(--rw-muted);font-size:13px;margin:10px}
.hcpc-rw .rw-footer{font-size:12px;color:var(--rw-muted)}
.hcpc-rw .rw-alert{border:1px solid #a37934;border-radius:5px;padding:12px 15px;color:#ffd38a;background:#332719;margin:0 0 15px}
.hcpc-rw .rw-edit-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.hcpc-rw .rw-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hcpc-rw .rw-help{font-size:12px;line-height:1.6;color:var(--rw-muted);margin:0}
.hcpc-rw .rw-preview{min-height:150px;display:flex;align-items:center;justify-content:center;background:#0c1319;border:1px dashed #385167;border-radius:5px;color:var(--rw-muted);overflow:hidden}
.hcpc-rw .rw-preview img{max-height:200px;max-width:100%;object-fit:contain}
.hcpc-rw .rw-checks label{display:flex;flex-direction:row;align-items:center;border:1px solid var(--rw-border);padding:8px 11px;border-radius:5px;color:var(--rw-ink)}
.hcpc-rw [data-rw-method][hidden],.hcpc-rw [data-rw-animal][hidden]{display:none}
.hcpc-rw [data-rw-method]{display:grid;gap:12px}
.hcpc-rw [data-rw-animal]{display:grid;gap:12px}
.hcpc-rw .rw-ingredient-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(80px,1fr) auto;gap:9px;margin:8px 0}
.hcpc-rw .rw-location-row{display:grid;grid-template-columns:minmax(140px,2fr) minmax(90px,1fr) minmax(90px,1fr) auto;gap:9px;align-items:end;margin:9px 0}
.hcpc-rw .rw-submit{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0 40px;color:var(--rw-muted);font-size:13px}
.hcpc-rw .rw-profile{display:grid;grid-template-columns:280px 1fr;gap:24px;padding:18px}
.hcpc-rw .rw-profile-photo{border:1px solid #303c46;border-radius:5px;display:flex;justify-content:center;align-items:center;min-height:196px;background:#0e151b;color:#62788a;font-size:65px}
.hcpc-rw .rw-profile-photo img{max-width:100%;max-height:220px;object-fit:contain}
.hcpc-rw .rw-profile-main h1{font-size:32px;margin:14px 0 6px}
.hcpc-rw .rw-profile-main p{color:var(--rw-muted)}
.hcpc-rw .rw-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid #344554;margin-bottom:15px}
.hcpc-rw .rw-tabs a{color:#bfcee0;padding:14px;border-bottom:2px solid transparent;font-size:12px}
.hcpc-rw .rw-tabs a:hover{border-color:var(--rw-accent);color:var(--rw-accent);text-decoration:none}
.hcpc-rw .rw-facts{display:grid;grid-template-columns:175px 1fr;gap:8px;font-size:13px}
.hcpc-rw .rw-facts dt{font-weight:bold}.hcpc-rw .rw-facts dd{margin:0;color:var(--rw-muted)}
.hcpc-rw .rw-ingredient,.hcpc-rw .rw-location{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid #303c46;padding:12px 0}
.hcpc-rw .rw-link{font-weight:650}
@media(max-width:900px){.hcpc-rw .rw-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.hcpc-rw .rw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hcpc-rw .rw-edit-columns{grid-template-columns:1fr}.hcpc-rw .rw-hero{flex-wrap:wrap}.hcpc-rw .rw-profile{grid-template-columns:180px 1fr}}
@media(max-width:560px){.hcpc-rw{margin:20px auto}.hcpc-rw .rw-grid,.hcpc-rw .rw-filter,.hcpc-rw .rw-two{grid-template-columns:1fr}.hcpc-rw .rw-profile{grid-template-columns:1fr}.hcpc-rw .rw-location-row{grid-template-columns:1fr 1fr}.hcpc-rw .rw-location-row>label:first-child{grid-column:1/-1}.hcpc-rw .rw-ingredient-row{grid-template-columns:1fr 100px auto}.hcpc-rw .rw-submit{flex-direction:column;align-items:stretch}.hcpc-rw .rw-hero{padding:25px 20px}}
/* V1.0.2 resource approval views - isolated to resource pages */
.hcpc-rw .rw-review-item{margin:0 0 12px}.hcpc-rw .rw-review-item .rw-panel-body{gap:9px}
.hcpc-rw .rw-review-form{display:grid;gap:10px}.hcpc-rw .rw-review-item .rw-json{max-height:340px;overflow:auto;overflow-wrap:anywhere;background:#101820;padding:10px;font-size:12px}
.hcpc-rw .rw-review-item p,.hcpc-rw .rw-review-item a{overflow-wrap:anywhere}
.hcpc-rw .rw-review-filters{margin-top:0}


/* MODULE: wiki-structures.css */
/* HCPC Structures V1.0.0 – uses existing Wiki/Dino shared cards, headers, buttons. Only module-specific layout here. */
.hs-wiki .hs-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px}
.hs-wiki .hs-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hs-wiki .hs-form label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:500}
.hs-wiki .hs-form input,.hs-wiki .hs-form select,.hs-wiki .hs-form textarea{box-sizing:border-box;display:block;width:100%;min-width:0;border:1px solid var(--border-color,var(--hcpc-border,#59616e));border-radius:5px;background:transparent;color:inherit;padding:12px;font:inherit}
.hs-wiki .hs-form select option{color:#1c2430;background:#f9fafb}
.hs-wiki .hs-form textarea{resize:vertical}
.hs-wiki .hd-panel>h2,.hs-wiki .hd-section-head h2{margin-top:0}
.hs-wiki .hd-panel{min-width:0}
.hs-wiki .hs-ingredients{display:grid;gap:12px;margin:16px 0}
.hs-wiki .hs-ingredient{display:grid;grid-template-columns:1fr 1.5fr .7fr 1.4fr 1.4fr auto;align-items:end;gap:9px;padding:12px;border:1px solid var(--border-color,#59616e);border-radius:5px}
.hs-wiki .hs-remove{white-space:nowrap}
.hs-wiki .hs-note{opacity:.75;font-size:.88rem}
.hs-wiki .hs-actions,.hs-wiki .hs-pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.hs-wiki .hs-dl{display:grid;grid-template-columns:minmax(110px,.75fr) minmax(0,1.4fr);gap:10px 18px}
.hs-wiki .hs-dl dt{font-weight:600;opacity:.85}
.hs-wiki .hs-dl dd{margin:0;overflow-wrap:anywhere}
.hs-wiki .hs-preserve{white-space:pre-wrap}
.hs-wiki .hs-figure img{width:100%;max-height:350px;object-fit:contain;border-radius:5px}
.hs-wiki .hs-figure p{font-size:.8rem;opacity:.8}
.hs-wiki .hs-table-wrap{overflow-x:auto}
.hs-wiki .hs-table{width:100%;border-collapse:collapse;text-align:left}
.hs-wiki .hs-table th,.hs-wiki .hs-table td{padding:10px 12px;border-bottom:1px solid var(--border-color,#59616e)}
.hs-wiki .hs-error{border-color:#d36868}
.hs-wiki .hs-break{overflow-wrap:anywhere}
@media(max-width:1100px){.hs-wiki .hs-ingredient{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hs-wiki .hs-columns,.hs-wiki .hs-fields,.hs-wiki .hs-ingredient{grid-template-columns:1fr}.hs-wiki .hs-dl{grid-template-columns:1fr}}


/* MODULE: wiki-dino-approvals.css */
/* HCPC Dino Wiki – Wiki-Genehmigungen V1.0.23 · scoped admin layout */
.hcpc-wa{max-width:1430px;margin:0 auto;color:#dce7f1;font-size:14px;line-height:1.5}
.hcpc-wa *{box-sizing:border-box}.hcpc-wa a{color:#efa73c;text-decoration:none}.hcpc-wa h1{font-size:1.9rem;margin:.2em 0;color:#f3f6f8}.hcpc-wa h2{font-size:1.1rem;color:#f2f4f7;margin:0 0 12px}.hcpc-wa p{color:#b0bdca}
.hcpc-wa-crumb{padding:10px 0 16px;color:#a5b4c2}.hcpc-wa-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;margin:0 0 16px;background:#111922;border:1px solid #39434e;border-radius:5px}.hcpc-wa-hero p{margin:4px 0}.hcpc-wa-eyebrow{color:#eaaa46;letter-spacing:.12em;font-size:.75rem;font-weight:700}
.hcpc-wa-panel{margin:14px 0;padding:18px;background:#121a23;border:1px solid #36414f;border-radius:5px}.hcpc-wa-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e9a43c;background:#e9a43c;color:#111720!important;text-decoration:none;font:inherit;font-weight:600;border-radius:5px;padding:10px 14px;cursor:pointer;white-space:nowrap}.hcpc-wa-btn--ghost{background:transparent;color:#e3ecf2!important;border-color:#445260}.hcpc-wa-btn--small{padding:7px 10px;font-size:.83rem}.hcpc-wa-btn--reject{background:transparent;color:#ffa9a9!important;border-color:#ba6666}
.hcpc-wa-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hcpc-wa-metric{border:1px solid #334151;border-radius:5px;background:#131e28;padding:16px;display:flex;justify-content:space-between;gap:8px;color:#e5ecf2!important}.hcpc-wa-metric strong{font-size:1.5rem}.hcpc-wa-metric.is-selected{border-color:#e9a43c}
.hcpc-wa-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:15px}.hcpc-wa label{display:grid;gap:6px;color:#e7eff7;font-weight:600;min-width:0}.hcpc-wa input,.hcpc-wa select,.hcpc-wa textarea{font:inherit;width:100%;min-height:39px;background:#0b141e;border:1px solid #485b6c;border-radius:5px;color:#ebf1f8;padding:10px;outline-offset:2px}.hcpc-wa input:focus,.hcpc-wa textarea:focus{outline:1px solid #e9a43c}.hcpc-wa textarea{resize:vertical}.hcpc-wa-filter label{min-width:195px;flex:1}.hcpc-wa-filter label:first-child{max-width:230px}
.hcpc-wa-table-wrap{overflow-x:auto}.hcpc-wa-table{border-collapse:collapse;width:100%;min-width:740px}.hcpc-wa-table th{text-align:left;padding:12px;background:#1b2836;color:#f0f4f8;border-bottom:1px solid #455463}.hcpc-wa-table td{padding:13px 12px;border-bottom:1px solid #303b49;vertical-align:middle}.hcpc-wa-table td span{display:block;color:#99aebf;margin-top:2px}.hcpc-wa-nowrap{white-space:nowrap}.hcpc-wa-empty{padding:16px}.hcpc-wa-help{font-size:.85rem;color:#a4b2c0}.hcpc-wa-notice{padding:13px 16px;margin:14px 0;background:#26303a;border:1px solid #8a6b39;border-radius:5px;color:#ffe3b8}
.hcpc-wa-meta{display:flex;flex-wrap:wrap;gap:10px 24px;padding:14px;background:#111c26;border:1px solid #364554;border-radius:5px}.hcpc-wa-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hcpc-wa pre{background:#08111a;border:1px solid #3b4b5a;color:#cbd8e6;border-radius:5px;padding:12px;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.hcpc-wa-edit{display:grid;gap:16px}.hcpc-wa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hcpc-wa-editor-list{display:grid;gap:10px}.hcpc-wa-editor-row{padding:12px;background:#0c1520;border:1px solid #3b4859;border-radius:5px}.hcpc-wa-editor-controls{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:12px 0}.hcpc-wa-checkbox{display:flex!important;flex-direction:row;align-items:center}.hcpc-wa-checkbox input{width:auto;min-height:auto}.hcpc-wa-actions{display:flex;justify-content:flex-start;gap:12px}.hcpc-wa-decisions{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hcpc-wa-decisions form{display:grid;gap:10px;padding:14px;border:1px solid #374451;border-radius:5px;align-content:start}.hcpc-wa-audit{padding:10px 0;border-top:1px solid #36404b}.hcpc-wa details summary{cursor:pointer}
@media(max-width:850px){.hcpc-wa-hero{align-items:flex-start;flex-direction:column}.hcpc-wa-compare,.hcpc-wa-decisions,.hcpc-wa-grid{grid-template-columns:1fr}.hcpc-wa-metric{display:block}.hcpc-wa-metric strong{display:block}}


/* MODULE: wiki-dino-approval-hub.css */
/* HCPC Dino-Wiki Genehmigungen V1.0.31: additive styles only. */
.hcpc-wah{max-width:1440px;margin-inline:auto;}
.hcpc-wah-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px;}
.hcpc-wah-tab{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border:1px solid var(--border-color,#344357);border-radius:7px;background:var(--card-bg,#172234);color:inherit;text-decoration:none;min-width:0;}
.hcpc-wah-tab:hover,.hcpc-wah-tab.is-active{border-color:var(--accent,#629af8);}
.hcpc-wah-tab span{min-width:0;overflow-wrap:anywhere;font-weight:650;}.hcpc-wah-tab strong{flex-shrink:0;display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:1px solid currentColor;border-radius:99px;font-variant-numeric:tabular-nums;}
.hcpc-wah-panel{margin-bottom:18px;}.hcpc-wah-head{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:12px;margin-bottom:16px;}.hcpc-wah-head h2{margin:0 0 6px;}.hcpc-wah-head p{margin:0;opacity:.75;}.hcpc-wah-total{white-space:nowrap;opacity:.75;}
.hcpc-wah-status{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px;}.hcpc-wah-chip{border:1px solid var(--border-color,#344357);border-radius:5px;padding:8px 12px;color:inherit;text-decoration:none;}.hcpc-wah-chip.is-active{border-color:var(--accent,#629af8);font-weight:700;}.hcpc-wah-filter{margin-top:16px;}
.hcpc-wah-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.hcpc-wah-image{border:1px solid var(--border-color,#344357);border-radius:7px;overflow:hidden;min-width:0;}.hcpc-wah-photo{display:block;height:210px;background:rgba(0,0,0,.16)}.hcpc-wah-photo img{width:100%;height:100%;object-fit:contain;display:block;}.hcpc-wah-image-details{padding:14px;}.hcpc-wah-image-details h3{margin:0;font-size:1.05rem;}.hcpc-wah-image-details p{margin:10px 0;overflow-wrap:anywhere;}.hcpc-wah-row{display:flex;justify-content:space-between;align-items:center;gap:10px;}.hcpc-wah-filename{opacity:.75;font-size:.86rem;}.hcpc-wah-state{font-size:.8rem;opacity:.75;}.hcpc-wah-image details{border-top:1px solid var(--border-color,#344357);margin-top:14px;padding-top:10px;}.hcpc-wah-image summary{cursor:pointer;font-weight:600;}.hcpc-wah-image-form{display:grid;gap:12px;padding-top:14px;}.hcpc-wah-image-form label:not(.hcpc-wah-confirm){display:grid;gap:6px;}.hcpc-wah-image-form input:not([type=checkbox]),.hcpc-wah-image-form select,.hcpc-wah-image-form textarea{box-sizing:border-box;max-width:100%;width:100%;min-width:0;}.hcpc-wah-confirm{display:flex;align-items:flex-start;gap:8px;}.hcpc-wah-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.hcpc-wah-actions form{margin:0;}.hcpc-wah-error{border-color:#cc5f5f;}.hcpc-wah-pages{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:18px;}.hcpc-wah-footer{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 4px;}.hcpc-wah-footer span{opacity:.7;}
@media(max-width:850px){.hcpc-wah-tabs{grid-template-columns:1fr;}.hcpc-wah-images{grid-template-columns:1fr;}.hcpc-wah-tab{padding:13px;}}

/* HCPC Resource Repair 1.3.1: original Wiki moderation visual language */
.hcpc-wah-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.hcpc-wa-table td details{min-width:130px}.hcpc-wa-table td details summary{cursor:pointer;list-style:none}.hcpc-wa-table td details[open]{min-width:250px}
@media(max-width:850px){.hcpc-wah-tabs{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.hcpc-wah-tabs{grid-template-columns:1fr}}


/* MODULE: wiki-dino-approval-media-preview.css */
/* HCPC Wiki-Genehmigungen – Medienvorschau V1.0.26; nur diese Komponente */
.hcpc-wa #hcpc-wa-media-preview{min-width:0;width:100%;border:1px solid #334556;border-radius:5px;background:#0b151f;padding:14px;margin:12px 0 16px}
.hcpc-wa .hcpc-wa-preview-frame{display:flex;align-items:center;justify-content:center;min-height:175px;max-width:100%;border-radius:5px;background:#0d1926;overflow:hidden}
.hcpc-wa .hcpc-wa-preview-frame iframe,.hcpc-wa .hcpc-wa-preview-frame video{display:block;width:100%;max-height:520px;aspect-ratio:16/9;border:0;background:#000;object-fit:contain}
.hcpc-wa .hcpc-wa-preview-frame img{display:block;max-width:100%;max-height:520px;object-fit:contain;margin:0 auto}
.hcpc-wa .hcpc-wa-preview-trigger{margin:20px;max-width:calc(100% - 24px);white-space:normal;text-align:center}
.hcpc-wa .hcpc-wa-preview-fallback{padding:18px;color:#b4c4d2;text-align:center;overflow-wrap:anywhere}
.hcpc-wa .hcpc-wa-preview-caption{font-size:.87rem;color:#aebdcc;margin:12px 0 0;overflow-wrap:anywhere}
.hcpc-wa .hcpc-wa-preview-link-card{display:grid;gap:5px;padding:20px;width:100%;min-height:130px;align-content:center;text-align:center;color:#e9a43c;overflow-wrap:anywhere}
.hcpc-wa .hcpc-wa-preview-link-card strong{font-size:1.12rem;color:#ebf0f5}
.hcpc-wa .hcpc-wa-preview-link-card span{font-size:.92rem}
@media(min-width:900px){.hcpc-wa .hcpc-wa-preview-frame{max-width:800px;margin:auto}}


/* MODULE: wiki-unified-approvals-v106.css */
/* HCPC V1.0.6: additions to the existing Dino approval UI only. */
.hcpc-wah-tabs.hcpc-wah-tabs--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.hcpc-wah-tab--resources{min-width:0}
.hcpc-wah-tab--resources[aria-current="page"]{border-color:var(--accent,#629af8)}
.hcpc-resource-unified .rw-hero{margin-bottom:16px}
.hcpc-resource-unified .rw-review-item{margin-top:14px}
.hcpc-resource-unified .rw-review-filters{margin-bottom:15px}
.hcpc-resource-unified .hcpc-wah-tabs{margin:16px 0 24px}
@media(max-width:1050px){.hcpc-wah-tabs.hcpc-wah-tabs--four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hcpc-wah-tabs.hcpc-wah-tabs--four{grid-template-columns:1fr}}


/* MODULE: wiki-unified-approvals-v107.css */
/* HCPC Wiki unified approvals V1.0.7
   Goal: align the resource approvals lower section with the established Dino approval hub style.
   Only the shared header sizing, section width, and lower list area are adjusted.
*/
.hcpc-resource-unified--v107{max-width:1430px;margin-inline:auto}
.hcpc-resource-unified--v107 .hcpc-wa-hero{margin-bottom:16px}
.hcpc-resource-unified--v107 .hcpc-wah-tabs{margin:18px 0 22px}
.hcpc-resource-unified--v107 .hcpc-resource-list-panel{padding:18px}
.hcpc-resource-unified--v107 .hcpc-resource-list-head{margin-bottom:10px}
.hcpc-resource-unified--v107 .hcpc-resource-status{margin:12px 0 18px}
.hcpc-resource-unified--v107 .hcpc-wah-chip{background:transparent}
.hcpc-resource-unified--v107 .hcpc-resource-review-list{display:grid;gap:14px}
.hcpc-resource-unified--v107 .hcpc-resource-review-item{margin:0;padding:16px;background:#111c26;border:1px solid #364554;border-radius:5px}
.hcpc-resource-unified--v107 .hcpc-resource-review-item h3{margin:0 0 6px;font-size:1.02rem;color:#f2f4f7}
.hcpc-resource-unified--v107 .hcpc-resource-review-item p{margin:8px 0;color:#b0bdca}
.hcpc-resource-unified--v107 .hcpc-resource-review-item details{margin-top:12px}
.hcpc-resource-unified--v107 .hcpc-resource-review-item summary{cursor:pointer}
.hcpc-resource-unified--v107 .hcpc-resource-meta-badges{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start}
.hcpc-resource-unified--v107 .hcpc-resource-state{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid #445260;border-radius:999px;color:#dce7f1;background:#131e28;font-size:.85rem;white-space:nowrap}
.hcpc-resource-unified--v107 .hcpc-resource-review-form{display:grid;gap:12px;margin-top:14px}
.hcpc-resource-unified--v107 .hcpc-resource-review-form label{display:grid;gap:6px;color:#e7eff7;font-weight:600}
.hcpc-resource-unified--v107 .hcpc-resource-review-form textarea{font:inherit;width:100%;min-height:39px;background:#0b141e;border:1px solid #485b6c;border-radius:5px;color:#ebf1f8;padding:10px;resize:vertical}
.hcpc-resource-unified--v107 .rw-json{background:#08111a;border:1px solid #3b4b5a;color:#cbd8e6;border-radius:5px;padding:12px;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:850px){
  .hcpc-resource-unified--v107 .hcpc-resource-review-item-head{display:block}
  .hcpc-resource-unified--v107 .hcpc-resource-meta-badges{margin-top:10px}
}


/* MODULE: wiki-unified-approvals-v108.css */
/* HCPC Wiki unified approvals V1.0.8
   Purpose: make the resource approvals page use the same header structure,
   wording, sizing and placement as the existing Dino approval page.
   Only the resource subview is changed.
*/
.hcpc-resource-unified--v108{max-width:1440px;margin-inline:auto}
.hcpc-resource-unified--v108 .hcpc-wa-crumb{padding:10px 0 16px;color:#a5b4c2}
.hcpc-resource-unified--v108 .hcpc-wa-crumb a{color:#efa73c;text-decoration:none}
.hcpc-resource-unified--v108 .hcpc-resource-header-card{margin:0 0 16px}
.hcpc-resource-unified--v108 .hcpc-resource-header-card h1{font-size:1.9rem;line-height:1.1;letter-spacing:0;margin:.2em 0;color:#f3f6f8}
.hcpc-resource-unified--v108 .hcpc-resource-header-card p{margin:4px 0;color:#b0bdca}
.hcpc-resource-unified--v108 .hcpc-wa-eyebrow{letter-spacing:.12em;font-size:.75rem;font-weight:700}
.hcpc-resource-unified--v108 .hcpc-wah-tabs{margin:18px 0 22px}
.hcpc-resource-unified--v108 .hcpc-resource-list-panel{padding:18px}
.hcpc-resource-unified--v108 .hcpc-resource-list-head{margin-bottom:16px}
.hcpc-resource-unified--v108 .hcpc-resource-status{margin:12px 0 18px}
.hcpc-resource-unified--v108 .hcpc-resource-review-list{display:grid;gap:14px}
.hcpc-resource-unified--v108 .hcpc-resource-review-item{margin:0;padding:16px;background:#111c26;border:1px solid #364554;border-radius:5px}
.hcpc-resource-unified--v108 .hcpc-resource-review-item h3{margin:0 0 6px;font-size:1.02rem;color:#f2f4f7}
.hcpc-resource-unified--v108 .hcpc-resource-review-item p{margin:8px 0;color:#b0bdca}
.hcpc-resource-unified--v108 .hcpc-resource-review-item details{margin-top:12px}
.hcpc-resource-unified--v108 .hcpc-resource-review-item summary{cursor:pointer}
.hcpc-resource-unified--v108 .hcpc-resource-meta-badges{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start}
.hcpc-resource-unified--v108 .hcpc-resource-state{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid #445260;border-radius:999px;color:#dce7f1;background:#131e28;font-size:.85rem;white-space:nowrap}
.hcpc-resource-unified--v108 .hcpc-resource-review-form{display:grid;gap:12px;margin-top:14px}
.hcpc-resource-unified--v108 .hcpc-resource-review-form label{display:grid;gap:6px;color:#e7eff7;font-weight:600}
.hcpc-resource-unified--v108 .hcpc-resource-review-form textarea{font:inherit;width:100%;min-height:39px;background:#0b141e;border:1px solid #485b6c;border-radius:5px;color:#ebf1f8;padding:10px;resize:vertical}
.hcpc-resource-unified--v108 .hcpc-resource-json{background:#08111a;border:1px solid #3b4b5a;color:#cbd8e6;border-radius:5px;padding:12px;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:850px){
  .hcpc-resource-unified--v108 .hcpc-wa-hero{align-items:flex-start;flex-direction:column}
  .hcpc-resource-unified--v108 .hcpc-resource-review-item-head{display:block}
  .hcpc-resource-unified--v108 .hcpc-resource-meta-badges{margin-top:10px}
}


/* MODULE: HCPC wiki admin dashboard V2.0.0 */
.hcpc-wadm, .hcpc-wadm * {box-sizing:border-box}
.hcpc-wadm {width:min(100%,1440px);margin:0 auto;padding:16px 0 45px;color:#e5ebf2;font:inherit;font-size:14px;line-height:1.5;min-width:0}
.hcpc-wadm a {text-decoration:none;color:inherit}
.hcpc-wadm .hcpc-wadm-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 20px;font-size:13px;color:#9eafc1}
.hcpc-wadm .hcpc-wadm-crumb a{color:#eba744}
.hcpc-wadm .hcpc-wadm-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px 26px;border:1px solid #344353;border-radius:5px;background:#111922;min-width:0}
.hcpc-wadm .hcpc-wadm-kicker{display:block;color:#f0a932;font-size:12px;font-weight:750;letter-spacing:.11em;margin-bottom:10px}
.hcpc-wadm .hcpc-wadm-hero h1{font-size:29px;line-height:1.2;color:#f4f6fa;margin:0 0 6px;font-weight:750}
.hcpc-wadm .hcpc-wadm-hero p{margin:0;color:#b9c7d5;max-width:690px}
.hcpc-wadm .hcpc-wadm-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hcpc-wadm .hcpc-wadm-button{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;min-height:41px;border:1px solid #445467;border-radius:5px;color:#e7edf5;background:#111a24;font-weight:650;font-size:13px;white-space:nowrap}
.hcpc-wadm .hcpc-wadm-button:hover{border-color:#f0a932;color:#f0a932}
.hcpc-wadm .hcpc-wadm-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px;margin:28px 0 12px}
.hcpc-wadm .hcpc-wadm-section-head h2{font-size:19px;margin:0;color:#f4f7fa}
.hcpc-wadm .hcpc-wadm-section-head p{font-size:13px;color:#9cabbc;margin:4px 0 0}
.hcpc-wadm .hcpc-wadm-section-head small{color:#9cabbc;font-size:12px}
.hcpc-wadm .hcpc-wadm-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.hcpc-wadm .hcpc-wadm-metric{padding:16px 18px;border:1px solid #354559;border-radius:5px;background:#111a24;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hcpc-wadm .hcpc-wadm-metric span{color:#b7c5d2;font-size:13px}
.hcpc-wadm .hcpc-wadm-metric strong{color:#f4ad39;font-size:25px;font-variant-numeric:tabular-nums}
.hcpc-wadm .hcpc-wadm-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch;min-width:0}
.hcpc-wadm .hcpc-wadm-card{display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-width:0;min-height:184px;padding:18px;border:1px solid #394a60;border-radius:5px;background:#172234;transition:border-color .12s,background .12s}
.hcpc-wadm .hcpc-wadm-card:hover{border-color:#70a5ff;background:#1b2a40}
.hcpc-wadm .hcpc-wadm-card-top{display:flex;gap:8px;justify-content:space-between;align-items:center;min-width:0}
.hcpc-wadm .hcpc-wadm-card-icon{font-size:21px;flex:none}
.hcpc-wadm .hcpc-wadm-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:3px 7px;border:1px solid #efa633;border-radius:99px;color:#f4ae40;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;flex:none}
.hcpc-wadm .hcpc-wadm-card h3{font-size:16px;color:#f1f5fa;font-weight:700;margin:0 0 6px;line-height:1.3;overflow-wrap:break-word}
.hcpc-wadm .hcpc-wadm-card p{font-size:12px;line-height:1.45;color:#aab8c6;margin:0}
.hcpc-wadm .hcpc-wadm-panel{padding:20px 22px;border:1px solid #354558;border-radius:5px;background:#111a24;min-width:0}
.hcpc-wadm .hcpc-wadm-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hcpc-wadm .hcpc-wadm-link{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;border:1px solid #334457;border-radius:5px;background:#162132;min-width:0}
.hcpc-wadm .hcpc-wadm-link:hover{border-color:#f0a932}
.hcpc-wadm .hcpc-wadm-link span{color:#e1eaf2;min-width:0}
.hcpc-wadm .hcpc-wadm-link small{color:#e5a54a;white-space:nowrap}
.hcpc-wadm .hcpc-wadm-notice{margin:16px 0;color:#b3c5d5;font-size:12px}
/* Shared 5-card review navigation: intentionally scoped to the two actual Wiki approval shells. */
main.hcpc-wa.hcpc-wah .hcpc-wah-tabs.hcpc-wah-tabs--five {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0;width:100%;align-items:stretch;margin:18px 0 22px}
main.hcpc-wa.hcpc-wah .hcpc-wah-tabs--five > .hcpc-wah-tab {min-width:0;width:auto;max-width:none;min-height:74px;box-sizing:border-box;border-radius:5px;white-space:normal;overflow-wrap:break-word;display:flex;align-items:center;gap:10px;justify-content:space-between}
main.hcpc-wa.hcpc-wah .hcpc-wah-tabs--five > .hcpc-wah-tab span{min-width:0;overflow-wrap:break-word}
main.hcpc-wa.hcpc-wah .hcpc-wah-tabs--five > .hcpc-wah-tab strong{flex:none}
main.hcpc-wa.hcpc-wah{width:min(100%,1440px);max-width:1440px;margin-inline:auto;min-width:0}
main.hcpc-wa.hcpc-wah .hcpc-wa-hero{min-width:0;max-width:100%}
main.hcpc-wa.hcpc-wah .hcpc-wah-panel{min-width:0}
@media(max-width:1180px){.hcpc-wadm .hcpc-wadm-cards{grid-template-columns:repeat(3,minmax(0,1fr))}main.hcpc-wa.hcpc-wah .hcpc-wah-tabs.hcpc-wah-tabs--five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.hcpc-wadm{padding:12px 0 32px}.hcpc-wadm .hcpc-wadm-hero{padding:20px;flex-direction:column;align-items:flex-start}.hcpc-wadm .hcpc-wadm-hero h1{font-size:25px}.hcpc-wadm .hcpc-wadm-metrics{grid-template-columns:1fr}.hcpc-wadm .hcpc-wadm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hcpc-wadm .hcpc-wadm-links{grid-template-columns:1fr}main.hcpc-wa.hcpc-wah .hcpc-wah-tabs.hcpc-wah-tabs--five{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.hcpc-wadm .hcpc-wadm-cards{grid-template-columns:1fr}.hcpc-wadm .hcpc-wadm-card{min-height:125px}.hcpc-wadm .hcpc-wadm-card h3{font-size:16px}main.hcpc-wa.hcpc-wah .hcpc-wah-tabs.hcpc-wah-tabs--five{grid-template-columns:1fr}}

.hcpc-wadm .hcpc-wadm-state{font-size:16px}

/* One shared admin header layout and approval panel spacing. */
.hcpc-wa.hcpc-wah .hcpc-wah-header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hcpc-wa.hcpc-wah.hcpc-wiki-structures-review{max-width:1440px;padding:0;margin:0 auto;color:#dce7f1}
.hcpc-wa.hcpc-wah.hcpc-wiki-structures-review .hcpc-wa-crumb{display:block;padding:10px 0 16px}
.hcpc-wa.hcpc-wah.hcpc-wiki-structures-review .hs-wiki{width:100%;max-width:none;margin:0;padding:0}
.hcpc-wa.hcpc-wah.hcpc-wiki-structures-review #hcpc-structures-approvals{margin:0;width:100%}
.hcpc-wa.hcpc-wah.hcpc-wiki-structures-review .hd-panel{border-radius:5px}
@media(max-width:740px){.hcpc-wa.hcpc-wah .hcpc-wa-hero{flex-wrap:wrap}.hcpc-wa.hcpc-wah .hcpc-wah-header-actions{width:100%}}
