.desktop-months{display:none}.workspace-right{min-width:0}.desktop-record-editor{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:14px}.desktop-record-editor iframe{display:block;border:0;width:100%;height:72dvh;min-height:480px;background:var(--bg);border-radius:14px;margin-top:8px}.pair-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.pair-month{margin-bottom:14px}.pair-month h2{padding:0 4px 8px}.medicine-checklist .muted{margin:12px 0}.medicine-checklist .record small{display:block;font-size:11px;color:var(--muted)}.embedded-editor .top-header{display:none}.embedded-editor .main-container{padding:8px 10px}.embedded-editor body{background:var(--surface)}.embedded-editor .panel{margin-top:0}.editor-workspace-right{min-width:0}@media(min-width:1100px){.desktop-months{display:block;min-width:0}.main-container{max-width:1320px}.calendar-workspace,.editor-workspace{display:grid;grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:24px;align-items:start}.mobile-calendar{display:none}.pair-month .calendar-day{min-height:38px;font-size:14px;padding:4px}.pair-month .weekdays{margin-bottom:4px}.pair-month{padding:14px}.workspace-right{position:sticky;top:88px}.workspace-right .day-viewer{margin-top:0}.editor-workspace-right{position:sticky;top:90px}.embedded-editor .editor-workspace{display:block}.month-hero{max-height:190px}.desktop-record-editor .panel-header h2{font-size:15px}}@media(max-width:1099px){.desktop-record-editor iframe{height:75dvh}.editor-workspace{display:block}}
@media(min-width:1100px){#app>.main-container>.calendar-workspace>.desktop-months{position:sticky;top:0;align-self:start;height:100%;max-height:100%;min-height:0;overflow:hidden}}
@media(min-width:1100px){.main-container{max-width:none;width:100%;margin:0;padding-left:16px;padding-right:16px}.calendar-workspace{height:auto;min-height:0;align-items:start;grid-template-rows:auto;grid-template-columns:minmax(300px,340px) minmax(0,1fr);gap:16px}.calendar-workspace>dlog-month-pair{display:block;position:sticky;top:12px;height:calc(100dvh - 24px);min-height:0;align-self:start}.desktop-months{position:static;top:auto;height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}.pair-controls{flex:0 0 auto;margin:0}.pair-month{display:flex;flex:1 1 0;flex-direction:column;min-height:0;margin:0;padding:10px;overflow:hidden}.pair-month h2{flex:0 0 auto;padding:0 4px 4px}.pair-month .weekdays{flex:0 0 auto;padding:5px 0 3px;margin:0}.pair-month .calendar-grid{flex:1 1 0;min-height:0;grid-auto-rows:minmax(0,1fr)}.pair-month .calendar-day{min-height:0;height:100%;padding:1px 0;gap:0;font-size:13px}.pair-month .calendar-day span{width:24px;height:24px}.memo{max-height:none;overflow:visible}.workspace-right{position:static;top:auto;align-self:start;height:auto;min-height:0;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto;padding-right:0}}@media(min-width:1100px) and (max-height:760px){.month-hero{height:90px;min-height:90px;max-height:90px;padding:4px 0}.month-hero>.month-art{width:76px;height:86px;flex:0 0 76px}.month-hero .month-copy h1{font-size:20px;margin-bottom:4px}.month-hero .month-copy .muted{font-size:10px}.month-cover{padding-left:8px}.month-cover .collage-crop{height:82px}.pair-month{padding:8px}.pair-month .calendar-day span{width:21px;height:21px;font-size:12px}}
@media(min-width:1100px){html,body{height:100%;overflow:hidden}#app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}#app>.top-header{flex:0 0 auto}#app>.main-container{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;margin:0;padding:6px 16px 10px}#app>.main-container>.calendar-workspace{display:grid;flex:1;min-height:0;grid-template-columns:minmax(300px,340px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:16px;align-items:stretch;overflow:hidden}#app .calendar-workspace>dlog-month-pair{position:sticky;top:0;align-self:start;height:100%;min-height:0}#app .calendar-workspace>.workspace-right{position:relative;top:auto;height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px}}
@media(min-width:1100px){#app>.main-container>.calendar-workspace{height:100%;max-height:100%}#app .calendar-workspace>dlog-month-pair{height:100%;max-height:100%;min-height:0;overflow:hidden}#app .calendar-workspace>dlog-month-pair>.desktop-months{height:100%;max-height:100%;min-height:0;overflow:hidden}#app .calendar-workspace>.workspace-right{height:100%;max-height:100%;min-height:0}}
