body .pb-log{--log-ink:#293b30;--log-muted:#8b9781;--log-line:#e4eadd;--log-accent:#5d7e58;color:var(--log-ink);width:100%;max-width:660px;margin:0 auto;font-family:inherit;font-size:14px;line-height:1.5;box-sizing:border-box}body .pb-log *,body .pb-log-dialog *{box-sizing:border-box}body .pb-log button,body .pb-log input,body .pb-log-dialog button{font:inherit;margin:0;box-shadow:none;letter-spacing:normal;text-transform:none}body .pb-log button{cursor:pointer}body .pb-log button:disabled{cursor:default;opacity:.5}body .pb-log-top{display:flex;align-items:center;gap:12px;padding:14px 0;background:#fafbf8f5;backdrop-filter:blur(14px);position:sticky;top:0;z-index:8;border-bottom:1px solid var(--log-line)}body .pb-log-back{flex:none;border:0;background:transparent;color:#70836a;width:34px;min-height:44px;padding:0;font-size:30px;border-radius:12px}body .pb-log-title{flex:1;min-width:0}body .pb-log-title>[data-log-clock]{font-size:26px;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}body .pb-log-title h1{font-size:14px;line-height:1.5;font-weight:500;margin:4px 0 0;color:#7c8972;overflow-wrap:anywhere;letter-spacing:normal}body .pb-log-finish{flex:none;min-height:43px;padding:10px 17px;border:0;border-radius:22px;background:var(--log-accent);color:#fff;font-size:13px;font-weight:600}body .pb-log-caption{display:flex;justify-content:space-between;gap:12px;margin:14px 0 18px;color:var(--log-muted);font-size:11px}body .pb-log-cards{display:grid;gap:17px}body .pb-log-card{margin:0;padding:17px 15px 0;border:1px solid var(--log-line);border-radius:23px;background:white;overflow:hidden;box-shadow:0 4px 14px #34492b03}body .pb-log-card-head{display:flex;align-items:center;gap:10px}body .pb-log-thumb{width:45px;height:45px;min-width:45px;padding:0;border:1px solid #edf0e5;border-radius:12px;background:#fafbf6;overflow:hidden}body .pb-log-thumb img{width:100%;height:100%;display:block;object-fit:contain}body .pb-log-exercise-title{flex:1;min-width:0}body .pb-log-exercise-title h2{font-size:17px;font-weight:650;line-height:1.4;margin:0;color:var(--log-ink);overflow-wrap:anywhere;letter-spacing:normal}body .pb-log-exercise-title p{font-size:11px;color:#98a18d;line-height:1.4;margin:4px 0 0}body .pb-log-rest,body .pb-log-more{flex:none;width:auto;min-width:31px;height:34px;min-height:34px;border:1px solid var(--log-line);border-radius:11px;background:#f7f9f3;color:#7f9075;padding:4px;font-size:19px}body .pb-log-help{display:flex;gap:19px;margin:13px 0 15px}body .pb-log-help button{border:0;background:none;color:#7b8c70;padding:2px 0;min-height:30px;font-size:11px}body .pb-log-table{margin:14px 0}body .pb-log-labels,body .pb-log-row{display:grid;grid-template-columns:27px repeat(3,minmax(0,1fr)) 30px;gap:8px;align-items:center}body .pb-log-labels{color:#98a18b;font-size:10px;padding:0 0 5px;text-align:center}body .pb-log-row{padding:7px 0}body .pb-log-index{width:27px;height:35px;min-height:35px;border:1px solid var(--log-line);border-radius:18px;background:#fafbf7;color:#849078;font-size:12px;line-height:1.1;padding:2px 0}body .pb-log-index small{display:block;font-size:8px;font-weight:400}body .pb-log-value{min-width:0;text-align:center}body .pb-log-value input{width:100%;min-width:0;height:43px;min-height:43px;border:1px solid #e3e7e9;border-radius:13px;background:#fafbfd;padding:6px 4px;text-align:center;color:var(--log-ink);font-size:18px;line-height:1.4;appearance:textfield}body .pb-log-value input:focus{outline:2px solid #afc59d;outline-offset:1px}body .pb-log-check{display:flex;align-items:center;justify-content:center;margin:0;padding:0}body .pb-log-check input{appearance:none;width:25px;min-width:25px;height:25px;min-height:25px;border:1px solid #d8e2d1;border-radius:50%;background:#f6f8f2;margin:0;padding:0;cursor:pointer;display:grid;place-content:center}body .pb-log-check input:checked{background:#88a77e;border-color:#88a77e}body .pb-log-check input:checked:after{content:'✓';color:white;font-size:16px;line-height:1}body .pb-log-row.is-done .pb-log-value input{background:#f0f6eb;border-color:#d4e3ca}body .pb-log-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:12px -15px 0;padding:4px 13px;border-top:1px solid #edf0e5}body .pb-log-card-footer button{border:0;background:transparent;color:#708468;min-height:43px;padding:7px 2px;font-size:12px}body .pb-log-card-footer span{margin-right:auto;font-size:11px;color:#7c8f6d}body .pb-log-history{font-size:12px;color:#7b8b70;border:1px solid #e2ead8;border-radius:13px;padding:10px 12px;margin:10px 0;background:#f6f9f0}body .pb-log-history summary{cursor:pointer;font-weight:600}body .pb-log-history p{font-size:12px;margin:9px 0 0;line-height:1.7}body .pb-log-add-exercise{width:100%;min-height:53px;margin-top:18px;border:1px dashed #d9e3cf;border-radius:18px;background:transparent;color:#75866b;font-size:14px;padding:12px}body .pb-log-once{font-size:11px;color:#9ba58e;text-align:center;margin:8px 0 18px}body .pb-log-skipped>span{grid-column:2/5;font-size:12px;color:#9aa58c}body .pb-log-skipped>button:last-child{font-size:10px;border:0;background:none;color:#6d865f;padding:0}body .pb-log-message{position:fixed;z-index:70;bottom:105px;left:50%;transform:translateX(-50%);width:min(570px,calc(100% - 36px));border-radius:16px;padding:13px 16px;background:#fff4e4;color:#7d6240;box-shadow:0 7px 22px #34482a12;font-size:13px;line-height:1.6}body .pb-log [hidden],body .pb-log-dialog [hidden]{display:none!important}body .pb-log-dialog{width:min(510px,calc(100% - 28px));max-height:88svh;border:1px solid #dfe5d8;border-radius:24px;padding:0;background:#fff;color:#2d3d31;font-family:inherit;box-shadow:0 22px 70px #273b3020}body .pb-log-dialog::backdrop{background:#26372e55;backdrop-filter:blur(4px)}body .pb-log-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid #edf0e7}body .pb-log-dialog-head h2{font-size:20px;line-height:1.4;margin:0}body .pb-log-dialog-head button{width:40px;min-height:40px;border:1px solid #e4eadd;border-radius:13px;background:#fff;color:#718269;font-size:23px;padding:4px}body .pb-log-dialog-body{padding:20px 22px 24px;line-height:1.7}body .pb-log-dialog-body h3{font-size:20px;margin:8px 0 16px}body .pb-log-dialog-body p{font-size:13px;margin:12px 0;color:#78876e}body .pb-log-choice{display:block;width:100%;min-height:47px;margin:8px 0;border:1px solid #e0e7d6;background:#f5f8ef;color:#637e55;border-radius:14px;font-size:14px;padding:12px 14px;text-align:left}body .pb-log-primary{display:block;width:100%;min-height:47px;border:0;border-radius:20px;background:#5d7e58;color:#fff;padding:12px;font-size:14px;margin-top:18px}body .pb-log-guide-image{width:100%;height:auto;display:block;border-radius:17px}body .pb-log-weight-example{background:#eff5e7;border-radius:15px;padding:16px;color:#647f54;font-size:18px;font-weight:600}body .pb-log-recommendation{margin:10px 0}body .pb-log-recommendation .coach-plan-row{margin:0;min-height:40px;padding:10px 12px;border-radius:13px;font-size:11px}body .pb-log-recommendation .coach-plan-label{font-size:12px}body .pb-log-recommendation .next-target-row>span:nth-child(2){font-size:10px}
body .pb-log-recommendation .pb-coach-swap{border:0;background:transparent;min-height:30px;font-size:11px;color:#7e956c;padding:5px 0}body .pb-log-recommendation .pb-coach-tools{font-size:11px;color:#7e956c}body .pb-log-recommendation .pb-coach-tools>summary{cursor:pointer;padding:6px 0}body .pb-log-recommendation .pb-coach-tools .card{box-shadow:none;border:0;padding:8px 0;margin:0}body .pb-log-recommendation svg{width:16px;height:16px}

/* The confirmation shell uses the same skin; each source retains its validation. */
body #sheet.pb-log-dialog{width:min(510px,calc(100% - 28px));max-width:510px;border-radius:24px;padding:0}
body #sheet.pb-log-dialog .pb-log-dialog-head,body .pb-log-dialog .pb-log-dialog-head{padding:19px 22px}
body #sheet.pb-log-dialog .pb-log-dialog-body,body .pb-log-dialog .pb-log-dialog-body{padding:20px 22px 24px}
body #sheet.pb-log-dialog h2{font-size:20px;line-height:1.4;margin:0}
body .pb-log-dialog .pb-log-dialog-body select,body .pb-log-dialog .pb-log-dialog-body input:not([type=checkbox]){width:100%;min-height:46px;padding:10px 12px;border:1px solid #dfe6d7;border-radius:13px;background:#fafbf8;color:#384b3b;font:inherit;font-size:16px}
body .pb-log-dialog .pb-log-dialog-body label{font-size:13px;line-height:1.7;color:#6f8165}
body .pb-log-dialog .btn.primary,body #sheet.pb-log-dialog .btn.primary{background:#5d7e58;border:0;border-radius:20px;min-height:47px;padding:12px;color:#fff;font-size:14px}
body .pb-log-dialog .finish-summary img{width:48px;height:48px}
body .pb-log-dialog .finish-summary h3{font-size:18px}
body .pb-log-help button{min-height:40px}
body .pb-log-rest,body .pb-log-more{min-height:40px;height:40px;min-width:34px}
body .pb-log-check{min-height:44px}
/* Visible actions and one confirmation for every program entry. */
body .pb-log-swap{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:8px;padding:7px 13px;border:1px solid #cbdabb;border-radius:13px;background:#edf4e5;color:#48653a;font-size:12px;font-weight:650;white-space:nowrap}
body .pb-log-card-footer{flex-wrap:wrap;justify-content:space-between;gap:4px 10px}
body .pb-log-card-footer .pb-log-set-tools{font-size:11px;margin-right:auto}
body .pb-log-card-footer [data-log-rest-status]{order:3;width:100%;margin:0;padding:0 0 7px}
body .pb-log-choice small{display:block;font-size:11px;color:#8a9780;margin-top:3px}
body .pb-log-confirm-mascot{display:block;width:64px;height:76px;object-fit:contain;margin:0 0 10px}
body .pb-log-cancel{display:block;width:100%;min-height:44px;border:0;background:transparent;color:#7d8c74;border-radius:16px;padding:10px;font:inherit;font-size:13px;margin-top:6px}
body .pb-log-danger{background:#a05b4f}
body .pb-log-dialog [data-confirm-error]{color:#9b4f42;background:#fff4ef;padding:10px 12px;border-radius:12px}

body .pb-log-value input::placeholder{color:#6e7982;opacity:1;font-weight:400}body .pb-target-action{padding:17px 18px;background:#eff5e8;border:1px solid #dce6d3;border-radius:17px;margin:0 0 18px}body .pb-target-action strong{color:#4f6d48;font-size:16px}body .pb-target-action p{margin:8px 0 0;line-height:1.7;color:#40533b}

/* Preview the actual routine before its clock starts. */
.pb-program-preview{list-style:none;counter-reset:exercise;margin:16px 0 20px;padding:0;max-height:min(42vh,360px);overflow-y:auto;overscroll-behavior:contain}.pb-program-preview li{counter-increment:exercise;display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf0e9}.pb-program-preview img,.pb-preview-number{flex:0 0 40px;border-radius:11px;background:#f3f6ee;object-fit:contain}.pb-preview-number{height:40px;display:grid;place-items:center;color:#718466}.pb-preview-number:before{content:counter(exercise)}.pb-program-preview strong{display:block;font-size:14px;font-weight:600;line-height:1.4}.pb-program-preview small{display:block;margin-top:4px;font-size:12px;color:#7c8978}

body dialog[data-program-confirmation="start"][open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}body dialog[data-program-confirmation="start"] .pb-log-dialog-head{flex:none}body dialog[data-program-confirmation="start"] .pb-log-dialog-body{display:flex;flex-direction:column;min-height:0;overflow:hidden}body dialog[data-program-confirmation="start"] .pb-log-confirm-mascot{width:48px;height:56px;flex:none}body dialog[data-program-confirmation="start"] .pb-program-preview{flex:1;min-height:60px;max-height:36dvh}body dialog[data-program-confirmation="start"] [data-confirm-program],body dialog[data-program-confirmation="start"] [data-confirm-cancel]{flex:none}body dialog[data-program-confirmation="start"] h3,body dialog[data-program-confirmation="start"] p{flex:none}

/* A short target summary; reasons stay available on demand. */
body .pb-target-sheet>h3{font-size:19px;line-height:1.35;letter-spacing:-.3px;margin:0 0 16px;overflow-wrap:anywhere}
body .pb-target-sheet .pb-target-cue{font-size:14px;line-height:1.55;color:#3f6049;background:#f1f5ed;border-radius:12px;padding:11px 13px;margin:0 0 18px;font-weight:550}
body .pb-target-sheet .pb-target-cue.is-held{color:#765c38;background:#fbf4e8}
body .pb-target-sheet .pb-target-metrics{gap:0;margin:0 0 16px;padding:4px 0 14px;border-bottom:1px solid #e8ece4}
body .pb-target-sheet .pb-target-metrics>div{background:transparent;border-radius:0;padding:4px 7px;gap:2px;min-width:0}
body .pb-target-sheet .pb-target-metrics>div+div{border-left:1px solid #e8ece4}
body .pb-target-sheet .pb-target-metrics strong{font-size:27px;line-height:1.3;font-weight:600;color:#354e40;overflow-wrap:anywhere}
body .pb-target-sheet .pb-target-metrics span{font-size:12px;line-height:1.5;color:#667362}
body .pb-target-sheet .pb-target-last,body .pb-target-sheet [data-initial-load]{font-size:12px;line-height:1.5;color:#586a55;margin:0 0 14px}
body .pb-target-sheet .next-target-table .progression-table{margin:12px 0 16px}
body .pb-target-sheet .pb-target-details{border:0;border-top:1px solid #e8ece4;border-radius:0;padding:0;margin:6px 0 16px;background:transparent}
body .pb-target-sheet .pb-target-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:48px;padding:10px 0;color:#536a56;font-size:13px;cursor:pointer}
body .pb-target-sheet .pb-target-details>summary::-webkit-details-marker{display:none}
body .pb-target-sheet .pb-target-details>summary:after{content:'＋';font-size:17px;flex:none}
body .pb-target-sheet .pb-target-details[open]>summary:after{content:'−'}
body .pb-target-sheet .pb-target-detail-body{padding:0 0 8px}
body .pb-target-sheet .pb-target-detail-body p{font-size:13px;line-height:1.65;color:#53614f;margin:8px 0 12px}
body .pb-target-sheet .pb-target-detail-body .pb-target-rir-help{font-size:12px;color:#6c7867}
body .pb-target-sheet .btn.primary{margin:0;min-height:48px}
body .pb-target-sheet summary:focus-visible{outline:2px solid #78966d;outline-offset:3px;border-radius:6px}
body .pb-log-history{background:transparent;border:0;border-radius:0;padding:0;margin:5px 0 10px;font-size:11px;color:#6c7b64}
body .pb-log-history>summary{min-height:40px;display:flex;align-items:center;gap:6px;font-weight:400;list-style:none}
body .pb-log-history>summary::-webkit-details-marker{display:none}
body .pb-log-history>summary:after{content:'⌄';font-size:14px}
body .pb-log-history[open]>summary:after{content:'⌃'}
body .pb-log-history .pb-log-history-hint{font-size:11px;color:#76846e;margin:3px 0 8px}
body .pb-target-sheet .pb-target-metrics{border-bottom:0;padding-bottom:2px}
body .pb-target-sheet .pb-target-set-count{font-size:12px;color:#667362;margin:0 0 8px}
body .pb-target-sheet .next-target-table .progression-row{grid-template-columns:26px repeat(3,minmax(0,1fr));gap:8px;margin:7px 0}
body .pb-target-sheet .next-target-table .progression-row>:last-child{display:none}
body .pb-target-sheet .next-target-table .progression-row strong{padding:8px 2px;font-size:16px}

/* Unknown RIR remains legible in the narrow mobile field. */
body .pb-log-value input[data-log-field="rir"]::placeholder{font-size:11px;letter-spacing:0}
body .pb-log-message{pointer-events:none}
