:root{--css-page:1}
/* Search My Files: only what is unique to it (the file chips, the question row, and a result that shows where it came from). Tokens from ../shared/base.css, frame from ../shared/demo.css. */
.mk #files{margin:0 0 var(--sp-4)}
.mk #files:empty{display:none}
.mk #files .chip{font-weight:600;overflow-wrap:anywhere}
.mk .ask{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin:0 0 var(--sp-5);max-width:760px}
.mk .ask input[type=search]{flex:1 1 260px;min-width:0;min-height:52px;font-size:var(--fs-b)}
.mk .ask .btn{min-height:52px;min-width:132px;font-size:var(--fs-b)}
.mk #results{margin:0;padding:0}
.mk #results:empty{display:none}
.mk .nomatch{margin:0;font:900 var(--fs-xl)/1.1 var(--font);color:var(--ink)}
.mk .hits{list-style:none;margin:0;padding:0}
.mk .hit{margin:0 0 var(--sp-6);max-width:44em}
/* The bold choice: a result is a clipping with a tab. The tab (file name in an ink bar, as the redaction bar and the counter number, then the page in a boxed cell) sits flush on the heavy left rule of the passage, so the source and the words cannot be read apart. */
.mk .src{display:flex;flex-wrap:wrap;align-items:stretch;margin:0;padding:0;max-width:100%}
.mk .src-file{min-width:0;padding:6px 14px;background:var(--ink);color:var(--paper);font:600 var(--fs-s)/1.35 var(--mono);overflow-wrap:anywhere}
.mk .src-at{padding:4px 14px;border:2px solid var(--ink);border-left:0;background:var(--paper);color:var(--ink);font:900 var(--fs-m)/1.35 var(--font);white-space:nowrap}
.mk .passage{margin:0;padding:var(--sp-4) 0 var(--sp-1) var(--sp-5);border-left:8px solid var(--ink);font-size:var(--fs-b);line-height:1.7;color:var(--ink);overflow-wrap:anywhere;white-space:pre-line}
.mk .passage mark.find{padding:.04em .16em;font-weight:800;box-shadow:inset 0 -3px 0 var(--ink);-webkit-box-decoration-break:clone;box-decoration-break:clone;background:linear-gradient(var(--hl),var(--hl)) no-repeat 0 0/100% 100%;animation:sweep .5s ease-out both}
@keyframes sweep{from{background-size:0 100%}}
@media(max-width:600px){
.mk .passage{padding-left:var(--sp-4);border-left-width:6px}
.mk .ask .btn{flex:1 1 100%}
}
@media (max-width:600px){.mk #files{margin-bottom:var(--sp-3)}.mk #files .chip{font-size:12px;padding:1px 7px;border-width:1.5px}}
