/*
 * Meetings (1.0.0) — the intranet look Vehicles & Rooms set (Checkout 1.9.0):
 * a banner with underline tabs, white cards on the ground, Roboto headings
 * over Open Sans, one palette.
 *
 * Everything is under .mt-app (every page, page-wrapper.twig) or .mt-widget
 * (the Dashboard widget, which renders outside the app). Nothing here styles
 * body, a, label or any other element for the whole page.
 */

.mt-app, .mt-widget {
    --mt-ink: #12313B;
    --mt-muted: #4A626A;
    --mt-line: #D5E3E7;
    --mt-line-soft: #EAF1F3;
    --mt-field: #B9CDD3;
    --mt-ground: #F3F7F8;
    --mt-primary: #105460;
    --mt-primary-dark: #0B3A42;
    --mt-tint: #E4F1F4;
    --mt-tint-line: #A9CCD4;
    --mt-live: #2E7D47;
    --mt-live-ink: #1F5B33;
    --mt-live-bg: #E2F3E7;
    --mt-live-line: #B7DEC3;
    --mt-warn-ink: #5A3E00;
    --mt-warn-bg: #FFF6E5;
    --mt-warn-line: #E8CF9C;
    --mt-danger: #A3362A;
    --mt-danger-ink: #7E2A20;
    --mt-danger-bg: #FBEDEB;
    --mt-danger-line: #EBC2BC;
    --mt-shadow: 0 12px 30px -12px rgba(9, 30, 36, .35);
}

.mt-app {
    color: var(--mt-ink);
    background: var(--mt-ground);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    border-radius: 12px;
    /* off the site header and footer; the mdsg theme sets 0 (it spaces itself) */
    margin: 20px 0;
}
.mt-app *, .mt-app *::before, .mt-app *::after { box-sizing: border-box; }
.mt-app [hidden], .mt-widget [hidden] { display: none !important; }
.mt-app h1, .mt-app h2, .mt-app h3 { font-family: 'Roboto', sans-serif; color: var(--mt-ink); }
.mt-app a:not(.mt-btn):not(.mt-tab):not(.mt-menu-item) { color: var(--mt-primary); }
.mt-app a:not(.mt-btn):not(.mt-tab):not(.mt-menu-item):hover { color: var(--mt-primary-dark); }

/* The theme sets every label as a bold, upper-case block with 20px margins.
   Here a label is a sentence, so it is put back, and a field heading says
   so with .mt-label. */
.mt-app label {
    display: block;
    margin: 0;
    font-weight: inherit;
    text-transform: none;
    letter-spacing: 0;
}

/* ---------- banner + tabs ---------- */

.mt-banner {
    background: #FFFFFF;
    border: 1px solid var(--mt-line);
    border-radius: 12px 12px 0 0;
    padding: 20px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mt-banner:not(:has(.mt-tabs)) { padding-bottom: 18px; }
.mt-banner-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mt-banner-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.mt-app .mt-banner-title { margin: 0; font-size: 30px; font-weight: 500; line-height: 1.15; }
.mt-banner-sub { margin: 0; font-size: 14px; color: var(--mt-muted); }

.mt-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 -8px; }
.mt-app a.mt-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 13px;
    font-size: 15px;
    color: var(--mt-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.mt-app a.mt-tab:hover { color: var(--mt-primary-dark); border-bottom-color: var(--mt-field); }
.mt-app a.mt-tab.is-active { color: var(--mt-primary); font-weight: 600; border-bottom-color: var(--mt-primary); }
.mt-app a.mt-tab:focus-visible { outline: 2px solid var(--mt-primary); outline-offset: -2px; border-radius: 6px 6px 0 0; }
.mt-count { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 10px; background: var(--mt-tint); color: var(--mt-primary-dark); font-size: 11.5px; font-weight: 700; text-align: center; }

.mt-page {
    padding: 20px 24px 28px;
    border: 1px solid var(--mt-line);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mt-home, .mt-mine { display: flex; flex-direction: column; gap: 18px; }

/* ---------- shared pieces ---------- */

/* No overflow:hidden — it would clip the ⋯ menus. */
.mt-card { background: #FFFFFF; border: 1px solid var(--mt-line); border-radius: 12px; }
.mt-card-pad { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.mt-app .mt-section-title { margin: 0; font-size: 16px; font-weight: 500; }
.mt-hint { margin: 0; font-size: 12.5px; color: var(--mt-muted); }
.mt-eyebrow { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mt-muted); }

/* A notice card: something to know before going on. */
.mt-notice {
    margin: 0;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px solid var(--mt-line);
    border-radius: 12px;
    color: var(--mt-ink);
}
.mt-notice p { margin: 0; }
.mt-notice p + p { margin-top: 4px; }
.mt-notice .mt-notice-title { font-weight: 600; }
.mt-notice-warn { background: var(--mt-warn-bg); border-color: var(--mt-warn-line); color: var(--mt-warn-ink); }
.mt-notice-live { background: var(--mt-live-bg); border-color: var(--mt-live-line); color: var(--mt-live-ink); }
.mt-notice-danger { background: var(--mt-danger-bg); border-color: var(--mt-danger-line); color: var(--mt-danger-ink); }
.mt-notice .mt-notice-actions { margin-top: 12px; }
.mt-setup.mt-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.mt-notice-text { flex: 1 1 320px; min-width: 0; }

/* A one-line note inside a screen. */
.mt-note { margin: 0; padding: 9px 12px; border-radius: 8px; background: var(--mt-tint); color: var(--mt-primary-dark); font-size: 13.5px; }
.mt-note-warn { background: var(--mt-warn-bg); color: var(--mt-warn-ink); }
.mt-note-danger, .mt-book-refused { background: var(--mt-danger-bg); color: var(--mt-danger-ink); }
.mt-note-live { background: var(--mt-live-bg); color: var(--mt-live-ink); }
/* built in PHP above a refreshed list or card */
.mt-book-refused { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; }

/* ---------- buttons ---------- */

.mt-app .mt-btn, .mt-widget .mt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 5px 14px;
    border: 1px solid var(--mt-field);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--mt-ink);
    font: 600 13.5px/1.2 'Open Sans', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.mt-app .mt-btn:hover, .mt-widget .mt-btn:hover { border-color: var(--mt-primary); background: var(--mt-tint); color: var(--mt-primary-dark); }
.mt-app .mt-btn-primary, .mt-widget .mt-btn-primary { background: var(--mt-primary); border-color: var(--mt-primary); color: #FFFFFF; }
.mt-app .mt-btn-primary:hover, .mt-widget .mt-btn-primary:hover { background: var(--mt-primary-dark); border-color: var(--mt-primary-dark); color: #FFFFFF; }
.mt-app .mt-btn-danger { border-color: var(--mt-danger); color: var(--mt-danger); }
.mt-app .mt-btn:focus-visible, .mt-widget .mt-btn:focus-visible { outline: 2px solid var(--mt-primary); outline-offset: 2px; }
.mt-app .mt-btn:disabled, .mt-widget .mt-btn:disabled { cursor: progress; }
/* Final-review fix C2: a card action waiting on its answer. */
.mt-busy { opacity: .6; cursor: progress; }

/* ---------- Find a time ---------- */

.mt-find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 992px) {
    .mt-find { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); }
}
.mt-find-form { padding: 18px; }
.mt-find-results { min-width: 0; }

.mt-organizer { display: flex; flex-direction: column; gap: 18px; }
.mt-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.mt-app .mt-label { font-weight: 600; font-size: 13.5px; color: var(--mt-ink); }

.mt-app .mt-input {
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid var(--mt-field);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--mt-ink);
    font: 14px 'Open Sans', sans-serif;
    box-shadow: none;
}
.mt-app .mt-input::placeholder { color: #7D9298; }
.mt-app .mt-input:focus { outline: none; border-color: var(--mt-primary); box-shadow: 0 0 0 3px var(--mt-tint); }
.mt-app .mt-input-small { width: 6.5rem; min-height: 32px; padding: 4px 10px; border-radius: 16px; font-size: 13px; }

.mt-checkbox, .mt-app label.mt-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.mt-app input[type="checkbox"], .mt-app input[type="radio"] { accent-color: var(--mt-primary); width: 16px; height: 16px; margin: 0; flex: none; }

/* chips: one choice per row, the chosen one filled */
.mt-chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mt-chip-row-sub { padding-left: 10px; border-left: 2px solid var(--mt-line); }
.mt-app .mt-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    padding: 4px 13px;
    border: 1px solid var(--mt-field);
    border-radius: 16px;
    background: #FFFFFF;
    color: var(--mt-primary);
    font: 600 13px/1.2 'Open Sans', sans-serif;
    cursor: pointer;
}
.mt-app .mt-chip:hover { border-color: var(--mt-primary); background: var(--mt-tint); }
.mt-app .mt-chip:focus-visible { outline: 2px solid var(--mt-primary); outline-offset: 2px; }
.mt-app .mt-chip.mt-chip-selected { background: var(--mt-primary); border-color: var(--mt-primary); color: #FFFFFF; }

.mt-custom-range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mt-custom-range .mt-input { flex: 1 1 9rem; width: auto; }
.mt-range-to-word { color: var(--mt-muted); }

/* who: the people chosen. Must come is filled, optional is dashed, a guest
   is outlined; a hidden calendar is amber and a missing address red. */
.mt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chips:empty { display: none; }
.mt-chip-person {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    max-width: 100%;
    padding: 3px 4px 3px 12px;
    border: 1px solid var(--mt-tint-line);
    border-radius: 15px;
    background: var(--mt-tint);
    color: var(--mt-primary-dark);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
    cursor: pointer;
    user-select: none;
}
.mt-chip-person:hover { border-color: var(--mt-primary); }
.mt-chip-person.mt-chip-optional { background: #FFFFFF; border-style: dashed; border-color: var(--mt-field); color: var(--mt-muted); font-weight: 400; }
.mt-chip-person.mt-chip-guest { background: #FFFFFF; border-color: var(--mt-field); color: var(--mt-ink); font-weight: 400; }
.mt-chip-person.mt-chip-guest-must { background: #FFFFFF; border-color: var(--mt-primary); color: var(--mt-primary-dark); }
.mt-chip-person.mt-chip-hidden { background: var(--mt-warn-bg); border: 1px solid var(--mt-warn-line); color: var(--mt-warn-ink); }
.mt-chip-person.mt-chip-noaddress { background: var(--mt-danger-bg); border: 1px solid var(--mt-danger-line); color: var(--mt-danger-ink); }
.mt-chip-remove {
    display: inline-grid;
    place-content: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    opacity: .7;
    cursor: pointer;
}
.mt-chip-remove:hover { opacity: 1; background: rgba(18, 49, 59, .1); }

/* the suggestions drop below the who box */
.mt-suggestions { position: relative; }
/* an answer that lands after the box was cleared (a guest added with Enter) is not shown */
#mt-who-input:placeholder-shown ~ .mt-suggestions { display: none; }
.mt-suggestions > .mt-suggestion-list,
.mt-suggestions > .mt-no-matches {
    position: absolute;
    left: 0;
    right: 0;
    top: 2px;
    z-index: 30;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    box-shadow: var(--mt-shadow);
}
.mt-suggestion-list { list-style: none; padding: 6px; max-height: 280px; overflow-y: auto; }
.mt-no-matches { padding: 10px 12px; color: var(--mt-muted); font-size: 13px; }
.mt-app .mt-suggestion {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--mt-ink);
    font: 13.5px 'Open Sans', sans-serif;
    text-align: left;
    cursor: pointer;
}
.mt-app .mt-suggestion:hover, .mt-app .mt-suggestion:focus-visible, .mt-app .mt-suggestion.is-active { background: var(--mt-tint); outline: none; }
.mt-app .mt-suggestion.is-active { box-shadow: inset 3px 0 0 var(--mt-primary); }
.mt-suggestion-name { font-weight: 600; }
.mt-suggestion-email { color: var(--mt-muted); font-size: 12.5px; overflow-wrap: anywhere; }

/* My Zoom, under the form */
.mt-zoom-pref { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--mt-line-soft); }
.mt-zoom-saved-line { margin: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.mt-zoom-edit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mt-zoom-edit .mt-hint { flex-basis: 100%; }
.mt-zoom-edit .mt-input { flex: 1 1 12rem; width: auto; }
.mt-app .mt-zoom-change { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--mt-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.mt-zoom-pref-message:empty { display: none; }
.mt-zoom-pref-message { margin-top: 8px; }
.mt-errors { margin: 0; padding: 9px 12px 9px 28px; border-radius: 8px; background: var(--mt-danger-bg); color: var(--mt-danger-ink); font-size: 13.5px; }
.mt-saved { margin: 0; color: var(--mt-live-ink); font-weight: 600; font-size: 13.5px; }

/* ---------- results ---------- */

.mt-results-fragment, .mt-vote-results, .mt-vote-started, .mt-vote { display: flex; flex-direction: column; gap: 12px; }
.mt-results-head { display: flex; flex-direction: column; gap: 2px; }
.mt-app .mt-results-heading { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.mt-results-head p.mt-results-title { margin: 0; color: var(--mt-muted); font-size: 13.5px; overflow-wrap: anywhere; }

/* the "Times that work" card's header row: a label, the count pill at the right */
.mt-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 16px; border-bottom: 1px solid var(--mt-line); }
.mt-card-top-label { font-size: 13px; font-weight: 600; color: var(--mt-muted); }

.mt-times { list-style: none; margin: 0; padding: 0; }
.mt-time {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mt-line-soft);
}
.mt-time:last-child { border-bottom: 0; }
.mt-time-outside { box-shadow: inset 3px 0 0 var(--mt-warn-line); }
.mt-time-works { box-shadow: inset 3px 0 0 var(--mt-live); }
.mt-time-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mt-time-label { font-weight: 700; color: var(--mt-ink); }
.mt-time-reason { font-size: 12.5px; color: var(--mt-muted); }
.mt-time > .mt-time-reason { text-align: right; }
.mt-time .mt-pill { margin-left: 6px; vertical-align: 1px; }

.mt-tally { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 2px; font-size: 12.5px; color: var(--mt-muted); }
.mt-tally-item { display: inline-flex; align-items: baseline; gap: 6px; }
.mt-tally-item::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--mt-field); transform: translateY(-1px); }
.mt-tally-yes::before { background: var(--mt-live); }
.mt-tally-maybe::before { background: #D9A33A; }
.mt-tally-no::before { background: var(--mt-danger); }

/* Ask them to vote */
.mt-closest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mt-app .mt-check-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.mt-app .mt-check-row:hover { background: var(--mt-ground); }
.mt-check-row input { margin-top: 2px; }
.mt-check-row .mt-time-reason { display: block; }
.mt-vote-settings { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; padding-top: 4px; }
.mt-app .mt-label-inline { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13.5px; }
.mt-label-inline .mt-input { width: auto; }
.mt-vote-autobook { min-height: 38px; }
.mt-card-foot { display: flex; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--mt-line-soft); }

/* ---------- one meeting (booked.twig) ---------- */

/* A card on its own (the answer to Book this); inside a list it is a row. */
.mt-meeting-card { padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--mt-line); border-radius: 12px; }
.mt-mine-list > .mt-meeting-card { border: 0; border-bottom: 1px solid var(--mt-line-soft); border-radius: 0; background: transparent; }
.mt-mine-list > .mt-meeting-card:last-child { border-bottom: 0; }

.mt-card-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mt-card-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.mt-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.mt-card-title { font-weight: 700; font-size: 15px; color: var(--mt-ink); overflow-wrap: anywhere; }
.mt-card-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--mt-muted); }
.mt-card-where { overflow-wrap: anywhere; }
.mt-card-status { margin: 4px 0 0; font-size: 13.5px; }
.mt-card-replies { color: var(--mt-muted); }
.mt-card-failed { color: var(--mt-danger-ink); font-weight: 600; }
.mt-countdown { display: inline-block; min-width: 34px; padding: 0 7px; border-radius: 9px; background: var(--mt-warn-bg); color: var(--mt-warn-ink); font-weight: 700; font-size: 12.5px; text-align: center; font-variant-numeric: tabular-nums; }
.mt-card-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.mt-card-actions:empty { display: none; }

.mt-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: var(--mt-tint); color: var(--mt-primary-dark); }
.mt-pill-live { background: var(--mt-live-bg); color: var(--mt-live-ink); }
.mt-pill-warn { background: var(--mt-warn-bg); color: var(--mt-warn-ink); }
.mt-pill-danger { background: var(--mt-danger-bg); color: var(--mt-danger-ink); }
.mt-pill-muted { background: var(--mt-ground); color: var(--mt-muted); }

/* the ⋯ menu */
.mt-menu { position: relative; }
.mt-menu > summary { list-style: none; }
.mt-menu > summary::-webkit-details-marker { display: none; }
.mt-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: var(--mt-muted); cursor: pointer; }
.mt-menu-toggle:hover, .mt-menu[open] .mt-menu-toggle { background: var(--mt-ground); color: var(--mt-primary); }
.mt-menu-toggle:focus-visible { outline: 2px solid var(--mt-primary); outline-offset: 1px; }
.mt-menu-list {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    min-width: 170px;
    padding: 6px;
    background: #FFFFFF;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    box-shadow: var(--mt-shadow);
}
.mt-app .mt-menu-item, .mt-widget .mt-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--mt-ink);
    font: 13.5px 'Open Sans', sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.mt-app .mt-menu-item:hover, .mt-app .mt-menu-item:focus-visible,
.mt-widget .mt-menu-item:hover, .mt-widget .mt-menu-item:focus-visible { background: var(--mt-ground); color: var(--mt-ink); outline: none; }
.mt-app .mt-menu-danger, .mt-widget .mt-menu-danger { color: var(--mt-danger); }
.mt-app .mt-menu-danger:hover, .mt-app .mt-menu-danger:focus-visible,
.mt-widget .mt-menu-danger:hover, .mt-widget .mt-menu-danger:focus-visible { background: var(--mt-danger-bg); color: var(--mt-danger-ink); }

.mt-actions-row { margin: 0; }

/* ---------- the vote page ---------- */

.mt-vote-form { padding: 0; }
.mt-vote-zone { margin: 0; padding: 12px 16px 4px; font-size: 12.5px; color: var(--mt-muted); }
.mt-vote-options { list-style: none; margin: 0; padding: 0; }
.mt-vote-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mt-line-soft);
}
.mt-vote-option > .mt-time-reason { text-align: right; }
/* Yes / If need be / No: one segmented control per time */
.mt-vote-choices { display: inline-flex; border: 1px solid var(--mt-field); border-radius: 9px; overflow: hidden; background: #FFFFFF; }
.mt-app .mt-vote-choice { position: relative; display: block; cursor: pointer; }
.mt-app .mt-vote-choice + .mt-vote-choice { border-left: 1px solid var(--mt-field); }
.mt-app .mt-vote-choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.mt-vote-choice span { display: block; padding: 7px 13px; font-size: 13px; font-weight: 600; color: var(--mt-muted); white-space: nowrap; }
.mt-vote-choice:hover span { background: var(--mt-ground); color: var(--mt-ink); }
.mt-vote-choice input:focus-visible + span { outline: 2px solid var(--mt-primary); outline-offset: -3px; }
.mt-vote-yes input:checked + span { background: var(--mt-live-bg); color: var(--mt-live-ink); }
.mt-vote-maybe input:checked + span { background: var(--mt-warn-bg); color: var(--mt-warn-ink); }
.mt-vote-no input:checked + span { background: var(--mt-danger-bg); color: var(--mt-danger-ink); }
.mt-vote-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; }

/* ---------- the dashboard widget (inside the Dashboard's .dw-frame) ---------- */

.mt-widget { color: var(--mt-ink); }
.mt-widget-waiting { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--mt-warn-bg); color: var(--mt-warn-ink); }
.mt-widget .mt-widget-subhead { margin: 0; font-family: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mt-warn-ink); }
.mt-waiting-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mt-widget .mt-waiting-list a { font-weight: 700; color: var(--mt-primary); }
.mt-widget-list { display: flex; flex-direction: column; }
.mt-widget .mt-meeting-card { padding: 10px 0; border: 0; border-top: 1px solid var(--mt-line-soft); border-radius: 0; background: transparent; }
.mt-widget .mt-meeting-card:first-child { border-top: 0; padding-top: 2px; }
.mt-widget .mt-card-title { font-size: 14px; }
.mt-widget .mt-card-status { font-size: 13px; }
.mt-widget .mt-btn { min-height: 30px; padding: 3px 11px; font-size: 12.5px; }
.mt-widget .mt-menu-toggle { width: 30px; height: 30px; }

/* ---------- My meetings: Invited (1.0.1) ---------- */

.mt-invited-list { list-style: none; margin: 0; padding: 0; }
.mt-invited-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 14px 16px; border-bottom: 1px solid var(--mt-line-soft); }
.mt-invited-row:last-child { border-bottom: 0; }
.mt-invited-state { display: flex; align-items: center; gap: 10px; flex: none; font-size: 13px; color: var(--mt-muted); }
.mt-invited-done { color: var(--mt-live-ink); font-weight: 600; }
.mt-app p.mt-invited-empty { margin: 0; padding: 14px 16px; color: var(--mt-muted); }
.mt-pill-tint { background: var(--mt-tint); color: var(--mt-primary-dark); }

/* ---------- How it works (1.0.1): the welcome email's guide, on the page ---------- */

.mt-guide { padding: 6px 22px 18px; max-width: 760px; }
.mt-guide h3:first-child { margin-top: 14px !important; }

/* ---------- phone ---------- */

@media (max-width: 640px) {
    .mt-banner { padding: 16px 16px 0; }
    .mt-banner:not(:has(.mt-tabs)) { padding-bottom: 16px; }
    .mt-page { padding: 16px; }
    .mt-app .mt-banner-title { font-size: 24px; }
    .mt-find-form { padding: 16px; }
    .mt-time, .mt-vote-option { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
    .mt-time > .mt-btn, .mt-time > .mt-time-reason, .mt-vote-option > .mt-time-reason { justify-self: start; text-align: left; }
    .mt-vote-choices { display: flex; }
    .mt-app .mt-vote-choice { flex: 1 1 0; }
    .mt-vote-choice span { padding: 8px 6px; text-align: center; }
    .mt-card-body { gap: 8px; }
    .mt-invited-row { flex-direction: column; align-items: flex-start; }
    .mt-guide { padding: 4px 16px 14px; }
    .mt-setup.mt-notice .mt-btn { white-space: normal; text-align: center; }
}
