/* Journal workspaces share the neutral light surfaces and OptionsOpp blue. */
.journal-page[data-workspace=trades] .journal-toolbar,.journal-page[data-workspace=notebook] .journal-toolbar,.journal-page[data-workspace=reports] .journal-toolbar,.journal-page[data-workspace=strategies] .journal-toolbar,.journal-page[data-workspace=progress] .journal-toolbar{position:relative;top:auto;border-bottom:0;min-height:78px;padding:17px 16px}
.journal-page:is([data-workspace=trades],[data-workspace=notebook],[data-workspace=reports],[data-workspace=strategies],[data-workspace=progress]) .tracking-label{font-size:14px;color:#086aff;margin-bottom:6px}
.journal-page:is([data-workspace=trades],[data-workspace=notebook],[data-workspace=reports],[data-workspace=strategies],[data-workspace=progress]) .journal-toolbar h1{font-size:24px;font-weight:500}
.journal-page[data-workspace=notebook] .journal-filters>:not(#account-menu-trigger),.journal-page[data-workspace=strategies] #unit-menu-trigger,.journal-page[data-workspace=progress] #unit-menu-trigger,.journal-page[data-workspace=strategies] #filter-menu-trigger,.journal-page[data-workspace=progress] #filter-menu-trigger{display:none}
.journal-page:is([data-workspace=trades],[data-workspace=notebook],[data-workspace=reports],[data-workspace=strategies],[data-workspace=progress]) .journal-content{padding:0 16px 40px}
.journal-page[data-workspace=reports] .journal-content,.journal-page[data-workspace=strategies] .journal-content{padding-inline:0}
.journal-page[data-workspace=settings] .journal-content{padding:0 0 72px}
.journal-page[data-workspace=day] .journal-content{padding:0}
.ws-tabs{display:flex;align-items:center;gap:16px;border-bottom:1px solid #e7e7eb;background:white;padding:0 12px;overflow:auto;white-space:nowrap}
.ws-tabs button{display:flex;align-items:center;gap:5px;background:none;color:#888;padding:14px 5px 12px;border-bottom:3px solid transparent;font-size:14px;letter-spacing:.2px}
.ws-tabs button.selected{color:#086aff;border-color:#086aff}.ws-tabs small{font-size:10px;padding:2px 6px;color:#243247;background:#e5eaf3;border-radius:3px}
.ws-icon{width:34px;height:34px;display:inline-grid;place-items:center;background:none;border-radius:7px;color:#667784;flex:none;font-size:21px}.ws-icon:hover{background:#edf2fa}.ws-icon svg,.ws-search svg,.ws-day-actions svg{width:18px;height:18px;flex:none}
.ws-text{background:none;color:#086aff;font-size:14px;padding:6px 0}.ws-caption{color:#7d8086;font-size:12px;line-height:1.5}.ws-segment{display:inline-flex;padding:4px;background:#eeeef1;border-radius:12px;gap:2px}.ws-segment button{padding:8px 16px;border-radius:8px;background:none;color:#555;font-size:14px}.ws-segment button[aria-pressed=true]{background:#fff;color:#222;box-shadow:0 1px 3px #0002}.ws-tracking .ws-segment{background:#ecf1fa}.ws-tracking .ws-segment button[aria-pressed=true]{background:#dae5f8;box-shadow:none}
.ws-empty{min-height:470px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;color:#777;padding:32px}.ws-empty>svg{width:80px;height:80px;stroke-width:1.2;color:#95999f}.ws-empty h2{font-size:30px;line-height:1.3;margin:0;font-weight:600;color:#777}.ws-empty p{font-size:20px;line-height:1.5;margin:0;max-width:510px}.ws-empty .primary-button{font-size:14px}
/* Trades: title actions and filter controls each occupy their own flexible row. */
.journal-page[data-workspace=trades] .journal-toolbar{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;top:auto}
.ws-trade-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto}
.ws-trade-actions .subtle-button,.ws-trade-actions .small-primary{min-height:34px;padding:6px 12px;font-size:14px;white-space:nowrap}
.ws-tracking{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 40px;min-height:40px;color:#086aff;font-size:14px}
.ws-tracking-modes{display:flex;align-items:center;gap:16px}
.ws-tracking .ws-segment{padding:3px;border-radius:8px}
.ws-tracking .ws-segment button{padding:8px 14px;border-radius:5px}
.ws-trade-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}
.journal-page .ws-trade-filters .journal-filters{width:auto;display:flex;align-items:center;flex-wrap:wrap}
.ws-calendar-toggle{border:1px solid #dedfe3;background:white;width:33px;height:34px}
.ws-trades-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:30px;padding:0 6px}
.ws-trades-layout>div{min-width:0}
.ws-trades-layout.no-calendar{grid-template-columns:1fr}
.ws-day-card{background:#fff;border-radius:12px;margin-bottom:14px;min-height:114px}
.ws-day-card summary{padding:15px 12px 15px 22px;cursor:pointer;font-size:14px;min-height:62px;list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.ws-day-card summary::-webkit-details-marker{display:none}
.ws-day-card summary:before{content:'›';color:#aaa;font-size:24px;line-height:1}
.ws-day-card[open] summary:before{transform:rotate(90deg)}
.ws-day-card summary>span:first-of-type{font-weight:500;white-space:nowrap}
.ws-day-card summary i{color:#eee;font-style:normal}
.ws-day-card summary strong{font-weight:500;white-space:nowrap}
.ws-day-actions{display:flex;gap:10px;margin-left:auto}
.ws-day-actions .subtle-button{min-height:32px;padding:6px 12px;font-size:13px;white-space:nowrap}
.ws-no-trades{color:#747474;font-size:14px;text-align:center;margin:12px 0 0;padding:5px 20px 24px}
.ws-day-card .data-table-wrap{padding:0 20px 18px}
.ws-mini-calendar{padding:6px 0}
.ws-mini-calendar header{display:flex;justify-content:space-between;align-items:center;color:#646464}
.ws-mini-calendar strong{font-size:16px;font-weight:500}
.ws-month-grid{display:grid;grid-template-columns:repeat(7,1fr);margin-top:10px;gap:2px;text-align:center}
.ws-month-grid>span{font-size:13px;color:#8b8b8b;padding:8px 0}
.ws-month-grid button{background:none;color:#717171;border-radius:7px;height:30px;font-size:12px}
.ws-month-grid button.today{font-weight:700;color:#222}
.ws-month-grid button.selected{background:#e5efff;color:#086aff}
.ws-month-grid button:hover{background:#f0f3f8}
/* Notebook folder tree and reading pane. */
.ws-notebook{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100dvh - var(--header) - 128px);gap:16px;margin-left:-4px}
.ws-note-nav{background:#f5f5f6;border-radius:12px 12px 0 0;padding:12px;border-bottom:1px solid #ededee}
.ws-note-nav>header{display:flex;align-items:center;margin-bottom:10px}
.ws-note-search-row{display:flex;gap:8px;margin-bottom:14px}
.ws-search{display:flex;align-items:center;gap:8px;padding:7px 10px;background:white;border:1px solid #dddfe3;border-radius:8px;color:#969ba4;flex:1;min-width:0}
.ws-search input{border:0!important;padding:0!important;width:100%;background:none!important;min-width:0;outline:none;font-size:14px}
.ws-search:focus-within{outline:2px solid #086aff}
.ws-note-filter{width:32px;height:33px;border:1px solid #c9cbd0;background:white;border-radius:8px;color:#777}
.ws-note-filter[aria-pressed=true]{background:#e5efff;color:#086aff;border-color:#94baff}
.ws-note-nav nav{display:grid;gap:2px}
.ws-note-folder-row{display:flex;align-items:center;gap:2px}
.ws-note-folder-row>button:first-child{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:42px;padding:9px 12px;text-align:left;background:none;border-radius:7px;color:#28363d;font-size:14px}
.ws-note-folder-row>button:first-child>span{overflow-wrap:anywhere}
.ws-note-folder-row svg{width:17px;height:17px;flex:none}
.ws-note-folder-row small{margin-left:auto;font-size:12px}
.ws-note-nav button:hover{background:#edf0f5}
.ws-note-nav button.selected{background:#e8edf5;color:#086aff}
.ws-note-folder-row .ws-folder-add{width:28px;height:30px;font-size:20px}
.ws-note-folder-divider{border-top:1px solid #e9e9eb;margin-top:8px;padding-top:8px}
.ws-add-folder{display:block;margin:8px 12px;color:#777}
.ws-note-list{display:grid;margin:0 0 8px 27px;gap:2px}
.ws-note-list button{background:none;padding:7px 9px;text-align:left;border-radius:6px;display:grid;gap:3px;color:#222}
.ws-note-list strong{font-size:14px;font-weight:400;overflow-wrap:anywhere}
.ws-note-list small,.ws-note-no-results{font-size:12px;color:#777}
.ws-note-no-results{padding:0 12px}
.ws-note-content{padding:16px;min-width:0}
.ws-note-content>.ws-empty{height:100%;min-height:450px;padding:0 20px;gap:4px}
.ws-note-content .ws-empty>.ws-note-illustration{width:100px;height:110px;flex:none}
.ws-note-content .ws-empty h2{font-size:14px;font-weight:400;color:#666}
.ws-note-content>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ececec;gap:16px}
.ws-note-content h2{font-size:22px;font-weight:500;overflow-wrap:anywhere}
.ws-note-content>header>div{display:flex;gap:12px;align-items:center}
.ws-note-content textarea{width:100%;min-height:440px;resize:vertical;border:0;background:transparent;padding:22px 0;color:#333;font-size:var(--notebook-body,14px);line-height:1.7;outline:none}
.ws-note-content textarea:focus-visible{outline:2px solid #dbe7fb;outline-offset:5px}
.ws-daily-note{padding:22px 0;line-height:1.7;overflow-wrap:anywhere}
.ws-notebook.collapsed{grid-template-columns:54px minmax(0,1fr)}
.ws-notebook.collapsed .ws-note-navigation{display:none}
.ws-notebook.collapsed .ws-note-nav{padding:10px}
/* Report navigation keeps the guide aligned with its tabs. */
.ws-report-navigation{display:flex;align-items:center;border-bottom:1px solid #e7e7eb;background:#fff;gap:12px;padding-right:20px}
.ws-report-navigation .ws-tabs{flex:1;min-width:0;border-bottom:0;gap:18px}
.ws-report-guide{display:flex;align-items:center;gap:7px;color:#666;white-space:nowrap;flex:none}
.ws-report-guide svg{width:17px;height:17px}
.ws-report-navigation .ws-tabs button{font-weight:500;color:#999}
.ws-report-navigation .ws-tabs button.selected{color:#086aff}
.ws-report-body.is-empty{padding:0 22px;display:grid;place-items:center;min-height:calc(100dvh - var(--header) - 180px)}
.ws-report-body.is-empty>.ws-empty{min-height:0;padding:40px 20px 95px;gap:20px}
.ws-report-body .ws-empty>.ws-report-illustration{width:76px;height:76px;color:#808080}
.ws-report-tools{display:flex;justify-content:flex-end;padding:12px 22px;gap:16px;align-items:center}.ws-report-tools label{margin-right:auto;font-size:14px;color:#777;display:flex;gap:12px;align-items:center}.ws-report-tools select{border:1px solid #ddd;border-radius:7px;padding:7px;background:white}.ws-report-body{padding:8px 22px 30px}.ws-report-body .ws-empty p{font-size:24px;font-weight:300;line-height:1.2}.ws-report-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ws-report-stats article{padding:24px;background:white;border-radius:12px;display:grid;gap:20px}.ws-report-stats span{font-size:14px;color:#777}.ws-report-stats strong{font-size:25px}.ws-report-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.ws-report-cards article{background:white;padding:24px;border-radius:12px}.ws-report-cards h2{font-size:17px}.ws-report-cards .mini-chart{width:100%;max-height:240px}.ws-report-days{display:grid;gap:8px}.ws-report-days button{padding:22px;display:flex;justify-content:space-between;background:white;border:1px solid #eee;border-radius:8px;text-align:left}
.ws-strategies>.ws-tabs{gap:28px;padding:0 10px;min-height:46px}
.ws-strategies>.ws-tabs button{gap:9px;font-weight:500;padding:13px 9px 11px;color:#666}
.ws-strategies>.ws-tabs button.selected{color:#086aff}
.ws-strategies>.ws-tabs svg{width:19px;height:19px;flex:none}
.ws-strategy-body{padding:92px 24px 28px}
.ws-strategy-status{margin:0;padding:4px;border-radius:14px;background:#eeeef0;gap:3px}
.ws-strategy-status button{padding:8px 16px;min-height:33px;font-size:14px;color:#222;border-radius:10px}
.ws-strategy-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 16px 48px}
.ws-strategy-illustration{width:180px;height:126px;flex:none}
.ws-strategy-empty>.primary-button{margin-top:24px;min-height:40px;padding:9px 18px;gap:8px;border-radius:8px;font-size:14px;font-weight:600}
.ws-strategy-empty>.primary-button>span{font-size:22px;font-weight:400;line-height:16px}
.ws-strategy-empty h2{margin:22px 0 0;font-size:34px;font-weight:600;line-height:1.3;letter-spacing:-.5px;color:#29363d}
.ws-strategy-empty>p{font-size:16px;line-height:1.5;color:#7b7b7b;margin:10px 0 0}
.ws-strategy-empty>.ws-strategy-learn{margin-top:18px}
.ws-strategy-learn .ws-text{font-size:16px;padding:0;line-height:inherit}
.ws-strategy-body>.ws-empty{min-height:420px;gap:20px;margin-top:-5px}.ws-strategy-body .ws-empty>svg{width:130px;height:130px;color:#7899cf;background:#eef3fc;border-radius:28px;padding:20px}.ws-strategy-body .ws-empty h2{color:#29363d;font-size:34px;order:2}.ws-strategy-body .ws-empty>p{font-size:16px;order:3}.ws-strategy-body .ws-empty>.primary-button{order:1}.ws-strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.ws-strategy-grid article{background:white;border:1px solid #e6e7eb;border-radius:12px;padding:22px;overflow-wrap:anywhere}.ws-strategy-grid h2{font-size:19px;margin:0}.ws-strategy-grid header{display:flex;gap:12px;align-items:center}.ws-strategy-grid header svg{width:26px;height:26px;color:#086aff;flex:none}.ws-strategy-grid p,.ws-strategy-grid li{font-size:14px;color:#6a6a6a;line-height:1.6}.ws-strategy-grid ul{padding-left:18px}.ws-strategy-grid footer{display:flex;gap:22px;border-top:1px solid #eee;padding-top:12px}.ws-strategy-top{text-align:right}
.progress-workspace{padding-top:8px}.pt-top{display:grid;grid-template-columns:215px 315px minmax(0,1fr);gap:16px}.pt-metrics{display:grid;gap:16px}.pt-metrics article{padding:28px 24px;background:white;border-radius:13px;min-height:132px}.pt-metrics article>span{font-size:14px;color:#727272;display:block;margin:4px 0 18px}.pt-metrics article>strong{display:block;font-size:25px;color:#29363d}.pt-metrics progress{width:100%;height:8px;margin-top:10px}.pt-gauge{height:70px;width:120px;border:9px solid #fc6168;border-bottom:0;border-radius:90px 90px 0 0;margin:0 auto;display:flex;align-items:flex-end;justify-content:center}.pt-gauge strong{font-size:25px;color:#29363d}.pt-checklist{background:white;border-radius:13px;padding:20px 16px;display:flex;flex-direction:column;gap:14px}.pt-checklist h2{font-size:19px;margin:0 0 4px;color:#29363d;font-weight:600}.pt-checklist>.primary-button{margin-top:auto;min-height:40px;font-size:14px}.pt-check-row{display:flex;align-items:center;gap:9px;font-size:13px;color:#34414a;padding:9px 0}.pt-check-row>small{margin-left:auto;white-space:nowrap;font-size:12px;color:#717171}.pt-check-row label{display:flex;align-items:center;gap:7px}.pt-status{display:inline-block;color:#728899;font-size:18px;margin-right:2px;vertical-align:middle}.pt-status.pass{color:#00b58a}.pt-status.fail{color:#ff4c55}.pt-status.inactive{color:#ccc}.pt-calendar{background:white;border-radius:13px;overflow:hidden;min-width:0}.pt-calendar>header,.pt-rule-table>header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;gap:12px;border-bottom:1px solid #eee;min-height:56px}.pt-calendar h2,.pt-rule-table h2{font-size:16px;font-weight:500;margin:0}.pt-calendar .subtle-button,.pt-rule-table .subtle-button{min-height:38px;font-size:14px}.pt-heatmap{display:flex;gap:8px;min-height:338px;padding:16px 16px 8px 8px}.pt-heat-labels{display:grid;grid-template-rows:repeat(7,1fr);padding-top:28px;width:44px;flex:none;color:#667f8c;font-size:13px;align-items:center}.pt-heat-weeks{display:flex;gap:5px;min-width:0;width:100%}.pt-week{display:grid;grid-template-rows:24px repeat(7,1fr);gap:5px;width:min(40px,17%);min-width:18px}.pt-week small{font-size:12px;color:#6383b7;white-space:nowrap}.pt-week button{min-height:35px;background:#f3f3f5;border:1px solid transparent;border-radius:2px;padding:0}.pt-week button.inactive{background:white;border-color:#ececf0}.pt-week button.today[data-level="0"]{background:#ff9800}.pt-week button.selected{outline:2px solid #086aff;outline-offset:1px}.pt-legend{display:flex;gap:4px;justify-content:center;align-items:center;color:#6d8291;font-size:11px;padding:0 8px 14px}.pt-legend i{width:16px;height:16px;background:#f1f2f4;border-radius:2px}.progress-workspace [data-level="1"],.progress-dialog [data-level="1"]{background:#d7e2ff}.progress-workspace [data-level="2"],.progress-dialog [data-level="2"]{background:#b0c4fa}.progress-workspace [data-level="3"],.progress-dialog [data-level="3"]{background:#86a5f0}.progress-workspace [data-level="4"],.progress-dialog [data-level="4"]{background:#5c85e7}.progress-workspace [data-level="5"],.progress-dialog [data-level="5"]{background:#086aff}.pt-rule-table{background:white;border-radius:13px;margin-top:16px;overflow:hidden}.pt-rule-table td,.pt-rule-table th{font-size:13px!important;white-space:nowrap}.pt-rule-table th{background:#edf1fa!important;font-weight:500}.pt-rule-table td:first-child .pt-status{margin-right:14px}.pt-rule-table svg{width:18px;height:18px}.pt-info{font-style:normal}
.progress-dialog{padding:0;border:0;border-radius:13px;background:white;color:#2c3940;box-shadow:0 20px 40px #0003;max-height:calc(100dvh - 32px);max-width:calc(100vw - 28px)}.progress-dialog::backdrop{background:#0007}.pt-close{position:absolute;right:14px;top:12px;width:30px;height:30px;font-size:23px;font-weight:300;color:#7b878f;background:none;border-radius:6px;z-index:1}.pt-tour-dialog{width:490px;padding:24px;text-align:center}.pt-tour-art{height:240px;border-radius:9px;background:linear-gradient(130deg,#d5e5ff,white 35%,white 70%,#bdd0ff);position:relative;margin-bottom:8px;text-align:left;overflow:hidden}.pt-tour-dialog>h2{font-size:24px;margin:10px 0 8px;line-height:1.3}.pt-tour-dialog>p{font-size:16px;line-height:1.6;margin:0 6px 34px;min-height:50px}.pt-tour-dialog>small{font-size:13px;font-weight:600}.pt-tour-dialog>.primary-button{font-size:14px;min-height:40px;margin:0 auto}.pt-tour-score,.pt-tour-today,.pt-tour-manual,.pt-tour-auto,.pt-example-days,.pt-example-week{position:absolute;background:white;box-shadow:0 5px 15px #26395512;border-radius:13px;padding:20px}.pt-tour-score{left:20px;top:20px;width:220px;height:120px}.pt-tour-score>span,.pt-tour-today>span{font-size:11px;color:#5979ad;display:block}.pt-tour-score>strong{position:absolute;bottom:20px;left:90px;font-size:20px;z-index:1}.pt-example-gauge{position:absolute;bottom:20px;left:60px;width:105px;height:53px;border:8px solid #00b593;border-left-color:#ff554e;border-top-color:#ff9c00;border-bottom:0;border-radius:80px 80px 0 0}.pt-tour-today{right:20px;bottom:30px;width:220px;height:103px}.pt-tour-today strong{display:block;font-size:20px;margin:7px 0}.pt-tour-today progress{height:8px;width:100%}.progress-dialog progress,.progress-workspace progress{accent-color:#086aff}.pt-tour-manual{left:20px;top:20px;width:245px}.pt-tour-auto{right:20px;bottom:18px;width:270px}.pt-tour-art p{font-size:12px;margin:10px 0 0}.pt-tour-art small{font-size:10px;color:#5475a7}.pt-tour-auto span{float:right;color:#5475a7}.pt-example-calendar{position:absolute;left:44px;right:0;top:36px;background:white;padding:14px;border-radius:12px}.pt-example-calendar>span{display:inline-block;width:48%;font-size:12px;color:#5475a7}.pt-example-calendar>div{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin-top:8px}.pt-example-calendar i{height:23px;border-radius:2px;background:#e9ecf1}.pt-example-days{top:44px;left:36px;right:22px}.pt-example-days strong{font-size:14px}.pt-example-week{left:36px;right:22px;bottom:36px;display:flex;gap:5px;padding:16px}.pt-example-week span{flex:1;border:1px solid #dadfe9;border-radius:7px;padding:9px 2px;text-align:center;font-size:13px}.pt-example-week .active{border-color:#00b58a;color:#00b58a}
.pt-rules-dialog{width:750px}.pt-rules-dialog>header{padding:24px 24px 12px}.pt-rules-dialog h2{font-size:21px;font-weight:500;margin:0}.pt-rules-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 100px)}.pt-rules-scroll{padding:0 24px 20px;overflow:auto}.pt-rules-scroll>p{font-size:14px;line-height:1.5;margin:0 0 12px}.pt-rules-box,.pt-reset{border:1px solid #ddd;border-radius:12px;overflow:hidden}.pt-trading-days{display:flex;justify-content:space-between;gap:16px;padding:18px 16px}.pt-trading-days strong{font-size:16px;color:#222}.pt-trading-days p{font-size:14px;margin:4px 0;color:#777}.pt-week-buttons{display:flex;align-items:center;gap:6px}.pt-week-buttons button{background:white;border:1px solid #ddd;border-radius:8px;width:39px;height:36px;color:#333}.pt-week-buttons button[aria-pressed=true]{color:#00ad7e;border-color:#00bd8e}.pt-reminder{margin:0 16px;padding:18px 0;border-top:1px solid #ddd;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.pt-reminder label{flex:1;display:flex;gap:12px;align-items:center;font-size:14px;font-weight:600}.pt-reminder>p{font-size:12px;color:#858585;width:100%;margin:0 0 0 50px}.pt-rule-group{border-top:1px solid #ddd;padding:0 16px 42px}.pt-rule-group>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;padding:12px 0}.pt-rule-group>header>span{font-size:12px;color:#666}.pt-edit-rule{display:flex;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #ddd}.pt-edit-rule:last-of-type{border-bottom:0}.pt-edit-rule>div:nth-child(2){flex:1;min-width:0}.pt-edit-rule strong{font-size:16px;color:#161616}.pt-edit-rule p{font-size:14px;line-height:1.5;color:#666;margin:3px 0 0}.pt-rule-inputs{display:flex;gap:8px;align-items:center}.pt-rules-dialog input[type=time],.pt-rules-dialog input[type=number],.pt-rules-dialog select{width:128px;border:1px solid #ddd;border-radius:8px;height:40px;padding:8px 10px;background:white;color:#333;font-size:14px}.pt-rules-dialog input:disabled,.pt-rules-dialog select:disabled{background:#f5f5f5;color:#bbb}.pt-rules-dialog select{width:65px}.pt-switch{position:relative;flex:none;width:40px;height:24px}.pt-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.pt-switch>span{display:block;background:#eee;border-radius:15px;height:24px;pointer-events:none}.pt-switch>span:after{content:'';display:block;position:absolute;top:3px;left:3px;background:white;box-shadow:0 1px 3px #0002;width:18px;height:18px;border-radius:50%}.pt-switch input:checked+span{background:#086aff}.pt-switch input:checked+span:after{left:19px}.pt-switch input:focus-visible+span{outline:2px solid #086aff;outline-offset:3px}.pt-new-rule{display:flex;align-items:end;gap:10px;margin-top:16px}.pt-new-rule[hidden]{display:none}.pt-new-rule label{flex:1;font-size:13px}.pt-new-rule input{display:block;width:100%;border:1px solid #ddd;border-radius:7px;padding:10px;margin-top:6px}.pt-reset{padding:20px 16px;margin-top:12px}.pt-reset p{font-size:14px;margin:4px 0 16px}.pt-danger{color:white;background:#ef3838;border-radius:8px;padding:11px 16px;font-size:14px}.pt-rules-dialog form>footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;border-top:1px solid #ddd;padding:16px}.pt-form-error{color:#d23232;font-size:12px;margin:0 auto 0 0}.pt-rules-dialog .primary-button,.pt-rules-dialog .subtle-button{min-height:40px;font-size:14px}.pt-rules-dialog .primary-button:disabled{background:#eee;color:#bbb;cursor:default}
.replay-upgrade-preview{background:#fff;border-radius:12px;padding:22px;width:100%;box-shadow:0 10px 22px #1632551a;margin-top:16px}.replay-upgrade-preview h4{color:#23364e;text-align:left;margin:0 0 20px}.replay-preview-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.replay-preview-days>span{height:43px;background:#f5f7fb;border:1px solid #e6eaf0;border-radius:4px;display:grid;place-items:center;font-size:12px;color:#6d7c94}.replay-preview-days>span:nth-child(18){background:#e2f6ed;color:#139168}.replay-upgrade-preview footer{text-align:left;padding-top:18px;color:#738198;font-size:12px}
@media(max-width:1250px){.pt-top{grid-template-columns:180px 285px minmax(0,1fr)}.pt-metrics article{padding:24px 18px}.pt-week button{min-height:34px}.ws-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.pt-top{grid-template-columns:1fr 1.4fr}.pt-metrics{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.pt-gauge{height:50px;width:100px}.pt-metrics article{min-height:130px}.ws-trades-layout{grid-template-columns:minmax(0,1fr) 235px;gap:14px}.ws-notebook{grid-template-columns:245px minmax(0,1fr)}.ws-report-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.journal-page:is([data-workspace=trades],[data-workspace=notebook],[data-workspace=reports],[data-workspace=strategies],[data-workspace=progress]) .journal-toolbar{flex-wrap:wrap;padding:16px 12px}.journal-page:is([data-workspace=trades],[data-workspace=notebook],[data-workspace=reports],[data-workspace=strategies],[data-workspace=progress]) .journal-content{padding-inline:12px}.ws-trades-layout{grid-template-columns:1fr}.ws-mini-calendar{grid-row:1;width:100%;max-width:330px;margin:auto}.ws-tracking{margin-bottom:18px}.ws-notebook{grid-template-columns:180px minmax(0,1fr);gap:8px}.ws-note-nav{padding:8px}.ws-note-nav nav button{padding:8px 3px;font-size:12px;gap:5px}.ws-note-nav nav small{font-size:10px}.ws-note-content{padding:8px}.ws-note-content h2{font-size:17px}.ws-note-content>header{flex-wrap:wrap;gap:4px}.ws-note-content .ws-empty{padding:5px;min-height:380px}.ws-note-content textarea{min-height:350px}.ws-search{padding:7px}.ws-search input{font-size:12px}.ws-strategy-body{padding:24px 12px}.ws-strategy-grid,.ws-report-cards{grid-template-columns:1fr}.ws-strategy-body .ws-empty h2{font-size:26px}.ws-report-body{padding:10px 0}.ws-report-stats{gap:8px}.ws-report-stats article{padding:18px 12px}.ws-report-stats strong{font-size:21px}.ws-empty{min-height:380px;padding:25px 12px}.ws-empty h2{font-size:26px}.ws-report-body .ws-empty p{font-size:20px}.pt-top{grid-template-columns:1fr}.pt-metrics{gap:8px}.pt-metrics article{padding:16px 8px;min-height:110px}.pt-metrics article>span{font-size:11px}.pt-metrics article>strong{font-size:20px}.pt-gauge{width:75px;height:42px;border-width:6px}.pt-gauge strong{font-size:20px}.pt-checklist{min-height:310px}.pt-calendar{min-height:400px}.pt-trading-days{flex-direction:column;gap:12px}.pt-week-buttons{justify-content:space-between}.pt-week-buttons button{width:35px}.pt-edit-rule{flex-wrap:wrap}.pt-rule-inputs{margin-left:56px}.pt-rules-scroll{padding:0 12px 16px}.pt-rule-group{padding-bottom:24px}.pt-reminder label{font-size:13px;min-width:200px}.pt-rules-dialog input[type=time],.pt-rules-dialog input[type=number]{width:110px}.pt-tour-dialog{padding:22px 16px}.pt-tour-art{height:230px}.pt-tour-score{left:10px;width:190px}.pt-tour-today{right:10px;width:190px}.pt-tour-manual{left:10px;width:220px}.pt-tour-auto{right:10px;width:245px}.pt-example-days,.pt-example-week{left:20px;right:15px}.pt-tour-dialog>h2{font-size:22px}.pt-tour-dialog>p{font-size:15px;margin-bottom:24px}.pt-check-row>small{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.ws-icon,.ws-tabs button{transition:background .15s,color .15s}}



.daily-rule>small{margin-left:auto;color:#777;font-size:12px}.daily-rule>label{display:flex;gap:8px;align-items:center}

@media(max-width:1100px){
 .ws-tracking{row-gap:18px;margin-bottom:28px}
 .ws-trade-filters{max-width:100%}
 .ws-report-navigation{gap:8px;padding-right:12px}
 .ws-report-navigation .ws-tabs{gap:14px}
}
@media(max-width:760px){
 .ws-trade-filters{margin-left:0;width:100%;flex-wrap:nowrap;align-items:flex-start}
 .journal-page .ws-trade-filters .journal-filters{flex:1;min-width:0;gap:6px}
 .ws-trades-layout{padding:0}
 .ws-day-card summary{gap:10px;padding:14px}
 .ws-day-actions{gap:6px}
 .ws-day-card summary>i{display:none}
 .ws-note-folder-row>button:first-child{padding:8px 4px;font-size:12px;gap:5px}
 .ws-note-folder-row small{font-size:10px}
 .ws-note-folder-row .ws-folder-add{width:23px}
 .ws-note-list{margin-left:15px}
 .ws-note-list strong{font-size:12px}
 .ws-note-list small{font-size:10px}
 .ws-note-search-row{gap:5px}
 .ws-note-filter{width:27px}
 .ws-report-navigation{flex-wrap:wrap;padding:0;gap:0}
 .ws-report-navigation .ws-tabs{flex-basis:100%}
 .ws-report-guide{margin:5px 14px 8px auto;font-size:12px}
 .ws-report-body.is-empty{min-height:calc(100dvh - var(--header) - 270px)}
 .ws-report-body.is-empty>.ws-empty{min-height:300px;padding:30px 12px}
}

@media(max-width:760px){
 .ws-strategies>.ws-tabs{gap:14px;padding:0 4px}
 .ws-strategies>.ws-tabs button{padding-inline:5px;font-size:13px}
 .ws-strategy-body{padding:32px 12px 20px}
 .ws-strategy-empty{padding:28px 4px 36px}
 .ws-strategy-empty h2{font-size:27px;max-width:360px}
 .ws-strategy-empty>p,.ws-strategy-learn .ws-text{font-size:14px}
}

/* Daily Journal controls and anchored notebook menus. */
.ws-note-folder-row .ws-folder-more{width:25px;height:30px;font-size:22px;color:#667f8c;flex:none;padding:0}
.ws-note-folder-row [aria-expanded=true].ws-folder-add,.ws-note-folder-row [aria-expanded=true].ws-folder-more{background:#e8edf4;border-radius:50%;color:#086aff}
.ws-folder-chevron{width:17px;flex:none;text-align:center;font-size:17px;line-height:1}
.ws-note-list button:has(.ws-note-check){position:relative;padding-left:28px}
.ws-note-check{position:absolute;left:5px;top:10px;border:1px solid #9badc3;border-radius:3px;width:15px;height:15px;display:grid;place-items:center;font-size:12px;color:#086aff}
.ws-bulk-notes{padding:24px 12px;color:#29363d}
.ws-bulk-notes>h2{font-size:22px}
.ws-bulk-notes>p{color:#777;font-size:14px;line-height:1.6}
.ws-bulk-notes>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.ws-daily-popover{position:fixed;z-index:160;width:320px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box;background:white;color:#151719;border:1px solid #eee;border-radius:13px;box-shadow:0 5px 14px #0003;padding:20px;font:14px Arial,Helvetica,sans-serif}
.ws-daily-popover button{border:0;background:none;color:inherit;cursor:pointer}
.ws-daily-popover button:focus-visible,.ws-daily-popover input:focus-visible{outline:2px solid #086aff;outline-offset:2px}
.ws-daily-popover>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px;min-height:32px}
.ws-daily-popover>header>div{display:flex;gap:10px}
.ws-daily-popover>header button{height:32px;min-width:30px;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:4px}
.ws-daily-popover>header svg{width:19px;height:19px}
.ws-daily-popover>header .ws-log-month-title{gap:16px;font-size:14px;font-weight:600;white-space:nowrap}
.ws-log-month-title>span{font-size:12px}
.ws-daily-popover button:hover{background:#f4f5f7}
.ws-daily-popover button:disabled{opacity:.3;cursor:default}
.ws-log-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:26px repeat(6,38px);align-items:center;justify-items:center;gap:0}
.ws-log-calendar>span{font-size:11px;color:#777}
.ws-log-calendar button{position:relative;width:36px;height:36px;padding:0;border-radius:50%;font-size:11px;border:1px solid transparent}
.ws-log-calendar button.today{border-color:#086aff;color:#086aff}
.ws-log-calendar button.has-entry:after{content:'';position:absolute;bottom:3px;left:calc(50% - 1.5px);width:3px;height:3px;background:#7b9cca;border-radius:50%}
.ws-log-year{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500}
.ws-log-year input{width:84px;min-width:0;border:1px solid #ddd;border-radius:6px;padding:6px;font-size:14px}
.ws-log-months{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 0}
.ws-log-months button{height:42px;font-size:14px;border-radius:6px}
.ws-log-months button.selected{background:#e7f0ff;color:#086aff}
.ws-daily-options-popover{width:192px;padding:8px;border-radius:12px;box-shadow:0 1px 3px #0003}
.ws-daily-options{display:grid}
.ws-daily-options button{display:flex;align-items:center;gap:10px;min-height:32px;text-align:left;border-radius:5px;padding:7px 8px;white-space:nowrap;font-size:13px}
.ws-daily-options button>span{display:inline-grid;place-items:center;width:15px;flex:none;font-size:15px}
.ws-daily-options button[aria-checked=true]>span{color:#086aff}
.ws-default-template h3{font-size:16px;margin:0 0 12px}
.ws-default-template p{font-size:13px;line-height:1.5;color:#73777c;margin:0 0 16px}
.ws-default-template label{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:14px}
.ws-default-template input{accent-color:#086aff}
.ws-default-template small{display:block;color:#777;font-size:12px;margin:14px 0}
.ws-daily-popover .ws-default-template .small-primary{background:#086aff;color:white;width:100%;font-size:14px}
@media(max-width:760px){.ws-note-folder-row .ws-folder-more{width:23px}.ws-note-folder-row:has(.ws-folder-more)>button:first-child{gap:4px;padding-left:2px}.ws-note-folder-row:has(.ws-folder-more)>button:first-child>svg,.ws-folder-chevron{width:13px}.ws-bulk-notes{padding:8px 0}.ws-bulk-notes>h2{font-size:18px}}

/* Expandable note collections and the in-place journal editor. */
.ws-note-folder-row>button:first-child:hover,.ws-note-folder-row>button:first-child:focus-visible{background:#ededee}
.ws-folder-symbol{position:relative;width:17px;height:18px;flex:none;display:inline-grid;place-items:center}
.ws-folder-symbol>.ws-folder-chevron{display:none;position:absolute;inset:0;width:17px;font-size:19px;line-height:17px}
.ws-note-folder-row>button:first-child:hover .ws-folder-symbol>svg,.ws-note-folder-row>button:first-child:focus-visible .ws-folder-symbol>svg{visibility:hidden}
.ws-note-folder-row>button:first-child:hover .ws-folder-chevron,.ws-note-folder-row>button:first-child:focus-visible .ws-folder-chevron{display:block}
.ws-note-folder-row>button:first-child[aria-expanded=true] .ws-folder-symbol>.ws-folder-chevron{transform:none}
.ws-note-list{margin-left:16px}
.ws-note-list button{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:10px 9px;min-height:50px}
.ws-note-list button>strong{grid-column:1;font-size:14px;line-height:1.35}
.ws-note-list button>small{grid-column:1/-1;line-height:1.2}
.ws-note-pnl{grid-column:2;grid-row:1;font-size:13px;white-space:nowrap;align-self:start;font-weight:500}
.ws-note-nav .ws-note-list .ws-show-all{display:block;min-height:40px;text-align:center;margin:5px 0 12px;border-left:2px solid #eee;color:#086aff;font-size:14px}
.ws-folder-empty{margin:4px 0 12px 35px;font-size:12px;color:#999}
.ws-note-content.has-note{padding:16px;background:white}
.ws-note-detail>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.ws-note-detail>header>div:first-child{min-width:0}
.ws-note-detail>header h2{font-size:24px;font-weight:600;line-height:1.3;color:#29363d;margin:0 0 6px;overflow-wrap:anywhere}
.ws-note-detail>header h2>span{font-size:21px;color:#607b88}
.ws-note-detail>header p{font-size:12px;color:#777;margin:0;line-height:1.6}
.ws-note-detail>header p>span:first-child{margin:0 5px}
.ws-note-detail-actions{display:flex;align-items:center;gap:8px;flex:none}
.ws-note-detail-actions .ws-icon,.ws-note-detail-actions .subtle-button,.ws-note-more>summary{height:33px;min-height:33px;border:1px solid #dedfe3;border-radius:8px;background:white;font-size:14px;color:#222;box-sizing:border-box}
.ws-note-detail-actions .ws-icon{width:33px;font-size:20px}
.ws-note-detail-actions .subtle-button{padding:6px 12px;gap:8px}
.ws-note-detail-actions .subtle-button svg{width:15px;height:15px}
.ws-note-more{position:relative}
.ws-note-more>summary{list-style:none;cursor:pointer;width:33px;display:grid;place-items:center;font-size:22px}
.ws-note-more>summary::-webkit-details-marker{display:none}
.ws-note-more>div{position:absolute;right:0;top:37px;z-index:20;background:white;border:1px solid #eee;border-radius:9px;padding:6px;box-shadow:0 3px 12px #0002;width:175px;display:grid}
.ws-note-more button{font-size:13px;text-align:left;background:none;border-radius:5px;padding:9px;color:#333}
.ws-note-more button:hover{background:#f4f5f7}
.ws-note-summary{border:1px solid #e7e7eb;border-radius:9px;margin-bottom:16px;overflow:hidden}
.ws-note-summary>div:first-child{display:flex;align-items:center;gap:10px;padding:15px 17px}
.ws-note-summary>div:first-child>span{font-size:13px;color:#777}
.ws-note-summary>div:first-child>strong{font-size:20px;font-weight:600}
.ws-note-summary>div:first-child>.small-primary{margin-left:auto;min-height:33px;font-size:13px;padding:7px 12px;border-radius:7px}
.ws-note-summary>p{font-size:14px;color:#777;margin:0;padding:0 17px 18px}
.ws-note-trade-stats{display:flex;flex-wrap:wrap;gap:18px 32px;padding:16px 17px;border-top:1px solid #eee}
.ws-note-trade-stats>div{display:grid;gap:6px}
.ws-note-trade-stats span{font-size:13px;color:#777}
.ws-note-trade-stats strong{font-size:16px;font-weight:500;color:#202124}
.ws-rich-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border-block:1px solid #ececef;padding:7px 0;color:#5d7885}
.ws-rich-toolbar button,.ws-rich-toolbar select,.ws-rich-toolbar input[type=number]{height:32px;background:none;border:0;border-radius:7px;min-width:27px;padding:4px 6px;color:#5d7885;font-size:15px}
.ws-rich-toolbar select{background:#f5f5f6;border:1px solid #eee;color:#666;font-size:13px;max-width:115px}
.ws-rich-toolbar input[type=number]{border:1px solid #ddd;border-radius:4px;width:38px;appearance:textfield;-moz-appearance:textfield;font-size:13px;color:#333;padding:4px;text-align:center}
.ws-rich-toolbar input::-webkit-inner-spin-button{appearance:none}
.ws-rich-toolbar button:hover{background:#f2f3f5}
.ws-rich-divider{height:27px;width:1px;background:#ececef;margin:0 2px}
.ws-rich-color{position:relative;width:25px;text-align:center;text-decoration:underline;text-underline-offset:4px;font-size:16px;cursor:pointer}
.ws-rich-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ws-rich-writing{position:relative;min-height:370px}
#ws-rich-editor{min-height:370px;padding:24px 40px;outline:none;font:var(--notebook-body,14px)/1.7 Arial,Helvetica,sans-serif;color:#29363d;overflow-wrap:anywhere}
#ws-rich-editor h2{font-size:var(--notebook-h2,24px)}
#ws-rich-editor:focus-visible{box-shadow:inset 0 0 0 1px #e5edf9}
.ws-rich-placeholder{position:absolute;top:24px;left:40px;margin:0;color:#999;font-size:14px;pointer-events:none;line-height:1.7}
.ws-rich-placeholder[hidden]{display:none}
.ws-rich-placeholder button{background:none;padding:0;color:#086aff;text-decoration:underline;font-size:14px;pointer-events:auto}
.ws-note-detail>footer{font-size:12px;color:#999;padding:12px 0}
.ws-note-fullscreen{position:fixed;inset:12px;z-index:150;background:white;padding:24px;overflow:auto;border:1px solid #eee;border-radius:12px;box-shadow:0 0 0 100vmax #14223955}
.ws-note-fullscreen #ws-rich-editor{min-height:calc(100dvh - 340px)}
.ws-trade-detail-list>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eee;font-size:14px}
.ws-trade-detail-list dt{color:#777}.ws-trade-detail-list dd{margin:0;text-align:right}
@media(max-width:1000px){.ws-note-detail>header{flex-wrap:wrap}.ws-note-detail-actions{margin-left:auto}.ws-note-trade-stats{gap:16px}#ws-rich-editor{padding:22px 16px}.ws-rich-placeholder{left:16px;right:16px}.ws-note-content.has-note{padding:12px}.ws-note-summary>div:first-child{flex-wrap:wrap}}
@media(max-width:760px){.ws-note-list{margin-left:6px}.ws-note-list button{padding:9px 5px;gap:3px}.ws-note-list button>strong{font-size:12px}.ws-note-pnl{font-size:11px}.ws-note-detail>header h2{font-size:20px}.ws-note-detail-actions{gap:5px;flex-wrap:wrap}.ws-note-content.has-note{min-width:0}.ws-rich-toolbar{gap:3px}.ws-note-trade-stats{display:grid;grid-template-columns:1fr 1fr}.ws-rich-placeholder{font-size:12px}.ws-note-summary>div:first-child{padding:12px}.ws-note-summary>div:first-child>.small-primary{margin-left:0}}

/* Add-folder dialog: name and a keyboard-accessible icon choice. */
#journal-dialog:has(.ws-folder-create-form){width:444px;max-width:calc(100vw - 28px);padding:24px;border:0;border-radius:12px;overflow:auto;box-shadow:0 18px 40px #0003}
#journal-dialog:has(.ws-folder-create-form)::backdrop{background:#0007;backdrop-filter:none}
#journal-dialog:has(.ws-folder-create-form)>h2{font-size:20px;font-weight:600;line-height:24px;margin:0 24px 16px 0;color:#171717;letter-spacing:0}
#journal-dialog:has(.ws-folder-create-form)>.dialog-close{top:16px;right:16px;width:22px;height:22px;font-size:24px;color:#607b88;background:none}
.ws-folder-create-form{display:block}
.ws-folder-name-label{display:block;font-size:14px;line-height:17px;color:#666;margin-bottom:6px}
.ws-folder-name-label>span{color:#f15b5b}
.ws-folder-create-form #ws-folder-name{width:100%;height:34px;min-height:34px;padding:7px 11px;border:1px solid #ddd;border-radius:9px;font-size:14px;color:#29363d;background:#fff;box-sizing:border-box}
.ws-folder-create-form #ws-folder-name:focus-visible{outline:2px solid #086aff;outline-offset:1px}
#journal-dialog .ws-folder-create-form #ws-folder-name-error{font-size:12px;color:#c63737;margin:7px 0 0;line-height:1.4}
.ws-folder-create-form fieldset{border:0;padding:0;margin:20px 0 24px;min-width:0}
.ws-folder-create-form legend{font-size:14px;line-height:17px;color:#777;padding:0;margin-bottom:12px}
.ws-folder-icon-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.ws-folder-icon-picker label{position:relative;display:grid;place-items:center;height:44px;cursor:pointer}
.ws-folder-icon-picker input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.ws-folder-icon-picker label>span{display:grid;place-items:center;width:44px;max-width:100%;height:44px;border-radius:8px;pointer-events:none;color:#29363d}
.ws-folder-icon-picker svg{width:23px;height:23px}
.ws-folder-icon-picker input:checked+span{background:#eeeef0}
.ws-folder-icon-picker label:hover>span{background:#f2f4f7}
.ws-folder-icon-picker input:focus-visible+span{outline:2px solid #086aff;outline-offset:2px}
.ws-folder-create-form footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #ddd;margin:0 -24px -24px;padding:16px}
.ws-folder-create-form footer button{font-size:14px;min-height:40px;height:40px;padding:9px 16px;border-radius:8px}
.ws-folder-create-form footer button:disabled{background:#eee;color:#bbb;box-shadow:none;cursor:default}
@media(max-width:420px){.ws-folder-icon-picker{gap:4px}.ws-folder-icon-picker label>span{width:36px;height:40px}.ws-folder-icon-picker label{height:40px}.ws-folder-icon-picker svg{width:21px;height:21px}}

/* Sessions Recap date range popover */
.ws-note-folder-row .ws-recap-add{opacity:0;flex-shrink:0}
.ws-note-folder-row:hover .ws-recap-add,.ws-note-folder-row:focus-within .ws-recap-add,.ws-recap-add[aria-expanded=true]{opacity:1}
.ws-recap-picker{position:fixed;z-index:1500;display:grid;grid-template-columns:minmax(0,582px) 158px;width:764px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:12px;background:#fff;color:#26343c;border-radius:13px;box-shadow:0 5px 16px #0003;font-size:14px}
.ws-recap-picker button{font:inherit;color:inherit;border:0;background:transparent;cursor:pointer;border-radius:5px}
.ws-recap-picker button:hover{background:#f0f3f8}
.ws-recap-picker button:focus-visible,.ws-recap-picker select:focus-visible{outline:2px solid #086aff;outline-offset:1px}
.ws-recap-calendars>header{height:60px;display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;text-align:center;border-bottom:1px solid #eee}
.ws-recap-calendars>header button{padding:10px 4px;font-size:15px}
.ws-recap-calendars>header button[aria-pressed=true]{color:#086aff}
.ws-recap-instruction{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ws-recap-months{display:grid;grid-template-columns:1fr 1fr}
.ws-recap-month{min-width:0;padding:12px 16px 15px}
.ws-recap-month+section{border-left:1px solid #f0f0f0}
.ws-recap-month-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.ws-recap-month-nav button{font-size:25px;width:26px;height:32px;line-height:1}
.ws-recap-month-nav select{font:inherit;background:white;color:#26343c;border:0;border-bottom:2px solid #ddd;border-radius:0;padding:5px 2px;max-width:85px;cursor:pointer}
.ws-recap-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.ws-recap-grid>span{font-size:12px;color:#72777d;padding:0 0 13px}
.ws-recap-grid button{height:35px;min-width:0;padding:0;border:1px solid transparent;border-radius:50%;font-size:13px}
.ws-recap-grid button.today{border-color:#086aff}
.ws-recap-grid button.selected{background:#086aff;color:#fff}
.ws-recap-grid button.outside{color:#8b9198}
.ws-recap-picker button:disabled{color:#aaa;cursor:default;background:transparent}
.ws-recap-picker>aside{border-left:1px solid #eee;padding:7px 10px 0 18px;display:flex;flex-direction:column;align-items:stretch;gap:0}
.ws-recap-picker>aside button{text-align:left;min-height:32px;padding:7px 8px;font-size:14px}
@media(hover:none){.ws-note-folder-row .ws-recap-add{opacity:1}}
@media(max-width:650px){.ws-recap-picker{width:580px;grid-template-columns:1fr}.ws-recap-picker>aside{border-left:0;border-top:1px solid #eee;display:grid;grid-template-columns:repeat(3,1fr);padding:8px 0 0}.ws-recap-month{padding:10px 6px}.ws-recap-month-nav{gap:2px}.ws-recap-grid button{height:32px}.ws-recap-calendars>header button{font-size:14px}}
@media(max-width:390px){.ws-recap-months{grid-template-columns:1fr}.ws-recap-month+section{border-left:0;border-top:1px solid #eee}.ws-recap-grid button{height:34px}}
.ws-daily-options-popover.ws-recap-options{width:222px;padding:8px;border-radius:12px}
.ws-recap-options .ws-daily-options button{font-size:14px;min-height:32px}
.ws-recap-options .ws-daily-options svg{width:17px;height:17px}
.ws-note-folder-row .ws-recap-more{opacity:0}
.ws-note-folder-row:hover .ws-recap-more,.ws-note-folder-row:focus-within .ws-recap-more,.ws-recap-more[aria-expanded=true]{opacity:1}
@media(hover:none){.ws-note-folder-row .ws-recap-more{opacity:1}}
.ws-note-detail .ws-recap-title-icon{display:inline-block;width:22px;height:22px;vertical-align:-2px;margin-right:5px;color:#7c848b;flex-shrink:0}
.ws-note-detail>header h2 .ws-note-title-input{display:block;width:100%;min-width:0;border:0;border-radius:4px;box-shadow:none;background:transparent;color:inherit;font:inherit;line-height:inherit;padding:0;margin:0;outline-offset:4px}
.ws-note-detail>header h2 .ws-note-title-input:focus-visible{outline:2px solid #8bb7fa}
.ws-note-detail>header h2 .ws-note-title-input::placeholder{color:#8a9199}
/* Folder actions are revealed by hover, keyboard focus, or an open menu. */
.ws-note-folder-row{position:relative}
.ws-note-folder-row>.ws-folder-add,.ws-note-folder-row>.ws-folder-more{position:absolute;top:50%;transform:translateY(-50%);width:26px;height:30px;padding:0;opacity:0;pointer-events:none}
.ws-note-folder-row>.ws-folder-add{right:29px}
.ws-note-folder-row>.ws-folder-more{right:2px}
.ws-note-folder-row:hover>.ws-folder-add,.ws-note-folder-row:hover>.ws-folder-more,.ws-note-folder-row:focus-within>.ws-folder-add,.ws-note-folder-row:focus-within>.ws-folder-more,.ws-note-folder-row:has(>.ws-icon[aria-expanded=true])>.ws-icon{opacity:1;pointer-events:auto}
.ws-note-folder-row:hover>button:first-child,.ws-note-folder-row:focus-within>button:first-child,.ws-note-folder-row:has(>.ws-icon[aria-expanded=true])>button:first-child{padding-right:60px}
.ws-note-folder-row:hover>button:first-child>small,.ws-note-folder-row:focus-within>button:first-child>small,.ws-note-folder-row:has(>.ws-icon[aria-expanded=true])>button:first-child>small{display:none}
.ws-note-folder-row>button:first-child>span:not(.ws-folder-symbol){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-daily-options-popover:has([data-daily-pop=edit-folder]){width:212px}
.ws-daily-options svg{width:16px;height:16px}
.ws-daily-options button.ws-menu-delete{color:#ed454b}
.ws-delete-folder-confirm{background:#e53940!important}
.ws-folder-name-label input{display:block;width:100%;height:34px;margin-top:6px;padding:6px 10px;border:1px solid #dce0e5;border-radius:8px;font:inherit;color:#29363d;background:white}
@media(hover:none){.ws-note-folder-row>.ws-folder-add,.ws-note-folder-row>.ws-folder-more{opacity:1;pointer-events:auto}.ws-note-folder-row>button:first-child{padding-right:60px}.ws-note-folder-row>button:first-child>small{display:none}}

/* Reliability updates retain the existing layout and controls. */
.ws-rich-toolbar{position:sticky;top:0;z-index:5;background:var(--panel,#fff)}
.note-recovery-entry{padding:12px 0;border-bottom:1px solid #e5e7eb;overflow-wrap:anywhere}
.ws-note-fullscreen .ws-rich-toolbar{top:0}
#ws-rich-editor{overflow-wrap:anywhere}
.aa-page [role=alert]{white-space:pre-line;overflow-wrap:anywhere}
#aa-import-review ul{max-height:220px;overflow:auto}
.accounts-table td:first-child,.account-identity{overflow-wrap:anywhere}
.pt-edit-rule input[name^="name-"]{max-width:100%;min-width:0}
@media(max-width:600px){.aa-page .form-grid{grid-template-columns:1fr}.account-identity{font-size:20px}.ws-rich-toolbar{position:relative}.pt-edit-rule{flex-wrap:wrap}.pt-rule-inputs{max-width:100%}}
/* v179: notebook note actions */
.ws-note-more>.ws-note-menu-panel{width:218px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 150px);overflow:auto;padding:7px;z-index:35;border:1px solid #e7e8eb;border-radius:12px;box-shadow:0 2px 7px #18233618;gap:1px}
.ws-note-menu-panel>button,.ws-note-export>summary{display:flex;align-items:center;gap:9px;width:100%;min-height:33px;border:0;font-size:12px;padding:8px 6px;line-height:1.4;color:#29363d;background:transparent;border-radius:5px;cursor:pointer;text-align:left}
.ws-note-menu-panel svg{width:16px;height:16px;flex:none;stroke-linecap:round;stroke-linejoin:round}
.ws-note-menu-panel>button[role=switch]::after{content:"";margin-left:auto;width:28px;height:15px;border-radius:20px;background:#b7bcc4 radial-gradient(circle at 7.5px 7.5px,white 0 5px,transparent 5.5px);flex:none}
.ws-note-menu-panel>button[aria-checked=true]::after{background:#0969ee radial-gradient(circle at 20.5px 7.5px,white 0 5px,transparent 5.5px)}
.ws-note-menu-panel .ws-menu-caption{font-size:11px!important;color:#92959a!important;margin:6px 6px 2px!important}
.ws-note-menu-panel>.ws-note-delete{color:#f04444;border-top:1px solid #edf0f3;border-radius:0;margin-top:4px;padding-top:11px}
.ws-note-export>summary{list-style:none}.ws-note-export>summary::-webkit-details-marker{display:none}.ws-note-export>summary:hover{background:#f4f5f7}.ws-export-chevron{margin-left:auto;font-size:20px;line-height:1}.ws-note-export[open] .ws-export-chevron{transform:rotate(90deg)}
.ws-note-export>div{border-left:1px solid #dde5ef;margin:0 4px 4px 14px;padding-left:6px}.ws-note-export button{display:flex;gap:9px;width:100%;align-items:center;font-size:12px}
.ws-note-narrow .ws-rich-writing{max-width:760px;margin-inline:auto}.ws-rich-toolbar[hidden]{display:none!important}
.ws-note-template-dialog{width:min(570px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid #e2e6ec;border-radius:14px;padding:24px;color:#29363d;background:#fff;box-shadow:0 20px 80px #15243c33;z-index:180}
.ws-note-template-dialog::backdrop{background:#10213766}.ws-note-template-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.ws-note-template-dialog h2{font-size:22px;margin:0}.ws-note-template-dialog header button{font-size:25px;background:none;color:#7c8591;cursor:pointer}.ws-note-template-dialog p{font-size:13px;line-height:1.6;color:#77818c}.ws-template-list>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid #e8ecf0;font-size:14px}.ws-template-list small{display:block;font-size:11px;color:#9299a1;margin-top:3px}.ws-template-list button{flex:none}.ws-note-template-dialog label{display:grid;gap:7px;margin:12px 0;font-size:13px}.ws-note-template-dialog input,.ws-note-template-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #dbe0e6;border-radius:7px;padding:10px;font:inherit;color:inherit;background:#fff}.ws-note-template-dialog textarea{resize:vertical}.ws-template-actions{display:flex;justify-content:flex-end;gap:8px}.ws-note-menu-panel :focus-visible{outline:2px solid #0969ee;outline-offset:-2px}
/* v180: compact six-font dropdown */
.ws-font-menu{position:relative;flex:none}.ws-rich-toolbar .ws-font-trigger{display:flex;align-items:center;gap:5px;background:#f5f5f6;border:1px solid #eee;border-radius:7px;padding:4px 7px;color:#666;font:12px Arial,sans-serif;max-width:158px}.ws-font-symbol{font-weight:600;font-size:12px;letter-spacing:-2px;padding-right:2px;flex:none}.ws-font-symbol>span{font-size:10px}.ws-font-trigger svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.2;flex:none}.ws-font-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-font-menu>[role=listbox]{position:absolute;top:calc(100% + 5px);left:0;width:154px;padding:4px;background:#fff;border:1px solid #e3e5e8;border-radius:8px;box-shadow:0 2px 5px #0002;z-index:40;max-height:240px;overflow:auto}.ws-font-menu>[role=listbox][hidden]{display:none!important}.ws-rich-toolbar .ws-font-menu [role=option]{display:block;width:100%;height:31px;border:0;border-radius:5px;padding:7px 8px;text-align:left;font:12px Arial,sans-serif;color:#222;background:transparent;white-space:nowrap}.ws-rich-toolbar .ws-font-menu [role=option]:hover{background:#f1f5fb}.ws-rich-toolbar .ws-font-menu [role=option][aria-selected=true]{background:#e0ebff;color:#162d4f}.ws-rich-toolbar .ws-font-menu [role=option]:focus-visible{outline:2px solid #0969ee;outline-offset:-2px}.ws-font-trigger:focus-visible{outline:2px solid #0969ee;outline-offset:2px}
/* v181: reference-style notebook formatting dropdowns */
.ws-format-menu{position:relative;flex:none}.ws-rich-toolbar .ws-format-trigger{display:flex;align-items:center;justify-content:center;gap:7px;height:32px;padding:4px 8px;background:#f5f5f6;border:1px solid #ececee;border-radius:7px;color:#666;font:12px Arial,sans-serif}.ws-format-trigger b{font-size:14px}.ws-format-trigger>svg:last-child{width:12px;height:12px}.ws-format-menu svg{width:15px;height:15px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ws-format-options{position:absolute;left:0;top:calc(100% + 5px);width:204px;padding:5px;border:1px solid #e2e4e8;background:#fff;border-radius:8px;box-shadow:0 2px 5px #0002;z-index:45;max-height:min(430px,calc(100dvh - 190px));overflow:auto}.ws-format-options[hidden]{display:none!important}.ws-rich-toolbar .ws-format-options>button{display:flex;align-items:center;gap:8px;width:100%;height:31px;min-height:31px;border:0;border-radius:5px;background:none;padding:6px;color:#222;font:12px Arial,sans-serif;text-align:left;white-space:nowrap}.ws-rich-toolbar .ws-format-options>button:hover{background:#f3f6fa}.ws-rich-toolbar .ws-format-options>button[aria-checked=true]{background:#e0ebff;color:#162d4f}.ws-format-symbol{display:grid;place-items:center;min-width:17px;font-size:11px;flex:none}.ws-format-options kbd{margin-left:auto;font:10px Arial,sans-serif;color:#6c8391}.ws-format-options>p{font:11px/1.5 Arial,sans-serif;color:#888;margin:4px 6px 6px}.ws-format-options>button:focus-visible,.ws-format-trigger:focus-visible{outline:2px solid #0969ee;outline-offset:-2px}.ws-format-menu[data-format-menu=emphasis] .ws-format-options{width:196px}.ws-format-menu[data-format-menu=color] .ws-format-options{width:175px}.ws-format-menu[data-format-menu=align] .ws-format-options{width:214px;left:auto;right:0}.ws-format-menu[data-format-menu=align] [data-align=outdent]{border-top:1px solid #eceef2;border-radius:0;margin-top:6px;padding-top:10px;min-height:36px}.ws-text-color-symbol{font-weight:600;font-size:15px;border-bottom:3px solid var(--text-color,#29363d);line-height:18px}.ws-color-dot{height:14px;width:14px;min-width:14px;border:1px solid #0002;border-radius:4px;background:var(--swatch);color:#999;display:grid;place-items:center;font-size:14px}.ws-format-options [data-text-color="#29363d"] .ws-color-dot{background:transparent;border:0}.ws-format-check{margin-left:auto;visibility:hidden}.ws-format-options [aria-checked=true] .ws-format-check{visibility:visible}.ws-rich-toolbar .ws-format-options>.ws-custom-color{justify-content:center;border-top:1px solid #eee;border-radius:0;margin-top:5px;padding-top:10px;height:36px;color:#0969ee}.ws-custom-color-dialog{max-width:340px}.ws-custom-color-dialog input[type=color]{height:56px;padding:5px}#ws-rich-editor h1{font-size:var(--notebook-h1,28px);line-height:1.3}#ws-rich-editor h3{font-size:var(--notebook-h3,20px);line-height:1.4}#ws-rich-editor blockquote{margin:12px 0;padding:5px 16px;border-left:3px solid #a9c7f7;color:#566a7f}#ws-rich-editor pre{font:14px/1.6 'Courier New',monospace;white-space:pre-wrap;background:#f4f6f8;border:1px solid #e7ebef;border-radius:7px;padding:14px}#ws-rich-editor .ws-editor-check{display:flex;align-items:baseline;gap:8px}#ws-rich-editor .ws-editor-check input{accent-color:#0969ee;flex:none;width:14px;height:14px}#ws-rich-editor .ws-editor-check span{min-width:0}#ws-rich-editor .ws-editor-check input:checked+span{text-decoration:line-through;color:#89919b}#ws-rich-editor .ws-editor-toggle{margin:10px 0}#ws-rich-editor .ws-editor-toggle>summary{cursor:pointer;font-weight:600}#ws-rich-editor .ws-editor-toggle[data-level=h1]>summary{font-size:28px}#ws-rich-editor .ws-editor-toggle[data-level=h2]>summary{font-size:24px}#ws-rich-editor .ws-editor-toggle[data-level=h3]>summary{font-size:20px}#ws-rich-editor .ws-editor-toggle>p{margin-left:20px;min-height:1.5em}
#ws-rich-editor .ws-editor-check:has(>input:checked){text-decoration:line-through;color:#89919b}
.ws-quick-menu{position:relative;flex:none}.ws-rich-toolbar .ws-quick-trigger{position:relative;display:grid;place-items:center;width:30px;height:32px;padding:5px;background:none;border:0;color:#5d7885}.ws-quick-menu svg{width:17px;height:17px;flex:none;stroke-linecap:round;stroke-linejoin:round}.ws-quick-panel{position:absolute;top:calc(100% + 5px);left:0;background:white;border:1px solid #e4e6e9;border-radius:8px;box-shadow:0 2px 5px #0002;padding:5px;width:184px;z-index:45;color:#29363d}.ws-quick-panel[hidden]{display:none!important}.ws-quick-panel>p{font:11px/1.5 Arial,sans-serif;color:#999;margin:4px 7px}.ws-rich-toolbar .ws-quick-panel>[role=menuitem]{display:flex;align-items:center;gap:7px;width:100%;height:29px;padding:5px;border-radius:5px;background:none;border:0;text-align:left;font:12px Arial,sans-serif;color:#29363d;white-space:nowrap}.ws-rich-toolbar .ws-quick-panel>[role=menuitem]:hover{background:#edf4ff}.ws-quick-panel button:focus-visible,.ws-quick-trigger:focus-visible{outline:2px solid #0969ee;outline-offset:-2px}.ws-tags-panel{width:224px;padding:9px}.ws-tag-filter{display:flex;align-items:center;gap:6px;border:1px solid #dce0e5;border-radius:7px;padding:5px 8px}.ws-tag-filter svg{width:13px;color:#939ca6}.ws-tag-filter input,.ws-tag-create input{font:12px Arial,sans-serif;min-width:0;width:100%;background:white;border:0;outline-offset:3px;color:#29363d;padding:1px}.ws-tag-filter input::placeholder,.ws-tag-create input::placeholder{color:#92969c}.ws-tag-select-all,.ws-tag-options>label{display:flex;align-items:center;gap:9px;font:12px Arial,sans-serif;padding:8px 3px;min-height:31px}.ws-tag-select-all{border-bottom:1px solid #eee;margin-bottom:3px}.ws-tag-options{max-height:210px;overflow:auto}.ws-tag-options label>span{overflow-wrap:anywhere;min-width:0}.ws-tag-options>p{font:12px Arial,sans-serif;color:#92969c;margin:8px 4px}.ws-tags-panel input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:#0969ee;flex:none}.ws-tag-create{display:flex;align-items:center;border:1px solid #dce0e5;border-radius:7px;padding:3px 7px;margin-top:4px}.ws-rich-toolbar .ws-tag-create button{height:24px;min-width:20px;padding:0;background:none;color:#8796a0}.ws-quick-panel>.ws-tag-status{font-size:11px;line-height:1.4;color:#6d7c8c;margin:7px 0 0}.ws-tag-count{position:absolute;top:0;right:-2px;background:#0969ee;color:#fff;border-radius:9px;min-width:13px;font:9px/13px Arial,sans-serif;text-align:center}

/* v183: proportional Trades controls, aligned action and filter rows. */
.journal-page[data-workspace=trades] .journal-toolbar{align-items:flex-end;padding-bottom:14px}
.journal-page[data-workspace=trades] .ws-trade-actions{gap:12px}
.journal-page[data-workspace=trades] .ws-trade-actions button{height:38px;min-height:38px;gap:9px;padding:0 14px;border-radius:9px;font-size:14px;font-weight:600;line-height:1.2}
.journal-page[data-workspace=trades] .ws-trade-actions [data-ws=view-day]{min-width:146px}
.journal-page[data-workspace=trades] .ws-trade-actions [data-ws=add-trade]{min-width:124px}
.ws-trade-actions svg{width:20px;height:20px;flex:none}
.journal-page[data-workspace=trades] .ws-tracking{gap:14px;min-height:42px}
.journal-page[data-workspace=trades] .ws-tracking-modes{gap:14px;flex:none}
.journal-page[data-workspace=trades] .ws-segment{height:42px;padding:3px;border-radius:9px}
.journal-page[data-workspace=trades] .ws-segment button{height:36px;padding:0 14px;font-size:14px}
.journal-page[data-workspace=trades] .ws-trade-filters,.journal-page[data-workspace=trades] .ws-trade-filters .journal-filters{gap:10px;align-items:center}
.journal-page[data-workspace=trades] .ws-calendar-toggle{height:38px;width:36px;border-radius:8px;color:#222}
.journal-page[data-workspace=trades] .ws-calendar-toggle svg{width:19px;height:19px}
.journal-page[data-workspace=trades] .journal-filters .select-button{height:40px;min-height:40px;padding:0 32px 0 14px;border-color:#dedfe3;border-radius:9px;font-size:14px;font-weight:500;color:#333}
.journal-page[data-workspace=trades] .journal-filters #unit-menu-trigger{min-width:102px;color:#222}
.journal-page[data-workspace=trades] .journal-filters #filter-menu-trigger{min-width:96px}
.journal-page[data-workspace=trades] .journal-filters #account-menu-trigger{min-width:140px;max-width:220px;overflow:hidden;text-overflow:ellipsis;display:block;text-align:left}
.journal-page[data-workspace=trades] .journal-filters #date-menu-trigger{min-width:130px;color:#222}
.journal-page[data-workspace=trades] .date-range-control.has-range #date-menu-trigger{padding-right:57px}
.journal-page[data-workspace=trades] .date-range-control #date-range-clear{right:31px;width:17px;height:17px;background:#777}
@media(max-width:760px){.journal-page[data-workspace=trades] .ws-trade-actions{gap:8px;flex-wrap:wrap}.journal-page[data-workspace=trades] .ws-trade-actions button{min-width:0}.journal-page[data-workspace=trades] .ws-trade-filters{align-items:flex-start;gap:8px}.journal-page[data-workspace=trades] .ws-trade-filters .journal-filters{gap:8px}.journal-page[data-workspace=trades] .ws-calendar-toggle{height:40px}.journal-page[data-workspace=trades] .date-range-control{max-width:100%}.journal-page[data-workspace=trades] .journal-filters #date-menu-trigger{max-width:100%;min-width:0}}

/* v184: streak reminder switch and quarter-hour time picker. */
.pt-reminder{display:flex;flex-wrap:nowrap;gap:20px;padding:18px 0;align-items:center}
.pt-reminder .pt-reminder-label{display:flex;align-items:center;gap:16px;flex:1;min-width:0;font-size:16px;font-weight:600;line-height:1.4;color:#151515;cursor:pointer}
.pt-reminder-switch{position:relative;display:block;width:42px;height:26px;flex:none}
.pt-reminder-switch input{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:pointer}
.pt-reminder-switch>span{display:block;width:100%;height:100%;border-radius:20px;background:#c7ccd3;pointer-events:none}
.pt-reminder-switch>span::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .15s}
.pt-reminder-switch input:checked+span{background:#086aff}.pt-reminder-switch input:checked+span::after{transform:translateX(16px)}.pt-reminder-switch input:focus-visible+span{outline:2px solid #086aff;outline-offset:3px}
.pt-time-picker{position:relative;flex:0 0 138px;display:flex;align-items:center;height:44px;border:1px solid #dedfe3;border-radius:9px;background:#fff;color:#2c3940}
.pt-time-picker:focus-within{outline:2px solid #086aff;outline-offset:0}.pt-time-picker input{width:100%;min-width:0;padding:0 38px 0 12px;height:100%;border:0;background:transparent;color:inherit;font:16px Arial,sans-serif;outline:none;border-radius:9px}
.pt-time-picker button{position:absolute;right:0;top:0;display:grid;place-items:center;width:36px;height:100%;background:none;border:0;color:#597786;border-radius:8px;padding:0}.pt-time-picker svg{width:12px;height:8px}.pt-time-picker button[aria-expanded=true] svg{transform:rotate(180deg)}
.pt-time-options{position:fixed;z-index:10;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:5px;border:1px solid #e4e5e8;border-radius:12px;background:#fff;box-shadow:0 1px 4px #0002;color:#2c3940}
.pt-time-options[hidden]{display:none!important}.pt-time-options [role=option]{padding:10px 9px;min-height:39px;border-radius:7px;font-size:16px;line-height:1.3;cursor:pointer}.pt-time-options [role=option]:hover,.pt-time-options .is-active{background:#f0f5fc}.pt-time-options [aria-selected=true]{background:#e4edfc}
@media(max-width:580px){.pt-reminder{gap:12px;flex-wrap:wrap}.pt-reminder .pt-reminder-label{font-size:14px;flex-basis:100%;gap:12px}.pt-time-picker{margin-left:54px;flex-basis:138px}}
/* v185: custom rule row and weekday picker */
.pt-new-rule{display:grid;grid-template-columns:minmax(120px,1fr) 150px 70px 30px;gap:16px;align-items:center;margin-top:18px}
.pt-new-rule[hidden]{display:none}.pt-new-rule>input{width:100%;min-width:0;margin:0;height:44px;padding:10px 12px;font-size:16px;border:1px solid #ddd;border-radius:9px}
.pt-new-rule>.small-primary{height:44px;font-size:16px;border-radius:9px;padding:0 16px}
.pt-rule-days{display:flex;align-items:center;justify-content:space-between;gap:12px;width:150px;min-width:0;height:44px;border:1px solid #ddd;border-radius:9px;background:white;color:#26343d;padding:0 12px;font-size:16px;text-align:left;cursor:pointer}
.pt-rule-days>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pt-rule-days svg{width:11px;height:8px;flex:none}.pt-rule-days[aria-expanded=true]{border-color:#086aff;outline:2px solid #086aff;outline-offset:-2px}.pt-rule-days[aria-expanded=true] svg{transform:rotate(180deg)}
.pt-draft-trash{border:0;background:none;color:#ef3f3f;display:grid;place-items:center;cursor:pointer;width:30px;height:44px;padding:4px}.pt-draft-trash svg{width:20px;height:20px}
.pt-rule-day-menu{position:fixed;z-index:20;padding:6px;overflow:auto;background:#fff;border:1px solid #ddd;border-radius:14px;box-shadow:0 2px 7px #0002;color:#26343d}
.pt-rule-day-menu[hidden]{display:none}.pt-rule-day-menu label{display:flex;align-items:center;gap:18px;min-height:51px;padding:12px 14px;border-radius:9px;font-size:16px;cursor:pointer}.pt-rule-day-menu label.selected{background:#e4ecff}.pt-rule-day-menu input{appearance:auto;width:20px;height:20px;flex:none;margin:0;accent-color:#086aff}.pt-rule-day-menu label:focus-within{outline:2px solid #086aff;outline-offset:-2px}.pt-rule-day-menu label:hover{background:#edf3ff}
.pt-rule-inputs .pt-rule-days{width:125px;font-size:14px}
@media(max-width:580px){.pt-new-rule{grid-template-columns:minmax(0,1fr) 70px 30px;gap:12px}.pt-new-rule>input{grid-column:1/-1}.pt-new-rule>.pt-rule-days{width:100%}.pt-rule-inputs{flex-wrap:wrap}.pt-rule-inputs .pt-rule-days{max-width:100%}}
