/* Lebenskompass Journal 3.0: editorial, locally stored, no tracking */
.journal-shell{--j-ink:#26313a;--j-mut:#6c7474;--j-line:#dfd8cf;--j-bg:#fffefa;--j-coral:#cf7565;--j-blue:#637e89;--j-green:#68826b;color:var(--j-ink)}
.journal-shell *{box-sizing:border-box}
.journal-shell .j-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#a5574b;margin:0 0 7px;text-transform:uppercase}
.journal-shell .j-lead{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,6vw,41px);font-weight:400;line-height:1.05;letter-spacing:-.05em;margin:0 0 11px}
.journal-shell .j-muted{font-size:13px;color:var(--j-mut);line-height:1.55;margin:0 0 13px}
.journal-shell .j-small{font-size:11px;color:var(--j-mut);line-height:1.5}
.journal-shell .j-panel{border:1px solid var(--j-line);background:var(--j-bg);padding:21px 19px;margin-bottom:13px}
.journal-shell .j-panel h3{font:400 26px/1.17 Georgia,serif;letter-spacing:-.035em;margin:0 0 10px}
.journal-shell .j-topline,.journal-shell .j-split{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.journal-shell .j-field{display:block;width:100%;min-height:43px;border:1px solid #c8c4ba;border-radius:0;background:#fffdfa;color:var(--j-ink);font-size:14px;padding:10px 11px}
.journal-shell .j-field:focus-visible,.journal-shell button:focus-visible{outline:2px solid var(--j-coral);outline-offset:3px}
.journal-shell .j-lab{display:block;font-size:11px;font-weight:760;margin:15px 0 6px;color:#4f5a5b}
.journal-shell .j-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.journal-shell .j-scale button{border:1px solid #ddd5ca;background:#f7f3ec;min-height:48px;padding:7px 1px;color:var(--j-ink);font-size:14px;font-weight:700;border-radius:0}
.journal-shell .j-scale button[aria-pressed=true]{background:#f6e1d8;border:2px solid var(--j-coral);color:#9c4439}
.journal-shell .j-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.journal-shell .j-btn{background:var(--j-ink);border:1px solid var(--j-ink);color:#fff;padding:12px 15px;font-size:13px;font-weight:760;cursor:pointer;border-radius:0}
.journal-shell .j-btn.secondary{background:transparent;color:var(--j-ink);border-color:#aaa79f}
.journal-shell .j-btn.warn{background:#fbebe7;color:#923d36;border-color:#d2a196}
.journal-shell .j-btn:disabled{opacity:.45;cursor:not-allowed}
.journal-shell .j-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.journal-shell .j-actions>*{flex:1}
.journal-shell .j-range{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 10px}.journal-shell .j-range button{border:1px solid #d9d0c4;background:#f8f3eb;color:#536166;padding:9px 11px;font-size:12px;font-weight:720;border-radius:0;flex:1;min-width:58px}
.journal-shell .j-range button[aria-pressed=true]{background:#28353a;color:#fff;border-color:#28353a}
.journal-shell .j-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0 10px}
.journal-shell .j-metric{padding:15px 14px;background:#f5f0e9;border:1px solid #e7dfd5;min-width:0}
.journal-shell .j-metric strong{display:block;font:400 36px/1 Georgia,serif;letter-spacing:-.05em;margin-bottom:8px;font-variant-numeric:tabular-nums}
.journal-shell .j-metric span{display:block;color:#606967;font-size:11px;line-height:1.45}
.journal-shell .j-chart{width:100%;min-height:160px;margin:12px auto 5px;display:block;overflow:visible}
.journal-shell .j-chart text{font-family:Arial,Helvetica,sans-serif;fill:#818782;font-size:10px}
.journal-shell .j-chart .j-gridline{stroke:#e6dfd7;stroke-width:1}
.journal-shell .j-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#6d7370;margin-top:4px}
.journal-shell .j-dot{display:inline-block;width:9px;height:9px;border-radius:100%;margin-right:5px}
.journal-shell .j-bar-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 28px;align-items:center;gap:8px;margin:11px 0;font-size:12px}
.journal-shell .j-bar-label{min-width:0;overflow-wrap:anywhere}.journal-shell .j-bar-track{height:8px;background:#f0e9e1}.journal-shell .j-bar-track>span{height:100%;display:block;background:var(--j-blue)}
.journal-shell .j-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:13px}
.journal-shell .j-cell{height:30px;display:grid;place-items:center;border:1px solid #e2ddd5;background:#f5f1eb;color:#7a7f79;font-size:10px;font-variant-numeric:tabular-nums}
.journal-shell .j-cell.lev1{background:#f0d8cd;border-color:#edc6b5;color:#734839}.journal-shell .j-cell.lev2{background:#dca38c;border-color:#d6967f;color:#492a27}.journal-shell .j-cell.lev3{background:#bc705f;border-color:#bc705f;color:white}
.journal-shell .j-cell.future{background:transparent;border-style:dashed;color:#b3b5ad}
.journal-shell .j-week-head{display:grid;grid-template-columns:repeat(7,1fr);font-size:10px;color:#818782;text-align:center;margin-top:10px}
.journal-shell .j-divider{height:1px;background:var(--j-line);margin:20px 0}
.journal-shell .j-note-row{padding:11px 0;border-top:1px solid var(--j-line);font-size:12px;line-height:1.5;display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
.journal-shell .j-note-row button{white-space:nowrap;border:1px solid #b4ada3;color:#4d5555;background:transparent;padding:5px 8px;font-size:11px;flex-shrink:0}
.journal-shell .j-quiet{background:#f4efe7;padding:12px 14px;font-size:12px;color:#68706c;border-left:3px solid #d4a091;line-height:1.55}
.journal-shell .j-export{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.journal-shell .j-strong{font-weight:760;color:#313d40}
@media(max-width:390px){.journal-shell .j-panel{padding:17px 14px}.journal-shell .j-metric strong{font-size:32px}.journal-shell .j-bar-row{grid-template-columns:minmax(0,1fr) 72px 20px}.journal-shell .j-cells{gap:3px}.journal-shell .j-cell{height:26px}}
@media(prefers-reduced-motion:reduce){.journal-shell *{transition:none!important}}
@media(max-width:465px){.journal-shell .j-row2{grid-template-columns:1fr}.journal-shell .j-bar-row{grid-template-columns:minmax(0,1fr) 100px 28px}}
