body.install-guide-page {
    margin: 0;
    background: #008080;
    color: #000;
    font-family: "MS Sans Serif", Tahoma, sans-serif;
}

.install-guide-shell {
    min-height: 100vh;
    padding: 18px;
    box-sizing: border-box;
}

.install-guide-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.install-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.install-toolbar a {
    text-decoration: none;
}

.install-intro {
    margin-bottom: 14px;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.install-card {
    margin-bottom: 14px;
}

.install-card .window-body p,
.install-card .window-body li {
    line-height: 1.5;
}

.install-card .window-body ul,
.install-card .window-body ol {
    padding-left: 22px;
    margin: 10px 0;
}

.status-list {
    display: grid;
    gap: 8px;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: #fff;
}

.status-row small {
    color: #333;
    display: block;
    margin-top: 3px;
}

.status-tag {
    display: inline-block;
    min-width: 62px;
    text-align: center;
    padding: 2px 8px;
    border: 2px solid #000;
    background: #c0c0c0;
    font-weight: 700;
}

.status-tag.ok {
    background: #dff0d8;
}

.status-tag.fail {
    background: #f4cccc;
}

.status-tag.warn {
    background: #fff2cc;
}

.install-code {
    white-space: pre-wrap;
    word-break: break-word;
    background: #fff;
    padding: 12px;
    margin: 10px 0;
    overflow: auto;
}

.install-note {
    padding: 10px 12px;
    margin: 10px 0;
    background: #ffffcc;
    border: 1px solid #808080;
}

.install-steps ol {
    margin-top: 0;
}

.install-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.install-links a {
    text-decoration: none;
}

.install-footer {
    margin-top: 18px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 640px) {
    .install-guide-shell {
        padding: 10px;
    }

    .status-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.status-box {
    padding: 10px 12px;
    margin: 0 0 12px;
    border: 2px solid #000;
    background: #fff;
}

.status-box.status-error {
    background: #f4cccc;
}

.status-box.status-success {
    background: #d9ead3;
}

.install-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.field-row-stacked {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-row-stacked span {
    font-weight: 700;
}

.field-row-stacked-full {
    grid-column: 1 / -1;
}

.field-row-stacked input,
.field-row-stacked select,
.field-row-stacked textarea {
    width: 100%;
    box-sizing: border-box;
}

.install-form .field-row-buttons {
    margin-top: 14px;
}

.install-textarea {
    width: 100%;
    min-height: 180px;
    box-sizing: border-box;
    padding: 10px;
    background: #fff;
    resize: vertical;
}

.install-success-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
