/* Customer semantic colors. Status text and all commerce decisions stay in their original modules. */
html.c610-ui{--h-warning:#794700;--h-warning-bg:#fff4df;--h-warning-line:#a66b18;--h-danger:#b42336;--h-danger-bg:#fff0f2;--h-danger-line:#c2707d;--h-success:#1a6841;--h-success-bg:#eaf7ef;--h-success-line:#6b9d7d;--h-secondary:#586579}
html.c610-ui:not(.light){--h-warning:#ffdaa2;--h-warning-bg:#382b19;--h-warning-line:#b28b50;--h-danger:#ffb4be;--h-danger-bg:#3a2028;--h-danger-line:#c68b95;--h-success:#a2e4ba;--h-success-bg:#183327;--h-success-line:#73af8d;--h-secondary:#bbc4d4}
/* Caution is readable, with a shape cue in addition to its color. */
html.c610-ui body :is(.pv-warning,.pv-change-note,.pv-qr>p,.cn-warning,.ov-query-error,.so-warning,#c610CheckoutNotice,#c610CheckoutHours:not([hidden]),.cg-error){box-sizing:border-box;background:var(--h-warning-bg)!important;color:var(--h-warning)!important;border:1px solid var(--h-warning-line)!important;border-inline-start-width:3px!important;border-radius:12px;padding:10px 12px!important;font-size:14px!important;font-weight:550;line-height:1.75!important;overflow-wrap:anywhere}
html.c610-ui body :is(.pv-warning,.pv-change-note){margin:12px 0}
html.c610-ui body :is(.pv-proof-state,.cg-progress,.cg-summary,.cn-pending-body p,.ov-status-note,.ov-sync){font-size:13px;line-height:1.75;color:var(--h-secondary)}
html.c610-ui body :is(.pv-steps,.pv-help){font-size:14px;line-height:1.75}
html.c610-ui body .pv-help{display:inline-flex;align-items:center;min-height:44px;color:var(--u-brand);font-weight:650;text-decoration:underline;text-underline-offset:3px}
html.c610-ui body :is(.pv-proof-state[data-tone],#ceNotice[data-tone]){background:var(--u-bg);color:var(--u-ink);border:1px solid var(--u-line);border-inline-start-width:3px;border-radius:12px;padding:10px 12px;line-height:1.75}
html.c610-ui body :is(.pv-proof-state[data-tone=warning],#ceNotice[data-tone=warning]){background:var(--h-warning-bg);color:var(--h-warning);border-color:var(--h-warning-line)}
html.c610-ui body :is(.pv-proof-state[data-tone=error],#ceNotice[data-tone=error]){background:var(--h-danger-bg);color:var(--h-danger);border-color:var(--h-danger-line)}
html.c610-ui body #ceNotice[data-tone=success]{background:var(--h-success-bg);color:var(--h-success);border-color:var(--h-success-line)}
html.c610-ui body #ceNotice p{color:inherit;font-size:14px;font-weight:550}
/* Field errors are distinct from a price or delivery estimate needing review. */
html.c610-ui body :is(.c610-field-error:not(#c610CheckoutNotice),.rv-field-error){color:var(--h-danger)!important;font-size:14px!important;font-weight:600;line-height:1.7}
html.c610-ui body [aria-invalid=true]{border-color:var(--h-danger-line)!important}
html.c610-ui body :is(.rv-field-label,.bv-field-label){font-size:13px;font-weight:650;color:var(--u-ink)}
html.c610-ui body .cg-field.cg-invalid{outline-color:var(--h-warning-line)}
html.c610-ui body .cg-field.cg-invalid:focus-visible{outline-color:var(--u-brand)}
/* Accepted order and delivery states; receipt selection never uses success green. */
html.c610-ui body :is(.ov-status[data-state=delivered],.ov-current-copy>strong[data-state=delivered]){color:var(--h-success);font-weight:750}
html.c610-ui body :is(.ov-status[data-state=soldout],.ov-status[data-state=unknown],.ov-current-copy>strong[data-state=soldout],.ov-current-copy>strong[data-state=unknown]){color:var(--h-warning);background:var(--h-warning-bg);border-radius:10px;padding:4px 8px;display:inline-block}
html.c610-ui body .ov-status[data-state=cancelled]{color:var(--h-secondary)}
html.c610-ui body .c610-success h1{color:var(--h-success)!important;font-weight:750!important}
html.c610-ui body .c610-success-warning{background:var(--h-warning-bg)!important;color:var(--h-warning)!important;border:1px solid var(--h-warning-line)}
html.c610-ui body .cn-pending-body>h2{color:var(--h-warning);font-weight:750}
html.c610-ui body .cn-pending-body>p:first-of-type{background:var(--h-warning-bg);color:var(--h-warning);border-inline-start:3px solid var(--h-warning-line);border-radius:12px;padding:10px 12px;font-weight:550}
/* Strong primary action, quiet back/help actions and explicit destructive actions. */
html.yum-ui.c610-ui body :is(#ckSubmit,#ctGo,#dsAdd,#pickConfirm,#modifierConfirm,.cg-guide,#cnQueryOrder,.c610-success-primary){font-weight:700!important;background:var(--u-brand)!important;color:var(--yum-on-brand,#fff)!important;border-color:var(--u-brand)}
html.yum-ui.c610-ui body :is(#ckSubmit,#ctGo,#dsAdd,#pickConfirm,#modifierConfirm,.cg-guide):disabled:not([aria-hidden=true]){background:var(--u-line)!important;color:var(--h-secondary)!important;opacity:1!important;cursor:not-allowed}
html.yum-ui.c610-ui body :is(#bvCheckoutBack,.cn-pending-foot>:not(:first-child),.modifier-back,.pick-cancel){font-weight:550;color:var(--u-ink)!important}
html.yum-ui.c610-ui body :is(#pvChoose,#pvAcknowledge){font-weight:700;border-color:var(--u-brand);background:var(--u-soft)}
html.yum-ui.c610-ui body #pvAcknowledge{background:var(--h-warning-bg);color:var(--h-warning);border-color:var(--h-warning-line)}
html.yum-ui.c610-ui body :is(#ctGo[data-intent=remove],.c610-manage-bar button,.so-actions>button:last-child,#soConfirm){background:var(--h-danger-bg)!important;color:var(--h-danger)!important;border:1px solid var(--h-danger-line)!important;font-weight:700}
html.c610-ui body :is(.bv-grand>span:last-child,#ckPayAmount,.bv-store-total>span:last-child){color:var(--u-ink)!important;font-weight:750;font-variant-numeric:tabular-nums}
html.c610-ui body :is(.bv-grand>span:last-child,#ckPayAmount){font-size:24px!important;line-height:1.5}
html.yum-ui.c610-ui body #dddPrevMask #ckPayAmount{font-size:24px!important}
html.yum-ui.c610-ui body .qty .qb.p{color:var(--yum-on-brand,#fff)!important}
html.yum-ui.c610-ui body #dddPrevMask .bv-checkout-footer #ckSubmit:not(:disabled),html.yum-ui.c610-ui body #ctBar #ctGo:not(:disabled){background:var(--u-brand)!important;color:var(--yum-on-brand,#fff)!important}
html.yum-ui.c610-ui body #ctBar #ctGo[data-intent=remove]:not(:disabled){background:var(--h-danger-bg)!important;color:var(--h-danger)!important;border:1px solid var(--h-danger-line)!important}
