.task-composer-modal {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 8, 10, .34);
}

.task-composer-modal.is-open {
    display: flex;
}

.task-composer {
    width: min(750px, calc(100vw - 32px));
    height: min(408px, calc(100vh - 32px));
    display: grid;
    grid-template-rows: 50px minmax(0, 1fr) 64px;
    overflow: hidden;
    border: 1px solid #a9b4bd;
    border-radius: 7px;
    background: #1a2227;
    color: #fff;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .46);
}

.task-composer-head {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 190px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border-bottom: 2px solid #25313a;
}

.task-composer-back {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
}

.task-composer h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.assign-more-toggle,
.repeat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9da8b1;
    font-size: 15px;
    font-weight: 500;
}

.assign-more-toggle input,
.repeat-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.assign-more-toggle span,
.repeat-toggle span {
    width: 17px;
    height: 17px;
    display: inline-block;
    border: 2px solid #a7b2bb;
    border-radius: 2px;
}

.assign-more-toggle input:checked + span,
.repeat-toggle input:checked + span {
    background: var(--green);
    border-color: var(--green);
}

.task-composer-body {
    display: grid;
    grid-template-rows: 70px 96px 46px 50px;
    min-height: 0;
}

.composer-field {
    display: flex;
    flex-direction: column;
    padding: 16px 20px 0;
    color: #9da8b1;
    font-size: 13px;
    font-weight: 800;
}

.composer-field input,
.composer-field textarea {
    width: 100%;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
}

.composer-field input {
    height: 34px;
}

.composer-field textarea {
    height: 68px;
}

.composer-checklist {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-top: 1px solid #26313a;
    background: transparent;
    color: #a7b2bb;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 800;
}

.composer-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 0 10px 12px;
}

.composer-options button {
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #a7b2bb;
    border-radius: 4px;
    background: transparent;
    color: #9da8b1;
    font-size: 15px;
    font-weight: 500;
}

.composer-options button.active {
    border-color: var(--green);
    color: #a7b2bb;
}

.composer-options button.active .material-symbols-rounded {
    color: #ff5365;
}

.composer-options .material-symbols-rounded {
    font-size: 19px;
}

.task-composer-foot {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) 34px 139px;
    align-items: center;
    gap: 12px;
    padding: 0 10px 0 18px;
    border-top: 1px solid #26313a;
}

.composer-quick-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.composer-quick-actions button,
.composer-more {
    border: 0;
    background: transparent;
    color: #9da8b1;
    font-size: 27px;
}

.composer-submit {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 5px;
    background: var(--green);
    color: #071d16;
    font-size: 15px;
    font-weight: 800;
}

.composer-submit .material-symbols-rounded {
    color: #071d16;
    font-size: 19px;
}
