.mtm-pwa-install[hidden]{display:none!important}.mtm-pwa-install{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:9000;width:min(600px,calc(100% - 32px));box-sizing:border-box;background:#fff;color:#18243c;border:1px solid #dfe4f0;border-radius:16px;box-shadow:0 10px 35px #18243c26;padding:14px;display:flex;align-items:center;gap:12px;font:14px/1.4 system-ui}.mtm-pwa-install img{border-radius:9px;flex-shrink:0}.mtm-pwa-install div{flex:1;min-width:0}.mtm-pwa-install strong,.mtm-pwa-install span{display:block}.mtm-pwa-install span{font-size:12px;color:#5b667d}.mtm-pwa-install button,.mtm-pwa-dialog button{border:0;border-radius:9px;background:#5147c4;color:#fff;font:600 13px system-ui;padding:12px 16px;cursor:pointer}.mtm-pwa-install #mtm-pwa-dismiss{background:transparent;color:#5b667d;padding:8px;font-size:22px}.mtm-pwa-dialog{border:1px solid #dfe4f0;border-radius:16px;padding:28px;max-width:400px;width:calc(100% - 80px);color:#18243c;font:16px/1.6 system-ui}.mtm-pwa-dialog::backdrop{background:#18243c80}@media(max-width:380px){.mtm-pwa-install{flex-wrap:wrap}.mtm-pwa-install button{padding:10px}.mtm-pwa-install strong{font-size:12px}}@media(display-mode:standalone){.mtm-pwa-install{display:none!important}}
/* Installed app shell: workspace only, without website chrome. */
body.mtm-mobile-app{margin:0;background:#f5f6fc;font-family:system-ui,sans-serif;color:#18243c}
.mtm-mobile-app #mtm-app{width:100%;max-width:none;margin:0;min-height:100dvh;border:0;border-radius:0;box-shadow:none}
.mtm-mobile-app .mtm-top{position:sticky;top:0;z-index:100;background:#fff;height:auto;min-height:64px;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));gap:8px;flex-wrap:wrap}
.mtm-mobile-app .mtm-brand small,.mtm-mobile-app .mtm-metley-link,.mtm-mobile-app .mtm-admin-link,.mtm-mobile-app .mtm-external-step,.mtm-mobile-app [data-step="features"]{display:none!important}
.mtm-mobile-app .mtm-top-actions{gap:10px;flex-wrap:wrap}.mtm-mobile-app .mtm-plan-status{font-size:11px}.mtm-mobile-app .mtm-top-logout{font-size:12px}
.mtm-mobile-app .mtm-layout{display:block}.mtm-mobile-app .mtm-main{padding:20px 16px 112px;min-width:0}
.mtm-mobile-app .mtm-sidebar{position:fixed;bottom:0;left:0;right:0;z-index:150;display:flex;gap:6px;overflow-x:auto;background:#fff;border-top:1px solid #dfe4f0;padding:8px 10px;padding-bottom:max(8px,env(safe-area-inset-bottom));width:auto;scrollbar-width:thin}
.mtm-mobile-app .mtm-sidebar>small,.mtm-mobile-app .mtm-side-note{display:none}.mtm-mobile-app .mtm-step{flex:0 0 auto;display:flex;flex-direction:column;justify-content:center;gap:5px;font-size:11px;padding:8px 12px;min-width:64px;white-space:nowrap}.mtm-mobile-app .mtm-step span{font-size:19px}
.mtm-mobile-welcome{max-width:480px;padding:36px 20px;margin:auto}.mtm-mobile-welcome h1{font-size:30px}.mtm-mobile-welcome>button{margin:8px 8px 0 0}
#mtm-mobile-auth{padding:28px 16px 16px;border:0;border-radius:18px;width:min(480px,calc(100% - 40px));max-height:85dvh;overflow-y:auto;box-sizing:border-box}#mtm-mobile-auth::backdrop{background:#18243c99}#mtm-mobile-auth .mtm-auth-card{border:0;box-shadow:none}.mtm-mobile-auth-close{display:block;margin-left:auto;border:0;background:transparent;font-size:26px;cursor:pointer}
.mtm-mobile-tasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mtm-mobile-tasks button{text-align:left;color:#18243c;cursor:pointer;padding:22px 16px;min-height:120px;font:inherit}.mtm-mobile-tasks strong,.mtm-mobile-tasks span{display:block}.mtm-mobile-tasks span{font-size:13px;color:#647087;margin-top:10px}
@media(max-width:380px){.mtm-mobile-tasks{grid-template-columns:1fr}.mtm-mobile-app .mtm-brand strong{font-size:18px}}
@media print{.mtm-mobile-app .mtm-sidebar,.mtm-mobile-app .mtm-top{display:none!important}.mtm-mobile-app .mtm-main{padding:0}}
/* Viewport-sized screens; move through content with Previous / Next. */
body.mtm-mobile-app{height:100dvh;overflow:hidden;overscroll-behavior:none}
.mtm-mobile-app #mtm-app{height:100dvh;min-height:0;overflow:hidden}
.mtm-mobile-app .mtm-top{box-sizing:border-box}
.mtm-mobile-app .mtm-layout{height:calc(100dvh - var(--app-top-height,76px) - 76px - env(safe-area-inset-bottom));overflow:hidden}
.mtm-mobile-app .mtm-main{box-sizing:border-box;height:100%;padding:12px 16px 0;position:relative;overflow:hidden}
.mtm-mobile-app .mtm-bottom{display:none}.mtm-mobile-app .mtm-sidebar{height:76px;box-sizing:content-box;overflow:hidden;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 4px;padding-bottom:env(safe-area-inset-bottom)}
.mtm-mobile-app .mtm-sidebar .mtm-step{display:none;min-width:0;padding:8px 2px;font-size:10px;white-space:normal;text-align:center}
.mtm-mobile-app .mtm-sidebar [data-step="home"],.mtm-mobile-app .mtm-sidebar [data-step="jd"],.mtm-mobile-app .mtm-sidebar [data-step="resumes"],.mtm-mobile-app .mtm-sidebar [data-step="results"]{display:flex}
.mtm-screen-more{align-self:center;width:100%;min-width:0;border:0;background:#f1f3fb;color:#3f54c6;padding:10px 2px;border-radius:8px;font:600 11px system-ui}
.mtm-screen-flow{column-width:var(--screen-width);column-gap:0;column-fill:auto;overflow:visible!important;max-height:none!important;box-sizing:border-box;transition:transform .16s ease}
.mtm-screen-flow[hidden]{display:none!important}
.mtm-screen-flow>.mtm-heading{margin:0 0 12px}.mtm-screen-flow h1{font-size:23px;line-height:1.2}.mtm-screen-flow h2{font-size:19px}.mtm-screen-flow .mtm-heading p,.mtm-screen-flow .mtm-card-head p{display:none}
.mtm-screen-flow .mtm-card,.mtm-screen-flow form,.mtm-screen-flow .mtm-result-card{break-inside:auto;box-shadow:none}
.mtm-screen-flow label,.mtm-screen-flow button,.mtm-screen-flow input,.mtm-screen-flow select,.mtm-screen-flow textarea,.mtm-screen-flow .mtm-file-row,.mtm-screen-flow .mtm-history-row{break-inside:avoid}
.mtm-screen-flow .mtm-profile-grid,.mtm-screen-flow .mtm-mobile-tasks,.mtm-screen-flow .mtm-auth-grid,.mtm-screen-flow .mtm-pricing-grid{display:block}
.mtm-screen-flow .mtm-mobile-tasks>*{display:block;width:100%;min-height:80px;margin-bottom:10px}
.mtm-screen-flow .mtm-plan{break-inside:auto;margin-bottom:16px}
.mtm-screen-flow textarea{max-height:130px;min-height:60px}.mtm-screen-flow .mtm-card{padding:14px;margin:0 0 12px}
.mtm-screen-pager{position:absolute;bottom:0;left:0;right:0;height:52px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f5f6fc;border-top:1px solid #dfe4f0;padding:0 8px;box-sizing:border-box;z-index:5;font:12px system-ui}
.mtm-screen-pager button{border:0;background:#5147c4;color:#fff;border-radius:8px;padding:10px 12px;font:600 12px system-ui;cursor:pointer}.mtm-screen-pager button:disabled{background:#e2e6f0;color:#737e92;cursor:default}
.mtm-mobile-app .mtm-modal,.mtm-mobile-app #mtm-mobile-auth{height:min(78dvh,650px);max-height:none;width:min(620px,calc(100% - 24px));box-sizing:border-box;padding:16px 12px 0;overflow:hidden;position:relative}
.mtm-mobile-app .mtm-modal{margin:auto}.mtm-mobile-app .mtm-overlay{overflow:hidden;padding:0 12px}
.mtm-mobile-app .mtm-modal .mtm-screen-pager,.mtm-mobile-app #mtm-mobile-auth .mtm-screen-pager{background:#fff}
.mtm-mobile-app #mtm-notice:not([hidden]){position:absolute;top:0;left:0;right:0;z-index:6;max-height:90px;padding:10px;font-size:12px}
@media(prefers-reduced-motion:reduce){.mtm-screen-flow{transition:none}}
@media print{body.mtm-mobile-app,.mtm-mobile-app #mtm-app,.mtm-mobile-app .mtm-layout,.mtm-mobile-app .mtm-main{height:auto;overflow:visible}.mtm-screen-flow{columns:auto!important;height:auto!important;width:auto!important;transform:none!important}.mtm-screen-pager{display:none!important}}

.mtm-screen-flow .mtm-result-grid{display:block}.mtm-screen-flow .mtm-result{break-inside:auto;overflow:visible}.mtm-screen-flow .mtm-result p,.mtm-screen-flow .mtm-result li{orphans:2;widows:2}.mtm-screen-flow .mtm-candidate-header{break-inside:avoid}.mtm-screen-flow .mtm-chips{display:block}.mtm-screen-flow .mtm-chips label{display:inline-flex;margin:3px}.mtm-screen-flow .mtm-actions{flex-wrap:wrap;break-inside:avoid}
