.rerefons-editor__toolbar[data-astro-cid-pveccy6o]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:.5rem;display:flex}.rerefons-editor__grup[data-astro-cid-pveccy6o]{background:var(--surface);border:1px solid var(--border-strong);border-radius:5px;align-items:center;gap:1px;padding:2px;display:inline-flex}.rerefons-editor__toolbar[data-astro-cid-pveccy6o] button[data-astro-cid-pveccy6o]{box-sizing:border-box;min-width:28px;height:28px;color:var(--text-primary);font-family:var(--font-body);cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;gap:4px;padding:0 8px;font-size:.78rem;line-height:1;display:inline-flex}.rerefons-editor__mida[data-astro-cid-pveccy6o]{position:relative}.rerefons-editor__mida-opcions[data-astro-cid-pveccy6o]:not([hidden]){z-index:20;background:var(--surface);border:1px solid var(--border-strong);border-radius:5px;flex-direction:column;min-width:calc(100% + 2px);padding:2px;display:flex;position:absolute;top:calc(100% + 4px);left:-1px;box-shadow:0 6px 16px #00000059}.rerefons-editor__toolbar[data-astro-cid-pveccy6o] .rerefons-editor__mida-opcions[data-astro-cid-pveccy6o] button[data-astro-cid-pveccy6o]{white-space:nowrap;justify-content:flex-start}.rerefons-editor__subratllat[data-astro-cid-pveccy6o]{text-decoration:underline}.rerefons-editor__index-check[data-astro-cid-pveccy6o]{color:var(--text-secondary);cursor:help;white-space:nowrap;align-items:center;gap:6px;margin-left:auto;padding-left:8px;font-size:.78rem;display:flex}.rerefons-editor__index-check[data-astro-cid-pveccy6o] input[data-astro-cid-pveccy6o]{flex-shrink:0;width:15px;height:15px;margin:0}.rerefons-editor__color-input[data-astro-cid-pveccy6o]{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.rerefons-editor__toolbar[data-astro-cid-pveccy6o] button[data-astro-cid-pveccy6o]:hover,.rerefons-editor__toolbar[data-astro-cid-pveccy6o] button[data-astro-cid-pveccy6o].is-active{background:var(--gold-soft);color:var(--gold)}.rerefons-editor[data-astro-cid-pveccy6o]{position:relative}.enllac-popover[data-astro-cid-pveccy6o]{z-index:10;background:var(--surface);border:1px solid var(--gold);border-radius:var(--radius-sm);width:300px;padding:10px;position:absolute;box-shadow:0 6px 20px #00000080}.enllac-popover[data-astro-cid-pveccy6o][hidden]{display:none}.enllac-popover__input[data-astro-cid-pveccy6o]{box-sizing:border-box;background:var(--bg);width:100%;color:var(--text-primary);border:1px solid var(--border-strong);font-family:var(--font-body);border-radius:3px;padding:6px 8px;font-size:.82rem}.enllac-popover__resultats[data-astro-cid-pveccy6o]{max-height:180px;margin-top:6px;overflow-y:auto}.enllac-popover__resultats[data-astro-cid-pveccy6o]:not(:empty){border-top:1px solid var(--border);padding-top:4px}.enllac-popover__resultat{width:100%;color:var(--text-primary);font-family:var(--font-body);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:space-between;align-items:baseline;gap:8px;padding:6px;font-size:.9rem;font-weight:600;display:flex}.enllac-popover__resultat:hover{background:var(--gold-soft);color:var(--gold)}.enllac-popover__resultat-context{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-muted);flex-shrink:1;font-size:.7rem;font-style:normal;font-weight:400;overflow:hidden}.enllac-popover__nota{color:var(--text-muted);margin:4px 2px;font-size:.76rem;font-style:italic}.enllac-popover__accions[data-astro-cid-pveccy6o]{justify-content:space-between;gap:8px;margin-top:8px;display:flex}.enllac-popover__accions[data-astro-cid-pveccy6o] .btn-ghost[data-astro-cid-pveccy6o]{padding:5px 8px;font-size:.72rem}.rerefons-editor__mount[data-astro-cid-pveccy6o]{background:var(--bg);border:1px solid var(--border-strong);border-radius:var(--radius-sm);min-height:220px;max-height:55vh;color:var(--text-primary);padding:.9rem 1.1rem;font-size:.9rem;position:relative;overflow-y:auto}.rerefons-editor__mount[data-astro-cid-pveccy6o] .taula-toolbar{background:var(--surface);border:1px solid var(--gold);border-radius:var(--radius-sm);z-index:4;gap:4px;padding:4px;display:none;position:absolute;box-shadow:0 4px 14px #00000073}.rerefons-editor__mount[data-astro-cid-pveccy6o] .taula-toolbar.is-visible{display:flex}.rerefons-editor__mount[data-astro-cid-pveccy6o] .taula-toolbar button{border:1px solid var(--border-strong);color:var(--text-primary);font-family:var(--font-body);cursor:pointer;white-space:nowrap;background:0 0;border-radius:3px;padding:5px 7px;font-size:.75rem;line-height:1}.rerefons-editor__mount[data-astro-cid-pveccy6o] .taula-toolbar button:hover{border-color:var(--gold);color:var(--gold)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .taula-toolbar button.taula-toolbar__del{color:var(--red);border-color:var(--red)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .taula-toolbar button.taula-toolbar__del:hover{background:var(--red-soft)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .ProseMirror{outline:none;min-height:190px}.rerefons-editor__mount[data-astro-cid-pveccy6o] .ProseMirror>*+*{margin-top:.7em}.rerefons-editor__mount[data-astro-cid-pveccy6o] table,.rerefons-contingut table{border-collapse:collapse;width:100%;margin:.5em 0}.rerefons-editor__mount[data-astro-cid-pveccy6o] td,.rerefons-editor__mount[data-astro-cid-pveccy6o] th,.rerefons-contingut td,.rerefons-contingut th{border:1px solid var(--border-strong);text-align:left;padding:6px 8px}.rerefons-editor__mount[data-astro-cid-pveccy6o] th,.rerefons-contingut th{background:var(--surface)}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure[data-figura],.rerefons-contingut figure[data-figura]{text-align:center;max-width:320px;margin:.75em auto;position:relative}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure.float-left,.rerefons-contingut figure.float-left{float:left;clear:both;margin:.25em 1em .5em 0}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure.float-right,.rerefons-contingut figure.float-right{float:right;clear:both;margin:.25em 0 .5em 1em}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure img,.rerefons-contingut figure img{border-radius:var(--radius-sm);width:100%;max-width:100%;display:block}.rerefons-editor__mount[data-astro-cid-pveccy6o] figcaption,.rerefons-contingut figcaption{color:var(--text-muted);margin-top:4px;font-size:.78rem}.rerefons-editor__mount[data-astro-cid-pveccy6o] .rerefons-fotos-fila,.rerefons-contingut .rerefons-fotos-fila{clear:both;flex-wrap:wrap;gap:10px;margin:.75em 0;display:flex}.rerefons-editor__mount[data-astro-cid-pveccy6o] .rerefons-fotos-fila figure[data-figura],.rerefons-contingut .rerefons-fotos-fila figure[data-figura]{float:none;flex:1 1 0;min-width:140px;max-width:none;margin:0}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure[data-figura]{cursor:pointer}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure[data-figura].ProseMirror-selectednode{outline:3px solid var(--gold);outline-offset:4px;box-shadow:0 0 0 4px #00000059}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__handle{background:var(--gold);border:2px solid var(--bg);cursor:nwse-resize;z-index:3;border-radius:4px;width:18px;height:18px;display:none;position:absolute;bottom:-9px;right:-9px}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure[data-figura].ProseMirror-selectednode .figura-imatge__handle{display:block}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar{background:var(--surface);border:1px solid var(--gold);border-radius:var(--radius-sm);white-space:nowrap;z-index:4;align-items:center;gap:6px;padding:5px 6px;display:none;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 4px 14px #00000073}.rerefons-editor__mount[data-astro-cid-pveccy6o] figure[data-figura].ProseMirror-selectednode .figura-imatge__toolbar{display:flex}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar-group{gap:2px;display:flex}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar button{border:1px solid var(--border-strong);color:var(--text-primary);font-family:var(--font-body);cursor:pointer;background:0 0;border-radius:3px;padding:5px 8px;font-size:.8rem;line-height:1}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar button:hover,.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar button.is-active{border-color:var(--gold);color:var(--gold)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar-delete{color:var(--red);border-color:var(--red)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__toolbar-delete:hover{background:var(--red-soft);color:var(--red);border-color:var(--red)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .figura-imatge__caption-input{background:var(--bg);color:var(--text-primary);border:1px solid var(--border-strong);font-family:var(--font-body);border-radius:3px;width:150px;padding:5px 8px;font-size:.8rem}.rerefons-contingut{color:var(--text-secondary)}.rerefons-contingut:after{content:"";clear:both;display:table}.rerefons-editor__fallback[data-astro-cid-pveccy6o]{display:none}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor{border:1px dashed var(--gold);border-radius:var(--radius-sm);background:var(--gold-soft);margin:.9rem 0}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor__cap{border-bottom:1px dashed var(--border-strong);-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;padding:.45rem .7rem;display:flex}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor__icona{color:var(--gold)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor__titol{min-width:0;font:inherit;color:var(--text-primary);background:var(--surface);border:1px solid var(--border-strong);border-radius:4px;flex:1;padding:.25rem .5rem;font-size:.9rem;font-weight:600}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor__treu{font:inherit;color:var(--text-secondary);border:1px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:4px;padding:.2rem .6rem;font-size:.78rem}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor__treu:hover{color:var(--gold);border-color:var(--gold)}.rerefons-editor__mount[data-astro-cid-pveccy6o] .spoiler-editor__cos{padding:.2rem .9rem .4rem}
