@import url('motion.css');
:root{font-family:Arial,sans-serif;color:#322f24;background:#ebe3d2;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid #9e9074;border-radius:3px;background:#fbf4e5;color:#353929;padding:10px 16px}button:hover{background:#e9ddc4}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,.paper-scroll:focus-visible{outline:3px solid #1c6490;outline-offset:3px}header{display:flex;align-items:center;justify-content:space-between;padding:10px 4%;gap:16px;background:#303d29;color:#fff9e9}header h1{font:400 22px Georgia,serif;margin:0}header>a{font-size:14px}header button{background:transparent;color:#fff9e9;border-color:#b2ac8e;font-size:12px}header button:hover{background:#47523a}.guidance{font-size:13px;margin:0;padding:12px 4%;background:#faf5e9}.guidance span{display:none}.room-viewport{overflow:hidden}.study{position:relative;aspect-ratio:16/9;width:100%;background:#cfc3a6;isolation:isolate;overflow:hidden}.room-image{width:100%;height:100%;object-fit:cover;display:block;transform-origin:65% 72%;transition:transform var(--zoom-duration) ease}.object{position:absolute;display:block;background:transparent;border:0;padding:0;min-width:44px;min-height:44px;border-radius:0}.object:hover{background:#ffefbd18;outline:2px solid #ffe3a288}.door{left:26%;top:3%;width:15%;height:17%}.passages{left:1%;top:17%;width:17%;height:19%}.plans{left:37%;top:17%;width:23%;height:16%}.resume{left:75%;top:49%;width:20%;height:15%}.open-book{left:13%;top:61%;width:73%;height:30%}.desk-active{overflow:hidden}.desk-active .room-image{transform:scale(7)}.desk-active .object{visibility:hidden}
/* A viewport-filling crop of one blank page, with no spine or book edges. */
#desk{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;height:100dvh;width:100%;color:#2f291f;isolation:isolate;background:#efe1c5;animation:page-arrival var(--page-reveal-duration) var(--page-reveal-delay) both}#desk[hidden]{display:none}#desk:before{content:'';position:absolute;inset:0;z-index:-1;background-image:url('bible-room.webp');background-size:800% 800%;background-position:67% 75%;pointer-events:none}.desk-tools{flex:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px max(24px,calc((100vw - 780px)/2));border-bottom:1px solid #99886666;background:#f4e8cfd9}.desk-tools button{font-size:14px;background:transparent}.paper-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:#978768 transparent;scrollbar-width:thin;padding:clamp(25px,5vh,55px) 28px 80px;scroll-padding-top:25px}.paper-scroll>*{width:100%;max-width:760px;margin-left:auto;margin-right:auto}#desk-title{font:400 clamp(28px,3vw,42px)/1.18 Georgia,serif;margin-top:0;margin-bottom:26px;overflow-wrap:anywhere}.paper-scroll p{font:18px/1.75 Georgia,serif}.passage-text{white-space:pre-wrap;font:21px/1.85 Georgia,serif;overflow-wrap:anywhere;margin:24px 0;column-count:1}.large .passage-text{font-size:26px}.large .plan-list button{font-size:22px}form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;width:100%}label{display:grid;gap:9px;font-size:14px;flex:1;min-width:180px}input,select{min-height:48px;min-width:0;width:100%;padding:12px;border:1px solid #a59678;background:#fffaf0;color:#302e24}#desk-content .status{font:14px/1.6 Arial,sans-serif}.reader-links{display:flex;flex-wrap:wrap;gap:18px;font-size:14px;align-items:center;margin:22px 0}.plan-list{padding:0;list-style:none;column-count:1;margin:20px 0 30px}.plan-list li{border-bottom:1px solid #ac9e8177}.plan-list button{background:transparent;border:0;text-align:left;padding:16px 4px;font-size:18px;width:100%;line-height:1.5}.accessible-tools{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;padding:16px;background:#faf5e9}.accessible-tools a{font-size:13px}.copyright{font-size:11px;line-height:1.5;text-align:center;padding:0 20px}#esv-copyright{max-width:850px;margin:20px auto;padding:0 20px;font-size:12px;line-height:1.6}#esv-copyright summary{cursor:pointer}@keyframes page-arrival{from{opacity:0}to{opacity:1}}
@media(max-width:700px){header{gap:8px;padding:10px 4%}header h1{font-size:18px}header>a{font-size:12px}header button{font-size:10px;padding:6px;min-height:38px}.guidance{font-size:12px;line-height:1.5}.guidance span{display:inline}.room-viewport{overflow-x:auto;overscroll-behavior-x:contain}.study{width:1000px;height:562px;aspect-ratio:auto}.desk-tools{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));gap:8px}.desk-tools button{font-size:13px;padding:8px 10px}.paper-scroll{padding:26px 22px 70px}.paper-scroll p{font-size:17px}.passage-text{font-size:19px;line-height:1.8}.large .passage-text{font-size:24px}.accessible-tools{gap:8px;padding:12px}.accessible-tools button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.reduced *{transition:none!important;scroll-behavior:auto!important;animation:none!important}

/* Readable controls and keyboard access without changing the room artwork. */
.room-skip{position:fixed;left:12px;top:-100px;z-index:10000;padding:12px 18px;background:#fffaf0;color:#29372e;border:2px solid #40532f}.room-skip:focus{top:12px}

header{flex-wrap:wrap}header button,header a,.accessible-tools button,.accessible-tools a{font-size:14px;min-height:44px}.guidance{font-size:16px}
