/* Le démarrage porte la marque. Les transitions restent dans le contenu. */
.boot-screen { min-height: 100dvh; display: grid; place-items: center; padding: 30px 24px; background: #F4F6FA; color: #13264B; }
.boot-brand { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 38px; }
.boot-brand img { width: 56px; height: 56px; }
.boot-brand strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.8px; }
.boot-brand small { display: block; margin-top: 3px; font-size: 11px; color: #65738B; }
.boot-content { width: 100%; max-width: 360px; text-align: center; }
.boot-content>p { font-size: 12px; margin: 20px 0 0; color: #65738B; line-height: 1.8; }
.boot-track { position: relative; height: 3px; border-radius: 3px; background: #DDE5F3; overflow: hidden; max-width: 180px; margin: auto; }
.boot-track:after { content: ''; position: absolute; inset: 0; width: 45%; background: #3155B5; border-radius: inherit; animation: archive-progress 1.25s ease-in-out infinite; }
.boot-recovery { font-size: 12px; line-height: 1.8; margin-top: 24px; padding-top: 20px; border-top: 1px solid #DDE5F3; }
.boot-recovery p { margin-bottom: 12px; }
.boot-recovery a { display: inline-flex; align-items: center; min-height: 44px; color: #3155B5; text-decoration: underline; text-underline-offset: 4px; }
.page-loading { position: fixed; top: var(--topbar-height); left: var(--sidebar-width); right: 0; height: 3px; z-index: 1025; pointer-events: none; opacity: 1; transition: opacity .22s ease; }
.page-loading-track { display: block; height: 100%; overflow: hidden; background: var(--border); }
.page-loading-track:after { content: ''; display: block; width: 35%; height: 100%; background: var(--color-primary); animation: archive-progress 1.25s ease-in-out infinite; }
.page-loading-caption { position: absolute; right: 24px; top: 12px; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--border); border-radius: 22px; background: var(--card); color: var(--muted); box-shadow: 0 3px 12px #13264B09; font-size: 11px; line-height: 1.5; }
.page-loading-caption>i { display: block; width: 13px; height: 13px; flex-shrink: 0; border: 2px solid var(--border); border-top-color: var(--color-primary); border-radius: 50%; animation: archive-spin .8s linear infinite; }
.page-loading.is-complete { opacity: 0; }
.content-placeholder { min-height: 46vh; padding-top: 10px; }
.placeholder-heading { display: grid; gap: 13px; margin: 0 0 34px; max-width: 55%; }
.placeholder-heading i { display: block; background: var(--border); border-radius: 5px; height: 13px; opacity: .6; }
.placeholder-heading i:first-child { height: 25px; max-width: 240px; }
.placeholder-heading i:last-child { max-width: 310px; }
.placeholder-panel { display: grid; gap: 23px; border: 1px solid var(--border); background: var(--card); border-radius: 12px; padding: 30px; max-width: 100%; min-height: 250px; }
.placeholder-panel>span { display: block; height: 19px; border-bottom: 1px solid var(--border); width: 88%; }
.placeholder-panel>span:nth-child(2) { width: 72%; }
.placeholder-panel>span:last-child { width: 80%; }
.startup-error { max-width: 520px; padding: 36px 26px; margin: 40px auto; text-align: center; }
.startup-error h1 { font-size: 22px; }
.startup-error p { color: var(--muted); line-height: 1.8; margin: 16px 0 24px; }
@keyframes archive-progress { 0% { transform: translateX(-110%); } 100% { transform: translateX(300%); } }
@keyframes archive-spin { to { transform: rotate(360deg); } }
@media (max-width:1199px), (hover:none) and (pointer:coarse) { .page-loading { left: 0; } }
@media (max-width:639px) { .page-loading-caption { right: 16px; font-size: 10px; } .placeholder-heading { max-width: 65%; } .placeholder-panel { min-height: 210px; padding: 20px; } .boot-brand strong { font-size: 23px; } }
@media (prefers-reduced-motion:reduce) { .boot-track:after,.page-loading-track:after,.page-loading-caption>i { animation: none; } .page-loading { transition: none; } }
[data-reduced-motion="true"] :is(.boot-track:after,.page-loading-track:after,.page-loading-caption>i) { animation: none; }
@media print { .page-loading { display: none; } }
