/* =====================================================================
   Clix Creator dashboard — kit additions for variants B/C (shared, part 2).
   Loaded after dash.css on every page. Same rules: variants never restyle.
   ===================================================================== */

/* table in card mode (card grid at every width, same pagination/search/filter) */
.dt.is-cards .dt-scroll { display: none; }
.dt.is-cards .dt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; padding: 14px; }

/* wizard steps */
.steps { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.steps::-webkit-scrollbar { display: none; }
.steps li { display: flex; align-items: center; gap: 8px; flex: none; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.steps li + li::before { content: ""; width: 22px; height: 2px; background: radial-gradient(circle, var(--dot-strong) 1px, transparent 1.4px) 0 0 / 6px 2px repeat-x; }
.steps li.is-done + li::before { background: var(--ink); }
.st-dot { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 800; color: var(--muted); }
.steps li.is-done .st-dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.steps li.is-now { color: var(--ink); }
.steps li.is-now .st-dot { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 4px rgb(255 90 10 / .14); }
@media (max-width: 559px) { .steps .st-l { display: none; } .steps li.is-now .st-l { display: inline; } }

/* action tiles */
.atiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.atile { position: relative; display: grid; gap: 8px; align-content: start; min-height: 128px; padding: 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-align: left; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.atile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--orange-line); }
.atile.is-primary { border-color: var(--orange-line); background: radial-gradient(circle, rgb(255 90 10 / .10) 1px, transparent 1.4px) 0 0 / 12px 12px, var(--surface); }
.atile-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-wash); color: var(--orange); border: 1px solid var(--orange-line); }
.atile-ic .sprite { width: 22px; height: 22px; }
.atile-ic svg:not(.sprite) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.atile b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.atile small { font-size: var(--fs-sm); color: var(--muted); }
.atile .atile-go { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease), color .2s; }
.atile:hover .atile-go { color: var(--orange); transform: translateX(3px); }

/* settings list (app style) */
.slist { display: grid; }
.srow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: inherit; transition: background-color .15s; }
.srow:last-child { border-bottom: 0; }
.srow:hover { background: var(--surface-2); }
.srow .atile-ic { width: 40px; height: 40px; }
.srow b { display: block; font-size: 15px; font-weight: 750; color: var(--ink); }
.srow small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: var(--fs-sm); color: var(--muted); overflow: hidden; }
.srow .srow-v { font-size: var(--fs-sm); font-weight: 650; color: var(--muted); white-space: nowrap; }
.srow > svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 479px) {
  .srow { grid-template-columns: 40px minmax(0, 1fr) 18px; } .srow .srow-v { display: none; }
  /* two lines before the cut, so a description or a request keeps its meaning */
  .srow b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; }
}

/* hero box (guided variants) */
.box.is-hero { border-color: var(--orange-line); background: radial-gradient(circle, rgb(255 90 10 / .10) 1px, transparent 1.4px) 0 0 / 14px 14px, var(--surface); }
.hero-hi { font-size: var(--fs-xl); font-weight: 850; letter-spacing: -.03em; color: var(--ink); }

/* disclosure section (collapsible box) */
details.box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: var(--ink); }
details.box > summary::-webkit-details-marker { display: none; }
details.box > summary svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--ease); }
details.box[open] > summary svg { transform: rotate(180deg); }
details.box > summary small { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }
