* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f6f8;
    color: #1e2329;
    font-family: Arial, Helvetica, sans-serif;
}

.page {
    min-height: 100vh;
    padding: 40px 20px;
}

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

.header {
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 6px;
    color: #586170;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
}

.lease-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.section-box {
    background: #ffffff;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(30, 35, 41, 0.06);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-section h2 {
    margin: 0 0 10px;
    color: #1e2329;
    font-size: 20px;
    line-height: 1.25;
}

.utility-table-wrap {
    margin-bottom: 18px;
    overflow-x: auto;
}

.utility-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d8dde5;
    font-size: 14px;
}

.utility-table th,
.utility-table td {
    border-bottom: 1px solid #d8dde5;
    padding: 11px;
    text-align: left;
    vertical-align: middle;
}

.utility-table thead th {
    background: #f5f6f8;
    color: #303743;
    font-weight: 700;
}

.utility-table tbody tr:last-child th,
.utility-table tbody tr:last-child td {
    border-bottom: 0;
}

.radio-cell {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    font-weight: 400;
    min-height: 24px;
}

.radio-cell input {
    min-height: 0;
    width: auto;
}

.radio-cell span {
    color: #303743;
}

.sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.checkbox-field label {
    align-items: center;
    display: inline-flex;
    gap: 9px;
    font-weight: 700;
}

.checkbox-field input {
    min-height: 0;
    width: auto;
}

[hidden] {
    display: none !important;
}

.span-2 {
    grid-column: span 2;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

label {
    color: #303743;
    font-size: 14px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #b8c0cc;
    border-radius: 6px;
    padding: 9px 11px;
    color: #1e2329;
    font: inherit;
}

input:focus,
select:focus {
    border-color: #0f6b63;
    outline: 3px solid rgba(15, 107, 99, 0.16);
}

input:disabled,
select:disabled {
    background: #eef1f4;
    color: #7b8491;
    cursor: not-allowed;
}

.money-input {
    align-items: center;
    display: flex;
    position: relative;
}

.money-input span {
    color: #586170;
    font-weight: 700;
    left: 12px;
    pointer-events: none;
    position: absolute;
}

.money-input input {
    padding-left: 28px;
}

button {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: #0f6b63;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0 18px;
}

button:hover {
    background: #0a564f;
}

.submit-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.alert {
    margin-bottom: 16px;
    border: 1px solid #d9a441;
    border-radius: 6px;
    background: #fff7e8;
    color: #6f4b00;
    padding: 12px 14px;
}

@media (max-width: 680px) {
    .page {
        padding: 24px 14px;
    }

    .section-box {
        padding: 18px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .span-2 {
        grid-column: auto;
    }
}
