/*
 * portal.neureth.com (Odoo): the page styles. Odoo's own pages (sign-in,
 * quotations, invoices, maintenance requests) in neureth.com's type, buttons
 * and fields. The header and footer are not here: www.neureth.com/portal/chrome.js
 * draws the site's own, in shadow roots, with their styles inside.
 *
 * Kept from the 3 October portal sheet (attachment 803), whose header and footer
 * rules are gone. The layout tokens now follow the new header: the page's
 * measure is its 1240 px row with the same side padding, so the logo and the
 * page share a left edge, and anything sticky clears its 74 px.
 */
:root { --surface-page: #faf8f3; --surface: #fff; --surface-raised: #fff; --surface-sunken: #f3f0e8; --surface-invert: #1e1c1a; --surface-glass: #ffffffc7; --ink-900: #1c1a18; --ink-800: #2d2a27; --ink-700: #454039; --ink-600: #5a544c; --ink-500: #746d64; --ink-400: #9a9289; --ink-on-invert: #f5f2ec; --line: #1c1a1817; --line-strong: #1c1a1829; --line-invert: #ffffff24; --brand: #8b1e28; --brand-hover: #a62430; --brand-deep: #6d151e; --brand-tint: #8b1e280f; --brand-tint-strong: #8b1e281f; --brand-line: #8b1e2838; --shadow-xs: 0 1px 2px #1c1a180d; --shadow-sm: 0 1px 3px #1c1a180f, 0 1px 2px #1c1a180a; --shadow-md: 0 4px 16px -4px #1c1a181a, 0 2px 4px #1c1a180a; --shadow-lg: 0 18px 48px -18px #1c1a1838, 0 4px 12px -4px #1c1a180f; --shadow-brand: 0 12px 28px -12px #8b1e2873; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px; --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --font-display: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif; --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; --gutter: clamp(16px, 4vw, 40px); --shell: 1240px; --nav-h: 74px; --nav-spine: 0px; }

/* ── Portal pages (sign-in, quotations, invoices, requests): the site's
   editorial type and controls, from the .cr layer of neureth.com. ── */
#wrapwrap { --cr-fg: #191612; --cr-fg-2: #3a342d; --cr-fg-4: #7a7268; --cr-line: #1916121c; --cr-line-2: #19161233;
  --cr-accent-soft: #8b1e2812; --cr-ease: cubic-bezier(0.22, 1, 0.36, 1); background-color: var(--surface-page); }
#wrapwrap > main { font-family: var(--font-display); color: var(--cr-fg); font-synthesis-weight: none; }
#wrapwrap > main :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) { font-family: var(--font-display); letter-spacing: -0.028em; color: var(--cr-fg); }
#wrapwrap > main a:not(.btn) { color: var(--brand); }
#wrapwrap > main a:not(.btn):hover { color: var(--brand-hover); }
/* One measure with neureth.com: the logo, the menu and the page share a left edge. */
#wrapwrap > main .container { max-width: var(--shell); padding-left: var(--gutter); padding-right: var(--gutter); }
#wrapwrap > main .container .container { padding-left: 0; padding-right: 0; }

/* Buttons: brand red for the one action, quiet outlines for the rest. */
#wrapwrap > main .btn { font-family: var(--font-display); font-weight: 600; border-radius: 3px;
  transition: background 0.2s var(--cr-ease), color 0.2s var(--cr-ease), border-color 0.2s var(--cr-ease), transform 0.2s var(--cr-ease), box-shadow 0.2s var(--cr-ease); }
#wrapwrap > main .btn-primary { background-color: var(--brand); border-color: var(--brand); color: #fff; }
#wrapwrap > main .btn-primary:is(:hover, :focus-visible, :active) { background-color: var(--brand-hover); border-color: var(--brand-hover); color: #fff;
  transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(139, 30, 40, 0.75); }
#wrapwrap > main :is(.btn-light, .btn-secondary, .btn-outline-primary, .btn-outline-secondary) { background-color: transparent; border: 1px solid var(--cr-line-2); color: var(--cr-fg); }
#wrapwrap > main :is(.btn-light, .btn-secondary, .btn-outline-primary, .btn-outline-secondary):is(:hover, :focus-visible, :active) {
  background-color: transparent; border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
#wrapwrap > main .btn-link { color: var(--brand); text-decoration: none; font-weight: 600; }

/* Fields, as on the contact form. */
#wrapwrap > main .form-control, #wrapwrap > main .form-select { background-color: var(--surface-page); border: 1px solid var(--cr-line-2); border-radius: 3px;
  color: var(--cr-fg); font-family: inherit; font-size: 0.93rem; line-height: 1.5; box-shadow: none;
  transition: border-color 0.2s var(--cr-ease), box-shadow 0.2s var(--cr-ease), background 0.2s var(--cr-ease); }
#wrapwrap > main .form-control { padding: 0.7rem 0.85rem; }
#wrapwrap > main .form-control:hover, #wrapwrap > main .form-select:hover { border-color: var(--cr-fg-4); }
#wrapwrap > main .form-control:focus, #wrapwrap > main .form-select:focus { border-color: var(--brand); background-color: #fff; box-shadow: 0 0 0 3px var(--cr-accent-soft); outline: 0; }
#wrapwrap > main .form-control::placeholder { color: var(--cr-fg-4); }
#wrapwrap > main :is(.form-label, .col-form-label) { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: -0.008em; color: var(--cr-fg); }

/* Panels: the site's sunken stock and hairlines instead of Bootstrap's greys. */
#wrapwrap > main .bg-100, #wrapwrap > main .bg-light { background-color: var(--surface-sunken) !important; }
#wrapwrap > main :is(.border, .border-top, .border-bottom, .border-start, .border-end, .card) { border-color: var(--line-strong) !important; }
#wrapwrap > main :is(.rounded, .rounded-top, .rounded-bottom, .rounded-3, .card) { --bs-border-radius: 3px; }
#wrapwrap > main .rounded { border-radius: 3px !important; }
#wrapwrap > main .rounded-top { border-top-left-radius: 3px !important; border-top-right-radius: 3px !important; }
#wrapwrap > main .rounded-bottom { border-bottom-left-radius: 3px !important; border-bottom-right-radius: 3px !important; }
#wrapwrap > main .badge { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.04em; border-radius: 2px; }
#wrapwrap > main .breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
#wrapwrap > main .breadcrumb-item.active { color: var(--ink-900); }
/* Odoo's sidebar credit; the footer carries the company line instead. */
#wrapwrap > main .o_portal_sidebar_content > .small.text-muted:has(a[href*="odoo.com"]) { display: none !important; }
/* Sticky sidebars and anchors clear the fixed bar. */
#wrapwrap > main .o_portal_sidebar .position-sticky, #wrapwrap > main .sticky-top { top: calc(var(--nav-h) + 1rem); }

/* ── Sign-in page ── */
#wrapwrap .oe_website_login_container .oe_login_form { max-width: none; width: 100%; }
#wrapwrap .oe_website_login_container { box-sizing: border-box; max-width: calc(24rem + 2 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
  margin: clamp(2.5rem, 7vw, 4.75rem) auto clamp(3.5rem, 8vw, 6rem); }
.nx-signin-head { margin-bottom: 1.9rem; }
.nx-signin-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin: 0 0 0.85rem; }
#wrapwrap > main .nx-signin-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.35rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: var(--cr-fg); margin: 0; }
.nx-signin-lede { font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.55; color: var(--ink-700); margin: 0.85rem 0 0; }
/* Already signed in: one button onward, the size of "Log in". */
.nx-signin-go { margin: 0; }
#wrapwrap > main .nx-signin-go .btn { display: block; width: 100%; padding: 0.88rem 1.6rem; font-size: 1rem; line-height: 1.2; }
#wrapwrap .oe_login_form .mb-3 { margin-bottom: 1.15rem !important; }
#wrapwrap .oe_login_form .btn-link.btn-sm { padding: 0; font-size: 0.8rem; }
#wrapwrap .oe_login_form .input-group > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
#wrapwrap .oe_login_form .o_show_password { background-color: var(--surface-page); border-color: var(--cr-line-2) !important; color: var(--cr-fg-4); border-radius: 0 3px 3px 0; }
#wrapwrap .oe_login_form .o_show_password:hover { color: var(--brand); }
#wrapwrap .oe_login_form .oe_login_buttons .btn-primary { padding: 0.88rem 1.6rem; font-size: 1rem; line-height: 1.2; }
#wrapwrap .oe_login_form .o_login_auth em { font-style: normal; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500) !important; }
#wrapwrap .oe_login_form .o_login_auth .list-group { --bs-list-group-bg: transparent; }
#wrapwrap .oe_login_form .o_login_auth .list-group-item { background: transparent; border: 1px solid var(--cr-line-2); border-radius: 3px; color: var(--cr-fg);
  font-family: var(--font-display); font-weight: 600; padding: 0.8rem 1.25rem; transition: border-color 0.2s var(--cr-ease), color 0.2s var(--cr-ease); }
#wrapwrap .oe_login_form .o_login_auth .list-group-item:hover { border-color: var(--brand); color: var(--brand); }
#wrapwrap .oe_login_form .alert { border-radius: 3px; font-size: 0.9rem; }

/* ── The header and footer hosts. chrome.js draws into them; until it runs, or
   if it can't, the header keeps its own height, so nothing below it moves. ── */
header#top.nxp-top, footer#bottom.nxp-bottom { display: contents; }
#nxp-head { display: block; position: sticky; top: 0; z-index: 70; height: 74px; box-sizing: border-box; background: #faf8f3; border-bottom: 2px solid #241417; }
#nxp-foot { display: block; background: #d6efe7; border-top: 2px solid #241417; }
#nxp-head[data-on], #nxp-foot[data-on] { display: contents; }
.nxp-fb { box-sizing: border-box; max-width: 1240px; height: 72px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: "Archivo", system-ui, sans-serif; color: #241417; }
.nxp-fb-logo svg { display: block; height: 26px; width: auto; }
.nxp-fb .nxp-acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 2px solid #241417; border-radius: 12px; background: #faf8f3; font: 700 14px "Archivo", system-ui, sans-serif; color: #241417; text-decoration: none; }
.nxp-fb .nxp-acct-menu, .nxp-fb .nxp-acct-chev { display: none; }
.nxp-fb-foot { box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px); font: 14px "Inter", system-ui, sans-serif; color: #241417; }
.nxp-fb-foot a { color: #241417; }
