/* All rules belong to the isolated portal preview. No production CSS is loaded. */
:root{color-scheme:light;font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;color:#332d27;background:#f6f4ef;font-synthesis:none;--ink:#332d27;--muted:#6c645a;--paper:#fffdf8;--line:#ded1bd;--rust:#8a4832;--forest:#405b4c;--serif:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--rust);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button,.button{min-height:44px;border:1px solid #c9b99f;border-radius:5px;background:var(--paper);color:var(--ink);padding:10px 16px;text-decoration:none;line-height:1.5;font-size:.9rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover:not(:disabled),.button:hover{background:#efe9dc;border-color:#9b8566}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #28625e;outline-offset:4px}h1:focus,h2:focus,main:focus{outline:none}h1,h2,h3,p{margin-top:0}p{line-height:1.9}h2{font-size:1.2rem;line-height:1.6}h3{font-size:1rem;line-height:1.6}ul,ol{padding-left:1.3rem}li{line-height:1.8}img{max-width:100%}.muted{color:var(--muted)}.small{font-size:.82rem;line-height:1.8}.primary{background:var(--forest);border-color:var(--forest);color:#fffdf8}.primary:hover:not(:disabled){background:#304b3c;border-color:#304b3c}.text-button{background:none;border-color:transparent;text-decoration:underline;text-underline-offset:4px}.action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}.small-actions{margin-top:-6px}.small-actions button{font-size:.8rem;border-color:transparent;padding-left:0;padding-right:16px;background:none;text-decoration:underline}.skip-link{position:fixed;left:16px;top:-100px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:12px}.loading{margin:15vh auto;text-align:center}
.preview-header{background:var(--paper);border-bottom:1px solid #e8dfd1}.header-inner{max-width:1120px;margin:auto;min-height:98px;display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:24px}.brand{display:flex;align-items:center;gap:13px;color:var(--ink);text-decoration:none}.brand strong{font-size:1.08rem;letter-spacing:.06em;display:block}.brand small{font-size:.72rem;color:var(--muted);display:block;letter-spacing:.12em;margin-top:5px}.header-tools{display:flex;align-items:center;gap:22px}.local-badge{font-size:.7rem;border:1px solid var(--line);border-radius:3px;padding:5px 8px;color:var(--muted)}.header-tools .field{gap:2px}.header-tools .field>span{font-size:.68rem}.header-tools select{padding:5px 28px 5px 9px;min-height:36px;font-size:.8rem;background:transparent}
.annex-nav{border-bottom:1px solid var(--line);background:var(--paper)}.annex-nav>div{display:flex;max-width:1120px;margin:auto}.annex-nav a{position:relative;display:flex;align-items:center;justify-content:center;gap:11px;min-height:64px;flex:1;color:var(--muted);font-size:.86rem;text-decoration:none;white-space:nowrap;padding:0 14px}.annex-nav a[aria-current=page]{color:var(--rust);font-weight:700}.annex-nav a[aria-current=page]:after{content:"";position:absolute;height:3px;bottom:-1px;left:15px;right:15px;background:var(--rust)}.nav-number{font-family:Georgia,serif;font-size:.72rem;color:#87715c}.page{max-width:1120px;margin:0 auto;padding:42px 0 64px;min-height:65vh}.introduction{padding:0 0 27px;max-width:850px}.eyebrow{font-size:.75rem;letter-spacing:.14em;color:var(--rust);margin-bottom:13px;font-weight:600}.introduction h1{font-family:var(--serif);font-weight:600;font-size:clamp(1.75rem,3.2vw,2.55rem);letter-spacing:.07em;line-height:1.5;margin-bottom:14px}.intro-copy{font-size:.91rem;max-width:760px;line-height:2;color:#61584f;margin-bottom:0}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>span{font-size:.78rem;font-weight:600}.field input,.field select,textarea{border:1px solid #cbbda8;border-radius:4px;color:var(--ink);background:var(--paper);min-height:44px;padding:10px 12px;width:100%;max-width:100%}.field input::placeholder{color:#827567}.field select{padding-right:30px}.searchbar{display:flex;align-items:flex-end;gap:16px;padding:22px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:32px}.search-field{flex:1.8}.searchbar .field:not(.search-field){flex:1}.searchbar .text-button{font-size:.78rem;font-weight:400;padding-right:0;padding-left:0}.section-line{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px dashed var(--line);padding-bottom:10px;font-size:.8rem}.section-line>span:last-child{font-family:Georgia,serif;letter-spacing:.12em;font-size:.65rem;color:#746452}.library-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:48px}.book-area>.small{margin:11px 0 0}.shelf-row{padding:20px 12px 0;background:#efe9dd;box-shadow:inset 0 10px 18px -20px #4f3d24;margin-top:22px;border-radius:4px}.books-on-shelf{display:flex;justify-content:space-evenly;align-items:flex-end;gap:22px;padding:6px 25px 0}.book-place{min-width:0;display:flex;align-items:flex-end;padding:0 0 2px}.book{position:relative;display:flex;flex-direction:column;align-items:center;width:138px;height:254px;border-radius:3px 7px 3px 3px;box-shadow:inset 6px 0 0 #00000015,inset 9px 0 0 #ffffff18,6px 0 0 -1px #e8dfcf,8px 1px 0 -1px #ad9f88,9px 5px 7px -5px #241d185e;transform-origin:bottom center;transition:transform 220ms ease,box-shadow 220ms ease;text-decoration:none;color:#fffdf5;border:1px solid #00000015;padding:17px 15px 18px;overflow:visible}.book-place:nth-child(2) .book{height:275px;width:152px}.book-place:nth-child(3) .book{height:240px;width:132px}.book:hover,.book:focus-visible{transform:translateY(-12px) rotate(-2deg);box-shadow:inset 6px 0 0 #00000015,inset 9px 0 0 #ffffff18,6px 0 0 -1px #e8dfcf,8px 1px 0 -1px #ad9f88,14px 10px 12px -5px #241d185e;text-decoration:none}.palette-sage{background:#526b57;color:#fffdf5}.palette-clay{background:#a75843;color:#fffdf5}.palette-indigo{background:#52617d;color:#fffdf5}.palette-ochre{background:#9b6d32;color:#fffdf5}.palette-rose{background:#915a62;color:#fffdf5}.palette-slate{background:#4e656b;color:#fffdf5}.book-index{font-family:Georgia,serif;font-size:.55rem;letter-spacing:.13em;padding-bottom:10px;border-bottom:1px solid #ffffff60;width:100%;text-align:center}.book-title{font-family:var(--serif);writing-mode:vertical-rl;font-weight:600;font-size:1.1rem;line-height:1.7;letter-spacing:.12em;text-align:start;margin:15px auto 8px;max-height:184px;flex:1;overflow-wrap:anywhere}.book-title.latin{writing-mode:horizontal-tb;font-family:Georgia,serif;letter-spacing:.035em;font-size:1.3rem;line-height:1.4;text-align:center;margin-top:30px}.book-rule{display:block;border-top:1px solid #ffffff65;border-bottom:1px solid #ffffff65;height:5px;width:100%;margin-top:auto}.wood-edge{height:20px;border-top:2px solid #e6cba5;background:#b9936c;box-shadow:0 6px 6px -4px #57412d60;margin:0 -16px;position:relative;border-radius:2px}.wood-edge span{position:absolute;top:3px;left:24px;font-size:.5rem;letter-spacing:.12em;color:#fff6e6}.ribbon{position:absolute;top:-1px;right:14px;width:15px;height:36px;background:#f1d296;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}.secret-button{display:flex;border:none;background:none;font-size:.72rem;color:var(--muted);font-weight:400;margin:16px 0 0 auto;padding:4px;gap:8px}.little-star{font-size:1.25rem;color:var(--rust)}.shelf-aside{padding-top:0}.bookmark-note{padding:26px 24px 30px;background:#e9edde;border-top:3px solid #738269;position:relative}.bookmark-note:after{content:"";position:absolute;top:-3px;right:20px;width:22px;height:32px;background:#738269;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%)}.note-number{font-family:Georgia,serif;font-style:italic;font-size:2rem;color:#6a795d;display:block;margin-bottom:12px}.bookmark-note h2,.workshop-note h2,.recent-list h2{font-family:var(--serif);font-size:1.08rem;margin-bottom:12px}.bookmark-note p,.workshop-note p{font-size:.84rem;line-height:2;margin-bottom:20px}.bookmark-note button{width:100%;font-size:.82rem;padding:10px 5px}.workshop-note{padding:30px 8px 24px;border-bottom:1px dashed var(--line)}.arrow-link{display:inline-flex;align-items:center;gap:10px;font-size:.84rem;min-height:44px}.arrow-link:after{content:"→"}.paper-art{position:relative;width:70px;height:62px;margin:0 0 20px 8px}.paper-art:before,.paper-art:after{content:"";position:absolute;width:47px;height:57px;border:1px solid #b6a385;background:#fffbf0;transform:rotate(-10deg);left:2px;top:3px}.paper-art:after{transform:rotate(6deg);left:12px;top:0;background:repeating-linear-gradient(to bottom,#fffbf0 0,#fffbf0 11px,#e1d7c6 12px,#fffbf0 13px)}.paper-art span{position:absolute;z-index:1;width:5px;height:51px;background:#97734c;transform:rotate(33deg);left:56px;top:18px;clip-path:polygon(0 0,100% 0,100% 86%,50% 100%,0 86%)}.recent-list{padding:24px 8px 0}.recent-list ul{list-style:none;margin:0;padding:0}.recent-list li{border-bottom:1px solid #e7dfd1;padding:10px 0;line-height:1.6}.recent-list a{font-size:.78rem;color:var(--muted)}.empty-state{padding:50px 20px;text-align:center;color:var(--muted)}.tags{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.tags span{font-size:.7rem;border:1px solid var(--line);border-radius:3px;padding:3px 7px;color:#6f5a43;background:#f6f1e7}.bookmark-button.is-saved,.pin.is-saved{background:#e8eddf;border-color:#879678;color:#384e35}.bookmark-button:before{content:"◇";font-size:1rem}.bookmark-button.is-saved:before{content:"◆"}
.paper-dialog{color:var(--ink);border:1px solid var(--line);border-radius:5px;background:var(--paper);width:min(640px,calc(100% - 32px));padding:34px 38px;box-shadow:12px 14px 0 -5px #e5dccb,20px 22px 50px #28231c36;max-height:90dvh;overflow:auto;animation:open-book .22s ease-out}.paper-dialog::backdrop{background:#32291f88}.paper-dialog h2{font-family:var(--serif);font-size:1.55rem;line-height:1.7;padding-right:15px}.paper-dialog .dialog-close{margin:0 0 16px auto;display:flex;min-width:70px;background:none;border-color:transparent;text-decoration:underline;font-weight:400}.work-summary,.secret-story{font-family:var(--serif);line-height:2.1;font-size:1.1rem;margin:24px 0}.source-line{margin-top:25px;padding-top:15px;border-top:1px dashed var(--line);font-size:.75rem}.paper-dialog .action-row{gap:8px}.paper-dialog a{overflow-wrap:anywhere}.paper-dialog .small{font-size:.75rem}@keyframes open-book{from{opacity:0;transform:perspective(1000px) rotateY(-8deg) translateY(8px)}to{opacity:1;transform:none}}
.workshop-controls{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}.mode-switch{display:flex;gap:4px;flex-wrap:wrap}.mode-switch button{background:transparent;border-color:transparent;border-radius:0;padding:10px 22px;color:var(--muted)}.mode-switch button.active{border-bottom:2px solid var(--rust);color:var(--rust);font-weight:700}.workshop-controls>.small{margin:15px 0 18px}.control-fields{display:flex;align-items:flex-end;flex-wrap:wrap;gap:20px;margin-bottom:20px}.control-fields>.field{flex:1;min-width:180px;max-width:370px}.generate-row{display:flex;align-items:flex-start;gap:25px;flex-wrap:wrap}.generate-row>.primary{min-width:230px}.seed-settings{flex:1;min-width:200px}.seed-settings summary{font-size:.8rem;cursor:pointer;min-height:44px;display:list-item;padding:12px 0}.seed-settings .control-fields{margin-bottom:0}.seed-settings .field{min-width:150px}.blank-page{border:1px dashed #cbbba4;max-width:850px;margin:35px auto;padding:50px 25px;background:#fbf9f2;text-align:center;color:var(--muted)}.blank-page .paper-art{margin:0 auto 20px}.story-sheet{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:3px;max-width:900px;margin:34px auto 30px;padding:32px 42px;box-shadow:5px 5px 0 -1px #eee6d7,6px 6px 0 0 #d7c9b4}.story-sheet:before{content:"";position:absolute;top:-1px;right:31px;width:18px;height:32px;background:#a75e42;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}.sheet-top{display:flex;justify-content:space-between;gap:15px;border-bottom:1px dashed var(--line);padding:0 32px 14px 0;color:var(--muted);font-size:.7rem;letter-spacing:.1em}.sheet-top span:first-child{font-family:Georgia,serif}.story-sheet>h2{font-size:.86rem;font-weight:500;color:var(--muted);margin-top:24px}.story-paragraph{font-family:var(--serif);font-size:1.18rem;line-height:2.2;margin:18px 0 28px;overflow-wrap:anywhere}.story-fields{border-top:1px solid var(--line)}.story-field{display:flex;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #e8ded0}.field-number{font-family:Georgia,serif;font-size:.8rem;color:#96765a;align-self:flex-start;padding-top:2px}.field-value{flex:1;min-width:0}.field-value h3{font-size:.72rem;font-weight:500;color:var(--muted);margin-bottom:6px}.field-value p{font-size:.9rem;line-height:1.8;margin:0;overflow-wrap:anywhere}.field-actions{display:flex;gap:8px}.field-actions button{font-size:.73rem;padding:7px 11px}.structure-panel{max-width:900px;margin:35px auto;padding:25px 0;border-bottom:1px solid var(--line)}.structure-panel .field{max-width:330px}.structure-steps{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:10px;counter-reset:steps;margin:22px 0}.structure-steps li{flex:1;min-width:140px;font-size:.8rem;padding:14px;background:#e9edde;counter-increment:steps}.structure-steps li:before{content:counter(steps,decimal-leading-zero);display:block;font-family:Georgia,serif;color:var(--forest);margin-bottom:8px}.structure-panel>a{font-size:.75rem}.history-section{max-width:900px;margin:40px auto}.seed-history{list-style:none;margin:0;padding:0;max-height:470px;overflow:auto}.seed-history li{border-bottom:1px solid var(--line)}.history-button{display:grid;grid-template-columns:30px 1fr;gap:5px 16px;border:none;border-radius:0;background:none;width:100%;text-align:left;justify-items:start;padding:16px 8px;font-weight:400;line-height:1.8}.history-button>span:nth-child(2){font-size:.82rem;overflow-wrap:anywhere}.history-button small{grid-column:2;font-size:.67rem;color:var(--muted)}.history-index{font-family:Georgia,serif;color:#907150;font-size:.75rem}
.guide-desk{position:relative;max-width:780px;margin:15px auto 0;padding:40px 50px;border:1px solid var(--line);background:var(--paper);box-shadow:6px 6px 0 -1px #eee6d7}.desk-mark{position:absolute;top:28px;right:30px;display:block;font-family:Georgia,serif;font-style:italic;font-size:2rem;color:#8a795f}.guide-desk>h2{font-family:var(--serif);font-size:1.5rem;line-height:1.8;padding-right:30px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0}.answer-grid button{padding:20px;background:#f6f1e7;font-size:1rem}.answer-grid button:first-child{border-color:#98aa90;background:#e9edde}.recommendations>li{padding:18px 0;border-bottom:1px dashed var(--line)}.recommendations h3{margin-bottom:8px}.reasons{font-size:.82rem;padding-left:1.1rem;color:#51634b}.recommendations p{font-size:.82rem}.character-actions{margin-top:0;margin-bottom:28px}.character-list{display:grid;grid-template-columns:1fr;gap:0}.character-entry{display:grid;grid-template-columns:120px 1fr auto;gap:28px;align-items:center;border-bottom:1px solid var(--line);padding:28px 0}.portrait-placeholder{width:110px;height:132px;display:grid;place-items:center;border-radius:55px 55px 4px 4px;box-shadow:inset 0 0 0 6px #ffffff20}.portrait-placeholder span{font-family:var(--serif);font-size:2.6rem}.character-entry h2{font-size:1.1rem;margin-bottom:8px}.character-entry p{font-size:.88rem;margin-bottom:8px}.character-entry .small{font-size:.75rem}.collection-section{padding:28px 0;border-top:1px solid var(--line)}.collection-list{list-style:none;margin:0;padding:0}.collection-list li{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:14px 0;border-bottom:1px dashed var(--line)}.collection-list a{font-size:.9rem;line-height:1.9;overflow-wrap:anywhere}.collection-list button{flex-shrink:0}.backup-section{padding:30px;background:#eeeadd;border:1px solid #d7cfb9;margin-top:20px}.backup-section .field{max-width:600px}.backup-section p{font-size:.85rem}.settings-section{margin-top:35px}.checkbox-label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:.9rem}.checkbox-label input{width:20px;height:20px;accent-color:var(--forest)}.settings-section>.small{margin-top:15px}.warning{padding:16px;background:#fff2d4;border:1px solid #bc8a35;font-size:.85rem}.footer{max-width:1120px;margin:auto;padding:28px 0 32px;border-top:1px solid var(--line)}.footer>p:first-child{font-family:var(--serif);font-size:.9rem;margin-bottom:8px}.footer>.muted{font-size:.72rem;line-height:1.8;max-width:900px}.footer-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px}.footer-links a{font-size:.72rem;color:var(--muted)}.notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(600px,calc(100% - 32px));font-size:.85rem;line-height:1.8;border-radius:5px;background:#344b3b;color:white;padding:0;z-index:30;box-shadow:0 5px 15px #0002}.notice:not(:empty){padding:12px 20px}.notice-error{background:#7c382b}.no-motion *, .no-motion *:before,.no-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.no-motion .book:hover,.no-motion .book:focus-visible{transform:none}
@media(min-width:1400px){.page{padding-top:48px}.introduction{padding-bottom:32px}.shelf-row{margin-top:26px}.book{height:265px}.book-place:nth-child(2) .book{height:283px}.book-place:nth-child(3) .book{height:248px}}
@media(max-width:1190px){.header-inner,.annex-nav>div,.page,.footer{margin-left:32px;margin-right:32px}.library-layout{gap:30px;grid-template-columns:minmax(0,1fr) 235px}.book{width:110px}.book-place:nth-child(2) .book{width:120px}.book-place:nth-child(3) .book{width:108px}.books-on-shelf{gap:16px;padding-left:8px;padding-right:8px}.annex-nav a{font-size:.8rem;padding:0 8px;gap:6px}}
@media(max-width:900px){.header-inner{min-height:90px}.brand strong{font-size:.95rem}.header-tools{gap:12px}.library-layout{grid-template-columns:1fr 210px;gap:25px}.books-on-shelf{gap:12px;padding-left:0;padding-right:0}.book{width:90px;height:235px;padding:14px 10px}.book-place:nth-child(2) .book{width:95px;height:258px}.book-place:nth-child(3) .book{width:88px;height:225px}.book-title{font-size:1rem;line-height:1.6;letter-spacing:.06em;max-height:180px}.book-title.latin{font-size:1.12rem}.book-index{font-size:.47rem}.bookmark-note{padding:24px 16px}.annex-nav a{font-size:.74rem;gap:4px}.nav-number{display:none}.searchbar{gap:12px;flex-wrap:wrap}.searchbar .search-field{flex-basis:100%}.searchbar .text-button{min-width:65px}.story-sheet{padding:28px}.character-entry{grid-template-columns:100px 1fr;gap:20px}.portrait-placeholder{width:95px;height:120px}.character-entry>.bookmark-button{grid-column:2;justify-self:start}.field-actions{flex-direction:column}.story-field{gap:12px}.guide-desk{padding:32px}}
@media(max-width:650px){.header-inner,.annex-nav>div,.page,.footer{margin-left:20px;margin-right:20px}.header-inner{gap:12px;padding:16px 0;min-height:86px}.brand{gap:8px}.brand img{width:32px;height:32px}.brand strong{font-size:.82rem;letter-spacing:.025em}.brand small{font-size:.58rem;letter-spacing:.04em}.header-tools .local-badge{display:none}.header-tools label>span{display:none}.header-tools select{min-height:40px;width:76px;font-size:.7rem;padding:5px}.annex-nav>div{flex-wrap:wrap;margin:0 12px}.annex-nav a{flex:1 0 30%;min-height:46px;font-size:.73rem;white-space:normal;text-align:center;line-height:1.4}.annex-nav a:nth-child(4),.annex-nav a:nth-child(5){flex-basis:45%}.annex-nav a[aria-current=page]:after{left:10px;right:10px}.page{padding-top:30px;padding-bottom:45px}.introduction h1{font-size:1.73rem;letter-spacing:.045em;line-height:1.6}.eyebrow{font-size:.67rem;letter-spacing:.1em;margin-bottom:10px}.intro-copy{font-size:.83rem;line-height:2}.introduction{padding-bottom:24px}.searchbar{padding:18px 0;gap:12px;margin-bottom:24px}.searchbar .search-field{flex-basis:100%}.searchbar .field:not(.search-field){flex-basis:36%}.searchbar .text-button{flex-basis:100%;min-height:30px;padding:0;justify-content:flex-end}.field>span{font-size:.72rem}.field input,.field select{font-size:.83rem}.library-layout{display:flex;flex-direction:column;gap:30px}.section-line{font-size:.74rem}.section-line>span:last-child{font-size:.51rem}.book-area>.small{font-size:.69rem}.shelf-row{padding-left:9px;padding-right:9px;margin-top:20px}.books-on-shelf{justify-content:space-around;gap:12px;padding:3px 2px 0}.book{width:82px;height:226px;padding:12px 8px}.book-place:nth-child(2) .book{width:91px;height:250px}.book-place:nth-child(3) .book{width:80px;height:218px}.book-title{font-size:.95rem;letter-spacing:.03em;line-height:1.6;max-height:175px;margin-top:12px}.book-title.latin{font-size:1.1rem}.book-index{font-size:.42rem;letter-spacing:.05em}.wood-edge{margin:0 -12px;height:17px}.secret-button{font-size:.68rem}.shelf-aside{display:grid;grid-template-columns:1fr;gap:20px}.bookmark-note{padding:22px}.bookmark-note .note-number{float:left;margin:0 18px 15px 0}.bookmark-note h2{padding-top:6px}.bookmark-note p{clear:both}.bookmark-note button{width:auto;padding-left:20px;padding-right:20px}.workshop-note{padding:16px 4px}.workshop-note .paper-art{float:left;margin-right:20px}.workshop-note h2{padding-top:4px}.workshop-note p{margin-bottom:4px}.workshop-note .arrow-link{clear:both}.recent-list{padding:0 4px}.paper-dialog{padding:20px 22px;width:calc(100% - 28px)}.paper-dialog h2{font-size:1.3rem}.paper-dialog .action-row{align-items:stretch;flex-direction:column}.paper-dialog .action-row button{width:100%}.work-summary,.secret-story{font-size:1rem}.mode-switch{justify-content:space-between;gap:0}.mode-switch button{font-size:.79rem;flex:1;padding:10px 7px}.workshop-controls{padding:15px 0 20px}.control-fields{gap:12px}.control-fields>.field{min-width:125px}.generate-row{gap:8px}.generate-row>.primary{width:100%}.seed-settings{flex-basis:100%}.story-sheet{padding:22px 18px;margin-top:28px}.sheet-top{font-size:.61rem;letter-spacing:.04em;padding-right:20px}.story-sheet:before{right:15px;width:14px;height:25px}.story-paragraph{font-size:1.03rem;line-height:2.1}.story-field{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:17px 0}.field-actions{grid-column:2;flex-direction:row;justify-content:flex-end}.field-actions button{min-height:40px;font-size:.71rem;padding:7px 13px}.field-value p{font-size:.84rem}.story-sheet>.action-row{gap:8px}.story-sheet>.action-row button{flex-grow:1;font-size:.78rem}.story-sheet .small{font-size:.7rem}.story-sheet .small-actions{justify-content:flex-start}.story-sheet .small-actions button{flex-grow:0}.structure-steps li{min-width:130px}.history-button{gap:4px 9px;grid-template-columns:23px 1fr}.guide-desk{padding:28px 22px}.guide-desk>h2{font-size:1.2rem;padding-right:12px}.desk-mark{right:20px;top:18px;font-size:1.5rem}.answer-grid{gap:10px}.answer-grid button{padding:14px 8px;font-size:.84rem}.guide-desk .action-row button{font-size:.73rem}.character-actions{align-items:stretch;flex-direction:column;gap:10px}.character-entry{grid-template-columns:70px 1fr;gap:16px;padding:23px 0}.portrait-placeholder{width:66px;height:90px}.portrait-placeholder span{font-size:2rem}.character-entry h2{font-size:1rem}.character-entry p{font-size:.8rem}.character-entry>.bookmark-button{grid-column:2;font-size:.74rem}.character-entry .tags{gap:4px}.tags span{font-size:.65rem}.collection-list li{flex-direction:column;align-items:flex-start;gap:12px}.collection-list button{align-self:flex-end;font-size:.75rem}.backup-section{padding:23px 18px}.backup-section .action-row button{width:100%;font-size:.8rem}.backup-section input[type=file]{font-size:.72rem}.footer{padding-top:25px}.footer>.muted{font-size:.67rem}.footer-links{gap:14px}.notice{font-size:.75rem;bottom:12px}.notice:not(:empty){padding:10px 14px}.blank-page{padding:35px 20px}}
@media(max-width:360px){.header-inner,.page,.footer{margin-left:14px;margin-right:14px}.brand strong{font-size:.74rem}.brand img{width:27px;height:27px}.book{width:74px}.book-place:nth-child(2) .book{width:80px}.book-place:nth-child(3) .book{width:72px}.books-on-shelf{gap:10px}.book-title{font-size:.88rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.book:hover,.book:focus-visible{transform:none}}
@media print{.preview-header,.annex-nav,.footer,.workshop-controls,.history-section,.field-actions,.action-row,.notice{display:none}.page{padding:0;margin:0;max-width:none}.story-sheet{box-shadow:none;border:0;padding:0}.story-paragraph{font-size:12pt}}
.introduction h1{text-wrap:balance}.book-title.latin{font-size:.95rem;letter-spacing:0;overflow-wrap:normal}.structure-steps li{flex-basis:28%;min-width:210px}.structure-steps li p{font-size:.78rem;line-height:1.9;margin:10px 0 0}.seed-import{margin-top:12px;padding-top:10px;border-top:1px dashed var(--line)}.seed-import summary{font-size:.78rem;min-height:44px;cursor:pointer;padding:12px 0}.seed-import>.field{max-width:540px}.seed-import>.small{max-width:600px}
.palette-ochre{background:#94652e}.field-number{color:#806044}.history-index{color:#7b5c40}.field input::placeholder{color:#756858}
.book-title.latin{width:100%;max-width:100%;font-size:.88rem}.title-word{display:block}
@media(max-width:900px){.book-place:first-child .book{width:112px}.book-title.latin{font-size:.8rem}}
@media(max-width:650px){.book-place:first-child .book{width:100px}.book-title.latin{font-size:.7rem;line-height:1.8}.structure-steps li{flex-basis:100%;min-width:0}.seed-import input{font-size:.74rem}}
@media(max-width:360px){.book-place:first-child .book{width:88px}.book-title.latin{font-size:.64rem}}

/* v0.2: catalog notes and the next chapter of the library. */
.catalog-metadata dl,.attributes{display:grid;grid-template-columns:auto 1fr;gap:7px 18px;font-size:.84rem}.catalog-metadata dt,.attributes dt{font-weight:700}.catalog-metadata dd,.attributes dd{margin:0;overflow-wrap:anywhere}.catalog-evidence,.audit-log{margin:18px 0;border-top:1px dashed var(--line);padding-top:14px}.catalog-evidence summary,.audit-log summary{cursor:pointer;min-height:40px}.source-list{padding-left:20px;font-size:.8rem;overflow-wrap:anywhere}.spoiler-control{padding:12px 0;font-size:.85rem}.spoiler-note{border-left:3px solid var(--clay);padding:12px 18px;background:#f1e7d8}.spoiler-note h3{margin-top:0}.guide-filters{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:10px 0 24px}.guide-filters h2{font-size:1.05rem}.guide-filters .checkbox-label{font-size:.82rem;margin:10px 0}.avoid-elements{border:1px dashed var(--line);margin:16px 0 10px;padding:6px 14px}.avoid-elements legend{font-size:.85rem;padding:0 6px}.comparison-scroll{overflow-x:auto;max-width:100%;margin:24px 0}.comparison-table{border-collapse:collapse;width:100%;font-size:.8rem;text-align:left}.comparison-table caption{text-align:left;font-weight:700;font-size:1rem;padding-bottom:12px}.comparison-table th,.comparison-table td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top;min-width:88px}.comparison-table thead{background:#eee7db}.comparison-table tbody th{min-width:160px}.guide-desk>button{margin:8px 10px 8px 0}.random-pick{border-left:3px solid var(--sage);padding:10px 16px}.development-panel{border:1px dashed var(--line);padding:24px 28px;margin:30px 0;background:#f8f3e9}.development-panel h2{font-size:1.2rem}.development-panel>p{font-size:.86rem}.development-steps{padding-left:22px}.development-steps li{padding:10px 0 16px;border-bottom:1px dotted var(--line)}.development-steps h3{font-size:.95rem;margin:4px 0}.development-steps p{font-size:.88rem;line-height:1.9}.development-steps small{font-size:.7rem}.mock-banner{border-left:4px solid var(--sage);background:#e9eee5;padding:16px 20px;font-size:.86rem}.member-form{padding:24px;border:1px solid var(--line);margin:28px 0;max-width:760px;background:#fcf9f0}.member-form .field{margin-bottom:16px}.member-form textarea{font:inherit;width:100%;resize:vertical;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:10px}.member-form .checkbox-label{margin:16px 0;font-size:.85rem}.member-form h2,.mock-submissions>h2,.mock-gallery>h2,.member-collection h2,.mock-delete h2{font-size:1.2rem}.mock-submission{padding:20px 0;border-bottom:1px dashed var(--line);overflow-wrap:anywhere}.mock-submission h3{font-size:1.1rem}.submitted-text{white-space:pre-wrap;max-height:320px;overflow:auto;line-height:1.9}.submission-status{font-size:.78rem;color:#635849}.mock-gallery{margin-top:36px;background:#f5eee1;padding:22px 26px}.audit-log{font-size:.75rem;overflow-wrap:anywhere}.mock-delete{margin-top:35px}.member-collection{padding:4px 0 12px}
@media(max-width:650px){.annex-nav a:nth-child(4),.annex-nav a:nth-child(5){flex-basis:30%}}
@media(max-width:650px){.catalog-metadata dl{grid-template-columns:85px 1fr;gap:7px 12px}.guide-filters .control-fields{display:grid;grid-template-columns:1fr}.guide-filters .field{min-width:0}.development-panel{padding:18px 16px}.development-panel .action-row{flex-direction:column;align-items:stretch}.member-form{padding:18px 16px}.mock-banner{padding:13px 15px}.mock-gallery{padding:18px 16px}.mock-submission .action-row{flex-direction:column;align-items:stretch}.comparison-table{font-size:.75rem}.guide-desk{min-width:0}.comparison-table tbody th{min-width:130px}.character-extra .attributes{grid-template-columns:1fr;gap:4px}.character-extra dd{margin-bottom:8px}}

.guide-navigator{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:end;gap:20px;max-width:780px;min-height:248px;margin:16px auto 28px;padding:24px 28px 0;border:1px solid var(--line);background:linear-gradient(110deg,#f9f3e8 62%,#ecede3);overflow:hidden}
.navigator-copy{align-self:center;padding-bottom:20px}.navigator-copy h2{font-family:var(--serif);font-size:1.45rem;margin:0 0 12px}.navigator-copy>p:not(.eyebrow){font-size:.84rem;line-height:1.8}.navigator-switch{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.navigator-choice{min-height:42px;padding:7px 14px;background:#fffaf2}.navigator-choice.active{background:var(--forest);border-color:var(--forest);color:white}.navigator-choice:focus-visible{outline:3px solid #b67b47;outline-offset:2px}.navigator-credit{margin:0;color:var(--muted)}.navigator-portrait{height:247px;display:flex;justify-content:center;align-items:end}.navigator-portrait img{display:block;max-width:100%;width:auto;height:100%;object-fit:contain;object-position:center bottom}
@media(max-width:650px){.guide-navigator{grid-template-columns:minmax(0,1fr) 94px;gap:8px;min-height:0;margin:12px auto 20px;padding:18px 14px 0}.navigator-copy{padding-bottom:14px}.navigator-copy h2{font-size:1.12rem}.navigator-copy>p:not(.eyebrow){font-size:.75rem}.navigator-choice{font-size:.7rem;padding:7px 9px;min-height:38px}.navigator-portrait{height:175px}.navigator-credit{font-size:.66rem!important}}

/* v0.3 exhibition: CSS bindings and paper, without third-party images. */
.book.binding-0:before{content:"";position:absolute;inset:9px;border:1px solid #fff5;pointer-events:none;border-radius:2px}
.book.binding-1{background-image:repeating-linear-gradient(0deg,transparent 0 7px,#ffffff07 7px 8px)}
.book.binding-1 .book-index{border-bottom:3px double #fff8}.book.binding-2 .book-rule{height:9px;border-top:3px double #fff9;border-bottom:3px double #fff9}
.book.binding-3{border-top:12px solid #0002;border-bottom:12px solid #0002}.book.binding-3 .book-index{letter-spacing:.04em}
.ribbon{animation:ribbon-in 240ms ease-out}.paper-dialog[open]{transform-origin:12% center;animation:book-open 260ms ease-out}
@keyframes book-open{from{opacity:.3;transform:perspective(1000px) rotateY(-9deg) translateY(6px)}to{opacity:1;transform:none}}
@keyframes ribbon-in{from{transform:translateY(-8px);opacity:0}to{transform:translateY(0);opacity:1}}
#shelf-grouping{max-width:300px;margin-bottom:18px}.shelf-label{margin:28px 0 0;font-family:var(--serif);font-size:1.2rem;border-left:3px solid var(--rust);padding-left:13px}.shelf-group{min-width:0}
.season-invitation{position:relative;margin:0 0 28px;padding:27px 32px;border:1px solid #d9c5a8;border-radius:4px;background:linear-gradient(115deg,#f3ead8,#fcf9f0);overflow:hidden}.season-invitation:after{content:"◇";position:absolute;right:25px;top:12px;font-size:120px;color:#9b6d3212;pointer-events:none}.season-invitation h2{font-family:var(--serif);font-size:1.6rem;letter-spacing:.08em;margin-bottom:8px}.season-invitation>p:not(.eyebrow){font-size:.88rem;margin-bottom:12px}.feature-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.feature-links a{padding:9px 13px;border:1px solid #ccbaa0;background:#fffaf0;border-radius:3px;font-size:.85rem;text-decoration:none;min-height:44px;display:flex;align-items:center;z-index:1}.season-invitation>a{font-size:.84rem;position:relative;z-index:1}
.curated-shelf{margin:42px 0}.curated-shelf>h2{font-family:var(--serif);border-bottom:1px solid var(--line);padding-bottom:13px;letter-spacing:.04em}.exhibit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.exhibit-card{position:relative;min-width:0;border:1px solid var(--line);border-left:6px solid #526b57;background:var(--paper);color:var(--ink);padding:22px 20px;box-shadow:3px 4px 0 #e9e0d2}.exhibit-card.palette-clay{border-left-color:#a75843}.exhibit-card.palette-indigo{border-left-color:#52617d}.exhibit-card.palette-ochre{border-left-color:#9b6d32}.exhibit-card.palette-rose{border-left-color:#915a62}.exhibit-card.palette-slate{border-left-color:#4e656b}.exhibit-card h3{font-family:var(--serif);font-size:1.05rem;line-height:1.7;overflow-wrap:anywhere}.exhibit-card h3 a{color:var(--ink)}.exhibit-card p{font-size:.82rem;margin-bottom:0;line-height:1.9}.feature-section{margin:30px 0 45px}.feature-disclaimer{font-size:.84rem;padding:14px 18px;background:#e9eee5;border-left:3px solid var(--forest)}
.breadcrumbs{font-size:.8rem;color:var(--muted);line-height:1.9;margin-bottom:32px;overflow-wrap:anywhere}.work-hero{display:grid;grid-template-columns:220px minmax(0,1fr);gap:46px;align-items:center;margin-bottom:42px}.work-hero h1{font-family:var(--serif);font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.6;overflow-wrap:anywhere;letter-spacing:.04em}.work-cover{position:relative;min-height:290px;padding:28px 24px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;gap:20px;border-radius:3px 8px 8px 3px;box-shadow:inset 9px 0 0 #0002,6px 0 0 #e5dcca,9px 2px 0 #b6a78f,12px 8px 16px #332d2715}.work-cover:after{content:"";position:absolute;inset:13px;border:1px solid #fff6;pointer-events:none}.work-cover span{font-family:Georgia,serif;font-size:.65rem;letter-spacing:.1em}.work-cover strong{font-family:var(--serif);font-size:1.4rem;line-height:1.8;overflow-wrap:anywhere}.work-cover span:last-child{font-size:1.4rem}.linked-tags{display:flex;flex-wrap:wrap;gap:8px}.linked-tags a{font-size:.78rem;border:1px solid #d2c5b2;padding:7px 10px;border-radius:3px;background:var(--paper);min-height:36px;display:flex;align-items:center}.work-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px}.work-body>div>section{margin-bottom:35px}.work-body h2,.work-credits h2,.work-rights h2{font-family:var(--serif)}.work-rights{border-top:1px solid var(--line);padding-top:24px;margin:30px 0}.work-rights>p{font-size:.88rem}.work-credits{margin:30px 0}.reading-form{align-self:start;padding:24px;background:#f5edde;border:1px solid #d6c6ab}.reading-form .field{margin-bottom:18px}.reading-form>button{width:100%;margin-bottom:12px}.reading-form>a{display:inline-block;font-size:.8rem;margin-top:8px}.reading-form textarea{resize:vertical;font-size:.9rem}.reading-list article{padding:20px 0;border-bottom:1px dashed var(--line)}.reading-list h3{margin-bottom:6px}.personal-note,.preview-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.reading-list .personal-note{max-height:220px;overflow:auto}.reading-list button{font-size:.8rem}#reading-records>.field{max-width:560px;margin:18px 0}#reading-records{border-top:2px solid var(--line);margin-top:40px;padding-top:28px}.review-checklist{padding:16px 20px;background:#e9eee5;font-size:.85rem}.preview-body{line-height:2}.annex-nav a{padding-left:9px;padding-right:9px;gap:7px;font-size:.8rem}
@media(max-width:900px){.work-body{grid-template-columns:minmax(0,1fr) 290px;gap:24px}.work-hero{gap:30px;grid-template-columns:190px minmax(0,1fr)}.annex-nav .nav-number{display:none}.exhibit-grid{gap:12px}.exhibit-card{padding:18px 15px}}
@media(max-width:650px){.annex-nav>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.annex-nav a{min-width:0;white-space:normal;padding:10px 4px;text-align:center;font-size:.69rem;line-height:1.5;min-height:46px}.season-invitation{padding:21px 18px}.season-invitation h2{font-size:1.3rem}.feature-links{gap:8px}.feature-links a{font-size:.78rem;padding:8px 10px}.exhibit-grid{grid-template-columns:1fr}.curated-shelf{margin:32px 0}.work-hero{grid-template-columns:1fr;gap:26px}.work-cover{width:180px;min-height:235px;margin:0 auto;padding:24px}.work-cover strong{font-size:1.15rem}.work-hero h1{font-size:1.65rem}.work-body{grid-template-columns:1fr;gap:14px}.reading-form{padding:20px 18px;margin-bottom:30px}.breadcrumbs{margin-bottom:23px}.work-rights>p{font-size:.82rem}.linked-tags a{min-height:44px}.work-hero .action-row{align-items:stretch;flex-direction:column}.work-hero .eyebrow{text-align:center}}
.no-motion .paper-dialog[open],.no-motion .ribbon{animation:none}
@media(prefers-reduced-motion:reduce){.paper-dialog[open],.ribbon{animation:none}}
@media(min-width:651px) and (max-width:1000px){.annex-nav>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.annex-nav a{white-space:normal;min-height:50px;text-align:center}}
.work-hero h1{text-wrap:balance}

/* v0.4 member demo: stationery and reading-room surfaces. */
.page>h1{font-family:var(--serif);font-size:clamp(1.8rem,3vw,2.6rem);letter-spacing:.06em;line-height:1.5}.member-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;padding:12px 0 20px}.member-toolbar>.field{min-width:170px}.member-toolbar>p{flex:1;min-width:220px;font-size:.78rem;margin:0 0 6px}.member-subnav{display:flex;flex-wrap:wrap;gap:5px 16px;border-top:1px solid var(--line);border-bottom:1px dashed var(--line);padding:12px 0;margin-bottom:16px}.member-subnav a{display:flex;align-items:center;min-height:44px;font-size:.85rem;padding:4px 8px}#demo-notice{min-height:16px;font-size:.85rem}#demo-notice.warning{padding:14px 18px}.member-welcome{display:flex;align-items:center;gap:24px;background:#eee9dc;border:1px solid var(--line);padding:28px 32px;margin:24px 0}.member-welcome h2{font-family:var(--serif);font-size:1.5rem}.member-welcome p{margin-bottom:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.demo-avatar{display:grid;place-items:center;width:86px;height:96px;border-radius:38px 38px 3px 3px;background:#526b57;color:#fffdf5;font-size:2.8rem;flex-shrink:0;box-shadow:inset 0 0 0 7px #ffffff20}.member-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.member-stats p{border:1px solid var(--line);background:var(--paper);padding:16px 20px;font-size:.78rem;margin:0}.member-stats strong{font-family:Georgia,serif;font-size:1.8rem;display:block;color:var(--forest)}.member-transfer{padding:24px 28px;border-left:4px solid #82916e;background:#eef0e5;margin:25px 0}.member-transfer h2{font-family:var(--serif)}.member-record-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.member-record{padding:23px;background:#fcf8ed;border:1px solid var(--line);min-width:0}.member-record .field{margin-bottom:16px}.member-record textarea{resize:vertical;font-size:.86rem}.member-record h3{font-family:var(--serif);font-size:1.1rem;overflow-wrap:anywhere}.member-seed{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 0;border-bottom:1px dashed var(--line)}.member-seed a{font-size:.86rem;line-height:1.9}.member-seed button{flex-shrink:0;font-size:.78rem}.submission-summary{padding:22px 0;border-bottom:1px dashed var(--line)}.submission-summary h3{font-family:var(--serif);font-size:1.1rem}.submission-editor{max-width:840px;padding:32px 38px;border:1px solid #d5c5ac;background:linear-gradient(90deg,#f1e8d8 0 10px,#fffdf8 10px);box-shadow:5px 5px 0 #e8e0d1;margin:26px 0 32px}.submission-editor>.field{margin:20px 0}.submission-editor textarea{font:inherit;line-height:1.9;resize:vertical}.submission-editor input,.submission-editor select{width:100%}.submission-editor .checkbox-label input{width:20px;flex-shrink:0}.editor-choices{margin:22px 0;border-bottom:1px dashed var(--line)}.editor-choices>summary{cursor:pointer;min-height:44px;padding:8px 0;font-size:.9rem;font-weight:600}.editor-choices fieldset{border:1px solid var(--line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px;margin:12px 0 18px;padding:16px}.editor-choices legend{font-size:.8rem;padding:0 8px}.editor-choices .checkbox-label{font-size:.78rem;line-height:1.8;overflow-wrap:anywhere}.editor-save-status{background:#eaf0e4;border-left:3px solid var(--forest);padding:12px 15px;font-size:.82rem;min-height:50px;margin-top:24px}.editor-save-status.warning{border-color:#bc8a35;background:#fff2d4}.editor-actions{padding-top:10px;border-top:1px solid var(--line);gap:10px}.editor-actions button{font-size:.8rem}.submission-preview{background:var(--paper);border:1px solid var(--line);padding:26px 30px;margin:18px 0;overflow-wrap:anywhere}.submission-preview h2{font-family:var(--serif);font-size:1.5rem;line-height:1.7}.submission-preview .catchcopy{color:var(--rust);font-family:var(--serif);font-size:1rem}.submission-preview .preview-body{line-height:2;white-space:pre-wrap}.submission-state{display:inline-block;background:#e9eee5;border:1px solid #c5d1bd;padding:8px 14px;font-size:.85rem}.review-reason{padding:15px 20px;border-left:3px solid #9b6d32;background:#f4ead7;white-space:pre-wrap;font-size:.88rem}.submission-history{border-top:1px dashed var(--line);margin:28px 0;padding-top:14px;font-size:.78rem;overflow-wrap:anywhere}.submission-history summary,.draft-import summary,.review-card summary{cursor:pointer;min-height:44px;padding:8px 0}.draft-import{max-width:840px;margin:28px 0}.review-card{border:1px solid var(--line);background:#fffaf0;padding:26px 30px;margin:25px 0;min-width:0}.review-card h2{font-family:var(--serif);overflow-wrap:anywhere}.review-card>details{margin:10px 0;border-bottom:1px dashed var(--line);font-size:.86rem}.review-card textarea{width:100%;line-height:1.8;resize:vertical}.revision-diff dt{font-weight:700;margin-top:14px;font-size:.8rem}.revision-diff dd{margin:5px 0 20px;overflow-wrap:anywhere;font-size:.8rem}.revision-diff del,.revision-diff ins{display:block;white-space:pre-wrap;padding:9px 12px;margin:5px 0;text-decoration:none}.revision-diff del{background:#f3e2d9;border-left:3px solid #a5664f}.revision-diff ins{background:#e6edde;border-left:3px solid #66845a}.cross-search-form{background:#f7f1e4;border:1px solid var(--line);padding:26px 30px;margin:24px 0}.cross-search-form>.field{margin-bottom:22px}.cross-search-form .control-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cross-search-form .control-fields>.field{min-width:0}.cross-search-form .checkbox-label{margin-top:20px}.cross-search-form>p{margin:18px 0 0}.search-result{padding:24px 0;border-bottom:1px dashed var(--line);overflow-wrap:anywhere}.search-result h2{font-family:var(--serif);font-size:1.25rem}.search-result>.eyebrow{font-size:.65rem;margin-bottom:8px}.search-result>p{font-size:.88rem}.community-work{margin:25px 0 40px}.backup-section>details{margin:20px 0}.backup-section>button{margin:10px 10px 12px 0}
@media(max-width:900px){.cross-search-form .control-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.member-toolbar{gap:12px}.member-record-list{gap:14px}.member-record{padding:20px 18px}.submission-editor{padding:28px}.member-stats{gap:10px}.member-stats p{padding:14px}}
@media(max-width:650px){.member-toolbar{display:grid;grid-template-columns:1fr}.member-toolbar>.field,.member-toolbar>p{min-width:0}.member-toolbar>button{justify-self:start;font-size:.8rem}.member-subnav{gap:3px 8px}.member-subnav a{font-size:.78rem}.member-welcome{padding:22px 18px;gap:16px;align-items:start}.demo-avatar{width:62px;height:78px;font-size:2rem}.member-welcome h2{font-size:1.2rem}.member-welcome p{font-size:.8rem}.member-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.member-record-list{grid-template-columns:1fr}.member-transfer{padding:20px 18px}.member-transfer h2{font-size:1.1rem}.member-seed{display:block}.member-seed button{margin-top:14px}.submission-editor{padding:23px 18px 23px 22px;box-shadow:3px 3px 0 #e8e0d1}.editor-choices fieldset{grid-template-columns:1fr;padding:12px}.editor-actions{display:grid;grid-template-columns:1fr}.submission-preview{padding:20px 17px}.submission-preview h2{font-size:1.25rem}.review-card{padding:22px 18px}.review-card>.action-row{display:grid;grid-template-columns:1fr}.cross-search-form{padding:22px 18px}.cross-search-form .control-fields{grid-template-columns:1fr}.member-record .checkbox-label{font-size:.8rem}.backup-section input[type=file],.draft-import input[type=file]{max-width:100%;font-size:.74rem}}
.member-record-add{display:flex;align-items:end;gap:15px;padding:20px;background:#f3edde;margin:20px 0}.member-record-add .field{flex:1;min-width:0}.member-record-add button{font-size:.8rem}@media(max-width:650px){.member-record-add{display:grid;grid-template-columns:1fr;padding:18px}}

/* v0.5: quiet writing guidance and bounded result pages. */
.editor-steps{border-block:1px solid var(--line,#ddcfbb);padding:1rem 0;margin-bottom:1.25rem}.editor-steps ol{list-style:none;display:flex;gap:.7rem;flex-wrap:wrap;padding:0;margin:0}.editor-steps li{flex:1;min-width:9rem}.editor-steps button{width:100%;text-align:left}.editor-steps [data-current] button{border-color:#54715c;background:#edf1e8}.step-progress{font-size:.85rem;color:#64705e;margin:.5rem 0 0}.required-marker{font-size:.75rem;color:#90523d;display:block;margin:.2rem 0}.rights-disclaimer{font-size:.85rem;background:#f0eee3;padding:.85rem}.public-export-section{margin-block:2rem;padding:1.5rem;border:1px solid #a9b69f;background:#f0f3ec}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;margin:1.2rem 0}.pagination button{min-height:44px}.cms-simulation{margin-block:1rem;font-size:.9rem}.cms-simulation>summary{cursor:pointer}.checklist-errors{color:#874a36}.checklist-errors button{text-align:left}.search-result{content-visibility:auto;contain-intrinsic-size:auto 240px}.review-count{padding:1rem;border-left:4px solid #889a75;background:#f0f3ec}.editor-save-status{scroll-margin-top:1rem}button:disabled{cursor:default}
@media(max-width:480px){.editor-steps ol{display:grid;grid-template-columns:1fr}.editor-steps li{min-width:0}.public-export-section{padding:1rem}.pagination{gap:.5rem}}

.member-welcome>div,.member-form,.public-export-section,.backup-section,.cms-simulation{min-width:0}.member-welcome p,.member-welcome h2,.submission-summary h3,.community-work,.preview-body,.cms-simulation p{overflow-wrap:anywhere}.cms-simulation select{max-width:100%}

/* v0.5.1 conflict comparison */
.conflict-panel{margin:1.5rem 0;padding:1rem;border:2px solid #9b613a;border-radius:12px;background:#fffaf0}.conflict-panel button{margin:.4rem}.conflict-table-scroll{overflow-x:auto}.conflict-table{width:100%;table-layout:fixed;border-collapse:collapse}.conflict-table th,.conflict-table td{padding:.65rem;border:1px solid #cfbfa9;text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.conflict-table th:first-child{width:18%}@media(max-width:600px){.conflict-table{min-width:580px}.conflict-panel{padding:.65rem}}
