:root{--ink:#343c32;--paper:#f1e7cf;--green:#435e4d;--muted:#77715d;--line:#d0c09f;--orange:#a34e35;--size:6}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#e9e7df;font:14px 'Trebuchet MS',Arial,sans-serif}button,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #b77c2d;outline-offset:3px}[hidden]{display:none!important}header{max-width:1360px;margin:auto;padding:18px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d4d2c6}.brand{display:flex;align-items:center;gap:10px;color:var(--green);text-decoration:none;font-weight:bold;font-size:21px;letter-spacing:-.8px}.brand-icon{background:var(--green);color:#f5eacb;padding:5px 10px;border-radius:50%;font-family:Georgia}.brand-dot{font-size:9px;letter-spacing:1.8px;margin-left:8px;font-weight:400}.quiet{border:0;background:transparent;color:var(--ink);padding:10px}main{max-width:1320px;margin:auto;padding:0 25px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:bold;color:var(--muted)}.book-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px 0 12px}.book-intro h1{font:700 40px Georgia,serif;margin:8px 0;color:var(--green)}.book-intro p{font-size:13px;color:var(--muted);max-width:510px;line-height:1.6}#landmarks{width:230px}#landmarks svg{width:100%;height:110px}.casebar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d4d2c6;border-bottom:1px solid #d4d2c6;padding:9px 0;gap:10px}.casebar>div:first-child{display:flex;gap:14px;align-items:center}select{border:0;background:transparent;color:var(--ink);font-size:12px;font-weight:bold;padding:10px 4px;max-width:390px}.print-controls{display:flex;gap:3px;font-size:11px}.case-trail{display:flex;justify-content:center;gap:16px;padding:18px 0}.case-trail button{display:flex;align-items:center;gap:7px;background:none;border:0;color:var(--muted);font-size:10px;padding:5px}.case-trail b{display:grid;place-items:center;border:1px solid #b8b39e;border-radius:50%;width:22px;height:22px;font-size:11px}.case-trail .current{color:var(--green);font-weight:bold}.case-trail .current b{background:var(--green);color:#fff}.book{background:var(--paper);border:1px solid #d5c5a6;border-radius:8px 13px 13px 8px;box-shadow:0 15px 30px #42351d13,0 4px 0 #ded2ba,0 7px 0 #d0c3ab;margin-bottom:18px;position:relative;overflow:hidden}.workspace{display:grid;grid-template-columns:1.08fr 1fr;background:linear-gradient(90deg,transparent 50%,#806e3d12 51.8%,#fff2 52.5%,transparent 54%)}.clue-page{padding:28px 32px 24px}.chapter{display:flex;align-items:center;justify-content:space-between;gap:8px}.difficulty{font-size:9px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;background:#cfc29388;padding:6px 9px;border-radius:10px}.clue-page h2{font:bold 29px/1.1 Georgia,serif;margin:14px 0 10px;letter-spacing:-.5px}.story{font:italic 14px/1.6 Georgia,serif;max-width:520px;margin:0 0 13px;color:#6e624d}.lesson{font-size:11px;line-height:1.5;padding:9px 11px;background:#fffae04d;border-left:3px solid #a79861;margin:12px 0 20px}.suspect-heading{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:14px}#count{font-size:10px;color:var(--muted);white-space:nowrap}#people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;align-items:start}#people:has(.person-card:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 13px}.person-card{position:relative;padding:4px 5px 8px;border:2px solid transparent;border-radius:8px;min-width:0}.person-card.selected{border-color:#697f4d;background:#fff6}.person-header{border:0;padding:0;background:none;display:flex;width:100%;align-items:center;flex-direction:column;text-align:center;gap:0;color:var(--ink);position:relative}.avatar{width:86px;height:105px;display:block}.avatar>svg{width:100%;height:100%}.person-header>span:nth-child(2){display:block;width:100%;background:#d5b66e;box-shadow:0 2px 0 #b69a5c;padding:5px 2px 4px;margin-top:-7px;position:relative;transform:rotate(-2deg)}.person-card:nth-child(even) .person-header>span:nth-child(2){transform:rotate(2deg)}.person-header strong{font-size:13px;letter-spacing:1.2px;text-transform:uppercase}.person-header small{font-size:9px;display:block;color:#655431;margin-top:2px}.placed{position:absolute;top:0;right:0;font-size:8px;background:#f5edd7;padding:4px;color:var(--green);border-radius:4px}.victim-tag{display:block;font-size:7px;letter-spacing:1px;color:#842c25;margin-top:2px}.person-card:has(.victim-tag) .person-header>span:nth-child(2){background:#ca957b}.clue{display:flex;align-items:flex-start;gap:5px;font:12px/1.45 Georgia,serif;margin:9px 0 0;cursor:pointer}.clue input{accent-color:var(--green);width:12px;height:12px;margin:2px 0 0;flex-shrink:0}.clue:has(input:checked){text-decoration:line-through;opacity:.5}.given-clue{font-style:italic;color:var(--green)}.note{background:#e2d5a9;padding:12px 15px;margin:20px 0 0;transform:rotate(-1deg);box-shadow:1px 2px 0 #aa985b22}.note>span{font-size:8px;letter-spacing:1px;font-weight:bold}.note p{font:italic 14px/1.5 Georgia,serif;margin:5px 0}.map-panel{padding:30px 30px 20px 25px;min-width:0}.map-label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;margin-bottom:10px;color:#70654e;gap:8px}.board,.mini-board{display:grid;grid-template-columns:repeat(var(--size),minmax(0,1fr));grid-template-rows:repeat(var(--size),minmax(0,1fr));border:3px solid #4c4b3d;aspect-ratio:1;background:#e8d8b6;box-shadow:3px 4px 0 #a5987344;transform:rotate(.5deg);width:100%}.cell{position:relative;min-width:0;min-height:0;overflow:hidden;border:0;border-right:1px solid #675c3d55;border-bottom:1px solid #675c3d55;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ink);padding:2px;background-color:var(--area);background-image:linear-gradient(90deg,#fff1 1px,transparent 1px),linear-gradient(#fff1 1px,transparent 1px);background-size:14px 10px}.area-0{--area:#e1ceaa;background-color:var(--area)}.area-1{--area:#e6bfaa;background-color:var(--area)}.area-2{--area:#c4cea5;background-color:var(--area)}.area-3{--area:#bbcdd0;background-color:var(--area)}.cell.area-2{background-image:radial-gradient(#7b865533 .7px,transparent .8px);background-size:5px 7px}.cell.area-3{background-image:repeating-linear-gradient(0deg,#ffffff10 0 6px,transparent 6px 10px)}.cell.wall-right{border-right:3px solid #4c4b3d}.cell.wall-bottom{border-bottom:3px solid #4c4b3d}.cell:hover:not(:disabled){box-shadow:inset 0 0 0 2px #7e6c3e;background-color:#f2e5bd}.object{display:block;width:90%;height:90%}.object svg{width:100%;height:100%;display:block;filter:drop-shadow(1px 2px 0 #0001)}.coord{position:absolute;top:2px;left:3px;font-size:8px;opacity:.6;z-index:1}.person-token{display:grid;place-items:center;border:2px solid #fff9;border-radius:50%;width:35px;height:35px;color:white;font-weight:bold;font-size:17px;box-shadow:0 2px 2px #0002}.token-name{font-size:10px;margin-top:1px;font-weight:bold}.given .person-token{outline:1px dashed var(--green);outline-offset:2px}.crossed{font-size:37px;color:#55594699}.legend{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;font-size:10px}.legend span{display:flex;gap:6px;align-items:center}.legend i{width:10px;height:10px;border:1px solid #675c3d66}.object-key{font-size:10px;color:var(--muted);margin:13px 0}.object-key summary{cursor:pointer}.object-key>div{display:grid;grid-template-columns:repeat(4,1fr);padding-top:8px;gap:8px}.object-key span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px}.object-key svg{width:40px;height:40px}.object-key b{font-weight:normal}.tools{display:flex;background:#ded2b5;border-radius:5px;padding:4px;gap:4px;margin-top:15px}.tools button{flex:1;border:0;background:transparent;border-radius:4px;color:#73664e;padding:10px 3px;font-size:11px}.tools button.active{background:#f8edd6;color:var(--green);box-shadow:0 1px 4px #0001}.actions{display:flex;align-items:center;gap:3px;margin-top:9px;flex-wrap:wrap}.actions .primary{margin-left:auto}.actions .quiet{font-size:11px}.primary{border:0;background:var(--green);color:#fff9e1;padding:11px 17px;border-radius:4px;font-size:11px}.primary:hover{background:#314d39}#message{font:12px/1.5 Georgia,serif;min-height:36px;color:#6e624d}.notebook-bottom{display:grid;grid-template-columns:135px 1fr;align-items:center;gap:28px;margin-top:8px}.mini-board{width:130px;margin-top:7px;border-width:2px;transform:rotate(-1deg)}.mini-board .cell{border-right-width:.5px;border-bottom-width:.5px}.mini-board .wall-right{border-right-width:2px}.mini-board .wall-bottom{border-bottom-width:2px}.obstacle-dot{width:4px;height:4px;border-radius:50%;background:#7c735a;opacity:.5}.conclusion>p{font:italic 21px Georgia,serif;margin:8px 0}.accuse{width:100%;background:#e7d499;border:0;border-bottom:2px solid #b5a267;color:var(--ink);padding:12px 5px;font-size:12px;font-weight:bold;border-radius:2px}.conclusion .primary{margin-top:9px;width:100%}.reset{display:inline-block;margin:16px 5px 0;border:0;background:none;color:var(--muted);text-decoration:underline;font-size:9px;padding:5px}.progress{font-size:9px;color:var(--muted)}footer{display:flex;justify-content:space-between;padding:20px 0 25px;font-size:9px;letter-spacing:1px;color:var(--muted);gap:10px}dialog{border:1px solid var(--line);border-radius:7px;background:#f7efd9;color:var(--ink);padding:34px;max-width:520px;width:calc(100% - 30px);box-shadow:0 20px 70px #0003}dialog::backdrop{background:#28291f99}dialog h2{font:700 27px Georgia,serif}dialog p,dialog li{font-size:13px;line-height:1.7}dialog li{margin-bottom:8px}.close{position:absolute;top:8px;right:10px;background:none;border:0;font-size:25px;color:var(--ink)}#accusations{display:grid;grid-template-columns:1fr 1fr;gap:8px}#accusations button{border:1px solid var(--line);background:#fff9;padding:12px;color:var(--ink);border-radius:4px}#verdict{font-weight:bold}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#printPages{display:none}
@media(max-width:1050px){.clue-page{padding:22px}.map-panel{padding:24px 20px}.brand-dot{display:none}.case-trail{gap:5px}.casebar>div:first-child{gap:3px;flex-direction:column;align-items:flex-start}.print-controls{font-size:10px}.person-header strong{font-size:11px}#people:has(.person-card:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}.avatar{width:73px;height:89px}}
@media(max-width:700px){header{padding:14px 18px}main{padding:0 12px}.brand{font-size:18px}.book-intro{padding:20px 5px 14px;gap:10px}.book-intro h1{font-size:32px}.book-intro p{font-size:11px}.book-intro #landmarks{width:140px;flex-shrink:0}.print-controls{flex-wrap:wrap;justify-content:flex-end;max-width:180px}.print-controls button{padding:7px;font-size:9px}select{max-width:190px;font-size:10px}.case-trail{justify-content:space-between;gap:0;overflow:auto}.case-trail button{flex-direction:column;gap:4px;padding:4px 2px}.case-trail span{font-size:8px;max-width:58px;text-align:center}.workspace{grid-template-columns:1fr;background:none}.clue-page{padding:22px 18px}.clue-page h2{font-size:26px}.map-panel{padding:20px;border-top:1px solid var(--line)}#people:has(.person-card:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 5px}#people{gap:14px}.clue{font-size:11px}.person-header strong{font-size:11px}.person-header small{font-size:8px}.avatar{width:70px;height:85px}.person-card{padding:3px}.placed{font-size:7px;right:-3px;padding:3px}.suspect-heading>.eyebrow{font-size:8px}.person-header>span:nth-child(2){padding:4px 1px}.story{font-size:13px}.notebook-bottom{grid-template-columns:120px 1fr;gap:20px}.mini-board{width:115px}.person-token{width:31px;height:31px;font-size:14px}footer{font-size:8px;line-height:1.6}.cell .token-name{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@page{size:A4 landscape;margin:10mm}
@media print{
 html,body{margin:0!important;padding:0!important;background:white!important;width:277mm;color:#302e25;font-family:Arial,sans-serif;-webkit-print-color-adjust:exact;print-color-adjust:exact}body>header,body>main,body>dialog{display:none!important}#printPages{display:block!important}.print-sheet{width:277mm;height:188mm;box-sizing:border-box;break-after:page;page-break-after:always;overflow:hidden;padding:3mm 4mm;background:#f8f0da;border:1px solid #c8b894}.print-sheet:last-child{break-after:auto;page-break-after:auto}.print-head{display:flex;justify-content:space-between;font-size:8pt;letter-spacing:1px;border-bottom:1px solid #baac8d;padding-bottom:2mm}.print-spread{display:grid;grid-template-columns:1fr 1fr;gap:9mm;height:174mm}.print-clues{display:flex;flex-direction:column;padding-top:3mm;min-width:0}.print-clues h1{font:bold 20pt/1.05 Georgia,serif;margin:0 0 2mm}.print-story{font:italic 9pt/1.35 Georgia,serif;margin:0 0 2mm}.print-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm;align-items:start;flex:1;align-content:space-evenly}.print-people:has(.print-person:last-child:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:7mm}.print-person{text-align:center;break-inside:avoid}.print-person>svg{display:block;width:17mm;height:21mm;margin:auto}.ribbon{position:relative;background:#d6bb78;text-transform:uppercase;font-weight:bold;font-size:9pt;letter-spacing:1px;margin:-1mm 0 1mm;padding:1mm 0;border-bottom:1px solid #af914d}.print-person:has(strong) .ribbon{background:#d2a48d}.print-clue{font:9pt/1.22 Georgia,serif}.print-clue p{margin:0 0 1mm}.print-clue strong{font-size:8pt}.print-rules{font-size:7.5pt;line-height:1.4;background:#e9dfbd;padding:2mm;margin-top:2mm}.print-map{padding-top:4mm;min-width:0}.print-map .map-label{font-size:6.5pt;margin-bottom:2mm}.print-map>.board{width:123mm;height:123mm;aspect-ratio:auto;border-width:2px;transform:none;box-shadow:none}.print-map .coord{font-size:6pt}.print-map .object{width:92%;height:92%}.print-map .legend{font-size:7pt;margin:2mm 0;gap:1.5mm}.print-map .legend i{width:2.5mm;height:2.5mm}.print-map .person-token{width:9mm;height:9mm;font-size:12pt}.print-map .token-name{font-size:6pt}.print-bottom{display:grid;grid-template-columns:31mm 1fr;gap:7mm;align-items:center}.print-bottom .eyebrow{font-size:6pt}.print-bottom .mini-board{width:29mm;height:29mm;margin-top:1mm;box-shadow:none;transform:none}.print-answer svg{width:49mm;height:19mm;float:right}.print-answer p{font:italic 12pt Georgia;margin:0 0 4mm}.answer-line{height:1mm;border-bottom:1px solid #6d6248;margin:0 0 2mm}.print-answer small{font-size:6pt;line-height:1.3;display:block}.cell{cursor:default}.obstacle-dot{width:1mm;height:1mm}
}
.candidate-notes{position:absolute;top:5px;right:4px;max-width:65%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px;pointer-events:none}.pencil{font:italic bold 12px Georgia,serif;line-height:1.2;color:var(--pencil);opacity:.7;padding:1px 2px}.pencil.chosen{opacity:1;background:#fff5dbab;border-radius:2px;outline:1px dashed #8f845e}.pdf-download{color:var(--ink);text-decoration:underline;display:inline-block}.print-controls{align-items:center;flex-wrap:wrap;justify-content:flex-end}.print-controls .pdf-download{font-size:11px}@media(max-width:700px){.pencil{font-size:11px}.candidate-notes{top:4px;right:2px}.print-controls .pdf-download{font-size:9px}}@media print{.candidate-notes{display:none}}
#explanationDialog{max-width:760px;max-height:85vh;overflow-y:auto}#explanationSteps{padding-left:22px}#explanationSteps li{padding:8px 3px;border-bottom:1px solid var(--line);line-height:1.7}#explanationSteps li:last-child{font-weight:bold;border-bottom:0;color:var(--green)}
.board{position:relative}.area-name{position:absolute;transform:translateY(-100%);display:block;text-align:center;pointer-events:none;z-index:3;padding:2px 4px 1px;font:italic bold 12px/1.1 'Palatino Linotype','Book Antiqua',Georgia,serif;letter-spacing:.3px;color:#403a2c;text-shadow:0 1px #fff9;background:#f8edcfdb;border-top:1px solid #8c7b5966;border-bottom:1px solid #8c7b5966;box-shadow:0 1px 1px #372c191a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell.name-band{padding-bottom:16px}.case-trail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.case-trail button{justify-content:center}.case-trail span{font-size:10px;text-align:left}.case-trail b{flex-shrink:0}@media(max-width:700px){.area-name{font-size:8px;letter-spacing:0;padding:2px 1px 1px}.cell.name-band{padding-bottom:12px}.cell.name-band .person-token{width:23px;height:23px;font-size:12px}.cell.name-band .token-name{font-size:8px}.case-trail{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.case-trail span{max-width:80px;font-size:8px;text-align:center}.case-trail button{min-height:46px}}@media print{.area-name{font-size:8pt;letter-spacing:0;padding:.6mm 1mm .3mm}.cell.name-band{padding-bottom:4mm}}
.victim-location-title{font:700 10px/1.4 'Trebuchet MS',Arial,sans-serif;text-transform:uppercase;letter-spacing:.6px;color:var(--green);margin:12px 0 4px}.victim-rule{font:italic 11px/1.5 Georgia,serif;color:#73614e;border-top:1px solid #b8a67c88;padding-top:8px;margin:12px 0 0}.print-clue .victim-location-title{display:block;font:700 7pt/1.3 Arial,sans-serif;letter-spacing:.3px;margin:1mm 0}
.area-4{--area:#d4c6d5;background-color:var(--area)}
@media print{.print-sheet.many-areas .print-map>.board{width:120mm;height:120mm}}
.rules-button{border:1px solid #a59975;border-radius:5px;background:#f7efd9;color:var(--green);font-weight:bold;font-size:11px;padding:9px 13px;white-space:nowrap;box-shadow:0 1px 0 #b7aa8544}.rules-button:hover{background:#e6d9af}.map-heading{display:flex;align-items:center;gap:12px;margin-bottom:10px}.map-heading .map-label{flex:1;min-width:0;margin-bottom:0}.rules-dialog{padding:0;max-width:780px;max-height:88vh;max-height:88dvh;overflow:auto}.rules-dialog-head{position:sticky;top:0;z-index:2;background:#f7efd9;padding:24px 30px 14px;border-bottom:1px solid var(--line)}.rules-dialog-head h2{margin:7px 32px 10px 0}.rules-dialog-head p{margin:0}.rules-dialog-head .close{top:12px;right:15px}.rules-content{padding:0 30px 28px}.rules-content h3{font:bold 19px Georgia,serif;margin:24px 0 12px;color:var(--green)}.rules-content ul,.rules-content ol{padding-left:21px}.rules-content p,.rules-content li,.rules-content dd{font-size:13px;line-height:1.65}.rules-content li{margin-bottom:8px}.click-cycle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0!important}.click-cycle li{background:#e7ddbd;padding:12px;border-radius:4px;margin:0}.click-cycle b{display:block;font-size:12px;color:var(--green);margin-bottom:5px}.click-cycle span{font-size:12px;line-height:1.5;display:block}.rules-examples{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#eee2c0;padding:18px;border-radius:5px}.rules-examples figure{margin:0}.rules-grid{display:grid;border:2px solid var(--green);width:140px;height:140px;margin:0 auto 12px;background:#f8edcf}.grid-four{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr)}.grid-three{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}.rules-grid span{display:grid;place-items:center;border:1px solid #a99b78;font:700 18px Georgia,serif}.rules-grid .no{color:#a35b40;background:#eedcc0}.rules-grid .yes{background:#bfcca5;color:#3b593f;font:700 13px Arial,sans-serif}.rules-grid .person{color:white;background:var(--green)}.rules-grid .prop{color:#fff8e4;background:#a07e50}.rules-examples figcaption{font-size:12px;line-height:1.6}.rules-glossary{margin:0}.rules-glossary>div{padding:11px 0;border-bottom:1px solid var(--line)}.rules-glossary dt{font-weight:bold;color:var(--green);margin-bottom:4px;font-size:13px}.rules-glossary dd{margin:0}.rules-tip{padding:13px;background:#e7ddbd;border-radius:4px}.rules-content>.primary{margin-top:8px}@media(max-width:700px){.map-heading{gap:8px}.rules-button{padding:9px 11px;font-size:11px}.rules-dialog-head{padding:19px 20px 12px}.rules-content{padding:0 20px 22px}.rules-dialog-head h2{font-size:24px}.rules-dialog-head p{font-size:12px}.click-cycle{grid-template-columns:1fr}.rules-examples{grid-template-columns:1fr;padding:16px;gap:23px}.rules-content h3{font-size:18px}.rules-dialog-head .close{top:9px;right:10px}}
/* Dossiers and paper notes */
.series-picker{display:flex;align-items:stretch;gap:12px;margin:15px 0 20px;flex-wrap:wrap}.series-picker button{flex:1;min-width:230px;text-align:left;padding:15px 18px;border:1px solid #c6b99e;border-radius:7px;background:#f7f0df;color:var(--ink)}.series-picker button[aria-pressed=true]{border-color:var(--green);box-shadow:inset 4px 0 var(--green)}.series-picker span{font-size:8px;letter-spacing:1.4px;color:var(--muted);display:block}.series-picker strong{font:700 22px Georgia,serif;display:block;margin:6px 0}.series-picker small{font-size:10px;color:var(--muted)}.series-picker #nightSeries{background:#e5e7e0}.series-pdf{align-self:center;font-size:11px;color:var(--green);padding:10px;text-underline-offset:3px}.series-mugshot{background:#ece9df}.series-mugshot .avatar{width:98px;height:142px}.series-mugshot .person-header>span:nth-child(2){background:#34454b;box-shadow:0 2px 0 #1f2e32;color:#f5eddb;transform:none;border-radius:2px}.series-mugshot .person-header small{color:#d9d8c7}.series-mugshot .victim-tag{color:#f2c3a5}.series-mugshot .person-card{padding:6px;border-radius:5px}.series-mugshot .person-card.selected{background:#f8f5eb;border-color:#607675}.series-mugshot .difficulty{background:#d0d7d0}.series-mugshot .note{background:#d8ddce}.series-mugshot .victim-rule{background:#e3dac5;padding:10px;border-radius:4px;font:italic 13px/1.5 Georgia,serif;border:1px solid #c9bfa4}
label.clue{padding:8px;border:1px solid #cdbd9c;border-radius:5px;background:#fff9e7b8;gap:7px;box-shadow:0 1px 0 #b5a58511;transition:background .15s,border-color .15s}label.clue:hover{background:#fffaf0;border-color:#9b946d}label.clue input{appearance:none;-webkit-appearance:none;position:relative;width:15px;height:15px;min-width:15px;margin:1px 0 0;border:1.5px solid #9b9d83;border-radius:3px;background:#fffdf5;cursor:pointer}label.clue input:checked{background:var(--green);border-color:var(--green)}label.clue input:checked::after{content:'';position:absolute;width:4px;height:8px;left:4px;top:0;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(42deg)}label.clue:has(input:checked){background:#dce4cc;text-decoration:none;opacity:1;border-color:#9fab86}label.clue:has(input:checked)>span{color:#68735e;text-decoration:line-through}label.clue:focus-within{outline:2px solid #a57837;outline-offset:2px}.series-mugshot label.clue{background:#fbfaf2;border-color:#c7cec4}.series-mugshot label.clue:has(input:checked){background:#dbe5da;border-color:#879e8b}
.area-name{font-family:'Palatino Linotype','Book Antiqua',Georgia,serif;font-style:normal;font-weight:700;letter-spacing:.65px;border:1px solid #99805c;border-radius:3px;background:linear-gradient(#fcf6e5,#e3d0a5);box-shadow:inset 0 1px #fff9,0 1px 2px #54482f33;padding:3px 5px 2px;color:#4f4633}.series-mugshot .area-name,.mugshot-sheet .area-name{color:#30474b;border-color:#82948c;background:linear-gradient(#f3f2e8,#d0dbce);font-variant:small-caps;letter-spacing:.8px}.board.shaped,.mini-board.shaped{background:none;border:0;box-shadow:none}.shaped .void-cell{background:none;pointer-events:none}.cell.wall-top{border-top:3px solid #4c4b3d}.cell.wall-left{border-left:3px solid #4c4b3d}.mini-board .wall-top,.mini-board .wall-left{border-width:2px}.shaped .cell.name-band{padding-bottom:18px}.paper-check{display:inline-block;width:6px;height:6px;border:1px solid #918368;margin-right:4px;vertical-align:1px}
@media(max-width:700px){.series-picker{gap:8px}.series-picker button{min-width:150px;padding:12px}.series-picker strong{font-size:18px}.series-picker small{font-size:9px;line-height:1.5;display:block}.series-picker .series-pdf{font-size:10px;padding:5px}.series-mugshot .avatar{width:71px;height:103px}.series-mugshot .person-card{padding:3px}.series-mugshot .person-header strong{font-size:10px}label.clue{padding:7px 5px;gap:5px;font-size:11px}label.clue input{width:14px;height:14px;min-width:14px}.area-name{font-size:8px;letter-spacing:0;padding:2px 2px 1px}.series-mugshot .area-name{letter-spacing:0}.shaped .cell.name-band{padding-bottom:13px}.shaped .person-token{width:24px;height:24px;font-size:12px}.shaped .token-name{font-size:8px}}
@media print{.print-sheet.mugshot-sheet{background:#f2f1e6}.mugshot-sheet .print-person>svg{width:19mm;height:27.5mm}.mugshot-sheet .ribbon{background:#34454b;color:#f7f0dd;border-color:#34454b;font-size:8pt}.mugshot-sheet .print-person:has(strong) .ribbon{background:#746255;border-color:#746255}.print-hint{padding-left:8px;text-indent:-8px}.area-name{font-size:8pt;letter-spacing:.2px;padding:.6mm 1mm .3mm}.shaped .cell.name-band{padding-bottom:4mm}.shaped .cell.wall-top,.shaped .cell.wall-left{border-width:2px}.print-sheet .board.shaped{border:0}.print-sheet .mini-board.shaped{border:0}}
.surface-cell .object{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);pointer-events:none}.surface-cell.name-band .object{height:calc(100% - 20px)}.surface-cell .person-token,.surface-cell .token-name,.surface-cell .crossed{position:relative;z-index:2}.surface-cell.has-person .object{opacity:.6}.surface-cell .candidate-notes{z-index:4}.surface-mark{position:absolute;bottom:3px;right:3px;width:8px;height:8px;border-radius:2px;border:1px solid #3f6a4c;background:#aac899;z-index:2;pointer-events:none}.surface-cell{box-shadow:inset 0 0 0 2px #789c6c77}.surface-cell.name-band .surface-mark{bottom:18px}.allowed-dot{background:#3c6b47;opacity:.8}#objectLegend{display:block}.object-legend-group{margin-top:12px}.object-legend-group>strong{font-size:10px;color:var(--green);display:block;text-align:left}.object-legend-group>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding-top:7px}.extra-clues{margin-top:20px;padding:12px;background:#e1e5d5;border:1px solid #b1bda3;border-radius:6px}.extra-clues h3{font:700 17px Georgia,serif;margin:0 0 9px;color:var(--green)}.extra-clues label.clue{margin-bottom:0}.print-shared-clues{font:8pt/1.3 Georgia,serif;background:#e0e5d2;padding:2mm;margin-top:2mm}.print-shared-clues>strong{font:700 7pt Arial,sans-serif;text-transform:uppercase;letter-spacing:.3px}.print-shared-clues p{margin:1mm 0 0}@media(max-width:700px){.surface-mark{width:6px;height:6px;bottom:2px;right:2px}.surface-cell.name-band .surface-mark{bottom:13px}.surface-cell.name-band .object{height:calc(100% - 15px)}}@media print{.surface-mark{width:1.8mm;height:1.8mm;bottom:.5mm;right:.5mm}.surface-cell.name-band .surface-mark{bottom:4.5mm}.surface-cell .object{inset:1px;width:calc(100% - 2px);height:calc(100% - 2px)}.surface-cell.name-band .object{height:calc(100% - 4mm)}.surface-cell{box-shadow:inset 0 0 0 1px #6f9165}.print-shared-clues{break-inside:avoid}}
.footprint-cell .object,.footprint-cell.name-band .object{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.footprint-cell .object svg{filter:none}.footprint-cell .person-token,.footprint-cell .token-name{z-index:2}@media print{.footprint-cell .object,.footprint-cell.name-band .object{inset:0;width:100%;height:100%}}
/* Small room ribbons sit against the lower wall, leaving the room centre free. */
.area-name{width:max-content;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:hidden;border:0;border-radius:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,5px 50%);background:#ead8b2;color:#4a402c;text-shadow:none;box-shadow:inset 0 2px #fff8,inset 0 -2px #ac8c5466;filter:drop-shadow(0 1px 1px #40342144);padding:4px 8px 4px 12px;font:italic 700 11px/1.12 'Palatino Linotype','Book Antiqua',Georgia,serif;letter-spacing:.15px;text-align:right}.series-mugshot .area-name,.mugshot-sheet .area-name{background:#3e5b50;color:#fff3d3;box-shadow:inset 0 2px #a2b4a755,inset 0 -2px #233b3088;font-variant:normal;letter-spacing:.15px}.cell.name-band,.shaped .cell.name-band{padding-bottom:23px}.surface-cell.name-band .surface-mark{bottom:24px}.surface-cell.name-band:not(.footprint-cell) .object{height:calc(100% - 25px)}
@media(max-width:700px){.area-name{font-size:8px;line-height:1.1;padding:3px 5px 3px 8px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,3px 50%)}.cell.name-band,.shaped .cell.name-band{padding-bottom:20px}.surface-cell.name-band .surface-mark{bottom:21px}.surface-cell.name-band:not(.footprint-cell) .object{height:calc(100% - 22px)}}
@media print{.area-name{font-size:7pt;line-height:1.1;padding:1mm 1.8mm 1mm 2.5mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}.cell.name-band,.shaped .cell.name-band{padding-bottom:6mm}.surface-cell.name-band .surface-mark{bottom:6mm}.surface-cell.name-band:not(.footprint-cell) .object{height:calc(100% - 6mm)}}
.rating{display:inline-flex;flex-direction:column;gap:3px;min-width:0}.rating-stars{display:inline-flex;gap:2px;vertical-align:middle;flex-shrink:0}.rating-star{width:12px;height:12px;fill:transparent;stroke:#8c7b50;stroke-width:1.4}.rating-star.filled{fill:#a87a38;stroke:#795a2f}.rating-name{font-size:10px;line-height:1.2}.difficulty{display:flex;align-items:center;gap:10px;text-transform:none;letter-spacing:0;border-radius:6px;max-width:65%}.difficulty-size{font-size:9px;white-space:nowrap;color:var(--muted)}.print-difficulty{display:inline-flex;align-items:center;gap:3mm;letter-spacing:0}.print-difficulty .rating{flex-direction:row;align-items:center;gap:2mm}.print-difficulty .rating-name{font-size:7pt}.print-difficulty .rating-star{width:3mm;height:3mm}.print-difficulty>b{font-weight:normal;font-size:8pt}@media(max-width:700px){.difficulty{gap:5px;padding:6px}.rating-name{font-size:8px}.rating-star{width:10px;height:10px}.difficulty-size{font-size:8px}}@media print{.print-head{align-items:center}.rating-star{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
footer{flex-wrap:wrap;gap:10px}.fiction-note{flex-basis:100%;font-size:9px;color:var(--muted);letter-spacing:.2px}
@media print{.print-sheet .cell:hover:not(:disabled){background-color:var(--area);box-shadow:none}.print-sheet .surface-cell:hover:not(:disabled){box-shadow:inset 0 0 0 1px #6f9165}}
/* Rectangular church plans and a single name, on the mugshot board. */
.board,.mini-board{grid-template-columns:repeat(var(--columns,var(--size)),minmax(0,1fr));grid-template-rows:repeat(var(--rows,var(--size)),minmax(0,1fr));aspect-ratio:var(--columns,var(--size))/var(--rows,var(--size))}
.series-mugshot .person-header>.portrait-caption{background:none;box-shadow:none;color:var(--ink);transform:none;margin:3px 0 0;padding:2px}.series-mugshot .portrait-caption small{color:#59645a}.series-mugshot .victim-tag{color:#914b35}.series-mugshot .is-victim .portrait-caption{background:none}
#martiniHeader{padding:25px 30px 0}#martiniHeader h2{font:700 32px Georgia,serif;margin:12px 0}#martiniHeader .story{max-width:850px}.series-martini .workspace{display:flex;flex-direction:column;background:none}.series-martini .map-panel{order:-1;padding:15px 30px 25px}.series-martini .clue-page{border-top:1px solid var(--line)}.series-martini #people:has(.person-card:nth-child(5)){grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.series-martini .board{min-width:var(--map-min);transform:none}.map-viewport{max-width:100%;overflow:auto;padding:3px 3px 8px}.map-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.map-navigation label{font-size:12px}.map-navigation select{max-width:220px;background:#fff9;border:1px solid var(--line);border-radius:4px;padding:8px}.map-navigation>div{display:flex;gap:8px;align-items:center}.map-navigation button{border:1px solid var(--line);border-radius:4px;background:#f7efd9;width:36px;height:36px;font-size:20px;color:var(--green)}#zoomValue{font-size:11px;min-width:36px;text-align:center}.map-note{font:11px/1.5 Georgia,serif;color:#6c6f60;margin:8px 0}.series-martini .legend{grid-template-columns:repeat(4,minmax(0,1fr))}.series-martini .area-name{font-size:10px;padding:3px 6px 3px 9px}.series-martini .cell.name-band{padding-bottom:16px}.series-martini .surface-cell.name-band .surface-mark{bottom:17px}.series-martini .token-name{font-size:8px}.series-martini .person-token{width:25px;height:25px;font-size:13px}.series-martini .coord{font-size:7px}.series-picker #martiniSeries{background:#e8e0cf}.series-picker .series-pdf{min-width:125px}
@media(max-width:700px){#martiniHeader{padding:20px 18px 0}#martiniHeader h2{font-size:26px}.series-martini .map-panel{padding:12px}.series-martini #people:has(.person-card:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.series-martini .avatar{width:88px;height:128px}.series-martini .legend{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;font-size:9px}.map-navigation select{max-width:155px}.series-martini .area-name{font-size:9px}.map-note{font-size:10px}}
@media print{
 .print-role{font:7pt/1.2 Arial,sans-serif;color:#62634f;margin:1mm 0 1.5mm}.print-sheet.church-sheet{background:#f5f1e5;display:flex;flex-direction:column}.church-page-title{display:flex;align-items:center;justify-content:space-between;gap:5mm;margin:2mm 0}.church-page-title h1,.church-dossier-title h1{font:700 19pt/1.1 Georgia,serif;margin:0}.church-page-title>span{font:6pt Arial,sans-serif;letter-spacing:.5px}.church-plan>.board{align-self:center;flex-shrink:0;transform:none;box-shadow:none;margin:0 auto}.church-plan .legend{grid-template-columns:repeat(6,minmax(0,1fr));font:6pt/1.1 Arial,sans-serif;gap:1mm;margin:1.5mm 0}.church-plan .legend i{width:2mm;height:2mm;flex-shrink:0}.church-plan .area-name{font-size:6pt;padding:.5mm 1mm .5mm 1.5mm;background:#3e5b50;color:#fff3d3}.church-plan .cell.name-band{padding-bottom:3mm}.church-plan .surface-cell.name-band .surface-mark{bottom:3.5mm}.church-plan .surface-cell.name-band:not(.footprint-cell) .object{height:calc(100% - 3mm)}.church-plan .coord{font-size:4pt;top:.5mm;left:.5mm}.church-plan .person-token{width:5mm;height:5mm;font-size:8pt}.church-plan .token-name{font-size:4pt}.church-plan-footer{display:flex;justify-content:space-between;gap:5mm;font:6pt/1.3 Arial,sans-serif;margin-top:auto}.church-dossier-title{margin:3mm 0 1mm}.church-dossier-title p{font:italic 9pt/1.4 Georgia,serif;margin:1.5mm 0}.church-print-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2mm 4mm;align-content:space-evenly;flex:1}.church-print-people.people-6{grid-template-columns:repeat(3,minmax(0,1fr))}.church-print-person{text-align:center;min-width:0;break-inside:avoid}.church-print-person>svg{width:16mm;height:23.2mm;display:block;margin:auto}.church-print-people.people-6 .church-print-person>svg,.church-print-people.people-8 .church-print-person>svg{width:23mm;height:33.4mm}.church-print-person .print-clue{font:8.5pt/1.25 Georgia,serif}.church-print-person .print-role{font-size:6.5pt;margin:.5mm 0 1mm}.print-victim-rule{font-style:italic;color:#784b3a}.church-dossier-footer{font:6pt/1.3 Arial,sans-serif;color:#686550;margin-top:2mm}.church-dossier .print-shared-clues{font-size:7.5pt;padding:1.5mm;margin:1.5mm 0 0}.church-dossier .print-shared-clues p{display:inline-block;margin:1mm 4mm 0 0}.church-dossier .print-rules{font-size:7pt;padding:1.5mm}
 .intro-sheet{background:#f5efdf}.intro-sheet h1{font:700 25pt/1.05 Georgia,serif;color:#3e5b50;margin:4mm 0}.intro-sheet h2{font:700 13pt/1.15 Georgia,serif;color:#3e5b50;margin:2mm 0}.intro-opening{display:grid;grid-template-columns:1fr 1fr;gap:14mm;margin-top:5mm}.intro-lead{font:italic 12pt/1.5 Georgia,serif}.intro-steps{padding-left:6mm;font:11pt/1.5 Georgia,serif}.intro-steps li{margin:4mm 0}.intro-remember{border-left:3px solid #75896a;padding:2mm 4mm;background:#e5e8d4;font:10pt/1.4 Georgia,serif}.intro-remember p{margin:1mm 0}.intro-practice{text-align:center}.intro-pair{display:flex;justify-content:center;gap:8mm}.intro-person{width:47mm}.intro-person>svg{width:18mm;height:26mm}.intro-person p{font:9pt/1.3 Georgia,serif;margin:1mm 0 3mm}.intro-practice>.board{width:93mm;height:93mm;transform:none;margin:auto}.intro-sheet .legend{font-size:7pt;gap:1mm;margin:2mm 0;grid-template-columns:repeat(3,1fr)}.intro-answer{font:italic 12pt Georgia,serif;margin:4mm 0}.intro-practice small{font:8pt/1.4 Georgia,serif}.intro-sheet .area-name{font-size:7pt;padding:1mm 2mm}.intro-sheet .coord{font-size:6pt}.intro-sheet .token-name{font-size:6pt}.intro-sheet .person-token{width:8mm;height:8mm;font-size:12pt}.intro-sheet .cell.name-band{padding-bottom:5mm}.intro-walkthrough{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7mm}.intro-walkthrough .board{width:65mm;height:65mm;transform:none;margin:3mm auto}.intro-walkthrough p{font:10pt/1.4 Georgia,serif;margin:2mm 0}.intro-walkthrough .area-name{font-size:6pt;padding:.6mm 1mm}.intro-walkthrough .cell.name-band{padding-bottom:4mm}.intro-walkthrough .crossed{font-size:23pt}.intro-reference{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7mm;border-top:1px solid #bcae8c;margin-top:3mm;padding-top:2mm}.intro-reference h2{font-size:11pt}.intro-reference p{font:9pt/1.4 Georgia,serif;margin:1mm 0}.intro-catalogue{display:flex;justify-content:space-around;gap:2mm;margin-top:3mm;background:#e6e7d9;padding:2mm}.intro-catalogue>div{display:flex;align-items:center;flex-direction:column;text-align:center;flex:1;font:6pt/1.2 Arial,sans-serif}.intro-catalogue svg{width:11mm;height:11mm}.intro-ready{font:italic 10pt/1.3 Georgia,serif;margin:3mm 0 0}
}
.person-header>.portrait-caption{display:block;width:100%;background:#d5b66e;padding:5px 2px;margin-top:-7px;position:relative}.series-mugshot .person-header>.portrait-caption{background:none;padding:2px;margin-top:3px;box-shadow:none;transform:none}.person-header>.portrait-caption small{font-size:9px}
@media print{.church-print-people{min-height:0}.church-print-people.people-14,.church-print-people.people-16{grid-template-rows:repeat(4,minmax(0,1fr));align-content:stretch;gap:1.5mm 4mm;padding:1mm 0}.people-14 .church-print-person>svg,.people-16 .church-print-person>svg{width:14mm;height:20.3mm}.people-14 .print-role,.people-16 .print-role{margin:.4mm 0 .8mm}.people-14 .print-clue,.people-16 .print-clue{font-size:8pt;line-height:1.2}.church-plan .board{height:150mm}}
.active-clue{font:14px/1.5 Georgia,serif;padding:12px 15px;margin:0 0 12px;border:1px solid #b9c5b1;border-left:4px solid #60775b;background:#f8f8ed;border-radius:4px;color:#354b3e}#returnToMap{font-size:11px;white-space:nowrap}.series-martini .suspect-heading{flex-wrap:wrap}.series-martini .map-label{line-height:1.5}
@media(max-width:700px){.active-clue{font-size:12px;padding:10px}.series-martini .map-heading{align-items:flex-start}.series-martini .map-heading .map-label{flex-direction:column;gap:3px}}
@media print{.church-compact-spread{display:grid;grid-template-columns:minmax(0,1.2fr) 117mm;gap:7mm;flex:1;min-height:0}.church-compact-clues{display:flex;flex-direction:column;min-width:0;min-height:0}.church-compact-map{min-width:0;padding-top:4mm}.compact-orientation{font:6.5pt/1.4 Arial,sans-serif;color:#56634f;margin:0 0 3mm}.church-compact-map>.board{transform:none;box-shadow:none;aspect-ratio:auto}.church-compact .church-print-people{grid-template-columns:repeat(3,minmax(0,1fr));gap:1mm 3mm;align-content:space-evenly}.church-compact .church-print-person>svg{width:16mm;height:23.2mm}.church-compact .people-10 .church-print-person>svg{width:13mm;height:18.9mm}.church-compact .church-print-person .print-clue{font-size:8pt;line-height:1.25}.church-compact .church-print-person .print-role{font-size:6pt;margin:.5mm 0 .8mm}.church-compact .church-dossier-title{margin:3mm 0 0}.church-compact .church-dossier-title h1{font-size:19pt}.church-compact .church-dossier-title p{font-size:8.5pt;line-height:1.35}.church-compact .print-rules{font-size:6.5pt;padding:1.5mm;margin:1mm 0 0}.church-compact .print-shared-clues{font-size:7pt;padding:1.5mm;margin:1mm 0 0}.church-compact .legend{grid-template-columns:repeat(2,minmax(0,1fr));font:6.5pt/1.2 Arial,sans-serif;gap:1mm;margin:3mm 0 2mm}.church-compact .legend i{width:2mm;height:2mm;flex-shrink:0}.church-compact .area-name{font-size:6pt;padding:.5mm 1mm .5mm 1.5mm;background:#3e5b50;color:#fff3d3}.church-compact .cell.name-band{padding-bottom:3mm}.church-compact .surface-cell.name-band .surface-mark{bottom:3.5mm}.church-compact .surface-cell.name-band:not(.footprint-cell) .object{height:calc(100% - 3mm)}.church-compact .coord{font-size:4.5pt;top:.5mm;left:.5mm}.church-compact .person-token{width:5mm;height:5mm;font-size:8pt}.church-compact .token-name{font-size:4pt}.compact-map-caption,.compact-map-key{font:7pt/1.4 Georgia,serif;margin:2mm 0;color:#59634f}.compact-map-key{background:#e4e8d7;padding:2mm}.compact-answer{font:italic 12pt Georgia,serif;margin-top:5mm}.church-compact .church-dossier-footer{font-size:6pt;flex-shrink:0;margin:2mm 0 0}.church-plan>.board{height:auto}}
.keyboard-tip{font-size:10px;line-height:1.5;color:#626c5c;margin:8px 0}.hint-panel{border:1px solid #aebd9f;border-left:4px solid #5e7852;background:#f6f7e9;border-radius:5px;padding:12px 15px;margin:12px 0 18px}.hint-panel>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.hint-panel strong{font-size:11px;color:var(--green)}.hint-panel .quiet{font-size:20px;padding:0 3px}.hint-panel p{font:14px/1.6 Georgia,serif;margin:10px 0 14px}.hint-panel small{display:block;font-size:10px;color:#6c755e;margin-top:9px}.hint-panel .primary{font-size:11px}@media(max-width:700px){.hint-panel{padding:10px 12px}.hint-panel p{font-size:13px}.keyboard-tip{font-size:9px}}
.void-cell.water-void{background-color:#c7dce0;background-image:repeating-linear-gradient(175deg,transparent 0 12px,#719da022 12px 13px);pointer-events:none}.series-winter{background:#e9e5dc}.series-winter .lesson{border-color:#9a7951;background:#f5ecd8}.series-picker #winterSeries{background:#dce6e6}.series-winter .area-name{background:#425c64;color:#fbefd1}.series-winter .active-clue{border-color:#acbfc2;border-left-color:#4e6e73;background:#f4f5eb}@media print{.water-void{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.difficulty-feedback{margin-top:18px;padding:14px;border:1px solid #bec7af;background:#eff1e3;border-radius:5px}.difficulty-feedback h3{font:700 17px Georgia,serif;margin:0 0 6px}.difficulty-feedback p{font-size:11px;margin:5px 0 10px}.difficulty-feedback>div{display:flex;gap:6px;flex-wrap:wrap}.difficulty-feedback [data-difficulty-vote]{border:1px solid #aab69b;border-radius:4px;padding:8px;font-size:11px;background:#faf9ef;color:var(--green)}.difficulty-feedback [aria-pressed=true]{background:var(--green);color:white}.difficulty-feedback small{display:block;font-size:9px;line-height:1.5;color:#65705b}.difficulty-feedback .quiet{font-size:11px;padding:8px 0}#accuseDialog{max-height:90dvh;overflow:auto}
.cell.deck-floor{background-image:repeating-linear-gradient(0deg,transparent 0 9px,#80633a22 9px 10px)}.cell.quay-floor{background-image:linear-gradient(90deg,#756b5218 1px,transparent 1px),linear-gradient(#756b5218 1px,transparent 1px);background-size:11px 8px}
/* Independent, persistent view sizes. These styles apply to the screen only. */
@media screen{
 .people-view-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;font-size:11px;color:var(--muted)}
 .section-zoom{display:flex;align-items:center;gap:6px}.section-zoom button,.map-navigation button{min-width:32px;min-height:32px;border:1px solid #b9af95;border-radius:4px;background:#f8f2e2;color:var(--green);font-size:18px;padding:2px 6px}.section-zoom .zoom-reset,.map-navigation .zoom-reset{width:auto;font-size:11px;min-width:46px}.section-zoom button:disabled,.map-navigation button:disabled{opacity:.4;cursor:default}
 .clue-page .avatar,.series-mugshot .clue-page .avatar{width:calc(72px * var(--people-scale,1));height:calc(104.4px * var(--people-scale,1));max-width:100%}.clue-page .clue,.clue-page .victim-rule{font-size:calc(12px * var(--people-scale,1));line-height:1.4}.clue-page .person-header small,.clue-page .portrait-caption small{font-size:calc(9px * var(--people-scale,1))}.clue-page .person-header strong{font-size:calc(12px * var(--people-scale,1))}.clue-page .person-header .victim-tag{font-size:calc(7px * var(--people-scale,1))}
 .board{min-width:var(--map-min,0);touch-action:manipulation;transform:none}.board .cell{touch-action:manipulation}.board .cell>*{pointer-events:none}.board .person-token{font-size:calc(15px * var(--map-scale,1));width:calc(28px * var(--map-scale,1));height:calc(28px * var(--map-scale,1))}.board .token-name{font-size:calc(9px * var(--map-scale,1))}.board .area-name,.series-martini .board .area-name{font-size:calc(10px * var(--map-scale,1))}.board .pencil{font-size:calc(12px * var(--map-scale,1))}.board .coord{font-size:calc(7px * var(--map-scale,1))}
 #message{height:4.2em;min-height:4.2em;overflow:auto;font:12px/1.4 Georgia,serif;background:#f8f5e8;border-left:3px solid #adad87;padding:5px 9px;margin:8px 0 10px;color:#4e5e46}.active-clue{margin-bottom:7px;padding:9px 12px;font-size:12px}.map-navigation{margin-bottom:7px}.map-navigation select{padding:6px}
 .area-key,.map-context,.rough-notes{font-size:11px;color:var(--muted);margin:8px 0}.area-key>summary,.map-context>summary,.rough-notes>summary{cursor:pointer;padding:3px 0}.area-key .legend{margin:8px 0}.notebook-bottom{grid-template-columns:1fr 1.5fr;gap:20px;margin-top:12px}.rough-notes{align-self:start}.note{font-size:11px}.note p{font-size:12px}.map-panel{align-self:start}.map-heading{margin-bottom:7px}
 @media(min-width:760px){
  .book.compact-case .workspace{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start;background:none}.compact-case .clue-page{border:0;padding:20px 22px}.book.compact-case .map-panel{order:0;border:0;border-left:1px solid var(--line);padding:20px 22px}.compact-case #people:has(.person-card:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.compact-case #people:not(:has(.person-card:nth-child(5))){grid-template-columns:repeat(2,minmax(0,1fr))}.compact-case .person-card{padding:3px}.compact-case .suspect-heading{gap:8px;margin-bottom:8px}.compact-case .suspect-heading>.eyebrow{font-size:8px}.compact-case .note{display:none}.compact-case .lesson{margin-bottom:9px;padding:6px 10px}.compact-case .story{font-size:12px;line-height:1.45;margin-bottom:8px}.compact-case #martiniHeader{padding:18px 22px 0}.compact-case #martiniHeader h2{font-size:26px;margin:10px 0}.compact-case .clue-page h2{font-size:26px}.compact-case .legend{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-case .extra-clues{margin-top:12px;padding:9px}.compact-case .extra-clues h3{font-size:15px}.compact-case .tools{margin-top:10px}.compact-case .tools button{padding:8px 3px}.compact-case .conclusion>p{font-size:18px}.compact-case .accuse{padding:10px 5px}.compact-case .map-note{font-size:10px}.compact-case .keyboard-tip{margin:6px 0}.compact-case .map-label{font-size:7px;letter-spacing:.8px}.compact-case #returnToMap{display:none}
 }
 @media(max-width:759px){.book .workspace{display:flex;flex-direction:column}.book .map-panel{order:-1;width:100%;padding:16px 12px}.book .clue-page{width:100%;padding:18px 14px}.people-view-controls{font-size:10px}.map-heading .map-label{font-size:7px}.series-martini .clue-page #people:has(.person-card:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}.notebook-bottom{gap:12px}.clue-page .avatar,.series-mugshot .clue-page .avatar{width:calc(72px * var(--people-scale,1));height:calc(104.4px * var(--people-scale,1))}.clue-page .clue{font-size:calc(12px * var(--people-scale,1))}}
}
@media screen{.map-guide{font-size:11px;color:var(--muted);margin:8px 0}.map-guide>summary{cursor:pointer;padding:4px 0}.map-guide .area-key,.map-guide .map-context,.map-guide .object-key{margin:10px 0}.map-viewport>.board{margin-inline:auto}
 @media(min-width:760px){.compact-case #activeClue{display:none}.compact-case .conclusion>.eyebrow,.compact-case .conclusion>p{display:none}.compact-case .notebook-bottom{margin-top:8px;align-items:center}.compact-case .clue-page .avatar,.compact-case.series-mugshot .clue-page .avatar{width:calc(64px * var(--people-scale,1));height:calc(92.8px * var(--people-scale,1))}}
}

/* Original repeating floor drawings, shared by screen and print. */
.cell.floor-ship-wood,.cell.floor-church-wood,.cell.floor-tower-wood{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cpath%20d%3D%22M0%200H80V27H0Z%22%20fill%3D%22%23b6864c%22%20opacity%3D%22.17%22%2F%3E%3Cpath%20d%3D%22M0%2053H80V80H0Z%22%20fill%3D%22%2378522e%22%20opacity%3D%22.1%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%236f5132%22%20stroke-width%3D%221.1%22%20opacity%3D%22.35%22%3E%3Cpath%20d%3D%22M0%201H80M0%2027H80M0%2053H80M0%2079H80M22%201V27M61%2027V53M39%2053V79%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23795838%22%20stroke-width%3D%22.8%22%20opacity%3D%22.23%22%3E%3Cpath%20d%3D%22M0%209Q13%204%2028%209T61%209T90%209M0%2017Q21%2022%2044%2016T84%2017M0%2036Q20%2030%2039%2036T82%2036M0%2044Q24%2051%2046%2044T85%2044M0%2062Q18%2056%2037%2062T81%2062M0%2072Q19%2077%2039%2071T83%2073%22%2F%3E%3Cellipse%20cx%3D%2243%22%20cy%3D%2214%22%20rx%3D%228%22%20ry%3D%223%22%2F%3E%3Cellipse%20cx%3D%2218%22%20cy%3D%2267%22%20rx%3D%226%22%20ry%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23694d31%22%20opacity%3D%22.35%22%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%225%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2223%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2257%22%20cy%3D%2231%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2249%22%20r%3D%22.8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px;background-repeat:repeat}
.cell.floor-warehouse-tile{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M1%201H31V31H1ZM33%2033H63V63H33Z%22%20fill%3D%22%2356645d%22%20opacity%3D%22.12%22%2F%3E%3Cpath%20d%3D%22M33%201H63V31H33ZM1%2033H31V63H1Z%22%20fill%3D%22%23f5e8c9%22%20opacity%3D%22.3%22%2F%3E%3Cpath%20d%3D%22M0%200H64M0%2032H64M0%2064H64M0%200V64M32%200V64M64%200V64%22%20stroke%3D%22%236d7166%22%20stroke-width%3D%221.5%22%20opacity%3D%22.4%22%2F%3E%3Cpath%20d%3D%22M3%204H27M36%2036H59M5%2026H12M45%2058H55%22%20stroke%3D%22%23f5f0dd%22%20opacity%3D%22.4%22%2F%3E%3C%2Fsvg%3E");background-size:64px 64px;background-repeat:repeat}
.cell.floor-church-stone,.cell.floor-bridge-stone{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2080%22%3E%3Cpath%20d%3D%22M1%201H47V39H1ZM49%2041H95V79H49Z%22%20fill%3D%22%23647067%22%20opacity%3D%22.1%22%2F%3E%3Cpath%20d%3D%22M49%201H95V39H49ZM1%2041H47V79H1Z%22%20fill%3D%22%23fff2cc%22%20opacity%3D%22.25%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%236e7165%22%20stroke-width%3D%221.4%22%20opacity%3D%22.35%22%3E%3Cpath%20d%3D%22M0%200H96M0%2040H96M0%2080H96M0%200V80M48%200V80M96%200V80%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%237a796b%22%20opacity%3D%22.16%22%20stroke-width%3D%22.8%22%3E%3Cpath%20d%3D%22M5%2010L18%206L27%209M63%2016L71%2012L85%2017M14%2063L23%2058L36%2061M57%2073L75%2067L90%2069M35%2023L40%2027L37%2034%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23777767%22%20opacity%3D%22.13%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2226%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2266%22%20cy%3D%2229%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2254%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2279%22%20cy%3D%2253%22%20r%3D%221.1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:96px 80px;background-repeat:repeat}
.cell.floor-quay-brick,.cell.floor-tower-brick{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2048%22%3E%3Cpath%20d%3D%22M0%200H32V16H0ZM32%2016H64V32H32ZM0%2032H32V48H0Z%22%20fill%3D%22%239d6c46%22%20opacity%3D%22.15%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23735f48%22%20stroke-width%3D%221.2%22%20opacity%3D%22.36%22%3E%3Cpath%20d%3D%22M0%200H64M0%2016H64M0%2032H64M0%2048H64M0%200V16M32%200V16M64%200V16M16%2016V32M48%2016V32M0%2032V48M32%2032V48M64%2032V48%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M4%204H26M36%2020H58M4%2036H26%22%20stroke%3D%22%23f6dfb7%22%20stroke-width%3D%221%22%20opacity%3D%22.3%22%2F%3E%3C%2Fsvg%3E");background-size:64px 48px;background-repeat:repeat}
.cell.floor-cafe-tile{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M0%200H64V64H0Z%22%20fill%3D%22%23f1dfb8%22%20opacity%3D%22.14%22%2F%3E%3Cpath%20d%3D%22M0%200H32V32H0ZM32%2032H64V64H32Z%22%20fill%3D%22%2366756c%22%20opacity%3D%22.14%22%2F%3E%3Cpath%20d%3D%22M32%209L55%2032L32%2055L9%2032Z%22%20fill%3D%22none%22%20stroke%3D%22%2386734e%22%20stroke-width%3D%221.3%22%20opacity%3D%22.35%22%2F%3E%3Cpath%20d%3D%22M0%200H64V64H0ZM32%200V64M0%2032H64%22%20fill%3D%22none%22%20stroke%3D%22%23777566%22%20opacity%3D%22.28%22%2F%3E%3C%2Fsvg%3E");background-size:64px 64px;background-repeat:repeat}
.void-cell.water-void{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2048%22%3E%3Cpath%20d%3D%22M0%200H80V48H0Z%22%20fill%3D%22%23b8d4de%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23628fa3%22%20stroke-width%3D%221.3%22%20opacity%3D%22.55%22%3E%3Cpath%20d%3D%22M-20%2010Q-10%204%200%2010T20%2010T40%2010T60%2010T80%2010T100%2010M-10%2032Q0%2026%2010%2032T30%2032T50%2032T70%2032T90%2032%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23edf5ef%22%20stroke-width%3D%221.4%22%20opacity%3D%22.8%22%3E%3Cpath%20d%3D%22M-10%2017Q0%2011%2010%2017T30%2017T50%2017T70%2017T90%2017M-20%2041Q-10%2035%200%2041T20%2041T40%2041T60%2041T80%2041T100%2041%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 48px;background-repeat:repeat}
@media screen{.cell.floor-ship-wood,.cell.floor-church-wood,.cell.floor-tower-wood{background-size:calc(80px * var(--map-scale,1)) calc(80px * var(--map-scale,1))}.void-cell.water-void{background-size:calc(80px * var(--map-scale,1)) calc(48px * var(--map-scale,1))}}
@media print{.cell[class*="floor-"],.void-cell.water-void{print-color-adjust:exact;-webkit-print-color-adjust:exact}.cell.floor-ship-wood,.cell.floor-church-wood,.cell.floor-tower-wood{background-size:14mm 14mm}.cell.floor-warehouse-tile,.cell.floor-cafe-tile{background-size:12mm 12mm}.cell.floor-church-stone,.cell.floor-bridge-stone{background-size:18mm 15mm}.cell.floor-quay-brick,.cell.floor-tower-brick{background-size:12mm 9mm}.void-cell.water-void{background-size:14mm 8.4mm}}
@media screen and (min-width:760px){
 .compact-case #martiniHeader .lesson{display:none}.compact-case #people:has(.person-card:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
 .compact-case.series-mugshot .person-card{display:grid;grid-template-columns:calc(52px * var(--people-scale,1)) minmax(0,1fr);column-gap:9px;align-items:center;padding:5px}
 .compact-case.series-mugshot .person-header{grid-column:1;grid-row:1 / span 4;align-self:start}.compact-case.series-mugshot .person-card>.clue,.compact-case.series-mugshot .person-card>.victim-rule{grid-column:2;margin:0;padding:7px;font-size:calc(11.5px * var(--people-scale,1));line-height:1.4;overflow-wrap:anywhere}.compact-case.series-mugshot .person-card>.given-clue{padding:3px}.compact-case.series-mugshot .clue-page .avatar{width:calc(52px * var(--people-scale,1));height:calc(75.4px * var(--people-scale,1))}.compact-case.series-mugshot .person-header .portrait-caption small{font-size:calc(8px * var(--people-scale,1))}.compact-case .board .area-name{font-size:calc(8px * var(--map-scale,1));padding:2px 3px 2px 5px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,3px 50%)}.compact-case .board .token-name{display:none}.compact-case .board .cell.name-band{padding-bottom:12px}.compact-case .board .name-band .person-token{width:calc(18px * var(--map-scale,1));height:calc(18px * var(--map-scale,1));font-size:calc(10px * var(--map-scale,1))}
}
.clue>span{min-width:0;overflow-wrap:anywhere}
@media screen{.series-library{border-bottom:1px solid #d4d2c6;margin:8px 0}.series-library>summary{cursor:pointer;padding:12px 3px;font-size:12px;font-weight:bold;color:var(--green)}#activeSeriesName{font-weight:normal;color:var(--muted);margin-left:14px}.series-library[open]>summary{border-bottom:1px solid #d4d2c6}
 @media(min-width:760px){.compact-case.series-mugshot .portrait-caption small{display:none}.compact-case #message{margin-block:5px}.compact-case #shapeNote{font-size:10px;line-height:1.35;margin:4px 0}.compact-case .map-guide{margin:4px 0}.compact-case .tools{margin-top:4px}.compact-case .keyboard-tip{display:none}.compact-case .actions{margin-top:5px}.compact-case .notebook-bottom{margin-top:4px}.compact-case .reset{margin-top:8px}}
}
.floor-plane{display:none}
@media print{.board{isolation:isolate}.board>.floor-plane{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.board>.cell{z-index:1}.board>.cell[class*="floor-"],.board>.void-cell.water-void{background:none!important}}

.start-guide{margin:12px 0;border:1px solid #c8c5ac;border-radius:9px;background:#f4f2e7;padding:12px 16px}.start-guide>summary{cursor:pointer;font:700 16px Georgia,serif;color:var(--green)}.start-guide>p{max-width:850px;font-size:12px;line-height:1.5}.start-guide .object-legend-group>div,.rules-object-overview .object-legend-group>div{display:flex;flex-wrap:wrap;gap:10px 16px}.object-legend-group>div>span{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:normal}.object-legend-group svg{width:36px;height:36px;flex-shrink:0}.object-legend-group b{font-weight:normal}.object-legend-group:first-child{border-left:3px solid #789c6c;padding-left:10px}.object-legend-group+section{border-left:3px solid #a37361;padding-left:10px}.rules-object-overview{margin-bottom:18px}.intro-occupancy{display:grid;grid-template-columns:1fr 1.3fr;gap:5mm;margin-top:3mm}.intro-occupancy>section{border:1px solid #aab79e;padding:2mm;background:#e6e9db}.intro-occupancy>.occupancy-blocked{border-color:#c4ab9b;background:#ede2d6}.intro-occupancy h2{font-size:10pt;margin:0}.intro-occupancy .intro-catalogue{margin-top:1mm;padding:0;background:none}.intro-occupancy svg{height:9mm;width:9mm}
@media print{.start-guide{display:none}}

@media print{.intro-publication-note{position:absolute;left:4mm;right:4mm;bottom:2mm;margin:0;font:6pt/1.3 Arial,sans-serif;color:#716a57}}

/* The home page is a four-theme library. Examples and puzzles have their own screens. */
.header-actions{display:flex;gap:10px;align-items:center}.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:14px 0 30px}.theme-card{display:flex;flex-direction:column;min-width:0;border:1px solid #c7bfa8;border-radius:14px;background:#f7f1e1;padding:17px;box-shadow:0 4px 0 #c4b99d44;position:relative;overflow:hidden}.theme-card .eyebrow{font-size:8px;min-height:22px}.theme-card h2{font:700 25px/1.15 Georgia,serif;margin:6px 0 12px;min-height:58px;color:var(--green)}.theme-card p{font:12px/1.6 Georgia,serif;margin:0 0 14px;flex:1}.theme-card>small{font-size:10px;line-height:1.5;color:#736a56;min-height:30px}.theme-art{height:110px;display:flex;gap:15px;align-items:center;justify-content:center;background:#e7dbc0;border-radius:9px;margin:-3px -3px 17px}.theme-art>span{width:72px;height:85px;display:block;transform:rotate(-4deg)}.theme-art>span+span{transform:rotate(5deg)}.theme-art svg{width:100%;height:100%;filter:drop-shadow(1px 3px 0 #0001)}.theme-nacht{background:#e8ece6}.theme-nacht .theme-art{background:#c4cfcb}.theme-martini{background:#f0e7d4}.theme-martini .theme-art{background:#ddcaa3}.theme-winter{background:#e3eceb}.theme-winter .theme-art{background:#bfd6dc}.theme-card-actions{display:grid;gap:8px;margin-top:16px}.theme-card-actions .primary{padding:11px 10px;font-size:12px;width:100%;border-radius:6px}.theme-card .series-pdf{border:1px solid #b8bea9;border-radius:6px;text-align:center;font-size:11px;padding:10px;text-decoration:none;min-width:0;align-self:stretch}.theme-card:has(button[aria-pressed=true]){border-color:#52705a}.theme-card .series-pdf:hover{background:#fff7}.general-start{display:grid;grid-template-columns:1fr 1fr;gap:12px 40px;background:#f3f0e5;border:1px solid #ccc4af;border-radius:12px;padding:24px;margin:18px 0 30px}.general-start h2,.general-start h3{font-family:Georgia,serif;color:var(--green);margin:6px 0 14px}.general-start h2{font-size:25px}.general-start h3{font-size:20px}.general-start p,.general-start li{font-size:12px;line-height:1.65}.general-start ol{padding-left:18px}.general-start .fiction-note{grid-column:1/-1;margin:5px 0 0;font-size:10px}.general-start .object-legend-group>div,.theme-objects .object-legend-group>div{display:flex;flex-wrap:wrap;gap:10px 16px}.theme-start{margin:28px 0;background:#f3eddd;border:1px solid #cbbf9f;border-radius:14px;padding:28px}.theme-start-heading{display:flex;justify-content:space-between;gap:25px;align-items:start;padding-bottom:20px;border-bottom:1px solid #d2c5a6}.theme-start h1{font:700 35px Georgia,serif;color:var(--green);margin:10px 0}.theme-start-heading p{max-width:650px;font:14px/1.6 Georgia,serif}.theme-start-body{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:35px;margin:24px 0}.theme-start h2{font:700 23px Georgia,serif;color:var(--green)}.theme-start-body p{font:13px/1.6 Georgia,serif}.theme-example{background:#fff6;border:1px solid #d4c9ae;border-radius:10px;padding:20px}.theme-example>.board{width:260px;max-width:100%;height:auto;aspect-ratio:1;--columns:4;--rows:4;margin:18px auto;transform:none}.theme-example .person-token{width:28px;height:28px;font-size:14px}.theme-example .area-name{font-size:8px}.theme-example .token-name{font-size:9px}.theme-example #exampleReason{min-height:65px;margin-bottom:2px}.theme-objects{min-width:0}.theme-start-actions{border-top:1px solid #d2c5a6;padding-top:18px;display:flex;justify-content:flex-end;align-items:center;gap:25px}.theme-start-actions .primary{font-size:15px;padding:13px 22px}.puzzle-theme-heading{padding-top:20px}.notebook-bottom{grid-template-columns:1fr}.print-bottom{display:block}.print-bottom .print-answer{padding-top:5mm}.print-bottom .print-answer>svg{max-height:22mm}.theme-start[data-theme=winter]{background:#e8efec}.theme-start[data-theme=nacht]{background:#e9ece5}
@media(max-width:1050px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-card h2{min-height:0}.theme-card>small{min-height:16px}.theme-art{height:95px}.theme-card p{min-height:40px}}
@media(max-width:650px){.theme-grid{gap:12px}.theme-card{padding:13px}.theme-card h2{font-size:22px;min-height:51px}.theme-art{height:78px;gap:7px}.theme-art>span{width:56px;height:66px}.theme-card .eyebrow{font-size:7px;letter-spacing:.9px;min-height:24px}.theme-card p{font-size:11px}.theme-card>small{min-height:30px}.theme-card-actions .primary{font-size:11px;padding:10px 4px}.general-start,.theme-start-body{grid-template-columns:1fr}.general-start{padding:18px;gap:20px}.theme-start{padding:18px;margin-top:18px}.theme-start h1{font-size:29px}.theme-start-heading{display:block}.theme-start-heading>.series-pdf{display:inline-block;padding-left:0}.theme-example{padding:15px}.theme-start-actions{flex-wrap:wrap;gap:12px}.header-actions{gap:0}.header-actions .quiet{font-size:11px;padding:7px}.brand-dot{display:none}}
@media(max-width:350px){.theme-grid{grid-template-columns:1fr}.theme-card h2,.theme-card>small{min-height:0}}

@media(max-width:650px){body>header{flex-wrap:wrap;padding:12px 18px;gap:8px}.header-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}}
/* Broad theme rows keep titles and actions aligned. */
.theme-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:16px}.theme-card{display:grid;grid-template-columns:150px minmax(0,1fr) 195px;grid-template-rows:auto auto auto auto;column-gap:26px;row-gap:0;align-items:center;padding:22px;min-height:185px}.theme-card .theme-art{grid-column:1;grid-row:1/span 4;width:150px;height:135px;margin:0;gap:8px}.theme-card .theme-art>span{width:60px;height:84px}.theme-card>.eyebrow{grid-column:2;grid-row:1;min-height:0}.theme-card>h2{grid-column:2;grid-row:2;min-height:0;font-size:27px;margin:4px 0 8px}.theme-card>p{grid-column:2;grid-row:3;min-height:0;margin:0;max-width:660px}.theme-card>small{grid-column:2;grid-row:4;min-height:0;margin-top:9px}.theme-card .theme-card-actions{grid-column:3;grid-row:1/span 4;align-self:center;margin:0;gap:10px}
@media(max-width:700px){.theme-card{grid-template-columns:85px minmax(0,1fr);column-gap:16px;row-gap:0;padding:16px;min-height:0}.theme-card .theme-art{width:85px;height:100px;gap:0;align-self:start}.theme-card .theme-art>span{width:43px;height:65px}.theme-card>.eyebrow{font-size:7px;letter-spacing:.8px}.theme-card>h2{font-size:23px;margin:4px 0 8px}.theme-card>p{font-size:12px;line-height:1.5}.theme-card>small{font-size:9px;line-height:1.4}.theme-card .theme-card-actions{grid-column:1/-1;grid-row:5;grid-template-columns:1fr 1fr;margin-top:16px;gap:9px}.theme-card .series-pdf{padding:10px 4px}.theme-grid{gap:12px}}
@media print{.intro-solution .intro-reference{margin-top:2mm}.intro-solution .intro-ready{margin-top:2mm}}

.theme-case-choice{margin-right:auto;display:grid;gap:6px;min-width:0;max-width:100%;font-size:11px;font-weight:bold;color:var(--green)}.theme-case-choice select{background:#fff9;border:1px solid #b9b69f;border-radius:5px;padding:10px;max-width:min(450px,100%);width:100%;font-size:12px}.theme-start-actions{flex-wrap:wrap}@media(max-width:650px){.theme-case-choice{width:100%}}

/* Narrow rooms use a slim label along their wall. */
.board .area-name.vertical-room-name{writing-mode:vertical-rl;white-space:nowrap;transform:none;clip-path:none;border-radius:2px;padding:3px 2px;width:max-content;max-width:none}.vertical-name-band>.coord{left:auto;right:2px}
@media screen{.large-case #board{min-width:0}.large-case .map-viewport{max-height:65vh;overflow:auto}}
@media screen and (min-width:1000px){
 .large-case #martiniHeader{padding:18px 22px 0}.large-case #martiniHeader h2{font-size:26px;margin:8px 0}.large-case #martiniHeader .story{font-size:12px;line-height:1.4;margin-bottom:8px}.large-case #martiniHeader .lesson{display:none}
 .large-case .workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr);align-items:start;background:none}.large-case .clue-page{order:0;border-top:0;border-right:1px solid var(--line);padding:14px 18px;max-height:var(--workspace-height,740px);overflow-y:auto;scrollbar-gutter:stable}.large-case .map-panel{order:0;padding:14px 18px;min-width:0}.large-case .map-viewport{max-height:var(--map-view-height,440px)}
 .large-case .clue-page #people,.large-case .clue-page #people:has(.person-card:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.large-case .person-card{display:grid;grid-template-columns:calc(52px * var(--people-scale,1)) minmax(0,1fr);gap:6px;align-items:center;padding:4px}.large-case .person-header{grid-column:1;grid-row:1/span 4;align-self:start}.large-case .clue-page .avatar{width:calc(52px * var(--people-scale,1));height:calc(75.4px * var(--people-scale,1))}.large-case .person-header .portrait-caption small{display:none}.large-case .person-card>.clue,.large-case .person-card>.victim-rule{grid-column:2;margin:0;padding:5px;font-size:calc(11px * var(--people-scale,1));line-height:1.4}.large-case .people-view-controls{margin-bottom:8px}.large-case .suspect-heading{margin-bottom:6px}.large-case #returnToMap,.large-case .clue-page .note{display:none}.large-case .extra-clues{margin:10px 0;padding:8px}.large-case .extra-clues h3{font-size:15px}
 .large-case .map-navigation{margin-bottom:5px}.large-case #activeClue{font-size:11px;padding:6px;margin:5px 0}.large-case .map-heading{margin-bottom:3px}.large-case #shapeNote,.large-case #mapGuide,.large-case .keyboard-tip,.large-case .conclusion>.eyebrow,.large-case .conclusion>p{display:none}.large-case .tools{margin-top:4px}.large-case .tools button{padding:7px 3px}.large-case .actions{margin-top:5px}.large-case .notebook-bottom{margin-top:5px}.large-case .accuse{padding:9px 5px}.large-case .reset{display:inline-block;margin-top:8px;font-size:9px}.large-case .progress{display:inline-block;font-size:9px;margin-left:4px}.large-case #message{margin:4px 0}.large-case .board .area-name{font-size:calc(8px * var(--map-scale,1));padding:2px 3px 2px 5px}.large-case .board .coord{font-size:calc(6px * var(--map-scale,1))}.large-case .board .token-name{display:none}.large-case .board .person-token{width:calc(20px * var(--map-scale,1));height:calc(20px * var(--map-scale,1));font-size:calc(11px * var(--map-scale,1))}
}
@media screen and (min-width:1000px){.large-case .people-view-controls>span:after{content:' · scroll voor alle personen ↓';display:block;font-size:9px;font-weight:normal;margin-top:3px}.large-case .board .area-name{font-size:calc(7px * var(--map-scale,1));letter-spacing:0;padding:1px 2px 1px 4px}.large-case .board .area-name.vertical-room-name{padding:2px 1px}}

/* Noorderzon: original grass, sand and festival lighting. */
.cell.floor-festival-grass{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cg%20stroke%3D%22%235d7954%22%20stroke-width%3D%221%22%20opacity%3D%22.25%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%2018L10%2012L13%2018M35%2041L38%2035L41%2041M59%2017L62%2011L65%2017M11%2065L14%2058L17%2065M60%2065L63%2059L66%2065%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23a5a76b%22%20opacity%3D%22.3%22%3E%3Ccircle%20cx%3D%2225%22%20cy%3D%2227%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2252%22%20cy%3D%2253%22%20r%3D%221.4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px}
.cell.floor-festival-sand{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cpath%20d%3D%22M0%2018Q18%209%2039%2018T80%2018M0%2054Q17%2045%2039%2054T80%2054%22%20stroke%3D%22%23b69a68%22%20opacity%3D%22.22%22%20fill%3D%22none%22%2F%3E%3Cg%20fill%3D%22%23a28a57%22%20opacity%3D%22.28%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2231%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2242%22%20cy%3D%2239%22%20r%3D%221.2%22%2F%3E%3Ccircle%20cx%3D%2262%22%20cy%3D%2223%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%2269%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2261%22%20r%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px}
.festival-decoration{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}.theme-noorderzon{background:#edf0df}.theme-noorderzon .theme-art{background:#becaa0}.theme-start[data-theme=noorderzon]{background:#eaf0df}.series-noorderzon .area-name{background:#456951ed;border-color:#e7dba4}.series-noorderzon .clue-page{background:#f1efdc}.series-noorderzon .map-panel{background:#e9ecd9}
.cell.floor-festival-wood{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cpath%20d%3D%22M0%200H80V27H0Z%22%20fill%3D%22%23b6864c%22%20opacity%3D%22.17%22%2F%3E%3Cpath%20d%3D%22M0%2053H80V80H0Z%22%20fill%3D%22%2378522e%22%20opacity%3D%22.1%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%236f5132%22%20stroke-width%3D%221.1%22%20opacity%3D%22.35%22%3E%3Cpath%20d%3D%22M0%201H80M0%2027H80M0%2053H80M0%2079H80M22%201V27M61%2027V53M39%2053V79%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23795838%22%20stroke-width%3D%22.8%22%20opacity%3D%22.23%22%3E%3Cpath%20d%3D%22M0%209Q13%204%2028%209T61%209T90%209M0%2017Q21%2022%2044%2016T84%2017M0%2036Q20%2030%2039%2036T82%2036M0%2044Q24%2051%2046%2044T85%2044M0%2062Q18%2056%2037%2062T81%2062M0%2072Q19%2077%2039%2071T83%2073%22%2F%3E%3Cellipse%20cx%3D%2243%22%20cy%3D%2214%22%20rx%3D%228%22%20ry%3D%223%22%2F%3E%3Cellipse%20cx%3D%2218%22%20cy%3D%2267%22%20rx%3D%226%22%20ry%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23694d31%22%20opacity%3D%22.35%22%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%225%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2223%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2257%22%20cy%3D%2231%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2249%22%20r%3D%22.8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px;background-repeat:repeat}
.cell.floor-festival-tile{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M0%200H64V64H0Z%22%20fill%3D%22%23f1dfb8%22%20opacity%3D%22.14%22%2F%3E%3Cpath%20d%3D%22M0%200H32V32H0ZM32%2032H64V64H32Z%22%20fill%3D%22%2366756c%22%20opacity%3D%22.14%22%2F%3E%3Cpath%20d%3D%22M32%209L55%2032L32%2055L9%2032Z%22%20fill%3D%22none%22%20stroke%3D%22%2386734e%22%20stroke-width%3D%221.3%22%20opacity%3D%22.35%22%2F%3E%3Cpath%20d%3D%22M0%200H64V64H0ZM32%200V64M0%2032H64%22%20fill%3D%22none%22%20stroke%3D%22%23777566%22%20opacity%3D%22.28%22%2F%3E%3C%2Fsvg%3E");background-size:64px 64px;background-repeat:repeat}
.cell.floor-festival-path{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2048%22%3E%3Cpath%20d%3D%22M0%200H32V16H0ZM32%2016H64V32H32ZM0%2032H32V48H0Z%22%20fill%3D%22%239d6c46%22%20opacity%3D%22.15%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23735f48%22%20stroke-width%3D%221.2%22%20opacity%3D%22.36%22%3E%3Cpath%20d%3D%22M0%200H64M0%2016H64M0%2032H64M0%2048H64M0%200V16M32%200V16M64%200V16M16%2016V32M48%2016V32M0%2032V48M32%2032V48M64%2032V48%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M4%204H26M36%2020H58M4%2036H26%22%20stroke%3D%22%23f6dfb7%22%20stroke-width%3D%221%22%20opacity%3D%22.3%22%2F%3E%3C%2Fsvg%3E");background-size:64px 48px;background-repeat:repeat}
@media print{.cell[class*="floor-festival-"]{background:none!important}.festival-decoration{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

@media screen and (min-width:760px){.compact-case:is(.series-noorderzon,.series-surroundings) .person-card{padding:3px}.compact-case:is(.series-noorderzon,.series-surroundings) .extra-clues{padding:8px;margin-top:8px}.compact-case:is(.series-noorderzon,.series-surroundings) .extra-clues h3{margin-bottom:6px}.compact-case:is(.series-noorderzon,.series-surroundings) .extra-clues label.clue{padding:4px 6px;margin-top:4px;font-size:11px;line-height:1.35}}

.cell.floor-garden-grass{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cg%20stroke%3D%22%235d7954%22%20stroke-width%3D%221%22%20opacity%3D%22.25%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%2018L10%2012L13%2018M35%2041L38%2035L41%2041M59%2017L62%2011L65%2017M11%2065L14%2058L17%2065M60%2065L63%2059L66%2065%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23a5a76b%22%20opacity%3D%22.3%22%3E%3Ccircle%20cx%3D%2225%22%20cy%3D%2227%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2252%22%20cy%3D%2253%22%20r%3D%221.4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px}
.cell.floor-garden-gravel{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cpath%20d%3D%22M0%2018Q18%209%2039%2018T80%2018M0%2054Q17%2045%2039%2054T80%2054%22%20stroke%3D%22%23b69a68%22%20opacity%3D%22.22%22%20fill%3D%22none%22%2F%3E%3Cg%20fill%3D%22%23a28a57%22%20opacity%3D%22.28%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2231%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2242%22%20cy%3D%2239%22%20r%3D%221.2%22%2F%3E%3Ccircle%20cx%3D%2262%22%20cy%3D%2223%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%2269%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2261%22%20r%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px}
.cell.floor-garden-wood{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2080%2080%22%3E%3Cpath%20d%3D%22M0%200H80V27H0Z%22%20fill%3D%22%23b6864c%22%20opacity%3D%22.17%22%2F%3E%3Cpath%20d%3D%22M0%2053H80V80H0Z%22%20fill%3D%22%2378522e%22%20opacity%3D%22.1%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%236f5132%22%20stroke-width%3D%221.1%22%20opacity%3D%22.35%22%3E%3Cpath%20d%3D%22M0%201H80M0%2027H80M0%2053H80M0%2079H80M22%201V27M61%2027V53M39%2053V79%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23795838%22%20stroke-width%3D%22.8%22%20opacity%3D%22.23%22%3E%3Cpath%20d%3D%22M0%209Q13%204%2028%209T61%209T90%209M0%2017Q21%2022%2044%2016T84%2017M0%2036Q20%2030%2039%2036T82%2036M0%2044Q24%2051%2046%2044T85%2044M0%2062Q18%2056%2037%2062T81%2062M0%2072Q19%2077%2039%2071T83%2073%22%2F%3E%3Cellipse%20cx%3D%2243%22%20cy%3D%2214%22%20rx%3D%228%22%20ry%3D%223%22%2F%3E%3Cellipse%20cx%3D%2218%22%20cy%3D%2267%22%20rx%3D%226%22%20ry%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23694d31%22%20opacity%3D%22.35%22%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%225%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2223%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2257%22%20cy%3D%2231%22%20r%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2249%22%20r%3D%22.8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:80px 80px;background-repeat:repeat}
.cell.floor-garden-tile{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M0%200H64V64H0Z%22%20fill%3D%22%23f1dfb8%22%20opacity%3D%22.14%22%2F%3E%3Cpath%20d%3D%22M0%200H32V32H0ZM32%2032H64V64H32Z%22%20fill%3D%22%2366756c%22%20opacity%3D%22.14%22%2F%3E%3Cpath%20d%3D%22M32%209L55%2032L32%2055L9%2032Z%22%20fill%3D%22none%22%20stroke%3D%22%2386734e%22%20stroke-width%3D%221.3%22%20opacity%3D%22.35%22%2F%3E%3Cpath%20d%3D%22M0%200H64V64H0ZM32%200V64M0%2032H64%22%20fill%3D%22none%22%20stroke%3D%22%23777566%22%20opacity%3D%22.28%22%2F%3E%3C%2Fsvg%3E");background-size:64px 64px;background-repeat:repeat}
.cell.floor-garden-brick{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2048%22%3E%3Cpath%20d%3D%22M0%200H32V16H0ZM32%2016H64V32H32ZM0%2032H32V48H0Z%22%20fill%3D%22%239d6c46%22%20opacity%3D%22.15%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23735f48%22%20stroke-width%3D%221.2%22%20opacity%3D%22.36%22%3E%3Cpath%20d%3D%22M0%200H64M0%2016H64M0%2032H64M0%2048H64M0%200V16M32%200V16M64%200V16M16%2016V32M48%2016V32M0%2032V48M32%2032V48M64%2032V48%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M4%204H26M36%2020H58M4%2036H26%22%20stroke%3D%22%23f6dfb7%22%20stroke-width%3D%221%22%20opacity%3D%22.3%22%2F%3E%3C%2Fsvg%3E");background-size:64px 48px;background-repeat:repeat}
.series-surroundings .clue-page{background:#f2eddf}.series-surroundings .map-panel{background:#e9eadf}
@media print{.cell[class*="floor-garden-"]{background:none!important}}

/* Shared controls: one shape and hierarchy, with secondary actions in the top bar. */
@media screen{
 .ui-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid #b8c3b0;border-radius:9px;background:#faf8ef;color:#375442;font:600 12px/1.25 'Trebuchet MS',Arial,sans-serif;text-decoration:none;box-shadow:0 1px 2px #243d2710;transition:background-color .15s,border-color .15s,box-shadow .15s;cursor:pointer}
 .ui-button:hover:not(:disabled){background:#eef2e6;border-color:#7e9575;box-shadow:0 2px 5px #243d2717}.ui-button:disabled{opacity:.4;cursor:default;box-shadow:none}.ui-button:focus-visible{outline:3px solid #bf8b37;outline-offset:3px}
 .ui-button.primary{background:#3e614b;border-color:#3e614b;color:#fffbed}.ui-button.primary:hover{background:#2f503c;border-color:#2f503c}.ui-button.accuse{background:#edf1e4;border-color:#92a685;color:#355340;font-size:12px;margin:0;width:auto}
 .theme-card .ui-button,.theme-start .ui-button{border-radius:9px;font-size:12px;min-height:38px}.theme-start-actions .primary{padding:11px 18px}
 .button-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
 .app-header{position:sticky;top:0;z-index:60;max-width:none;padding:11px max(22px,calc((100vw - 1300px)/2));gap:16px;background:#f5f2e9f5;backdrop-filter:blur(10px);border-bottom:1px solid #cfd4c6;box-shadow:0 2px 10px #35492e0b}.app-header .brand{flex-shrink:0;font-size:20px}.app-header .header-actions{gap:7px;flex-wrap:nowrap}.header-actions .ui-button{font-size:12px;padding:8px 11px;white-space:nowrap}
 .book,.map-panel{scroll-margin-top:calc(var(--app-header-height,64px) + 8px)}.header-menu,.case-overview{position:relative}.header-menu>summary,.case-overview>summary{list-style:none}.header-menu>summary::-webkit-details-marker,.case-overview>summary::-webkit-details-marker{display:none}.header-menu[open]>summary,.case-overview[open]>summary{background:#e6eddd;border-color:#8ba17c}
 .menu-panel{position:absolute;right:0;top:calc(100% + 9px);width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);overflow:auto;padding:10px;border:1px solid #bbc7b1;border-radius:12px;background:#fffdf6;box-shadow:0 12px 32px #273d2929}.menu-label{display:block;font-size:9px;font-weight:bold;letter-spacing:1px;text-transform:uppercase;color:#79816d;margin:6px 8px}.menu-panel .ui-button{width:100%;justify-content:flex-start;min-height:36px;padding:9px 10px;border:0;border-radius:6px;box-shadow:none;background:transparent;font-size:12px;text-align:left;text-transform:none;letter-spacing:0;margin:0;text-decoration:none}.menu-panel .ui-button:hover{background:#eaf0e1}.menu-panel hr{border:0;border-top:1px solid #e0e3d7;margin:8px 4px}.menu-panel .is-danger{color:#974a39}
 .casebar{position:relative;justify-content:space-between;padding:7px 0;gap:12px}.casebar>div:first-child{min-width:0;flex:1}.casebar select{border:1px solid #c1c9b5;border-radius:8px;background:#f9f8f0;padding:9px 11px;max-width:min(100%,560px);min-width:0}.case-overview .case-trail{position:absolute;z-index:40;right:0;top:calc(100% + 7px);width:min(650px,calc(100vw - 48px));max-height:55vh;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:5px;border:1px solid #bbc7b1;border-radius:12px;background:#fffdf6;box-shadow:0 12px 32px #273d2929;margin:0}.case-overview .case-trail button{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;min-height:38px;padding:6px 8px;border-radius:7px;gap:8px}.case-overview .case-trail button:hover{background:#edf2e6}.case-overview .case-trail .current{background:#e4ecd9}.case-overview .case-trail span{font-size:11px;line-height:1.3;max-width:none;text-align:left}
 .map-navigation{gap:8px;margin-bottom:6px}.map-navigation label{display:flex;align-items:center;gap:8px;color:#58644f;font-size:11px}.map-navigation select{height:36px;border-radius:8px;background:#faf8ef;border-color:#b8c3b0;font-size:12px}.section-zoom,.map-navigation>div{display:flex;gap:0;overflow:hidden;border:1px solid #b8c3b0;border-radius:9px;background:#faf8ef}.section-zoom .ui-button,.map-navigation .ui-button{height:34px;min-height:34px;min-width:34px;padding:4px 8px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#375442;font-size:18px}.section-zoom .ui-button+button,.map-navigation .ui-button+button{border-left:1px solid #d8decf}.section-zoom .zoom-reset,.map-navigation .zoom-reset{font-size:11px;min-width:47px}
 .tools{gap:3px;padding:3px;border-radius:10px;border:1px solid #c5cdb9;background:#e4e9da;margin-top:6px}.tools .ui-button{min-height:34px;padding:7px 5px;box-shadow:none;border:1px solid transparent;border-radius:7px;background:transparent;color:#58634e;font-size:12px}.tools .ui-button.active{background:#fcfaee;color:#35583e;border-color:#c4ceb7;box-shadow:0 1px 3px #273d2910}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px}.actions .ui-button{font-size:12px;min-height:36px;padding:8px 10px}.actions .primary{margin-left:auto}.conclusion>.eyebrow,.conclusion>p{display:none}.notebook-bottom:has(#nextCase[hidden]){display:none}.notebook-bottom:not(:has(#nextCase[hidden])){margin-top:8px}.conclusion #nextCase{margin:0}.map-panel>.progress{display:block;margin-top:8px;font-size:10px;color:#76806a}
 @media(max-width:900px){.app-header .brand-dot{display:none}}
 @media(max-width:650px){.app-header{padding:9px 15px;gap:8px;flex-wrap:wrap}.app-header .brand{font-size:18px}.app-header .header-actions{width:100%;justify-content:flex-start;gap:6px;flex-wrap:wrap;margin:0}.header-actions .ui-button{font-size:11px;padding:8px 9px;min-height:34px}.menu-panel{right:-50px;width:260px}.casebar>div:first-child{display:block}.casebar label{display:block;margin-bottom:3px}.casebar select{max-width:100%;width:100%;font-size:11px;padding:8px}.case-overview>summary{padding:8px;font-size:11px;min-height:34px}.case-overview .case-trail{grid-template-columns:1fr}.map-navigation label{gap:5px}.map-navigation select{max-width:135px}.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.actions .ui-button{width:100%;margin:0;font-size:11px;padding:8px 5px}.theme-card .ui-button{font-size:11px}.case-trail b{width:22px;height:22px}}
 @media(prefers-reduced-motion:reduce){.ui-button{transition:none}}
}

@media screen {
 .dossier-start{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:20px 24px;border:1px solid #c9d2bf;border-radius:14px;background:#f6f5e9}
 .dossier-start p{font-size:21px;font-weight:750;margin:5px 0}.dossier-start small{color:#526257}.dossier-actions{display:flex;gap:10px;flex-wrap:wrap}
 .theme-progress{display:grid;gap:7px;margin:10px 0 16px}.theme-progress-label,.theme-progress-summary{font-size:13px;color:#4b6252}.theme-progress progress{width:100%;height:7px;accent-color:#3e614b;border:0;border-radius:10px;background:#e4e6dc}.theme-progress progress::-webkit-progress-bar{background:#e4e6dc;border-radius:10px}.theme-progress progress::-webkit-progress-value{background:#3e614b;border-radius:10px}
 #generalStartTitle{scroll-margin-top:calc(var(--app-header-height,80px) + 20px)}
 #accuseDialog{width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border-radius:18px;border:1px solid #aebda7;padding:28px;background:#fbf9f0;box-shadow:0 22px 80px #142f3540}
 #accuseTitle:focus{outline:none}.completion-panel{text-align:center}.completion-seal{width:72px;margin:0 auto 16px}.completion-seal svg{display:block;width:100%}.completion-seal circle{fill:#dfebce;stroke:#81965e;stroke-width:2}.completion-seal path{fill:none;stroke:#3e614b;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
 .completion-voice{display:flex;text-align:left;gap:16px;align-items:center;padding:18px;background:#efeedc;border-radius:12px}.completion-portrait{flex:0 0 76px;width:76px;height:96px;overflow:hidden;display:block}.completion-portrait svg{width:100%;height:100%}.completion-voice p{font-size:18px;line-height:1.5;margin:6px 0 0;color:#213f31}.completion-milestone{font-weight:700;color:#3e614b;margin:18px 0 8px}.completion-time{font-size:13px;color:#637167;margin:8px 0 20px}.completion-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}#verdict{font-size:14px;line-height:1.5;color:#526257}
 .difficulty-feedback summary{cursor:pointer;font-weight:650;padding:10px 0}.difficulty-feedback summary span{font-size:12px;font-weight:400;color:#637167;margin-left:8px}.difficulty-feedback[hidden]{display:none}
 @media(prefers-reduced-motion:no-preference){.completion-panel:not([hidden]) .completion-seal{animation:case-solved .4s ease-out both}@keyframes case-solved{from{transform:scale(.75);opacity:0}to{transform:scale(1);opacity:1}}}
 @media(max-width:650px){.dossier-start{align-items:flex-start;flex-direction:column;padding:18px}.dossier-actions{width:100%}.dossier-actions button{flex:1}.completion-voice{padding:14px;gap:10px}.completion-portrait{flex-basis:58px;width:58px;height:80px}.completion-voice p{font-size:16px}#accuseDialog{padding:22px 16px}.completion-actions{display:grid}}
}
@media screen {
 .theme-card>.theme-progress{grid-column:2;grid-row:5;margin:12px 0 0;max-width:380px}.theme-card .theme-art,.theme-card .theme-card-actions{grid-row:1/span 5}
 @media(max-width:700px){.theme-card>.theme-progress{grid-column:1/-1;grid-row:5;max-width:none;margin-top:14px}.theme-card .theme-art{grid-row:1/span 4}.theme-card .theme-card-actions{grid-row:6}}
}
@media screen {
 .account-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #b8c5ad;border-radius:16px;background:#fbf9f0;box-shadow:0 22px 80px #142f3540}
 .account-dialog h2{font:700 29px Georgia,serif;color:#345441;margin:12px 0}.account-dialog p{font-size:14px;line-height:1.6}.account-dialog label{display:block;font-size:13px;font-weight:650;margin:14px 0 6px}.account-dialog input{width:100%;box-sizing:border-box;border:1px solid #aebca5;border-radius:8px;padding:11px;font:16px sans-serif;background:#fffef9}.account-dialog input:focus-visible{outline:3px solid #8ca47c;outline-offset:2px}.account-dialog small{display:block;color:#5a6b5e;font-size:12px;line-height:1.5;margin-top:8px}.account-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.account-dialog button:not(.close){min-height:40px;padding:9px 12px;border-radius:8px}.account-test-notice,.guest-import,#syncConflictList article{background:#eff0e2;border:1px solid #c8cfbb;padding:12px 15px;border-radius:10px}.guest-import{margin-top:20px}.account-dialog h3{font-size:17px;color:#345441}#syncConflictList article{margin:10px 0}#syncConflictList button{margin:4px 5px 0 0}#accountMessage{color:#3b5945;font-weight:600}#accountStatus{color:#526d58;font-size:13px}.account-privacy{padding-top:12px;border-top:1px solid #d5dbc9}
 @media(max-width:650px){.account-dialog{padding:22px 18px}.account-form-actions{display:grid;grid-template-columns:1fr}.app-header .header-actions{gap:5px}.header-actions .ui-button{padding:7px 8px}}
}
@media screen{.conflict-preview{white-space:pre-line;font-size:12px!important}#syncConflictList details{margin:9px 0}#syncConflictList summary{cursor:pointer;font-size:13px}}

/* Personal encouragement, never a speed grade. */
.dossier-score{font-size:13px;color:#3e614b;margin:6px 0}.score-card{background:#eef2df;border:1px solid #ccd7b6;border-radius:12px;padding:18px;margin:18px 0 12px}.score-card strong{display:block;font:700 23px/1.3 Georgia,serif;color:#34543f}.score-card small{display:block;font-size:12px;line-height:1.6;margin-top:8px;color:#526257}.completion-help{font-size:14px;line-height:1.6}.case-recommendation{background:#f6f2e8;border-radius:10px;padding:14px;margin:16px 0}.case-recommendation p{font-size:14px;line-height:1.5}.case-recommendation small{display:block;font-size:11px;line-height:1.5;color:#637167;margin:8px 0}.help-offer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;padding:8px 0}.help-offer[hidden]{display:none}.help-offer .quiet{font-size:12px;padding:8px}.help-offer span{flex:1 1 160px}@media print{.help-offer,.dossier-score{display:none}}

#shareStatus{font-size:13px;color:#3e614b;line-height:1.5}#shareFallback{text-align:left;margin:12px 0}#shareFallback textarea{box-sizing:border-box;width:100%;font:14px/1.5 Arial,sans-serif;padding:10px;border:1px solid #aebd9f;border-radius:8px;background:#fffdf6;color:#263e31}

.share-map{text-align:left;margin:14px 0;font-size:13px}.share-map summary{cursor:pointer;padding:9px 0;font-weight:600}.share-map img{display:block;width:100%;max-height:380px;object-fit:contain;margin:10px 0;background:#f4f1e7;border:1px solid #d2d9c8;border-radius:10px}.share-map small{display:block;font-size:11px;line-height:1.5;color:#637167;margin-top:8px}.share-map a{display:inline-block}

.extra-bundles{margin:24px 0}.extra-bundles h2{font-family:Georgia,serif;color:var(--green)}#bundleCards{display:grid;gap:16px}.bundle-card{padding:24px;background:#f4efe0;border:1px solid #c7bfa8;border-radius:14px}.bundle-card>span{font-size:10px;letter-spacing:1px;color:#637064}.bundle-card h3{font:700 25px Georgia,serif;color:var(--green);margin:10px 0}.bundle-card p{line-height:1.6}.bundle-card small{display:block;margin-bottom:14px}.account-bundles{border-top:1px solid #d2d9c8;margin-top:18px;padding-top:10px}#bundleForm,#accountBundleForm{display:grid;gap:10px}#bundleDialog input,#accountBundleCode{box-sizing:border-box;width:100%;padding:12px;border:1px solid #aebd9f;border-radius:8px;background:#fffdf6;font:16px Arial,sans-serif}#bundleDialog small{display:block;margin-top:16px;color:#637064;font-size:12px}#bundleStatus,#accountBundleStatus{font-size:13px;line-height:1.6;color:#3e614b}

.score-meter{height:18px;margin:18px 0 9px;border-radius:20px;overflow:hidden;background:#d4ddc5;border:1px solid #b2c09a}.score-meter>span{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#63824f,#9cb574);border-radius:20px}.score-tally{font-size:22px;font-weight:700;color:#34543f}#scoreBreakdown{font-size:13px;line-height:1.5;margin:8px 0}#scoreLevelBonus{color:#637147;font-size:13px;font-weight:700;margin:8px 0}#scoreLevelBonus:empty{display:none}

/* Het verhaal blijft dicht bij de titel; openen verandert de kaart of notities niet. */
.case-story{margin:-.25rem 0 1rem;border-left:3px solid #bf9450;padding:.25rem 0 .25rem .8rem;color:#4e554b;font-size:.92rem;line-height:1.65}
.case-story summary{display:flex;align-items:center;gap:.65rem;cursor:pointer;font-weight:700;color:#345a49;list-style:none;padding:.35rem 0;min-height:36px}
.case-story summary::-webkit-details-marker{display:none}
.case-story summary:focus-visible{outline:2px solid #345a49;outline-offset:4px;border-radius:3px}
.case-story .story-less,.case-story[open] .story-more{display:none}
.case-story[open] .story-less{display:inline}
.story-paragraphs p{margin:.6rem 0}.story-permalink{font-size:.85rem;color:#345a49;text-underline-offset:3px}
.case-story-page{max-width:740px;margin:3rem auto;padding:0 1.25rem 3rem;color:#283d32;line-height:1.8}
.case-story-page h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,3rem);line-height:1.15;margin:.6rem 0 1.4rem}
.case-story-page .story-lead{font-size:1.16rem}.case-story-page .story-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin:2rem 0}
.case-story-page .story-actions a{display:inline-block;padding:.55rem 1rem;border:1px solid #345a49;border-radius:9px;text-decoration:none;color:#345a49}
.case-story-page .story-actions .play-story{background:#173e33;color:#fff}
.case-story-page .story-note{font-size:.85rem;color:#687066;border-top:1px solid #d9d7c9;padding-top:1rem}
.case-story-page nav ul{padding-left:1.2rem}.case-story-page nav a{color:#345a49}
@media print{.case-story{display:none!important}}

.story-chevron{display:inline-block;width:.45rem;height:.45rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 .3rem .2rem}
.case-story[open] .story-chevron{transform:rotate(225deg);margin-bottom:-.2rem}
@media screen and (min-width:760px){.compact-case .case-story{font-size:12px;margin:-4px 0 4px;padding:0 0 0 .6rem}.compact-case .case-story summary{font-size:11px;min-height:24px;padding:0}}

.ranking-profile{margin:20px 0;padding:18px 0;border-top:1px solid #d6d9c9;border-bottom:1px solid #d6d9c9}.ranking-profile form{display:grid;gap:10px}.ranking-profile h3{margin-top:0}.ranking-profile small{color:#687260;font-size:12px;line-height:1.5}.ranking-profile .ranking-consent{display:flex;align-items:flex-start;gap:10px;font-weight:normal;font-size:14px;line-height:1.5;margin-top:8px}.ranking-consent input[type=checkbox]{width:20px;min-width:20px;height:20px;margin:2px 0 0;accent-color:#345a49}.ranking-profile button{justify-self:start}.ranking-dialog{width:min(640px,94vw);max-height:90dvh;overflow:auto}.ranking-table-wrap{overflow-x:auto}.ranking-table{border-collapse:collapse;width:100%;font-size:14px;margin:15px 0}.ranking-table caption{text-align:left;color:#687260;font-size:11px;margin-bottom:10px}.ranking-table th,.ranking-table td{padding:10px 8px;text-align:left;border-bottom:1px solid #dadccc}.ranking-table td:nth-child(2){overflow-wrap:anywhere}.ranking-table td:nth-child(n+3){font-variant-numeric:tabular-nums}.ranking-me{background:#e3ead9}.ranking-dialog>small{font-size:12px;color:#687260}

.theme-card.theme-locked{border-color:#b7baa7}.theme-locked .theme-art{filter:saturate(.5)}.theme-unlock-note{font-size:12px!important;line-height:1.5;color:#49634c!important;background:#e4ead9;border-radius:7px;padding:8px 10px;margin:0 0 10px!important}.theme-locked .theme-unlock-note{background:#e9e3d3;color:#665b43!important}#unlockDialog progress{display:block;width:100%;height:12px;accent-color:#456951;margin:20px 0}#unlockDialog small{font-size:12px;color:#687260}

.theme-forum{--theme-accent:#4d7979}.theme-forum .theme-art{background:#d4e1d8}.series-forum #martiniHeader{background:#ece8d8}.series-forum .clue-page{background:#f1eddf}.series-forum .map-panel{background:#dce4db}.series-forum .area-name{background:#365f5ceb;border-color:#e5cf9c}.series-forum .board{border-color:#345b55}.series-forum .void-cell{background:transparent}.series-forum .board .area-name{font-size:calc(8.5px * var(--map-scale,1))}
@media screen{.cell.floor-forum-concrete{background-image:radial-gradient(#68766733 .7px,transparent .8px),linear-gradient(90deg,#78847728 1px,transparent 1px),linear-gradient(#78847728 1px,transparent 1px);background-size:13px 17px,38px 38px,38px 38px}.cell.floor-forum-wood{background-image:repeating-linear-gradient(0deg,transparent 0 12px,#71573540 12px 13px),repeating-linear-gradient(90deg,transparent 0 49px,#71573522 49px 50px)}.cell.floor-forum-tile,.cell.floor-forum-roof{background-image:linear-gradient(90deg,#68766740 1px,transparent 1px),linear-gradient(#68766740 1px,transparent 1px);background-size:26px 26px}.cell.floor-forum-carpet{background-image:repeating-linear-gradient(45deg,transparent 0 7px,#566a621c 7px 8px)}.compact-case.series-forum .story{font-size:12px}.compact-case.series-forum .person-card{padding:3px}.compact-case.series-forum .extra-clues{padding:8px;margin-top:8px}}
