.mt-app-workspace { color: #e5edf6; min-width: 0; }
.mt-app-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 12px 0 18px; }
.mt-app-eyebrow { color: #55c9f4; font-size: 13px; font-weight: 600; }
.mt-app-heading h1 { font-size: 26px; line-height: 1.3; margin: 4px 0 8px; font-weight: 700; }
.mt-app-heading p { margin: 0; color: #b6c3d3; overflow-wrap: anywhere; }
.mt-app-heading__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mt-app-heading__actions .btn { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 16px; white-space: normal; }
.mt-app-installed { color: #70d6a4; font-size: 13px; }
.mt-app-account-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 12px 0; border-top: 1px solid #334255; border-bottom: 1px solid #334255; color: #b6c3d3; font-size: 14px; }
.mt-app-account-row a { display: inline-flex; align-items: center; gap: 6px; color: #67d3fb; margin-left: auto; }
.mt-app-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 8px; }
.mt-app-section { min-width: 0; padding: 18px 0; }
.mt-app-section h2 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.mt-app-links { border-top: 1px solid #334255; }
.mt-app-link { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 8px; border-bottom: 1px solid #334255; color: #e5edf6; text-decoration: none; transition: background-color .15s; }
.mt-app-link:hover { background: #172a36; color: #7dd3fc; }
.mt-app-link > span:not(.mt-app-link__icon):not(.mt-app-count) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mt-app-link__icon { display: inline-flex; color: #67d3fb; }
.mt-app-icon, .mt-pwa-nav svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mt-app-count { color: #0b101a; background: #55c9f4; border-radius: 4px; padding: 2px 6px; font-size: 13px; font-weight: 700; }
.mt-app-workspace a:focus-visible, .mt-pwa-nav a:focus-visible { outline: 2px solid #67d3fb; outline-offset: 3px; }
[data-pwa-install][hidden], [data-pwa-installed][hidden], .mt-pwa-nav[hidden] { display: none !important; }
.mt-pwa-nav { position: fixed; z-index: 55; inset: auto 0 0; display: flex; justify-content: space-around; gap: 4px; padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: #0b101a; border-top: 1px solid #334255; }
.mt-pwa-nav a { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; padding: 4px 0; color: #b6c3d3; font-size: 12px; line-height: 1.2; text-align: center; text-decoration: none; }
.mt-pwa-nav a[aria-current="page"] { color: #67d3fb; background: #162633; border-radius: 4px; }
.mt-pwa-navigation .app-root { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) {
    .mt-app-sections { grid-template-columns: minmax(0, 1fr); }
    .mt-app-heading h1 { font-size: 23px; }
    .mt-app-heading__actions { width: 100%; }
    .mt-app-heading__actions .btn { flex: 1; }
    .mt-app-account-row a { margin-left: 0; }
    .mt-app-section { padding: 16px 0 8px; }
}
@media (min-width: 769px) { .mt-pwa-nav { display: none; } .mt-pwa-navigation .app-root { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .mt-app-link { transition: none; } }
