/* Niguro page CSS: utility pages (built on the page kit in niguro.css; see dev/niguro-kit.md)
   static pages (.ng-ustatic), Contact Us (.ng-ucontact), the Support Center (.ng-usupport), the status
   pages - 404, permission, banned, approval, activation (.ng-ustate-page) - and Forgot password (.ng-usolo).
   Colours only from tokens; tiles and tags in the accent, --h only for a status (banned, permission). */

/* ------------------------------- */
/* Shared bits */
/* ------------------------------- */

/* Sngine's svg icons (__svg_icons.tpl) inside kit pieces take the piece's colour, as the Niguro icons do */
:is(.ng-ustatic, .ng-ucontact, .ng-usupport, .ng-ustate-page, .ng-usolo) :is(.ng-lrow__icon, .ng-lcard__head, .ng-ptabs__list a, .ng-snav a, .ng-hero__tile) .svg-container { display: grid; flex: none; place-items: center; }
:is(.ng-ustatic, .ng-ucontact, .ng-usupport, .ng-ustate-page, .ng-usolo) :is(.ng-lrow__icon, .ng-ptabs__list a, .ng-hero__tile) .svg-container { color: inherit; }
:is(.ng-ustatic, .ng-ucontact, .ng-usupport) .ng-lcard__head .svg-container { color: var(--ng-brand); }
:is(.ng-ustatic, .ng-ucontact, .ng-usupport) .ng-snav a .svg-container { color: var(--ng-sub); }
:is(.ng-ustatic, .ng-ucontact, .ng-usupport) .ng-snav a.active .svg-container { color: var(--ng-brand); }

/* Sngine's form alerts start hidden (.x-hidden) and core.js shows them (slideDown). niguro.css's site-wide
   `.alert:not(.see-more):not(.alert-post)` sets display:block and --h:210, which shows them empty and blue;
   here they stay hidden until shown, and danger/success keep their hues. */
:is(.ng-ucontact, .ng-usupport, .ng-usolo) .alert.x-hidden:not(.see-more):not(.alert-post) { display: none; }
:is(.ng-ucontact, .ng-usupport, .ng-usolo) .alert-danger:not(.see-more):not(.alert-post) { --h: 2; }
:is(.ng-ucontact, .ng-usupport, .ng-usolo) .alert-success:not(.see-more):not(.alert-post) { --h: 140; }
/* the hero tile: an svg icon at the size of the kit's outline icons */
.ng-hero__tile .svg-container { width: 44% !important; height: 44% !important; }
.ng-hero__tile .svg-container svg { width: 100% !important; height: 100% !important; }

/* stacked fields with even gaps; a pair side by side from 768px */
.ng-ufields { display: grid; gap: 16px; }
.ng-ufields .form-group { margin: 0; }
.ng-ufields .form-label { margin-bottom: 7px; }
.ng-ufields__pair { display: grid; gap: 16px; }
@media (min-width: 768px) { .ng-ufields__pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ng-ufields .alert { margin: 0; }
/* the kit's field height (style.css's padding makes single-line fields 53px) */
:is(.ng-ucontact, .ng-usupport) .ng-fcard :is(input.form-control, select.form-select),
:is(.ng-usearch, .ng-ustate__field) .form-control { height: var(--ng-field-h); min-height: var(--ng-field-h); padding-top: 0; padding-bottom: 0; }
:is(.ng-ucontact, .ng-usupport) .ng-fcard .text-danger { color: hsl(var(--destructive)) !important; }
:is(.ng-ucontact, .ng-usupport) .ng-fcard__head small .text-danger { font-weight: 700; }

/* ------------------------------- */
/* Status pages: one centred card (404, permission, banned, approval, activation) */
/* ------------------------------- */

.ng-ustate-page .ng-hubwrap { display: flex; flex-direction: column; justify-content: center; min-height: calc(100dvh - var(--ng-top, 56px) - 160px); }
.ng-ustate {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center;
  margin: 0; padding: 32px 20px 26px; border: 0; border-radius: var(--ng-r); text-align: center;
  --_hc: var(--h) 85% 60%; /* the accent, or the status hue when the card sets --h (banned, permission) */
  background:
    radial-gradient(80% 60% at 50% 0%, hsl(var(--_hc, var(--primary)) / .18), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, hsl(var(--_hc, var(--primary)) / .08), transparent 70%),
    var(--ng-card);
}
@media (min-width: 768px) { .ng-ustate { padding: 40px 36px 32px; } }
.ng-ustate .ng-hero__art { width: 92px; height: 92px; margin: 4px 0 22px; }
@media (min-width: 768px) { .ng-ustate .ng-hero__art { width: 104px; height: 104px; margin-right: 0; } }
.ng-ustate__eyebrow { --_hink: hsl(var(--h) 70% 36%); margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--_hink, var(--ng-brand)); }
body.night-mode .ng-ustate__eyebrow { --_hink: hsl(var(--h) 75% 65%); }
.ng-ustate__title { margin: 6px 0 0; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; color: var(--ng-ink-strong); }
@media (min-width: 768px) { .ng-ustate__title { font-size: 28px; } }
.ng-ustate__text { max-width: 430px; margin: 10px auto 0; font-size: 15px; line-height: 1.6; color: var(--ng-sub); overflow-wrap: anywhere; }
.ng-ustate__text p { margin: 0; }
.ng-ustate__text p + p { margin-top: 12px; }
.ng-ustate__text small { display: inline-block; margin-top: 4px; font-size: 12.5px; }
.ng-ustate__em { font-weight: 700; color: var(--ng-ink-strong); overflow-wrap: anywhere; }
.ng-ustate__note { display: inline-flex; align-items: flex-start; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--ng-fill); font-size: 13.5px; text-align: start; color: var(--ng-sub); }
.ng-ustate__note .ng-ico { width: 18px; height: 18px; margin-top: 1px; color: var(--ng-brand); }
.ng-ustate__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-top: 24px; }
/* (.ng-ustate__acts--stack, a stacked variant no template or script uses, was removed 2026-10-18) */
.ng-ustate__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (max-width: 479.98px) {
  .ng-ustate__acts > .ng-pbtn, .ng-ustate__more { width: 100%; }
  .ng-ustate__more .ng-pbtn { flex: 1 1 0; padding: 0 12px; }
}
/* the 404 search: a field with the icon inside and a button */
.ng-ustate__search { display: flex; gap: 8px; width: 100%; max-width: 430px; margin: 22px auto 0; }
.ng-ustate__field { position: relative; display: flex; flex: 1; min-width: 0; align-items: center; }
.ng-ustate__field .ng-ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ng-sub); pointer-events: none; }
.ng-ustate__field .form-control { width: 100%; padding-left: 42px; }
[dir="RTL"] .ng-ustate__field .ng-ico { left: auto; right: 14px; }
[dir="RTL"] .ng-ustate__field .form-control { padding-left: 12px; padding-right: 42px; }
.ng-ustate__search { align-items: center; }
.ng-ustate__search .ng-pbtn { flex: none; }

/* ------------------------------- */
/* Static pages: the article card and its typography */
/* ------------------------------- */

.ng-article { overflow: hidden; margin: 0; border: 0; border-radius: var(--ng-r); background: var(--ng-card); }
.ng-article__head { display: flex; align-items: center; gap: 14px; padding: 20px 20px 18px; border-bottom: 1px solid var(--ng-line); }
@media (min-width: 768px) { .ng-article__head { gap: 16px; padding: 28px 36px 22px; } }
.ng-article__head .ng-lrow__icon { flex: none; }
@media (min-width: 768px) { .ng-article__head .ng-lrow__icon { width: 52px; height: 52px; border-radius: 16px; } }
.ng-article__head h1 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--ng-ink-strong); }
@media (min-width: 768px) { .ng-article__head h1 { font-size: 30px; } }
.ng-article__head p { margin: 3px 0 0; font-size: 13.5px; color: var(--ng-sub); }

.ng-article__body { padding: 20px 20px 26px; font-size: 15.5px; line-height: 1.75; color: var(--ng-ink); overflow-wrap: break-word; }
@media (min-width: 768px) { .ng-article__body { padding: 28px 36px 40px; font-size: 16px; } }
.ng-article__body > :first-child { margin-top: 0 !important; }
.ng-article__body > :last-child { margin-bottom: 0 !important; }
.ng-article__body :is(h1, h2, h3, h4, h5, h6) { color: var(--ng-ink-strong); font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.ng-article__body h1 { margin: 1.6em 0 .6em; font-size: 24px; }
.ng-article__body h2 { margin: 1.7em 0 .55em; font-size: 21px; }
.ng-article__body h3 { margin: 1.5em 0 .5em; font-size: 18px; font-weight: 700; }
.ng-article__body :is(h4, h5, h6) { margin: 1.4em 0 .4em; font-size: 16px; font-weight: 700; }
@media (min-width: 768px) { .ng-article__body h1 { font-size: 26px; } .ng-article__body h2 { font-size: 22px; } }
.ng-article__body p { margin: 0 0 1em; }
.ng-article__body :is(strong, b) { font-weight: 700; color: var(--ng-ink-strong); }
.ng-article__body a { color: var(--ng-brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ng-article__body a:hover { text-decoration-thickness: 2px; }
.ng-article__body :is(ul, ol) { margin: 0 0 1em; padding-inline-start: 1.4em; }
.ng-article__body.text-with-list ul { list-style-type: disc; }
.ng-article__body li { margin: .35em 0; padding-inline-start: .2em; }
.ng-article__body li::marker { color: var(--ng-brand); }
.ng-article__body hr { height: 1px; margin: 2em 0; border: 0; background: var(--ng-line); opacity: 1; }
.ng-article__body blockquote { margin: 1.2em 0; padding: 12px 16px; border-inline-start: 3px solid var(--ng-brand); border-radius: 0 14px 14px 0; background: var(--ng-fill); color: var(--ng-ink); }
.ng-article__body :is(img, video, iframe) { max-width: 100%; height: auto; border-radius: 14px; }
.ng-article__body table { width: 100%; margin: 1.2em 0; border-collapse: collapse; font-size: 14.5px; }
.ng-article__body :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--ng-line); text-align: start; vertical-align: top; }
.ng-article__body th { font-weight: 700; color: var(--ng-ink-strong); }
.ng-article__body code { padding: 2px 6px; border-radius: 6px; background: var(--ng-fill); color: var(--ng-ink-strong); font-size: .9em; }
/* pasted text brings empty paragraphs/headings and its own text colours (unreadable at night): drop them */
.ng-article__body :is(p, h1, h2, h3, h4, h5, h6):empty,
.ng-article__body :is(h1, h2, h3, h4):has(> strong:only-child:empty) { display: none; }
.ng-article__body [style*="color"] { color: inherit !important; }

/* the other pages, beside the article */
.ng-ustatic .ng-snav a { min-height: 42px; }
.ng-ustatic .ng-snav a .svg-container { width: 20px; height: 20px; }

/* ------------------------------- */
/* Contact Us */
/* ------------------------------- */

.ng-utips { display: grid; gap: 12px; margin: 0; padding: 16px 18px 18px; list-style: none; }
.ng-utips li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ng-ink); }
.ng-utips .ng-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--ng-brand); }
.ng-ucontact .ng-hub__side .ng-lrow { padding: 12px 18px; }
.ng-ucontact .ng-hub__side .ng-lrow__icon { width: 40px; height: 40px; border-radius: 12px; }
.ng-ucontact .ng-hub__side .ng-lrow__icon .ng-ico { width: 20px; height: 20px; }
.ng-ucontact .ng-hub__side .ng-lrow__title { font-size: 14.5px; }
.ng-ucontact textarea.form-control { min-height: 150px; resize: vertical; }

/* ------------------------------- */
/* Support Center */
/* ------------------------------- */

/* status nav: counts on the right; under 1024px a sideways row of chips */
.ng-usupport__nav a > span { flex: 1; min-width: 0; }
.ng-usupport__nav a > em {
  min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ng-fill);
  font-size: 12px; font-style: normal; font-weight: 700; line-height: 22px; text-align: center; color: var(--ng-ink-strong);
}
.ng-usupport__nav a.active > em { background: var(--ng-brand); color: hsl(var(--primary-foreground)); }
.ng-usupport__sep { display: block; height: 1px; margin: 6px 12px; background: var(--ng-line); }
@media (max-width: 1023.98px) {
  .ng-usupport__nav { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; border-radius: 0; background: transparent; }
  .ng-usupport__nav::-webkit-scrollbar { display: none; }
  .ng-usupport__nav a { flex: none; gap: 8px; min-height: 38px; padding: 0 10px 0 14px; border-radius: 999px; background: var(--ng-card); box-shadow: inset 0 0 0 1px var(--ng-line); font-size: 14px; }
  .ng-usupport__nav a .ng-ico { display: none; }
  .ng-usupport__nav a.active { background: var(--ng-brand); box-shadow: none; color: hsl(var(--primary-foreground)); }
  .ng-usupport__nav a.active > em { background: hsl(var(--primary-foreground) / .22); }
  .ng-usupport__sep { flex: none; width: 1px; height: auto; margin: 8px 2px; }
}

/* the tickets list: search, rows (the subject links the whole row), pager */
.ng-usearch { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--ng-line); }
.ng-usearch__field { position: relative; display: flex; flex: 1; min-width: 0; align-items: center; margin: 0; }
.ng-usearch__field .ng-ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ng-sub); pointer-events: none; }
.ng-usearch__field .form-control { width: 100%; padding-left: 42px; }
[dir="RTL"] .ng-usearch__field .ng-ico { left: auto; right: 14px; }
[dir="RTL"] .ng-usearch__field .form-control { padding-left: 12px; padding-right: 42px; }
.ng-usearch { align-items: center; }
.ng-usearch .ng-pbtn { flex: none; }
.ng-uticket { position: relative; grid-template-columns: auto minmax(0, 1fr) auto; }
.ng-uticket .ng-lrow__ava { width: 42px; height: 42px; }
.ng-uticket .ng-lrow__title { display: -webkit-box; overflow: hidden; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ng-uticket__link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.ng-uticket .ng-lrow__meta a { position: relative; z-index: 1; color: var(--ng-sub); text-decoration: none; }
.ng-uticket .ng-lrow__meta a:hover { color: var(--ng-ink-strong); text-decoration: underline; }
.ng-uticket .ng-lrow__meta > span:first-child { font-weight: 700; color: var(--ng-ink-strong); }
.ng-uticket__agent, .ng-uticket__time { display: inline-flex; align-items: center; gap: 4px; }
.ng-uticket__agent .ng-ico, .ng-uticket__time .ng-ico { width: 14px; height: 14px; }
.ng-upager { padding: 14px 18px; border-top: 1px solid var(--ng-line); }
.ng-upager .pagination { flex-wrap: wrap; gap: 4px; margin: 0; }
.ng-upager .page-link { border: 0; border-radius: 10px !important; background: var(--ng-fill); color: var(--ng-ink-strong); font-size: 13.5px; font-weight: 600; }
.ng-upager .page-item.active .page-link { background: var(--ng-brand); color: hsl(var(--primary-foreground)); }
.ng-upager .page-item.disabled .page-link { background: transparent; color: var(--ng-sub); font-weight: 500; }
.ng-usupport .ng-empty .ng-pbtn { margin-top: 6px; }

/* a ticket: the request and replies as a conversation (yours on the right, tinted) */
.ng-uthread .ng-lcard__head { align-items: flex-start; }
.ng-uthread .ng-lcard__title { align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; padding-top: 7px; font-size: 16px; line-height: 1.35; }
.ng-uthread__id { flex: none; color: var(--ng-sub); font-weight: 700; }
.ng-uthread__subject { min-width: 0; overflow-wrap: anywhere; }
.ng-uthread__body { display: flex; flex-direction: column; gap: 18px; padding: 18px; }
.ng-umsg { display: flex; align-items: flex-start; gap: 10px; max-width: 100%; }
.ng-umsg__ava { flex: none; display: block; }
.ng-umsg__ava img { display: block; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.ng-umsg__main { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; max-width: min(100%, 620px); }
.ng-umsg__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--ng-sub); }
.ng-umsg__meta b { font-size: 14px; color: var(--ng-ink-strong); }
.ng-umsg__meta a { text-decoration: none; }
.ng-umsg__meta .ng-tag { height: 22px; font-size: 11.5px; }
.ng-umsg__time { display: inline-flex; align-items: center; gap: 4px; }
.ng-umsg__time .ng-ico { width: 14px; height: 14px; }
.ng-umsg__bubble {
  max-width: 100%; padding: 12px 16px; border-radius: 6px 18px 18px 18px; background: var(--ng-fill);
  font-size: 15px; line-height: 1.6; color: var(--ng-ink); overflow-wrap: anywhere;
}
.ng-umsg__bubble > :first-child { margin-top: 0; }
.ng-umsg__bubble > :last-child { margin-bottom: 0; }
.ng-umsg__bubble p { margin: 0 0 .7em; }
.ng-umsg__bubble img { max-width: 100%; height: auto; border-radius: 12px; }
.ng-umsg__bubble a { text-decoration: underline; text-underline-offset: 2px; }
.ng-umsg.is-mine { flex-direction: row-reverse; }
.ng-umsg.is-mine .ng-umsg__main { align-items: flex-end; }
.ng-umsg.is-mine .ng-umsg__meta { flex-direction: row-reverse; }
.ng-umsg.is-mine .ng-umsg__bubble { border-radius: 18px 6px 18px 18px; background: hsl(var(--primary) / .12); }
body.night-mode .ng-umsg.is-mine .ng-umsg__bubble { background: hsl(var(--primary) / .18); }
@media (max-width: 575.98px) {
  .ng-uthread__body { padding: 16px 14px; }
  .ng-umsg__ava img { width: 32px; height: 32px; }
  .ng-umsg__main { max-width: calc(100% - 42px); }
}

/* the ticket details (side) */
.ng-udetails > div { min-height: 48px; }
.ng-udetails__who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; color: var(--ng-ink-strong); text-decoration: none; }
.ng-udetails__who:hover { color: var(--ng-ink-strong); text-decoration: underline; }
.ng-udetails__who img { width: 26px; height: 26px; flex: none; border-radius: 50%; object-fit: cover; }
.ng-udetails b { text-align: end; }

/* the editor (TinyMCE) inside the form cards: rounded like the fields */
.ng-usupport .ng-fcard .tox-tinymce { border: 1.5px solid var(--ng-line); border-radius: var(--ng-r-sm); }
.ng-usupport .ng-fcard .tox-tinymce:focus-within { border-color: transparent; }

/* ------------------------------- */
/* Forgot password: a standalone page (like sign in) with one centred card */
/* ------------------------------- */

.ng-usolo-wrap { flex-direction: column; }
.ng-usolo { display: flex; flex-direction: column; align-items: center; width: min(100%, 440px); }
.ng-usolo .ng-auth__logo { margin-bottom: 20px; }
.ng-usolo__card { width: 100%; padding: 30px 22px 24px; border: 1px solid var(--ng-line); border-radius: var(--ng-r); background: var(--ng-card); /* [Card radius] */ }
@media (min-width: 768px) { .ng-usolo__card { padding: 36px 36px 28px; } }
.ng-usolo__head { display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; text-align: center; }
.ng-usolo__head .ng-lrow__icon { width: 56px; height: 56px; margin-bottom: 16px; border-radius: 18px; }
.ng-usolo__head h1 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--ng-ink); }
@media (min-width: 768px) { .ng-usolo__head h1 { font-size: 26px; } }
.ng-usolo__head p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--ng-sub); }
.ng-usolo__form { display: grid; gap: 18px; }
.ng-usolo__form .d-grid .btn { width: 100%; }
.ng-usolo__form .alert { margin: 0; }
.ng-usolo__back { display: inline-flex; align-items: center; gap: 6px; }
.ng-usolo__back .ng-ico { width: 16px; height: 16px; }
@media (max-width: 767.98px) {
  .ng-usolo-wrap { align-items: center; justify-content: flex-start; padding-top: 32px; }
}

/* the 404 as a page of its own (404.tpl sets $ng_standalone): the card's background fills the whole screen, edge to
   edge (no frame, corners or gutters), with its content kept centred at the same width (user, 2026-10-17) */
body.ng-standalone .ng-ustate-page { display: block; max-width: none; min-height: 100vh; min-height: 100dvh; margin: 0; padding: 0; }
body.ng-standalone .ng-ustate-page > .row { margin: 0; }
body.ng-standalone .ng-ustate-page > .row > .sg-offcanvas-mainbar { padding: 0; }
body.ng-standalone .ng-ustate-page .ng-hubwrap { max-width: none; min-height: 0; }
body.ng-standalone .ng-ustate-page .ng-ustate {
  justify-content: center; min-height: 100vh; min-height: 100dvh; border-radius: 0;
  padding: max(32px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
body.ng-standalone .ng-ustate-page .ng-ustate > :not(.ng-ustate__motif) { width: 100%; max-width: 520px; }
body.ng-standalone .ng-ustate-page .ng-ustate > .ng-ustate__mark { width: auto; }

/* ------------------------------- */
/* Maintenance (maintenance.tpl; includes/niguro/maintenance): the 404's full-screen card while the site is off — */
/* the brand tile, headline, a green progress bar, the estimated time and the admin's Shutdown Message.            */
/* The bar only animates transform (composited); with reduced motion it stands still.                             */
/* ------------------------------- */
.ng-maint-page { display: block; }
.ng-maint__lead { max-width: 400px; }
.ng-maint__status { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.ng-maint__bar {
  position: relative; overflow: hidden; width: 100%; max-width: 340px; height: 6px; border-radius: 999px;
  background: hsl(var(--primary) / .14); isolation: isolate;
}
body.night-mode .ng-maint__bar { background: hsl(var(--primary) / .2); }
.ng-maint__fill { position: absolute; inset: 0; border-radius: inherit; background: hsl(var(--primary)); will-change: transform; }
/* with an estimate: filled to the time gone, then fills to the end over the time left */
.ng-maint__bar.is-fill .ng-maint__fill {
  transform-origin: left center; transform: scaleX(var(--_p, 0));
  animation: ng-maint-fill var(--_left, 0s) linear forwards;
}
[dir="RTL"] .ng-maint__bar.is-fill .ng-maint__fill { transform-origin: right center; }
@keyframes ng-maint-fill { from { transform: scaleX(var(--_p, 0)); } to { transform: scaleX(1); } }
/* no estimate: a calm shimmer gliding across */
.ng-maint__bar.is-busy .ng-maint__fill {
  right: auto; width: 38%;
  background: linear-gradient(90deg, hsl(var(--primary) / 0), hsl(var(--primary)) 35%, hsl(var(--primary)) 65%, hsl(var(--primary) / 0));
  transform: translateX(-100%); animation: ng-maint-busy 2.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes ng-maint-busy { from { transform: translateX(-100%); } to { transform: translateX(265%); } }
[dir="RTL"] .ng-maint__bar.is-busy .ng-maint__fill { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .ng-maint__bar.is-fill .ng-maint__fill { animation: none; }
  .ng-maint__bar.is-busy .ng-maint__fill { width: 100%; background: hsl(var(--primary) / .45); transform: none; animation: none; }
}
.ng-maint__eta { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--ng-ink-strong); }
.ng-maint__eta .ng-ico { width: 16px; height: 16px; flex: none; color: var(--ng-brand); }
.ng-maint__note { max-width: 430px; margin-top: 24px; line-height: 1.5; }
body.ng-standalone .ng-ustate-page .ng-ustate > .ng-maint__note { width: auto; }
