body.detective-public-page{display:block;grid-template-columns:none}.detective-public-page .content{display:block;width:100%;max-width:none;padding:0;margin:0}.detectives,.detectives *{font-family:system-ui,sans-serif}.detectives .detectives__case-header{position:static;box-shadow:none;background:transparent;color:var(--ui-text);z-index:auto}
.detectives{background:var(--ui-page);color:var(--ui-text);font:400 1rem/1.65 system-ui,sans-serif;padding:2rem 0 3rem;overflow-wrap:anywhere}
.detectives *{box-sizing:border-box}.detectives__wrap{max-width:1160px;margin:auto;padding:0 28px}.detectives a{color:var(--ui-link);text-decoration:underline;text-underline-offset:4px}.detectives a:hover{text-decoration-thickness:2px}
.detectives h1,.detectives h2,.detectives h3{font-family:inherit;color:var(--ui-strong);line-height:1.15;margin:0 0 1rem;letter-spacing:-.035em}.detectives h1{font-size:clamp(2.5rem,5vw,4.25rem);font-weight:750}.detectives h2{font-size:clamp(1.6rem,3vw,2rem)}.detectives h3{font-size:1.4rem}.detectives p{margin:0 0 1rem}.detectives__crumbs{display:flex;gap:.7rem;flex-wrap:wrap;font-size:.85rem;margin-bottom:2.4rem}.detectives__eyebrow{font-size:.72rem;font-weight:750;letter-spacing:.13em;line-height:1.5;color:var(--ui-muted)}
.detectives__hero{display:grid;grid-template-columns:1.2fr 1fr;gap:4rem;align-items:center;margin-bottom:3rem}.detectives h1 em{font-style:normal;color:var(--ui-link)}.detectives__lead{font-size:1.25rem;line-height:1.5}.detectives__actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin:1.5rem 0}.detectives__promises{display:flex;gap:.5rem 1.2rem;padding:0;list-style:none;flex-wrap:wrap;font-size:.8rem;color:var(--ui-muted)}.detectives__promises li:before{content:'✓ ';font-weight:700}
.detectives .detectives__button{display:inline-flex;justify-content:center;align-items:center;gap:.8rem;min-height:48px;padding:.8rem 1.1rem;border:1px solid var(--ui-action);border-radius:9px;background:var(--ui-action);color:var(--ui-on-action);font:650 .95rem/1.4 system-ui;cursor:pointer;text-decoration:none;text-align:center}.detectives .detectives__button:hover{background:var(--ui-action-hover);color:var(--ui-on-action)}.detectives .detectives__button--secondary{background:var(--ui-surface);color:var(--ui-link)}.detectives button:focus-visible,.detectives a:focus-visible,.detectives input:focus-visible,.detectives select:focus-visible,.detectives summary:focus-visible{outline:3px solid var(--ui-focus);outline-offset:4px}.detectives__text-button{font:600 .95rem/1.5 system-ui;background:none;border:0;padding:.75rem 0;color:var(--ui-link);text-decoration:underline;cursor:pointer;min-height:44px}
.detectives__dossier{position:relative;isolation:isolate;padding:2rem 2rem 4rem;border-radius:14px;background:var(--ui-brand);color:var(--ui-on-brand);box-shadow:8px 8px 0 var(--ui-divider);transform:rotate(1.5deg)}.detectives__dossier h2,.detectives__dossier .detectives__eyebrow,.detectives__dossier a{color:var(--ui-on-brand)}.detectives__dossier-top{display:flex;justify-content:space-between;border-bottom:1px solid currentColor;padding-bottom:1rem;font-size:.8rem;letter-spacing:.15em}.detectives__code{display:flex;gap:1rem;margin:1.7rem 0}.detectives__code span{display:grid;place-items:center;width:90px;height:100px;border:1px dashed currentColor;border-radius:9px;font:700 4rem/1 monospace}.detectives__seal{position:absolute;right:1.2rem;bottom:1rem;display:grid;place-items:center;text-align:center;border:2px solid currentColor;border-radius:50%;width:86px;height:86px;font-size:.7rem;letter-spacing:.05em;line-height:1.4;transform:rotate(-12deg)}
.detectives__rhythm{display:grid;grid-template-columns:1fr 1.5fr;gap:2rem;padding:1.7rem 0;border-top:1px solid var(--ui-divider);border-bottom:1px solid var(--ui-divider);margin:0 0 3rem}.detectives__rhythm h2{font-size:1.3rem;margin:0}.detectives__rhythm p{margin:0;color:var(--ui-muted)}.detectives__section-title{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.detectives__section-title h2{margin:0}.detectives__section-title>span{color:var(--ui-muted);font-size:.85rem}.detectives__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.detectives__card{display:flex;flex-direction:column;padding:1.5rem;background:var(--ui-surface);border:1px solid var(--ui-divider);border-radius:12px;box-shadow:0 3px 0 var(--ui-divider)}.detectives__card-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:2rem}.detectives__case-number{font:600 1.15rem/1 monospace;color:var(--ui-muted)}.detectives__tag{font-size:.72rem;font-weight:650;background:var(--ui-raised);border:1px solid var(--ui-divider);border-radius:30px;padding:.2rem .65rem}.detectives__topic{font-size:.76rem;color:var(--ui-muted)}.detectives__card>p:not(.detectives__topic){font-size:.9rem;color:var(--ui-muted)}.detectives__case-link{display:flex;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:1rem;border-top:1px solid var(--ui-divider);font-weight:650;min-height:44px}
.detectives__notebook{margin-top:3rem;padding:2rem;border-radius:14px;background:var(--ui-surface);border:1px solid var(--ui-border);border-top:6px solid var(--ui-action)}.detectives__notebook[data-cover=night]{border-top-color:var(--ui-violet-text);background:var(--ui-violet-bg);color:var(--ui-violet-text)}.detectives__notebook[data-cover=forest]{border-top-color:var(--ui-success-border);background:var(--ui-success-bg);color:var(--ui-success-text)}.detectives__notebook[data-cover=night] h2{color:var(--ui-violet-text)}.detectives__notebook[data-cover=forest] h2{color:var(--ui-success-text)}.detectives__stamps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem;margin:1.5rem 0}.detectives__stamp{border:1px dashed var(--ui-border);border-radius:9px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem .5rem;background:var(--ui-raised);color:var(--ui-muted);font-size:.8rem}.detectives__stamp>span{font:600 1.5rem/1 monospace}.detectives__stamp small{font-size:.7rem}.detectives__stamp--collected{border:1px solid var(--ui-success-border);background:var(--ui-success-bg);color:var(--ui-success-text)}.detectives__small{font-size:.8rem;color:var(--ui-muted)}
.detectives__next{display:grid;grid-template-columns:1.5fr 1fr;gap:3rem;margin:3rem 0}.detectives__next aside{padding:1.5rem;border:1px solid var(--ui-divider);border-radius:12px}.detectives__next summary{cursor:pointer;min-height:44px;color:var(--ui-link);text-decoration:underline;font-weight:650}.detectives__next details p{margin-top:1rem}.detectives__footer{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.5rem;border-top:1px solid var(--ui-divider);font-size:.8rem}.detectives__footer span{color:var(--ui-muted)}
.detectives__case-header{max-width:800px;margin-bottom:2rem}.detectives__case-header h1{font-size:clamp(2.4rem,5vw,3.5rem)}.detectives__investigation{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr);gap:2rem;align-items:start}.detectives__panel{padding:2rem;margin-bottom:1.5rem;border:1px solid var(--ui-divider);border-radius:12px;background:var(--ui-surface)}.detectives__panel--explanation{border-color:var(--ui-info-border);background:var(--ui-info-bg);color:var(--ui-info-text)}.detectives__panel--explanation h2,.detectives__panel--explanation .detectives__eyebrow{color:var(--ui-info-text)}.detectives__question{font-size:1.15rem;line-height:1.8}.detectives label{display:block;font-weight:650;margin:1rem 0 .5rem}.detectives__answer-row{display:flex;gap:.75rem;flex-wrap:wrap}.detectives input:not([type=hidden]),.detectives select{flex:1;min-width:100px;max-width:100%;min-height:48px;border:1px solid var(--ui-border);border-radius:8px;padding:.65rem .8rem;background:var(--ui-surface);color:var(--ui-text);font:1rem/1.4 system-ui}.detectives__hint{padding:1rem;border-left:3px solid var(--ui-info-border);background:var(--ui-info-bg);color:var(--ui-info-text);margin:1rem 0}.detectives__hint p{margin:.4rem 0 0}.detectives__side{padding:1.5rem;background:var(--ui-raised);border-radius:12px;font-size:.9rem}.detectives__side ol{padding-left:1.2rem}.detectives__side li{margin:.8rem 0}.detectives__side hr{border:0;border-top:1px solid var(--ui-divider);margin:1.5rem 0}.detectives__notice{padding:1rem 1.3rem;margin-bottom:1.5rem;background:var(--ui-success-bg);color:var(--ui-success-text);border:1px solid var(--ui-success-border);border-radius:9px}.detectives__notice--error{background:var(--ui-error-bg);color:var(--ui-error-text);border-color:var(--ui-error-border)}.detectives__success{color:var(--ui-success-text);background:var(--ui-success-bg);padding:.7rem;margin-top:1rem!important}.detectives__spaced{margin-top:1rem}.detectives__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.detectives__hero{gap:2rem}.detectives__stamps{grid-template-columns:repeat(3,minmax(0,1fr))}.detectives__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detectives__investigation{grid-template-columns:minmax(0,1fr)}.detectives__side{order:-1}.detectives__side ol{display:flex;gap:.5rem 2rem;flex-wrap:wrap}.detectives__side hr,.detectives__side>p:not(.detectives__eyebrow){display:none}}
@media(max-width:620px){.detectives__wrap{padding:0 18px}.detectives__hero,.detectives__rhythm,.detectives__next{grid-template-columns:minmax(0,1fr)}.detectives__hero{gap:2.5rem}.detectives__dossier{margin-right:7px;padding:1.4rem 1.4rem 4rem;transform:none}.detectives__grid{grid-template-columns:minmax(0,1fr)}.detectives__section-title{align-items:start;flex-direction:column}.detectives__stamps{grid-template-columns:repeat(2,minmax(0,1fr))}.detectives__notebook,.detectives__panel{padding:1.25rem}.detectives__next{gap:1rem}.detectives__answer-row>*{width:100%}.detectives__rhythm{gap:.75rem}.detectives__actions{align-items:stretch;flex-direction:column}.detectives__actions form button{width:100%}}
@media(prefers-reduced-motion:reduce){.detectives *{scroll-behavior:auto!important;animation:none!important;transition:none!important}.detectives__dossier{transform:none}}
@media(forced-colors:active){.detectives__card,.detectives__dossier,.detectives__stamp,.detectives__notebook,.detectives__panel{border:1px solid CanvasText}.detectives .detectives__button{border:2px solid ButtonText}}

@media(max-width:769px){body.detective-public-page{padding-top:132px}}
@media(max-width:620px){.detectives__hero h1{font-size:clamp(1.7rem,8.8vw,2.5rem)}}
