/* ==========================================================================
   BioMov Lab Presenze — interfaccia v1.2 (stile "Apple": chiaro, morbido, orari in evidenza)
   Tutto è limitato a .bml per non entrare in conflitto con il tema.
   ========================================================================== */
.bml {
  --bml-ink: #1d1d1f; --bml-mute: #6e6e73; --bml-faint: #8e8e93;
  --bml-bg: #f5f5f7; --bml-card: #fff; --bml-line: rgba(60, 60, 67, .12);
  --bml-blue: #0071e3; --bml-blue-d: #0058b0; --bml-blue-soft: #e6f0fd;
  --bml-green: #34c759; --bml-green-t: #1a7f37; --bml-green-soft: #e3f6e8;
  --bml-yellow: #ffcc00; --bml-yellow-t: #8a5a00; --bml-yellow-soft: #fff3c4;
  --bml-red: #ff3b30; --bml-red-t: #b3261e; --bml-red-soft: #fde8e7;
  --bml-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; line-height: 1.45; color: var(--bml-ink); background: var(--bml-bg) !important;
  border-radius: 32px; padding: 34px; margin: 24px 0; box-sizing: border-box; text-align: left;
  -webkit-font-smoothing: antialiased; text-transform: none; letter-spacing: normal;
}
.bml *, .bml *::before, .bml *::after { box-sizing: border-box; }
.bml [hidden] { display: none !important; }
.bml h2, .bml h3, .bml h4, .bml p, .bml ul, .bml ol, .bml li, .bml dl, .bml dd { margin: 0; padding: 0; text-transform: none; letter-spacing: normal; }
.bml ul, .bml ol { list-style: none; }
.bml a { text-decoration: none; }
.bml .bml-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bml .bml-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Intestazione */
.bml .bml-head { margin-bottom: 24px; }
.bml .bml-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bml-blue); margin-bottom: 6px; }
.bml .bml-eyebrow--mute { color: var(--bml-faint); margin-bottom: 4px; }
.bml .bml-title { font-family: inherit; text-transform: none; font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; color: var(--bml-ink); margin: 0; }
.bml .bml-sub { margin-top: 10px; max-width: 640px; color: var(--bml-mute); font-size: 16px; }
.bml .bml-sec { margin-bottom: 16px; }
.bml .bml-sec:empty { display: none; }

/* Schede */
.bml .bml-card { background: var(--bml-card) !important; border-radius: 24px; padding: 24px; box-shadow: var(--bml-shadow); border: 0; margin-bottom: 16px; }
.bml .bml-sec > .bml-card:last-child, .bml .bml-app > .bml-card:last-child { margin-bottom: 0; }
.bml .bml-h3 { font-family: inherit; text-transform: none; font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--bml-ink); margin: 0 0 6px; }
.bml .bml-h4 { font-family: inherit; text-transform: none; font-size: 13px; font-weight: 700; color: var(--bml-mute); margin: 22px 0 8px; letter-spacing: .02em; }
.bml .bml-muted { color: var(--bml-mute); }
.bml .bml-help { font-size: 13.5px; line-height: 1.5; margin: 0 0 12px; }
.bml .bml-warn { color: var(--bml-yellow-t); background: var(--bml-yellow-soft) !important; border-radius: 14px; padding: 12px 14px; }
.bml .bml-error { color: var(--bml-red-t); background: var(--bml-red-soft) !important; border-radius: 12px; padding: 10px 14px; margin-top: 10px; }
.bml .bml-hint { color: var(--bml-faint); font-size: 13px; margin-top: 10px; text-align: center; }
.bml .bml-alert { background: var(--bml-red-soft) !important; color: var(--bml-red-t); border-radius: 18px; padding: 14px 18px; margin-bottom: 16px; font-weight: 500; }
.bml .bml-ok-line { color: var(--bml-green-t); font-weight: 600; margin: 10px 0; }

/* Orari in evidenza: pillole */
.bml .bml-tp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.005em; white-space: nowrap; background: var(--bml-blue-soft) !important; color: var(--bml-blue-d); }
.bml .bml-tp--b { background: var(--bml-blue-soft) !important; color: var(--bml-blue-d); }
.bml .bml-tp--g { background: var(--bml-green-soft) !important; color: var(--bml-green-t); }
.bml .bml-tp--y { background: var(--bml-yellow-soft) !important; color: var(--bml-yellow-t); }
.bml .bml-tp--r { background: var(--bml-red-soft) !important; color: var(--bml-red-t); }
.bml .bml-tp--n { background: rgba(60, 60, 67, .08) !important; color: var(--bml-mute); }
.bml .bml-tp--lg { font-size: 18px; padding: 6px 15px; font-weight: 700; }
.bml .bml-tp-f { font-style: normal; opacity: .7; font-size: 13px; }
.bml .bml-tp--rm { padding-right: 5px; }
.bml .bml-tp .bml-x { width: 22px; height: 22px; font-size: 10px !important; margin-left: 2px; background: rgba(0, 88, 176, .12) !important; color: var(--bml-blue-d) !important; }
.bml .bml-tp .bml-x:hover { background: var(--bml-red) !important; color: #fff !important; }

/* Pulsanti */
.bml button.bml-btn {
  appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  font-family: inherit !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important;
  text-transform: none !important; letter-spacing: normal !important; text-shadow: none !important;
  border: 0 !important; border-radius: 999px !important; padding: 11px 22px !important; min-height: 44px; cursor: pointer;
  transition: background .18s, transform .1s; box-shadow: none !important;
}
.bml button.bml-btn--sm { padding: 8px 16px !important; min-height: 38px; font-size: 14px !important; }
.bml button.bml-btn--primary { background: var(--bml-blue) !important; color: #fff !important; }
.bml button.bml-btn--primary:hover { background: var(--bml-blue-d) !important; }
.bml button.bml-btn--ghost { background: rgba(60, 60, 67, .09) !important; color: var(--bml-ink) !important; }
.bml button.bml-btn--ghost:hover { background: rgba(60, 60, 67, .15) !important; }
.bml button.bml-btn--danger { background: var(--bml-red) !important; color: #fff !important; }
.bml button.bml-btn--danger:hover { background: #d92d23 !important; }
.bml button.bml-btn:active { transform: scale(.97); }
.bml button.bml-btn:disabled { opacity: .55; cursor: default; }
.bml button:focus-visible, .bml summary:focus-visible, .bml select:focus-visible { outline: 3px solid rgba(0, 113, 227, .45); outline-offset: 2px; }
.bml button.bml-x { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; background: rgba(60, 60, 67, .09) !important; color: var(--bml-mute) !important; border: 0 !important; border-radius: 50% !important; width: 32px; height: 32px; padding: 0 !important; margin: 0; cursor: pointer; font-size: 13px !important; line-height: 1 !important; box-shadow: none !important; flex: none; }
.bml button.bml-x:hover { background: var(--bml-red-soft) !important; color: var(--bml-red-t) !important; }

/* Campi */
.bml .bml-input, .bml input.bml-input, .bml select.bml-input {
  display: block; width: 100%; max-width: 100%; height: 46px; margin: 0; padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--bml-ink);
  background: #fff !important; border: 1px solid rgba(60, 60, 67, .2) !important; border-radius: 14px !important; text-transform: none !important; letter-spacing: normal !important;
  box-shadow: none !important; box-sizing: border-box;
}
.bml .bml-input:focus { outline: none; border-color: var(--bml-blue) !important; box-shadow: 0 0 0 4px rgba(0, 113, 227, .18) !important; }
.bml select.bml-select { appearance: none; -webkit-appearance: none; padding-right: 38px; font-weight: 600; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px 8px !important; }
.bml input.bml-time { width: 100%; min-width: 0; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; height: 50px; padding: 0 12px; }
.bml input.bml-wt { width: 142px; flex: 0 1 142px; min-width: 0; font-size: 17px; height: 44px; padding: 0 10px; text-align: center; }
.bml .bml-label, .bml .bml-tf-l { display: block; font-size: 12.5px; font-weight: 600; color: var(--bml-mute); margin: 0 0 6px 2px; text-transform: none; letter-spacing: normal; padding: 0; }
.bml .bml-tf { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; cursor: default; }
.bml .bml-tf .bml-tf-l { margin-bottom: 6px; }
.bml .bml-dash { color: var(--bml-faint); font-weight: 600; padding: 0 2px; align-self: center; }
.bml .bml-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.bml .bml-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--bml-mute); margin: 4px 0 14px; padding: 0; cursor: pointer; }
.bml .bml-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.bml .bml-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bml .bml-login .bml-btn, .bml .bml-login input[type=submit] { margin-top: 8px; }
.bml .bml-login input[type=text], .bml .bml-login input[type=password] { display: block; width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(60, 60, 67, .2); border-radius: 14px; font-size: 16px; background: #fff; }
.bml .bml-login input[type=submit] { background: var(--bml-blue) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 11px 26px !important; font-weight: 600; cursor: pointer; text-transform: none !important; letter-spacing: normal !important; }
.bml .bml-login label { display: block; font-size: 13px; font-weight: 600; color: var(--bml-mute); margin: 12px 0 6px; }
.bml .bml-login p { margin: 0 0 8px; }

/* ==========================================================================
   STAFF — stato di adesso
   ========================================================================== */
.bml .bml-hero { padding: 26px 26px 24px; }
.bml .bml-hero-top { display: flex; align-items: center; gap: 18px; }
.bml .bml-hero-txt { flex: 1 1 auto; min-width: 0; }
.bml .bml-ring { width: 58px; height: 58px; border-radius: 50%; flex: none; background: #c7c7cc !important; box-shadow: 0 0 0 9px rgba(199, 199, 204, .3) !important; display: block; padding: 0; }
.bml .bml-ring.is-g { background: var(--bml-green) !important; box-shadow: 0 0 0 9px rgba(52, 199, 89, .2) !important; }
.bml .bml-ring.is-y { background: var(--bml-yellow) !important; box-shadow: 0 0 0 9px rgba(255, 204, 0, .26) !important; }
.bml .bml-ring.is-h, .bml .bml-ring.is-r { background: var(--bml-red) !important; box-shadow: 0 0 0 9px rgba(255, 59, 48, .16) !important; }
.bml .bml-me-t { font-size: 28px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 6px; }
.bml .bml-hero-s { font-size: 16px; color: var(--bml-mute); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bml .bml-leave { flex: none; min-width: 124px; }
.bml .bml-quick { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--bml-line); }
.bml .bml-quick-l { display: block; font-size: 13px; font-weight: 650; color: var(--bml-mute); margin: 0 0 10px; padding: 0; }
.bml .bml-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bml button.bml-tchip { background: var(--bml-blue-soft) !important; color: var(--bml-blue-d) !important; font-size: 18px !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; padding: 10px 20px !important; min-height: 46px; }
.bml button.bml-tchip:hover { background: var(--bml-blue) !important; color: #fff !important; }
.bml .bml-other { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; padding: 0; margin-left: 4px; }
.bml .bml-other input.bml-time { width: 132px; height: 46px; font-size: 18px; }

/* Staff — colonne */
.bml .bml-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.bml .bml-cols > .bml-card { margin-bottom: 16px; }

/* Prossimi giorni */
.bml .bml-ag { display: grid; margin-top: 4px; }
.bml .bml-agrow { display: flex; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--bml-line); min-height: 62px; }
.bml .bml-agrow:first-child { border-top: 0; }
.bml .bml-agday { width: 44px; flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.bml .bml-agw { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bml-faint); }
.bml .bml-agn { font-size: 23px; font-weight: 700; letter-spacing: -.02em; margin-top: 1px; }
.bml .bml-agrow.is-today .bml-agw { color: var(--bml-blue); }
.bml .bml-agrow.is-today .bml-agn { color: var(--bml-blue); }
.bml .bml-agiv { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; min-width: 0; }

/* Aggiungi presenza */
.bml .bml-plan { display: grid; gap: 14px; margin: 14px 0 12px; }
.bml .bml-plan-t { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.bml .bml-plan-t .bml-dash { padding-bottom: 14px; align-self: end; }
.bml .bml-plan-p { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; }
.bml .bml-plan-p .bml-quick-l { margin: 0 4px 0 0; }

/* Orario fisso */
.bml .bml-wrows { display: grid; margin-top: 14px; }
.bml .bml-wrow { display: grid; grid-template-columns: 51px 108px 1fr; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--bml-line); }
.bml .bml-wrow:first-child { border-top: 0; }
.bml .bml-wday { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.bml .bml-wrow:not(.is-on) .bml-wday { color: var(--bml-faint); }
.bml .bml-wivs { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; min-width: 0; }
.bml .bml-wiv { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.bml button.bml-addiv { appearance: none; background: none !important; border: 0 !important; padding: 6px 4px !important; margin: 0; font: inherit; font-size: 14px !important; font-weight: 600; color: var(--bml-blue) !important; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bml-sw { appearance: none; -webkit-appearance: none; position: relative; display: block; width: 51px; height: 31px; border-radius: 999px !important; border: 0 !important; padding: 0 !important; margin: 0; background: #e5e5ea !important; cursor: pointer; flex: none; transition: background .2s; box-shadow: none !important; }
.bml button.bml-sw.is-on { background: var(--bml-green) !important; }
.bml .bml-sw-k { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff !important; box-shadow: 0 2px 5px rgba(0, 0, 0, .28) !important; transition: transform .2s; display: block; padding: 0; }
.bml button.bml-sw.is-on .bml-sw-k { transform: translateX(20px); }
.bml .bml-savebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: var(--bml-bg) !important; color: var(--bml-mute); }
.bml .bml-savebar.is-dirty { background: var(--bml-blue-soft) !important; color: var(--bml-blue-d); font-weight: 600; }
.bml .bml-savebar-b { display: inline-flex; gap: 8px; flex-wrap: wrap; padding: 0; }
.bml .bml-savebar b { color: var(--bml-ink); font-weight: 650; }

/* Laboratorio */
.bml .bml-lab-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bml .bml-lab-h .bml-h3 { margin: 0; }
.bml select.bml-daysel { width: auto; min-width: 220px; height: 42px; }
.bml .bml-openrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 16px; }
.bml .bml-openrow .bml-quick-l { margin: 0 6px 0 0; }
.bml .bml-cov-wrap { position: relative; padding-bottom: 26px; }
.bml .bml-cov { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 32px; position: relative; }
.bml .bml-cov-s { display: block; background: #e5e5ea !important; border-radius: 5px; padding: 0; }
.bml .bml-cov-s.is-open { background: #86dc9b !important; }
.bml .bml-cov-s.is-open.is-multi { background: var(--bml-green) !important; }
.bml .bml-cov-ticks { position: absolute; left: 0; right: 0; top: 38px; height: 16px; }
.bml .bml-cov-tick { position: absolute; transform: translateX(-50%); font-size: 12px; font-weight: 650; color: var(--bml-mute); font-variant-numeric: tabular-nums; padding: 0; }
.bml .bml-now { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--bml-red) !important; box-shadow: 0 0 0 2px #fff !important; padding: 0; }
.bml .bml-team { display: grid; margin: 6px 0 4px; }
.bml .bml-person { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--bml-line); }
.bml .bml-person:first-child { border-top: 0; }
.bml .bml-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; background: #e5e5ea !important; color: var(--bml-mute); padding: 0; }
.bml .bml-avatar.is-g { background: var(--bml-green-soft) !important; color: var(--bml-green-t); }
.bml .bml-avatar.is-y { background: var(--bml-yellow-soft) !important; color: var(--bml-yellow-t); }
.bml .bml-avatar.is-h { background: var(--bml-red-soft) !important; color: var(--bml-red-t); }
.bml .bml-person-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 0; }
.bml .bml-person-h { display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.bml .bml-person-h strong { font-size: 16px; font-weight: 650; }
.bml .bml-person-s { color: var(--bml-mute); font-size: 13.5px; padding: 0; }
.bml .bml-person-r { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; padding: 0; }
.bml .bml-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #c7c7cc !important; flex: none; box-shadow: none; padding: 0; }
.bml .bml-dot.is-g { background: var(--bml-green) !important; box-shadow: 0 0 0 3px rgba(52, 199, 89, .22) !important; }
.bml .bml-dot.is-y { background: var(--bml-yellow) !important; box-shadow: 0 0 0 3px rgba(255, 204, 0, .3) !important; }
.bml .bml-dot.is-h, .bml .bml-dot.is-r { background: var(--bml-red) !important; box-shadow: 0 0 0 3px rgba(255, 59, 48, .16) !important; }
.bml .bml-mine-w { color: var(--bml-red-t); font-size: 13px; font-weight: 600; padding: 0; }
.bml .bml-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--bml-line); }
.bml .bml-row:first-of-type { border-top: 0; }
.bml .bml-bk { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 0; }
.bml .bml-bk-h { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0; }
.bml .bml-bk-n { color: var(--bml-mute); font-size: 13.5px; word-break: break-all; padding: 0; }
.bml .is-inv { background: var(--bml-red-soft) !important; border-radius: 14px; padding-left: 12px; padding-right: 12px; }
.bml .bml-evday { margin: 14px 0 2px; font-size: 13px; font-weight: 700; color: var(--bml-mute); }

/* Google Calendar */
.bml details.bml-cal { padding: 0; }
.bml summary.bml-cal-sum { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 24px; position: relative; }
.bml summary.bml-cal-sum::-webkit-details-marker { display: none; }
.bml summary.bml-cal-sum::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--bml-faint); border-bottom: 2.5px solid var(--bml-faint); transform: rotate(45deg); margin: -4px 4px 0 8px; flex: none; transition: transform .2s; }
.bml details.bml-cal[open] > summary.bml-cal-sum::after { transform: rotate(-135deg); margin-top: 4px; }
.bml .bml-cal-st { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0; flex: 0 0 auto; }
.bml .bml-cal-st .bml-h3 { margin: 0; }
.bml .bml-cal-hint { flex: 1; text-align: right; color: var(--bml-mute); font-size: 13.5px; padding: 0; }
.bml .bml-cal-chip { font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: rgba(60, 60, 67, .08) !important; color: var(--bml-mute); }
.bml .bml-cal-chip.is-ok { background: var(--bml-green-soft) !important; color: var(--bml-green-t); }
.bml .bml-cal-chip.is-warn { background: var(--bml-yellow-soft) !important; color: var(--bml-yellow-t); }
.bml .bml-cal-body { padding: 0 24px 24px; }
.bml .bml-kws { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 12px; }
.bml .bml-kw { display: flex; flex-direction: column; gap: 3px; padding: 13px 16px; background: var(--bml-bg) !important; border-radius: 16px; }
.bml .bml-kw-e { font-size: 16px; font-weight: 700; letter-spacing: -.01em; padding: 0; }
.bml .bml-kw-w { font-size: 13px; color: var(--bml-mute); padding: 0; }
.bml .bml-push { margin: 6px 0 12px; }
.bml textarea.bml-code { display: block; width: 100%; height: auto; padding: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; white-space: pre; overflow: auto; resize: vertical; text-transform: none; letter-spacing: normal; }
.bml details.bml-alt { margin-top: 16px; }
.bml details.bml-alt summary { cursor: pointer; font-weight: 600; color: var(--bml-blue); padding: 6px 0; }
.bml details.bml-alt[open] summary { margin-bottom: 8px; }
.bml .bml-steps { margin: 10px 0 14px 20px; list-style: decimal; color: var(--bml-mute); display: grid; gap: 5px; }
.bml .bml-steps li { padding-left: 4px; }
.bml .bml-ical { display: flex; gap: 8px; flex-wrap: wrap; }
.bml .bml-ical .bml-input { flex: 1 1 280px; width: auto; }

/* Avvisi (toast) */
.bml .bml-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99999; background: rgba(29, 29, 31, .92) !important; color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 600; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); max-width: calc(100vw - 32px); text-align: center; }
.bml .bml-toast.is-bad { background: rgba(179, 38, 30, .96) !important; }

/* ==========================================================================
   PORTALE TESISTI — "Quando → Dove"
   ========================================================================== */
.bml-student { --bls-ink: #1d1d1f; --bls-ok: #34c759; --bls-ok-soft: #e3f6e8; --bls-sel: #0071e3; --bls-sel-soft: #e6f0fd; --bls-warn: #d97706; }
.bml .bls-sm { font-size: 13.5px; color: var(--bml-mute); }
.bml .bls-sec { margin-bottom: 14px; }
.bml .bls-sec:empty { display: none; }
.bml button.bls-link { appearance: none; background: none !important; border: 0 !important; padding: 4px 2px !important; margin: 0; font: inherit; font-size: 14.5px !important; font-weight: 600; color: var(--bml-blue) !important; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bls-link--bad { color: var(--bml-red-t) !important; }
.bml .bls-h { font-family: inherit; text-transform: none; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--bml-ink); margin: 0; }

/* barra saluto */
.bml .bls-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.bml .bls-hello { display: flex; align-items: center; gap: 10px; }
.bml .bls-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bls-ink) !important; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.bml .bls-hello-t { font-weight: 650; font-size: 17px; }
.bml .bls-note { font-size: 13px; color: var(--bml-yellow-t); background: var(--bml-yellow-soft) !important; padding: 5px 12px; border-radius: 999px; }

/* conferma + biglietti */
.bml .bls-okcard { display: flex; gap: 14px; align-items: flex-start; background: var(--bls-ok-soft) !important; border-radius: 22px; padding: 18px 20px; color: #0b6b3a; position: relative; }
.bml .bls-okcard b { font-size: 18px; }
.bml .bls-okcard p { margin: 2px 0 0; }
.bml .bls-okmark { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--bls-ok) !important; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.bml button.bls-x { appearance: none; margin-left: auto; background: transparent !important; border: 0 !important; color: inherit !important; font-size: 16px; cursor: pointer; padding: 4px 6px !important; box-shadow: none !important; }
.bml .bls-mine { display: grid; gap: 10px; margin-top: 10px; }
.bml .bls-ticket { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff !important; border-radius: 20px; padding: 16px 20px; box-shadow: var(--bml-shadow); border-left: 6px solid var(--bls-ok); flex-wrap: wrap; }
.bml .bls-ticket.is-bad { border-left-color: var(--bml-red); background: #fff7f6 !important; }
.bml .bls-ticket-b { display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-variant-numeric: tabular-nums; }
.bml .bls-ticket-act { display: flex; align-items: center; gap: 8px; }
.bml .bls-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--bml-red-t); background: var(--bml-red-soft) !important; padding: 2px 10px; border-radius: 999px; margin-left: 6px; }
.bml button.bls-pill { appearance: none; border: 0 !important; background: rgba(60, 60, 67, .09) !important; color: var(--bml-ink) !important; font: inherit; font-size: 13.5px !important; font-weight: 700; padding: 7px 15px !important; border-radius: 999px !important; cursor: pointer; box-shadow: none !important; min-height: 32px; }
.bml button.bls-pill--bad { background: var(--bml-red) !important; color: #fff !important; }

/* passi */
.bml .bls-step { background: #fff !important; border-radius: 28px; padding: 26px; box-shadow: var(--bml-shadow); margin-bottom: 16px; }
.bml .bls-steph { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bml .bls-num { width: 30px; height: 30px; border-radius: 50%; background: var(--bls-ink) !important; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.bml .bls-days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: thin; }
.bml button.bls-day { appearance: none; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1px; background: var(--bml-bg) !important; border: 0 !important; border-radius: 20px !important; padding: 10px 6px 12px !important; cursor: pointer; font: inherit; color: var(--bml-ink) !important; box-shadow: none !important; text-transform: none !important; min-width: 76px; transition: transform .1s, background .15s; }
.bml button.bls-day:hover { background: #ebebf0 !important; }
.bml button.bls-day:active { transform: scale(.96); }
.bml button.bls-day.is-on { background: var(--bls-ink) !important; color: #fff !important; }
.bml button.bls-day.is-off { opacity: .55; }
.bml .bls-day-l { font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; padding: 0; }
.bml .bls-day-n { font-weight: 700; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; padding: 0; }
.bml .bls-day-d { font-size: 12.5px; opacity: .75; padding: 0; letter-spacing: normal; text-transform: none; font-weight: 500; }
.bml .bls-day-s { width: 6px; height: 6px; border-radius: 50%; background: #c7c7cc !important; margin-top: 5px; display: block; padding: 0; }
.bml .bls-day-s.is-open { background: var(--bls-ok) !important; }
.bml .bls-pillnote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 16px; padding: 10px 16px; border-radius: 18px; font-size: 14px; font-weight: 600; }
.bml .bls-pillnote.is-open { background: var(--bls-ok-soft) !important; color: #0b6b3a; }
.bml .bls-pillnote.is-closed { background: var(--bml-red-soft) !important; color: var(--bml-red-t); }
.bml .bls-pillnote.is-hint { background: var(--bls-sel-soft) !important; color: var(--bml-blue-d); font-weight: 500; margin: 0 0 14px; }
.bml .bls-pillnote .bml-tp { background: #fff !important; box-shadow: 0 0 0 1px rgba(26, 127, 55, .2) inset !important; }
.bml .bls-nt { padding: 0; }
.bml .bls-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor !important; flex: 0 0 9px; padding: 0; }

/* barra oraria */
.bml .bls-tlbox { margin: 8px 0 4px; }
.bml .bls-tl { display: flex; height: 68px; border-radius: 20px; overflow: hidden; background: #eceef2 !important; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: pointer; position: relative; }
.bml .bls-cell { flex: 1 1 0; position: relative; background: var(--bls-ok-soft) !important; border-right: 1px solid rgba(255, 255, 255, .95); transition: background .12s; }
.bml .bls-cell:last-child { border-right: 0; }
.bml .bls-cell.is-ok:not(.is-sel):hover { background: #bfeccb !important; }
.bml .bls-cell.is-closed { background: repeating-linear-gradient(135deg, #eceef2, #eceef2 6px, #e1e4ea 6px, #e1e4ea 12px) !important; cursor: not-allowed; }
.bml .bls-cell.is-past { background: #f3f4f7 !important; cursor: not-allowed; }
.bml .bls-cell.is-full { background: repeating-linear-gradient(45deg, #fdeceb, #fdeceb 5px, #f8d4d1 5px, #f8d4d1 10px) !important; cursor: not-allowed; }
.bml .bls-cell.is-mine { background: #d6e6fb !important; cursor: not-allowed; }
.bml .bls-cell.is-sel { background: var(--bls-sel) !important; border-right-color: rgba(255, 255, 255, .35); }
.bml .bls-cell.is-anchor { box-shadow: inset 0 0 0 3px #fff; background: var(--bls-sel) !important; }
.bml .bls-ticks { position: relative; height: 24px; margin-top: 6px; }
.bml .bls-tick { position: absolute; transform: translateX(-50%); font-size: 13px; font-weight: 650; color: var(--bml-mute); font-variant-numeric: tabular-nums; }
.bml .bls-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--bml-mute); margin-top: 6px; }
.bml .bls-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bml .bls-sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.bml .bls-sw--ok { background: var(--bls-ok-soft) !important; box-shadow: inset 0 0 0 1px rgba(26, 127, 55, .4) !important; }
.bml .bls-sw--closed { background: repeating-linear-gradient(135deg, #eceef2, #eceef2 3px, #d9dce5 3px, #d9dce5 6px) !important; }
.bml .bls-sw--full { background: repeating-linear-gradient(45deg, #fdeceb, #fdeceb 3px, #f3c2bd 3px, #f3c2bd 6px) !important; }
.bml .bls-presetrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bml .bls-presets, .bml .bls-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bml .bls-filter { margin-bottom: 14px; }
.bml button.bls-chip { appearance: none; background: var(--bml-bg) !important; border: 0 !important; color: var(--bml-ink) !important; font: inherit; font-size: 14.5px !important; font-weight: 650; font-variant-numeric: tabular-nums; padding: 8px 15px !important; border-radius: 999px !important; cursor: pointer; box-shadow: none !important; min-height: 36px; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bls-chip:hover { background: var(--bls-sel-soft) !important; color: var(--bml-blue-d) !important; }
.bml button.bls-chip.is-on { background: var(--bls-ink) !important; color: #fff !important; }
.bml .bls-readout { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; min-height: 64px; padding: 12px 18px; border-radius: 20px; background: var(--bml-bg) !important; }
.bml .bls-readout b.bls-range { font-size: 34px; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--bls-sel); }
.bml .bls-dur { font-weight: 650; color: var(--bml-blue-d); background: var(--bls-sel-soft) !important; padding: 4px 12px; border-radius: 999px; font-size: 14px; }

/* mappa del laboratorio */
.bml .bls-plan { display: grid; gap: 16px; }
.bml .bls-room { background:repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(20,33,61,.035) 23px, rgba(20,33,61,.035) 24px), repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(20,33,61,.035) 23px, rgba(20,33,61,.035) 24px), #f7f8fb !important; border: 2px solid #dfe3ee; border-radius: 22px; padding: 16px; }
.bml .bls-room-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.bml .bls-room-h b { font-size: 15px; letter-spacing: .01em; }
.bml .bls-desks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bml button.bls-desk { appearance: none; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; background: #fff !important; border: 2px solid #dfe3ee !important; border-radius: 18px !important; padding: 12px 12px 14px !important; font: inherit; color: var(--bml-ink) !important; cursor: pointer; box-shadow: 0 2px 0 rgba(20,33,61,.06) !important; transition: transform .12s, border-color .12s, box-shadow .12s; text-transform: none !important; letter-spacing: normal !important; overflow: hidden; }
.bml button.bls-desk.is-free { border-color: rgba(14,159,110,.55) !important; }
.bml button.bls-desk.is-free:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,159,110,.22) !important; border-color: var(--bls-ok) !important; }
.bml button.bls-desk.is-busy, .bml button.bls-desk.is-mine { cursor: not-allowed; background: #f1f2f6 !important; }
.bml button.bls-desk.is-mine { border-color: var(--bls-sel) !important; background: var(--bls-sel-soft) !important; }
.bml button.bls-desk.is-wait { opacity: .85; }
.bml button.bls-desk.is-dim { opacity: .35; cursor: default; }
.bml button.bls-desk:focus-visible { outline: 3px solid rgba(47,107,255,.5); outline-offset: 2px; }
.bml .bls-desk-n { font-weight: 750; font-size: 15px; }
.bml .bls-desk-t { font-size: 12.5px; font-weight: 600; color: var(--bml-mute); }
.bml button.bls-desk.is-free .bls-desk-t { color: #0b6b4a; }
.bml button.bls-desk.is-busy .bls-desk-t { color: var(--bml-red-t); }
.bml .bls-sws { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.bml .bls-sw-chip { font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 6px; background:rgba(20,33,61,.07) !important; color: #3b4764; font-weight: 600; }
.bml .bls-sw-chip.is-hit { background:var(--bls-sel) !important; color: #fff; }
.bml .bls-mini { position: relative; display: block; width: 100%; height: 5px; border-radius: 3px; background:rgba(14,159,110,.2) !important; margin-top: 6px; overflow: hidden; }
.bml .bls-mini i { position: absolute; top: 0; bottom: 0; background:#e5645b !important; }
.bml .bls-mini i.is-mine { background:var(--bls-sel) !important; }
/* monitor stilizzato */
.bml .bls-mon { position: relative; display: block; width: 38px; height: 30px; margin-bottom: 2px; }
.bml .bls-mon-s { position: absolute; left: 0; right: 0; top: 0; height: 22px; border-radius: 5px; background:#1b2540 !important; box-shadow: inset 0 0 0 2px #1b2540, inset 0 0 0 5px #3d5fd0 !important; }
.bml .bls-mon-b { position: absolute; left: 12px; right: 12px; bottom: 0; height: 5px; border-radius: 3px; background:#1b2540 !important; }
.bml .bls-mon-b::before { content: ""; position: absolute; left: 6px; right: 6px; top: -4px; height: 4px; background:#1b2540 !important; }
.bml .bls-mon.is-desk .bls-mon-s { background:transparent !important; box-shadow: none !important; border: 2px dashed #8a93ab; }
.bml .bls-mon.is-desk .bls-mon-b, .bml .bls-mon.is-desk .bls-mon-b::before { background:#8a93ab !important; }

/* conferma (sheet) */
.bml .bls-backdrop { position: fixed; inset: 0; z-index: 99995; background:rgba(15,23,42,.45) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; padding: 0; animation: bls-fade .18s ease; }
.bml .bls-sheet { width: 100%; max-width: 460px; background:#fff !important; border-radius: 28px 28px 0 0; padding: 24px 22px 26px; box-shadow: 0 -20px 60px rgba(0,0,0,.25); animation: bls-up .22s ease; max-height: 92vh; overflow: auto; }
@media (min-width: 640px) { .bml .bls-backdrop { align-items: center; padding: 20px; } .bml .bls-sheet { border-radius: 28px; } }
.bml .bls-sheet-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bml .bls-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 6px 0 14px; padding: 14px 16px; background:var(--bml-bg) !important; border-radius: 16px; }
.bml .bls-sum dt { color: var(--bml-mute); font-size: 13px; margin: 0; padding: 0; }
.bml .bls-sum dd { margin: 0; font-weight: 650; }
.bml .bls-sheet .bml-actions { margin-top: 14px; }
.bml .bls-imp { margin: 10px 0 4px; display: grid; gap: 8px; }
.bml .bls-imp li { background:var(--bml-red-soft) !important; border-radius: 12px; padding: 9px 12px; font-size: 14px; }
@keyframes bls-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bls-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bml .bls-backdrop, .bml .bls-sheet { animation: none; } }


/* login */
.bml .bls-login .bls-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.bml .bls-login .bls-sm { margin-top: 12px; }
.bml .bls-cancelcard { margin-bottom: 14px; }
.bml .bls-alert-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--bml-red-soft) !important; color: var(--bml-red-t); font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 0 12px; }
.bml .bml-rules { margin-top: 18px; color: var(--bml-mute); font-size: 13px; display: grid; gap: 4px; }
.bml .bml-rules li { padding-left: 16px; position: relative; }
.bml .bml-rules li::before { content: "•"; position: absolute; left: 4px; }

/* ==========================================================================
   v1.1 — Accesso tesisti: stessa scheda di "Proposte di tesi"
   ========================================================================== */
.bml.bml-gatewrap { --bml-brand: #b5121b; --bml-brand-d: #930f16; --bml-brand-soft: #fdecee; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 520px; padding: 32px 16px; background:radial-gradient(circle at 20% 0%, #ffffff, var(--bml-bg) 70%) !important; }
.bml .bls-cancelslot { width: 100%; max-width: 400px; }
.bml .bls-cancelslot:empty { display: none; }
.bml .bml-gate { width: 100%; max-width: 400px; padding: 42px 34px 30px; text-align: center; background:rgba(255, 255, 255, .92) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--bml-line); border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .04); }
.bml .bml-gate-ico { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: 0 auto 18px; font-size: 30px; line-height: 1; background:var(--bml-brand-soft) !important; border-radius: 50%; }
.bml .bml-gate-title { font-family: inherit; text-transform: none; color: var(--bml-ink); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 8px; }
.bml .bml-gate-sub { margin: 0 0 24px; font-size: 14px; color: var(--bml-mute); line-height: 1.5; }
.bml .bml-gate form { text-align: left; margin: 0; }
.bml .bml-gate form p { margin: 0 0 14px; }
.bml .bml-gate label { display: block; margin: 0 0 6px 2px; font-size: 12px; font-weight: 600; color: var(--bml-mute); text-transform: none; letter-spacing: normal; }
.bml .bml-gate input[type="email"], .bml .bml-gate input[type="password"], .bml .bml-gate input[type="text"] { display: block; width: 100%; max-width: 100%; height: auto; min-height: 46px; margin: 0; padding: 12px 15px; font: inherit; font-size: 15px; color: var(--bml-ink) !important; background: #fff !important; border: 1px solid rgba(0, 0, 0, .14) !important; border-radius: 13px !important; box-shadow: none !important; outline: none; text-transform: none !important; letter-spacing: normal !important; transition: border-color .2s, box-shadow .2s; }
.bml .bml-gate input:focus { border-color: var(--bml-brand) !important; box-shadow: 0 0 0 4px rgba(181, 18, 27, .14) !important; }
.bml .bml-gate input::placeholder { color: #a1a1a6; }
.bml .bml-gate .bml-error { margin: 0 0 14px; padding: 11px 15px; font-size: 13px; font-weight: 600; color: var(--bml-brand); background:var(--bml-brand-soft) !important; border-radius: 13px; text-align: left; }
.bml .bml-gate button.bml-gate-btn { appearance: none; display: block; width: 100%; min-height: 48px; margin: 6px 0 0; padding: 13px !important; font-family: inherit !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; text-shadow: none !important; color: #fff !important; background: var(--bml-brand) !important; border: 0 !important; border-radius: 980px !important; cursor: pointer; box-shadow: 0 6px 18px rgba(181, 18, 27, .28) !important; transition: background-color .2s, transform .2s; }
.bml .bml-gate button.bml-gate-btn:hover { background: var(--bml-brand-d) !important; }
.bml .bml-gate button.bml-gate-btn:active { transform: scale(.98); }
.bml .bml-gate button.bml-gate-btn:disabled { opacity: .6; cursor: default; }
.bml .bml-gate-foot { margin: 16px 0 0; font-size: 13px; color: var(--bml-ink); }
.bml .bml-gate-foot a { color: var(--bml-brand); font-weight: 600; text-decoration: none; }
.bml .bml-gate-help { margin: 12px 0 0; font-size: 12px; color: var(--bml-faint); line-height: 1.45; }
@media (max-width: 480px) { .bml .bml-gate { padding: 34px 22px 26px; } }


/* ==========================================================================
   Schermi piccoli
   ========================================================================== */
@media (max-width: 900px) {
  .bml .bml-cols { grid-template-columns: 1fr; }
  .bml .bml-cal-hint { display: none; }
}
@media (max-width: 720px) {
  .bml { padding: 18px 12px; border-radius: 24px; }
  .bml .bml-title { font-size: 28px; }
  .bml .bml-card { padding: 18px; border-radius: 22px; }
  .bml .bml-fields { grid-template-columns: 1fr; }
  .bml .bml-hero { padding: 20px 18px; }
  .bml .bml-hero-top { flex-wrap: wrap; }
  .bml .bml-ring { width: 46px; height: 46px; box-shadow: 0 0 0 7px rgba(199, 199, 204, .3) !important; }
  .bml .bml-me-t { font-size: 22px; }
  .bml .bml-leave { width: 100%; }
  .bml .bml-other { width: 100%; margin-left: 0; }
  .bml .bml-other input.bml-time { flex: 1; width: auto; }
  .bml .bml-wrow { grid-template-columns: 51px 1fr; gap: 10px 14px; }
  .bml .bml-wivs { grid-column: 1 / -1; }
  .bml .bml-wiv { width: 100%; }
  .bml input.bml-wt { flex: 1 1 0; width: auto; font-size: 15px; padding: 0 4px; letter-spacing: -.02em; }
  .bml input.bml-wt::-webkit-calendar-picker-indicator { display: none; }
  .bml input.bml-time { font-size: 17px; padding: 0 10px; }
  .bml .bml-plan-t { grid-template-columns: 1fr 1fr; }
  .bml .bml-plan-t .bml-dash { display: none; }
  .bml summary.bml-cal-sum { padding: 18px; }
  .bml .bml-cal-body { padding: 0 18px 18px; }
  .bml .bml-kws { grid-template-columns: 1fr; }
  .bml .bml-cov-tick:nth-child(even) { display: none; }
  .bml select.bml-daysel { width: 100%; }
  .bml .bls-step { padding: 18px; border-radius: 24px; }
  .bml .bls-tl { height: 58px; }
  .bml .bls-tick:nth-child(even) { display: none; }
  .bml .bls-desks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bml .bls-login .bls-fields { grid-template-columns: 1fr; }
  .bml .bls-readout b.bls-range { font-size: 28px; }
  .bml .bml-access-row { flex-direction: column; }
}

/* ==========================================================================
   IL MIO SPAZIO (tesisti) — stile sito BioMov: rosso istituzionale, cifre grandi, schede pulite
   ========================================================================== */
.bml-student { --brd: #b5121b; --brd-d: #930f16; --brd-soft: #fdecee; }
.bml-student .bml-step, .bml-student .bls-step { /* nessuna modifica: compat */ }

/* schede Prenota | Il mio spazio */
.bml nav.bsp-tabs { margin: 0 0 18px; }
.bml .bsp-tabs-in { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(60, 60, 67, .09) !important; max-width: 100%; }
.bml button.bsp-tab { appearance: none; border: 0 !important; background: transparent !important; color: var(--bml-mute) !important; font: inherit; font-size: 15px !important; font-weight: 650; padding: 9px 22px !important; border-radius: 999px !important; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; transition: background .15s, color .15s; }
.bml button.bsp-tab.is-on { background: #fff !important; color: var(--bml-ink) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .14) !important; }
.bml button.bsp-tab:focus-visible { outline: 3px solid rgba(181, 18, 27, .35); outline-offset: 2px; }
.bml .bsp-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brd) !important; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.bml .bsp-space { display: grid; gap: 16px; }
.bml.is-space .bml-head, .bml.is-space .bml-rules, .bml.is-space .bls-hello { display: none !important; }
.bml.is-space .bls-bar { justify-content: flex-end; margin-bottom: 8px; }
.bml .bsp-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brd); margin: 0 0 8px; }
.bml .bsp-sm { font-size: 14px; color: var(--bml-mute); line-height: 1.5; }
.bml .bsp-card { background: #fff !important; border-radius: 28px; padding: 28px; box-shadow: var(--bml-shadow); }
.bml .bsp-h1 { font-family: inherit; text-transform: none; font-size: 44px; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: var(--bml-ink); margin: 0; }
.bml .bsp-h2 { font-family: inherit; text-transform: none; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--bml-ink); margin: 0 0 10px; }
.bml .bsp-lead { font-size: 17px; color: var(--bml-mute); max-width: 560px; margin-top: 10px; }
.bml .bsp-mail { font-size: 13px; color: var(--bml-faint); margin-top: 8px; }
.bml .bsp-sub-h { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bml-faint); margin: 24px 0 10px; }

/* intestazione */
.bml .bsp-head { display: flex; gap: 20px; align-items: flex-start; padding: 8px 4px 4px; }
.bml .bsp-avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: var(--brd) !important; color: #fff; font-size: 28px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* cifre */
.bml .bsp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff !important; border-radius: 28px; box-shadow: var(--bml-shadow); overflow: hidden; }
.bml .bsp-stat { display: flex; flex-direction: column; gap: 2px; padding: 24px 24px 22px; border-left: 1px solid var(--bml-line); }
.bml .bsp-stat:first-child { border-left: 0; }
.bml .bsp-stat-n { font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--brd); font-variant-numeric: tabular-nums; }
.bml .bsp-stat-l { font-size: 15px; font-weight: 700; color: var(--bml-ink); margin-top: 6px; }
.bml .bsp-stat-h { font-size: 12.5px; color: var(--bml-faint); }

/* tesi */
.bml dl.bsp-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 22px; margin: 18px 0 4px; }
.bml .bsp-meta dt { font-size: 12px; font-weight: 700; color: var(--bml-faint); text-transform: uppercase; letter-spacing: .06em; }
.bml .bsp-meta dd { font-size: 16px; font-weight: 600; color: var(--bml-ink); margin-top: 2px; }
.bml .bsp-phase-t { margin: 22px 0 10px; font-size: 14.5px; color: var(--bml-mute); }
.bml .bsp-phase-t b { color: var(--bml-ink); }
.bml ol.bsp-phases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.bml .bsp-ph { display: flex; flex-direction: column; gap: 8px; }
.bml .bsp-ph-bar { height: 8px; border-radius: 99px; background: #e5e5ea !important; display: block; }
.bml .bsp-ph.is-done .bsp-ph-bar { background: var(--brd) !important; opacity: .45; }
.bml .bsp-ph.is-now .bsp-ph-bar { background: var(--brd) !important; }
.bml .bsp-ph-l { font-size: 12.5px; color: var(--bml-faint); font-weight: 600; line-height: 1.25; }
.bml .bsp-ph.is-now .bsp-ph-l { color: var(--brd); font-weight: 800; }

/* pulsanti */
.bml .bsp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.bml .bsp-btn, .bml a.bsp-btn, .bml button.bsp-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 15.5px !important; font-weight: 700; min-height: 46px; padding: 0 24px !important; border-radius: 999px !important; border: 0 !important; cursor: pointer; text-decoration: none !important; text-transform: none !important; letter-spacing: normal !important; transition: transform .1s, background .15s; box-shadow: none !important; }
.bml .bsp-btn:active { transform: scale(.97); }
.bml .bsp-btn:disabled { opacity: .55; cursor: default; }
.bml .bsp-btn--red { background: var(--brd) !important; color: #fff !important; }
.bml .bsp-btn--red:hover { background: var(--brd-d) !important; }
.bml .bsp-btn--ghost { background: transparent !important; color: var(--brd) !important; box-shadow: 0 0 0 1.5px var(--brd) inset !important; }
.bml .bsp-btn--ghost:hover { background: var(--brd-soft) !important; }
.bml .bsp-btn--soft { background: var(--brd-soft) !important; color: var(--brd) !important; }
.bml .bsp-btn--sm { min-height: 36px; font-size: 14px !important; padding: 0 16px !important; }
.bml .bsp-btn:focus-visible, .bml .bsp-seg-b:focus-visible, .bml .bsp-chip--btn:focus-visible { outline: 3px solid rgba(181, 18, 27, .35); outline-offset: 2px; }

/* righe prenotazione / voci */
.bml .bsp-list, .bml .bsp-entries { display: grid; gap: 10px; margin-top: 14px; }
.bml .bsp-row, .bml .bsp-entry { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--bml-bg) !important; }
.bml .bsp-entry { align-items: flex-start; }
.bml .bsp-row.is-past { opacity: .88; }
.bml .bsp-row.is-bad { background: var(--bml-red-soft) !important; }
.bml .bsp-day { flex: 0 0 56px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; padding: 8px 0; border-radius: 16px; background: #fff !important; }
.bml .bsp-day-w { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brd); }
.bml .bsp-day-n { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--bml-ink); }
.bml .bsp-day-m { font-size: 12px; color: var(--bml-faint); font-weight: 600; }
.bml .bsp-row-b { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bml .bsp-time { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--bml-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bml .bsp-row-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bml .bsp-done { font-size: 13.5px; font-weight: 700; color: var(--bml-green-t); }
.bml .bsp-entry-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bml .bsp-entry-t { font-size: 16px; }
.bml .bsp-note { font-size: 14px; color: var(--bml-mute); white-space: pre-wrap; word-break: break-word; }
.bml .bsp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bml .bsp-chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: #fff !important; color: var(--bml-mute); box-shadow: 0 0 0 1px var(--bml-line) inset !important; }
.bml .bsp-chip--n { background: var(--brd-soft) !important; color: var(--brd); box-shadow: none !important; }
.bml button.bsp-chip--btn { appearance: none; border: 0 !important; font: inherit; font-size: 13px !important; font-weight: 700; cursor: pointer; padding: 5px 12px !important; background: var(--bml-bg) !important; color: var(--bml-ink) !important; border-radius: 999px !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bsp-chip--btn:hover { background: var(--brd-soft) !important; color: var(--brd) !important; }
.bml .bsp-sug { margin-top: 8px; }

/* moduli */
.bml .bsp-logform, .bml .bsp-form { display: grid; gap: 16px; margin-top: 20px; }
.bml .bsp-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bml .bsp-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bml .bsp-f-l { font-size: 13px; font-weight: 700; color: var(--bml-ink); }
.bml .bsp-f-h { font-size: 12.5px; color: var(--bml-faint); }
.bml input.bsp-in, .bml textarea.bsp-in { appearance: none; width: 100%; font: inherit; font-size: 16px !important; color: var(--bml-ink) !important; background: var(--bml-bg) !important; border: 2px solid transparent !important; border-radius: 14px !important; padding: 12px 14px !important; min-height: 48px; box-shadow: none !important; margin: 0; text-transform: none !important; letter-spacing: normal !important; }
.bml textarea.bsp-ta { resize: vertical; min-height: 72px; line-height: 1.45; }
.bml input.bsp-in:focus, .bml textarea.bsp-in:focus { outline: none; border-color: var(--brd) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(181, 18, 27, .14) !important; }
.bml input.bsp-num { font-variant-numeric: tabular-nums; font-weight: 700; }
.bml .bsp-seg { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 16px; background: var(--bml-bg) !important; }
.bml button.bsp-seg-b { appearance: none; flex: 1 1 auto; border: 0 !important; background: transparent !important; color: var(--bml-mute) !important; font: inherit; font-size: 14.5px !important; font-weight: 700; padding: 9px 14px !important; border-radius: 12px !important; cursor: pointer; min-height: 40px; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bsp-seg-b.is-on { background: var(--brd) !important; color: #fff !important; }
.bml .bsp-privacy { font-size: 13px; color: var(--brd); background: var(--brd-soft) !important; border-radius: 14px; padding: 10px 14px; }

/* colore istituzionale nella prenotazione (solo portale studenti) */
.bml-student button.bls-day.is-on, .bml-student .bls-avatar, .bml-student .bls-num { background: var(--brd) !important; }
.bml-student .bls-day-s.is-open { background: var(--brd) !important; }

@media (max-width: 720px) {
  .bml .bsp-card { padding: 20px; border-radius: 24px; }
  .bml .bsp-h1 { font-size: 34px; }
  .bml .bsp-h2 { font-size: 22px; }
  .bml .bsp-head { gap: 14px; }
  .bml .bsp-avatar { flex-basis: 52px; width: 52px; height: 52px; font-size: 22px; }
  .bml .bsp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bml .bsp-stat:nth-child(3) { border-left: 0; }
  .bml .bsp-stat:nth-child(n+3) { border-top: 1px solid var(--bml-line); }
  .bml .bsp-stat { padding: 18px; }
  .bml .bsp-stat-n { font-size: 42px; }
  .bml .bsp-grid2 { grid-template-columns: 1fr; }
  .bml .bsp-row { flex-wrap: wrap; }
  .bml .bsp-row-act { width: 100%; padding-left: 72px; }
  .bml ol.bsp-phases { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bml button.bsp-tab { padding: 9px 16px !important; font-size: 14.5px !important; }
}

/* Difesa forte dal tema: nessun testo riceve sfondo/ombra dal tema (gli elementi che devono avere un fondo lo dichiarano con !important e specificità maggiore) */
.bml :is(span,strong,b,i,em,small,label,legend,mark,time,code,p,h1,h2,h3,h4,h5,h6,li,dt,dd,a,ul,ol,dl,header,section,figure) { background-color: transparent !important; background-image: none !important; box-shadow: none !important; text-shadow: none !important; }

/* voci generate dai Dati di ricerca */
.bml .bsp-auto { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px; background: var(--bml-blue-soft) !important; color: var(--bml-blue-d) !important; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }

/* profilo del tesista: icona, voci di materiale */
.bml button.bls-prof { appearance: none; display: inline-flex; align-items: center; gap: 7px; background: #fff !important; color: var(--bml-ink, #1d1d1f) !important; border: 0 !important; border-radius: 999px !important; padding: 7px 14px 7px 10px !important; font: inherit; font-size: 14.5px !important; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06) !important; margin-left: auto; }
.bml button.bls-prof svg { display: block; color: var(--brd, #b5121b); }
.bml button.bls-prof.is-on { background: var(--brd, #b5121b) !important; color: #fff !important; }
.bml button.bls-prof.is-on svg { color: #fff; }
.bml .bls-bar { gap: 10px; }
.bml .bsp-back { margin: 2px 4px 12px; }
.bml .bsp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bml .bsp-quick { margin: 14px 0 6px; }
.bml .bsp-empty { margin-top: 12px; }
.bml .bsp-grp { margin: 20px 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brd, #b5121b); }
.bml .bsp-items { display: grid; gap: 10px; }
.bml .bsp-item { padding: 14px 16px; border-radius: 20px; background: var(--bml-bg, #f5f5f7) !important; display: flex; flex-direction: column; gap: 6px; }
.bml .bsp-item-t { margin: 0; font-size: 16px; }
.bml .bsp-where { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bml code.bsp-pathv { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: #fff !important; padding: 5px 10px; border-radius: 10px; word-break: break-all; color: #1d1d1f !important; border: 0 !important; }
.bml .bsp-path { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px !important; }
.bml .bsp-error { color: #b3261e; font-weight: 650; margin: 0; }
.bml .bsp-itemform { margin-top: 18px; }
@media (max-width: 640px) { .bml .bsp-grid2 { grid-template-columns: 1fr; } .bml .bls-prof-t { display: none; } .bml button.bls-prof { padding: 8px !important; } }

/* profilo: select della voce e titoli di gruppo coerenti col resto, anche con temi ostili */
.bml select.bsp-in { appearance: none; -webkit-appearance: none; display: block; width: 100%; max-width: 100%; height: 48px; margin: 0; font: inherit; font-size: 16px !important; font-weight: 600; color: var(--bml-ink) !important; text-transform: none !important; letter-spacing: normal !important; background-color: var(--bml-bg) !important; border: 2px solid transparent !important; border-radius: 14px !important; padding: 0 38px 0 14px !important; box-shadow: none !important; box-sizing: border-box; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; }
.bml select.bsp-in:focus { outline: none; border-color: var(--brd, #b5121b) !important; background-color: #fff !important; box-shadow: 0 0 0 4px rgba(181, 18, 27, .14) !important; }
.bml h4.bsp-grp { font-family: inherit !important; }

/* orario fisso: salvataggio sempre a portata di mano e giorni modificati a mano */
.bml .bml-savebar.is-dirty { position: sticky; bottom: 12px; z-index: 20; box-shadow: 0 8px 28px rgba(0, 0, 0, .18) !important; }
.bml .bml-manual { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: #fff7e6 !important; }
.bml .bml-manual p { margin: 0; flex: 1 1 240px; }
.bml .bml-restore { margin-left: 6px; padding: 4px 10px; border: 0 !important; border-radius: 999px !important; background: var(--bml-blue-soft) !important; color: var(--bml-blue-d) !important; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; }

/* ===== staff 1.6: presenze giorno per giorno + orario fisso a scelta rapida ===== */
.bml .bml-agrow { gap: 12px; }
.bml .bml-agwrap { border-top: 1px solid var(--bml-line); }
.bml .bml-agwrap > .bml-agrow { border-top: 0; }
.bml button.bml-plus { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 44px; margin: 0; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 50% !important; background: var(--bml-blue-soft) !important; color: var(--bml-blue-d) !important; font: inherit; font-size: 20px !important; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bml-plus:hover, .bml button.bml-plus.is-on { background: var(--bml-blue) !important; color: #fff !important; }
.bml .bml-addp { margin: 0 0 14px 56px; padding: 14px; border-radius: 18px; background: var(--bml-bg) !important; }
.bml .bml-addp .bml-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bml .bml-addp-o { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.bml .bml-addp-o .bml-tf-l { margin: 0; font-size: 13px; color: var(--bml-mute); }
.bml button.bml-btn--soft { background: var(--bml-blue-soft) !important; color: var(--bml-blue-d) !important; border: 0 !important; font-weight: 650; }
.bml button.bml-btn--soft:hover { background: var(--bml-blue) !important; color: #fff !important; }
.bml button.bml-more { appearance: none; display: block; margin: 8px auto 0; padding: 8px 14px !important; border: 0 !important; background: none !important; color: var(--bml-blue) !important; font: inherit; font-size: 14px !important; font-weight: 600; cursor: pointer; box-shadow: none !important; text-transform: none !important; }
.bml .bml-week-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bml .bml-week-ht { flex: 1 1 260px; min-width: 0; }
.bml .bml-week-sum { margin: 0; }
.bml .bml-week-sum b { color: var(--bml-ink); font-weight: 650; }
.bml .bml-wrow { grid-template-columns: 108px 1fr; align-items: start; }
.bml .bml-wchips { display: flex; flex-wrap: wrap; gap: 8px; }
.bml .bml-wrow .bml-wivs { grid-column: 2; }
.bml button.bml-wc { appearance: none; -webkit-appearance: none; margin: 0; padding: 9px 14px !important; min-height: 40px; border: 2px solid transparent !important; border-radius: 999px !important; background: var(--bml-bg) !important; color: var(--bml-ink) !important; font: inherit; font-size: 14px !important; font-weight: 600; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bml-wc:hover { border-color: rgba(0, 113, 227, .35) !important; }
.bml button.bml-wc.is-on { background: var(--bml-blue) !important; color: #fff !important; }
.bml button.bml-wc[data-k=n].is-on { background: #8e8e93 !important; }
@media (max-width: 640px) {
  .bml .bml-addp { margin-left: 0; }
  .bml .bml-wrow { grid-template-columns: 1fr; gap: 8px; }
  .bml .bml-wrow .bml-wivs { grid-column: 1; }
  .bml .bml-wday { font-size: 16px; }
  .bml .bml-agrow { flex-wrap: wrap; }
  .bml .bml-agiv { flex: 1 1 140px; }
}
.bml .bml-savebar:empty { display: none !important; }
.bml button.bml-more { letter-spacing: normal !important; font-size: 14px !important; }

/* ===== profilo del tesista, versione semplice ===== */
.bml .bsp-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 0 8px !important; border-radius: 50%; background: var(--brd, #b5121b) !important; color: #fff !important; font-size: 14px; font-weight: 800; }
.bml .bsp-saved { font-size: 14px; font-weight: 600; color: #1f8a3b; }
.bml .bsp-saved.is-dirty { color: #a15c00; }
.bml button.bsp-btn:disabled { opacity: .45; cursor: default; }
.bml .bsp-btn--lg { padding: 16px 26px !important; font-size: 17px !important; }
.bml .bsp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.bml button.bsp-cat { appearance: none; -webkit-appearance: none; margin: 0; padding: 10px 14px !important; min-height: 44px; border: 2px solid transparent !important; border-radius: 14px !important; background: var(--bml-bg) !important; color: var(--bml-ink) !important; font: inherit; font-size: 15px !important; font-weight: 600; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml button.bsp-cat:hover { border-color: rgba(181, 18, 27, .35) !important; }
.bml button.bsp-cat.is-on { background: #fdecee !important; border-color: var(--brd, #b5121b) !important; color: #8e0e15 !important; }
.bml button.bsp-more { appearance: none; margin: 0 0 14px; padding: 8px 0 !important; border: 0 !important; background: none !important; color: var(--bml-blue, #0071e3) !important; font: inherit; font-size: 15px !important; font-weight: 600; cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml .bsp-chip.is-on { background: #fdecee !important; color: #8e0e15 !important; }
.bml .bsp-empty { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--bml-bg) !important; }
.bml .bsp-empty p { margin: 0; }
.bml .bsp-empty-i { font-size: 30px; line-height: 1; }
.bml .bsp-copy { appearance: none; display: inline-flex; align-items: center; margin: 0; padding: 6px 12px !important; border: 0 !important; border-radius: 999px !important; background: var(--bml-blue-soft) !important; color: var(--bml-blue-d) !important; font: inherit; font-size: 13.5px !important; font-weight: 650; cursor: pointer; text-decoration: none !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
.bml .bsp-copy:hover { background: var(--bml-blue) !important; color: #fff !important; }
