/* My emails (subs.js), 20 Oct 2026 */
.ms-head { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-end; justify-content: space-between; margin: 4px 0 6px; }
.ms-head h2 { margin: 0 0 4px; font-size: 18px; color: #202628; }
.ms-head p { margin: 0; max-width: 640px; }
.ms-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ms-tools input { font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid #c9c9c9; border-radius: 8px; min-width: 200px; }
.ms-seg { display: inline-flex; border: 1px solid #c9c9c9; border-radius: 8px; overflow: hidden; }
.ms-seg button { font: inherit; font-size: 13px; padding: 7px 12px; border: 0; background: #fff; cursor: pointer; color: #303030; }
.ms-seg button[aria-pressed="true"] { background: #426856; color: #fff; font-weight: 600; }
.ms-muted { color: #6b7370; font-size: 13px; }
.ms-group { margin: 22px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #426856; font-weight: 700; }
.ms-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border: 1px solid #e3e6e4; border-radius: 10px; overflow: hidden; }
.ms-table th { text-align: left; font-weight: 600; color: #6b6b6b; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; padding: 7px 10px; border-bottom: 1px solid #e1e5e2; background: #f8faf9; }
.ms-table td { padding: 10px; border-bottom: 1px solid #eef0ee; vertical-align: top; }
.ms-table tr:last-child td { border-bottom: 0; }
.ms-table td:first-child { width: 34%; }
.ms-table tr.mine td:first-child { box-shadow: inset 3px 0 0 #426856; }
.ms-table tr.picked td { background: #fff8e1; }
.ms-purpose { color: #4a5250; margin-top: 2px; line-height: 1.4; }
.ms-when { color: #4a5250; width: 15%; }
.ms-who { width: 20%; }
.ms-you { width: 19%; }
.ms-pill { display: inline-block; margin: 0 4px 4px 0; padding: 2px 9px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: 12px; border: 1.5px solid var(--c); }
.ms-pill.cc { background: #fff; color: var(--c); }
.ms-addr { display: inline-block; margin: 0 4px 4px 0; font-size: 12px; color: #4a5250; }
.ms-addr.cc { color: #8a918e; }
.ms-state { display: inline-block; margin: 0 8px 6px 0; padding: 1px 8px; border-radius: 6px; font-weight: 700; font-size: 12px; }
.ms-state.on { background: #e3f1e8; color: #1f6b48; }
.ms-state.off { background: #f1f1f1; color: #6b6b6b; }
.ms-on { font-weight: 600; color: #1f6b48; }
.ms-why { margin-top: 4px; color: #6b7370; font-size: 12px; line-height: 1.4; }
.ms-btn { font: inherit; font-size: 12px; font-weight: 600; padding: 5px 11px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: #303030; cursor: pointer; }
.ms-btn:hover { background: #f4f4f4; }
.ms-btn.primary { background: #426856; border-color: #426856; color: #fff; }
.ms-btn.primary:hover { background: #36584a; }
.ms-btn.ghost { color: #426856; border-color: #cfdcd4; }
.ms-switch { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ms-switch input { position: absolute; opacity: 0; }
.ms-switch span { position: relative; width: 30px; height: 17px; border-radius: 999px; background: #c9c9c9; transition: background .15s; }
.ms-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: left .15s; }
.ms-switch input:checked + span { background: #426856; }
.ms-switch input:checked + span::after { left: 15px; }
.ms-switch input:focus-visible + span { outline: 2px solid #005bd3; outline-offset: 2px; }
.ms-switch.soon { opacity: .55; cursor: default; }
.ms-picked { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin: 10px 0; padding: 12px 14px; background: #fff8e1; border: 1px solid #f0d58a; border-radius: 10px; }
.ms-picked-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ms-picked-act .ms-why { flex-basis: 100%; }
.ms-banner { margin: 6px 0; padding: 9px 12px; border-radius: 8px; background: #e7f4ec; color: #1f4f37; font-size: 13px; }
.ms-banner.bad { background: #fdecea; color: #8e1f0b; }
.ms-foot { margin-top: 18px; }
.ms-foot details { margin-bottom: 8px; font-size: 13px; }
.ms-foot ul { margin: 6px 0; padding-left: 18px; }
.ms-older { margin-top: 26px; padding-top: 12px; border-top: 1px solid #e3e3e3; }
.ms-older > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: #303030; margin-bottom: 8px; }
/* The sample email */
.ms-mail { max-width: 460px; margin: 12px auto 6px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e1e5e2; box-shadow: 0 2px 10px rgba(0,0,0,.06); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.ms-band { background: #426856; padding: 16px 18px; color: #fff; }
.ms-mail.red .ms-band { background: #b42318; }
.ms-logo { display: inline-block; background: #fff; color: #426856; font-weight: 800; font-size: 11px; padding: 2px 6px; border-radius: 5px; }
.ms-mail.red .ms-logo { color: #b42318; }
.ms-ptitle { font-size: 17px; font-weight: 700; margin: 8px 0 2px; line-height: 1.3; }
.ms-psub { font-size: 13px; color: #dbe8e0; }
.ms-mail.red .ms-psub { color: #fde3df; }
.ms-pbody { padding: 6px 14px 4px; }
.ms-pcard { border: 1px solid #e1e5e2; border-radius: 11px; padding: 10px 12px; margin: 8px 0; }
.ms-pcard-h { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.ms-pic { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: #e8f0eb; border-radius: 8px; font-size: 16px; }
.ms-prow { display: flex; gap: 8px; margin-top: 5px; font-size: 13px; line-height: 1.4; }
.ms-pfoot { padding: 10px 18px 14px; font-size: 12px; color: #5f6b67; }
.ms-unsub { color: #426856; text-decoration: underline; }
.ms-pnote { text-align: center; color: #6b7370; font-size: 12px; margin: 6px 0 0; }
@media (max-width: 760px) {
  .ms-table thead { display: none; }
  .ms-table tr { display: block; padding: 8px 0; border-bottom: 1px solid #eef0ee; }
  .ms-table td { display: block; width: auto !important; border: 0; padding: 3px 10px; }
  .ms-tools input { min-width: 0; flex: 1; }
}
