/* Polish pass (owner #589, 26 Nov 2026: "sleek, simple, symmetrical, minimalist, even and stylish", session C).
   Small layout fixes found in the whole-app scan, kept in one file so each can be checked or taken back on its own.
   Loaded after every section stylesheet (app.html); the Look stylesheets are added later by looks.js, so rules here are
   scoped with html[...] to win over them. Bigger, design-changing items are on the owner page, not here. */

/* Trip Kit: "Arriving (Optional)" was a half-width pill on its own row under the full-width address field */
html #app .stay-opts > .arr-pill { flex: 1 1 100%; justify-content: flex-start; }

/* Trip Kit: "Expand The Trip Kit" | "Share" were a wide and a narrow button side by side: two equal halves */
html #app .kit-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html #app .kit-btns > .btn { width: auto; min-width: 0; margin: 0; padding-inline: 8px; white-space: normal; line-height: 1.2; }

/* Trip Kit "More": four chips of uneven widths on two ragged rows: an even 2 x 2 box, same height, text centred */
html #app .kit-more > .chips { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }
html #app .kit-more > .chips > .chip { display: grid; place-items: center; min-width: 0; min-height: 44px; margin: 0; padding: 6px 10px; text-align: center; white-space: normal; line-height: 1.2; }
html #app .kit-more > .chips > .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* A button whose words wrap onto two lines (Your Privacy's "What Stays, What Leaves, Erase Everything", long German labels)
   turned into a fat oval: two-line buttons get rounded corners instead of the pill ends */
html #app .pv-entry > .btn { border-radius: 16px; line-height: 1.25; padding-block: 12px; }

/* Home promise line: in light it sits on the page colour (no visible pill), in dark it had a dark pill: plain in both */
html[data-theme="dark"] #app .bl-home .bl-promise { background: transparent; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) #app .bl-home .bl-promise { background: transparent; } }

/* #596 (owner 28 Nov 2026: "never have writing with the underline like that"): no underlined text links anywhere. Every
   .link button (Start Over, Previous, See Them, Change…) becomes a small real button (chip look); plain <a> links lose the
   underline and read as links by colour + weight. Verbs is left to session G (its own rules), so not while the Verbs tab shows. */
html body:not(:has([data-tab="verbs"][aria-selected="true"])) .link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 0; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--accent); font-weight: 600; font-size: .88rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; }
html body:not(:has([data-tab="verbs"][aria-selected="true"])) .link.inline { min-height: 28px; padding: 3px 10px; font-size: .85rem; vertical-align: middle; margin: 2px 0; }
html body:not(:has([data-tab="verbs"][aria-selected="true"])) .link:active { background: var(--accent-soft, var(--surface)); }
html body:not(:has([data-tab="verbs"][aria-selected="true"])) :is(#app, .pl-menu, .do-pop, .site-head, .layout) a:not(.btn):not(.chip):not(.link) { text-decoration: none; color: var(--accent); font-weight: 600; }
