/* The few base rules the browse pages need (they used to come with a 150 KB framework). Colours: the site's own, --msg-* from Msg\Theme::styleTag. */
/* the browser draws its own pieces (choice circles, ticks, scrollbars, date pickers) in the look's light or dark style (owner 2026-10-28: white circles on the dark Studio) */
:root { color-scheme: var(--msg-scheme, dark); }
*, *::before, *::after { box-sizing: border-box; }
html { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 10px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scrollbar-gutter: stable; }
body { margin: 0; background: var(--msg-bg); color: var(--msg-text); font-size: 14px; font-weight: normal; line-height: 1.42857143; }
@media (max-width: 1199px) { body { background: var(--msg-bar); } }
@media (max-width: 768px) { html, body { scrollbar-width: none; } html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; } }
a { color: var(--msg-link); text-decoration: none; background-color: transparent; }
a:active, a:hover { outline: 0; }
img { border: 0; vertical-align: middle; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 500; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; }
p { margin: 0 0 10px; }
ul, ol { margin-top: 0; margin-bottom: 10px; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { overflow: visible; text-transform: none; cursor: pointer; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; }
input[type="search"] { -webkit-appearance: none; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
[hidden], template { display: none; }
svg:not(:root) { overflow: hidden; }
.clearfix::before, .clearfix::after { display: table; content: " "; }
.clearfix::after { clear: both; }

/* a phone must not enlarge the text on its own (iOS / Android text autosizing); the person's own font-size setting still applies */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
