/* brand.css — Intelligent Planning chrome and fixes laid over Earthmove's own
   stylesheet (app/style.css, copied from the earthmove repository by
   scripts/import-earthmove.js and replaced on every import). Do not edit the
   app/ copy; everything site-specific lives here and survives a re-import.
   Loaded after app/style.css and chrome.css, so equal-specificity rules win. */

/* Brand accent (UI only; the sand / sky / earth data colours stay semantic). */
:root { --accent: #C93B12; }
:root[data-theme="dark"] { --accent: #F0983A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent: #F0983A; } }

/* Earthmove sizes html/body to 100% for a full-window app. On the site the body
   is chrome.css's sticky-footer flex column and the page scrolls normally. */
html, body { height: auto; }
/* Flex items with margin:0 auto shrink to their content; Earthmove's <main>s must
   stay full width so its canvases size to the window. */
body > main { width: 100%; }
body > #top { width: 100%; }

/* Tool top bar, intro and the alpha notice (the shared pattern of the tool pages). */
.tool-topbar { border-bottom: 1px solid #EEDACD; background: #FAEBE1; }
.tool-topbar .inner { max-width: 1800px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; gap: 14px; font-size: 13px; font-family: "Inter", "Helvetica Neue", Arial, sans-serif; }
.tool-topbar a { color: #5C4A40; font-weight: 500; text-decoration: none; }
.tool-topbar a:hover { text-decoration: underline; }
.tool-topbar .brand { color: #201712; font-weight: 600; }
.tool-topbar .sep { color: #DCC2B2; }
.tool-topbar .here { color: #201712; }
.tool-topbar .spacer { flex: 0 1 auto; margin-left: auto; }
.intro { width: 100%; max-width: 1700px; margin: 0 auto; padding: 20px 14px 4px; font-family: "Inter", "Helvetica Neue", Arial, sans-serif; color: #201712; }
.intro h1 { font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif; font-size: 1.8rem; font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
.alpha-notice { background: #FFF6DB; border-left: 6px solid #FFC73C; border-radius: 4px; padding: 12px 44px 12px 16px; font-size: 14px; line-height: 1.55; color: #201712; position: relative; }
.alpha-notice[hidden] { display: none; }
.alpha-close { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #201712; font-size: 22px; line-height: 1; cursor: pointer; }
.alpha-close:hover, .alpha-close:focus-visible { background: rgba(32, 23, 18, .12); }
.alpha-notice strong { font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif; }
:root[data-theme="dark"] .intro h1 { color: #ece6da; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .intro h1 { color: #ece6da; } }

/* Earthmove's own header becomes the app toolbar under the site bar. */
#top .brand { font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif; }

.site-footer { margin-top: 24px; }
