/* Team home: galleries and selects with the seven progress dots (moved here from 226 Ops, Oct 30).
   226 brand: square modules, pill buttons. */
.home h1 { margin: 4px 0 0; }

/* the seven dots: filled = done, ring = not yet (colors from the 226 palette, decided Oct 29) */
.dots { display: inline-flex; gap: 7px; align-items: center; flex: none; }
.dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--c); background: transparent; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(29,33,32,.08); }
.dot.on { background: var(--c); }
.dot svg { width: 10px; height: 10px; display: none; }
button.dot { padding: 0; cursor: pointer; }
button.dot:hover, button.dot:focus-visible { box-shadow: 0 0 0 1px rgba(29,33,32,.08), 0 0 0 4px rgba(229,186,33,.35); outline: none; }
.dot.on svg { display: block; }
.dot[data-k=uploaded] { --c: #8E918F; }
.dot[data-k=sent] { --c: var(--french-blue); }
.dot[data-k=submitted] { --c: var(--gold); }
.dot[data-k=reviewed] { --c: var(--copper); }
.dot[data-k=retouched] { --c: var(--hunter); }
.dot[data-k=retouchedSent] { --c: var(--french-blue); }
.dot[data-k=closed] { --c: var(--emerald); }

.toolbar { display: flex; gap: 12px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.toolbar input[type=search] { flex: 1 1 260px; max-width: 420px; }
.seg { display: inline-flex; gap: 6px; margin-left: auto; }
.home .btn[aria-pressed=true] { background: var(--emerald); border-color: var(--emerald); color: var(--sand); }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.fchips .n { color: var(--muted); font-size: 12px; }
.fchips [aria-pressed=true] .n { color: #C9D6D0; }

/* list: square rows */
.list { background: var(--surface); border: 1px solid var(--line); }
.list-head, .row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 130px 210px 170px; gap: 16px; align-items: center; padding: 12px 16px; }
.list-head { color: var(--muted); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.row + .row { border-top: 1px solid var(--line); }
.row:hover { background: var(--bg); }
.name { display: flex; flex-direction: column; min-width: 0; }
.name .t { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.name .t a { color: inherit; text-decoration: none; }
.name .t a:hover { text-decoration: underline; }
.sub { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel { font-size: 14px; color: var(--muted); }
.sel b { color: var(--text); font-weight: 700; }
.sel.over b { color: var(--copper); }
.next { font-size: 14px; }
.next.closed { color: var(--muted); }
.acts { text-align: right; }
.draft.reopened { color: var(--hunter); border-color: var(--hunter); }
.draft { font-family: var(--font-eyebrow); font-size: 9.5px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--copper); border: 1px solid var(--copper); padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }

/* Open + More */
.gacts { display: inline-flex; gap: 6px; align-items: center; }
.more { position: relative; }
.more summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more .menu { min-width: 210px; }

/* cards: square modules */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--emerald); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.card h2 { font-family: var(--font-heading); font-weight: 400; font-size: 21px; line-height: 1.2; margin: 0; }
.card .sub { margin: -4px 0 0; white-space: normal; }
.card .next { margin: 0; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }

.empty { background: var(--surface); border: 1px solid var(--line); padding: 28px 24px; color: var(--muted); }
.empty strong { display: block; color: var(--text); font-weight: 400; font-size: 20px; margin-bottom: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: 13px; color: var(--muted); align-items: center; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend .hint { flex-basis: 100%; margin: 0; }
.tip { position: fixed; z-index: 80; background: var(--ink); color: var(--sand); padding: 8px 11px; font-size: 13px; pointer-events: none; box-shadow: var(--shadow); max-width: 260px; }
.tip b { display: block; font-weight: 700; }
.tip .t2 { color: #C9D6D0; }

/* phone: each row becomes a small stacked block */
@media (max-width: 760px) {
  .seg { margin-left: 0; }
  .list-head { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "dots dots" "sel acts" "next acts"; gap: 6px 12px; }
  .row .name { grid-area: name; }
  .row .dots { grid-area: dots; margin: 4px 0; }
  .row .sel { grid-area: sel; }
  .row .next { grid-area: next; }
  .row .acts { grid-area: acts; align-self: center; }
  .name .t { white-space: normal; }
}
