/* Encrypted sync strip: linen field, moss stitch, RTL-first. Not a dashboard card. */
.journal-sync-status{
  margin:0 0 1.1rem;
  padding:.85rem 1rem .95rem;
  border-radius:1.05rem 0.35rem 1.05rem 0.35rem;
  background:
    linear-gradient(180deg,#f4efe4 0%,#efe6d4 100%);
  border:1px solid #d7c9ae;
  box-shadow:inset 0 1px 0 #fff8ea, 0 10px 24px #243b3010;
  color:var(--ink,#243b30);
}
.journal-sync-status::before{
  content:"";
  display:block;
  height:3px;
  margin:-.85rem -1rem .75rem;
  border-radius:1.05rem 0.35rem 0 0;
  background:
    repeating-linear-gradient(-45deg,#4f6d57 0 6px,#c4a574 6px 9px,#4f6d57 9px 15px,#efe6d4 15px 18px);
}
.journal-sync-kicker{
  margin:0 0 .35rem;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#5d6f5e;
}
.journal-sync-copy{
  margin:0;
  font-size:.95rem;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.journal-sync-flags{
  margin:.45rem 0 0;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.72rem;
  color:#6b5a3e;
  direction:ltr;
  text-align:start;
}
.journal-sync-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin-block-start:.75rem;
}
.journal-sync-actions .button{
  min-height:44px;
  white-space:normal;
}
html[dir=rtl] .journal-sync-status{text-align:right;}
html[dir=ltr] .journal-sync-status{text-align:left;}
@media(max-width:700px){
  .journal-sync-status{padding:.8rem .85rem 1rem;margin-inline:.15rem;}
  .journal-sync-actions{flex-direction:column;}
  .journal-sync-actions .button{width:100%;}
}
.journal-sync-status.quiet{
  margin:0 0 .5rem;
  padding:.45rem .75rem;
  box-shadow:none;
  background:transparent;
  border-color:transparent;
}
.journal-sync-status.quiet::before{display:none;}
.journal-sync-status.quiet .journal-sync-copy{
  font-size:.85rem;
  line-height:1.5;
  color:var(--m-muted,var(--muted,#5d6f5e));
}
@media(prefers-reduced-motion:reduce){
  .journal-sync-status{box-shadow:none;}
}
