#export-all-sections{margin:24px auto;padding:24px;max-width:1200px;background:#fffaf1;border:1px solid #dfd8c9;border-radius:16px;color:#29443c;scroll-margin-top:20px}#export-all-sections summary{cursor:pointer;font-size:1.3rem;font-weight:600}#export-all-sections .home-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}#export-all-sections .home-directory-group h2{font-size:1.1rem;margin:20px 0 10px}#export-all-sections ul{list-style:none;margin:0;padding:0}#export-all-sections .home-destination{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e6dfd2;text-decoration:none;color:inherit}#export-all-sections strong,#export-all-sections small{display:block}#export-all-sections small{font-size:.85rem;line-height:1.5;color:#68786f;margin-top:5px}#export-all-sections a:hover{background:#f0ecdf}#export-all-sections a:focus-visible{outline:3px solid #976f46;outline-offset:3px}@media(max-width:800px){#export-all-sections .home-directory{grid-template-columns:1fr 1fr}}@media(max-width:540px){#export-all-sections{margin:16px;padding:18px}#export-all-sections .home-directory{grid-template-columns:1fr}}
/* These pages keep the header control and reveal the directory only on demand. */
[data-sections-presentation="dialog"] #export-all-sections:not(.v2-sections-content){display:none}
dialog.v2-sections-modal{position:fixed;inset:0;transform:none;margin:auto;width:min(1120px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #dfd8c9;border-radius:16px;background:#fffaf1;color:#29443c;overflow:auto;box-shadow:0 20px 70px #152e3440}
dialog.v2-sections-modal:not([open]){display:none}
dialog.v2-sections-modal[open]{display:block}
dialog.v2-sections-modal::backdrop{background:rgb(20 34 31 / .5)}
.v2-sections-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #dfd8c9;position:sticky;top:0;background:#fffaf1;z-index:1}
.v2-sections-modal-header h2{font-size:1.5rem;line-height:1.3;margin:0}
.v2-sections-modal-header button{flex-shrink:0;min-height:44px;cursor:pointer}
.v2-sections-modal #export-all-sections{margin:0;padding:0 24px 24px;border:0;border-radius:0;max-width:none;scroll-margin:0}
@media(max-width:540px){dialog.v2-sections-modal{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.v2-sections-modal-header{padding:16px}.v2-sections-modal #export-all-sections{margin:0;padding:0 16px 20px}.v2-sections-modal-header h2{font-size:1.25rem}}
/* Floating section directory, matching the archive menu reference. */
html.v2-sections-open{overflow:hidden}
dialog.v2-sections-modal{box-sizing:border-box;width:min(1170px,calc(100% - 48px));max-height:calc(100dvh - 64px);border:1px solid #d6c7b7;border-radius:12px;background:#fffcf7;color:#3f3328;overflow:hidden;box-shadow:0 16px 50px #0003;font-family:Arial,sans-serif}
dialog.v2-sections-modal[open]{display:flex;flex-direction:column}
dialog.v2-sections-modal::backdrop{background:rgb(25 28 26 / .56)}
.v2-sections-modal-header{position:static;flex:none;align-items:flex-start;padding:20px 26px 24px;background:#fffcf7;border-bottom:1px solid #dbcab8}
.v2-sections-modal-header h2{font:normal 32px/1.2 Georgia,serif;color:#3f3328}
.v2-sections-modal-header p{font-size:18px;line-height:1.5;margin:8px 0 0;color:#665648}
.v2-sections-modal-header button{display:flex;align-items:center;gap:12px;background:#fffefa;color:#23635c;border:1px solid #d5dcd6;border-radius:10px;padding:10px 18px;min-height:52px;font:600 18px/1.3 Arial,sans-serif}
.v2-sections-modal-header button span{font-size:29px;font-weight:400;line-height:1}
.v2-sections-modal #export-all-sections{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0;padding:26px;background:#fffcf7;color:#3f3328}
.v2-sections-modal #export-all-sections .home-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px}
.v2-sections-modal #export-all-sections .home-directory-group{min-width:0;margin:0;padding:0;border:0;background:none}
.v2-sections-modal #export-all-sections .home-directory-group h2{font:normal 25px/1.3 Georgia,serif;margin:0 0 8px;padding:0 0 12px;border-bottom:2px solid #c3a082;color:#3f3328}
.v2-sections-modal #export-all-sections ul{margin:0;padding:0;list-style:none}
.v2-sections-modal #export-all-sections .home-destination{display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:54px;box-sizing:border-box;padding:12px;border:0;border-radius:6px;background:transparent;color:#3f3328;font-size:18px;line-height:1.6}
.v2-sections-modal #export-all-sections .home-destination strong{font-weight:400}
.v2-sections-modal #export-all-sections .home-destination small{display:none}
.v2-sections-modal #export-all-sections .home-destination svg{width:22px;height:22px;flex:none}
.v2-sections-modal #export-all-sections .home-destination:hover{background:#f2ece3}
.v2-sections-modal :focus-visible{outline:2px solid #23635c;outline-offset:2px}
@media(max-width:640px){dialog.v2-sections-modal{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.v2-sections-modal-header{padding:18px 16px;gap:12px}.v2-sections-modal-header h2{font-size:25px}.v2-sections-modal-header p{font-size:16px}.v2-sections-modal-header button{font-size:16px;padding:8px 12px;min-height:44px}.v2-sections-modal #export-all-sections{padding:20px 16px}.v2-sections-modal #export-all-sections .home-directory{grid-template-columns:1fr;gap:28px}.v2-sections-modal #export-all-sections .home-directory-group h2{font-size:23px}.v2-sections-modal #export-all-sections .home-destination{font-size:16px}}
.v2-sections-modal #export-all-sections .home-directory{border:0;padding:0;margin:0}
.v2-sections-modal #export-all-sections li{border:0;margin:0;padding:0}
.v2-sections-modal #export-all-sections .home-destination strong{font:400 18px/1.6 Arial,sans-serif;color:inherit}
.v2-sections-modal #export-all-sections .home-destination svg{color:inherit}
@media(max-width:640px){.v2-sections-modal #export-all-sections .home-destination strong{font-size:16px}}
.nav-wrap .main-nav.has-railway-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;height:auto}.nav-wrap .has-railway-nav [data-railway-nav]{white-space:normal;min-height:54px;gap:8px}.nav-wrap .has-railway-nav [data-railway-nav] svg{flex-shrink:0}@media(max-width:1000px){.nav-wrap .main-nav.has-railway-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:480px){.nav-wrap .main-nav.has-railway-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

.nav-wrap .main-nav.has-quiz-nav,.kitchen-nav.has-quiz-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:auto}.has-quiz-nav [data-quiz-nav]{white-space:normal;min-height:54px;gap:8px}.has-quiz-nav [data-quiz-nav] svg{flex-shrink:0}@media(max-width:1100px){.nav-wrap .main-nav.has-quiz-nav,.kitchen-nav.has-quiz-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:480px){.nav-wrap .main-nav.has-quiz-nav,.kitchen-nav.has-quiz-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Uniform main-navigation controls, including two-line labels. */
.nav-wrap .main-nav.has-quiz-nav,.kitchen-nav.has-quiz-nav{align-items:stretch;grid-auto-rows:minmax(72px,auto)}
.nav-wrap .main-nav.has-quiz-nav > [role="tab"],.kitchen-nav.has-quiz-nav > a{display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;box-sizing:border-box;width:100%;height:100%!important;min-height:72px!important;margin:0!important;padding:10px 12px!important;gap:8px!important;border-radius:6px!important;font-family:Arial,sans-serif;font-size:16px!important;line-height:22px!important;white-space:normal!important;text-align:center}
.nav-wrap .main-nav.has-quiz-nav > [role="tab"] svg,.kitchen-nav.has-quiz-nav > a svg{width:20px!important;height:20px!important;flex:0 0 20px}

/* Icons stay aligned and retain their size in compact section menus. */
.kitchen-nav .button{display:inline-flex;align-items:center;gap:8px}
.kitchen-nav .button>svg{width:20px;height:20px;flex:0 0 20px}
