/* Note — le papier vivant de Lucie. Ressources locales uniquement. */
.lucie-note-launch{display:none!important}@media(pointer:coarse){.lucie-note-launch{display:inline-flex!important}}
.lucie-note{position:fixed;inset:0;z-index:11000;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;background:#f7f4ed;color:#243139;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);color-scheme:light}.lucie-note *{box-sizing:border-box}.lucie-note [hidden]{display:none!important}.nb-top{position:relative;z-index:5;display:flex;align-items:center;gap:18px;padding:15px 22px;background:#fffdf8ee;border-bottom:1px solid #2a423a16;box-shadow:0 5px 24px #263d2c07;flex-shrink:0}.nb-brand{display:flex;align-items:center;gap:10px}.nb-brand>span{font:34px Georgia;color:#3a796b}.nb-brand strong{display:block;font-size:12px;letter-spacing:.25em}.nb-brand small{font-size:8px;letter-spacing:.08em;color:#6a7b77;white-space:nowrap}.lucie-note .nb-title{width:100%;max-width:420px;min-width:0;background:transparent;border:0;font:21px Georgia,serif;color:#2b4942;padding:5px}.nb-count{font-size:10px;white-space:nowrap;color:#74817a;margin-left:auto}.lucie-note .nb-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:44px;padding:9px 13px;border-radius:13px;border:1px solid #2743331c;background:#fffdf9;color:#35524a;font:12px ui-sans-serif,system-ui;cursor:pointer;white-space:nowrap;touch-action:manipulation;transition:background .16s,scale .16s;box-shadow:0 2px 6px #24362704}.lucie-note .nb-button:active{scale:.96}.lucie-note .nb-button[aria-pressed=true],.lucie-note .nb-primary{background:#315d50;color:#fff;border-color:#315d50}.lucie-note .nb-exit{background:#253f37;color:#fff;border:0;min-width:140px}.lucie-note :focus-visible{outline:2px solid #3c8c72;outline-offset:3px}.nb-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(circle,#83978645 1px,transparent 1.1px) 0 0/22px 22px;touch-action:none}.nb-world{position:absolute;left:0;top:0;width:3200px;height:2400px;transform-origin:0 0;will-change:transform}.nb-ink{position:absolute;inset:0;width:3200px;height:2400px;touch-action:none;cursor:crosshair}.lucie-note[data-mode=pan] .nb-ink{cursor:grab}.nb-cards{position:absolute;inset:0;pointer-events:none}.nb-card{position:absolute;pointer-events:auto;border:1px solid #3a433819;border-radius:5px 20px 19px 18px;box-shadow:1px 9px 15px #2e3a2513,1px 2px 3px #2e3a250a;overflow:hidden;background:var(--paper,#fff1bc);animation:nb-arrive .3s ease both;min-height:100px;max-height:950px;display:flex;flex-direction:column}.nb-butter{--paper:#fff1ba}.nb-mint{--paper:#dcefdc}.nb-rose{--paper:#f8dfdc}.nb-lilac{--paper:#e9e0f4}.nb-sky{--paper:#dcecf5}.nb-selected{outline:2px solid #43816b;outline-offset:4px;z-index:3}.nb-card-head{display:flex;align-items:center;gap:6px;padding:7px 9px;border-bottom:1px solid #2f4b3d12;touch-action:none;cursor:grab;background:#ffffff26}.nb-card-grip{font-size:20px;color:#3c665e80}.nb-card-head strong{font-size:10px;letter-spacing:.05em;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lucie-note .nb-small{border:0;box-shadow:none;background:transparent;padding:2px;min-height:34px;min-width:30px;font-size:18px}.nb-card-body{padding:12px;overflow:auto;min-height:0;font-size:14px;line-height:1.6;touch-action:pan-x pan-y pinch-zoom}.nb-card-body>*:first-child{margin-top:0}.nb-card-body img{max-width:100%;height:auto;border-radius:8px}.nb-card-body iframe{width:100%;height:420px;border:0;background:white;border-radius:10px}.nb-card-body pre{overflow:auto;max-width:100%;white-space:pre-wrap}.nb-card-body .gal{display:block}.nb-card-body .gal img{width:100%}.nb-card-body .btn{white-space:normal}.lucie-note .nb-note-text{width:100%;resize:vertical;min-height:100px;background:transparent;border:0;padding:0;color:#283d38;font:18px/1.55 'Segoe Print','Bradley Hand',ui-sans-serif,system-ui;box-shadow:none;outline:none}.nb-sketch{background:white;display:block}.lucie-note .nb-ask{font-size:11px;min-height:32px;padding:4px 8px;background:#ffffff66;margin-top:7px}.nb-folded{min-height:0}.nb-folded .nb-card-body{display:none}.nb-toolbar{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;background:#fffdf8f2;border:1px solid #2b4a3520;border-radius:22px;margin:10px auto 4px;padding:8px;position:relative;z-index:5;box-shadow:0 8px 25px #3145300c;width:auto;max-width:96%;height:auto;overflow:visible;flex-shrink:0;top:auto}.nb-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 18px 12px;font-size:10px;color:#718075;flex-shrink:0}.nb-status{color:#3c6556}.nb-editor{position:absolute;bottom:145px;left:50%;transform:translateX(-50%);width:min(600px,94%);background:#fffdf8;border:1px solid #4d72542c;box-shadow:0 15px 60px #20392826;border-radius:20px;padding:14px;z-index:8;display:flex;align-items:end;gap:10px}.lucie-note .nb-editor textarea{background:#f8f6ed;border:0;width:100%;font:16px/1.5 system-ui;resize:vertical;min-height:80px;padding:10px;border-radius:12px}.nb-file-picker{position:absolute;inset:70px 4% 130px;background:#fffdf9;border:1px solid #4d72542c;border-radius:22px;padding:20px;z-index:20;overflow:auto;box-shadow:0 12px 50px #20392835}.nb-file-picker>.nb-button{display:flex;white-space:normal;text-align:left;justify-content:flex-start;margin:10px 0;width:100%}.nb-reader iframe{width:100%;height:75%;border:0}.nb-reader img{max-width:100%;height:auto}.lucie-note~[aria-label='Dossiers de cet ordinateur']{z-index:13000!important}
@keyframes nb-arrive{from{opacity:0;translate:0 8px;rotate:-1deg}to{opacity:1;translate:0 0;rotate:0deg}}
@media(max-width:650px){.nb-top{padding:10px;gap:8px;flex-wrap:wrap}.nb-brand small{display:none}.nb-brand strong{font-size:10px}.nb-brand>span{font-size:26px}.lucie-note .nb-title{font-size:18px;max-width:calc(100% - 210px)}.nb-count{display:none}.lucie-note .nb-exit{font-size:10px;min-width:0;margin-left:auto;padding:8px}.nb-toolbar{gap:4px;padding:6px;margin:6px auto 0;border-radius:16px}.lucie-note .nb-toolbar .nb-button{font-size:10px;min-height:40px;padding:6px 9px}.nb-footer{font-size:9px;padding:7px 10px;display:block;line-height:1.4}.nb-footer>span:last-child{display:none}.nb-editor{bottom:175px;gap:6px;padding:9px}.nb-file-picker{inset:75px 8px 175px;padding:12px}.nb-card-body{font-size:15px}.lucie-note .nb-note-text{font-size:19px}.nb-reader iframe{height:80%}}
@media(prefers-reduced-motion:reduce){.lucie-note *{animation:none!important;transition:none!important}}
/* Barre indépendante du menu latéral : aucun élément nav, donc aucun tiroir mobile. */
.lucie-note{height:100dvh;max-height:100dvh}.lucie-note .nb-toolbar{transform:none!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;position:relative!important;width:min(900px,96%);max-width:96%;height:auto!important;max-height:34dvh;overflow:auto;display:flex;flex-direction:column;flex-shrink:0;gap:6px;margin:7px auto 3px;z-index:10}.nb-primary-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%}.lucie-note .nb-primary-tools .nb-button{width:100%;min-height:46px;font-size:13px;padding:8px 5px}.nb-secondary-tools{display:flex;width:100%;gap:7px;justify-content:center}.nb-extra{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;width:100%}.lucie-note .nb-complete{background:#e4efdf;border-color:#acc1a6}.lucie-note .nb-editor{bottom:190px}.lucie-live .ll-dock{transform:none;left:auto;right:auto;bottom:auto}
@media(max-width:650px){.lucie-note .nb-primary-tools .nb-button{font-size:11px;min-height:45px}.nb-primary-tools{gap:5px}.lucie-note .nb-toolbar{padding:6px;border-radius:16px;max-height:32dvh}.lucie-note .nb-secondary-tools .nb-button{min-height:36px;font-size:10px}.lucie-note .nb-editor{bottom:185px}.nb-footer{padding-bottom:max(7px,env(safe-area-inset-bottom))}}
.lucie-note .nb-card,.lucie-note .nb-card-body{touch-action:none}.lucie-note .nb-note-text{touch-action:pan-y}.lucie-note .nb-card-body iframe{touch-action:auto}.lucie-note .nb-footer{min-height:24px}
.lucie-note .nb-help{background:#e9eee5;border-color:#becdbb;min-width:54px}.nb-help-head{position:sticky;top:-20px;background:#fffdf9;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0}.nb-help-panel{max-width:820px;margin:auto;line-height:1.7}.nb-help-panel details{border-top:1px solid #29493620;padding:12px 0}.nb-help-panel summary{font-weight:600;cursor:pointer;min-height:36px;color:#315d50}.nb-help-panel p{font-size:14px;color:#43544c}.nb-help-panel .nb-help-head .nb-button{width:auto;white-space:nowrap}
.nb-exit-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}.lucie-note .nb-summarize{background:#e3efdc;border-color:#b2c7a5;white-space:normal}.lucie-note .nb-exit{min-width:70px}
@media(max-width:650px){.nb-exit-actions{margin-left:auto}.lucie-note .nb-summarize{font-size:10px;padding:7px;max-width:110px;line-height:1.2}.lucie-note .nb-exit{font-size:10px;padding:7px;min-width:50px}.nb-top{gap:6px}.lucie-note .nb-title{max-width:calc(100% - 80px)}.lucie-note .nb-help{font-size:10px;padding:5px;min-width:44px}}
