.cartharbor-ui {
    --ch-ink: #183834;
    --ch-muted: #526964;
    --ch-accent: #b44829;
    --ch-line: #d9e4df;
    --ch-surface: #fffefb;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ch-ink);
    text-align: left;
}
.cartharbor-ui *, .cartharbor-ui *::before, .cartharbor-ui *::after { box-sizing: border-box; }
.cartharbor-ui [hidden] { display: none !important; }
.cartharbor-ui h2 { margin: 0 0 10px; color: var(--ch-ink); font-family: inherit; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.4px; }
.cartharbor-ui p { margin: 0 0 14px; font-family: inherit; font-size: 14px; line-height: 1.6; }
.cartharbor-ui .cartharbor-copy { color: var(--ch-muted); }
.cartharbor-ui button, .cartharbor-ui input { font: inherit; }
.cartharbor-ui button { cursor: pointer; text-transform: none; letter-spacing: normal; }
.cartharbor-ui button:disabled { cursor: wait; opacity: .6; }
.cartharbor-ui :focus-visible { outline: 3px solid #207f77; outline-offset: 3px; }
.cartharbor-ui .cartharbor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin: 0;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease;
}
.cartharbor-ui .cartharbor-button-primary { color: #fff; background: var(--ch-ink); border-color: var(--ch-ink); }
.cartharbor-ui .cartharbor-button-primary:hover { color: #fff; background: #27524c; border-color: #27524c; }
.cartharbor-ui .cartharbor-button-secondary { color: var(--ch-ink); background: #fff; border-color: #9cb4ab; }
.cartharbor-ui .cartharbor-button-secondary:hover { color: var(--ch-ink); background: #edf4f0; border-color: #6c9183; }
.cartharbor-ui .cartharbor-policy { display: inline-block; color: #4a6259; font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cartharbor-ui .cartharbor-policy:hover { color: var(--ch-ink); }
.cartharbor-ui .cartharbor-status { color: var(--ch-ink); font-size: 13px; margin: 11px 0; }
.cartharbor-ui .cartharbor-status:empty { display: none; }
.cartharbor-ui .cartharbor-text-button { padding: 3px 0; min-height: 36px; margin: 0 14px 0 0; border: 0; background: transparent; box-shadow: none; color: var(--ch-ink); font-weight: 600; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cartharbor-ui .cartharbor-text-button:hover { color: var(--ch-accent); background: transparent; }
.cartharbor-privacy { position: relative; z-index: 99990; }
.cartharbor-ui .cartharbor-preferences {
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #c4d2c9;
    border-radius: 999px;
    color: var(--ch-ink);
    background: var(--ch-surface);
    box-shadow: 0 3px 15px #15392c14;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 650;
}
.cartharbor-ui .cartharbor-preferences:hover { background: #edf4f0; }
.cartharbor-ui .cartharbor-panel {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    padding: 23px 25px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ch-surface);
    border: 1px solid var(--ch-line);
    border-radius: 18px;
    box-shadow: 0 18px 65px #18383424, 0 2px 8px #1838340a;
}
.cartharbor-ui .cartharbor-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.cartharbor-ui .cartharbor-eyebrow { color: var(--ch-accent); font-size: 10px; font-weight: 750; letter-spacing: 1.8px; }
.cartharbor-ui .cartharbor-close { display: grid; place-items: center; min-width: 36px; min-height: 36px; margin: -9px -9px -5px 0; padding: 3px; border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: var(--ch-muted); font-size: 26px; line-height: 1; font-weight: 400; }
.cartharbor-ui .cartharbor-close:hover { background: #edf4f0; color: var(--ch-ink); }
.cartharbor-ui .cartharbor-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 17px 0 13px; }
.cartharbor-ui .cartharbor-actions .cartharbor-button { white-space: normal; }
.cartharbor-ui .cartharbor-state { display: inline-block; margin: 0; padding: 4px 9px; border: 1px solid var(--ch-line); border-radius: 999px; background: #f3f7f3; font-size: 11px; font-weight: 650; }
.cartharbor-ui .cartharbor-notice { padding: 11px 13px; background: #eef4ed; border-radius: 9px; font-size: 13px; }
.cartharbor-ui .cartharbor-reminder-preference { margin: 16px 0 10px; padding-top: 15px; border-top: 1px solid var(--ch-line); }
.cartharbor-ui .cartharbor-reminder-preference p { margin-bottom: 1px; font-size: 13px; }
.cartharbor-recovery { display: flex; align-items: flex-start; gap: 19px; width: 100%; margin: 0 0 25px; padding: 25px 26px; border: 1px solid #d3e1d5; border-radius: 15px; background: linear-gradient(115deg, #f2f7ef, #fffef8 85%); }
.cartharbor-ui .cartharbor-envelope { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid #cfddd0; border-radius: 13px; background: #e5eedf; color: #315b46; font-size: 25px; line-height: 1; }
.cartharbor-ui .cartharbor-recovery-content { flex: 1 1 auto; min-width: 0; }
.cartharbor-recovery h2 { font-size: 22px; margin-bottom: 6px; }
.cartharbor-recovery .cartharbor-copy { max-width: 580px; margin-bottom: 15px; }
.cartharbor-ui .cartharbor-email-label { display: block; margin: 0 0 6px; color: var(--ch-ink); font-size: 12px; font-weight: 650; }
.cartharbor-ui .cartharbor-email-row { display: flex; align-items: stretch; gap: 9px; max-width: 620px; }
.cartharbor-ui .cartharbor-email { display: block; flex: 1 1 auto; min-width: 0; min-height: 45px; width: 100%; height: auto; margin: 0; padding: 11px 13px; border: 1px solid #a8bcb0; border-radius: 9px; box-shadow: none; background: #fff; color: #183834; font-size: 16px; line-height: 1.4; }
.cartharbor-ui .cartharbor-email::placeholder { color: #6b7b73; opacity: 1; }
.cartharbor-ui .cartharbor-checkbox-label { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 8px; color: #435b50; font-size: 12px; line-height: 1.6; cursor: pointer; }
.cartharbor-ui .cartharbor-checkbox { appearance: auto; -webkit-appearance: checkbox; position: static; flex: 0 0 17px; width: 17px; height: 17px; min-height: 0; margin: 2px 0 0; padding: 0; border: 1px solid #a8bcb0; border-radius: 3px; opacity: 1; accent-color: #27524c; }
.cartharbor-ui.cartharbor-saved { background: #f1f7ef; }
@media (max-width: 600px) {
    .cartharbor-ui .cartharbor-panel { right: 12px; bottom: max(60px, calc(env(safe-area-inset-bottom) + 48px)); width: calc(100vw - 24px); max-height: calc(100dvh - 85px); padding: 19px 20px; border-radius: 15px; }
    .cartharbor-recovery { gap: 12px; padding: 19px 17px; }
    .cartharbor-ui .cartharbor-envelope { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; font-size: 21px; }
    .cartharbor-recovery h2 { font-size: 19px; }
    .cartharbor-ui .cartharbor-email-row { flex-direction: column; }
    .cartharbor-ui .cartharbor-email-row .cartharbor-button { width: 100%; }
}
@media (max-width: 360px) {
    .cartharbor-ui .cartharbor-envelope { display: none; }
    .cartharbor-ui .cartharbor-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .cartharbor-ui *, .cartharbor-ui *::before, .cartharbor-ui *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
