/* Pricing > Groups and Min Stay redesign (10/05): the new Dashboard design on this Pricing section.
   Loaded after skin/money.css (whose root rules now include .yw-pricing-page),
   so a rule here at the same weight wins. Light rules first, their dark twins
   under [data-theme-root].dark.

   Owner, 10/05: "next we need to do pricing tab, everything we have done on
   the last tabs we need to do here ... the fonts, the colors the sizes ...
   use the new design style. remember no ai slop".

   Groups (groups/*): the hero (Picked up and its three rows), Decide this
   week and Released as Needs you rows, On the books as share rows, and the
   holds list: one row per group, each block's four figures, its nights as
   thin hatched columns (group-nights.tsx), the pricing line.
   Min Stay (minstay/*): the plan hero and the Rules card, the calendar as
   night tiles on a calm grid (the Rates map's language: date small top left,
   the minimum the PMS holds as the lead in ink, one word where the night
   needs reading, a hatched booked track at the foot, marks not borders), the
   night card as the menu surface, the night by night table, Leak fix, the
   rules screen, events and activity.
   Values are ink; only words, marks, pills and tracks take a tone. */

/* ===================================================== shared pieces == */
:is(.yw-groups-page, .yw-minstay-page) { --yw-stays-hatch: repeating-linear-gradient(125deg, #8a45f0 0 2px, #d4b6fb 2px 4px); --yw-stays-pink: repeating-linear-gradient(125deg, #d85e9e 0 2px, #f8dae9 2px 4px); }
:is(.yw-groups-page, .yw-minstay-page) > .yw-card,
.yw-groups > .yw-card,
.yw-stays-plan > .yw-card { margin-top: 16px; }
.yw-groups-page > .yw-card:first-child, .yw-minstay-page > .yw-card:first-child { margin-top: 18px; }

/* Quiet pills (secondary moves), the one violet button, the danger word. */
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px;
  border: 0; border-radius: 10px; background: #eeeded; color: #202024; font-size: 12px; font-weight: 500;
  letter-spacing: -.1px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s;
}
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill:hover { background: #e8e4ed; color: #202024; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill:disabled { cursor: not-allowed; opacity: .5; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--sm { height: 26px; padding: 0 10px; font-size: 11.5px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--quiet { background: transparent; color: #59535f; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--quiet:hover { background: #f1eef4; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--danger { background: transparent; color: #c85f84; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--danger:hover { background: #fbf0f4; color: #b9507a; }
:is(.yw-groups-page, .yw-minstay-page) :is(.yw-stays-pill--on, .yw-stays-pill[aria-pressed="true"]) { background: #fff; color: #7433d4; box-shadow: 0 0 0 1.5px #7c3aed; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--primary { background: #7c3aed; color: #fff; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--primary:hover { background: #7130df; color: #fff; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 15px;
  border: 0; border-radius: 10px; background: #7c3aed; color: #fff; font-size: 12.5px; font-weight: 500;
  letter-spacing: -.15px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s;
}
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-btn:hover { background: #7130df; color: #fff; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-btn:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-btn:disabled { cursor: not-allowed; opacity: .55; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-head-actions { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-head-meta { flex-shrink: 0; color: #929097; font-size: 12px; text-align: right; }

/* The money skin's tones, on these pages (money.css scopes a few to .yw-money-page). */
:is(.yw-groups-page, .yw-minstay-page) .yw-hero-pill[data-pace="behind"] { color: #a96883; }
:is(.yw-groups-page, .yw-minstay-page) .yw-hero-pill[data-pace="ahead"] { color: #2f8a6d; }
:is(.yw-groups-page, .yw-minstay-page) .yw-hero-pill[data-pace="watch"] { color: #9a805f; }
:is(.yw-groups-page, .yw-minstay-page) :is(.yw-hero-value, .yw-row-stat-value)[data-muted] { color: #a09aa4; }
:is(.yw-groups-page, .yw-minstay-page) .yw-row-stat-value[data-muted] { font-weight: 400; }
:is(.yw-groups-page, .yw-minstay-page) .yw-money-note[data-tone="watch"] { color: #9a805f; }
:is(.yw-groups-page, .yw-minstay-page) .yw-money-note[data-tone="good"] { color: #2f8a6d; }
:is(.yw-groups-page, .yw-minstay-page) .yw-money-flag[data-tone="watch"] { color: #9a805f; }
:is(.yw-groups-page, .yw-minstay-page) .yw-row-stat-label > .yw-money-flag { margin-left: 7px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-money-row-count { margin-left: 8px; }
/* A count beside a figure that reads as the unit, not a second figure. */
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-unit { margin-left: 10px; color: #929097; font-size: 14px; font-weight: 400; letter-spacing: -.2px; }

/* FilterSelect's trigger: the header control look (money.css scopes it to .yw-money-page). */
:is(.yw-groups-page, .yw-minstay-page) [data-ui="filter-select"] { height: 34px; border-color: #e8e6e9; border-radius: 10px; background: #fff; color: #202024; font-size: 12px; font-weight: 400; box-shadow: 0 2px 6px #00000009; }
:is(.yw-groups-page, .yw-minstay-page) [data-ui="filter-select"]:hover { background: #faf8fc; }

/* Fields and inputs inside a card. */
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-field { display: flex; flex-direction: column; gap: 4px; color: #87818c; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-field-suffix { color: #a59fab; font-size: 11.5px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-input { min-height: 34px; padding: 0 10px; border: 1px solid #e2e1e4; border-radius: 10px; background: #fff; color: #202024; font-size: 13px; outline: none; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-input:focus { border-color: #b993ff; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-subtitle { display: flex; align-items: baseline; gap: 4px; margin: 0 0 6px; color: #202024; font-size: 13.5px; font-weight: 500; letter-spacing: -.2px; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-ink { color: #202024; font-weight: 500; }
:is(.yw-groups-page, .yw-minstay-page) .yw-stays-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* A page-level state the reader must see (kill switch, a failed read). */
.yw-stays-alert { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: #f6f5f7; color: #59535f; font-size: 13px; line-height: 1.5; }
.yw-stays-alert::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #a59fab; transform: translateY(-1px); }
.yw-stays-alert[data-tone="bad"] { background: #fbf0f4; color: #a96883; }
.yw-stays-alert[data-tone="bad"]::before { background: #d85e9e; }
.yw-stays-alert[data-tone="watch"] { background: #fbf6ee; color: #86704f; }
.yw-stays-alert[data-tone="watch"]::before { background: #c4a46f; }

/* The one compact key line. */
.yw-stays-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; color: #87818c; font-size: 11px; line-height: 1.4; }
.yw-stays-key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.yw-stays-key b { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border: 1px solid #eae8ec; border-radius: 6px; background: #fbfbfb; color: #202024; font-size: 10.5px; font-weight: 500; }
.yw-stays-key b[data-k="apply"] { border-color: #f0d2dd; background: #fbf0f4; color: #bd6a91; }
.yw-stays-key b[data-k="held"] { color: #87818c; }
.yw-stays-key b[data-k="yours"] { border-color: #e3d6f6; background: #f6f1fb; color: #7433d4; }
.yw-stays-key i { display: inline-block; width: 16px; height: 4px; border-radius: 2px; background: var(--yw-stays-hatch); }
.yw-stays-key i[data-k="confirmed"] { width: 12px; height: 10px; background: #a883ee; }
.yw-stays-key i[data-k="suggested"] { width: 12px; height: 10px; background: #a883ee; opacity: .45; }
.yw-stays-key i[data-k="stay"] { width: 12px; height: 10px; background: #4fa384; }

/* ============================================================ Groups == */
.yw-groups-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.yw-groups-filters + .yw-groups-top { margin-top: 14px; }
/* The top row: the hero, Decide when there is something to decide, On the
   books. Two cards share the row; one card takes half of it. */
.yw-groups-top:not(:has(> :nth-child(3))) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.yw-groups-top:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.yw-groups-top > .yw-card { display: flex; flex-direction: column; }
.yw-groups-hero .yw-groups-track { margin: 16px 0 0; }
.yw-groups-hero .yw-money-rows { padding-top: 22px; }
.yw-groups-hero .yw-row-stat-label { display: inline-flex; flex-wrap: wrap; align-items: baseline; }

/* Decide this week, Released: the Dashboard's Needs you rows. */
.yw-groups-needs { margin: 10px 0 0; padding: 0; list-style: none; }
.yw-groups-decide .yw-groups-needs { flex: 1 1 auto; max-height: 26rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-groups-scroll-short { max-height: 26rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-groups-need { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 0 13px; min-height: 70px; padding: 11px 3px; border-bottom: 1px solid #eae8ec; }
.yw-groups-need:last-child { border-bottom: 0; }
.yw-groups-need-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #f0eef2; color: #87818c; font-size: 14px; font-weight: 500; }
.yw-groups-need[data-tone="bad"] .yw-groups-need-mark { background: #f8e8ef; color: #bd6a91; }
.yw-groups-need[data-tone="watch"] .yw-groups-need-mark { background: #f6eddc; color: #9a805f; }
.yw-groups-need-copy { min-width: 0; }
.yw-groups-need-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; }
.yw-groups-need-title { color: #202024; font-size: 13.5px; font-weight: 500; letter-spacing: -.2px; text-decoration: none; }
a.yw-groups-need-title:hover { color: #7c3aed; }
.yw-groups-need-sub { color: #87818c; font-size: 12px; }
.yw-groups-need-detail { margin: 3px 0 0; color: #929097; font-size: 12px; line-height: 1.45; }
.yw-groups-need-flag { margin: 3px 0 0; color: #a96883; font-size: 12px; line-height: 1.45; }
.yw-groups-need[data-tone="watch"] .yw-groups-need-flag { color: #86704f; }
.yw-groups-need-amount { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.yw-groups-need-amount > strong { color: #202024; font-size: 16px; font-weight: 500; letter-spacing: -.4px; }
.yw-groups-need-amount > span { margin-top: 1px; color: #a59fab; font-size: 10.5px; white-space: nowrap; }

/* On the books: a row per arrival month, booked of held over its share. */
.yw-groups-months .yw-money-parts { margin-top: 10px; }
.yw-groups-month-rows > .yw-row-stat { padding: 13px 0 12px; }
.yw-groups-of { color: #a09aa4; font-size: 13px; font-weight: 400; letter-spacing: -.2px; }
.yw-groups-month-sub { display: flex; grid-column: 1 / -1; justify-content: space-between; gap: 10px; margin-top: -2px; color: #929097; font-size: 11.5px; }
.yw-groups-month-sub > [data-muted] { color: #a09aa4; }

/* The holds: one row per group, its blocks under it. */
.yw-groups-scroll { margin-top: 12px; max-height: 60rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-groups-list { margin: 0; padding: 0; list-style: none; }
.yw-groups-group { padding: 16px 3px 18px; border-top: 1px solid #eae8ec; scroll-margin-top: 110px; }
.yw-groups-list:first-child > .yw-groups-group:first-child { border-top: 0; padding-top: 6px; }
.yw-groups-group-head { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 0 14px; }
.yw-groups-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #f0eef2; color: #87818c; font-size: 14px; font-weight: 500; }
.yw-groups-mark[data-health="green"] { background: #e7f3ee; color: #2f8a6d; }
.yw-groups-mark[data-health="yellow"] { background: #f6eddc; color: #9a805f; }
.yw-groups-mark[data-health="red"] { background: #f8e8ef; color: #bd6a91; }
.yw-groups-mark[data-health="event"] { background: #efe8fb; color: #7c3aed; font-size: 13px; }
.yw-groups-group-copy { min-width: 0; }
.yw-groups-group-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.yw-groups-group-title > h3 { margin: 0; color: #202024; font-size: 15px; font-weight: 500; letter-spacing: -.3px; }
.yw-groups-group-sub { margin: 3px 0 0; color: #929097; font-size: 12px; line-height: 1.45; }
.yw-groups-block { margin: 12px 0 0 50px; scroll-margin-top: 110px; }
.yw-groups-block + .yw-groups-block { padding-top: 14px; border-top: 1px dashed #e6e2ea; }
.yw-groups-block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-bottom: 4px; }
.yw-groups-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #c3bdc8; }
.yw-groups-dot[data-health="green"] { background: #4fa384; }
.yw-groups-dot[data-health="yellow"] { background: #c4a46f; }
.yw-groups-dot[data-health="red"] { background: #d85e9e; }
.yw-groups-block-name { color: #343039; font-size: 13px; font-weight: 500; }
.yw-groups-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; margin: 0; color: #87818c; font-size: 12px; line-height: 1.5; }
.yw-groups-line > span + span::before { content: "·"; margin: 0 7px; color: #c3bdc8; }
.yw-groups-status { color: #59535f; font-weight: 500; }
/* The four figures the columns used to carry: label, value at row size, the
   lines under it quiet (the Dashboard's floor stats). */
.yw-groups-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 18px; margin-top: 12px; padding: 13px 0 0; border-top: 1px solid #f0eef2; }
.yw-groups-stat { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.yw-groups-stat--wide { grid-column: span 2; }
.yw-groups-stat-label { color: #929097; font-size: 11px; }
.yw-groups-stat-value { color: #202024; font-size: 16px; font-weight: 500; letter-spacing: -.4px; white-space: nowrap; }
.yw-groups-stat-sub { color: #87818c; font-size: 11.5px; line-height: 1.45; }
.yw-groups-stat-sub[data-release="rescue"] { color: #a96883; }
.yw-groups-stat-sub[data-release="gold"] { color: #86704f; }
/* Pickup: booked room-nights against held, hatched in the hold's colour. */
.yw-groups-pickup { display: block; height: 6px; margin: 3px 0 2px; overflow: hidden; border-radius: 3px; background: #eeedf1; }
.yw-groups-pickup > i { display: block; height: 100%; border-radius: inherit; background: var(--yw-stays-hatch); transform-origin: left; animation: yw-scale-in 1s cubic-bezier(.2, .8, .2, 1) both; }
.yw-groups-pickup[data-pickup-bar="green"] > i { background: repeating-linear-gradient(125deg, #4fa384 0 2px, #cfe7dd 2px 4px); }
.yw-groups-pickup[data-pickup-bar="yellow"] > i { background: repeating-linear-gradient(125deg, #c4a46f 0 2px, #f1e6d2 2px 4px); }
.yw-groups-pickup[data-pickup-bar="red"] > i { background: var(--yw-stays-pink); }
.yw-groups-pickup[data-pickup-bar="grey"] > i { background: repeating-linear-gradient(125deg, #a6a0ac 0 2px, #d8d3dc 2px 4px); }
.yw-groups-block-foot { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: end; gap: 10px 26px; margin-top: 14px; }
.yw-groups-pricing { margin: 0; color: #59535f; font-size: 12px; line-height: 1.5; }
.yw-groups-pricing .yw-text-link { font-size: 12px; }
.yw-groups-events-head { margin-top: 10px; padding-top: 16px; border-top: 1px solid #eae8ec; }
.yw-groups-events-head .hw-info-label { color: #59535f; font-size: 12px; font-weight: 500; }
.yw-groups-events-head + .yw-groups-list > .yw-groups-group:first-child { border-top: 0; padding-top: 6px; }

/* A block's nights: thin hatched columns, the rest of the held rooms pink. */
.yw-groups-nights { min-width: 0; }
.yw-groups-night-cols { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px; }
.yw-groups-night { display: flex; width: 44px; flex-direction: column; align-items: center; padding: 3px 2px 2px; border: 0; border-radius: 8px; background: transparent; color: #202024; cursor: default; transition: background-color .15s; }
.yw-groups-night:hover, .yw-groups-night[data-active="true"] { background: #f4eefb; }
.yw-groups-night:focus-visible { outline: 2px solid #7836e9; outline-offset: -2px; }
.yw-groups-night-value { height: 16px; color: #59535f; font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.yw-groups-night[data-active="true"] .yw-groups-night-value { color: #202024; }
.yw-groups-night-rail { position: relative; display: block; width: 100%; height: 46px; border-bottom: 1px solid #cfc8d5; }
.yw-groups-night-bar { position: absolute; bottom: 0; left: 50%; display: flex; width: 22px; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 3px 3px 0 0; background: var(--yw-stays-pink); transform: translateX(-50%); }
.yw-groups-night:not([data-unsold]) .yw-groups-night-bar { background: transparent; }
.yw-groups-night-bar > i { display: block; width: 100%; background: var(--yw-stays-hatch); transform-origin: bottom; animation: yw-bar-in .65s cubic-bezier(.2, .7, .2, 1) both; }
.yw-groups-night-label { display: flex; align-items: baseline; gap: 2px; margin-top: 4px; color: #8b8290; font-size: 10px; white-space: nowrap; }
.yw-groups-night-label b { color: #59535f; font-weight: 500; }
.yw-groups-night-detail { min-height: 18px; margin: 6px 0 0; color: #87818c; font-size: 11.5px; line-height: 1.45; }
.yw-groups-empty .yw-money-empty { margin: 8px 0 0; padding: 0; }

@media (max-width: 1100px) {
  .yw-groups-top:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yw-groups-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yw-groups-block-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .yw-groups-top:not(:has(> :nth-child(3))), .yw-groups-top:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
  .yw-groups-block { margin-left: 0; }
  .yw-groups-need { grid-template-columns: 34px minmax(0, 1fr); }
  .yw-groups-need-amount { grid-column: 2; align-items: flex-start; margin-top: 6px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .yw-groups-pickup > i, .yw-groups-night-bar > i { animation: none; }
}

/* ---------------------------------------------- Groups, 10/09 rework --
   Owner, 10/09: "we need to re design this whole tab its not intuitive, and a
   bit confusing also has a lot of ai slop text and small fonts and text. lets
   fix it with our new ui theme design". The holds list (group-card.tsx) is
   one row per hold under six column heads said once; each cell is a figure
   at 15px and one line at 13px; the round mark is the rooms held in the
   hold's health colour, the only colour a row carries; a night's numbers are
   its frosted hover. Every caption on the page is 13px or more. */
.yw-groups-page [data-ui="filter-select"] { font-size: 13px; }
.yw-groups-count { margin-left: 4px; color: #a59fab; font-size: 15px; font-weight: 400; letter-spacing: -.3px; }
.yw-groups-page .yw-money-row-count { font-size: 13px; }
.yw-groups-hero .yw-hero-muted { font-size: 14px; }
.yw-groups-hero .yw-hero-pill { font-size: 13px; }
.yw-groups-page .yw-row-stat-label, .yw-groups-page .yw-row-stat-label .hw-info-label { font-size: 14px; }
.yw-groups-of { font-size: 14px; }
.yw-groups-month-sub { margin-top: 0; font-size: 13px; }
.yw-groups-month-rows > .yw-row-stat[data-empty] .yw-row-stat-value { font-size: 15px; }
.yw-groups-need { min-height: 76px; }
.yw-groups-need-mark { width: 38px; height: 38px; font-size: 15px; }
.yw-groups-need-title { font-size: 15px; }
.yw-groups-need-sub, .yw-groups-need-detail, .yw-groups-need-flag { font-size: 13px; }
.yw-groups-need-amount > strong { font-size: 17px; }
.yw-groups-need-amount > span { font-size: 13px; }

/* One line per hold (second pass, owner: "do you see that ai lsop text
   everywhere over explaining everything ... also what is this"): six heads,
   then per row the name and its status in grey, the dates, the rooms, a
   pickup bar in the health colour with booked of held, the unsold dollars,
   the cut-off. Every other fact is a hover. No night columns. */
.yw-gl-scroll { margin-top: 8px; max-height: 64rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-gl { min-width: 900px; }
.yw-gl-head, .yw-gl-row {
  display: grid; align-items: center; gap: 0 22px;
  grid-template-columns: minmax(240px, 2.4fr) minmax(170px, 1.3fr) minmax(80px, .7fr) minmax(190px, 1.5fr) minmax(100px, .9fr) minmax(120px, 1fr);
}
.yw-gl-head { position: sticky; top: 0; z-index: 2; padding: 6px 8px 12px; border-bottom: 1px solid #eae8ec; background: #fbfbfb; color: #87818c; font-size: 13px; }
.yw-gl-head .hw-info-label { color: inherit; font-size: 13px; font-weight: 400; }
.yw-gl-list { margin: 0; padding: 0; list-style: none; }
.yw-gl-row { min-height: 60px; padding: 10px 8px; border-bottom: 1px solid #eae8ec; color: #202024; font-size: 15px; scroll-margin-top: 110px; transition: background-color .16s; }
.yw-gl-row:last-child { border-bottom: 0; }
.yw-gl-row:hover { background: #f8f6fa; }
.yw-gl-name-cell { display: flex; min-width: 0; align-items: baseline; gap: 10px; }
.yw-gl-name-cell[data-nested] { padding-left: 22px; }
.yw-gl-name, .yw-gl-name .hw-info-label { min-width: 0; color: #202024; font-size: 15px; font-weight: 500; letter-spacing: -.3px; line-height: 1.35; text-align: left; }
.yw-gl-status { flex-shrink: 0; color: #929097; font-size: 13px; white-space: nowrap; }
.yw-gl-cell { min-width: 0; color: #202024; font-size: 15px; white-space: nowrap; }
.yw-gl-cell .hw-info-label { color: inherit; font-size: inherit; font-weight: 500; letter-spacing: -.3px; text-align: left; }
.yw-gl-cell[data-muted], .yw-gl-cell[data-muted] .hw-info-label { color: #a09aa4; font-weight: 400; }
.yw-gl-cell[data-tone="bad"] .hw-info-label { color: #b4547d; }
.yw-gl-cell[data-tone="watch"] .hw-info-label { color: #9a805f; }
.yw-gl-cell[data-tone="past"] .hw-info-label { color: #87818c; font-weight: 400; }
.yw-gl-of { color: #a09aa4; font-size: 13px; }
.yw-gl-pickup-cell { display: flex; align-items: center; gap: 12px; }
.yw-gl-pickup-cell .yw-groups-pickup { width: 84px; flex-shrink: 0; margin: 0; }
.yw-gl-grouphead { min-height: 52px; }
.yw-gl-divider { display: flex; align-items: baseline; gap: 8px; padding: 22px 8px 10px; border-bottom: 1px solid #eae8ec; color: #a09aa4; font-size: 13px; }
.yw-gl-divider .hw-info-label { color: #343039; font-size: 14px; font-weight: 500; }
.yw-gl-scroll--short { max-height: 26rem; }
.yw-gl[data-cols="5"] { min-width: 760px; }
.yw-gl[data-cols="5"] :is(.yw-gl-head, .yw-gl-row) { grid-template-columns: minmax(240px, 2.4fr) minmax(170px, 1.3fr) minmax(80px, .7fr) minmax(130px, 1fr) minmax(130px, 1fr); }
.yw-gl-name-cell .yw-money-flag { flex-shrink: 0; font-size: 13px; }
.hw-info-body .yw-gl-hover-pricing { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(124, 58, 237, .14); }

/* ========================================================== Min Stay == */
/* The plan's top row: the hero and the Rules card. */
.yw-stays-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.yw-stays-top:not([data-aside]) { grid-template-columns: minmax(0, 1fr); }
.yw-stays-top > .yw-card { display: flex; flex-direction: column; }
.yw-stays-hero .yw-hero-value { white-space: nowrap; }
.yw-stays-hero .yw-money-note { margin-top: 12px; }
.yw-stays-scope { color: #7433d4; }
.yw-stays-act { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 20px; }
.yw-stays-act:empty { display: none; }
.yw-stays-act > * { margin: 0; }
.yw-stays-act > :first-child { padding-top: 16px; border-top: 1px solid #eae8ec; }
.yw-stays-act-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.yw-stays-act-row > .yw-money-note { margin: 0; flex: 1 1 14rem; }
.yw-stays-act-line { margin: 0; color: #59535f; font-size: 12.5px; line-height: 1.5; }
.yw-stays-auto { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.yw-stays-auto .yw-money-note { margin: 0; }
.yw-stays-auto-form { margin: 0; }

/* The Rules card: the summary's parts as quiet chips, the lead one violet. */
.yw-stays-rule-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.yw-stays-rule-chips > li { padding: 6px 10px; border-radius: 10px; background: #f4f3f6; color: #343039; font-size: 12px; line-height: 1.35; }
.yw-stays-rule-chips > li[data-lead] { background: #efe8fb; color: #7433d4; font-weight: 500; }
.yw-stays-rules > .yw-money-note { margin-top: 14px; }
.yw-stays-fit { margin-top: auto; padding-top: 16px; }
.yw-stays-rules .yw-stays-rule-chips + .yw-stays-fit, .yw-stays-rules .yw-money-note + .yw-stays-fit { margin-top: 18px; border-top: 1px solid #eae8ec; }
.yw-stays-fit-label { display: block; color: #8553c2; font-size: 11px; font-weight: 500; }
.yw-stays-fit > p { margin: 4px 0 0; color: #343039; font-size: 13px; line-height: 1.5; }
.yw-stays-fit > .yw-stays-fit-sub { color: #929097; font-size: 12px; }

/* The map card: range control in the head, the key line, two months. */
.yw-stays-map .yw-card-head { flex-wrap: wrap; align-items: center; }
.yw-stays-range { flex-shrink: 0; }
.yw-stays-range-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.yw-stays-range-row .yw-money-note { margin: 0; }
.yw-stays-range button { min-height: 34px; box-shadow: 0 2px 6px #00000009; font-weight: 500; }
.yw-stays-calendar { margin-top: 14px; }
.yw-stays-calendar-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.yw-stays-pager { display: inline-flex; align-items: center; gap: 4px; }
.yw-stays-arrow { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 1px solid #e8e6e9; border-radius: 10px; background: #fff; color: #59535f; font-size: 15px; line-height: 1; text-decoration: none; transition: background-color .15s; }
a.yw-stays-arrow:hover { background: #faf8fc; color: #202024; }
span.yw-stays-arrow { opacity: .4; }
.yw-stays-pager-label { min-width: 7.5rem; color: #343039; font-size: 12px; font-weight: 500; text-align: center; }
.yw-stays-behind { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.yw-stays-behind .yw-money-note { margin: 0; }
.yw-stays-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 16px; overflow: visible; }
.yw-stays-month { min-width: 0; overflow: visible; }
.yw-stays-month-label { margin-bottom: 9px; color: #202024; font-size: 13.5px; font-weight: 500; letter-spacing: -.2px; }
.yw-stays-dow, .yw-stays-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.yw-stays-dow { padding: 0 2px 6px; color: #a59fab; font-size: 10px; }
.yw-stays-dow > [data-weekend] { color: #87818c; }
.yw-stays-grid { overflow: visible; }

/* A night: the Dashboard's night tile. Hairline on the card, the date small
   at the top left, the minimum the PMS holds as the lead, one word only where
   the night needs reading, the booked share as a hatched track at the foot. */
.yw-minstay-page .yw-stays-night {
  position: relative; display: flex; min-width: 0; min-height: 68px; flex-direction: column; justify-content: space-between;
  padding: 6px 7px 7px; border: 1px solid #eae8ec; border-radius: 14px; background: #fbfbfb; color: #202024;
  font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.yw-minstay-page .yw-stays-night--pad { border: 0; background: transparent; cursor: default; }
.yw-minstay-page .yw-stays-night[data-weekend] { background: #f8f6fa; }
.yw-minstay-page .yw-stays-night:hover { border-color: #d9cfe6; box-shadow: 0 4px 12px rgba(48, 32, 64, .06); }
.yw-minstay-page .yw-stays-night:focus-visible { outline: 2px solid #b993ff; outline-offset: 1px; }
.yw-minstay-page .yw-stays-night.cursor-default { cursor: default; }
.yw-stays-night-top { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.yw-stays-night-day { color: #87818c; font-size: 10.5px; }
.yw-stays-night-occ { color: #a59fab; font-size: 9.5px; }
.yw-stays-night-lead { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; color: #202024; font-size: 17px; font-weight: 500; letter-spacing: -.4px; line-height: 1.15; white-space: nowrap; }
.yw-stays-night[data-tone="open"] .yw-stays-night-lead { color: #87818c; font-weight: 400; }
.yw-stays-night[data-tone="empty"] .yw-stays-night-lead { color: #c3bdc8; font-weight: 400; }
.yw-stays-night-lead--yours, .yw-stays-night[data-state="sending"] .yw-stays-night-lead { font-size: 12.5px; letter-spacing: -.2px; }
.yw-stays-night-lock { display: inline-flex; color: #7c3aed; }
.yw-stays-lock { width: 10px; height: 10px; }
.yw-stays-night-word { display: inline-flex; align-items: center; gap: 4px; color: #87818c; font-size: 10px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.yw-stays-night-track { display: block; height: 3px; margin-top: 5px; overflow: hidden; border-radius: 2px; background: #eeedf1; }
.yw-stays-night-track > i { display: block; height: 100%; border-radius: inherit; background: repeating-linear-gradient(125deg, #9161df 0 2px, #dcccfa 2px 4px); }
/* State: a quiet tint and its one word. Wants a move (Apply writes it) in
   the house pink; set by the owner or on its way in violet; held grey. */
.yw-minstay-page .yw-stays-night[data-state="apply"] { border-color: #f0d2dd; background: #fbf0f4; }
.yw-stays-night[data-state="apply"] .yw-stays-night-word { color: #bd6a91; }
.yw-minstay-page .yw-stays-night[data-state="yours"], .yw-minstay-page .yw-stays-night[data-state="sending"] { border-color: #e3d6f6; background: #f6f1fb; }
.yw-stays-night:is([data-state="yours"], [data-state="sending"]) :is(.yw-stays-night-lead--yours, .yw-stays-night-word) { color: #7433d4; }
.yw-stays-night[data-state="held"] .yw-stays-night-word { color: #a09aa4; }
.yw-stays-night-pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: yw-stays-pulse 1.2s ease-in-out infinite; }
@keyframes yw-stays-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
/* Marks, not borders: picked nights a 2px violet ring, the card's night a soft one. */
.yw-minstay-page .yw-stays-night[data-open] { border-color: transparent; box-shadow: 0 0 0 2px #cdb5ee; }
.yw-minstay-page .yw-stays-night[data-selected] { border-color: transparent; box-shadow: 0 0 0 2px #7c3aed; }

/* The multi-select bar: a frosted toolbar of quiet pills. */
.yw-minstay-page .yw-stays-bar { margin-top: 14px; padding: 8px 10px; border: 1px solid #e7e0ee; border-radius: 16px; background: rgba(253, 252, 254, .92); box-shadow: 0 10px 28px rgba(48, 32, 64, .1); backdrop-filter: saturate(140%) blur(16px); }
.yw-stays-bar-count { padding: 0 6px; color: #202024; font-size: 13px; font-weight: 500; }
.yw-stays-bar-note { max-width: 18rem; color: #87818c; font-size: 11.5px; line-height: 1.4; }
.yw-stays-bar-note[data-tone="good"] { color: #2f8a6d; }
.yw-stays-bar-note[data-tone="bad"] { color: #a96883; }

/* The night card: the Dashboard's menu surface. */
.yw-stays-card { padding: 14px 15px 13px; border: 1px solid #e5ddea; border-radius: 17px; background: rgba(253, 252, 254, .97); box-shadow: 0 15px 45px #3a214421, 0 3px 9px #3a214409; color: #202024; backdrop-filter: saturate(140%) blur(18px); }
.yw-stays-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.yw-stays-card-title { color: #202024; font-size: 14px; font-weight: 500; letter-spacing: -.25px; }
.yw-stays-card-countdown { margin-left: 6px; color: #929097; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.yw-stays-card-live { flex-shrink: 0; color: #59535f; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.yw-stays-card-live[data-live="gate"] { color: #7433d4; }
.yw-stays-card-live[data-live="soft"] { color: #8553c2; }
.yw-stays-card-live[data-live="none"] { color: #a59fab; font-weight: 400; }
.yw-stays-card-pace { margin-top: 11px; }
.yw-stays-card-booked { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #202024; font-size: 12px; font-weight: 500; }
.yw-stays-card-booked > span + span { color: #929097; font-size: 11px; font-weight: 400; }
.yw-stays-card-verdict { margin-top: 2px; color: #87818c; font-size: 11px; }
.yw-stays-card-track { position: relative; height: 6px; margin-top: 7px; border-radius: 3px; background: #eeedf1; }
.yw-stays-card-track > i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--yw-stays-hatch); }
.yw-stays-card-track[data-behind] > i { background: var(--yw-stays-pink); }
.yw-stays-card-tick { position: absolute; top: -3px; width: 2px; height: 12px; border-radius: 1px; background: #343039; }
.yw-stays-card-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 10px; color: #59535f; font-size: 11.5px; }
.yw-stays-card-rule { margin: 5px 0 0; color: #343039; font-size: 11.5px; font-weight: 500; }
.yw-stays-card-why { margin: 4px 0 0; color: #87818c; font-size: 11.5px; line-height: 1.45; }
.yw-stays-card-picks { display: flex; align-items: center; gap: 5px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eae8ec; }
.yw-stays-card-modes { margin-top: 7px; }
.yw-stays-card-modes > span { display: flex; flex-wrap: wrap; gap: 5px; }
.yw-stays-pick { display: inline-flex; min-width: 30px; height: 28px; align-items: center; justify-content: center; padding: 0 9px; border: 0; border-radius: 9px; background: #eeeded; color: #202024; font-size: 12px; font-weight: 500; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s; }
.yw-stays-pick:hover { background: #e8e4ed; }
.yw-stays-pick:focus-visible { outline: 2px solid #b993ff; outline-offset: 1px; }
.yw-stays-pick[data-live] { background: #fff; color: #7433d4; box-shadow: 0 0 0 1.5px #7c3aed; }
.yw-stays-pick[data-clear] { margin-left: auto; background: transparent; color: #87818c; box-shadow: inset 0 0 0 1px #e2e1e4; }
.yw-stays-pick[data-clear]:hover { color: #202024; }
.yw-stays-pick--mode:first-child { background: #7c3aed; color: #fff; }
.yw-stays-pick--mode:first-child:hover { background: #7130df; }
.yw-stays-pick:disabled { cursor: not-allowed; opacity: .4; }
.yw-stays-card-note { margin: 9px 0 0; font-size: 11.5px; line-height: 1.45; }
.yw-stays-card-note[data-tone="good"] { color: #2f8a6d; }
.yw-stays-card-note[data-tone="bad"] { color: #a96883; }

/* Night by night: the shared table skin in a held-header scroller. */
.yw-stays-nights .yw-stays-setnight { margin-top: 10px; }
.yw-stays-nights > .yw-money-note { margin-top: 10px; }
.yw-stays-scroll { margin-top: 14px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-stays-table { font-size: 13px; }
.yw-stays-table thead th { position: sticky; top: 0; z-index: 1; padding-top: 9px; padding-bottom: 9px; background: #fbfbfb; box-shadow: inset 0 -1px 0 #eae8ec; color: #929097; font-size: 11.5px; font-weight: 500; }
.yw-stays-table thead th .hw-info-label, .yw-stays-table thead th button { font-weight: 500; }
.yw-stays-table tbody td { padding-top: 11px; padding-bottom: 11px; vertical-align: middle; }
.yw-minstay-page .yw-stays-table tbody tr[data-weekend] > td { background-color: #fcfbfd; }
.yw-minstay-page .yw-stays-table tbody tr[data-differs] > td { background-color: #fdf5f8; }
.yw-stays-td-date { white-space: nowrap; }
.yw-stays-td-date > .yw-money-flag { margin-left: 8px; }
.yw-stays-date { color: #202024; font-weight: 500; white-space: nowrap; }
.yw-stays-td-sub { display: block; margin-top: 1px; color: #a09aa4; font-size: 11px; font-weight: 400; }
td[data-differs] { color: #bd6a91; font-weight: 500; }
.yw-stays-td-why { min-width: 14rem; color: #59535f; font-size: 12.5px; line-height: 1.45; }
.yw-stays-td-rule { margin-top: 2px; color: #87818c; font-size: 11px; font-weight: 500; }
.yw-stays-rec { display: inline-block; min-width: 64px; padding: 3px 9px; border-radius: 8px; background: #f4f3f6; color: #59535f; font-size: 12px; font-weight: 500; text-align: center; white-space: nowrap; }
.yw-stays-rec[data-level="gate"] { background: #efe8fb; color: #7433d4; }
.yw-stays-rec[data-level="soft"] { background: #f6f1fb; color: #8553c2; }
.yw-stays-rec[data-kind="yours"] { background: #7c3aed; color: #fff; }
.yw-stays-rec[data-kind="held"] { background: transparent; color: #87818c; box-shadow: inset 0 0 0 1px #e2e1e4; }
.yw-stays-setnight > summary, .yw-stays-setnight-summary { display: inline-flex; cursor: pointer; color: #8553c2; font-size: 12.5px; font-weight: 500; list-style: none; }
.yw-stays-setnight > summary::-webkit-details-marker { display: none; }
.yw-stays-setnight > summary:hover { color: #7c3aed; }
.yw-stays-setnight > summary:focus-visible { border-radius: 6px; outline: 2px solid #b993ff; outline-offset: 2px; }
.yw-stays-setnight > .yw-money-note { margin-top: 8px; }
.yw-stays-setnight-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 10px; }
.yw-stays-override-summary { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; color: #8553c2; font-size: 12px; font-weight: 500; list-style: none; }
.yw-stays-override-summary::-webkit-details-marker { display: none; }
.yw-stays-override-summary[data-yours] { color: #7433d4; }
.yw-minstay-page .yw-stays-override-menu { padding: 10px; border: 1px solid #e5ddea; border-radius: 14px; background: #fdfcfe; box-shadow: 0 15px 45px #3a214421, 0 3px 9px #3a214409; }
.yw-stays-status-cell { display: flex; flex-direction: column; gap: 2px; }
.yw-stays-status { color: #59535f; font-size: 12px; font-weight: 500; line-height: 1.4; }
.yw-stays-status:not([data-tone]) { color: #a09aa4; font-weight: 400; }
.yw-stays-status[data-tone="good"] { color: #2f8a6d; }
.yw-stays-status[data-tone="watch"] { color: #9a805f; }
.yw-stays-status[data-tone="bad"] { color: #a96883; }
.yw-stays-status-sub { color: #a59fab; font-size: 10.5px; line-height: 1.4; }
.yw-stays-scope-flag { margin-left: 7px; }

/* The Apply review: the menu surface. */
.yw-minstay-page .yw-stays-dialog { border: 1px solid #e5ddea; border-radius: 20px; background: #fdfcfe; box-shadow: 0 24px 60px rgba(48, 32, 64, .16); color: #202024; font-family: var(--font-geist-sans), Geist, system-ui, sans-serif; letter-spacing: -.25px; }
.yw-stays-dialog::backdrop { background: rgba(32, 32, 36, .32); }
.yw-stays-dialog-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 23px 14px; border-bottom: 1px solid #eae8ec; }
.yw-stays-dialog-title { margin: 0; color: #202024; font-size: 17px; font-weight: 500; letter-spacing: -.4px; }
.yw-stays-dialog-sub { margin: 4px 0 0; color: #929097; font-size: 12px; line-height: 1.5; }
.yw-stays-dialog-close { flex-shrink: 0; padding: 0 4px; border: 0; background: transparent; color: #a09aa4; font-size: 20px; line-height: 1; cursor: pointer; }
.yw-stays-dialog-close:hover { color: #202024; }
.yw-stays-dialog-list { padding: 4px 12px; }
.yw-stays-dialog-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 23px; border-top: 1px solid #eae8ec; }

/* Leak fix. */
.yw-stays-leak-line { margin: 14px 0 0; color: #202024; font-size: 14px; font-weight: 500; line-height: 1.45; letter-spacing: -.2px; }
.yw-stays-leak .yw-stays-act-row { margin-top: 14px; }
.yw-stays-leak-group { margin-top: 16px; }
.yw-stays-leak-head { margin: 0; font-size: 13px; font-weight: 500; }
.yw-stays-leak-names { max-width: 70%; color: #343039; font-size: 12.5px; text-align: right; white-space: normal; }
.yw-stays-leak-plan { color: #343039; font-size: 13px; font-weight: 500; }

/* The rules screen. */
.yw-stays-ruletable .yw-card-head { flex-wrap: wrap; }
.yw-stays-set { margin-top: 18px; }
.yw-stays-rules-table { margin-top: 4px; }
.yw-stays-rules-table td { padding-top: 11px; padding-bottom: 11px; vertical-align: top; }
.yw-stays-rule-label { color: #202024; font-weight: 500; }
.yw-stays-rule-value { color: #343039; }
.yw-stays-rule-value--off { color: #a59fab; }
.yw-stays-rule-note { margin-left: 6px; color: #929097; font-size: 11.5px; white-space: nowrap; }
.yw-stays-source { white-space: nowrap; }
.yw-stays-editcell { padding: 0 0 14px !important; border-top: 0 !important; }
.yw-stays-editform { padding: 14px 16px; border-radius: 14px; background: #f6f5f7; color: #343039; font-size: 13px; }
.yw-stays-strip { margin-top: 22px; padding-top: 18px; border-top: 1px solid #eae8ec; }
.yw-stays-strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.yw-stays-strip-head > .yw-stays-subtitle { margin: 0; }
.yw-stays-strip-summary { margin: 0; color: #929097; font-size: 12px; }
.yw-stays-strip-scroll { margin-top: 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-stays-strip-table { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12.5px; }
.yw-stays-strip-table thead th { min-width: 2.4rem; padding: 0 0 2px; color: #929097; font-size: 10px; font-weight: 400; text-align: center; }
.yw-stays-strip-dom { color: #59535f; font-size: 11px; font-weight: 500; }
.yw-stays-strip-table .yw-stays-strip-room { position: sticky; left: 0; z-index: 1; max-width: 9rem; overflow: hidden; padding-right: 8px; background: #fbfbfb; color: #343039; font-size: 12px; font-weight: 500; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.yw-stays-strip-cell { height: 36px; padding: 2px 4px; border: 1px solid #eae8ec; border-radius: 10px; background: #fbfbfb; color: #202024; font-weight: 500; text-align: center; }
.yw-stays-strip-cell[data-differs="1"] { border-color: #f0d2dd; background: #fbf0f4; color: #bd6a91; }
.yw-stays-strip-rule { display: block; font-size: 9.5px; font-weight: 400; }
.yw-stays-off { margin-top: 22px; padding-top: 18px; border-top: 1px solid #eae8ec; }
.yw-stays-off-list { margin: 0; padding: 0; list-style: none; }
.yw-stays-off-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 11px 0; border-top: 1px solid #eae8ec; }
.yw-stays-off-row:first-child { border-top: 0; }
.yw-stays-off-copy { min-width: 0; flex: 1 1 14rem; font-size: 13px; line-height: 1.45; }
.yw-stays-off-label { color: #202024; font-weight: 500; }
.yw-stays-off-line { color: #87818c; }
.yw-stays-rules-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.yw-stays-rules-stack > * { margin: 0; }
.yw-stays-rulecard-title { display: flex; align-items: center; gap: 4px; }
.yw-stays-rulecard-body { margin-top: 14px; color: #343039; font-size: 13px; line-height: 1.5; }
.yw-stays-rulecard-body .yw-money-note { margin: 0; }
/* Inside Advanced the cards sit flat under hairlines: one level of container. */
.yw-minstay-page section[data-panel] .yw-stays-rulecard { padding: 18px 0 0; border: 0; border-top: 1px solid #eae8ec; border-radius: 0; background: transparent; box-shadow: none; }
.yw-minstay-page section[data-panel] .yw-stays-rulecard .yw-card-title { font-size: 15px; letter-spacing: -.3px; }
.yw-minstay-page section[data-panel] form > .yw-stays-rulecard:first-child { border-top: 0; padding-top: 0; }
.yw-stays-set-list { margin: 0; padding: 0; list-style: none; }
.yw-stays-set-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 11px 0; border-top: 1px solid #eae8ec; }
.yw-stays-set-row:first-child { border-top: 0; padding-top: 2px; }
.yw-stays-set-copy { min-width: 0; flex: 1 1 16rem; color: #343039; }
.yw-stays-decide { margin: 0; padding-left: 20px; list-style: decimal; color: #59535f; }
.yw-stays-decide > li + li { margin-top: 5px; }
.yw-stays-decide-label { color: #202024; font-weight: 500; }
.yw-stays-legend { display: flex; align-items: center; gap: 4px; padding: 0 4px; color: #87818c; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.yw-stays-preview { padding: 10px 12px; }
.yw-stays-preview-title { color: #7433d4; font-size: 12px; font-weight: 500; }
.yw-stays-preview-list { margin: 6px 0 0; padding: 0; list-style: none; color: #59535f; font-size: 12px; }
.yw-stays-preview-list > li + li { margin-top: 3px; }
.yw-stays-preview-day { color: #202024; font-weight: 500; }
.yw-stays-style { padding: 12px 14px; border-radius: 14px; background: #f6f1fb; color: #343039; font-size: 13px; }
.yw-stays-style > p { margin: 4px 0 0; }
.yw-stays-style > p:first-child { margin: 0; }
.yw-stays-style-title { display: flex; align-items: center; color: #202024; font-weight: 500; }
.yw-stays-style-blurb { color: #8553c2; font-size: 12px; }
.yw-stays-lock-note { margin: 0 0 12px; }
.yw-stays-switch-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.yw-stays-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; padding: 0; border: 0; border-radius: 11px; background: #d6d2da; cursor: pointer; transition: background-color .2s; }
.yw-stays-switch > span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); transition: transform .2s; }
.yw-stays-switch[data-on] { background: #7c3aed; }
.yw-stays-switch[data-on] > span { transform: translateX(18px); }
.yw-stays-switch:disabled { opacity: .6; }
.yw-stays-switch:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; }
.yw-stays-switch-label { color: #202024; font-size: 13px; font-weight: 500; }
.yw-stays-setup-list { margin: 12px 0 0; padding-left: 18px; color: #a96883; font-size: 12px; line-height: 1.5; list-style: disc; }
.yw-stays-ota-form { display: grid; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #eae8ec; }
.yw-stays-ota-form > .yw-money-note { margin: 0; }
.yw-stays-ota-form > div:first-of-type, .yw-stays-ota-form > div:nth-of-type(2) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.yw-stays-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #59535f; font-size: 12.5px; }
.yw-stays-ota-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eae8ec; }
.yw-stays-ota-section > .yw-stays-subtitle { margin-top: 16px; }
.yw-stays-ota-section > .yw-stays-subtitle:first-child { margin-top: 0; }
.yw-stays-ota-section > .yw-money-note:first-of-type { margin-top: 6px; }
.yw-stays-ota-lead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.yw-stays-ota-section .yw-money-lines > li { justify-content: space-between; font-size: 12.5px; }
.yw-stays-ota-log > li { color: #59535f; }

/* Events. */
.yw-stays-moved { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 18px; padding: 13px 16px; border-radius: 16px; background: #f6f1fb; color: #343039; font-size: 13px; }
.yw-stays-moved > p { margin: 0; }
.yw-stays-moved--modal { flex-direction: column; align-items: flex-start; margin-top: 0; }
.yw-stays-moved + .yw-card { margin-top: 16px; }
.yw-stays-demand-lead { margin-bottom: 0; }
.yw-stays-rail { margin-top: 16px; }
.yw-stays-rail-rows { display: flex; flex-direction: column; gap: 6px; }
.yw-stays-rail-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; gap: 12px; }
.yw-stays-rail-month { color: #87818c; font-size: 11.5px; }
.yw-stays-rail-track { position: relative; height: 26px; overflow: hidden; border-radius: 8px; background: #f4f3f6; }
.yw-stays-rail-block { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; overflow: hidden; padding: 0 7px; border-radius: 6px; background: #a883ee; color: #fff; font-size: 10.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: filter .15s; }
.yw-stays-rail-block:hover { filter: brightness(1.06); }
.yw-stays-rail-block[data-tier="major"] { background: #7533df; }
.yw-stays-rail-block[data-tier="high"] { background: #b8955f; }
.yw-stays-rail-block[data-tier="stay"] { background: #4fa384; }
.yw-stays-rail-block[data-suggested] { opacity: .45; }
.yw-stays-rail-block[data-next] { box-shadow: inset 0 0 0 2px #fff; }
.yw-stays-rail-next { flex-shrink: 0; margin-left: 5px; font-size: 9.5px; opacity: .9; }
.yw-stays-rail > .yw-stays-key { margin-top: 10px; }
.yw-stays-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #eae8ec; }
.yw-stays-kpi { min-width: 0; }
.yw-stays-kpi-label { color: #87818c; font-size: 11px; }
.yw-stays-kpi-value { margin: 4px 0 2px; color: #202024; font-size: 19px; font-weight: 500; letter-spacing: -.5px; }
.yw-stays-kpi-sub { color: #a59fab; font-size: 11px; line-height: 1.4; }
.yw-stays-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eae8ec; }
.yw-stays-section > .yw-stays-subtitle .hw-info-label { font-weight: 500; }
.yw-stays-rows { margin: 0; padding: 0; list-style: none; }
.yw-stays-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 11px 2px; border-top: 1px solid #eae8ec; }
.yw-stays-row:first-child { border-top: 0; }
.yw-stays-row-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #efe8fb; color: #7c3aed; font-size: 13px; }
.yw-stays-row-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.yw-stays-row-title { color: #202024; font-size: 13px; font-weight: 500; }
.yw-stays-row-detail { color: #929097; font-size: 12px; line-height: 1.45; }
.yw-stays-tiles-scroll { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-stays-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.yw-stays-tile { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 9px; overflow: hidden; padding: 15px 14px 12px; border: 1px solid #eae8ec; border-radius: 16px; background: #fff; }
.yw-stays-tile::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--yw-stays-hatch); }
.yw-stays-tile[data-tier="major"]::before { background: repeating-linear-gradient(125deg, #6d28d9 0 2px, #b48cf5 2px 4px); }
.yw-stays-tile[data-tier="high"]::before { background: repeating-linear-gradient(125deg, #c4a46f 0 2px, #f1e6d2 2px 4px); }
.yw-stays-tile[data-tier="stay"]::before { background: repeating-linear-gradient(125deg, #4fa384 0 2px, #cfe7dd 2px 4px); }
.yw-stays-tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.yw-stays-tile-name { overflow: hidden; color: #202024; font-size: 13.5px; font-weight: 500; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
.yw-stays-tile-dates { margin-top: 2px; color: #929097; font-size: 11.5px; }
.yw-stays-tile-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.yw-stays-chip { padding: 3px 8px; border-radius: 8px; background: #f4f3f6; color: #343039; font-size: 11px; font-weight: 500; }
.yw-stays-chip[data-quiet] { color: #a09aa4; font-weight: 400; }
.yw-stays-tile-line { margin: 0; color: #59535f; font-size: 12px; line-height: 1.45; }
.yw-stays-tile-moves { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.yw-stays-tile-moves > form { margin: 0; }
.yw-stays-switchbox { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #f6f5f7; }
.yw-stays-switchbox-title { color: #202024; font-size: 13px; font-weight: 500; }
.yw-stays-switchbox .yw-money-note { margin-top: 4px; }
.yw-stays-switchbox-line { margin: 6px 0 0; color: #59535f; font-size: 12px; line-height: 1.5; }
.yw-stays-gating { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eae8ec; }
.yw-stays-gating > .yw-money-note { margin-top: 4px; }
.yw-stays-gating .yw-stays-table { margin-top: 8px; }
.yw-stays-gating .yw-stays-form-foot { margin-top: 10px; }
.yw-stays-gating .yw-stays-form-foot .yw-money-note { margin: 0; }
.yw-stays-modal-fact { margin: 8px 0 0; color: #202024; font-size: 14px; font-weight: 500; }
.yw-stays-sources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin-top: 14px; }
.yw-stays-sources-grid .yw-money-lines { margin-bottom: 4px; }
.yw-stays-sources-grid .yw-money-lines > li { justify-content: space-between; }
.yw-stays-url { min-width: 0; overflow: hidden; color: #343039; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.yw-stays-sources-link { margin: 10px 0 0; font-size: 12px; }

/* Activity. */
.yw-stays-activity { align-items: stretch; }
.yw-stays-activity > .yw-card { display: flex; flex-direction: column; }
.yw-stays-hero-empty { font-size: 26px; letter-spacing: -.6px; }
.yw-stays-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #c3bdc8; vertical-align: 1px; }
.yw-stays-dot[data-tone="good"] { background: #4fa384; }
.yw-stays-dot[data-tone="watch"] { background: #c4a46f; }
.yw-stays-dot[data-tone="bad"] { background: #d85e9e; }
.yw-stays-log .yw-stays-scroll { flex: 1 1 auto; }
.yw-stays-log .yw-money-empty { margin-top: 8px; }

@media (max-width: 1280px) {
  .yw-minstay-page .yw-stays-night { min-height: 62px; padding: 5px 6px 6px; border-radius: 12px; }
  .yw-stays-night-lead { font-size: 15px; }
  .yw-stays-night-lead--yours, .yw-stays-night[data-state="sending"] .yw-stays-night-lead { font-size: 11px; }
  .yw-stays-night-occ { display: none; }
}
@media (max-width: 1100px) {
  .yw-stays-top { grid-template-columns: minmax(0, 1fr); }
  .yw-stays-top > .yw-money-hero { grid-row: auto; }
  .yw-stays-months { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .yw-stays-night-occ { display: inline; }
  .yw-stays-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .yw-stays-sources-grid { grid-template-columns: minmax(0, 1fr); }
  .yw-stays-row { grid-template-columns: 34px minmax(0, 1fr); }
  .yw-stays-row > :last-child { grid-column: 2; justify-self: start; margin-top: 6px; }
}
@media (max-width: 520px) {
  .yw-stays-dow, .yw-stays-grid { gap: 3px; }
  .yw-minstay-page .yw-stays-night { min-height: 54px; padding: 4px 4px 5px; border-radius: 10px; }
  .yw-stays-night-lead { font-size: 13px; }
  .yw-stays-night-occ { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .yw-stays-night-pulse { animation: none; }
  .yw-minstay-page .yw-stays-night, .yw-stays-pick, :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill { transition: none; }
}

/* ------------------------------------------- Min Stay, 10/09 rework --
   Owner, 10/09: "this whole tab is still using the old design ... no ai slop
   text, explanations should be on the hover modals, lets fix fonts and fonts
   sizes, lets fix font colors and buttons, also filters". Later in the file
   than the 10/05 rules, so at the same weight these win.
   - Type: 13px floor for content, 12px for the micro labels on a tile.
   - Buttons: the house primary (violet, 10px corners) for the one action, the
     white bordered control for the rest, a text link for Change.
   - The calendar: the plain number leads; "→ n" is the plan; violet is yours
     or a change the next write makes; the key once at the foot.
   - Night by night: one line per cell, its detail a frosted hover.
   - Leak fix: the count, the one action, the plans as hairline rows. */
.yw-minstay-page .yw-stays-btn { min-height: 36px; padding: 0 16px; font-size: 14px; }
.yw-minstay-page .yw-stays-pill { height: 34px; padding: 0 14px; border: 1px solid #e2e1e4; background: #fff; color: #202024; font-size: 13px; box-shadow: 0 2px 6px #00000009; }
.yw-minstay-page .yw-stays-pill:hover { background: #faf8fc; }
.yw-minstay-page :is(.yw-stays-pill--quiet, .yw-stays-pill--danger) { border-color: transparent; background: transparent; box-shadow: none; }
.yw-minstay-page .yw-stays-pill--primary { border-color: transparent; background: #7c3aed; color: #fff; }
.yw-stays-title-meta { margin-left: 8px; color: #929097; font-size: 15px; font-weight: 400; letter-spacing: -.2px; }

/* The hero: the count, the pill (its hover says what the mode does), three
   rows, the action. */
.yw-stays-hero .yw-stays-unit { font-size: 15px; }
.yw-stays-hero .yw-hero-pill .hw-info-label { color: inherit; font: inherit; }
.yw-stays-hero-rows { padding-top: 18px; }
.yw-stays-hero .yw-stays-act { padding-top: 18px; }
.yw-stays-hero .yw-stays-act > :first-child { padding-top: 0; border-top: 0; }
.yw-stays-act-line { color: #59535f; font-size: 13px; }

/* Rules: label and value rows, Change as the card's text link. */
.yw-stays-rules .yw-card-head { align-items: center; }
.yw-stays-rule-rows { padding-top: 8px; }
.yw-stays-rule-rows .yw-row-stat-value[data-muted] { color: #87818c; font-weight: 400; }
.yw-stays-rule-rows .yw-row-stat-value[data-tone="accent"] { color: #7433d4; }
.yw-stays-rules .yw-stays-fit { margin-top: 0; padding-top: 0; border-top: 0; }

/* The calendar: every month of the window, two across. */
.yw-stays-months { gap: 34px; margin-top: 8px; }
/* The calendar scrolls inside its card (10/09, owner: "this calendar box
   should have integrated scroller"): two months tall at most, the page
   around it stays put. The night card is fixed to the screen and follows
   its night through this scroll (plan-calendar-grid.tsx). */
.yw-stays-map .yw-stays-month { content-visibility: auto; contain-intrinsic-size: auto 520px; }
.yw-stays-map .yw-stays-months { max-height: min(44rem, 70vh); padding: 3px 8px 6px 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-stays-month-label { margin-bottom: 10px; font-size: 16px; letter-spacing: -.3px; }
.yw-stays-dow { padding: 0 2px 7px; color: #929097; font-size: 12px; }
.yw-minstay-page .yw-stays-night { min-height: 74px; padding: 8px 9px 8px; border-radius: 12px; }
.yw-stays-night-day { color: #87818c; font-size: 12px; }
.yw-stays-night-occ { color: #a59fab; font-size: 12px; }
.yw-stays-night-lead { margin-top: 3px; font-size: 20px; }
.yw-stays-night-lead--yours, .yw-stays-night[data-state="sending"] .yw-stays-night-lead { font-size: 20px; letter-spacing: -.4px; }
.yw-stays-night-word { font-size: 12px; }
.yw-stays-night-track { height: 4px; margin-top: 6px; }
.yw-minstay-page .yw-stays-night[data-state="apply"] { border-color: #e3d6f6; background: #f6f1fb; }
.yw-stays-night[data-state="apply"] .yw-stays-night-word { color: #7433d4; }
.yw-minstay-page .yw-stays-night[data-state="yours"] { border-color: #c9b0f2; background: #fbf9fe; }
.yw-stays-night[data-state="yours"] .yw-stays-night-lead--yours { color: #7433d4; }
.yw-stays-night[data-state="yours"] .yw-stays-night-word { color: #87818c; }
.yw-stays-calendar-key { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eae8ec; }
.yw-stays-key { gap: 8px 20px; color: #87818c; font-size: 13px; }
.yw-stays-key b { height: 22px; padding: 0 7px; border-radius: 7px; font-size: 13px; }
.yw-stays-key b[data-k="apply"] { border-color: #e3d6f6; background: #f6f1fb; color: #7433d4; }
.yw-stays-key b[data-k="yours"] { border-color: #c9b0f2; background: #fbf9fe; color: #7433d4; }
.yw-stays-key i { width: 18px; height: 4px; }
.yw-stays-pager-label { font-size: 13px; }

/* Night by night: one line per cell. */
.yw-stays-nights .yw-card-head { align-items: center; }
.yw-stays-table { font-size: 14px; }
.yw-stays-table thead th { color: #87818c; font-size: 13px; font-weight: 400; }
.yw-stays-table tbody td { padding-top: 12px; padding-bottom: 12px; }
.yw-minstay-page .yw-stays-table tbody tr[data-differs] > td { background-color: #faf7fd; }
.yw-stays-date { font-size: 14px; }
.yw-stays-td-date > .yw-money-flag { font-size: 12px; }
.yw-stays-td-sub { font-size: 13px; }
.yw-stays-td-why { min-width: 12rem; color: #59535f; font-size: 14px; }
.yw-stays-why[data-tip] { border-bottom: 1px dashed #d8d1de; cursor: default; outline: none; }
.yw-stays-rec { min-width: 0; padding: 0; border-radius: 0; background: transparent; color: #202024; font-size: 14px; font-weight: 500; }
.yw-stays-rec[data-level="open"] { color: #87818c; font-weight: 400; }
.yw-stays-rec[data-level="gate"], .yw-stays-rec[data-level="soft"] { background: transparent; color: #202024; }
.yw-stays-rec[data-kind="yours"] { background: transparent; color: #7433d4; }
.yw-stays-rec[data-kind="held"] { padding: 0; box-shadow: none; color: #87818c; }
td[data-differs] { color: #7433d4; }
.yw-stays-override-summary { font-size: 13px; }
.yw-minstay-page .yw-stays-override-menu { border-color: rgba(229, 221, 234, .9); background: rgba(253, 252, 254, .86); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); animation: yw-stays-pop .18s cubic-bezier(.2, .8, .2, 1); }
/* A cell's detail: a frosted hover to its left, so the scroller never clips it. */
.yw-stays-table [data-tip] { position: relative; }
.yw-stays-table [data-tip]:is(:hover, :focus-visible) { z-index: 5; }
.yw-stays-table [data-tip]::after {
  position: absolute; top: 50%; right: calc(100% + 10px); z-index: 9; display: block;
  width: max-content; max-width: 300px; padding: 8px 12px;
  border: 1px solid rgba(229, 221, 234, .9); border-radius: 12px;
  background: rgba(253, 252, 254, .86); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 30px #3a214424, 0 2px 6px #3a21440d;
  color: #49434e; content: attr(data-tip); font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal;
  opacity: 0; pointer-events: none; transform: translate(6px, -50%);
  transition: opacity .18s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}
.yw-stays-table [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(0, -50%); transition-delay: .08s; }

/* Set a night: the head's one control, a frosted panel under it. */
.yw-stays-setnight { position: relative; flex-shrink: 0; }
.yw-stays-nights .yw-stays-setnight { margin-top: 0; }
.yw-stays-setnight > summary, .yw-stays-setnight-summary { height: 34px; align-items: center; padding: 0 14px; border: 1px solid #e2e1e4; border-radius: 10px; background: #fff; color: #202024; font-size: 13px; box-shadow: 0 2px 6px #00000009; }
.yw-stays-setnight > summary:hover { background: #faf8fc; color: #202024; }
.yw-stays-setnight-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 340px; padding: 14px 16px; border: 1px solid rgba(229, 221, 234, .9); border-radius: 16px; background: rgba(253, 252, 254, .86); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 15px 45px #3a214421, 0 3px 9px #3a214409; animation: yw-stays-pop .2s cubic-bezier(.2, .8, .2, 1); }
.yw-stays-setnight-line { margin: 0; color: #59535f; font-size: 13px; line-height: 1.45; }
.yw-stays-setnight-panel .yw-stays-field { font-size: 12px; }
@keyframes yw-stays-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* Leak fix: the count, the action, the plans as rows. */
.yw-stays-leak-line { font-size: 15px; }
.yw-stays-leak-head { margin: 20px 0 0; }
.yw-stays-leak-head .hw-info-label { color: #b4547d; font-size: 14px; font-weight: 500; }
.yw-stays-leak-list { max-height: 24rem; margin: 8px 0 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd2e7 transparent; }
.yw-stays-leak-list > li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 2px; border-top: 1px solid #eae8ec; }
.yw-stays-leak-list > li:first-child { border-top: 0; }
.yw-stays-leak-plan { color: #202024; font-size: 14px; font-weight: 400; }
.yw-stays-leak-state { flex-shrink: 0; color: #87818c; font-size: 13px; white-space: nowrap; }
.yw-stays-leak-state[data-tone="good"] { color: #2f8a6d; }
.yw-stays-leak-state[data-tone="bad"] { color: #b4547d; }
.yw-stays-leak-state[data-tone="watch"] { color: #9a805f; }

/* Events (10/09): the head link, the counts as rows, one line per event
   under heads, the rail's words readable, the switches as one line each. */
.yw-stays-moved-link { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; }
.yw-stays-moved-link .yw-text-link { font-size: 13px; }
.yw-stays-demand-lead { margin-top: 6px; color: #202024; font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
.yw-stays-rail-month { color: #87818c; font-size: 13px; }
.yw-stays-rail-row { grid-template-columns: 5.5rem minmax(0, 1fr); }
.yw-stays-rail-track { height: 28px; }
.yw-stays-rail-block { font-size: 12px; }
.yw-stays-rail-next { font-size: 12px; }
.yw-stays-kpi-rows { margin-top: 20px; padding-top: 6px; border-top: 1px solid #eae8ec; }
.yw-minstay-page .yw-stays-subtitle { margin-bottom: 8px; font-size: 16px; letter-spacing: -.3px; }
.yw-stays-section { margin-top: 24px; padding-top: 18px; }
.yw-stays-row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 2px; }
.yw-stays-row-title, .yw-stays-row-title .hw-info-label { color: #202024; font-size: 14px; font-weight: 500; text-align: left; }
.yw-stays-row-detail { color: #87818c; font-size: 13px; }
.yw-minstay-page .yw-stays-pill--sm { height: 30px; padding: 0 12px; font-size: 13px; }
.yw-ev-list { display: block; }
.yw-ev-row { display: grid; grid-template-columns: minmax(200px, 2.2fr) minmax(150px, 1.3fr) minmax(76px, .7fr) minmax(96px, .8fr) minmax(64px, .6fr) minmax(140px, 1fr); align-items: center; gap: 0 18px; min-height: 52px; padding: 8px 6px; border-bottom: 1px solid #eae8ec; color: #202024; font-size: 14px; scroll-margin-top: 110px; }
.yw-ev-list > .yw-ev-row:last-child { border-bottom: 0; }
.yw-ev-row:not(.yw-ev-head):hover { background: #f8f6fa; }
.yw-ev-head { position: sticky; top: 0; z-index: 2; min-height: 0; padding: 4px 6px 10px; background: #fbfbfb; color: #87818c; font-size: 13px; }
.yw-ev-name, .yw-ev-name .hw-info-label { min-width: 0; color: #202024; font-size: 14px; font-weight: 500; letter-spacing: -.2px; line-height: 1.35; text-align: left; }
.yw-ev-dates { color: #59535f; white-space: nowrap; }
.yw-ev-tier { color: #87818c; font-size: 13px; font-weight: 500; }
.yw-ev-tier[data-tier="major"] { color: #7433d4; }
.yw-ev-tier[data-tier="high"] { color: #9a805f; }
.yw-ev-tier[data-tier="stay"] { color: #2f8a6d; }
.yw-ev-fig { white-space: nowrap; }
.yw-ev-fig[data-muted] { color: #a09aa4; }
.yw-ev-moves { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.yw-ev-moves form { margin: 0; }
.yw-ev-moves .yw-text-link { font-size: 13px; white-space: nowrap; }
.yw-minstay-page .yw-stays-switchbox { display: block; margin-top: 18px; padding: 14px 0 0; border-top: 1px solid #eae8ec; border-radius: 0; background: transparent; }
.yw-stays-switchbox-title, .yw-stays-switchbox-title .hw-info-label { color: #202024; font-size: 14px; font-weight: 500; text-align: left; }

/* Activity (10/09): one status word per row, its sentence the hover. */
.yw-stays-status { font-size: 14px; }
.yw-stays-status[data-tip] { border-bottom: 1px dashed #d8d1de; cursor: default; outline: none; }
.yw-stays-status-sub { font-size: 12px; }
.yw-stays-change, .yw-stays-how { font-size: 14px; }
.yw-minstay-page .yw-stays-activity { grid-template-columns: minmax(0, 1fr); }
.yw-minstay-page .yw-stays-activity > .yw-money-span-2 { grid-column: auto; }
.yw-stays-scope-cell { max-width: 22rem; }
.yw-stays-scope { display: inline-block; max-width: 100%; overflow: hidden; color: #59535f; font-size: 13px; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; outline: none; }
.yw-stays-scope[data-muted] { color: #a09aa4; }
.yw-stays-how { color: #59535f; }
.yw-stays-activity-hero .yw-row-stat-value[data-tone="good"] { color: #2f8a6d; }
.yw-stays-activity-hero .yw-row-stat-value[data-tone="watch"] { color: #9a805f; }
.yw-stays-activity-hero .yw-row-stat-value[data-tone="bad"] { color: #b4547d; }

/* Coming up, 10/09 (owner: "a customer wont understand this type of chart.
   lets make it actually functional"): the next events as plain rows, a date
   block, the name and its nights, what it does to the stay, the impact, how
   far off. The next gate is marked. */
.yw-coming { margin: 16px 0 0; padding: 0; list-style: none; }
.yw-coming > li + li { border-top: 1px solid #eae8ec; }
.yw-coming-row { display: grid; grid-template-columns: 52px minmax(0, 2.2fr) minmax(0, 1.4fr) 80px 92px; align-items: center; gap: 0 18px; padding: 12px 6px; border-radius: 12px; color: #202024; text-decoration: none; transition: background-color .16s; }
.yw-coming-row:hover { background: #f8f6fa; }
.yw-coming-date { display: flex; width: 52px; height: 52px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #eae8ec; border-radius: 12px; background: #fff; line-height: 1; }
.yw-coming-row[data-next] .yw-coming-date { border-color: #c9b0f2; background: #f6f1fb; }
.yw-coming-mon { color: #87818c; font-size: 12px; }
.yw-coming-row[data-next] .yw-coming-mon { color: #7433d4; }
.yw-coming-day { margin-top: 3px; color: #202024; font-size: 20px; font-weight: 500; letter-spacing: -.5px; }
.yw-coming-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.yw-coming-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: #202024; font-size: 15px; font-weight: 500; letter-spacing: -.3px; }
.yw-coming-next { padding: 2px 8px; border-radius: 8px; background: #efe8fb; color: #7433d4; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.yw-coming-span { color: #87818c; font-size: 13px; }
.yw-coming-effect { color: #202024; font-size: 14px; font-weight: 500; }
.yw-coming-effect[data-plain] { color: #87818c; font-weight: 400; }
.yw-coming-tier { color: #87818c; font-size: 13px; font-weight: 500; }
.yw-coming-tier[data-tier="major"] { color: #7433d4; }
.yw-coming-tier[data-tier="high"] { color: #9a805f; }
.yw-coming-tier[data-tier="stay"] { color: #59535f; }
.yw-coming-away { color: #87818c; font-size: 13px; text-align: right; white-space: nowrap; }
/* The four counts as one row of figures, the explanation each label's hover. */
.yw-minstay-page .yw-stays-kpi-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin-top: 22px; padding-top: 18px; }
.yw-minstay-page .yw-stays-kpi-rows > .yw-row-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; border: 0; }
.yw-minstay-page .yw-stays-kpi-rows .yw-row-stat-label, .yw-minstay-page .yw-stays-kpi-rows .yw-row-stat-label .hw-info-label { color: #87818c; font-size: 13px; font-weight: 400; }
.yw-minstay-page .yw-stays-kpi-rows .yw-row-stat-value { color: #202024; font-size: 26px; font-weight: 500; letter-spacing: -.6px; }

/* One type scale for the Events tab (10/09, owner: "this container has one
   set of fonts in the top an another in the bottom, its very inconsistent the
   whole tab"). Every list on the tab says the same things the same way:
     card title 19px · section title 16px/500
     a row's name 15px/500 ink · its figures 14px/400 ink
     its secondary line, column heads, impact words 13px
     buttons and links 13px */
.yw-minstay-page .yw-stays-subtitle, .yw-minstay-page .yw-stays-subtitle .hw-info-label { color: #202024; font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
.yw-minstay-page :is(.yw-coming-name, .yw-ev-name, .yw-ev-name .hw-info-label, .yw-stays-row-title, .yw-stays-row-title .hw-info-label, .yw-stays-url) { color: #202024; font-size: 15px; font-weight: 500; letter-spacing: -.3px; }
.yw-minstay-page :is(.yw-coming-effect, .yw-ev-dates, .yw-ev-fig) { color: #202024; font-size: 14px; font-weight: 400; letter-spacing: -.2px; }
.yw-minstay-page :is(.yw-coming-effect[data-plain], .yw-ev-fig[data-muted]) { color: #a09aa4; }
.yw-minstay-page :is(.yw-coming-span, .yw-stays-row-detail, .yw-coming-away, .yw-ev-head, .yw-stays-field) { color: #87818c; font-size: 13px; font-weight: 400; }
.yw-minstay-page :is(.yw-coming-tier, .yw-ev-tier) { font-size: 13px; font-weight: 500; }
.yw-minstay-page .yw-ev-tier[data-tier="stay"], .yw-minstay-page .yw-coming-tier[data-tier="stay"] { color: #59535f; }
.yw-minstay-page :is(.yw-stays-pill, .yw-stays-pill--sm, .yw-text-link, .yw-ev-moves .yw-text-link, .yw-stays-sources-link a) { font-size: 13px; }
.yw-minstay-page .yw-stays-row { padding: 12px 6px; }
.yw-minstay-page .yw-ev-row { min-height: 56px; padding: 10px 6px; }
.yw-minstay-page .yw-stays-sources .yw-money-note { color: #59535f; font-size: 14px; }
.yw-minstay-page .yw-stays-input { font-size: 14px; }
/* Past events wears the same card head as every card on the tab. */
.yw-minstay-page section[data-panel] { padding: 23px; border: 1px solid #e2e1e4; border-radius: 24px; background: #fbfbfb; box-shadow: none; }
.yw-minstay-page section[data-panel] > div:first-child { padding: 0 0 6px; border: 0; background: transparent; }
.yw-minstay-page section[data-panel] > div:first-child h2 { color: #202024; font-size: 19px; font-weight: 500; letter-spacing: -.4px; }
.yw-pricing-page.yw-minstay-page section[data-panel][data-panel] > div:not(:first-child) { padding: 6px 0 0; border-top: 0; }
.yw-minstay-page :is(.yw-stays-switchbox-title, .yw-stays-switchbox-title .hw-info-label) { font-size: 15px; letter-spacing: -.3px; }
.yw-minstay-page section[data-panel] > div:first-child .num { padding: 0; background: transparent; color: #a59fab; font-size: 15px; font-weight: 400; }

/* Activity, 10/09 (owner: "in this tab we still have the old design"):
   the count, one bar of outcomes in the house tones, a figure per outcome,
   who sent them in the head; the log grouped by day. */
.yw-stays-activity-hero .yw-card-head { align-items: center; }
.yw-stays-activity-who { color: #87818c; font-size: 13px; white-space: nowrap; }
.yw-stays-outcome-bar { display: flex; height: 10px; gap: 3px; margin-top: 18px; overflow: hidden; border-radius: 5px; }
.yw-stays-outcome-bar > i { display: block; min-width: 4px; border-radius: 3px; background: repeating-linear-gradient(125deg, #b5aebc 0 2px, #e3e0e7 2px 4px); }
.yw-stays-outcome-bar > i[data-tone="good"] { background: repeating-linear-gradient(125deg, #3f9b7c 0 2px, #9fd3bf 2px 4px); }
.yw-stays-outcome-bar > i[data-tone="watch"] { background: repeating-linear-gradient(125deg, #c4a46f 0 2px, #ecdcc0 2px 4px); }
.yw-stays-outcome-bar > i[data-tone="accent"] { background: repeating-linear-gradient(125deg, #8a45f0 0 2px, #d4b6fb 2px 4px); }
.yw-stays-outcome-bar > i[data-tone="bad"] { background: repeating-linear-gradient(125deg, #d85e9e 0 2px, #f8dae9 2px 4px); }
.yw-stays-outcomes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; margin-top: 18px; }
.yw-stays-outcome { display: flex; flex-direction: column; gap: 4px; }
.yw-stays-outcome-label { display: inline-flex; align-items: center; gap: 7px; }
.yw-stays-outcome-label, .yw-stays-outcome-label .hw-info-label { color: #87818c; font-size: 13px; font-weight: 400; }
.yw-stays-outcome-label > i { width: 10px; height: 10px; flex-shrink: 0; border-radius: 3px; background: #c9c4ce; }
.yw-stays-outcome[data-tone="good"] .yw-stays-outcome-label > i { background: #3f9b7c; }
.yw-stays-outcome[data-tone="watch"] .yw-stays-outcome-label > i { background: #c4a46f; }
.yw-stays-outcome[data-tone="accent"] .yw-stays-outcome-label > i { background: #8a45f0; }
.yw-stays-outcome[data-tone="bad"] .yw-stays-outcome-label > i { background: #d85e9e; }
.yw-stays-outcome > strong { color: #202024; font-size: 26px; font-weight: 500; letter-spacing: -.6px; }
.yw-stays-outcome[data-zero] > strong { color: #c3bdc8; }
.yw-minstay-page .yw-stays-log .yw-stays-scroll { height: 30rem; }
.yw-stays-logtable .yw-stays-dayrow > th { position: static; padding: 18px 8px 8px; border: 0; background: transparent; box-shadow: none; color: #202024; font-size: 14px; font-weight: 500; text-align: left; }
.yw-stays-logtable tbody:first-of-type .yw-stays-dayrow > th { padding-top: 10px; }
.yw-stays-logtable .yw-stays-dayrow > th > .num { margin-left: 10px; color: #a09aa4; font-size: 13px; font-weight: 400; }
.yw-stays-logtable tbody tr:not(.yw-stays-dayrow) > td { font-size: 14px; }
.yw-stays-logtable .yw-stays-date { font-size: 15px; font-weight: 500; letter-spacing: -.3px; }
.yw-stays-logtable tbody tr:not(.yw-stays-dayrow) > td.yw-stays-time { color: #87818c; font-size: 13px; text-align: right; white-space: nowrap; }
.yw-minstay-page .yw-stays-status[data-tip] { border-bottom: 0; font-weight: 500; }

/* The rules screen (10/09): nothing under 12px, content at 13 or more. */
.yw-minstay-page .yw-money-note { font-size: 13px; }
.yw-minstay-page .yw-stays-rules-table td { font-size: 14px; }
.yw-minstay-page .yw-stays-rules-table th { font-size: 13px; font-weight: 400; }
.yw-minstay-page .yw-stays-source { font-size: 12px; }
.yw-minstay-page .yw-stays-rule-note { font-size: 13px; }
.yw-minstay-page .yw-stays-strip-summary, .yw-minstay-page .yw-stays-head-meta { font-size: 13px; }
.yw-minstay-page .yw-stays-strip-table { font-size: 13px; }
.yw-minstay-page .yw-stays-strip-table thead th, .yw-minstay-page .yw-stays-strip-dom, .yw-minstay-page .yw-stays-strip-rule { font-size: 12px; }
.yw-minstay-page .yw-stays-strip-table .yw-stays-strip-room { font-size: 13px; }
.yw-minstay-page .yw-stays-legend { font-size: 12px; }
.yw-minstay-page :is(.yw-stays-field, .yw-stays-field-suffix) { font-size: 12px; }
.yw-minstay-page :is(.yw-stays-preview-title, .yw-stays-preview-list, .yw-stays-preview-day) { font-size: 13px; }
.yw-minstay-page .yw-stays-style-blurb { font-size: 13px; }

/* ============================================================== dark == */
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) { --yw-stays-hatch: repeating-linear-gradient(125deg, #a883ee 0 2px, #4a3a63 2px 4px); --yw-stays-pink: repeating-linear-gradient(125deg, #e07ab5 0 2px, #4d3345 2px 4px); }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill { background: #142036; color: #f3eef8; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill:hover { background: #1c2843; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--quiet { background: transparent; color: #c3b9cc; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--quiet:hover { background: #142036; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--danger { background: transparent; color: #e69ac4; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--danger:hover { background: #3a2a31; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) :is(.yw-stays-pill--on, .yw-stays-pill[aria-pressed="true"]) { background: #3f2d5c; color: #c9b1ff; box-shadow: 0 0 0 1.5px #8b4dfb; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-pill--primary { background: #7c3aed; color: #fff; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-btn:hover { background: #8b4dfb; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-head-meta { color: #a297ab; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-hero-pill[data-pace="behind"] { color: #e69ac4; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-hero-pill[data-pace="ahead"] { color: #7fd3b4; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-hero-pill[data-pace="watch"] { color: #e6bd7f; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) :is(.yw-hero-value, .yw-row-stat-value)[data-muted] { color: #8f8996; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) :is(.yw-money-note[data-tone="watch"], .yw-money-flag[data-tone="watch"]) { color: #e6bd7f; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-money-note[data-tone="good"] { color: #7fd3b4; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-money-flag { color: #a297ab; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-money-flag[data-tone="bad"] { color: #e69ac4; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-money-flag[data-tone="good"] { color: #7fd3b4; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-money-flag[data-tone="accent"] { color: #c9b1ff; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-money-flag[data-tone="watch"] { color: #e6bd7f; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-unit { color: #a297ab; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) [data-ui="filter-select"] { border-color: #1c2843; background: #142036; color: #f3eef8; box-shadow: none; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) [data-ui="filter-select"]:hover { background: #1c2843; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-field { color: #a297ab; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) .yw-stays-input { border-color: #1c2843; background: #142036; color: #f3eef8; }
[data-theme-root].dark :is(.yw-groups-page, .yw-minstay-page) :is(.yw-stays-subtitle, .yw-stays-ink) { color: #f3eef8; }
[data-theme-root].dark .yw-stays-alert { background: #142036; color: #c3b9cc; }
[data-theme-root].dark .yw-stays-alert[data-tone="bad"] { background: #3a2a31; color: #e69ac4; }
[data-theme-root].dark .yw-stays-alert[data-tone="watch"] { background: #3d3122; color: #e6bd7f; }
[data-theme-root].dark .yw-stays-key { color: #a297ab; }
[data-theme-root].dark .yw-stays-key b { border-color: #1c2843; background: #0d1527; color: #f3eef8; }
[data-theme-root].dark .yw-stays-key b[data-k="apply"] { border-color: #5a3a4b; background: #3a2a31; color: #f0b8d2; }
[data-theme-root].dark .yw-stays-key b[data-k="held"] { color: #a297ab; }
[data-theme-root].dark .yw-stays-key b[data-k="yours"] { border-color: #4a3a63; background: #2f2638; color: #c9b1ff; }
/* Groups, dark. */
[data-theme-root].dark :is(.yw-groups-need, .yw-groups-group) { border-color: #1c2843; }
[data-theme-root].dark .yw-groups-need-mark, [data-theme-root].dark .yw-groups-mark { background: #142036; color: #a297ab; }
[data-theme-root].dark .yw-groups-need[data-tone="bad"] .yw-groups-need-mark, [data-theme-root].dark .yw-groups-mark[data-health="red"] { background: #4d3345; color: #f0b8d2; }
[data-theme-root].dark .yw-groups-need[data-tone="watch"] .yw-groups-need-mark, [data-theme-root].dark .yw-groups-mark[data-health="yellow"] { background: #3f3628; color: #e6bd7f; }
[data-theme-root].dark .yw-groups-mark[data-health="green"] { background: #26332e; color: #7fd3b4; }
[data-theme-root].dark .yw-groups-mark[data-health="event"] { background: #3d3350; color: #c5a8ff; }
[data-theme-root].dark :is(.yw-groups-need-title, .yw-groups-need-amount > strong, .yw-groups-group-title > h3, .yw-groups-stat-value, .yw-groups-block-name) { color: #f3eef8; }
[data-theme-root].dark a.yw-groups-need-title:hover { color: #c5a8ff; }
[data-theme-root].dark :is(.yw-groups-need-detail, .yw-groups-need-sub, .yw-groups-need-amount > span, .yw-groups-group-sub, .yw-groups-line, .yw-groups-stat-label, .yw-groups-stat-sub, .yw-groups-of, .yw-groups-month-sub, .yw-groups-night-detail, .yw-groups-night-label) { color: #a297ab; }
[data-theme-root].dark .yw-groups-need-flag { color: #e69ac4; }
[data-theme-root].dark .yw-groups-need[data-tone="watch"] .yw-groups-need-flag, [data-theme-root].dark .yw-groups-stat-sub[data-release="gold"] { color: #e6bd7f; }
[data-theme-root].dark .yw-groups-stat-sub[data-release="rescue"] { color: #e69ac4; }
[data-theme-root].dark :is(.yw-groups-status, .yw-groups-pricing, .yw-groups-night-value, .yw-groups-night-label b) { color: #c3b9cc; }
[data-theme-root].dark .yw-groups-line > span + span::before { color: #5b5663; }
[data-theme-root].dark .yw-groups-stats { border-top-color: #142036; }
[data-theme-root].dark .yw-groups-block + .yw-groups-block { border-top-color: #1c2843; }
[data-theme-root].dark .yw-groups-events-head { border-top-color: #1c2843; }
[data-theme-root].dark .yw-groups-events-head .hw-info-label { color: #c3b9cc; }
[data-theme-root].dark .yw-groups-pickup { background: #142036; }
[data-theme-root].dark .yw-groups-pickup[data-pickup-bar="green"] > i { background: repeating-linear-gradient(125deg, #7fd3b4 0 2px, #2c4238 2px 4px); }
[data-theme-root].dark .yw-groups-pickup[data-pickup-bar="yellow"] > i { background: repeating-linear-gradient(125deg, #e6bd7f 0 2px, #45382a 2px 4px); }
[data-theme-root].dark .yw-groups-pickup[data-pickup-bar="grey"] > i { background: repeating-linear-gradient(125deg, #8f8996 0 2px, #202d4a 2px 4px); }
[data-theme-root].dark .yw-groups-night:hover, [data-theme-root].dark .yw-groups-night[data-active="true"] { background: #30263a; }
[data-theme-root].dark .yw-groups-night[data-active="true"] .yw-groups-night-value { color: #f3eef8; }
[data-theme-root].dark .yw-groups-night-rail { border-bottom-color: #5b5063; }
[data-theme-root].dark :is(.yw-groups-scroll, .yw-groups-scroll-short, .yw-groups-decide .yw-groups-needs) { scrollbar-color: #273656 transparent; }
/* Min Stay, dark. */
[data-theme-root].dark .yw-stays-scope { color: #c9b1ff; }
[data-theme-root].dark .yw-stays-act > :first-child { border-top-color: #1c2843; }
[data-theme-root].dark .yw-stays-act-line { color: #c3b9cc; }
[data-theme-root].dark .yw-stays-rule-chips > li { background: #142036; color: #d9d2e3; }
[data-theme-root].dark .yw-stays-rule-chips > li[data-lead] { background: #3f2d5c; color: #c9b1ff; }
[data-theme-root].dark .yw-stays-rules .yw-stays-rule-chips + .yw-stays-fit, [data-theme-root].dark .yw-stays-rules .yw-money-note + .yw-stays-fit { border-top-color: #1c2843; }
[data-theme-root].dark .yw-stays-fit-label { color: #c5a8ff; }
[data-theme-root].dark .yw-stays-fit > p { color: #d9d2e3; }
[data-theme-root].dark .yw-stays-fit > .yw-stays-fit-sub { color: #a297ab; }
[data-theme-root].dark .yw-stays-arrow { border-color: #1c2843; background: #0d1527; color: #c3b9cc; }
[data-theme-root].dark a.yw-stays-arrow:hover { background: #142036; color: #f3eef8; }
[data-theme-root].dark .yw-stays-pager-label, [data-theme-root].dark .yw-stays-month-label { color: #f3eef8; }
[data-theme-root].dark .yw-stays-dow { color: #8f8996; }
[data-theme-root].dark .yw-stays-dow > [data-weekend] { color: #a297ab; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night { border-color: #1c2843; background: #0d1527; color: #f3eef8; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night--pad { border: 0; background: transparent; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-weekend] { background: #101a2f; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night:hover { border-color: #5c4a78; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
[data-theme-root].dark .yw-stays-night-day { color: #a297ab; }
[data-theme-root].dark .yw-stays-night-occ { color: #8f8996; }
[data-theme-root].dark .yw-stays-night-lead { color: #f3eef8; }
[data-theme-root].dark .yw-stays-night[data-tone="open"] .yw-stays-night-lead { color: #a297ab; }
[data-theme-root].dark .yw-stays-night[data-tone="empty"] .yw-stays-night-lead { color: #5b5663; }
[data-theme-root].dark .yw-stays-night-word { color: #a297ab; }
[data-theme-root].dark .yw-stays-night-track { background: #142036; }
[data-theme-root].dark .yw-stays-night-track > i { background: repeating-linear-gradient(125deg, #a883ee 0 2px, #4a3a63 2px 4px); }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-state="apply"] { border-color: #5a3a4b; background: #3a2a31; }
[data-theme-root].dark .yw-stays-night[data-state="apply"] .yw-stays-night-word { color: #f0b8d2; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-state="yours"], [data-theme-root].dark .yw-minstay-page .yw-stays-night[data-state="sending"] { border-color: #4a3a63; background: #2f2638; }
[data-theme-root].dark .yw-stays-night:is([data-state="yours"], [data-state="sending"]) :is(.yw-stays-night-lead--yours, .yw-stays-night-word), [data-theme-root].dark .yw-stays-night-lock { color: #c9b1ff; }
[data-theme-root].dark .yw-stays-night[data-state="held"] .yw-stays-night-word { color: #8f8996; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-open] { box-shadow: 0 0 0 2px #5c4a78; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-selected] { box-shadow: 0 0 0 2px #8b4dfb; }
[data-theme-root].dark .yw-minstay-page .yw-stays-bar { border-color: #1c2843; background: rgba(13, 21, 39, .92); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
[data-theme-root].dark .yw-stays-bar-count { color: #f3eef8; }
[data-theme-root].dark .yw-stays-bar-note { color: #a297ab; }
[data-theme-root].dark .yw-stays-bar-note[data-tone="good"], [data-theme-root].dark .yw-stays-card-note[data-tone="good"] { color: #7fd3b4; }
[data-theme-root].dark .yw-stays-bar-note[data-tone="bad"], [data-theme-root].dark .yw-stays-card-note[data-tone="bad"] { color: #e69ac4; }
[data-theme-root].dark .yw-stays-card { border-color: #1c2843; background: rgba(13, 21, 39, .97); box-shadow: 0 15px 45px #00000066, 0 3px 9px #00000033; color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-card-title, .yw-stays-card-booked) { color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-card-countdown, .yw-stays-card-booked > span + span, .yw-stays-card-verdict, .yw-stays-card-why) { color: #a297ab; }
[data-theme-root].dark .yw-stays-card-live { color: #c3b9cc; }
[data-theme-root].dark .yw-stays-card-live[data-live="gate"], [data-theme-root].dark .yw-stays-card-live[data-live="soft"] { color: #c9b1ff; }
[data-theme-root].dark .yw-stays-card-live[data-live="none"] { color: #8f8996; }
[data-theme-root].dark .yw-stays-card-track { background: #142036; }
[data-theme-root].dark .yw-stays-card-tick { background: #e6dff0; }
[data-theme-root].dark .yw-stays-card-facts { color: #c3b9cc; }
[data-theme-root].dark .yw-stays-card-rule { color: #d9d2e3; }
[data-theme-root].dark .yw-stays-card-picks { border-top-color: #1c2843; }
[data-theme-root].dark .yw-stays-pick { background: #142036; color: #f3eef8; }
[data-theme-root].dark .yw-stays-pick:hover { background: #1c2843; }
[data-theme-root].dark .yw-stays-pick[data-live] { background: #3f2d5c; color: #c9b1ff; box-shadow: 0 0 0 1.5px #8b4dfb; }
[data-theme-root].dark .yw-stays-pick[data-clear] { background: transparent; color: #a297ab; box-shadow: inset 0 0 0 1px #1c2843; }
[data-theme-root].dark .yw-stays-pick--mode:first-child { background: #7c3aed; color: #fff; }
[data-theme-root].dark .yw-stays-table thead th { background: #0d1527; box-shadow: inset 0 -1px 0 #1c2843; color: #a297ab; }
[data-theme-root].dark .yw-minstay-page .yw-stays-table tbody tr[data-weekend] > td { background-color: #0e172a; }
[data-theme-root].dark .yw-minstay-page .yw-stays-table tbody tr[data-differs] > td { background-color: #131e34; }
[data-theme-root].dark :is(.yw-stays-date, .yw-stays-rule-label, .yw-stays-preview-day, .yw-stays-decide-label) { color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-td-sub, .yw-stays-td-rule, .yw-stays-status-sub, .yw-stays-rule-note, .yw-stays-strip-summary) { color: #a297ab; }
[data-theme-root].dark td[data-differs] { color: #f0b8d2; }
[data-theme-root].dark :is(.yw-stays-td-why, .yw-stays-rule-value, .yw-stays-set-copy, .yw-stays-decide, .yw-stays-preview-list, .yw-stays-checks, .yw-stays-ota-log > li, .yw-stays-rulecard-body) { color: #c3b9cc; }
[data-theme-root].dark .yw-stays-rule-value--off { color: #8f8996; }
[data-theme-root].dark .yw-stays-rec { background: #142036; color: #c3b9cc; }
[data-theme-root].dark .yw-stays-rec[data-level="gate"] { background: #3f2d5c; color: #c9b1ff; }
[data-theme-root].dark .yw-stays-rec[data-level="soft"] { background: #2f2638; color: #c5a8ff; }
[data-theme-root].dark .yw-stays-rec[data-kind="yours"] { background: #7c3aed; color: #fff; }
[data-theme-root].dark .yw-stays-rec[data-kind="held"] { background: transparent; color: #a297ab; box-shadow: inset 0 0 0 1px #1c2843; }
[data-theme-root].dark :is(.yw-stays-setnight > summary, .yw-stays-override-summary) { color: #c5a8ff; }
[data-theme-root].dark .yw-stays-override-summary[data-yours] { color: #c9b1ff; }
[data-theme-root].dark .yw-minstay-page .yw-stays-override-menu { border-color: #1c2843; background: #0d1527; box-shadow: 0 15px 45px #00000066; }
[data-theme-root].dark .yw-stays-status { color: #c3b9cc; }
[data-theme-root].dark .yw-stays-status:not([data-tone]) { color: #8f8996; }
[data-theme-root].dark .yw-stays-status[data-tone="good"] { color: #7fd3b4; }
[data-theme-root].dark .yw-stays-status[data-tone="watch"] { color: #e6bd7f; }
[data-theme-root].dark .yw-stays-status[data-tone="bad"] { color: #e69ac4; }
[data-theme-root].dark .yw-minstay-page .yw-stays-dialog { border-color: #1c2843; background: #0d1527; color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-dialog-head, .yw-stays-dialog-foot) { border-color: #1c2843; }
[data-theme-root].dark .yw-stays-dialog-title { color: #f3eef8; }
[data-theme-root].dark .yw-stays-dialog-sub { color: #a297ab; }
[data-theme-root].dark .yw-stays-dialog-close:hover { color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-leak-line, .yw-stays-off-label, .yw-stays-switch-label, .yw-stays-switchbox-title, .yw-stays-row-title, .yw-stays-tile-name, .yw-stays-kpi-value, .yw-stays-modal-fact, .yw-stays-style-title) { color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-leak-names, .yw-stays-leak-plan, .yw-stays-url, .yw-stays-tile-line, .yw-stays-switchbox-line, .yw-stays-strip-dom) { color: #c3b9cc; }
[data-theme-root].dark :is(.yw-stays-off-line, .yw-stays-kpi-label, .yw-stays-kpi-sub, .yw-stays-row-detail, .yw-stays-tile-dates, .yw-stays-rail-month, .yw-stays-legend) { color: #a297ab; }
[data-theme-root].dark .yw-stays-editform { background: #142036; color: #d9d2e3; }
[data-theme-root].dark :is(.yw-stays-strip, .yw-stays-off, .yw-stays-off-row, .yw-stays-set-row, .yw-stays-ota-form, .yw-stays-ota-section, .yw-stays-kpis, .yw-stays-section, .yw-stays-row, .yw-stays-gating) { border-color: #1c2843; }
[data-theme-root].dark .yw-stays-strip-table thead th { color: #8f8996; }
[data-theme-root].dark .yw-stays-strip-table .yw-stays-strip-room { background: #0d1527; color: #d9d2e3; }
[data-theme-root].dark .yw-stays-strip-cell { border-color: #1c2843; background: #0d1527; color: #f3eef8; }
[data-theme-root].dark .yw-stays-strip-cell[data-differs="1"] { border-color: #5a3a4b; background: #3a2a31; color: #f0b8d2; }
[data-theme-root].dark .yw-minstay-page section[data-panel] .yw-stays-rulecard { border-top-color: #1c2843; background: transparent; }
[data-theme-root].dark .yw-stays-preview-title { color: #c9b1ff; }
[data-theme-root].dark .yw-stays-style { background: #2f2638; color: #d9d2e3; }
[data-theme-root].dark .yw-stays-style-blurb { color: #c5a8ff; }
[data-theme-root].dark .yw-stays-switch { background: #273656; }
[data-theme-root].dark .yw-stays-switch[data-on] { background: #7c3aed; }
[data-theme-root].dark .yw-stays-setup-list { color: #e69ac4; }
[data-theme-root].dark .yw-stays-moved { background: #2f2638; color: #d9d2e3; }
[data-theme-root].dark .yw-stays-rail-track { background: #142036; }
[data-theme-root].dark .yw-stays-rail-block { background: #9c6cf0; }
[data-theme-root].dark .yw-stays-rail-block[data-tier="major"] { background: #7c3aed; }
[data-theme-root].dark .yw-stays-rail-block[data-tier="high"] { background: #a3824f; }
[data-theme-root].dark .yw-stays-rail-block[data-tier="stay"] { background: #3f8f73; }
[data-theme-root].dark .yw-stays-rail-block[data-next] { box-shadow: inset 0 0 0 2px #f3eef8; }
[data-theme-root].dark .yw-stays-row-mark { background: #3d3350; color: #c5a8ff; }
[data-theme-root].dark .yw-stays-tile { border-color: #1c2843; background: #101a2f; }
[data-theme-root].dark .yw-stays-chip { background: #142036; color: #d9d2e3; }
[data-theme-root].dark .yw-stays-chip[data-quiet] { color: #8f8996; }
[data-theme-root].dark .yw-stays-switchbox { background: #142036; }
[data-theme-root].dark .yw-stays-dot { background: #5b5663; }
[data-theme-root].dark .yw-stays-dot[data-tone="good"] { background: #7fd3b4; }
[data-theme-root].dark .yw-stays-dot[data-tone="watch"] { background: #e6bd7f; }
[data-theme-root].dark .yw-stays-dot[data-tone="bad"] { background: #e69ac4; }
[data-theme-root].dark :is(.yw-stays-scroll, .yw-stays-tiles-scroll, .yw-stays-strip-scroll) { scrollbar-color: #273656 transparent; }

/* Groups, 10/09 rework, dark. */
[data-theme-root].dark .yw-gl-head { border-bottom-color: #1c2843; background: #0d1527; color: #a297ab; }
[data-theme-root].dark :is(.yw-gl-row, .yw-gl-divider) { border-bottom-color: #1c2843; }
[data-theme-root].dark .yw-gl-row:hover { background: #111b30; }
[data-theme-root].dark :is(.yw-gl-row, .yw-gl-cell, .yw-gl-name, .yw-gl-name .hw-info-label) { color: #f3eef8; }
[data-theme-root].dark :is(.yw-gl-status, .yw-gl-of, .yw-gl-divider, .yw-groups-count) { color: #a297ab; }
[data-theme-root].dark :is(.yw-gl-cell[data-muted], .yw-gl-cell[data-muted] .hw-info-label, .yw-gl-cell[data-tone="past"] .hw-info-label) { color: #8f8996; }
[data-theme-root].dark .yw-gl-cell[data-tone="bad"] .hw-info-label { color: #e69ac4; }
[data-theme-root].dark .yw-gl-cell[data-tone="watch"] .hw-info-label { color: #e6bd7f; }
[data-theme-root].dark .yw-gl-divider .hw-info-label { color: #d9d2e3; }

/* Min Stay, 10/09 rework, dark. */
[data-theme-root].dark .yw-minstay-page .yw-stays-pill { border-color: #1c2843; background: #142036; color: #f3eef8; box-shadow: none; }
[data-theme-root].dark .yw-minstay-page .yw-stays-pill:hover { background: #1c2843; }
[data-theme-root].dark .yw-minstay-page :is(.yw-stays-pill--quiet, .yw-stays-pill--danger) { border-color: transparent; background: transparent; }
[data-theme-root].dark :is(.yw-stays-title-meta, .yw-stays-act-line) { color: #a297ab; }
[data-theme-root].dark .yw-stays-rule-rows .yw-row-stat-value[data-muted] { color: #8f8996; }
[data-theme-root].dark .yw-stays-rule-rows .yw-row-stat-value[data-tone="accent"] { color: #c9b1ff; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-state="apply"] { border-color: #4a3a63; background: #2f2638; }
[data-theme-root].dark .yw-minstay-page .yw-stays-night[data-state="yours"] { border-color: #6d55a3; background: #1f1a2e; }
[data-theme-root].dark .yw-stays-night:is([data-state="apply"], [data-state="yours"]) :is(.yw-stays-night-word, .yw-stays-night-lead--yours) { color: #c9b1ff; }
[data-theme-root].dark .yw-stays-calendar-key { border-top-color: #1c2843; }
[data-theme-root].dark .yw-stays-key b[data-k="apply"], [data-theme-root].dark .yw-stays-key b[data-k="yours"] { border-color: #4a3a63; background: #2f2638; color: #c9b1ff; }
[data-theme-root].dark :is(.yw-stays-table thead th, .yw-stays-td-why) { color: #a297ab; }
[data-theme-root].dark .yw-minstay-page .yw-stays-table tbody tr[data-differs] > td { background-color: #151c33; }
[data-theme-root].dark :is(.yw-stays-rec, .yw-stays-rec[data-level="gate"], .yw-stays-rec[data-level="soft"]) { background: transparent; color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-rec[data-level="open"], .yw-stays-rec[data-kind="held"]) { color: #8f8996; }
[data-theme-root].dark :is(.yw-stays-rec[data-kind="yours"], td[data-differs]) { color: #c9b1ff; }
[data-theme-root].dark .yw-stays-why[data-tip] { border-bottom-color: #3a4566; }
[data-theme-root].dark .yw-stays-table [data-tip]::after,
[data-theme-root].dark .yw-stays-setnight-panel,
[data-theme-root].dark .yw-minstay-page .yw-stays-override-menu { border-color: #1c2843; background: rgba(13, 21, 39, .86); box-shadow: 0 12px 30px #00000066, 0 2px 6px #00000033; color: #c3b9cc; }
[data-theme-root].dark .yw-stays-setnight > summary { border-color: #1c2843; background: #142036; color: #f3eef8; box-shadow: none; }
[data-theme-root].dark .yw-stays-setnight-line { color: #c3b9cc; }
[data-theme-root].dark .yw-stays-leak-list > li { border-top-color: #1c2843; }
[data-theme-root].dark .yw-stays-leak-plan { color: #f3eef8; }
[data-theme-root].dark .yw-stays-leak-state { color: #a297ab; }
[data-theme-root].dark .yw-stays-leak-state[data-tone="good"] { color: #7fd3b4; }
[data-theme-root].dark :is(.yw-stays-leak-state[data-tone="bad"], .yw-stays-leak-head .hw-info-label) { color: #e69ac4; }
[data-theme-root].dark .yw-stays-leak-state[data-tone="watch"] { color: #e6bd7f; }
[data-theme-root].dark .yw-stays-demand-lead, [data-theme-root].dark :is(.yw-ev-name, .yw-ev-name .hw-info-label, .yw-ev-row, .yw-stays-row-title, .yw-stays-row-title .hw-info-label, .yw-stays-switchbox-title, .yw-stays-switchbox-title .hw-info-label) { color: #f3eef8; }
[data-theme-root].dark :is(.yw-ev-row, .yw-stays-kpi-rows, .yw-minstay-page .yw-stays-switchbox) { border-color: #1c2843; }
[data-theme-root].dark .yw-ev-head { background: #0d1527; color: #a297ab; }
[data-theme-root].dark .yw-ev-row:not(.yw-ev-head):hover { background: #111b30; }
[data-theme-root].dark :is(.yw-ev-dates, .yw-stays-row-detail, .yw-stays-rail-month) { color: #a297ab; }
[data-theme-root].dark :is(.yw-ev-tier, .yw-ev-fig[data-muted]) { color: #8f8996; }
[data-theme-root].dark .yw-ev-tier[data-tier="major"] { color: #c9b1ff; }
[data-theme-root].dark .yw-ev-tier[data-tier="high"] { color: #e6bd7f; }
[data-theme-root].dark .yw-ev-tier[data-tier="stay"] { color: #7fd3b4; }
[data-theme-root].dark :is(.yw-stays-how, .yw-stays-scope) { color: #a297ab; }
[data-theme-root].dark .yw-stays-status[data-tip] { border-bottom-color: #3a4566; }
[data-theme-root].dark .yw-stays-activity-hero .yw-row-stat-value[data-tone="good"] { color: #7fd3b4; }
[data-theme-root].dark .yw-stays-activity-hero .yw-row-stat-value[data-tone="watch"] { color: #e6bd7f; }
[data-theme-root].dark .yw-stays-activity-hero .yw-row-stat-value[data-tone="bad"] { color: #e69ac4; }
[data-theme-root].dark .yw-stays-map .yw-stays-months { scrollbar-color: #273656 transparent; }
[data-theme-root].dark .yw-minstay-page .yw-stays-kpi-rows .yw-row-stat-value { color: #f3eef8; }
[data-theme-root].dark .yw-coming > li + li { border-top-color: #1c2843; }
[data-theme-root].dark .yw-coming-row { color: #f3eef8; }
[data-theme-root].dark .yw-coming-row:hover { background: #111b30; }
[data-theme-root].dark .yw-coming-date { border-color: #1c2843; background: #142036; }
[data-theme-root].dark .yw-coming-row[data-next] .yw-coming-date { border-color: #4a3a63; background: #2f2638; }
[data-theme-root].dark :is(.yw-coming-day, .yw-coming-name, .yw-coming-effect) { color: #f3eef8; }
[data-theme-root].dark :is(.yw-coming-mon, .yw-coming-span, .yw-coming-away, .yw-coming-tier, .yw-coming-effect[data-plain]) { color: #a297ab; }
[data-theme-root].dark .yw-coming-next { background: #2f2638; color: #c9b1ff; }
[data-theme-root].dark .yw-coming-tier[data-tier="major"], [data-theme-root].dark .yw-coming-row[data-next] .yw-coming-mon { color: #c9b1ff; }
[data-theme-root].dark .yw-coming-tier[data-tier="high"] { color: #e6bd7f; }
[data-theme-root].dark .yw-minstay-page :is(.yw-stays-subtitle, .yw-stays-subtitle .hw-info-label, .yw-coming-name, .yw-ev-name, .yw-ev-name .hw-info-label, .yw-stays-row-title, .yw-stays-row-title .hw-info-label, .yw-coming-effect, .yw-ev-dates, .yw-ev-fig, .yw-stays-url) { color: #f3eef8; }
[data-theme-root].dark .yw-minstay-page :is(.yw-coming-span, .yw-stays-row-detail, .yw-coming-away, .yw-ev-head, .yw-stays-field, .yw-coming-effect[data-plain], .yw-ev-fig[data-muted], .yw-stays-sources .yw-money-note) { color: #a297ab; }
[data-theme-root].dark .yw-minstay-page section[data-panel] { border-color: #1c2843; background: #0d1527; }
[data-theme-root].dark .yw-minstay-page section[data-panel] > div:first-child h2 { color: #f3eef8; }
[data-theme-root].dark :is(.yw-stays-activity-who, .yw-stays-outcome-label, .yw-stays-outcome-label .hw-info-label, .yw-stays-logtable tbody tr > td.yw-stays-time, .yw-stays-logtable .yw-stays-dayrow > th > .num) { color: #a297ab; }
[data-theme-root].dark :is(.yw-stays-outcome > strong, .yw-stays-logtable .yw-stays-dayrow > th) { color: #f3eef8; }
[data-theme-root].dark .yw-stays-outcome[data-zero] > strong { color: #5b5663; }

/* ---- Min Stay rules card, 10/09 (owner: "we need to re design this one
   too, with our new design style"): label and value rows like Setup's Your
   pricing today; the source a quiet word, Edit a text link; the calendar
   strip's tiles toned by their nights. ------------------------------------- */
.yw-minstay-page .yw-stays-ruletable .yw-card-head { align-items: center; }
.yw-minstay-page .yw-stays-ruletable .yw-stays-set { margin-top: 22px; }
.yw-minstay-page .yw-stays-ruletable .yw-stays-set + .yw-stays-set { margin-top: 28px; }
.yw-minstay-page .yw-stays-ruletable .yw-stays-set > .yw-stays-subtitle { margin: 0 0 4px; font-size: 15px; }
.yw-minstay-page .yw-stays-rules-table { margin-top: 0; table-layout: fixed; }
.yw-minstay-page .yw-stays-rules-table td { padding: 14px 10px; border-top: 1px solid #eae8ec; vertical-align: middle; transition: background-color .16s; }
.yw-minstay-page .yw-stays-rules-table tbody tr:first-child td { border-top: 0; }
.yw-minstay-page .yw-stays-rule-row:hover td { background: #f8f6fa; }
.yw-minstay-page .yw-stays-rule-row td:first-child { padding-left: 4px; }
.yw-minstay-page .yw-stays-rule-label { color: #87818c; font-size: 13px; font-weight: 400; }
.yw-minstay-page .yw-stays-rule-value { color: #202024; font-size: 15px; letter-spacing: -.25px; }
.yw-minstay-page .yw-stays-rule-value--off { color: #a09aa4; }
.yw-minstay-page .yw-stays-rule-note { color: #a09aa4; font-size: 13px; }
.yw-minstay-page .yw-stays-ruletable .yw-stays-source { padding: 0; background: none; color: #a09aa4; font-size: 13px; font-weight: 400; }
.yw-minstay-page .yw-stays-ruletable .yw-stays-source[data-minstay-source="default"] { color: #9a805f; }
.yw-stays-edit-link { padding: 0; border: 0; background: none; color: #8553c2; font-size: 13px; font-weight: 500; cursor: pointer; }
.yw-stays-edit-link:hover { color: #7c3aed; text-decoration: underline; text-underline-offset: 3px; }
.yw-stays-edit-link:focus-visible { outline: 2px solid #b993ff; outline-offset: 2px; border-radius: 4px; }
.yw-minstay-page .yw-stays-editform { padding: 16px 18px; border-radius: 14px; background: #f6f4f8; font-size: 14px; }
.yw-minstay-page .yw-stays-editform :is(select, input:not([type="checkbox"])) { height: 34px; border-color: #e2e1e4; border-radius: 10px; font-size: 14px; }
/* On your calendar now: tiles, not boxes. */
.yw-minstay-page .yw-stays-strip { margin-top: 28px; padding-top: 22px; }
.yw-minstay-page .yw-stays-strip-table { border-spacing: 4px 6px; }
.yw-minstay-page .yw-stays-strip-table thead th { padding-bottom: 4px; color: #a09aa4; font-size: 12px; }
.yw-minstay-page .yw-stays-strip-dom { color: #343039; font-size: 13px; }
.yw-minstay-page .yw-stays-strip-table .yw-stays-strip-room { max-width: 13rem; color: #202024; font-size: 14px; font-weight: 500; letter-spacing: -.2px; }
.yw-minstay-page .yw-stays-strip-cell { height: 40px; border: 0; border-radius: 10px; background: #f1eff4; color: #59535f; font-size: 14px; font-weight: 500; }
.yw-minstay-page .yw-stays-strip-cell[data-long] { background: repeating-linear-gradient(125deg, #e1d2fb 0 2px, #eee6fd 2px 5px); color: #5b21b6; }
.yw-minstay-page .yw-stays-strip-cell[data-differs="1"] { background: #fbeef3; box-shadow: inset 0 0 0 1px #f0d2dd; color: #b4547d; }
.yw-minstay-page .yw-stays-strip-rule { font-size: 11.5px; font-weight: 400; }
/* Also available: the rule, its line under it, a quiet Turn on. */
.yw-minstay-page .yw-stays-off { margin-top: 28px; padding-top: 22px; }
.yw-minstay-page .yw-stays-off-row { padding: 13px 0; }
.yw-minstay-page .yw-stays-off-copy { display: flex; flex-direction: column; gap: 2px; }
.yw-minstay-page .yw-stays-off-label { color: #202024; font-size: 14px; font-weight: 500; letter-spacing: -.2px; }
.yw-minstay-page .yw-stays-off-line { color: #87818c; font-size: 13px; }

[data-theme-root].dark .yw-minstay-page .yw-stays-rules-table td { border-top-color: #1c2843; }
[data-theme-root].dark .yw-minstay-page .yw-stays-rule-row:hover td { background: #142036; }
[data-theme-root].dark .yw-minstay-page :is(.yw-stays-rule-label, .yw-stays-ruletable .yw-stays-source, .yw-stays-strip-table thead th, .yw-stays-off-line) { color: #a297ab; }
[data-theme-root].dark .yw-minstay-page :is(.yw-stays-rule-value, .yw-stays-strip-dom, .yw-stays-strip-table .yw-stays-strip-room, .yw-stays-off-label) { color: #f3eef8; }
[data-theme-root].dark .yw-minstay-page .yw-stays-ruletable .yw-stays-source[data-minstay-source="default"] { color: #e0bf8c; }
[data-theme-root].dark .yw-stays-edit-link { color: #c5a8ff; }
[data-theme-root].dark .yw-minstay-page .yw-stays-editform { background: #142036; }
[data-theme-root].dark .yw-minstay-page .yw-stays-strip-cell { background: #142036; color: #c3b9cc; }
[data-theme-root].dark .yw-minstay-page .yw-stays-strip-cell[data-long] { background: repeating-linear-gradient(125deg, #4a3a63 0 2px, #2f2640 2px 5px); color: #e3d4ff; }
[data-theme-root].dark .yw-minstay-page .yw-stays-strip-cell[data-differs="1"] { background: #3a2230; box-shadow: inset 0 0 0 1px #5c3448; color: #e69ac4; }

/* ---- Min Stay rules, the staff area (10/09): Advanced is a heading over a
   two-column grid of rule cards (its form is display: contents, so the form
   still posts every field while its cards sit in the grid); How we decide is
   a ranked list of names, each rule's sentence its hover; the rule form's
   boxed fieldsets are hairline sections. -------------------------------- */
.yw-minstay-page .yw-stays-rules-stack > section[data-panel][data-panel] { padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.yw-minstay-page .yw-stays-rules-stack > section[data-panel][data-panel] > div:first-child { padding: 8px 2px 12px; }
.yw-pricing-page.yw-minstay-page .yw-stays-rules-stack > section[data-panel][data-panel] > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; padding: 0; }
.yw-minstay-page .yw-stays-rules-stack > section[data-panel] > div:last-child > form { display: contents; }
.yw-minstay-page .yw-stays-rules-stack > section[data-panel] > div:last-child :is(.yw-stays-rulecard, form > div) { min-width: 0; margin: 0; }
.yw-minstay-page section[data-panel] .yw-stays-rules-stack .yw-stays-rulecard,
.yw-minstay-page .yw-stays-rules-stack > section[data-panel] .yw-stays-rulecard { padding: 20px 22px; border: 1px solid #e2e1e4; border-radius: 20px; background: #fbfbfb; }
.yw-minstay-page .yw-stays-rules-stack > section[data-panel] form > .yw-stays-rulecard:first-child { padding-top: 20px; border-top: 1px solid #e2e1e4; }
.yw-minstay-page .yw-stays-rules-stack > section[data-panel] .yw-stays-rulecard .yw-card-title { font-size: 16px; letter-spacing: -.3px; }
.yw-minstay-page .yw-stays-rules-stack > section[data-panel] form > :is(button, [type="submit"]) { grid-column: 1 / -1; justify-self: start; align-self: start; }
.yw-minstay-page .yw-stays-rules-stack .yw-stays-rulecard-body { font-size: 14px; }
/* How we decide: a ranked list, two columns, the sentence on hover. */
.yw-minstay-page .yw-stays-decide { margin: 0; padding: 0; columns: 2; column-gap: 32px; list-style: none; }
.yw-minstay-page .yw-stays-decide > li { break-inside: avoid; }
.yw-minstay-page .yw-stays-decide > li { position: relative; display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 8px 0; border-bottom: 1px solid #f0eef2; outline: none; cursor: default; }
.yw-minstay-page .yw-stays-decide > li + li { margin-top: 0; }
.yw-stays-decide-rank { width: 1.4rem; flex-shrink: 0; color: #a09aa4; font-size: 13px; text-align: right; }
.yw-minstay-page .yw-stays-decide-label { color: #202024; font-size: 14px; font-weight: 500; letter-spacing: -.2px; text-decoration: underline dashed #d3cbdb; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.yw-minstay-page .yw-stays-decide > li[data-tip]::after {
  position: absolute; top: calc(100% + 4px); left: 1.9rem; z-index: 30; width: max-content; max-width: 380px;
  padding: 8px 12px; border: 1px solid rgba(229, 221, 234, .9); border-radius: 12px; background: rgba(253, 252, 254, .92);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 30px #3a214424, 0 2px 6px #3a21440d; color: #59535f; content: attr(data-tip);
  font-size: 12.5px; font-weight: 400; line-height: 1.45; white-space: normal;
  opacity: 0; pointer-events: none; transform: translateY(-3px); transition: opacity .16s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}
.yw-minstay-page .yw-stays-decide > li[data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translateY(0); transition-delay: .12s; }
/* The rule form: hairline sections, not boxes; legends read as labels. */
.yw-minstay-page .yw-stays-rules-stack fieldset[class~="border"] { padding: 14px 0 2px; border: 0; border-top: 1px solid #eae8ec; border-radius: 0; background: transparent; }
.yw-minstay-page .yw-stays-rules-stack .yw-stays-legend { padding: 0 0 6px; color: #202024; font-size: 14px; font-weight: 500; }
.yw-minstay-page .yw-stays-rules-stack :is(select, input[type="number"]) { height: 34px; border-color: #e2e1e4; border-radius: 10px; background: #fff; font-size: 14px; }
.yw-minstay-page .yw-stays-rules-stack label[class~="rounded-lg"][class~="border"] { min-height: 32px; padding: 0 10px; border-color: #e2e1e4; border-radius: 10px; background: #fff; font-size: 13px; }
.yw-minstay-page .yw-stays-set-copy { font-size: 14px; }
@media (max-width: 1000px) {
  .yw-pricing-page.yw-minstay-page .yw-stays-rules-stack > section[data-panel][data-panel] > div:last-child,
  .yw-minstay-page .yw-stays-decide { columns: 1; }
}

[data-theme-root].dark .yw-minstay-page .yw-stays-rules-stack > section[data-panel][data-panel] { background: transparent; }
[data-theme-root].dark .yw-minstay-page .yw-stays-rules-stack > section[data-panel] .yw-stays-rulecard { border-color: #1c2843; background: #0d1527; }
[data-theme-root].dark .yw-minstay-page .yw-stays-decide > li { border-bottom-color: #18233b; }
[data-theme-root].dark .yw-minstay-page .yw-stays-decide-label { text-decoration-color: #4a4458; }
[data-theme-root].dark .yw-minstay-page .yw-stays-decide > li[data-tip]::after { border-color: #1c2843; background: rgba(13, 21, 39, .92); box-shadow: 0 12px 30px #00000066, 0 2px 6px #00000033; color: #c3b9cc; }
[data-theme-root].dark .yw-minstay-page .yw-stays-rules-stack fieldset[class~="border"] { border-top-color: #1c2843; }
[data-theme-root].dark .yw-minstay-page .yw-stays-rules-stack .yw-stays-legend { color: #f3eef8; }
[data-theme-root].dark .yw-minstay-page .yw-stays-rules-stack :is(select, input[type="number"], label[class~="rounded-lg"][class~="border"]) { border-color: #1c2843; background: #0d1527; color: #f3eef8; }

