.circle {--muted:#425c59;--border:#bbc9bd;--card:#fffef8}
.circle .frame {width:min(1160px, calc(100% - 32px));margin:auto}
.header-row,.account,.episode-row,.entry-head {display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex-wrap:wrap}
.header-row {min-height:70px;padding-block:.65rem}
.circle .account {gap:.45rem}
.circle .account a,.circle .account button {font:600 .88rem/1.35 inherit;font-family:inherit;font-size:.88rem;font-weight:600;padding:.46rem .65rem;border:1px solid #718781;border-radius:4px;color:var(--ink);background:transparent;text-decoration:none}
.circle .account > :last-child {color:#fff;background:var(--dark)}
.circle .account > :last-child .todo {color:#f3d2a8}
.circle .account button:disabled {opacity:1}
.access-note {color:var(--muted);font-size:.9rem;padding:.75rem 0;border-bottom:1px solid var(--border)}
.access-note a {color:#20594e;text-underline-offset:3px;font-weight:600}
.circle .stats .pending-count {font:600 .85rem/1.5 "Courier New",monospace;color:var(--muted)}
.crumb {display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;padding:.9rem 0;color:var(--muted)}
.crumb a {font-size:.82rem}
.mast {position:relative;isolation:isolate;overflow:hidden;border-radius:6px;color:#fff;background:var(--dark)}
.mast .banner {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;z-index:-2}
.mast:after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,37,39,.97),rgba(12,37,39,.91) 42%,rgba(12,37,39,.17))}
.mast-copy {padding:clamp(1.35rem,4vw,3rem);max-width:57ch}
.mast-copy img {display:block;border:1px solid #88a59b;border-radius:12px}
.private {color:#ffe0bc;font:600 .77rem/1.4 "Courier New",monospace;text-transform:uppercase;letter-spacing:.08em;margin:.8rem 0 .2rem}
.circle-name {font:normal clamp(2.35rem,6vw,4.5rem)/1 Georgia,serif;letter-spacing:-.05em;margin:0}
.circle-name em {color:#ffd9af}
.circle .tabs {display:flex;flex-wrap:wrap;gap:.2rem .85rem;border-bottom:1px solid var(--border);padding:.6rem 0}
.tabs a {display:inline-flex;align-items:center;min-height:36px;border-bottom:3px solid transparent;font-weight:600}
.tabs a[aria-current=page] {color:#1d584b;border-color:#276958}
.workspace {display:grid;gap:1.35rem;padding:1.25rem 0 3rem}
#side {border:1px solid var(--border);border-radius:5px;padding:.7rem .9rem;background:#edf0e7}
#side summary {font-weight:700;cursor:pointer}
#side nav {display:grid;gap:0;align-items:stretch;padding-top:.55rem}
#side nav>* {display:flex;align-items:center;justify-content:space-between;min-height:38px;border-top:1px solid var(--border);font-size:.9rem}
.circle main {min-width:0}
.circle h1 {font-size:clamp(2.2rem,4.6vw,3.3rem);line-height:1.08;margin:0 0 .8rem}
.circle h2 {font-size:clamp(1.45rem,2.4vw,1.9rem);margin:1.35rem 0 .65rem;letter-spacing:-.035em}
.circle h3 {font-size:1.06rem;letter-spacing:-.015em}
.circle main p {margin:.3rem 0 .8rem;max-width:68ch}
.circle main a,.circle aside a {color:#20594e;text-decoration:underline;text-underline-offset:3px}
.stats,.cards,.call-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.7rem}
.stats {grid-template-columns:1fr 1fr;margin:1.25rem 0}
.card,.stat,.event,.feed-item,.empty {padding:1rem 1.15rem;background:var(--card);border:1px solid var(--border);border-radius:5px}
.stat dt {font-size:.9rem;color:var(--muted)}.stat dd {margin:.15rem 0 0;font:normal 2rem/1.1 Georgia,serif}
.link-list {list-style:none;padding:0;margin:0}.link-list li,.calendar-row {border-bottom:1px solid var(--border);padding:.65rem 0}
.link-list li>* {display:flex;align-items:center;justify-content:space-between}
.todo,.marker,.byline {color:var(--muted);font-size:.84rem}
.todo {font:600 .75rem/1.4 "Courier New",monospace}
.marker {display:inline-block;font-weight:700;color:#61401e;background:#f9e5ca;border-radius:3px;padding:.15rem .5rem}
.circle button.tool,.circle select {font:inherit;color:var(--ink);background:var(--card);border:1px solid #728780;border-radius:4px;padding:.5rem .75rem}
.circle button.tool {cursor:pointer;margin-top:.75rem}
.circle .sample-note {margin:.6rem 0}
.circle .cards .card h3 {margin-bottom:.45rem}
.circle table {width:100%;border-collapse:collapse;text-align:left}
.circle th,.circle td {border-bottom:1px solid var(--border);padding:.65rem .3rem;overflow-wrap:anywhere}
.circle th {font-size:.83rem;color:var(--muted)}.circle caption {text-align:left;padding:.2rem 0 .6rem}
.circle a:focus-visible,.circle button:focus-visible,.circle summary:focus-visible,.circle select:focus-visible {outline:3px solid #824015;outline-offset:3px}
.circle .calendar-label {display:block;margin:1rem 0 .3rem;font-weight:600}
.event-list {list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.65rem}
@media(max-width:819px){.mast:after{background:linear-gradient(90deg,rgba(12,37,39,.96),rgba(12,37,39,.86) 77%,rgba(12,37,39,.44))}}
@media(min-width:820px){.workspace{grid-template-columns:205px minmax(0,1fr);gap:clamp(2rem,5vw,4.5rem);padding-top:2rem}.circle .tabs{gap:1.6rem}.header-row{height:76px}}
@media(max-width:400px){.circle .frame{width:calc(100% - 24px)}.circle .brand{font-size:.87rem}.circle .brand img{width:31px;height:31px}.circle .account button,.circle .account a{font-size:.76rem;padding:.42rem}.circle .tabs{gap:.12rem .85rem}}
@media(max-width:600px){
  .circle .tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 .2rem;padding:.25rem 0}
  .circle .tabs a {min-height:44px;justify-content:center;text-align:center}
}
