/* Tableau de bord : blocs réorganisables */

/* Tableau de bord */
.next-mission .nm-title { display: block; font-size: 1.15rem; font-weight: 700; margin: .25rem 0 .1rem; }
.next-mission p { margin: .15rem 0; }
.req-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.req-list li { display: flex; gap: .55rem; align-items: baseline; }
.req-mark { flex: 0 0 1.3rem; height: 1.3rem; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: .8rem; font-weight: 700; border: 2px solid var(--line); color: var(--muted, #8aa4bf); }
.req-list li.ok .req-mark { border-color: var(--ok); background: var(--ok); color: #08131c; }
.req-list li.ok > span > a { color: inherit; }

/* ---- tableau de bord personnalisable */
.dash-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.dash-blocks > .dash-block { grid-column: 1 / -1; position: relative; margin: 0; }
.dash-blocks > .dash-block.small-block { grid-column: auto; align-self: stretch; }
@media (max-width: 800px) { .dash-blocks { grid-template-columns: 1fr; } }
.dash-handle { position: absolute; top: .45rem; right: .45rem; z-index: 2; width: 1.7rem; height: 1.7rem; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: grab; font-size: 1.05rem; line-height: 1; touch-action: none; opacity: .55; }
.dash-block:hover .dash-handle, .dash-handle:focus-visible { opacity: 1; border-color: var(--line); background: var(--panel-2); }
@media (hover: none) { .dash-handle { opacity: .9; } }
.dash-block .mrow, .dash-block > h2, .dash-block > h3, .dash-block > .pagehead { padding-right: 2rem; }
.dash-dragging { opacity: .35; outline: 2px dashed var(--accent); outline-offset: 2px; }
.dash-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45); outline: 2px solid var(--accent); background: linear-gradient(var(--panel-2), var(--panel-2)), var(--bg, #0b1118) !important;
  backdrop-filter: none; opacity: 1; }
body.dash-moving, body.dash-moving * { cursor: grabbing !important; user-select: none; }
.dash-hint { margin: -.4rem 0 .7rem; }
.dash-handle-demo { display: inline-block; padding: 0 .25rem; border: 1px solid var(--line); border-radius: 4px; }
.dash-reset[hidden] { display: none; }
.date-picker .picked { margin: .15rem 0 .45rem; font-weight: 600; padding: .3rem .55rem; border-radius: 6px; display: inline-block;
  background: var(--panel-2); border: 1px solid var(--line); transition: box-shadow .2s; }
.date-picker .picked.flash { box-shadow: 0 0 0 2px var(--accent); }
.date-picker .cal-day { cursor: pointer; }
