/* SANA 4.3.8 — Editorial planning / additive quiet layer only.
   No inherited global layout mutation. Maintains scroll, sidebar and RTL. */
.sfe-avid-fold{max-width:100%;border:1px solid var(--sfe-v4-edge,#dce4ec);border-radius:16px;background:var(--card,#fff);margin-block:20px;box-shadow:none;overflow:hidden}
.sfe-avid-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px;color:inherit}
.sfe-avid-fold>summary::-webkit-details-marker{display:none}
.sfe-avid-fold>summary>span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.sfe-avid-fold>summary b{font-size:1rem;font-weight:690}
.sfe-avid-fold>summary small{font-size:.82rem;line-height:1.75;color:var(--muted,#677486);font-weight:450}
.sfe-avid-fold>summary>span:last-child{color:#68798b;transition:transform .18s}
.sfe-avid-fold[open]>summary>span:last-child{transform:rotate(180deg)}
.sfe-avid-fold>summary:focus-visible{outline:2px solid #306a99;outline-offset:-3px}
.sfe-avid-fold-content{border-top:1px solid var(--sfe-v4-edge,#dce4ec);padding:16px 22px 22px;line-height:1.8}
.sfe-avid-fold-content p{margin:0 0 12px;color:var(--muted,#677486);font-size:.88rem}
.sfe-avid-action{display:inline-flex;align-items:center;gap:5px;text-decoration:none;font-size:.86rem;font-weight:650;color:var(--sfe-v4-navy,#193f68);padding:8px 0;margin-inline-end:16px}
.sfe-avid-action:hover{text-decoration:underline}
.sfe-avid-plan-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.sfe-avid-plan-overview>div{padding:16px;border:1px solid var(--sfe-v4-edge,#dce4ec);border-radius:12px;display:flex;flex-direction:column;gap:6px}
.sfe-avid-plan-overview span,.sfe-avid-plan-overview a{font-size:.8rem;color:var(--muted,#667789)}
.sfe-avid-plan-overview strong{font-size:1.65rem;line-height:1.4;font-weight:750;font-variant-numeric:tabular-nums}
.sfe-avid-plan-overview .sfe-avid-plan-status{font-size:.95rem}
.sfe-avid-plan-overview a{color:var(--sfe-v4-navy,#193f68)}
/* Optional observatory, independent from the existing home styles. */
.sfe-avid-observatory{max-width:1030px;margin:0 auto;padding:8px 0 28px}
.sfe-avid-kicker{font-size:.76rem;color:var(--muted,#63738a);letter-spacing:.01em;margin-bottom:7px}
.sfe-avid-observatory h1{font-size:clamp(1.65rem,3vw,2.1rem);line-height:1.45;margin:0 0 8px;letter-spacing:-.012em}
.sfe-avid-lead{color:var(--muted,#63738a);font-size:.91rem;line-height:1.9;max-width:690px;margin:0 0 20px}
.sfe-avid-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding-bottom:17px;margin-bottom:20px;border-bottom:1px solid var(--sfe-v4-edge,#dce4ec)}
.sfe-avid-toolbar a{font-size:.85rem;border:1px solid var(--sfe-v4-edge,#dce4ec);border-radius:10px;padding:9px 13px;color:inherit;text-decoration:none}
.sfe-avid-toolbar a:hover{border-color:#879db2}
.sfe-avid-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 30px}
.sfe-avid-stat{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid var(--sfe-v4-edge,#dce4ec);border-radius:14px;text-decoration:none;color:inherit;min-height:111px;background:var(--card,#fff)}
.sfe-avid-stat>span{font-size:.84rem;color:var(--muted,#67788d)}
.sfe-avid-stat>strong{font-size:2rem;font-weight:740;line-height:1.2;font-variant-numeric:tabular-nums}
.sfe-avid-stat>small{font-size:.75rem;color:var(--muted,#67788d)}
.sfe-avid-stat:hover{border-color:#899eb3}
.sfe-avid-group{margin:27px 0 31px}
.sfe-avid-group-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--sfe-v4-edge,#dce4ec)}
.sfe-avid-group-header h2{font-size:1.09rem;margin:0;font-weight:700}
.sfe-avid-group-header a{font-size:.82rem;text-decoration:none;color:var(--sfe-v4-navy,#193f68)}
.sfe-avid-items{display:flex;flex-direction:column}
.sfe-avid-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 1px;border-bottom:1px solid var(--sfe-v4-edge,#dce4ec)}
.sfe-avid-item-main{min-width:0;display:flex;flex-direction:column;gap:5px}
.sfe-avid-item-main b{font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
.sfe-avid-item-main small{font-size:.77rem;color:var(--muted,#6b7b8b);line-height:1.6}
.sfe-avid-item>a{white-space:nowrap;text-decoration:none;border:1px solid var(--sfe-v4-edge,#dce4ec);border-radius:10px;padding:8px 12px;font-size:.8rem;color:inherit}
.sfe-avid-item>a:hover{border-color:#7895ad}
.sfe-avid-empty{padding:20px 0;font-size:.85rem;color:var(--muted,#6b7b8b)}
.sfe-avid-footnote{margin-top:20px;padding:15px 0;border-top:1px solid var(--sfe-v4-edge,#dce4ec);color:var(--muted,#64758b);font-size:.79rem;line-height:1.8}
/* Source styles already own the global sidebar; only distinguish the shortcut visually. */
.app-sidebar .sfe-avid-input-direct{background:rgba(41,106,154,.065);border-radius:10px;font-weight:680}
@media(max-width:750px){.sfe-avid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sfe-avid-plan-overview{grid-template-columns:1fr}.sfe-avid-item{align-items:flex-start}.sfe-avid-observatory{padding-inline:2px}.sfe-avid-fold>summary,.sfe-avid-fold-content{padding-inline:14px}}
@media(max-width:420px){.sfe-avid-stats{grid-template-columns:1fr 1fr;gap:8px}.sfe-avid-stat{padding:13px;min-height:95px}.sfe-avid-stat>strong{font-size:1.65rem}.sfe-avid-item>a{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.sfe-avid-fold>summary>span:last-child{transition:none}}
