/* Mes contenus : cartes communes avec la vitrine, actions uniquement après sélection. */
html body.page-shell .account-content-manager{width:100%;min-width:0}
html body.page-shell .account-content-selection-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding:10px 0 15px;margin-bottom:16px}
html body.page-shell .account-content-all{display:inline-flex;align-items:center;gap:9px;color:var(--text);font-size:13px;cursor:pointer}
html body.page-shell .account-content-all input{width:17px;height:17px;accent-color:var(--accent)}
html body.page-shell [data-content-selected-count]{font-size:12px;color:var(--muted)}
html body.page-shell .account-content-manager-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;align-items:start}
html body.page-shell .account-content-manager-grid:has(.account-content-action-panel:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(235px,275px)}
html body.page-shell .account-content-cards{min-width:0}
html body.page-shell .account-content-cards .explore-grid{width:100%;min-width:0}
html body.page-shell .account-content-cards .explore-card{position:relative}
html body.page-shell .account-content-cards .explore-card.is-account-selected{outline:2px solid var(--accent);outline-offset:2px}
/* One checkbox only: a 34px accessible click target with no second visible square. */
html body.page-shell .account-content-select{position:absolute!important;z-index:6!important;left:12px!important;top:12px!important;width:34px!important;height:34px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer}
html body.page-shell .account-content-select::before,html body.page-shell .account-content-select::after{content:none!important;display:none!important}
html body.page-shell .account-content-select input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;appearance:none!important;cursor:pointer;margin:0!important}
html body.page-shell .account-content-select>span{display:block;pointer-events:none;width:22px;height:22px;border:1.5px solid #fff;border-radius:5px;background:rgba(18,18,18,.85);box-shadow:0 1px 4px rgba(0,0,0,.35);transition:background-color .18s,border-color .18s}
html body.page-shell .account-content-select:has(input:checked)>span{background:var(--accent);border-color:var(--accent)}
html body.page-shell .account-content-select:has(input:checked)>span:after{content:"";display:block;width:8px;height:12px;border-right:2px solid white;border-bottom:2px solid white;transform:rotate(43deg);margin:0 0 2px 6px}
html body.page-shell .account-content-select:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
html body.page-shell .account-content-action-panel{position:sticky;top:74px;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:18px;box-sizing:border-box;display:grid;gap:14px}
html body.page-shell .account-content-action-panel[hidden]{display:none!important}
html body.page-shell .account-content-action-header{display:grid;gap:6px}
html body.page-shell .account-content-action-header>span{font-size:10px;letter-spacing:.075em;color:var(--accent)}
html body.page-shell .account-content-action-header h3{font-size:15px;font-weight:500;line-height:1.4;margin:0;overflow-wrap:anywhere;color:var(--text)}
html body.page-shell .account-content-action-header p{font-size:12px;color:var(--muted);margin:0}
html body.page-shell .account-content-action-links,html body.page-shell .account-content-action-form{display:grid;gap:7px}
html body.page-shell .account-content-action-links>a,html body.page-shell .account-content-action-form>button{display:flex;align-items:center;gap:9px;min-height:39px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);font-size:13px!important;font-weight:400!important;text-decoration:none;text-align:left;cursor:pointer;box-sizing:border-box;justify-content:flex-start}
html body.page-shell .account-content-action-links>a[hidden],html body.page-shell .account-content-action-form>button[hidden]{display:none!important}
html body.page-shell .account-content-action-links svg,html body.page-shell .account-content-action-form svg{height:16px;width:16px;stroke:currentColor;fill:none}
html body.page-shell .account-content-action-form .is-danger{color:#f48a86;border-color:color-mix(in srgb,#f48a86 40%,var(--line))}
html body.page-shell .account-content-action-links>a:hover,html body.page-shell .account-content-action-form>button:hover{background:color-mix(in srgb,var(--accent) 12%,var(--surface));border-color:var(--accent)}
html body.page-shell .account-content-clear{border:0;background:transparent;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;justify-self:start}
@media(max-width:960px){html body.page-shell .account-content-manager-grid:has(.account-content-action-panel:not([hidden])){grid-template-columns:minmax(0,1fr)}html body.page-shell .account-content-action-panel{position:static;grid-row:1;grid-template-columns:minmax(0,1fr)}}
@media(max-width:580px){html body.page-shell .account-content-selection-head{align-items:flex-start;flex-direction:column}html body.page-shell .account-content-action-panel{padding:13px}html body.page-shell .account-content-action-links,html body.page-shell .account-content-action-form{grid-template-columns:repeat(2,minmax(0,1fr))}html body.page-shell .account-content-action-links>a,html body.page-shell .account-content-action-form>button{min-width:0;padding:8px;line-height:1.3;font-size:12px!important}}

/* ACCOUNT_CONTENT_FOREGROUND_CHECKBOX_V2
   Own contents only. Thumbnail/title links cannot intercept the selection
   square; the checkbox remains a real native input for touch and keyboard. */
html body.page-shell.route-compte .account-content-cards .explore-card{
  position:relative!important;
  isolation:isolate!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select{
  position:absolute!important;
  inset:10px auto auto 10px!important;
  z-index:1000!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  cursor:pointer!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select>input[data-account-content-check]{
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  appearance:none!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select>span{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  box-sizing:border-box!important;
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  margin:0!important;
  padding:0!important;
  border:1.5px solid #fff!important;
  border-radius:6px!important;
  background:rgba(18,18,18,.92)!important;
  box-shadow:0 1px 5px #0008!important;
  pointer-events:none!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select>span::before{
  content:none!important;
  display:none!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select>span::after{
  content:none!important;
  display:none!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select:has(>input:checked)>span{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select:has(>input:checked)>span::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  box-sizing:border-box!important;
  width:7px!important;
  height:12px!important;
  margin:0!important;
  border:solid #fff!important;
  border-width:0 2px 2px 0!important;
  border-radius:0!important;
  background:transparent!important;
  transform:translate(-50%,-60%) rotate(45deg)!important;
  pointer-events:none!important;
}
html body.page-shell.route-compte .account-content-cards .explore-card>.account-content-select:has(>input:focus-visible){
  outline:2px solid var(--accent)!important;
  outline-offset:2px!important;
}
html body.page-shell.route-compte .account-content-action-links[hidden]{
  display:none!important;
}

/* ACCOUNT_CONTENT_CARD_SELECT_V3 — clic sur la carte = sélection, sans navigation. */
html body.page-shell.route-compte .account-content-cards .explore-card{
  cursor:pointer;
}
html body.page-shell.route-compte .account-content-cards .explore-card :is(.explore-thumbnail,.explore-card-copy)[role=button]{
  cursor:pointer;
}
html body.page-shell.route-compte .account-content-cards .explore-card :is(.explore-thumbnail,.explore-card-copy)[role=button]:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}


/* Dashboard notifications: messages must be discoverable without the hamburger. */
html body.page-shell.route-compte .account-dashboard-unread-alert[hidden]{display:none!important}
html body.page-shell.route-compte .account-dashboard-unread-alert{
  display:flex;align-items:center;gap:12px;box-sizing:border-box;
  width:100%;margin:0 0 15px;padding:14px 17px;
  border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));
  border-radius:14px;background:color-mix(in srgb,var(--accent) 9%,var(--surface));
  color:var(--text);text-decoration:none;transition:border-color .2s,background .2s;
}
html body.page-shell.route-compte .account-dashboard-unread-alert>svg:first-child{
  flex:0 0 22px;width:22px;height:22px;color:var(--accent);
}
html body.page-shell.route-compte .account-dashboard-unread-alert>span{
  display:grid;gap:4px;min-width:0;flex:1;
}
html body.page-shell.route-compte .account-dashboard-unread-alert strong{
  color:var(--text);font-size:14px;font-weight:650;
}
html body.page-shell.route-compte .account-dashboard-unread-alert small{
  color:var(--muted);font-size:12px;line-height:1.45;
}
html body.page-shell.route-compte .account-dashboard-unread-alert>svg:last-child{
  flex:0 0 18px;width:18px;height:18px;color:var(--accent);
}
html body.page-shell.route-compte .account-dashboard-unread-alert:is(:hover,:focus-visible){
  border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,var(--surface));
}
html body.page-shell.route-compte .account-dashboard-links .account-dashboard-messages.has-unread{
  border-color:color-mix(in srgb,var(--accent) 62%,var(--line))!important;
}
html body.page-shell.route-compte .account-dashboard-links .account-dashboard-messages.has-unread .dashboard-card-meta{
  color:var(--accent)!important;
}
@media(max-width:580px){
  html body.page-shell.route-compte .account-dashboard-unread-alert{padding:12px;gap:10px}
  html body.page-shell.route-compte .account-dashboard-unread-alert strong{font-size:13px}
}

/* PROFILE_OWNER_CONTENT_MANAGER_V1: reuse member actions without ellipsis menus. */
html body.page-shell .profile-owner-content-list .account-content-manager{min-width:0;margin:0}
html body.page-shell .profile-owner-content-list .account-content-cards{min-width:0}
html body.page-shell .profile-owner-content-list .account-content-manager-grid{align-items:start}
html body.page-shell .profile-owner-content-list .account-content-action-panel{top:84px}
html body.page-shell .profile-owner-content-list .account-content-pin-form{margin:0;display:grid}
html body.page-shell .profile-owner-content-list .account-content-pin-form[hidden]{display:none!important}
html body.page-shell .profile-owner-content-list .account-content-pin-form>button{
 display:flex;align-items:center;gap:9px;justify-content:flex-start;
 width:100%;min-height:39px;padding:0 12px;
 border:1px solid var(--line);border-radius:9px;
 background:var(--bg);color:var(--text);font:inherit;font-size:13px;cursor:pointer;
}
html body.page-shell .profile-owner-content-list .account-content-pin-form>button:is(:hover,:focus-visible){border-color:var(--accent);color:var(--accent)}
html body.page-shell .profile-owner-content-list .account-content-pin-form>button svg{height:16px;width:16px}
html body.page-shell .profile-owner-content-list .account-content-action-panel .account-content-clear{justify-self:start}
@media(max-width:960px){
 html body.page-shell .profile-owner-content-list .account-content-action-panel{position:static}
}
