@font-face{font-family:EB Garamond;src:url(/fonts/EBGaramond-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:EB Garamond;src:url(/fonts/EBGaramond-Italic.ttf) format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:EB Garamond;src:url(/fonts/EBGaramond-Medium.ttf) format("truetype");font-weight:500;font-display:swap}@font-face{font-family:EB Garamond;src:url(/fonts/EBGaramond-SemiBold.ttf) format("truetype");font-weight:600;font-display:swap}@font-face{font-family:"Source Sans 3";src:url(/fonts/SourceSans3-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:"Source Sans 3";src:url(/fonts/SourceSans3-It.ttf) format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:"Source Sans 3";src:url(/fonts/SourceSans3-Semibold.ttf) format("truetype");font-weight:600;font-display:swap}:root{--marine-900: #0e2740;--or-600: #a98240;--or-400: #c4a468;--or-700: #8a6a30;--sable-400: #bdaa8d;--creme-50: #fcf9f3;--creme-200: #f8ecd8;--gris-100: #f4f4f4;--blanc: #ffffff;--encre: #101b2d;--encre-douce: #5b6475;--bordure: #ddd8cc;--bordure-champ: #8e8a80;--alerte-100: #fce0ae;--alerte-600: #a87424;--succes-600: #4c8c20;--erreur-600: #c70000;--rayon-sm: 4px;--rayon-md: 8px;--ombre-page: 0 2px 10px rgba(14, 39, 64, .14);--serif: "EB Garamond", Garamond, Georgia, serif;--sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif}*{box-sizing:border-box}html,body,#racine{height:100%;margin:0}body{font-family:var(--sans);font-size:16px;line-height:22px;color:var(--encre);background:var(--creme-50)}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:2px solid var(--or-600);outline-offset:2px}.page{display:flex;flex-direction:column;height:100%}.discret{color:var(--encre-douce);font-size:13px}.titre-serif{font-family:var(--serif)}.barre-superieure{display:flex;align-items:center;gap:16px;height:64px;padding:0 16px;background:var(--marine-900);color:var(--blanc);flex-shrink:0}.barre-superieure .logo img{height:48px;display:block}.titre-barre{font-size:24px;line-height:30px;padding-left:16px;border-left:1px solid rgba(255,255,255,.25);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.espace{flex:1}.etat-enregistrement{display:flex;align-items:center;gap:8px;font-size:13px;line-height:16px}.etat-enregistrement strong{display:block;font-weight:600}.pastille{width:10px;height:10px;border-radius:9999px}.pastille.en-ligne{background:var(--succes-600)}.pastille.hors-ligne{background:var(--or-400)}.bouton-principal{background:var(--or-600);color:var(--blanc);border:none;border-radius:var(--rayon-md);padding:8px 16px;font-size:19px;line-height:24px;font-weight:600}.bouton-principal.large{width:100%}.bouton-secondaire{background:var(--blanc);color:var(--encre);border:1px solid var(--bordure-champ);border-radius:var(--rayon-md);padding:8px 16px}.bouton-contour{background:transparent;color:var(--blanc);border:1px solid var(--blanc);border-radius:var(--rayon-md);padding:8px 16px;font-weight:600}.bouton-icone{background:none;border:none;color:var(--encre-douce);padding:4px 8px;border-radius:var(--rayon-sm)}.bouton-icone:hover{background:var(--gris-100)}.mes-livres{max-width:960px;width:100%;margin:0 auto;padding:32px 16px;overflow:auto}.bienvenue h1{font-family:var(--serif);font-size:40px;line-height:44px;font-weight:600;margin:0 0 4px}.bienvenue p{color:var(--encre-douce);margin:0 0 24px}.actions-rapides{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}.mes-livres h2{font-family:var(--serif);font-size:24px;line-height:30px;font-weight:600}.carte{background:var(--blanc);border:1px solid var(--bordure);border-radius:var(--rayon-md);padding:16px}.formulaire-creation{display:grid;gap:16px;max-width:480px;margin-bottom:32px}.formulaire-creation h2{margin:0}.formulaire-creation label,.champ{display:grid;gap:4px;font-size:13px;color:var(--encre-douce)}.formulaire-creation input,.champ input,.champ select{font-size:16px;color:var(--encre);background:var(--blanc);border:1px solid var(--bordure-champ);border-radius:var(--rayon-sm);padding:6px 8px}.boutons{display:flex;gap:8px;justify-content:flex-end}.liste-livres{list-style:none;padding:0;display:grid;gap:8px}.carte-livre{display:flex;align-items:center;background:var(--blanc);border:1px solid var(--bordure);border-radius:var(--rayon-md)}.carte-livre a{flex:1;display:flex;gap:16px;align-items:center;padding:8px 16px;color:inherit;text-decoration:none}.carte-livre a>span:last-child{display:grid}.couverture{width:36px;height:48px;border-radius:2px;background:var(--marine-900);color:var(--or-400);font-family:var(--serif);font-size:24px;display:grid;place-items:center}.espace-travail{flex:1;display:grid;grid-template-columns:280px 1fr 280px;min-height:0}.plan,.panneau-infos{background:var(--creme-50);padding:16px;overflow:auto}.plan{border-right:1px solid var(--bordure)}.panneau-infos{border-left:1px solid var(--bordure);display:grid;align-content:start;gap:12px}.titre-panneau{font-family:var(--serif);font-size:24px;line-height:30px;font-weight:600;margin:0 0 16px}.sous-titre-panneau{font-size:18px;font-weight:600;margin:12px 0 0}.aide{font-size:13px;color:var(--encre-douce)}.ajout-section{position:relative;margin-bottom:16px}.menu{position:absolute;z-index:10;left:0;right:0;top:calc(100% + 4px);list-style:none;margin:0;padding:4px;background:var(--blanc);border:1px solid var(--bordure);border-radius:var(--rayon-md);box-shadow:var(--ombre-page)}.menu button{width:100%;text-align:left;background:none;border:none;padding:6px 8px;border-radius:var(--rayon-sm)}.menu button:hover{background:var(--creme-200)}.liste-sections{list-style:none;margin:0;padding:0;display:grid;gap:8px}.section-plan{min-width:0;display:flex;align-items:center;gap:4px;background:var(--blanc);border:1px solid var(--bordure);border-radius:var(--rayon-md);padding:4px 4px 4px 8px}.section-plan.active{background:var(--creme-200);border-color:var(--or-600)}.section-plan.cible{border-top:2px solid var(--or-600)}.poignee{color:var(--encre-douce);cursor:grab}.nom-section{flex:1;min-width:0;text-align:left;background:none;border:none;padding:6px 4px;display:flex;gap:8px;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.renommage{flex:1;border:1px solid var(--bordure-champ);border-radius:var(--rayon-sm);padding:4px}.actions-section{display:none}.section-plan:hover .actions-section,.section-plan:focus-within .actions-section,.section-plan.active .actions-section{display:flex}.libelle-section{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.actions-section button{background:none;border:none;color:var(--encre-douce);padding:2px 5px;border-radius:var(--rayon-sm)}.actions-section button:hover:not(:disabled){background:var(--gris-100);color:var(--encre)}.icone-type{width:14px;height:18px;border:1.5px solid var(--encre);border-radius:2px;flex-shrink:0}.icone-chapitre,.icone-partie{border-left-width:4px}.centre{background:var(--gris-100);overflow:auto;padding:16px 32px 48px}.zone-vide{padding:48px;text-align:center;color:var(--encre-douce)}.zone-edition{max-width:760px;margin:0 auto}.entete-section{text-align:center;margin:8px 0 16px}.type-section{display:block;font-family:var(--serif);font-size:22px;color:var(--or-700)}.titre-section{width:100%;text-align:center;font-family:var(--serif);font-size:36px;line-height:44px;font-weight:500;border:1px dashed transparent;background:transparent;padding:4px;border-radius:var(--rayon-sm)}.titre-section:hover,.titre-section:focus{border-color:var(--bordure-champ);background:var(--blanc)}.barre-outils{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:4px;background:var(--blanc);border:1px solid var(--bordure);border-radius:var(--rayon-md);padding:6px;margin-bottom:16px}.barre-outils button,.barre-outils select{background:var(--blanc);border:1px solid transparent;border-radius:var(--rayon-sm);padding:4px 6px;min-width:30px}.barre-outils select{border-color:var(--bordure-champ);max-width:118px}.barre-outils button:hover{background:var(--gris-100)}.barre-outils button.actif{background:var(--creme-200);border-color:var(--or-600)}.barre-outils .separation{width:1px;align-self:stretch;background:var(--bordure);margin:0 2px}.page-papier{background:var(--creme-50);box-shadow:var(--ombre-page);border-radius:2px;padding:48px 56px;min-height:480px}.info-generee{color:var(--encre-douce);font-style:italic}.texte-livre{font-family:var(--serif);font-size:18px;line-height:27px;outline:none;min-height:360px;-webkit-hyphens:auto;hyphens:auto}.texte-livre p{margin:0;text-align:justify;text-indent:1.2em}.texte-livre p[data-alignement]{text-indent:0}.texte-livre blockquote{margin:12px 2em;font-style:italic;font-size:17px}.texte-livre blockquote p{text-indent:0}.texte-livre a{color:var(--or-700)}.texte-livre .petites-capitales,.petites-capitales{font-variant:small-caps}.texte-livre .appel-note{color:var(--or-700);font-family:var(--sans);font-weight:600;padding:0 2px;cursor:help}.texte-livre .separateur{border:none;text-align:center;margin:16px 0}.texte-livre .separateur:after{content:"* * *";color:var(--encre-douce);letter-spacing:.6em}.texte-livre .saut-page{text-align:center;font-family:var(--sans);font-size:13px;color:var(--encre-douce);border-top:1px dashed var(--bordure-champ);margin:16px 0;padding-top:4px}.texte-livre .bloc-special{font-family:var(--sans);font-size:13px;color:var(--encre-douce);background:var(--gris-100);border:1px dashed var(--bordure-champ);border-radius:var(--rayon-md);padding:8px 12px;margin:12px 0}.texte-livre .ProseMirror-selectednode{outline:2px solid var(--or-600)}.texte-livre .encadre{border:1px solid var(--bordure-champ);border-radius:var(--rayon-sm);padding:8px 12px;margin:12px 0;background:var(--blanc);font-size:17px}.texte-livre .encadre p{text-indent:0}.texte-livre .encadre[data-titre]:not([data-titre=""]):before{content:attr(data-titre);display:block;font-weight:600;margin-bottom:4px}.texte-livre .lettre{margin:12px 2em;font-style:italic}.texte-livre .lettre p{text-indent:0;text-align:left;margin-bottom:6px}.texte-livre .lettre[data-entete]:not([data-entete=""]):before{content:attr(data-entete);display:block;text-align:right;margin-bottom:8px}.texte-livre .lettre[data-signature]:not([data-signature=""]):after{content:attr(data-signature);display:block;text-align:right;margin-top:8px}.texte-livre .poeme{margin:12px auto;width:fit-content;max-width:90%;font-style:italic}.texte-livre .strophe+.strophe{margin-top:14px}.texte-livre .ligne-vers{text-indent:0;text-align:left}.texte-livre .sms{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-family:var(--sans);font-size:14px;line-height:19px}.texte-livre .message-sms{text-indent:0;text-align:left;max-width:75%;padding:6px 10px;border-radius:12px;border:1px solid var(--bordure-champ);align-self:flex-start;min-width:40px}.texte-livre .message-sms[data-emetteur=moi]{align-self:flex-end;background:var(--creme-200);border-color:transparent}.texte-livre .message-sms[data-emetteur=autre][data-nom]:not([data-nom=""]):before{content:attr(data-nom);display:block;font-size:11px;color:var(--encre-douce)}.texte-livre .image-livre{margin:16px 0;text-align:center;cursor:pointer}.texte-livre .image-livre img{max-width:100%;height:auto;display:inline-block;border-radius:2px}.texte-livre .image-livre[data-disposition=pleine-page]{border:1px dashed var(--bordure-champ);padding:8px}.texte-livre .image-livre[data-disposition=pleine-page]:before{content:"Image sur une page entière";display:block;font-family:var(--sans);font-size:12px;color:var(--encre-douce);margin-bottom:4px}.texte-livre .image-livre figcaption{font-size:14px;font-style:italic;color:var(--encre-douce);margin-top:4px}.texte-livre .image-livre .avertissement-image{font-family:var(--sans);font-size:12px;background:var(--alerte-100);color:var(--encre);border-radius:var(--rayon-sm);padding:4px 8px;margin:4px auto 0;width:fit-content}.texte-livre .image-livre.ProseMirror-selectednode img{outline:2px solid var(--or-600)}.barre-outils select[aria-label="Style du paragraphe"]{max-width:none}.pied-page{margin-top:48px;padding-top:16px;border-top:1px solid var(--bordure);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:13px;color:var(--encre-douce)}.pied-page a{color:var(--or-700)}
