#mm-hub .milly-card { min-width: 0; }
#mm-hub .milly-card:hover { transform: none; }
#mm-hub .milly-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
#mm-hub .milly-button { display: block; box-sizing: border-box; width: 100%; min-height: 44px; padding: 12px 14px; border: 2px solid #1e1e1e; border-radius: 10px; background: #1e1e1e; color: #fff; font: 600 15px/1.4 Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
#mm-hub .milly-button-secondary { background: #fff; color: #1e1e1e; }
#mm-hub .milly-button:hover { background: #383838; color: #fff; }
#mm-hub .milly-button:disabled { cursor: wait; opacity: .65; }
#mm-hub .milly-button:focus-visible, #mm-hub .milly-download:focus-visible, #mm-hub .milly-manual summary:focus-visible, #mm-hub #milly-document:focus-visible { outline: 3px solid #8a431e; outline-offset: 3px; }
#mm-hub .milly-help { font: 14px/1.5 Arial, sans-serif; color: #444; margin: 12px 0 0; }
#mm-hub #milly-status:empty { display: none; }
#mm-hub .milly-download, #mm-hub .milly-manual summary { color: #1e1e1e; font: 600 14px/1.5 Arial, sans-serif; text-decoration: underline; margin-top: 14px; cursor: pointer; }
#mm-hub .milly-manual label { display: block; margin-top: 14px; color: #1e1e1e; }
#mm-hub .milly-manual .milly-button { margin: 12px 0; }
#mm-hub #milly-document { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 180px; resize: vertical; padding: 10px; border: 1px solid #666; border-radius: 6px; background: #fff; color: #1e1e1e; font: 16px/1.5 monospace; }

/* Keep the copy controls within narrow iPhone cards, even with long pasted text. */
#mm-hub .milly-card, #mm-hub .milly-actions, #mm-hub .milly-manual { min-width: 0; max-width: 100%; }
#mm-hub .milly-card h3, #mm-hub .milly-card p, #mm-hub .milly-button,
#mm-hub .milly-download, #mm-hub .milly-manual summary { overflow-wrap: anywhere; white-space: normal; }
#mm-hub #milly-document { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
