.journal{max-width:1320px;margin:40px auto;padding:0 24px}.journal-intro{max-width:800px;margin-bottom:32px}.journal h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.1;margin:18px 0}.journal h2{font-size:1.5rem}.journal-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}.journal .card{padding:28px;min-width:0}.journal label{display:block;margin:18px 0 8px;font-weight:600}.journal input,.journal select,.journal textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid #cdcfc6;border-radius:8px;background:#fffdf8;color:#253e39;font:inherit}.journal textarea{min-height:100px;resize:vertical}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.journal .hint{font-size:.88rem;line-height:1.6;font-weight:400}.journal-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.snapshot{border-top:1px solid #d4d7cc;margin-top:28px;padding-top:20px}.snapshot img{max-width:100%;max-height:420px;object-fit:contain;margin-top:16px}.snapshot [hidden]{display:none}.snapshot a{display:inline-block;margin:12px 0;color:inherit}.chart-frame{height:460px;margin-top:16px}.entries-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry{padding:20px 0;border-top:1px solid #d4d7cc;overflow-wrap:anywhere}.entry h3{font-size:1.1rem;margin:0 0 6px}.entry p{white-space:pre-wrap;margin:8px 0;line-height:1.6}.entry .entry-actions{display:flex;gap:20px}.entry small{color:#53675e}.journal button:disabled{opacity:.5;cursor:wait}#status{white-space:pre-wrap}header{gap:18px}header a{color:inherit}@media(max-width:850px){.journal-layout{grid-template-columns:1fr}.journal{padding:0 16px;margin:24px auto}.journal .card{padding:20px}}@media(max-width:440px){.field-pair{grid-template-columns:1fr;gap:0}.entries-heading{align-items:start;flex-direction:column}.chart-frame{height:400px}}

.symbol-options h3{font:600 .88rem/1.4 system-ui;margin:16px 0 8px}.symbol-chips{display:flex;flex-wrap:wrap;gap:8px}.symbol-chip{font:500 .8rem/1.4 system-ui;padding:8px 12px;border:1px solid #cbd1c7;border-radius:8px;background:#fffdf8;color:#253e39;min-height:36px}.symbol-chip[aria-pressed=true]{background:#253e39;color:#fffdf8;border-color:#253e39}.symbol-options [hidden]{display:none}.snapshot{margin:22px 0;padding:18px 0;border-bottom:1px solid #d4d7cc}.snapshot h3{margin-top:0}.chart-placeholder{padding:40px 20px;background:#f4f0e9;text-align:center;border-radius:8px}.snapshot details{margin:16px 0}.snapshot summary{cursor:pointer;font-size:.88rem}.chart-frame{overflow:hidden}.chart-frame a{font-size:12px;margin:0;padding:6px;line-height:20px}.journal .card{animation:none}.symbol-chip:focus-visible{outline:3px solid #496986;outline-offset:2px}
/* The embed writes height:100% inline; reserve an explicit chart area. */
#chart .chart-frame{height:460px!important}#chart .chart-frame iframe{height:calc(100% - 32px)!important}@media(max-width:440px){#chart .chart-frame{height:400px!important}}

.sync-panel{margin-bottom:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.sync-panel h2{margin:0}.sync-panel .journal-actions{margin-top:0}.sync-panel details{margin-top:18px}.sync-panel [hidden]{display:none}.sync-panel a{color:inherit}.entry-sync{font-size:.8rem;color:#665b42}.sync-panel button{white-space:normal}@media(max-width:850px){.sync-panel{grid-template-columns:1fr;gap:10px}}
.journal header{flex-wrap:wrap}.language-picker{max-width:150px;margin-inline-start:auto;padding:8px;border:1px solid #cdcfc6;background:transparent;border-radius:8px}html[dir=rtl] .journal,html[dir=rtl] .privacy-page{text-align:right}.user-note{unicode-bidi:plaintext}

#guest-panel[hidden],#account-controls[hidden],#account-avatar[hidden],#capture-help[hidden]{display:none}.sync-panel{display:flex;align-items:center;justify-content:space-between;gap:32px;background:#e9eee5}.sync-panel h2{margin:10px 0}.sync-panel p{max-width:620px}.sync-panel>.primary{flex-shrink:0}.journal-intro>.hint{display:none}.account-menu{position:relative;margin-inline-start:auto}.account-menu>summary{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#304e46;color:white;cursor:pointer;list-style:none;overflow:hidden}.account-menu>summary::-webkit-details-marker{display:none}.account-menu img{position:absolute;inset:0;width:42px;height:42px;object-fit:cover}.account-dropdown{position:absolute;inset-inline-end:0;top:54px;z-index:20;width:290px;padding:20px;border:1px solid #d4d7cc;border-radius:14px;box-shadow:0 12px 35px #253e3920;background:#fffdf8;display:grid;gap:10px}.account-dropdown p{overflow-wrap:anywhere;margin:0 0 8px}.account-dropdown button,.account-dropdown a{text-align:start;white-space:normal}.account-dropdown a{font-size:.88rem}.account-dropdown>details{border-top:1px solid #ddd;padding-top:12px}.capture-button{display:inline-flex;align-items:center;gap:8px;margin-top:14px}.sync-line{margin:0 0 20px}.journal header{flex-wrap:wrap}body>header{gap:20px;flex-wrap:wrap}@media(max-width:650px){.sync-panel{align-items:start;flex-direction:column;gap:10px}.account-dropdown{width:min(290px,85vw)}}
body>header>.language-picker{order:2;margin-inline-start:auto}body>header>.account-menu{order:3;margin:0;padding:0;border:0}.account-menu>summary{padding:0}.account-dropdown .text-button{padding:8px 0;text-decoration:none}.account-dropdown .text-button:hover{background:#f0f2eb}.account-dropdown{text-align:start}

/* Entry editor and chart sidebar */
.journal-layout{grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);gap:24px;align-items:start}
.chart-sidebar{position:sticky;top:20px}
.chart-sidebar .snapshot{border:0;margin:0;padding:0}
.chart-sidebar .snapshot h2{margin:0 0 8px}
.chart-symbol{font:600 .85rem/1.4 system-ui;color:#53675e;margin:0 0 12px}
.chart-frame{height:390px;margin:0;border-radius:10px;overflow:hidden}
#chart .chart-frame{height:390px!important}
#chart .chart-frame iframe{height:calc(100% - 32px)!important}
.chart-placeholder{margin:0;min-height:330px;display:grid;place-items:center}
.capture-button{width:100%;min-height:50px;justify-content:center;margin:16px 0 0;font-weight:650}
.capture-button svg[hidden]{display:none}
.capture-button.remove-snapshot{background:#f2eee7;color:#253e39;border:1px solid #cdcfc6}
.snapshot img{display:block;width:100%;max-height:390px;object-fit:contain;margin:12px 0 0;border-radius:10px;background:#f4f0e9}
.attach-image{margin:14px 0 0!important}
.symbol-options{border-top:1px solid #d4d7cc;margin-top:24px;padding-top:16px}
.symbol-options h3{font-size:.95rem;margin:0 0 10px}
.symbol-options #recent-symbols-group{margin-top:18px}
#history{margin-top:28px;scroll-margin-top:24px}
body>header>.account-menu{margin-inline-start:0}
.account-menu>summary{position:relative;box-sizing:border-box;width:46px;height:46px;min-width:46px;min-height:46px;padding:0!important;border:2px solid #fffdf8;border-radius:50%!important;overflow:hidden;aspect-ratio:1}
.account-menu>summary span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;font-weight:700}
.account-menu>summary img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.account-dropdown{width:190px;padding:12px;gap:4px}
.account-dropdown p,.account-dropdown [hidden],.account-dropdown details{display:none!important}
#account-controls #sync-now,#account-controls #copy-local{display:none!important}
.account-dropdown a,.account-dropdown button{padding:10px 8px;border-radius:8px;text-decoration:none}
.account-dropdown a:hover,.account-dropdown button:hover{background:#f0f2eb}
.sync-line[hidden]{display:none}
.choice-group{border:0;padding:0;margin:20px 0 24px;min-width:0}
.choice-group legend{font-weight:650;margin-bottom:10px}
.journal .choice-row{display:flex;align-items:center;gap:12px;margin:8px 0;padding:10px 12px;border:1px solid #d5d8ce;border-radius:9px;background:#fffdf8;cursor:pointer;font-weight:500}
.journal .choice-row:has(input:checked){border-color:#304e46;background:#e9eee5}
.choice-row input{appearance:none;width:18px;height:18px;flex:0 0 18px;margin:0;border:1.5px solid #7d8980;border-radius:50%;background:#fff}
.choice-row input:checked{border:5px solid #304e46}
.choice-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#f0f2eb;color:#304e46;font-size:1.1rem;font-weight:700}
.journal-actions{margin-top:24px}
#save-entry{min-width:150px}
@media(max-width:850px){.journal-layout{grid-template-columns:1fr}.chart-sidebar{position:static;grid-row:auto}.journal-layout .editor{grid-row:auto}.chart-frame,#chart .chart-frame{height:360px!important}.chart-placeholder{min-height:300px}}
@media(max-width:520px){.journal{padding:0 14px}.journal .card{padding:18px}.chart-frame,#chart .chart-frame{height:330px!important}.chart-placeholder{min-height:260px}.account-menu{margin-inline-start:0!important}}

/* Radio choices styled as single-select button rows. */
.choice-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.choice-group legend{grid-column:1/-1;margin:0 0 2px;padding:0}
.choice-group.outcome-options{grid-template-columns:repeat(5,minmax(0,1fr))}
.journal .choice-row{position:relative;display:flex;min-width:0;min-height:46px;align-items:center;justify-content:center;gap:7px;margin:0;padding:8px 7px;text-align:center;border-radius:9px;line-height:1.25}
.choice-row input{position:absolute;width:1px;height:1px;min-width:1px;padding:0;margin:0;opacity:0;pointer-events:none}
.journal .choice-row:has(input:checked){border-color:#304e46;background:#304e46;color:#fffdf8}
.choice-row:has(input:checked) .choice-icon{background:#fffdf8;color:#304e46}
.choice-row:has(input:focus-visible){outline:3px solid #496986;outline-offset:2px}
.choice-icon{flex:0 0 26px}
@media(max-width:520px){.choice-group{gap:6px}.journal .choice-row{flex-direction:column;gap:4px;padding:7px 3px;font-size:.8rem}.choice-group.outcome-options .choice-row{font-size:.68rem;overflow-wrap:anywhere}.choice-icon{width:23px;height:23px;flex-basis:23px}}

#history{margin:40px 0 56px;padding:0;max-width:none;width:100%}
#history .entries-heading{align-items:end;margin-bottom:8px}
#history .entries-heading .eyebrow{display:block;margin:0 0 8px}
#history .entries-heading h2{margin:0 0 8px;font-size:clamp(2rem,4vw,2.8rem)}
#history>label{max-width:480px;margin:18px 0 24px}
#entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.entry-card{min-width:0;overflow:hidden;background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 18px #3035410a}
.entry-cover{position:relative;aspect-ratio:16/8;overflow:hidden;background:#e8e1d7}
.entry-cover-image{display:block;width:100%;height:100%;object-fit:cover}
.entry-cover--default{background:linear-gradient(135deg,#e8e0d4,#c6d0d0 58%,#a9bbb7)}
.entry-cover--default svg{position:absolute;inset:0;width:100%;height:100%;opacity:.88}
.cover-grid{fill:none;stroke:#fffdf8;stroke-opacity:.38;stroke-width:1}
.cover-line{fill:none;stroke:#a54e34;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.cover-candles{fill:none;stroke:#36574e;stroke-width:7;stroke-linecap:round}
.entry-cover-symbol{position:absolute;inset-inline-start:18px;bottom:14px;color:#fffdf8;font:600 1.5rem/1.2 system-ui;text-shadow:0 1px 8px #253e3977}
.entry-card-body{padding:18px 20px 16px}
.entry-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.entry-identity{display:flex;align-items:center;gap:10px;min-width:0}
.entry-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#e9eee5;color:#304e46;font-weight:700}
.entry-identity h3{margin:0;font-size:1.08rem;overflow-wrap:anywhere}
.entry-identity small{color:var(--muted);font-size:.77rem}
.entry-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.entry-tag{padding:4px 9px;border-radius:999px;background:#f1eee8;color:#4e5554;font:600 .7rem/1.4 system-ui;white-space:nowrap}
.entry-tag--outcome{background:#e9eee5;color:#304e46}
.entry-sync{display:block;margin:0 0 10px}
.entry-note{padding:12px 0 0;border-top:1px solid #ece8e0;margin-top:12px}
.entry-note strong{font-size:.78rem;color:#766251}
.entry-note p{margin:4px 0 0;color:var(--ink);line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.entry-actions{display:flex;gap:16px;padding-top:12px;margin-top:14px;border-top:1px solid #ece8e0}
.entry-card-action{padding:7px 0;min-height:38px}
.history-empty{grid-column:1/-1;padding:24px;border:1px dashed var(--line);border-radius:14px;background:#fffdf899}
footer{width:calc(100% - 48px);max-width:1224px;margin:0 auto;padding:22px 12px;display:flex;justify-content:space-between;align-items:center;gap:24px}footer>span{flex:0 0 auto}footer .footer-links{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:8px 22px;flex-wrap:wrap}footer .footer-links>*{white-space:nowrap}
@media(max-width:700px){#entries{grid-template-columns:1fr;gap:16px}#history{margin-top:28px;padding:0 2px}.entry-card-body{padding:16px}.entry-card-head{flex-wrap:wrap}footer{width:calc(100% - 32px);align-items:flex-start;gap:12px;flex-direction:column}footer .footer-links{justify-content:flex-start;gap:4px 16px}}
.journal .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}
.journal .chart-symbol-picker{margin:14px 0 12px}
.journal .chart-symbol-picker input{margin-top:6px}
.save-spinner{display:block;width:19px;height:19px;border:2px solid #ffffff80;border-top-color:#fff;border-radius:50%;animation:journal-spin .72s linear infinite}
#save-entry[aria-busy=true]{cursor:wait;min-width:150px}
@keyframes journal-spin{to{transform:rotate(360deg)}}
.chart-attribution{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}
.chart-attribution .expand-chart-button{min-height:30px;padding:4px 8px;border-radius:7px;font-size:.72rem;text-decoration:none;white-space:nowrap}
.chart-dialog{width:96vw;height:94vh;height:94dvh;max-width:none;max-height:none;padding:16px;border-radius:16px;display:none;flex-direction:column;gap:12px;overflow:hidden}
.chart-dialog[open]{display:flex}
.chart-dialog::backdrop{background:#202a2ac9}
.chart-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto}
.chart-dialog-header h2{font-size:1.4rem;letter-spacing:-.4px;margin:0}
.chart-dialog-header .secondary{min-height:40px;padding:7px 14px}
#expanded-chart-host{flex:1;min-height:0;overflow:hidden}
#expanded-chart-host .chart-frame{height:100%!important;max-height:none;margin:0;overflow:hidden}
#expanded-chart-host .tradingview-widget-container__widget{height:calc(100% - 30px)!important}
#expanded-chart-host .chart-frame iframe{height:calc(100% - 30px)!important}
@media(max-width:600px){.chart-dialog{width:100vw;height:100vh;height:100dvh;padding:10px;border-radius:0}.chart-dialog-header h2{font-size:1.2rem}.chart-attribution .expand-chart-button{font-size:.68rem;padding:3px 6px}}
.chart-attribution{width:100%}
.chart-attribution .expand-chart-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:30px;margin-inline-start:auto;padding:0;border:0;border-radius:7px;background:transparent;color:#253e39;cursor:pointer}
.chart-attribution .expand-chart-button:hover{background:#f0f2eb}
.chart-attribution .expand-chart-button:focus-visible{outline:3px solid #496986;outline-offset:2px}
.chart-dialog{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;gap:0!important}
.chart-dialog[open]{display:flex!important}
.chart-dialog-header{position:relative;z-index:10;flex:0 0 44px;width:100%;height:44px;justify-content:flex-end;padding:6px 12px;background:#fffdf8}
.chart-close{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#303541;font:400 25px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.chart-close:hover{background:#f0f2eb}
.chart-close:focus-visible{outline:2px solid #496986;outline-offset:1px}
#expanded-chart-host{flex:1 1 auto;width:100%;height:calc(100% - 44px);min-height:0}
#expanded-chart-host .chart-frame{height:100%!important;max-height:none!important}
#expanded-chart-host .chart-attribution{display:none}
#expanded-chart-host .tradingview-widget-container__widget,#expanded-chart-host .chart-frame iframe{height:100%!important}
.chart-dialog:not([hidden]){display:block!important;position:fixed!important;inset:0!important;z-index:1000!important;width:100vw!important;height:100vh!important;height:100dvh!important;background:#202a2ac9!important;padding:0!important;margin:0!important;border:0!important;pointer-events:auto}
.chart-frame-expanded{position:fixed!important;inset:44px 0 0!important;z-index:1001!important;width:100vw!important;height:calc(100vh - 44px)!important;height:calc(100dvh - 44px)!important;max-height:none!important;margin:0!important;border-radius:0!important;overflow:hidden!important}
.chart-frame-expanded .chart-attribution{display:none!important}
.chart-frame-expanded .tradingview-widget-container__widget,.chart-frame-expanded iframe{height:100%!important}
.chart-close{position:fixed!important;top:5px!important;right:8px!important;z-index:1002!important;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;background:#fffdf8;color:#303541;font:400 25px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.chart-close:hover{background:#f0f2eb}
.chart-close:focus-visible{outline:2px solid #496986;outline-offset:1px}
body.chart-expanded{overflow:hidden}
.journal-layout{grid-template-columns:minmax(0,1fr);gap:18px}
.journal-layout .chart-sidebar{grid-row:1;position:static;width:100%;min-width:0}
.journal-layout .editor{grid-row:2;width:100%;min-width:0}
.chart-sidebar .snapshot{margin:0;padding:0;border:0}
#chart .chart-frame{height:clamp(400px,40vw,590px)!important}
.chart-sidebar .symbol-options{margin-top:22px}
@media(max-width:850px){.journal-layout{grid-template-columns:minmax(0,1fr);gap:16px}.chart-sidebar,#chart .chart-frame{width:100%}#chart .chart-frame{height:clamp(320px,72vw,480px)!important}}
.chart-frame-expanded{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0!important;background:#fffdf8!important;overflow:hidden!important}
.chart-frame-expanded:fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important}
.chart-frame-expanded .chart-attribution{display:none!important}
.chart-frame-expanded .tradingview-widget-container__widget,.chart-frame-expanded iframe{height:100%!important}
.chart-frame-expanded .chart-close{position:absolute!important;top:8px!important;right:10px!important;z-index:2147483001!important}
body.chart-expanded{overflow:hidden}
.chart-frame{position:relative}
#chart-capture-region{position:absolute;z-index:5;top:44px;left:44px;right:0;bottom:30px;pointer-events:none;background:transparent}
.chart-frame-expanded{inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important}
.chart-expanded-bar{position:absolute;z-index:2147483001;top:0;left:0;right:0;height:44px;display:flex;align-items:center;justify-content:flex-end;padding:0 10px;background:#263934}
.chart-expanded-bar .chart-close{position:static!important;display:grid;place-items:center;z-index:auto!important;width:32px;height:32px;min-height:32px;border:0;border-radius:50%;background:#fffdf8;color:#263934;font:400 24px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.chart-expanded-bar .chart-close:hover{background:#e9eee5}
.chart-frame-expanded .tradingview-widget-container__widget{position:absolute!important;top:44px!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:auto!important}
.chart-frame-expanded #chart-capture-region{top:88px;left:44px;right:0;bottom:0}
#snapshot-preview{display:block;width:100%;height:clamp(400px,40vw,590px);max-height:none!important;margin:0!important;object-fit:contain;border-radius:10px;background:#fffdf8}
#snapshot-preview[hidden]{display:none!important}
.chart-sidebar .snapshot{border:0!important}
.chart-sidebar .symbol-options{border-top:0;margin-top:18px;padding-top:0}
@media(max-width:850px){#snapshot-preview{height:clamp(320px,72vw,480px)}}
#snapshot-preview{width:100%!important;min-width:100%!important;object-fit:fill!important}
.journal .choice-row:has(input[name="direction"][value="Long"]:checked){background:#089981;border-color:#089981;color:#fff}
.journal .choice-row:has(input[name="direction"][value="Short"]:checked){background:#f23645;border-color:#f23645;color:#fff}
.journal .choice-row:has(input[name="direction"][value="No trade"]:checked){background:#eceff1;border-color:#cfd5d9;color:#39434a}
.journal .choice-row:has(input[name="outcome"]:checked){background:#eceff1;border-color:#d5d9dc;color:#3e484d}
.choice-row:has(input[name="direction"][value="Long"]:checked) .choice-icon,.choice-row:has(input[name="direction"][value="Short"]:checked) .choice-icon{background:#ffffff33;color:#fff}
.choice-row:has(input[name="outcome"]:checked) .choice-icon,.choice-row:has(input[name="direction"][value="No trade"]:checked) .choice-icon{background:#fff;color:#3e484d}
.entry-tag{display:inline-flex;align-items:center;gap:5px;background:#eef0f2;color:#515b60}
.entry-tag--direction-long{background:#e4f4ef;color:#087c69}
.entry-tag--direction-short{background:#fcebed;color:#cc3040}
.entry-tag--direction-no-trade{background:#eef0f2;color:#515b60}
.entry-tag--outcome{background:#eef0f2;color:#515b60}
.entry-tag-icon{font-size:.78rem;line-height:1}
#snapshot-preview{display:block!important;width:100%!important;max-width:none!important;min-width:100%!important;height:clamp(400px,40vw,590px)!important;max-height:none!important;margin:0!important;object-fit:fill!important;object-position:center!important}
@media(max-width:850px){#snapshot-preview{height:clamp(320px,72vw,480px)!important}}
.capture-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;flex:0 0 19px}
.remove-x-icon{display:inline-block;font:500 22px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#chart,#chart .chart-frame,#chart .tradingview-widget-container__widget,#chart .chart-frame iframe{width:100%!important;max-width:none!important}
.chart-frame-expanded .tradingview-widget-container__widget,.chart-frame-expanded iframe{width:100%!important;max-width:none!important}

#chart .chart-frame,#chart .tradingview-widget-container__widget{width:100%!important;min-width:0!important}
#chart .tradingview-widget-container__widget iframe{display:block!important;width:100%!important;min-width:0!important;max-width:none!important}

.entry-card-summary{display:grid;grid-template-columns:minmax(112px,34%) minmax(0,1fr);align-items:stretch;width:100%;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:start;cursor:pointer}.entry-card-summary:focus-visible{outline:3px solid #496986;outline-offset:-3px}.entry-card-summary .entry-cover{height:100%;min-height:116px;aspect-ratio:auto;border-radius:0}.entry-card-summary-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:14px 16px}.entry-card-summary-copy .entry-card-head{align-items:center;gap:8px;margin:0}.entry-card-summary-copy .entry-avatar{flex-basis:34px;width:34px;height:34px}.entry-card-summary-copy .entry-identity h3{font-size:.98rem}.entry-card-summary-copy .entry-tags{gap:4px}.entry-card-summary-copy .entry-tag{padding:3px 7px}.entry-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:8px 0 4px;color:var(--muted);font-size:.86rem;line-height:1.4;overflow-wrap:anywhere}.entry-card-prompt{align-self:flex-start;color:#53675e;font-size:.78rem;font-weight:600}.entry-card-details{padding:0 18px 16px;border-top:1px solid #ece8e0}.entry-card-details[hidden]{display:none!important}.entry-card.is-expanded{grid-column:1/-1}.entry-card.is-expanded .entry-card-summary{grid-template-columns:minmax(0,1fr)}.entry-card.is-expanded .entry-card-summary .entry-cover{aspect-ratio:16/7;height:auto;min-height:0}.entry-card.is-expanded .entry-card-summary-copy{padding:16px 20px}.entry-card.is-expanded .entry-excerpt{-webkit-line-clamp:3}.entry-card-details .entry-actions{padding-top:10px;margin-top:12px}
@media(max-width:520px){.entry-card-summary{grid-template-columns:104px minmax(0,1fr)}.entry-card-summary .entry-cover{min-height:112px}.entry-card-summary-copy{padding:12px}.entry-card-summary-copy .entry-card-head{align-items:flex-start;flex-direction:column}.entry-card-summary-copy .entry-tags{justify-content:flex-start}.entry-card.is-expanded .entry-card-summary{grid-template-columns:minmax(0,1fr)}}

main.journal.journal-entry-open> :not(#entry-detail){display:none!important}.entry-detail{width:100%;max-width:1120px;margin:0 auto 56px}.entry-detail[hidden]{display:none!important}.entry-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.entry-back{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);font:500 .9rem/1.2 inherit}.entry-detail-toolbar-actions{display:flex;align-items:center;gap:8px}.entry-icon-action{display:grid;place-items:center;width:42px;height:42px;padding:9px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink)}.entry-icon-action:hover,.entry-back:hover{background:#eee8df}.entry-icon-action svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.entry-icon-action[aria-label="Delete"]{color:#a33c35}.entry-detail-card{overflow:hidden;background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 18px #3035410a;padding:0 28px 26px}.entry-detail-cover{height:auto;aspect-ratio:16/7;margin:0 -28px 22px}.entry-detail-cover .entry-cover-image{object-fit:contain;background:#fffdf8}.entry-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid #ece8e0}.entry-detail-heading .entry-identity{gap:12px}.entry-detail-heading .entry-avatar{width:46px;height:46px;flex-basis:46px}.entry-detail-heading h1{font-size:clamp(1.7rem,4vw,2.25rem);margin:0 0 3px;overflow-wrap:anywhere}.entry-detail-heading small{font-size:.82rem;color:var(--muted)}.entry-detail-heading .entry-tags{justify-content:flex-end}.entry-detail-card .entry-note{padding:18px 0 0;margin-top:18px}.entry-detail-card .entry-note h2{margin:0 0 7px;font:600 .86rem/1.4 system-ui;color:#766251;letter-spacing:0}.entry-detail-card .entry-note p{font-size:1rem;line-height:1.7}.entry-detail-card .entry-sync{margin:14px 0;color:var(--muted)}.entry-detail-card>.hint{padding-top:18px}
@media(max-width:700px){.entry-detail{width:calc(100% - 32px)}.entry-detail-card{padding:0 18px 20px}.entry-detail-cover{margin:0 -18px 18px;aspect-ratio:4/3}.entry-detail-heading{align-items:flex-start;flex-direction:column}.entry-detail-heading .entry-tags{justify-content:flex-start}.entry-detail-toolbar{margin-bottom:12px}}
