/* Daily reference layout. Every surface derives from the active journal palette. */
#app #content.daily-v2{padding:12px 20px 30px!important;--dj-surface:var(--panel);--dj-soft:color-mix(in srgb,var(--text) 5%,var(--panel));--dj-field:color-mix(in srgb,var(--bg) 85%,var(--panel));--dj-line:color-mix(in srgb,var(--text) 14%,transparent)}



.dj-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:32px;align-items:start}.dj-main{min-width:0}.dj-sidebar{display:grid;gap:14px;min-width:0}
#app #content.daily-v2 :is(.dj-today,.dj-sidebar-card,.dj-day-card,.dj-reviewed){border:1px solid var(--dj-line);background:linear-gradient(145deg,color-mix(in srgb,var(--text) 6%,transparent),transparent 55%),var(--dj-surface);border-radius:24px;box-shadow:0 8px 22px #00000014;color:var(--text)}
#app #content.daily-v2 .dj-today{padding:20px;border-radius:24px;background:linear-gradient(165deg,color-mix(in srgb,var(--text) 8%,transparent),transparent 48%),var(--dj-surface)}
.dj-today>header{display:flex;justify-content:space-between;gap:20px}.dj-today>header small{font-size:10px;letter-spacing:1.3px;color:var(--muted);font-weight:650}.dj-today>header h2{font-size:40px;letter-spacing:-1.5px;line-height:1.15;margin:5px 0 8px}.dj-today>header p{font-size:12px;color:var(--muted);margin:0}.dj-today-result{text-align:right}.dj-today-result>strong{font-size:30px;display:block;letter-spacing:-1px;color:var(--muted);margin:8px 0 4px}.dj-today-result button{font-size:10px;margin-top:8px}
.dj-mode-row{display:flex;justify-content:flex-end;margin:18px 0}.dj-segment{display:inline-flex;gap:2px;padding:3px;background:color-mix(in srgb,var(--text) 8%,var(--panel));border-radius:9px}
#app #content.daily-v2 .dj-segment button,.dj-review-sheet .dj-segment button{border:1px solid transparent;box-shadow:none;background:none;color:var(--muted);border-radius:6px;padding:6px 15px;min-width:86px;font-size:10px;line-height:1.2;height:auto;font-weight:500}
#app #content.daily-v2 .dj-segment button[aria-pressed=true],.dj-review-sheet .dj-segment button[aria-pressed=true]{color:var(--text);border-color:var(--dj-line);background:linear-gradient(color-mix(in srgb,var(--text) 6%,transparent),transparent),var(--panel2);box-shadow:0 1px 4px #0002}
.dj-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;text-align:center;margin:25px 0}.dj-path:before{content:'';position:absolute;left:16.66%;right:16.66%;height:1px;background:var(--dj-line);top:20px}.dj-path>div{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px}.dj-path>div>span{display:grid;place-items:center;position:relative;width:40px;height:40px;border-radius:50%;background:var(--bg);font-size:21px;margin-bottom:4px;color:var(--muted)}.dj-path>div.plan>span,.dj-path>div.done>span{background:var(--text);color:var(--panel)}.dj-path>div:last-child.done>span{background:var(--bg);color:var(--text);border:1px solid var(--dj-line)}.dj-path strong{font-size:14px}.dj-path small{font-size:11px;color:var(--muted)}
#app #content.daily-v2 .dj-strip{padding:10px 14px;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-radius:17px;background:linear-gradient(color-mix(in srgb,var(--text) 3%,transparent),transparent),var(--dj-field);border:1px solid color-mix(in srgb,var(--text) 6%,transparent);font-size:12px;color:var(--muted)}
#app #content.daily-v2 .dj-strip>button{flex-shrink:0;border-radius:13px;font-size:12px;font-weight:600;padding:7px 12px;border:1px solid var(--dj-line);background:var(--panel);color:var(--text)}
.dj-trades-title{font-size:13px;margin:20px 0 9px}.dj-trades>div{display:flex;gap:7px;flex-wrap:wrap}.dj-trades>div>button{font-size:11px;display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:9px}.dj-trades b{margin-left:10px}
#app #content.daily-v2 .dj-review-cta{width:100%;display:flex;align-items:center;gap:14px;padding:17px 16px;margin-top:18px;border-radius:16px;border:0;box-shadow:none;background:var(--text);color:var(--panel);text-align:left}.dj-review-cta>span{font-size:21px}.dj-review-cta>span:last-child{margin-left:auto}.dj-review-cta strong{display:block;font-size:13px;font-weight:600}.dj-review-cta small{display:block;font-size:11px;margin-top:3px;opacity:.7}
.dj-past{margin-top:26px}.dj-past>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.dj-past h3{font-size:14px}.dj-past h4{font-size:10px;letter-spacing:1.2px;color:var(--muted);margin:12px 0 10px}.dj-past h4 small{letter-spacing:0;font-size:10px;margin-left:9px}.dj-day-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#app #content.daily-v2 .dj-day-card{padding:14px 13px;min-height:148px;text-align:left;display:flex;flex-direction:column;position:relative;border-radius:20px;overflow:hidden;box-shadow:none}.dj-day-card>small{font-size:10px;letter-spacing:1px;color:var(--muted)}.dj-day-card>strong{font-size:23px;letter-spacing:-.8px;margin:3px 0 12px}.dj-day-card>span{font-size:10px;color:var(--muted);margin-top:-8px;margin-bottom:7px}.dj-day-card>b{font-size:21px}.dj-day-card>b.dj-no-trades{color:var(--muted)}.dj-day-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:20px}.dj-day-card footer small{font-size:10px;color:var(--muted)}.dj-day-card footer span{display:flex;gap:3px}.dj-day-card footer i{width:5px;height:5px;border-radius:50%;background:color-mix(in srgb,var(--text) 20%,transparent)}.dj-day-card footer i.done{background:var(--text)}.dj-day-card>em{position:absolute;right:15px;top:15px;display:grid;place-items:center;border:3px solid var(--dj-line);border-radius:50%;width:27px;height:27px;font-size:12px;font-weight:700;font-style:normal}.dj-day-grid[data-view=list]{grid-template-columns:1fr}.dj-day-grid[data-view=list] .dj-day-card{min-height:65px!important;display:grid!important;grid-template-columns:40px 90px 1fr auto;align-items:center;gap:14px}.dj-day-grid[data-view=list] .dj-day-card>strong{margin:0;font-size:18px}.dj-day-grid[data-view=list] .dj-day-card>span{margin:0}.dj-day-grid[data-view=list] .dj-day-card>em{position:static}.dj-day-grid[data-view=list] .dj-day-card footer{padding:0;margin:0;grid-column:auto}.dj-empty{color:var(--muted);font-size:12px;padding:30px 0}
#app #content.daily-v2 .dj-sidebar-card{padding:15px;border-radius:24px;box-shadow:none}.dj-sidebar-card h3{font-size:10px;letter-spacing:1.2px;color:var(--muted);margin:0 0 12px;font-weight:600}.dj-sidebar-card p{font-size:10px;line-height:1.6;color:var(--muted);margin:12px 0 0}.dj-streak header{display:flex;gap:11px;align-items:center}.dj-streak header>span{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:var(--bg);font-size:22px}.dj-streak header strong{font-size:22px;display:block;letter-spacing:-.5px}.dj-streak header small{font-size:11px;color:var(--muted)}.dj-streak-days{display:grid;grid-template-columns:repeat(14,1fr);gap:3px;margin:14px 0}.dj-streak-days i{height:20px;border-radius:5px;background:color-mix(in srgb,var(--text) 11%,var(--panel))}.dj-streak-days i.done{background:color-mix(in srgb,var(--text) 75%,var(--panel))}.dj-streak footer{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.dj-streak footer b{color:var(--text)}.dj-calendar header{display:flex;justify-content:space-between;align-items:center;text-align:center;margin-bottom:15px}.dj-calendar header strong{font-size:14px}.dj-calendar header b{display:block;font-size:12px;margin-top:3px}.dj-calendar header button{border:0;background:none;box-shadow:none;font-size:22px;padding:4px 8px;color:var(--muted)}.dj-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px 1px;text-align:center}.dj-calendar-grid>small{font-size:9px;color:var(--muted);margin-bottom:3px}.dj-calendar-grid button{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;min-width:0;height:39px;border:1px solid transparent;border-radius:12px;background:none;box-shadow:none;font-weight:650;font-size:12px;padding:1px;color:var(--muted)}.dj-calendar-grid button.selected{border-color:var(--text);color:var(--text)}.dj-calendar-grid button.has-trades{background:color-mix(in srgb,var(--text) 16%,transparent);color:var(--text)}.dj-calendar-grid button b{font-size:8px}.dj-calendar-grid button em{position:absolute;bottom:1px;width:3px;height:3px;border-radius:50%;background:var(--text)}.dj-comparison{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--dj-line)}.dj-comparison:first-of-type{padding-top:0}.dj-comparison:last-of-type{border:0;padding-bottom:0}.dj-comparison strong,.dj-comparison b{font-size:12px;font-weight:600;line-height:1.5}.dj-comparison>div:last-child{text-align:right}.dj-comparison small{display:block;font-size:10px;line-height:1.5;color:var(--muted)}.dj-lesson{border:0;background:none!important;box-shadow:none;text-align:left;padding:0;width:100%;color:var(--text)}.dj-lesson q{font-size:13px;font-weight:600;line-height:1.6}.dj-lesson small{display:block;color:var(--muted);font-size:10px;margin-top:12px}.dj-week{display:flex;gap:4px}.dj-week button{flex:1;min-width:0;border:0;background:none;box-shadow:none;padding:6px 4px;display:flex;align-items:center;flex-direction:column;gap:3px;color:var(--muted)}.dj-week small{font-size:9px;text-transform:uppercase;margin-bottom:5px}.dj-week i{height:4px;width:22px;background:var(--dj-line);border-radius:1px}.dj-week i.done{background:var(--text)}.dj-week b{font-size:9px;font-weight:500;margin-top:8px}
/* Shared plan/review controls match the reference without inheriting toolbar rules. */
.dj-form{background:linear-gradient(155deg,color-mix(in srgb,var(--text) 5%,transparent),transparent 60%),var(--dj-field);border:1px solid color-mix(in srgb,var(--text) 6%,transparent);padding:18px;border-radius:18px;color:var(--text);font-size:12px}.dj-form>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dj-form>header strong{font-size:14px}.dj-form>header button{font-size:11px;background:none;border:0;box-shadow:none;color:var(--muted)}.dj-plan-row{display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px;align-items:start;margin:14px 0}.dj-plan-row>label{font-size:11px;color:var(--muted);padding-top:8px}.dj-plan-row>label output{color:var(--text);font-weight:700}.dj-choices{display:flex;flex-wrap:wrap;gap:5px}.dj-choices button{font:600 11px Manrope,Arial,sans-serif;border-radius:20px;border:1px solid var(--dj-line);background:color-mix(in srgb,var(--text) 2%,var(--panel));box-shadow:none;color:var(--text);padding:6px 11px;line-height:1.2;min-height:28px}.dj-choices button[aria-pressed=true]{color:var(--panel);background:var(--text);border-color:var(--text)}.dj-plan-row>.dj-choices:has([data-dj-choice=bias]),.dj-plan-row>.dj-choices:has([data-dj-choice=shortBias]),.dj-plan-row>.dj-choices:has([data-dj-choice=longBias]),.dj-plan-row>.dj-choices:has([data-dj-choice=mental]){padding:2px;gap:0;border:1px solid var(--dj-line);border-radius:14px;width:max-content;max-width:100%}.dj-plan-row>.dj-choices button{border-color:transparent;background:none;color:var(--muted)}.dj-plan-row>.dj-choices button[aria-pressed=true]{background:var(--text);color:var(--panel)}.dj-plan-row [data-dj-choice=mental]{min-width:40px;border-radius:10px}.dj-feeling{display:flex;align-items:center;gap:6px;margin:0 0 7px;flex-wrap:wrap}.dj-feeling>span{font-size:10px;letter-spacing:1px;color:var(--muted);min-width:36px}.dj-feeling>button{font-size:11px;color:var(--muted);background:none;box-shadow:none;border:0}.dj-custom-feeling{display:flex;gap:5px}.dj-custom-feeling input{max-width:130px}.dj-field{display:block;font-size:12px;color:var(--muted);margin:15px 0 8px}.dj-field input,.dj-field textarea,.dj-custom-feeling input{display:block;width:100%;margin-top:7px;padding:11px 12px;border:0;border-radius:15px;background:var(--bg);color:var(--text);font:12px/1.6 Manrope,Arial,sans-serif;box-shadow:none;min-width:0;box-sizing:border-box}.dj-field textarea{height:72px;resize:vertical}.dj-field input::placeholder,.dj-field textarea::placeholder{color:var(--muted);opacity:.65}.dj-plan-row .dj-field{margin:0}.dj-plan-row .dj-field input{margin:0}.dj-plan-row input[name=levels]{width:240px;max-width:100%;padding:6px 12px;border-radius:20px}.dj-plan-row input[name=rule]{background:none}.dj-last-levels{display:block;color:var(--muted);font-size:10px;margin-top:10px}.dj-last-levels button{font-size:10px;color:var(--muted);background:none;box-shadow:none;border:0;padding:0 4px}.dj-basic-goals>.dj-field{display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px;align-items:center}.dj-basic-goals textarea{height:39px;min-height:39px;margin:0;resize:vertical}.dj-rule{display:flex;gap:12px;align-items:center;margin:28px 0 16px;color:var(--muted);font-size:10px;letter-spacing:1.2px;text-transform:uppercase}.dj-rule:after{content:'';height:1px;flex:1;background:var(--dj-line)}.dj-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dj-scenario{border:1px solid var(--dj-line);border-radius:18px;background:var(--panel);padding:10px}.dj-scenario>strong{font-size:11px}.dj-scenario>.dj-field{margin:6px 0}.dj-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:min(340px,100%);height:170px;border:1px dashed var(--dj-line);border-radius:8px;margin-top:8px;background:var(--bg);color:var(--muted);cursor:pointer}.dj-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.dj-upload small{font-size:9px;margin-top:5px}.dj-chart-previews{display:flex;gap:10px;flex-wrap:wrap}.dj-chart-previews>div{position:relative}.dj-chart-previews img{width:150px;height:95px;object-fit:cover;border-radius:9px}.dj-chart-previews button{position:absolute;right:2px;top:2px;width:24px;height:24px;padding:0;border-radius:50%;background:var(--panel);color:var(--text)}.dj-help{font-size:10px;color:var(--muted);line-height:1.7;margin:9px 0}.dj-checklist label{display:flex;align-items:center;gap:9px;border:1px solid var(--dj-line);border-radius:12px;background:var(--panel);padding:9px 10px;color:var(--text);font-size:11px}.dj-checklist input{width:16px;height:16px;accent-color:var(--text);margin:0}.dj-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px}.dj-form-actions>span{margin-right:auto;color:var(--muted);font-size:11px}.dj-form-actions>button{font-size:12px;padding:9px 20px;border-radius:13px}.dj-form-actions>button:first-of-type{background:none;border:0;box-shadow:none;color:var(--muted)}.dj-save{background:linear-gradient(color-mix(in srgb,var(--text) 7%,transparent),transparent),var(--panel2);color:var(--text);border:1px solid var(--dj-line);border-radius:13px;padding:11px 20px;font-size:12px;font-weight:650;box-shadow:0 2px 3px #0002}
.dj-review-backdrop{--dj-line:color-mix(in srgb,var(--text) 14%,transparent);--dj-field:color-mix(in srgb,var(--bg) 85%,var(--panel));position:fixed;inset:0;z-index:160;display:flex;align-items:flex-end;justify-content:center;background:#0008;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);font-family:Manrope,Arial,sans-serif;color:var(--text)}.dj-review-sheet{position:relative;width:min(980px,calc(100vw - 40px));height:calc(100dvh - 130px);max-height:100dvh;overflow:auto;overscroll-behavior:contain;background:var(--bg);border:1px solid var(--dj-line);border-radius:30px 30px 0 0;box-shadow:0 -15px 65px #0005;padding:26px 24px 50px;box-sizing:border-box}.dj-sheet-handle{position:absolute;top:8px;left:calc(50% - 18px);height:4px;width:36px;background:var(--dj-line);border-radius:4px}.dj-review-sheet>header{position:relative;margin-bottom:14px}.dj-review-sheet>header small{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}.dj-review-sheet h2{font-size:21px;letter-spacing:-.5px;margin:8px 0}.dj-review-sheet #dj-review-close{position:absolute;right:4px;top:3px;display:grid;place-items:center;border:0;box-shadow:none;background:var(--panel);color:var(--muted);border-radius:50%;font-size:21px;width:29px;height:29px;padding:0}.dj-review-sheet #dj-review-form{max-width:640px;margin:0 auto;padding:18px}.dj-review-sheet .dj-segment{margin-bottom:19px}.dj-review-sheet .dj-score-field>label{display:block;color:var(--muted);font-size:12px;margin:0 0 9px}.dj-score-field>.dj-choices{border:1px solid var(--dj-line);padding:2px;gap:0;border-radius:15px}.dj-score-field>.dj-choices button{flex:1;min-width:0;border:0;background:none;color:var(--muted);border-radius:10px;height:35px;padding:4px}.dj-score-field>.dj-choices button[aria-pressed=true]{background:var(--text);color:var(--panel)}.dj-review-sheet .dj-field{margin-top:20px}.dj-review-sheet .dj-choices{gap:5px}.dj-review-sheet .dj-score-field>.dj-choices{gap:0}.dj-review-sheet .dj-choices+.dj-field:empty{margin:0}.dj-review-save{display:block;width:100%;margin-top:21px}.dj-review-sheet [role=alert]{font-size:12px;color:var(--text)}.dj-review-sheet textarea[name=notesHtml]{height:100px}
#app #content.daily-v2 .dj-reviewed{margin-top:18px;padding:18px;border-radius:19px;box-shadow:none;background:linear-gradient(color-mix(in srgb,var(--text) 4%,transparent),transparent),var(--dj-field)}.dj-reviewed header{display:flex;gap:13px;align-items:center}.dj-review-rating{width:32px;height:32px;border-radius:50%;border:3px solid var(--text);display:grid;place-items:center;font-size:12px;font-weight:700}.dj-reviewed header strong{font-size:13px}.dj-reviewed header small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.dj-reviewed header>button{margin-left:auto;border:0;background:none;box-shadow:none;font-size:11px;color:var(--muted)}.dj-reviewed q{display:block;margin:18px 0;font-size:12px}.dj-reviewed p{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:1.8}.dj-tag{font-size:11px;color:var(--text);border:1px solid var(--dj-line);border-radius:15px;padding:3px 10px}
@media(hover:hover){.daily-v2 :is(.dj-day-card,.dj-choices button,.dj-strip>button,.dj-calendar-grid button):hover,.dj-review-sheet .dj-choices button:hover{filter:brightness(1.1)}.daily-v2 .dj-day-card:hover{translate:0 -2px}.daily-v2 button,.dj-review-sheet button{transition:background-color 160ms,color 160ms,filter 160ms,translate 180ms}}
@media(max-width:1250px){.dj-layout{gap:18px;grid-template-columns:minmax(0,1fr) 245px}.dj-today>header h2{font-size:34px}.dj-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dj-plan-row [data-dj-choice=mental]{min-width:30px}}
@media(max-width:1000px){.dj-layout{grid-template-columns:minmax(0,1fr)}.dj-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dj-sidebar .dj-calendar{grid-row:span 2}.dj-review-sheet{height:calc(100dvh - 60px)}.dj-day-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#app #content.daily-v2{padding:10px 12px 24px!important}.dj-sidebar{grid-template-columns:1fr}.dj-day-grid{grid-template-columns:1fr}.dj-today>header h2{font-size:28px}.dj-today>header p{font-size:10px}.dj-today-result>strong{font-size:24px}#app #content.daily-v2 .dj-today{padding:15px;border-radius:20px}.dj-path{gap:6px}.dj-path small{font-size:9px;line-height:1.4}.dj-path strong{font-size:12px}.dj-form{padding:13px}.dj-plan-row{grid-template-columns:1fr;gap:7px}.dj-plan-row>label{padding:0}.dj-plan-row [data-dj-choice=mental]{min-width:26px;padding:6px}.dj-basic-goals>.dj-field{grid-template-columns:1fr;gap:5px}.dj-two{grid-template-columns:1fr}.dj-feeling{gap:4px}.dj-choices button{padding:6px 9px}.dj-form>header{gap:10px}.dj-form>header button{font-size:9px;padding:0}.dj-review-sheet{width:100%;height:calc(100dvh - 24px);padding:26px 12px 30px;border-radius:24px 24px 0 0}.dj-review-sheet #dj-review-form{padding:14px}.dj-day-grid[data-view=list] .dj-day-card{grid-template-columns:30px 65px 1fr;gap:8px}.dj-day-grid[data-view=list] .dj-day-card footer{grid-column:1/-1}.dj-day-grid[data-view=list] .dj-day-card>strong{font-size:16px}.dj-strip{flex-wrap:wrap}.dj-trades>div{width:100%}}
@media(prefers-reduced-motion:reduce){:root:not([data-motion=full]) .daily-v2 .dj-day-card{translate:none!important}}
:root.settings-reduce-motion .daily-v2 .dj-day-card{translate:none!important}
#app #content.daily-v2 aside.dj-sidebar{position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;transform:none!important;translate:none!important;z-index:auto!important}
/* Keep compact field dimensions independent of older journal form defaults. */
#app #content.daily-v2 .dj-form :is(input[name],textarea),.dj-review-sheet .dj-form :is(input[name],textarea){border:0!important;outline-offset:3px}
#app #content.daily-v2 .dj-form textarea,.dj-review-sheet .dj-form textarea{min-height:60px;height:60px}
#app #content.daily-v2 .dj-form .dj-basic-goals textarea{min-height:39px;height:39px}
#app #content.daily-v2 .dj-form textarea[name=overviewHtml],#app #content.daily-v2 .dj-scenario textarea{min-height:80px;height:80px}
.dj-review-sheet .dj-form textarea[name=notesHtml]{height:100px}
.dj-review-sheet .dj-form{background:linear-gradient(155deg,color-mix(in srgb,var(--text) 9%,transparent),transparent 60%),var(--dj-field)}
:root.appearance-active .dj-review-backdrop{--text:var(--appearance-text);--muted:var(--appearance-muted);--bg:var(--appearance-bg);--panel:var(--appearance-panel);--panel2:var(--appearance-panel2)}

.dj-review-rating,.dj-day-card>em{border:0!important}
.dj-review-rating svg,.dj-day-card>em svg{display:block;width:100%;height:100%;overflow:visible}
.dj-today-result #dj-entry-actions{font-size:16px;line-height:1;padding:0 5px;border:0;box-shadow:none;background:none;color:var(--muted)}

/* Compact Daily layout: reduce actual spacing and controls, not page zoom. */
#app #content.daily-v2{padding:8px 14px 20px!important}



.dj-layout{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.dj-sidebar{gap:10px}
#app #content.daily-v2 .dj-today{padding:14px;border-radius:18px}
.dj-today>header small{font-size:9px;letter-spacing:1px}.dj-today>header h2{font-size:29px;letter-spacing:-1px;margin:4px 0 5px}.dj-today>header p{font-size:10px}
.dj-today-result>strong{font-size:24px;margin:5px 0 3px}.dj-mode-row{margin:9px 0}
#app #content.daily-v2 .dj-segment button,.dj-review-sheet .dj-segment button{min-width:65px;padding:4px 10px;font-size:10px}
.dj-path{margin:13px 0 16px}.dj-path:before{top:16px}.dj-path>div{gap:3px}.dj-path>div>span{width:32px;height:32px;font-size:18px;margin-bottom:3px}.dj-path strong{font-size:12px}.dj-path small{font-size:10px}
#app #content.daily-v2 .dj-strip{min-height:37px;padding:6px 10px;border-radius:12px;font-size:11px;gap:10px}
#app #content.daily-v2 .dj-strip>button{padding:5px 9px;border-radius:9px;font-size:11px}
.dj-trades-title{font-size:12px;margin:12px 0 6px}.dj-trades>div>button{padding:5px 8px;font-size:10px}
#app #content.daily-v2 .dj-review-cta{padding:11px 12px;margin-top:11px;border-radius:12px;gap:10px}.dj-review-cta>span{font-size:18px}.dj-review-cta strong{font-size:12px}.dj-review-cta small{font-size:10px;margin-top:2px}
#app #content.daily-v2 .dj-reviewed{padding:12px;margin-top:11px;border-radius:13px}.dj-reviewed q{margin:10px 0;font-size:11px}.dj-reviewed p{font-size:11px;margin-top:5px;line-height:1.6}.dj-review-rating{width:27px;height:27px}.dj-reviewed header{gap:9px}.dj-reviewed header strong{font-size:12px}.dj-reviewed header small{font-size:10px}
.dj-past{margin-top:17px}.dj-past>header{margin-bottom:9px}.dj-past h3{font-size:12px;margin:0}.dj-past h4{font-size:9px;margin:10px 0 7px}.dj-past h4 small{font-size:9px}.dj-day-grid{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
#app #content.daily-v2 .dj-day-card{min-height:111px;padding:11px;border-radius:14px}.dj-day-card>small{font-size:9px}.dj-day-card>strong{font-size:19px;margin:3px 0 8px}.dj-day-card>b{font-size:17px}.dj-day-card footer{padding-top:12px}.dj-day-card footer small{font-size:9px}.dj-day-card>em{width:24px;height:24px;right:10px;top:10px}
#app #content.daily-v2 .dj-sidebar-card{padding:12px;border-radius:18px}.dj-sidebar-card h3{font-size:9px;letter-spacing:1px;margin-bottom:9px}.dj-sidebar-card p{font-size:9px;margin-top:9px}.dj-streak header{gap:8px}.dj-streak header>span{width:32px;height:32px}.dj-streak header strong{font-size:19px}.dj-streak header small{font-size:10px}.dj-streak-days{margin:10px 0;gap:3px}.dj-streak-days i{height:15px;border-radius:4px}.dj-streak footer{font-size:9px}
.dj-calendar header{margin-bottom:9px}.dj-calendar header strong{font-size:12px}.dj-calendar header b{font-size:11px}.dj-calendar header button{font-size:18px;padding:2px 6px}.dj-calendar-grid{gap:3px 1px}.dj-calendar-grid button{height:28px;font-size:11px;border-radius:9px}.dj-calendar-grid button b{font-size:7px}.dj-calendar-grid>small{font-size:8px}
.dj-comparison{padding:7px 0;gap:8px}.dj-comparison strong,.dj-comparison b{font-size:10px}.dj-comparison small{font-size:9px}.dj-lesson q{font-size:11px;line-height:1.5}.dj-lesson small{font-size:9px;margin-top:8px}.dj-week button{padding:3px 2px}.dj-week small{font-size:8px;margin-bottom:4px}.dj-week b{font-size:8px;margin-top:5px}.dj-week i{height:3px;width:19px}
#app #content.daily-v2 .dj-form{padding:13px;border-radius:13px}.dj-form>header{margin-bottom:12px}.dj-form>header strong{font-size:12px}.dj-form>header button{font-size:10px}.dj-plan-row{margin:9px 0;grid-template-columns:82px minmax(0,1fr);gap:9px}.dj-plan-row>label{font-size:10px;padding-top:6px}.dj-choices{gap:4px}.dj-choices button{font-size:10px;padding:5px 9px;min-height:25px}.dj-feeling{margin-bottom:4px;gap:5px}.dj-feeling>span{font-size:9px;min-width:33px}.dj-feeling>button{font-size:10px}.dj-plan-row [data-dj-choice=mental]{min-width:31px;border-radius:8px}.dj-field{font-size:11px;margin:10px 0 6px}.dj-field input,.dj-field textarea{padding:8px 10px;font-size:11px;border-radius:10px;margin-top:5px}.dj-basic-goals>.dj-field{grid-template-columns:82px minmax(0,1fr);gap:9px}.dj-rule{margin:18px 0 11px;font-size:9px}.dj-scenario{padding:8px;border-radius:12px}.dj-scenario>strong{font-size:10px}.dj-upload{height:120px;width:min(270px,100%)}.dj-chart-previews img{width:120px;height:75px}.dj-checklist label{padding:7px 9px;font-size:10px;border-radius:9px}.dj-checklist input{width:14px;height:14px}.dj-help{font-size:9px;margin:6px 0}.dj-form-actions{margin-top:13px;gap:9px}.dj-form-actions>button{font-size:11px;padding:7px 14px;border-radius:10px}
#app #content.daily-v2 .dj-form textarea,.dj-review-sheet .dj-form textarea{min-height:48px;height:48px}
#app #content.daily-v2 .dj-form .dj-basic-goals textarea{min-height:33px;height:33px}
#app #content.daily-v2 .dj-form textarea[name=overviewHtml],#app #content.daily-v2 .dj-scenario textarea{min-height:60px;height:60px}
.dj-review-sheet{width:min(860px,calc(100vw - 32px));height:calc(100dvh - 80px);padding:23px 20px 30px;border-radius:24px 24px 0 0}.dj-review-sheet h2{font-size:18px;margin:5px 0}.dj-review-sheet>header{margin-bottom:10px}.dj-review-sheet #dj-review-form{max-width:590px;padding:14px}.dj-review-sheet .dj-segment{margin-bottom:13px}.dj-review-sheet .dj-field{margin-top:14px}.dj-score-field>.dj-choices button{height:29px}.dj-review-sheet .dj-score-field>label{font-size:11px;margin-bottom:6px}.dj-review-save{margin-top:14px;padding:9px 15px;font-size:11px}.dj-review-sheet .dj-form textarea[name=notesHtml]{min-height:75px;height:75px}
@media(max-width:1100px){.dj-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.dj-layout{grid-template-columns:minmax(0,1fr)}.dj-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#app #content.daily-v2{padding:8px 10px 20px!important}#app #content.daily-v2 .dj-today{padding:11px}.dj-today>header h2{font-size:25px}.dj-today-result>strong{font-size:21px}.dj-sidebar,.dj-day-grid{grid-template-columns:1fr}.dj-plan-row,.dj-basic-goals>.dj-field{grid-template-columns:1fr;gap:5px}.dj-plan-row>label{padding:0}.dj-plan-row [data-dj-choice=mental]{min-width:24px;padding:5px}.dj-two{grid-template-columns:1fr}.dj-review-sheet{width:100%;height:calc(100dvh - 20px);padding:24px 10px 25px}.dj-review-sheet #dj-review-form{padding:12px}.dj-review-sheet .dj-choices button{min-height:30px}.dj-day-grid[data-view=list] .dj-day-card{min-height:59px!important}.dj-strip{flex-wrap:wrap}}
/* Dense overview: keep the workflow and history together in one screen. */
#app #content.daily-v2 .dj-today{position:relative;padding:12px}
.dj-today>header h2{font-size:27px;margin:3px 0 4px}.dj-today>header small{line-height:1.2}.dj-today>header p{line-height:1.3}.dj-today-result>strong{line-height:1.1;font-size:23px;margin:4px 0}
.dj-mode-row{position:absolute;right:125px;top:15px;margin:0}
.dj-path{margin:10px 0 12px}.dj-path:before{top:13px}.dj-path>div{gap:2px}.dj-path>div>span{width:26px;height:26px;font-size:16px;margin-bottom:2px}.dj-path strong{font-size:11px;line-height:1.2}.dj-path small{font-size:9px;line-height:1.3}
#app #content.daily-v2 .dj-strip{min-height:32px;padding:4px 8px;border-radius:10px;font-size:10px}
#app #content.daily-v2 .dj-strip>button{padding:3px 8px;font-size:10px;line-height:1.2;min-height:23px}
.dj-trades>div>button{padding:3px 6px;font-size:10px;line-height:1.2}.dj-trades-title{font-size:11px;line-height:1.2;margin:8px 0 5px}
#app #content.daily-v2 .dj-review-cta{padding:8px 10px;margin-top:9px;gap:9px}.dj-review-cta strong{font-size:11px;line-height:1.3}.dj-review-cta small{font-size:9px;line-height:1.3}
#app #content.daily-v2 .dj-day-card{min-height:100px;padding:10px}.dj-day-card>strong{line-height:1.1;margin:3px 0 7px}.dj-day-card>b{line-height:1.2}.dj-day-card footer{padding-top:8px}.dj-day-card footer small{line-height:1.3}
.dj-streak header strong{line-height:1.15}.dj-streak header small{line-height:1.3}.dj-sidebar-card p{line-height:1.4}
@media(max-width:650px){.dj-mode-row{position:static;margin:7px 0}.dj-today>header h2{font-size:24px}.dj-path small{font-size:9px}}

/* Past-day detail sheet: the journal stays in place underneath. */
.dj-review-sheet.dj-history-sheet{width:min(980px,calc(100vw - 36px));height:calc(100dvh - 130px);padding:26px 24px 45px;border-radius:30px 30px 0 0}
.dj-history-sheet>header{margin-bottom:12px;padding-right:160px}.dj-history-sheet>header h2{font-size:21px;line-height:1.3;margin:7px 0}.dj-history-top-actions{position:absolute;right:6px;top:2px;display:flex;align-items:center;gap:14px}.dj-history-top-actions button{border:0;background:var(--panel);box-shadow:none;color:var(--text);padding:10px 14px;border-radius:24px;font-size:11px}.dj-history-top-actions #dj-history-close{width:29px;height:29px;padding:0;font-size:21px;color:var(--muted)}
#dj-history-content{max-width:860px;margin:0 auto}.dj-history-mode{display:flex;justify-content:flex-end;margin-bottom:15px}.dj-history-mode .dj-segment{margin:0}.dj-history-mode .dj-segment button{min-width:90px;padding:6px 12px}
.dj-history-card{position:relative;border:1px solid var(--dj-line);border-radius:25px;background:var(--panel);padding:18px;color:var(--text)}.dj-history-card>header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.dj-history-card h3{font-size:16px;margin:0 0 4px;display:flex;align-items:center;gap:8px}.dj-history-card>header small{font-size:11px;color:var(--muted)}.dj-history-actions{display:flex;align-items:center;gap:12px}.dj-history-actions>button{font-size:10px;line-height:1;border:0;background:var(--bg);box-shadow:none;padding:5px 8px;border-radius:8px;color:var(--text)}.dj-history-actions>button[data-history-more]{width:32px;height:32px;border-radius:50%;font-size:20px;padding:0}.dj-history-rating{width:30px;height:30px;display:block}.dj-history-rating svg{width:100%;height:100%}
.dj-history-tags{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 14px}.dj-history-card>h4{font-size:13px;margin:20px 0 11px}.dj-history-empty{font-size:12px;color:var(--muted);margin:0 0 19px}
.dj-history-fold{width:100%;display:flex;align-items:center;gap:12px;text-align:left;min-height:44px;border:1px solid color-mix(in srgb,var(--text) 7%,transparent);border-radius:16px;padding:10px 13px;background:linear-gradient(color-mix(in srgb,var(--text) 4%,transparent),transparent),var(--bg);box-shadow:none;color:var(--text)}.dj-history-fold strong{font-size:13px;font-weight:600}.dj-history-fold>span:first-child{font-size:19px}.dj-history-fold>span:last-child{margin-left:auto;font-size:17px}
.dj-history-plan{border:1px solid color-mix(in srgb,var(--text) 6%,transparent);border-radius:20px;padding:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--text) 6%,transparent),transparent 60%),var(--bg)}.dj-history-plan>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.dj-history-plan>header strong{font-size:13px}.dj-history-plan>header strong>span{color:var(--muted);font-weight:400}.dj-history-plan>header button,.dj-history-notes>button{border:0;box-shadow:none;background:none;font-size:11px;color:var(--muted);padding:0}
.dj-history-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:15px}.dj-history-badges>*{border:1px solid var(--dj-line);border-radius:20px;padding:5px 11px;font-size:11px;line-height:1.2}.dj-history-badges>b{background:var(--text);color:var(--panel);border-color:var(--text)}
.dj-history-block{margin:14px 0}.dj-history-block>small{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;margin-bottom:8px}.dj-history-rich{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.dj-history-rich :is(p,ul,ol,blockquote){margin:0 0 8px}.dj-history-rich :is(h1,h2,h3){font-size:17px;margin:12px 0 8px}.dj-history-rich img{max-width:100%;height:auto;border-radius:8px}
.dj-history-images{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px}.dj-history-images>a{display:block;max-width:100%}.dj-history-images img{display:block;max-width:100%;width:auto;height:auto;max-height:260px;border-radius:11px;object-fit:contain}
.dj-history-scenarios{margin-top:15px}.dj-history-scenarios>section{padding:12px 10px;border:1px solid var(--dj-line);border-radius:17px;background:var(--panel);min-width:0}.dj-history-scenarios strong{font-size:12px}.dj-history-scenarios p{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 0 0}.dj-history-checks{margin-top:17px}.dj-history-checks>label{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}
.dj-history-trades{display:grid;gap:7px;margin-bottom:18px}.dj-history-trades button{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--dj-line);border-radius:13px;background:var(--bg);color:var(--text);box-shadow:none;text-align:left}.dj-history-trades strong{font-size:13px}.dj-history-trades span,.dj-history-trades small{font-size:11px;color:var(--muted)}.dj-history-trades b{margin-left:auto;font-size:14px}
.dj-history-card .dj-reviewed{margin-top:18px;padding:16px;border:1px solid color-mix(in srgb,var(--text) 6%,transparent);border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--text) 5%,transparent),transparent),var(--bg)}.dj-history-card .dj-review-rating{width:30px;height:30px}
.dj-history-notes{padding:14px;border-radius:15px;background:var(--bg)}.dj-history-notes>button{display:block;margin-left:auto;margin-bottom:8px}
.dj-history-sheet :is(#dj-history-notes-form,#dj-history-tags-form){background:var(--bg);padding:13px;border-radius:15px;margin-top:10px}.dj-history-sheet form label{font-size:12px;color:var(--muted)}.dj-history-sheet form textarea,.dj-history-sheet form input[name=tags]{display:block;width:100%;box-sizing:border-box;min-width:0;border:0;border-radius:10px;background:var(--panel);color:var(--text);padding:11px;font:12px/1.7 Manrope,Arial,sans-serif;margin:7px 0 10px}.dj-history-sheet #dj-history-notes-form textarea{min-height:140px;resize:vertical}.dj-history-sheet :is(#dj-history-notes-form,#dj-history-tags-form) button{font-size:11px;padding:7px 12px;border:1px solid var(--dj-line);border-radius:9px;background:var(--panel2);color:var(--text);box-shadow:none}.dj-history-sheet #dj-history-notes-form>div{text-align:right}.dj-history-sheet [role=alert]{font-size:12px;color:var(--text)}
.dj-history-menu{position:absolute;right:18px;top:63px;z-index:2;border:1px solid var(--dj-line);border-radius:12px;padding:5px;background:var(--panel2);box-shadow:0 8px 25px #0005;display:grid;gap:3px}.dj-history-menu button{border:0;background:none;color:var(--text);font-size:12px;text-align:left;padding:8px 14px;border-radius:8px}
.dj-history-sharing #modal .overlay{z-index:180!important}
@media(max-width:650px){.dj-review-sheet.dj-history-sheet{width:100%;height:calc(100dvh - 20px);padding:26px 12px 30px;border-radius:24px 24px 0 0}.dj-history-sheet>header{padding-right:35px}.dj-history-top-actions{gap:7px}.dj-history-top-actions #dj-history-share{font-size:9px;padding:7px 9px}.dj-history-sheet>header h2{font-size:18px;padding-right:70px}.dj-history-card{padding:13px;border-radius:20px}.dj-history-card>header{gap:8px}.dj-history-actions{gap:7px}.dj-history-card h3{font-size:14px;flex-wrap:wrap}.dj-history-plan{padding:12px}.dj-history-mode .dj-segment button{min-width:78px}.dj-history-trades button{flex-wrap:wrap;gap:6px}.dj-history-trades small{display:none}}
.dj-history-top-actions button{display:flex;align-items:center;justify-content:center;gap:6px}
#dj-history-share svg{width:13px;height:13px;flex:none}
.dj-history-images img{max-width:min(420px,100%);max-height:240px}
.dj-history-top-actions button[hidden]{display:none!important}

/* Dense historical reading layout, matching the compact journal reference. */
.dj-review-sheet.dj-history-sheet{width:min(900px,calc(100vw - 28px));height:calc(100dvh - 45px);padding:22px 18px 28px;border-radius:24px 24px 0 0}
.dj-history-sheet>header{margin-bottom:8px}.dj-history-sheet>header h2{font-size:18px;margin:4px 0}.dj-history-sheet>header small{font-size:9px}.dj-history-top-actions{gap:9px;top:0}.dj-history-top-actions button{font-size:10px;padding:8px 11px}.dj-history-top-actions #dj-history-close{width:26px;height:26px;font-size:19px}
#dj-history-content{max-width:800px}.dj-history-mode{margin-bottom:10px}.dj-history-mode .dj-segment{padding:2px}.dj-history-mode .dj-segment button{min-width:76px;padding:4px 10px;font-size:9px}
.dj-history-card{padding:12px;border-radius:20px}.dj-history-card>header{margin-bottom:11px;gap:10px}.dj-history-card h3{font-size:14px;margin-bottom:3px}.dj-history-card>header small{font-size:10px}.dj-history-actions{gap:8px}.dj-history-actions>button{font-size:9px;padding:4px 7px}.dj-history-actions>button[data-history-more]{width:27px;height:27px;font-size:18px}.dj-history-rating{width:27px;height:27px}
.dj-history-card>h4{font-size:11px;margin:13px 0 7px}.dj-history-empty{font-size:11px;margin-bottom:12px}.dj-history-fold{min-height:34px;padding:7px 10px;border-radius:12px;gap:9px}.dj-history-fold strong{font-size:11px}.dj-history-fold>span:first-child{font-size:16px}.dj-history-fold>span:last-child{font-size:14px}
.dj-history-plan{padding:12px;border-radius:15px}.dj-history-plan>header{margin-bottom:9px}.dj-history-plan>header strong{font-size:12px}.dj-history-plan>header button{font-size:10px}.dj-history-badges{gap:5px;margin-bottom:9px}.dj-history-badges>*{font-size:10px;padding:4px 9px}.dj-history-badges .dj-history-levels{font-family:var(--appearance-font,Manrope),Arial,sans-serif;font-weight:650}
.dj-history-facts p{font-size:11px;line-height:1.55;margin:3px 0}.dj-history-facts p>span{color:var(--muted)}.dj-history-block{margin:10px 0}.dj-history-block>small{font-size:9px;margin-bottom:5px}.dj-history-rich{font-size:12px;line-height:1.6}.dj-history-rich :is(p,ul,ol,blockquote){margin-bottom:5px}.dj-history-rich :is(h1,h2,h3){font-size:15px;margin:9px 0 6px}
.dj-history-images{margin:9px 0 11px;gap:8px}.dj-history-images img{max-width:min(360px,100%);max-height:190px;border-radius:8px}.dj-history-scenarios{margin-top:10px;gap:8px}.dj-history-scenarios>section{padding:9px;border-radius:13px}.dj-history-scenarios strong{font-size:11px}.dj-history-scenarios .dj-history-rich{font-size:11px;line-height:1.5}.dj-history-scenarios p{font-size:10px;margin-top:5px}.dj-history-checks{margin-top:11px}.dj-history-checks>label{font-size:10px;margin-bottom:6px}
.dj-history-trades{gap:5px;margin-bottom:12px}.dj-history-trades button{padding:8px 10px;border-radius:10px;gap:9px}.dj-history-trades strong{font-size:11px}.dj-history-trades span,.dj-history-trades small{font-size:10px}.dj-history-trades b{font-size:12px}.dj-history-card .dj-reviewed{margin-top:12px;padding:12px;border-radius:13px}.dj-history-notes{padding:11px;border-radius:12px}.dj-history-notes>button{font-size:10px;margin-bottom:5px}
/* Rounded, theme-aware ticks shared by preparation and historical checklists. */
.dj-checklist>label{gap:8px;padding:7px 9px;min-height:32px;border-radius:11px;font-size:11px;line-height:1.35}
.dj-checklist input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-items:center;box-sizing:border-box!important;width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px;padding:0!important;margin:0!important;border:1.5px solid color-mix(in srgb,var(--text) 35%,transparent)!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;cursor:pointer;vertical-align:middle}
.dj-checklist input[type=checkbox]:after{content:'';width:8px;height:5px;border-left:1.7px solid var(--panel);border-bottom:1.7px solid var(--panel);transform:translateY(-1px) rotate(-45deg);opacity:0}
.dj-checklist input[type=checkbox]:checked{background:var(--text)!important;border-color:var(--text)!important}
.dj-checklist input[type=checkbox]:checked:after{opacity:1}
.dj-checklist>label:has(>input:checked)>span{color:var(--muted);text-decoration:line-through;opacity:.8}
.dj-checklist input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:650px){.dj-review-sheet.dj-history-sheet{width:100%;height:calc(100dvh - 18px);padding:24px 10px 24px}.dj-history-card{padding:10px}.dj-history-plan{padding:10px}.dj-history-top-actions button{font-size:9px}.dj-history-images img{max-width:100%;max-height:180px}.dj-checklist>label{min-height:36px}}

/* List history has its own horizontal row, rather than a squeezed card grid. */
#app #content.daily-v2 .dj-day-grid[data-view=list]{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.dj-day-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;position:relative;border:0;border-radius:17px;background:linear-gradient(180deg,color-mix(in srgb,var(--text) 5%,transparent),transparent 45%),var(--panel);color:var(--text);overflow:hidden}
#app #content.daily-v2 .dj-day-grid[data-view=list] .dj-day-card.dj-day-list-open{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto 28px 12px;align-items:center;gap:10px;width:100%;min-width:0;min-height:57px!important;margin:0;padding:7px 9px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;translate:none;overflow:visible;text-align:left}
.dj-list-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:38px;height:40px;gap:2px;background:var(--bg);border-radius:9px;color:var(--text)}.dj-list-date>small{font-size:8px;letter-spacing:.5px;line-height:1.1;color:var(--muted)}.dj-list-date>strong{font-size:15px;line-height:1;font-weight:750}
.dj-list-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.dj-list-copy>strong{font-size:12px;font-weight:650;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}.dj-list-status{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:8px;line-height:1.25;letter-spacing:.1px}.dj-list-status .done{color:var(--text)}.dj-list-status :is(.missing,.dj-list-trade-count,.dj-list-session){color:var(--muted);opacity:.65}.dj-list-session{margin-left:3px}
#app #content.daily-v2 .dj-day-list-open>.dj-list-pnl{margin:0;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap;color:var(--text)}.dj-list-rating{display:block;width:28px;height:28px;color:var(--text)}.dj-list-rating svg{display:block;width:100%;height:100%}.dj-list-chevron{font-size:13px;color:var(--muted);text-align:center}
.dj-list-actions{display:flex;align-items:center;gap:9px;padding-right:9px}.dj-list-actions button{display:flex;align-items:center;justify-content:center;gap:4px;border:0!important;box-shadow:none!important;background:none;color:var(--muted);padding:4px;border-radius:6px;line-height:1;font-size:9px;min-height:22px;cursor:pointer}.dj-list-actions button[data-dj-list-tag]{background:var(--bg);color:var(--text);padding:4px 6px}.dj-list-actions svg{width:13px;height:13px;flex:none}.dj-list-actions button[data-dj-list-delete] svg{width:14px;height:14px}
@media(hover:hover){.dj-day-list-row:hover{background:linear-gradient(180deg,color-mix(in srgb,var(--text) 7%,transparent),transparent 55%),var(--panel)}.dj-list-actions button:hover{color:var(--text);filter:brightness(1.15)}}
@media(max-width:650px){.dj-day-list-row{grid-template-columns:minmax(0,1fr);border-radius:13px}#app #content.daily-v2 .dj-day-grid[data-view=list] .dj-day-card.dj-day-list-open{grid-template-columns:30px minmax(0,1fr) auto 23px;gap:7px;padding:7px 8px 21px!important;min-height:68px!important}.dj-list-date{width:30px;height:34px;border-radius:8px}.dj-list-date>small{font-size:7px}.dj-list-date>strong{font-size:14px}.dj-list-copy>strong{font-size:11px}.dj-list-status{font-size:7px;gap:3px;max-height:25px;overflow:hidden}.dj-list-session{display:none}#app #content.daily-v2 .dj-day-list-open>.dj-list-pnl{font-size:11px}.dj-list-rating{width:23px;height:23px}.dj-list-chevron{display:none}.dj-list-actions{position:absolute;right:8px;bottom:4px;padding:0;gap:5px}.dj-list-actions button{font-size:8px;min-height:18px;padding:2px}.dj-list-actions button[data-dj-list-tag]{padding:3px 5px}.dj-list-actions svg{width:11px;height:11px}}
/* Daily feedback retains its final pose after the spring settles. */
:root.daily-feedback-ready :is(#content.daily-v2,.dj-review-backdrop) :is(button,a[href],.dj-checklist input),:root.daily-feedback-ready .dj-day-list-row{transition:background-color 160ms,color 160ms,box-shadow 180ms,filter 160ms!important}
:root.daily-feedback-motion #app #content.daily-v2 [data-dj-feedback=hover],:root.daily-feedback-motion :is(#daily-feedback-modal,.dj-review-backdrop) [data-dj-feedback=hover]{scale:var(--dj-feedback-hover,1.02);translate:0 calc(-1px * var(--dj-feedback-lift,1))}
:root.daily-feedback-motion #app #content.daily-v2 [data-dj-feedback=pressed],:root.daily-feedback-motion :is(#daily-feedback-modal,.dj-review-backdrop) [data-dj-feedback=pressed]{scale:var(--dj-feedback-press,.96);translate:0 0}
:root.daily-feedback-ready #app #content.daily-v2 [data-dj-feedback=rest],:root.daily-feedback-ready :is(#daily-feedback-modal,.dj-review-backdrop) [data-dj-feedback=rest]{scale:1;translate:0 0}
:root.daily-feedback-ready #app #content.daily-v2 .dj-day-list-open{scale:1;translate:none}
:is(#content.daily-v2,.dj-review-backdrop) :is(input:not([type=checkbox]),textarea){transition:background-color 160ms,box-shadow 180ms!important}
:is(#content.daily-v2,.dj-review-backdrop) :is(input:not([type=checkbox]),textarea):focus{box-shadow:0 3px 12px color-mix(in srgb,var(--text) 10%,transparent)}
@media(hover:hover){
 :is(#content.daily-v2,.dj-review-backdrop) button:hover{filter:brightness(1.08)}
 :is(#content.daily-v2,.dj-review-backdrop) :is(input:not([type=checkbox]),textarea):hover{box-shadow:0 2px 9px color-mix(in srgb,var(--text) 7%,transparent)}
 .daily-v2 :is(.dj-sidebar-card,.dj-today),.dj-review-backdrop :is(.dj-history-plan,.dj-history-card){transition:box-shadow 200ms}
 .daily-v2 :is(.dj-sidebar-card,.dj-today):hover,.dj-review-backdrop :is(.dj-history-plan,.dj-history-card):hover{box-shadow:0 8px 24px color-mix(in srgb,var(--text) 7%,transparent)}
}
:root.settings-reduce-motion :is(#content.daily-v2,.dj-review-backdrop) [data-dj-feedback],:root[data-motion=reduced] :is(#content.daily-v2,.dj-review-backdrop) [data-dj-feedback]{scale:1!important;translate:none!important}
@media(prefers-reduced-motion:reduce){:root:not([data-motion=full]) :is(#content.daily-v2,.dj-review-backdrop) [data-dj-feedback]{scale:1!important;translate:none!important}}

/* A visible, soft halo for interactive past-day cards, using the active palette. */
#app #content.daily-v2 :is(.dj-day-card:not(.dj-day-list-open),.dj-day-list-row)[data-dj-feedback=hover]{z-index:2;box-shadow:0 15px 30px #00000030,0 0 28px color-mix(in srgb,var(--accent,var(--text)) 30%,transparent),0 0 10px color-mix(in srgb,var(--text) 12%,transparent)}
#app #content.daily-v2 :is(.dj-day-card:not(.dj-day-list-open),.dj-day-list-row)[data-dj-feedback=pressed]{z-index:2;box-shadow:0 6px 16px #00000024,0 0 18px color-mix(in srgb,var(--accent,var(--text)) 22%,transparent)}

/* Journaled dates use the theme foreground as a fill, with its surface as the ink. */
#app #content.daily-v2 .dj-calendar-grid button.is-journaled{background:var(--text)!important;color:var(--panel)!important}
#app #content.daily-v2 .dj-calendar-grid button.is-journaled b{color:inherit!important}
#app #content.daily-v2 .dj-calendar-grid button.is-journaled em{background:currentColor!important}
/* Primary plan action follows the active theme's contrasting text/surface pair. */
#app #content.daily-v2 #dj-plan-form .dj-save,.dj-review-sheet #dj-plan-form .dj-save{background:var(--text)!important;color:var(--bg)!important;border-color:transparent!important;box-shadow:0 3px 10px #0002}
#app #content.daily-v2 #dj-plan-form .dj-save:disabled,.dj-review-sheet #dj-plan-form .dj-save:disabled{opacity:.55;cursor:wait}

/* Compact removable tags: separate native buttons keep selection and removal independent. */
.dj-review-sheet .dj-review-tags .trade-tag-item{display:inline-flex;position:relative;max-width:100%;vertical-align:middle}
.dj-review-sheet .dj-review-tags .trade-tag-item>.tag-chip{padding-right:28px;max-width:100%;overflow-wrap:anywhere;text-align:left;min-width:0}
.dj-review-sheet .dj-review-tags button.trade-tag-remove{position:absolute;right:3px;top:0;bottom:0;margin:auto 0;width:20px;height:20px;min-height:20px;padding:0!important;display:grid;place-items:center;font-size:14px;line-height:1;border:0!important;border-radius:4px;background:transparent;color:#aeb6c2;box-shadow:none;z-index:2}
.dj-review-sheet .dj-review-tags button.trade-tag-remove:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.dj-review-sheet .dj-review-tags button:not(:disabled){transition:translate 420ms cubic-bezier(.2,.75,.25,1),scale 420ms cubic-bezier(.18,1.25,.3,1),box-shadow 420ms ease,background-color 220ms ease,border-color 220ms ease;transform:none;transform-origin:center}
@media(hover:hover) and (pointer:fine){
 :root .dj-review-sheet .dj-review-tags button:not(:disabled):hover{translate:0 -2px;scale:1.015;box-shadow:inset 0 1px 0 #ffffff30,inset 0 10px 16px -15px #dbe8ffa0,0 -4px 14px -6px #dbe8ff40,0 6px 16px #0003!important}
 .dj-review-sheet .dj-review-tags .trade-tag-item:hover>.tag-chip{translate:0 -2px;box-shadow:inset 0 1px 0 #ffffff30,inset 0 10px 16px -15px #dbe8ffa0,0 -4px 14px -6px #dbe8ff40,0 6px 16px #0003}
 .dj-review-sheet .dj-review-tags .trade-tag-item:hover>.trade-tag-remove{translate:0 -2px;color:#f0f3f8}
}
:root .dj-review-sheet .dj-review-tags button:not(:disabled):active{translate:0 0;scale:.97;transition-duration:100ms}
:root.settings-reduce-motion .dj-review-sheet .dj-review-tags button{transition:none!important;translate:none!important;scale:none!important}
@media(prefers-reduced-motion:reduce){:root:not([data-motion=full]) .dj-review-sheet .dj-review-tags button{transition:none!important;translate:none!important;scale:none!important}}

.dj-review-sheet .dj-review-tags .tag-add input[hidden]{display:none!important}
.dj-review-sheet .dj-review-tags .tag-add{margin-top:8px;margin-bottom:12px}
.dj-review-sheet .dj-review-tags .tag-add input{font-size:11px;min-width:0}
.dj-review-sheet .dj-review-tags .tag-add button{border:0;box-shadow:none;background:none;font-size:10px;padding:4px 0;color:var(--muted)}
