/* Clients on the space kit (Rami, 13 November 2026: "clients page is the same. both the top level page and the internal pages and
   tabs"). public/content.js deskList (the list: HubSpace.page, a space table, the sidebar) and head (a client's title line, top card and
   tabs, drawn over every tab by content.js, profile.js, vault.js, delivered.js…). The kit's own look is .sk-* in public/spacekit.css and
   .ht-space in public/hubtable.css; these rules only fit the client's own pieces into it, and give every tab's boxes the kit's white
   content cards. Cadence tokens only, so light and dark follow; logical sides, so Arabic mirrors; a phone keeps its own list. Every rule
   is scoped to #ctBody. */

/* ---------- the list: the title line's ⋯, the bar (Find a client, Filter), the table's first column ---------- */
html body #ctBody .sk-top>.cl-tmore:not(#_){margin-inline-start:auto;flex:none}
html body #ctBody .sk-top>.sk-title+.cl-tmore:not(#_){margin-inline-start:0}
html body #ctBody :is(.cl-tmore,.cl-kt .bk-more,.cl-kt .hl-more,.cl-kt .ip-more)>summary:not(#_):not(#_):not(#_){width:42px;height:42px;min-height:42px;padding:0;display:inline-grid;place-items:center;border:0;border-radius:12px;background:var(--surface);font-weight:700;letter-spacing:1px;box-shadow:none}
html body #ctBody :is(.cl-tmore,.cl-kt .bk-more,.cl-kt .hl-more,.cl-kt .ip-more)>summary:hover:not(#_):not(#_):not(#_){background:var(--surface-hover)}
html body #ctBody .cl-findw:not(#_){position:relative;display:inline-flex;align-items:center}
html body #ctBody .cl-findw>svg:not(#_){position:absolute;inset-inline-start:11px;width:15px;height:15px;fill:none;stroke:var(--ink-subtle);stroke-width:2;stroke-linecap:round;pointer-events:none}
html body #ctBody .cl-findw .cl-find:not(#_):not(#_):not(#_){width:220px;height:38px;min-height:38px;box-sizing:border-box;padding-inline:34px 12px!important;border:0!important;border-radius:999px!important;background:var(--surface)!important;box-shadow:none!important}
html body #ctBody .cl-filt:not(#_):not(#_){background:var(--surface)}
html body #ctBody .cl-filt.on:not(#_):not(#_){background:var(--c-ink);color:var(--surface)}
html body #ctBody .cl-filt svg:not(#_){width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html body #ctBody .sk-acts .cl-new:not(#_):not(#_){min-height:0;height:auto}
html body #ctBody .cl-cn:not(#_){display:flex;align-items:center;gap:10px;min-width:0;width:100%}
html body #ctBody .cl-cn>.ct-pick:not(#_):not(#_){flex:none;width:16px;height:16px;margin:0;accent-color:var(--c-ink)}
html body #ctBody .cl-cn>.cav:not(#_){flex:none}
html body #ctBody .cl-tbl .cl-nm:not(#_){display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto}
html body #ctBody .cl-tbl .cl-sub:not(#_){font-size:12.5px;color:var(--ink-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #ctBody .cl-tbl tr:has(.cl-offn)>td:not(#_){opacity:.58}
html body #ctBody .cl-tbl tr.cl-nofind:not(#_):not(#_){display:none} /* Find a client, in place */
html body #ctBody .cl-tbl :is(select.find,input.find):not(#_):not(#_):not(#_){width:100%;max-width:100%;min-height:34px;height:34px;border:0;border-radius:10px;background:transparent;box-shadow:none;font-size:14px}
html body #ctBody .cl-tbl :is(select.find,input.find):is(:hover,:focus):not(#_):not(#_):not(#_){background:var(--surface-sunken)}
html body #ctBody .cl-tbl select.ct-stsel:not(#_):not(#_):not(#_):not(#_){height:32px!important;min-height:32px!important;border-radius:999px!important;font-weight:600;padding-inline:12px 26px;max-width:150px}
html body #ctBody .cl-tbl .cl-mc:not(#_){flex-direction:row;align-items:center;gap:8px;white-space:nowrap;overflow:hidden}
html body #ctBody .cl-tbl .cl-mc .cl-sub:not(#_){overflow:hidden;text-overflow:ellipsis}
html body #ctBody .cl-tbl .cl-shoot:not(#_){flex-direction:row;align-items:baseline;gap:6px;white-space:nowrap;overflow:hidden}
html body #ctBody .ct-quiet.cl-inact:not(#_){display:flex;justify-content:center;margin:10px 0 0}
html body #ctBody .ct-quiet.cl-inact>button:not(#_):not(#_){border:0;border-radius:14px;padding:9px 14px;background:var(--surface-sunken);font-weight:600;font-size:14px;color:var(--c-ink);cursor:pointer}

/* ---------- the list's sidebar: Changes asked, Onboarding, Next shoots, Needs care ---------- */
html body #ctBody .cl-sl:not(#_){display:flex;flex-direction:column;gap:2px;margin-top:4px}
html body #ctBody .cl-sli:not(#_){display:flex;align-items:center;gap:10px;padding:6px;margin:0 -6px;border-radius:10px;color:var(--c-ink);text-decoration:none;min-width:0}
html body #ctBody .cl-sli:hover:not(#_){background:var(--surface-hover)}
html body #ctBody .cl-sli>span:not(.cav):not(#_){display:flex;flex-direction:column;min-width:0}
html body #ctBody .cl-sli b:not(#_){font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #ctBody .cl-sli small:not(#_){font-size:12.5px;color:var(--ink-subtle);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #ctBody .cl-snone:not(#_){margin:4px 0 0;font-size:13.5px}

/* ---------- a client's page: the kit's frame around every tab ---------- */
html body #ctBody:has(>.cl-kt):not(#_),html body #ctBody:has(>.ed-top>.cl-kt):not(#_){display:flex;flex-direction:column;gap:14px;color:var(--c-ink)}
html body #ctBody>.ed-top:has(>.cl-kt):not(#_):not(#_):not(#_){display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:flex-start!important;gap:14px 12px;margin:0!important}
html body #ctBody>.ed-top>:is(.cl-kt,.sk-card):not(#_):not(#_):not(#_){flex:1 1 100%!important;width:100%!important;min-width:0;box-sizing:border-box}
html body #ctBody>.ed-top:has(>.cl-kt)>.ct-tabs:not(#_):not(#_):not(#_){flex:1 1 0!important;min-width:0;width:auto!important}
html body #ctBody .cl-kt.ct-hd:not(#_):not(#_):not(#_){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px 10px;margin:0!important;padding:0!important;min-width:0}
html body #ctBody .cl-kt .sk-title:not(#_):not(#_):not(#_){margin:0!important;min-width:0;white-space:nowrap}
html body #ctBody .cl-kt .sk-title:not(#_):not(#_){flex:0 1 auto;overflow:visible}
html body #ctBody .cl-kt .cl-tsp:not(#_){flex:1}
html body #ctBody .cl-kt .sk-back svg:not(#_){fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html body #ctBody .cl-chead.cl-kt .sk-back.ct-up:not(#_):not(#_):not(#_){display:inline-flex;font-size:14px;font-weight:600;color:var(--ink-subtle)}
html body #ctBody .cl-kt .hl-cname:not(#_):not(#_):not(#_){font:inherit;letter-spacing:inherit;padding:0;border:0;background:none;display:inline-flex;align-items:center;gap:6px}
html body #ctBody .cl-kt .ct-hdren:not(#_){flex:none}
html body #ctBody .cl-kt .ct-hdr:not(#_){display:inline-flex;flex:none}
html body #ctBody :is(.cl-kt+.sk-card,.ed-top>.sk-card) .sk-when>b:not(#_):not(#_){font-size:22px}
html body #ctBody .sk-card .cl-meta:not(#_):not(#_){display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:14px 0 0;font-size:14px;color:var(--ink-muted)}
html body #ctBody .sk-card .cl-meta .cl-sep:not(#_){font-style:normal;color:var(--ink-subtle)}
html body #ctBody .sk-card .cl-ig:not(#_){color:var(--c-ink);font-weight:600;text-decoration:none}
html body #ctBody .sk-card .sk-right select.ct-hdst:not(#_):not(#_):not(#_):not(#_){height:38px!important;min-height:38px!important;border:0!important;border-radius:999px!important;font-weight:600;font-size:14.5px;padding-inline:14px 30px;width:auto!important;max-width:none}
html body #ctBody .sk-card .sk-acts :is(.cl-hbtn,.cl-hubm>summary):not(#_):not(#_):not(#_){display:inline-flex;align-items:center;gap:7px;border:0;border-radius:14px;padding:9px 14px;font-size:14px;font-weight:600;background:var(--surface-sunken);color:var(--c-ink);min-height:0;height:auto;box-shadow:none;text-decoration:none}
html body #ctBody .sk-card .sk-acts :is(.cl-hbtn,.cl-hubm>summary):hover:not(#_):not(#_):not(#_){background:var(--surface-hover)}
html body #ctBody .sk-card .sk-acts svg:not(#_){width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body #ctBody .ct-tabs.sk-tabs:not(#_):not(#_){margin:0;gap:4px;flex-wrap:nowrap}
html body #ctBody .ct-tabs.sk-tabs>a.sk-tab:not(#_):not(#_):not(#_){margin-bottom:0;padding:9px 14px 11px;border-bottom:3px solid transparent;font-size:17px;font-weight:600;color:var(--ink-muted);text-decoration:none;white-space:nowrap;display:flex;gap:8px;align-items:center}
html body #ctBody .ct-tabs.sk-tabs>a.sk-tab:hover:not(#_):not(#_):not(#_){color:var(--c-ink)}
html body #ctBody .ct-tabs.sk-tabs>a.sk-tab:is(.on,[aria-selected="true"]):not(#_):not(#_):not(#_){color:var(--c-ink);border-bottom-color:var(--c-ink)}
html body #ctBody .ct-tabs.sk-tabs .ct-vlk:not(#_){width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}

/* ---------- every tab's own boxes: the kit's white content cards (no borders, rounded) ---------- */
html body #ctBody:has(>.cl-kt) :is(.card.ch-panel,.ovb-b,.cst-row):not(#_):not(#_):not(#_),html body #ctBody:has(>.ed-top>.cl-kt) :is(.card,.ch-panel,.pf-sec,.ovb-b):not(.sk-card):not(#_):not(#_){background:var(--surface)!important;border:0!important;border-radius:18px!important;box-shadow:none!important}
html body #ctBody:has(>.ed-top>.cl-kt) .pf-sec:not(.card):not(#_):not(#_){padding:16px 18px}
html body #ctBody:has(>.cl-kt) .ovb-b:not(#_):not(#_){padding:16px 18px}
html body #ctBody:has(>.cl-kt) .cl-ov:not(#_){margin:0}
html body #ctBody:has(>.cl-kt) .ovb-b>h3:not(#_):not(#_),html body #ctBody:has(>.cl-kt) .ovb-b>header:not(#_):not(#_){border-bottom:0}

@media (max-width:760px){
  html body #ctBody>.ed-top:has(>.cl-kt)>.ct-tabs:not(#_):not(#_):not(#_){flex:1 1 100%!important;width:100%!important}
  html body #ctBody .cl-kt .sk-back>span:not(#_){display:none}
  html body #ctBody .cl-kt .sk-title:not(#_):not(#_){font-size:19px}
  html body #ctBody .cl-findw:not(#_){flex:1 1 100%}
  html body #ctBody .cl-findw .cl-find:not(#_):not(#_):not(#_){width:100%}
  html body #ctBody .ct-tabs.sk-tabs>a.sk-tab:not(#_):not(#_):not(#_){font-size:15.5px;padding:9px 10px 10px}
}
