/* Scoped, local UI improvements. */
[data-workspace] nav[role=navigation] svg,[data-workspace] .pagination svg,[data-workspace] nav[aria-label*="Pagination"] svg{width:20px;height:20px;max-width:20px;flex:none}
[data-workspace] nav[role=navigation]{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}
[data-workspace] nav[role=navigation] a,[data-workspace] nav[role=navigation] span{max-width:100%}
[data-workspace] .ws-exercise-photo{aspect-ratio:1/1;height:auto;width:100%;object-fit:cover;object-position:center}
[data-workspace] .ws-image-picker:has(input[name=photo]) .ws-image-preview{aspect-ratio:1/1;object-fit:cover}
[data-workspace] .ws-training-cover.is-completed18{background:linear-gradient(135deg,#164c3d,#103326);border-color:#67c897}
[data-workspace] .ws-training-cover.is-completed18 .ws-cover-kicker{background:#175940;color:#eafff0}
.notes18-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px}
.notes18-card{border:1px solid #d2b977;border-radius:16px;padding:20px;background:#fff9df;color:#3c3827;box-shadow:0 6px 18px #0001;min-width:0;overflow-wrap:anywhere}
.notes18-card h4{font-size:20px!important;color:#4a3c17}.notes18-card p,.notes18-card label,.notes18-card summary{color:#554a30!important}
.notes18-content{white-space:pre-wrap;line-height:1.85;background:repeating-linear-gradient(transparent 0,transparent 28px,#d8cb9f70 29px);padding:8px 0}
.notes18-card textarea{min-height:230px}
.chart18-legend{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}.chart18-legend span{border-left:4px solid #6ba5e3;padding-left:10px}.chart18-legend span:nth-child(2){border-color:#b49cff}
.money-projection{height:auto!important;max-height:400px;min-height:160px;display:block;width:100%}
.chart18-detail{padding:14px;border:1px solid #46627b;border-radius:12px;min-height:50px}
[data-route="jarvis.agenda"] .ws-plot{height:170px}.ws-plot circle{cursor:pointer}.ws-plot circle:focus{outline:none;stroke:#fff;stroke-width:4}
@media(max-width:600px){.notes18-list{grid-template-columns:minmax(0,1fr)}[data-workspace] nav[role=navigation]{font-size:12px}.money-projection{min-height:140px}}
