/* Keepford customer app: additions to the demo's visual language (app.css, from commit 5468af2).
   The connected app has no preview banner; everything else reuses the demo's tokens and components. */

.boot { padding: 2rem; color: var(--muted); }

/* brand mark without an image asset */
.brand__mark { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--green); color: var(--white); font-weight: 800; font-size: 0.9rem; }

/* sign-in */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: radial-gradient(1200px 600px at 80% -10%, #1b3d6b 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #0f4a35 0%, transparent 55%), var(--dark); }
.signin:focus { outline: none; }
.signin__card { width: min(420px, 100%); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2rem 1.75rem; display: grid; gap: 0.9rem; justify-items: start; }
.signin__brand { color: var(--ink); }
.signin__title { font-size: 1.35rem; letter-spacing: -0.02em; }
.signin__body { color: var(--ink-2); }
.signin__note { font-size: 0.82rem; color: var(--muted); }

/* states */
.state { align-items: flex-start; }
.state__text { display: grid; gap: 0.3rem; min-width: 0; overflow-wrap: anywhere; }
.state__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.loading { display: grid; gap: 0.7rem; padding: 1.25rem; }
.skeleton--short { width: 55%; }

/* filters */
.filters { align-items: flex-end; gap: 0.75rem; }
.filters .field { min-width: 0; flex: 1 1 9rem; }
.filters .select, .filters .input { width: 100%; }
.filters__actions { display: flex; gap: 0.4rem; align-items: center; }
.filters .field__error { flex-basis: 100%; }

/* dashboard tiles: 4 + 4 on wide screens, 2 columns on phones */
.stats--eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .stats--eight { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .stats--eight { grid-template-columns: minmax(0, 1fr); } }

/* tabs as links */
.tabs a.tab { padding: 0.7rem 0.6rem; font-weight: 550; font-size: 0.88rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs a.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }

.sidebar__user { overflow-wrap: anywhere; color: var(--on-dark); }
.card__body--flush > .callout { margin: 1rem 1.1rem; }
.pager .callout { flex-basis: 100%; }
.page-head .btn { white-space: nowrap; }
.timeline__title { overflow-wrap: anywhere; }
.list a.list__item { text-decoration: none; }

/* phones: nothing wider than the screen; tables scroll inside their own box */
@media (max-width: 640px) {
  .filters .field { flex: 1 1 100%; }
  .signin__card { padding: 1.5rem 1.25rem; }
  .segmented { flex-wrap: wrap; }
}
/* the brand is a home link, not body text (from the demo's v4.css) */
.brand:hover { text-decoration: none; }

/* team and integrations */
.invite-link__row { flex-wrap: wrap; }
.invite-link__row .input { flex: 1 1 18rem; min-width: 0; }
.invite-link .state__text { width: 100%; }
.inline-form__row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.sec__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card__sub .badge { vertical-align: middle; }
.evidence-note { margin: 0; }
.card__body .callout p { margin: 0; }

/* settings */
.live-settings > summary { cursor: pointer; list-style: revert; }
.live-settings[open] > summary { border-bottom: 1px solid var(--line); }
fieldset.tech { border: 1px solid var(--line); display: grid; gap: 0.75rem; }
.hrow__times .inline-form__row { flex-wrap: wrap; }
.hours .hrow { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours .hrow__day { font-weight: 600; }
.hours .hrow__times { display: grid; gap: 0.35rem; }
.hours .hrow__times .input { width: 8.5rem; }
.hours .field-path-error { grid-column: 1 / -1; }
@media (max-width: 640px) { .hours .hrow { grid-template-columns: minmax(0, 1fr); } }

/* setup checklist */
.checklist__progress { display: grid; gap: 0.35rem; font-size: 0.86rem; color: var(--muted); }
.checklist__progress progress { width: 100%; height: 10px; accent-color: var(--green); }
.checklist__reason { display: block; margin-top: 0.2rem; color: var(--ink-2); }
.checklist__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start; margin-top: 0.4rem; }
.checklist__history { flex-basis: 100%; font-size: 0.84rem; }
.checklist__history summary { cursor: pointer; color: var(--blue); }
ul.bullets { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.25rem; }
