/* DIE2HARD Studio 1.17 — backups and the security log (Help → System status, owners only).
   Drawn in the dark help sheet with the same tokens as the status list above it (studio-core.css). */
.sec-box{margin:22px 0 4px;padding-top:18px;border-top:1px solid var(--d19-line);display:grid;gap:12px;color:#f2ede6}   /* the help sheet's muted text colour would also dim the titles and buttons */
.sec-box:empty{display:none}
.sec-box .sec-h{margin:0;font:600 15px var(--sans);color:#f2ede6}
.sec-box .sec-log .sec-h{margin-bottom:10px}
.d19-help-body .sec-box p{margin:0;font-size:13.5px;line-height:1.55;color:#d6d1c9}
.d19-help-body .sec-box .sec-hint{font-size:12.5px;color:var(--d19-muted)}
.d19-help-body .sec-box .sec-hint.is-warn{color:#f0c27a}
.d19-help-body .sec-box .sec-alert{padding:11px 13px;border-radius:12px;background:rgba(255,157,149,.1);border:1px solid rgba(255,157,149,.35);color:#ffc9c4}
.d19-help-body .sec-box .sec-empty{padding:12px 13px;border-radius:12px;border:1px dashed var(--d19-line);color:var(--d19-muted)}
.d19-help-body .sec-box .sec-owners{color:#f2ede6}
.sec-owners em{font-style:normal;color:var(--d19-muted)}

.sec-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.sec-actions .primary{min-height:44px}
.sec-meta{font:12px var(--mono);color:var(--d19-muted)}

.sec-list,.sec-events{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.sec-item,.sec-events li{padding:11px 13px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--d19-line)}
.sec-item{display:grid;gap:10px}
.sec-item-main,.sec-events li{display:grid;gap:3px;min-width:0}
.sec-item-main b,.sec-events li b{font:600 14px var(--sans);overflow-wrap:anywhere}
.sec-item-main small,.sec-events li small{font:12.5px/1.4 var(--sans);color:var(--d19-muted)}
.sec-item-main span:empty{display:none}
.sec-item-main .sec-ok{color:#c4d992}
.sec-item-main .sec-bad{color:#ff9d95}
.sec-btns{display:flex;flex-wrap:wrap;gap:8px}
.sec-btns button{min-height:40px;padding:0 14px;font-size:13px;margin:0}
.sec-more{justify-self:start;min-height:40px;padding:0 4px;border:0;background:none;color:#f2ede6;font:500 13px var(--sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

.sec-skel{display:grid;gap:8px}
.sec-skel i{display:block;height:62px;border-radius:12px;background:linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 75%);background-size:200% 100%;animation:secPulse 1.4s ease-in-out infinite}
@keyframes secPulse{0%{background-position:200% 0}100%{background-position:-200% 0}}

@media (min-width:560px){
  .sec-item{grid-template-columns:1fr auto;align-items:center}
}
@media (max-width:650px),(pointer:coarse) and (max-height:500px) and (max-width:1000px){
  .sec-btns button,.sec-more{min-height:44px}
}
@media (prefers-reduced-motion:reduce){.sec-skel i{animation:none}}
