.courier-module { color:#263247; font:14px/1.5 system-ui,sans-serif; min-width:0; }
.courier-module * { box-sizing:border-box; }
.courier-module h1 { font-size:24px; margin:0 0 8px; line-height:1.25; }
.courier-module h2 { font-size:19px; overflow-wrap:anywhere; margin:0 0 12px; }
.courier-module p { overflow-wrap:anywhere; }
.courier-module button,.courier-module input,.courier-module select { font:inherit; }
.courier-module button { min-height:40px; padding:8px 14px; border:1px solid #c7d0df; border-radius:6px; background:white; color:#244b9c; cursor:pointer; white-space:normal; overflow-wrap:anywhere; }
.courier-module button:hover { background:#edf3ff; }
.courier-module button:disabled { opacity:.5; cursor:default; }
.courier-module :focus-visible { outline:3px solid #527cda; outline-offset:2px; }
.courier-heading,.courier-actions,.courier-counters,.courier-types { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.courier-heading { justify-content:space-between; margin-bottom:20px; }
.courier-heading button { background:#365fbd; color:white; }
.courier-counters { padding:12px 0; border-top:1px solid #dbe1eb; border-bottom:1px solid #dbe1eb; }
.courier-counters span { color:#68768c; }
.courier-types { margin-top:16px; }
.courier-types [aria-current] { background:#eaf0ff; border-color:#7091dc; }
.courier-muted { color:#657289; font-size:13px; }
.courier-info { background:#edf3ff; border:1px solid #d6e1f8; padding:12px; border-radius:6px; }
.courier-layout { display:grid; grid-template-columns:minmax(240px, .85fr) minmax(0,1.5fr); gap:24px; margin-top:16px; }
.courier-layout>section { min-width:0; border:1px solid #dbe1eb; background:white; border-radius:8px; padding:18px; }
.courier-module label { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; min-width:0; }
.courier-module input:not([type=checkbox]),.courier-module select { padding:9px 10px; border:1px solid #bec8d9; border-radius:5px; background:white; color:#263247; width:100%; min-width:0; min-height:42px; }
.courier-module input[readonly] { background:#f4f6f9; }
.courier-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; }
.courier-field-error,.courier-module .is-error { color:#a12a35; }
.courier-module [aria-invalid=true] { border-color:#b13540!important; }
.courier-module [role=status] { min-height:24px; }
.courier-filters { display:grid; grid-template-columns:minmax(0,1fr) 120px; gap:12px; }
.courier-row { display:flex; width:100%; flex-direction:column; align-items:flex-start; text-align:left; margin-bottom:10px; gap:3px; }
.courier-row strong { color:#263247; }
.courier-row span,.courier-row small { color:#657289; }
.courier-empty { padding:24px 6px; color:#657289; }
.courier-source { margin:16px 0; background:#f5f7fb; padding:12px; border-radius:6px; }
.courier-source summary { cursor:pointer; }
.courier-source img { display:block; max-height:240px; max-width:100%; margin:12px 0; object-fit:contain; }
.courier-module .courier-optin { flex-direction:row; align-items:flex-start; }
.courier-optin input { flex-shrink:0; width:18px; height:18px; }
.courier-module dialog { max-width:min(440px,calc(100vw - 32px)); border:1px solid #c7d0df; border-radius:8px; padding:24px; color:#263247; }
.courier-module dialog::backdrop { background:#24345166; }
@media(max-width:800px) { .courier-layout { grid-template-columns:minmax(0,1fr); gap:16px; } .courier-heading { align-items:flex-start; } }
@media(max-width:420px) { .courier-fields,.courier-filters { grid-template-columns:minmax(0,1fr); } .courier-layout>section { padding:14px; } .courier-heading h1 { font-size:22px; } }
