/* HAEBOM 4.1 | A single interface language, progressive disclosure. */
:root{--v41-space-xs:6px;--v41-space-sm:12px;--v41-space-md:20px;--v41-space-lg:32px;--v41-radius:14px;--v41-content:960px;--v41-heading:clamp(27px,4.6vw,36px)}
/* Shared page geometry and titles */
.journal-layout{width:min(var(--v41-content),100%);padding-top:clamp(23px,4vw,42px);padding-bottom:calc(160px + env(safe-area-inset-bottom,0px))}
.tab-page-heading,.home-page-heading{margin:0 0 27px!important;padding:0!important;min-height:0}
.tab-page-heading h1,.home-page-heading h1,.quiet-home-title-line h1{font-size:var(--v41-heading)!important;font-weight:770!important;line-height:1.2;letter-spacing:-.055em!important;margin:0!important}
.tab-page-heading p,.home-page-heading .page-subtitle{margin:7px 0 0!important;color:var(--sub);font-size:14px!important;line-height:1.5}
.home-heading-holder{margin:0}
.quiet-home-date[hidden]{display:none!important}
/* Brand discovery remains the first major content; concise. */
.discovery-home{margin:0 0 22px!important}
.discovery-home-link{border-radius:var(--v41-radius)!important;min-height:148px!important;padding:22px clamp(20px,4vw,30px)!important;box-shadow:none!important}
.discovery-home-main{margin-top:9px!important}
.discovery-home-main strong{font-size:clamp(23px,4vw,32px)!important;letter-spacing:-.055em}
.discovery-home-eyebrow{font-size:10px;letter-spacing:.09em}
.discovery-banner-cta{margin-top:12px!important;font-weight:760;text-decoration:underline;text-underline-offset:4px}
.discovery-home-link:focus-visible,.discovery-home-link:hover{border-color:var(--brand)!important}
.home-compact-summary{margin:0 0 22px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.home-compact-summary .quiet-home-total{margin:0;display:flex;align-items:baseline;gap:5px}
.home-compact-summary .quiet-home-total strong{font-size:22px!important;line-height:1.3}
.home-compact-summary .quiet-home-total span{font-size:13px!important}
.quiet-home-recent{margin-top:25px!important}
.quiet-home-recent,.quiet-home-upcoming,.quiet-home-revisit{margin-bottom:27px!important}
.quiet-home-collections,.quiet-home-years-section{margin:19px 0 0!important}
.home-archive-more{margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-archive-more>summary{min-height:54px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:14px;font-weight:680;color:var(--brand);list-style:none}
.home-archive-more>summary:after{content:'⌄';font-size:19px}
.home-archive-more[open]>summary:after{transform:rotate(180deg)}
.home-archive-more>summary::-webkit-details-marker{display:none}
.home-archive-more .quiet-section-heading h2{font-size:16px}
/* Footprints: three unmistakable and equal state tabs */
.footprint-sections{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:5px!important;background:#f0edeb;border:0!important;border-radius:14px;overflow:visible!important;margin:0 0 22px!important}
.footprint-section{border:0!important;border-radius:10px!important;min-width:0;min-height:47px;padding:8px 4px!important;font-size:clamp(12px,2.6vw,14px)!important;font-weight:670!important;white-space:nowrap;color:#746d69!important;transition:background .15s,color .15s,box-shadow .15s}
.footprint-section.active,.footprint-section[aria-current="page"]{background:#fff!important;color:var(--ink)!important;box-shadow:0 1px 5px rgba(35,25,25,.07)!important}
.footprint-pending{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;margin-left:2px;background:#e9e3df;border-radius:100px;min-width:20px;height:20px;padding:0 5px;font-size:11px}
.footprint-section.active .footprint-pending{background:var(--brand-pale);color:var(--brand)}
#footprint-overview[hidden],#trail-progress[hidden]{display:none!important}
/* Search is a visible button-like control, not plain text. */
.streamlined-archive .section-title-inline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 15px!important}
.streamlined-archive .section-title-inline h2{font-size:17px!important;margin:0!important}
.archive-heading-subtitle{display:none}
.journal-filter-panel{margin-bottom:18px!important;border:0!important}
.journal-filter-panel>summary{display:flex;gap:9px;min-height:48px;align-items:center;justify-content:space-between;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 15px!important;color:var(--ink)!important;font-size:14px!important;transition:border-color .15s,background .15s}
.journal-filter-panel>summary:hover,.journal-filter-panel[open]>summary{border-color:#bdaeb6;background:#fdfafc}
.journal-filter-panel .journal-controls{border:1px solid var(--line);border-top:0;border-radius:0 0 11px 11px;padding:17px 14px;background:#fff}
.journal-filter-panel[open]>summary{border-radius:11px 11px 0 0}
.filter-control-label{display:inline-flex;align-items:center;font-weight:710}
.footprint-collection-area{margin:14px 0 0!important;padding:17px 0 0!important;border-top:1px solid var(--line)!important;border-bottom:0!important}
.footprint-collection-head small{display:none}
.footprint-collection-grid{gap:8px!important}
.footprint-collection-grid .v37-collection-tile{flex-basis:115px!important}
.footprint-collection-grid .v37-collection-cover{aspect-ratio:1.6!important}
/* Record controls and cards: actions are subordinate, consistently spaced. */
.cards:not(.list-mode){gap:clamp(10px,2vw,18px)!important}
.experience-card{border:1px solid var(--line)!important;border-radius:var(--v41-radius)!important;background:#fff!important;box-shadow:none!important;transform:none!important}
.experience-card:hover{border-color:#d5c8c5!important;box-shadow:0 4px 14px rgba(50,35,35,.045)!important}
.experience-card .diary-page-copy,.experience-card.diary-text-only .diary-page-copy{background:transparent!important;border:0!important;border-top:0!important;min-height:0!important;padding:15px!important}
.diary-page-copy h3{font-size:16px!important;line-height:1.4!important;margin-top:8px!important}
.diary-page-bottom{margin-top:15px}
.card-actions button{min-height:36px!important;padding:8px 9px!important;border-radius:8px;background:#f7f4f1!important;font-size:12px!important;color:#6d6260!important}
.card-actions button:hover{background:#efe8eb!important;color:var(--brand)!important}
.diary-text-only .diary-page-copy{display:flex;flex-direction:column;justify-content:space-between;min-height:176px!important}
.quiet-list-heading .view-switch{flex-shrink:0}
/* Plans + bucket have no repeated promotional headings */
.plan-intro{padding:14px 0 18px!important;margin-bottom:18px;border-top:0!important}
.plan-intro-count strong{font-size:24px!important}
.planned-guidance.subtle-hint{margin:0 0 16px;color:var(--sub);font-size:13px;line-height:1.6}
.bucket-header{margin:10px 0 20px!important;gap:12px!important}
.bucket-header h2{font-size:18px!important;font-weight:740;margin:0!important}
.bucket-header h2 span{font-size:14px}
/* Consistent actionable links / buttons / settings rows */
.quiet-section-heading button,.quiet-section-title button,.recall-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px!important;border-radius:9px!important;color:var(--brand)!important;font-weight:730!important;text-decoration:none}
.quiet-section-heading button:hover,.quiet-section-title button:hover,.recall-refresh:hover{background:var(--brand-pale)!important}
.plan-create-btn,.editor-save,.discovery-actions button{border-radius:11px!important;min-height:46px}
.my-category-section,.my-tour-section,.my-recall-section,.data-zone{margin-top:22px!important}
/* Drawer / fixed bottom navigation breathing room */
.haebom-tabbar{box-shadow:0 4px 23px rgba(35,24,25,.07)!important}
.haebom-tab{min-height:54px!important}
#archive-view .journal-layout{padding-bottom:calc(170px + env(safe-area-inset-bottom,0px))}
@media(max-width:650px){
 .journal-layout{padding-top:24px!important}
 .discovery-home-link{min-height:142px!important;padding:19px!important}
 .discovery-home-copy{max-width:72%}
 .discovery-banner-art{transform:scale(.76);transform-origin:right center}
 .tab-page-heading,.home-page-heading{margin-bottom:22px!important}
 .streamlined-archive .section-title-inline{align-items:center}
 .streamlined-archive .section-title-inline h2{font-size:16px!important}
 .plan-create-btn{font-size:13px!important}
 .cards:not(.list-mode){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .experience-card .diary-page-copy,.experience-card.diary-text-only .diary-page-copy{padding:12px!important}
 .diary-page-copy h3{font-size:15px!important}
 .card-actions{gap:3px}
 .card-actions button{padding:7px!important}
 .footprint-sections{gap:3px!important;padding:4px!important}
 .footprint-section{min-height:45px!important}
 .footprint-pending{min-width:18px;height:18px;padding:0 4px}
 .journal-filter-panel .journal-controls{padding:13px 11px}
}
@media(prefers-reduced-motion:reduce){.experience-card,.discovery-home-link,.footprint-section{transition:none!important}}
