/* MRS additions to the original style.css: sign-in form fields, account pages, the account menu and save notices. Same palette. */
.authForm label{display:grid;gap:6px;font-size:13px;color:#444;margin:0 0 12px}
.authForm input{width:100%;border:1px solid #d7d7d6;background:#fff;border-radius:5px;padding:10px;font-size:15px;color:#272727}
.authForm .authError{color:#a41725;font-size:13px;min-height:1.2em;margin:4px 0 0}
#signInDialog .authForm p.authError,#signInDialog .authForm p.authNotice{margin:4px 0 0;font-size:13px}
.authForm .authNotice,#signInDialog .authForm p.authNotice{color:#1f5f2c;background:#eef7ef;border:1px solid #cfe6d2;border-radius:5px;padding:9px 11px}
.authForm .authContinue{width:100%}
.authAlt{text-align:center;font-size:14px;margin:12px 0 0!important}
.authAlt a{color:#b31829}
.authLink{display:block;margin:14px auto 0;background:none;border:0;color:#b31829;font-size:14px;text-decoration:underline;padding:4px}
.authForm button.primary:disabled{opacity:.65;cursor:wait}
.mrsPage{min-height:100svh;background:#f5f5f4}
.mrsPageInner{max-width:760px;margin:auto;padding:clamp(32px,6vh,72px) 5vw 48px}
.mrsPageInner h1{font-size:clamp(30px,3.6vw,46px);letter-spacing:-.05em;margin:12px 0 10px}
.mrsPageInner>p{color:#626266;line-height:1.5}
.mrsPageInner .panel{margin-top:22px}
.mrsPageInner .panel .authForm,.mrsPageInner .panel .mrsBody{padding:18px}
.mrsPageInner .back{display:inline-block;margin-top:22px;color:#b31829;font-size:14px}
.mrsPageInner select{width:100%}
.mrsPageInner textarea{width:100%;min-height:180px;border:1px solid #d7d7d6;border-radius:5px;padding:10px;font:13px monospace}
.mrsPageInner .row form{display:inline}
.mrsAccount{display:grid;gap:6px;border-top:1px solid #353535;margin-top:14px;padding:14px 3px 0;font-size:13px}
.mrsAccount .mrsWho{color:#a9a9a9;font-size:12px}
.mrsAccount a{color:#e2e2e2;text-decoration:none}
.mrsAccount a:hover{text-decoration:underline}
.mrsSignOut{background:#242426;border:1px solid #474749;color:#eee;text-align:left;font-size:13px;padding:7px 10px;margin-top:4px}
.mrsNotice{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:50;max-width:min(560px,92vw);background:#151515;color:#fff;border-left:4px solid #ce1b2d;border-radius:6px;padding:12px 16px;font-size:14px;box-shadow:0 10px 30px #0005}
.mrsBootError{margin:16px;padding:12px 16px;background:#fff1f2;color:#a21525;border:1px solid #f5cbd0;border-radius:6px}
.mrsBanner{position:sticky;top:0;z-index:40;background:#fff6dd;color:#5b3d00;border-bottom:1px solid #f0dca6;padding:9px 16px;font-size:14px;text-align:center}
.mrsBannerBlocked{background:#fff1f2;color:#a21525;border-color:#f5cbd0}
.mrsBanner a{color:inherit;font-weight:700}
body.mrsReadOnly #new{display:none}
.planChoices{border:1px solid #e3e3e2;border-radius:6px;padding:12px 14px;margin:0 0 14px;display:grid;gap:10px}
.planChoices legend{font-weight:600;padding:0 4px}
.planRow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.planUsers{display:inline-flex;align-items:center;gap:6px;margin-left:auto}
.planUsers input{width:72px;text-align:center}
.planUsers button{min-width:36px;min-height:36px;padding:4px}
.priceSummary{border:1px solid #e3e3e2;border-radius:6px;padding:12px 14px;margin:6px 0 12px;background:#fafafa}
.priceSummary table td,.priceSummary table th{padding:8px 6px}
.priceSummary .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.priceSummary tfoot th{font-size:16px;border-top:2px solid #d6d6d6}
.demoProfile{margin:0 0 8px}
.demoButton{display:block;width:100%;text-align:left;padding:12px 14px}
.demoButton small{display:block;color:#727272;margin-top:3px}
.authForm .check{display:flex;gap:8px;align-items:flex-start}
.authForm .check input{width:auto;margin-top:3px}
.memberActions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;justify-content:flex-end}
.workspaceEditor summary{cursor:pointer;border:1px solid #d6d6d6;border-radius:5px;padding:8px 12px;font-size:14px;background:#fff;list-style:none}
.workspaceEditor summary::-webkit-details-marker{display:none}
.workspaceEditor[open] summary{border-color:#ce1b2d}
.workspaceEditor form{display:grid;gap:8px;margin-top:8px;padding:10px 12px;border:1px solid #e3e3e2;border-radius:6px;background:#fafafa;min-width:220px}
.workspaceEditor .check{display:flex;gap:8px;align-items:center;font-size:14px}
.workspaceEditor .check input{width:auto}
@media(max-width:720px){.mrsPageInner .row{flex-wrap:wrap}.memberActions{width:100%;justify-content:flex-start}.workspaceEditor,.workspaceEditor form{width:100%}}
.demoTag{display:inline-block;margin-left:6px;font:600 10px Arial;letter-spacing:.8px;color:#8a5b00;background:#fff6dd;border:1px solid #f0dca6;border-radius:3px;padding:1px 4px;vertical-align:middle}
@media(max-width:720px){.mrsAccount{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;border-top:0;margin-top:6px;padding:4px 0 8px}.mrsAccount .mrsWho{width:100%}.mrsAccount a,.mrsSignOut{min-height:32px;display:inline-flex;align-items:center}}

/* MRS logo (owner's choice, 2026-11-21, "Prompt 1"): the red enamel badge with three ivory slashes, cropped from the artwork with a
   rounded mask (public/brand/mrs-badge-*.webp), beside live text "MRS" (bold italic warm white) over "Modular Repair Systems".
   On a desktop the sign-in form shows the artwork itself (mrs-wordmark-*.webp); on a phone it shows the badge and text. */
.mark{position:relative;background:none;border-radius:0;box-shadow:none;gap:0;overflow:visible}
.mark i{display:none}
.markBadge{display:block;width:100%;height:100%;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.5))}
.mrsLogo{align-items:center}
.mrsLogo .logoText{display:flex;flex-direction:column;justify-content:center;min-height:38px}
.mrsLogo .logoText b{font-weight:800;font-style:italic;color:#f4f1ea;letter-spacing:-.5px}
.mrsLogo .logoText small{font:500 10px/1.2 "Inter",Arial,sans-serif;letter-spacing:.2px;color:#d9d4ca;margin-top:4px}
.mrsWordmark{display:none}
.mrsLogo-signin .mark{width:46px;height:46px}
.mrsLogo-signin .logoText{min-height:46px}
.mrsLogo-signin .logoText b{font-size:25px;color:#161616}
.mrsLogo-signin .logoText small{color:#555;font-size:11px}
@media(min-width:721px){.mrsLogo-signin .mrsWordmark{display:block;width:300px;max-width:100%;height:auto;aspect-ratio:420/119;border-radius:6px}.mrsLogo-signin .mark,.mrsLogo-signin .logoText{display:none}}
.mrsLogo-stacked{flex-direction:column;gap:10px;text-align:center}
.mrsLogo-stacked .logoText{align-items:center}
@media(max-width:720px){.mrsLogo .logoText{min-height:32px}}

/* The owner's Export jobs / Backup buttons (2026-11-21) next to "Choose dashboard": on a phone the header wraps instead of running
   off the side of the screen. */
@media(max-width:720px){header{flex-wrap:wrap;row-gap:6px;padding-top:6px;padding-bottom:6px}header .exportMenu{margin-left:0;flex-wrap:wrap}header .dashboardPicker{font-size:12px;padding:7px 9px}}
.mrsLogo-signin{border:0;padding:0}
.pickerTop .mrsLogo,.entryPage .mrsLogo{border:0;padding:0}

/* Workspace chooser (owner rule, 2026-11-21; the Hub's modules grid): every workspace is shown; one this person cannot open is dimmed
   and says what they can do (Subscribe for an owner; on a desktop the button appears on hover or keyboard focus, on a phone always). */
.chooserNotice{grid-column:1/-1;margin:0;padding:10px 14px;border:1px solid #f5cbd0;background:#fff1f2;color:#a21525;border-radius:6px;font-size:14px}
.categoryCard.locked{cursor:default;background:#f4f4f3;border-style:dashed}
.categoryCard.locked:hover{border-color:#bdbdbb;box-shadow:0 2px 5px #10101008}
.categoryCard.locked .drawing{filter:grayscale(1) brightness(.62);border-bottom-color:#9a9a98}
.categoryCard.locked .cardInfo strong{color:#6d6d6d}
.categoryCard.locked .cardInfo>span{color:#808080}
.categoryCard.locked .lockedLabel{color:#7a7a7a}
.tileAction{display:inline-block;margin-top:8px;background:#ce1b2d;border:1px solid #c21527;color:#fff;border-radius:5px;padding:9px 16px;font-weight:650;font-size:14px;text-decoration:none}
.tileNote{display:block;margin-top:6px;font-size:13px;color:#676767}
@media(hover:hover) and (min-width:721px){.categoryCard.locked .tileAction{opacity:0;transition:opacity .15s}.categoryCard.locked:hover .tileAction,.categoryCard.locked:focus-within .tileAction{opacity:1}}
@media(max-width:720px){.categoryCard.locked{display:grid}.tileAction{padding:8px 12px;font-size:13px}}
/* On a wide screen the install card sits left of the WhatsApp button instead of on top of it. */
@media(min-width:640px){.pwa-banner{right:84px!important}}
