@media (min-width:1101px) {
  .journal-editor{overflow:hidden!important}
  .journal-editor .editor-top{flex:0 0 auto;margin-bottom:10px}
  .journal-editor .editor-sheet{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,34%);grid-template-rows:auto auto auto auto minmax(120px,1fr) auto auto auto;column-gap:20px;padding:clamp(14px,2vh,22px);overflow:hidden}
  .journal-editor .editor-sheet>.eyebrow,.journal-editor .title-input,.journal-editor .editor-meta{grid-column:1/-1}
  .journal-editor .editor-sheet>.eyebrow{margin-bottom:2px}
  .journal-editor .title-input{padding:4px 0 9px;font-size:clamp(27px,3.5vh,38px)}
  .journal-editor .editor-meta{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(420px,1.35fr);align-items:end;gap:18px;margin:9px 0}
  .journal-editor .editor-meta>.field+ .field{border-left:1px solid var(--line);padding-left:18px}
  .journal-editor .moods{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
  .journal-editor .mood{min-width:0;min-height:40px;padding:5px 4px;display:grid;grid-template-columns:auto 1fr;align-items:center;justify-content:center;gap:3px}
  .journal-editor .toolbar{grid-column:1;grid-row:4;position:static;margin:0 0 5px;padding:4px}
  .journal-editor .body-editor{grid-column:1;grid-row:5;min-height:0;height:100%;overflow-y:auto;padding:12px;font-size:14px;line-height:1.5;border:1px solid var(--line)!important;border-radius:12px;background:var(--panel)}
  .journal-editor .editor-foot{grid-column:1;grid-row:7;margin:4px 0 0}
  .journal-editor .editor-extra{grid-column:2;grid-row:4/8;min-height:0;overflow:hidden;padding:0 4px 4px}
  .journal-editor .editor-extra .panel-head{margin:0 0 7px}
  .journal-editor #photoGrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
  .journal-editor #photoGrid .photo-item{grid-column:span 2;min-height:0;aspect-ratio:1}
  .journal-editor #photoGrid .photo-item:last-child:nth-child(3n+1){grid-column:3/span 2}
  .journal-editor #photoGrid .photo-item:nth-last-child(2):nth-child(3n+1){grid-column:2/span 2}
  .journal-editor #photoGrid .photo-item img{width:100%;height:100%;aspect-ratio:1;object-fit:cover}
  .journal-editor .entry-details-bar{grid-column:1;grid-row:6;margin:6px 0 0;overflow:visible}
  .journal-editor .entry-details-bar summary{display:none}
  .journal-editor .entry-details-bar .details-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.72fr) minmax(0,1fr);gap:7px 9px;padding:8px 10px}
  .journal-editor .entry-details-bar .field{gap:3px}
  .journal-editor .entry-details-bar .field label{font-size:10px}
  .journal-editor .entry-details-bar input{padding:7px 9px;min-height:34px}
  .journal-editor .entry-details-bar select{padding:7px 30px 7px 9px;min-height:34px}
  .journal-editor #tags{font-size:13px}
  .journal-editor .arrow-free-dropdown{position:relative;min-width:0}
  .journal-editor .arrow-free-dropdown>input{width:100%}
  .journal-editor .arrow-free-options{display:none;position:absolute;z-index:30;left:0;right:0;bottom:calc(100% + 5px);max-height:155px;overflow-y:auto;padding:5px;border:1px solid var(--line);border-radius:11px;background:var(--panel);box-shadow:0 10px 28px #0006}
  .journal-editor .arrow-free-options.open{display:grid}
  .journal-editor .arrow-free-options button{padding:7px 9px;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer}
  .journal-editor .arrow-free-options button:hover{background:var(--accent-soft)}
  .journal-editor .entry-details-bar .checks{grid-column:1/-1;justify-content:center;gap:0}
  .journal-editor .favorite-heart{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:50%;background:#f5f3ec;color:#111;font-size:23px;line-height:1;cursor:pointer;transition:transform .15s ease,color .15s ease,background .15s ease}
  .journal-editor .favorite-heart:hover{transform:scale(1.08)}
  .journal-editor .favorite-heart.active{color:#d63b3b;background:#fff0f0;border-color:#d63b3b}
  .journal-editor .save-row{grid-column:1/-1;grid-row:8;margin-top:6px}
  .field-counter{justify-self:end;color:var(--muted);font-size:10px;margin-top:-5px}
  .journal-reader{max-width:1180px;overflow:hidden!important}
  .journal-reader .editor-top{flex:0 0 auto;margin-bottom:10px}
  .journal-reader .editor-sheet{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:clamp(16px,2.2vh,25px)}
  .journal-reader .editor-sheet>h1{margin-bottom:8px}
  .journal-reader .editor-sheet>.meta{flex:0 0 auto}
  .journal-reader .body-editor{flex:1;min-height:100px;overflow-y:auto;padding:12px 3px;margin-top:8px;font-size:14px;line-height:1.5}
  .journal-reader .editor-sheet>.photo-grid{flex:0 0 auto;display:flex!important;flex-wrap:wrap;align-self:center;justify-content:center;width:100%;max-width:688px;gap:8px!important;margin-top:10px}
  .journal-reader .editor-sheet>.photo-grid .photo-item{flex:0 1 calc((100% - 40px)/6);width:clamp(72px,8vw,108px);max-width:108px;height:clamp(72px,8vw,108px);min-height:0!important;aspect-ratio:1!important}
  .journal-reader .editor-sheet>.photo-grid .photo-item img{width:100%!important;height:100%!important;aspect-ratio:1!important;object-fit:cover!important}
  .journal-reader .save-row{flex:0 0 auto;margin-top:8px}
  .page:has(.settings-grid) .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
}

body,button,input,textarea,select{font-family:"Segoe UI",Arial,sans-serif!important}
.brand-mark{font-size:0!important;background:var(--accent) url("icon.svg") center/cover no-repeat!important}
.title-input,.entry-card h3,.journal-card h3,.day-preview,.editor-sheet>h1,.week-day h3{text-transform:none!important}
.cards-grid{grid-template-columns:repeat(3,minmax(240px,1fr))!important}
.cards-grid .journal-card{display:block!important;min-width:0!important;height:auto!important}
.cards-grid .journal-card .cover{display:flex!important;align-items:center!important;justify-content:center!important;height:138px!important;min-height:0!important;padding:10px!important;border-bottom:1px solid var(--line)!important;background:var(--panel-2)!important}
.cards-grid .journal-card .cover img{display:block!important;width:100%!important;height:118px!important;object-fit:contain!important;object-position:center!important;background:var(--panel)!important;border-radius:11px!important}
.cards-grid .journal-card .content{position:static!important;display:flex!important;flex-direction:column!important;min-height:238px!important;padding:16px 18px 18px!important;background:var(--panel)!important;border:0!important}
.cards-grid .journal-card .content>p{display:-webkit-box!important;min-height:44px!important;max-height:44px!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
.cards-grid .journal-card .content>.meta:last-child{margin-top:auto!important;min-height:24px!important;align-items:flex-end!important}
.calendar-grid .day-number{align-items:center!important;justify-content:center!important;text-align:center!important}
.calendar-grid .day{position:relative!important}
.calendar-grid .day-number{position:absolute!important;left:0!important;right:0!important;top:34%!important;width:auto!important;transform:translateY(-50%)!important;margin:0!important;text-align:center!important}
.calendar-grid .day-number>span:first-child{display:block!important;width:100%!important;text-align:center!important}
.calendar-grid .day-preview{position:absolute!important;left:8px!important;right:8px!important;top:66%!important;transform:translateY(-50%)!important;margin:0!important;text-align:center;font-family:"Segoe UI",Arial,sans-serif!important;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calendar-grid .day.today:not(.favorite-day){box-shadow:none!important}
.calendar-grid .day.today::before,.calendar-grid .day.today::after{display:none!important;content:none!important}
.calendar-grid .day.favorite-day{border:2px solid #df4545!important;box-shadow:inset 0 0 0 1px #df454555}
.week-grid .week-day.favorite-day{border:2px solid #df4545!important;box-shadow:inset 0 0 0 1px #df454555!important}
.year-grid .year-month{overflow:hidden!important}
.year-grid .year-month .mini-month{height:calc(100% - 24px)!important;grid-template-rows:repeat(7,minmax(0,1fr))!important;align-content:stretch!important}
.year-grid .year-month .mini-month span{min-height:0!important;height:auto!important;aspect-ratio:auto!important;line-height:1!important}
.year-grid .mini-month span.favorite-day{outline:2px solid #df4545!important;outline-offset:-1px!important;background:transparent!important;color:inherit!important;font-weight:700!important}
.calendar-grid .day .entry-dots i{background:#fff!important;box-shadow:0 0 0 1px #ffffff55!important}
.week-grid .week-day .entry-dots{position:absolute;top:14px;left:50%;display:flex;gap:5px;transform:translateX(-50%)}
.week-grid .week-day .entry-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #ffffff55}
.week-grid .week-day{position:relative}
