/* R4 dashboard: additive and scoped, preserves existing colors */
.r4-dashboard{margin:0 0 16px;padding:16px;background:linear-gradient(150deg,#1a1b1f,#111215);border:1px solid #493a29;border-radius:20px;color:#eee8df}.r4-top,.r4-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.r4-top small{font-size:9px;color:#d2b184;letter-spacing:.12em}.r4-top h3{font:normal 22px Georgia,serif;margin:6px 0 0;color:#f1dbba}.r4-periods{display:flex;gap:3px;background:#111113;padding:3px;border-radius:20px}.r4-periods button{font-size:10px;padding:7px 8px;border:0;border-radius:15px;background:none;color:#ada59b}.r4-periods button.selected{background:#71532d;color:#fff2d9}.r4-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}.r4-stats>div{background:#252429;border:1px solid #343136;border-radius:12px;padding:10px 8px;min-width:0}.r4-stats small{display:block;font-size:9px;line-height:1.4;color:#a9a4a0}.r4-stats strong{display:block;font:normal 23px Georgia,serif;color:#ebc58c;margin-top:7px}.r4-block{padding:12px 10px 10px;border-radius:13px;background:#1d1f23;margin-top:10px}.r4-heading strong{font-size:12px}.r4-heading span{color:#a9a6a3;font-size:9px;text-align:right}.r4-daily{height:133px;display:flex;align-items:end;gap:2px;margin-top:14px;border-bottom:1px solid #484039;padding:0 0 4px;overflow:hidden}.r4-day{flex:1;min-width:1px;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:4px;height:100%}.r4-day i{display:block;background:linear-gradient(#f0c781,#8e602e);width:100%;max-width:22px;border-radius:4px 4px 1px 1px;min-height:2px}.r4-day label{height:13px;font-size:8px;color:#aba29a}.r4-note,.r4-foot{font-size:10px;line-height:1.55;color:#aaa39b;margin:9px 0 0}.r4-foot{margin-top:13px}.r4-area{margin:13px 0}.r4-area>div:first-child{display:flex;justify-content:space-between;font-size:11px}.r4-area small{color:#b9ae9d}.r4-track{height:7px;background:#393536;border-radius:99px;overflow:hidden;margin-top:6px}.r4-fill{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#986e39,#e6c081)}.r4-empty{font-size:11px;color:#b9b1a8;line-height:1.55;padding:12px 2px}.r3-cronica>img{object-fit:cover;object-position:center 18%}.r3-dialog .r3-sheet>img{object-fit:contain;max-height:270px;width:100%}@media(max-width:360px){.r4-dashboard{padding:12px}.r4-periods button{padding:6px}.r4-top h3{font-size:19px}}
/* R7: accessible label sizing and touch targets, same approved palette */
.r4-day-label{height:13px;font-size:8px;color:#aba29a;line-height:13px}.r4-periods button{min-height:34px;min-width:36px;touch-action:manipulation}.r4-periods button:focus-visible{outline:2px solid #f0c781;outline-offset:2px}.r4-daily{min-width:0}.r4-area>div:first-child{gap:8px;overflow-wrap:anywhere}.r4-area small{white-space:nowrap}
