* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #f7f6f2;
    color: #111;
    font-family: "Roboto", sans-serif;
}

.canvas {
    padding: 24px;
}

.container {
    width: min(100%, 860px);
    margin: 0 auto;
}

.top-row,
.header-row {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

.top-row {
    grid-template-columns: 140px minmax(0, 1fr) 136px;
    align-items: center;
}

.header-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) 68px;
    align-items: center;
}

.sketch-field,
.sketch-button,
.box {
    background: #fff;
    border: 2px solid #1f1f1f;
    border-radius: 20px;
    box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.18);
}

.sketch-field,
.sketch-button {
    min-height: 60px;
    padding: 0 22px;
    font: inherit;
    font-size: 1.05rem;
    color: #111;
}

.sketch-field {
    width: 100%;
    outline: none;
}

.sketch-field::placeholder {
    color: #111;
    opacity: 1;
}

.sketch-field:focus {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.method-field {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(50% - 4px), calc(100% - 14px) calc(50% - 4px);
    background-size: 10px 10px, 10px 10px;
    background-repeat: no-repeat;
    padding-right: 50px;
}

.sketch-button {
    cursor: pointer;
}

.icon-button {
    padding: 0;
    font-size: 2rem;
    line-height: 1;
}

.box {
    min-height: 264px;
    padding: 34px 44px;
}

.body-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.body-box label,
.box-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.body-box textarea {
    width: 100%;
    min-height: 150px;
    flex: 1;
    border: 0;
    outline: none;
    resize: none;
    background: transparent;
    font: inherit;
    font-size: 1.05rem;
    color: #111;
}

.divider {
    height: 2px;
    margin: 26px 14px 24px;
    background: rgba(17, 17, 17, 0.7);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.response-box {
    min-height: 266px;
}

.response-output {
    margin-top: 18px;
    min-height: 170px;
    white-space: pre-wrap;
    font: inherit;
    font-size: 1.05rem;
    color: #111;
}

