.iz-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.iz-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 20px;
    margin-bottom: 24px;
}

.iz-map {
    height: 460px;
    width: 100%;
    border-radius: 8px;
    background: #e8eef4;
    overflow: hidden;
}

.iz-map .maplibregl-map,
.iz-map .leaflet-gl-layer {
    height: 100%;
    width: 100%;
}

.iz-hint {
    font-size: 13px;
    color: #7f8c8d;
}

.iz-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.iz-form-card .form-group {
    margin-bottom: 14px;
}

.iz-form-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.iz-form-card input,
.iz-form-card textarea,
.iz-form-card select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
    font-size: 14px;
}

.iz-form-card input[readonly] {
    background: #f4f6f8;
    color: #5d6d7e;
}

.iz-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.iz-checkbox input {
    width: auto;
}

.iz-form-actions {
    display: flex;
    gap: 10px;
}

.iz-list-tools {
    display: flex;
    gap: 8px;
    align-items: center;
}

.iz-list-tools input {
    padding: 6px 10px;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
}

.iz-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iz-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e6ebf0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
}

.iz-item:hover {
    border-color: #665bff;
}

.iz-item.is-inactive {
    opacity: 0.55;
}

.iz-item-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iz-item-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.iz-item-photo img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #f4f6f8;
}

.iz-item-head-text {
    min-width: 0;
    flex: 1;
}

.iz-item-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.iz-item-reached {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1a7f5a;
}

.iz-item-desc {
    margin-top: 4px;
    font-size: 13px;
    color: #2c3e50;
    white-space: pre-wrap;
    word-break: break-word;
}

.iz-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 16px;
}

.iz-item-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.iz-item-label {
    font-size: 11px;
    font-weight: 600;
    color: #7f8c8d;
}

.iz-item-value {
    font-size: 13px;
    color: #2c3e50;
    word-break: break-word;
}

.iz-item-value a {
    color: #665bff;
}

.iz-item-actions {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.iz-notification {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #eafaf1;
    color: #1e8449;
}

.iz-notification.is-error {
    background: #fdecea;
    color: #c0392b;
}

.iz-loading {
    color: #7f8c8d;
    padding: 12px 0;
}

.iz-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    padding: 16px;
}

.iz-modal[hidden] {
    display: none;
}

.iz-modal-card {
    background: #fff;
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.iz-modal-card ul {
    padding-left: 18px;
    color: #2c3e50;
    line-height: 1.45;
}

.page-header .btn {
    margin-top: 8px;
}

@media (max-width: 960px) {
    .iz-layout,
    .iz-form-row {
        grid-template-columns: 1fr;
    }
}
