/* =========================================================================
   ILLUMINATED BUTTONS  (chosen 25 September 2026)
   The only change on top of the original site: glowing rose-gold main
   buttons, glowing sage-green secondary buttons, and the record status in
   ivory gold (On the record) and soft blue (Off the record).
   Loaded last on every page. Delete this file and its link to undo.
   ========================================================================= */

.btn-rose,.btn-admin,.action-btn--cta,.page-link--cta,.hero-link--cta,.msla-x,.btn-join{background:linear-gradient(180deg,#fde7e2 0%,#f4c3bb 52%,#e8a89f 100%)!important;color:#4a2823!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(240,170,160,.45),0 6px 22px rgba(240,170,160,.5),0 0 32px rgba(240,170,160,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.btn-ghost,.action-btn:not(.action-btn--cta),.segmented button,.btn-sage,.btn-action{background:linear-gradient(180deg,#eef6ec 0%,#cfe2cc 52%,#b3cfb0 100%)!important;color:#2d4731!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(150,195,150,.45),0 6px 22px rgba(150,195,150,.5),0 0 32px rgba(150,195,150,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.btn-hivis-end{background:linear-gradient(180deg,#fde7e2 0%,#f4c3bb 52%,#e8a89f 100%)!important;color:#4a2823!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(240,170,160,.45),0 6px 22px rgba(240,170,160,.5),0 0 32px rgba(240,170,160,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.pill--ok,#connPill.pill--ok{background:linear-gradient(180deg,#eef6ec 0%,#cfe2cc 52%,#b3cfb0 100%)!important;color:#2d4731!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(150,195,150,.45),0 6px 22px rgba(150,195,150,.5),0 0 32px rgba(150,195,150,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.record-banner.on-record,#recordPill.pill--live{background:linear-gradient(180deg,#fdf8ea 0%,#f1e2b8 52%,#e2c98e 100%)!important;color:#4d3d18!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(226,201,142,.45),0 6px 22px rgba(226,201,142,.5),0 0 32px rgba(226,201,142,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.record-banner.off-record,#recordPill:not(.pill--live){background:rgba(191,222,243,.14)!important;color:#d6ebf8!important;border:1px solid rgba(191,222,243,.45)!important;box-shadow:none!important;}
.record-banner.on-record *,#recordPill .pill-dot{background:currentColor!important}

/* =========================================================================
   v1.7.3 — ONE BUTTON SIZE EVERYWHERE
   Every button on every page is a rounded pill (no corners) with the same
   height, padding, font and weight. There are only two sizes:
     standard = 44 px tall, 14 px text (every normal button)
     compact  = 34 px tall, 13 px text (inside tables and lists, A-/A+)
   The compact size is the standard size scaled down evenly.
   Only the colour says what kind of button it is:
     rose-gold = the main action, sage = everything else,
     outline   = quiet actions (Remove, + Add, Cancel).
   ========================================================================= */
.btn-rose,.btn-ghost,.btn-plain,.btn-sm,.btn-admin,.btn-join,.btn-sage,.btn-action,.btn-secondary,
.btn-modal-cancel,.btn-modal-confirm,.btn-danger,.btn-hivis-end,.action-btn,.page-link--cta,.hero-link--cta,
.msla-x,.file-btn,.btn,.btn-tehillim-link,.exhibit-log-btn,.rt-btn,.btn-font-size,.segmented button,.mp-act{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    box-sizing:border-box!important;min-height:44px!important;height:auto!important;padding:10px 22px!important;
    font-family:var(--font-ui,inherit)!important;font-size:14px!important;font-weight:600!important;line-height:1.25!important;
    letter-spacing:.01em!important;text-transform:none!important;text-align:center!important;text-decoration:none!important;
    border-radius:999px!important;min-width:0!important;max-width:100%!important;vertical-align:middle!important;cursor:pointer;
    transition:transform .15s ease,filter .15s ease!important;
}
.btn-rose:hover,.btn-ghost:hover,.btn-plain:hover,.btn-admin:hover,.btn-join:hover:not(:disabled),.btn-secondary:hover,
.action-btn:hover,.page-link--cta:hover,.hero-link--cta:hover,.file-btn:hover,.btn:hover,.btn-modal-cancel:hover,.btn-modal-confirm:hover{filter:brightness(1.04);transform:translateY(-1px);}
.btn-rose:disabled,.btn-ghost:disabled,.btn-plain:disabled,.btn-join:disabled,.btn-secondary:disabled,.btn:disabled{opacity:.5!important;cursor:not-allowed!important;transform:none!important;filter:none!important;}
/* Compact: the same pill, scaled down evenly. */
.btn-sm,.btn-font-size,.exhibit-log-btn,.mp-act,.segmented button,td .btn-rose,td .btn-ghost,td .btn-plain,.up-btns .btn-rose,.up-btns .btn-ghost,.up-btns .btn-plain{
    min-height:34px!important;padding:6px 16px!important;font-size:13px!important;gap:6px!important;}
/* Quiet buttons: same size, outline only. */
.btn-plain,.btn-modal-cancel,.msla-x{background:transparent!important;color:#f3ecd9!important;border:1px solid rgba(255,255,255,.38)!important;box-shadow:none!important;text-shadow:none!important;}
.btn-plain.btn-danger-text{color:#f6b8b0!important;border-color:rgba(246,184,176,.5)!important;}
/* Sage for the secondary buttons that were never styled before. */
.btn-secondary,.file-btn,.exhibit-log-btn,.btn-font-size,.btn-tehillim-link,.mp-act{background:linear-gradient(180deg,#eef6ec 0%,#cfe2cc 52%,#b3cfb0 100%)!important;color:#2d4731!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(150,195,150,.45),0 6px 22px rgba(150,195,150,.5),0 0 32px rgba(150,195,150,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
.btn-modal-confirm,.btn-danger{background:linear-gradient(180deg,#fde7e2 0%,#f4c3bb 52%,#e8a89f 100%)!important;color:#4a2823!important;border:1px solid rgba(255,255,255,.78)!important;text-shadow:0 1px 0 rgba(255,255,255,.5)!important;box-shadow:0 0 0 1px rgba(240,170,160,.45),0 6px 22px rgba(240,170,160,.5),0 0 32px rgba(240,170,160,.4),inset 0 1px 0 rgba(255,255,255,.85)!important;}
/* Rows of buttons line up evenly, centred on small screens. */
.btn-row,.btns,.btn-wrap,.up-btns,.hu-btns{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;}
.btn-row>.btn-row,.btn-row>label.check-line{flex:1 1 100%;}
@media (max-width:640px){.btn-row,.btns{justify-content:center!important;}}
/* Small, light-surface pages (upload, order sheet) keep quiet buttons readable. */
body.light .btn-plain,body.light .btn-modal-cancel{color:#2b2b2b!important;border-color:rgba(0,0,0,.25)!important;}
/* A hidden button always stays hidden. */
[hidden],.btn-rose[hidden],.btn-ghost[hidden],.btn-plain[hidden],.btn-secondary[hidden],.btn[hidden],.file-btn[hidden]{display:none!important;}
