/* ==========================================================================
   Sign-in family (layouts/authLayout.blade.php): the Open House design system, DESIGN.md, in one small file.
   Tokens below are the subset of tt-kit.css these pages use, under --ta-*; keep them in step with the kit.
   Mona Sans at its normal width only: the face is pinned to 100%, so no rule here can condense or widen it.
   Logical properties only: the same rules serve English and Arabic.
   At desktop widths the form sits beside a navy brand panel (.ta-brand); on a phone it is one column, the mark above the form.
   Motion: the brand fragment settles once on arrival. It follows html[data-tt-motion] only, never prefers-reduced-motion.
   ========================================================================== */

@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  font-stretch: 100%;
  src: url("../fonts/mona-sans/mona-sans-latin-wdth.woff2") format("woff2-variations"), url("../fonts/mona-sans/mona-sans-latin-wdth.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  font-stretch: 100%;
  src: url("../fonts/mona-sans/mona-sans-latin-ext-wdth.woff2") format("woff2-variations"), url("../fonts/mona-sans/mona-sans-latin-ext-wdth.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ta-navy-950: #0D1520;
  --ta-navy-900: #16212F;
  --ta-navy-800: #22324A;
  --ta-ink: #111C2B;
  --ta-ink-2: #3A4658;
  --ta-muted: #5F6B7A;
  --ta-faint: #98A1AE;
  --ta-paper: #FFFFFF;
  --ta-wall: #EFEDE8;
  --ta-wall-2: #E6E3DC;
  --ta-ground: #F5F4F1;
  --ta-rule: #E6E3DC;
  --ta-rule-2: #D6D2C9;
  --ta-control-line: #D6D2C9;
  --ta-hover: rgb(17 28 43 / .05);
  --ta-route-line: #0B6B82;
  --ta-route-ink: #0B6B82;
  --ta-route-tint: #E1F4F8;
  --ta-cyan: #8FDCEB;
  --ta-late: #E5372B;  --ta-late-ink: #B3241A;  --ta-late-tint: #FDE7E5;
  --ta-due: #D99A00;   --ta-due-ink: #8A5F00;   --ta-due-tint: #FBF0D2;
  --ta-done: #249B55;  --ta-done-ink: #17703C;  --ta-done-tint: #E0F3E7;
  --ta-info: #2F7FF0;  --ta-info-ink: #1C5CC0;  --ta-info-tint: #E4EEFE;
  --ta-btn-bg: var(--ta-navy-900);
  --ta-btn-bg-hover: var(--ta-navy-800);
  --ta-btn-ink: #FFFFFF;
  --ta-r-card: 20px;
  --ta-r-ctl: 12px;
  --ta-shadow-card: 0 1px 2px rgb(17 28 43 / .05), 0 8px 24px rgb(17 28 43 / .06);
  --ta-font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, Roboto, sans-serif;
  --ta-ease: cubic-bezier(.23, 1, .32, 1);
  color-scheme: light;
}
html.dark-style {
  --ta-ink: #EEF1F5;
  --ta-ink-2: #C6CED9;
  --ta-muted: #9BA6B5;
  --ta-faint: #6F7B8B;
  --ta-paper: #1A212B;
  --ta-wall: #222B37;
  --ta-wall-2: #2A3442;
  --ta-ground: #11161D;
  --ta-rule: rgb(255 255 255 / .08);
  --ta-rule-2: rgb(255 255 255 / .14);
  --ta-control-line: rgb(255 255 255 / .14);
  --ta-hover: rgb(255 255 255 / .055);
  --ta-route-line: #7FD3E4;
  --ta-route-ink: #7FD3E4;
  --ta-route-tint: rgb(143 220 235 / .14);
  --ta-late: #F0584D;  --ta-late-ink: #FF9F97;  --ta-late-tint: rgb(229 55 43 / .17);
  --ta-due: #E5AC1F;   --ta-due-ink: #F3C95C;   --ta-due-tint: rgb(217 154 0 / .16);
  --ta-done: #3DB872;  --ta-done-ink: #7FDBA6;  --ta-done-tint: rgb(36 155 85 / .18);
  --ta-info: #5C9DF5;  --ta-info-ink: #9CC3FF;  --ta-info-tint: rgb(47 127 240 / .18);
  --ta-btn-bg: #E7EDF3;
  --ta-btn-bg-hover: #FFFFFF;
  --ta-btn-ink: var(--ta-navy-950);
  --ta-shadow-card: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .22);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ta-ground);
  color: var(--ta-ink-2);
  font: 500 var(--ta-fs, .9375rem)/1.5 var(--ta-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------- skeleton -- */
.ta-skip {
  position: absolute; inset-inline-start: 12px; inset-block-start: -64px; z-index: 10;
  padding: 10px 14px; border-radius: var(--ta-r-ctl); background: var(--ta-btn-bg); color: var(--ta-btn-ink);
  font-weight: 620; text-decoration: none;
}
.ta-skip:focus { inset-block-start: 12px; outline: 2px solid var(--ta-route-line); outline-offset: 2px; }

.ta-page {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.ta-bar { width: 100%; max-width: 440px; display: flex; justify-content: flex-end; gap: 4px; padding-block: 2px 8px; }
.ta-main { width: 100%; max-width: 440px; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; outline: 0; }
@media (min-width: 600px) {
  .ta-page { padding-block-start: 16px; }
  .ta-main { justify-content: center; padding-block-end: 8vh; }
}

.ta-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding-inline: 12px;
  border: 0; border-radius: var(--ta-r-ctl); background: transparent; color: var(--ta-muted);
  font: 620 .8125rem/1 var(--ta-font); text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ta-ease), color 150ms var(--ta-ease);
}
@media (hover: hover) and (pointer: fine) { .ta-chip:hover { background: var(--ta-hover); color: var(--ta-ink); } }
.ta-chip:active { transform: scale(.97); }
.ta-chip--icon { padding-inline: 0; }
.ta-ico--sun { display: none; }
html.dark-style .ta-ico--sun { display: block; }
html.dark-style .ta-ico--moon { display: none; }

:where(a, button, input, summary):focus-visible { outline: 2px solid var(--ta-route-line); outline-offset: 2px; }

/* ----------------------------------------------------------------- sheet -- */
.ta-sheet {
  background: var(--ta-paper);
  border: 0;
  border-radius: var(--ta-r-card);
  box-shadow: var(--ta-shadow-card);
  padding: 22px 20px 26px;
}
@media (min-width: 480px) { .ta-sheet { padding: 32px 32px 36px; } }

/* The operator: their own mark and name, SwiftStay as the product beneath. */
.ta-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ta-id__plate, .ta-id__logo { flex: none; width: 44px; height: 44px; border-radius: var(--ta-r-ctl); display: grid; place-items: center; overflow: hidden; }
.ta-id__plate { background: var(--ta-navy-900); color: #fff; font-size: 1rem; font-weight: 680; letter-spacing: .02em; unicode-bidi: isolate; }
.ta-id__plate--mark { background: var(--ta-navy-900); }
/* The logo's limits are the plate's content box: the plate is 44px high (border-box) and at most 150px wide, so any
   padding comes off the image's own limits. Dark mode puts the logo on a white plate with 4px round it; with fixed
   44px / 150px limits the image overflowed that padded box and the plate's overflow cut its bottom and end edges. */
.ta-id__logo { --ta-logo-pad: 0px; width: auto; max-width: 150px; min-width: 44px; padding: var(--ta-logo-pad); background: transparent; }
.ta-id__logo img { max-height: calc(44px - 2 * var(--ta-logo-pad)); max-width: calc(150px - 2 * var(--ta-logo-pad)); width: auto; height: auto; object-fit: contain; }
html.dark-style .ta-id__logo { --ta-logo-pad: 4px; background: #fff; }
.ta-id__text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.ta-id__name {
  color: var(--ta-ink); font-size: 1rem; font-weight: 680; line-height: 1.2;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ta-id__sub { color: var(--ta-muted); font-size: .75rem; font-weight: 600; }

/* The old now rule is retired (Open House has none): the layout still prints it, so it is simply not shown. */
.ta-now { display: none; }
.ta-id { margin-block-end: 24px; }

.ta-title { margin: 0 0 6px; color: var(--ta-ink); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
@media (min-width: 480px) { .ta-title { font-size: 1.625rem; } }
.ta-lede { margin: 0; color: var(--ta-muted); font-size: .9375rem; line-height: 1.5; }
.ta-lede strong, .ta-lede .ta-fig { color: var(--ta-ink); font-weight: 620; }
.ta-fig { unicode-bidi: isolate; overflow-wrap: anywhere; }
.ta-who { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--ta-r-ctl); background: var(--ta-wall); color: var(--ta-ink-2); font-size: .875rem; overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- alerts -- */
.ta-alert {
  display: flex; gap: 10px; align-items: flex-start; margin-block-start: 16px; padding: 10px 12px;
  border: 0; border-radius: var(--ta-r-ctl); font-size: .875rem; line-height: 1.45;
  background: var(--ta-wall); color: var(--ta-ink-2);
}
.ta-alert::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; margin-block-start: .5em; border-radius: 50%; background: var(--ta-muted); }
.ta-alert > div { min-width: 0; overflow-wrap: anywhere; }
.ta-alert--late { background: var(--ta-late-tint); color: var(--ta-late-ink); }
.ta-alert--late::before { background: var(--ta-late); }
.ta-alert--due { background: var(--ta-due-tint); color: var(--ta-due-ink); }
.ta-alert--due::before { background: var(--ta-due); }
.ta-alert--done { background: var(--ta-done-tint); color: var(--ta-done-ink); }
.ta-alert--done::before { background: var(--ta-done); }
.ta-alert--info { background: var(--ta-info-tint); color: var(--ta-info-ink); }
.ta-alert--info::before { background: var(--ta-info); }

/* ------------------------------------------------------------------ form -- */
.ta-form { margin-block-start: 8px; }
.ta-field { margin-block-start: 16px; }
.ta-label { display: block; margin-block-end: 6px; color: var(--ta-ink); font-size: .8125rem; font-weight: 620; }
.ta-input {
  display: block; width: 100%; height: 48px; padding-inline: 14px;
  border: 1px solid var(--ta-control-line); border-radius: var(--ta-r-ctl); background: var(--ta-paper); color: var(--ta-ink);
  font: 500 1rem/1.2 var(--ta-font); text-align: start;
  transition: border-color 150ms var(--ta-ease), box-shadow 150ms var(--ta-ease);
}
.ta-input::placeholder { color: var(--ta-faint); }
.ta-input:focus { outline: 2px solid var(--ta-route-line); outline-offset: -1px; border-color: var(--ta-route-line); box-shadow: none; }
.ta-input[aria-invalid="true"] { border-color: var(--ta-late); }
.ta-input[aria-invalid="true"]:focus { outline-color: var(--ta-late); border-color: var(--ta-late); }
.ta-input[readonly] { background: var(--ta-wall); color: var(--ta-ink-2); }
.ta-input:-webkit-autofill { -webkit-text-fill-color: var(--ta-ink); box-shadow: 0 0 0 100px var(--ta-route-tint) inset; }
/* The field is left-to-right in both languages (passwords are typed in Latin), so its Show button stays at the right edge too. */
.ta-pw { position: relative; direction: ltr; }
.ta-pw__btn { direction: ltr; }
.ta-pw .ta-input { padding-inline-end: 76px; }
.ta-pw__btn {
  position: absolute; inset-block: 1px; inset-inline-end: 1px; min-width: 68px; padding-inline: 12px;
  border: 0; border-start-end-radius: 11px; border-end-end-radius: 11px; background: transparent; color: var(--ta-route-ink);
  font: 620 .8125rem/1 var(--ta-font); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .ta-pw__btn:hover { background: var(--ta-hover); } }
.ta-pw__btn:focus-visible { outline-offset: -2px; }
.ta-hint { margin: 6px 0 0; color: var(--ta-muted); font-size: .8125rem; line-height: 1.4; }
.ta-hint--warn { color: var(--ta-due-ink); font-weight: 620; }
.ta-err { margin: 6px 0 0; color: var(--ta-late-ink); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.ta-err::before { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; margin-inline-end: 6px; vertical-align: .08em; border-radius: 50%; background: var(--ta-late); }

.ta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-block-start: 8px; }
.ta-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ta-ink-2); font-size: .875rem; cursor: pointer; }
.ta-check input { inline-size: 20px; block-size: 20px; margin: 0; accent-color: var(--ta-navy-900); }
html.dark-style .ta-check input { accent-color: #8FDCEB; }
/* The User Agreement box on the setup page: a sentence that may wrap, the box beside its first line. */
.ta-check--agree { display: flex; align-items: flex-start; min-height: 0; line-height: 1.45; }
.ta-check--agree input { flex: none; margin-top: 1px; }
.ta-check--agree .ta-link { display: inline; min-height: 0; }
.ta-link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ta-route-ink);
  font-size: .875rem; font-weight: 620; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
@media (hover: hover) and (pointer: fine) { .ta-link:hover { text-decoration-thickness: 2px; } }

.ta-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-block-start: 16px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--ta-r-ctl); background: var(--ta-btn-bg); color: var(--ta-btn-ink);
  font: 650 .9375rem/1.2 var(--ta-font); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ta-ease), transform 120ms var(--ta-ease), opacity 150ms var(--ta-ease);
}
@media (hover: hover) and (pointer: fine) { .ta-btn:hover { background: var(--ta-btn-bg-hover); } }
.ta-btn:active { transform: scale(.97); }
.ta-btn:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--ta-paper), 0 0 0 4px var(--ta-route-line); }
.ta-btn--quiet { background: var(--ta-paper); border-color: var(--ta-rule-2); color: var(--ta-ink); }
@media (hover: hover) and (pointer: fine) { .ta-btn--quiet:hover { background: var(--ta-wall); } }
.ta-btn--danger { background: #C92D22; color: #fff; }
@media (hover: hover) and (pointer: fine) { .ta-btn--danger:hover { background: #B3241A; } }
.ta-btn:disabled, .ta-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.ta-btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.ta-btn[aria-busy="true"]::before { content: ""; flex: none; inline-size: 16px; block-size: 16px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; opacity: .9; }
html:not([data-tt-motion="reduced"]) .ta-btn[aria-busy="true"]::before { animation: ta-turn 700ms linear infinite; }
html[data-tt-motion="reduced"] .ta-btn[aria-busy="true"]::before { animation: none; }
@keyframes ta-turn { to { transform: rotate(360deg); } }
@keyframes ta-pulse { 50% { opacity: .3; } }
.ta-back { display: flex; justify-content: center; margin-block-start: 8px; }
.ta-meta { margin: 18px 0 0; color: var(--ta-muted); font-size: .8125rem; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.ta-meta a { color: var(--ta-route-ink); font-weight: 620; }

.ta-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; color: var(--ta-muted); font-size: .75rem; font-weight: 620; }
.ta-foot__mark { display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 6px; background: var(--ta-navy-900); }

/* Plain link-looking button (sign out, go back) and the error code line (errors/minimal.blade.php reuses the sheet). */
button.ta-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.ta-lede--gap { margin-block-start: 14px; }
.ta-code { margin: 16px 0 0; color: var(--ta-muted); font-size: .8125rem; font-weight: 650; unicode-bidi: isolate; }

/* ------------------------------------------------------------ small icons -- */
.ta-ic { inline-size: 18px; block-size: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ta-ic--dir { transform: scaleX(-1); }

/* ------------------------------------------------- error and notice pages -- */
/* errors/minimal.blade.php: a mark in the tone of what happened, the code as a quiet line, one sentence, the ways on. */
.ta-mark { display: grid; place-items: center; inline-size: 48px; block-size: 48px; margin-block-end: 16px; border-radius: 14px; background: var(--ta-wall); color: var(--ta-ink-2); }
.ta-mark .ta-ic { inline-size: 24px; block-size: 24px; }
.ta-mark--late { background: var(--ta-late-tint); color: var(--ta-late-ink); }
.ta-mark--due { background: var(--ta-due-tint); color: var(--ta-due-ink); }
.ta-mark--info { background: var(--ta-info-tint); color: var(--ta-info-ink); }
.ta-kicker { margin: 0 0 6px; color: var(--ta-muted); font-size: .8125rem; font-weight: 600; unicode-bidi: isolate; }
.ta-actions { display: grid; gap: 10px; margin-block-start: 24px; }
.ta-actions .ta-btn { margin-block-start: 0; }
.ta-actions + .ta-back { margin-block-start: 4px; }

/* ------------------------------------------------------------ brand panel -- */
/* Desktop only. The partial sits inside the sheet (the layout is shared), so the panel is fixed to the inline-start
   of the window and the page keeps that room free. Nothing above it may carry a transform. */
:root {
  --ta-brand-w: min(46vw, 720px);
  --ta-brand-bg: #16212F;
  --ta-brand-plate: #1D2A3C;
  --ta-brand-line: rgb(255 255 255 / .09);
  --ta-trip-bg: #FFFFFF;
  --ta-trip-ink: #3A4658;
  --ta-trip-rest: #E6E3DC;
}
html.dark-style {
  --ta-brand-bg: #0D1520;
  --ta-brand-plate: #16212F;
  --ta-brand-line: rgb(255 255 255 / .1);
  --ta-trip-bg: #222B37;
  --ta-trip-ink: #C6CED9;
  --ta-trip-rest: rgb(255 255 255 / .16);
}
.ta-brand { display: none; }
@media (min-width: 1024px) {
  .ta-page:has(.ta-brand) { padding-inline-start: calc(var(--ta-brand-w) + 16px + max(16px, env(safe-area-inset-left))); }
  .ta-page:has(.ta-brand) .ta-bar { max-width: none; padding-inline-end: 8px; }
  .ta-page:has(.ta-brand) .ta-main { max-width: 440px; padding-block-end: 6vh; }
  .ta-brand {
    position: fixed; inset-block: 16px; inset-inline-start: 16px; inline-size: var(--ta-brand-w);
    display: flex; flex-direction: column; gap: 28px; padding: 40px 44px 44px;
    border-radius: 28px; background: var(--ta-brand-bg); color: #fff; overflow: hidden;
  }
  html.dark-style .ta-brand { box-shadow: inset 0 0 0 1px var(--ta-brand-line); }
}
.ta-brand__logo { block-size: 30px; inline-size: auto; align-self: flex-start; }
.ta-brand__art { flex: 1; min-block-size: 0; display: flex; flex-direction: column; justify-content: center; inline-size: 100%; max-inline-size: 520px; margin-inline: auto; }
.ta-brand__text { display: grid; gap: 10px; }
.ta-brand__line { margin: 0; max-inline-size: 20ch; color: #fff; font-size: clamp(1.625rem, 2.3vw, 2.125rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
.ta-brand__sub { margin: 0; max-inline-size: 46ch; color: rgb(255 255 255 / .74); font-size: .9375rem; font-weight: 500; line-height: 1.5; }

/* The week: three homes, each with its own tint; the stays sit on their rows; the cyan line is today. */
.ta-home-1 { --ta-home: #DCD3F7; --ta-home-deep: #47318F; }
.ta-home-3 { --ta-home: #FFD9CC; --ta-home-deep: #99391B; }
.ta-home-5 { --ta-home: #D6EFCF; --ta-home-deep: #2B6221; }
.ta-week { position: relative; display: grid; gap: 12px; padding: 20px; border-radius: 22px; background: var(--ta-brand-plate); box-shadow: inset 0 0 0 1px var(--ta-brand-line); }
.ta-week__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.ta-week__home { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 12px; background: var(--ta-home); color: var(--ta-home-deep); }
.ta-week__home .ta-ic { inline-size: 20px; block-size: 20px; }
.ta-week__track { position: relative; block-size: 44px; border-radius: 12px; background: rgb(255 255 255 / .045); }
.ta-stay { position: absolute; inset-block: 7px; inset-inline-start: var(--s); inline-size: var(--w); display: flex; align-items: center; padding-inline: 5px; border-radius: 999px; background: var(--ta-home); }
.ta-stay b { inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--ta-home-deep); opacity: .9; }
.ta-week__now { position: absolute; inset-block: 12px; inset-inline-start: calc(20px + 44px + 14px + (100% - 98px) * .47); inline-size: 2px; border-radius: 1px; background: var(--ta-cyan); z-index: 1; }
.ta-week__now::before { content: ""; position: absolute; inset-block-start: -4px; inset-inline-start: -3px; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--ta-cyan); }

/* The journey of an arrival, as the app draws it: done steps in the arrival blue, the next one waiting. */
.ta-trip {
  position: relative; z-index: 2; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center;
  inline-size: min(100%, 372px); margin-block-start: -14px; margin-inline-start: auto; margin-inline-end: -12px; padding: 14px 16px;
  border-radius: 18px; background: var(--ta-trip-bg); color: var(--ta-trip-ink);
  box-shadow: 0 2px 6px rgb(0 0 0 / .16), 0 24px 56px rgb(0 0 0 / .28);
}
.ta-trip__mark { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 12px; background: #E2EDFF; color: #0F4AA8; }
html.dark-style .ta-trip__mark { background: rgb(47 127 240 / .2); color: #9CC3FF; }
.ta-trip__body { display: grid; gap: 8px; min-inline-size: 0; }
.ta-trip__bar { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 8px; }
.ta-trip__bar i { block-size: 6px; border-radius: 3px; background: var(--ta-trip-rest); }
.ta-trip__bar i.is-done { background: #2F7FF0; }
.ta-trip__steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 8px; font-size: .75rem; font-weight: 600; line-height: 1.2; }
.ta-trip__steps span { min-inline-size: 0; white-space: nowrap; }
.ta-trip__steps span:last-child { color: var(--ta-muted); }

/* The fragment settles once when the page arrives (never after a submit), and never moves under Reduce motion. */
html:not([data-tt-motion="reduced"]) .ta-now:not([data-still]) ~ .ta-brand .ta-week { animation: ta-settle 240ms var(--ta-ease) both; }
html:not([data-tt-motion="reduced"]) .ta-now:not([data-still]) ~ .ta-brand .ta-trip { animation: ta-settle 240ms var(--ta-ease) 80ms both; }
@keyframes ta-settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) and (max-height: 620px) { .ta-brand__art { display: none; } .ta-brand { justify-content: space-between; } }
@media (min-width: 1024px) and (max-width: 1199.98px) { .ta-brand { padding: 32px 32px 36px; } .ta-trip { margin-inline-end: 0; } }

/* The same short entrance as the staff app; sign-in never waits for it. */
.ta-sheet { --tt-ease-out: var(--ta-ease); --tt-d-enter: 180ms; --tt-stagger: 18ms; }
