/* Precise Mechanical chat: page frame and small changes on top of the MMG chat styles. */
html,body{margin:0;height:100%;background:#fff}
/* Not in this app yet: video calls and the "back to all workspaces" switch. */
.mmg-call-button,[data-chat-leave]{display:none !important}
.pm-auth{box-sizing:border-box;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#20262c;padding:16px;
  font-family:-apple-system,"Segoe UI",system-ui,Arial,sans-serif;color:#1d232a}
.pm-card{background:#fff;border-radius:10px;padding:28px 24px;width:100%;max-width:360px;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.pm-card h1{font-size:20px;margin:0 0 4px}
.pm-card p{margin:0 0 18px;color:#66717b;font-size:14px}
.pm-card label{display:block;font-size:13px;font-weight:600;margin:12px 0 4px}
.pm-card input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #c9d0d6;border-radius:6px;font:inherit;font-size:15px}
.pm-card input:focus{outline:2px solid #b8873a;outline-offset:1px}
.pm-card button{width:100%;margin-top:20px;padding:11px;border:0;border-radius:6px;background:#b8873a;color:#fff;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.pm-card button:hover{background:#8a6420}
.pm-error{background:#fbe9e7;color:#c0342c;border-radius:6px;padding:8px 10px;font-size:13px;margin-top:12px}
.pm-error[hidden]{display:none}
.pm-link{display:block;text-align:center;margin-top:14px;font-size:13px;color:#66717b}
.pm-logo{display:block;width:100%;max-width:260px;height:auto;margin:0 auto 14px}
.pm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pm-card p{text-align:center}

/* Mechanic shop, not projects: no Projects section or tab. */
[data-chat-section="projects"],[data-chat-nav="projects"]{display:none !important}

/* The real Precise Mechanical Repairs logo in the sidebar header (white on the dark sidebar). */
.mmg-chat .mmg-chat-logo{width:150px;height:46px;border-radius:0;background:url(/app/precise-logo.png) center/cover no-repeat;
  font-size:0;color:transparent;filter:invert(1);display:block}
.mmg-chat .mmg-chat-switcher strong{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mmg-chat .mmg-chat-switcher{padding:10px 14px}
@media (max-width:760px){
  .mmg-chat .mmg-chat-logo{display:block !important;width:130px;height:40px;filter:none}
}

/* Staff settings page */
.pm-card.pm-wide{max-width:640px}
.pm-staff-row{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:12px 0;border-top:1px solid #e3e7ea}
.pm-staff-name{grid-column:1/-1;display:flex;flex-direction:column;font-size:14px}
.pm-staff-name span{color:#66717b;font-size:13px;overflow-wrap:anywhere}
.pm-staff-row select{padding:8px;border:1px solid #c9d0d6;border-radius:6px;font:inherit;font-size:14px;min-width:0}
.pm-staff-costs{display:flex;align-items:center;gap:6px;font-size:14px;margin:0 !important;font-weight:400 !important;white-space:nowrap}
.pm-staff-costs input{width:auto}
.pm-saved{min-height:1.2em;margin:10px 0 0 !important}
@media (min-width:560px){.pm-staff-row{grid-template-columns:1fr auto auto}.pm-staff-name{grid-column:auto}}
