.body161-launch{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0 0 12px;padding:14px 17px;border:1px solid var(--line,#d9dfcf);border-radius:19px;background:var(--mint,#eef2e4);color:var(--pine,#244b37);text-align:left;cursor:pointer}.body161-launch strong{display:block;font-size:21px;line-height:1.2;letter-spacing:-.4px}.body161-launch small{display:block;max-width:280px;margin-top:5px;font-size:12px;line-height:1.45;color:var(--muted,#707b6f)}.body161-orbit{display:grid;place-items:center;flex:none;width:43px;height:43px;border:1px solid var(--rose,#b34b7b);border-radius:50%;color:var(--rose,#b34b7b);font-size:25px;transform:rotate(-12deg)}
.frog-modal:has(.body161){padding:18px!important;gap:10px!important;max-height:88dvh}.frog-modal:has(.body161) .modal-title{font-size:20px!important;line-height:1.2!important;letter-spacing:-.4px}.frog-modal:has(.body161)>div:first-child .muted{font-size:12px!important;margin:4px 0 0!important;line-height:1.4!important}.body161{max-width:100%;min-width:0;color:var(--pine,#244b37);font-size:13px;line-height:1.4}.body161 *{box-sizing:border-box}.body161 h3,.body161 p{margin:7px 0}.body161 fieldset{border:0;margin:0;padding:0;min-width:0}.body161 button{font-family:inherit}.body161 .primary,.body161 .secondary{min-height:40px;padding:8px 12px;font-size:13px;line-height:1.3;white-space:normal;border-radius:11px}.body161 .primary{background:#276149;color:#fff}.body161 .secondary{color:inherit;background:var(--bg,#fffdf7);border:1px solid var(--line,#d9dfcf)}.body161 .text-button{min-height:30px;padding:4px 6px;font-size:12px;color:inherit}.body161-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;border-bottom:1px solid var(--line,#d9dfcf);margin-bottom:12px}.body161-tabs button{min-width:0;min-height:38px;padding:7px 2px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted,#707b6f);font-size:12px;font-weight:500;line-height:1.3}.body161-tabs button[aria-pressed=true]{border-bottom-color:var(--rose,#b34b7b);color:var(--pine,#244b37);font-weight:700}.body161-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0;min-width:0}.body161-line strong{font-size:14px}.body161-line small{color:var(--muted,#707b6f);font-size:11px}.body161-line select{max-width:55%;min-width:0}.body161-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:8px 0 12px;border-bottom:1px solid var(--line,#d9dfcf)}.body161-metrics>div{min-width:0}.body161-metrics small{display:block;font-size:10px;line-height:1.35;color:var(--muted,#707b6f)}.body161-metrics strong{display:block;margin-top:3px;color:var(--rose,#b34b7b);font-size:27px;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}.body161-metrics strong span{font-size:11px;margin-left:3px;font-weight:400;color:var(--muted,#707b6f)}.body161-checkpoint>span{font-size:11px;line-height:1.5;max-width:63%;color:var(--muted,#707b6f)}.body161-target{display:flex;align-items:center;gap:8px;font-size:12px;margin:3px 0 9px}.body161-inline-editor{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin:7px 0 12px}.body161-inline-editor label{flex:1 1 120px;font-size:11px}.body161 input:not([type=checkbox]):not([type=radio]):not([type=file]),.body161 select,.body161 textarea{font-family:inherit;font-size:16px!important;line-height:1.25;min-height:36px;max-width:100%;min-width:0;width:100%;padding:7px 8px;border:1px solid var(--line,#d9dfcf);border-radius:9px;background:var(--bg,#fffdf7);color:inherit}.body161 input[type=date]{max-width:100%;min-inline-size:0!important;appearance:none;-webkit-appearance:none}.body161 input::-webkit-date-and-time-value{text-align:left}.body161 input:focus,.body161 select:focus,.body161 textarea:focus{outline:2px solid var(--rose,#b34b7b);outline-offset:1px}.body161-form{border-top:1px solid var(--line,#d9dfcf);border-bottom:1px solid var(--line,#d9dfcf);padding:10px 0;margin:9px 0}.body161-form-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.body161-form-title strong{font-size:14px}.body161-form-title>label{min-width:0;max-width:52%}.body161-measure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.body161-measure{position:relative;display:grid;grid-template-columns:29px minmax(0,1fr);align-items:center;gap:5px;min-width:0}.body161-measure label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px}.body161-measure label>span{display:flex;align-items:baseline;gap:3px;flex-wrap:wrap;line-height:1.25}.body161-measure label small{font-size:10px;color:var(--muted,#707b6f)}.body161-marker{height:61px;width:29px;border:0;background:none;padding:0;cursor:pointer}.body161-marker:focus-visible{outline:2px solid var(--rose,#b34b7b);border-radius:5px}.body161-figure{width:29px;height:61px;display:block}.body161-outline{fill:var(--mint,#edf1e4);stroke:var(--green,#6c8974);stroke-width:1.4}.body161-mark{stroke:var(--rose,#b34b7b);stroke-width:3;stroke-linecap:round}.body161-dot{fill:var(--rose,#b34b7b)}.body161-scale{fill:var(--mint,#edf1e4);stroke:var(--green,#6c8974)}.body161-hint{position:absolute;left:0;top:100%;z-index:5;width:min(250px,80vw);padding:8px;background:var(--bg,#fffdf7);border:1px solid var(--line,#d9dfcf);border-radius:8px;font-size:11px;line-height:1.45;box-shadow:0 4px 16px #16322320}.body161-measure:nth-child(even) .body161-hint{left:auto;right:0}.body161-cycle{display:grid;gap:3px;padding:8px 0;margin-top:12px;border-top:1px solid var(--line,#d9dfcf);font-size:11px}.body161-cycle>span{color:var(--muted,#707b6f)}.body161-cycle small{font-size:11px;line-height:1.45}.body161-notes{padding:6px 0!important;margin:0!important;border:0!important}.body161-notes summary{min-height:30px;font-size:12px;cursor:pointer}.body161-wins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;margin:5px 0 9px}.body161-wins label{display:flex;align-items:flex-start;gap:6px;font-size:11px;line-height:1.4;padding:5px 0}.body161 input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--rose,#b34b7b);margin:0}.body161-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.body161-actions button{flex:1 1 110px;min-width:0}.body161-history{margin-top:15px}.body161 table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;font-variant-numeric:tabular-nums}.body161 th{font-size:10px;font-weight:500;color:var(--muted,#707b6f);text-align:right;padding:7px 3px}.body161 td{padding:8px 3px;border-top:1px solid var(--line,#d9dfcf);text-align:right;overflow-wrap:anywhere;vertical-align:middle}.body161 th:first-child,.body161 td:first-child{text-align:left}.body161-history th:first-child{width:24%}.body161-history th:last-child{width:25%}.body161-history td:last-child{white-space:nowrap;padding-left:0;padding-right:0}.body161-history td .text-button{padding:3px!important;min-width:28px;min-height:32px;font-size:17px}.body161-switch{display:flex;gap:4px;flex-wrap:wrap;margin:12px 0}.body161-switch button{min-height:34px;border:1px solid var(--line,#d9dfcf);background:none;color:inherit;padding:6px 9px;border-radius:9px;font-size:11px;line-height:1.25}.body161-switch button[aria-pressed=true]{background:var(--mint,#edf1e4);border-color:var(--rose,#b34b7b)}.body161-bars{display:flex;justify-content:space-evenly;gap:5px;border-bottom:1px solid var(--line,#d9dfcf);padding:7px 0 0;margin:8px 0 13px;height:172px}.body161-bar{flex:1;min-width:0;max-width:66px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:end;padding:0 1px 5px;border:0;background:none;color:inherit;cursor:pointer;font-variant-numeric:tabular-nums}.body161-bar strong{font-size:12px;font-weight:600}.body161-bar>small{font-size:9px;white-space:nowrap;color:var(--muted,#707b6f)}.body161-bar-track{height:120px;width:80%;display:flex;align-items:end}.body161-bar-track>span{display:block;width:100%;border-radius:5px 5px 0 0;background:var(--green,#85a581);opacity:.48;min-height:2px}.body161-bar.is-current .body161-bar-track>span{background:var(--rose,#b34b7b);opacity:1}.body161-comparison th:first-child{width:36%}.body161-comparison td small{font-size:10px;color:var(--muted,#707b6f);margin-left:3px}.body161-comparison td:last-child{font-weight:600;color:var(--rose,#b34b7b)}.body161-empty{padding:10px 0;color:var(--muted,#707b6f);font-size:12px;line-height:1.5}.body161-empty strong{color:var(--pine,#244b37);font-size:16px}.body161-notice{padding:7px 9px;border-left:2px solid var(--rose,#b34b7b);font-size:12px;background:var(--mint,#edf1e4)}.body161 .inline-error{font-size:12px;line-height:1.4}.body161-confirm{padding:9px;border:1px solid var(--line,#d9dfcf);border-radius:10px;margin:9px 0}.body161-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.body161 textarea.body161-report{font-size:12px!important;line-height:1.55;resize:vertical;margin:9px 0 12px;min-height:160px}.body161-photo-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.body161-photo-side{min-width:0;margin:0}.body161-photo-side figcaption{font-size:11px;font-weight:700;color:var(--rose,#b34b7b);margin-bottom:4px}.body161-photo-side select{font-size:12px!important;margin-bottom:7px;padding:6px;min-height:32px}.body161-photo-side img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain;background:var(--mint,#edf1e4);border-radius:10px}.body161-photo-placeholder{display:grid;align-items:center;text-align:center;font-size:11px;color:var(--muted,#707b6f);padding:10px;background:var(--mint,#edf1e4);border-radius:10px;margin-top:54px;aspect-ratio:3/4}.body161-photo-add{display:flex;align-items:end;gap:8px;margin:12px 0}.body161-photo-add>label:first-child{flex:1;min-width:0;font-size:11px}.body161-file{display:inline-flex;align-items:center;position:relative;overflow:hidden;cursor:pointer;font-size:12px;min-width:84px;justify-content:center}.body161-file input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.body161-file[aria-disabled=true]{opacity:.55}.body161-photo-list>div{display:grid;grid-template-columns:40px minmax(0,1fr) 45px 30px;gap:7px;align-items:center;border-top:1px solid var(--line,#d9dfcf);padding:6px 0}.body161-photo-list>div>span{font-size:12px}.body161-photo-list small{display:block;font-size:10px;color:var(--muted,#707b6f)}.body161-thumbnail{padding:0;background:none;border:0}.body161-thumbnail img{width:38px;height:42px;object-fit:cover;display:block;border-radius:5px}
@media(min-width:650px){.body161-measure-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.body161-history table,.body161-comparison{font-size:13px}.body161-photo-side img{max-height:390px}.body161-metrics strong{font-size:29px}}
@media(max-width:360px){.frog-modal:has(.body161){padding:13px!important}.body161-launch strong{font-size:19px}.body161-measure-grid{gap:10px 7px}.body161-measure{grid-template-columns:24px minmax(0,1fr);gap:4px}.body161-marker,.body161-figure{width:24px}.body161-measure label{font-size:11px}.body161-metrics strong{font-size:24px}.body161-history table{font-size:11px}}

.body161-cycle summary{font-size:11px;cursor:pointer;min-height:24px}.body161-cycle small{display:block;margin-top:5px}.body161-form .body161-actions{position:sticky;bottom:0;background:var(--bg,#fffdf7);padding:7px 0 0;z-index:2}

/* Update 162: roomier dialog, compact content, one comparison board. */
.frog-modal:has(.body162){width:calc(100vw - 18px)!important;max-width:760px!important;max-height:92dvh!important;padding:16px!important;gap:8px!important;background:var(--bg,#fffdf7)}
.frog-modal:has(.body162) .modal-title{font-size:21px!important;padding-right:25px}.frog-modal:has(.body162)>div:first-child .muted{font-size:13px!important}
.body162{font-size:14px}.body162 .body161-tabs{margin-bottom:9px}.body162 .body161-tabs button{font-size:13px}.body162 .body161-history{margin-top:9px}.body162 .body161-history td{padding:6px 3px}.body162 .body161-measure-grid{gap:7px 10px}.body162 .body161-form-title{margin-bottom:8px}.body162 .body161-metrics{padding:5px 0 9px}.body162 .body161-line{margin:7px 0}.body162 .body161-switch{margin:8px 0}.body162 .body161-switch button{font-size:12px}.body162 .body161-comparison{margin-top:10px}.body162 .body161-measure label{font-size:13px}.body162 .body161-cycle{margin-top:7px}
.body162-reminder{display:block;width:100%;border:1px solid var(--rose,#ae527f);background:var(--mint,#edf1e4);color:inherit;padding:8px 10px;text-align:left;border-radius:9px;font-size:13px}
.body162-universe{position:relative;display:block;flex:none;width:60px;height:60px;isolation:isolate;pointer-events:none}.body162-planet{position:absolute;left:17px;top:16px;width:29px;height:29px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#e9c2dd 0,#ae527f 48%,#4b386c 100%);box-shadow:0 0 13px #b868a34d;animation:body162-pulse 4s ease-in-out infinite}.body162-orbit{position:absolute;inset:12px 1px;border:1px solid #ae527f99;border-radius:50%;transform:rotate(-32deg);animation:body162-space 12s linear infinite}.body162-universe i{position:absolute;top:10px;left:7px;width:5px;height:5px;background:#b1b859;border-radius:50%}.body162-universe b{position:absolute;right:3px;bottom:6px;font-size:16px;color:var(--rose,#ae527f)}
@keyframes body162-pulse{0%,100%{transform:scale(.88);box-shadow:0 0 8px #b868a34d}50%{transform:scale(1.12);box-shadow:0 0 19px #b868a375}}@keyframes body162-space{to{transform:rotate(328deg)}}@media(prefers-reduced-motion:reduce){.body162-planet,.body162-orbit{animation:none}}
.body162-legend{display:flex;justify-content:space-between;gap:5px;font-size:10px;margin:8px 0}.body162-legend span:first-child{color:#64866e}.body162-legend span:last-child{color:var(--rose,#ae527f)}.body162-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.body162-pair{min-width:0;font-variant-numeric:tabular-nums}.body162-pair>div:first-child{display:flex;align-items:baseline;gap:3px;min-width:0;margin-bottom:4px}.body162-pair strong{font-size:11px;font-weight:600;min-width:0;line-height:1.25}.body162-pair small{font-size:9px}.body162-pair b{margin-left:auto;color:var(--rose,#ae527f);font-size:11px;white-space:nowrap}.body162-pair-line{display:flex;align-items:center;gap:4px;height:15px}.body162-pair-line>span{height:7px;border-radius:3px;flex:none}.body162-pair-line>.before{background:#8ca893}.body162-pair-line>.after{background:#ae527f}.body162-pair-line>em{font-size:10px;font-style:normal;white-space:nowrap}.body162-period{display:flex;align-items:center;gap:8px;font-size:12px}.body162-period select{flex:1}.body162-report-card{padding:12px;background:#faf8f0;color:#244b37;border:1px solid #dbe0d3;border-radius:12px;margin-top:9px}.body162-report-card header{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.body162-report-card header strong{font-size:16px}.body162-report-card header small{font-size:10px;color:#737b70}.body162-weight{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px 0}.body162-weight small{display:block;font-size:10px}.body162-weight strong{display:block;font-size:27px;line-height:1.2;color:#a64d79;font-variant-numeric:tabular-nums}.body162-report-card footer{border-top:1px solid #dbe0d3;padding-top:8px;margin-top:12px}.body162-report-card footer>strong{font-size:12px;display:block}.body162-report-card footer>small{display:block;font-size:10px;color:#737b70;margin-top:5px}.body162-nutrition{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:6px}.body162-nutrition b{display:block;font-size:16px;color:#a64d79}.body162-nutrition small{display:block;font-size:10px}.body162-caption{font-size:11px;color:#737b70}.body162-export{width:100%;height:auto;display:block;margin-top:10px}.body162 .body161-notice{font-size:12px}.body162-report-card .body162-pair{color:#244b37}.body162-report-card .body162-pair b{color:#a64d79}
@media(max-width:360px){.frog-modal:has(.body162){padding:12px!important}.body162-pairs{gap:10px}.body162-report-card{padding:9px}.body162-weight strong{font-size:24px}.body162-pair strong{font-size:10px}}

.body162-daily-reminder{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 13px;margin:0 0 10px;border-radius:12px;border:1px solid var(--rose,#ae527f);background:var(--mint,#edf1e4);color:var(--pine,#244b37);text-align:left;cursor:pointer}.body162-daily-reminder strong{display:block;font-size:14px}.body162-daily-reminder small{display:block;font-size:12px;line-height:1.4;margin-top:3px}.body162-daily-reminder .body162-universe{width:56px}

.body165-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 0 12px;border-bottom:1px solid var(--line,#d9dfcf);font-variant-numeric:tabular-nums}.body165-summary>div{min-width:0}.body165-summary small{display:block;font-size:11px;line-height:1.3;min-height:28px;color:var(--muted,#737b70)}.body165-summary strong{display:block;font-size:25px;line-height:1.2;color:var(--pine,#244b37);white-space:nowrap;letter-spacing:-.5px}.body165-summary strong span{font-size:13px;font-weight:400;letter-spacing:0}.body165-before{display:block;font-size:11px;color:var(--muted,#737b70);margin:5px 0;white-space:nowrap}.body165-summary b{display:inline-block;padding:3px 8px;border-radius:12px;background:var(--mint,#e7ecd8);color:var(--rose,#a64d79);font-size:13px}.body165 .is-neutral{color:var(--muted,#737b70)!important}.body165 h3{font-size:16px;margin:12px 0 7px}.body165-table{font-size:13px!important}.body165-table th{font-size:11px!important}.body165-table th:first-child{width:37%}.body165-table th:last-child{width:23%}.body165-table td{padding:8px 4px!important}.body165-context{color:var(--muted,#737b70);font-size:11px;margin:5px 0!important}.body165-details{border:0!important;border-top:1px solid var(--line,#d9dfcf)!important;border-radius:0!important;padding:7px 0!important;margin:9px 0!important}.body165-details summary{font-size:13px;min-height:32px;padding:6px;cursor:pointer;color:var(--pine,#244b37);background:var(--mint,#e7ecd8);border-radius:8px}.body165-graphs{padding:9px 0}.body165-report{background:var(--bg,#faf8f0);padding:10px;border:1px solid var(--line,#d9dfcf);border-radius:11px;margin-top:9px}.body165-report header{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.body165-report header strong{font-size:17px}.body165-report header small{font-size:10px;color:var(--muted,#737b70)}.body165-report footer{margin-top:10px;padding-top:8px;border-top:1px solid var(--line,#d9dfcf)}.body165-report footer>strong{display:block;font-size:13px}.body165-food{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:7px 0}.body165-food b{display:block;font-size:17px;color:var(--rose,#a64d79)}.body165-food small,.body165-report footer>small{display:block;font-size:10px;color:var(--muted,#737b70)}.body165-report footer p{font-size:12px}.body165 .body161-measure-grid{gap:8px 9px}.body165 .body161-form-title{margin-bottom:8px}.body165 .body161-cycle{margin-top:7px}
@media(max-width:360px){.body165-summary{gap:5px}.body165-summary strong{font-size:22px}.body165-summary small{font-size:10px}.body165-before{font-size:10px}.body165-summary b{font-size:12px;padding:3px 6px}.body165-table{font-size:12px!important}}

/* One stable viewport across all journal tabs; only tab content scrolls. */
.frog-modal:has(.body165){height:min(92dvh,820px)!important;max-height:92dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.frog-modal:has(.body165)>[data-slot=dialog-header]{flex:none}
.frog-modal:has(.body165) .body165{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.body165>.body161-tabs{flex:none;margin-bottom:8px}
.body166-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:2px;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.body166-scroll:focus-visible{outline:2px solid var(--rose,#ae527f);outline-offset:-2px;border-radius:4px}
.body166-daily{width:100%;margin:0!important}
.body166-due{color:var(--rose,#ae527f)!important;font-weight:600}
