/* ============================================================================
 * PTR Meet — full stylesheet
 * Inter for body, Sora for marketing display, Font Awesome for icons.
 * Two visual contexts:
 *   .mt-public — marketing pages (white bg, blue accents, bold)
 *   .mt-app    — logged-in app (sidebar + main content area)
 * ========================================================================== */

:root {
  --mt-bg: #F8FAFC;
  --mt-fg: #0F172A;
  --mt-muted: #64748B;
  --mt-border: #E2E8F0;
  --mt-card: #FFFFFF;
  --mt-primary: #1E40AF;
  --mt-primary-light: #3B82F6;
  --mt-primary-dark: #1E3A8A;
  --mt-success: #059669;
  --mt-warning: #F59E0B;
  --mt-danger: #DC2626;
  --mt-grad: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
  --mt-shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --mt-shadow: 0 4px 12px rgba(15,23,42,.08);
  --mt-shadow-lg: 0 12px 32px rgba(15,23,42,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--mt-fg); background: var(--mt-bg); -webkit-font-smoothing: antialiased; line-height: 1.55; }
a { color: var(--mt-primary-light); text-decoration: none; }
a:hover { color: var(--mt-primary-dark); }
img { max-width: 100%; }
code { background: rgba(15,23,42,.06); padding: 2px 8px; border-radius: 4px; font-size: 90%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ============================================================================
 *  PUBLIC NAV / FOOTER
 * ========================================================================== */
.mt-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--mt-border); position: sticky; top: 0; z-index: 100; }
.mt-nav-inner { max-width: 1240px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 28px; }
.mt-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mt-fg); }
.mt-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--mt-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 4px 12px rgba(59,130,246,.35); }
.mt-logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.mt-logo-text span { background: var(--mt-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mt-nav-links { display: flex; gap: 24px; flex: 1; justify-content: center; }
.mt-nav-links a { color: var(--mt-muted); font-weight: 600; font-size: 14.5px; transition: color .15s; }
.mt-nav-links a:hover { color: var(--mt-fg); }
.mt-nav-cta { display: flex; gap: 10px; }

@media (max-width: 768px) {
  .mt-nav-inner { padding: 14px 16px; gap: 12px; }
  .mt-nav-links { display: none; }
}

.mt-footer { background: #0F172A; color: rgba(255,255,255,.85); padding: 56px 24px 22px; margin-top: 80px; }
.mt-footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.mt-footer-brand p { color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.7; max-width: 320px; margin: 14px 0 18px; }
.mt-footer-brand .mt-brand { color: #fff; }
.mt-footer-brand .mt-logo-text { color: #fff; }
.mt-social { display: flex; gap: 10px; }
.mt-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75); }
.mt-social a:hover { background: rgba(255,255,255,.16); color: #fff; }
.mt-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mt-footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin: 0 0 14px; font-weight: 700; }
.mt-footer-cols a { display: block; color: rgba(255,255,255,.75); font-size: 14px; padding: 5px 0; transition: color .15s; }
.mt-footer-cols a:hover { color: #fff; }
.mt-footer-bottom { max-width: 1240px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.48); }
@media (max-width: 768px) { .mt-footer-inner { grid-template-columns: 1fr; gap: 32px; } .mt-footer-cols { grid-template-columns: 1fr 1fr; } }

/* ============================================================================
 *  BUTTONS / EYEBROWS / FLASH
 * ========================================================================== */
.mt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid transparent; transition: all .15s; text-decoration: none; }
.mt-btn-primary { background: var(--mt-primary); color: #fff; border-color: var(--mt-primary); }
.mt-btn-primary:hover { background: var(--mt-primary-dark); color: #fff; box-shadow: 0 6px 18px rgba(30,64,175,.4); transform: translateY(-1px); }
.mt-btn-ghost { background: transparent; color: var(--mt-fg); border-color: var(--mt-border); }
.mt-btn-ghost:hover { background: #F1F5F9; color: var(--mt-fg); border-color: #CBD5E1; }
.mt-btn-danger { color: var(--mt-danger); border-color: #FECACA; }
.mt-btn-danger:hover { background: #FEE2E2; color: var(--mt-danger); border-color: var(--mt-danger); }
.mt-btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 11px; }
.mt-btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 6px; }
.mt-btn-block { display: flex; width: 100%; justify-content: center; }

.mt-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mt-primary); background: rgba(59,130,246,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.mt-grad { background: var(--mt-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.mt-flash { position: fixed; top: 16px; right: 16px; padding: 12px 20px; border-radius: 10px; font-size: 13px; font-weight: 600; z-index: 9999; box-shadow: var(--mt-shadow-lg); max-width: 420px; transition: opacity .35s, transform .35s; }
.mt-flash-success { background: #D1FAE5; color: #065F46; }
.mt-flash-warning { background: #FEF3C7; color: #92400E; }
.mt-flash-danger  { background: #FEE2E2; color: #991B1B; }

/* ============================================================================
 *  HERO + SECTIONS
 * ========================================================================== */
.mt-hero { padding: 80px 24px 96px; background: radial-gradient(ellipse at top, rgba(59,130,246,.08), transparent 60%); }
.mt-hero-compact { padding: 64px 24px 32px; }
.mt-hero-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.mt-hero-text h1 { font-family: 'Sora', sans-serif; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 22px; }
.mt-lead { font-size: 17px; color: var(--mt-muted); line-height: 1.7; max-width: 540px; margin-bottom: 32px; }
.mt-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.mt-trust { display: flex; gap: 22px; color: var(--mt-muted); font-size: 13.5px; flex-wrap: wrap; }
.mt-trust i { color: var(--mt-success); margin-right: 4px; }
.mt-hero-visual { display: flex; justify-content: center; }
.mt-hero-card { background: #fff; border-radius: 16px; box-shadow: var(--mt-shadow-lg); padding: 14px; width: 100%; max-width: 460px; transform: rotate(-1.2deg); }
.mt-hero-card-bar { display: flex; align-items: center; gap: 5px; padding: 0 4px 12px; border-bottom: 1px solid var(--mt-border); margin-bottom: 14px; }
.mt-hero-card-bar > span:nth-child(-n+3) { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.mt-hero-card-bar > span:nth-child(1) { background: #FCA5A5; }
.mt-hero-card-bar > span:nth-child(2) { background: #FCD34D; }
.mt-hero-card-bar > span:nth-child(3) { background: #6EE7B7; }
.mt-hero-card-title { flex: 1; font-size: 12.5px; color: var(--mt-muted); margin-left: 10px; font-weight: 600; }
.mt-hero-card-rec { font-size: 11px; color: var(--mt-danger); font-weight: 800; letter-spacing: .06em; }
.mt-hero-card-rec i { font-size: 8px; animation: mtPulse 1.2s ease-in-out infinite; }
@keyframes mtPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.mt-hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mt-hero-tile { aspect-ratio: 16/10; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; position: relative; overflow: hidden; }
.mt-hero-tile span { font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.mt-hero-tile label { position: absolute; bottom: 6px; left: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; padding: 1px 8px; border-radius: 4px; font-weight: 600; }
.mt-tile-1 { background: linear-gradient(135deg, #1E40AF, #3B82F6); }
.mt-tile-2 { background: linear-gradient(135deg, #BE185D, #EC4899); }
.mt-tile-3 { background: linear-gradient(135deg, #047857, #10B981); }
.mt-tile-4 { background: linear-gradient(135deg, #92400E, #F59E0B); }
.mt-hero-card-controls { display: flex; gap: 8px; justify-content: center; padding: 14px 0 6px; }
.mt-hero-card-controls button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F1F5F9; color: var(--mt-fg); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.mt-hero-card-controls .mt-end { background: var(--mt-danger); color: #fff; }

@media (max-width: 968px) {
  .mt-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .mt-hero-visual { order: -1; }
  .mt-hero { padding: 48px 16px 64px; }
}

.mt-section { padding: 80px 24px; max-width: 1240px; margin: 0 auto; }
.mt-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.mt-section-head h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; }
.mt-section-head p { color: var(--mt-muted); font-size: 16px; line-height: 1.7; margin: 0; }

.mt-logos { padding: 32px 24px; text-align: center; background: #F1F5F9; border-top: 1px solid var(--mt-border); border-bottom: 1px solid var(--mt-border); }
.mt-logos p { color: var(--mt-muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; margin: 0 0 12px; }
.mt-logo-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; color: #94A3B8; font-weight: 700; font-size: 16px; }

.mt-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mt-feat { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 14px; padding: 26px; transition: transform .15s, box-shadow .15s; }
.mt-feat:hover { transform: translateY(-2px); box-shadow: var(--mt-shadow); }
.mt-feat-icon { width: 48px; height: 48px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.mt-feat h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.mt-feat p { color: var(--mt-muted); font-size: 13.5px; line-height: 1.65; margin: 0; }
@media (max-width: 968px) { .mt-feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mt-feat-grid { grid-template-columns: 1fr; } }

/* Comparison CTA strip */
.mt-compare-cta { padding: 0 24px; }
.mt-compare-cta-inner { max-width: 1240px; margin: 0 auto; padding: 40px 44px; background: var(--mt-grad); border-radius: 18px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mt-compare-cta-inner h2 { font-family: 'Sora', sans-serif; font-size: 28px; margin: 8px 0; font-weight: 800; }
.mt-compare-cta-inner p { color: rgba(255,255,255,.85); margin: 0; max-width: 540px; }
.mt-compare-cta-inner .mt-eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.mt-compare-cta-inner .mt-btn-primary { background: #fff; color: var(--mt-primary-dark); border-color: #fff; }
.mt-compare-cta-inner .mt-btn-primary:hover { background: #fff; color: var(--mt-primary-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* Security section dark variant */
.mt-section .mt-eyebrow { background: rgba(59,130,246,.1); color: var(--mt-primary); }
.mt-sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.mt-sec-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 26px; }
.mt-sec-card i { font-size: 24px; color: #60A5FA; margin-bottom: 14px; }
.mt-sec-card h4 { color: #fff; margin: 0 0 8px; font-size: 16px; }
.mt-sec-card p { color: rgba(255,255,255,.68); font-size: 13.5px; line-height: 1.65; margin: 0; }
@media (max-width: 968px) { .mt-sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mt-sec-grid { grid-template-columns: 1fr; } }

/* ============================================================================
 *  PRICING CARDS
 * ========================================================================== */
.mt-billing-toggle { display: inline-flex; background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 999px; padding: 4px; margin-top: 24px; }
.mt-billing-toggle button { background: transparent; border: 0; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--mt-muted); }
.mt-billing-toggle button.active { background: var(--mt-primary); color: #fff; }

.mt-price-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.mt-price-full { padding-top: 8px; }
.mt-price-card { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 16px; padding: 28px 24px; position: relative; }
.mt-price-feat { border-color: var(--mt-primary-light); box-shadow: 0 12px 32px rgba(59,130,246,.18); transform: translateY(-6px); }
.mt-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--mt-grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; }
.mt-price-card h3 { font-family: 'Sora', sans-serif; font-size: 20px; margin: 0 0 4px; font-weight: 700; }
.mt-price-tag { color: var(--mt-muted); font-size: 13px; margin: 0 0 20px; }
.mt-price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.mt-price-cur { font-size: 16px; color: var(--mt-muted); }
.mt-price-num { font-family: 'Sora', sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.mt-price-per { font-size: 12.5px; color: var(--mt-muted); margin-left: 4px; }
.mt-price-feats { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.mt-price-feats li { font-size: 13.5px; color: var(--mt-fg); display: flex; align-items: center; gap: 8px; }
.mt-price-feats li i { color: var(--mt-success); font-size: 12px; }
.mt-price-feats li.mt-feat-off { color: #94A3B8; text-decoration: line-through; }
.mt-price-feats li.mt-feat-off i { color: #CBD5E1; }
@media (max-width: 968px) { .mt-price-summary { grid-template-columns: 1fr 1fr; } .mt-price-feat { transform: none; } }
@media (max-width: 600px) { .mt-price-summary { grid-template-columns: 1fr; } }

/* ============================================================================
 *  COMPARISON TABLE
 * ========================================================================== */
.mt-compare-table-wrap { max-width: 1240px; margin: 0 auto; overflow-x: auto; border-radius: 14px; border: 1px solid var(--mt-border); }
.mt-compare-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--mt-card); }
.mt-compare-table th { text-align: center; padding: 16px 14px; background: #F1F5F9; font-weight: 700; color: var(--mt-fg); border-bottom: 2px solid var(--mt-border); }
.mt-compare-table th.mt-row-label { text-align: left; background: var(--mt-card); }
.mt-compare-table th.mt-col-us { background: var(--mt-grad); color: #fff; }
.mt-compare-table td { padding: 14px; text-align: center; border-bottom: 1px solid var(--mt-border); color: var(--mt-fg); }
.mt-compare-table td.mt-row-label { text-align: left; font-weight: 600; color: var(--mt-fg); white-space: nowrap; }
.mt-compare-table td.mt-cmp-us { background: rgba(59,130,246,.06); font-weight: 700; color: var(--mt-primary-dark); }
.mt-compare-table td.mt-cmp-yes { color: var(--mt-success); font-weight: 700; }
.mt-compare-table td.mt-cmp-no  { color: #CBD5E1; }
.mt-compare-table td.mt-cmp-paid { color: var(--mt-warning); font-weight: 700; }
.mt-compare-table td.mt-cmp-limited { color: var(--mt-warning); }
.mt-compare-table tr:last-child td { border-bottom: 0; }
.mt-cmp-legend { max-width: 1240px; margin: 18px auto 0; padding: 0 4px; display: flex; gap: 18px; font-size: 12.5px; color: var(--mt-muted); flex-wrap: wrap; }
.mt-cmp-legend .mt-cmp-yes { color: var(--mt-success); font-weight: 700; }
.mt-cmp-legend .mt-cmp-no  { color: #94A3B8; }
.mt-cmp-legend .mt-cmp-paid { color: var(--mt-warning); font-weight: 700; }
.mt-cmp-legend .mt-cmp-limited { color: var(--mt-warning); }

/* ============================================================================
 *  BIG CTA + AUTH PAGES
 * ========================================================================== */
.mt-bigcta { padding: 80px 24px; text-align: center; background: linear-gradient(180deg, transparent, rgba(59,130,246,.05)); }
.mt-bigcta-inner { max-width: 720px; margin: 0 auto; }
.mt-bigcta h2 { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.mt-bigcta p { color: var(--mt-muted); font-size: 16px; margin: 0 0 28px; }

.mt-auth { padding: 40px 24px 80px; min-height: calc(100vh - 180px); display: flex; align-items: center; justify-content: center; }
.mt-auth-card { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 18px; padding: 38px 36px; box-shadow: var(--mt-shadow-lg); width: 100%; max-width: 440px; }
.mt-auth-card h1 { font-family: 'Sora', sans-serif; font-size: 26px; margin: 0 0 6px; font-weight: 800; letter-spacing: -.02em; }
.mt-auth-card > p { color: var(--mt-muted); font-size: 14px; margin: 0 0 22px; }
.mt-auth-card label { display: block; font-size: 12.5px; font-weight: 600; color: var(--mt-fg); margin: 14px 0 6px; }
.mt-auth-card .mt-hint { font-weight: 400; color: var(--mt-muted); font-size: 11.5px; }
.mt-auth-card input { width: 100%; padding: 11px 14px; border: 1px solid var(--mt-border); border-radius: 9px; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; }
.mt-auth-card input:focus { outline: 0; border-color: var(--mt-primary-light); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.mt-auth-card .mt-btn { margin-top: 22px; }
.mt-auth-alt { text-align: center; margin: 20px 0 0; font-size: 13.5px; color: var(--mt-muted); }
.mt-form-err { background: #FEE2E2; color: #991B1B; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; margin-bottom: 14px; }

/* ============================================================================
 *  APP SHELL (sidebar + main content)
 * ========================================================================== */
.mt-app { background: #F1F5F9; min-height: 100vh; display: flex; }
.mt-sidebar { width: 240px; background: var(--mt-card); border-right: 1px solid var(--mt-border); display: flex; flex-direction: column; padding: 18px 14px; position: sticky; top: 0; height: 100vh; }
.mt-brand-side { margin: 0 6px 22px; }
.mt-sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.mt-sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 9px; color: var(--mt-muted); font-size: 13.5px; font-weight: 600; transition: all .12s; }
.mt-sidebar nav a:hover { background: #F8FAFC; color: var(--mt-fg); }
.mt-sidebar nav a.active { background: rgba(59,130,246,.1); color: var(--mt-primary); }
.mt-sidebar nav a i { width: 16px; text-align: center; font-size: 14px; }
.mt-side-divider { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #94A3B8; padding: 18px 14px 6px; font-weight: 700; }
.mt-side-bottom { border-top: 1px solid var(--mt-border); padding-top: 14px; margin-top: 14px; }
.mt-side-user { display: flex; align-items: center; gap: 10px; padding: 6px 8px; }
.mt-side-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--mt-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.mt-side-user-name { font-size: 13px; font-weight: 700; }
.mt-side-user-plan { font-size: 11px; color: var(--mt-muted); }
.mt-side-signout { display: flex; align-items: center; gap: 8px; padding: 9px 14px; margin-top: 8px; border-radius: 8px; color: var(--mt-muted); font-size: 13px; font-weight: 500; }
.mt-side-signout:hover { background: #FEE2E2; color: var(--mt-danger); }

.mt-main { flex: 1; padding: 28px 32px; min-width: 0; }
.mt-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.mt-page-head h1 { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.mt-page-head p { color: var(--mt-muted); margin: 0; font-size: 14px; }

@media (max-width: 880px) { .mt-sidebar { display: none; } .mt-main { padding: 18px; } }

/* Cards / tables / badges */
.mt-card { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 14px; padding: 22px 24px; margin-bottom: 22px; }
.mt-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mt-card-head h2 { font-size: 16px; margin: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mt-card-head h2 i { color: var(--mt-primary-light); }
.mt-card-head a { font-size: 13px; font-weight: 600; }

.mt-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mt-table th { text-align: left; padding: 10px 12px; background: #F8FAFC; font-weight: 700; color: var(--mt-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--mt-border); }
.mt-table td { padding: 12px; border-bottom: 1px solid var(--mt-border); vertical-align: middle; }
.mt-table tr:last-child td { border-bottom: 0; }
.mt-table tr:hover td { background: #F8FAFC; }

.mt-empty { text-align: center; padding: 40px 20px; color: var(--mt-muted); }
.mt-empty i { font-size: 36px; color: #CBD5E1; margin-bottom: 12px; display: block; }
.mt-empty p { margin: 0 0 14px; }

.mt-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: #E2E8F0; color: #475569; text-transform: uppercase; }
.mt-badge-live, .mt-badge-active, .mt-badge-ready, .mt-badge-ok { background: #D1FAE5; color: #065F46; }
.mt-badge-scheduled, .mt-badge-trialing, .mt-badge-uploading { background: #DBEAFE; color: #1E40AF; }
.mt-badge-ended, .mt-badge-cancelled, .mt-badge-disabled { background: #F1F5F9; color: #64748B; }
.mt-badge-failed, .mt-badge-past_due { background: #FEE2E2; color: #991B1B; }
.mt-badge-admin { background: #FEF3C7; color: #92400E; }

.mt-pro-tag { background: var(--mt-grad); color: #fff; padding: 1px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .04em; margin-left: 4px; }

/* Quick action cards on dashboard */
.mt-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.mt-quick { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 14px; padding: 22px 20px; text-align: left; cursor: pointer; transition: all .15s; color: var(--mt-fg); text-decoration: none; display: block; font: inherit; width: 100%; }
.mt-quick:hover { border-color: var(--mt-primary-light); box-shadow: var(--mt-shadow); transform: translateY(-2px); }
.mt-quick i { font-size: 22px; margin-bottom: 12px; display: block; }
.mt-quick h3 { font-size: 15px; margin: 0 0 4px; font-weight: 700; }
.mt-quick p { font-size: 12.5px; color: var(--mt-muted); margin: 0; }
.mt-quick-1 i { color: var(--mt-primary-light); }
.mt-quick-2 i { color: #8B5CF6; }
.mt-quick-3 i { color: var(--mt-success); }
@media (max-width: 880px) { .mt-quick-grid { grid-template-columns: 1fr; } }

/* Stat tiles */
.mt-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.mt-stat { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.mt-stat-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--mt-fg); }
.mt-stat-lbl { font-size: 12.5px; color: var(--mt-muted); }
@media (max-width: 880px) { .mt-stat-row { grid-template-columns: 1fr 1fr; } }

/* KPI tiles (admin) */
.mt-kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 24px; }
.mt-kpi { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.mt-kpi i { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); }
.mt-kpi-num { display: block; font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; line-height: 1.1; }
.mt-kpi-lbl { display: block; font-size: 11.5px; color: var(--mt-muted); margin-top: 2px; }
@media (max-width: 1280px) { .mt-kpi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .mt-kpi-grid { grid-template-columns: 1fr 1fr; } }

.mt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.mt-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 22px; }
@media (max-width: 968px) { .mt-grid-2 { grid-template-columns: 1fr; } .mt-grid-3 { grid-template-columns: 1fr 1fr; } }

.mt-mini-card { background: var(--mt-card); border: 1px solid var(--mt-border); border-radius: 12px; padding: 16px 20px; }
.mt-mini-num { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; display: block; }
.mt-mini-lbl { font-size: 12px; color: var(--mt-muted); }

/* Plan card on dashboard */
.mt-card-plan { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(59,130,246,.05), rgba(139,92,246,.05)); border-color: rgba(59,130,246,.25); }
.mt-plan-badge { display: inline-block; background: var(--mt-grad); color: #fff; padding: 4px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }

/* Forms (app) */
.mt-card label { display: block; font-size: 12.5px; font-weight: 600; color: var(--mt-fg); margin: 14px 0 6px; }
.mt-card input[type=text], .mt-card input[type=email], .mt-card input[type=number],
.mt-card input[type=password], .mt-card input[type=datetime-local], .mt-card textarea, .mt-card select {
  width: 100%; padding: 10px 13px; border: 1px solid var(--mt-border); border-radius: 9px; font-size: 14px;
  font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.mt-card input:focus, .mt-card textarea:focus, .mt-card select:focus { outline: 0; border-color: var(--mt-primary-light); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.mt-form-row { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.mt-checkbox { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.mt-checkbox input { width: auto; }

/* Toolbar */
.mt-toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.mt-toolbar input, .mt-toolbar select { padding: 8px 12px; border: 1px solid var(--mt-border); border-radius: 8px; font-size: 13.5px; flex: 1; min-width: 180px; }

/* Bar chart inside table */
.mt-bar { background: #F1F5F9; height: 8px; border-radius: 4px; overflow: hidden; }
.mt-bar > div { height: 100%; }

/* Modal */
.mt-modal { position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mt-modal-box { background: var(--mt-card); border-radius: 14px; padding: 28px; max-width: 480px; width: 100%; }
.mt-modal-box h3 { margin: 0 0 8px; font-family: 'Sora', sans-serif; font-size: 20px; }
.mt-modal-box p { color: var(--mt-muted); font-size: 14px; margin: 0 0 16px; }
.mt-modal-box input { width: 100%; padding: 11px 13px; border: 1px solid var(--mt-border); border-radius: 9px; font-size: 14px; margin-bottom: 16px; }
.mt-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Cloud-storage banners */
.mt-cloud-linked { padding: 16px 0; }
.mt-cloud-status { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
