.sg-voile {
position: fixed; inset: 0; z-index: 1000; display: none;
justify-content: center; align-items: flex-start; padding: 7vh 18px 24px;
container: sgposte / inline-size;
background: radial-gradient(130% 100% at 50% 0, rgba(250,251,253,.20) 0%, rgba(237,241,248,.58) 60%, rgba(213,220,232,.70) 100%);
-webkit-backdrop-filter: blur(3.5px) saturate(.9); backdrop-filter: blur(3.5px) saturate(.9);
}
.sg-voile.open { display: flex; }
.sg-voile, .sg-voile * { box-sizing: border-box; }
.sg-voile :focus-visible { outline: 3px solid #1e3a8a; outline-offset: 3px; }
.sg-saisie input:focus-visible { outline: none; }
.sg-saisie:focus-within { border-radius: 6px; box-shadow: inset 0 0 0 2px #1e3a8a; }
.sg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-poste {
position: relative; width: 100%; max-width: 640px; display: flex; flex-direction: column;
max-height: min(560px, 100%); min-height: 0; overflow: hidden; border-radius: 10px 10px 12px 12px;
font: 400 14px/1.5 Inter, system-ui, -apple-system, sans-serif; color: #16233a; text-align: left;
background: linear-gradient(176deg, #fdfaf3 0%, #f6f1e4 46%, #ece5d4 100%);
box-shadow: 0 2px 0 #b9ab8e, 0 26px 54px -14px rgba(45,35,15,.42), inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(150,133,98,.5);
}
.sg-poste svg { display: block; }
:where(.sg-poste) button { font: inherit; color: inherit; cursor: pointer; }
.sg-corps { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.sg-poste::before, .sg-poste::after {
content: ""; position: absolute; top: 9px; width: 9px; height: 9px; border-radius: 50%;
background: radial-gradient(circle at 34% 30%, #fff, #a89a7e); box-shadow: inset 0 0 0 1px rgba(110,95,60,.6);
}
.sg-poste::before { left: 9px; } .sg-poste::after { right: 9px; }
.sg-couvercle {
position: relative; flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 30px 8px;
border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #e8dfc8, #d9cfb4);
box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 0 rgba(140,122,80,.45);
}
.sg-anse { width: 34px; height: 9px; flex: none; border-radius: 5px; background: linear-gradient(180deg, #8f7f5c, #6d6045); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.sg-couvercle b { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6d6045; }
.sg-couvercle .quoi { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #8a7a52; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-cadran { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid rgba(150,133,98,.42); }
.sg-grille {
width: 38px; height: 38px; flex: none; border-radius: 7px;
background: radial-gradient(circle 1.6px at 4px 4px, rgba(70,58,32,.45) 0 1.6px, transparent 1.7px) 0 0/8px 8px,
linear-gradient(180deg, #e6dcc4, #cfc3a4);
box-shadow: inset 0 0 0 1px rgba(140,122,80,.5), inset 0 1px 0 rgba(255,255,255,.6);
}
.sg-saisie { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0 -9px; padding: 0 9px; }
.sg-saisie input {
flex: 1; min-width: 0; height: 34px; border: 0; background: transparent; outline: none; color: #1b2433;
font: 650 16px/1 Inter, system-ui, sans-serif; letter-spacing: .005em;
}
.sg-saisie input::placeholder { color: #8a7a52; font-weight: 500; }
.sg-saisie input::-webkit-search-cancel-button { display: none; }
.sg-touche {
flex: none; padding: 4px 8px; border-radius: 5px; font: 800 10.5px Inter, sans-serif; letter-spacing: .04em;
color: #6d6045; background: rgba(255,253,246,.8); box-shadow: inset 0 0 0 1px rgba(140,122,80,.5), 0 1px 0 rgba(140,122,80,.4);
}
.sg-vu { flex: none; width: 54px; height: 30px; border-radius: 4px; position: relative; overflow: hidden; background: linear-gradient(180deg, #fffdf6, #f0e9d7); box-shadow: inset 0 0 0 1px rgba(140,122,80,.5); }
.sg-vu i { position: absolute; left: 50%; bottom: 11px; width: 2px; height: 13px; border-radius: 1px; background: #8c3a0b; transform-origin: 50% 100%; transform: rotate(-26deg); }
.sg-vu.appel i { animation: sgAiguille 1.5s ease-in-out infinite; }
.sg-vu.calme i { background: #166534; transform: rotate(22deg); }
.sg-vu b { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; font-size: 6.5px; font-weight: 800; letter-spacing: .12em; color: #9a8a62; }
.sg-bande {
flex: none; display: flex; gap: 5px; flex-wrap: wrap; padding: 9px 13px;
background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); border-bottom: 1px solid rgba(150,133,98,.32);
}
.sg-lampe {
position: relative; min-height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px;
border: 0; border-radius: 16px; font: 700 11.5px Inter, sans-serif; white-space: nowrap; color: #5d5236;
background: rgba(255,253,246,.72); box-shadow: inset 0 0 0 1px rgba(150,133,98,.45); transition: transform .16s, box-shadow .16s;
}
.sg-lampe svg { width: 13px; height: 13px; flex: none; }
.sg-lampe:hover { transform: translateY(-1px); background: #fffdf6; }
.sg-lampe .d { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--lc, #9aa5b3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lc, #9aa5b3) 20%, transparent); }
.sg-lampe[data-etat="repondu"] { --lc: #166534; }
.sg-lampe[data-etat="attente"] { --lc: #a85a09; }
.sg-lampe[data-etat="attente"] .d { animation: sgPouls 1.1s ease-in-out infinite; }
.sg-lampe[data-etat="silence"] { --lc: #a85a09; color: #7c3c06; background: #fdf3e4; box-shadow: inset 0 0 0 1.5px rgba(168,90,9,.55); }
.sg-lampe[data-etat="interdit"] { --lc: #94a3b8; color: #6b7686; background: repeating-linear-gradient(135deg, rgba(148,163,184,.14) 0 5px, transparent 5px 10px), rgba(255,253,246,.5); }
.sg-lampe[aria-expanded="true"] { color: #fdfaf1; background: #3b4256; box-shadow: inset 0 0 0 1px #2b3143; }
.sg-lampe[aria-expanded="true"] .d { box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.sg-lampe .n { font-weight: 800; font-variant-numeric: tabular-nums; opacity: .72; }
.sg-panneau { margin: 0; padding: 12px 14px 13px; border-bottom: 1px solid rgba(150,133,98,.32); background: #fbf7ec; font-size: 12.5px; line-height: 1.55; color: #5c5340; }
.sg-panneau b { display: block; font-size: 13.5px; color: #33280f; margin-bottom: 3px; }
.sg-panneau dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; }
.sg-panneau dt { font-weight: 800; color: #8a7a52; }
.sg-panneau dd { margin: 0; color: #5c5340; }
.sg-panneau .actes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.sg-panneau .dit { font-size: 12px; color: #6b7686; font-weight: 600; align-self: center; }
.sg-bandeau {
flex: none; display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 11px 14px;
border-bottom: 1px solid rgba(150,133,98,.32); border-left: 5px solid var(--bc, #64748b);
background: var(--bf, #f7f9fc); font-size: 12.5px; line-height: 1.55; color: #4d4534;
}
.sg-bandeau svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--bc, #64748b); }
.sg-bandeau b { display: block; font-size: 13.5px; color: #33280f; margin-bottom: 2px; }
.sg-bandeau.silence { --bc: #a85a09; --bf: #fdf3e4; color: #6b4218; }
.sg-bandeau.silence b { color: #7c3c06; }
.sg-bandeau.droits { --bc: #64748b; --bf: #f3f5f9; color: #4a5567; }
.sg-bandeau.droits b { color: #33425a; }
.sg-bandeau .tx { min-width: 0; flex: 1; }
.sg-bandeau .actes { flex: none; margin-left: auto; align-self: center; display: flex; flex-wrap: wrap; gap: 7px; }
.sg-flot { flex: 1 1 auto; min-height: 124px; overflow-y: auto; overscroll-behavior: contain; }
.sg-liste { padding: 6px 8px 10px; }
.sg-grp { display: flex; align-items: center; gap: 9px; padding: 11px 8px 5px; }
.sg-grp .t { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; color: #8a7a52; white-space: nowrap; }
.sg-grp .f { flex: 1; height: 1px; background: rgba(150,133,98,.35); }
.sg-grp .e { font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #7a8a6c; white-space: nowrap; }
.sg-grp .e.sil { color: #8c3a0b; }
.sg-grp .e.int { color: #6b7686; }
.sg-it {
position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 52px;
padding: 8px 11px 8px 14px; border: 0; border-radius: 8px; text-align: left; background: transparent;
text-decoration: none; color: inherit;
}
.sg-it::before { content: ""; position: absolute; left: 4px; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: transparent; }
.sg-it .ic { width: 30px; height: 30px; flex: none; border-radius: 7px; display: grid; place-items: center; color: #fdfaf1; background: var(--ic, #5b6774); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
.sg-it .ic svg { width: 16px; height: 16px; }
.sg-it .tx { min-width: 0; flex: 1; }
.sg-it .t { display: block; font-size: 13.5px; font-weight: 700; color: #2a2114; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-it .t mark { background: rgba(217,169,63,.42); color: inherit; border-radius: 2px; padding: 0 1px; }
.sg-it .s { display: block; font-size: 11.5px; font-weight: 600; color: #7b6f56; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-it .k { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .05em; color: #9a8a62; text-transform: uppercase; }
.sg-it:hover { background: rgba(255,253,246,.75); }
.sg-it.on { background: linear-gradient(180deg, #fffdf6, #f7f1e0); box-shadow: inset 0 0 0 1px rgba(150,133,98,.5), 0 2px 6px rgba(70,56,26,.14); }
.sg-it.on::before { background: #c2a14a; box-shadow: 0 0 0 2px rgba(194,161,74,.22); }
.sg-it.on .k { color: #6d6045; }
.sg-poste.anim .sg-it.on::before { animation: sgLampeGlisse .2s ease-out; }
.sg-bloc { display: flex; align-items: flex-start; gap: 11px; margin: 3px 4px 4px; padding: 11px 13px; border-radius: 8px; font-size: 12.5px; line-height: 1.5; }
.sg-bloc svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.sg-bloc b { display: block; font-size: 13px; margin-bottom: 3px; }
.sg-bloc .actes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.sg-bloc .essais { font-size: 11.5px; font-weight: 700; color: #8c3a0b; align-self: center; }
.sg-bloc.sil { color: #6b4218; background: #fdf3e4; box-shadow: inset 0 0 0 1.5px rgba(168,90,9,.45); }
.sg-bloc.sil b { color: #7c3c06; }
.sg-bloc.sil svg { color: #a85a09; }
.sg-bloc.sil .souffle { position: relative; display: block; height: 7px; margin-top: 9px; border-radius: 4px; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(168,90,9,.30) 0 2px, rgba(168,90,9,.06) 2px 5px); }
.sg-poste.anim .sg-bloc.sil .souffle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-100%); animation: sgSouffle 2.4s linear infinite; }
.sg-bloc.int { color: #4a5567; background: repeating-linear-gradient(135deg, rgba(148,163,184,.12) 0 6px, transparent 6px 12px), #f5f7fa; box-shadow: inset 0 0 0 1.5px rgba(100,116,139,.32); }
.sg-bloc.int b { color: #33425a; }
.sg-bloc.int svg { color: #64748b; }
.sg-vide { padding: 30px 22px; text-align: center; color: #7b6f56; font-size: 13px; line-height: 1.6; }
.sg-vide b { display: block; font-size: 14.5px; color: #33280f; margin-bottom: 5px; }
.sg-vide .quoi { display: inline-block; margin-top: 9px; font-size: 12px; color: #8a7a52; }
.sg-a {
min-height: 44px; padding: 0 13px; border: 1.5px solid rgba(150,133,98,.55); border-radius: 6px;
display: inline-flex; align-items: center; justify-content: center; gap: 7px;
font: 700 12.5px Inter, sans-serif; color: #4e421f; background: rgba(255,255,255,.66);
}
.sg-a:hover { background: #fffdf6; }
.sg-a svg { width: 16px; height: 16px; flex: none; }
.sg-a.pri { color: #fdfaf1; border-color: #7a4106; background: linear-gradient(180deg, #a85a09, #7f4206); }
.sg-a.pri:hover { filter: brightness(1.1); }
.sg-a.min { min-height: 34px; padding: 0 10px; font-size: 12px; }
.sg-pied {
flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 9px 15px;
border-top: 1px solid rgba(150,133,98,.42); border-radius: 0 0 12px 12px;
background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(215,203,175,.35));
font-size: 11px; font-weight: 600; color: #7b6f56;
}
.sg-pied kbd { display: inline-block; min-width: 19px; padding: 2px 5px; border-radius: 4px; font: 800 10.5px Inter, sans-serif; color: #4e421f; background: #fffdf6; box-shadow: inset 0 0 0 1px rgba(140,122,80,.5), 0 1px 0 rgba(140,122,80,.4); }
.sg-pied .cpt { margin-left: auto; font-weight: 800; color: #5d5236; white-space: nowrap; }
.sg-pied .cpt.sil { color: #8c3a0b; }
.sg-toast {
position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; pointer-events: none;
max-width: min(520px, 92%); padding: 11px 15px; border-radius: 8px;
font: 600 12.5px/1.5 Inter, system-ui, sans-serif; color: #fdfaf1; background: #33280f;
box-shadow: 0 10px 26px rgba(40,25,10,.45);
}
.sg-voile.anim .sg-toast { animation: sgToast .26s ease-out; }
@media (pointer: coarse) {
.sg-lampe { min-height: 44px; }
.sg-a.min { min-height: 44px; }
}
@container sgposte (max-width: 560px) {
.sg-voile { padding: 12px 10px 16px; }
.sg-poste { max-height: 100%; }
}
@container sgposte (max-width: 520px) {
.sg-bandeau { flex-wrap: wrap; }
.sg-bandeau .actes { flex-basis: 100%; margin-left: 29px; align-self: auto; }
.sg-pied .cpt { margin-left: 0; flex-basis: 100%; }
}
@container sgposte (max-width: 480px) {
.sg-vu, .sg-grille { display: none; }
.sg-couvercle .quoi { display: none; }
}
@container sgposte (max-width: 440px) { .sg-it .k { display: none; } }
@keyframes sgVoile { from { opacity: 0; } to { opacity: 1; } }
@keyframes sgCouvercle { from { opacity: 0; transform: translateY(-14px) scaleY(.965); } to { opacity: 1; transform: none; } }
@keyframes sgLampeAllume { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes sgLampeGlisse { from { transform: scaleY(.2); } to { transform: none; } }
@keyframes sgPouls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes sgAiguille { 0%, 100% { transform: rotate(-26deg); } 45% { transform: rotate(16deg); } 70% { transform: rotate(-6deg); } }
@keyframes sgSouffle { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes sgToast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes sgReponse { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sg-voile.anim { animation: sgVoile .18s ease-out; }
.sg-voile.anim .sg-poste { animation: sgCouvercle .24s cubic-bezier(.2,.9,.3,1); }
.sg-poste.anim .sg-lampe { animation: sgLampeAllume .22s ease-out backwards; }
.sg-poste.anim .sg-lampe:nth-child(1) { animation-delay: .02s; }
.sg-poste.anim .sg-lampe:nth-child(2) { animation-delay: .05s; }
.sg-poste.anim .sg-lampe:nth-child(3) { animation-delay: .08s; }
.sg-poste.anim .sg-lampe:nth-child(4) { animation-delay: .11s; }
.sg-poste.anim .sg-lampe:nth-child(5) { animation-delay: .14s; }
.sg-poste.anim .sg-lampe:nth-child(6) { animation-delay: .17s; }
.sg-poste.anim .sg-liste > * { animation: sgReponse .2s ease-out backwards; }
.sg-poste.anim .sg-liste > :nth-child(-n+9) { animation-delay: calc(.02s * var(--i, 0)); }
html.anim-reduites .sg-voile.anim,
html.anim-reduites .sg-voile.anim .sg-poste,
html.anim-reduites .sg-poste.anim .sg-lampe,
html.anim-reduites .sg-poste.anim .sg-liste > *,
html.anim-reduites .sg-poste.anim .sg-it.on::before,
html.anim-reduites .sg-voile.anim .sg-toast,
html.anim-reduites .sg-vu.appel i,
html.anim-reduites .sg-lampe[data-etat="attente"] .d,
html.anim-reduites .sg-bloc.sil .souffle::after { animation: none !important; }
html.anim-reduites .sg-lampe, html.anim-reduites .sg-it, html.anim-reduites .sg-poste { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
.sg-voile.anim, .sg-voile.anim .sg-poste, .sg-poste.anim .sg-lampe,
.sg-poste.anim .sg-liste > *, .sg-poste.anim .sg-it.on::before, .sg-voile.anim .sg-toast,
.sg-vu.appel i, .sg-lampe[data-etat="attente"] .d, .sg-bloc.sil .souffle::after { animation: none !important; }
.sg-lampe, .sg-it, .sg-poste { transition: none !important; }
}
@media print { .sg-voile { display: none !important; } }