/* Six quiet stages. Content will be developed one stage at a time. */
.ch-workspace{max-width:880px;margin:20px auto 60px;color:var(--ink,#262320)}
.ch-workspace *{box-sizing:border-box}
.ch-top,.ch-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ch-eyebrow{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#756d63;margin:0}
.ch-close{border:0;background:none;padding:12px 0;font:inherit;font-size:13px;color:#756d63;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ch-steps{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid #e3d8c5;margin:12px 0 32px}
.ch-step{background:none;border:0;border-bottom:2px solid transparent;padding:14px 12px;font:inherit;font-size:13px;color:#756d63;cursor:pointer;min-height:44px}
.ch-step[aria-current=step]{border-bottom-color:#262320;color:#262320;font-weight:600}
.ch-stage{min-height:210px;padding:20px 0}
.ch-count{font-size:12px;color:#877e72;margin:0 0 18px}
.ch-title{font-size:36px;font-weight:400;line-height:1.2;margin:0 0 16px;outline:none}
.ch-purpose{font-size:16px;line-height:1.6;color:#756d63;max-width:520px;margin:0}
.ch-preview-note{font-size:12px;line-height:1.6;color:#877e72;max-width:520px;margin:16px 0 24px}
.ch-footer{border-top:1px solid #e3d8c5;padding-top:20px}
.ch-footer>.primary{margin-left:auto}
.ch-workspace .btn,.ch-entry .btn,.ch-range-entry .btn{flex:0 0 auto;font-size:13px;padding:11px 16px;border-radius:8px;min-height:44px}
.ch-workspace button{touch-action:manipulation}
.ch-workspace button:focus-visible{outline:2px solid #a99879;outline-offset:3px}
.ch-entry{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:18px 0 25px;border-bottom:1px solid #e3d8c5;margin-bottom:20px}
.ch-muted{font-size:13px;line-height:1.6;color:#756d63}
.ch-range-entry{display:flex;justify-content:flex-end;margin:0 0 12px}
.ch-reflection,.ch-brief{max-width:640px}
.ch-intro{font-size:15px;line-height:1.6;color:#756d63;margin:0 0 26px}
.ch-reflection-count{font-size:11px;letter-spacing:.06em;color:#877e72;margin:0 0 12px}
.ch-question{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:25px;line-height:1.3;margin:0 0 10px;outline:none}
.ch-question-hint{font-size:14px;color:#756d63;line-height:1.5;margin:0 0 18px}
.ch-answer{display:block;width:100%;min-height:112px;resize:none;overflow:hidden;border:1px solid #dacdb9;border-radius:12px;padding:15px;font:inherit;font-size:16px;line-height:1.55;background:var(--surface,#fffdf8);color:var(--ink,#262320)}
.ch-answer:focus,.ch-name:focus{outline:2px solid #a99879;outline-offset:2px}
.ch-key-hint,.ch-save-note{font-size:12px;line-height:1.5;color:#877e72;margin:10px 0 20px}
.ch-save-note{margin:12px 0 20px}
.ch-save-error,.ch-validation{color:#9f4837}
.ch-validation{font-size:13px;line-height:1.5;margin:14px 0 0}
.ch-validation:empty{display:none}
.ch-name-label{display:block;font-size:12px;color:#756d63;margin-bottom:8px}
.ch-name{width:100%;font-family:Newsreader,Georgia,serif;font-size:24px;color:var(--ink);padding:10px 0;border:0;border-bottom:1px solid #dacdb9;background:none;border-radius:0}
.ch-dates{font-size:12px;color:#756d63;margin:12px 0 22px}
.ch-dates>summary{cursor:pointer;min-height:44px;padding:12px 0;line-height:1.5}
.ch-date-fields{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:12px}
.ch-date-fields label{display:grid;gap:6px;min-width:0;flex:1}
.ch-date-fields input{box-sizing:border-box;min-width:0;width:100%;font:inherit;font-size:16px;padding:8px;border:1px solid #dacdb9;border-radius:6px;background:var(--surface)}
.ch-brief-row{border-top:1px solid #e3d8c5;padding:16px 0}
.ch-brief-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ch-brief-heading h3{font-size:12px;font-weight:500;color:#756d63;margin:0}
.ch-edit{font:inherit;font-size:12px;padding:8px 0 8px 16px;border:0;background:none;color:#756d63;cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:36px}
.ch-brief-answer{font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}
@media(max-width:600px){
  .ch-workspace{margin:15px auto 40px}
  .ch-steps{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;margin-bottom:22px;overflow-x:auto;scrollbar-width:thin}
  .ch-step{flex:0 0 auto;padding:12px 3px;font-size:clamp(9px,2.6vw,11px);white-space:nowrap}
  .ch-stage{min-height:190px;padding-top:12px}
  .ch-title{font-size:30px}
  .ch-purpose{font-size:15px}
  .ch-question{font-size:23px}
  .ch-intro{font-size:14px;margin-bottom:22px}
}

/* Mountains keep principles above achievements, with the thinking one tap away. */
.ch-title-note{font-size:12px;line-height:1.5;color:#877e72;margin:10px 0 0;min-height:18px}
.ch-title-note .ch-edit{padding:0 0 0 10px}
.ch-mountains{max-width:640px}
.ch-mountain-principle{font:inherit;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#877e72;margin:0 0 14px}
.ch-principle-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.ch-choice{font:inherit;text-align:left;font-size:15px;color:var(--ink);background:transparent;border:1px solid #dacdb9;border-radius:9px;padding:16px;cursor:pointer;min-height:54px;overflow-wrap:anywhere}
.ch-choice::before{content:'';display:inline-block;width:7px;height:7px;margin-right:10px;border-radius:50%;background:var(--principle-color)}
.ch-choice:hover,.ch-existing-mountain:hover{background:#e9dfcb66}
.ch-existing-mountain{display:block;width:100%;font:inherit;text-align:left;color:var(--ink);font-size:16px;line-height:1.4;background:none;border:0;border-bottom:1px solid #e3d8c5;padding:17px 0;min-height:48px;cursor:pointer;overflow-wrap:anywhere}
.ch-existing-mountain:disabled{opacity:.45;cursor:default}
.ch-add-mountain{font:inherit;font-size:13px;display:block;color:#756d63;background:none;border:0;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:12px 0;cursor:pointer;margin-top:12px}
.ch-mountain-group{margin:26px 0}
.ch-mountain-card{border-top:1px solid #e3d8c5;margin:0;padding:0 0 4px}
.ch-mountain-card>summary{font-family:Newsreader,Georgia,serif;font-size:22px;line-height:1.3;cursor:pointer;padding:16px 0;min-height:52px;overflow-wrap:anywhere}
.ch-mountain-card>summary::marker{font-size:12px;color:#a99879}
.ch-mountain-card .ch-brief-answer{margin:0 0 14px}
.ch-mountain-label{font-size:11px;letter-spacing:.04em;color:#877e72;margin:6px 0}
.ch-mountain-actions{display:flex;justify-content:flex-start;gap:22px;padding-bottom:12px}
.ch-mountain-actions .ch-edit{padding-left:0}
.ch-mountain-incomplete{border-left:2px solid #a99879;padding:4px 14px;margin:20px 0;font-size:13px;color:#756d63}
.ch-mountain-incomplete .ch-edit{padding-left:0;margin-right:18px}
@media(max-width:600px){.ch-choice{font-size:14px;padding:14px 10px}.ch-mountain-card>summary{font-size:21px}}

.ch-later-mountains{margin:22px 0;font-size:13px;color:#756d63}
.ch-later-mountains>summary{cursor:pointer;min-height:44px;padding:13px 0}
.ch-later-mountain{border-top:1px solid #e3d8c5;padding:18px 0 6px}
.ch-later-mountain .ch-mountain-principle{margin-bottom:6px}
.ch-later-mountain .ch-edit{padding-left:0}

.ch-principle-count{display:block;margin:5px 0 0 17px;font-size:11px;color:#877e72;white-space:nowrap}
.ch-original-thoughts{margin:18px 0;font-size:13px;color:#756d63}
.ch-original-thoughts>summary{cursor:pointer;padding:12px 0;min-height:44px}
.ch-original-thoughts>.ch-brief-answer{max-height:260px;overflow:auto;padding-right:8px}
.ch-original-thoughts .ch-edit{padding-left:0}
.ch-choice:disabled{opacity:.55;cursor:default}

.ch-key-hint:empty{display:none}

/* A readable path first; editing and later detail unfold in place. */
.ch-path{max-width:680px}
.ch-path-group{margin:28px 0}
.ch-path-card{border-top:1px solid #e3d8c5;padding:12px 0 20px}
.ch-path-card h3{font-size:23px;font-weight:400;line-height:1.3;margin:0;overflow-wrap:anywhere;color:var(--ink)}
.ch-path-card .ch-edit{white-space:nowrap}
.ch-path-card .ch-key-hint{margin:4px 0 10px}
.ch-path-next{font-size:14px;line-height:1.5;color:#756d63;margin:0;overflow-wrap:anywhere}
.ch-path-prompt{font-size:17px;font-weight:500;margin:25px 0 8px}
.ch-path-stage{border-top:1px solid #dacdb9;padding:0 0 14px}
.ch-path-stage>summary{display:flex;align-items:baseline;gap:15px;font-family:Newsreader,Georgia,serif;font-size:23px;line-height:1.35;padding:18px 0;min-height:56px;cursor:pointer;list-style:none;overflow-wrap:anywhere}
.ch-path-stage>summary::after{content:'+';font:400 18px sans-serif;margin-left:auto;color:#877e72}
.ch-path-stage[open]>summary::after{content:'−'}
.ch-path-number{font:500 10px sans-serif;text-transform:uppercase;letter-spacing:.07em;color:#877e72;min-width:25px;flex-shrink:0}
.ch-path-milestone{border-left:2px solid #d9ccb5;margin:12px 0 16px 10px;padding:0 0 6px 18px}
.ch-path-milestone>summary{font-size:15px;line-height:1.5;min-height:44px;padding:10px 0;cursor:pointer;overflow-wrap:anywhere}
.ch-path-input{width:100%;display:block;min-height:44px;resize:none;overflow:hidden;border:1px solid #dacdb9;border-radius:7px;font:inherit;font-size:16px;line-height:1.5;padding:9px 11px;background:var(--surface,#fffdf8);color:var(--ink)}
.ch-path-input:focus,.ch-path-minutes:focus{outline:2px solid #a99879;outline-offset:2px}
.ch-path-options{font-size:11px;color:#877e72;margin:0 0 10px}
.ch-path-options>summary{padding:7px 0;min-height:32px;cursor:pointer}
.ch-path-options .ch-edit{padding:6px 14px 6px 0;min-height:36px}
.ch-path-action{display:grid;grid-template-columns:minmax(0,1fr) 67px;column-gap:10px;align-items:start;margin:10px 0}
.ch-path-action>.ch-path-options{grid-column:1/-1;margin:0}
.ch-path-duration{display:flex;flex-direction:column-reverse;align-items:center;gap:3px;font-size:10px;color:#877e72}
.ch-path-minutes{width:100%;min-height:44px;border:1px solid #dacdb9;border-radius:7px;background:var(--surface);font:inherit;font-size:16px;padding:9px 5px;color:var(--ink);text-align:center}
@media(max-width:600px){.ch-path-stage>summary{font-size:21px;gap:10px}.ch-path-milestone{margin-left:3px;padding-left:12px}.ch-path-card h3{font-size:21px}}
