/* A quiet companion to the MakerSizer workbench. */
body[data-page="mobile"] { min-height: 100svh; }
.mob-shell { max-width: 480px; margin: 0 auto; padding: 28px 20px max(24px, env(safe-area-inset-bottom)); }
.mob-header { display: flex; justify-content: center; margin: 0 0 24px; }
.mob-brand { display: block; }
.mob-brand img { width: 112px; height: auto; }
.mob-app, #mob-auth-wall .auth-wall-inner {
  max-width: none; margin: 0; padding: 28px 24px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 8px 24px #35302a0a;
}
.mob-app h1, #mob-auth-wall h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.02em; }
.mob-sub { margin: 0 0 24px; font-size: 15px; line-height: 1.6; }
.mob-actions { display: grid; gap: 12px; margin: 0; }
.mob-actions button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 14px 16px; border-radius: 11px; font-size: 16px; font-weight: 650; }
.mob-actions .primary { border: 1px solid var(--dark); }
.mob-actions .secondary { background: var(--paper); }
.mob-actions svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mob-note { color: var(--ink-soft); font-size: 12px; line-height: 1.6; margin: 18px 0 0; }
.mob-status:not(:empty) { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.mob-status:empty { display: none; }
.mob-preview { display: block; max-width: 100%; max-height: 360px; margin: 16px auto 0; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; }
.mob-preview[hidden], #mob-app[hidden], #mob-auth-wall[hidden] { display: none; }
.mob-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 20px; margin: 22px 0 0; }
.mob-footer a { color: var(--ink-soft); font-size: 12px; text-underline-offset: 3px; }
.mob-brand:focus-visible, .mob-footer a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
#mob-auth-wall { position: static; }
#mob-auth-wall .primary { min-height: 48px; width: 100%; border-radius: 11px; }
:root[data-theme="dark"] .mob-actions .secondary { background: var(--surface-2); }
@media (max-width: 360px) { .mob-shell { padding-inline: 16px; } .mob-app, #mob-auth-wall .auth-wall-inner { padding: 24px 20px; } }
