/* Khazana v7 round: Review tab, the checklist without dots, 5 tools a day, own flashcards, bookmarks, link hunt summary. */
.c-Shayari { --c: #be185d; } .c-Writing { --c: #6d28d9; }

/* rows used by Review, Bookmarks and your cards */
.rv7-list { padding: 4px 0; }
.rv7-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; color: inherit; font: inherit; }
.rv7-list > :first-child { border-top: 0; }
.rv7-row b, .c7-row b, .bm7-main b { display: block; font-size: 14.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv7-row small, .c7-row small, .bm7-main small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv7-row > svg { margin-left: auto; flex: none; width: 16px; height: 16px; color: var(--faint); }
.rv7-row > span:nth-child(2) { flex: 1; }
.rv7-k { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--cs); color: var(--ct); }
.rv7-k svg { width: 19px; height: 19px; }
@media (hover: hover) { .rv7-row:hover { background: var(--surface-2); } }

/* Get started: an icon for each step instead of an empty dot */
.ck7-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.ck7-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.ck7-list li:first-child { border-top: 0; }
.ck7-list li b { display: block; font-size: 14.5px; font-weight: 650; }
.ck7-list li small { display: block; font-size: 12.5px; color: var(--muted); }
.ck7-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.ck7-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-2); }
.ck7-ic svg { width: 18px; height: 18px; }
.ck7-list li.nx .ck7-ic { background: color-mix(in srgb, var(--brand) 14%, var(--surface)); color: var(--brand-text); }
.ck7-list li.ok .ck7-ic { background: var(--good-soft); color: var(--good); }
.ck7-list li.ok b { color: var(--muted); }
@media (min-width: 960px) { .ck7-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } .ck7-list li:nth-child(2) { border-top: 0; } }

/* Try today: 5 compact rows, all visible on a phone */
.tr7 { display: grid; gap: 8px; }
@media (min-width: 960px) { .tr7 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.tr7-r { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); min-width: 0; }
.tr7-r.done { opacity: .72; box-shadow: none; }
.tr7-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; border: 0; background: none; padding: 0; text-align: left; color: inherit; font: inherit; }
.tr7-main > span { min-width: 0; }
.tr7-n { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tr7-n b { font-size: 14.5px; font-weight: 680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr7-main small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr7-tag { flex: none; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--surface-3); color: var(--ink-2); }
.tr7-tag.must { background: color-mix(in srgb, var(--brand) 16%, var(--surface)); color: var(--brand-text); }
.tr7-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.tr7-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--good); }
.tr7-ok svg { width: 14px; height: 14px; stroke-width: 2.6; }
@media (max-width: 520px) {
  .tr7 { gap: 6px; }
  .tr7-r { padding: 8px 8px 8px 10px; gap: 8px; }
  .tr7-acts .pill { display: none; }
  .tr7-main .ti { width: 34px; height: 34px; }
  .tr7-sw { width: 34px; height: 34px; }
}
.tr7-sw svg { width: 16px; height: 16px; }

/* your own cards */
.c7-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.c7-row > span { flex: 1; min-width: 0; }

/* bookmarks */
.bm7-f { display: flex; gap: 8px; }
.bm7-f .input { flex: 1; min-width: 0; }
.bm7-f.full { flex-wrap: wrap; }
.bm7-f.full .input:first-of-type { flex-basis: 100%; }
.bm7-f.full select.input { flex: 0 1 160px; }
.bm7-row { display: flex; align-items: center; gap: 6px; padding-right: 8px; border-top: 1px solid var(--line); }
.bm7-row.off { opacity: .7; }
.bm7-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 11px 6px 11px 14px; color: inherit; text-decoration: none; }
.bm7-main > span:nth-child(2) { flex: 1; min-width: 0; }
.bm7-main > svg { width: 15px; height: 15px; color: var(--faint); flex: none; }
.bm7-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 750; font-size: 15px; background: var(--cs, var(--surface-2)); color: var(--ct, var(--ink-2)); }

/* the save sheet footer has a Bookmark button now, so it may wrap on narrow phones */
.sh-foot { flex-wrap: wrap; }
.sh-foot > * { min-width: 0; }

/* link hunt summary */
.h7-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.h7-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-1); color: inherit; font: inherit; text-align: left; }
.h7-t b { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.h7-t small { font-size: 12px; color: var(--muted); }
.h7-t.found b { color: var(--good); } .h7-t.progress b { color: var(--brand-text); }

/* phone tab bar now has five tabs */
@media (max-width: 959px) {
  .nav a { font-size: 10px; }
  .nav.min { cursor: pointer; }
}
@media (max-width: 359px) { .nav { width: calc(100% - 90px); padding: 5px; } .nav a { font-size: 9px; letter-spacing: 0; padding: 0; } .nav .badge { right: 2px; left: auto; } }
