:root{--foundry-clamp:url("/art/held-objects/spring-clamp.webp")}
/* The hardware bridges the backing and the top sheet. Only the paper scrolls. */
.prop-stage .prop-held[data-kind=notepad] .prop-leaves{
 --clamp-width:clamp(116px,22vw,164px);--board-head:clamp(28px,4vh,38px);
 box-sizing:border-box;padding:var(--board-head) 8px 9px;
 border:1px solid #473020;border-radius:7px;
 background:linear-gradient(#35220d50,#27160a44),#5d3e29 url('/media/desk-edge-r13.webp') center top / auto 96px no-repeat;
 box-shadow:inset 0 1px 1px #ffe9c983,inset 0 -3px 2px #2d1e16,0 2px 0 #281a12;
}
.prop-stage .prop-held[data-kind=notepad] .prop-leaves::before{
 content:"";position:absolute;left:50%;top:calc(var(--board-head) - var(--clamp-width) * .30 + 7px);z-index:4;
 width:var(--clamp-width);height:auto;aspect-ratio:2157/729;transform:translateX(-50%);
 border:0;border-radius:0;box-shadow:none;
 background:transparent var(--foundry-clamp) center/contain no-repeat;
 filter:drop-shadow(0 1px 0 #432d16) drop-shadow(1px 3px 2px #271a118a);pointer-events:none;
}
.prop-stage .prop-held[data-kind=notepad] .prop-leaves::after{content:none}
.prop-stage .prop-held[data-kind=notepad] .prop-leaf{
 border-radius:1px;background-color:#f6f1e7;
 box-shadow:0 1px #b4a898,0 2px #ece2ce,0 3px #978878,0 4px #ebe0cb,1px 5px 4px #24150d88;
}
.prop-stage .prop-held[data-kind=notepad] .quick-inquiry{border-top:1px solid #fff9}
.prop-stage .prop-held{filter:drop-shadow(0 3px 2px #17100978) drop-shadow(4px 17px 15px #110e0a70)}
.prop-stage .prop-held[data-kind=letter] .prop-leaf{
 border:1px solid #cdbda5;background-color:#f7f1e5;
 background-image:linear-gradient(178deg,transparent 48.9%,#94826819 49.7%,#fff8 50%,transparent 50.6%);
 box-shadow:0 1px #fff6df,1px 3px #b8a78f;
}
.prop-stage .prop-held[data-kind=cards] .prop-leaves::before{transform:rotate(-1.3deg) translate(-4px,4px);border:1px solid #cfc2ab}
.prop-stage .prop-held[data-kind=cards] .prop-leaves::after{transform:rotate(.8deg) translate(3px,2px);border:1px solid #dbceb7}
.prop-stage .prop-held[data-kind=folder] .prop-tabs,.prop-stage .prop-held[data-kind=tray] .prop-tabs{scrollbar-width:thin}
.prop-stage .prop-held[data-kind=folder] .prop-leaves{border-radius:0 4px 5px 3px;box-shadow:1px 2px #a88a59,1px 3px #d9bf8f}
.prop-stage .prop-held[data-kind=folder] .crew-member::after{background:transparent var(--foundry-clamp) center/contain no-repeat;width:58px;height:20px;border:0;box-shadow:none;filter:drop-shadow(0 1px 1px #38260d66)}
.prop-stage .prop-held[data-kind=book] .prop-leaves{box-shadow:inset 0 0 0 1px #807957,inset 0 2px 2px #d0c59170,1px 3px #17271c}
.prop-stage .prop-held[data-kind=tray] .prop-leaves{border:1px solid #65442d;background:#79593d url('/media/desk-edge-r13.webp') center bottom/cover}
.prop-stage .prop-held[data-kind=parcel] .packing-slip{box-shadow:0 1px #c3b399,1px 3px 5px #39231655}
.prop-stage .prop-down{border-radius:3px;border:1px solid #a38760;color:#fff0d7;background:#302920;box-shadow:inset 0 1px #d5bc8c42,0 2px 4px #100c0980;text-transform:none;letter-spacing:.025em}
.prop-stage[role=dialog] > .prop-down{
 width:auto;height:auto;min-height:44px;padding:0 1rem;clip-path:none;overflow:visible;opacity:1;pointer-events:auto;white-space:nowrap;
}
.prop-stage[role=dialog] .prop-held[data-kind=tray] .prop-tabs{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding-inline:0;
}
.prop-stage[role=dialog] .prop-held[data-kind=tray] .prop-tab{
 min-width:0;min-height:44px;padding:.4rem .25rem;white-space:normal;line-height:1.2;overflow-wrap:anywhere;
}
@media(max-width:600px){
 .prop-stage[role=dialog] .prop-held[data-kind=tray] .prop-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .prop-stage .prop-held[data-kind=notepad] .prop-leaves{padding-inline:5px;padding-bottom:7px}
}
@media(forced-colors:active){
 .prop-stage .prop-held .prop-leaves,.prop-stage .prop-held .prop-leaf{background-image:none!important;box-shadow:none}
 .prop-stage .prop-held[data-kind=notepad] .prop-leaves::before{display:none}
}

/* Shared by the freestanding documents and the sheets opened inside a reader. */
main .object.board:has(>.clip){
 border:7px solid transparent;border-top-width:16px;border-radius:5px;
 background:linear-gradient(90deg,#e7dfd1,#f6f1e8 2%,#f6f1e8 98%,#e6dccb) padding-box,url('/media/desk-edge-r13.webp') left top / auto 96px no-repeat border-box,#563a29 border-box;
 box-shadow:inset 0 1px #fff9,0 2px #bdab8c,0 4px #61452f,0 16px 30px #140d084d;
}
main .object.board>.clip{
 position:absolute;left:50%;right:auto;top:-27px;transform:translateX(-50%);
 width:clamp(116px,22vw,164px);height:auto;aspect-ratio:2157/729;
 background:transparent var(--foundry-clamp) center/contain no-repeat;
 border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 2px 1px #3727167a);pointer-events:none;
}
main .object.board>.clip::before,main .object.board>.clip::after{content:none}
main.folder>.fastener,main .object.folder>.fastener{
 background:transparent var(--foundry-clamp) center/contain no-repeat;border:0;border-radius:0;
 width:clamp(65px,9vw,110px);height:auto;aspect-ratio:2157/729;box-shadow:none;
 filter:drop-shadow(0 2px 1px #38251266);pointer-events:none;
}
main .object.folio,main .object.ledger{
 box-shadow:inset 4px 0 #655947,inset 6px 0 #bbac8f,0 1px #ac9c82,1px 3px #eee4ce,1px 4px #85755d,0 12px 28px #21170e40;
}
main .job-leaf{border-bottom:2px solid #c9b799}
@media(forced-colors:active){
 main .object.board>.clip,main.folder>.fastener,main .object.folder>.fastener{visibility:hidden}
}



/* Binding, paper and photographic prints carry from the lifted book into each entry. */
.prop-stage .prop-held[data-kind=book] .prop-leaves {
 background:repeating-linear-gradient(89deg,#ffffff08 0 1px,transparent 1px 3px),#35473e;
 border:1px solid #283b30;border-radius:4px 9px 8px 4px;
 padding:6px 7px 8px 12px;
}
.prop-stage .prop-held[data-kind=book] .prop-leaf,
.journal-entry-page main .object.folio {
 background:linear-gradient(90deg,#afa38b 0,#ddd2b8 8px,#f5eedc 24px,#f5eedc 96%,#ede4cf);
 box-shadow:1px 1px #bbad90,2px 3px #f1e6cf,3px 4px #a6997e;
}
.prop-stage .prop-held[data-kind=book] .note-art,
.journal-entry-page main .editorial-art img,.journal-entry-page main .scene-print {
 box-sizing:border-box;border:5px solid #fffaf0;box-shadow:0 2px 5px #47392136;
}
.journal-entry-page main.stage {padding:clamp(8px,2vw,25px) clamp(6px,3vw,36px) 28px}
.journal-entry-page main .object.folio {
 max-width:840px;border:solid #35473e;border-width:1px 4px 5px 10px;
 border-radius:3px 8px 8px 3px;padding:clamp(32px,6vw,66px) clamp(24px,6vw,68px);
}
.journal-entry-page main .object.folio::after {
 content:"";position:absolute;top:0;right:7%;width:13px;height:26px;background:#854639;
 clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);pointer-events:none;
}
.journal-entry-page main .article-layout {display:block}
.journal-entry-page main .article-layout>.contents {position:static;display:flex;flex-wrap:wrap;gap:.35rem 1rem;margin:1.6rem 0;padding:.8rem 0;border-block:1px solid #baaf94}
.journal-entry-page main .article-layout>.contents a {display:block;padding:.25rem 0}
.journal-entry-page main .reading {max-width:66ch;margin-inline:auto}

.bench-board:has(>.bench-examples),.prop-stage .bench-board:has(>.bench-examples){display:block;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0}
.bench-examples{width:100%;box-sizing:border-box;background:#faf5e9;color:#302b24;padding:clamp(12px,2vw,24px);text-align:left}
.bench-examples .bench-chapter{display:block;margin:0 0 1.6rem;padding:0;border:0;background:transparent}
.bench-examples .bench-chapter :is(h2,h3){font-size:1.08rem;line-height:1.3;color:#355044;border-bottom:2px solid #ad916a;padding:0 0 .5rem;margin:0}
.bench-examples dl{display:block;margin:0;padding:0}.bench-examples dl>div{display:block;border-bottom:1px solid #d0c3aa;padding:.85rem 0}
.bench-examples dt{display:block;font-weight:bold;line-height:1.35;margin:0 0 .2rem}.bench-examples dd{display:block;font-size:1rem;line-height:1.52;margin:0;max-width:69ch}
.prop-leaf:has(.bench-examples) .noteboard-heading{padding:.7rem 0 .55rem}.prop-leaf:has(.bench-examples) .noteboard-heading h2{margin:0}.bench-examples .bench-chapter:last-child{margin-bottom:0}
