/* Kohdeasetusten hallintanäkymä. */
.kohdehallinta { max-width: 920px; margin: 0 auto; padding: 0.5rem 0 1.5rem; }
.kohdehallinta__otsake { margin-bottom: 1.25rem; }
.kohdehallinta__otsake h1 { margin-bottom: 0.35rem; color: #263238; }
.kohdehallinta__otsake h1 i { color: #9f272b; }
.kohdehallinta__kulmakarva { margin: 0 0 0.2rem; color: #9f272b; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kohdehallinta__valinta { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-bottom: 1rem; padding: 0.8rem; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 0.5rem; }
.kohdehallinta__valinta form { display: flex; flex: 1 1 28rem; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.kohdehallinta__valinta select { flex: 1 1 14rem; min-height: 2.1rem; padding: 0.25rem 0.45rem; border: 1px solid #adb5bd; border-radius: 0.3rem; }
.kohdehallinta__kohdelinkki, .kohdehallinta__uusi { padding: 0.35rem 0.55rem; color: #334; text-decoration: none; background: #fff; border: 1px solid #adb5bd; border-radius: 0.3rem; }
.kohdehallinta__kohdelinkki:hover, .kohdehallinta__kohdelinkki:focus-visible, .kohdehallinta__uusi:hover, .kohdehallinta__uusi:focus-visible { color: #fff; background: #9f272b; border-color: #9f272b; }
.kohdehallinta__kohdelinkki--aktiivinen { color: #fff; background: #495057; border-color: #495057; }
.kohdehallinta__uusi { margin-left: auto; color: #0d6efd; border-color: #0d6efd; }
.kohdehallinta__lomake { padding: 1.25rem; background: #fff; border: 1px solid #ced4da; border-radius: 0.6rem; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05); }
.kohdehallinta__kentat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; }
.kohdehallinta__kentat label { display: grid; gap: 0.3rem; color: #343a40; font-size: 0.9rem; font-weight: 600; }
.kohdehallinta__kentat input, .kohdehallinta__kentat select { width: 100%; min-height: 2.45rem; padding: 0.45rem 0.6rem; color: #212529; font: inherit; font-weight: 400; background: #fff; border: 1px solid #adb5bd; border-radius: 0.3rem; }
.kohdehallinta__lukittu { display: flex; align-items: center; min-height: 2.45rem; padding: 0.45rem 0.6rem; color: #6c757d; font-weight: 400; background: #e9ecef; border: 1px solid #ced4da; border-radius: 0.3rem; }
.kohdehallinta__kentat input:focus, .kohdehallinta__kentat select:focus, .kohdehallinta__valinta select:focus { outline: 3px solid rgba(13, 110, 253, 0.25); border-color: #0d6efd; }
.kohdehallinta__koko { grid-column: 1 / -1; }
.kohdehallinta__valinnat { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.25rem 0 0; padding: 0.85rem 1rem; border: 1px solid #ced4da; border-radius: 0.4rem; }
.kohdehallinta__valinnat legend { float: none; width: auto; margin: 0; padding: 0 0.3rem; font-size: 0.9rem; font-weight: 700; }
.kohdehallinta__valinnat label { display: flex; gap: 0.4rem; align-items: center; }
.kohdehallinta__toiminnot { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.kohdehallinta .alert ul { margin: 0.4rem 0 0; }
@media (max-width: 600px) { .kohdehallinta__kentat { grid-template-columns: 1fr; } .kohdehallinta__koko { grid-column: auto; } .kohdehallinta__uusi { width: 100%; margin-left: 0; text-align: center; } }
