/* Member tools (Outbox, Address Book, Reminders, My Account). Everything is scoped to .mt so site styles stay untouched. */
.mt { max-width: 920px; margin: 8px auto 34px; padding: 0 14px; font-family: 'Raleway', Arial, sans-serif; font-size: 16px;
      line-height: 1.45; color: #1f2a30; text-align: left; }
.mt *, .mt *::before, .mt *::after { box-sizing: border-box; }
.mt a { color: #2f8ea6; }
.mt p { margin: 0 0 10px; }
.mt [hidden] { display: none !important; }
/* The site's responsive.css makes every "nav a" full width on tablets and phones; undo that here. */
.mt nav a { width: auto; height: auto; text-indent: 0; font-family: inherit; text-align: left; }

/* Tab bar: scrolls sideways on phones instead of wrapping */
.mt-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 0 0 2px; border-bottom: 2px solid #e3eaee; overflow-x: auto;
           -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mt-tabs::-webkit-scrollbar { display: none; }
.mt-tabs a { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 16px; margin-bottom: -4px;
             font-size: 15px; font-weight: 600; color: #4b5b63; text-decoration: none; border-bottom: 4px solid transparent;
             border-radius: 8px 8px 0 0; white-space: nowrap; }
.mt-tabs a:hover { color: #1f2a30; background: #f2f7f9; }
.mt-tabs a.on { color: #24758a; border-bottom-color: #2f8ea6; }
.mt-tabs svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mt-tabs .mt-tab-send { margin-left: auto; color: #fff; background: #2f8ea6; border-radius: 22px; border: 0; min-height: 38px;
                        align-self: center; padding: 8px 16px; margin-bottom: 2px; }
.mt-tabs .mt-tab-send:hover { color: #fff; background: #24758a; }

/* Page heading */
.mt-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin: 0 0 16px; }
.mt-head h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1.2; color: #1f2a30; }
.mt-head .mt-sub { margin: 4px 0 0; font-size: 15px; color: #5b6a72; }

/* Cards */
.mt-card { margin: 0 0 16px; padding: 20px 22px; background: #fff; border: 1px solid #dde4e8; border-radius: 14px;
           box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.mt-card h2 { margin: 0 0 14px; font-family: 'Raleway', Arial, sans-serif; font-size: 18px; font-weight: 700; color: #1f2a30; }
.mt-card h2 .mt-note { font-weight: 500; }
.mt-card-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mt-note { font-size: 14px; color: #5b6a72; }

/* Forms */
.mt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.mt-grid .mt-wide { grid-column: 1 / -1; }
.mt-field label, .mt-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #3b4a52; }
.mt-input, .mt select, .mt input[type=text], .mt input[type=email], .mt input[type=password], .mt input[type=date],
.mt input[type=tel], .mt input[type=search] {
    display: block; width: 100%; min-height: 46px; padding: 10px 14px; font-family: inherit; font-size: 16px; color: #1f2a30;
    background: #fbfdfe; border: 2px solid #c4d3da; border-radius: 10px; margin: 0; box-shadow: none; }
.mt input:focus, .mt select:focus { outline: none; border-color: #2f8ea6; box-shadow: 0 0 0 3px rgba(47, 142, 166, .2); }
.mt input.mt-bad { border-color: #c0392b; }
.mt-fielderr { margin: 5px 0 0; font-size: 13px; color: #b03a2e; }
.mt-static { padding: 11px 0; font-size: 16px; font-weight: 600; word-break: break-all; }
.mt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* Buttons */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px;
          font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; color: #24758a; background: #fff;
          border: 2px solid #b9d6df; border-radius: 10px; cursor: pointer; text-decoration: none !important; white-space: nowrap;
          -webkit-appearance: none; appearance: none; }
.mt-btn:hover, .mt-btn:focus { background: #f2f7f9; border-color: #2f8ea6; }
.mt-btn-primary { color: #fff !important; background: #2f8ea6; border-color: #2f8ea6; }
.mt-btn-primary:hover, .mt-btn-primary:focus { background: #24758a; border-color: #24758a; }
.mt-btn-danger { color: #b03a2e !important; border-color: #ebc3bf; }
.mt-btn-danger:hover, .mt-btn-danger:focus { background: #fcf1f0; border-color: #b03a2e; }
.mt-btn-sm { min-height: 38px; padding: 7px 12px; font-size: 14px; border-radius: 8px; }
.mt-btn svg { width: 16px; height: 16px; }
.mt-link { padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: #2f8ea6; background: none; border: 0; cursor: pointer; }

/* Messages */
.mt-msg { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 16px; font-size: 15px; font-weight: 600;
          border-radius: 10px; }
.mt-msg-ok { color: #1d6b3a; background: #e8f6ee; border: 1px solid #bfe3cc; }
.mt-msg-err { color: #9b2c22; background: #fcf1f0; border: 1px solid #f0c8c3; }

/* Badges */
.mt-badge { display: inline-block; padding: 3px 10px; font-size: 13px; font-weight: 700; line-height: 1.4; border-radius: 20px;
            white-space: nowrap; color: #3b4a52; background: #eef2f4; }
.mt-badge-ok { color: #1d6b3a; background: #e1f3e8; }
.mt-badge-warn { color: #8a5a00; background: #fdf1d8; }
.mt-badge-bad { color: #9b2c22; background: #fbe4e1; }
.mt-badge-info { color: #24758a; background: #e3f1f5; }
.mt-badge-orange { color: #fff; background: #e07b1f; }

/* On/off switch: a styled checkbox */
.mt-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; cursor: pointer;
             border-top: 1px solid #eef2f4; }
.mt-switch:first-of-type { border-top: 0; }
.mt-switch-text strong { display: block; font-size: 15px; }
.mt-switch-text span { font-size: 14px; color: #5b6a72; }
.mt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mt-switch i { position: relative; flex: 0 0 auto; width: 50px; height: 28px; background: #c4d3da; border-radius: 28px; transition: background .15s; }
.mt-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%;
                      box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.mt-switch input:checked + i { background: #2f8ea6; }
.mt-switch input:checked + i::after { left: 25px; }
.mt-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(47, 142, 166, .35); }

/* Lists: rows on desktop, stacked cards on phones */
.mt-list { margin: 0; padding: 0; list-style: none; }
.mt-item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid #eef2f4; }
.mt-item:first-child { border-top: 0; }
.mt-item-main { flex: 1 1 auto; min-width: 0; }
.mt-item-title { margin: 0; font-size: 16px; font-weight: 700; color: #1f2a30; overflow-wrap: anywhere; }
.mt-item-meta { margin: 2px 0 0; font-size: 14px; color: #5b6a72; overflow-wrap: anywhere; }
.mt-item-meta .mt-badge { margin: 4px 6px 0 0; }
.mt-item-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.mt-check { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: #2f8ea6; cursor: pointer; }
.mt-avatar { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 15px;
             font-weight: 700; color: #24758a; background: #e3f1f5; border-radius: 50%; }
.mt-date { flex: 0 0 auto; width: 58px; padding: 6px 0; text-align: center; background: #f2f7f9; border-radius: 10px; color: #24758a; }
.mt-date b { display: block; font-size: 22px; line-height: 1.1; }
.mt-date small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.mt-thumb { flex: 0 0 auto; display: block; width: 150px; height: auto; border-radius: 6px; }
.mt-when { flex: 0 0 auto; width: 118px; font-size: 14px; font-weight: 600; color: #3b4a52; }
.mt-when small { display: block; font-weight: 500; color: #5b6a72; }
.mt-item-full { flex: 1 0 100%; }
.mt-only-phone { display: none; }
.mt-ob .mt-item { flex-wrap: wrap; }
.mt-ob .mt-item-main { flex: 1 1 240px; min-width: 240px; }
.mt-ob .mt-item-actions { margin-left: auto; }
.mt-ob .mt-detail { margin: 0; }

/* Address Book: name and email side by side, with sortable column headers */
.mt-cols { display: flex; align-items: center; gap: 14px; padding: 8px 4px; font-size: 13px; font-weight: 700; text-transform: uppercase;
           letter-spacing: .4px; color: #5b6a72; border-bottom: 2px solid #eef2f4; }
.mt-cols a { color: #5b6a72; text-decoration: none; }
.mt-cols a:hover, .mt-cols a.on { color: #24758a; }
.mt-col-name { flex: 0 0 34%; min-width: 0; }
.mt-col-email { flex: 1 1 auto; min-width: 0; }
.mt-item .mt-col-name { font-weight: 700; overflow-wrap: anywhere; }
.mt-item .mt-col-email { color: #3b4a52; overflow-wrap: anywhere; }
.mt-ab .mt-item-main { display: flex; align-items: center; gap: 14px; }
.mt-ab .mt-item-actions { flex: 0 0 96px; }
.mt-cols .mt-col-actions { flex: 0 0 96px; }
.mt-cols .mt-check-spacer { flex: 0 0 22px; }
.mt-cols .mt-col-main { flex: 1 1 auto; display: flex; gap: 14px; min-width: 0; }
.mt-empty { padding: 26px 10px; text-align: center; color: #5b6a72; }
.mt-empty strong { display: block; margin-bottom: 4px; font-size: 17px; color: #1f2a30; }

/* Toolbar: search, sort, bulk actions */
.mt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.mt-toolbar .mt-search { flex: 1 1 240px; display: flex; gap: 8px; }
.mt-toolbar select { width: auto; }

/* Sub tabs (Scheduled / Sent) */
.mt-seg { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: #eef2f4; border-radius: 12px; }
.mt-seg a { min-height: 40px; display: flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 15px; font-weight: 700;
            color: #4b5b63; text-decoration: none; border-radius: 9px; }
.mt-seg a:hover { color: #1f2a30; background: #fff; }
.mt-seg a.on { color: #fff; background: #2f8ea6; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.mt-seg a.on .mt-badge { color: #24758a; background: #fff; }

/* Paging */
.mt-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 14px; color: #5b6a72; }

/* Expandable detail (recipient list in the Outbox) */
.mt-detail { margin: 10px 0 0; padding: 10px 14px; background: #f7fafb; border-radius: 10px; font-size: 14px; }
.mt-detail table { width: 100%; border-collapse: collapse; }
.mt-detail td { padding: 6px 4px; border-top: 1px solid #e6edf0; vertical-align: top; overflow-wrap: anywhere; }
.mt-detail tr:first-child td { border-top: 0; }

@media (max-width: 640px) {
    .mt { padding: 0 10px; }
    .mt-head h1 { font-size: 25px; }
    .mt-card { padding: 16px 14px; border-radius: 12px; }
    .mt-grid { grid-template-columns: 1fr; }
    .mt-item { flex-wrap: wrap; align-items: flex-start; }
    .mt-item-actions { width: 100%; justify-content: flex-start; }
    .mt-item-actions .mt-btn { flex: 1 1 auto; }
    .mt-actions .mt-btn { flex: 1 1 auto; }
    .mt-tabs a { padding: 10px 12px; }
    .mt-tabs .mt-tab-send { margin-left: 6px; }
    .mt-thumb { width: 120px; }
    .mt-when, .mt-cols .mt-col-email { display: none; }
    .mt-only-phone { display: inline; }
    .mt-ob .mt-item-main { flex: 1 1 0; min-width: 0; }
    .mt-ab .mt-item { flex-wrap: nowrap; align-items: center; }
    .mt-ab .mt-item-main { display: block; }
    .mt-ab .mt-item-actions, .mt-cols .mt-col-actions { flex: 0 0 auto; }
    .mt-ab .mt-col-name, .mt-ab .mt-col-email { display: block; }
    .mt-ab .mt-item-actions { width: auto; }
}

/* Sign-in and forgot-password pages: one centered card */
.mt-auth { max-width: 460px; margin: 22px auto 34px; }
.mt-auth .mt-card { padding: 28px 28px 24px; }
.mt-auth h1 { margin: 0 0 6px; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; text-align: center; color: #1f2a30; }
.mt-auth .mt-sub { margin: 0 0 20px; text-align: center; font-size: 15px; color: #5b6a72; }
.mt-auth .mt-field { margin: 0 0 14px; }
.mt-auth .mt-btn-block { display: flex; width: 100%; min-height: 50px; font-size: 17px; }
.mt-auth .mt-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 18px; font-size: 14px; }
.mt-auth .mt-row label { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; color: #3b4a52; }
.mt-auth .mt-pass { position: relative; }
.mt-auth .mt-pass input { padding-right: 72px; }
.mt-auth .mt-pass button { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 6px 8px; font: inherit; font-size: 13px;
                           font-weight: 700; color: #2f8ea6; background: none; border: 0; cursor: pointer; }
.mt-auth .mt-alt { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #eef2f4; text-align: center; font-size: 15px; color: #5b6a72; }
.mt-auth .mt-help { margin: 14px 0 0; text-align: center; font-size: 14px; color: #5b6a72; }
.mt-auth .mt-msg { justify-content: center; text-align: center; }
/* Larger welcome line and Remember me / Forgot password on desktop */
@media (min-width: 641px) {
    .mt-auth .mt-welcome { font-size: 19px; }
    .mt-auth .mt-login-row { font-size: 17px; }
    .mt-auth .mt-login-row .mt-check { width: 24px; height: 24px; }
}
@media (max-width: 520px) {
    .mt-auth { margin: 12px auto 24px; }
    .mt-auth .mt-card { padding: 20px 16px 18px; }
    .mt-auth h1 { font-size: 26px; }
}

/* Welcome page after sign-in (card_logonsuccessful.php) */
.mt-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
           background: linear-gradient(135deg, #2f8ea6, #24758a); color: #fff; border: 0; }
.mt-hero h2 { margin: 0 0 4px; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; color: #fff; }
.mt-hero p { margin: 0; color: #e3f1f5; }
.mt-hero .mt-btn { color: #24758a !important; background: #fff; border-color: #fff; min-height: 50px; font-size: 17px; }
.mt-hero .mt-btn:hover { background: #f2f7f9; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.mt-chips a { padding: 7px 14px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .6);
              border-radius: 20px; }
.mt-chips a:hover { background: rgba(255, 255, 255, .15); }
.mt-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 16px; }
.mt-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid #dde4e8; border-radius: 14px;
           box-shadow: 0 2px 10px rgba(0, 0, 0, .05); color: #1f2a30 !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.mt-tile:hover { border-color: #2f8ea6; box-shadow: 0 4px 14px rgba(47, 142, 166, .18); }
.mt-tile svg { width: 28px; height: 28px; color: #2f8ea6; }
.mt-tile strong { font-size: 17px; }
.mt-tile .mt-big { font-size: 15px; font-weight: 700; color: #24758a; }
.mt-tile .mt-note { line-height: 1.35; }
.mt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.mt-steps li { text-decoration: none; list-style: none; float: none; width: auto; margin: 0; color: #1f2a30; position: relative; padding: 44px 14px 14px; background: #f7fafb; border-radius: 12px; font-size: 15px; counter-increment: step; }
.mt-steps li::before { content: counter(step); position: absolute; top: 12px; left: 14px; width: 26px; height: 26px; line-height: 26px; text-align: center;
                       font-weight: 700; color: #fff; background: #2f8ea6; border-radius: 50%; }
@media (max-width: 860px) {
    .mt-tiles, .mt-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .mt-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mt-tile { padding: 14px; }
    .mt-steps { grid-template-columns: 1fr; }
}

/* Outbox filters: Sent to, Month and search, with Reset Filters */
.mt-filters { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #e3eaee; }
.mt-filters-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.mt-filters-head h2 { margin: 0; font-family: 'Raleway', Arial, sans-serif; font-size: 24px; font-weight: 600; color: #1f2a30; }
.mt-filters-head a { font-size: 17px; font-weight: 600; color: #c8102e !important; text-decoration: none; }
.mt-filters-head a:hover { text-decoration: underline; }
.mt-filters-row { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 14px; }
.mt-filters label { font-weight: 500; font-size: 15px; }
.mt-filters-search { position: relative; }
.mt-filters-search input { padding-right: 46px; }
.mt-filters-search button { position: absolute; right: 6px; bottom: 4px; width: 38px; height: 38px; padding: 0; color: #3b4a52; background: none;
                            border: 0; cursor: pointer; }
.mt-filters-search button svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
    .mt-filters-row { grid-template-columns: 1fr 1fr; }
    .mt-filters-search { grid-column: 1 / -1; }
    .mt-filters-head h2 { font-size: 20px; }
}

/* Outbox: one card per recipient (picture left; title, date, recipient and links; status top right) */
.ob-card { display: flex; gap: 28px; align-items: flex-start; padding: 24px 4px; border-top: 1px solid #e6edf0; list-style: none; }
.ob-card:first-child { border-top: 0; }
.ob-pic { flex: 0 0 auto; display: block; width: 250px; height: auto; border-radius: 6px; }
.ob-body { flex: 1 1 auto; min-width: 0; }
.ob-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ob-title { margin: 0 0 10px; font-family: 'Raleway', Arial, sans-serif; font-size: 22px; font-weight: 600; line-height: 1.3; color: #1f2a30; overflow-wrap: anywhere; }
.ob-status { flex: 0 0 auto; padding: 5px 14px; font-size: 15px; font-weight: 600; color: #3b4a52; background: #eef0f1; border-radius: 6px; white-space: nowrap; }
.ob-status-ok { color: #1d6b3a; background: #e1f3e8; }
.ob-status-orange { color: #fff; background: #e07b1f; }
.ob-status-info { color: #24758a; background: #e3f1f5; }
.ob-sent { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; color: #3b4a52; }
.ob-sent svg { width: 18px; height: 18px; color: #3b4a52; flex: 0 0 auto; }
.ob-label { font-size: 17px; color: #6b7a82; }
.ob-who { margin: 0 0 12px; font-size: 18px; color: #1f2a30; overflow-wrap: anywhere; }
.ob-who strong { font-size: inherit; font-weight: 600; color: #1f2a30; }
.ob-who span { color: #6b7a82; }
.ob-links { display: flex; flex-wrap: wrap; align-items: center; margin: 0; font-size: 18px; }
.ob-links a { padding: 4px 12px; font-weight: 600; color: #2f8ea6 !important; text-decoration: none; border-left: 1px solid #d5dde1; }
.ob-links a:first-child { padding-left: 0; border-left: 0; }
.ob-links a:hover { text-decoration: underline; }
.ob-links a.ob-del { color: #b03a2e !important; }
@media (max-width: 860px) {
    .ob-pic { width: 180px; }
    .ob-title { font-size: 19px; }
    .ob-sent, .ob-who, .ob-links { font-size: 16px; }
}
@media (max-width: 640px) {
    .ob-card { flex-direction: column; gap: 12px; padding: 18px 0; }
    .ob-pic { width: 100%; max-width: 320px; }
    .ob-top { flex-direction: column; gap: 6px; }
    .ob-title { margin: 0; }
    .ob-sent { margin: 8px 0 10px; }
}

/* Icon-only buttons (Edit / Delete in Address Book and Reminders) */
.mt-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #24758a !important;
               background: #fff; border: 2px solid #b9d6df; border-radius: 10px; text-decoration: none !important; }
.mt-icon-btn:hover, .mt-icon-btn:focus { background: #f2f7f9; border-color: #2f8ea6; }
.mt-icon-btn svg { width: 20px; height: 20px; }
.mt-icon-danger { color: #b03a2e !important; border-color: #ebc3bf; }
.mt-icon-danger:hover, .mt-icon-danger:focus { background: #fcf1f0; border-color: #b03a2e; }
@media (max-width: 640px) {
    .mt-item-actions .mt-icon-btn { flex: 0 0 auto; }
    .mt-item:has(.mt-icons) { flex-wrap: nowrap; align-items: center; }
    .mt-item-actions.mt-icons { width: auto; margin-left: auto; }
    .mt-item:has(.mt-icons) .mt-date { align-self: flex-start; }
    .mt-ab .mt-item .mt-col-email { font-size: 14px; overflow-wrap: normal; word-break: normal; }
    .mt-ab .mt-icon-btn { width: 38px; height: 38px; }
}

/* Phones: the four member tabs share the width equally, icon over a short label */
.mt-tab-short { display: none; }
@media (max-width: 640px) {
    .mt-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; overflow: visible; }
    .mt-tabs a { flex-direction: column; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 2px 6px; font-size: 12.5px;
                 text-align: center; border-radius: 8px 8px 0 0; }
    .mt-tabs svg { width: 22px; height: 22px; }
    .mt-tab-long { display: none; }
    .mt-tab-short { display: inline; }
}

/* Larger checkboxes (the site's form styles shrink them to 10px) */
.mt input.mt-check { width: 24px !important; height: 24px !important; min-width: 24px; margin: 0; padding: 0; accent-color: #2f8ea6; cursor: pointer; }
@media (max-width: 640px) {
    .mt input.mt-check { width: 28px !important; height: 28px !important; min-width: 28px; }
}
