.custdev-daily {
    width: 100%;
    min-height: 142px;
    background: #f7f9fa;
    border-top: 1px solid #dfe4e8;
    border-bottom: 1px solid #dfe4e8;
    color: #20262d;
}

.custdev-daily[hidden],
.custdev-daily [hidden] {
    display: none !important;
}

.custdev-daily__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(310px, .85fr);
    grid-template-areas:
        "product poll"
        "feedback feedback";
    align-items: center;
    gap: 12px 28px;
    min-height: 142px;
    padding-top: 14px;
    padding-bottom: 14px;
    box-sizing: border-box;
}

.custdev-daily__product {
    grid-area: product;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.custdev-daily__product:hover,
.custdev-daily__product:focus {
    color: #b52b32;
    text-decoration: none;
}

.custdev-daily__image-wrap {
    display: block;
    width: 112px;
    height: 112px;
    background: #fff;
    border: 1px solid #e2e6e9;
    border-radius: 6px;
    overflow: hidden;
}

.custdev-daily__image {
    display: block;
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.custdev-daily__details,
.custdev-daily__eyebrow,
.custdev-daily__name,
.custdev-daily__price {
    display: block;
}

.custdev-daily__details {
    min-width: 0;
}

.custdev-daily__eyebrow {
    margin-bottom: 5px;
    color: #59636d;
    font-size: 13px;
    font-weight: 600;
}

.custdev-daily__name {
    max-width: 100%;
    color: #20262d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.custdev-daily__price {
    margin-top: 7px;
    color: #b52b32;
    font-size: 18px;
    font-weight: 700;
}

.custdev-daily__poll {
    grid-area: poll;
    min-width: 0;
}

.custdev-daily__question {
    margin: 0 0 10px;
    color: #20262d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

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

.custdev-daily__vote,
.custdev-daily__submit,
.custdev-daily__skip {
    min-height: 40px;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.custdev-daily__vote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #c8d0d6;
    background: #fff;
    color: #283139;
}

.custdev-daily__vote:hover,
.custdev-daily__vote:focus {
    border-color: #8b979f;
    background: #f1f4f5;
}

.custdev-daily__vote--like[aria-pressed="true"] {
    border-color: #237a4a;
    background: #e8f5ed;
    color: #175c36;
}

.custdev-daily__vote--dislike[aria-pressed="true"] {
    border-color: #b4373f;
    background: #faebec;
    color: #8e252c;
}

.custdev-daily__vote:disabled,
.custdev-daily__submit:disabled {
    cursor: wait;
    opacity: .65;
}

.custdev-daily__status,
.custdev-daily__stats {
    min-height: 20px;
    margin-top: 7px;
    color: #4c5861;
    font-size: 13px;
    line-height: 1.4;
}

.custdev-daily__status:empty,
.custdev-daily__stats:empty {
    min-height: 0;
    margin-top: 0;
}

.custdev-daily__feedback {
    grid-area: feedback;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr) auto;
    align-items: end;
    gap: 10px 14px;
    padding-top: 12px;
    border-top: 1px solid #dfe4e8;
}

.custdev-daily__reason-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.custdev-daily__reason-group legend,
.custdev-daily__comment-label {
    margin: 0 0 6px;
    color: #374149;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.custdev-daily__comment-label span {
    color: #6b757d;
    font-weight: 400;
}

.custdev-daily__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.custdev-daily__chips label {
    margin: 0;
    cursor: pointer;
}

.custdev-daily__chips input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.custdev-daily__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 9px;
    box-sizing: border-box;
    border: 1px solid #cbd3d8;
    border-radius: 6px;
    background: #fff;
    color: #344049;
    font-size: 12px;
    line-height: 1.2;
}

.custdev-daily__chips input:focus + span,
.custdev-daily__chips input:checked + span {
    border-color: #356b86;
    background: #eaf3f7;
    color: #244e63;
}

.custdev-daily__comment-label {
    display: block;
}

.custdev-daily__comment {
    display: block;
    width: 100%;
    min-height: 60px;
    max-height: 130px;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1px solid #c8d0d6;
    border-radius: 6px;
    background: #fff;
    color: #20262d;
    resize: vertical;
}

.custdev-daily__feedback-actions {
    display: flex;
    gap: 7px;
}

.custdev-daily__submit,
.custdev-daily__skip {
    padding: 7px 13px;
}

.custdev-daily__submit {
    border: 1px solid #b52b32;
    background: #b52b32;
    color: #fff;
}

.custdev-daily__skip {
    border: 1px solid transparent;
    background: transparent;
    color: #4d5962;
}

.custdev-daily__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.custdev-daily button:focus,
.custdev-daily a:focus,
.custdev-daily textarea:focus {
    outline: 2px solid #356b86;
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .custdev-daily__inner {
        grid-template-columns: minmax(250px, .9fr) minmax(290px, 1.1fr);
        gap: 12px 18px;
    }

    .custdev-daily__feedback {
        grid-template-columns: 1fr 1fr;
    }

    .custdev-daily__feedback-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .custdev-daily {
        min-height: 0;
    }

    .custdev-daily__inner {
        grid-template-columns: 1fr;
        grid-template-areas: "product" "poll" "feedback";
        gap: 13px;
        min-height: 0;
        padding-top: 12px;
        padding-bottom: 14px;
    }

    .custdev-daily__product {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
    }

    .custdev-daily__image-wrap,
    .custdev-daily__image {
        width: 82px;
        height: 82px;
    }

    .custdev-daily__name,
    .custdev-daily__question {
        font-size: 15px;
    }

    .custdev-daily__price {
        font-size: 16px;
    }

    .custdev-daily__feedback {
        grid-template-columns: 1fr;
    }

    .custdev-daily__feedback-actions {
        grid-column: auto;
    }
}

@media (max-width: 360px) {
    .custdev-daily__actions,
    .custdev-daily__feedback-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
