/* MarTrans startup uses the corresponding MRPLTRANS native-style surfaces. */
@font-face{font-family:MarTransRoboto;src:url('./fonts/roboto-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:MarTransRoboto;src:url('./fonts/roboto-medium.ttf') format('truetype');font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:MarTransRoboto;src:url('./fonts/roboto-bold.ttf') format('truetype');font-style:normal;font-weight:700 900;font-display:swap}
.mt-startup{--mt-legal-blue:#0d2957;--mt-legal-action:#0077ff;--mt-legal-bg:#f4f8ff;--mt-legal-text:#17263f;--mt-legal-muted:#64748b;--mt-legal-surface:#fff;--mt-legal-variant:#eef2f8;--mt-legal-line:#cac4d0;--mt-load-line:#dce3ef;--mt-city-selected:#0d2957;position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;min-width:0;min-height:0;height:auto;margin:0;padding:0;overflow:hidden;background:var(--mt-legal-bg);color:var(--mt-legal-text);font:14px/20px MarTransRoboto,Roboto,Arial,Helvetica,sans-serif;letter-spacing:.2px;box-sizing:border-box}
.mt-startup[hidden],.mt-startup [hidden]{display:none!important}.mt-startup *{box-sizing:border-box}.mt-startup a{color:var(--mt-legal-action);overflow-wrap:anywhere}.mt-startup :is(a,button,input):focus-visible{outline:3px solid #4a9aff;outline-offset:3px}.mt-startup button{font-family:inherit}.mt-startup-header{display:flex;align-items:center;gap:10px;flex:none;min-height:60px;padding:calc(12px + var(--mt-safe-top,env(safe-area-inset-top))) calc(16px + var(--mt-safe-right,env(safe-area-inset-right))) 12px calc(16px + var(--mt-safe-left,env(safe-area-inset-left)));background:var(--mt-legal-blue);color:#fff}.mt-startup-header img{width:36px;height:36px;flex:none;object-fit:cover;border-radius:8px}.mt-startup-header h1{flex:1;min-width:0;margin:0;color:inherit;font-size:22px;line-height:28px;font-weight:700;overflow-wrap:anywhere}.mt-startup-header button{flex:none;min-height:40px;background:transparent;border:0;color:#fff;padding:6px 8px;font:inherit}
.mt-legal-content{min-height:0;flex:1;overflow:auto;overscroll-behavior:none;padding:10px calc(16px + var(--mt-safe-right,env(safe-area-inset-right))) 20px calc(16px + var(--mt-safe-left,env(safe-area-inset-left)))}.mt-legal-content>article,.mt-legal-content>section{margin:0 0 12px}.mt-legal-content h2{font-size:22px;line-height:28px;font-weight:600;margin:0 0 10px;color:inherit}.mt-legal-content h3{font-size:18px;line-height:24px;font-weight:600;margin:12px 0 6px;color:inherit}.mt-legal-content p{margin:0 0 10px;overflow-wrap:anywhere}.mt-legal-content .mt-legal-status{padding:12px;background:rgba(216,59,59,.1);border-radius:18px}.mt-legal-status h2,.mt-legal-sources h2{font-size:18px;line-height:24px}.mt-legal-status p:last-child{margin-bottom:0}.mt-legal-section{margin-bottom:10px}.mt-legal-revision{color:var(--mt-legal-muted)}
.mt-source-card{border:1px solid var(--mt-legal-line);border-radius:15px;overflow:hidden;background:var(--mt-legal-surface);margin-bottom:9px}.mt-source-link{display:block;min-height:58px;padding:9px 12px;text-decoration:none;border-top:1px solid var(--mt-legal-line)}.mt-source-link:first-child{border-top:0}.mt-source-title{display:flex;align-items:center;gap:9px;color:var(--mt-legal-text)}.mt-source-title b{flex:1;min-width:0;font-size:14px;line-height:20px;font-weight:600}.mt-source-title i{flex:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eaddff;color:#21005d}.mt-source-title i svg{width:20px;height:20px;fill:currentColor}.mt-source-title em{display:flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;color:var(--mt-legal-blue)}.mt-source-title em svg{width:24px;height:24px;fill:currentColor}.mt-source-url{display:block;margin-top:6px;font-size:12px;line-height:16px;color:var(--mt-legal-muted);overflow-wrap:anywhere}
.mt-legal-footer{flex:none;min-height:0;max-height:50%;overflow:auto;overscroll-behavior:none;padding:6px calc(16px + var(--mt-safe-right,env(safe-area-inset-right))) var(--mt-action-bottom-gap,6px) calc(16px + var(--mt-safe-left,env(safe-area-inset-left)));background:#f3f6fb}.mt-legal-check{display:flex;align-items:center;gap:8px;min-height:48px;padding:0;cursor:pointer;color:var(--mt-legal-text);font-size:13px;line-height:17px;font-weight:400}.mt-legal-check input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 28px;min-width:28px;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:inherit;transition:none}.mt-legal-check input[type=checkbox]::before{content:'';position:absolute;inset:4px;width:20px;height:20px;box-sizing:border-box;border:2px solid #7e8792;border-radius:2px;background:transparent}.mt-legal-check input[type=checkbox]:checked::before{border-color:#2d8fff;background:#2d8fff}.mt-legal-check input[type=checkbox]:checked::after{content:'';position:absolute;inset:4px;width:20px;height:20px;border:0;border-radius:0;transform:none;box-shadow:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10L8 14L16 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center/20px 20px no-repeat;transition:none}.mt-legal-check span{min-width:0;flex:1;overflow-wrap:anywhere}.mt-legal-footer button{display:block;width:100%;min-height:48px;height:auto;padding:10px 24px;border:0;border-radius:14px;background:#0077ff;color:#fff;font-size:14px;line-height:18px;font-weight:600;letter-spacing:.1px;cursor:pointer}.mt-legal-footer button:disabled{background:#e5eaf3;color:#64748b;cursor:default}.mt-legal-error{color:#b4232a;margin:0 0 6px;overflow-wrap:anywhere}.mt-startup .mt-secondary{margin-top:8px;border:1px solid var(--mt-legal-line);background:var(--mt-legal-surface);color:var(--mt-legal-text)}
body.mt-booting>#mt-app-frame,body.mt-booting>#header,body.mt-booting>#layout,body.mt-booting>#advertising-slot{visibility:hidden;pointer-events:none}
.mt-launch{display:grid;grid-template-rows:minmax(0,1fr);place-items:center;background:#0d2957;isolation:isolate}.mt-launch-logo{display:block;width:min(41vw,176px);max-width:41%;height:auto;aspect-ratio:1;object-fit:contain}
.mt-city-screen .mt-startup-header{min-height:calc(80px + var(--mt-safe-top,env(safe-area-inset-top)));padding:calc(12px + var(--mt-safe-top,env(safe-area-inset-top))) calc(18px + var(--mt-safe-right,env(safe-area-inset-right))) 12px calc(18px + var(--mt-safe-left,env(safe-area-inset-left)));gap:12px}.mt-city-screen .mt-startup-header img{width:48px;height:48px;object-fit:contain;border-radius:8px}.mt-city-screen .mt-startup-header h1{font-size:24px;line-height:28px}.mt-city-screen .mt-legal-content{padding:18px calc(18px + var(--mt-safe-right,env(safe-area-inset-right))) 24px calc(18px + var(--mt-safe-left,env(safe-area-inset-left)))}.mt-city-list{display:flex;flex-direction:column;gap:14px;width:100%;margin:0}.mt-city-card{display:flex;align-items:center;gap:14px;min-width:0;min-height:100px;padding:14px 16px;border:0;outline:1px solid color-mix(in srgb,var(--mt-load-line) 18%,transparent);outline-offset:-1px;border-radius:22px;background:var(--mt-legal-surface);cursor:pointer;box-shadow:0 2px 3px #00000015}.mt-city-card:has(input:checked){outline-width:1.5px;outline-color:var(--mt-city-selected)}.mt-city-card input{position:absolute;width:1px;height:1px;opacity:0}.mt-city-card:has(input:focus-visible){outline:3px solid #4a9aff;outline-offset:2px}.mt-city-logo{display:grid;place-items:center;width:72px;height:72px;flex:none;border-radius:18px;background:color-mix(in srgb,var(--mt-legal-variant) 45%,transparent)}.mt-city-logo img{width:60px;height:60px;object-fit:contain}.mt-city-logo-fallback img{width:52px;height:52px;border-radius:8px}.mt-city-label{flex:1;min-width:0}.mt-city-label b,.mt-city-label small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-city-label b{font-size:22px;line-height:28px;font-weight:600;letter-spacing:0}.mt-city-label small{font-size:14px;line-height:20px;font-weight:400;letter-spacing:.2px;color:var(--mt-legal-muted);margin-top:4px}.mt-city-mark{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--mt-legal-variant) 65%,transparent);color:transparent}.mt-city-mark svg{width:22px;height:22px;fill:currentColor}.mt-city-card:has(input:checked) .mt-city-mark{background:var(--mt-city-selected);color:#fff}.mt-city-screen .mt-legal-footer{padding:0 calc(18px + var(--mt-safe-right,env(safe-area-inset-right))) var(--mt-action-bottom-gap,6px) calc(18px + var(--mt-safe-left,env(safe-area-inset-left)));background:var(--mt-legal-bg)}.mt-city-screen .mt-legal-footer button{min-height:56px;border-radius:16px;font-weight:700;margin-top:8px}.mt-city-empty{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px}.mt-city-empty :is(h2,p){margin:0}
.mt-loading-screen{background:#f3f6fb;padding-bottom:var(--mt-action-bottom-gap,6px)}.mt-loading-screen .mt-startup-header h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.mt-load-body{min-height:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;width:100%;padding:18px calc(16px + var(--mt-safe-right,env(safe-area-inset-right))) 18px calc(16px + var(--mt-safe-left,env(safe-area-inset-left)));color:var(--mt-legal-muted)}.mt-load-spinner{width:72px;height:72px;border:6px solid var(--mt-load-line);border-top-color:#0077ff;box-sizing:border-box;border-radius:50%;flex:none;animation:mt-startup-spin 1s linear infinite}.mt-load-percent{font-size:57px;line-height:64px;color:var(--mt-legal-text)}.mt-load-track{height:4px;width:100%;overflow:hidden;border-radius:2px;background:var(--mt-load-line);flex:none}.mt-load-track span{display:block;height:100%;background:#0077ff}.mt-load-sizes{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;font-size:12px;line-height:16px}#mt-loading-label{font-size:16px;line-height:24px;text-align:center}.mt-load-sizes #mt-loading-label{font-size:12px;line-height:16px}.mt-load-actions{flex:none;padding:0 calc(16px + var(--mt-safe-right,env(safe-area-inset-right))) 0 calc(16px + var(--mt-safe-left,env(safe-area-inset-left)))}.mt-load-actions button{display:block;width:100%;min-height:56px;padding:10px 24px;border:0;border-radius:16px;background:#0077ff;color:#fff;font-size:14px;line-height:18px;font-weight:700;cursor:pointer}.mt-data-error{margin:auto 0;overflow-wrap:anywhere}.mt-recovery-screen .mt-legal-content{display:flex;flex-direction:column}.mt-recovery-screen .mt-legal-footer button{min-height:56px;border-radius:16px;font-weight:700}
#mt-onboarding.mt-launch .mt-launch-logo{border-radius:10%;overflow:hidden}
/* Classic site heading/hover rules must not leak into native startup controls. */
#mt-onboarding .mt-startup-header h1{font-size:22px;line-height:28px;max-width:none;flex-basis:auto}
#mt-onboarding.mt-city-screen{--mt-legal-bg:#f3f6fb}
#mt-onboarding.mt-city-screen .mt-startup-header h1{font-size:24px;line-height:28px}
#mt-onboarding .mt-startup-header button{background:transparent;color:#fff}
#mt-onboarding .mt-load-actions button,#mt-onboarding .mt-legal-footer button{background:#0077ff;color:#fff}
#mt-onboarding .mt-legal-footer .mt-secondary{background:var(--mt-legal-surface);color:var(--mt-legal-text)}
#mt-onboarding .mt-legal-footer button:disabled{background:#e5eaf3;color:#64748b}
@keyframes mt-startup-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.mt-load-spinner{animation-duration:2s}}
@media(prefers-color-scheme:dark){.mt-startup{--mt-legal-bg:#151d28;--mt-legal-text:#f4f6f8;--mt-legal-muted:#b4bcc8;--mt-legal-surface:#171a1f;--mt-legal-variant:#22262d;--mt-legal-line:#2a3039;--mt-load-line:#334155;--mt-city-selected:#4a9aff;--mt-legal-action:#4a9aff}.mt-legal-content .mt-legal-status{background:rgba(216,59,59,.22)}.mt-legal-footer{background:#171a1f}.mt-legal-footer button:disabled{background:#22262d;color:#b4bcc8}.mt-source-title i{background:#4f378b;color:#eaddff}.mt-source-title em{color:#4a9aff}.mt-legal-error{color:#ffb4ab}.mt-loading-screen{background:#151d28}.mt-launch{background:#0d2957}}
@media print{.mt-startup{position:static;display:block;height:auto;overflow:visible;padding:0;background:#fff;color:#000}.mt-legal-content{display:block;overflow:visible}.mt-legal-footer,.mt-load-actions{display:none}.mt-startup-header{background:#fff;color:#000}}
@media(prefers-color-scheme:dark){#mt-onboarding.mt-city-screen{--mt-legal-bg:#151d28}#mt-onboarding .mt-legal-footer button:disabled{background:#22262d;color:#b4bcc8}}
