/* ============================================================
   Annuities and TIPS Ladders: ONE box of cards each (2026-11-22,
   .automation/planning/annuitytipscards/). js/app/contentboxes/_shared/slotCardsBox.js
   moves each slot's editor (its own box's body, every control with its id) into an
   entry card; the slot's own box stays in the page as stored controls, clipped and
   inert (.box-stored, css/withdrawal-strategy-box.css), never display:none.
   The card's look is css/entry-cards.css; this file only settles the moved body and
   the card's heading row.
   ============================================================ */

/* The moved body is a part of the card, not a box of its own: no tray, no frame, no
   clip (a dropdown inside opens past the card), never folded by its stored box. */
.content-box .slot-card > .content-box-body.slot-card-body {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible;
    opacity: 1;
}
.content-box .slot-card > .content-box-body.slot-card-body > .content-section:first-child {
    padding-top: 2px;
}

/* The heading row: the slot's chart colour, its name, a "not counted" chip, Remove. */
.slot-card-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ui-borders-borderDefault); }
.slot-card-chip {
    flex: none;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--ui-borders-borderDefault);
    color: var(--ui-text-secondaryText);
    font-size: var(--text-xs, 12px);
    font-weight: 600;
    white-space: nowrap;
}
.slot-card-chip[hidden] { display: none; }
.slot-card-remove {
    flex: none;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    color: var(--ui-text-mutedText);
    font-size: var(--text-small, 14px);
}
.slot-card-remove:hover,
.slot-card-remove:focus-visible { background: var(--ui-backgrounds-hoverBg); color: var(--color-semantic-danger); }
/* The slot's name and colour say which one it is, so the entry number stays out (the Pensions box rule). With
   one card the Add box's switch is the off switch: no Remove. */
.content-box-body .slot-card.entry-card .entry-card-num,
.content-box-body .slot-card.entry-card.is-single .slot-card-remove { display: none; }
.slot-card-scope-note { margin: 0 0 8px; }
.slot-card-scope-note[hidden] { display: none; }
.slot-cards-add[hidden] { display: none; }
.slot-cards-add { width: 100%; margin: 0 0 4px; }
