body{background:#f8f2e8}.chapter-heading{background:#d7a453;padding:58px 0 50px}.chapter-heading>.wrap{display:flex;justify-content:space-between;gap:35px;align-items:flex-end}.eyebrow{font:700 10px/1.5 Montserrat,Arial,sans-serif;letter-spacing:.15em;margin:0 0 17px}.chapter-heading h1{font:normal clamp(62px,7vw,96px)/1.08 Georgia,serif;letter-spacing:-.05em;margin:0 0 20px}.chapter-heading p:not(.eyebrow){font:23px/1.4 Georgia,serif;margin:0}.chapter-switch{min-width:240px;display:grid;gap:12px}.chapter-switch label,.collection-controls label{font-size:11px;font-weight:600}.chapter-switch select,.collection-controls input,.collection-controls select{display:block;width:100%;font:16px/1.5 Montserrat,Arial,sans-serif;border:1px solid #173a4960;border-radius:3px;padding:12px;background:#f8f2e8;color:#173a49}.text-link{font:600 12px/1.6 Montserrat,Arial,sans-serif;background:transparent;border:0;padding:0;color:#173a49;cursor:pointer}.gate{padding:35px 0}.gate a{margin-right:20px;font-weight:700}.totals-band{background:#96cee7;border-bottom:1px solid #173a4930}.chapter-totals{display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:29px 0}.chapter-totals>div{padding:0 28px;border-right:1px solid #173a4930}.chapter-totals>div:first-child{padding-left:0}.chapter-totals>div:last-child{border:0}.chapter-totals dt{font-size:11px;font-weight:600}.chapter-totals dd{font:48px/1.2 Georgia,serif;margin:10px 0 0}.chapter-tabs{border-bottom:1px solid #173a4930;background:#f8f2e8}.chapter-tabs nav{display:flex;gap:32px;overflow-x:auto}.chapter-tabs button{border:0;background:transparent;padding:22px 0;font:600 12px/1.4 Montserrat,Arial,sans-serif;white-space:nowrap;color:#173a49}.chapter-tabs button[aria-current]{box-shadow:inset 0 -3px #173a49}.chapter-body{padding:46px 0 70px;min-height:460px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}.section-title h2{font:46px/1.15 Georgia,serif;letter-spacing:-.03em;margin:0 0 14px}.section-title p:not(.eyebrow){max-width:650px;font-size:12px;line-height:1.8}.small{font-size:11px;line-height:1.8;color:#48626c}.overview-grid,.records-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.overview-card,.record-card{border:1px solid #173a4930;border-radius:5px;background:#fffaf1;padding:28px;min-width:0}.overview-card:nth-child(even){background:#e5f1f4}.overview-card h3,.record-card h3{font:31px/1.2 Georgia,serif;margin:0 0 16px;overflow-wrap:anywhere}.overview-card p,.record-card p{font-size:12px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.overview-card .text-link{display:block;margin-top:25px}.action{font:700 12px/1.5 Montserrat,Arial,sans-serif;border:1px solid #173a49;border-radius:3px;padding:13px 22px;background:#173a49;color:#fff;cursor:pointer}.action:disabled{opacity:.6;cursor:wait}.collection-controls{display:flex;gap:20px;align-items:flex-end;margin:0 0 25px}.search-field{flex:1}.filter-field{min-width:190px}.collection-controls .archive-toggle{display:flex;align-items:center;gap:8px;min-height:50px;white-space:nowrap}.archive-toggle input{width:16px}.record-card .meta{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:700;margin:0 0 14px}.record-card .record-actions{display:flex;gap:22px;flex-wrap:wrap;border-top:1px solid #173a4925;padding-top:17px;margin-top:22px}.record-card a{display:inline-block;max-width:100%;overflow-wrap:anywhere}.empty-state{grid-column:1/-1;padding:46px;border:1px dashed #173a4950;text-align:center}.empty-state h3{font:31px Georgia,serif}.empty-state p{font-size:12px;line-height:1.8}#chapter-dialog{width:min(650px,calc(100% - 24px));max-height:calc(100dvh - 30px);border:1px solid #173a4950;border-radius:7px;padding:0;background:#f8f2e8;color:#173a49}#chapter-dialog::backdrop{background:#173a4980}#record-form{padding:28px}.dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.dialog-top h2{font:36px Georgia,serif;margin:0}#record-fields{display:grid;gap:18px}#record-fields label{display:grid;gap:8px;font-size:11px;font-weight:600}#record-fields input,#record-fields select,#record-fields textarea{font:16px/1.5 Montserrat,Arial,sans-serif;padding:12px;width:100%;border:1px solid #173a4950;border-radius:3px;background:#fff;color:#173a49}#record-fields textarea{min-height:110px;resize:vertical}.dialog-actions{display:flex;gap:25px;margin-top:25px}#form-error{font-size:12px;color:#8d2d21}.notice{font-size:11px;line-height:1.8;padding:15px;background:#e5f1f4}#chapter-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173a49;color:white;padding:14px 24px;border-radius:4px;z-index:100;font-size:12px;max-width:90vw}button:focus-visible,summary:focus-visible{outline:3px solid #28657f;outline-offset:4px}@media(max-width:850px){.overview-grid,.records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-heading>.wrap{align-items:flex-start;flex-direction:column}.chapter-switch{width:100%}}@media(max-width:600px){.chapter-heading{padding:35px 0}.chapter-heading h1{font-size:63px}.chapter-heading p:not(.eyebrow){font-size:21px}.chapter-totals{grid-template-columns:repeat(2,1fr);gap:24px 0}.chapter-totals>div{padding:0 18px}.chapter-totals>div:nth-child(odd){padding-left:0}.chapter-totals>div:nth-child(2){border:0}.chapter-totals dd{font-size:40px}.chapter-tabs nav{gap:26px}.chapter-body{padding:32px 0 50px}.section-title{align-items:flex-start}.section-title h2{font-size:38px}.section-title .action{padding:11px 14px;white-space:nowrap}.overview-grid,.records-grid{grid-template-columns:1fr}.collection-controls{flex-wrap:wrap;gap:15px}.search-field{flex-basis:100%}.filter-field{flex:1;min-width:150px}#record-form{padding:22px}.overview-card,.record-card{padding:24px}.section-title .small{display:none}}
