.rsfc-wrap{
  width:min(100%,var(--rs-feed,900px));
  margin:0 auto 24px!important;
  color:var(--rs-text,#f7f7f7);
  font-family:var(--rs-font,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif);
  line-height:1.35;
}
.rsfc-wrap *{box-sizing:border-box}
.rsfc-shell{
  background:var(--rs-surface,#101010);
  border:1px solid var(--rs-border,#303030);
  border-radius:14px;
  padding:14px;
  box-shadow:none;
}
.rsfc-hero{
  display:grid;
  gap:12px;
  background:#151515;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:16px;
}
.rsfc-kicker{
  margin:0 0 5px!important;
  color:#fff!important;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.7rem;
  font-weight:850;
}
.rsfc-title{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(1.35rem,3vw,1.95rem)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  font-weight:850!important;
}
.rsfc-subtitle{
  margin:7px 0 0!important;
  color:var(--rs-muted,#b9b9b9)!important;
  font-size:.92rem!important;
}
.rsfc-setup-grid{
  display:grid;
  grid-template-columns:1fr 140px;
  gap:10px;
  align-items:end;
}
.rsfc-field label,
.rsfc-add label{
  display:block;
  color:#d9d9d9;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:800;
  margin:0 0 5px!important;
}
.rsfc-input,
.rsfc-select{
  width:100%;
  min-height:40px;
  background:#0f0f0f!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:9px!important;
  padding:9px 11px!important;
  font:inherit!important;
  outline:none!important;
  box-shadow:none!important;
}
.rsfc-input:focus,.rsfc-select:focus{border-color:var(--rs-red,#e50914)!important}
.rsfc-input::placeholder{color:#777!important}
.rsfc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  border:1px solid var(--rs-red,#e50914)!important;
  border-radius:9px!important;
  background:var(--rs-red,#e50914)!important;
  color:#fff!important;
  padding:8px 12px!important;
  font-size:.82rem!important;
  font-weight:850!important;
  line-height:1!important;
  text-decoration:none!important;
  cursor:pointer;
  box-shadow:none!important;
  appearance:none;
  white-space:nowrap;
}
.rsfc-btn:hover{background:var(--rs-red-dark,#c40812)!important;border-color:var(--rs-red-dark,#c40812)!important;color:#fff!important}
.rsfc-btn.rsfc-secondary{background:#171717!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important}
.rsfc-btn.rsfc-secondary:hover{background:#202020!important;border-color:rgba(255,255,255,.25)!important}
.rsfc-btn.rsfc-danger{background:#171717!important;border-color:rgba(229,9,20,.65)!important;color:#fff!important}
.rsfc-btn.rsfc-danger:hover{background:var(--rs-red,#e50914)!important;border-color:var(--rs-red,#e50914)!important}
.rsfc-btn.rsfc-small{min-height:30px;padding:7px 9px!important;font-size:.74rem!important;border-radius:8px!important}
.rsfc-btn.rsfc-icon{min-width:32px;padding:7px 9px!important}
.rsfc-actions,
.rsfc-topline,
.rsfc-progress-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  flex-wrap:wrap;
}
.rsfc-actions{margin-top:9px}
.rsfc-top-actions{margin-top:0!important;align-items:center;align-self:start;padding-top:18px}
.rsfc-saved-note{margin:0!important;color:#9e9e9e!important;font-size:.76rem!important}
.rsfc-topline{margin:-2px 0 9px!important;align-items:start;display:grid;grid-template-columns:minmax(0,1fr) auto}
.rsfc-meta{min-width:0;flex:1 1 260px}
.rsfc-meta .rsfc-kicker{color:var(--rs-red,#e50914)!important;margin-bottom:2px!important;line-height:1!important}
.rsfc-title-input{
  width:100%;
  max-width:520px;
  min-height:32px;
  margin:0!important;
  padding:0 7px 1px 0!important;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-bottom:1px solid transparent!important;
  border-radius:0!important;
  outline:none!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:clamp(1.16rem,2.25vw,1.6rem)!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
  line-height:1.08!important;
}
.rsfc-title-input:hover,.rsfc-title-input:focus{border-bottom-color:rgba(229,9,20,.75)!important}
.rsfc-meta p{margin:2px 0 0!important;color:var(--rs-muted,#b9b9b9)!important;font-size:.82rem!important}
.rsfc-progress-card{
  background:#151515;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:11px;
  margin:0 0 10px!important;
}
.rsfc-progress-row{margin-bottom:7px}
.rsfc-quick-tools{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.rsfc-quick-tools .rsfc-btn{min-height:28px}
.rsfc-percent{font-size:1.02rem;font-weight:900;color:#fff}
.rsfc-progress-label{color:#bdbdbd;font-size:.81rem;font-weight:800}
.rsfc-bar{
  position:relative;
  width:100%;
  height:12px;
  background:#0c0c0c;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  overflow:hidden;
}
.rsfc-bar span{
  display:block;
  height:100%;
  width:0%;
  background:var(--rs-red,#e50914);
  border-radius:999px;
  transition:width .2s ease;
}
.rsfc-tabs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding:2px 0 10px!important;
  margin:0!important;
  scrollbar-width:thin;
  scrollbar-color:var(--rs-red,#e50914) #151515;
}
.rsfc-tabs::-webkit-scrollbar{height:7px}
.rsfc-tabs::-webkit-scrollbar-track{background:#151515;border-radius:999px}
.rsfc-tabs::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#e50914,#7c050b);border-radius:999px;border:1px solid #151515}
.rsfc-tabs::-webkit-scrollbar-thumb:hover{background:#e50914}
.rsfc-tab{
  border:1px solid rgba(255,255,255,.13)!important;
  background:#141414!important;
  color:#e9e9e9!important;
  border-radius:999px!important;
  padding:8px 11px!important;
  font-size:.77rem!important;
  font-weight:850!important;
  cursor:pointer;
  white-space:nowrap;
}
.rsfc-tab.is-active{background:var(--rs-red,#e50914)!important;border-color:var(--rs-red,#e50914)!important;color:#fff!important}
.rsfc-add{
  display:grid;
  grid-template-columns:135px 1fr auto;
  gap:8px;
  align-items:end;
  background:#151515;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:11px;
  margin-bottom:10px;
}
.rsfc-list{display:grid;gap:8px;margin:0!important;padding:0!important;list-style:none!important}
.rsfc-empty{
  background:#151515;
  border:1px dashed rgba(255,255,255,.15);
  border-radius:12px;
  color:#aaa;
  padding:16px;
  text-align:center;
}
.rsfc-item{
  background:#1a1a1a;
  border:1px solid rgba(255,255,255,.09);
  border-radius:11px;
  overflow:hidden;
}
.rsfc-item-row{
  min-height:48px;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:7px;
  align-items:center;
  padding:9px;
}
.rsfc-checkline{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  cursor:pointer;
  color:#fff;
  font-weight:800;
}
.rsfc-checkline input{position:absolute;opacity:0;pointer-events:none}
.rsfc-box{
  width:22px;
  height:22px;
  border-radius:6px;
  border:2px solid rgba(255,255,255,.28);
  background:#0f0f0f;
  flex:0 0 auto;
  position:relative;
}
.rsfc-checkline input:checked + .rsfc-box{background:var(--rs-red,#e50914);border-color:var(--rs-red,#e50914)}
.rsfc-checkline input:checked + .rsfc-box:after{
  content:"";
  position:absolute;
  left:6px;
  top:2px;
  width:6px;
  height:12px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.rsfc-item-title{display:block;color:#fff;overflow-wrap:anywhere}
.rsfc-item.is-done .rsfc-item-title{text-decoration:line-through;color:#a8a8a8}
.rsfc-item-cat{display:block;color:#888;font-size:.72rem;font-weight:750;margin-top:2px;text-transform:uppercase;letter-spacing:.05em}
.rsfc-children{
  border-top:1px solid rgba(255,255,255,.08);
  background:#131313;
  padding:10px;
}
.rsfc-children ul{display:grid;gap:7px;margin:0 0 9px!important;padding:0!important;list-style:none!important}
.rsfc-child{
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  align-items:center;
  background:#181818;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:8px;
}
.rsfc-child-add{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.rsfc-footer-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}
.rsfc-toast{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:999999;
  transform:translateX(-50%) translateY(12px);
  opacity:0;
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:10px;
  background:#111;
  color:#fff;
  border:1px solid rgba(229,9,20,.55);
  border-radius:999px;
  padding:10px 14px;
  font-weight:850;
  font-size:.84rem;
  box-shadow:0 12px 35px rgba(0,0,0,.35);
  transition:opacity .18s ease,transform .18s ease;
}
.rsfc-toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}
.rsfc-toast button{border:0!important;background:var(--rs-red,#e50914)!important;color:#fff!important;border-radius:999px!important;padding:5px 9px!important;font-size:.72rem!important;font-weight:900!important;cursor:pointer}
.rsfc-confetti{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:999998;
  overflow:hidden;
}
.rsfc-confetti i{
  position:absolute;
  width:8px;
  height:14px;
  border-radius:2px;
  border:1px solid rgba(255,255,255,.12);
  transform:translate(-50%,-50%);
  animation:rsfc-confetti-pop 1.05s cubic-bezier(.12,.72,.21,1) forwards;
}
@keyframes rsfc-confetti-pop{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.35) rotate(0deg)}
  12%{opacity:1}
  100%{opacity:0;transform:translate(calc(-50% + var(--rsfc-x)),calc(-50% + var(--rsfc-y) + 220px)) scale(.95) rotate(var(--rsfc-r))}
}
@media (max-width:700px){
  .rsfc-wrap{margin-bottom:20px!important}
  .rsfc-shell{padding:10px;border-radius:12px}
  .rsfc-hero{padding:14px;border-radius:12px}
  .rsfc-setup-grid{grid-template-columns:1fr}
  .rsfc-actions{align-items:stretch}
  .rsfc-actions .rsfc-btn{width:100%}
  .rsfc-topline{gap:7px;grid-template-columns:1fr}
  .rsfc-top-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;padding-top:0}
  .rsfc-top-actions .rsfc-btn{width:100%;min-height:36px;padding:8px 9px!important}
  .rsfc-quick-tools{display:grid;grid-template-columns:1fr;gap:7px}
  .rsfc-quick-tools .rsfc-btn{width:100%}
  .rsfc-add{grid-template-columns:1fr;padding:10px}
  .rsfc-add .rsfc-btn{width:100%}
  .rsfc-item-row{grid-template-columns:1fr auto;align-items:start}
  .rsfc-expand{grid-column:1/2;width:100%;justify-self:stretch;margin-left:32px}
  .rsfc-delete{grid-column:2;grid-row:1}
  .rsfc-child-add{grid-template-columns:1fr}
  .rsfc-footer-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .rsfc-footer-actions .rsfc-btn{width:100%}
  .rsfc-tabs{scrollbar-width:none;padding-bottom:8px!important}
  .rsfc-tabs::-webkit-scrollbar{display:none}
}
@media (prefers-reduced-motion:reduce){
  .rsfc-bar span,.rsfc-toast{transition:none!important}
  .rsfc-confetti{display:none!important}
}
