/* Order reminders live within the existing blue shop-management theme. */
.om-panel {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.om-panel [hidden] { display: none !important; }
.om-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.om-heading h2 { color: #1e293b; font-size: 18px; font-weight: 600; }
.om-heading p, .om-note { margin-top: 8px; font-size: 13px; color: #64748b; line-height: 1.65; }
.om-heading .btn { flex-shrink: 0; }
.om-feedback { margin-top: 16px; padding: 10px 12px; border-radius: 6px; font-size: 13px; line-height: 1.6; background: #eff6ff; color: #1d4ed8; }
.om-feedback:empty { display: none; }
.om-feedback[data-tone="error"] { background: #fef2f2; color: #b91c1c; }
.om-feedback[data-tone="success"] { background: #f0fdf4; color: #166534; }
.om-service { margin-top: 20px; padding: 18px; border: 1px solid #bfdbfe; border-radius: 8px; background: #f8fbff; }
.om-service h3 { font-size: 15px; color: #1e293b; }
.om-service-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 12px; }
.om-service-metrics > div { border-left: 2px solid #bfdbfe; padding-left: 12px; }
.om-service-metrics dt { color: #64748b; font-size: 12px; line-height: 1.6; }
.om-service-metrics dd { margin: 5px 0 0; font-size: 18px; font-weight: 600; color: #1e3a8a; overflow-wrap: anywhere; }
.om-order-link { display: inline-block; color: #2563eb; font-size: 13px; margin-top: 10px; text-underline-offset: 3px; }
.om-email { margin-top: 20px; padding: 18px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.om-email h3 { font-size: 15px; color: #1e293b; }
.om-email-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.om-tag { display: inline-flex; align-items: center; border-radius: 4px; padding: 3px 7px; background: #f1f5f9; color: #475569; font-size: 12px; line-height: 1.5; white-space: normal; }
.om-tag[data-tone="good"] { background: #eff6ff; color: #1d4ed8; }
.om-tag[data-tone="warning"] { background: #fff7ed; color: #9a3412; }
.om-tag[data-tone="error"] { background: #fef2f2; color: #b91c1c; }
.om-email-status { margin-top: 8px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.om-email-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.om-field { display: flex; flex: 1; flex-direction: column; gap: 7px; min-width: 220px; max-width: 440px; font-size: 13px; color: #475569; }
.om-field input { width: 100%; border: 1px solid #cbd5e1; background: #fff; color: #1e293b; border-radius: 6px; font: inherit; padding: 10px 12px; min-height: 40px; }
.om-field input:focus { outline: 2px solid #93c5fd; outline-offset: 1px; border-color: #3b82f6; }
.om-field input:disabled { background: #f1f5f9; color: #64748b; }
.om-code-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.om-code-form .om-field { max-width: 220px; min-width: 150px; flex: none; }
.om-shop-list { margin-top: 22px; }
.om-shop-list > h3 { font-size: 15px; color: #1e293b; margin-bottom: 12px; }
.om-shop { padding: 16px 0; border-top: 1px solid #e5e7eb; display: grid; grid-template-columns: minmax(140px, 1.2fr) minmax(170px, 1.5fr) minmax(175px, 1fr); gap: 20px; align-items: start; }
.om-shop-title { font-size: 14px; font-weight: 600; color: #1e293b; line-height: 1.55; overflow-wrap: anywhere; }
.om-shop-subtitle { margin-top: 5px; font-size: 12px; color: #64748b; }
.om-shop-status { margin-bottom: 7px; }
.om-shop-detail { font-size: 12px; line-height: 1.75; color: #64748b; overflow-wrap: anywhere; }
.om-shop-error { margin-top: 6px; color: #b45309; }
.om-switches { display: flex; flex-direction: column; gap: 12px; }
.om-toggle { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #334155; cursor: pointer; }
.om-toggle input { width: 17px; height: 17px; accent-color: #2563eb; cursor: pointer; flex-shrink: 0; }
.om-toggle input:disabled { cursor: not-allowed; }
.om-toggle:has(input:disabled) { color: #64748b; cursor: not-allowed; }
.om-switch-note { font-size: 12px; line-height: 1.6; color: #64748b; margin-top: -5px; }
.om-empty { padding: 20px 0 4px; color: #64748b; font-size: 13px; line-height: 1.7; }
.om-panel button:disabled { opacity: .6; cursor: not-allowed; }
.om-panel button:focus-visible, .om-toggle input:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.om-footer-note { padding-top: 14px; margin-top: 6px; border-top: 1px solid #e5e7eb; }
@media (max-width: 700px) {
    .om-panel { padding: 18px 16px; }
    .om-heading { gap: 12px; flex-wrap: wrap; }
    .om-heading .btn { padding: 8px 12px; }
    .om-email { padding: 14px; }
    .om-service { padding: 14px; }
    .om-service-metrics { grid-template-columns: 1fr; gap: 13px; }
    .om-service-metrics > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
    .om-service-metrics dd { font-size: 16px; margin: 0; }
    .om-field { min-width: 0; max-width: none; flex-basis: 100%; }
    .om-email-form .btn, .om-code-form .btn { min-height: 40px; }
    .om-code-form .om-field { min-width: 120px; max-width: none; flex: 1; }
    .om-shop { grid-template-columns: 1fr; gap: 12px; }
    .om-switches { flex-direction: row; flex-wrap: wrap; column-gap: 22px; }
    .om-switch-note { flex-basis: 100%; margin-top: 0; }
}
