/* ============================================================
   VIDRIO (GLASS) · PROCESS (SINTETIZAR, 2.8.95): idea D5 “Ring”
   ============================================================
   At the top, a glass disc like the one of Daily's clock, with a ring that fills with what's done and the ✕ to leave
   beside it. The note large over the photo, in white and in quotes like the focus of the week, with a very soft dark
   halo behind. Below, a glass bar with the five destinations; when one is chosen, its box comes out below the note and
   unfolds downwards. Everything hangs from html.glass and #view-avisos .sy (the HTML is drawn by synHTML, in
   app/notes.js).
   2.8.105: at the end, a note's bubble (tapping a note in the list), with this same bar in small.
   Detail in docs/design.md, “Process on the photo”. */

/* ---------- own tokens (the --vd-* ones are not touched) ---------- */
html.glass #view-avisos .sy{--sy-teja:rgba(255,255,255,.5)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) #view-avisos .sy{--sy-teja:rgba(255,255,255,.08)}

html.glass #view-avisos .sy{max-width:640px;margin:0 auto;padding-top:4px}

/* ---------- the glass ---------- */
html.glass #view-avisos .sy :is(.sy-box,.sy-dock,.sy-round){
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,0) 42%),var(--vd-caja);
  -webkit-backdrop-filter:var(--vd-blur);backdrop-filter:var(--vd-blur);
  box-shadow:inset 0 0 0 1px var(--vd-borde),inset 0 1px 0 var(--vd-brillo)}
html.glass #view-avisos .sy .sy-box{border-radius:26px}

/* ---------- top: the disc with the ring and the ✕ ---------- */
html.glass #view-avisos .sy .sy-top{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:start;gap:8px}
html.glass #view-avisos .sy .sy-round{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;color:var(--text);font-size:15px;cursor:pointer}
html.glass #view-avisos .sy .sy-ring{position:relative;justify-self:center;width:112px;height:112px;border-radius:50%;
  background:var(--vd-esfera);-webkit-backdrop-filter:var(--vd-blur);backdrop-filter:var(--vd-blur);
  box-shadow:0 0 0 3px var(--vd-disco),inset 0 0 0 1px var(--vd-borde),inset 0 1px 0 var(--vd-brillo)}
html.glass #view-avisos .sy .sy-ring svg{position:absolute;inset:0;width:100%;height:100%}
html.glass #view-avisos .sy .sy-ring .sy-track{fill:none;stroke:var(--track);stroke-width:6}
html.glass #view-avisos .sy .sy-ring .sy-arc{fill:none;stroke:var(--olive-soft);stroke-width:6;stroke-linecap:round;transition:stroke-dasharray .45s cubic-bezier(.23,1,.32,1)}
html.glass #view-avisos .sy .sy-ring .figure{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--vd-tinta)}
html.glass #view-avisos .sy .sy-ring .figure b{font:700 32px/1 var(--font-head);letter-spacing:-.02em}
html.glass #view-avisos .sy .sy-ring .figure span{margin-top:3px;font-size:12px;font-weight:600;color:var(--muted)}

/* ---------- the note, over the photo ---------- */
html.glass #view-avisos .sy .sy-center{position:relative;isolation:isolate;padding:3vh 8px 3.5vh;text-align:center}
html.glass #view-avisos .sy .sy-center::before{content:"";position:absolute;inset:-10% -12%;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side,rgba(0,0,0,.3),rgba(0,0,0,.12) 60%,rgba(0,0,0,0))}
html.glass #view-avisos .sy .sy-note{font:700 25px/1.28 var(--font-head);letter-spacing:-.015em;color:#fff;text-shadow:var(--vd-sombra-texto);overflow-wrap:anywhere;text-wrap:balance}
html.glass #view-avisos .sy .sy-note::before{content:"“";opacity:.85}
html.glass #view-avisos .sy .sy-note::after{content:"”";opacity:.85}
html.glass #view-avisos .sy .sy-when{margin-top:12px;font-size:13.5px;font-weight:600;color:#fff;text-shadow:var(--vd-sombra-texto-p)}
/* when another note arrives, it rises a little and fades in */
@keyframes syEntra{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
html.glass #view-avisos .sy .sy-center.entering{animation:syEntra .34s cubic-bezier(.23,1,.32,1)}

/* ---------- the glass bar with the five destinations (2.12.0: «Al evento» is a recommendation above it, .evnq-*) ---------- */
html.glass #view-avisos .sy .sy-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:10px;border-radius:28px}
html.glass #view-avisos .sy .sy-dk{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 0 4px;border:0;border-radius:18px;background:none;
  font:600 12px var(--font-body);color:var(--text);cursor:pointer;transition:background .12s}
@media(hover:hover){html.glass #view-avisos .sy .sy-dk:hover{background:var(--sy-teja)}}
html.glass #view-avisos .sy .sy-dk:active{transform:scale(.96)}
html.glass #view-avisos .sy .sy-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--olive-fill);color:var(--on-olive);font-size:19px}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) #view-avisos .sy .sy-ic{color:#17191A}
html.glass #view-avisos .sy .sy-lab{white-space:nowrap}   /* «Información» may stick out of its column a little: it is never cut */
/* the destination Lume recognises in the note (e.g. «tarea Casa…», «Nombre, …»): with its ring */
html.glass #view-avisos .sy .sy-dk.sug{background:var(--sy-teja);box-shadow:inset 0 0 0 1.5px var(--olive-soft)}
html.glass #view-avisos .sy .sy-dk.sug .sy-lab{color:var(--olive);font-weight:700}
/* «Saltar · Borrar» (Skip · Delete): a smoked capsule with white text, centred below the bar; the two halves equal, so
   the dot sits right in the middle. It reads over any photo without being another glass box */
html.glass #view-avisos .sy .sy-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;width:max-content;max-width:100%;margin:14px auto 0;padding:2px 8px;
  border-radius:999px;color:#fff;background:rgba(10,12,12,.34);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
html.glass #view-avisos .sy .sy-footer > span{opacity:.7}
html.glass #view-avisos .sy .sy-footer button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;
  font:600 14px var(--font-body);color:#fff;cursor:pointer}
html.glass #view-avisos .sy .sy-footer .glyph{font-size:14px;color:#E7A08A}
@media(hover:hover){html.glass #view-avisos .sy .sy-footer button:hover{text-decoration:underline;text-underline-offset:3px}}

/* ---------- the chosen destination's box: comes out below the note and unfolds downwards ---------- */
html.glass #view-avisos .sy .sy-form{padding:20px 20px 16px}
@keyframes syAbre{from{opacity:0;transform:translateY(-8px);clip-path:inset(0 0 100% 0 round 26px)}to{opacity:1;transform:none;clip-path:inset(0 0 0 0 round 26px)}}
html.glass #view-avisos .sy .sy-form.opening{animation:syAbre .36s cubic-bezier(.23,1,.32,1)}
html.glass #view-avisos .sy .sy-form .syn-lbl{display:flex;align-items:center;gap:9px;margin:0 0 14px;font-family:var(--font-head);font-size:16px;font-weight:700;color:var(--text)}
html.glass #view-avisos .sy .sy-form .syn-lbl .glyph{box-sizing:content-box;width:15px;height:15px;padding:7px;border-radius:50%;background:var(--olive-fill);color:var(--on-olive);font-size:15px}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) #view-avisos .sy .sy-form .syn-lbl .glyph{color:#17191A}
/* the fields, the glass sheets' ones */
html.glass #view-avisos .sy .sy-form .f-row{margin-bottom:12px}
html.glass #view-avisos .sy .sy-form .f-row label{font-size:12.5px;font-weight:600;letter-spacing:0;color:var(--muted);margin:0 0 6px 15px}
html.glass #view-avisos .sy .sy-form :is(.f-row input[type=text],.f-row textarea,.pk-field){
  background:var(--vd-fichas-campo);border:0;box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);border-radius:15px;padding:12px 15px;color:var(--text);transition:box-shadow .15s}
html.glass #view-avisos .sy .sy-form :is(.f-row input,.f-row textarea):focus,html.glass #view-avisos .sy .sy-form .pk-field.pk-open{box-shadow:inset 0 0 0 1.5px var(--olive-soft),0 0 0 4px var(--vd-fichas-anillo)}
@media(hover:hover){html.glass #view-avisos .sy .sy-form .pk-field:hover{box-shadow:inset 0 0 0 1px var(--olive-soft)}}
html.glass #view-avisos .sy .sy-form .switch-row{padding-left:15px}
html.glass #view-avisos .sy .sy-form .sw::after{background:#fff}
/* the switch's track, the glass sheets' one (at night with the light theme, the light daytime one didn't match) */
html.glass #view-avisos .sy .sy-form{--ctrl:rgba(26,22,17,.16)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) #view-avisos .sy .sy-form{--ctrl:rgba(255,255,255,.24)}
html.glass #view-avisos .sy .sy-form .fx-chip{background:var(--vd-fichas-sel)}
html.glass #view-avisos .sy .sy-form .fx-m{background:rgba(138,169,120,.36)}
/* 2.11.0: an event's weekly days (Repeat), as in the glass sheet */
html.glass :is(#view-avisos .sy .sy-form,.bubble) .daypick button{border:0;border-radius:999px;background:var(--vd-fichas-campo);box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde)}
html.glass :is(#view-avisos .sy .sy-form,.bubble) .daypick button.on{background:var(--olive-fill);box-shadow:none}
/* the buttons: capsules, as in the sheets */
html.glass #view-avisos .sy .btn{border-radius:999px;padding:13px 18px;font-size:14.5px}
html.glass #view-avisos .sy .btn.ghost{background:var(--vd-fichas-campo);color:var(--text);border:0;box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde)}
html.glass #view-avisos .sy .sy-row{display:flex;gap:10px;margin-top:16px}
html.glass #view-avisos .sy .sy-row .btn{flex:1}
/* «Abrir la ficha entera» (Open the full sheet): for what isn't in the box (the task's goal, repeat, description…) */
html.glass #view-avisos .sy .sy-sheet{display:flex;align-items:center;gap:4px;margin:12px auto 0;padding:6px 10px;border:0;border-radius:999px;background:none;
  font:600 13px var(--font-body);color:var(--muted);cursor:pointer}
html.glass #view-avisos .sy .sy-sheet .glyph{font-size:12px}
@media(hover:hover){html.glass #view-avisos .sy .sy-sheet:hover{color:var(--text);background:var(--sy-teja)}}

/* ---------- the keyboard hint: desktop only, and very discreet (white at 42 %, brightens on hover) ---------- */
html.glass #view-avisos .sy .sy-kbd{display:none}
@media(hover:hover) and (min-width:860px){
  html.glass #view-avisos .sy .sy-kbd{display:block;margin-top:16px;text-align:center;font-size:11px;font-weight:600;color:#fff;opacity:.42;
    text-shadow:0 1px 2px rgba(0,0,0,.35);transition:opacity .2s}
  html.glass #view-avisos .sy .sy-kbd:hover{opacity:.9}
  html.glass #view-avisos .sy .sy-kbd b{display:inline-block;padding:0 5px;margin:0 1px;border-radius:5px;font:700 10.5px var(--font-head);color:#fff;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
}

/* ---------- when finished ---------- */
html.glass #view-avisos .sy .sy-end{max-width:560px;margin:4vh auto 0;padding:30px 22px 24px;text-align:center}
html.glass #view-avisos .sy .sy-end-ic{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--olive-fill);color:var(--on-olive);font-size:28px}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) #view-avisos .sy .sy-end-ic{color:#17191A}
html.glass #view-avisos .sy .sy-end h3{margin:14px 0 4px;font-family:var(--font-head);font-size:19px;color:var(--text)}
html.glass #view-avisos .sy .sy-end p{margin:0;font-size:13.5px;color:var(--muted)}
html.glass #view-avisos .sy .sy-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:16px}
html.glass #view-avisos .sy .sy-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 9px;border-radius:999px;background:var(--olive-bg);color:var(--olive);font-size:13px;font-weight:700}
html.glass #view-avisos .sy .sy-chip.dimmed{background:var(--sy-teja);color:var(--muted);box-shadow:inset 0 0 0 1px var(--border-soft)}
html.glass #view-avisos .sy .sy-end .btn{display:block;width:100%;max-width:240px;margin:20px auto 0}

/* ---------- the iPhone and desktop ---------- */
@media(max-width:520px){
  html.glass #view-avisos .sy .sy-dk{font-size:12px}   /* 2.12.0: 12 px, never less (design rules §8); five columns of 70 px on a 390 phone */
  html.glass #view-avisos .sy .sy-dock{padding:10px 6px;gap:0}
  html.glass #view-avisos .sy .sy-dk.sug{margin:0 -5px}   /* the suggested one's frame, a bit wider: «Información» doesn't stick out of it */
  html.glass #view-avisos .sy .sy-dk.sug:first-child{margin-left:-1px}   /* at the ends, without reaching the bar's edge */
  html.glass #view-avisos .sy .sy-dk.sug:last-child{margin-right:-1px}
}
@media(min-width:860px){
  html.glass #view-avisos .sy .sy-ring{width:128px;height:128px}
  html.glass #view-avisos .sy .sy-center{padding:5vh 8px 4.5vh}
  html.glass #view-avisos .sy .sy-note{font-size:30px}
}
@media(prefers-reduced-motion:reduce){
  @keyframes sySoloAparece{from{opacity:0}to{opacity:1}}
  html.glass #view-avisos .sy :is(.sy-center.entering,.sy-form.opening){animation:sySoloAparece .2s ease}
}

/* ============================================================
   A NOTE'S BUBBLE (2.8.105): the bar above, in small
   ============================================================
   Tapping a note in the list brings up below it (or above, if it doesn't fit) a bubble of the dropdowns' glass, with
   no pointer: the note in quotes, the five destinations in a row with their icon in an olive circle and Borrar (Delete)
   below. Each destination opens its box inside, with the sheets' fields. A bit denser than a dropdown (88 % against
   80 %): it sits over the list, with sharp text behind it. The HTML is drawn by bubbleRender (app/notes.js); at night, the
   dark colours come from glass.css. Detail in docs/design.md, “A note's bubble”. */
html.glass{--nube-cristal:rgba(255,255,255,.88)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night){--nube-cristal:rgba(18,22,20,.84)}
html.glass .bubble{-webkit-backdrop-filter:var(--vd-fichas-blur);backdrop-filter:var(--vd-fichas-blur);border:0;border-radius:22px;padding:16px 10px 8px;
  --bg:var(--vd-fichas-campo);--surface-2:rgba(26,22,17,.05);--border:rgba(26,22,17,.12);--border-soft:rgba(26,22,17,.08);--track:rgba(26,22,17,.10);--ctrl:rgba(26,22,17,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0) 32%),var(--nube-cristal);
  box-shadow:inset 0 0 0 1px var(--vd-fichas-filo),inset 0 1px 0 var(--vd-fichas-brillo),var(--vd-fichas-sombra-pop)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .bubble{
  --text:#fff;--muted:rgba(255,255,255,.76);--faint:rgba(255,255,255,.6);--surface:rgba(255,255,255,.08);--surface-2:rgba(255,255,255,.07);
  --border:rgba(255,255,255,.14);--border-soft:rgba(255,255,255,.10);--track:rgba(255,255,255,.14);--ctrl:rgba(255,255,255,.24)}
html.glass .bubble-back{background:transparent}
/* the note, in quotes */
html.glass .bubble-tx{margin:2px 10px 14px;text-align:center;font:700 16.5px/1.32 var(--font-head);letter-spacing:-.01em;color:var(--text);overflow-wrap:anywhere;text-wrap:balance}
html.glass .bubble-tx::before{content:"“";opacity:.6}
html.glass .bubble-tx::after{content:"”";opacity:.6}
/* the five destinations */
html.glass .bubble-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
html.glass .bubble-b{display:flex;flex-direction:column;align-items:center;gap:6px;padding:7px 0 6px;border:0;border-radius:16px;background:none;
  font:600 12px var(--font-body);color:var(--text);cursor:pointer;transition:background .12s}   /* 2.12.0: 12 px, never less (design rules §8) */
@media(hover:hover){html.glass .bubble-b:hover{background:var(--vd-fichas-encima)}}
html.glass .bubble-b:active{transform:scale(.96)}
html.glass .bubble-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--olive-fill);color:var(--on-olive);font-size:18px}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .bubble-ic{color:#17191A}
html.glass .bubble-lab{white-space:nowrap}   /* «Información» may stick out of its column a little: it is never cut */
html.glass .bubble-b.sug{background:var(--vd-fichas-encima);box-shadow:inset 0 0 0 1.5px var(--olive-soft)}
/* Borrar, below a line */
html.glass .bubble-foot{display:flex;justify-content:center;margin-top:6px;padding-top:6px;border-top:1px solid var(--border-soft)}
html.glass .bubble-x{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:0;border-radius:999px;background:none;font:600 13px var(--font-body);color:var(--muted);cursor:pointer}
html.glass .bubble-x .glyph{font-size:13px;color:#C2603F}
@media(hover:hover){html.glass .bubble-x:hover{background:var(--vd-fichas-encima);color:var(--text)}}
/* the destination's box, inside: unfolds downwards, with the sheets' fields */
html.glass .bubble.boxed{padding:18px 16px 14px}
@keyframes nubeCaja{from{opacity:0;transform:translateY(-6px);clip-path:inset(0 0 100% 0 round 22px)}to{opacity:1;transform:none;clip-path:inset(0 0 0 0 round 22px)}}
html.glass .bubble.boxed > *{animation:nubeCaja .32s cubic-bezier(.23,1,.32,1)}
html.glass .bubble .syn-lbl{display:flex;align-items:center;gap:9px;margin:0 0 14px;font-family:var(--font-head);font-size:16px;font-weight:700;color:var(--text)}
html.glass .bubble .syn-lbl .glyph{box-sizing:content-box;width:15px;height:15px;padding:7px;border-radius:50%;background:var(--olive-fill);color:var(--on-olive);font-size:15px}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .bubble .syn-lbl .glyph{color:#17191A}
html.glass .bubble .f-row{margin-bottom:12px}
html.glass .bubble .f-row label{font-size:12.5px;font-weight:600;letter-spacing:0;color:var(--muted);margin:0 0 6px 15px}
html.glass .bubble :is(.f-row input[type=text],.f-row textarea,.pk-field){
  background:var(--vd-fichas-campo);border:0;box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);border-radius:15px;padding:12px 15px;color:var(--text);transition:box-shadow .15s}
html.glass .bubble :is(.f-row input,.f-row textarea):focus,html.glass .bubble .pk-field.pk-open{box-shadow:inset 0 0 0 1.5px var(--olive-soft),0 0 0 4px var(--vd-fichas-anillo)}
@media(hover:hover){html.glass .bubble .pk-field:hover{box-shadow:inset 0 0 0 1px var(--olive-soft)}}
html.glass .bubble .switch-row{padding-left:15px}
html.glass .bubble .sw::after{background:#fff}
html.glass .bubble .fx-chip{background:var(--vd-fichas-sel)}
html.glass .bubble .fx-m{background:rgba(138,169,120,.36)}
html.glass .bubble .btn{border-radius:999px;padding:12px 18px;font-size:14.5px}
html.glass .bubble .btn.primary{box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
html.glass .bubble .btn.ghost{background:var(--vd-fichas-campo);color:var(--text);border:0;box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde)}
html.glass .bubble .syn-row{margin-top:14px}
/* «Abrir la ficha entera», as in Process */
html.glass .bubble .bubble-sheet{display:flex;align-items:center;gap:3px;margin:12px auto 0;padding:5px 10px;border:0;border-radius:999px;background:none;font:600 12.5px var(--font-body);color:var(--muted);cursor:pointer}
html.glass .bubble .bubble-sheet .glyph{font-size:12px}
@media(hover:hover){html.glass .bubble .bubble-sheet:hover{color:var(--text);background:var(--vd-fichas-encima)}}
@media(prefers-reduced-motion:reduce){html.glass .bubble.boxed > *{animation:sySoloAparece .2s ease}}

/* ============================================================
   2.12.0: THE «AL EVENTO» BOX (To event), in Process and in a note's bubble
   ============================================================
   P1 · Filas (docs/event-notes/description.md §7): up to three events as two-line rows, each in a field of the box
   with the Auto-sorted row's parts (the type's glyph, the title; the day, the time and the repeat in grey) and a round
   tick, the chosen one with the olive ring; «Otro evento…» and its search by day; the two capsules of a series; the
   amber strip of the event sheet's overlap warning (.ev-overlap) for «already there» and for a note that changes the
   event; grey lines for who else sees it and why nothing matched. Only measurements the box already uses: fields of
   15 px radius, 12.5 px labels, 14 px text. The HTML is drawn by evnBForm (app/notes.js). */
:is(#view-avisos .sy .sy-form,.bubble) :is(.evnb-row,.evnb-other,.evnb-up,.evnb-scope button,.evnb-link){font-family:var(--font-body);cursor:pointer;-webkit-tap-highlight-color:transparent}
.evnb-rows{display:flex;flex-direction:column;gap:6px}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-row{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:7px 12px 7px 8px;border:0;border-radius:15px;text-align:left;
  background:var(--vd-fichas-campo);box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);color:var(--text);font-size:14px;transition:box-shadow .15s}
@media(hover:hover){:is(#view-avisos .sy .sy-form,.bubble) .evnb-row:not(.on):hover{box-shadow:inset 0 0 0 1px var(--olive-soft)}}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-row.on{box-shadow:inset 0 0 0 1.5px var(--olive-soft)}
.evnb-g{flex:0 0 auto;width:32px;height:32px;display:grid;place-items:center;color:var(--muted);font-size:17px}
.evnb-row.on .evnb-g{color:var(--olive)}
.evnb-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.35}
.evnb-tt{font-weight:600;overflow-wrap:anywhere}
.evnb-w{font-size:12.5px;font-weight:500;color:var(--muted)}
.evnb-rep{white-space:nowrap}
.evnb-rep .glyph{font-size:12px;margin:0 3px 0 2px;transform:translateY(1px)}
.evnb-tick{flex:0 0 auto;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 2px var(--border);color:transparent;font-size:12px}
.evnb-tick .glyph{stroke-width:3}
.evnb-row.on .evnb-tick{background:var(--olive-fill);box-shadow:none;color:var(--on-olive)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .evnb-row.on .evnb-tick{color:#17191A}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-other{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;min-height:36px;margin:2px 0 0 4px;padding:8px 12px;border:0;border-radius:999px;
  background:none;color:var(--muted);font-size:13px;font-weight:600}
.evnb-other .glyph{font-size:13px}
@media(hover:hover){:is(#view-avisos .sy .sy-form,.bubble) .evnb-other:hover{color:var(--text);background:var(--vd-fichas-encima)}}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-new{display:flex;margin:10px 0 0 4px}
/* why nothing was chosen; who else sees it; the Event box's hint */
.evnb-miss{margin:0 0 8px 15px;font-size:13px;color:var(--muted)}
.evnb-hint{display:flex;align-items:flex-start;gap:7px;margin:0 0 8px 15px;font-size:12.5px;line-height:1.4;color:var(--muted)}
.evnb-hint > .glyph{flex:0 0 auto;font-size:13px;transform:translateY(2px)}
#evnbDup + .evnb-hint{margin-top:10px}
.evnb-rows + .evnb-hint{margin-top:10px}
.evnb-cal{margin:-4px 0 12px 2px;font-size:13px}
.evnb-cal > .glyph{color:var(--olive)}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-link{display:inline;margin:0;padding:0;border:0;background:none;color:var(--olive);font:700 13px var(--font-body);text-decoration:underline;text-underline-offset:3px}
.evnb-newline{margin:-4px 0 12px 15px}
.evnb-newline span{color:var(--text);font-weight:500}
/* the search among the upcoming events */
.evnb-search{margin-top:8px}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-search input{width:100%;box-sizing:border-box;background:var(--vd-fichas-campo);border:0;box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);border-radius:15px;
  padding:12px 15px;font:500 14px var(--font-body);color:var(--text);outline:none;-webkit-appearance:none;appearance:none}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-search input:focus{box-shadow:inset 0 0 0 1.5px var(--olive-soft),0 0 0 4px var(--vd-fichas-anillo)}
.evnb-ups{max-height:232px;overflow:auto;margin-top:6px;padding:0 2px;overscroll-behavior:contain}
.evnb-day{margin:10px 0 3px 13px;font-size:12px;font-weight:600;color:var(--muted)}
.evnb-day:first-child{margin-top:4px}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-up{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 12px 6px 8px;border:0;border-radius:13px;background:none;text-align:left;color:var(--text);font-size:14px}
@media(hover:hover){:is(#view-avisos .sy .sy-form,.bubble) .evnb-up:hover{background:var(--vd-fichas-encima)}}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-up.on{background:var(--vd-fichas-sel)}
.evnb-ug{flex:0 0 auto;width:28px;display:grid;place-items:center;color:var(--muted);font-size:16px}
.evnb-ut{flex:1;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.evnb-uh{flex:0 0 auto;font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.evnb-none{padding:10px 13px;font-size:13px;color:var(--muted)}
/* a series: only that day, or every one */
.evnb-scope{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 12px 4px}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-scope button{min-height:36px;padding:7px 13px;border:0;border-radius:999px;background:var(--vd-fichas-campo);box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);
  color:var(--muted);font-size:13px;font-weight:600}
:is(#view-avisos .sy .sy-form,.bubble) .evnb-scope button.on{background:var(--olive-fill);box-shadow:none;color:var(--on-olive)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) :is(#view-avisos .sy .sy-form,.bubble) .evnb-scope button.on{color:#17191A}
/* already there or something like it; a note that changes the event: the amber strip of .ev-overlap */
.evnb-warn{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;padding:11px 15px;border-radius:15px;background:rgba(154,107,30,.13);box-shadow:inset 0 0 0 1px rgba(154,107,30,.20);
  color:var(--text);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#evnbDup .evnb-warn{margin:-2px 0 0}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .evnb-warn{background:rgba(217,164,65,.14);box-shadow:inset 0 0 0 1px rgba(217,164,65,.22)}
.evnb-warn > .glyph{flex:0 0 auto;color:var(--amber);font-size:16px;transform:translateY(1px)}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .evnb-warn > .glyph{color:#D9A441}
/* no events at all */
.evnb-empty{display:flex;gap:12px;align-items:flex-start;padding:4px 4px 6px}
.evnb-empty > .glyph{flex:0 0 auto;font-size:22px;color:var(--muted);transform:translateY(2px)}
.evnb-empty b{display:block;font:700 15px var(--font-head);color:var(--text);margin-bottom:3px}
.evnb-empty span{font-size:13.5px;color:var(--muted);line-height:1.4}
/* the main button waits for an event */
:is(#view-avisos .sy,.bubble) .btn.primary:disabled{opacity:.45;cursor:default}

/* ============================================================
   2.12.0: THE «AL EVENTO» RECOMMENDATION · its look (RS1 · Una línea, docs/event-notes/recommendation-mockups.md)
   ============================================================
   One line above the five destinations, in the dock's glass (on the bubble's field in a note's bubble): a small grey
   glyph, the question, a small ⌄, «No es esa» in grey and the only olive thing, the small «Sí» pill, 34 px drawn inside a
   44 px touch area (design rules §8). Tapping the question unfolds the bullet as a second line; «No es esa» unfolds the
   other events as the search's one-line rows, «Otro día» with capsules and the search. Only the look lives here (and in
   evnQCard…, app/notes.js): swapping it for another leaves the behaviour as it is. */
html.glass #view-avisos .sy .evnq{margin:0 0 10px;padding:2px 4px 2px 14px;border-radius:22px}
.bubble .evnq{margin:0 4px 10px;padding:2px 4px 2px 12px;border-radius:18px;background:var(--vd-fichas-campo);box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde)}
.evnq-line{display:flex;align-items:center;min-height:48px}
:is(#view-avisos .sy,.bubble) .evnq-q{flex:1;min-width:0;display:flex;align-items:center;gap:9px;min-height:44px;padding:4px 6px 4px 0;border:0;background:none;text-align:left;
  font:500 14.5px/1.3 var(--font-body);color:var(--text);cursor:pointer;-webkit-tap-highlight-color:transparent}
.evnq-q > span{min-width:0;overflow-wrap:anywhere}
.evnq-q b{font-weight:700;color:var(--text)}
.evnq-q > .glyph:first-child{flex:0 0 auto;font-size:16px;color:var(--muted)}
.evnq-q > .glyph:last-child{flex:0 0 auto;font-size:11px;color:var(--muted);transition:transform .2s cubic-bezier(.23,1,.32,1)}
.evnq-q[aria-expanded="true"] > .glyph:last-child{transform:rotate(180deg)}
:is(#view-avisos .sy,.bubble) .evnq-no{flex:0 0 auto;min-height:44px;padding:0 10px;border:0;border-radius:999px;background:none;color:var(--muted);font:600 13px var(--font-body);
  white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
@media(hover:hover){:is(#view-avisos .sy,.bubble) .evnq-no:hover{color:var(--text)}}
:is(#view-avisos .sy,.bubble) .evnq-yes{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 4px;border:0;background:none;cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.evnq-yes > span{display:inline-flex;align-items:center;height:34px;padding:0 16px;border-radius:999px;background:var(--olive-fill);color:var(--on-olive);font:700 13.5px var(--font-body);white-space:nowrap}
:is(:root[data-theme="dark"].glass,html.glass.gl-night) .evnq-yes > span{color:#17191A}
.evnq-yes:active > span{transform:scale(.96)}
:is(#view-avisos .sy,.bubble) .evnq-yes:disabled{opacity:.45;cursor:default}
/* the bullet, on demand: a second line */
.evnq-more{margin:0 10px 8px 0}
.evnq-pt{position:relative}
.evnq-pt .evn-dot{position:absolute;left:15px;top:50%;transform:translateY(-50%)}
:is(#view-avisos .sy,.bubble) .evnq-pt input{display:block;width:100%;box-sizing:border-box;margin:0;background:var(--vd-fichas-campo);border:0;box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);
  border-radius:15px;padding:10px 14px 10px 29px;font:500 14px var(--font-body);color:var(--text);outline:none;-webkit-appearance:none;appearance:none;transition:box-shadow .15s}
:is(#view-avisos .sy,.bubble) .evnq-pt input:focus{box-shadow:inset 0 0 0 1.5px var(--olive-soft),0 0 0 4px var(--vd-fichas-anillo)}
.evnq #evnbDup .evnb-warn{margin:6px 0 0}
.evnq .evnb-scope{margin:8px 0 0 2px}
.evnq > .evnb-hint{margin:0 10px 8px 0}
/* «No es esa»: the other events, other days, the search */
.evnq-alts{margin:0 10px 8px 0;padding-top:6px;border-top:1px solid var(--border-soft)}
.evnq-days{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 2px 8px}
.evnq-days > span{font-size:12.5px;font-weight:600;color:var(--muted);margin-right:2px}
:is(#view-avisos .sy,.bubble) .evnq-days button{min-height:36px;padding:7px 14px;border:0;border-radius:999px;background:var(--vd-fichas-campo);box-shadow:inset 0 0 0 1px var(--vd-fichas-campo-borde);
  color:var(--text);font:600 13px var(--font-body);cursor:pointer;-webkit-tap-highlight-color:transparent}
@media(hover:hover){:is(#view-avisos .sy,.bubble) .evnq-days button:hover{box-shadow:inset 0 0 0 1px var(--olive-soft)}}
.evnq-alts .evnb-other{margin:6px 0 0}
