/* Personal screens share the product shell and add scoped, responsive layouts. */
.pe-screen { color: #253f37; padding-bottom: 32px; }
.pe-page-heading { align-items: center; gap: 20px; }
.pe-page-heading h1 { letter-spacing: -.045em; }
.pe-heading-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pe-screen h2, .pe-screen h3 { color: #253f37; }
.pe-screen button, .pe-form button { -webkit-tap-highlight-color: transparent; }
.pe-text-button { border: 0; background: transparent; padding: 0; margin: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pe-text-button:hover { color: #34785c; }
.pe-text-button:focus-visible, .pe-area-item:focus-visible, .pe-filter-pill:focus-visible, .pe-priority-item:focus-visible, .pe-mood-choice:focus-visible, .pe-step-check:focus-visible { outline: 3px solid #9fc9b4; outline-offset: 4px; }
.pe-path-hero { min-height: 240px; padding: 35px 42px; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: center; background: #eaf4ec; border-radius: 23px; position: relative; overflow: hidden; }
.pe-hero-overline { display: block; color: #5b7964; font-size: 12px; font-weight: 700; letter-spacing: .15em; line-height: 1.7; margin-bottom: 14px; }
.pe-path-hero h2, .pe-diary-hero h2 { font-family: var(--display); font-weight: 400; font-size: clamp(31px, 3.2vw, 43px); line-height: 1.13; letter-spacing: -.035em; margin: 0 0 14px; }
.pe-path-hero-copy > p, .pe-diary-hero p { font-size: 14px; line-height: 1.8; color: #62766b; margin: 0; }
.pe-focus-card { position: relative; z-index: 1; padding: 23px 26px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.79); border-radius: 17px; box-shadow: 0 7px 24px #345d4210; max-width: 390px; }
.pe-focus-label { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .15em; color: #60806b; font-weight: 700; }
.pe-focus-card h3 { font-size: 19px; line-height: 1.4; margin: 12px 0 9px; letter-spacing: -.025em; }
.pe-focus-card p { font-size: 14px; line-height: 1.7; color: #6a7872; margin: 0 0 13px; }
.pe-focus-link { font-size: 14px; color: #34785c; font-weight: 700; border-bottom: 1px solid #a7c4ad; padding-bottom: 3px; }
.pe-hero-branch { position: absolute; right: -18px; bottom: -12px; width: 130px; height: 202px; color: #91b495; transform: rotate(8deg); opacity: .7; pointer-events: none; }
.pe-path-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 25px; align-items: start; }
.pe-path-main, .pe-path-aside { display: flex; flex-direction: column; gap: 27px; min-width: 0; }
.pe-panel-head { padding: 25px 25px 0; }
.pe-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pe-section-heading h2 { font-size: 17px; letter-spacing: -.025em; line-height: 1.4; margin: 0; }
.pe-section-heading .eyebrow { margin-bottom: 8px; font-size: 12px; letter-spacing: .13em; }
.pe-count-badge { background: #f0f5f1; color: #62806e; font-size: 13px; font-weight: 600; min-width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.pe-filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #eef2ee; }
.pe-compact-tabs { margin: 0; border-bottom: 0; gap: 23px; }
.pe-compact-tabs .tab { font-size: 14px; padding: 12px 0; }
.pe-filter-clear { display: inline-flex; align-items: center; gap: 7px; color: #4e715e; border: 0; border-radius: 16px; background: #eaf4ec; padding: 5px 9px; font: inherit; font-size: 14px; cursor: pointer; }
.pe-goals-panel { overflow: hidden; }
.pe-goal-row { display: flex; gap: 15px; padding: 23px 25px; }
.pe-goal-row + .pe-goal-row { border-top: 1px solid #edf1ed; }
.pe-area-icon { flex: 0 0 auto; width: 43px; height: 43px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #53735f; }
.pe-area-icon.mint, .pe-note-mood.mint, .pe-mood-face.mint { background: #eaf4ec; color: #4e785e; }
.pe-area-icon.blue, .pe-note-mood.blue, .pe-mood-face.blue { background: #eaf2fb; color: #6384a5; }
.pe-area-icon.sun, .pe-note-mood.sun, .pe-mood-face.sun { background: #fff4d4; color: #a38b44; }
.pe-area-icon.peach, .pe-note-mood.peach, .pe-mood-face.peach { background: #f9e7e0; color: #ad7d68; }
.pe-area-icon.lilac, .pe-note-mood.lilac, .pe-mood-face.lilac { background: #f0eaf8; color: #8b77a6; }
.pe-goal-main { flex: 1; min-width: 0; }
.pe-goal-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pe-goal-title { font-size: 15px; font-weight: 650; line-height: 1.5; letter-spacing: -.02em; }
.pe-small-icon { width: 27px; height: 27px; flex: 0 0 27px; color: #7f9387; }
.pe-goal-reason { font-size: 14px; color: #6a7872; line-height: 1.65; margin: 4px 0 9px; }
.pe-goal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pe-tiny-label { font-size: 13px; color: #6a7872; }
.pe-goal-meta .pe-tiny-label + .pe-tiny-label:before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #a9b4ab; margin-right: 11px; vertical-align: middle; }
.pe-next-step { display: flex; align-items: center; gap: 10px; margin-top: 15px; background: #f7f9f6; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: #5b7363; }
.pe-next-step > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pe-next-step .pe-text-button { line-height: 1.5; }
.pe-next-label { display: block; font-size: 12px; letter-spacing: .13em; font-weight: 700; color: #8a9b8b; }
.pe-step-check { width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid #cddbd0; border-radius: 7px; background: white; color: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.pe-step-check:hover { color: #7b9b84; background: #ecf4ed; }
.pe-step-check.is-done { background: #34785c; border-color: #34785c; color: #fff; }
.pe-next-add { width: 100%; border: 0; cursor: pointer; font: inherit; font-size: 14px; text-align: left; }
.pe-step-complete { color: #34785c; }
.pe-life-section { padding: 0 2px; }
.pe-muted-action { color: #7b8e80; font-size: 14px; white-space: nowrap; }
.pe-area-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.pe-area-item { display: flex; align-items: center; gap: 11px; border: 1px solid transparent; border-bottom-color: #e8eee7; background: transparent; text-align: left; padding: 11px 9px; color: #51695b; font: inherit; font-size: 14px; cursor: pointer; border-radius: 8px; }
.pe-area-item:hover, .pe-area-item.is-selected { background: #eff5ef; }
.pe-area-item.is-selected { border-color: #c8decd; }
.pe-area-item .pe-area-icon { width: 32px; height: 32px; border-radius: 9px; }
.pe-area-count { margin-left: auto; color: #528063; font-size: 13px; font-weight: 600; }
.pe-area-dot { margin-left: auto; width: 4px; height: 4px; border-radius: 50%; background: #d6e0d7; }
.pe-footnote { color: #6a7872; font-size: 14px; line-height: 1.8; margin: 13px 4px 0; }
.pe-annual-panel { padding: 27px; }
.pe-annual-intro { display: flex; align-items: flex-start; gap: 21px; }
.pe-annual-year { font-family: var(--display); font-size: 36px; letter-spacing: -.04em; line-height: 1.2; color: #c19c62; padding-top: 6px; }
.pe-annual-intro .eyebrow { color: #a38d68; font-size: 12px; margin-bottom: 6px; }
.pe-annual-intro h2 { font-size: 15px; line-height: 1.5; margin: 0 0 7px; letter-spacing: -.015em; }
.pe-annual-intro p:last-child, .pe-annual-empty { color: #6a7872; font-size: 14px; line-height: 1.7; margin: 0; }
.pe-annual-empty { margin: 17px 0; }
.pe-annual-panel > .btn { margin-top: 15px; }
.pe-priority-list { margin-top: 15px; }
.pe-priority-item { width: 100%; border: 0; border-top: 1px solid #eff1eb; background: transparent; display: flex; gap: 12px; align-items: center; padding: 14px 0; font: inherit; text-align: left; cursor: pointer; }
.pe-priority-item strong { font-size: 14px; font-weight: 600; }
.pe-priority-item small { display: block; font-size: 13px; color: #6a7872; margin-top: 5px; }
.pe-priority-marker { width: 29px; height: 29px; border-radius: 8px; background: #fff4d4; color: #ab8b4d; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pe-priority-marker.is-complete { background: #eaf4ec; color: #34785c; }
.pe-priority-month { margin-left: auto; color: #6a7872; font-size: 12px; white-space: nowrap; }
.pe-journey-panel { position: relative; padding: 25px !important; }
.pe-journey-symbol { display: flex; align-items: center; justify-content: center; width: 51px; height: 51px; background: #fff4d4; border-radius: 50%; color: #b89a53; margin-bottom: 22px; }
.pe-journey-panel .eyebrow { font-size: 12px; color: #88978c; }
.pe-journey-panel h2 { font-family: var(--display); font-size: 30px; font-weight: 400; margin: 8px 0 11px; letter-spacing: -.025em; }
.pe-journey-panel > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; color: #6a7872; }
.pe-journey-day { display: flex; align-items: baseline; gap: 8px; padding: 11px 0 19px; border-bottom: 1px solid #edf1e9; }
.pe-journey-day strong { font-size: 14px; font-weight: 600; color: #4e6e59; }
.pe-journey-day span { font-size: 12px; color: #6a7872; }
.pe-phase-list { list-style: none; padding: 18px 0 5px; margin: 0; }
.pe-phase-list li { position: relative; display: flex; gap: 11px; align-items: center; min-height: 35px; color: #6a7872; font-size: 14px; }
.pe-phase-list li:not(:last-child):after { content: ''; position: absolute; top: 23px; left: 5px; width: 1px; height: 23px; background: #e5ebe2; }
.pe-phase-node { width: 11px; height: 11px; background: white; border: 1px solid #dce5d8; border-radius: 50%; z-index: 1; flex: 0 0 11px; display: inline-flex; align-items: center; justify-content: center; }
.pe-phase-list li.is-current { color: #34785c; font-weight: 650; }
.pe-phase-list li.is-current .pe-phase-node { background: #478268; border: 3px solid #e5f0e5; outline: 1px solid #b8d2bb; }
.pe-phase-list li.is-past .pe-phase-node { background: #eaf4ec; color: #34785c; }
.pe-phase-list small { margin-left: auto; font-size: 12px; font-weight: 400; color: #77927b; }
.pe-journey-link { margin-top: 13px; font-size: 14px; font-weight: 600; color: #5c7c67; }
.pe-gentle-note { display: flex; gap: 13px; color: #8d9c87; padding: 2px 8px; }
.pe-gentle-note > svg { flex: 0 0 22px; margin-top: 2px; }
.pe-gentle-note p { margin: 0; font-size: 14px; line-height: 1.85; }
.pe-gentle-note strong { font-weight: 500; color: #70836f; }
.pe-kontaum { padding: 23px !important; background: #f8faf6 !important; border-color: #e8eee3 !important; }
.pe-kontaum-brand { color: #46775b; font-size: 21px; font-weight: 750; letter-spacing: -.06em; display: flex; gap: 2px; align-items: baseline; }
.pe-kontaum-brand > span { color: #d5b45b; font-size: 19px; }
.pe-kontaum h3 { margin: 16px 0 7px; font-size: 14px; }
.pe-kontaum p { color: #6a7872; font-size: 14px; line-height: 1.8; margin: 0 0 14px; }
.pe-empty { padding: 33px 22px 37px; text-align: center; }
.pe-empty h3, .pe-diary-empty h3 { font-size: 17px; font-weight: 600; }
.pe-empty p, .pe-diary-empty p { font-size: 14px; color: #6a7872; max-width: 360px; margin: 10px auto 18px; line-height: 1.8; }
.pe-empty-icon { color: #8fa98e; display: inline-flex; margin-bottom: 7px; }
.pe-diary-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff4d4; border-radius: 23px; margin: 24px 0 30px; padding: 34px 42px; min-height: 245px; overflow: hidden; }
.pe-diary-hero .pe-hero-overline { color: #a18b60; }
.pe-diary-hero h2 { font-size: clamp(33px, 3.5vw, 46px); color: #4f5943; }
.pe-diary-hero p { color: #786d51; }
.pe-privacy-label { display: inline-flex; align-items: center; gap: 6px; color: #9c926f; font-size: 12px; margin-top: 18px; }
.pe-notebook-art { width: 250px; height: 205px; margin-right: 20px; flex: 0 0 250px; }
.pe-mood-section { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 6px 5px 29px; border-bottom: 1px solid #e8eee6; margin-bottom: 29px; }
.pe-mood-section h2 { font-size: 16px; font-weight: 600; letter-spacing: -.025em; margin: 0 0 8px; }
.pe-mood-section p { font-size: 14px; color: #6a7872; margin: 0; line-height: 1.7; }
.pe-mood-options { display: flex; gap: 15px; align-items: center; }
.pe-mood-choice { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: transparent; font: inherit; font-size: 14px; color: #7b8f7c; cursor: pointer; padding: 0; min-width: 54px; }
.pe-mood-face { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 28px; font-weight: 400; transition: transform .18s; }
.pe-mood-choice:hover .pe-mood-face { transform: translateY(-3px); }
.pe-notes-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pe-notes-toolbar .eyebrow { font-size: 12px; margin-bottom: 8px; }
.pe-notes-toolbar h2 { font-size: 20px; letter-spacing: -.035em; margin: 0; display: flex; align-items: center; gap: 10px; }
.pe-notes-count { font-family: inherit; font-size: 13px; color: #89998a; font-weight: 400; }
.pe-search-field { display: flex; align-items: center; gap: 9px; border: 1px solid #e4ebe2; background: #fff; border-radius: 9px; padding: 11px 13px; color: #9aa99a; width: 240px; }
.pe-search-field input { background: transparent; border: 0; outline: 0; min-width: 0; width: 100%; font: inherit; font-size: 14px; color: #58705a; }
.pe-search-field input::placeholder { color: #a4afa0; }
.pe-search-field:focus-within { border-color: #99bea2; box-shadow: 0 0 0 3px #eaf4ec; }
.pe-diary-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 21px; }
.pe-filter-pill { font: inherit; font-size: 14px; border: 1px solid transparent; padding: 7px 12px; border-radius: 18px; background: transparent; color: #6a7872; cursor: pointer; white-space: nowrap; }
.pe-filter-pill:hover { background: #eef4ed; }
.pe-filter-pill.active { background: #eaf4ec; color: #4b7657; border-color: #dae8d9; font-weight: 600; }
.pe-notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; align-items: stretch; }
.pe-note-card { background: white; border: 1px solid #e6ece3; border-radius: 15px; padding: 22px 20px 18px; min-width: 0; display: flex; flex-direction: column; box-shadow: 0 3px 12px #344d3603; transition: box-shadow .18s, transform .18s; }
.pe-note-card:hover { box-shadow: 0 7px 22px #344d3609; transform: translateY(-2px); }
.pe-note-card.pe-note-featured { background: #f4f8ef; border-color: #e4ebdc; }
.pe-note-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pe-note-tag { display: inline-flex; align-items: center; gap: 5px; color: #6a7872; font-size: 12px; }
.pe-note-date { font-size: 12px; color: #6a7872; white-space: nowrap; }
.pe-note-open { display: block; flex: 1; width: 100%; padding: 19px 0 20px; }
.pe-note-open h3 { font-size: 16px; font-family: var(--display); font-weight: 400; line-height: 1.5; letter-spacing: -.015em; margin: 0 0 10px; }
.pe-note-open p { margin: 0; font-size: 14px; color: #6a7872; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.pe-note-bottom { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: auto; padding-top: 13px; border-top: 1px solid #e9eee3; }
.pe-note-mood { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 8px; border-radius: 12px; font-size: 12px; white-space: nowrap; }
.pe-note-mood > span { font-family: Georgia, serif; font-size: 14px; }
.pe-note-actions { display: flex; align-items: center; gap: 5px; }
.pe-private-mark { display: inline-flex; align-items: center; gap: 4px; color: #6a7872; font-size: 12px; }
.pe-diary-bottom-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; line-height: 1.7; color: #6a7872; margin: 24px 0 0; }
.pe-diary-empty { padding: 45px 25px; text-align: center; border: 1px dashed #dce6d6; border-radius: 17px; background: #fbfcf9; }
.pe-form { display: flex; flex-direction: column; gap: 17px; }
.pe-form .field { margin: 0; }
.pe-form .field > span { font-size: 14px; font-weight: 550; display: block; margin-bottom: 7px; }
.pe-form .input { width: 100%; min-height: 42px; font: inherit; font-size: 14px; box-sizing: border-box; }
.pe-form textarea.input { resize: vertical; line-height: 1.75; padding-top: 11px; }
.pe-form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.pe-form-three { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; }
.pe-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 7px; padding-top: 16px; border-top: 1px solid #edf1e8; flex-wrap: wrap; }
.pe-form-help { font-size: 14px; color: #6a7872; line-height: 1.8; margin: 3px 0; }
.pe-inline-help { display: flex; align-items: center; gap: 7px; }
.pe-checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; padding: 13px 14px; background: #f2f7ef; border-radius: 9px; color: #5f785d; }
.pe-checkbox-label input { margin-top: 4px; accent-color: #34785c; }
.pe-checkbox-help { display: block; font-size: 14px; color: #6a7872; margin-top: 2px; }
.pe-modal-intro { font-size: 14px; line-height: 1.9; color: #75856e; margin: 0 0 18px; }
.pe-form > .pe-modal-intro { margin-bottom: 0; }
.pe-detail-why { display: flex; gap: 14px; padding: 17px; background: #f7faf4; border: 1px solid #edf2e8; border-radius: 12px; margin-bottom: 24px; }
.pe-detail-why p { font-size: 14px; color: #6e8265; line-height: 1.75; margin: 5px 0 0; }
.pe-detail-section-title { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin: 23px 0 14px; }
.pe-detail-section-title h3 { font-size: 14px; margin: 0; }
.pe-detail-section-title .muted { font-size: 12px; }
.pe-detail-step { display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid #edf1e8; padding: 13px 0; }
.pe-detail-step strong { font-size: 14px; font-weight: 500; color: #4a6548; line-height: 1.6; }
.pe-detail-step small { display: block; color: #6a7872; font-size: 13px; margin-top: 3px; }
.pe-inline-form { display: flex; gap: 8px; margin-top: 17px; }
.pe-inline-form > .input { flex: 1; min-width: 0; font-size: 14px; }
.pe-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 25px 0 15px; }
.pe-completed-note { display: flex; gap: 13px; padding: 16px; border-radius: 10px; background: #eaf4ec; color: #4f7253; margin-top: 20px; }
.pe-completed-note strong { font-size: 14px; }
.pe-completed-note p { font-size: 14px; line-height: 1.8; margin: 8px 0 0; }
.pe-phase-explainer > div { display: flex; gap: 15px; padding: 13px 0; }
.pe-phase-explainer .pe-phase-node { margin-top: 5px; }
.pe-phase-explainer .is-current .pe-phase-node { background: #34785c; border-color: #34785c; }
.pe-phase-explainer section { flex: 1; }
.pe-phase-explainer h3 { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin: 0 0 7px; font-size: 14px; }
.pe-phase-explainer small { color: #6a7872; font-size: 12px; font-weight: 400; }
.pe-phase-explainer p { font-size: 14px; line-height: 1.8; color: #7c8c73; margin: 0; }
.pe-modal-note { display: flex; gap: 11px; padding: 16px 18px; background: #f3f7ef; border-radius: 11px; color: #829475; margin: 17px 0; }
.pe-modal-note > svg { flex: 0 0 18px; margin-top: 3px; }
.pe-modal-note p { font-size: 14px; line-height: 1.85; margin: 0; }
.pe-review-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #f2f7ed; border-radius: 13px; padding: 18px 14px; }
.pe-review-facts > div { display: flex; flex-direction: column; gap: 7px; text-align: center; }
.pe-review-facts strong { font-family: var(--display); font-size: 27px; font-weight: 400; color: #628057; }
.pe-review-facts span { font-size: 13px; color: #6a7872; line-height: 1.5; }
.pe-priority-reviews article { border-left: 2px solid #e2ecd8; padding-left: 15px; margin: 16px 0; }
.pe-priority-reviews strong { font-size: 14px; }
.pe-priority-reviews p { font-size: 14px; line-height: 1.8; color: #728568; white-space: pre-line; }
.pe-priority-reviews small { font-size: 13px; color: #6a7872; }
.pe-note-reading-meta { display: flex; align-items: center; justify-content: space-between; }
.pe-note-full-text { white-space: pre-wrap; font-size: 15px; color: #5e7654; line-height: 2; padding: 24px 0 29px; overflow-wrap: anywhere; }
.pe-note-reading-actions { border-top: 1px solid #e9efe3; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pe-delete-button { color: #b5907d; margin-left: auto; }
.pe-danger-btn { background: #a86b59; border-color: #a86b59; color: white; }
.pe-danger-btn:hover { background: #925e4f; }
.pe-share-audience { display: flex; gap: 11px; align-items: center; background: #eaf2fb; padding: 15px; border-radius: 10px; color: #6c89a5; }
.pe-share-audience strong { display: block; font-size: 14px; font-weight: 550; }
.pe-share-audience span { display: block; font-size: 13px; margin-top: 5px; line-height: 1.7; }
.pe-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1400px) {
  .pe-path-layout { grid-template-columns: minmax(0,1fr) 295px; gap: 30px; }
  .pe-path-hero { gap: 70px; }
  .pe-focus-card { max-width: 440px; }
}
@media (max-width: 1150px) {
  .pe-path-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 19px; }
  .pe-path-hero { padding: 31px; gap: 25px; }
  .pe-focus-card { padding: 20px; }
  .pe-notes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pe-notebook-art { margin-right: 0; width: 215px; flex-basis: 215px; }
  .pe-mood-options { gap: 9px; }
  .pe-mood-choice { min-width: 46px; }
  .pe-heading-actions .btn { font-size: 14px; }
}
@media (max-width: 930px) {
  .pe-page-heading { flex-wrap: wrap; }
  .pe-path-layout { grid-template-columns: minmax(0,1fr); }
  .pe-path-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .pe-journey-panel { grid-row: span 2; }
  .pe-gentle-note { order: 2; }
  .pe-kontaum { order: 1; }
  .pe-mood-section { flex-direction: column; align-items: flex-start; gap: 21px; }
  .pe-mood-options { gap: 21px; }
  .pe-mood-choice { min-width: 54px; }
}
@media (max-width: 620px) {
  .pe-page-heading { align-items: flex-start; gap: 17px; }
  .pe-page-heading > .btn { align-self: flex-start; }
  .pe-heading-actions { width: 100%; gap: 9px; }
  .pe-heading-actions .btn { padding-left: 12px; padding-right: 12px; font-size: 14px; }
  .pe-path-hero { display: block; min-height: 0; padding: 27px 25px; margin: 22px 0; border-radius: 18px; }
  .pe-hero-overline { font-size: 12px; letter-spacing: .12em; max-width: 270px; }
  .pe-path-hero h2 { font-size: 35px; }
  .pe-path-hero-copy > p { font-size: 14px; }
  .pe-focus-card { max-width: none; margin-top: 24px; padding: 20px; }
  .pe-focus-card h3 { font-size: 17px; }
  .pe-hero-branch { top: 16px; right: -30px; width: 90px; height: 160px; opacity: .45; }
  .pe-path-main, .pe-path-aside { gap: 23px; }
  .pe-panel-head { padding: 21px 18px 0; }
  .pe-section-heading h2 { font-size: 16px; }
  .pe-goal-row { padding: 21px 17px; gap: 11px; }
  .pe-goal-row > .pe-area-icon { width: 36px; height: 36px; border-radius: 10px; }
  .pe-goal-title { font-size: 14px; }
  .pe-goal-reason { font-size: 14px; }
  .pe-next-step { margin-left: -47px; margin-top: 15px; }
  .pe-goal-meta { gap: 8px; }
  .pe-tiny-label { font-size: 13px; }
  .pe-area-grid { column-gap: 7px; }
  .pe-area-item { padding: 10px 3px; gap: 8px; font-size: 14px; min-height: 48px; }
  .pe-area-item .pe-area-icon { width: 29px; height: 29px; border-radius: 8px; }
  .pe-area-item .pe-area-icon svg { width: 16px; height: 16px; }
  .pe-muted-action { font-size: 14px; }
  .pe-annual-panel { padding: 22px 20px; }
  .pe-annual-intro { gap: 14px; }
  .pe-annual-year { font-size: 30px; }
  .pe-annual-intro h2 { font-size: 14px; }
  .pe-path-aside { display: flex; }
  .pe-journey-panel { padding: 23px !important; }
  .pe-phase-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .pe-phase-list li:after { display: none; }
  .pe-phase-list small { font-size: 12px; }
  .pe-gentle-note, .pe-kontaum { order: initial; }
  .pe-diary-hero { position: relative; padding: 28px 25px; min-height: 257px; margin: 22px 0 27px; border-radius: 18px; }
  .pe-diary-hero h2 { font-size: 36px; }
  .pe-diary-hero .pe-hero-overline { font-size: 12px; max-width: 245px; }
  .pe-diary-hero p { max-width: 230px; font-size: 14px; }
  .pe-notebook-art { width: 116px; height: 120px; position: absolute; right: -20px; bottom: 4px; transform: rotate(12deg); opacity: .7; }
  .pe-diary-hero > div { position: relative; z-index: 1; }
  .pe-privacy-label { font-size: 12px; margin-top: 19px; }
  .pe-mood-section { gap: 19px; padding: 0 0 25px; }
  .pe-mood-section h2 { font-size: 15px; }
  .pe-mood-options { width: 100%; justify-content: space-between; gap: 5px; }
  .pe-mood-choice { min-width: 45px; font-size: 14px; padding: 3px; }
  .pe-mood-face { width: 42px; height: 42px; }
  .pe-notes-toolbar { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 15px; }
  .pe-notes-toolbar h2 { font-size: 19px; }
  .pe-search-field { width: auto; min-height: 21px; }
  .pe-diary-filters { gap: 5px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-bottom: 15px; scrollbar-width: thin; }
  .pe-filter-pill { font-size: 14px; padding: 9px 12px; }
  .pe-notes-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .pe-note-card { padding: 21px; }
  .pe-note-open h3 { font-size: 19px; }
  .pe-note-open p { font-size: 14px; }
  .pe-note-tag, .pe-note-date { font-size: 12px; }
  .pe-note-mood, .pe-private-mark { font-size: 12px; }
  .pe-diary-bottom-note { align-items: flex-start; font-size: 14px; padding: 0 5px; }
  .pe-diary-bottom-note svg { flex-shrink: 0; margin-top: 2px; }
  .pe-form-two, .pe-form-three { grid-template-columns: 1fr; gap: 17px; }
  .pe-form .input { font-size: 16px; }
  .pe-form textarea.input { font-size: 14px; }
  .pe-form-actions { gap: 8px; }
  .pe-form-actions .btn { font-size: 14px; }
  .pe-phase-explainer h3 { flex-direction: column; gap: 4px; }
  .pe-phase-explainer p { font-size: 14px; }
  .pe-detail-actions .btn { font-size: 14px; }
  .pe-note-reading-actions { gap: 8px; }
  .pe-note-reading-actions .btn { font-size: 14px; }
  .pe-note-full-text { font-size: 14px; }
  .pe-review-facts { gap: 7px; padding: 15px 9px; }
  .pe-review-facts span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pe-note-card, .pe-mood-face { transition: none; }
  .pe-note-card:hover, .pe-mood-choice:hover .pe-mood-face { transform: none; }
}

/* Readability and touch targets across personal screens. */
.pe-screen .btn, .pe-form .btn, .pe-detail-actions .btn,
.pe-note-reading-actions .btn { min-height: 44px; font-size: 14px; }
.pe-screen .pe-text-button { min-height: 44px; }
.pe-goal-title { font-size: 16px; }
.pe-path-hero h2, .pe-diary-hero h2, .pe-journey-panel h2,
.pe-annual-year, .pe-note-open h3, .pe-review-facts strong { font-family: var(--display); font-weight: 600; }
.pe-path-hero h2, .pe-diary-hero h2 { line-height: 1.16; }
.pe-note-open h3 { font-size: 19px; line-height: 1.45; }
.pe-path-hero-copy > p, .pe-diary-hero p { font-size: 15px; }
.pe-focus-card p, .pe-goal-reason, .pe-annual-intro p:last-child,
.pe-annual-empty, .pe-journey-panel > p:not(.eyebrow), .pe-kontaum p,
.pe-note-open p, .pe-gentle-note p { font-size: 14px; line-height: 1.75; }
.pe-section-heading h2 { font-size: 20px; }
.pe-annual-intro h2, .pe-kontaum h3 { font-size: 17px; }
.pe-section-heading .eyebrow { letter-spacing: .08em; }
.pe-focus-label, .pe-next-label { letter-spacing: .075em; }
.pe-small-icon { width: 44px; height: 44px; flex: 0 0 44px; }
.pe-compact-tabs .tab, .pe-filter-pill, .pe-filter-clear { min-height: 44px; font-size: 14px; }
.pe-compact-tabs .tab { padding: 12px 8px; }
.pe-step-check { width: 44px; height: 44px; flex: 0 0 44px; position: relative; border: 0; background: transparent; border-radius: 10px; }
.pe-step-check::before { content: ''; position: absolute; inset: 10px; background: #fff; border: 1px solid #bdd1c4; border-radius: 6px; }
.pe-step-check > svg { position: relative; z-index: 1; }
.pe-step-check.is-done { background: transparent; color: white; }
.pe-step-check.is-done::before { background: #34785c; border-color: #34785c; }
.pe-next-step { gap: 7px; padding: 11px 9px; }
.pe-next-step > div { flex: 1; }
.pe-next-step .pe-text-button { min-height: 44px; padding-block: 5px; }
.pe-next-add { min-height: 48px; }
.pe-area-item { min-height: 54px; font-size: 14px; line-height: 1.4; }
.pe-area-item > span:nth-child(2) { min-width: 0; overflow-wrap: normal; }
.pe-phase-list li { min-height: 41px; font-size: 14px; }
.pe-phase-list li:not(:last-child):after { top: 27px; height: 27px; }
.pe-phase-list small { margin-left: 5px; line-height: 1.4; }
.pe-journey-day { flex-wrap: wrap; row-gap: 4px; }
.pe-journey-link { display: inline-flex; align-items: center; }
.pe-search-field { width: 280px; min-height: 44px; box-sizing: border-box; }
.pe-search-field input { font-size: 14px; }
.pe-mood-options { gap: 14px; }
.pe-mood-choice { font-size: 14px; min-width: 58px; min-height: 71px; }
.pe-mood-face { width: 44px; height: 44px; }
.pe-note-card-top, .pe-note-bottom { flex-wrap: wrap; }
.pe-note-tag { line-height: 1.5; }
.pe-note-actions { margin-left: auto; }
.pe-form .input { min-height: 44px; font-size: 15px; }
.pe-form .field > span, .pe-checkbox-label, .pe-form-help,
.pe-detail-step strong, .pe-modal-note p, .pe-modal-intro { font-size: 14px; }
.pe-form .field { gap: 4px; }
.pe-inline-form > .input { font-size: 14px; min-height: 44px; }
.pe-delete-button { width: 44px; height: 44px; }
@media (max-width: 1150px) {
 .pe-path-layout { grid-template-columns: minmax(0,1fr) 266px; }
 .pe-journey-panel { padding: 23px !important; }
 .pe-heading-actions .btn { font-size: 14px; }
 .pe-mood-options { gap: 12px; }
}
@media (max-width: 1040px) {
 .pe-path-layout { grid-template-columns: minmax(0,1fr); }
 .pe-path-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
 .pe-journey-panel { grid-row: span 2; }
 .pe-path-hero { grid-template-columns: 1fr .95fr; gap: 22px; }
 .pe-mood-section { flex-direction: column; align-items: flex-start; }
 .pe-mood-options { width: 100%; justify-content: space-between; }
}
@media (max-width: 620px) {
 .pe-heading-actions { display: grid; grid-template-columns: 1fr; }
 .pe-heading-actions .btn { justify-content: center; font-size: 14px; }
 .pe-path-hero { display: block; padding: 29px 24px; }
 .pe-path-hero h2, .pe-diary-hero h2 { font-size: 34px; }
 .pe-hero-overline, .pe-diary-hero .pe-hero-overline { font-size: 12px; letter-spacing: .07em; }
 .pe-focus-card { padding: 20px; }
 .pe-focus-card h3 { font-size: 19px; }
 .pe-goal-row { padding: 22px 17px; }
 .pe-goal-topline { gap: 5px; }
 .pe-goal-title { font-size: 16px; }
 .pe-goal-meta { row-gap: 8px; }
 .pe-goal-meta .pe-tiny-label + .pe-tiny-label:before { margin-right: 6px; }
 .pe-tiny-label { font-size: 12px; }
 .pe-next-step { padding: 11px 8px; }
 .pe-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
 .pe-section-heading h2 { font-size: 19px; }
 .pe-muted-action { font-size: 14px; }
 .pe-area-grid { grid-template-columns: 1fr; }
 .pe-area-item { padding: 11px 7px; font-size: 14px; gap: 12px; }
 .pe-area-item .pe-area-icon { width: 34px; height: 34px; }
 .pe-area-item .pe-area-icon svg { width: 18px; height: 18px; }
 .pe-annual-intro { flex-direction: column; gap: 12px; }
 .pe-annual-year { font-size: 33px; }
 .pe-annual-intro h2 { font-size: 18px; }
 .pe-priority-item { flex-wrap: wrap; }
 .pe-priority-item > span:nth-child(2) { flex: 1; min-width: 160px; }
 .pe-priority-month { padding-left: 41px; margin-left: 0; }
 .pe-path-aside { display: flex; }
 .pe-phase-list { display: block; }
 .pe-phase-list small { font-size: 12px; margin-left: auto; }
 .pe-phase-list li:not(:last-child):after { display: block; }
 .pe-diary-hero { padding: 29px 24px 35px; }
 .pe-diary-hero p { font-size: 14px; max-width: 250px; }
 .pe-notebook-art { opacity: .3; width: 112px; right: -17px; }
 .pe-mood-section h2 { font-size: 17px; line-height: 1.55; }
 .pe-mood-options { gap: 3px; align-items: flex-start; }
 .pe-mood-choice { flex: 1; min-width: 0; font-size: 14px; line-height: 1.5; padding: 3px 0; }
 .pe-search-field { width: 100%; }
 .pe-search-field input { font-size: 16px; }
 .pe-filter-pill { font-size: 14px; }
 .pe-note-open h3 { font-size: 20px; }
 .pe-note-open p { font-size: 14px; }
 .pe-note-tag, .pe-note-date, .pe-note-mood, .pe-private-mark { font-size: 12px; }
 .pe-diary-bottom-note { font-size: 13px; }
 .pe-form .input, .pe-form textarea.input { font-size: 16px; }
 .pe-form-actions, .pe-detail-actions, .pe-note-reading-actions { gap: 10px; }
 .pe-form-actions .btn, .pe-detail-actions .btn, .pe-note-reading-actions .btn { font-size: 14px; min-height: 44px; }
 .pe-form-actions { align-items: stretch; }
 .pe-form-actions .btn { flex: 1 1 140px; }
 .pe-phase-explainer p { font-size: 14px; }
 .pe-review-facts { gap: 9px; padding: 17px 11px; }
 .pe-review-facts span { font-size: 12px; }
}
