/* ADP Hub admin tweaks — loaded via UNFOLD["STYLES"] in core/settings.py */

/* Bigger sidebar logo (unfold hardcodes h-8 / 32px) */
img[alt="Home"] {
    height: 3rem !important;
}

/* Form fields: the theme's flat gray surfaces made input wells blend into
   the page. Give them a darker well and a clearly visible border. */
.dark input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.dark textarea,
.dark select {
    background-color: rgb(27 27 27) !important;  /* base-950: darker than any surface */
    border-color: rgb(113 113 113) !important;   /* base-500: obvious edge */
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
    border-color: rgb(235 189 89) !important;    /* theme gold */
}

/* Sync rules changelist: keep the direction dropdowns readable and let
   the long text columns wrap instead of hogging width. */
#result_list select,
table select {
    min-width: 8.5rem !important;
}

td.field-logic,
td.field-notes {
    white-space: normal !important;
    min-width: 16rem;
    max-width: 28rem;
}
