/* Only MY LIFE cards 01/02 and their necessary responsive grid. */
.theme-life .journal-layout>.my-life-primary{grid-column:1/10;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start;min-width:0}
.theme-life .my-life-primary>.panel-timeline,.theme-life .my-life-primary>.panel-tasks{grid-column:span 1;grid-row:auto;min-width:0;margin:0}
.theme-life .my-life-primary>.my-life-span-2{grid-column:span 2}
.theme-life .my-day-card{background:#fffcf5;border:1px solid #e6dac7;border-radius:16px;box-shadow:0 5px 20px #8a685b0b;padding:18px}
.theme-life .my-day-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.theme-life .my-day-head small{font-size:9px;letter-spacing:1.3px;color:#9c6471;font-weight:700}
.theme-life .my-day-head h2{font-size:19px;margin:5px 0 0;color:#564642;letter-spacing:-.3px}
.theme-life .my-day-card button{min-height:44px;touch-action:manipulation;color:#664e50;border:1px solid #e3d2ca;border-radius:9px;background:#fffaf1;font-size:12px}
.theme-life .my-day-head>button{min-width:44px;font-size:20px}
.theme-life .my-day-picker{display:flex;gap:5px;align-items:center;margin-bottom:7px}
.theme-life .my-day-picker>button{min-width:44px;padding:7px}
.theme-life .my-day-picker>label{min-width:0;flex:1}
.theme-life .my-day-picker input,.theme-life .my-day-area select{width:100%;min-width:0;min-height:44px;border:1px solid #d8cbc1;background:#fffdf8;color:#5b4a45;border-radius:8px;padding:8px;font-size:14px;box-sizing:border-box}
.theme-life .my-day-label{font-size:12px;color:#6a5852;font-weight:600;margin:8px 0}
.theme-life .my-day-area{display:grid;gap:5px;font-size:10px;color:#79675e;margin:10px 0}
.theme-life .my-day-section{margin:17px 0 0;min-width:0}
.theme-life .my-day-section h3{font-size:12px;color:#6a514e;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 6px}
.theme-life .my-day-section h3>span{font-size:10px;border-radius:20px;padding:3px 7px;background:#f1e5df;color:#7a5b5e}
.theme-life .my-day-row{display:flex;align-items:flex-start;gap:8px;border-bottom:1px solid #ece3d7;padding:9px 0;min-width:0}
.theme-life .my-day-row>div{min-width:0;flex:1}
.theme-life .my-day-row .my-day-title{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;border:0;background:none;padding:0;min-width:0;width:100%;min-height:44px;text-align:left;line-height:1.6}
.theme-life .my-day-title strong{font-size:12px;color:#54443f;overflow-wrap:anywhere}
.theme-life .my-day-title time{font-size:11px;min-width:41px;color:#9d5c74;white-space:nowrap;font-weight:700}
.theme-life .my-day-row small{display:block;font-size:10px;line-height:1.7;color:#7f7067;margin-top:2px}
.theme-life .my-day-check,.theme-life .my-day-type{flex:none;width:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;color:#9f5d72;font-size:21px;background:#fbf0eb;border-color:#e6d0cb}
.theme-life .my-day-type{border-left:3px solid var(--cat-color,#a96e82);border-radius:8px;background:#f4eee0;color:#8d6d5c}
.theme-life .my-day-row.is-done .my-day-title strong{text-decoration:line-through;color:#8b8c7d}
.theme-life .my-day-row.is-done .my-day-check{background:#e9eee0;color:#5e7554}
.theme-life .my-day-overdue{padding:10px;border-radius:10px;background:#fff0e9;border:1px solid #efd4c3}
.theme-life .my-day-overdue h3{color:#9c543d}
.theme-life .my-day-note{font-size:10px;line-height:1.7;color:#88766b;margin:9px 0}
.theme-life .my-day-empty{font-size:12px;line-height:1.8;color:#8a776c;padding:18px 0;margin:0}
.theme-life .my-day-actions{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 0}
.theme-life .my-day-actions button{font-size:11px;padding:7px 10px}
.theme-life .my-day-reminder{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:9px;margin:6px 0;line-height:1.6}
.theme-life .my-day-card :focus-visible{outline:3px solid #9f5e7b;outline-offset:3px}
.my-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1120px) and (min-width:651px){
 .theme-life .journal-layout>.my-life-primary{grid-column:1/-1;gap:10px}
 .theme-life .journal-layout:has(.my-life-primary)>.journal-photo-rail{grid-column:1/-1;grid-row:4;grid-template-columns:1fr 1fr;grid-template-rows:160px;min-height:0}
 .theme-life .journal-layout:has(.my-life-primary)>.panel-projects{grid-column:1/-1;grid-row:2}
 .theme-life .journal-layout:has(.my-life-primary)>.panel-finance{grid-column:1/7;grid-row:3}
 .theme-life .journal-layout:has(.my-life-primary)>.panel-upcoming{grid-column:7/13;grid-row:3}
}
@media(max-width:650px){
 .theme-life .journal-layout>.my-life-primary{grid-column:1/-1;grid-row:1;grid-template-columns:minmax(0,1fr);gap:12px}
 .theme-life .my-life-primary>.panel-timeline,.theme-life .my-life-primary>.panel-tasks,.theme-life .my-life-primary>.my-life-span-2{grid-column:1;grid-row:auto}
 .theme-life .my-day-card{padding:15px;border-radius:13px}
 .theme-life .my-day-head h2{font-size:19px}
 .theme-life .my-day-picker input,.theme-life .my-day-area select{font-size:16px}
 .theme-life .journal-layout:has(.my-life-primary)>.journal-photo-rail{grid-row:2}
 .theme-life .journal-layout:has(.my-life-primary)>.panel-projects{grid-row:3}
 .theme-life .journal-layout:has(.my-life-primary)>.panel-finance{grid-row:4}
 .theme-life .journal-layout:has(.my-life-primary)>.panel-upcoming{grid-row:5}
}
@media(prefers-reduced-motion:reduce){.my-day-card *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
