/* Allegro Cloud release notes — shared by index.html and admin.html */

:root {
  --bg: #FFFFFF; --side: #F6F5F4; --th: #F0EFED; --border: #D6D2CF; --rule: #E4E1DE;
  --ink: #1F1E1C; --dim: #5F5C5E; --faint: #8A8683; --link: #12578F; --accent: #EA4D3F;
  --ok: #0E7C66; --warn: #B26B00;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --logo: url("ariane-logo-color.png");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #201F1D; --side: #292826; --th: #322F2D; --border: #47443F; --rule: #3A3835;
    --ink: #EAE8E5; --dim: #ADA8A3; --faint: #8B8681; --link: #85B9E8; --accent: #FF6B5C;
    --ok: #57C4A5; --warn: #D9A34A;
    --logo: url("ariane-logo-white.png");
  }
}
:root[data-theme="dark"] {
  --bg: #201F1D; --side: #292826; --th: #322F2D; --border: #47443F; --rule: #3A3835;
  --ink: #EAE8E5; --dim: #ADA8A3; --faint: #8B8681; --link: #85B9E8; --accent: #FF6B5C;
  --ok: #57C4A5; --warn: #D9A34A;
  --logo: url("ariane-logo-white.png");
}

* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
img { max-width: 100%; height: auto; }

/* masthead */
.top { border-top: 4px solid var(--accent); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px;
          flex-wrap: wrap; padding: 14px 28px; }
.brand { display: flex; align-items: center; gap: 16px; }
.logo { width: 124px; height: 51px; background: var(--logo) no-repeat left center/contain; flex: none; }
.brand h1 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
.brand .sub { color: var(--dim); font-size: 14px; }
.build { font-size: 13px; color: var(--dim); text-align: right; }
.build b { display: block; color: var(--ink); font-weight: 600; }

/* shell */
.shell { display: grid; grid-template-columns: 262px minmax(0, 1fr); align-items: start; }
@media (max-width: 880px) { .shell { grid-template-columns: 1fr; } }
.side { background: var(--side); border-right: 1px solid var(--border); padding: 20px 0 44px;
        position: sticky; top: 0; min-height: 100vh; max-height: 100vh; overflow-y: auto; }
@media (max-width: 880px) {
  .side { position: static; min-height: 0; max-height: none; border-right: 0;
          border-bottom: 1px solid var(--border); padding-bottom: 20px; }
}
.side h2 { margin: 0 0 8px; padding: 0 20px; font-size: 12px; font-weight: 700;
           letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.side-tools { padding: 0 20px 16px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.side-tools input[type="search"] { width: 100%; font-family: var(--sans); font-size: 14px;
  color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: 2px; padding: 6px 9px; }
.nav { list-style: none; margin: 0 0 18px; padding: 0; }
.nav li a { display: block; padding: 6px 20px 6px 17px; border-left: 3px solid transparent;
            color: var(--link); font-size: 14.5px; }
.nav li a .meta { display: block; color: var(--faint); font-size: 12.5px; }
.nav li a[aria-current="page"] { background: var(--bg); border-left-color: var(--accent);
            color: var(--ink); font-weight: 600; }
.nav-sep { margin: 0 20px 14px; border: 0; border-top: 1px solid var(--rule); }

/* document */
main { padding: 26px 34px 80px; max-width: 920px; }
@media (max-width: 560px) { main { padding: 22px 18px 60px; } }
.crumb { font-size: 13.5px; color: var(--faint); margin: 0 0 14px; }
h2.doc-title { margin: 0 0 4px; font-size: 27px; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.doc-meta { margin: 0 0 16px; color: var(--dim); font-size: 15px; }
.doc-meta b { color: var(--ink); font-weight: 600; }
.preface { margin: 0 0 24px; max-width: 66ch; }
h3.sec { display: flex; gap: 14px; align-items: baseline; margin: 36px 0 10px;
         font-size: 20px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
h3.sec .n { color: var(--faint); font-weight: 400; font-variant-numeric: tabular-nums; }
h4.feat { margin: 28px 0 3px; font-size: 16.5px; font-weight: 600; scroll-margin-top: 16px; }
.applies { margin: 0 0 10px; font-size: 13.5px; color: var(--faint); }
main p { max-width: 68ch; }
main ul.b { max-width: 68ch; padding-left: 20px; }
main ul.b li { margin-bottom: 5px; }
.callout { margin: 14px 0; padding: 10px 14px; border-left: 3px solid var(--accent);
           background: var(--side); font-weight: 600; max-width: 68ch; }
.note { margin: 12px 0; font-size: 14.5px; color: var(--dim); font-style: italic; max-width: 68ch; }
figure { margin: 16px 0 4px; }
figure img { border: 1px solid var(--border); display: block; }
figcaption { margin-top: 6px; font-size: 13px; color: var(--faint); font-style: italic; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 6px; border-radius: 2px;
       border: 1px solid var(--accent); color: var(--accent); vertical-align: 2px; margin-left: 6px; }
.tag.plain { border-color: var(--border); color: var(--faint); font-weight: 400; }

/* tables */
.tw { overflow-x: auto; margin: 0 0 6px; }
table { border-collapse: collapse; width: 100%; min-width: 580px; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px; border: 1px solid var(--rule); }
thead th { background: var(--th); font-size: 12px; font-weight: 700; letter-spacing: .06em;
           text-transform: uppercase; color: var(--dim); white-space: nowrap; }
td.narrow { white-space: nowrap; width: 1%; }
.empty-note { color: var(--dim); font-style: italic; }
.results { padding-left: 20px; }
.results li { margin-bottom: 12px; }
.results .where { display: block; font-size: 13px; color: var(--faint); }
footer.page { margin-top: 46px; padding-top: 16px; border-top: 1px solid var(--rule);
              font-size: 13.5px; color: var(--faint); }
code { font-family: var(--mono); font-size: .92em; }
pre { margin: 12px 0 0; padding: 14px 16px; background: var(--side); border: 1px solid var(--rule);
      overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; }
.banner { margin: 0; padding: 10px 28px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; }
