/* polish-1 (2026-10-29 screenshot review): the layout rules the polished pages need. Loaded late, before va-mode.css (which stays last). */
/* Library: the filter panel is one column - search row, chip rows, count - not the old grid that squeezed the chips. */
.rf-shell[data-page=library] form[data-form=library-search].lib-tools{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:16px;grid-template-columns:none}
.rf-shell[data-page=library] form[data-form=library-search].lib-tools>*{grid-column:auto;min-width:0;width:100%}
/* Desktop shows the credits once, in the top bar. */
@media (min-width:900px){.rf-side-bottom .rf-credits{display:none}}
/* Target accounts cards: wide enough for the name, the VA select and the IG · TT · Th · X counter at 1366 px; wraps on phones. */
@media (min-width:721px){.rs-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}}
.rs-card-head{flex-wrap:wrap}.rs-meter{order:3;flex:0 0 calc(100% - 48px);text-align:left;margin-left:48px}
/* Revenue: switching period or creator dims the numbers instead of wiping the page. */
.ml.is-loading .ml-hero,.ml.is-loading .ml-alerts,.ml.is-loading .ml-block,.ml.is-loading .ml-fold,.ml.is-loading .ml-gap,.ml.is-loading .ml-reel-link{opacity:.55;pointer-events:none;transition:opacity .15s}
/* Tracking links: the agency-wide bio-link choice folds away so the links come first. */
.tg-route:has(>.tg-route-fold:not([open])){padding:12px 16px;margin:0 0 14px}
.tg-route-fold>summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;cursor:pointer;list-style:none}
.tg-route-fold>summary::-webkit-details-marker{display:none}
.tg-route-fold>summary .home-section-kicker{flex-basis:100%}
.tg-route-fold>summary .text-button{margin-left:auto}
.tg-route-fold[open]>summary{margin-bottom:14px}
@media (max-width:720px){form[data-auto-pages-form][data-dirty=true] .link-save-panel{position:sticky;bottom:72px;z-index:5;background:var(--rf-panel,#18191f);padding:10px 0}}
/* Posts to OK and Deliveries: quiet lines for what is already handled. */
p.review-done{color:var(--rf-muted);font-size:13px;margin:8px 0 0}
.rf-job.is-stopped{opacity:.82}
.rf-job-next .text-button{white-space:nowrap}
/* Calendar on desktop: each filter takes its text's width, so "All accounts" is not cut. */
@media (min-width:721px){.day-planner .planner-controls .creator-picker{flex:1 1 auto;max-width:280px}}
/* Results on a phone: the half-width account filter drops its letter so "All accounts" fits. */
@media (max-width:720px){.rf-shell[data-page=performers] .performer-filters label:nth-child(2) .creator-picker-trigger .creator-picker-avatar{display:none}}
