/* 让 html/body 占满 iframe 100% 高度 */
html, body {
    height: 100%;
    margin: 0;
    font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f6fa;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

textarea {
    width: 98%;
    height: 300px;
    resize: vertical;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
}

textarea:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 2px rgba(110, 142, 251, .2);
}

.btn-save {
    align-self: flex-start;
    padding: 9px 26px;
    background: #6e8efb;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-save:hover {
    background: #5a7df9;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-row h2 {
    margin: 0;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}