
.ett-modal {
    z-index: 101300;
}

.ett-modal-box {
    width: 790px;
    max-width: 95vw;
    max-height: 94vh;
    padding: 0;
    overflow: hidden;
}

.ett-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.ett-modal-head h2 {
    margin: 0 0 5px;
}

.ett-modal-head p {
    margin: 0;
    color: #64748b;
}

.ett-modal-head > button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #e2e8f0;
    color: #334155;
    cursor: pointer;
}

.ett-modal-body {
    max-height: calc(94vh - 82px);
    overflow: auto;
    padding: 18px 20px;
}

.ett-schedule-warning {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
}

.ett-schedule-warning > i {
    margin-top: 2px;
    font-size: 23px;
}

.ett-schedule-warning strong,
.ett-schedule-warning span {
    display: block;
}

.ett-schedule-warning span {
    margin-top: 5px;
    line-height: 1.45;
}

.ett-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.ett-choice-grid article {
    padding: 14px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #f8fafc;
}

.ett-choice-grid article > i {
    margin-bottom: 9px;
    color: #2563eb;
    font-size: 22px;
}

.ett-choice-grid strong {
    display: block;
}

.ett-choice-grid p {
    margin: 7px 0 0;
    color: #64748b;
    line-height: 1.45;
}

.ett-note-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 14px;
}

.ett-note-field span {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.ett-note-field textarea {
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    resize: vertical;
    font: inherit;
}

.ett-message {
    min-height: 22px;
    margin-top: 8px;
    font-weight: 800;
}

.ett-message.loading {
    color: #475569;
}

.ett-message.error {
    color: #b91c1c;
}

.ett-decision-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 14px;
}

.ett-decision-actions button {
    min-height: 43px;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.ett-decision-actions .secondary {
    background: #e2e8f0;
    color: #334155;
}

.ett-decision-actions .today {
    background: #fef3c7;
    color: #92400e;
}

.ett-decision-actions .complete {
    background: #16a34a;
    color: #ffffff;
}

@media (max-width: 760px) {
    .ett-modal {
        align-items: flex-end;
        padding: 0;
    }

    .ett-modal-box {
        width: 100%;
        max-width: 100vw;
        max-height: 95dvh;
        border-radius: 22px 22px 0 0;
    }

    .ett-modal-head {
        flex-direction: column;
    }

    .ett-modal-body {
        max-height: calc(95dvh - 82px);
        padding: 14px;
    }

    .ett-choice-grid {
        grid-template-columns: 1fr;
    }

    .ett-decision-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ett-decision-actions button {
        width: 100%;
    }
}
