.part-page{max-width:800px;color:#183e4a}
.part-page>.page-top{margin-bottom:8px}
.part-page>.page-top h1{overflow-wrap:anywhere;font-size:clamp(2.125rem,4vw,3rem)}
.part-age{font-size:.875rem;color:#657c84;margin:0 0 26px}
.part-checkin-card{margin:28px 0 24px;padding:28px;border:1px solid #fff;border-radius:20px;background:linear-gradient(135deg,#fdfcf9,#edf2f1)}
.part-checkin-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.part-checkin-card .section-label{font-size:.7rem;letter-spacing:.14em;color:#5f7780}
.part-checkin-card h2{font-size:1.625rem;margin:8px 0 0}
.part-checkin-card .primary{border-radius:999px;white-space:nowrap;min-height:44px;padding:12px 20px;font-size:.9375rem}
.part-checkin-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:22px 0;margin:22px 0 0;border-top:1px solid #dce5e4;border-bottom:1px solid #dce5e4}
.part-checkin-summary dt{font-size:.75rem;color:#617b85;margin:0 0 8px}
.part-checkin-summary dd{margin:0;font-size:1rem;line-height:1.5}
.part-intention{font-size:1rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.part-plan-actions{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 18px;margin-top:12px}
.part-plan-actions .quiet{padding:10px 0;font-size:.9375rem;min-height:44px}
.part-plan-actions details>summary{font-size:.8125rem;cursor:pointer;min-height:44px;align-content:center}
.part-plan-actions details>div{display:flex;flex-direction:column;align-items:flex-start}
.part-alert-note{font-size:.75rem;color:#5b7580;line-height:1.6;margin:4px 0 0}
.part-about{border-bottom:1px solid #d3dedd;margin:0 0 32px}
.part-about>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:56px;font-size:1rem;padding:10px 0}
.part-about>summary::-webkit-details-marker{display:none}
.part-about[open]>summary span{transform:rotate(45deg)}
.part-about form{padding:8px 0 24px}
.part-about textarea{min-height:110px}
.part-history h2{font-size:1.875rem;margin:0 0 8px}
.part-history-row{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:22px 0;border:0;border-bottom:1px solid #d3dedd;border-radius:0;background:none;color:inherit}
.part-history-meta{font-size:.8125rem;color:#637c84}
.part-history-row strong{font-size:1rem;font-weight:500;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.part-history-empty{font-size:1rem;line-height:1.6;margin:20px 0;color:#627c84}
.part-earlier summary{padding:18px 0;cursor:pointer;font-size:.875rem}
.checkin-dialog p{line-height:1.65;font-size:1rem}
.checkin-dialog .small{font-size:.8125rem}
.checkin-dialog input,.checkin-dialog select,.checkin-dialog textarea{min-width:0;width:100%;max-width:100%;box-sizing:border-box;font-size:1rem;border-radius:10px}
.checkin-dialog textarea{min-height:100px}
.checkin-dialog .formrow{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.checkin-dialog .formrow>div{min-width:0}
.checkin-dialog .checkin-explainer{font-size:.875rem;color:#566e77}
.checkin-dialog fieldset{border:0;padding:0;margin:22px 0}
.checkin-dialog legend{font-size:.875rem;margin-bottom:10px}
.checkin-weekdays{display:flex;gap:6px;flex-wrap:wrap}
.checkin-weekdays label{position:relative;flex:1;min-width:38px;margin:0;font-weight:400}
.checkin-weekdays input{position:absolute;opacity:0;width:1px;height:1px}
.checkin-weekdays span{display:grid;place-content:center;min-height:44px;border:1px solid #c4d2d5;border-radius:10px;font-size:.75rem}
.checkin-weekdays input:checked+span{background:#274b55;color:#fff;border-color:#274b55}
.checkin-weekdays input:focus-visible+span{outline:2px solid #406a7a;outline-offset:3px}
.checkin-zone{margin:14px 0;font-size:.8125rem;color:#5d7681}
.checkin-zone summary{cursor:pointer;padding:10px 0;min-height:44px;box-sizing:border-box}
.checkin-part-name{font-family:Georgia,serif;font-size:1.5rem!important;margin-top:0;overflow-wrap:anywhere}
.part-page :is(button,summary,input,select,textarea):focus-visible{outline:2px solid #4a798c;outline-offset:3px}
.calendar-month-button{border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;padding:8px 0;min-height:44px;cursor:pointer}
.calendar-month-button span{font-size:.75rem;color:#718b96;margin-left:8px}
.calendar-grid{min-height:276px;grid-auto-rows:46px;touch-action:pan-y}
.calendar-dot.planned-dot{background:transparent;box-shadow:0 0 0 1px #6e939f}
.calendar-foot{flex-wrap:wrap;column-gap:8px}
.calendar-foot>span{font-size:.75rem}
.calendar-foot .quiet{margin-left:auto}
.journey-plans{margin:16px 0 8px;border:1px solid #dce5e6;border-radius:14px;background:#f9fbfa;padding:0 16px}
.journey-plan{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}
.journey-plan+.journey-plan{border-top:1px solid #dce5e6}
.journey-plan-open{background:none;border:0;text-align:left;color:#183e4a;padding:0;flex:1;min-width:0}
.journey-plan-open strong{display:block;font-size:1rem;font-weight:500;overflow-wrap:anywhere;line-height:1.5}
.journey-plan .quiet{font-size:.8125rem;padding:8px 0;min-height:44px;flex-shrink:0}
.planned-label{font-size:.6875rem;letter-spacing:.06em;text-transform:uppercase}
.journey-day-entries.is-updating{animation:day-appear .18s ease-out}
@keyframes day-appear{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:760px){.part-page{padding-left:20px;padding-right:20px}.part-checkin-card{padding:20px}.part-checkin-heading{align-items:flex-start}.part-checkin-card h2{font-size:1.5rem}.part-checkin-summary{gap:16px}.part-checkin-summary dd{font-size:.9375rem}}
@media(max-width:380px){.part-checkin-heading{flex-wrap:wrap}.checkin-dialog .formrow{gap:10px}.checkin-weekdays{gap:3px}.checkin-weekdays label{min-width:32px}.part-checkin-summary{grid-template-columns:1fr;gap:18px}.journey-plan{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.journey-day-entries.is-updating{animation:none}}
