.emr-quote {
    --emr-quote-accent: #b21c2e;
    --emr-quote-ink: #232323;
    --emr-quote-line: #e5e1df;
    color: var(--emr-quote-ink);
}

.emr-quote [hidden], .emr-quote-feedback[hidden] { display: none !important; }
.emr-quote__status { min-height: 1.5em; margin: 0 0 .75rem; }
.emr-quote__list { list-style: none; padding: 0; margin: 0 0 1.75rem; border-top: 1px solid var(--emr-quote-line); }
.emr-quote__item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--emr-quote-line); }
.emr-quote__image { object-fit: contain; flex: 0 0 72px; height: 72px; width: 72px; }
.emr-quote__detail { display: grid; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.emr-quote__name { color: inherit; font-weight: 700; }
.emr-quote__sku { color: #5b5654; font-size: .875rem; }
.emr-quote__quantity, .emr-quote__note { display: grid; gap: .4rem; font-weight: 600; }
.emr-quote input, .emr-quote textarea { font: inherit; border: 1px solid #9b9290; padding: .55rem; background: #fff; color: var(--emr-quote-ink); }
.emr-quote__quantity input { width: 5.25rem; }
.emr-quote__note { width: min(100%, 42rem); margin-bottom: 1rem; }
.emr-quote__note textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.emr-quote__action, .emr-quote__retry, .emr-quote__remove {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.emr-quote__action { border: 1px solid var(--emr-quote-accent); padding: .6rem 1rem; color: #fff; background: var(--emr-quote-accent); }
.emr-quote__action:hover { color: #fff; background: #8c1423; }
.emr-quote__action:disabled { opacity: .65; cursor: wait; }
.emr-quote__retry, .emr-quote__remove { background: #fff; color: var(--emr-quote-accent); border: 1px solid var(--emr-quote-line); padding: .45rem .75rem; }
.emr-quote__retry { margin-bottom: 1rem; }
.emr-quote :focus-visible { outline: 2px solid #971425; outline-offset: 3px; }
.emr-quote__messages { margin-top: 1.75rem; padding: 1.25rem; background: #f6f3f1; }
.emr-quote__messages .emr-quote__action { margin: 0 .5rem .5rem 0; }
.emr-quote-feedback { position: fixed; z-index: 1000; inset: auto 1rem 1rem auto; max-width: min(28rem, calc(100vw - 2rem)); background: #232323; color: #fff; padding: .8rem 1rem; box-shadow: 0 4px 22px #0003; }

@media (max-width: 550px) {
    .emr-quote__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; }
    .emr-quote__image { width: 48px; height: 48px; grid-row: 1 / 3; }
    .emr-quote__detail { grid-column: 2 / 4; }
    .emr-quote__quantity { grid-column: 2; }
    .emr-quote__remove { grid-column: 3; align-self: end; }
}
